strokify
clone your own copy | download snapshot

About

STROKIFY

svg2ufo.py

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

traceAlphabet.py

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

Usage:

trace_alphabet.sh "TeX Gyre Termes"

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

Gets list of wanted glyphs (traceAlphabet.py)

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

openClosedPaths.py

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!

expand_stroke.py

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

Usage:

python expand_stroke.py  "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

Log

 

Stéphanie Vilayphiouinterpreted

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

Friday, 7th November 2014 - 17:40

 

Stéphanie Vilayphioutalked

— changing folder name based on the new folder structure

Sunday, 16th November 2014 - 21:50

 

Stéphanie Vilayphioulet on

— untrack tmp folder

Friday, 12th December 2014 - 13:24

 

Stéphanie Vilayphioubabbled out

— rm texgyretermes-stroke

Friday, 12th December 2014 - 13:25

 

Stéphanie Vilayphioubabbled out

— réparation du script

Friday, 12th December 2014 - 13:25

 

Sarahcried

— some precision on readme and python2 correction

Friday, 12th December 2014 - 11:31

 

Stéphanie Vilayphiougave away

— mege

Friday, 12th December 2014 - 13:31

 

Stéphanie Vilayphiousaid

— python2 → python

Friday, 12th December 2014 - 13:34

 

Stéphanie Vilayphiouexposed

— rm old bash scripts

Friday, 12th December 2014 - 13:46

 

Stéphanie Vilayphiouverbalized

— Rm ipdb.

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

Friday, 12th December 2014 - 13:46

 

Stéphanie Vilayphiouspoke

— some iceberg images

Thursday, 15th January 2015 - 14:33