DR-09-0038: WML/PML/DML: Panose-1 Typeface Classification
Shawn Villaron
shawnv at microsoft.com
Mon Jun 8 05:14:26 CEST 2009
Greetings,
This defect report recommends renaming some of the simple and complex types to bring more clarity to the fact that we are using Panose 1 classification numbers, in light of a whitepaper existing regarding Panose 2. The recommendation in Prague was that we leave the simple and complex types as-is, and make a narrative note that we're indeed talking about Panose 1 classification numbers.
This evening I have reviewed the current version of the 29500 text and we are already clarifying our use of Panose 1 via narrative notes in the documentation. Here is an example of how we do this ( emphasis mine ):
17.8.3.13 panose1 (Panose-1 Typeface Classification Number)
This element specifies the Panose-1 classification number for the current font using the mechanism defined in §4.2.7.17 of ISO/IEC 14496-22:2007. This information can 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 no Panose-1 information is available.
[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]
Parent Elements
font (§17.8.3.10)
Attributes
Description
val (Value)
Specifies the Panose-1 classification number for the font, stored as a series of two digit hexadecimal encodings of each digits of the Panose number.
[Example: Consider the following information stored for a single font:
<w:panose1 w:val="020F0603050405020304" />
The val attribute specifies that the digits in the Panose-1 number are: 2,15,6,3,5,2,3,4. end example]
The possible values for this attribute are defined by the ST_Panose simple type (§22.9.2.8).
[Note: The W3C XML Schema definition of this element's content model (CT_Panose) is located in §A.1. end note]
I have only found one Panose reference which did not have a nearly immediate clarification regarding Panose 1. Here is the text of that reference:
21.1.2.5 Font Substitution
If any DrawingML element references a font and an appropriate format of the font is not stored within the document, the process of finding a suitable alternative font is known as font substitution.
The following elements specify font information: buFont at panose (§21.1.2.4..6); cs at panose (§21.1.2.3.1); ea at panose (§21.1.2.3.3); font at panose (§19.2.1.13); latin at panose (§21.1.2.3.7); sym at panose (§21.1.2.3.10).
The exact algorithm which is used for font substitution is highly dependent on the characteristics which are most desirable when performing the substitution: similar appearance of each glyph (to maximize visual familiarity), similar physical characteristics (to minimize changes in line height and breaking), etc. ISO/IEC 29500 recommends that applications look for the closest match to the following attribute values (in descending priority) in order to determine a suitable alternative font: panose, charset, pitchFamily, and typeface; however, applications are free to apply higher-order logic in its place.
I do not believe that there is much value add to provide another narrative reference to Panose 1 classification numbers as this will become very evident to the reader when she looks into the definition of the therein referenced entities.
It is based on this investigation that I recommend we CLOSE this defect report WITHOUT ACTION.
Thanks,
shawn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.vse.cz/pipermail/sc34wg4/attachments/20090607/e2a5d898/attachment.htm>
More information about the sc34wg4
mailing list