< prev | next >

font < Attributes < Home

font

The font attribute specifies the typeface for text. WxML does not support specific fonts by name. Instead, it supports a set of general font types, which are described below.

Supporting Tags

The font attribute is currently supported by the <textStyle> tag. The default value is "standard".

Examples

<textStyle font="sansSerif" style="bold"/>
<textStyle font="serif" size="18"/>
<textStyle font="monospace" style="underline+bold+italic"/>
<textStyle font="script"/>

Notes

Because font availability and appearance is platform-dependent, WxML does not support specific fonts by name. WxML's generic font types are mapped to specific fonts on Macintosh and Windows. Supported values for the font attribute, along with the platform-specific fonts they map to, are listed below.

value

Macintosh

Windows

 standard

Geneva

Arial

serif

Times

Times New Roman

sansSerif

Helvetica

Helvetica

monospace

Monaco

Courier New

script

Apple Chancery

Brush Script MT

Confidential. Copyright © 2002, Oklahoma Climatological Survey. All Rights Reserved.
Send questions or comments concerning this web page to
wolfie@ou.edu.