AfmData

Overview

AfmData là một lớp trong Aspose.Font FOSS cho Python.

AfmData.font_name is the PostScript name of the font extracted from the AFM file.

Tài sản : ascender, cap_height, descender, family_name, font_bbox, font_name,Và 9 nhiều hơn nữa.

Properties

NameTypeAccessDescription
font_namestrĐọc / viếtNhận hoặc đặt tên font.
full_namestrĐọc / viếtNhận hoặc đặt tên đầy đủ.
family_namestrĐọc / viếtNhận hoặc đặt tên gia đình.
weightstrĐọc / viếtNhận hoặc đặt trọng lượng.
italic_anglefloatĐọc / viếtNhận hoặc đặt góc Ý.
is_fixed_pitchboolĐọc / viếtGets hoặc set the là fixed pitch.
font_bboxtuple[int, int, int, int]Đọc / viếtNhận hoặc đặt font bbox.
underline_positionintĐọc / viếtNhận hoặc đặt vị trí dưới.
underline_thicknessintĐọc / viếtNhận hoặc đặt độ dày dưới.
cap_heightfloatĐọc / viếtNhận hoặc đặt chiều cao của mũ.
x_heightfloatĐọc / viếtNhận hoặc đặt chiều cao x.
ascenderfloatĐọc / viết- Đặt hoặc đặt thang máy.
descenderfloatĐọc / viếtNhận hoặc đặt người xuống.
glyph_metricsdict[str, AfmGlyphMetric]Đọc / viếtNhận hoặc đặt các metrics glyph.
kern_pairslist[tuple[str, str, int]]Đọc / viếtNhận hoặc đặt cặp kern.

See Also

 Tiếng Việt