Open ccorcos opened 4 years ago
Alternatively SVGs for all of these emojis would work as well. Looks like Google and Twitter emojis SVGs are readily available. Just need to figure out how to extract them from Apple...
Interesting... I don't have much knowledge about TTC fonts, but if possible, it would be great to extract SVGs from them. It looks like the svgs are significantly smaller than 160px pngs...
# Google has SVG.
ls -lah build/google/noto-emoji/svg
total 74328
drwxr-xr-x 2821 chet staff 88K Apr 29 15:34 .
drwxr-xr-x 42 chet staff 1.3K Apr 29 15:34 ..
-rw-r--r-- 1 chet staff 574B Apr 29 15:34 LICENSE
-rw-r--r-- 1 chet staff 3.5K Apr 29 15:34 emoji_u0023.svg
-rw-r--r-- 1 chet staff 4.0K Apr 29 15:34 emoji_u0023_20e3.svg
-rw-r--r-- 1 chet staff 2.3K Apr 29 15:34 emoji_u002a.svg
-rw-r--r-- 1 chet staff 3.3K Apr 29 15:34 emoji_u002a_20e3.svg
-rw-r--r-- 1 chet staff 2.0K Apr 29 15:34 emoji_u0030.svg
-rw-r--r-- 1 chet staff 2.7K Apr 29 15:34 emoji_u0030_20e3.svg
# Same with twitter!
ls -lah build/twitter/twemoji/assets/svg
total 28408
drwxr-xr-x 3109 chet staff 97K Apr 29 15:34 .
drwxr-xr-x 5 chet staff 160B Apr 29 15:34 ..
-rw-r--r-- 1 chet staff 1.7K Apr 29 15:34 1f004.svg
-rw-r--r-- 1 chet staff 1.6K Apr 29 15:34 1f0cf.svg
-rw-r--r-- 1 chet staff 576B Apr 29 15:34 1f170.svg
-rw-r--r-- 1 chet staff 621B Apr 29 15:34 1f171.svg
-rw-r--r-- 1 chet staff 495B Apr 29 15:34 1f17e.svg
-rw-r--r-- 1 chet staff 456B Apr 29 15:34 1f17f.svg
-rw-r--r-- 1 chet staff 942B Apr 29 15:34 1f18e.svg
-rw-r--r-- 1 chet staff 731B Apr 29 15:34 1f191.svg
-rw-r--r-- 1 chet staff 1.2K Apr 29 15:34 1f192.svg
# These are generally smaller than the Apple 160px
ls -lah img-apple-160/
total 160792
drwxr-xr-x 3188 chet staff 100K Apr 29 15:20 .
drwxr-xr-x 46 chet staff 1.4K Apr 29 15:58 ..
-rw-r--r-- 1 chet staff 11K Apr 29 15:20 0023-fe0f-20e3.png
-rw-r--r-- 1 chet staff 13K Apr 29 15:20 002a-fe0f-20e3.png
-rw-r--r-- 1 chet staff 12K Apr 29 15:20 0030-fe0f-20e3.png
-rw-r--r-- 1 chet staff 8.5K Apr 29 15:20 0031-fe0f-20e3.png
-rw-r--r-- 1 chet staff 11K Apr 29 15:20 0032-fe0f-20e3.png
The apple dataset comes with 160px, but Google is 136px and Twitter is 72px. Would be nice if we had 160px for all three of these.