Re: How to add a true type font

Thank you Dale for your reply.

Your 4 steps actually work and that is what i did also. My only problem was that, when I copied the .ttf files into the new folder (as root), those files did not have world-readable permission. And that may be the reason why those fonts did not show up in OpenOffice Writer.

After changing the permission, everything seems ok now.

Thanks also to those to have helped.


On 03/16/2010 09:25 PM, Dale Dellutri wrote:
On Tue, Mar 16, 2010 at 5:06 AM, Khemara Lyn < <> <>> 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

users mailing list
To unsubscribe or change subscription options: