Re: [PATCH] Optimise math symbol and char metrics calculation

2007-04-22 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Trying to solve bug-2452, I optimized some of the most significant problems outlined in the profile report attached in there. This patch avoid the metrics calculation by caching the last LyXFont used. I had to cleanup the width(), ascent() and descend() redundancies b

[PATCH] Optimise math symbol and char metrics calculation

2007-04-21 Thread Abdelrazak Younes
Trying to solve bug-2452, I optimized some of the most significant problems outlined in the profile report attached in there. This patch avoid the metrics calculation by caching the last LyXFont used. I had to cleanup the width(), ascent() and descend() redundancies by transferring that to Ins