[Qt-interest] How to make Qt Text Rendering & Layout Super Fast?
Denis Akhmetzyanov
dakhmetzyanov at smartlabs.tv
Tue May 4 11:47:30 CEST 2010
Hi,
> 1). I found that Qt takes a lot time in Harfbuzz layout engine, Is
there any way by which I can bypass this layout engine ( As I need
just english support only), I am ready to change code of qt's source
code.
Another link about re-layout overhead:
http://labs.trolltech.com/blogs/2010/03/01/insanity-is-shaping-the-same-text-again-and-expecting-a-different-result/
Briefly: you could use
QTextLayout<http://doc.trolltech.com/4.6/qtextlayout.html>
class from Qt 4.6 or
QStaticText<http://doc.trolltech.com/4.7-snapshot/qstatictext.html>
from
Qt 4.7 TP.
2010/5/1 sunny shah <sunny.cpp at gmail.com>
> Hi Friends,
>
> I am working on embedded linux system, 450 Mhz ARM Processor.
>
> My application requires english language support only.
>
> Before using Qt, In I have home grown library , In that I was using
> free type directly. At that time my font engine was very fast.
>
> Now with Qt 's font drawing I found two issues,
>
> 1). I found that Qt takes a lot time in Harfbuzz layout engine, Is
> there any way by which I can bypass this layout engine ( As I need
> just english support only), I am ready to change code of qt's source
> code.
>
> 2) I found that Qt 's text anti-aliasing is like for each font pixel
> it draws three anti-aliased pixels, In my homegrown library I needed
> to draw two anti-aliased pixels for each font pixel. Is there any way
> by which I can make Qt to minimize anti-aliasing? ( I need
> anti-aliasing but minimal ).
>
> Is there anything else by which I can make font engine fly?
>
>
> Thanks,
> Sunny.
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
--
Best regards,
Denis Akhmetzyanov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100504/dd1e4ab8/attachment.html
More information about the Qt-interest-old
mailing list