Ironically I’m getting really close to ready to release this game and fonts are still giving me fits.
I had an epiphany today and I figured out one reason why my fonts (both custom and stock) were not working.
So now, I have in the the Corona Simulator all of my fonts working the way I like.
However I want to use this one customer font, and it works fine in the simulator, but when I go to the device I get zilch.
Here is my build.settings file:
settings =
{
iphone =
{
plist=
{
UIApplicationExitsOnSuspend = false,
UIPrerenderedIcon="YES",
UIStatusBarHidden=true,
CFBundleIconFile = "Icon.png",
CFBundleIconFiles = {
"Icon.png" ,
"Icon@2x.png" ,
"Icon-72.png" ,
"Icon-Small-50.png" ,
"Icon-Small.png" ,
"Icon-Small@2x.png"
},
UIAppFonts = {
"orbiton-black-webfont.ttf",
"orbiton-bold-webfont.ttf",
"orbiton-light-webfont.ttf",
"orbiton-medium-webfont.ttf"
}
},
},
}
The fonts are valid and laying in the top level folder with main.lua.
I suspect its working in the simulator because the fonts are installed on my Mac. According to Get Info from the Finder the names I’m using are correct.
local titleText = display.newText("Level", 0, 0, "Orbitron Bold", 32)
Any thoughts?
Rob [import]uid: 19626 topic_id: 9142 reply_id: 309142[/import]