path: root/src/corelib
diff options
authorEskil Abrahamsen Blomfeldt <>2016-02-05 15:24:46 +0100
committerEskil Abrahamsen Blomfeldt <>2016-02-09 14:39:25 +0000
commit51f29b88da0a9f5379976479f3ddb433e524af8d (patch)
treedba654f854a0750449f0def29d5eb9387f35a6e4 /src/corelib
parenta4fac65938fdee74c07d34727920fb74087f82c6 (diff)
Don't force antialiasing when it is turned off
In the gray antialiasing code path for text on Windows, we check whether Cleartype is enabled in the system and, if it is, we forcibly enable gray antialiasing instead. But in this logic we did not consider the case where antialiasing is turned off entirely, i.e. when the style strategy is QFont::NoAntialias. We should never override no-antialias with antialias. [ChangeLog][Windows][Text] Made it possible to disable antialiasing for text when drawing into images. Task-number: QTBUG-47141 Change-Id: Ieb2beba8c2d02295abe6d9a98d2e63a2d39c9e6a Reviewed-by: Konstantin Ritt <>
Diffstat (limited to 'src/corelib')
0 files changed, 0 insertions, 0 deletions