CN102026033A - Method for displaying Myanmar by set-top box (STB) - Google Patents

Method for displaying Myanmar by set-top box (STB) Download PDF

Info

Publication number
CN102026033A
CN102026033A CN 201010577378 CN201010577378A CN102026033A CN 102026033 A CN102026033 A CN 102026033A CN 201010577378 CN201010577378 CN 201010577378 CN 201010577378 A CN201010577378 A CN 201010577378A CN 102026033 A CN102026033 A CN 102026033A
Authority
CN
China
Prior art keywords
character string
character
burmese
string
dot matrix
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.)
Granted
Application number
CN 201010577378
Other languages
Chinese (zh)
Other versions
CN102026033B (en
Inventor
方立
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Newland Communication Science Technology Co Ltd
Original Assignee
Fujian Newland Communication Science Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Fujian Newland Communication Science Technology Co Ltd filed Critical Fujian Newland Communication Science Technology Co Ltd
Priority to CN 201010577378 priority Critical patent/CN102026033B/en
Publication of CN102026033A publication Critical patent/CN102026033A/en
Application granted granted Critical
Publication of CN102026033B publication Critical patent/CN102026033B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method for displaying Myanmar by a set-top box. The method for displaying Myanmar by a set-top box (STB) comprises the following steps of: converting the character strings of a Myanmar word stock into dot matrix data; recording the width/height data of each string into a dot matrix word stock at the same time; registering the string required to be combined with other strings in the Myanmar word stock, and registering the start coordinates and location of the combined string in the dot matrix word stock; when the set-top box displays Myanmar, searching for the required string in the dot matrix word stock according to the character code; taking out the character data of the string to obtain the width height of the string; reading the code of the next string needing to be combined; taking out the required string; and combining the string according to the start coordinates and location of the previous string to finish the display of a complete Myanmar word. Through the method for displaying Myanmar by the STB, the digital television set-top box with Myanmar is realized, thus the hardware storage resources of the set-top box are saved, and the development time of developers is shortened.

Description

A kind of set-top box shows the method for Burmese
[technical field]
The present invention relates to a kind of field of embedded technology, relate in particular to the method that a kind of set-top box shows Burmese.
[background technology]
Burmese belongs to the literal of Brahmi system, and its writing feature is rounded.Its number is numerous, is mostly combined by hundred graphic characters.Along with the expansion of the Digital Television of Burma, the digital TV set-top box of Burma is also more and more, but mostly is the menu of English or other main flow literal, and the digital TV set-top box that has Burmese becomes the thing that the Burma people are expected.The language that uses in Burma's conventional set-top box mostly is English, perhaps use picture to show Burmese at a small amount of menu, this way not only consumes the top-set hardware storage resources, and needs the developer that different versions is all carried out a large amount of time and the manpowers of picture design consumption.
[summary of the invention]
The technical problem to be solved in the present invention is to provide a kind of set-top box to show the method for Burmese, has realized having the digital TV set-top box of Burmese.
The present invention is achieved in that a kind of set-top box shows the method for Burmese, is characterized in that: may further comprise the steps:
Step 10, the Burmese character string of the Burmese character library on the PC is converted to dot array data, simultaneously to the wide high data record of each character string in dot matrix word library, and the character string that needs in the Burmese character library to make up with other character string registered, and register origin coordinates and the position of character string in dot matrix word library that will participate in combination;
Step 20, Burmese is carried out string encoding, and the character string that will form corresponding Burmese records in the dot matrix word library according to its character code according to the Burmese character library on the PC;
Step 30, the dot matrix word library after the above-mentioned processing is stored in the set-top box memory headroom;
Step 40, when set-top box will be carried out the Burmese demonstration, search the character string of needs in the dot matrix word library according to character code, and the character data of taking out character string obtains the wide height of its character string, and judge whether the data of this character string in dot matrix word library are the character string that needs and other character string make up, be, then obtain origin coordinates and the position of this character string in dot matrix word library, read the next character code that needs combination then, take out required character string, make up origin coordinates and position according to last character string, finishes the demonstration of a complete Burma literal; Otherwise directly show this Burmese character string.
The present invention has following advantage: the present invention uses the Burmese character library on the PC, provide the demonstration of set-top box to Burmese finished in the combination of different Burmese character strings, can utilize this method to do all menu options of set-top box, comprise program names, EPG information etc., realized that the literal on the set-top box can show Burmese, saved the top-set hardware storage resources, and saved developer's development time.
[description of drawings]
Fig. 1 is the inventive method schematic flow sheet.
Fig. 2 is the Burmese character string figure of PC Burmese character library.
Fig. 3 is the present invention's one complete Burma literal.
Fig. 4 is not each preceding character string of combination of Fig. 3 Burma literal.
[embodiment]
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Set-top box shows the method for Burmese, sees shown in Figure 1ly, may further comprise the steps:
Step 10, the Burmese character string of the Burmese character library on the PC is converted to dot array data, simultaneously to the wide high data record of each character string in dot matrix word library, and the character string that needs in the Burmese character library to make up with other character string registered, its origin coordinates and the position of character string in dot matrix word library of participating in combination is registered, the part of dotted line is to be the character string that needs and other character string make up in the character string of its Fig. 2, and the part of dotted line will partly make up with another character string solid line;
Step 20, Burmese is carried out character code (its coding as 100,101,102 or the like), and the character string that will form corresponding Burmese records in the dot matrix word library (its character string corresponding codes can be 1001 or 1010 or 1021 etc.) according to its character code according to the Burmese character library (as shown in Figure 2) on the PC;
Step 30, the dot matrix word library after the above-mentioned processing is stored in the set-top box memory headroom;
Step 40, when set-top box will be carried out the Burmese demonstration, search the character string that needs in the dot matrix word library according to string encoding (as 1001), and the character data of taking out character string obtains the wide height of its character string, and judge whether the data of this character string in dot matrix word library are the character string that needs and other character string make up, be, then obtain origin coordinates and the position of this character string in dot matrix word library, read the next character code that needs combination then, take out required character string, make up origin coordinates and position according to last character string, finishes the demonstration of a complete Burma literal; Otherwise directly show this Burmese character string.
The invention will be further described below in conjunction with a specific embodiment.
The Burmese character string of the Burmese character library on the PC is converted to dot array data: the Burmese unicode vector font library that at first finds PC, according to the character in the Burmese unicode vector font library, use the freetype program library to write vector font library and read instrument, character is read processing, convert dot array data then to.Note growing tall of each character according to what describe in the vector font library,, then it is carried out mark, the original position when noting this character and other character combinations simultaneously if this character needs and other character combinations.Then the character of conversion process is encoded.
Burmese as shown in Figure 3 for example, it is reached the standard grade and is start line 10, rolls off the production line to be datum line 20;
Each character string of this Burmese correspondence be encoded to 0x1006,0x1004,0x103A, 0x1037,0x103C, 0x1019,0x103E,
Each character string before it does not make up, as shown in Figure 4.
The skew of ordinate is the distance with respect to datum line.Positive number is the distance on datum line, and negative is the distance under datum line.
The skew of abscissa is the distance of the abscissa after having write with respect to previous word.Positive number is the distance after the abscissa after previous word has been write, and negative is the distance before the abscissa after previous word has been write.The data of each character string of the coding in its dot matrix word library are as shown in Table 1:
Figure BDA0000036631230000031
Form 1
When set-top box will be carried out the Burmese demonstration, according to string encoding 0x1006,0x1004,0x103A, 0x1037,0x103C, 0x1019,0x103E searches corresponding characters string in the dot matrix word library, and the character data of taking-up character string obtains the wide height of its character string, and judge whether the data of this character string in dot matrix word library are the character string that needs and other character string make up, through judging that its string encoding is 0x103A, 0x1037,0x103C, the character string that 0x103E (its corresponding characters as shown in Figure 2) needs and other character string makes up, then obtain first character string in dot matrix word library origin coordinates and position 0x1006 its wide be 51, the skew of abscissa and the skew of ordinate are 0,28, read the next character code 0x1004 that needs combination then, take out required character string, make up, finish the demonstration (last Burma's literal as shown in Figure 3) of a complete Burma literal according to the origin coordinates and the position of last character string.
What deserves to be mentioned is: utilize method of the present invention, offer the digital-TV operator that needs to show Burmese program names and EPG information, allow them character datas such as program names and EPG information be encoded according to this coding, send in the network then, after set-top box receives these program names or EPG data, just can on set-top box, show character datas such as the program names of Burmese or EPG information.
In a word, the present invention uses the Burmese character library on the PC, the Burmese character string of the Burmese character library on the PC is converted to dot array data, simultaneously to the wide high data record of each character string in dot matrix word library, and the combination of different Burmese character strings finished the demonstration of set-top box to Burmese, realized having the digital TV set-top box of Burmese.
The above only is preferred embodiment of the present invention, and all equalizations of being done according to the present patent application claim change and modify, and all should belong to covering scope of the present invention.

Claims (1)

1. a set-top box shows the method for Burmese, it is characterized in that: may further comprise the steps:
Step 10, the Burmese character string of the Burmese character library on the PC is converted to dot array data, simultaneously to the wide high data record of each character string in dot matrix word library, and the character string that needs in the Burmese character library to make up with other character string registered, its origin coordinates and the position of character string in dot matrix word library of participating in combination is registered;
Step 20, Burmese is carried out string encoding, and the character string that will form corresponding Burmese records in the dot matrix word library according to its character code according to the Burmese character library on the PC;
Step 30, the dot matrix word library after the above-mentioned processing is stored in the set-top box memory headroom;
Step 40, when set-top box will be carried out the Burmese demonstration, search the character string of needs in the dot matrix word library according to character code, and the character data of taking out character string obtains the wide height of its character string, and judge whether the data of this character string in dot matrix word library are the character string that needs and other character string make up, be, then obtain origin coordinates and the position of this character string in dot matrix word library, read the next character code that needs combination then, take out required character string, make up origin coordinates and position according to last character string, finishes the demonstration of a complete Burma literal; Otherwise directly show this Burmese character string.
CN 201010577378 2010-12-07 2010-12-07 Method for displaying Myanmar by set-top box (STB) Expired - Fee Related CN102026033B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010577378 CN102026033B (en) 2010-12-07 2010-12-07 Method for displaying Myanmar by set-top box (STB)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010577378 CN102026033B (en) 2010-12-07 2010-12-07 Method for displaying Myanmar by set-top box (STB)

Publications (2)

Publication Number Publication Date
CN102026033A true CN102026033A (en) 2011-04-20
CN102026033B CN102026033B (en) 2013-02-06

Family

ID=43866794

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010577378 Expired - Fee Related CN102026033B (en) 2010-12-07 2010-12-07 Method for displaying Myanmar by set-top box (STB)

Country Status (1)

Country Link
CN (1) CN102026033B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750337A (en) * 2012-06-01 2012-10-24 中国科学院声学研究所 Producing method and device for font
CN103945256A (en) * 2014-05-05 2014-07-23 珠海迈科电子科技有限公司 Method for supporting set-top box to display khmer
CN103986870A (en) * 2014-05-23 2014-08-13 江苏友上科技实业有限公司 OSD Chinese character display achievement method for multi-core camera

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1088321A (en) * 1992-12-17 1994-06-22 赵英林 Burmese characters four-code intelligent coding method and keyboard
CN1360786A (en) * 1999-06-09 2002-07-24 金旻廉 Apparatus and method for inputting alphabet characters on small keypad
US7788498B2 (en) * 2005-07-22 2010-08-31 Microsoft Corporation Triple-tap password entry
CN101888508A (en) * 2010-07-19 2010-11-17 福建新大陆通信科技股份有限公司 Method for rolling subtitles of set-top box with low memory
CN101888472A (en) * 2010-07-30 2010-11-17 福建新大陆通信科技股份有限公司 Multi-multinational character supporting method of set-top box

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1088321A (en) * 1992-12-17 1994-06-22 赵英林 Burmese characters four-code intelligent coding method and keyboard
CN1360786A (en) * 1999-06-09 2002-07-24 金旻廉 Apparatus and method for inputting alphabet characters on small keypad
US7788498B2 (en) * 2005-07-22 2010-08-31 Microsoft Corporation Triple-tap password entry
CN101888508A (en) * 2010-07-19 2010-11-17 福建新大陆通信科技股份有限公司 Method for rolling subtitles of set-top box with low memory
CN101888472A (en) * 2010-07-30 2010-11-17 福建新大陆通信科技股份有限公司 Multi-multinational character supporting method of set-top box

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750337A (en) * 2012-06-01 2012-10-24 中国科学院声学研究所 Producing method and device for font
CN102750337B (en) * 2012-06-01 2015-05-27 中国科学院声学研究所 Producing method and device for font
CN103945256A (en) * 2014-05-05 2014-07-23 珠海迈科电子科技有限公司 Method for supporting set-top box to display khmer
CN103986870A (en) * 2014-05-23 2014-08-13 江苏友上科技实业有限公司 OSD Chinese character display achievement method for multi-core camera

Also Published As

Publication number Publication date
CN102026033B (en) 2013-02-06

Similar Documents

Publication Publication Date Title
CN101751476B (en) Method and device for marking electronic bookmarks
CN102037494A (en) Systems and methods for font file optimization for multimedia files
CN101408874A (en) Apparatus and method for translating image and character
CN101430714B (en) Content structuring process method and system based on model
CN102236423A (en) Automatic character supplementation method, device and input method system
CN103473056A (en) Automatic generation method for telemetering configuration files
CN106648569B (en) Target serialization realization method and device
CN102026033B (en) Method for displaying Myanmar by set-top box (STB)
CN101008940B (en) Method and device for automatic processing font missing
CN101281444A (en) Message recording method, system as well as mobile communication terminal
EP2482230B1 (en) Apparatus and method for decoding matrix code symbol
CN106162328A (en) A kind of video synchronizing information methods of exhibiting and system
US20100278507A1 (en) Subtitle Generation System and Method Thereof
CN109697693B (en) Method for realizing operation based on big data space
CN102082934B (en) Caption object updating method and device
CN101369953A (en) Font network distribution method and system
CN2906798Y (en) Invisible code optical phonation globe
CN102118580B (en) Method and device for broadcasting subtitle through data grouping and dynamic replacement
CN101674420A (en) System and method for translating captured image characters
CN108600856A (en) The recognition methods of plug-in subtitle language and device in video file
CN201229777Y (en) DVD playing device simultaneously displaying subtitles of multiple languages
CN102110082B (en) Method and system for outputting complementary word of galley proof file
CN100485692C (en) XML data storage system and method thereof
CN102567209B (en) Flash memory chip data analyzing method and flash memory chip data analyzing device
CN103051971A (en) Input method and digital television terminal

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130206

Termination date: 20151207

EXPY Termination of patent right or utility model