[subset] Update documentation to reflect reality [ci skip]
CBLC/CBDT are no longer dropped by default since 9189d1a1f04a7a808ad9940dc14eb072ff25f115.
This commit is contained in:
parent
288b7e9f28
commit
835ee4a84b
@ -208,7 +208,7 @@ Font table options:
|
|||||||
By default, the following tables are dropped:
|
By default, the following tables are dropped:
|
||||||
'BASE', 'JSTF', 'DSIG', 'EBDT', 'EBLC', 'EBSC', 'SVG ', 'PCLT', 'LTSH'
|
'BASE', 'JSTF', 'DSIG', 'EBDT', 'EBLC', 'EBSC', 'SVG ', 'PCLT', 'LTSH'
|
||||||
and Graphite tables: 'Feat', 'Glat', 'Gloc', 'Silf', 'Sill'
|
and Graphite tables: 'Feat', 'Glat', 'Gloc', 'Silf', 'Sill'
|
||||||
and color tables: 'CBLC', 'CBDT', 'sbix'.
|
and color tables: 'sbix'.
|
||||||
The tool will attempt to subset the remaining tables.
|
The tool will attempt to subset the remaining tables.
|
||||||
Examples:
|
Examples:
|
||||||
--drop-tables-='SVG '
|
--drop-tables-='SVG '
|
||||||
@ -1377,7 +1377,7 @@ def subset_glyphs(self, s):
|
|||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
# CBDC will inherit it
|
# CBDT will inherit it
|
||||||
@_add_method(ttLib.getTableClass('EBDT'))
|
@_add_method(ttLib.getTableClass('EBDT'))
|
||||||
def subset_glyphs(self, s):
|
def subset_glyphs(self, s):
|
||||||
self.strikeData = [{g: strike[g] for g in s.glyphs if g in strike}
|
self.strikeData = [{g: strike[g] for g in s.glyphs if g in strike}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user