font missing from build to iOS

Good morning,

I’ve been building my app for the iPad for a while now as development goes along. I’ve been working on windows but I finally got a Mac. I downloaded my app via GitHub to the Mac and have built it again on the Mac. the app installs on my iPad but the font I am using is missing. I do have it installed on the Mac and the font is installed in build settings but the font is missing on the iPad.

any ideas what is wrong?

Thanks,

Arthur

Hi Arthur,

Did you read through the complete tutorial on the differences between custom fonts on Mac vs. Windows, computer vs. device?

http://www.coronalabs.com/blog/2013/01/16/faq-wednesday-custom-fonts/

Hope this helps,

Brent

Hi Brent,

Yes I did.  The weird thing is I can see the font statement in my build.settings file in my project subdirectory.  The font works in the simulator so it is installed on my mac.

Regards,

Arthur

Hi Arthur,

So you have (or haven’t) included the specific font names in “build.settings” as indicated in the tutorial? These font names need to be very specific (as gathered by the “native.getFontNames()” function, described in the guide). Also, you must place the font files in your project directory. Have you done all of these things?

Best regards,

Brent

is the font file in your project folder

Good Morning,

Yes gentlemen I have done both of those things and that is partly why I was confused.  I found out what is wrong though!

The ttf font I got from github was in all caps.  The font name in build.settings was in mixed case.  I renamed the font to the one in build settings and now it works.

Thanks!

Arthur

Hi Arthur,

Did you read through the complete tutorial on the differences between custom fonts on Mac vs. Windows, computer vs. device?

http://www.coronalabs.com/blog/2013/01/16/faq-wednesday-custom-fonts/

Hope this helps,

Brent

Hi Brent,

Yes I did.  The weird thing is I can see the font statement in my build.settings file in my project subdirectory.  The font works in the simulator so it is installed on my mac.

Regards,

Arthur

Hi Arthur,

So you have (or haven’t) included the specific font names in “build.settings” as indicated in the tutorial? These font names need to be very specific (as gathered by the “native.getFontNames()” function, described in the guide). Also, you must place the font files in your project directory. Have you done all of these things?

Best regards,

Brent

is the font file in your project folder

Good Morning,

Yes gentlemen I have done both of those things and that is partly why I was confused.  I found out what is wrong though!

The ttf font I got from github was in all caps.  The font name in build.settings was in mixed case.  I renamed the font to the one in build settings and now it works.

Thanks!

Arthur