Reputation: 23
I want to create my own .ttf font. It should contains emojis.
I have some Images (emojis) and I want to put these in a new font (I don't want to edit an existing font and I don't have an empty .ttf template).
I googled and found out that it is possible with python (I am happy about this because Python is my favorite programming language and, in my opinion, I am good in it) and fontforge.
I already installed fontforge but I can't import it in python.
and I don't know how to continue after Import.
can someone give me an example please.
or do you know another way to do this, It don't have to be python and fontforge. but please with example.
Thank you soooo much 🤗
Upvotes: 2
Views: 3323
Reputation: 3650
Since you like using Python, FontTools might be useful for you. See https://fonttools.readthedocs.io/en/latest/colorLib/index.html for documentation regarding building fonts with a COLR table. Also, https://github.com/googlefonts/picosvg and https://github.com/googlefonts/nanoemoji might be of interest.
You didn't actually mention which colour format you want to use for your emoji: bitmaps (CBDT or sbix tables), layered outlines (COLR/CPAL tables), or embedded SVG documents (SVG table)>. I know the above will work for COLR/CPAL; not sure about CBDT, sbix or SVG.
Upvotes: 1