clone your own copy | download snapshot



Called in trace_alphabet. Used to import SVG files into a .ufo font.

Produces a stroke .ufo font file from an outline font file.

Usage: "TeX Gyre Termes"

Where "TeX Gyre Termes" is the font family name.

Gets list of wanted glyphs (

f = open("glyphs.test.txt", "r")

while glyphs.test.txt is a file is a test version with only 3 glyphs glyphs.latin1.txt is a file with all communnnecessary glyphs to have a full latin alphabet glyphs-balsa.txt is the file used to produce all the glyphs for the balsa 14-15 season project

When importing a stroke from Inkscape, Fontforge automatically closes the shape. This script is trying to reopen the shape. It does not work 100% of times, but maybe 90% of the time, which is already time-saving!

Once your strokes are clean, you can launch this script to expand the stroke with the width and parameters you want.


python  "Spacing Font" "New font"  30 1

Where: - "Spacing Font" is the original font from which we get the spacing info back. - "New Font" is the name of the produced font - "30" is the width of the stroke - "1" is the variant of the font (we use this to put all fonts in the same font family but still be able to use them in software like Inkscape) - 1: Ultra-Condensed - 2: Extra-Condensed - 3: Condensed - 4: Semi-Condensed - 5: Normal - 6: Semi-Expanded - 7: Expanded - 8: Extra-Expanded - 9: Ultra-Expanded

Snapshots | iceberg

Inside this repository



Stéphanie Vilayphiouverbalised

— un gros commit encore à cleaner, mais ça permet de commencer

Friday, 7th November 2014 - 17:40


Stéphanie Vilayphiouinterpreted

— changing folder name based on the new folder structure

Sunday, 16th November 2014 - 21:50


Stéphanie Vilayphioubabbled

— untrack tmp folder

Friday, 12th December 2014 - 13:24


Stéphanie Vilayphioushouted

— rm texgyretermes-stroke

Friday, 12th December 2014 - 13:25


Stéphanie Vilayphioutalked

— réparation du script

Friday, 12th December 2014 - 13:25



— some precision on readme and python2 correction

Friday, 12th December 2014 - 11:31


Stéphanie Vilayphiouconfessed

— mege

Friday, 12th December 2014 - 13:31


Stéphanie Vilayphiouclaimed

— python2 → python

Friday, 12th December 2014 - 13:34


Stéphanie Vilayphiouinterpreted

— rm old bash scripts

Friday, 12th December 2014 - 13:46


Stéphanie Vilayphiouunwrapped

— Rm ipdb.

Takes png|gif input according to convert/no-convert parameter.

Friday, 12th December 2014 - 13:46


Stéphanie Vilayphioulet out

— some iceberg images

Thursday, 15th January 2015 - 14:33