diff options
author | James Godfrey-Kittle <jamesgk@google.com> | 2015-08-20 14:04:23 -0700 |
---|---|---|
committer | James Godfrey-Kittle <jamesgk@google.com> | 2015-08-20 14:04:23 -0700 |
commit | 63d7eb50b409d714146cd4002f1e8400cb098c57 (patch) | |
tree | bcb209b46e211edf523d54119cf109136815ff5b /scripts | |
parent | f0446ecc7eee2fe55e4f81563e035f8bee01b748 (diff) |
Script updates 15/08/20.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/fontbuild/generateGlyph.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/scripts/lib/fontbuild/generateGlyph.py b/scripts/lib/fontbuild/generateGlyph.py index 7bb8ca2..ed3b68d 100644 --- a/scripts/lib/fontbuild/generateGlyph.py +++ b/scripts/lib/fontbuild/generateGlyph.py @@ -39,10 +39,10 @@ def copyMarkAnchors(f, g, srcname, width): g.anchors.append(anchor1) if "top" == anchor.name: if g.unicode == None: - if -1 == find(g.name, ".ccmp"): + if (-1 == find(g.name, ".ccmp")) and (-1 == find(g.name, ".NAV")) and (-1 == find(g.name, ".smcp")): continue if False == (g.unicode in unicode_range): - if -1 == find(g.name, ".ccmp"): + if (-1 == find(g.name, ".ccmp")) and (-1 == find(g.name, ".NAV")) and (-1 == find(g.name, ".smcp")): continue #if g.unicode > 0x02B0: # continue @@ -58,9 +58,11 @@ def copyMarkAnchors(f, g, srcname, width): if "bottom" == anchor.name: if g.unicode == None: - continue + if -1 == find(g.name, ".smcp"): + continue if False == (g.unicode in unicode_range): - continue + if -1 == find(g.name, ".smcp"): + continue #if g.unicode > 0x02B0: # continue bottom_present = 0 |