I have a custom font which is working on my Android devices.
In the simulator, or Android devices, when I print the native.getFontNames I see my custom font.
But on iOS devices (iPhone 4 and iPad) I do not see my font name in that list. So the font isn’t getting loaded there, somehow.
My config.lua looks like this:
settings =
{
iphone =
{
plist =
{
UIAppFonts =
{
"Stone.ttf"
},
},
},
}
The internal name, when I open the .ttf file in windows, reads:
“Font Name: Stone”
“True Type Outlines”
What could I be doing wrong?
Also, what possible use is native.newFont()? I keep thinking I might need to use that one time to install the font to device, but nobody mentions it. [import]uid: 65996 topic_id: 15471 reply_id: 315471[/import]
[import]uid: 52491 topic_id: 15471 reply_id: 57243[/import]