: If we increase each font buffer to 45kb we can ensure that only the : biggest fonts go through the cache (about 74% of fonts then are small : enough to be loaded entirely). Obviously that increases overhead quite a : bit (from ~50kb to ~225kb).
It sounds like the font buffer should be shared between fonts, so that each "loaded" font doesn't use an entirely new buffer. : The font cache code is basically unchanged, so even with a smaller : buffer the performance should be no worse than using a large font with : the current single font code. The font cache code should be changed to use a font number and character code, so that it also can be shared between loaded fonts, rather than having a separate cache per font. Regards, Greg