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



raster image of fonts-desc-05-t.svg

Operator Script

Run the test. No interaction required.

Pass Criteria

The correct result for the first line is diamond, diamond, upward-triangle, downard-triangle. The correct result for the second line is upward-triangle, downard triangle, and a right-triangle.

Reasoning for glyphs on the first line: The first character is a diamond because it is matched purely on the font-style attribute. The second character is a diamond because font-style (italic) is of highest precedence, followed by font-variant (normal), then font-weight (bold). The third character matches upward-triangle because again font-variant (small-caps) is a higher precedence than font-weight. The fourth character undisputedly matches the downward-triangle.

Reasoning for the glyphs on the second line: The first character is a upward-triangle because the font matching must fall back to SVGFont1 to get a match for small-caps. The second character is a downward-triangle because there is no match for small-caps in SVGFont2. The third character is a right facing triangle because italic should match oblique in SVGFont2.

Test Description

This tests a combination of font attribute matching.