hironishihara / ofxTrueTypeFontUC

An extension of ofTrueTypeFont class for using UNICODE characters. Tested on OSX, iOS, and Windows.
Other
115 stars 46 forks source link

Emoji Support #15

Closed nicknikolov closed 9 years ago

nicknikolov commented 9 years ago

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!

hironishihara commented 9 years ago

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.

nicknikolov commented 9 years ago

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