@linse wrote:
Hi there,
I tried to draw Emoji from the font
Apple Color Emoji.ttftoday and could not get it to work, the app window stays grey. For other fonts (Monaco.ttf) and ASCII characters ("hello"), the same call ofdrawStringworks fine.I suspect this is an UTF-8 issue or I’m using
drawStringthe wrong way for Emoji? I’m new to openframeworks and any help is appreciated!
ofApp.cpp[..] void ofApp::setup(){ // true, true, true loads the entire charset font.load("Emoji.ttf", 12, true, true, true); } [..] void ofApp::draw(){ font.drawString("✊", 100, 100); } [..]
ofApp.h:[..] ofTrueTypeFont font; };Thank you!
Posts: 1
Participants: 1

