Home | History | Annotate | Download | only in fontTools

Lines Matching refs:Options

206 def prune_post_subset(self, options):
207 if not options.hinting:
242 def prune_post_subset(self, options):
243 if not options.hinting:
266 def prune_post_subset(self, options):
267 if not options.hinting:
298 def prune_post_subset(self, options):
299 if not options.hinting:
335 def prune_post_subset(self, options):
336 if not options.hinting:
372 def prune_post_subset(self, options):
373 if not options.hinting:
427 def prune_pre_subset(self, options):
439 def prune_post_subset(self, options):
759 def prune_pre_subset(self, options):
761 return self.ExtSubTable.prune_pre_subset(options)
775 def prune_post_subset(self, options):
777 return self.ExtSubTable.prune_post_subset(options)
804 def prune_pre_subset(self, options):
808 if st.prune_pre_subset(options): ret = True
818 def prune_post_subset(self, options):
822 if st.prune_post_subset(options): ret = True
840 def prune_pre_subset(self, options):
844 if l.prune_pre_subset(options): ret = True
853 def prune_post_subset(self, options):
857 if l.prune_post_subset(options): ret = True
1069 def prune_pre_subset(self, options):
1071 if '*' not in options.layout_features:
1072 self.subset_feature_tags(options.layout_features)
1077 self.table.LookupList.prune_pre_subset(options);
1114 def prune_post_subset(self, options):
1119 table.LookupList.prune_post_subset(options);
1182 def prune_post_subset(self, options):
1204 def prune_pre_subset(self, options):
1242 def prune_pre_subset(self, options):
1243 if not options.glyph_names:
1297 def prune_pre_subset(self, options):
1298 if options.notdef_glyph and not options.notdef_outline:
1319 def prune_post_subset(self, options):
1320 if not options.hinting:
1326 def prune_pre_subset(self, options):
1331 if options.notdef_glyph and not options.notdef_outline:
1573 def prune_post_subset(self, options):
1596 if not options.hinting:
1720 def prune_pre_subset(self, options):
1721 if not options.legacy_cmap:
1724 if not options.symbol_cmap:
1765 def prune_pre_subset(self, options):
1766 if '*' not in options.name_IDs:
1767 self.names = [n for n in self.names if n.nameID in options.name_IDs]
1768 if not options.name_legacy:
1771 if '*' not in options.name_languages:
1773 self.names = [n for n in self.names if n.langID in options.name_languages]
1790 class Options(object):
1915 def __init__(self, options=None, log=None):
1919 if not options:
1920 options = Options()
1922 self.options = options
1942 if(tag in self.options.drop_tables or
1943 (tag in self.options.hinting_tables and not self.options.hinting)):
1953 retain = table.prune_pre_subset(self.options)
1973 if self.options.notdef_glyph:
1980 if self.options.recommended_glyphs:
2022 if tag in self.options.no_subset_tables:
2051 retain = table.prune_post_subset(self.options)
2118 options,
2127 recalcBBoxes=options.recalc_bounds,
2128 recalcTimestamp=options.recalc_timestamp,
2151 def save_font(font, outfile, options):
2152 if options.flavor and not hasattr(font, 'flavor'):
2154 font.flavor = options.flavor
2155 font.save(outfile, reorderTables=options.canonical_order)
2162 options = Options()
2163 args = options.parse_opts(args, ignore_unknown=['text'])
2172 dontLoadGlyphNames =(not options.glyph_names and
2177 font = load_font(fontfile, options, dontLoadGlyphNames=dontLoadGlyphNames)
2179 subsetter = Subsetter(options=options, log=log)
2225 save_font (font, outfile, options)
2242 'Options',