Skip to content

Commit a7b60b6

Browse files
committed
Enable -gs option
1 parent a8aa3f6 commit a7b60b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

FDK Extras/buildAll.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def doTask(fonts):
7373

7474
print '*******************************'
7575
print 'Building %s...(%d/%d)' % (styleName, i, totalFonts)
76-
cmd = 'makeotf -f "%s" -r' % fontFileName
76+
cmd = 'makeotf -f "%s" -gs -r' % fontFileName # -gs option: only the glyphs listed in the GOADB file will be included in OTF
7777
# cmd = 'makeotf -f "%s" -addn -r' % fontFileName # adds marking notdef glyph
7878
popen = Popen(cmd, shell=True, stdout=PIPE)
7979
popenout, popenerr = popen.communicate()

0 commit comments

Comments
 (0)