ECMA TR 53-1992 Handling of Bi-Directional Texts (2nd Edition)《双向文本的处理 第2版》.pdf
《ECMA TR 53-1992 Handling of Bi-Directional Texts (2nd Edition)《双向文本的处理 第2版》.pdf》由会员分享,可在线阅读,更多相关《ECMA TR 53-1992 Handling of Bi-Directional Texts (2nd Edition)《双向文本的处理 第2版》.pdf(30页珍藏版)》请在麦多课文档分享上搜索。
1、ECMA Technical Report TR/532ndEdition - June 1992Standardizing Information and Communication SystemsPhone: +41 22 849.60.00 - Fax: +41 22 849.60.01 - URL: http:/www.ecma.ch - Internet: helpdeskecma.chHandling of Bi-Directional Texts.ECMA Technical Report TR/53June 1992Standardizing Information and C
2、ommunication SystemsPhone: +41 22 849.60.00 - Fax: +41 22 849.60.01 - URL: http:/www.ecma.ch - Internet: helpdeskecma.chMB Tr-53.doc 01-07-98 16,06Handling of Bi-Directional Texts.Brief HistoryIn April 1988, ECMA TC1 decided to produce a Technical Report on specific control functions required for pr
3、esentation oftexts in scripts using different writing directions.The requirement for such control functions resulted from ECMA activities in the area of coding of bilingual character sets suchas Latin/Arabic and Latin/Hebrew. The control functions were to provide for the proper presentation of bi-di
4、rectional texts oncharacter imaging devices.An ECMA TC1 ad-hoc group was formed and instructed:G01 to establish the new additional control functions required in Standard ECMA-48 for handling bi-directional texts;G01 to determine the required modifications to existing control functions in Standard EC
5、MA-48 for handling bi-directional texts;G01 prepare the necessary explanatory information for inclusion in Standard ECMA-48;G01 to provide worked examples for the handling of bi-directional text, applying the new and the modified controlfunctions described in this ECMA Technical Report and included
6、in the fifth edition of Standard ECMA-48;G01 to consider in particular a horizontal line orientation and a top-to-bottom line progression.This ECMA Technical Report explains the particularities to be considered when handling bi-directional texts. It is alsointended to be used as a guidance to implem
7、entors of bi-directional text applications in a character-coded environment.This ECMA Technical Report was used as the basis for making the necessary enhancements and changes to StandardECMA-48. The changes in and the additions to Standard ECMA-48 are also reflected in the latest edition of the corr
8、espondingInternational Standard, viz. ISO/IEC 6429:1992.Adopted as an ECMA Technical Report by the General Assembly of June 1992.- i -Table of contents1 Scope 12 General Considerations 13 References 14 Notations and definitions 14.1 Notation 14.2 Definitions 15 Requirements for the handling of bi-di
9、rectional texts 25.1 Directions of strings 25.2 Ordering of data 25.3 Transparency 26 The bi-directional device model 26.1 The device structure 26.1.1 The input component 36.1.2 The data component 36.1.3 The presentation component 36.1.4 The graphic image output 46.2 Relationship between the active
10、data position and the active presentation position 46.3 Movement of the active positions 46.3.1 Implicit movement 56.3.2 Explicit movement 56.3.3 Indirect movement 56.4 Data stream and data organization 66.5 Areas, fields and tabulation 66.5.1 Areas 66.5.2 Fields and tabulation 66.6 Simplified prese
11、ntation of the device model 77 The changes and additions made to Standard ECMA-48 87.1 New modes for handling bi-directionality 87.2 Control functions added for handling bi-directionality 97.3 Control functions modified for handling bi-directionality 98 Levels of device support for bi-directionality
12、 118.1 Bi-directional devices with presentation component and data component 118.2 Bi-directional devices with presentation component only 11Annex A Worked examples 14- ii -.1ScopeThis ECMA Technical Report specifies technical means to handle bi-directional text in character-imaging devices inthe ca
13、se of:G01 texts in a single script of which specific parts need to be presented in an opposite direction (for example,numbers in Arabic or Hebrew);G01 texts in different scripts presented in opposite directions (like Latin and Arabic or Latin and Hebrew);G01 texts presented with a horizontal line or
14、ientation and a top-to-bottom line progression.Other presentation directions may be the subject of further studies.2 General ConsiderationsIn this ECMA Technical Report a bi-directional device model is used to explain the handling of bi-directional texts. Tobe able to use the device model with Stand
15、ard ECMA-48 the following modifications to that Standard were necessary:G01 the device concept had to be extended;G01 two new modes had to be added;G01 a set of new control functions had to be included;G01 the definitions of a number of existing control functions had to be changed.The fifth edition
16、of Standard ECMA-48 includes the appropriate changes and additions.The control functions are intended to be used imbedded in character coded data for interchange with character imaginginput/output devices that are capable of handling bi-directional texts.The architecture of such devices is reflected
17、 by the bi-directional device model described in 6.The method for the coded representation of the new bi-directional control functions is identical with that already usedin Standard ECMA-48.The technical capabilities of the bi-directional devices to which this Technical Report and the extended speci
18、ficationsof the fifth edition of Standard ECMA-48 apply, can vary according to the levels of bi-directional support which isrequired or provided. Different bi-directional technical means may, therefore, be selected for implementation,depending on the particularities of the specific application.3 Ref
19、erencesECMA-48 Control functions for coded character sets (1991);ISO/IEC 6429:1992 Information technology - Control functions for coded character sets.4 Notations and definitions4.1 NotationIn this ECMA Technical Report the same convention as in Standard ECMA-48 has been adopted to assist thereader.
20、 Capital letters are used to refer to a specific control function, mode, mode setting, or graphic character inorder to avoid confusion, for example, between the concept “space“ and the graphic character SPACE.It is intended that this convention and the acronyms of the modes and the control functions
21、 be retained in alltranslations of the text.4.2 DefinitionsIn this ECMA Technical Report the same definitions as in the fifth edition of Standard ECMA-48 apply.- 2 -5 Requirements for the handling of bi-directional textsMany languages, like the languages using the Latin script, are written and read
22、from left-to-right. Other languages,such as Arabic and Hebrew, are written and read mainly from right-to-left; numbers in these languages, for instance,are written and read from left-to-right. Finally, texts of languages with opposite presentation directions can beintermixed.As a consequence, bi-dir
23、ectional character-imaging devices have to provide support:G01 for both left-to-right and right-to-left presentation directions;G01 for text with embedded (nested) sections of texts with left-to-right and right-to-left presentation directions.5.1 Directions of stringsMany graphic characters have an
24、inherent directionality. Others have no inherent directionality and abide bycontext. Examples of both types of the graphic characters in question are: Space, punctuation marks, separators,parentheses, and others.In order to fully specify the directionality of a string of text constituted of graphic
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ECMATR531992HANDLINGOFBIDIRECTIONALTEXTS2NDEDITION 双向 文本 处理 PDF

链接地址:http://www.mydoc123.com/p-704864.html