parse_weight
Description:
Parses a font weight.
The allowed values are "heavy", "ultrabold", "bold", "normal", "light", "ultraleight" and integers. Case variations are ignored.
Parameters:
str |
a string to parse. |
weight |
a `PangoWeight` to store the result in. |
warn |
if true, issue a warning on bad input. |
Returns:
true if |
Namespace: Pango
Package: pango