SubsetCoverage

Overview

SubsetCoverage is a class in Aspose.Font FOSS for Python.

Aggregate Unicode coverage diagnostics for a subsetting request.

This class provides 2 methods for working with SubsetCoverage objects in Python programs. Available methods include: summary_dict, to_dict. All public members are accessible to any Python application after installing the Aspose.Font FOSS for Python package. Properties: covered_codepoints, covered_count, fully_covered, groups, missing_codepoints, missing_count, and 3 more.

Properties

NameTypeAccessDescription
requested_countintReadGets the requested count.
covered_countintReadGets the covered count.
missing_countintReadGets the missing count.
fully_coveredboolReadGets the fully covered.
requested_codepointstuple[int, ...]ReadGets the requested codepoints.
covered_codepointstuple[int, ...]ReadGets the covered codepoints.
missing_codepointstuple[int, ...]ReadGets the missing codepoints.
retained_gidstuple[int, ...]ReadGets the retained gids.
groupstuple[CoverageGroup, ...]ReadGets the groups.

Methods

SignatureDescription
to_dict()dict[str, object]` returns a plain‑Python dictionary that contains all coverage metrics and codepoint lists
summary_dict()dict[str, object]Returns a concise dictionary summarizing key coverage metrics

See Also