Hi!
Well, i wrote my own fonts.dir and fonts.alias and it's working for me.
But i don't use a fontserver so maybe there is a difference.
So here is what i've done:
I changed the font-internals with xmbdfed to something like this
-local-snap-bold-r-normal-sans-10-10-75-75-p-66-iso8859-1. Note, that i
put all my extra fonts in /usr/X11R6/lib/X11/fonts/local, so that i don't
mess up the other fonts :-).
Then after a mkfontdir you can load the file fonts.dir in your favorite
editor, delete the first line with the number than strip the first
font-names form snap.pcf.gz to snap. Save the file as fonts.alias.
Then you can make a test run to see if it's working
("xset fp+ /usr/X11R6/lib/X11/fonts/local && xset fp rehash").
Reload a few themes and make sure the fonts look ok. Here are the relevant
sections of my files that you can adapt.
*** fonts.dir ***
------------< snip <------< snip <------< snip <------------
8
glisp.pcf.gz -local-glisp-normal-r-normal-sans-10-100-75-75-p-66-iso8859-1
edges.pcf.gz -local-edges-medium-r-normal-(null)-10-100-75-75-c-60-iso8859-1
glisp-bold.pcf.gz -local-glisp-bold-r-normal-sans-10-100-75-75-p-66-iso8859-1
drift.pcf.gz -local-drift-medium-r-normal-sans-10-100-75-75-m-60-iso8859-1
cure.pcf.gz -local-cure-medium-r-normal-(null)-10-10-75-75-p-50-iso8859-1
lime.pcf.gz -local-lime-medium-r-normal--1-10-75-75-c-50-iso8859-1
snap.pcf.gz -local-snap-bold-r-normal-sans-10-10-75-75-p-66-iso8859-1
anorexia.pcf.gz -local-anorexia-medium-r-normal--10-100-75-75-p-55-iso8859-1
------------< snip <------< snip <------< snip <------------
*** fonts.alias***
------------< snip <------< snip <------< snip <------------
glisp -local-glisp-normal-r-normal-sans-10-100-75-75-p-66-iso8859-1
edges -local-edges-medium-r-normal-(null)-10-100-75-75-c-60-iso8859-1
glisp-bold -local-glisp-bold-r-normal-sans-10-100-75-75-p-66-iso8859-1
drift -local-drift-medium-r-normal-sans-10-100-75-75-m-60-iso8859-1
cure -local-cure-medium-r-normal-(null)-10-10-75-75-p-50-iso8859-1
lime -local-lime-medium-r-normal--1-10-75-75-c-50-iso8859-1
snap -local-snap-bold-r-normal-sans-10-10-75-75-p-66-iso8859-1
anorexia -local-anorexia-medium-r-normal--10-100-75-75-p-55-iso8859-1
------------< snip <------< snip <------< snip <------------
I hope this helps you a little. If someone knows a better way, or has
better definitions for the fonts then please send them to me :-).
Ciao Vincenzo
On Sat, Nov 03, 2001 at 10:46:04PM -0800 or thereabouts, Justin Filion wrote:
> Hey all,
>
> I'm new to the mailing list, was just wondering if anybody figured out
> what was up with xfs loading custom fonts? I had no problem at all with
> redhat 7.1, as soon as I upgraded to 7.2 I couldn't load custom fonts
> (like artwiz's) in blackbox. I know it has something to do with custom
> fonts not giving enough info about themselves via xlfd but it would be
> nice if there was some sort of patch or something.. I tinkered around
> with it for a while but had no luck, I did try putting in my own info in
> the fonts.alias and fonts.dir but when I reloaded a theme using a custom
> font it crashed X so I figured I wouldn't tinker any longer :)
>
> Somebody should setup a xfs server on a fat pipe when they figure it out
> so all us poor folk can just add it in xf86config.
>
> ttyl