Fonts

Traditional Fonts

Traditional fonts are pretty easy to parse:

Some simple text with some bold, italics, underline, colors, and combinations of the above.

Also some font sizes: small (2), normal (3), large (4), and very large (5).

Finally, some different faces: Tahoma, Arial, and Courier New.

Css Fonts

Css fonts are a little harder to parse because of the old-style, severely ambiguous 'font' tag:

font: italic bold small-caps 10pt/24pt Tahoma

font: bold normal 8pt/24pt Tahoma

font: bold italic normal 14pt/24pt Tahoma

font: 10pt/24pt Tahoma

font: bold 9pt Tahoma, Courier New

font: bold 9pt Courier New, Tahoma

font: Tahoma (not supposed to work!)

font: Tahoma 8pt bold (not supposed to work)