pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Esteban R <eru...@hotmail.com>
Subject RE: DrawPrintTextLocations doesn't match character box
Date Fri, 09 Feb 2018 13:25:59 GMT
Thanks Tilman!

De: Tilman Hausherr <THausherr@t-online.de>
Enviado: jueves, 08 de febrero de 2018 09:58 p.m.
Para: users@pdfbox.apache.org
Asunto: Re: DrawPrintTextLocations doesn't match character box


One can't get the bounding box from a path because it's a PDF stream.
All we have there is the first PDF operator from the charproc, here:
"0.602 0 -0.35 -0.968 0.734 1.075 d1". If that one is incorrect... too bad.


Am 08.02.2018 um 22:45 schrieb Esteban R:
> Hello. The boxes drawn with DrawPrintTextLocations for the following PDF file (simplification
of a real-life doc) are not what I expected (they contain a lot of white space): http://www.filedropper.com/minimunsample
> See the output here: http://www.filedropper.com/minimunsample-marked-1
> Please note: if I select the text in Adobe Reader, the selection is bigger than expected,
> What is wrong? Can I somehow get the smaller box that encloses the char or, at least,
tell that something is wrong?
> The font is a Type3 font.
> Esteban

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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message