From b18a56a290bf5330e81019b33f15e6951dd86a8b Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 7 Nov 2018 18:13:22 -0500 Subject: [PATCH] [kerx] Comment --- src/hb-aat-layout-kerx-table.hh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/hb-aat-layout-kerx-table.hh b/src/hb-aat-layout-kerx-table.hh index cc8281491..3cd80acfd 100644 --- a/src/hb-aat-layout-kerx-table.hh +++ b/src/hb-aat-layout-kerx-table.hh @@ -292,6 +292,10 @@ struct KerxSubTableFormat1 hb_glyph_position_t &o = buffer->pos[idx]; + /* Testing shows that CoreText only applies kern (cross-stream or not) + * if none has been applied by previous subtables. That is, it does + * NOT seem to accumulate as otherwise implied by specs. */ + /* The following flag is undocumented in the spec, but described * in the 'kern' table example. */ if (v == -0x8000)