Hi folks, in my game I’m using custom fonts, and I have added them following the guide that can be found @ https://docs.coronalabs.com/guide/system/customFont/index.html.
Anyway, I managed to make them work only in the iOS version of the game, but not on the Android one.
The code I’m using is:
local coinCounterText = display.newText("0", x.x+55, coinCounterCoin.y-3, "Pusab", 18 ) coinCounterText:setFillColor( 255, 255, 255 ) coinCounterText.alpha = 1
instead of “Pusab”, it loads the system native font.
The font file name (in the folder of the project, alongside main.lua) is “Pusab.ttf”
Is there something I’m missing? I have tried to compile my app on Windows and OS X, and the simulator loads the font correcty in both operating systems.
Thank you.