Fix font engine dependent text transformation
authorJiang Jiang <jiang.jiang@nokia.com>
Fri, 11 May 2012 13:03:57 +0000 (15:03 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 11 May 2012 15:39:13 +0000 (17:39 +0200)
commit01650d0dc7c41de11abeba6349e5ff38ebee430f
tree09e70868b3e19c03e7053a5c1202bb53b0887ff1
parent358fd91951f26cbb552daaf9d28c49429302b6ab
Fix font engine dependent text transformation

The font engine used in supportsTransformation() should be the same
as the one used in drawCachedGlyphs. If it's a multi font engine we
should check the primary font engine inside it.

Change-Id: I384aab3c58edfe2e7ae6fe7fe96bef766053d3ef
Reviewed-by: Yoann Lopes <yoann.lopes@nokia.com>
src/gui/painting/qpainter.cpp