View previous topic :: View next topic |
Author |
Message |
Mustard007 Apprentice
Joined: 31 May 2002 Posts: 235 Location: Montreal, Quebec, Canada
|
Posted: Fri Feb 14, 2003 3:41 am Post subject: Changing hinting of fonts in GDM -- possible ?? |
|
|
Hi !
I try to change the hinting of fonts in the login manager GDM, to look like when i login in Gnome and change Font properties.
It's possible to do that ??
Thanks ! |
|
Back to top |
|
|
David_Escott l33t
Joined: 12 Jan 2003 Posts: 952 Location: Boston, MA
|
Posted: Fri Feb 14, 2003 5:30 am Post subject: |
|
|
i think the way to do this would be to run the gnome-font-properties as root. Since gdm is run as root it should get its hinting configuration from root/.xft or whatever the appropriate directory is |
|
Back to top |
|
|
hast n00b
Joined: 29 Sep 2002 Posts: 9
|
Posted: Fri Feb 14, 2003 6:15 am Post subject: |
|
|
This worked for me. I just added some stuff to
/etc/X11/xdm/Xresources
Xft.antialias: 1
Xft.dpi: 100.000000
Xft.hinting: 0
Xft.hintstyle: hintnone
Xft.rgba: none |
|
Back to top |
|
|
razamatan Apprentice
Joined: 28 Feb 2003 Posts: 160
|
Posted: Thu May 15, 2003 8:10 am Post subject: |
|
|
if you're using the new fontconfig way... you can create a .font.conf file under /var/lib/gdm (the user gdm's home directory) to specify hinting... i use bci myself, but the sans fonts that most gdm themes use look horrible w/ bci... so i turn it of in the /var/lib/gdm/.fonts.conf file...
honestly, you can do alot w/ gdm thru that directory! _________________ a razamatan doth speaketh,
"Never attribute to malice, that which can be adequately explained by stupidity" |
|
Back to top |
|
|
ikshaar Veteran
Joined: 23 Jul 2002 Posts: 1339 Location: Baltimore, MD
|
Posted: Thu May 15, 2003 2:47 pm Post subject: |
|
|
Could you give an example on how to do that, like posting your .fonts.conf file ? I have no clue what to put into that file to make the gdm font looks a little bit better... thanks. _________________ "May God stands between you and harm in all the empty places where you must walk" - Babylon 5 |
|
Back to top |
|
|
iwasbiggs Apprentice
Joined: 17 Jan 2003 Posts: 203
|
Posted: Thu May 15, 2003 8:14 pm Post subject: |
|
|
ikshaar wrote: | Could you give an example on how to do that, like posting your .fonts.conf file ? I have no clue what to put into that file to make the gdm font looks a little bit better... thanks. |
I'm pretty sure the way you do this is by copying a fonts.conf from the /etc/fonts folder then modifying it once it is in place of the destination (at least that's the way other config files work).
$locate fonts.conf
should help. _________________ www.ruinedsoft.com
Freeware development. |
|
Back to top |
|
|
ikshaar Veteran
Joined: 23 Jul 2002 Posts: 1339 Location: Baltimore, MD
|
Posted: Thu May 15, 2003 8:30 pm Post subject: |
|
|
Well, my /etc/fonts.conf file is a 10k file and I don't know what to change in it .... _________________ "May God stands between you and harm in all the empty places where you must walk" - Babylon 5 |
|
Back to top |
|
|
iwasbiggs Apprentice
Joined: 17 Jan 2003 Posts: 203
|
Posted: Thu May 15, 2003 8:40 pm Post subject: |
|
|
man fontconfig
scroll to the bottom.
Also, my home .font.config is a lot smaller. _________________ www.ruinedsoft.com
Freeware development. |
|
Back to top |
|
|
ikshaar Veteran
Joined: 23 Jul 2002 Posts: 1339 Location: Baltimore, MD
|
Posted: Thu May 15, 2003 9:27 pm Post subject: |
|
|
OK, I will change my question, if anybody know how to change the font of the gdm, could you please post the relevant part of font.conf ?
Thank you. _________________ "May God stands between you and harm in all the empty places where you must walk" - Babylon 5 |
|
Back to top |
|
|
razamatan Apprentice
Joined: 28 Feb 2003 Posts: 160
|
Posted: Fri May 16, 2003 6:19 am Post subject: |
|
|
my .font.conf to fix the sans font w/ most gdm themes... place in /var/lib/gdm
Code: |
<match target="pattern">
<test qual="any" name="family"> <string>sans-serif</string> </test>
<edit name="hinting" mode="assign"> <bool>false</bool> </edit>
</match>
|
now.. in order to change your font in a theme entirely (waste of time imho), goto the /usr/share/gdm/themes/* directories for each theme you wanna edit... then open up the xml file.. do a search for 'font'... bob's your uncle.
ikshaar wrote: | OK, I will change my question, if anybody know how to change the font of the gdm, could you please post the relevant part of font.conf ?
Thank you. |
_________________ a razamatan doth speaketh,
"Never attribute to malice, that which can be adequately explained by stupidity" |
|
Back to top |
|
|
ikshaar Veteran
Joined: 23 Jul 2002 Posts: 1339 Location: Baltimore, MD
|
Posted: Fri May 16, 2003 2:49 pm Post subject: |
|
|
Thx razamatan, I will play with that. _________________ "May God stands between you and harm in all the empty places where you must walk" - Babylon 5 |
|
Back to top |
|
|
iwasbiggs Apprentice
Joined: 17 Jan 2003 Posts: 203
|
Posted: Thu May 22, 2003 7:44 am Post subject: |
|
|
Updating fontconfig to version 2.2.0-r2
seemed to fix some stuff. _________________ www.ruinedsoft.com
Freeware development. |
|
Back to top |
|
|
|