Operator Script
Slowly move the mouse over the characters on each row.
Pass Criteria
- The first two lines must behave the same way, and must turn green only when a glyph is hovered, note that this includes the space glyph which covers about half the distance between each pair of the other glyphs.
- The third line must turn green only when hovering each of the visible glyphs, not the whitespace.
- The fourth line must turn green only when a glyph is hovered, note that this includes the space glyph which covers about half the distance between each pair of the other glyphs.
- The fifth line must turn green only when hovering each of the visible glyphs, not the whitespace.
Test Description
Tests where text is considered intersected by the cursor when letter-spacing is used.
The first two lines should look the same, but the second line is using a slightly different svgfont that defines an empty path for the space glyph.
The third line doesn't have any spaces, just letter-spacing, so there are no glyphs in between the letters. Hovering the whitespace between the letters should not highlight the line.
The fourth line has a space glyph between the other glyphs, and letter-spacing.
The fifth line has no spaces only letter-spacing.