tooling: fixes bug in fallback-codepoint script

This commit is contained in:
Rasmus Andersson 2019-08-07 18:11:54 -07:00
parent 15a20262a6
commit 43fff858ff

View file

@ -26,7 +26,7 @@ try:
for g in font.glyphs: for g in font.glyphs:
if g.unicodes is not None: if g.unicodes is not None:
for c in [int(c, 16) for c in g.unicodes]: for c in [int(c, 16) for c in g.unicodes]:
if c <= 0xEFFF and c > nextcp: if c <= 0xEFFF and c >= nextcp:
nextcp = c + 1 nextcp = c + 1
print('nextcp: %X' % nextcp) print('nextcp: %X' % nextcp)