[aat] Allow DontAdvance

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

Fixes MORX-12 test.
pull/702/head
Behdad Esfahbod 7 years ago
parent 1387fe8f9c
commit 7e2fed6d73
  1. 4
      src/hb-aat-layout-morx-table.hh

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

Loading…
Cancel
Save