diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2014-04-25 13:12:20 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-28 19:49:56 +0200 |
commit | 40b195d0f9ee7ef1b917a635bb073fa108b2ed40 (patch) | |
tree | 3c264c4772fbc190b92376549bfa42b17fa05bb4 /mkspecs/features/qt_helper_lib.prf | |
parent | 9ab41425519510b5bfbe93ac916e3f40aa0e4510 (diff) |
Fix font fallback handling with Harfbuzz and CoreText
Comparing CGFontRefs is not reliable it seems, CFEqual on them appears
to compare pointers and there's no guarantee that CTFontCopyGraphicsFont
returns the same pointer all the time.
So instead let's compare CTFontRefs, which we keep around and also provide
as input to CoreText shaping.
Task-number: 38363
Change-Id: I6073ea88f0c9f5ebf49d17cba0d76041ade32570
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Diffstat (limited to 'mkspecs/features/qt_helper_lib.prf')
0 files changed, 0 insertions, 0 deletions