22.9.2.8 ST_Panose
This simple type specifies a Panose-1 font classification. This value is used as one piece of information to guide selection of a similar alternate font if the desired font is unavailable.
[Guidance: ISO/IEC 14496-22 refers to the Panose specification dated 1997, but some implementations of ISO/IEC 29500 may follow an older precursor version of the Panose specification. Some values between the two versions are incompatible and the handling of these differences is implementation-defined.
Panose-1 values designed for the older version should match one of the following 3 regular expressions:
\s*(00\s*){10}\s*
\s*(01\s*){10}\s*
\s*0[2-5]\s*0[0-9A-Fa-f]\s*0[0-9ABab]\s*0[0-9]\s*0[0-9]\s*0[0-9Aa]\s*0[0-
9ABab]\s*0[0-9A-Fa-f]\s*0[0-9A-Da-d]\s*0[0-7]\s*
Panose-1 values designed for ISO/IEC 14496-22 should match one of the following 6 regular expressions:
\s*(00\s*){10}\s*
\s*(01\s*){10}\s*
\s*02\s*0[0-9A-Fa-f]\s*0[0-9ABab]\s*0[0-9]\s*0[0-9]\s*0[0-9Aa]\s*0[0-9ABab]\s*0[0-
9A-Fa-f]\s*0[0-9A-Da-d]\s*0[0-7]\s*
\s*03\s*0[0-9]\s*0[0-9ABab]\s*0[0-3]\s*0[0-6]\s*0[0-9]\s*0[0-9Aa]\s*0[0-9A-Da-
d]\s*0[0-9A-Da-d]\s*0[0-6]\s*
\s*04\s*0[0-9A-Ca-c]\s*0[0-9ABab]\s*0[0-9]\s*0[0-9A-Da-d]\s*(0[0-9A-Fa-
f]|10)\s*0[0-7]\s*0[0-8]\s*0[0-9A-Fa-f]\s*0[0-5]\s*
\s*05\s*0[0-9A-Ca-c]\s*01\s*0[0-3]\s*01\s*0[0-9]\s*0[0-9]\s*0[0-9]\s*0[0-9]\s*0[0-
9]\s*
end guidance]
[Example: Consider the following information stored for a single font:
<w:font w:name="Times New Roman">
<w:panose1 w:val="02020603050405020304" />
…
</w:font>
The panose1 element specifies its Panose-1 number via its val attribute value of 02020603050405020304. end example]
This simple type’s contents are a restriction of the W3C XML Schema hexBinary datatype.
This simple type also
specifies the following restrictions:
- This simple type’s contents have a length of exactly 20 hexadecimal digit(s).
[Note: The W3C XML Schema definition of this simple type’s content model (ST_Panose) is located in A.6.9. end note]