maumg@warwick.ac.uk (Pop Mobility Freak) (03/12/91)
Dear All, I have updated two applications I had on the newcastle info server. These can be 'ordered' as usual from the info server. IconClock (as appearing in Micro User) displays a clock on the iconbar. Three clockfaces are allowed (raised, lowered or border) and choice of twelve of twenty four hour clocks. This is a module and so will start up every time the desktop does. The fix is involved with people resetting the clock when the computer is running. Because the program only updates the clock every minute a null event is only requested every minute. The time when the null event is first allowed to occur was set initially and the increased in multiplies 60 seconds. This meant that if the clock was set back 20 seconds then minute change would always occur twenty seconds too late. I have fixed this by 'resynching' the clock every time a message is recieved. TurboFontLister caches the fonts available for a particular font path. You set the font path to the desired value and then read then run the program. This will create a module in the current directory. When this is loaded any attempt to read the font catalogue for the 'known' path will result in the results being returned from memory as opposed to from the disc, which is obviously much faster (even for a hard disc). If a font catalogue is attempted to be read for another path the call is passed on to the font manager module. Because of the way the module works it must be loaded after the font manager module. It should be noted that loading the turbofontlister module will set the variable Font$Path to the value it was when the module was created. As an interesting point while writing this module I came upon an odd fact. The Font Manager module recognises the SWI &400BF (or whatever is the last swi in it's chunk) although this has no name. Even more weird is the fact that Impression II calls it upon start up as I thought that it may have been for dialogue between the printer drivers and the font manager. Yours, PMF