[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

family (Font Family)

This element specifies the font family of the current font. This information may be used as defined in font substitution logic to locate an appropriate substitute font when this font is not available. This information is determined by querying the font when present and shall not be modified when the font is not available.

If this element is omitted, then its value shall be assumed to be auto.

[Example: Consider the following information stored for a single font:

<w:font w:name="Calibri">
<w:family w:val="swiss" />

</w:font>

The family element specifies via its val attribute value of swiss that this font is part of the Swiss family. end example]

Parent Elements

font2.8.2.10)

 

Attributes

Description

val (Font Family Value)

Specifies the font family for the parent font.

 

[Example: Consider the following information stored for a single font:

 

<w:font w:name="Times New Roman">
<w:family w:val="roman" />

</w:font>

 

The val attribute value of swiss that this font is part of the Roman family. end example]

 

The possible values for this attribute are defined by the ST_FontFamily simple type2.18.34).

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_FontFamily">

   <attribute name="val" type="ST_FontFamily" use="required"/>

</complexType>