root/trunk/Documentation/TypoTechnica 2005/scripts Folder/Paulus - bricks/glyph.py

Revision 1, 325 bytes (checked in by erik, 3 years ago)

initial import

  • Property svn:executable set to
Line 
1 from robofab.world import CurrentGlyph, CurrentFont
2
3 myFont = CurrentFont()
4 # myGlyph = CurrentGlyph()
5
6 myDict = {"fi": ["f", "i"], "fl": ["f", "l"]}
7
8 for myLig in myDict:
9         for myBasechar in myDict[myLig]:
10                 print myLig, myBasechar
11
12
13 mySource = myFont["f"]
14 myDest = myFont["e"]
15
16 myDest.appendGlyph(mySource)
17
18 myDest.update()
Note: See TracBrowser for help on using the browser.