Hi all,
Running into a weird problem for iOS. Font is showing up in the emulator (Corona Emulator), but not in actual ipa build. Following steps have been done:
-
Font is installed on the Mac
-
Dumped name of font on Mac using the iterator method mentioned in a forum shows the font name as: LiberationSans-Regular
-
Font is included in the main source tree of the code next to build.settings etc
-
Build.settings contains:
UIAppFonts =
{
“LiberationSans-Regular.ttf”
},
- Using another device detect lib mentioned elsewhere, have this block of code in various locations (using director lib):
mainFont = “Liberation Sans”
local device = require(“device”)
if(device.isApple)then
mainFont = “LiberationSans-Regular”
end
-
I’ve verified that the device.isApple is working on actual devices via native alerts
-
The Font Book shows the Font name as Liberation Sans Regular, and I’ve tried both ways but neither work
Has anyone implemented this font or know how to trouble shoot this further? I’m running out of options, thanks!