I am currently facing this problem with custom TTF fonts. I used the Marker Felt.ttf font from the examples and it works on browser and also when compiling to native iOS. But as soon as i switch the font to my another custom ttf font, it breaks and defaults to system font.
Also one thing to note, if i change the filename of the Marker Felt.ttf font and use the new name, it also breaks. Is there any other way Cocos2dx reads font on native?
I am using Cocos2dJS
Versions:
cocos2d-x-3.13.1
Cocos Console 2.1
Is anybody facing a problem, or am i missing something basic here?