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:









Any suggestion ?
 

Attachments

  • CustomFonts.zip
    127.6 KB · Views: 306
Cookies are required to use this site. You must accept them to continue using the site. Learn more…