qt6-bb10/tests/auto/gui
Eskil Abrahamsen Blomfeldt 73176d2922 Add API to disable text shaping on fonts
In the past, we had an undocumented text flag that worked with
one of the QPainter::drawText() overloads. This was never intended
as public API and served a specific cause in Qt WebKit at one point.

But there is a general need for such API, as disabling shaping features
easily gives 25% performance improvement on text rendering even for
fairly short strings.

This patch adds a new style strategy flag to disable shaping and
will just uses the CMAP and HDMX tables to get glyph indices and advances
for the characters. In Qt 6, the TextBypassShaping flag can be removed
completely and be replaced by the style strategy.

[ChangeLog][QtGui][Text] Added QFont::PreferNoShaping style strategy to support
improvements to performance at the expense of some cosmetic font features.

Task-number: QTBUG-56728
Change-Id: I48e025dcc06afe02824bf5b5011702a7e0036f6d
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
2017-07-26 10:51:00 +00:00
..
image Fix deprecation warnings 2017-07-11 18:59:07 +00:00
itemmodels QAbstractItemModel::supportedDragActions: fix regression 2017-05-31 18:54:00 +00:00
kernel tst_QWindow: Wait for platform to ack window states before continuing 2017-07-19 23:06:21 +00:00
math3d Use qRadiansToDegrees() and qDegreesToRadians() more widely 2017-07-05 10:15:34 +00:00
painting Merge remote-tracking branch 'origin/5.9' into dev 2017-07-13 16:36:10 -07:00
qopengl Merge remote-tracking branch 'origin/5.8' into 5.9 2017-04-12 20:08:56 +02:00
qopenglconfig Fix tst_QOpenGlConfig for platforms with builtin test data 2017-06-19 07:05:59 +00:00
qvulkan Introduce QVulkanWindow 2017-03-22 15:40:57 +00:00
text Add API to disable text shaping on fonts 2017-07-26 10:51:00 +00:00
util Add support for parameters in QShaderGenerator 2017-07-08 09:05:23 +00:00
gui.pro Basic Vulkan enablers 2017-03-17 16:12:03 +00:00