Click to See Complete Forum and Search --> : easy way for rh8.0 to use windows ttf fonts


czgu
12-22-2002, 09:36 AM
1. copy windows fonts to linux:

mkdir /usr/share/fonts/winfonts
cp /mnt/winxp/Fonts/tahoma*.* /usr/share/fonts/winfonts
cp /mnt/winxp/Fonts/verdana*.* /usr/share/fonts/winfonts

(try these two fonts)

2. Create fonts.dir and fonts.scale

cd /usr/share/fonts/winfonts
ttmkfdir >fonts.dir
cp fonts.dir fonts.scale

3. edit /etc/fonts/fonts.conf

add the winfonts path to this file.

<dir>/usr/X11R6/lib/X11/fonts/Type1</dir>
<dir>/usr/share/fonts</dir>
<dir>/usr/share/fonts/winfonts</dir>
<dir>~/.fonts</dir>

ok, redhat->Preference->font, you'll see these two windows ttf.