Fix GPOS positioning for some fonts
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Tue, 20 Mar 2012 11:01:22 +0000 (12:01 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 20 Mar 2012 16:30:32 +0000 (17:30 +0100)
commit5234e901be550f70134da90ba0c5a89be238a615
treee5d64f0cd09797b906c02042be0c3ebd5d416dfa
parent7165e6803306ec66a41db3f5db53a8134a41559a
Fix GPOS positioning for some fonts

We need to do ACCESS_Frame for each 2 byte frame, otherwise
the position of the cursor in the input stream will not be
updated by enough, and we will read twice as many pairsets.
Depending on the value read for the SecondGlyph in the
broken pairsets, we might get strange kerning results.

Change-Id: I7fb5a850afe0364b3dd50869d5f36fd14d2f4eaf
Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com>
Reviewed-by: Adrian Yanes <ext-adrian.yanes@nokia.com>
src/3rdparty/harfbuzz/src/harfbuzz-gpos.c