So i have added new font in corona everything is running well in simulator with no errors but on phone the font is not showing up (it shows default font).
What do i need to do?
Thanks
So i have added new font in corona everything is running well in simulator with no errors but on phone the font is not showing up (it shows default font).
What do i need to do?
Thanks
You need to add the font to the root of your app and then add the name to the build.settings file, (in plist “UIAppFonts”) and then on iOS the font name needs to be what is listed “inside” the font and on Android it is the "filename (minus ttf) all lowercase.
Read this: http://coronalabs.com/blog/2013/01/16/faq-wednesday-custom-fonts/
It covers fonts in good detail.
Rob
You need to add the font to the root of your app and then add the name to the build.settings file, (in plist “UIAppFonts”) and then on iOS the font name needs to be what is listed “inside” the font and on Android it is the "filename (minus ttf) all lowercase.
Read this: http://coronalabs.com/blog/2013/01/16/faq-wednesday-custom-fonts/
It covers fonts in good detail.
Rob