Help with working with extra fonts

Cableguy

Expert
Licensed User
Longtime User
I need to make available to the user some extra fonts...

considering that these fonts DO NOT yet exist in the user device, how does one copy them, and to witch folder?
How are they then referenced in the typeface?

EDIT: just found TypeFace.LoadFromAssets

EDIT2 : According to the help ( yes, sometimes I RTFM! )
STYLE_BOLD As Int
STYLE_BOLD_ITALIC As Int
STYLE_ITALIC As Int
STYLE_NORMAL As Int
I would like to know the integer values of the styles!
 
Last edited:

kickaha

Well-Known Member
Licensed User
Longtime User
By the magic of assigning them to variables and looking at them in the debugger

B4X:
STYLE_BOLD = 1
STYLE_BOLD_ITALIC = 3
STYLE_ITALIC = 2
STYLE_NORMAL = 0
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User

I really have to start using the debbuger, if I can come to terms with it that is!!! THANKS
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…