<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>12757</bug_id>
          
          <creation_ts>2002-12-26 20:21 0000</creation_ts>
          <short_desc>gdmgreeter always crashes on gdm-2.4.0.12-r2</short_desc>
          <delta_ts>2005-03-01 22:23:33 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>1.4_rc1</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>tester@gentoo.org</reporter>
          <assigned_to>gnome@gentoo.org</assigned_to>
          <cc>dberkholz@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>tester@gentoo.org</who>
            <bug_when>2002-12-26 20:21:16 0000</bug_when>
            <thetext>I upgraded to gdm-2.4.0.12-r2 from gnome-base/gdm-2.4.0.11-r1... I dont really
see  what causes the problem.. I tried replacing all of the &quot;customised&quot; config
files with the defaults ones... didnt change anything...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jackmaninov@loadedweb.com</who>
            <bug_when>2002-12-31 15:23:15 0000</bug_when>
            <thetext>I noticed the same when I upgraded to 2.4.0.12, and tracked the issue to having
sub-pixel rendering turned on in fonts.conf.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tester@gentoo.org</who>
            <bug_when>2002-12-31 17:04:31 0000</bug_when>
            <thetext>It also works here when I disable sub-pixel AA. Btw, I use Gtk/glib 2.2.0, pango
1.2.0 with fontconfig 2.1-r1 and xft-2.0.1-r1.. Btw is it possible to disable
sub-pixel AA for a single app?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jackmaninov@loadedweb.com</who>
            <bug_when>2003-01-02 14:27:20 0000</bug_when>
            <thetext>I use the exact same library versions as you (with freetype 2.1.3-r2 in
addition). I also find that Nautilus (2.0.8) crashes when I attempt to open a
window with sub-pixel rendering on (it renders the desktop fine).

I was having the exact same problem with GDM before the latests gtk/glib/pango
were released.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tester@gentoo.org</who>
            <bug_when>2003-01-02 15:43:40 0000</bug_when>
            <thetext>I also have the same problem with nautilus... I filed this bug on
bugzilla.gnome.org.. They called it &quot;not gnome&quot;.

http://bugzilla.gnome.org/show_bug.cgi?id=102322
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jackmaninov@loadedweb.com</who>
            <bug_when>2003-01-02 16:12:21 0000</bug_when>
            <thetext>Downgrading to fontconfig 2.0-r4 has fixed this for me, and zooming in on a
screenshot confirms that sub-pixel rendering is indeed working.

This appears to be a bug in fontconfig-2.1 and up.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tester@gentoo.org</who>
            <bug_when>2003-01-03 09:02:57 0000</bug_when>
            <thetext>I get the same results with fontconfig 2.0-r3 -r4 and 2.1 -r0 -r1.... (None of
them works correctly)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2003-01-09 11:54:56 0000</bug_when>
            <thetext>Disable subpixel in /etc/fonts/fonts.conf , try the gnome2 fonts dialog to set
subpixeling with that.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2003-01-11 11:19:17 0000</bug_when>
            <thetext>Any word ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jackmaninov@loadedweb.com</who>
            <bug_when>2003-01-11 20:17:26 0000</bug_when>
            <thetext>I set subpixel rendering in the gnome2 font dialog, but when I take a screenshot
and blow it up you can tell that it hasn&apos;t actually been enabled; only standard
antialiasing is being used.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2003-03-03 19:12:34 0000</bug_when>
            <thetext>1) seems the fonts.conf way of enabling subpixel rendering is faulty -&gt; there is no name &apos;rgba&apos; ? i&apos;m not quite sure how this all ties together.

2) My suggestion of enabling subpixel rendering in fonts dialog won&apos;t work for gdm i think since it runs as its own user, but for users it should run fine. I can with correct settings see subpixelrendering done in colors.

Can anyone confirm 2) and figure out what the correct way for setting it in fonts.conf is 1) ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>liquidx@gentoo.org</who>
            <bug_when>2003-03-03 21:38:47 0000</bug_when>
            <thetext>ok, the crash disappears with gdmgreeter if i comment out the &lt;test&gt; block in 
the &quot;subpixel&quot; match block. something like this:

&lt;!-- Enable sub-pixel rendering --&gt;
   &lt;match target=&quot;font&quot;&gt;
      &lt;!--
      &lt;test qual=&quot;all&quot; name=&quot;rgba&quot;&gt;
         &lt;const&gt;unknown&lt;/const&gt;
      &lt;/test&gt;
      --&gt;
      &lt;edit name=&quot;rgba&quot; mode=&quot;assign&quot;&gt;&lt;const&gt;rgb&lt;/const&gt;&lt;/edit&gt;
   &lt;/match&gt;

it crashes if the &lt;test&gt; part is uncommented. i&apos;m not sure if i understand
this XML at all, to be honest, but it seems to be part of the default 
configuration. redhat 7.3 doesn&apos;t have that test in its fontconfig default conf 
files.

foser, i can confirm 2. the settings in font properties set the user&apos;s own font rendering settings, and not the global ones.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2003-03-04 06:07:35 0000</bug_when>
            <thetext>with the test disabled (which doesnt seem to be correct allright), there is no subpixel rendering in gdm at all afaics.

Altough in one of the fontconfig sample configs it is mentioned like that (without the test block).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>liquidx@gentoo.org</who>
            <bug_when>2003-04-17 20:06:20 0000</bug_when>
            <thetext>I got a core dump off gdmgreeter and the segfaults happens deep inside fontconfig code.   And as luck would have it, a new fontconfig has been committed to portage and fixes this problem. So, does the new fontconfig solve the gdmgreeter crashing for you?   To me, the fonts look like they&apos;re using sub-pixel rendering. Remember you have to edit /etc/fonts/local.conf and uncomment the subpixel xml stanza.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2003-05-14 19:32:09 0000</bug_when>
            <thetext>just added 2.2.0-r2 which should include a local.conf without the test stuff.

please test so i can mark it stable and mark stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2003-05-14 19:41:15 0000</bug_when>
            <thetext>fontconfig that is ;)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>liquidx@gentoo.org</who>
            <bug_when>2003-05-15 05:52:56 0000</bug_when>
            <thetext>foser,

seems to be a problem with the cvs_bugfixes patch applying :

...
--------------------------
|Only in fontconfig: .cvsignore
|Only in fontconfig: CVS
|diff -ur fontconfig-2.2.0/ChangeLog fontconfig/ChangeLog
|--- fontconfig-2.2.0/ChangeLog  2003-04-17 19:43:04.000000000 +0200
|+++ fontconfig/ChangeLog  2003-05-14 18:29:07.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can&apos;t find file to patch at input line 156
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Only in fontconfig-2.2.0: Makefile.in
|Only in fontconfig-2.2.0: aclocal.m4
|Only in fontconfig: autogen.sh
|Only in fontconfig: config
|Only in fontconfig-2.2.0: config.guess
|Only in fontconfig-2.2.0: config.h.in
|Only in fontconfig-2.2.0: config.sub
...

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2003-05-15 07:37:22 0000</bug_when>
            <thetext>yes :( duh i know, fixed patch is in.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>liquidx@gentoo.org</who>
            <bug_when>2003-05-17 06:51:48 0000</bug_when>
            <thetext>i can confirm the new fontconfig doesn&apos;t crash gdm when that test stanza is removed.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2003-05-18 12:57:26 0000</bug_when>
            <thetext>ok.. i&apos;ll go with that.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2005-03-01 22:23:33 0000</bug_when>
            <thetext>According to keithp, this problem is fixed in current fontconfig (2.3.0), maybe older versions, so perhaps this workaround should be re-examined.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>