CompositeFontMetric
CompositeFontMetric
ภาพรวม
CompositeFontMetric เป็นคลาสใน Aspose.PDF FOSS สำหรับ Python.
เมตริกขั้นสูงสำหรับแบบอักษรคอมโพสิต (Type0).
คุณสมบัติ: ascent, code_to_cid, code_to_text, codec, descent, vertical และอีก 2 รายการ.
คุณสมบัติ
| ชื่อ | ประเภท | การเข้าถึง | คำอธิบาย |
|---|---|---|---|
width_of | Callable[[int], float] | อ่าน | รับความกว้างของ. |
code_to_text | Mapping[bytes, str] | อ่าน | รับรหัสเป็นข้อความ. |
code_to_cid | `Callable[[bytes], int | None] | None` |
vertical | bool | อ่าน | รับค่าแนวตั้ง. |
vertical_metrics_of | `Callable[[int], tuple[float, float, float]] | None` | อ่าน |
codec | Any | อ่าน | ดึง codec. |
ascent | float | อ่าน | รับค่า ascent. |
descent | float | อ่าน | รับค่าการลงล่าง. |