Le 03/08/2011 13:45, Henrik Johansen a écrit : > > On Aug 3, 2011, at 1:16 07PM, Hilaire Fernandes wrote: > >> I have found a difference of about 5Mb whether I install or not some >> DejaVu fonts: >> >> ----------------------- >> Gofer new >> url: 'http://www.squeaksource.com/DejaVu'; >> package: 'DejaVuBitmapFonts'; >> load. >> >> ScriptLoader new cleanUpForProduction. >> >> DejaVuHolder installSizes: #(10 12). >> StandardFonts setDefaultFonts: #( >> (codeFont: 'Bitmap DejaVu Sans Regular' 12) >> (listFont: 'Bitmap DejaVu Sans Regular' 12) >> (menuFont: 'Bitmap DejaVu Sans Regular' 12) >> (windowTitleFont: 'Bitmap DejaVu Sans Regular' 12) >> (balloonFont: 'Bitmap DejaVu Sans Regular' 10) >> (haloFont: 'Bitmap DejaVu Sans Regular' 10) >> (buttonFont: 'Bitmap DejaVu Sans Regular' 12) >> (defaultFont: 'Bitmap DejaVu Sans Regular' 12)). >> ----------------------- >> >> 5Mb seems a lot for two sizes font, even if it comes with Bitmaps. Is it >> correct or are there some clean up I can do in the fonts? >> >> Hilaire >> > The package holds source bitmaps for ALL sizes. > Cean up after you have installed the ones you want by unloading > DejaVuBitmapFonts again.
Ah, yes understood how it works. > > You can also save more space by removing StrikeFont dejaVuSans... Is it "StrikeFont cleanUp" enought? It saves about 4 MB, with a final image below 10MB, nice. Thanks Hilaire
