parse_variant
Description:
Parses a font variant.
The allowed values are "normal", "small-caps", "all-small-caps", "petite-caps", "all-petite-caps", "unicase" and "title-caps", case variations being ignored.
Parameters:
str |
a string to parse. |
variant |
a `PangoVariant` to store the result in. |
warn |
if true, issue a warning on bad input. |
Returns:
true if |
Namespace: Pango
Package: pango