font element

Represents one of the fonts used in the document.

Usage

      
<font
	name="stringType"
/>

    

Element Information

Element type fontElt
Namespace http://schemas.microsoft.com/office/word/2003/wordml
Schema name XML Document 2003

Elements and Attributes

Parent Elements

Element Description
fonts Represents font definitions.
fonts Represents the font definitions.

Child Elements

Element Description
altName Represents the alternate name for the font.
panose-1 Represents the PANOSE typeface classification number, which is a compact 10-byte description of a fonts critical visual characteristics, such as contrast, weight, and serif style. The digits represent Family Kind, Serif Style, Weight, Proportion, Contrast, Stroke Variation, Arm Style, Letterform, Midline, and X-Height.
charset Represents the character set for the font.
family Represents the font family this font belongs to. A font family is a set of fonts having common stroke width and serif characteristics. There are five font families. A sixth family allows Word to use the default font.
notTrueType Represents indicates that this font is not a TrueType or OpenType font, but rather a raster or vector font.
pitch Represents specified the font pitch. The pitch indicates if the font is fixed pitch, proportionally spaced, or relies on a default setting.
sig Contains information identifying the code pages and Unicode subranges for which a specified font provides glyphs.

Attributes

Attribute Type Required Description Possible Values
name stringType optional Gets or sets the face name of this font.

Definition

      
<xsd:element name="font" type="fontElt" minOccurs="0" maxOccurs="unbounded" >
</xsd:element>


    
©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp