Fix bug in misc/kernsample.py
This commit is contained in:
parent
450ebd64f0
commit
dff0d33c59
1 changed files with 1 additions and 2 deletions
|
|
@ -62,7 +62,7 @@ def samplesForGlyphname(font, groups, groupmap, kerning, glyphname, args):
|
||||||
left = fmtGlyphname(glyphname, leftGlyph)
|
left = fmtGlyphname(glyphname, leftGlyph)
|
||||||
suffix_uc = ''
|
suffix_uc = ''
|
||||||
suffix_lc = ''
|
suffix_lc = ''
|
||||||
if len(args.suffix) > 0:
|
if args.suffix and len(args.suffix) > 0:
|
||||||
s = unicode(args.suffix)
|
s = unicode(args.suffix)
|
||||||
if s[0].isupper():
|
if s[0].isupper():
|
||||||
suffix_uc = args.suffix
|
suffix_uc = args.suffix
|
||||||
|
|
@ -112,7 +112,6 @@ def main():
|
||||||
'You can also provide a Unicode code point using the syntax "U+XXXX"')
|
'You can also provide a Unicode code point using the syntax "U+XXXX"')
|
||||||
|
|
||||||
args = argparser.parse_args()
|
args = argparser.parse_args()
|
||||||
dryRun = args.dryRun
|
|
||||||
|
|
||||||
font = OpenFont(args.fontPath)
|
font = OpenFont(args.fontPath)
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue