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

List:       freedesktop-poppler
Subject:    [poppler] Branch 'poppler-0.10' - poppler/ArthurOutputDev.cc
From:       pino () kemper ! freedesktop ! org (Pino Toscano)
Date:       2009-03-24 22:03:27
Message-ID: 20090324220327.6CBC310096 () kemper ! freedesktop ! org
[Download RAW message or body]

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

New commits:
commit 648c8918e100be3d860ced3fbf68789acec99207
Author: Pino Toscano <pino@kde.org>
Date:   Tue Mar 24 22:56:33 2009 +0100

    declare the matrix at the beginning

diff --git a/poppler/ArthurOutputDev.cc b/poppler/ArthurOutputDev.cc
index fe6659f..01c8384 100644
--- a/poppler/ArthurOutputDev.cc
+++ b/poppler/ArthurOutputDev.cc
@@ -264,6 +264,7 @@ void ArthurOutputDev::updateFont(GfxState *state)
   SplashCoord mat[4];
   int substIdx, n;
   int faceIndex = 0;
+  SplashCoord matrix[6];
 
   m_needFontUpdate = false;
   m_font = NULL;
@@ -449,7 +450,6 @@ void ArthurOutputDev::updateFont(GfxState *state)
   m21 = textMat[2] * fontSize;
   m22 = textMat[3] * fontSize;
 
-  SplashCoord matrix[6];
   {
   QMatrix painterMatrix = m_painter->worldMatrix();
   matrix[0] = painterMatrix.m11();
_______________________________________________
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