qt4/src/poppler-page.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 6dd77338d16f80760ae32ff9f3e2be9768fc0c49 Author: Pino Toscano <[email protected]> Date: Thu Jan 8 11:49:45 2009 +0100 [Qt4] use the cropbox for the annotations coordinates Fixes bug #18558. diff --git a/qt4/src/poppler-page.cc b/qt4/src/poppler-page.cc index e7fcce5..5712fd1 100644 --- a/qt4/src/poppler-page.cc +++ b/qt4/src/poppler-page.cc @@ -511,7 +511,7 @@ QList<Annotation*> Page::annotations() const QLinkedList< PostProcessText > ppTextList; // build a normalized transform matrix for this page at 100% scale - GfxState * gfxState = new GfxState( 72.0, 72.0, pdfPage->getMediaBox(), pdfPage->getRotate(), gTrue ); + GfxState * gfxState = new GfxState( 72.0, 72.0, pdfPage->getCropBox(), pdfPage->getRotate(), gTrue ); double * gfxCTM = gfxState->getCTM(); double MTX[6]; for ( int i = 0; i < 6; i+=2 ) _______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
