CN102026033B - 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
CN102026033B
CN102026033B CN 201010577378 CN201010577378A CN102026033B CN 102026033 B CN102026033 B CN 102026033B CN 201010577378 CN201010577378 CN 201010577378 CN 201010577378 A CN201010577378 A CN 201010577378A CN 102026033 B CN102026033 B CN 102026033B
Authority
CN
China
Prior art keywords
character string
character
burmese
string
top box
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
Application number
CN 201010577378
Other languages
Chinese (zh)
Other versions
CN102026033A (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 expect.The language that uses in Burma's conventional set-top box mostly is English, perhaps show Burmese for a small amount of menu with picture, 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 the digital TV set-top box with 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 the wide high data of each character string is recorded in the 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 position during with this character string and other character combinations;
Step 20, according to the Burmese character library on the PC Burmese is carried out string encoding, and the character string that will form corresponding Burmese is recorded in the dot matrix word library according to its character code;
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 position that this character string is registered in dot matrix word library, then read the next character code that needs combination, take out required character string, make up according to origin coordinates and position that last character string is registered, finish 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 combination of different Burmese character strings is finished set-top box to the demonstration of Burmese, can utilize the 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 front 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, as shown in Figure 1, 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 the wide high data of each character string is recorded in the 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, according to the Burmese character library (as shown in Figure 2) on the PC Burmese is carried out character code (its coding as 100,101,102 etc.), and the character string that will form corresponding Burmese is recorded in the dot matrix word library (coding corresponding to its character string can be 1001 or 1010 or 1021 etc.) according to its character code;
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 (such 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, then read the next character code that needs combination, 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, then convert dot array data to.Record growing tall of each character according to what describe in the vector font library, if this character needs and other character combinations, then it is carried out mark, the original position when recording simultaneously this character and other character combinations.Then the character of conversion process is encoded.
As shown in Figure 3 Burmese 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 that this Burmese is corresponding 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 writing with respect to previous word.Positive number is the distance after the abscissa after previous word writes, and negative is the distance before the abscissa after previous word writes.The data of each character string of the coding in its dot matrix word library are as shown in Table 1:
Figure GDA00001999131800031
Figure GDA00001999131800041
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 character string corresponding 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, its corresponding character of 0x103E(is as shown in Figure 2) need and character string that other character string makes up, then obtain the 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, then read the next character code 0x1004 that needs combination, take out required character string, make up according to origin coordinates and the position of last character string, finish the demonstration (last Burma's literal as shown in Figure 3) of a complete Burma literal.
It is worth mentioning that: utilize method of the present invention, offer the digital-TV operator that needs to show Burmese program names and EPG information, allow them according to this coding the character datas such as program names and EPG information be encoded, then send in the network, after set-top box receives these program names or EPG data, just can show in set-top box the 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 the wide high data of each character string is recorded in the dot matrix word library, and the combination of different Burmese character strings finished set-top box to the demonstration of Burmese, realized the digital TV set-top box with Burmese.
The above only is preferred embodiment of the present invention, and all equalizations of doing 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 the wide high data of each character string is recorded in the dot matrix word library, and the character string that needs in the Burmese character library to make up with other character string registered, register origin coordinates and position during with this character string and other character combinations;
Step 20, according to the Burmese character library on the PC Burmese is carried out string encoding, and the character string that will form corresponding Burmese is recorded in the dot matrix word library according to its character code;
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 position that this character string is registered in dot matrix word library, then read the next character code that needs combination, take out required character string, make up according to origin coordinates and position that last character string is registered, finish 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 CN102026033A (en) 2011-04-20
CN102026033B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

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
CN101888472A (en) * 2010-07-30 2010-11-17 福建新大陆通信科技股份有限公司 Multi-multinational character supporting method of set-top box
CN101888508A (en) * 2010-07-19 2010-11-17 福建新大陆通信科技股份有限公司 Method for rolling subtitles of set-top box with low memory

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

Also Published As

Publication number Publication date
CN102026033A (en) 2011-04-20

Similar Documents

Publication Publication Date Title
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
CN101751476A (en) Method and device for marking electronic bookmarks
CN102236423A (en) Automatic character supplementation method, device and input method system
CN102208180B (en) Method for rapidly displaying vector font by set top box (STB)
CN102026033B (en) Method for displaying Myanmar by set-top box (STB)
CN101561725B (en) Method and system of fast handwriting input
CN104572683A (en) Word stroke animation processing method and device
CN101281444A (en) Message recording method, system as well as mobile communication terminal
CN102016832A (en) Information processing device, method, and computer-readable recording medium containing program
CN101008940A (en) Method and device for automatic processing font missing
CN106162328A (en) A kind of video synchronizing information methods of exhibiting and system
CN102082934B (en) Caption object updating method and device
CN101369953A (en) Font network distribution method and system
CN102118580B (en) Method and device for broadcasting subtitle through data grouping and dynamic replacement
CN109669650A (en) The image display method of weighing dot matrix large screen
CN101674420A (en) System and method for translating captured image characters
CN101295245A (en) Intelligent extracting method based on model information
CN103051971A (en) Input method and digital television terminal
CN102110082B (en) Method and system for outputting complementary word of galley proof file
CN102567209B (en) Flash memory chip data analyzing method and flash memory chip data analyzing device
CN102082928B (en) Method and device for associating title properties
CN102104743B (en) Method and device for editing multi-language hybrid arranged captions
CN102082922B (en) Method and device for updating subtitles in subtitle templates

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