[Lazarus] Lazarus IDE (GTK2) - flicker and slow redraws

Luiz Americo Pereira Camara luizmed at oi.com.br
Sun Apr 27 05:16:14 CEST 2008


Mattias Gaertner wrote:
> But it is true, that the ExtTextOut function, which is used by SynEdit,
> under gtk2 is at least 5 times slower than under gtk1. It uses pango
> functions, which are great for full unicode support, but snail slow.
> Probably the font system must be changed to cairo.
>   

About slowness of synedit/gtk2: i noticed, in svn logs, you are trying 
to optimize synedit paint by using canvas.cliprect. This won't help much 
under gtk2 because cliprect is always = clientrect.
Take a look into bug report 8871. I posted a patch and some notes.

Luiz




More information about the Lazarus mailing list