[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#292525: I think I have been seeing this bug



The attached patch stolen from OOo CVS fixes the problem for me.

--- openoffice.org-1.1.4.orig/psprint/source/fontmanager/fontmanager.cxx	2005-06-17 15:36:49.000000000 +0100
+++ openoffice.org-1.1.4/psprint/source/fontmanager/fontmanager.cxx	2005-06-17 15:33:26.000000000 +0100
@@ -1066,6 +1066,10 @@
     KernPair aPair;
     for( i = 0; i < pInfo->numOfPairs; i++, pKern++ )
     {
+        // #i37703# broken kern table
+        if( ! pKern->name1 || ! pKern->name2 )
+	    continue;
+        
         aPair.first = 0;
         aPair.second = 0;
         // currently we have to find the adobe character names

Reply to: