From 00564d48d20887761fd2eb362986b742190983ab Mon Sep 17 00:00:00 2001 From: Ali Gholami Rudi Date: Sat, 9 Aug 2014 01:01:39 +0430 Subject: [PATCH] otf: the kerning value of the second glyph in gpos type 2 format 1 --- otf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otf.c b/otf.c index c469b74..2e18c1d 100644 --- a/otf.c +++ b/otf.c @@ -380,7 +380,7 @@ static void otf_gpostype2(void *otf, void *sub, char *feat) for (j = 0; j < nc2; j++) { int second = U16(c2 + 2 + (2 + vrlen) * j, 0); fmtoff1 = 2 + (2 + vrlen) * j + 2; - fmtoff2 = fmtoff1 + valuerecord_len(vfmt2); + fmtoff2 = fmtoff1 + valuerecord_len(vfmt1); if (valuerecord_small(vfmt1, c2 + fmtoff1) && valuerecord_small(vfmt2, c2 + fmtoff2)) continue; -- 2.11.4.GIT