On 11/11/2015 10:08 AM, Mark Morgan Lloyd wrote:
Michael Schnell wrote:
On 11/10/2015 12:30 PM, Luca Olivetti wrote:
- it is very cpu intensive (I have to put it over a picture, so the invalidate will also force the repainting of the bitmap I guess)
The only cure for this is using the graphic processor: only once create a wide pixel array from the text and then use Direct X (Open GL or similar API) to display part of the text "behind" in a rectangle.

Using OpenGL etc. risks breaking the program for anybody accessing it over remote X (including SSH) or VNC etc.
Yep.

But scrolling text via VNC will not work decently, anyway.

-Michael

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to