You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2016/11/15 19:36:58 UTC
[jira] [Commented] (PDFBOX-3568) Characters widths and x-positions
incorrect
[ https://issues.apache.org/jira/browse/PDFBOX-3568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15668045#comment-15668045 ]
Tilman Hausherr commented on PDFBOX-3568:
-----------------------------------------
How was the screenshot done? With a rendering with PDFBox 1.8 or with a rendering by Adobe Reader?
> Characters widths and x-positions incorrect
> -------------------------------------------
>
> Key: PDFBOX-3568
> URL: https://issues.apache.org/jira/browse/PDFBOX-3568
> Project: PDFBox
> Issue Type: Bug
> Reporter: Roman
> Attachments: screenshot-1.png, test_width1.pdf
>
>
> Using PdfBox 1.8.12 we are extracting character coordinates from [^test_width1.pdf], as described in PDFBOX-3464
> We got two issues here:
> - wrong height, this issue was already addressed by PDFBOX-3464
> - wrong width and X positions of characters, which we are getting from PdfBox via the code:
> {code}
> position.getX();
> position.getWidth();
> {code}
> The coordinates, returned by PdfBox shown on [^screenshot-1.png] with blue color.
> This code works fine on most PDFs. Something is wrong with this specific PDF.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org