About extracting and converting emoji.ttf to .svg

316 Views Asked by At

I am using Windows 10 and I have installed Python 3.10.10 x64.

I copied NotoColorEmoji.ttf from Android phone's /system/fonts, which is an emoji font file, and I found a python script which can extract all emojis from it and convert them to 108x108px .PNGs, plus converting the .ttf to .ttx.

But is there any way to extract & convert it to .svg which is vector graphics? I googled and found that fontforge seems to be able to do that, but I am not sure about. I would like to have some of the emoji icons in vectors, which cannot be found anywhere.

If anyone knows how to get vector graphics from the .ttf, please teach me. Thanks in advance.

I haven't tried fontforge, and it seems not able to export colors from what I saw elsewhere.

Edit: I have tried fontforge and it said no bitmap strikes from the NotoColorEmoji.ttf. And the tool I used to extract PNGs is this one: https://github.com/fonttools/fonttools

0

There are 0 best solutions below