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 |
tag | The #hb_tag_t tag of the variation-axis name |
value | The value of the variation axis |
void fontSetVariation(harfbuzz.font.Font font, harfbuzz.types.Tag tag, float value)Change the value of one variation axis on the font.
If you want to set multiple variation axes at the same time, use harfbuzz.global.fontSetVariations instead.
font | #hb_font_t to work upon |
tag | The #hb_tag_t tag of the variation-axis name |
value | The value of the variation axis |