diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> | 2023-06-05 15:35:23 +0200 |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> | 2023-06-08 10:00:06 +0200 |
commit | 90e3f0bd73e5fea6e0ed3fec65e3a5864d5e132f (patch) | |
tree | 6d85d0eaa612c9cdbb244a3150eccb0572369fc7 /src/plugins/platformthemes/gtk3/CMakeLists.txt | |
parent | 41b32cd2c4706fa280fc779d5dec132ee9edf0f6 (diff) |
Freetype: Don't do image transform for translations
In 6ba003f73295b896aa6dc1fba099daadb4760209, we added support
for transforming bitmap fonts in Freetype by rotating the rendered
glyphs as images rather than using FT_Set_Transform(). However,
we enabled this for all transforms, even the ones that were only
doing translations, which is unnecessary and also caused some
issues. We restrict the condition to only cover rotations, scales
and shears and let translations be handled as before.
[ChangeLog][Text][Freetype] Fixed an issue where setting a
translation matrix on text using a bitmap font would cause
rendering artifacts.
Pick-to: 6.5 6.6
Fixes: QTBUG-114229
Change-Id: Ib3f2870e57c881364c85432a7937f15f3664eda7
Reviewed-by: Lars Knoll <lars@knoll.priv.no>
Diffstat (limited to 'src/plugins/platformthemes/gtk3/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions