Quantcast
Channel: cocos2d-x - Cocos Forums
Viewing all articles
Browse latest Browse all 2751

Cocos2dJS: Some TTF fonts work and Some don't when compiling for iOS. Why is that?

$
0
0

@suroorwijdan wrote:

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?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 2751

Trending Articles