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  <[EMAIL PROTECTED]>

        * 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;
 }

_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to