[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

hps (Phonetic Guide Text Font Size)

This element specifies the font size which shall be applied to the phonetic guide text in the contents of this run when displayed.

If this element disagrees with the run properties on the phonetic guide text rt element (§2.3.3.23), then those properties shall be ignored and this element shall determine the size of the phonetic guide text.

[Example: Consider a run of phonetic guide text which shall have an explicit font size of 13.5 points. This constraint is specified using the following WordprocessingML:

<w:rubyPr>

<w:hps w:val="27"/>


</w:rubyPr>

The hps property is 27 half-points for the ruby text in this run, so the phonetic guide text will be displayed in 13.5 point font size. end example]

Parent Elements

rubyPr2.3.3.27)

 

Attributes

Description

val (Half Point Measurement)

Specifies a positive measurement specified in half-points (1/144 of an inch).

 

The contents of this attribute value are interpreted based on the context of the parent XML element.

 

[Example: Consider the following WordprocessingML fragment:

 

<w:rPr>

<w:sz w:val="28" />

</w:rPr>

 

The value of the val attribute is the font size of the run's contents.

 

However, consider the following fragment:

 

<w:rPr>

<w:kern w:val="30" />

</w:rPr>

 

In this case, the value in the val attribute is the minimum size for which font characters shall be automatically kerned.

 

In each case, the value is interpreted in the context of the parent element. end example]

 

The possible values for this attribute are defined by the ST_HpsMeasure simple type2.18.48).

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

<complexType name="CT_HpsMeasure">

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

</complexType>