py-pdf-parser
py-pdf-parser copied to clipboard
Use LTChar.size to extract the font size
We currently call .height
. However, from https://github.com/pdfminer/pdfminer.six/issues/202 it looks as though LTChar
has a size
attribute. We should use this instead.
That said, we should check the PDFMiner code and how it deals with precision etc.
Note: This is a potential breaking change if the font sizes end up changing slightly.