I have read through a few topics on the API and forums about custom fonts and android.
I have the following which works fine on Apple devices:
[lua]settings =
{
orientation =
{
default = “landscapeRight”,
supported =
{
“landscapeRight”,
},
},
iphone =
{
plist =
{
UIAppFonts =
{
“MyFont.ttf”
},
UIStatusBarHidden=true,
UIPrerenderedIcon = true
},
}
}[/lua]
It states that you don’t need to specify for Android and I have check that the fontname (not the file) name is the same as it is in FontBook on my PC using [lua]native.getFontNames()[/lua] and indeed the name is the same.
However, when using my font I get Warning: could not load font MYFONTNAME. Using default font.
Is in fact the documentation misleading and there is something else I need to be doing? [import]uid: 103970 topic_id: 21570 reply_id: 321570[/import]
[import]uid: 103970 topic_id: 21570 reply_id: 85514[/import]