diff options
author | John Tapsell <john.tapsell.ext@basyskom.de> | 2011-10-27 18:52:03 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2011-10-27 18:52:29 (GMT) |
commit | 1b928f5e41888150c4d85ff4df8a9fcab9b06d90 (patch) | |
tree | 2607ce6606368f6de47ea23fc897364637e39da6 /src/3rdparty | |
parent | 5965fda95f61834e38204c4187ac27cf01a6033c (diff) | |
download | Qt-1b928f5e41888150c4d85ff4df8a9fcab9b06d90.zip Qt-1b928f5e41888150c4d85ff4df8a9fcab9b06d90.tar.gz Qt-1b928f5e41888150c4d85ff4df8a9fcab9b06d90.tar.bz2 |
Harfbuzz shaper: kerning adjustment does not need to be modified by RTL
Merge-request: 1435
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'src/3rdparty')
-rw-r--r-- | src/3rdparty/harfbuzz/src/harfbuzz-shaper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-shaper.cpp b/src/3rdparty/harfbuzz/src/harfbuzz-shaper.cpp index 3410782..7f4bb0c 100644 --- a/src/3rdparty/harfbuzz/src/harfbuzz-shaper.cpp +++ b/src/3rdparty/harfbuzz/src/harfbuzz-shaper.cpp @@ -1293,7 +1293,7 @@ HB_Bool HB_OpenTypePosition(HB_ShaperItem *item, int availableGlyphs, HB_Bool do // (int)(positions[i].x_pos >> 6), (int)(positions[i].y_pos >> 6), // positions[i].back, positions[i].new_advance); - HB_Fixed adjustment = (item->item.bidiLevel % 2) ? -positions[i].x_advance : positions[i].x_advance; + HB_Fixed adjustment = positions[i].x_advance; if (!(face->current_flags & HB_ShaperFlag_UseDesignMetrics)) adjustment = HB_FIXED_ROUND(adjustment); |