Daniel Wilson created PDFBOX-3385:
-------------------------------------

             Summary: 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


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to