3279c8e7d7
There are some slight differences between normal drawText() and QGlyphRuns/QStaticText for decoration widths in certain fonts. We decided to accept this and tried working around it in the test by using ForceIntegerMetrics (since the difference is < 0.5 pixel). This enum has been deprecated, so we move the tests into Lancelot instead, since the idea here is to test for regressions, not to compare the two painter commands. Note that there is something off about decorations with drawGlyphRuns() and drawStaticText() which is exposed (not caused) by this, perhaps related to using a matrix for positioning, since that was untested before. This also takes the liberty of moving the emoji test string from text.qps, since this was not in the statictext.qps yet. Change-Id: Ib2d697095cbd11829cdd50b3c0268c85e9607c78 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io> |
||
---|---|---|
.. | ||
aliasing.qps | ||
arcs2.qps | ||
arcs.qps | ||
background_brush.qps | ||
background.qps | ||
beziers.qps | ||
bitmaps.qps | ||
borderimage.qps | ||
brush_pens.qps | ||
brushes.qps | ||
clippaths.qps | ||
clipping_state.qps | ||
clipping.qps | ||
cliprects.qps | ||
conical_gradients_perspectives.qps | ||
conical_gradients.qps | ||
dashes.qps | ||
degeneratebeziers.qps | ||
deviceclipping.qps | ||
drawpoints.qps | ||
ellipses.qps | ||
fillrect_aa.qps | ||
fillrect.qps | ||
filltest.qps | ||
glyphruns.qps | ||
gradients.qps | ||
gradientxform_device.qps | ||
gradientxform_logical.qps | ||
gradientxform_object.qps | ||
hinting.qps | ||
image_dpr.qps | ||
image_formats.qps | ||
images2.qps | ||
images.qps | ||
join_cap_styles_duplicate_control_points.qps | ||
join_cap_styles.qps | ||
linear_gradients_perspectives.qps | ||
linear_gradients.qps | ||
linear_resolving_gradients.qps | ||
lineconsistency.qps | ||
linedashes2_aa.qps | ||
linedashes2.qps | ||
linedashes.qps | ||
lines2.qps | ||
lines3.qps | ||
lines.qps | ||
pathfill.qps | ||
paths_aa.qps | ||
paths.qps | ||
pens_aa.qps | ||
pens_cosmetic.qps | ||
pens.qps | ||
perspectives2.qps | ||
perspectives.qps | ||
pixmap_rotation2.qps | ||
pixmap_rotation.qps | ||
pixmap_scaling.qps | ||
pixmap_subpixel.qps | ||
pixmaps.qps | ||
porter_duff2.qps | ||
porter_duff.qps | ||
primitives.qps | ||
radial_gradients_perspectives.qps | ||
radial_gradients.qps | ||
rasterops.qps | ||
richtext.qps | ||
sizes.qps | ||
statictext.qps | ||
text_perspectives.qps | ||
text.qps | ||
thinlines.qps | ||
tiled_pixmap.qps |