Erik van Blokland 3646055ea2 initial import
git-svn-id: http://svn.robofab.com/trunk@1 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2008-01-07 17:40:34 +00:00

19 lines
325 B
Python
Executable File

from robofab.world import CurrentGlyph, CurrentFont
myFont = CurrentFont()
# myGlyph = CurrentGlyph()
myDict = {"fi": ["f", "i"], "fl": ["f", "l"]}
for myLig in myDict:
for myBasechar in myDict[myLig]:
print myLig, myBasechar
mySource = myFont["f"]
myDest = myFont["e"]
myDest.appendGlyph(mySource)
myDest.update()