mirror of
https://github.com/rsms/inter.git
synced 2024-12-25 00:21:40 +03:00
Fix bug in misc/kernsample.py
This commit is contained in:
parent
450ebd64f0
commit
dff0d33c59
@ -62,7 +62,7 @@ def samplesForGlyphname(font, groups, groupmap, kerning, glyphname, args):
|
||||
left = fmtGlyphname(glyphname, leftGlyph)
|
||||
suffix_uc = ''
|
||||
suffix_lc = ''
|
||||
if len(args.suffix) > 0:
|
||||
if args.suffix and len(args.suffix) > 0:
|
||||
s = unicode(args.suffix)
|
||||
if s[0].isupper():
|
||||
suffix_uc = args.suffix
|
||||
@ -112,7 +112,6 @@ def main():
|
||||
'You can also provide a Unicode code point using the syntax "U+XXXX"')
|
||||
|
||||
args = argparser.parse_args()
|
||||
dryRun = args.dryRun
|
||||
|
||||
font = OpenFont(args.fontPath)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user