CN101931769B - Method for amplifying and displaying menu font of set top box of digital television - Google Patents
Method for amplifying and displaying menu font of set top box of digital television Download PDFInfo
- Publication number
- CN101931769B CN101931769B CN2010102608314A CN201010260831A CN101931769B CN 101931769 B CN101931769 B CN 101931769B CN 2010102608314 A CN2010102608314 A CN 2010102608314A CN 201010260831 A CN201010260831 A CN 201010260831A CN 101931769 B CN101931769 B CN 101931769B
- Authority
- CN
- China
- Prior art keywords
- character
- font
- dot matrix
- top box
- size
- 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
Landscapes
- Controls And Circuits For Display Device (AREA)
Abstract
The invention provides a method for amplifying and displaying a menu font of a set top box of a digital television, which is characterized by comprising the following steps of: acquiring a character string of the font to the amplified; calculating the line number and column number of a new dot matrix according to the amplification multiple by extracting the line number and column number of the dot matrix of each character of the character string; and calling an OSD module function to dot and fill color for the line number and column number of the new dot matrix so as to amplify the character. The method can conveniently realize the function of amplifying and displaying the menu font of the set top box, a plurality of sets of font libraries are not needed to be designed and stored in the space of a flash memory FLASH. Therefore, the space of the flash memory FLASH is reduced.
Description
[technical field]
The present invention relates to a kind of digitlization terminal equipment field, especially a kind of method of menu font of set top box of digital television enlarged and displayed.
[background technology]
Along with the popularization of DTV STB, TV set-top box is popularized gradually.In the use of STB, the client claims to the size of each menu font or needs enlarged and displayed, this moment to need the character library support of different fonts size to title etc.A lot of producers adopt the pre-storing multiple sets font libraries of enlarged fonts; Import font then and amplify order; And amplify order according to said font and from said many cover character libraries, select a cover character library; According to selected character library, show the size of the font that needs amplify then.Reach font in this way and amplify purpose, but this mode takies bigger FLASH space owing to need deposit many cover character libraries.But because the FLASH space is limited, only deposit a kind of character library, want to show that the font of different sizes just is difficult to realize this moment.
[summary of the invention]
The technical problem that the present invention will solve; Be to provide a kind of method of menu font of set top box of digital television enlarged and displayed; Realized the function of menu font of set top box enlarged and displayed, and need not design how the cover character libraries leave in the flash memory FLASH space, thus the space of reducing flash memory FLASH.
The present invention is achieved in that a kind of method of menu font of set top box of digital television enlarged and displayed, it is characterized in that, may further comprise the steps:
Step 10, choose character, generate a font character library, and leave in the character library message file after the data transaction of the character boundary of choosing being become the data of the discernible character boundary of STB, generate a character zone address mapping table with font size;
When step 20, set-top-box opening the font character library in the FLASH flash memory is called in internal memory;
Step 30, a font size options is set in menu, supplies the user to select the font size that will be provided with as required;
Step 40, obtain the character string of wanting enlarge font;
Step 50, through finding the data of the size of respective symbols in the character string in the character library of said character zone address mapping table in internal memory;
Step 60, the font size that is provided with through the user contrast with the big or small data of said respective symbols, calculate the multiplication factor of wanting enlarge font;
The dot matrix line number and the columns of a character of step 70, the said character string of extraction, and line number, the columns of the dot matrix that calculating makes new advances according to multiplication factor;
Step 80, call the OSD functions of modules and get line number, the columns of the new dot matrix of character ready Fill Color, accomplish the amplification of this character;
Step 90, judging whether characters all in the character string all is exaggerated, do not continue step 70 to step 80, is then to finish.
The present invention has following advantage: can amplify the menu font of set top box size arbitrarily according to client's demand.Need not design many cover character libraries and leave in the flash memory FLASH space, thus the space of reducing flash memory FLASH.
[description of drawings]
Fig. 1 is the method flow sketch map of font enlarged and displayed of the present invention.
[embodiment]
In conjunction with Fig. 1 the present invention is done further explanation:
If to deposit the font size of font be No. 12 to character library in the former STB, existing its font is amplified to No. 18, specifically realize by following mode:
Step 10, at first with the character library instrument definition to deposit font size and etc., the character that will have type matrix then generates the font character library of a 512K size (font size of record character library), the font in this moment this character library is exactly the font of set size.And leave in the character library message file after the data transaction of the character boundary of choosing being become the data of the discernible character boundary of STB, generate a character zone address mapping table.
Step 20, then in STB flash memory FLASH, allocation space is used for depositing character library, and writes character library among the flash memory FLASH.
Step 30, when set-top-box opening when reading flash memory FLASH and call in internal memory to character library, a font size options is set in menu, supply the user to select the font size that will be provided with.
Step 40, obtain the character string of wanting enlarged and displayed again.
Step 50, in character library, find the data of respective symbols through the character zone address mapping table.
Step 60, the font size that is provided with through the user again follow the font size of the data of respective symbols to contrast, and calculate the multiplication factor of wanting enlarge font, and like No. 12 present enlarged and displayed to 18 fonts of script font, font is amplified 1.5 times so.
Step 70, obtain the dot matrix size of a character of character string then, calculate and amplify the back abscissa, the dot matrix of ordinate is the dot matrix of one 18 row 12 row like font originally, and the dot matrix after amplifying so is exactly the new dot matrix of one 27 row 18 row.
Step 80, call the OSD functions of modules again and get line number, the columns of the new dot matrix of character ready Fill Color, just accomplish the amplification of a character of character string this moment.
Step 90, obtain the dot matrix size of character late and then, calculate and amplify back abscissa, the dot matrix of ordinate; Get Fill Color again ready; Judge whether characters all in the character string all is exaggerated this moment, do not continue step 70 to step 80, is the amplification of then having accomplished font.
In a word, the present invention can amplify the menu font of set top box size arbitrarily according to client's demand.
The above is merely the preferred embodiment of the utility model, and all equalizations of being done according to the utility model claim change and modify, and all should belong to the covering scope of the utility model.
Claims (2)
1. the method for a menu font of set top box of digital television enlarged and displayed is characterized in that, may further comprise the steps:
Step 10, choose character, generate a font character library, and leave in the character library message file after the data transaction of the character boundary of choosing being become the data of the discernible character boundary of STB, generate a character zone address mapping table with font size;
When step 20, set-top-box opening the font character library in the FLASH flash memory is called in internal memory;
Step 30, a font size options is set in menu, supplies the user to select the font size that will be provided with as required;
Step 40, obtain the character string of wanting enlarge font;
Step 50, through finding the data of the size of respective symbols in the character string in the character library of said character zone address mapping table in internal memory;
Step 60, the font size that is provided with through the user contrast with the big or small data of said respective symbols, calculate the multiplication factor of wanting enlarge font;
The dot matrix line number and the columns of a character of step 70, the said character string of extraction, and line number, the columns of the dot matrix that calculating makes new advances according to multiplication factor;
Step 80, call the OSD functions of modules and get line number, the columns of the new dot matrix of character ready Fill Color, accomplish the amplification of this character;
Step 90, judging whether characters all in the character string all is exaggerated, do not continue step 70 to step 80, is then to finish.
2. the method for a kind of menu font of set top box of digital television enlarged and displayed according to claim 1 is characterized in that: the font size of depositing font in the described character library is used the character library instrument definition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010102608314A CN101931769B (en) | 2010-08-24 | 2010-08-24 | Method for amplifying and displaying menu font of set top box of digital television |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010102608314A CN101931769B (en) | 2010-08-24 | 2010-08-24 | Method for amplifying and displaying menu font of set top box of digital television |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101931769A CN101931769A (en) | 2010-12-29 |
CN101931769B true CN101931769B (en) | 2012-07-25 |
Family
ID=43370658
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010102608314A Expired - Fee Related CN101931769B (en) | 2010-08-24 | 2010-08-24 | Method for amplifying and displaying menu font of set top box of digital television |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101931769B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104717548B (en) * | 2015-03-05 | 2017-11-24 | 福建新大陆通信科技股份有限公司 | A kind of set top box dot matrix captions font processing method and processing system |
CN108242211A (en) * | 2016-12-26 | 2018-07-03 | 航天信息股份有限公司 | Processing method, device and the board units of dot character |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1092369C (en) * | 1999-04-05 | 2002-10-09 | 英业达集团(上海)电子技术有限公司 | Font pantograph method and device |
JP3815412B2 (en) * | 2002-08-30 | 2006-08-30 | セイコーエプソン株式会社 | Font processing device, terminal device, display device, font processing method, and font processing program |
CN101207861A (en) * | 2006-12-19 | 2008-06-25 | 乐金电子(中国)研究开发中心有限公司 | Mobile communication terminal and method for enlarging character style |
CN101714138A (en) * | 2008-10-07 | 2010-05-26 | 英业达股份有限公司 | System and method for amplifying and displaying real-time translated words |
CN101742149A (en) * | 2008-11-04 | 2010-06-16 | 乐金电子(中国)研究开发中心有限公司 | Digital television with font enlarging function and font enlarging method thereof |
-
2010
- 2010-08-24 CN CN2010102608314A patent/CN101931769B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN101931769A (en) | 2010-12-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8166390B2 (en) | Figure sizing and positioning on dynamic pages | |
CN105096363A (en) | Picture editing method and picture editing device | |
CN103430140A (en) | Method and apparatus of managing items on clipboard of portable terminal | |
CN101931769B (en) | Method for amplifying and displaying menu font of set top box of digital television | |
CN111276110A (en) | Character display method and device and electronic equipment | |
CN101162576A (en) | Display process and device | |
CN104639854A (en) | String processing display method based on Davinci platform | |
CN103186507B (en) | Dot matrix word library processing method | |
CN105653665B (en) | Method and device for realizing efficient note access | |
CN102063193B (en) | The method of display input results and device | |
US7889915B2 (en) | Image processing device and method thereof | |
CN104954568A (en) | Mobile phone font dynamic control system and method | |
CN109660852B (en) | Video preview method, storage medium, device and system before release of recorded video | |
CN111859874A (en) | Table generating method and system, video playing device and computer readable medium | |
CN105578264A (en) | Method and device for processing animation menu based on smart television | |
CN106095744B (en) | Irregular control icons processing unit and method | |
CN102082925B (en) | A kind of fill method of subtitle template and device | |
CN102118580B (en) | Method and device for broadcasting subtitle through data grouping and dynamic replacement | |
CN109086326B (en) | Method and device for converting interface document into data model file | |
CN108038219A (en) | Picture method to set up, device, computer installation and computer-readable recording medium | |
CN104267916A (en) | Information display method and system and electronic equipment | |
CN103607629A (en) | Multimedia file playing method and electronic terminal | |
US9106967B2 (en) | Interactive media program guide user interface systems and methods | |
CN102026033B (en) | Method for displaying Myanmar by set-top box (STB) | |
CN102902534B (en) | A kind of transparent OSD software implementation method |
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: 20120725 Termination date: 20190824 |
|
CF01 | Termination of patent right due to non-payment of annual fee |