Revert hacks in text rendering code path
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Tue, 23 Oct 2012 11:14:27 +0000 (13:14 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 25 Oct 2012 12:10:04 +0000 (14:10 +0200)
commitde58eb64bc564fcb8af61a45576783e432d2380c
tree7521ec6ff5690f7b938fc558ae83a5d30ebf262a
parent704a4e4747b2c42e262d9b4bd440ff365ab92a35
Revert hacks in text rendering code path

There are a lot of hacks here and there in Qt trying to align the
text in a correct way which caused regressions to appear once
the default coordinate system changed. We need to remove these
hacks to get a more consistent and maintainable base. This also
fixes the regression introduced by changing the aliased coordinate
system.

Task-number: QTBUG-27667

Change-Id: I620db2ca23b7ff6c912f3a51e86e7e36bbef81f0
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
src/gui/opengl/qopenglpaintengine.cpp
src/gui/painting/qpaintengine_raster.cpp
src/gui/painting/qpainter.cpp
src/gui/text/qtextengine.cpp
src/gui/text/qtextengine_p.h
src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp