First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 12757
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Olivier Crete <tester@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 12757 depends on: Show dependency tree
Bug 12757 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2002-12-26 20:21 0000
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 "customised" config
files with the defaults ones... didnt change anything...

------- Comment #1 From Eamon McDermott 2002-12-31 15:23:15 0000 -------
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.

------- Comment #2 From Olivier Crete 2002-12-31 17:04:31 0000 -------
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?

------- Comment #3 From Eamon McDermott 2003-01-02 14:27:20 0000 -------
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.

------- Comment #4 From Olivier Crete 2003-01-02 15:43:40 0000 -------
I also have the same problem with nautilus... I filed this bug on
bugzilla.gnome.org.. They called it "not gnome".

http://bugzilla.gnome.org/show_bug.cgi?id=102322

------- Comment #5 From Eamon McDermott 2003-01-02 16:12:21 0000 -------
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.

------- Comment #6 From Olivier Crete 2003-01-03 09:02:57 0000 -------
I get the same results with fontconfig 2.0-r3 -r4 and 2.1 -r0 -r1.... (None of
them works correctly)

------- Comment #7 From foser (RETIRED) 2003-01-09 11:54:56 0000 -------
Disable subpixel in /etc/fonts/fonts.conf , try the gnome2 fonts dialog to set
subpixeling with that.

------- Comment #8 From foser (RETIRED) 2003-01-11 11:19:17 0000 -------
Any word ?

------- Comment #9 From Eamon McDermott 2003-01-11 20:17:26 0000 -------
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't actually been enabled; only standard
antialiasing is being used.

------- Comment #10 From foser (RETIRED) 2003-03-03 19:12:34 0000 -------
1) seems the fonts.conf way of enabling subpixel rendering is faulty -> there
is no name 'rgba' ? i'm not quite sure how this all ties together.

2) My suggestion of enabling subpixel rendering in fonts dialog won'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) ?

------- Comment #11 From Alastair Tse (RETIRED) 2003-03-03 21:38:47 0000 -------
ok, the crash disappears with gdmgreeter if i comment out the <test> block in 
the "subpixel" match block. something like this:

<!-- Enable sub-pixel rendering -->
   <match target="font">
      <!--
      <test qual="all" name="rgba">
         <const>unknown</const>
      </test>
      -->
      <edit name="rgba" mode="assign"><const>rgb</const></edit>
   </match>

it crashes if the <test> part is uncommented. i'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't have that test in its fontconfig default conf 
files.

foser, i can confirm 2. the settings in font properties set the user's own font rendering settings, and not the global ones.

------- Comment #12 From foser (RETIRED) 2003-03-04 06:07:35 0000 -------
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).

------- Comment #13 From Alastair Tse (RETIRED) 2003-04-17 20:06:20 0000 -------
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're using
sub-pixel rendering. Remember you have to edit /etc/fonts/local.conf and
uncomment the subpixel xml stanza.

------- Comment #14 From foser (RETIRED) 2003-05-14 19:32:09 0000 -------
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

------- Comment #15 From foser (RETIRED) 2003-05-14 19:41:15 0000 -------
fontconfig that is ;)

------- Comment #16 From Alastair Tse (RETIRED) 2003-05-15 05:52:56 0000 -------
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'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
...


------- Comment #17 From foser (RETIRED) 2003-05-15 07:37:22 0000 -------
yes :( duh i know, fixed patch is in.

------- Comment #18 From Alastair Tse (RETIRED) 2003-05-17 06:51:48 0000 -------
i can confirm the new fontconfig doesn't crash gdm when that test stanza is
removed.

------- Comment #19 From foser (RETIRED) 2003-05-18 12:57:26 0000 -------
ok.. i'll go with that.

------- Comment #20 From Donnie Berkholz 2005-03-01 22:23:33 0000 -------
According to keithp, this problem is fixed in current fontconfig (2.3.0), maybe
older versions, so perhaps this workaround should be re-examined.

First Last Prev Next    No search results available      Search page      Enter new bug