My fonts aren't working on my app

Hi, i used corona project manager to build my build.settings file, and for some reason, my fonts aren’t appearing in my app.

I have this in my build.settings

-- cpmgen build.settings  
settings =  
{  
 orientation =  
 {  
 default ="landscapeRight",  
 content = "landscapeRight",  
 supported =  
 {  
 "landscapeRight"  
 },  
 },  
  
 iphone =  
 {  
 plist =  
 {  
 UIAppFonts = "marketing.ttf","GoodDog.ttf",  
 UIApplicationExitsOnSuspend = false,  
 UILaunchImageFile = "Default.png",  
 UIPrerenderedIcon = false,  
 UIStatusBarHidden = true,  
 CFBundleIdentifier = "com.maxpricesoftware.tank",  
 CFBundleDisplayName = "Tank",  
 CFBundleIconFile = "Icon.png",  
 CFBundleIconFiles = {  
 "Icon.png",   
 "Icon@2x.png",  
 },  
  
 },  
 },  
  
}  

and i have the fonts ‘marketing’ and ‘GoodDog’ in my app folder [import]uid: 24641 topic_id: 12781 reply_id: 312781[/import]

anyone? [import]uid: 24641 topic_id: 12781 reply_id: 46968[/import]

Simulator or device? Can you post the code you’re using to display the text? [import]uid: 52127 topic_id: 12781 reply_id: 47182[/import]

works on simulator – not device…

here’s some code

[lua]local playt = game.newRetinaText(‘PLAY’,80,220,“GoodDog”,60,255,255,255)
localGroup:insert(playt)[/lua] [import]uid: 24641 topic_id: 12781 reply_id: 47183[/import]

Check the case of the font file, the simulator isn’t case sensitive yet hardware is. Also, what version and what OS is your device on? [import]uid: 5833 topic_id: 12781 reply_id: 47184[/import]

i’m on 4.3.3, and and iphone 4, but it also doesn’t work on an iphone 3gs. The font cases are correct [import]uid: 24641 topic_id: 12781 reply_id: 47186[/import]

Hmm, that’s strange then. Have you tested with any other fonts to see if there is just something special about the one you are using? [import]uid: 5833 topic_id: 12781 reply_id: 47187[/import]

Well, they used to work fine, but after I restructured my build.settings using the corona project manager built in thing, it hasn’t worked! and me being the idiot i am, i didn’t save the original! [import]uid: 24641 topic_id: 12781 reply_id: 47188[/import]

Try some .otf fonts. That worked for me, although I still have problems with positioning the text (looks different between simulator and device). Seems Corona can only render a few fonts well. [import]uid: 52127 topic_id: 12781 reply_id: 47192[/import]

It looks like you’re missing some curly braces. Here’s my code from my game:

UIAppFonts = { "orbitron-black.ttf", "VIPESRG\_.TTF" }, [import]uid: 19626 topic_id: 12781 reply_id: 47215[/import]

Thankyou!! you have solved my problem! [import]uid: 24641 topic_id: 12781 reply_id: 47216[/import]