MORX–11: “End of Text” Rearrangement with MarkLast Flag

The font for this test case has an AAT Extended Glyph Metamorphosis Table with a single Rearrangement Subtable. Its finite-state machine contains one single state with the following transitions:
The input string for this test case is BABBAABX. If your rendering system correctly implements Apple Advanced Typography, the finite-state machine should have marked the last A (the third-last glyph in the input string) before taking the final end-of-text transition. When processing end-of-text, your implementation should first extend the marked glyph sequence to the trailing ABX, and then perform a rearrangement for moving X to the front of the marked sequence. See also fontkit bug 145.
Expected
Observed
Conformance