You are not logged in.

#1 2009-11-04 11:24:42

archiebald
Member
Registered: 2007-06-03
Posts: 90

How to set fonts to look nice, like that in KDEmod4?

I have vanilla KDE4 installed. But now I see that fonts in KDEmod4 looks much better than in any other desktop environments and window managers in default install. Is there some way to have fonts that will look like that, supplied in KDEmod4? Here are screenshots, where you can see how fonts in KDEmod4 looks much better and is more easy to read  (it looks like that in Ubuntu), than default fonts. I installed tf-bitstream-vera but no results.

KDE 4 font:
archkdefont.th.png

KDEmod 4 font:
archkdemodfont.th.png

Last edited by archiebald (2009-11-04 12:01:19)

Offline

#2 2009-11-04 16:38:44

sph
Member
Registered: 2008-05-01
Posts: 63
Website

Re: How to set fonts to look nice, like that in KDEmod4?

Create a file ~/.fonts.conf with the following contents:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
 <match target="font" >
  <edit mode="assign" name="autohint" >
   <bool>true</bool>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="rgba" >
   <const>none</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="hinting" >
   <bool>false</bool>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="hintstyle" >
   <const>hintnone</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </edit>
 </match>
</fontconfig>

Relogin into your DE.

If you think the fonts are too blurry, start with the following setup:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
 <match target="font" >
  <edit mode="assign" name="autohint" >
   <bool>true</bool>
  </edit>
 </match>
</fontconfig>

Last edited by sph (2009-11-04 18:02:54)

Offline

#3 2009-11-04 19:29:30

Teoulas
Member
From: Athens, Greece
Registered: 2009-03-21
Posts: 70

Re: How to set fonts to look nice, like that in KDEmod4?

Well, the fonts are different. The first one is Arial and the second one is Bitstream Vera Sans or DejaVu Sans. The hinting and anti-aliasing settings on both screenshots look the same to me. I think they use subpixel anti-aliasing and full hinting.

Offline

#4 2009-11-05 11:02:16

archiebald
Member
Registered: 2007-06-03
Posts: 90

Re: How to set fonts to look nice, like that in KDEmod4?

@sph
fonts.conf settings are same in both desktop environments.

@Teoulas
OK, but, fonts looks globaly nicer in KDEmod4.

Offline

#5 2009-11-05 11:55:22

SoleSoul
Member
From: Israel
Registered: 2009-06-29
Posts: 319

Re: How to set fonts to look nice, like that in KDEmod4?

delete ms-ttf?

Offline

Board footer

Powered by FluxBB