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

NameTypeAccessDescription
units_per_emintReadGets the units per em.
ascenderintReadGets the ascender.
descenderintReadGets the descender.
line_gapintReadGets the line gap.
advance_width_maxintReadGets the advance width max.
underline_positionintReadGets the underline position.
underline_thicknessintReadGets the underline thickness.

Voir aussi

  • Aspose.Font — référence API d’entreprise
 Français