You are not logged in.

#1 2009-05-25 23:34:04

shak
Member
Registered: 2009-03-16
Posts: 405

fonts are blurry

Hi again!

I have a resolution of 1680x1050 widescreen with nvidia graphics card and i've set the dpi to 96x96 . I'm using the ubuntu rendering packages and for some reason my fonts are blurry . From system settings of kdemod 4 i have antiliasing enabled , dpi at 96 ,sub pixel rendering smooth .

Here are some screenshots :
http://img11.imageshack.us/img11/4638/snapshot4f.png

http://img11.imageshack.us/img11/6664/snapshot5o.png

Can anyone help me ?

Thanks a lot !

Offline

#2 2009-05-25 23:36:13

Lexion
Member
Registered: 2008-03-23
Posts: 510

Re: fonts are blurry

Try disabling sub pixel rendering.  Also, how is that blurry?  It looks fine to me...


urxvtc / wmii / zsh / configs / onebluecat.net
Arch will not hold your hand

Offline

#3 2009-05-25 23:39:15

Peasantoid
Member
Registered: 2009-04-26
Posts: 928
Website

Re: fonts are blurry

Try enabling hinting in your ~/.fonts.conf?

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

Last edited by Peasantoid (2009-05-25 23:39:27)

Offline

#4 2009-05-26 00:01:18

shak
Member
Registered: 2009-03-16
Posts: 405

Re: fonts are blurry

it's already enabled , this is my .fonts.conf file :

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

Offline

#5 2009-05-26 00:10:08

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: fonts are blurry

Run 'xdpyinfo | grep resolution' in X - do you get the correct values?
Try 'hintfull' instead of 'hintslight', but seriously I don't see (pun intended) anything wrong w/ you fonts. Have you been drinking lately? No? Maybe you should ;-)

Last edited by karol (2009-05-26 00:15:16)

Offline

#6 2009-05-26 00:14:07

shak
Member
Registered: 2009-03-16
Posts: 405

Re: fonts are blurry

yes i get 96x96  . i had to edit my xorg.conf file with Option "DPI" "96x96" to get these values .

Offline

#7 2009-05-26 00:16:41

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: fonts are blurry

> yes i get 96x96  . i had to edit my xorg.conf file with Option "DPI" "96x96" to get these values .
Or you can edit .Xresources.

Offline

#8 2009-05-26 00:18:20

Peasantoid
Member
Registered: 2009-04-26
Posts: 928
Website

Re: fonts are blurry

Perhaps this ArchWiki page has what you need: http://wiki.archlinux.org/index.php/Fonts

You also have hintstyle set to "hintslight"... consider increasing that a little? wink

Last edited by Peasantoid (2009-05-26 00:19:18)

Offline

#9 2009-05-26 08:59:43

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: fonts are blurry

Well, those fonts look ok for me, too. So, what do you expect? If you want a crisp, sharp font display, subpixel rendering might not be for you, because it introduces a certain degree of blurryness by principle.

If you are interested, have a look here: Sub-pixel Font Rendering - How It Works
and at this one: Font smoothing, anti-aliasing, and sub-pixel rendering

Last edited by bernarcher (2009-05-26 09:02:53)


To know or not to know ...
... the questions remain forever.

Offline

Board footer

Powered by FluxBB