freetype, fontconfig, Xft, mesa, which versions to use for modular builds?

Stefan Dirsch sndirsch at suse.de
Wed Jul 20 20:20:21 EST 2005


On Wed, Jul 20, 2005 at 01:18:08AM +0200, Stefan Dirsch wrote:
> > > Another issue, I just tried to update libfreetype2 to
> > > 2.1.10. Unfortunately, the Xserver freetype module uses some internal
> > > libfreetype2 interface, which changed in the new version of
> > > libfreetype2. This results in Xserver crashes and is related to
> > > embedded bitmap support in libfreetype2. Therefore I recommend to use
> > > libfreetype2 2.1.9 instead for now.
> > 
> > Oops. We should fix these for 7.0.
> 
> More details could be found here:
> 
>   http://lists.gnu.org/archive/html/freetype-devel/2005-07/msg00020.html
> 
> I attach a small patch, which avoids the crashes for me on i386 (and
> disables embedded bitmap support completely), but there are different
> libfreetype2 2.1.10 Xserver crashes, which seem to happen only on
> x86_64. I'll try to debug these tomorrow.

After reverting some changes in libfreetype 2.1.10 (see patch
attached) the Xserver no longer crashes on x86_64, so it must have
been the same problem as on i386 since there are no other references
for find_sbit_image/load_sbit_metrics in the Freetype module
sources. Since I'm quite sure, that these changes were intentional the
libfreetype patch should only be used as workaround for now. The
libfreetype developers didn't comment yet.

Stefan

Public Key available
------------------------------------------------------
Stefan Dirsch (Res. & Dev.)   SUSE LINUX Products GmbH
Tel: 0911-740 53 0            Maxfeldstraße 5
FAX: 0911-740 53 479          D-90409 Nürnberg
http://www.suse.de            Germany 
------------------------------------------------------
-------------- next part --------------
--- src/sfnt/sfdriver.c
+++ src/sfnt/sfdriver.c
@@ -367,8 +367,8 @@
     /* see `ttsbit.h' and `sfnt.h' */
     tt_face_set_sbit_strike,
     tt_face_load_sbit_strikes,
-    0 /* tt_find_sbit_image */,
-    0 /* tt_load_sbit_metrics */,
+    tt_find_sbit_image,
+    tt_load_sbit_metrics,
     tt_face_load_sbit_image,
     tt_face_free_sbit_strikes,
 


More information about the xorg-modular mailing list