From 787b39d9b50fd25cb9ebc4c98cea331393a8e0b2 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 14 Apr 2017 15:27:52 -0700 Subject: [PATCH] [subset] Add MVAR and STAT as no-susbetting-needed tables --- Lib/fontTools/subset/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Lib/fontTools/subset/__init__.py b/Lib/fontTools/subset/__init__.py index 7eec0b367..36bcece14 100644 --- a/Lib/fontTools/subset/__init__.py +++ b/Lib/fontTools/subset/__init__.py @@ -210,7 +210,7 @@ Font table options: By default, the following tables are included in this list, as they do not need subsetting (ignore the fact that 'loca' is listed here): 'gasp', 'head', 'hhea', 'maxp', 'vhea', 'OS/2', 'loca', - 'name', 'cvt ', 'fpgm', 'prep', 'VMDX', 'DSIG' and 'CPAL'. + 'name', 'cvt ', 'fpgm', 'prep', 'VMDX', 'DSIG', 'CPAL', 'MVAR', 'STAT'. By default, tables that the tool does not know how to subset and are not specified here will be dropped from the font, unless --passthrough-tables option is passed. @@ -2425,7 +2425,8 @@ class Options(object): _no_subset_tables_default = ['avar', 'fvar', 'gasp', 'head', 'hhea', 'maxp', 'vhea', 'OS/2', 'loca', 'name', 'cvt', - 'fpgm', 'prep', 'VDMX', 'DSIG', 'CPAL'] + 'fpgm', 'prep', 'VDMX', 'DSIG', 'CPAL', + 'MVAR', 'STAT'] _hinting_tables_default = ['cvar', 'cvt', 'fpgm', 'prep', 'hdmx', 'VDMX'] # Based on HarfBuzz shapers