dmitri alenitchev

October 3, 2006

laptop, lcd, fonts

Filed under: FreeBSD, OpenBSD — Dmitri Alenitchev @ 19:38

after installing openbsd or freebsd on laptop you can see that the fonts sucked in x11. i like fonts in mac os x: anti-aliased but not so much, and big enough to be readable but not huge on a 1024×768 lcd screen. here is some changes, needed for getting nice fonts on laptop:

  • install mscorefonts port.
  • configure xft by ~/.fonts.conf. enable sub-pixel rendering, enables font hinting, uses arial in place of helvetica and lucida, and forces xft to ignore non-ttf fonts.
  • change the x server resolution from the default 75 to 96 dpi. add “-dpi 96” to the server options in /etc/X11/xdm/Xservers file.
  • make fonts not so bigger: “gtk-font-name = “Sans 8″” to ~/.gtkrc-2.0 file.

Blog at WordPress.com.