Custom font not working

Hi All,

I am trying to use custom font in my Corona App. I am trying a lot but every time a get the warning “cannot load font League Gothic using default font instead”. So font is not working. This is my build fine

settings = {
orientation =
{
default = “portrait”,
},
iphone =
{
plist=
{
UIStatusBarHidden=true,
UIApplicationExitsOnSuspend = true,
UIPrerenderedIcon = true
UIAppFonts =
{
“League_Gothic.otf”
}

},

},
}

I am working on windows 7.
I am calling the font like

display.newText (“Start”, 175, 250, “League Gothic”, 12)

I have placed the font file in the same directory where main.lua is present. Please help me to figure out why my font is not working.
Thanks [import]uid: 126619 topic_id: 28171 reply_id: 328171[/import]

I don’t work with windows/Android but I know on Mac for the font to work in the simulator it needs to be installed on the computer, having the font file in the project file isn’t enough on its own - have you installed it yet?

Is “League Gothic” the exact font name? Do you have a download link for it handy?

Peach :slight_smile: [import]uid: 52491 topic_id: 28171 reply_id: 113789[/import]