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

Albert Astals Cid aacid at kemper.freedesktop.org
Thu Sep 1 04:23:48 PDT 2011


 poppler/ArthurOutputDev.cc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 52fb80a7b3f98eb8322a7ba84e2900f044b3a18a
Author: Albert Astals Cid <aacid at kde.org>
Date:   Thu Sep 1 13:27:01 2011 +0200

    xpdf303: compile++

diff --git a/poppler/ArthurOutputDev.cc b/poppler/ArthurOutputDev.cc
index a1300b5..5a63468 100644
--- a/poppler/ArthurOutputDev.cc
+++ b/poppler/ArthurOutputDev.cc
@@ -279,7 +279,7 @@ void ArthurOutputDev::updateFont(GfxState *state)
   GooString *fileName;
   char *tmpBuf;
   int tmpBufLen;
-  Gushort *codeToGID;
+  int *codeToGID;
   DisplayFontParam *dfp;
   double *textMat;
   double m11, m12, m21, m22, fontSize;
@@ -433,7 +433,7 @@ void ArthurOutputDev::updateFont(GfxState *state)
       if (((GfxCIDFont *)gfxFont)->getCIDToGID()) {
 	n = ((GfxCIDFont *)gfxFont)->getCIDToGIDLen();
 	if (n) {
-	  codeToGID = (Gushort *)gmallocn(n, sizeof(Gushort));
+	  codeToGID = (int *)gmallocn(n, sizeof(int));
 	  memcpy(codeToGID, ((GfxCIDFont *)gfxFont)->getCIDToGID(),
 		  n * sizeof(Gushort));
 	}


More information about the poppler mailing list