[poppler] Branch 'poppler-0.10' - poppler/ArthurOutputDev.cc

Pino Toscano pino at kemper.freedesktop.org
Tue Mar 24 15:03:27 PDT 2009


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

New commits:
commit 648c8918e100be3d860ced3fbf68789acec99207
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 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();


More information about the poppler mailing list