It seems that in iOS4 (maybe earlier versions as well) you are able to use custom fonts in your apps, is this possible with Corona? [import]uid: 5833 topic_id: 1577 reply_id: 301577[/import]
This is a feature that we are looking into as part of our future roadmap.
Carlos [import]uid: 24 topic_id: 1577 reply_id: 4503[/import]
That is great, good to know it’s on the map. [import]uid: 5833 topic_id: 1577 reply_id: 4526[/import]
It’s case #532. [import]uid: 54 topic_id: 1577 reply_id: 4562[/import]
I thought that (for 3.2) simply bundling a truetype with the app and setting the UIAppFonts value in the info.plist via the build.settings would work but I’m having no luck. I know that UIAppFonts expects an array is this possible?
settings =
{
iphone =
{
plist=
{
UIAppFonts={MyCustomFont.ttf},
},
},
} [import]uid: 5339 topic_id: 1577 reply_id: 4983[/import]
Hmm. Actually, the font must be embedded into the app and we don’t support that currently.
It’s case #532 and it is on our engineering radar.
Carlos [import]uid: 24 topic_id: 1577 reply_id: 5015[/import]
Carlos meant case 552. [import]uid: 54 topic_id: 1577 reply_id: 5021[/import]
Any news on this? [import]uid: 8192 topic_id: 1577 reply_id: 5805[/import]
It’s implemented: http://developer.anscamobile.com/content/display-objects#Using_a_custom_font [import]uid: 54 topic_id: 1577 reply_id: 6926[/import]
very cool. just put that in the config.lua right? It’s not clear from the documentation or maybe I am just dumb. [import]uid: 8192 topic_id: 1577 reply_id: 6946[/import]
Indeed, the documentation is not clear about this. I think it is the build.settings file you have to place that entry into. [import]uid: 5712 topic_id: 1577 reply_id: 6959[/import]