From 7f8f711ddaf3455e271da007f1bb16a45524cbe9 Mon Sep 17 00:00:00 2001 From: Jens Kutilek Date: Thu, 19 Dec 2019 11:08:45 +0100 Subject: [PATCH] Remove workaround (#1381) --- Lib/fontTools/varLib/__init__.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Lib/fontTools/varLib/__init__.py b/Lib/fontTools/varLib/__init__.py index 43a16da5a..5d668c1cf 100644 --- a/Lib/fontTools/varLib/__init__.py +++ b/Lib/fontTools/varLib/__init__.py @@ -372,16 +372,6 @@ def _add_gvar(font, masterModel, master_ttfs, tolerance=0.5, optimize=True): ) if None in delta_opt: - """In composite glyphs, there should be one 0 entry - to make sure the gvar entry is written to the font. - - This is to work around an issue with macOS 10.14 and can be - removed once the behaviour of macOS is changed. - - https://github.com/fonttools/fonttools/issues/1381 - """ - if all(d is None for d in delta_opt): - delta_opt = [(0, 0)] + [None] * (len(delta_opt) - 1) # Use "optimized" version only if smaller... var_opt = TupleVariation(support, delta_opt)