Home | History | Annotate | Download | only in tables

Lines Matching defs:Coverage

35 class Coverage(FormatSwitchingBaseTable):
47 # Some SIL fonts have coverage entries that don't have sorted
52 warnings.warn("GSUB/GPOS Coverage is not sorted by glyph ids.")
63 warnings.warn("Coverage table has start glyph ID out of range: %s." % start)
70 warnings.warn("Coverage table has end glyph ID out of range: %s." % end)
113 warnings.warn("GSUB/GPOS Coverage is not sorted by glyph ids.")
146 input = _getGlyphsFromCoverageTable(rawTable["Coverage"])
192 cov = Coverage()
196 rawTable["Coverage"] = cov
339 input = _getGlyphsFromCoverageTable(rawTable["Coverage"])
360 cov = Coverage()
369 # CJK fonts will overflow an offset if the coverage table isn't pushed to the end.
371 # I don't need to calculate the change in the subtable offset due to the change in the coverage table size.
374 return {"Coverage": cov, "AlternateSet": alternates}
407 input = _getGlyphsFromCoverageTable(rawTable["Coverage"])
427 cov = Coverage()
439 # I don't need to calculate the change in subtabl offset due to the coverage table size.
442 return {"Coverage": cov, "LigatureSet": ligSets}
484 'Coverage': ('MarkCoverage', 'BaseCoverage', 'LigatureCoverage', 'Mark1Coverage',
576 if overflowRecord.itemName in [ 'Coverage', 'RangeRecord']:
577 # Coverage table is written last. overflow is to or within the
578 # the coverage table. We will just cut the subtable in half.
584 # to the Coverage table doesn't overflow.
604 if overflowRecord.itemName in [ 'Coverage', 'RangeRecord']:
605 # Coverage table is written last. overflow is to or within the
606 # the coverage table. We will just cut the subtable in half.
612 # to the Coverage table doesn't overflow.
780 def _getGlyphsFromCoverageTable(coverage):
781 if coverage is None:
782 # empty coverage table
785 return coverage.glyphs