Re: TrueType Fonts
On Sun, 28 Mar 1999, Doug Dine wrote:
> Has anyone had success using TrueType fonts in X? I installed the TrueType
> font server but only received a message that my font database was corrupt.
Hi Doug. It works for me. Here's what I did:
(1) Install xfstt package (slink installation -- someone said it didn't
work with the hamm version xfstt package).
(2) Copy .ttf files from somewhere to /usr/share/fonts/truetype.
(3) Make sure xfstt is running (should be via the init script a.k.a.
"/etc/init.d/xfstt start" should be executed as root or during
system startup).
(4) As root, enter the directory /usr/share/fonts/truetype and type the
command "xfstt --sync".
(5) Put the following line in your .xinitrc or .xsession file:
xset fp+ unix/:7101 &
I don't recommend putting a FontPath line in your XF86Config as some
suggest because this can cause X to fail if xfstt is not running and using
the specified port.
Thanks. Syrus.
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Syrus Nemat-Nasser <syrus@ucsd.edu> UCSD Physics Dept.
Reply to: