Er, well there was a fair amount of improvement. Keep in mind we showed the font menu each line in it's font type, which was expensive so we did the following.
(a) on star tup we would check the list of font files against our known list. This actually happens really fast, the time required is for directory reads. (b) We would merge our saved known list with the new list and kick out the fonts that were deleted, or the fonts that were new. (c) For new fonts we had to read and set up in our internal font dictionary and set up in our font's menu image. (d) we saved the cached font menu forms and list in an image segment. Thus on a restart all that was required if there were no font changes was the reading of the font directorie(s). On 2-Jun-09, at 7:46 AM, Michael Rueger wrote: > Adrian Lienhard wrote: >> On Jun 2, 2009, at 16:13 , Gary Chambers wrote: >> >>> Depends whether you use the same image across multiple OSes... >> >> That is probably not that often the case, but if, what happens? Would >> the selected fonts fall back to Accuny? >> >> I think we should disable UpdateFontsAtImageStartup by default to not >> have to pay for the scanning on each image startup. People that >> transfer images between different OSes have the possibility to enable >> the preference. OK? > > +1 > > Long term the scanning needs to be much faster and also properly > hooked > into the font change mechanism for every platform. > John implemented some caching for Sophie, but we never really got it > fast enough to not be noticable at startup. > > Michael > > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- = = = ======================================================================== John M. McIntosh <[email protected]> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com = = = ======================================================================== _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
