Defines a font.
Type Information
Namespace
|
http://schemas.microsoft.com/office/word/2003/wordml |
Schema name
|
wordnet |
Elements and Attributes
Child Elements
Element |
Type |
Description |
altName |
stringProperty |
Represents the alternate name for the font. |
panose-1 |
panoseProperty |
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 |
ucharHexNumberProperty |
Represents the character set for the font. |
family |
fontFamilyProperty |
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 |
onOffProperty |
Represents indicates that this font is not a TrueType or OpenType font, but rather a raster or vector font. |
pitch |
pitchElt |
Represents specified the font pitch. The pitch indicates if the font is fixed pitch, proportionally spaced, or relies on a default setting. |
sig |
fontSigElt |
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
XML |
---|
<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>
|
©2006 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/odcXMLRefLegalNotice12.asp