> From: "Mike A. Harris" <[EMAIL PROTECTED]>
> I was just searching for free fonts, and rediscovered a site I've > been on before: http://www.larabiefonts.com > > After perusing the license, something stood out at me: [discussion of font installation...] I can see little or no harm in providing some easy way to add fonts at runtime. I end up doing something like the following: Add font to directory. Restart xfs (relying on its startup behaviour to rebuild dir :) xset -fp unix/:7100 xset +fp !$ xset fp rehash A simple rehash doesn't seem to cut it, although I think it should. > Just as an example, would it make sense to have xfs automatically > look at all the dirs in its config, and have > mkfontdir/ttmkfdir/etc. code built in? This worries me. There's a couple of packages (freefont, sharefont) that I installed a while back, and I had a bit of trouble when I added them to the font path in /etc/X11/XftConfig and ran xftcache. Those packages come with a working fonts.{dir,scale} but mkfontdir appears to fail in the directory. Running xftcache creates a file (XftCache?) in the font directory, which is newer than the fonts.dir file, which caused the startup script for xfs to run mkfontdir in the directory (fails) and all those nice fonts disappeared off X's radar. Apart from the list of GNOME applications and utilities that die horribly if they can't find the font they're expecting, it took a while to figure out what was going wrong. So anything *automated* scares me in this respect. Trying to create a fonts.dir where one is completely missing, can only be a winner as far as I can see, but potentially overwriting a tweaked config with a non-working config, I'm not keen on. Now, a "font installer" in the desktop menu somewhere, that would be cool :o) -- /* Bill Crawford, Unix Systems Developer, Ebone (formerly GTS Netcom) */ #include <stddiscl> const char *addresses[] = { "[EMAIL PROTECTED]", "[EMAIL PROTECTED]", // work "[EMAIL PROTECTED]", "[EMAIL PROTECTED]" // home }; _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
