Creating a font programmatically

Primary tabs

6 posts / 0 new
Last post
Pavel Vlasov's picture
Offline
Joined: 12 Apr 2011 - 7:00pm
Creating a font programmatically
0

I'm looking for a simple API or font-project-format or just font-format allowing to generate a font (font project) from my own program code with maximum ease.

The properties I'd like to set for each glyph are:
- vector curves (eps/ai/svg/bitmap)
- width/height
- baseline

The other properties could be tweaked manually in a font editor.

Thus it should be either an open and friendly file format or well documented API.

Please let me know if you know such a solution. Thanks.

Frank Grießhammer's picture
Joined: 18 Nov 2008 - 6:57am
0

A good set of tools for your ideas comes with [[http://robofab.com/|Robofab]].
You can also do scripting with on-board tools in [[http://www.fontlab.com/python|FontLab]] itself.
Further reading: [[http://en.wikipedia.org/wiki/Metafont|Metafont]].

Stephen Hartke's picture
Offline
Joined: 1 Mar 2006 - 11:44pm
0

FontForge also has a Python interface that allows direct programmatic creation of glyphs.

Khaled Hosny's picture
Offline
Joined: 29 Aug 2007 - 4:57am
0

Check my [[https://github.com/khaledhosny/punk-otf|Punk Nova]] font which uses [[http://fontforge.sourceforge.net/python.html|FontForge's Python interface]] to create a font without any interactions.

Pavel Vlasov's picture
Offline
Joined: 12 Apr 2011 - 7:00pm
0

I thank you all! It's looks like what I need.

Khaled Hosny's picture
Offline
Joined: 29 Aug 2007 - 4:57am
0

Typophile breaks https:// links for some reason, the above link should be https://github.com/khaledhosny/punk-otf