Mailinglist Archive: opensuse (4570 mails)

< Previous Next >
Installing fonts the SuSE way?
  • From: "Steven T. Hatton" <hattons@xxxxxxxxxxxxxxxxxx>
  • Date: Thu, 3 Nov 2005 20:52:41 +0000 (UTC)
  • Message-id: <200511031452.31750.hattons@xxxxxxxxxxxxxxxxxx>
If I simply place fonts in a subdirectory under /etc/X11R6/lib/X11/fonts, and
run SuSEconfig, the fonts are not loaded when the KDM is loaded. If I add
the new path to the /etc/X11/xorg.conf, they will load. The problem with
modifying the /etc/X11/xorg.conf is that it has a
corresponding /etc/X11/xorg.conf.md5 which means YaST wants to control the
file.

When I copy the fonts to ~/.fonts, and add the following to the ~/.fonts.conf:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<dir>~/.fonts/wri/4.1/truetype</dir>
<dir>~/.fonts/wri/4.1/Type1</dir>
</fontconfig>

X still fails to load the fonts. Putting the fonts in
/usr/share/fonts/wri/4.1/truetype
/usr/share/fonts/wri/4.1/Type1
likewise fails. I would rather not edit the /etc/X11/xorg.conf. Is there an
alternative?

Steven

< Previous Next >
Follow Ups