All pastes #759133 Raw Edit

Someone

public text v1 · immutable
·published 2007-11-02 21:26 UTC
rendered paste body
Hi all,

I've been working on a little tool for the past couple of days, which I'm calling the "Zen Fonts Manager."  This tool is a simple way to add and remove fonts from your system, and lets you preview the fonts you've currently got installed.  This program detects whether you're adding a bitmapped font or a TrueType font and places the font file either into /usr/share/fonts/misc/ or /usr/share/fonts/TTF/, respectively.  After you install or remove a font, it updates the system font caches, so your new fonts are immediately available and your old fonts are immediately gone.

Note:  to have the add/remove buttons work, run this as root or through ktsuss.


INSTALLATION INSTRUCTIONS:

Go to http://rs.tc/dl/zw/  and download the tclkit and zfm files.  Then:

chmod +x tclkit && mv tclkit /usr/bin
chmod +x zfm

Then, just run:  ./zfm


This is definitely a work-in-progress.  I've tested it out plenty, adding and removing fonts, and a few other people have already tested it on their systems without problem.  Please note that when you remove a font, this program does in fact delete it from the disk!


Please let me know if you like it, and please send feedback and suggestions for improvement!

thanks!
hat0