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
| Name | Type | Access | Description |
|---|---|---|---|
requested_count | int | Read | Gets the requested count. |
covered_count | int | Read | Gets the covered count. |
missing_count | int | Read | Gets the missing count. |
fully_covered | bool | Read | Gets the fully covered. |
requested_codepoints | tuple[int, ...] | Read | Gets the requested codepoints. |
covered_codepoints | tuple[int, ...] | Read | Gets the covered codepoints. |
missing_codepoints | tuple[int, ...] | Read | Gets the missing codepoints. |
retained_gids | tuple[int, ...] | Read | Gets the retained gids. |
groups | tuple[CoverageGroup, ...] | Read | Gets the groups. |
Methods
| Signature | Description |
|---|---|
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 |