Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fonts! (They are BLUE?!) [workaround]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
aproan
Guru
Guru


Joined: 30 Apr 2005
Posts: 415

PostPosted: Fri Feb 23, 2007 5:10 am    Post subject: Fonts! (They are BLUE?!) [workaround] Reply with quote

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
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Fri Feb 23, 2007 5:53 am    Post subject: Reply with quote

The only text shown that's blue are the hyperlinks. So what's the problem?
Back to top
View user's profile Send private message
aproan
Guru
Guru


Joined: 30 Apr 2005
Posts: 415

PostPosted: Fri Feb 23, 2007 5:57 am    Post subject: Reply with quote

Please look at the words "Hinting Information" at the middle of the page.

They are not BLUE but they have a blueish tone to it. It is not a hyperlink.

http://gentoo-wiki.com/HOWTO_Xorg_and_Fonts#Hinting_Information This is the site I screenshoted.
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Fri Feb 23, 2007 6:04 am    Post subject: Reply with quote

That's just anti-aliasing. In Gnome, see menu: System - Preferences - Font.
Back to top
View user's profile Send private message
aproan
Guru
Guru


Joined: 30 Apr 2005
Posts: 415

PostPosted: Fri Feb 23, 2007 6:25 am    Post subject: Reply with quote

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
View user's profile Send private message
aproan
Guru
Guru


Joined: 30 Apr 2005
Posts: 415

PostPosted: Fri Feb 23, 2007 6:45 am    Post subject: Reply with quote

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
View user's profile Send private message
aproan
Guru
Guru


Joined: 30 Apr 2005
Posts: 415

PostPosted: Fri Feb 23, 2007 6:48 am    Post subject: Reply with quote

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
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Fri Feb 23, 2007 6:50 am    Post subject: Reply with quote

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
View user's profile Send private message
aproan
Guru
Guru


Joined: 30 Apr 2005
Posts: 415

PostPosted: Fri Feb 23, 2007 6:58 am    Post subject: Reply with quote

I logged in as root and started X. It looks fine.

very wierd... i'll try your configuration.
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Fri Feb 23, 2007 7:07 am    Post subject: Reply with quote

Also run:
Code:
rm -r ~/.fontconfig
Back to top
View user's profile Send private message
aproan
Guru
Guru


Joined: 30 Apr 2005
Posts: 415

PostPosted: Fri Feb 23, 2007 7:23 am    Post subject: Reply with quote

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
View user's profile Send private message
aproan
Guru
Guru


Joined: 30 Apr 2005
Posts: 415

PostPosted: Fri Feb 23, 2007 7:35 am    Post subject: Reply with quote

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
View user's profile Send private message
aproan
Guru
Guru


Joined: 30 Apr 2005
Posts: 415

PostPosted: Fri Feb 23, 2007 7:47 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum