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:
1 2 3 4 5 6 7 8 9 10 11 12 13 | settings = { iphone = { plist = { UIAppFonts = { "Stone.ttf" }, }, }, } |
What does get returned on iOS?
Also, is the font not showing up on iDevices? From your description I can't tell.
Please let me know.
Peach :)
On iOS devices, I see no text at all. (where I am specifying the custom font - native.systemfont works fine.)
The font list returned on iOS was very long... Courier, Helvetica, lots of others I'm not recalling.
I thought that including the font file name correctly in config.lua would make that font available, and thus make it a listed font when I run the function to find available font names.
You aren't mistaken; that is how it should work.
There are a few fonts that iOS seems to take issue with, could you try a different custom font?