ユーザーの入力したテキストを元に
いい感じの画像生成していきましょう
18 Twemoji Copyright 2018 Twitter, Inc and other contributors
Slide 19
Slide 19 text
fin.
19
Slide 20
Slide 20 text
カラー絵文字の問題(未解決)
20
Slide 21
Slide 21 text
● カラー絵文字の OpenType フォントは4種類ある
○ CBDT/CBLC: Noto Color Emoji
○ COLR/CPAL: Segoe UI Emoji
○ sbix: Apple Color Emoji
○ SVG: Twitter Color Emoji
● 詳しくは「カラー絵文字〜OpenTypeフォントの仕様を中心に〜」
https://qiita.com/496_/items/6910dd76283ba1347327
21
カラー絵文字の問題
Slide 22
Slide 22 text
● CBDT/CBLC, SVG を node-canvas に読み込ませてみたが上手く行かなかった
○ Cairo/Pango の最新バージョンに対応しないといけないっぽい
○ Cairo and Pango have to do some coordinating to get emojis working, I would
try to compile the latest of both from source. Supposedly it should work but as
you can see above we couldn't get it working, and I sunk a lot of time into it
https://github.com/Automattic/node-canvas/issues/760#issuecomment-380205365
22
カラー絵文字の問題