font-style attribute

Type:"normal", "italic", "oblique", "outline" or "filled"
Inherited:yes
Used By:All text elements
Default:"normal, filled"
See:color font-stretch font-weight font outline-color outline-width

The style to apply to the font. A combination of "filled", "outline", "italic" or "normal", where both "filled" and "outline" can be set at once, but only one of "normal" or "italic" can be set.

Setting the font-style to include "outline" will cause the text to be drawn with an outline as specified by the outline-color and outline-width attributes. Setting the font-style to include "filled" will cause the text to be drawn and filled with the color attribute.

Note that "oblique" is a synonym for italic.

.italicoutline { font-style:'italic outline'; }