Question

I wonder if it is possible to "code" a TTF/OTF/SVG font? Somehow write in all the cordinates for each letter.

If so, where can I learn more about it?

Was it helpful?

Solution

It's certainly possible. SVG and SVG Fonts are both XML documents. So, assuming you have a way to lay out the letter forms in SVG-compatible shapes, the rest should be straightforward, assuming good XML support.

You can then use FontForge to convert to other formats.

Edit: Another question produced a manual way to produce SVG Fonts, which should be useful in guiding the design of a program to do so.

OTHER TIPS

Create fonts, glyphs and contours using the Fontforge Python extension (This doesn't open the GUI). All popular formats and UFO. http://fontforge.org/python.html

RoboFab is a Python library with objects that deal with data usually associated with fonts and type design. RoboFab has support for the UFO font format. http://www.robofab.org/

UFO is a Unified Font Format (XML). http://unifiedfontobject.org/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top