freetypy.TT_VertHeader¶
-
class
freetypy.
TT_VertHeader
¶ TrueType vertical header (‘vhea’).
-
__init__
()¶ x.__init__(...) initializes x; see help(type(x)) for signature
Attributes
advance_height_max
This field is the maximum of all advance heights found in the font. ascender
The font’s ascender, i.e., the distance from the baseline to the top-most of all glyph points found in the font. caret_offset
caret_slope_rise
The rise coefficient of the cursor’s slope of the cursor (slope=rise/run). caret_slope_run
The run coefficient of the cursor’s slope. descender
The font’s descender, i.e., the distance from the baseline to the bottom-most of all glyph points found in the font. line_gap
The font’s line gap, i.e., the distance to add to the ascender and descender to get the BTB, i.e., the baseline-to-baseline distance for the font. metric_data_format
Always 0. min_bottom_side_bearing
The minimum bottom side bearing of all glyphs within the font. min_top_side_bearing
The minimum top side bearing of all glyphs within the font. number_of_vmetrics
Number of VMetrics entries in the ‘hmtx’ table – this value can be smaller than the total number of glyphs in the font. version
The table version. ymax_extent
The maximum vertical extent (i.e., the ‘height’ of a glyph’s bounding box) for all glyphs in the font. -