CompositeFontMetric

CompositeFontMetric

Översikt

CompositeFontMetric är en klass i Aspose.PDF FOSS för Python.

Avancerade metriker för ett sammansatt (Type0) teckensnitt.

Egenskaper: ascent, code_to_cid, code_to_text, codec, descent, vertical, och 2 till.

Egenskaper

NamnTypÅtkomstBeskrivning
width_ofCallable[[int], float]LäsHämtar bredden på.
code_to_textMapping[bytes, str]LäsHämtar koden till text.
code_to_cid`Callable[[bytes], intNone]None`
verticalboolLäsHämtar den vertikala.
vertical_metrics_of`Callable[[int], tuple[float, float, float]]None`Läs
codecAnyLäsHämtar codec.
ascentfloatLäsHämtar höjden.
descentfloatLäsHämtar nedstigningen.

Se även

 Svenska