From 41516707549dc5ccc029bcb250149f8433669cb0 Mon Sep 17 00:00:00 2001 From: James Godfrey-Kittle Date: Fri, 1 May 2015 10:34:53 -0700 Subject: Remove some checks when adding anchors. These issues are solved with the updated anchor resources. --- scripts/lib/fontbuild/mix.py | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'scripts/lib') diff --git a/scripts/lib/fontbuild/mix.py b/scripts/lib/fontbuild/mix.py index bd396ed..7123213 100644 --- a/scripts/lib/fontbuild/mix.py +++ b/scripts/lib/fontbuild/mix.py @@ -260,20 +260,7 @@ class Master: if anchorPath: anchorData = json.load(open(anchorPath)) for glyphName, anchors in anchorData.items(): - - # another bug: some entire glyphs are dropped during conversion. - # example: gbar_uni1ABE - try: - glyph = self.font[glyphName] - except KeyError: - continue - - # another bug: some glyphs are decomposed during conversion, in - # which case they unexpectedly don't drop anchors. - # examples: uni04BA, Gbar (partially decomposed) - if glyph.anchors: - continue - + glyph = self.font[glyphName] for name, (x, y) in anchors.items(): glyph.appendAnchor(str(name), (x, y)) -- cgit v1.2.3