py-pdf-parser icon indicating copy to clipboard operation
py-pdf-parser copied to clipboard

Use LTChar.size to extract the font size

Open jstockwin opened this issue 4 years ago • 0 comments

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.

jstockwin avatar Jun 12 '20 08:06 jstockwin