|
From: Lyvim X. <lx...@ya...> - 2001-12-20 22:56:34
|
On Thursday 20 December 2001 16:47, you wrote:
Lee wrote to me privately with the following suggestions, and I asked
his permission to post this to the list; he said OK. I hope this will
help someone else with the same problems as I'm dealing with right now.
Lee:
-----------------------------------------------
i really can't address fonts in e per se, but getting fonts right in X
has been a challenge for this newbie. :)
your fonts in X are found first in your /etc/X11/XF86Config file. it
should have some font paths in the Section "Files" section that look
like
FontPath /usr/X11R6/lib/X11/fonts/75dpi:unscaled,
FontPath /usr/X11R6/lib/X11/fonts/100dpi:unscaled,
FontPath /usr/X11R6/lib/X11/fonts/misc,
...
and then perhaps you'll have a cryptic entry of something like
FontPath "unix/localhost:7100"
and this tells X to look at your font server for fonts. on recent red
hat systems it's run as a daemon, xfs. more on that later.
the order that the file entries appear is important, your fonts are
generated in the order that the X server finds appropriate fonts from
the list in your config files.
if you edit the XF86Config file to have the fonts listed in a different
order, i've found that it greatly helps in getting legible fonts.
here's the order of fonts that i have on my system, this works fine for
me. note that the *actual* location of your fonts may be different
(most likely /usr/X11R6/lib/X11/fonts, YMMV).
/usr/local/lib/X11/fonts/misc:unscaled,
/usr/local/lib/X11/fonts/75dpi:unscaled,
/usr/local/lib/X11/fonts/100dpi:unscaled,
/usr/local/lib/X11/fonts/misc,
/usr/local/lib/X11/fonts/Type1,
/usr/local/lib/X11/fonts/Speedo,
/usr/local/lib/X11/fonts/CID,
/usr/local/lib/X11/fonts/local,
/usr/local/lib/X11/fonts/75dpi,
/usr/local/lib/X11/fonts/100dpi,
/usr/local/lib/X11/fonts/TrueType,
/usr/share/fonts/default/Type1,
/usr/share/AbiSuite/fonts
also, make sure you have these entries in your XF86config file in the
Section "Module" section:
Load "extmod"
Load "pex5"
Load "type1"
Load "speedo"
Load "bitmap"
Load "freetype"
# Load "xtt"
...
EndSection
-- > the "freetype" and "xtt" modules are mutually exclusive and
relate to how X renders fonts. pick one and comment out the other.
now for the xfs font server. my XF86Config file only lists one file
location for fonts, and that's the strange looking
FontPath "unix/localhost:7100"
mentioned above. the configuration for your font server is most likely
found in the file /etc/X11/fs/config. the syntax is a little different
than the XF86Config file, but if you read the file there should be an
example of what it should look like.
for further reading, consult
http://home.c2i.net/dark/linux.html#ttf
http://home.c2i.net/dark/linux.html#fuzzy
______________________________________________________
Best Regards and Happy Holidays,
L. Xaphir
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
|