Index: vcl/source/glyphs/gcach_ftyp.cxx
===================================================================
RCS file: /cvs/gsl/vcl/source/glyphs/gcach_ftyp.cxx,v
retrieving revision 1.130
diff -u -p -u -r1.130 gcach_ftyp.cxx
--- vcl/source/glyphs/gcach_ftyp.cxx	3 Aug 2006 15:00:40 -0000	1.130
+++ vcl/source/glyphs/gcach_ftyp.cxx	23 Aug 2006 16:19:27 -0000
@@ -390,8 +399,12 @@ int FtFontInfo::GetExtraGlyphKernValue( 
 {
     if( !mpExtraKernInfo )
         return 0;
-    sal_Unicode cLeftChar   = (*mpGlyph2Char)[ nLeftGlyph ];
-    sal_Unicode cRightChar  = (*mpGlyph2Char)[ nRightGlyph ];
+    sal_Unicode cLeftChar = 0, cRightChar = 0;
+    if (mpGlyph2Char)
+    {
+        cLeftChar = (*mpGlyph2Char)[ nLeftGlyph ];
+        cRightChar = (*mpGlyph2Char)[ nRightGlyph ];
+    }
     return mpExtraKernInfo->GetUnscaledKernValue( cLeftChar, cRightChar );
 }
 
