.xinitrc and .xession not being read?
Mike A. Harris
mharris at redhat.com
Thu Oct 23 07:24:35 UTC 2003
On Wed, 22 Oct 2003, Joshua Legbandt wrote:
>> Red Hat Linux by default uses "xfs" for serving fonts, and the X
>> server is not used for serving fonts. The "xset fp" commands
>> tell the X server (not xfs) to manipulate it's fontpath and
>> add/remove/refresh/etc. the X server font path only. If your X
>> server is not reconfigured to allow this to work properly, by
>> enabling the various font modules in the Modules section of the
>> X server config file, if you try to add font paths with xset to
>> the X server and those FPEs contain fonts that the X server does
>> not have a module loaded to handle, then the request will be
>> ignored as the X server isn't capable of doing what you've asked
>> in its current configuration.
>
>I don't think that this is the case, as I am able to run the xset
>commands after X is started and the fonts work as expected.
It very much is the case. The *ONLY* way xset fp will work, is
if your X server is configured to load the proper modules for the
font types you're trying to add with xset.
If you're trying to add truetype fonts with xset, you need:
Load "freetype"
If you're trying to add Type1 fonts with xset:
Load "Type1"
Ditto for Speedo, and other types. You need to read the X
documentation to figure out what if any modules you need to load.
If a module is not loaded for a font type, then the font types
supported by that particular module will not be serveable by the
X server at all, and xset +fp et al. on font directories that
contain that font type will fail.
This isn't something I threw over my shoulder in a "I think this
is the way it is" sense, it is the way the X server works. Of
course you're certainly free to read the various documentation
and/or source code if you disagree however. ;o)
TTYL
--
Mike A. Harris ftp://people.redhat.com/mharris
OS Systems Engineer - XFree86 maintainer - Red Hat
More information about the test
mailing list