pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: PrintTextLocations 1.8 vs 2.0
Date Wed, 02 Mar 2016 18:24:35 GMT
Am 02.03.2016 um 14:48 schrieb Peter Prusinowski:
> Hello,
>
> I have noticed that the PrintTextLocations example in 1.8 and 2.0 
> gives different results for text.getHeightDir(). In 1.8 the value 
> seems to be right, but in 2.0 it is too small. I tried with some 
> PDFBox created documents. Is this a bug ?

Maybe, maybe not. The height is a heuristic value to help with text 
extraction, which is sometimes computed differently in 2.0, and it is 
usually about the height of an "a". Please upload the PDF.

Tilman

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


Mime
View raw message