/* SRCaf readme file */


******* DISCLAIMER *******

	The program contained in this package has been tested and probed to 
be reliable. However, I can not (and I will not) be responsible for any 
damage resulting of its use. It's your own risk and responsability.


*******  COPYRIGHT *******

	This is an unregistered work, it's shareware, and what I try to
mean is "should you like it, use it"; if you find it useful, send a $10
donation to my address. Please keep all files together and do not change
the copyright.


******* DESCRIPTION *******

  This program is meant to replace the AvailFonts() call of the operating
system with a file containing all the necessary information to perform this
command without scanning all your 7Mb disk font space... 
The program looks for the file "SRCAF.fontdata" in the Fonts: directory. If
found, it reads the font list, if not, it calls AvailFonts() to build the
list in memory. When asked to build, the program calls AvailFonts() and
stores the info on the before mentioned file. 
  
  The second version, 2.1, works under WB2.0 and up and behaves like a 
commodity, so you can open a window in which you can see the list of
available fonts, enable or disable the patch, build the list, close the
window and quit. You can control this program through Exchange, the
standard  commodities controller; as it seems to do nothing on startup.
  
  How does it work ? When you enable the patch, the AvailFonts() LVO is
replaced to point to a custom routine. Every time a program calls
AvailFonts(), the custom routine is run instead, which gives the program a
ready made font list instead of scanning the whole Fonts: directory. When
you disable the patch, the original LVO is restored. Always remember to
rebuild the list when you add new fonts to your collection, or don't blame
it on me if you can't find them ! Actually, the program does not trap
tagged structures; so programs requesting for this at AvailFonts() will
access the standard routine instead of mine. This happens on the system
font preferences program and unfortunately also with Brilliance (hope I'll
fix it any day...) Happily I have successfully tested this kludge on Scala
IC400, Scala MM300, Deluxe Paint IV AGA, ProWrite 3.3, Wordworth 2. They
all fell in love with my program.

******* INSTALLATION ********

  Copy SRCaf to your disk, (version 1.0 could go to c:) I suggest doing it to
WBStartup, and then start the commodity by double clicking its icon. Run
Exchange (sorry, neither TOOLTYPES nor CX_POPUP at this time, may be on
future upgrades...) and select "Show interface", the SRCaf window will
appear showing the built list of available fonts (make sure you assigned
FONTS: to the drawer of your choice). Select the "Build" gadget and SRCaf
will build the list again, but this time it will save the list to
FONTS:SRCaf.fontdata. From now on, every time SRCaf is run it will open
that file and give you available fonts info from there. Always remember to
rebuild the list when you add new fonts to your collection, or don't blame
it on me if you can't find them !


******* FUTURE ********

		- I plan to fix annoying things like this and some known
bugs: if you request disk fonts + memory fonts, only disk fonts are
returned, this causes no problem.
		- Handle all requests the right way (tagged structures for
example)
		- Add support for tooltypes and hot key for pop-up window.

	I'm not a programer, I happen to be a pretty busy married man; so
be patient and (why not...) give me a reason to improve this commodity !!!


	
	Please send any bugs, comments, suggestions, programs, and of
course donations to the following address:

	Sergio R. Caprile
	Pje. Terrada 4789
	(1874) Avellaneda
	Bs.As. - Argentina


------------------------------------------------
 AMIGA | Sergio R. Caprile, Bs. As., Argentina  |
   //  |     email: scaprile@geocities.com      |
 \X/   | DSP, Music, Electronics, Tai Chi Chuan |
------------------------------------------------
 http://www.geocities.com/CapeCanaveral/Lab/2885|
------------------------------------------------


PS: As you would have guessed, there is a preliminary untested WB1.3
release of this proggy (CLI only, sorry) that can be ordered on the same
terms via email (that means no charge, pay only if you wish)