diff options
Diffstat (limited to 'scripts/lib/fontbuild/mix.py')
-rw-r--r-- | scripts/lib/fontbuild/mix.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/lib/fontbuild/mix.py b/scripts/lib/fontbuild/mix.py index 86bf4ed..06c62dc 100644 --- a/scripts/lib/fontbuild/mix.py +++ b/scripts/lib/fontbuild/mix.py @@ -228,6 +228,13 @@ class Master: def openFont(self, path, overlayPath=None): fl.Open(path,True) self.ifont = fl.ifont + for g in fl.font.glyphs: + size = len(g) + csize = len(g.components) + if (size > 0 and csize > 0): + g.Decompose() + + self.ifont = fl.ifont self.font = fl.font if overlayPath != None: fl.Open(overlayPath,True) |