Add option to use native rasterizer for SceneGraph text
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Wed, 4 Jul 2012 12:56:38 +0000 (14:56 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 10 Jul 2012 12:22:34 +0000 (14:22 +0200)
commitb0b4869440fc6e5af42797cbcaa64ec30238be73
tree208f5f90c9ee6c3a71cc9e751a9374addede67d0
parentc66d00a7f53d6a6a847bc7171529273f4d089923
Add option to use native rasterizer for SceneGraph text

For old-style (desktop components) apps using QML 2 on regular density
displays, distance field text will look out of place. We introduce
an option to use the native rasterizer instead if you would rather
have native look and feel than scalable text items.

Change-Id: Idb38e3c89f2deab9ae1963357c6c5fb235ddeab8
Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com>
14 files changed:
src/quick/items/qquicktext.cpp
src/quick/items/qquicktext_p.h
src/quick/items/qquicktext_p_p.h
src/quick/items/qquicktextedit.cpp
src/quick/items/qquicktextedit_p.h
src/quick/items/qquicktextedit_p_p.h
src/quick/items/qquicktextinput.cpp
src/quick/items/qquicktextinput_p.h
src/quick/items/qquicktextinput_p_p.h
src/quick/items/qquicktextnode.cpp
src/quick/items/qquicktextnode_p.h
src/quick/scenegraph/qsgcontext.cpp
src/quick/scenegraph/qsgcontext_p.h
src/quick/scenegraph/qsgdefaultglyphnode_p.cpp