diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> | 2014-04-07 13:22:12 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-08 09:49:04 +0200 |
commit | 118494aeda916a63dd94474442f9dbf7b2ad7ff5 (patch) | |
tree | 88704b4d05b034abf01872bd837bec6eb212fe74 /src/3rdparty/harfbuzz-ng/src/hb-ot-hmtx-table.hh | |
parent | 30e6d442ff6fd140e18fca7c5b203b87507854c8 (diff) |
HB-NG on Mac: Fix PDF in end of string
The CoreText engine will remove the PDF token from the end of
the string (instead of producing a zero-width glyph for it),
thus the output will be different from the OpenType backend
and Qt will get confused. To fix this, we emulate the expected
behavior by molding the output in a special case.
This is a port of e45c4387ae16627d61e30a58ae901d888d375aa7 from
Qt 4.
Task-number: QTBUG-38113
Change-Id: Ia0a078e3a60317981d4d5a4ee7e575a1714a1d75
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Diffstat (limited to 'src/3rdparty/harfbuzz-ng/src/hb-ot-hmtx-table.hh')
0 files changed, 0 insertions, 0 deletions