TypeScript API Documentation for HARFBUZZ
API Version: 0.0
Library Version: 11.5.1
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Since 3.3.0
Sets the "synthetic slant" of a font. By default is zero. Synthetic slant is the graphical skew applied to the font at rendering time.
HarfBuzz needs to know this value to adjust shaping results, metrics, and style values to match the slanted rendering.
Note: The glyph shape fetched via the hb_font_draw_glyph_or_fail() function is slanted to reflect this value as well.
hb_font_draw_glyph_or_fail()
Note: The slant value is a ratio. For example, a 20% slant would be represented as a 0.2 value.
HarfBuzz.font_t to work upon
synthetic slant value.
3.3.0
Sets the "synthetic slant" of a font. By default is zero. Synthetic slant is the graphical skew applied to the font at rendering time.
HarfBuzz needs to know this value to adjust shaping results, metrics, and style values to match the slanted rendering.
hb_font_draw_glyph_or_fail()function is slanted to reflect this value as well.