Aric Stewart : usp10: Correct lookahead offset in Coverage-based Chaining Context Glyph Substitution .

Alexandre Julliard julliard at winehq.org
Fri May 20 12:44:28 CDT 2011


Module: wine
Branch: master
Commit: ecd43b4bd84de84d79b34bb44fabebbd4fa70731
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ecd43b4bd84de84d79b34bb44fabebbd4fa70731

Author: Aric Stewart <aric at codeweavers.com>
Date:   Thu May 19 10:47:36 2011 -0500

usp10: Correct lookahead offset in Coverage-based Chaining Context Glyph Substitution.

---

 dlls/usp10/shape.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/usp10/shape.c b/dlls/usp10/shape.c
index fb6084e..9263e19 100644
--- a/dlls/usp10/shape.c
+++ b/dlls/usp10/shape.c
@@ -690,7 +690,7 @@ static INT GSUB_apply_ChainContextSubst(const GSUB_LookupList* lookup, const GSU
             for (k = 0; k < GET_BE_WORD(ccsf3_3->LookaheadGlyphCount); k++)
             {
                 offset = GET_BE_WORD(ccsf3_3->Coverage[k]);
-                if (GSUB_is_glyph_covered((const BYTE*)ccsf3_1+offset, glyphs[glyph_index + (dirLookahead * (indexGlyphs + k+1))]) == -1)
+                if (GSUB_is_glyph_covered((const BYTE*)ccsf3_1+offset, glyphs[glyph_index + (dirLookahead * (indexGlyphs + k))]) == -1)
                     break;
             }
             if (k != GET_BE_WORD(ccsf3_3->LookaheadGlyphCount))




More information about the wine-cvs mailing list