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

11 lines
1.1 KiB
Python
Executable File

from robofab.world import CurrentFont
myFont = CurrentFont()
myGlyphs = ['Amacron', 'amacron', 'Aogonek', 'aogonek', 'Ccaron', 'ccaron', 'Cacute', 'cacute', 'Zacute', 'zacute', 'Dcaron', 'dcaron', 'Emacron', 'emacron', 'Edotaccent', 'edotaccent', 'Ecaron', 'ecaron', 'Eogonek', 'eogonek', 'gcommaaccent', 'Iogonek', 'iogonek', 'Imacron', 'imacron', 'Kcommaaccent', 'Lcommaaccent', 'lcommaaccent', 'Lcaron', 'lcaron', 'Lacute', 'lacute', 'Ncommaaccent', 'ncommaaccent', 'Nacute', 'nacute', 'Ncaron', 'ncaron', 'Ohungarumlaut', 'ohungarumlaut', 'Omacron', 'omacron', 'Racute', 'racute', 'Rcaron', 'rcaron', 'Rcommaaccent', 'rcommaaccent', 'Sacute', 'sacute', 'Tcaron', 'tcaron', 'Umacron', 'umacron', 'Uring', 'uring', 'Uhungarumlaut', 'uhungarumlaut', 'Uogonek', 'uogonek', 'kcommaaccent', 'Zdotaccent', 'zdotaccent', 'Gcommaaccent', 'commaaccent', 'Abreve', 'Scedilla', 'abreve', 'scedilla', 'Tcommaaccent', 'tcommaaccent', 'Gbreve', 'gbreve', 'Idotaccent', 'Dcroat', 'dcroat', 'Scommaaccent', 'scommaaccent', 'uni021A', 'uni021B']
for myGlyph in myGlyphs:
if not myFont.has_key(myGlyph):
myFont.newGlyph(myGlyph)
myFont.update()
print "done"