-   LinuxAnswers Discussion (
-   -   DISCUSSION: Installing TTF Fonts in GNOME (

UsualTuxpect 11-02-2004 08:06 PM

DISCUSSION: Installing TTF Fonts in GNOME
This thread is to discuss the article titled: Installing TTF Fonts in GNOME

x_theory 11-21-2004 07:25 PM

This should seem simple enough, but when I try to drag the .ttf file over to the fonts:/// directory in Nautilus, it says: Error "Not a Directory" While Copying. Would you like to continue?

Any ideas on why it's doing that?

berberama 01-09-2005 11:31 AM

fast method
Here's a couple of methods that worked for me, the one in the thread "Installing TTF Fonts in GNOME" does not work for me.

METHOD 1 (Fast Method) [list=1][*]Create a folder called .fonts in your home folder (/home/<username>/.fonts). [*]Copy thr TTF fonts into the .fonts folder you just created.[*]Relogin and you should have access to TTF (TrueType Fonts)[/list=1]

METHOD 2 (A bit longer)
For TTF to be available in OpenOffice and Mozilla:[list=1][*]Copy fonts to /usr/X11R6/lib/X11/fonts/TTF[*]Create directory /usr/share/fonts/TTF[*]Also copy fonts into /usr/share/fonts/TTF[*]Edit the file /usr/share/fonts/fonts.cache-1 adding a line that says "TTF" 0 ".dir"[*]Relogin and you should have access to TTF (TrueType Fonts)[/list=1]

Method one worked best and fastest for me. I'm sure someone on the net has a better way but hope this helps someone anyway!

Simon Bridge 04-05-2005 11:29 PM

The method in the article works for non ttf fonts quite well (for me FC2) anyway.
In the end, I add fonts into X11 by creating a file where the X11 fonts are stored called "misc", copying all the fonts I want into it then running mkfontdir ... this last utility will automatically create and edit the font directory files needed.

This produces no trouble at all, and all kinds of fonts can be added by this system.


subvertigo 04-26-2005 08:00 PM

The command-line way of adding True-type fonts (and possibly the only way on my older Red Hat 7.3 Valhalla system) is reasonably well documented in ttmkfdir -o fonts.scale is done before mkfontdir, which quite a few distros perform on start-up.

Spoony Bard 10-06-2005 10:12 AM

Would it work to create a symbolic link to

[location where windows is mounted]/WINDOWS/Fonts

In my case


Note I have that directory mounted read only.

Simon Bridge 10-08-2005 10:44 PM

Doubt it - remember, the directory has to be a X font directory.
You could, perhaps, run mkfontdir on the windows font directory (provided you can write to it - you need captive to write to ntfs) and include it's path in the x fonts path.

However - just copying them all over would be quicker - easier - and so on. It is normal to duplicate files when you have windows...

Simon Bridge 10-08-2005 10:46 PM

Interestingly, while dragging font files to fonts:/// under FC4 dosn't work (nothing happens) it does work under ubuntu 5.04.

All times are GMT -5. The time now is 02:51 PM.