[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-poppler
Subject:    [poppler] qt4/src
From:       pino () kemper ! freedesktop ! org (Pino Toscano)
Date:       2009-01-08 10:52:41
Message-ID: 20090108105241.B141210098 () kemper ! freedesktop ! org
[Download RAW message or body]

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

New commits:
commit 6dd77338d16f80760ae32ff9f3e2be9768fc0c49
Author: Pino Toscano <pino@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 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
poppler@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/poppler


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic