diff options
author | Pino Toscano <pino@kde.org> | 2009-01-08 11:49:45 +0100 |
---|---|---|
committer | Pino Toscano <pino@kde.org> | 2009-01-08 11:49:45 +0100 |
commit | 6dd77338d16f80760ae32ff9f3e2be9768fc0c49 (patch) | |
tree | e90898bf03d9a3ae6aca57f08cb67bf3a837d458 /qt4 | |
parent | 69c07c031159d36dde52609bffa6d48c3c56cef5 (diff) |
[Qt4] use the cropbox for the annotations coordinates
Fixes bug #18558.
Diffstat (limited to 'qt4')
-rw-r--r-- | qt4/src/poppler-page.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt4/src/poppler-page.cc b/qt4/src/poppler-page.cc index e7fcce51..5712fd17 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 ) |