Be more verbose re glyphs
This commit is contained in:
parent
8998700990
commit
240d7e7dee
@ -964,6 +964,8 @@ if __name__ == '__main__':
|
|||||||
glyphs = unique_sorted (glyph_names)
|
glyphs = unique_sorted (glyph_names)
|
||||||
del glyph_names
|
del glyph_names
|
||||||
lapse ("compile glyph list")
|
lapse ("compile glyph list")
|
||||||
|
if verbose:
|
||||||
|
print "Glyphs:", glyphs
|
||||||
|
|
||||||
glyphs_requested = glyphs
|
glyphs_requested = glyphs
|
||||||
if 'GSUB' in font:
|
if 'GSUB' in font:
|
||||||
@ -973,6 +975,7 @@ if __name__ == '__main__':
|
|||||||
glyphs = font['GSUB'].closure_glyphs (glyphs)
|
glyphs = font['GSUB'].closure_glyphs (glyphs)
|
||||||
if verbose:
|
if verbose:
|
||||||
print "Closed glyph list over 'GSUB': %d glyphs after" % len (glyphs)
|
print "Closed glyph list over 'GSUB': %d glyphs after" % len (glyphs)
|
||||||
|
print "Glyphs:", glyphs
|
||||||
lapse ("close glyph list over 'GSUB'")
|
lapse ("close glyph list over 'GSUB'")
|
||||||
glyphs_gsubed = glyphs
|
glyphs_gsubed = glyphs
|
||||||
|
|
||||||
@ -980,9 +983,11 @@ if __name__ == '__main__':
|
|||||||
if 'glyf' in font:
|
if 'glyf' in font:
|
||||||
if verbose:
|
if verbose:
|
||||||
print "Closing glyph list over 'glyf': %d glyphs before" % len (glyphs)
|
print "Closing glyph list over 'glyf': %d glyphs before" % len (glyphs)
|
||||||
|
print "Glyphs:", glyphs
|
||||||
glyphs = font['glyf'].closure_glyphs (glyphs)
|
glyphs = font['glyf'].closure_glyphs (glyphs)
|
||||||
if verbose:
|
if verbose:
|
||||||
print "Closed glyph list over 'glyf': %d glyphs after" % len (glyphs)
|
print "Closed glyph list over 'glyf': %d glyphs after" % len (glyphs)
|
||||||
|
print "Glyphs:", glyphs
|
||||||
lapse ("close glyph list over 'glyf'")
|
lapse ("close glyph list over 'glyf'")
|
||||||
else:
|
else:
|
||||||
glyphs = glyphs
|
glyphs = glyphs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user