fontSetVariation

Change the value of one variation axis on the font.

Note: This function is expensive to be called repeatedly. If you want to set multiple variation axes at the same time, use harfbuzz.global.fontSetVariations instead.

void
fontSetVariation

Parameters

font harfbuzz.font.Font

#hb_font_t to work upon

tag harfbuzz.types.Tag

The #hb_tag_t tag of the variation-axis name

value float

The value of the variation axis