CN102768655B - JAVA-based display method of Mongolian - Google Patents
JAVA-based display method of Mongolian Download PDFInfo
- Publication number
- CN102768655B CN102768655B CN201210091390.9A CN201210091390A CN102768655B CN 102768655 B CN102768655 B CN 102768655B CN 201210091390 A CN201210091390 A CN 201210091390A CN 102768655 B CN102768655 B CN 102768655B
- Authority
- CN
- China
- Prior art keywords
- mongolian
- font
- characters
- glyph
- character
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 27
- 230000006870 function Effects 0.000 claims abstract description 20
- 238000013507 mapping Methods 0.000 claims description 9
- 238000012545 processing Methods 0.000 claims description 6
- 238000007689 inspection Methods 0.000 claims description 3
- 230000010365 information processing Effects 0.000 abstract description 5
- 238000011160 research Methods 0.000 abstract description 2
- 238000011161 development Methods 0.000 abstract 1
- 230000018109 developmental process Effects 0.000 abstract 1
- SVTBMSDMJJWYQN-UHFFFAOYSA-N 2-methylpentane-2,4-diol Chemical compound CC(O)CC(C)(C)O SVTBMSDMJJWYQN-UHFFFAOYSA-N 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 238000006467 substitution reaction Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 238000000844 transformation Methods 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 238000009472 formulation Methods 0.000 description 1
- 238000011835 investigation Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
Landscapes
- Controls And Circuits For Display Device (AREA)
Abstract
Description
技术领域 technical field
本发明涉及一种蒙古文显示方法,尤其涉及一种基于JAVA的蒙古文显示方法。The invention relates to a Mongolian display method, in particular to a JAVA-based Mongolian display method.
背景技术 Background technique
蒙古文是一种拼音文字。蒙古文中存在的独特的“一音多形,一形多音”现象,使蒙古文被世界公认为信息处理中最复杂的文本。我国从上世纪70年代末就开始了蒙古文信息处理方面的研究工作,那时的蒙古文字符编码没有统一的国际或国家标准,一般都使用开发者自定义编码。随着国际标准ISO/IEC10646和国家标准GB13000的制定,蒙古文字符有了统一的标准编码。如何在信息处理中应用蒙古文国际或国家标准编码,越来越受到重视。在现行的国际或国家标准中,蒙古文字母是按照读音确定的。但是蒙古文单词的书写和其它拼音文字有很大区别,蒙古文单词在书写时,不是按国际或国家标准中定义的蒙古文字符显现的,而是由这些字母的变形显现字符显现的。通常把在国际或国家标准中定义的蒙古文字符称为“名义字符”,把用于显现的“名义字符”的变形字符称为“变形显现字符”。大多数“名义字符”都有2个以上的“变形显现字符”,最多可达9个“变形显现字符”。每个“名义字符”的形状不同,但不同的“名义字符”所对应的“变形显现字符”的形状却有字形相同的显现。如字母的变形有字母的变形有如果不考虑相同字形,仅按照每个“名义字符”对应的“变形显现字符”计算,总共156个“名义字符”对应的“变形显现字符”的数量可达近1000个。根据蒙古文构词语法,构成蒙古文单词的字母的形状在词的不同位置(词首、词中、词末)其形状有所不同;与其相邻的字符不同,其形状也可能不一样。还有些字符在单词中相邻时,会产生一种组合式变形,成为合体字。如后接会组合成(词中)或(词末)。因此,在使用蒙古文标准编码时,必须明确“名义字符”在单词中出现时应该使用哪个“变形显现字符”,同时更为重要的是要有一个能够正确解释这些复杂变换的引擎。Mongolian is a phonetic script. The unique phenomenon of "one sound with multiple shapes and one shape with multiple sounds" in Mongolian has made Mongolian recognized as the most complex text in information processing in the world. my country has started research on Mongolian information processing since the late 1970s. At that time, there was no unified international or national standard for Mongolian character encoding, and developer-defined encoding was generally used. With the formulation of the international standard ISO/IEC10646 and the national standard GB13000, Mongolian characters have a unified standard encoding. More and more attention has been paid to how to apply Mongolian international or national standard coding in information processing. In current international or national standards, Mongolian letters are determined according to pronunciation. However, the writing of Mongolian words is very different from other phonetic characters. When Mongolian words are written, they are not displayed according to the Mongolian characters defined in the international or national standards, but are displayed by the deformed characters of these letters. The Mongolian characters defined in international or national standards are usually called "nominal characters", and the deformed characters of the "nominal characters" used for display are called "deformed display characters". Most of the "nominal characters" have more than 2 "deformed display characters", up to 9 "deformed display characters". The shape of each "nominal character" is different, but the shapes of the "deformed characters" corresponding to different "nominal characters" have the same font appearance. such as letters The deformation has letter The deformation has If the same glyph is not considered, the number of "deformed characters" corresponding to each "nominal character" can reach nearly 1,000. According to the grammar of Mongolian word formation, the shape of the letters that make up a Mongolian word is different in different positions of the word (word beginning, word middle, word end); the shape of the letters adjacent to it may also be different. When some characters are adjacent in a word, a combined deformation will be produced and become a combined character. like followed by will combine into (in words) or (end of word). Therefore, when using the Mongolian standard encoding, it is necessary to clarify which "deformation character" should be used when the "nominal character" appears in a word, and it is more important to have an engine that can correctly interpret these complex transformations.
现有技术中,在Linux系统中使用一个称为Pango的函数库来实现复杂文本的显示,该技术使用解析OpenType字库的方法实现上述功能。该技术只可应用于Linux平台,并且尤其重要的是:该技术不支持蒙古文的显示。In the prior art, a function library called Pango is used in the Linux system to display complex text, and this technology implements the above functions by parsing the OpenType font library. This technology can only be applied to the Linux platform, and especially important: this technology does not support the display of Mongolian.
发明内容Contents of the invention
为了解决上述技术问题,本发明提供一种基于JAVA的蒙古文显示方法,主要是通过一种能够解析蒙古文Opentype字库名义字符和变形显现字符映射规则的处理引擎实现的。利用该引擎可在支持JAVA程序运行的手机及其它移动设备上使用符合国际或国家标准编码的蒙古文,进而实现移动设备和计算机间蒙古文信息的直接交换。In order to solve the above-mentioned technical problems, the present invention provides a Java-based Mongolian display method, which is mainly realized by a processing engine capable of parsing the nominal characters of the Mongolian Opentype font library and the mapping rules of deformed and displayed characters. The engine can be used on mobile phones and other mobile devices that support the operation of JAVA programs to use Mongolian coded in accordance with international or national standards, thereby realizing the direct exchange of Mongolian information between mobile devices and computers.
其技术方案如下:Its technical scheme is as follows:
一种基于JAVA的蒙古文显示方法,包括以下步骤:A method for displaying Mongolian based on JAVA, comprising the following steps:
建立蒙古文字体引擎,所述字体引擎是一个相对独立的函数,函数格式为:Font.drawText(text,compatiblePath),参数text为输入的国标码字符串,函数输出字形图形到compatiblePath;Set up Mongolian font engine, described font engine is a relatively independent function, function format is: Font.drawText (text, compatiblePath), parameter text is the national standard code character string of input, function output font figure to compatiblePath;
提供接口来访问蒙古文OpenType字库的字体引擎:A font engine that provides an interface to access Mongolian OpenType fonts:
将所述蒙古文字体引擎引入到应用程序中,并实现用于绘图的Path接口,调用Font.drawText(text,compatiblePath)函数后,自动生成符合当前应用环境的字体图形,将其绘制到需要的位置即可。此外,调用者可以使用该环境下任意可行的方法对获得的图形进行旋转、缩放、及任意的字体变形,由于图形的特性,这些变换不会对字形质量带来任何影响,这可以充分满足用户的任意排版需求。The Mongolian font engine is introduced into the application program, and the Path interface used for drawing is realized. After calling the Font.drawText (text, compatiblePath) function, the font graphics that meet the current application environment are automatically generated, and it is drawn to the required The location is fine. In addition, the caller can use any feasible method in this environment to rotate, scale, and arbitrarily deform the font. Due to the characteristics of the graphics, these transformations will not have any impact on the quality of the font, which can fully satisfy the user. Any typesetting requirements.
字符属性标注:Character attribute annotation:
字符到字形编号的映射:在字体文件中包含一张称为cmap(字符映射)的数据表,包含每一个字符和它对应的默认字符之间的匹配关系;Mapping of characters to glyph numbers: a data table called cmap (character mapping) is included in the font file, which contains the matching relationship between each character and its corresponding default character;
字形替换:第一步是查找要替换的那个或那些字形,第二步是执行替换;Glyph replacement: the first step is to find the glyph or glyphs to be replaced, and the second step is to perform the replacement;
字形绘制:定义一个绘图接口将绘图工作抽象为若干待实现的函数,填充字形时使用“奇偶规则”填充,即完成字形绘制工作。Glyph drawing: Define a drawing interface to abstract the drawing work into a number of functions to be implemented. When filling the glyphs, use the "odd-even rule" to fill the glyphs, that is, complete the glyph drawing work.
本发明确定字形中的一点是否被填充的方法为:以考察点为起点,引一条射线(方向任意),初始化计数器为0,当射线穿越轮廓时(无论方向如何),计数器加1,最终当计数器为奇数时填充该点。The method for determining whether a point in the glyph is filled is as follows in the present invention: take the investigation point as the starting point, lead a ray (direction is arbitrary), initialize the counter to be 0, when the ray passes through the outline (no matter how the direction is), the counter adds 1, and finally when Fill the dot when the counter is odd.
现代字体使用轮廓描述,绘制字形时只需绘制出轮廓,再为轮廓填充颜色。由于在不同的应用环境中图形绘制的方法不尽相同,所以这里定义一个绘制图形的接口,这个接口只定义了绘制直线、曲线等基本绘图方法。实现此接口一般只需直接调用该环境下的对应方法即可。填充字形时使用“奇偶规则”填充,即完成字形绘制工作。其中确定字形中的一点是否被填充的方法如下所述:以考察点为起点,引一条射线(方向任意),初始化计数器为0,当射线穿越轮廓时(无论方向如何),计数器加1,最终当计数器为奇数时填充该点。Modern fonts use outline descriptions. When drawing glyphs, you only need to draw the outline, and then fill the outline with color. Since the methods of drawing graphics are different in different application environments, an interface for drawing graphics is defined here. This interface only defines basic drawing methods such as drawing straight lines and curves. To implement this interface, you generally only need to directly call the corresponding method in the environment. When filling the glyphs, use the "odd-even rule" to fill, that is, to complete the glyph drawing work. The method of determining whether a point in the glyph is filled is as follows: start from the inspection point, draw a ray (in any direction), initialize the counter to 0, when the ray passes through the outline (regardless of the direction), add 1 to the counter, and finally Fill the dot when the counter is odd.
本发明的有益效果:Beneficial effects of the present invention:
本发明可应用于支持Java程序运行的手机、移动设备,甚至网络环境中,能够实现按蒙古文国际或国家标准编码存储、显示、输出蒙古文字,实现手机等移动设备与计算机之间、移动设备之间蒙古文信息的直接交换。可以有利于蒙古文信息处理的研究与发展,有利于增进各民族之间的交流。目前大多数手机都支持Java技术,因此本发明有广泛的应用环境与潜质。The present invention can be applied to mobile phones, mobile devices, and even network environments that support the operation of Java programs, and can realize the storage, display, and output of Mongolian characters according to Mongolian international or national standard codes, and realize the communication between mobile devices such as mobile phones and computers, mobile devices, etc. direct exchange of information in Mongolian. It can be beneficial to the research and development of Mongolian information processing, and is conducive to enhancing the communication between various ethnic groups. Most mobile phones support Java technology at present, so the present invention has extensive application environment and potentiality.
附图说明 Description of drawings
图1为本发明字体引擎处理流程图;Fig. 1 is a flow chart of font engine processing in the present invention;
图2为本发明替换规则逻辑结构图。Fig. 2 is a logical structure diagram of a replacement rule in the present invention.
具体实施方式 Detailed ways
下面结合附图和具体实施方式对本发明的方法作进一步详细地说明。The method of the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
由于蒙古文词中普遍存在的“一音多形,一形多音”现象,使得对蒙古文的处理相对其它文字要复杂的多。蒙古文字符的字形会随着其在词中位置的不同而变化,且多数变化有一定的规律性,有些变化规律存在二义性,可以通过专用控制符加以区别。通常人们对字库的理解是字库中仅包含字符形状的数据及其对应的编码,程序把字符编码送入字库,字库返回对应的字形数据。蒙古文Opentype字库中不仅存放字符的字形数据和名义字符编码,同时还包括蒙古文名义字符和其变形显现字符间的映射关系的描述,其中只有名义字符才有编码,变形显现字符是没有编码的。每个名义字符在词的不同位置使用哪个变形、一个字符后接某个字符或接哪些字符(串)后使用哪个变形、一个字符在词中强制使用哪个形状等都需要给出完备的信息描述。Due to the ubiquitous phenomenon of "one sound with multiple forms and one form with multiple sounds" in Mongolian words, the processing of Mongolian words is much more complicated than that of other languages. The glyphs of Mongolian characters will change with their positions in the word, and most of the changes have certain regularity, and some of the change rules are ambiguous, which can be distinguished by special control symbols. Usually, people's understanding of the font is that the font only contains the data of the character shape and its corresponding code, the program sends the character code into the font, and the font returns the corresponding glyph data. The Mongolian Opentype font library not only stores the glyph data and nominal character codes of characters, but also includes the description of the mapping relationship between Mongolian nominal characters and their deformed characters. Only nominal characters have codes, and deformed characters have no codes. . Which deformation is used for each nominal character at different positions in the word, which deformation is used after a character is followed by a certain character or which characters (strings), and which shape a character is forced to use in a word, etc. need to give a complete information description .
图1是本发明的处理流程示意图。本发明是用JAVA语言编写的一个能够提供接口来访问蒙古文OpenType字库的字体引擎。它对外表现为输入符合国家标准的蒙古文字母编码串,输出对应的蒙古文变形显现字符图形。该字体引擎是一个相对独立的函数,函数格式为:Font.drawText(text,compatiblePath),text为输入的国标码字符串,函数输出字形图形到compatiblePath。该函数可以应用在所有支持Java的环境中。首先读入要绘制的字符串,分析输入的字符串,确定其中各个字符的属性,并对其进行标注;再将字符编码映射到字形序号;然后根据字体替换规则及第一步标注的字符属性,将组成字符串的各个字形变成正确的形式;最后将需要的字形绘制输出。这样就完成整个处理过程。Fig. 1 is a schematic diagram of the processing flow of the present invention. The invention is a font engine written in JAVA language and capable of providing an interface to access the Mongolian OpenType font library. It is externally displayed as inputting a Mongolian letter code string that meets the national standard, and outputting the corresponding Mongolian deformation display character graphics. The font engine is a relatively independent function, the function format is: Font.drawText(text, compatiblePath), text is the input national standard code string, and the function outputs glyph graphics to compatiblePath. This function can be applied in all environments that support Java. First read in the string to be drawn, analyze the input string, determine the attributes of each character in it, and mark it; then map the character code to the font serial number; then according to the font replacement rules and the character attributes marked in the first step , to change the glyphs that make up the string into the correct form; finally, the required glyphs are drawn and output. This completes the entire process.
技术实现方案如下:The technical implementation plan is as follows:
字符属性标注:在蒙古文中,字母会随着它出现在词中的位置不同而有不同的字形,而控制符的加入又使之更加复杂,在将字符转换为默认的字形编号时,其中的一些信息可能会丢失,因此在转换为字形编号之前标注字符的属性,这些属性包括:Character attribute annotation: In Mongolian, letters will have different glyphs depending on where they appear in the word, and the addition of control characters makes it more complicated. When converting characters to default glyph numbers, the Some information may be lost, so character attributes are annotated before conversion to glyph numbers, including:
SUBST_NODO=1; //非蒙古文SUBST_NODO=1; //Non-Mongolian
SUBST_MEDI=1<<1;//词中SUBST_MEDI = 1 < < 1; // word in
SUBST_INIT=1<<2;//词头SUBST_INIT=1<<2;//prefix
SUBST_FINA=1<<3;//词尾SUBST_FINA = 1 < < 3; // end of word
SUBST_ISOL=1<<4;//独立体SUBST_ISOL = 1 << 4; //Subst_ISOL
上面列出的属性值的大小是有意义的。在字形合体替换过程中,字符在词中出现的位置可能会发生改变,因此需要有判定合体之后字形最终属性的方法。规定:(除特殊情形外)参与合体所有字形的最大属性值为合体后字形的属性值。The size of the attribute values listed above is meaningful. In the process of glyph fit replacement, the position of the character in the word may change, so a method for determining the final attribute of the glyph after the fit is needed. Regulations: (except in special cases) the maximum attribute value of all glyphs participating in the combination is the attribute value of the combined glyph.
字符的属性也是对应字形的属性。The attributes of a character are also the attributes of the corresponding glyph.
例如:字串国标码为“0x1836 0x1821 0x182c 0x1821”,则根据字符所在位置标注属性如表1所示:Example: string The national standard code is "0x1836 0x1821 0x182c 0x1821", and the attributes are marked according to the location of the characters as shown in Table 1:
表1Table 1
字符到字形编号的映射:字形编号是字形替换的输入数据,也是从字体文件中提取字形轮廓数据的唯一参数,若想进一步处理必须完成这一步转换。Mapping of characters to glyph numbers: Glyph numbers are the input data for glyph replacement, and also the only parameter for extracting glyph outline data from font files. If you want to further process, you must complete this step of conversion.
在字体文件中包含一张称为cmap(字符映射)的数据表,它包含每一个字符和它对应的默认字符之间的匹配关系。在逻辑上它是一个数据字典。cmap的逻辑结构为:The font file contains a data table called cmap (character map), which contains the matching relationship between each character and its corresponding default character. Logically it is a data dictionary. The logical structure of cmap is:
所以要完成字符到字形编号的映射只需按照上表一一对应即可。Therefore, to complete the mapping from characters to glyph numbers, you only need to correspond one-to-one according to the above table.
如上例中执行映射结果可能如表2所示:The result of executing the mapping in the above example may be as shown in Table 2:
表2Table 2
字形替换:显示传统蒙古文的复杂之处就在于字符在不同的位置有不同的显现形式,某些字符组合在一起又会有不同的形式,这使用字形替换来实现。Glyph replacement: The complexity of displaying traditional Mongolian is that characters have different appearances in different positions, and some characters will have different forms when combined. This is achieved by using glyph replacement.
所谓字形替换就是将某个或某些字形用某个其他的字形替换。整个替换过程可以分成两步,第一步是查找要替换的那个或那些字形,第二步是执行替换。The so-called glyph replacement is to replace one or some glyphs with some other glyphs. The entire replacement process can be divided into two steps. The first step is to find the glyph or characters to be replaced, and the second step is to perform the replacement.
字形替换实行规则驱动。字形替换规则的逻辑结构如下所示。Glyph substitution is rule-driven. The logical structure of the glyph substitution rules is as follows.
其中执行条件为下列之一:The execution condition is one of the following:
SUBST_MEDI=1<<1;//字形在词中SUBST_MEDI=1<<1;//Glyphs are in words
SUBST_INIT=1<<2;//字形在词头SUBST_INIT=1<<2;//The font is at the beginning of the word
SUBST_FINA=1<<3;//字形在词尾SUBST_FINA=1<<3;//The font is at the end of the word
SUBST_ISOL=1<<4;//字形是独立形式SUBST_ISOL=1<<4;//Glyph is an independent form
SUBST_ALL=SUBST_MEDI|SUBST_INITSUBST_ALL=SUBST_MEDI|SUBST_INIT
|SUBST_FINA|SUBST_ISOL;//无论字形是何种形式|SUBST_FINA|SUBST_ISOL;//No matter what type of font is
前面的4个就是字符属性,最后一个是它们四者的组合。The first four are character attributes, and the last one is a combination of them.
所谓执行条件成立是指要替换的字形的属性必须与执行条件相符合,若不相符即使满足替换目标描述也不进行替换。The so-called fulfillment of the execution condition means that the attributes of the glyph to be replaced must meet the execution condition, and if not, no replacement will be performed even if the description of the replacement target is met.
替换目标描述的逻辑结构如下所示:The logical structure of the replacement target description is as follows:
替换目标描述可表示为:如果当前序列为xxx,前面是xxx,后面跟着xxx,那么就将当前序列替换。The replacement target description can be expressed as: if the current sequence is xxx, preceded by xxx, and followed by xxx, then the current sequence will be replaced.
当不关心前面与后面的字形时可将其省略,当替换的目标字形序列为一个字形时又可以简化,由此形成3种变种。有条件的替换,称为Type6;没有条件但表示多对一替换的,称为Type4;没有条件且是一对一替换的,称为Type1。It can be omitted when the front and back glyphs are not concerned, and can be simplified when the target glyph sequence to be replaced is one glyph, thus forming three variants. The conditional replacement is called Type6; the unconditional but many-to-one replacement is called Type4; the unconditional and one-to-one replacement is called Type1.
OpenType字体将所有替换规则组织成GSUB数据表。为了数据的整齐与压缩,OpenType使用图2所示的层次结构保存替换规则。OpenType fonts organize all substitution rules into GSUB data tables. For data tidiness and compression, OpenType uses the hierarchical structure shown in Figure 2 to save the replacement rules.
其中“特性”表示执行条件。Among them, "property" represents the execution condition.
“查找表”包含替换规则数据,根据内容需求使用Type1、Type4或Type6的描述形式。The "lookup table" contains replacement rule data, and uses Type1, Type4 or Type6 description forms according to content requirements.
“子查找表”是替换规则数据实际保存的位置,它有不同的物理存储格式。The "sub-lookup table" is where the replacement rule data is actually saved, and it has different physical storage formats.
在传统蒙古文中使用的特性如表3所示,它们对应的执行条件也列于表中。The features used in traditional Mongolian are shown in Table 3, and their corresponding execution conditions are also listed in the table.
表3table 3
字形替换时规则应用的顺序也和上表一样,该顺序不可错乱。The order in which the rules are applied when glyphs are replaced is also the same as the above table, and the order cannot be confused.
字形替换过程如下所示:The glyph replacement process is as follows:
如在上例中可能会涉及以下规则,如表4所示:As in the above example, the following rules may be involved, as shown in Table 4:
表4Table 4
则替换结果为:315 190 777Then the replacement result is: 315 190 777
字形绘制:使用轮廓字体TrueType格式,使用1到2阶贝塞尔曲线描述轮廓,这一步与应用环境相关,不同应用环境中绘制图形的方法不尽相同,本发明定义了一个绘图接口(Path)将绘图工作抽象为若干待实现的函数,使本发明可以在不同的应用环境中使用。Font drawing: use the outline font TrueType format, use 1 to 2 order Bezier curves to describe the outline, this step is related to the application environment, the method of drawing graphics in different application environments is not the same, the present invention defines a drawing interface (Path) The drawing work is abstracted into several functions to be realized, so that the present invention can be used in different application environments.
其中确定字形中的一点是否被填充的方法如下所述:The method for determining whether a point in a glyph is filled is as follows:
以考察点为起点,引一条射线(方向任意),初始化计数器为0,当射线穿越轮廓时(无论方向如何),计数器加1,最终当计数器为奇数时填充该点。Starting from the inspection point, lead a ray (in any direction), initialize the counter to 0, when the ray passes through the contour (regardless of the direction), the counter is incremented by 1, and finally fill the point when the counter is an odd number.
利用本发明的技术方案,可以开发移动设备上的蒙古文应用软件。只要在移动设备上使用符合国家标准编码的蒙古文,就必须使用蒙古文Opentype字库,那么就需要使用本发明来字库中读取、显示(输出)蒙古文。如手机上开发蒙古文电子词典软件,现把按国家标准编码保存的英蒙汉词条文件和蒙古文Opentype字库文件存到手机的存储器中,然后再编写蒙古文输入法及从字库中读取蒙古文和显示蒙古文时都需要使用本发明。其它应用,如接收并发送蒙古文手机短信、使用手机接收并发送蒙古文电子邮件、手机浏览蒙古文网页,在手机上使用蒙古文与计算机网络站点进行文字交互、利用本发明,可以用手机创建、编辑可以使用在其它移动设备、计算机和计算机网络上的蒙古文文件等与电子词典的应用过程类似;另外,本发明也是用于网页上跨平台显示蒙古文的可行方案之一。Utilizing the technical scheme of the invention, Mongolian application software on mobile devices can be developed. As long as the Mongolian code conforming to the national standard code is used on the mobile device, the Mongolian Opentype font library must be used, so the invention needs to be used to read and display (output) the Mongolian language in the font library. For example, to develop Mongolian electronic dictionary software on a mobile phone, now save the English, Mongolian and Chinese entry files and the Mongolian Opentype font file stored in accordance with the national standard code into the memory of the mobile phone, and then write the Mongolian input method and read from the font Both Mongolian and Mongolian display need to use the present invention. Other applications, such as receiving and sending Mongolian mobile phone text messages, using mobile phones to receive and send Mongolian e-mails, mobile phone browsing Mongolian web pages, using Mongolian on mobile phones to interact with computer network sites, using the present invention, can use mobile phones to create , Edit Mongolian files that can be used on other mobile devices, computers and computer networks, etc., are similar to the application process of electronic dictionaries; in addition, the present invention is also one of the feasible solutions for cross-platform display of Mongolian on web pages.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210091390.9A CN102768655B (en) | 2012-03-31 | 2012-03-31 | JAVA-based display method of Mongolian |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210091390.9A CN102768655B (en) | 2012-03-31 | 2012-03-31 | JAVA-based display method of Mongolian |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102768655A CN102768655A (en) | 2012-11-07 |
CN102768655B true CN102768655B (en) | 2015-04-22 |
Family
ID=47096059
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210091390.9A Expired - Fee Related CN102768655B (en) | 2012-03-31 | 2012-03-31 | JAVA-based display method of Mongolian |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102768655B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104424184B (en) * | 2013-08-19 | 2018-02-23 | 北大方正集团有限公司 | Generate the method and system of font character library |
CN106469139A (en) * | 2016-10-14 | 2017-03-01 | 厦门大学 | Unicode traditional mongolian normalization method based on font similarity |
CN110069766A (en) * | 2018-01-23 | 2019-07-30 | 北大方正集团有限公司 | The typesetting processing method and device of formula |
CN111027283A (en) * | 2019-11-13 | 2020-04-17 | 齐德华 | Mongolian digital information processing method, system and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101561800A (en) * | 2009-05-15 | 2009-10-21 | 内蒙古蒙科立软件有限责任公司 | Character pattern generation method of Mongolian |
CN101694603A (en) * | 2009-10-20 | 2010-04-14 | 中央民族大学 | Cross-platform Mongolian display and intelligent input method based on Unicode |
-
2012
- 2012-03-31 CN CN201210091390.9A patent/CN102768655B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101561800A (en) * | 2009-05-15 | 2009-10-21 | 内蒙古蒙科立软件有限责任公司 | Character pattern generation method of Mongolian |
CN101694603A (en) * | 2009-10-20 | 2010-04-14 | 中央民族大学 | Cross-platform Mongolian display and intelligent input method based on Unicode |
Non-Patent Citations (3)
Title |
---|
Proofreader of Mongolian Vocabulary Based on Language Model of Syllabic Statistics;Ochir 等;《2009 International Conference on Asian Language Processing,》;20091209;第217-219页 * |
蒙古文OpenType字体解析;巩政 等;《第十一届全国民族语言文字信息学术研讨会论文集》;20080801;第224-228页 * |
蒙古文显示在OpenOffice.org办公套件中的实现;孟凡强 等;《中文信息学报》;20070509;第21卷(第2期);第117-121页 * |
Also Published As
Publication number | Publication date |
---|---|
CN102768655A (en) | 2012-11-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5380289B2 (en) | Method and apparatus for font subsetting | |
CN101271463B (en) | Structure processing method and system of layout file | |
CN102662926B (en) | The storage and inquire method of character library | |
JP2009545064A5 (en) | ||
CN104281601B (en) | Build method and device, character display method and the device of super large character library | |
CN111221596B (en) | Font rendering method, apparatus and computer readable storage medium | |
CN101526963A (en) | Method for identifying web page coding, device and terminal equipment | |
CN101114443A (en) | Indentation method of dot-matrix characters in two-dimensional graphics engine and Chinese processing method | |
CN102768655B (en) | JAVA-based display method of Mongolian | |
CN109933751B (en) | Image-text drawing method and device, computer-readable storage medium and computer equipment | |
CN114791988A (en) | Browser-based PDF file analysis method, system and storage medium | |
CN103365894B (en) | A kind of font format conversion method and device | |
CN108389244B (en) | An implementation method for rendering flash rich text according to specified character rules | |
US20140049554A1 (en) | Method of manipulating character string in embeded system | |
US9081529B1 (en) | Generation of electronic books | |
CN106873971A (en) | The multilingual methods of exhibiting and system of a kind of flash applications | |
CN105224509A (en) | A kind of method and device generating font format | |
US7370060B2 (en) | System and method for user edit merging with preservation of unrepresented data | |
CN113221506A (en) | Lecture typesetting method and device, electronic equipment and storage medium | |
CN102723067B (en) | A character display method and device | |
CN101316339B (en) | Method for displaying different expression form of characters in the same word stock | |
CN104021026A (en) | Language adding method based on Android system | |
US20070033035A1 (en) | String display method and device compatible with the hindi language | |
US20110219335A1 (en) | Accommodating Very Large Fonts on Memory-Constrained Electronic Devices | |
CN114791843A (en) | Character display method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
DD01 | Delivery of document by public notice |
Addressee: Inner Mongolia University Document name: Notification of Termination of Patent Right |
|
DD01 | Delivery of document by public notice | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150422 Termination date: 20190331 |
|
CF01 | Termination of patent right due to non-payment of annual fee |