[kern/kerx] Fix "reset" magic value

pull/1362/head
Behdad Esfahbod 6 years ago
parent 0123976a0c
commit 8d0f797139
  1. 2
      src/hb-aat-layout-kerx-table.hh
  2. 2
      src/hb-ot-kern-table.hh

@ -238,7 +238,7 @@ struct KerxSubTableFormat1
/* The following flag is undocumented in the spec, but described /* The following flag is undocumented in the spec, but described
* in the 'kern' table example. */ * in the 'kern' table example. */
if (v == 0x8000) if (v == -0x8000)
{ {
crossOffset = 0; crossOffset = 0;
v = 0; v = 0;

@ -287,7 +287,7 @@ struct KernSubTableFormat1
/* The following flag is undocumented in the spec, but described /* The following flag is undocumented in the spec, but described
* in the example. */ * in the example. */
if (v == 0x8000) if (v == -0x8000)
{ {
crossOffset = 0; crossOffset = 0;
v = 0; v = 0;

Loading…
Cancel
Save