[poppler] poppler/poppler: SplashOutputDev.cc,1.10,1.11

Albert Astals Cid aacid at kemper.freedesktop.org
Thu Aug 10 09:08:53 PDT 2006


Update of /cvs/poppler/poppler/poppler
In directory kemper:/tmp/cvs-serv5404/poppler

Modified Files:
	SplashOutputDev.cc 
Log Message:
2006-08-10  Albert Astals Cid  <aacid at kde.org>

        * poppler/SplashOutputDev.cc: Try to fix refs to fonts yet again



Index: SplashOutputDev.cc
===================================================================
RCS file: /cvs/poppler/poppler/poppler/SplashOutputDev.cc,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- SplashOutputDev.cc	30 Jul 2006 09:38:28 -0000	1.10
+++ SplashOutputDev.cc	10 Aug 2006 16:08:51 -0000	1.11
@@ -1170,14 +1170,14 @@
   }
   font = fontEngine->getFont(fontFile, mat);
 
-  if (fontsrc)
+  if (fontsrc && !fontsrc->isFile)
       fontsrc->unref();
   return;
 
  err2:
   delete id;
  err1:
-  if (fontsrc)
+  if (fontsrc && !fontsrc->isFile)
       fontsrc->unref();
   return;
 }



More information about the poppler mailing list