[poppler] poppler/ArthurOutputDev.cc

Pino Toscano pino at kemper.freedesktop.org
Tue Mar 24 14:57:35 PDT 2009


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

New commits:
commit 120c7f6697ed1edaff6e17ae1ed202c69f03a73c
Author: Pino Toscano <pino at 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 ede1594..4f6a1d0 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();


More information about the poppler mailing list