Avoid duplicate names in glyphorder table.
When adding a single glyph that was not in the cmap, this was adding the name for that glyph twice.pull/92/head
parent
a62c0be851
commit
e5146fcecb
|
@ -204,7 +204,8 @@ for (u, filename) in img_pairs:
|
|||
cp = ord(char)
|
||||
if cp not in c and not is_vs(cp):
|
||||
name = glyph_name (char)
|
||||
g.append(name)
|
||||
if name not in glyph_names:
|
||||
g.append(name)
|
||||
c[cp] = name
|
||||
if len (u) > 1:
|
||||
h[name] = [0, 0]
|
||||
|
|
Loading…
Reference in New Issue