[poppler] Branch 'poppler-0.10' - qt4/src

Pino Toscano pino at kemper.freedesktop.org
Thu Jan 8 02:52:41 PST 2009


 qt4/src/poppler-page.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 68af91e877ac95e85259494c25037e3099a17622
Author: Pino Toscano <pino at kde.org>
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 f5f1281..db58fbc 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 )


More information about the poppler mailing list