PNG file text-font-BE-16.png, which shows the correct result as a raster image

Purpose of test is to determine if the font weight is being correctly selected. A number of font families are specified, which have at least two weights available. The numerical weight values (100 to 900) should show at least two different font weights, with the lighter weight on the lower numbers and the heavier weight on the larger numbers.

The absolute keywords 'normal' and bold' are tested by the first two lines on the right hand side of the test, the third line of text is normal, to test the to 'bolder' relative keyword and the fourth line is bold, to test the 'lighter' relative keyword. Text that should be affected by the relative font weights is shown in blue.