~$ mkdir /usr/local/share/fonts/my-tt-fonts
Create an additional directory for your own TrueType fonts, for example:
~$ mkdir /usr/local/share/fonts/my-tt-fonts
Copy your *.ttf or *.ttc files into this directory.
Run ttmkfdir to create a fonts.scale file:
/usr/local/share/fonts/my-tt-fonts$ ttmkfdir > fonts.scale
Edit fonts.scale. This is necessary because the current version of ttmkfdir doesn't create the necessary entries for Asian and Unicode fonts. Add entries for all encodings which have not been created by ttmkfdir but whose characters are nevertheless supplied by your fonts.
Run mkfontdir:
~$ mkfontdir -e /usr/X11R6/lib/X11/fonts/encodings/large \ -e /usr/X11R6/lib/X11/fonts/encodings \ /usr/local/share/fonts/my-tt-fonts
The arguments indicating the encoding directories are important! If you omit these, the freetype module and the font server xfs will not work with Asian fonts. If you are using the xtt module, the encoding directories don't matter though, because the xtt module has all encodings internally hardwired and doesn't care for the files in the encoding directories. See also the man page of mkfontdir.
If you are using the “freetype” or the “xtt” module of XFree86 4.x to render TrueType fonts:
Add the new directory to the font paths in /etc/X11/XF86Config.
Restart X11 or call “xset fp+ /usr/local/share/fonts/my-tt-fonts”.
If you are using the font server xfs to render TrueType fonts (see [*]):
Add the new directory to the variable catalogue in /etc/X11/fs/config.
Make the font server reload its config file by calling “/etc/init.d/xfs reload”.
Posted: Fri Oct 04, 2002 9:43 am
First time I actually bothered to read the releasenotes on the first CD for once
There you can read that you can take the fonts (*.ttf) from windows and put them in /usr/share/fonts and then run the command "fc-cache /usr/share/fonts". After that you will have the fonts ready for use (not in OO but I'm looking for a solution on that)
Second after some searching on the net I found this info.
Go and grab the beta of Mozilla with XFT support for RH8 here: ftp://ftp.mozilla.org/pub/mozilla/nightly/experimental/xft/2002-10-03/
Just grab & untar mozilla-rh8-xft-i686-pc-linux-gnu.tar.gz to any directory like /usr/local and run /usr/local/mozilla/mozilla. Go back to this forum and check the differens from the bundled Mozilla. Now the font looks great!
I actually changed all my shortcuts to this version instead… Try it
/Toby
I have downloaded and applied the windows corefonts package to use under my Mandrake system, and Open Office changed the fonts with its inteface automatically. I don't know if Red Hat has offered some even better fonts than anyone else, maybe posting some screenshots will be nice .
MS downloadable corefonts package http://corefonts.sourceforge.net/
Thank you guys for your great tip !! my fonts works excellent and that Mozilla build is very very neat..
browsing has never looked better
> I copied all .TTF fonts from /Windows/Fonts to /usr/share/fonts, did the > "fc-cache...", but i can't select them from anywhere.
OK i got the fonts to be loaded, they have to be in a subdirectory under /fonts, not just in the /fonts dir. Run fc-cache and it works…
Got the fonts to work in OpenOffice by copying them to:
/usr/lib/openoffice/share/fonts/truetype/
/Toby
There's a couple of methods to get them to work in OpenOffice. First they can be imported using "spadmin", and second I read of a method where you setup a path in your XF86config file but I can't figure out how that works yet.
clutch