I am using custom font for my project. It works perfectly on windows simulator / any android device. But there is problem with IOS and mac simulator.
It works every 3th relanuch… otherwise its cutted in half (top is missing)
Heres the pattern: (sadly can’t attach the font file since Corona forums doesn’t let me to)
1st: broken (top half cut)
2nd: broken (top half cut)
3rd: working (whole font displayed)
4rd: broken (top half cut)
5th: broken (top half cut)
6th: working (whole font displayed)
Here is code:
local bestScoreText= display.newText(“best Score”, properties.center.x + 80, properties.y - 50, “Smash Hit”, 100)
group:insert(bestScoreText)
I just can’t imagine how can something work every 3th time with such a simple code. Did anyone encoured similar problem?
I just want to say I tried out all diffrent things with font Sizes (as mentioned in other topics), setting with + height of the font etc.