View Single Post

   
  #4 (permalink)  
Old 02-19-2008, 08:19 PM
Olive
 
Posts: n/a
Default Fonts mini howto

I have seen a lot of people asking how to configure beautiful fonts; here is
a mini-mini-howto. Hope that it help! (please give comments good or bad; so
that I know if this kind of info is usefull)

For having good fonts in kde:

You have to configure freetype. Replace your /etc/fonts/fonts.conf by mine
provided in attachmed if you want to test my config (after having backuped
your default version of course). run fc-cache after having modifying this
file. Then go Control Center -> appearence and theme and choose your
favorite fonts (for the user interface helvetica is pretty good). Do the
same for konqueror, konsole, ...

Remark: it is also worthwhile to install windows fonts.

Create a directory /usr/X11R6/lib/X11/fonts/winfonts

Place your TTF fonts in it.

Run mkfontscale in this directory

Copy (not move) fonts.scale to fonts.dir (this works since all ttf fonts are
scalable so the fonts.dir and fonts.scale can be the same)

edit /etc/X11/xorg.conf and add the font
path /usr/X11R6/lib/X11/fonts/winfonts (if you use xfs; which is not the
default setting in Slackware 10.0 edit the xfs configuration file instead;
see man xfs)

edit /etc/fonts/fonts.conf and add the /usr/X11R6/lib/X11/fonts/winfonts
font path (this is already done in the file I give in attachment)

Run fc-cache

Restart the xserver


Enjoy your fonts


--
Olive

Reply With Quote