function is slanted to reflect this value as well.</note>
<note>Note: The slant value is a ratio. For example, a20% slant would be represented as a 0.2 value.</note>
Parameters
font | #hb_font_t to work upon |
slant | synthetic slant value. |
void fontSetSyntheticSlant(harfbuzz.font.Font font, float slant)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>function is slanted to reflect this value as well.</note>
<note>Note: The slant value is a ratio. For example, a20% slant would be represented as a 0.2 value.</note>
font | #hb_font_t to work upon |
slant | synthetic slant value. |