On Fri, Dec 09, 2005 at 12:59:34PM +0100, Juergen Spitzmueller wrote:
> Helge Hafting wrote:
> > Well, I have 20321 fonts according to xfontsel.  The fonts are
> > serverd by xfs, not the xserver itself.  I hope lyx-qt 1.4 isn't having
> > a look
> > at all of them during startup.  qt itself is not the problem - lyx-qt 1.3
> > starts in less than a second on the same machine.
> 
> Is startup time better if you comment out qfont_loader.C, line 357 (the "if 
> (pat.empty())"-clause)? If so, getSymbolFont is to blame.

A substantial improvement.
This change alone cuts the startup time from 3.5s to 1.5s
on my opteron. 
(time lyx -x lyx-quit)

Still on the slow side compared to lyx-1.3, but much better.
I don't get any math symbols though, but that's what this experiment
removes, isn't it?

I commented out the line with the "if", so the "return false" on
the following line is now unconditional.

Helge Hafting 

Reply via email to