[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to install a font?

Rodolfo Medina wrote:
> When I was a Mandrake Linux user, a couple of years ago, I used to
> put the file `simsun.ttf' in the directory
> `/usr/X11R6/lib/X11/fonts/TTF', then add the following lines to the
> files `/usr/X11R6/lib/X11/fonts/TTF/fonts.dir' and
> `/usr/X11R6/lib/X11/fonts/TTF/fonts.scale':
>    simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-c-0-ascii-0
> , and this way the font was ready to be used on my system.  Now, on
> my Debian Etch box the directory `/usr/X11R6/lib/X11/fonts/TTF' does
> not exist.  Please can anybody suggest how the above procedure is to
> be adapted with Debian Etch?

This is obsolete. Thanks to fontconfig, installing a font has become a
lot simpler.
Just put simsun.ttf into /usr/local/share/fonts (system wide) or
~/.fonts (for a user), that's all.

Reply to: