Juergen Spitzmueller wrote:

Georg Baum wrote:
qt itself is not the problem - lyx-qt 1.3
starts in less than a second on the same machine.
Same here.

I think 1.3 searches for the math symbol fonts only if you insert a math formula (judging by the font debug messages), while 1.4 searches at startup. I have a remarkable gap in 1.3 when I hit C-m for the first time, but not in 1.4.
The 1.3 approach is better then, because only a subset of documents
actually uses math.  It is so nice to have a fast-starting lyx for writing
letters & notes, and for looking at exisiting lyx documents. I actually
use math, but not in the majority of my documents.

Then there is the question - why do lyx have to look at all available
fonts in order to get a math font?  Lyx doesn't do this for the text
fonts - why for math.  And if it turns out to be necessary, how about
only doing this at "reconfigure" time?  Cache the math font(s) found
in a suitable place, .lyx/something, and simply use the fonts without
looking the next time?  A user that installs some fonts can do a
"reconfigure".  If lyx finds that the cached font suddenly doesn't
exist, then lyx can look again of course.  But not unconditionally at
every startup.
Or the math screen font could be selectable like the other screen fonts.
Perhaps with an auto button to invoke the existing routine, people
probably don't know too well what fonts have math symbols.  Well, that
is probably 1.5 material, but it'd be really nice to get back to sub-second
startup times.  The quick no-waiting performance has always been one of the
nice things about lyx. :-)

Helge Hafting


Helge Hafting

Reply via email to