hironishihara / ofxTrueTypeFontUC

An extension of ofTrueTypeFont class for using UNICODE characters. Tested on OSX, iOS, and Windows.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Emoji Support

nicknikolov opened this issue · comments

Hi,

I'm trying to use your library to draw Emoji using Apple's Color Emoji ttf. Unfortunately I am getting this error:

[ error ] ofxTrueTypeFontUC::loadFont - Error with FT_Load_Glyph 112: FT_Error = 22

Code:

// in setup
myFont.loadFont("Apple Color Emoji.ttf", 72);
// in draw
myFont.drawString("🐞", 100, 100);

Thanks in advance!

Hi,

Unfortunately ofxTrueTypeFontUC doesn't support Emoji.
Additionally there are no plans to support it in this addon.

I too need an alternative which supports Emoji.
I would like to create it in the near future.

Hi Hiro,
I understand and thanks for the quick reply!