Relative Content

Tag Archive for pythonsvgfontsglyphttx-fonttools

Not able to add glyph to a font using python

I am trying to create a new font using some glyph of my own using python. I have have a function to parse the SVG file representing a glyph and converts it into a FontTools TTGlyph object.The function returns the generated TTGlyph object (glyph), the glyph name (glyph_name), and the extracted codepoints (codepoints). Now i am trying to create a font using these values. I got a script for this: