Parses a font weight. The allowed values are "heavy", "ultrabold", "bold", "normal", "light", "ultraleight" and integers. Case variations are ignored.
a string to parse.
a PangoWeight to store the result in. [out caller-allocates]
if TRUE, issue a g_warning() on bad input.
TRUE if str was successfully parsed.
See Implementation
Parses a font weight. The allowed values are "heavy", "ultrabold", "bold", "normal", "light", "ultraleight" and integers. Case variations are ignored.