diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2012-07-25 19:29:16 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2012-07-25 19:29:16 -0400 |
commit | b847f24ce855d24f6822bcd9c0006905e81b94d8 (patch) | |
tree | 066cbe23b5c0bb1347e60f84bf42c5ae978c0271 | |
parent | 2dbd0fd11799c18bb6c66e337c3e31a1419823d4 (diff) |
[arabic] Fix Arabic cursive positioning
This was clearly broken in testing. Who knows... Fixes for me.
Test with a Nastaleeq font, or with Arabic Typesetting.
Backporting from Chromium.
-rw-r--r-- | src/harfbuzz-shaper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/harfbuzz-shaper.cpp b/src/harfbuzz-shaper.cpp index 7d433ea..7fd04a9 100644 --- a/src/harfbuzz-shaper.cpp +++ b/src/harfbuzz-shaper.cpp @@ -1269,7 +1269,7 @@ HB_Bool HB_OpenTypePosition(HB_ShaperItem *item, int availableGlyphs, HB_Bool do adjustment = HB_FIXED_ROUND(adjustment); if (positions[i].new_advance) { - advances[i] = adjustment; + ; //advances[i] = adjustment; } else { advances[i] += adjustment; } |