fontSetVariation

fnvoid fontSetVariation(harfbuzz.font.Font font, harfbuzz.types.Tag tag, float value)

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.

Parameters

font#hb_font_t to work upon
tagThe #hb_tag_t tag of the variation-axis name
valueThe value of the variation axis