The attached patch disables the "nice text drawing" and uses plain LaTeX
code instead.

It definitely fixes the performance problem and I don't think the feature
is too important (It's pretty new anyway, so not too many can complain).

Ok to apply?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)
Index: formula.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/formula.C,v
retrieving revision 1.246
diff -u -p -r1.246 formula.C
--- formula.C   13 Jan 2003 23:38:01 -0000      1.246
+++ formula.C   28 Jan 2003 16:10:55 -0000
@@ -142,7 +142,7 @@ int InsetFormula::latex(Buffer const *, 
 
 int InsetFormula::ascii(Buffer const *, ostream & os, int) const
 {
-       if (display()) {
+       if (0 && display()) {
                TextMetricsInfo mi;
                par()->metricsT(mi);
                TextPainter tpain(par()->width(), par()->height());

Reply via email to