Specification link: 10.4 The 'text' element

text-text-05-t ← index → text-text-07-t

Tests that contain the draft-watermark are under development and may be incorrectly testing a feature.

# text-text-06-t.svg
SVG Image | PNG Image

## Operator Script

Run the test. No interaction required.

## Pass Criteria

The test is passed if:

- The bottom left hand corners of the first row of black squares are equal distance apart along the x axis and are centered inside the blue squares.
- The bottom left hand corners of the first row of black squares are equal distance apart along the x and y axis and are centered inside the blue squares.
- The bottom left hand corners of the first row of black squares are same distance apart in the x axis as the first row of squares and are same distance apart in the y axis as the second row of squares.

## Test Description

The purpose of this test is to validate the interaction of x/y glyph positioning and ligatures.

The first line shows an example where there is a ligature (fi) which should be accounted for before breaking into text chunks (see specification section 10.5, additional x/y/dx/dy processing rules, bullet discussing ligatures). In this first line, the ligatures cause the x position 180 (shown in orange), to be ignored. As a result, a glyph should be shown over each pale blue square markers. The glyphs are black squares of increasing sizes except for the initial ligature which has the form of two small black triangles joined at their tops. The ligature should show on the first pale blue marker position.

The second line shows the same test but using multiple y positions.

The third line shows the same test but using multiple x and y positions.

text-text-05-t ← index → text-text-07-t