freetype-devel
[Top][All Lists]
Advanced

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

[Devel] Re: [Cooker] KDE crashes, was: 2.4.3-3mdk and VIA


From: Arnd Bergmann
Subject: [Devel] Re: [Cooker] KDE crashes, was: 2.4.3-3mdk and VIA
Date: Tue, 3 Apr 2001 14:23:01 +0200 (MET DST)

Note that this is not a problem of KDE or XFree86, but an
incompatibility between freetype 2.0.2 and the font file
n021004l.pfa ('Nimbus Roman No9 L Medium' from URW fonts 
and also AbiSuite) which used to work. It is the glyph
'?' (\,c) appearantly.
The bug is not fixed in the CVS version of freetype2 and
it also affects non-Qt programs like xterm.

The following hotfix solved the issue for me, but probably
is not the right thing [tm].

Arnd <><

diff -ur freetype-2.0.2/src/psaux/t1decode.c 
freetype-2.0.2-decode/src/psaux/t1decode.c--- 
freetype-2.0.2/src/psaux/t1decode.c Tue Mar 20 13:14:19 2001
+++ freetype-2.0.2-decode/src/psaux/t1decode.c  Tue Apr  3 15:12:06 2001
@@ -706,6 +706,13 @@
         case op_endchar:
           FT_TRACE4(( " endchar" ));
 
+          if ( ! builder->current )
+          {
+            FT_ERROR(( "T1_Decoder_Parse_CharStrings:\n" ));
+            FT_ERROR(( "current outline is NULL\n" ));
+            return FT_Err_Invalid_File_Format;
+          }
+
           close_contour( builder );
 
           /* add current outline to the glyph slot */

On Tue, 3 Apr 2001, Con Kolivas wrote:

> Original message from: address@hidden (Andreas Simon)
> >
> >The /etc/X11/XftConfig file has changed.
> >After commenting out 'dir "/usr/share/fonts/default/Type1"'
> >KDE works for me again. I guess depending on your
> >installed fonts you have to comment out some
> >more lines. It seems KDE with AA does not like
> >URW fonts ...
> >
> >Cheers,
> >Andreas Simon
> 
> Woohoo it works!. Thank you very much. That should really be 
> fixed. Furthermore I was able to change the location ofthe sun 
> jdk fonts as the jdk is now version 1.3.0_02 and now these 
> fonts are all available too ( the Xft file looks for jdk1.3)
> Thanks again
> Con.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]