I can’t get Custom Fonts to work at all under Android (haven’t tried iOS).
Followed the instructions here (they are rather vague, for Android, though it appears there isn’t much to do):
http://www.coronalabs.com/blog/2011/07/13/custom-fonts-corona/
Obtained ttf files from several difference sources, places in folder with my main.lua.
[lua]local textObject = display.newText( “Sample Text”, 0, 0, “Whimsy.TTF”, 24 )[/lua]
results: “Warning: could not load font Whimsy.TTF. Using default font.”
Tried different ttf files, with or without filename extension, all sorts of permutations, either in simulation or on my Android device, no success.
What am I missing here?
And BTW, how does one search this forum? I can’t find a way…
Fritz [import]uid: 157797 topic_id: 29470 reply_id: 329470[/import]