FontMetrics
Vue de l’ensemble
‘FontMetrics’ est une classe dans Aspose.Fon FOSS pour Python.
FontMetrics expose des valeurs typographiques clés telles que units_per_em, ascender, descender et line_gap pour les calculs de layout.
Propriétés : ‘advance_width_max’, ‘ascender’, `descender’ , ’line_gap’, ‘underline-position’, ‘underlin_thickness’ et 1 plus.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
units_per_em | int | Read | Gets the units per em. |
ascender | int | Read | Gets the ascender. |
descender | int | Read | Gets the descender. |
line_gap | int | Read | Gets the line gap. |
advance_width_max | int | Read | Gets the advance width max. |
underline_position | int | Read | Gets the underline position. |
underline_thickness | int | Read | Gets the underline thickness. |
Voir aussi
- Aspose.Font — référence API d’entreprise