Alina_Kadlubsky_t_version_2.py 604 Bytes
Newer Older
pw's avatar
pw committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
#!/usr/bin/env python

# Script to generate the t, by Alina Kadlubsky
from robofab.world import RFont
font = RFont('Morphologic.ufo')

glyph = font.newGlyph('t')

pen = glyph.getPen()

pen.moveTo((375,0))
pen.lineTo((250,0))
pen.lineTo((175,250))
pen.lineTo((175,475))
pen.lineTo((100,475))
pen.lineTo((100,525))
pen.lineTo((175,525))
pen.lineTo((175,750))
pen.lineTo((250,750))
pen.lineTo((250,525))
pen.lineTo((425,525))
pen.lineTo((425,475))
pen.lineTo((250,475))
pen.lineTo((250,250))
pen.lineTo((275,75))
pen.lineTo((375,75))
pen.lineTo((450,175))
pen.lineTo((500,175))

pen.closePath()

font.save()