[aat] Allow DontAdvance

Apparently CoreText does allow these.  To be done: detect infinite
loops.

Fixes MORX-12 test.
This commit is contained in:
Behdad Esfahbod 2018-01-11 19:25:21 +01:00
parent 1387fe8f9c
commit 7e2fed6d73
1 changed files with 2 additions and 2 deletions

View File

@ -155,7 +155,7 @@ struct RearrangementSubtable
}
}
if (false/* TODO */ && flags & DontAdvance)
if (flags & DontAdvance)
i--; /* TODO Detect infinite loop. */
state = entry->newState;
@ -259,7 +259,7 @@ struct ContextualSubtable
}
}
if (false/* TODO */ && flags & DontAdvance)
if (flags & DontAdvance)
i--; /* TODO Detect infinite loop. */
state = entry->newState;