Hi there,
I'm aware that I can get basic font information for an individual character with FPDFText_GetFontSize / FPDFText_GetFontInfo / FPDFText_GetFontWeight. There is also API to get detailed information for a font, e.g. FPDFFont_GetAscent & FPDFFont_GetDescent.
My question is, how does one connect the two? FPDFFont_GetAscent takes a FPDF_FONT handle, but I don't see a way to get such a handle using only font name received from FPDFText_GetFontInfo.
I only see a way to get a font handle using object-level api (FPDFTextObj_GetFont), and through FPDFText_LoadFont/FPDFText_LoadStandardFont (if I understand correctly, those are for editing a pdf)
Nikita