TypeScript API Documentation for PANGO
API Version: 1.0
Library Version: 1.57.0
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Parses a font weight.
The allowed values are "heavy", "ultrabold", "bold", "normal", "light", "ultraleight" and integers. Case variations are ignored.
a string to parse.
if true, issue a g_warning() on bad input.
true
g_warning()
true if str was successfully parsed.
str
Parses a font weight.
The allowed values are "heavy", "ultrabold", "bold", "normal", "light", "ultraleight" and integers. Case variations are ignored.