Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
2.0.0
-
None
-
None
-
None
Description
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.