节点文献

基于Android平台的双向文本编辑及显示

BI-Directional Text Editing and Displaying Based on Android Platform

【作者】 张梅静

【导师】 楼新远;

【作者基本信息】 西南交通大学 , 计算机技术, 2013, 硕士

【摘要】 随着世界信息产业的迅速发展,智能手机已经作为人们获取资讯的主要设备之一,尤其是自2007年11月12号,开放手机联盟发布Google Android SDK以后,Android操作系统利用其开源性的巨大优势,在全世界范围内发动了其迅速扩张的大幕。两年前Android操作系统就已经完全超越了昔日的霸主--诺基亚Symbian操作系。然而目前发布的Android2.3平台却不支持阿拉伯语的显示,这必将给有阿拉伯语编辑和显示需求的用户使用移动手机带来了诸多不便。因此,实现Android2.3平台上的阿拉伯文显示,对促进中东地区的经济及信息发展将起到一定的推动作用。本论文针对阿拉伯文的书写特点,结合已有系统,实现了双向文本显示排版引擎的设计,并且应用该引擎实现了基于Android平台的双向文本编辑器。本论文研究的主要内容及成果如下:1:双向文本显示排版引擎的设计及开发。主要解决了两个关键的技术问题:1):解决双向文本的显示问题。因为双向文本的逻辑顺序和视觉顺序不一致,为了双向文本的正确显示,所以在显示的过程中要将文本的逻辑顺序转换为视觉顺序。2):实现阿拉伯文字的变形问题。因为阿拉伯文字不像中文字和英文字母它们的名义字符和显示字符一致,对于阿拉伯字符来说,名义字符和显示字符是不一致的,它的显示字符会因为名义字符在文本中所处位置的不同而不同,所以阿拉伯字符在显示时需要经过一定的变形处理,才可正确显示。2:利用实现的双向文本显示排版引擎,设计了一个基于Android平台的双向文本编辑器。该编辑器支持阿拉伯字符的输入,双向文本的显示并且具有文本操作的基本功能,比如文本的保存、新建,删除,字符的插入,字体大小、颜色的设置以及文本对齐方式设置等。

【Abstract】 Smartphone has become one of the main equipment to acquire information with the rapid development of the information technology and particularly the development of the new generation mobile internet devices. Especially since November12,2007, the Open Handset Alliance released the first edition of Google Android SDK. Android operating system swept the world quickly by its huge advantage of open-source. Two years ago,the android operating system has been beyond Nokia’s Symbian operation system which dominates the markets for decades. However, the display of the Arabic characters is not supported on the android platform2.3.To display the Arabic characters on the android2.3platform will promote the development of economic and information in the Middle East region.In this paper, according to the characteristics of Arabic writing, the bi-directional text displaying layout engine were designed and realized based on the existing system, The bidirectional text editor based on Android platform with the this engine was implemented as well. The main content and results of this paper are as follows:1:The design and implementation of the bi-directional text layout engine. The bi-directional text layout engine process is aimed to solve two problems:1):Firstly, the display of the bi-directional text. For bi-directional text, the ordering between logical and visual is various. The logical sequence should be converted to visual order during the display processing. Bi-directional text would be displayed correctly by this way.2):Secondly, the Arabic characters deformation problem. The Arabic characters’ name letters and displaying letters are inconsistent as the same name letter may be written in different displaying forms depending on its position in the sentence. A certain deformation processing is required in order to display Arabic characters correctly.2:The bi-directional text editor is designed and implemented based on android platform by using the realized bi-directional text displaying layout engine. It supports the Arab character inputting, bi-directional text displaying and the basic text manipulation features, such as text saving, creating, deleting, insertion of characters, font size settings, color settings, and text alignment settings.

  • 【分类号】TP391.1
  • 【下载频次】94
节点文献中: 

本文链接的文献网络图示:

本文的引文网络