FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 05-11-2008, 08:16 PM
Rodolfo Medina
 
Default How to install a font?

Hi.

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
simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0
simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-c-0-gbk-0
simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-c-0-ibm-cp850
simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-c-0-iso10646-1
simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-c-0-iso8859-1
simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-c-0-iso8859-15
simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-c-0-koi8-r
simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-c-0-big5.eten-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?

Thanks for any help
Rodolfo


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 05-11-2008, 09:17 PM
Nicolas George
 
Default How to install a font?

Le tridi 23 floréal, an CCXVI, Rodolfo Medina a écrit*:
> 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'

This directory is in the realm of the package manager: adding a file in it
directly was not a good idea.

> Please can anybody suggest how the above procedure is to be adapted with
> Debian Etch?

For which applications do you want that font available? If all "modern"
applications are enough, it is probably sufficient to put the file somewhere
in /usr/local/share/fonts/ (which is not in the realm of the package
manager).

Regards,

--
Nicolas George
 
Old 05-11-2008, 09:25 PM
Sjoerd Hiemstra
 
Default 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
<snip>
>
> , 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.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 05-12-2008, 11:59 AM
Rodolfo Medina
 
Default How to install a font?

Rodolfo Medina <rodolfo.medina@gmail.com> writes:

> 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
> simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0
> simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-c-0-gbk-0
> simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-c-0-ibm-cp850
> simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-c-0-iso10646-1
> simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-c-0-iso8859-1
> simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-c-0-iso8859-15
> simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-c-0-koi8-r
> simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-c-0-big5.eten-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?



See:

http://forums.debian.net/viewtopic.php?p=109915#109915



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 08:20 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org