raster image of text-fonts-04-t

Testing font-family attribute. Various text elements are used with varying values for the font-family attribute. The first two text elements should display in their respective fonts, Haettenschweiler and , if they are installed on the target system. Otherwise, simply displaying the text in some fallback font is enough to pass the test. The last two should be displayed using a fallback font since the value specified for font-family is either invalid or not specified. Failing to display the text means the test is not passed.

If the two named fonts are available on the system, the rendered picture should match the reference image exactly, except for possible variations in the labelling text (per CSS2 rules) and variations in text antialiasing or hinting.