Skip to content
Discussion options

You must be logged in to vote

I believe this is possible with the raw API (namespace pypdfium2.raw), and some downstreams are already doing it (e.g. VikParuchuri's pdftext).

At a quick glance, I can find e.g. FPDFText_GetFontSize(), FPDFText_GetFontWeight(), FPDFText_GetFontInfo().
Check out pdfium's headers for more info, particularly fpdf_text.h.

The readme has instructions how to work with the raw APIs.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mara004
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants