iOS Question Problem with Customfonts

D

Deleted member 103

Guest
Hi,

can someone tell me why the example of Erel with my custom font(digirtu_.ttf) does not work?

Does my font have a certain format?
 

Attachments

  • digirtu_.zip
    6.4 KB · Views: 185
D

Deleted member 103

Guest
Hi Erel,

I know that work with other fonts.
The question is why it does not work with my font(digirtu_.ttf).
Should my font will be converted? If so, with what?

Can you post your code?
I use exactly your example.
 
Upvote 0
D

Deleted member 103

Guest
I believe I have found the error.
I always write so:
B4X:
Button1.CustomLabel.Font = Font.CreateNew2("digirtu_", 20)
but I should write so:
B4X:
Button1.CustomLabel.Font = Font.CreateNew2("Digital Readout Thick Upright", 20)
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…