You are not logged in.

#1 2008-01-06 01:56:07

Fackamato
Member
Registered: 2006-03-31
Posts: 579

Refine my fonts

Hi, I have some issues with the fonts on my system. I use an LCD monitor, and here is my ~/.fonts.conf:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- If the font is bold, turn off autohinting --> <match target="font" >
  <test compare="more" name="weight" >
   <const>medium</const>
  </test>
  <edit mode="assign" name="autohint" >
   <bool>false</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>true</bool>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="hintstyle" >
   <const>hintmedium</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </edit>
 </match>
 <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>hintfull</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </edit>
 </match>
</fontconfig>

xorg is configured to use the physical DPI of my monitor (22" WS @ 1680x1050):

fackamato ~  $  xdpyinfo |grep res
  resolution:    90x88 dots per inch
    KeyPressMask             ButtonPressMask          EnterWindowMask
fackamato ~  $

I also use the freetype2-lcd package. I use KDE, and AA is on, so is hinting which is set to Full (RGB).

Here's a screenshot of how it looks (look at the menubar of Firefox, the letters have edges of colour around them) also the "Log in" on the top left doesn't look right. Any ideas on what I can do to improve my fonts? smile

Offline

#2 2008-01-06 08:25:17

luca
Member
From: Rome
Registered: 2005-10-30
Posts: 280

Re: Refine my fonts

Hi Fackamato,
see this section on the wiki:
http://wiki.archlinux.org/index.php/Xor … Size.2FDPI

Offline

#3 2008-01-06 21:47:46

Fackamato
Member
Registered: 2006-03-31
Posts: 579

Re: Refine my fonts

luca wrote:

Hi Fackamato,
see this section on the wiki:
http://wiki.archlinux.org/index.php/Xor … Size.2FDPI

Thanks, I know how to calculate my DPI, but it seems you misunderstood me (English is not my native spoken language). One if my questions were, should I just use a DPI that "many people" uses? (such as 96 or 100)
Or should I use the REAL DPI of my monitor? (i.e. the physical DPI)

Offline

#4 2008-01-06 22:33:07

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: Refine my fonts

I'd always use the real DPI. It's a calculated, fixed value anyway; if you have a certain display resolution (1400x1050) and a certain physical screen size (19"), you'll always get the same DPI (or rather, PPI) value (96).

http://en.wikipedia.org/wiki/Pixels_per_inch
http://en.wikipedia.org/wiki/List_of_Device_PPI

Last edited by byte (2008-01-06 22:41:30)


1000

Offline

#5 2008-01-06 23:57:35

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: Refine my fonts

Just to add a contrasting opinion, I force my display to use 96dpi resolution:

screen #0:
  print screen:    no
  dimensions:    1280x1024 pixels (339x271 millimeters)
  resolution:    96x96 dots per inch

(actual screen size is something like 370x301mm).  If I leave the resolution at the native dpi then I find that fonts, especially bold fonts, get a little fuzzy.

My suggestion is to try 96dpi, 100dpi and native and then pick the one that gives the best results.

Offline

#6 2008-01-07 07:43:46

Fackamato
Member
Registered: 2006-03-31
Posts: 579

Re: Refine my fonts

azleifel wrote:

Just to add a contrasting opinion, I force my display to use 96dpi resolution:

screen #0:
  print screen:    no
  dimensions:    1280x1024 pixels (339x271 millimeters)
  resolution:    96x96 dots per inch

(actual screen size is something like 370x301mm).  If I leave the resolution at the native dpi then I find that fonts, especially bold fonts, get a little fuzzy.

My suggestion is to try 96dpi, 100dpi and native and then pick the one that gives the best results.

Hehe. I'm currently at 90x88 dpi and I think I've hit the perfect spot actually smile, both considering font size and appearence.

Offline

Board footer

Powered by FluxBB