MORX–5: Rearrangement underflow

The font for this test case is the same as in MORX-4. The test strings are crafted to trigger rearrangements on sequences that are shorter than the operands of the executed action. For example, rearrangement action 3 swaps the first and last glyph of the marked sequence; so we test what happens when the marked sequence contains just one glyph. If your rendering engine is correctly implemented, it should not perform rearrangements when there are not enough arguments. See also fontkit bug 143.
3: AxD ⇒ DxA
only 1 of 2+ glyphs
4: ABx ⇒ xAB
only 1 of 2+ glyphs
5: ABx ⇒ xBA
only 1 of 2+ glyphs
6: xCD ⇒ CDx
only 1 of 2+ glyphs
Expected
Observed
Conformance
 
7: xCD ⇒ DCx
only 1 of 2+ glyphs
8: AxCD ⇒ CDxA
only 1 of 3+ glyphs
8: AxCD ⇒ CDxA
only 2 of 3+ glyphs
9: AxCD ⇒ DCxA
only 1 of 3+ glyph
Expected
Observed
Conformance
 
9: AxCD ⇒ DCxA
only 2 of 3+ glyphs
10: ABxD ⇒ DxAB
only 1 of 3+ glyph
10: ABxD ⇒ DxAB
only 2 of 3+ glyphs
11: ABxD ⇒ DxBA
only 1 of 3+ glyphs
Expected
Observed
Conformance
 
11: ABxD ⇒ DxBA
only 2 of 3+ glyphs
12: ABxCD ⇒ CDxAB
only 1 of 4+ glyphs
12: ABxCD ⇒ CDxAB
only 2 of 4+ glyphs
12: ABxCD ⇒ CDxAB
only 3 of 4+ glyphs
Expected
Observed
Conformance
 
13: ABxCD ⇒ CDxBA
only 1 of 4+ glyphs
13: ABxCD ⇒ CDxBA
only 2 of 4+ glyphs
13: ABxCD ⇒ CDxBA
only 3 of 4+ glyphs
14: ABxCD ⇒ DCxAB
only 1 of 4+ glyphs
Expected
Observed
Conformance
 
14: ABxCD ⇒ DCxAB
only 2 of 4+ glyphs
14: ABxCD ⇒ DCxAB
only 3 of 4+ glyphs
15: ABxCD ⇒ DCxBA
only 1 of 4+ glyphs
15: ABxCD ⇒ DCxBA
only 2 of 4+ glyphs
Expected
Observed
Conformance
 
15: ABxCD ⇒ DCxBA
only 3 of 4+ glyphs
Expected
Observed
Conformance