Closed jigsawcoder closed 2 years ago
From what I can tell, this info is not accessible via the pdfbox command-line interface wrapped by python-pdfbox; you will have to wrap the relevant part of the Java API yourself if you want to access it from Python - see this gist for an example of how to do so. This post may also be helpful.
I want to know how to get the fontname and size of the text extracted from pdf using pdbox python? If yes, how?
Thanks