On 5/20/05, msevior@physics.unimelb.edu.au
<msevior@physics.unimelb.edu.au> wrote:
>
> >
> > On Fri, 2005-05-20 at 09:21 +0200, Robert Staudinger wrote:
> >> Disable this for now as it seems that even reasonably fast machines
> >> have serious issues dealing with great numbers of fonts. Sorry for the
> >> inconvenience, maybe pango, gtk or the world is just not ready for
> >> this.
> >
> > Could we get the 'old' preview back then ? Some form of preview is nice
> > to have
>
> I agree.
>
> However there is something seriously wrong with rob's combo-box code. I
> haven't had the time to look at it closely but I can tell AbiWord is
> *still* suffering serious performance issues as it loads because of it.
>
> Ron *please* look through your code. Run it with very large number of fonts.
> You appear to be doing something very wrong when you load your combo-box.
> From the way the application behaves it you might be rebuilding the entire
> combo-box list every time you add a new new font.
Martin, as you seem to somewhat insist on that, it's not the case.
One possible reason i could imagine is that when reading the fonts
synchronously in a loop it can be optimised much better by the HD
driver (readahead).
I'm now trying some different hacks, like filling the font-combo
immediately and applying the font-face later on using a timer. Maybe
we should also consider having this gnome-only because some people on
low-spec hardware seem to be running abiword-gtk and loading all the
system's fonts will always take a lot of memory.
If bad comes to worse we'll have to revert anyways or i'll have to
bite the bullet and implement inter-session caching.
Cheers,
- Rob
Received on Fri May 20 18:23:42 2005
This archive was generated by hypermail 2.1.8 : Fri May 20 2005 - 18:23:42 CEST