[lug] TTF font in X-Window
Kevin Moore
klmoore at digitalglobe.com
Sun Aug 18 10:36:10 MDT 2002
Here's how I do it with Microsoft TType fonts on RedHat, it really helps
make web pages look nice. Your mileage may vary:
1. Zip up your true type fonts from over on the 'doze side.
2. On the Linux side, unzip the fonts into a directory under
/usr/X11R6/lib/X11/fonts/
something like, /usr/X11R6/lib/X11/fonts/ttype/
3. Add this to your /etc/X11/fs/config file:
catalogue = /usr/X11R6/lib/X11/fonts/ttype,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/X11R6/lib/X11/fonts/misc:unscaled,
/usr/X11R6/lib/X11/fonts/75dpi:unscaled,
blah, blah, blah.......
4. Restart your font server:
/etc/init.d/xfs restart
5. Fonts will then be available in edit->preferences->appearance->fonts
in your browser (at least in Mozilla/Netscape-I don't know
Galeon/Konqueror).
Hope this helps....Kevin
Warren Sanders wrote:
> I never used the xfstt font server before but you might need to restart
> X. I wanted to add more fonts for The Gimp and didn't see my new fonts
> untill I restarted X.
>
> Good Guy wrote:
>
>> Hello Folks.. I'm newbie to Linux.. and find some
>> irritating drawback on my Linux (I use Mandrake 8.2)..
>> When I open some website using Garleon or Netscape or
>> Mozilla or Konquer.. the fonts always screwed.. I mean
>> the font looks very ugly.. I tried to install windows
>> fonts (TTF font).. first I install the xfstt and then
>> I do xset +fp unix/:7100 then xfstt --sync then I add
>> the font path to XF86Config.. after that I checked the
>> font using xfontsel(i forgot the command)..it lists
>> all my fonts (including the ttf fonts)..
>>
>> but when I open my control center and tried to change
>> some of the font.. it only listed the linux font.. I
>> couldn't find the ttf font..
>> can Linux(browser in linux) use ttf fonts ?
>>
>> any suggestion ?
--
Systems Administrator
DigitalGlobe
Tel: +1 303.702.5528
Fax: +1 303.682.3848
http://www.digitalglobe.com
More information about the LUG
mailing list