true if str is successfully parsed, false otherwiseharfbuzz.types.Bool variationFromString(ubyte[] str, out harfbuzz.variation.Variation variation)Parses a string into a #hb_variation_t.
The format for specifying variation settings follows. All valid CSS font-variation-settings values other than 'normal' and 'inherited' are also accepted, though, not documented below.
The format is a tag, optionally followed by an equals sign, followed by a number. For example wght=500, or slnt=-7.5.
str | a string to parse |
variation | the #hb_variation_t to initialize with the parsed values |
true if str is successfully parsed, false otherwise