[kern/kerx] Fix "reset" magic value

This commit is contained in:
Behdad Esfahbod 2018-11-07 00:04:40 -05:00
parent 0123976a0c
commit 8d0f797139
2 changed files with 2 additions and 2 deletions

View File

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

View File

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