LinuxAnswers DiscussionThis forum is to discuss articles posted to LinuxAnswers.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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!
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.
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 http://www.tldp.org/HOWTO/FDU/truetype.html. ttmkfdir -o fonts.scale is done before mkfontdir, which quite a few distros perform on start-up.
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.