[aat] Allow DontAdvance
Apparently CoreText does allow these. To be done: detect infinite loops. Fixes MORX-12 test.
This commit is contained in:
parent
1387fe8f9c
commit
7e2fed6d73
|
@ -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…
Reference in New Issue