FPDFFont_GetWeight method
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
int FPDFFont_GetWeight(FPDF_FONT font) {
return _FPDFFont_GetWeight(font);
}