Hi,
How do I use external typefaces for RichStrings?
Below code did not seem to work.
This gives the CustomDialog3 title default typface.
How do I use external typefaces for RichStrings?
Below code did not seem to work.
B4X:
Dim myfont As Typeface
Dim cdTitle As RichString
myfont = Typeface.LoadFromAssets("font2.ttf")
cdTitle.Initialize(Stage & " - Stage Info")
cdTitle.Typeface(myfont, 0, 9)
ret = cd.Show(cdTitle,"","Back","",Null)
This gives the CustomDialog3 title default typface.