From 2b72c4b63d29eea39b646c8a1a1cfc2db732e1a6 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 10 Oct 2018 21:53:14 -0400 Subject: [PATCH] [kerx] Comment --- src/hb-aat-layout-kerx-table.hh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/hb-aat-layout-kerx-table.hh b/src/hb-aat-layout-kerx-table.hh index cc99868..881ab4e 100644 --- a/src/hb-aat-layout-kerx-table.hh +++ b/src/hb-aat-layout-kerx-table.hh @@ -123,6 +123,9 @@ struct KerxSubTableFormat1 inline driver_context_t (const KerxSubTableFormat1 *table, hb_aat_apply_context_t *c_) : c (c_), + /* Apparently the offset kernAction is from the beginning of the state-machine, + * similar to offsets in morx table, NOT from beginning of this table, like + * other subtables in kerx. Discovered via testing. */ kernAction (&table->machine + table->kernAction), depth (0) {} -- 2.7.4