We have discovered that Xorg 7.4 does not work correctly when using xfs. For example, the GTK+ 1.2 function gdk_string_extent() returns a zero width with a font that normally works. This problem is visible with the Xdialog application, which crashes with "Floating point exception" on startup. Here's how to reproduce this on Fedora 9:
* Install xorg-x11-xfs and start it.
* Install xdialog.
* In the X session, run Xdialog-gtk1 and verify that you can see the help screen.
* Change the fontpath to use xfs: xset fp= unix/:7100
* Run Xdialog-gtk1, which now crashes with "Floating point exception".
All updates installed. We have also been able to verify this problem with our own Xvnc compiled with the Xorg 7.4 sources, against xfs running on Fedora Core 6. The problem has also been verified on the latest Fedora Rawhide.
I've also been able to verify the problem with the GTK+ "calendar" demo application, located in /usr/share/doc/gtk+-devel-1.2.10/examples/calendar on F9.
Created attachment 19897 [details]
Screenshot of GTK+ calendar example with xfs fontpath
It turns out that this bug is actually the same as https://bugzilla.redhat.com/show_bug.cgi?id=430416. The patch in http://lists.freedesktop.org/archives/xorg/2008-August/037554.html works fine.
(In reply to comment #2)
> It turns out that this bug is actually the same as
> https://bugzilla.redhat.com/show_bug.cgi?id=430416. The patch in
> http://lists.freedesktop.org/archives/xorg/2008-August/037554.html works fine.
Closing since that patch is now applied in git master:
on Mar 24, 2017 at 00:08:11.
(provided by the Example extension).