Don't render glyph with FT with fetchMetricsOnly
authorJiang Jiang <jiang.jiang@nokia.com>
Wed, 15 Feb 2012 13:41:07 +0000 (14:41 +0100)
committerQt by Nokia <qt-info@nokia.com>
Fri, 17 Feb 2012 04:28:32 +0000 (05:28 +0100)
commit692064bcfd116c2f3a2b30572e511ee68c6a0531
tree470700f2ba9f5a8e5f79de80b87de2fa2acfcd28
parent90128ba8778327a13f4eac2809d9db783f33690c
Don't render glyph with FT with fetchMetricsOnly

Neither rendering with outline nor fetchMetricsOnly requires the
rendering from FreeType so we don't need to render them or cache
it. It should speed up recalcAdvances() quite a lot.

Change-Id: I0f623cb4f79da2edf6e9c9634a2f22fb0c66823c
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/gui/text/qfontengine_ft.cpp