I’ve built the “Visuals_Game_Title_Screen” sample and uploaded it on my iPad.
The text on the buttons do not display on the iPad (while everything is ok on the simulator).
Is there something special that should be done to use Floraless font?
[import]uid: 6661 topic_id: 10348 reply_id: 310348[/import]
When using vector fonts, you need to install them on your Mac first before building the app:
-
Double-click the icon of the font file you want to install. The Font Book will open and display the font so you can preview it.
-
By default, the application installs the font in the Library folder of your home directory, making it available only to you. To make it available to all users on the computer, from the Font Book menu, select Preferences… , and then change the “Default Install Location:” from User to Computer.
-
Click Install Font.
[import]uid: 10504 topic_id: 10348 reply_id: 37793[/import]
Installed the font as you described. But still no success on the iPad. [import]uid: 6661 topic_id: 10348 reply_id: 37826[/import]
Lourenco, please send us a small, stripped down sample code, if possible, together with your build settings and config.lua and we’ll check this in detail. [import]uid: 10504 topic_id: 10348 reply_id: 37828[/import]
OK. Got it working by adding the following lines in the build.settings
iphone =
{
plist =
{
UIAppFonts =
{
"Floraless.ttf"
}
},
},
[import]uid: 6661 topic_id: 10348 reply_id: 38104[/import]