freetypy.TT_VertHeader¶
-
class
freetypy.TT_VertHeader¶ A structure used to model a TrueType vertical header (‘vhea’).
Attributes
advance_height_maxThis field is the maximum of all advance heights found in the font. ascenderThe font’s ascender, i.e., the distance from the baseline to the top-most of all glyph points found in the font. caret_offsetcaret_slope_riseThe rise coefficient of the cursor’s slope of the cursor (slope=rise/run). caret_slope_runThe run coefficient of the cursor’s slope. descenderThe font’s descender, i.e., the distance from the baseline to the bottom-most of all glyph points found in the font. line_gapThe 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_formatAlways 0. min_bottom_side_bearingThe minimum bottom side bearing of all glyphs within the font. min_top_side_bearingThe minimum top side bearing of all glyphs within the font. number_of_vmetricsNumber of VMetrics entries in the ‘hmtx’ table – this value can be smaller than the total number of glyphs in the font. versionThe table version. ymax_extentThe maximum vertical extent (i.e., the ‘height’ of a glyph’s bounding box) for all glyphs in the font.