You are not logged in.
Ok, I've done alot of research, and I'm comfortable in linux. However, X still remains a bit of a mysterious beast as far as I'm concerned. I've read the wiki's and read the man pages, but have some questions regarding X and fonts in particular:
The font paths in xorg.conf are only used to specify the type of fonts available to xterm etc right?. What other programs use these paths? Is this the Xcore font system?
Now the Xft system utilizes the font modules that X can load, like freetype, type1, speedo etc. Does this mean if I have a ttf font in my ~/.fonts/ directory, but only the speedo font module loaded, then the ttf font would not be availble to X? What if I added a font path in xorg.conf pointing to ~/.fonts/ ? Would the ttf font then be available?
Say I have the freetype module loaded, but my Font path contains on the misc folder. Does this mean a program not utilising Xft will not see the ttf fonts?
Also, isn't it pointless using freetype and type1 together?
Finally, in Arch, where do you get the speedo module from?
Thanks
Offline
Oooh, I love this stuff!
The font paths in xorg.conf are only used to specify the type of fonts available to xterm etc right?. What other programs use these paths? Is this the Xcore font system?
Correct. The paths specified in xorg.conf are only for old-style fonts. These are specified with XFLD (X Font Logical Descriptor, IIRC) names of the form -something-*-*-1-2-3-4-*-*-iso1234567-. These are all handled by the modules loaded by X (such as speedo, bitmap, and freetype).
Now the Xft system utilizes the font modules that X can load, like freetype, type1, speedo etc. Does this mean if I have a ttf font in my ~/.fonts/ directory, but only the speedo font module loaded, then the ttf font would not be availble to X? What if I added a font path in xorg.conf pointing to ~/.fonts/ ? Would the ttf font then be available?
This is where it differs. Xft uses FontConfig to load fonts. An Xft enabled app is 100% seperate from the modules loaded in xorg.conf. When an Xft font is loaded, FontConfig reads the font cache (created by running fc-cache) and the proper config files to match the requested name.
Say I have the freetype module loaded, but my Font path contains on the misc folder. Does this mean a program not utilising Xft will not see the ttf fonts?
See above - font paths and Xft fonts are unrelated.
Also, isn't it pointless using freetype and type1 together?
Probably
Finally, in Arch, where do you get the speedo module from?
Umm, it should be installed with Xorg
I wrote this ages ago: http://wiki.archlinux.org/index.php/XOr … figuration
Offline
Thanks phrakture, although in Xorg 7.0 it seems the speedo module is not installed (for me at least)
Offline
Doesn't <code>freetype</code> cover <code>speedo</code> anyway? Thus, <code>speedo</code> shouldn't be necessary?
Offline
Doesn't <code>freetype</code> cover <code>speedo</code> anyway? Thus, <code>speedo</code> shouldn't be necessary?
Actually, not that I recall - but then again, I don't think anyone uses speedo fonts regularly.
Offline