[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

ST_Hint (Font Type Hint)

Specifies the font type which shall be used to format any ambiguous characters in the current run.

There are certain characters which are not explicitly stored in the document, and may be mapped into multiple categories of the four mentioned above. This attribute shall be used to arbitrate that conflict, and determine how ambiguities in this run shall be handled. [Note: This is primarily used to handle the formatting on the paragraph mark glyph, and other characters that are not stored as text in the WordprocessingML document. end note]

[Example: Consider the run representing the paragraph mark glyph, which is not stored as a physical character. Since this could therefore be formatted with any of the fonts specified for the run, this ambiguity is resolved using the following WordprocessingML:

<w:pPr>
<w:rPr>
<w:rFonts w:hint="eastAsia" />
</w:rPr>
</w:pPr>

The hint attribute specifies that the run shall use the eastAsia font (theme or not, whichever is in use for East Asian text) as applied for this run. end example]

This simple type's contents are a restriction of the XML Schema string datatype.

The following are possible enumeration values for this type:

Enumeration Value

Description

cs (Complex Script Font)

Specifies that the font hint for this text run shall be to use the Complex Script font defined on the run via the style hierarchy.

default (High ANSI Font)

Specifies that the font hint for this text run shall be to use the High ANSI font defined on the run via the style hierarchy.

eastAsia (East Asian Font)

Specifies that the font hint for this text run shall be to use the East Asian font defined on the run via the style hierarchy.

 

Referenced By

rFonts@hint2.3.2.24)

The following XML Schema fragment defines the contents of this simple type:

<simpleType name="ST_Hint">

   <restriction base="xsd:string">

   <enumeration value="default"/>

   <enumeration value="eastAsia"/>

   <enumeration value="cs"/>

   </restriction>

</simpleType>