FPDFFont_GetWeight function
Experimental API. Get the font weight of a font.
font - the handle to the font object.
Returns the font weight, -1 on failure. Typical values are 400 (normal) and 700 (bold).
Implementation
@ffi.Native<ffi.Int Function(FPDF_FONT)>()
external int FPDFFont_GetWeight(FPDF_FONT font);