Defines a font.
Namespace | http://schemas.microsoft.com/office/word/2003/wordml |
Schema name | XML Document 2003 |
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. |
Attribute | Type | Required | Description | Possible Values |
---|---|---|---|---|
name | stringType | optional | Gets or sets the face name of this font. |
<xsd:complexType name="fontElt" >
<xsd:sequence>
<xsd:element name="altName" type="stringProperty" minOccurs="0" maxOccurs="1">
</xsd:element>
<xsd:element name="panose-1" type="panoseProperty" minOccurs="0" maxOccurs="1">
</xsd:element>
<xsd:element name="charset" type="ucharHexNumberProperty" minOccurs="0" maxOccurs="1">
</xsd:element>
<xsd:element name="family" type="fontFamilyProperty" minOccurs="0" maxOccurs="1">
</xsd:element>
<xsd:element name="notTrueType" type="onOffProperty" minOccurs="0" maxOccurs="1">
</xsd:element>
<xsd:element name="pitch" type="pitchElt" minOccurs="0" maxOccurs="1">
</xsd:element>
<xsd:element name="sig" type="fontSigElt" minOccurs="0" maxOccurs="1">
</xsd:element>
</xsd:sequence>
<xsd:attribute name="name" type="stringType">
</xsd:attribute>
</xsd:complexType>