CompositeFontMetric
Overview
CompositeFontMetric is a class in Aspose.PDF FOSS for Python.
Advance metrics for a composite (Type0) font.
Properties: ascent, code_to_cid, code_to_text, codec, descent, vertical, and 2 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
width_of | Callable[[int], float] | Read | Gets the width of. |
code_to_text | Mapping[bytes, str] | Read | Gets the code to text. |
code_to_cid | Callable[[bytes], int | None] | None | Read | Gets the code to cid. |
vertical | bool | Read | Gets the vertical. |
vertical_metrics_of | Callable[[int], tuple[float, float, float]] | None | Read | Gets the vertical metrics of. |
codec | Any | Read | Gets the codec. |
ascent | float | Read | Gets the ascent. |
descent | float | Read | Gets the descent. |