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/06/16 05:06:05 UTC
[jira] [Commented] (PDFBOX-3385) ArtBox is off center
[ https://issues.apache.org/jira/browse/PDFBOX-3385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15333100#comment-15333100 ]
Tilman Hausherr commented on PDFBOX-3385:
-----------------------------------------
Could you attach a PDF file?
> ArtBox is off center
> --------------------
>
> Key: PDFBOX-3385
> URL: https://issues.apache.org/jira/browse/PDFBOX-3385
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 2.0.0
> Reporter: Daniel Wilson
> Attachments: OffCenterArtBox.png
>
>
> Some PDF / Adobe Illustrator files have their art off center. In some of these cases, the page ArtBox is reported the right size but the wrong position.
> PDPage aiPage = aiDoc.getPage(0);
> PDRectangle ArtBox = aiPage.getArtBox();
> I need the correct coordinates for the ArtBox in order to center the art within the window of my application.
> I'll happily patch the code ... but if you have pointers to identify what's messing up the ArtBox coordinates, those are appreciated.
--
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