yiminli
Results
2
comments of
yiminli
Thanks for reminding me about u8 string literal. I updated the code to: static char str[128] = u8"😊Hello, world!"; 😊 is U+1F60A. Seems rendering of the glyph has some problem....
clfontpng (https://gist.github.com/jokertarot/7583938) can render emoji in NotoColorEmoji_WindowsCompatible.ttf into png file without a problem. The author used FreeType 2.5. I tested it working with FreeType 2.12.1: ./clfontpng NotoColorEmoji_WindowsCompatible.ttf 🥳