For iOS you can leave it as a OTF font, but if you want it on Android you will have to have at a TTF.
It’s working for me:
main.lua
x = display.newText("Hello World", 0, 0, "Lobster 1.4", 96)
x.x = display.contentCenterX
x.y = display.contentCenterY
build.settings
plist=
{
UIInterfaceOrientation = "UIInterfaceOrientationLandscapeLeft",
UISupportedInterfaceOrientations =
{
"UIInterfaceOrientationLandscapeLeft",
"UIInterfaceOrientationLandscapeRight"
},
MinimumOSVersion="4.3",
UIApplicationExitsOnSuspend = false,
UIPrerenderedIcon="YES",
UIStatusBarHidden=true,
CFBundleIconFile = "Icon.png",
UIAppFonts =
{
"Lobster 1.4.otf",
},
},
Now you will have to install the font on your Mac in fontbook for the Simulator to see it. For a device build, the font has to be in the same folder with main.lua.
Android does not use the build.settings file. But like I said above, it will need to be a TTF file for android.
[import]uid: 19626 topic_id: 28992 reply_id: 116697[/import]