True Type fonts
True Type fonts in Linux are driving me nuts. Here is the scenario:
I followed two different font de-uglification files. One for RedHat and one
for Debian. This because I already had xfstt installed and this is what the
RH explanation uses. The Debian version because I am using Debian.
At one point I had everything working just fine. I was able to select the
new fonts in Netscape and pick the point size I wanted. I created a
fonts.alias file for the true type fonts. This is the relevant part of
XF86config:
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7101"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/lib/X11/fonts/misc/:unscaled"
FontPath "/usr/lib/X11/fonts/cyrillic/:unscaled"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1/"
FontPath "/usr/lib/X11/fonts/Speedo/"
FontPath "/usr/lib/X11/fonts/misc/"
FontPath "/usr/lib/X11/fonts/cyrillic/"
FontPath "/usr/lib/X11/fonts/100dpi/"
FontPath "/usr/lib/X11/fonts/75dpi/"
ModulePath "/usr/X11R6/lib/modules"
EndSection
I couldn't be happy with it all working from manual restarts of the relevant
servers, so I rebooted the machine. Better to find out now that I don't have
to re-do everything manually every time I re-start, however seldom that may
be. I had already logged off KDE and restarted with the above config file
and everything worked fine. But after the re-boot, no such luck. As long as
I use the above file, I cannot start x. I get dumped out with an error about
being unable to find the default font "fixed". Well, I haven't messed with
any of the original default font stuff.
So I commented out the first two FontPath lines and KDE started just fine. I
can get the True Type fonts working after KDE is running, but now there are
no options for point size in Netscape. The fonts are there but I only get an
option of 0 for the size. I have a fonts.alias file in the
/usr/share/fonts/truetype directory. It was created with the mkfontalias.py
script available online. I mention this because that is the suggested reason
of no point size options in Netscape, ie. no fonts.alias file.
The fonts work just fine in Konqueror. Nice cleanup using Arial instead of
Helvetica.
Any idea how to get the sizes working in Netscape?
Thanks for any suggestions.
--
Stewart Jenkins...
Reply to: