How to add a true type font

Dale Dellutri daledellutri at gmail.com
Tue Mar 16 14:25:38 UTC 2010


On Tue, Mar 16, 2010 at 5:06 AM, Khemara Lyn <lin.kh at wicam.com.kh> wrote:

> Hello All,
>
> I have a bunch of .ttf files and want to add to Fedora 12 system
> (system-wide, not per-user). What is the standard way of adding these
> fonts now?
> I remember the old way, using ttmkfdir, chkfontpath, fc-cache, etc. but
> those packages seem to be obsolete now and they are not even included
> with Fedora 12 repos.
>

What I did (all done as root):

1. Create a new directory is /usr/share/fonts:
  mkdir /usr/share/fonts/extrafonts

2. Make sure the directory permissions are the same as other
directories in /usr/share/fonts
  # ls -ld /usr/share/fonts/extrafonts/
  drwxr-xr-x 2 root root 4096 2010-01-12 10:18 /usr/share/fonts/extrafonts/

3. Move all your extra true type fonts into this directory, and make
sure that the permissions are correct (u=rw,go=r).

4. I created a fonts.dir and fonts.scale in that directory
using ttmkfdir (I think), but I'm not sure that's necessary.
You probably just need to re-start X and log everyone out/in.

-- 
Dale Dellutri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20100316/8e20d82a/attachment.html 


More information about the users mailing list