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

Support of emojis for Labels

$
0
0

Is there a universal way to support emojis using Cocos2d-x (version 3.17)?

I am using the class Label and using BMfont.

I tried with a TTF font as well, did not work either.

Tried to use the androidx.emoji2:emoji2 android package. It did not do anything for both BMP and TTF fonts.

I tried to see if I could generate a font that contains the emojis (BM font using the Angelcode BMFont generator and even if I was using a font that supports them in Office, I could not generate them into the BMfont output.)

The only way I could make them work is if I use the ugly systemFont.

I search on the Internet quite a bit as well with no clear answers.

Anyone achieved it? (For both Android and iOS)

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 2748

Latest Images

Trending Articles



Latest Images