Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Better Verdana
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
pandaxiongmao
Guru
Guru


Joined: 29 Sep 2003
Posts: 478
Location: USA

PostPosted: Tue May 15, 2007 7:25 pm    Post subject: Better Verdana Reply with quote

How do I improve the appearance of Verdana font on my Gentoo box? The letter k appears too light on one section (the top leg or whatever since I don't know how to describe it better.)

I already did the font guide and rendering guide, but Verdana still looks better on Vista.

The reason I asked this stupid question is because Gentoo forums uses Verdana as their default font, not Bistream Vera Sans. I attempted to disable Verdana (and replace it with Bitstream Vera Sans), but it failed, and Arial showed up as the replacement for Verdana. :(
Back to top
View user's profile Send private message
vermaden
Apprentice
Apprentice


Joined: 27 Jul 2005
Posts: 168
Location: pl_PL.lodz

PostPosted: Tue May 15, 2007 10:02 pm    Post subject: Re: Better Verdana Reply with quote

pandaxiongmao wrote:
and Arial showed up as the replacement for Verdana. :(


You can use ~/.fonts.conf file to swap fonts, also to change their look.

Here is my example:
Code:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">

<fontconfig>

  <!-- antialias all fonts -->
  <match target="font">
    <edit name="antialias" mode="assign"><bool>true</bool></edit>
  </match>
 
  <!-- 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">
      <string>monofur</string>
    </edit>
  </match>

  <!-- replace Helvetica with a better-looking font -->
  <match target="pattern" name="family">
    <test name="family" qual="any">
      <string>Helvetica</string>
    </test>
    <edit name="family" mode="assign">
      <string>sans</string>
    </edit>
  </match>

  <!-- replace Times with a better-looking font -->
  <match target="pattern" name="family">
    <test name="family" qual="any">
      <string>times</string>
    </test>
    <edit name="family" mode="assign">
      <string>sans</string>
    </edit>
  </match>

  <!-- replace Arial with a better-looking font -->
  <match target="pattern" name="family">
    <test name="family" qual="any">
      <string>Arial</string>
    </test>
    <edit name="family" mode="assign">
      <string>sans</string>
    </edit>
  </match>

</fontconfig>


After you make Your changes rebuild font cache with fc-cache -f.
_________________
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds
vermaden's: links spreadbsd
Back to top
View user's profile Send private message
Dirk.R.Gently
Guru
Guru


Joined: 29 Jan 2007
Posts: 546
Location: Titan

PostPosted: Wed May 16, 2007 12:12 am    Post subject: Reply with quote

I have corefont and adobe fonts removed from my system. They just don't render that well.

I write all this down. :)

Here's the line I use whenever I install my OS:

Code:
emerge -C font-adobe-100dpi font-adobe-75dpi
emerge --noreplace freetype corefonts freefonts artwiz-fonts sharefonts ttf-bitstream-vera unifont dejavu


dejavu sans works as a nice font for my desktop and firefox.
_________________
Helpful Linux Tidbits
Back to top
View user's profile Send private message
pandaxiongmao
Guru
Guru


Joined: 29 Sep 2003
Posts: 478
Location: USA

PostPosted: Wed May 16, 2007 7:21 pm    Post subject: Reply with quote

Thanks for the reply.
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