Use resolved font name for key in distance field cache.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Mon, 25 Jun 2012 05:20:53 +0000 (15:20 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 27 Jun 2012 09:28:41 +0000 (11:28 +0200)
commitab5eb33495baa253bd1d7ccf567f71a58c39f700
tree9f6ee90bc84965c9c54ec076709d5fde073dc6d2
parent589d39ec6c35edc1ba195474be30dfcf8c31598d
Use resolved font name for key in distance field cache.

On windows at least multiple QRawFonts can share a family name but
have different font engines.  Prefer the faceId information when
constructing a key for the distance field cache to avoid a conflict.

Task-number: QTBUG-26201
Change-Id: I9111f22045eb35e6535039117ec4184075e778a4
Reviewed-by: Yoann Lopes <yoann.lopes@nokia.com>
src/quick/scenegraph/util/qsgdistancefieldutil.cpp
src/quick/scenegraph/util/qsgdistancefieldutil_p.h