I’m trying to use a custom font in my app so it has a consistent look. Since I wanted to use a free one, I choose Open Sans and downloaded it from Google - OpenSans-Regular.ttf and OpenSans-Bold.ttf
I’ve put the font files in my project directory - both the normal and bold versions of the ttf. In my globals.lau, I’m defining the font…
globals.regularFont = "Open Sans Regular" globals.regularFontBold = "Open Sans Bold"
I’ve tried mulitple ways of referring to the font, but I keep getting the:
Warning: could not load font Open Sans Regular. Using default font.
I’ve tried listing out native fonts using a code fragment in the API documents but all I find is
Font Name = Open Sans
So it seems there’s an Open Sans… but no bold or normal specified.
Any ideas?