Martin Vermeer wrote:
On Sun, Aug 26, 2007 at 12:08:42PM +0200, Abdelrazak Younes wrote:
Alfredo Braunstein wrote:
This wide stuff is really bad...
Yes, I think we should get rid of it now in trunk. The pixmap cache is good
enough that Mac plaftform don't need this hack anymore. Moreover I plan to
cleanup the rowpainter stuff so as to truly separate background painting
from text painting.
Any objection that I remove the wide hack now?
If you make sure that rendering remains OK, sort-of, i.e., both correct and
not-hopelessly-slow.
The in-inset typing speed never was a real problem on X11 and Windows so
yes there will be a small degradation on X11 (because the pixmap cache
is disabled) but nothing really sensible.
I expect you will have to do the rowpainter cleanup
at the same time.
I'd like to do it in three steps: first remove the hack, then put in
place a better design, then optimize if need be.
When I say better design, I mean that the rowpainter use should be
progressively erased. The drawing code will be transfered to
TextMetrics, ParagraphMetrics and Row in that order. I've made some
experiment before the summer and I am confident that this is doable.
Abdel.