summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPino Toscano <pino@kde.org>2009-01-08 11:49:45 +0100
committerPino Toscano <pino@kde.org>2009-01-08 11:50:40 +0100
commit68af91e877ac95e85259494c25037e3099a17622 (patch)
treed6b13acd6bd4532584e262196294d9a011c96360
parentc8b3e5d5c044634a32d44cbe1dba697419290f9f (diff)
[Qt4] use the cropbox for the annotations coordinates
Fixes bug #18558.
-rw-r--r--qt4/src/poppler-page.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt4/src/poppler-page.cc b/qt4/src/poppler-page.cc
index f5f1281f..db58fbc5 100644
--- a/qt4/src/poppler-page.cc
+++ b/qt4/src/poppler-page.cc
@@ -508,7 +508,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 )