Hi everyone.
In my game, I use two custom fonts: “King Of The Hill.ttf” and “King Of The Hill 2_0.ttf” ( the font names are : ‘King Of The Hill’ and ‘King Of The Hill 2_0’, same as the file names ). I built my game and they displayed perfect on Android devices. But when I tested on an Ipad4 or Iphone4, those fonts didn’t show
Here’s my build.setting file:
settings = { orientation = { default = "landscapeRight", supported = { "landscapeLeft", "landscapeRight" } }, android = { usesExpansionFile = true, usesPermissions = { "android.permission.INTERNET", "com.android.vending.CHECK\_LICENSE", "android.permission.WRITE\_EXTERNAL\_STORAGE" }, }, iphone = { plist = { UIStatusBarHidden = true, CFBundleIconFiles = { "Icon.png", "Icon@2x.png", "Icon-60.png", "Icon-60@2x.png", "Icon-60@3x.png", "Icon-72.png", "Icon-72@2x.png", "Icon-76.png", "Icon-76@2x.png", "Icon-Small.png", "Icon-Small@2x.png", "Icon-Small@3x.png", "Icon-Small-40.png", "Icon-Small-40@2x.png", "Icon-Small-50.png", "Icon-Small-50@2x.png", }, UIAppFonts = { "King Of The Hill 2\_0.ttf", "King Of The Hill.ttf", } }, }, }
Here’s my code to create text:
local text = display.newText("message",0,0,"King Of The Hill",20)
And more, Corona Simulator shows them on Windows, but not on Mac Os