1、BS ISO/IEC 9541-4:2009 ICS 35.240.30 NO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMITTED BY COPYRIGHT LAW BRITISH STANDARD Information technology - Font information interchange Part 4: Harmonization to Open Font Format Incorporating December 2009 corrigendum National foreword This British Standard
2、 is the UK implementation of ISO/IEC 9541-4:2009, incorporating corrigendum December 2009. The start and finish of text introduced or altered by corrigendum is indicated in the text by tags. Text altered by ISO/IEC corrigendum December 2009 is indicated in the text by . The UK participation in its p
3、reparation was entrusted to Technical Committee IST/41, Document description and processing language. A list of organizations represented on this committee can be obtained on request to its secretary. This publication does not purport to include all the necessary provisions of a contract. Users are
4、responsible for its correct application. Compliance with a British Standard cannot confer immunity from legal obligations. BS ISO/IEC 9541-4:2009 This British Standard was published under the authority of the Standards Policy and Strategy Committeeon on 30 April 2009 BSI 2010Amendments/corrigenda is
5、sued since publication Date Comments 28 February 2010 Implementation of ISO/IEC corrigendum December 2009 ISBN 978 0 580 70024 8 Reference number ISO/IEC 9541-4:2009(E) ISO/IEC 2010INTERNATIONAL STANDARD ISO/IEC 9541-4 First edition 2009-04-01 Information technology Font information interchange Part
6、 4: Harmonization to Open Font Format Technologies de linformation change dinformation sur les polices de caractres Partie 4: Harmonisation au format de police de caractres ouvert ISO/IEC 9541-4:2009(E) PDF disclaimer This PDF file may contain embedded typefaces. In accordance with Adobes licensing
7、policy, this file may be printed or viewed but shall not be edited unless the typefaces which are embedded are licensed to and installed on the computer performing the editing. In downloading this file, parties accept therein the responsibility of not infringing Adobes licensing policy. The ISO Cent
8、ral Secretariat accepts no liability in this area. Adobe is a trademark of Adobe Systems Incorporated. Details of the software products used to create this PDF file can be found in the General Info relative to the file; the PDF-creation parameters were optimized for printing. Every care has been tak
9、en to ensure that the file is suitable for use by ISO member bodies. In the unlikely event that a problem relating to it is found, please inform the Central Secretariat at the address given below. COPYRIGHT PROTECTED DOCUMENT ISO/IEC 2009 All rights reserved. Unless otherwise specified, no part of t
10、his publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from either ISO at the address below or ISOs member body in the country of the requester. ISO copyright office Case postale 56 CH-1
11、211 Geneva 20 Tel. + 41 22 749 01 11 Fax + 41 22 749 09 47 E-mail copyrightiso.org Web www.iso.org Published in Switzerland ii ISO/IEC 2010 All rights reservedBS ISO/IEC 9541-4:2009ISO/IEC 9541-4:2009(E) ISO/IEC 2010 All rights reserved iiiContents Page Foreword iv Introduction.v 1 Scope1 2 Normativ
12、e references1 3 Terms and definitions .2 4 Harmonization to Open Font Format.2 4.1 Harmonization of the elements in OFF “head” table .2 4.2 Harmonization of the elements in OFF “name” table 5 4.3 Harmonization of the elements in OFF “hhea” table .6 4.4 Harmonization of the elements in OFF “hmtx” tab
13、le.7 4.5 Harmonization of the elements in OFF “vhea” table .8 4.6 Harmonization of the elements in OFF “vmtx” table .9 4.7 Harmonization of the elements in OFF “maxp” table 10 4.8 Harmonization of the elements in OFF “kern” table10 4.9 Harmonization of the elements in OFF “post” table12 4.10 Harmoni
14、zation of the elements in OFF “CFF” table 12 4.11 Harmonization of the elements in OFF “OS/2” table .17 4.12 Harmonization of the elements in OFF “PCLT” table 21 4.13 Harmonization of the elements in OFF “VORG” table.22 4.14 Harmonization of the elements in OFF “VDMX” table .23 5 Harmonization to th
15、e glyph names in OFF file.23 6 Layout Tag Registry and ISO/IEC 10036 .23 Annex A (informative) Harmonization of numerical properties to OFFS 24 A.1 General .24 A.2 Comparison of the definitions of metric properties in OFFS and ISO/IEC 9541.24 A.2.1 Horizontal metric properties 24 A.2.2 Vertical metr
16、ic properties .25 A.3 Harmonization of the numerical elements in OFF tables 26 A.3.1 Harmonization of the elements in OFF “head“ table .26 A.3.2 Harmonization of the elements in OFF “hhea” table .26 A.3.3 Harmonization of the elements in OFF “hmtx” table.27 A.3.4 Harmonization of the elements in OFF
17、 “vhea” table .28 A.3.5 Harmonization of the elements in OFF “vmtx” table .29 A.3.6 Harmonization of the elements in OFF “kern” table30 A.3.7 Harmonization of the elements in OFF “post“ table 30 A.3.8 Harmonization of the elements in OFF “CFF” table 31 A.3.9 Harmonization of the elements in OFF “OS/
18、2” table .31 A.3.10 Harmonization of the elements in OFF “PCLT” table 33 A.3.11 Harmonization of the elements in OFF “VORG” table.35 Bibliography36 BS ISO/IEC 9541-4:2009ISO/IEC 9541-4:2009(E) iv ISO/IEC 2010 All rights reservedForeword ISO (the International Organization for Standardization) and IE
19、C (the International Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of ISO or IEC participate in the development of International Standards through technical committees established by the respective organization to deal with p
20、articular fields of technical activity. ISO and IEC technical committees collaborate in fields of mutual interest. Other international organizations, governmental and non-governmental, in liaison with ISO and IEC, also take part in the work. In the field of information technology, ISO and IEC have e
21、stablished a joint technical committee, ISO/IEC JTC 1. International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2. The main task of the joint technical committee is to prepare International Standards. Draft International Standards adopted by the joint te
22、chnical committee are circulated to national bodies for voting. Publication as an International Standard requires approval by at least 75 % of the national bodies casting a vote. Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. ISO
23、 and IEC shall not be held responsible for identifying any or all such patent rights. ISO/IEC 9541-4 was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology, Subcommittee SC 34, Document description and processing languages. ISO/IEC 9541 consists of the following parts, under
24、 the general title Information technology Font information interchange: Part 1: Architecture Part 2: Interchange format Part 3: Glyph shape representation Part 4: Harmonization to Open Font Format BS ISO/IEC 9541-4:2009ISO/IEC 9541-4:2009(E) ISO/IEC 2010 All rights reserved vIntroduction ISO/IEC 954
25、1 is a font information interchange standard and is designed to be independent of any concrete font file format. The Open Font Format (ISO/IEC 14496-22) is a font file format specification that is based on the TrueType font file format. With regard to the handling and utilization of the typographic
26、properties stored in OFF file, ISO/IEC 14496-22 describes the implementations on Microsoft Windows or IBM OS/2 only. Therefore, ISO/IEC 14496-22 does not specify the method for defining a font resource in ISO/IEC 9541 architectures from a given OFF file, because it is out of the scope. ISO/IEC 9541-
27、4 fills the gap between OFF file and font resource in ISO/IEC 9541. BS ISO/IEC 9541-4:2009INTERNATIONAL STANDARD ISO/IEC 9541-4:2009(E) ISO/IEC 2010 All rights reserved 1Information technology Font information interchange Part 4: Harmonization to Open Font Format 1 Scope ISO/IEC 9541 specifies the a
28、rchitecture of font resources, as well as the formats for font interchange among information processing systems. It also specifies the architecture and formats that can be used to construct font references in general electronic document interchange. This part of ISO/IEC 9541 specifies the correspond
29、ences between ISO/IEC 9541 font resource and ISO/IEC 14496-22 Open Font Format file (OFF), to define ISO/IEC 9541 font resource from a given OFF file. The classification (required or optional), syntax, and possible values of the properties are defined in ISO/IEC 9541-1 and ISO/IEC 9541-2. The glyph
30、shape representation and its interpretation are defined in ISO/IEC 9541-3. 2 Normative references The following referenced documents are indispensable for the application of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the referen
31、ced document (including any amendments) applies. ISO/IEC 9541-1, Information technology Font information interchange Part 1: Architecture ISO/IEC 9541-2, Information technology Font information interchange Part 2: Interchange format ISO/IEC 9541-3, Information technology Font information interchange
32、 Part 3: Glyph shape representation ISO/IEC 10036, Information technology Font information interchange Procedures for registration of font- related identifiers ISO/IEC 10180, Information technology Processing languages Standard Page Description Language (SPDL) ISO/IEC 14496-18, Information technolog
33、y Coding of audio-visual objects Part 18: Font compression and streaming ISO/IEC 14496-22, Information technology Coding of audio-visual objects Part 22: Open Font Format BS ISO/IEC 9541-4:2009ISO/IEC 9541-4:2009(E) 2 ISO/IEC 2010 All rights reserved3 Terms and definitions For the purposes of this d
34、ocument, the terms and definitions given in ISO/IEC 9541-1, ISO/IEC 9541-2, ISO/IEC 9541-3, ISO/IEC 14496-22 and the following apply. NOTE The definitions given in 3.1 and 3.2 take precedence over the definitions of the same terms given in ISO/IEC 9541-1, ISO/IEC 9541-2, ISO/IEC 9541-3 and ISO/IEC 1
35、4496-22. 3.1 AFII glyph name glyph name defined by the Association for Font Information Interchange (AFII) 3.2 italic script typeface NOTE 1 In ISO/IEC 9541, “italic” does not refer to the oblique typeface that makes the upright typeface slanted. NOTE 2 In ISO/IEC 14496-22, “italic” means both the s
36、cript typeface and the oblique typeface synthesized from the normal typeface. 4 Harmonization to Open Font Format 4.1 Harmonization of the elements in OFF “head” table 4.1.1 “Table version number” element ISO/IEC 9541-1, ISO/IEC 9541-2 and ISO/IEC 9541-3 have no predefined property to interchange th
37、is value which describes the concrete file structure. 4.1.2 “fontRevision” element This element is used to define ISO/IEC 9541-1 DATAVERSION. 4.1.3 “checkSumAdjustment” element ISO/IEC 9541-1, ISO/IEC 9541-2 and ISO/IEC 9541-3 have no predefined property to interchange this value which is used by th
38、e checksum calculation. 4.1.4 “magicNumber” element ISO/IEC 9541-1, ISO/IEC 9541-2 and ISO/IEC 9541-3 have no predefined property to interchange this value because it is constant and specific to OFF file. 4.1.5 “flags” element The flags element is 16 bit value to describe the feature of the OFF file
39、. The font file of OFF stores this element in big endian and the bit0 means its LSB, bit15 means its MSB. The bit5-10 are used by TrueType fonts designed for Apple Macintosh font manager, but their specification is out of OFF. a) bit0 Bit0 shows Boolean flag if Baseline is set to y=0 line. ISO/IEC 9
40、541-1, ISO/IEC 9541-2 and ISO/IEC 9541-3 do not have per-font Boolean flag for the position of Baseline. BS ISO/IEC 9541-4:2009ISO/IEC 9541-4:2009(E) ISO/IEC 2010 All rights reserved 3b) bit1 Bit1 shows Boolean flag if LeftSideBearing is set to x=0 line. ISO/IEC 9541-1, ISO/IEC 9541-2 and ISO/IEC 95
41、41-3 do not have per-font Boolean flag for the position of LeftSideBearing. c) bit2 Bit2 shows Boolean flag if sfnt TrueType glyph procedure depends on pointsize. ISO/IEC 9541-1 and ISO/IEC 9541-2 have no per-font boolean flag for specific glyph shape representation. d) bit3 Bit3 shows Boolean flag
42、if PPEM is integer. ISO/IEC 9541-1, ISO/IEC 9541-2 and ISO/IEC 9541-3 have no predefined property to interchange this value which depends on glyph shape representation and the glyph shape procedure interpreter. e) bit4 Bit4 shows Boolean flag if Microsoft instruction to change character width is use
43、d. ISO/IEC 9541-1 and ISO/IEC 9541-2 have no per-font Boolean flag for specific glyph shape representation. f) bit11 Bit11 shows Boolean flag if this OFF file is Agfa MicroType font. ISO/IEC 9541-1, ISO/IEC 9541-2 and ISO/IEC 9541-3 have no predefined property to interchange this value because this
44、value declares the font file compression technology defined in ISO/IEC 14496-18 and has no effects on font properties. g) bit12 Bit12 shows Boolean flag if this OFF file is converted file. ISO/IEC 9541-1, ISO/IEC 9541-2 and ISO/IEC 9541-3 have no predefined property to interchange this value because
45、 this value declares the source of font file and has no effects on font properties. h) bit13 Bit13 shows Boolean flag if this OFF file is designed for Microsoft ClearType rasterizer. ISO/IEC 9541-1, ISO/IEC 9541-2 and ISO/IEC 9541-3 have no predefined property to interchange this value because it is
46、 used by specific implementation. 4.1.6 “unitPerEm” element This element is used to define ISO/IEC 9541-1 RELUNITS. 4.1.7 “created” element This element is used to define ISO/IEC 9541-1 DATAVERSION. 4.1.8 “modified” element This element is used to define ISO/IEC 9541-1 DATAVERSION. 4.1.9 “xMin” elem
47、ent This element is used to define minx in ISO/IEC 9541-1 MAXFONTEXT. 4.1.10 “yMin” element This element is used to define miny in ISO/IEC 9541-1 MAXFONTEXT. BS ISO/IEC 9541-4:2009ISO/IEC 9541-4:2009(E) 4 ISO/IEC 2010 All rights reserved4.1.11 “xMax” element This element is used to define maxx in IS
48、O/IEC 9541-1 MAXFONTEXT. 4.1.12 “yMax” element This element is used to define maxy in ISO/IEC 9541-1 MAXFONTEXT. 4.1.13 “macStyle” element The font file of OFF stores this element in big endian and the bit0 means its LSB, bit15 means its MSB. ISO/IEC 9541-1, ISO/IEC 9541-2 and ISO/IEC 9541-3 have no
49、 predefined property to interchange this value. This element is used by Apple Macintosh to declare an OFF file as an embolden typeface of another typeface. In the matching, the combination of FamilyName and macStyle is used. ISO/IEC 9541-1, ISO/IEC 9541-2 and ISO/IEC 9541-3 do not provide such mechanism to relate a typeface to another typeface. a) bit0 Bit0 shows Boolean flag if the glyph in this OFF file is already emboldened. This element is used to define ISO/IEC 9541-1 WEIGHT. b) bit1 Bit1 s