diff --git a/Lib/gftools/fix.py b/Lib/gftools/fix.py index df203d47b..c1c0b7829 100644 --- a/Lib/gftools/fix.py +++ b/Lib/gftools/fix.py @@ -218,7 +218,7 @@ def fix_fs_selection(ttFont): old_selection = fs_selection = ttFont["OS/2"].fsSelection # turn off all bits except for bit 7 (USE_TYPO_METRICS) - fs_selection &= 1 << 7 + fs_selection = 1 << 7 if "Italic" in tokens: fs_selection |= 1 << 0