iOS Question [SOLVED] CustomFont

MarcoRome

Expert
Licensed User
Longtime User
Hi i have this code:
B4X:
    #AppFont: gilroy-extrabold.ttf
    #AppFont: gilroy-light.ttf

B4X:
Label1.Font = Font.CreateNew2("GilroyExtraBold", 30)
Label2.Font = Font.CreateNew2("GilroyLight", 20)

i have this error:



1639322533049.png

1639322698750.png



Any suggestion ?
 

Attachments

  • CustomFonts.zip
    127.6 KB · Views: 268