Still playing from time to time with true type fonts.

Anyway, after reading some messages on this list, I noticed that I had
a few ttf fonts laying around in /usr/share/fonts/ttf/western, and that
(according to /etc/X11/fs/config) that path was in the xserver's font-
path, and (of course) the xfs was running. So I peeked in there and saw
a fonts.dir but no fonts.alias file. Anyhow, that in itself may explain
way doing things like "xterm -font fudd &' when there was a fudd.ttf file
gave the error message "could not open font, trying font 'fixed' ".

So, as root, I cp'd the fonts.dir file to fonts.alias, edited the fonts.
alias file, removing the first line and then getting rid of the '.ttf'
parts so I just had a file of font names and -misc-whatever-normal-extra
gobbledygook-how-X-names-its-fonts :).

I restarted xfs just to be sure that it would reread the file, and then
tried to access these fonts by doing an 'xterm -font fudd &' for example.
Upon doing so, no xterm. I saw the process running, so I tried another font -
bingo - X crashed!

Furthermore, the x font server would not start, at least not until I moved
the offending fonts.alias file out of the way.

I'm using 'XFree86-xfs-4.0.1-28mdk' and the rest of Xfree86 I compiled from
sources. I haven't yet upgraded to 4.1.0.  I remember having to reinstall the
font server rpm because the compiled xfs would simply refuse to start - or
die right after starting up.

What am I missing?

------------------------------------------------------------------------
David E. Fox                              Thanks for letting me
[EMAIL PROTECTED]                            change magnetic patterns
[EMAIL PROTECTED]               on your hard disk.
-----------------------------------------------------------------------


Reply via email to