iOS Question Problem with Customfonts

Filippo

Expert
Licensed User
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

Filippo

Expert
Licensed User

Filippo

Expert
Licensed User
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.
 

Filippo

Expert
Licensed User
I believe I have found the error.
I always write so:
B4X:
Button1.CustomLabel.Font = Font.CreateNew2("digirtu_", 20)
but I should write so: :oops:
B4X:
Button1.CustomLabel.Font = Font.CreateNew2("Digital Readout Thick Upright", 20)
 
Top