### MORX-17: Rearrangement with DontAdvance at End of Text

The font for this test case has an AAT Extended Glyph Metamorphosis Table with a single Rearrangement Subtable. Its finite-state machine contains a single state with the following transitions:

- For glyph A, the transition carries the MarkFirst flag. No rearrangement action is performed.
- For glyph B, the transition carries the MarkLast flag. No rearrangement action is performed.
- For End of text, the transition carries the DontAdvance flag and performs a rearrangement action of type 1 (Ax ⇒ xA).
- For any other glyphs, the machine performs no action.

The input string for this test case is AB. If your rendering system correctly implements Apple Advanced Typography, the A glyph should be rearranged to the end of the rendered string when your implementation executes the rearrangement for the End-of-text transition. Despite the presence of the DontAdvance flag, the result should be BA. See also fontkit bug 147.

| AB
--- | ---
Expected |
Observed |
Conformance |