ref: 00564d48d20887761fd2eb362986b742190983ab
parent: 190de612899d499c2fb36f2d40bee7c45f7127a8
author: Ali Gholami Rudi <ali@rudi.ir>
date: Fri Aug 8 21:01:39 EDT 2014
otf: the kerning value of the second glyph in gpos type 2 format 1
--- a/otf.c
+++ b/otf.c
@@ -380,7 +380,7 @@
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;