View previous topic :: View next topic |
Author |
Message |
aproan Guru
Joined: 30 Apr 2005 Posts: 415
|
Posted: Fri Feb 23, 2007 5:10 am Post subject: Fonts! (They are BLUE?!) [workaround] |
|
|
Please take a look at http://farm1.static.flickr.com/129/399451009_58c24e1336_o.jpg it is a screenshot. look at the words "Hinting Information" which is how it looks. I am not sure why, nor what happened. I just did a fc-cache, updated tcl, tk to 8.5, and nothing more.
Please help me, this is REALLY annoying.
Last edited by aproan on Fri Feb 23, 2007 7:47 am; edited 1 time in total |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Fri Feb 23, 2007 5:53 am Post subject: |
|
|
The only text shown that's blue are the hyperlinks. So what's the problem? |
|
Back to top |
|
|
aproan Guru
Joined: 30 Apr 2005 Posts: 415
|
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Fri Feb 23, 2007 6:04 am Post subject: |
|
|
That's just anti-aliasing. In Gnome, see menu: System - Preferences - Font. |
|
Back to top |
|
|
aproan Guru
Joined: 30 Apr 2005 Posts: 415
|
Posted: Fri Feb 23, 2007 6:25 am Post subject: |
|
|
I don't use Gnome. I use Xfce-4.20.
BTW, how come did it get misconfigured (I didnt have this antialiasing problem before).
Is there a gnome program I could download to fix this? |
|
Back to top |
|
|
aproan Guru
Joined: 30 Apr 2005 Posts: 415
|
Posted: Fri Feb 23, 2007 6:45 am Post subject: |
|
|
I have been able to get to the User Interface settings in Xfce but even if i try the thing keeps being blue.
Anti-aliasing is on.
Hinting is on.
and sub-pixel hinting is on. |
|
Back to top |
|
|
aproan Guru
Joined: 30 Apr 2005 Posts: 415
|
Posted: Fri Feb 23, 2007 6:48 am Post subject: |
|
|
I just changed of WM, i am in fluxbox right now and I don't get that problem. Wierd huh?
In fluxbox it renders nicely. |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Fri Feb 23, 2007 6:50 am Post subject: |
|
|
Create ~/.fonts.conf, then play with the settings for e.g. rgba and antialias. Here's mine:
Code: | <?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Info at http://gentoo-wiki.com/HOWTO_Xorg_and_Fonts -->
<!-- Replace Courier with a better-looking font -->
<match target="pattern" name="family">
<test name="family" qual="any">
<string>Courier</string>
</test>
<edit name="family" mode="assign">
<!-- Other choices - Andale Mono, Courier New, Luxi Mono, Bitstream Vera Sans Mono -->
<string>Bitstream Vera Sans Mono</string>
</edit>
</match>
<!-- Replace Courier New with a better-looking font -->
<match target="pattern" name="family">
<test name="family" qual="any">
<string>Courier New</string>
</test>
<edit name="family" mode="assign">
<!-- Other choices - Andale Mono, Courier New, Luxi Mono, Bitstream Vera Sans Mono -->
<string>Bitstream Vera Sans Mono</string>
</edit>
</match>
<!-- hintnone, hintslight, hintmedium, hintfull -->
<match target="font">
<edit name="rgba" mode="assign">
<const>rgb</const>
</edit>
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
<!-- hightmedium and hintfull look wonky in firefox wiki -->
<edit name="hintstyle" mode="assign">
<const>hintslight</const>
</edit>
</match>
<!-- Bah, this ruleset only makes the spacing of small fonts *worse*
<match target="font">
<test qual="any" name="size" compare="less">
<double>10</double>
</test>
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
</match>
-->
<!-- Disable hinting for bold fonts -->
<match target="font">
<test name="weight" compare="more">
<const>medium</const>
</test>
<edit name="autohint" mode="assign"><bool>false</bool></edit>
<edit name="hinting" mode="assign"><bool>true</bool></edit>
<edit name="hintstyle" mode="assign"><const>hintnone</const></edit>
</match>
<!-- Reject bitmap fonts in favour of Truetype, Postscript, etc. -->
<selectfont>
<rejectfont>
<pattern>
<patelt name="scalable">
<bool>false</bool>
</patelt>
</pattern>
</rejectfont>
</selectfont>
</fontconfig> |
|
|
Back to top |
|
|
aproan Guru
Joined: 30 Apr 2005 Posts: 415
|
Posted: Fri Feb 23, 2007 6:58 am Post subject: |
|
|
I logged in as root and started X. It looks fine.
very wierd... i'll try your configuration. |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Fri Feb 23, 2007 7:07 am Post subject: |
|
|
Also run:
Code: | rm -r ~/.fontconfig |
|
|
Back to top |
|
|
aproan Guru
Joined: 30 Apr 2005 Posts: 415
|
Posted: Fri Feb 23, 2007 7:23 am Post subject: |
|
|
ok. ive been messing around with the config file, and it has helped (a bit) but they still look blueish. not AS blue, but now they are blueish and redish.
What do you think happened? (my anti-alias wasnt messed up before!!) |
|
Back to top |
|
|
aproan Guru
Joined: 30 Apr 2005 Posts: 415
|
Posted: Fri Feb 23, 2007 7:35 am Post subject: |
|
|
I renamed .config to .configbackup so it won't be used. and now it renders correctly (but I lost my ocnfigurations).
wierd! |
|
Back to top |
|
|
aproan Guru
Joined: 30 Apr 2005 Posts: 415
|
Posted: Fri Feb 23, 2007 7:47 am Post subject: |
|
|
Ok. I know what the problem was, playing with sub-pixel hinting. I've tried them all and guess what, i think i should just have them disabled or else they look a bit bad on my LCD monitor.
Thanks for the help! |
|
Back to top |
|
|
|