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.
Hope for your kind response.
Regards, Khem
On Tue, Mar 16, 2010 at 5:06 AM, Khemara Lyn lin.kh@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.
You can use kfontview, if you use kde or gnome-font-viewer if gnome. At least kde -version can install both user and system-wide fonts.
Khemara Lyn kirjoitti tiistai, 16. maaliskuuta 2010 12:06:48:
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.
Hope for your kind response.
Regards, Khem
--- On Tue, 3/16/10, Khemara Lyn lin.kh@wicam.com.kh wrote:
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.
http://www.mjmwired.net/resources/mjm-fedora-f12.html#ttf
I've used these Fedora Install/Configuration guides since the days of Fedora Core 3. Never had any problems.
B
On Tue, 2010-03-16 at 17:06 +0700, Khemara Lyn wrote:
What is the standard way of adding these fonts now?
I just create rpm's of the fonts that I want to install system-wide.
It's pretty straight-forward; all you need to do is follow these instructions:
http://tldp.org/HOWTO/Font-HOWTO/rpm.html
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.
Regards, Khem
On 03/16/2010 09:25 PM, Dale Dellutri wrote:
On Tue, Mar 16, 2010 at 5:06 AM, Khemara Lyn <lin.kh http://lin.kh@wicam.com.kh http://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):
- Create a new directory is /usr/share/fonts:
mkdir /usr/share/fonts/extrafonts
- 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/
- Move all your extra true type fonts into this directory, and make
sure that the permissions are correct (u=rw,go=r).
- 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