TWI334588B - Method for displaying and enlarging character - Google Patents

Method for displaying and enlarging character Download PDF

Info

Publication number
TWI334588B
TWI334588B TW96123824A TW96123824A TWI334588B TW I334588 B TWI334588 B TW I334588B TW 96123824 A TW96123824 A TW 96123824A TW 96123824 A TW96123824 A TW 96123824A TW I334588 B TWI334588 B TW I334588B
Authority
TW
Taiwan
Prior art keywords
word
words
enlarging
pop
window
Prior art date
Application number
TW96123824A
Other languages
Chinese (zh)
Other versions
TW200901112A (en
Inventor
Fred Chen
Li Smart
Original Assignee
Inventec Besta 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 Inventec Besta Co Ltd filed Critical Inventec Besta Co Ltd
Priority to TW96123824A priority Critical patent/TWI334588B/en
Publication of TW200901112A publication Critical patent/TW200901112A/en
Application granted granted Critical
Publication of TWI334588B publication Critical patent/TWI334588B/en

Links

Description

1334588 九、發明說明: 【發明所屬之技術領域】 本發明係為一種放大顯示字詞之方法,特別是有關於 將向量字體依比例進行放大顯示於彈出窗口内。 【先前技術】 第5圖係為習知之字幕處理裝置之系統方塊圖,連同 • 一字幕解碼器與一顯示裝置。於第5圖,51表示字幕處理 裝置、52表示字幕解碼器其提供原始的字幕資料給該字幕 處理裝置、及53表示顯示裝置其顯示被處理的字幕。且字 幕處理裝置51更包含以下成分: 510表示一字幕輸入部分,其自一 DTV IRD之字幕解 碼器52輸入顯示器性質、及字幕影像資料。 511表示一控制部分,其例如為一遙控器、能供一 TV 觀眾藉由是否選擇於該控制器的一放大或縮小按鈕來選擇 字幕大小。 512表示一像素上取樣部分,將其一個像素擴大到四 個像素。 513表示一影像再生部分其根據中文字體的寬度與顯 示器寬度之間的關係計算該字幕影像的切斷點、並從一個 輸入字幕影像再生兩個字幕影像。 514表示一背景顏色搜尋部分,其找到該字幕影像的 5 1334588 背景顏色。 515表示一像素下取樣部分,其將四個像素減少到一 個像素。 516表示一位置調整部分其調整該字幕影像之顯示位 置以避免重疊且中心校準。 第6圖係為習知之說明字幕處理裝置的操作流程圖。 最初,於步驟S601,該字幕影像的像素資料及其包含水平 與垂直位址之顯示器性質、像素中的寬度與高度被輸入至 該字幕處理裝置51並儲存於緩衝器。 然後,於步驟S602,TV使用者按壓第5圖中的遙控器 控制部分511上的按鈕以放大或縮小字幕的大小。若該使 用者選擇放大字幕的大小時,然後於步驟S603,一個像素 被複製成m*n個像素以形成一矩形。然後於步驟S605,影 像再生部分513作用來偵測是否自步驟S603所產生之新字 幕影像的寬度是較寬於該顯示器寬度。若否定,則到步驟 S608,於步驟S608,該位置調整部分516作用來重新計算 該水平位址並將該字幕影像放在顯示器的中心。於步驟 S605,若該條件被滿足,然後到步驟S606,並且影像再生 部分513作用來計算切斷點並將該新字幕影像切成兩個影 像或更多。而且,這些影像的水平位址被計算以便被放在 顯示器的中心;在這些影像間的像素中的距離是一常數。 於步驟S602,若該使用者按壓於所說明的控制部分 511之按鈕以選擇縮小該字幕,該字幕影像中有兩個顏 色,前景(文字)與背景(文字的背景)顏色。然後於步驟 1334588 S604,該背景顏色搜尋部分514搜 幕影像,該背景顏色是相較於另-顏^^^於一字 之像素中的顏色。於步驟S6〇7,該像素出現於影像 得一矩形中之m*n個像素被減少_個像素樣部分515使 個具有前景顏色之像素時,它的== 顏色。接考步驟S 6 0 8,位置調整部分5丨6 j色疋3亥則景 影像的顯示位置以使它們中心校準。 鼻該等新字幕 於步驟S602,若使用者不想改變 於步驟獅,該字幕影像將根據如字然後 之顯示器性質而被顯示在顯示器裝置53。馬益52所指定 然而,上述之字幕處理裝置^料 放大之方式為全部字體一起放大或縮 又=電腦,且 型設備如個人數位助理⑽)等,由於屏幕^==掌上 顯示的内容過少,且亦非所有之字符皆複 ^致-屏 些字符(如筆畫較多的漢字)若不經過放大,就無:清Ϊ 5滿述所提出的問題,希望能在小屏幕 對特疋内谷子錢放大,達到清楚可見的需求^本 於多年從事研究與諸多實務經驗,經多方研究設計^專顯;: 討,逐於本發明提出-種放大顯示字狀方 木 望一實現方式與依據。 卞為則述期 7 1334588 【發明内容】 有鑑於上述課題,本發明之主要目的為提供一種放大顯 示字詞之方法,係利用向量字可依一定比例放大,將筆劃過 多而顯示不清楚的字符進行放大,以清楚顯示的目的。 緣是,為達上述目的,本發明提供一種放大顯示字詞之 方法,包括有下列步驟:步驟(a):提供一電子裝置,該電 子裝置包括有一顯示單元、一彈出窗口、一選取工具及至 少一字詞。步驟(b):以該顯示單元顯示該字詞。步驟(c): 利用該選取工具,將該字詞選取以成為一選取字詞。步驟 (d):藉由該電子裝置,將該選取字詞進行一放大動作,使 該選取字詞形成一放大選取字詞,並位於該彈出窗口内, 且使該彈出窗口顯示於該顯示單元上。 茲為使貴審查委員對本發明之技術特徵及所達成之 功效有更進一步之瞭解與認識,下文謹提供較佳之實施例及 相關圖式以為輔佐之用,並以詳細之說明文字配合說明如 後0 【實施方式】 以下係本發明之一種放大顯示字詞之方法之較佳實施 例,為使便於理解,下述實施例中之元件符號係沿用與前一 實施例中相同元件之符號來說明。 請參閱第1圖,係為本發明放大顯示字詞之方法的步驟 流程圖,其步驟如後: 1334588 步驟11 :提供一電子裝置,該電子裝置包括有一顯示 單元、一彈出窗口、一選取工具及至少一字詞。 步驟12 :以該顯示單元顯示該字詞。 步驟13 :利用該選取工具,將該字詞選取以成為一選 取字詞。 步驟14 :藉由該電子裝置,將該選取字詞進行一放大 動作,使該選取字詞形成一放大選取字詞,並位於該彈出 窗口内,且使該彈出窗口顯示於該顯示單元上。 請參閱第2圖,係為本發明放大顯示字詞之方法較佳實 施流程圖,其步驟如後: 步驟21 :在顯示單元上顯示一字詞。 步驟22 :以選取工具選取字詞。 步驟23 :依據選取字詞計算彈出窗口。 步驟24 :選取字詞放大是否超過彈出窗口?若是,則 進行步驟25。若否,則直接進行步驟26。 步驟25 :進行一折行顯示動作。 步驟26 :畫出彈出窗口。 步驟27 :進行一放大動作放大選取字詞。 步驟28 :在彈出窗口内顯示放大選取字詞。 步驟29 :使用者是否可看清字符?若是,則結束。若 否,則返回步驟23。 請一併參閱第3a圖及第3b圖,係為本發明放大顯示字 詞之方法實施例示意圖。在圖中,本發明具有一顯示單元 9 1334588 31,且顯示單元3i可用以顯示一中文字詞犯,利用選取工 ,將要放大顯示的地方選取,使中文字詞33成為一選取字 凋34,在第3b圖中可看出,選取後之選取字詞34可藉由 使用按鍵或是直接的方式放大,並會在一彈出窗口 32内放 大顯示出來,如圖中所示之放大選取字詞341,藉此讓使用 者可看清楚複雜的字符。在本實施例中,選取工具包含滑 乳、觸控筆、手指及按鍵其中之一或其組合。 請一併參閱第4a圖及第牝圖,係為本發明放大顯示字 詞之方法另一實施例示意圖。在圖中,英文字詞3 3 a經過選 取工具選取後,形成選取字詞34a,但因所選取之英文字詞 33a字體呈斜體狀使的英文字詞33a寬度較長,在經過放大 計算之後,發現到放大之後的選取字詞34 32,因此,對此選取字詞34a進行一折行顯*,音=^ 本-行顯示的方式改為以兩行或以上顯 :疋、如 不受到螢幕大小的限制,可將放大選 時 示,達到放大到使用者可看清楚複雜字完整顯 以上所述僅為舉例性,而非為限制 發明之精神與範疇,而對其進行之等 。任何未脫離本 含於後附之申請專利範圍/中。 * >改或變更,均應包 【圖式簡單說明】 第1圖係為本發明放大顯示字詞之方法+ 第2圖係為本發明放大顯示字詞之方法# '驟圖’ 第3a圖及第3b圖係本發明放大顯示字詞之方 佳實施流程圖; 法實施例示 1334588 意圖; 第4a圖及第4b圖係本發明放大顯示字詞之方法另一實施 例示意圖; 第5圖係為習知之字幕處理裝置之系統方塊圖;以及 第6圖係為習知之說明字幕處理裝置的操作流程圖。 【主要元件符號說明】 511 :提供一電子裝置; 512 :以該顯示單元顯示該字詞; 513 :將該字詞選取以成為一選取字詞; 514 :將該選取字詞形成一放大選取字詞,並位於該彈 出窗口内; 521 :在顯示單元上顯示一字詞; 522 :以選取工具選取字詞; 523 :依據選取字詞計算彈出窗口; 524 :選取字詞放大是否超過彈出窗口; 525 :進行一折行顯示動作; 526 :晝出彈出窗口; 527 :進行一放大動作放大選取字詞; 528 :在彈出窗口内顯示放大選取字詞; 529 :使用者是否可看清字符; 1334588 31 :顯示單元; 32 :彈出窗口; 33 :中文字詞; 33a :英文字詞; 34、34a :選取字詞; 34卜341a :選取放大字詞; 51 :字幕處理裝置; 510 :字幕輸入部分; 511 :控制部分; 512 :像素上取樣部分; 513 :影像再生部分; 514 :背景顏色搜尋部分; 515 :像素下取樣部分; 516 :位置調整部分; 52 :字幕解碼器; 53 :顯示裝置;以及 S601〜S609:習知說明字幕處理裝置操作流程圖。 121334588 IX. Description of the invention: [Technical field to which the invention pertains] The present invention is a method for enlarging a displayed word, and more particularly relates to magnifying and displaying a vector font in a pop-up window. [Prior Art] Fig. 5 is a system block diagram of a conventional subtitle processing apparatus, together with a subtitle decoder and a display device. In Fig. 5, 51 denotes a subtitle processing means, 52 denotes a subtitle decoder which supplies original subtitle data to the subtitle processing means, and 53 denotes a subtitle in which the display means displays the processing. The caption processing device 51 further includes the following components: 510 denotes a caption input portion that inputs display properties and subtitle image data from a subtitle decoder 52 of a DTV IRD. 511 denotes a control portion, such as a remote controller, for a TV viewer to select a subtitle size by an enlargement or reduction button selected for the controller. 512 denotes a pixel upsampling portion, which is expanded by one pixel to four pixels. 513 denotes an image reproduction portion which calculates a cut-off point of the subtitle image based on the relationship between the width of the Chinese font and the width of the display, and reproduces two subtitle images from one input subtitle image. 514 represents a background color search portion that finds the background color of the 5 1334588 of the subtitle image. 515 represents a one-pixel downsampling portion that reduces four pixels to one pixel. 516 denotes a position adjustment section which adjusts the display position of the subtitle image to avoid overlap and center alignment. Figure 6 is a flow chart showing the operation of the conventional caption processing apparatus. Initially, in step S601, the pixel data of the subtitle image and its display properties including horizontal and vertical addresses, the width and height in the pixels are input to the subtitle processing device 51 and stored in the buffer. Then, in step S602, the TV user presses the button on the remote controller control portion 511 in Fig. 5 to enlarge or reduce the size of the subtitle. If the user selects the size of the enlarged subtitle, then in step S603, one pixel is copied into m*n pixels to form a rectangle. Then, in step S605, the image reproduction portion 513 acts to detect whether the width of the new subtitle image generated from step S603 is wider than the display width. If not, then to step S608, the position adjusting portion 516 acts to recalculate the horizontal address and place the subtitle image at the center of the display. In step S605, if the condition is satisfied, then go to step S606, and the image reproducing portion 513 acts to calculate the cut point and cut the new subtitle image into two images or more. Moreover, the horizontal addresses of these images are calculated to be placed at the center of the display; the distance in the pixels between these images is a constant. In step S602, if the user presses the button of the illustrated control portion 511 to select to reduce the subtitle, the subtitle image has two colors, a foreground (text) and a background (text background) color. Then, in step 1334588 S604, the background color search portion 514 searches for an image whose color is a color in a pixel compared to another word. In step S6, the m*n pixels in which the pixel appears in a rectangle of the image are reduced. When the pixel-like portion 515 makes a pixel having a foreground color, its == color. The test step S 6 0 8 is used to position the image display positions so that they are center-aligned. The new subtitles of the nose are displayed in step S602. If the user does not want to change to the step lion, the subtitle image will be displayed on the display device 53 according to the nature of the display such as the word. Ma Yi 52 specified, however, the above-mentioned subtitle processing device is enlarged in such a manner that all fonts are enlarged or reduced together with a computer, and a type of device such as a personal digital assistant (10), etc., because the screen ^==the content displayed on the palm is too small, And not all of the characters are complex - the screen characters (such as Chinese characters with more strokes), if not enlarged, there is no: clear Ϊ 5 full description of the questions raised, hoping to be in the small screen The money is enlarged to achieve clear and visible needs. ^I have been engaged in research and many practical experiences for many years, and have been researched and designed by many parties. ^: Discussing, according to the present invention, the method and basis for magnifying and displaying the shape of Fangmuwangyi. In view of the above problems, the main object of the present invention is to provide a method for enlarging a displayed word, which is to use a vector word to enlarge according to a certain ratio, and to display an unclear character by too many strokes. Zoom in for the purpose of clear display. In order to achieve the above objective, the present invention provides a method for enlarging a displayed word, comprising the following steps: Step (a): providing an electronic device, the electronic device comprising a display unit, a pop-up window, a selection tool, and At least one word. Step (b): displaying the word in the display unit. Step (c): Using the selection tool, the word is selected to become a selected word. Step (d): performing an enlargement action on the selected word by the electronic device, so that the selected word forms an enlarged selected word, and is located in the pop-up window, and the pop-up window is displayed on the display unit on. In order to provide a better understanding and understanding of the technical features and the efficacies of the present invention, the preferred embodiments and related drawings are provided for the purpose of assistance, and the detailed descriptions are followed by a description. [Embodiment] The following is a preferred embodiment of the method for displaying a word in the present invention. For ease of understanding, the component symbols in the following embodiments are denoted by the same components as those in the previous embodiment. . Please refer to FIG. 1 , which is a flow chart of the steps of the method for displaying words in the present invention, and the steps are as follows: 1334588 Step 11 : providing an electronic device, the electronic device comprising a display unit, a pop-up window, and a selection tool And at least one word. Step 12: Display the word in the display unit. Step 13: Using the selection tool, the word is selected to be a selected word. Step 14: The electronic device performs an enlargement action on the selected word, so that the selected word forms an enlarged selected word, and is located in the pop-up window, and displays the pop-up window on the display unit. Referring to Figure 2, there is shown a flow chart of a preferred embodiment of the method for displaying words in the present invention, the steps of which are as follows: Step 21: Display a word on the display unit. Step 22: Select a word with the selection tool. Step 23: Calculate the pop-up window based on the selected words. Step 24: Select whether the word enlargement exceeds the pop-up window? If yes, proceed to step 25. If no, proceed directly to step 26. Step 25: Perform a folding display action. Step 26: Draw a pop-up window. Step 27: Perform an enlargement action to enlarge the selected words. Step 28: Display the enlarged selected words in the pop-up window. Step 29: Can the user see the characters? If yes, it ends. If not, return to step 23. Please refer to FIG. 3a and FIG. 3b together for a schematic diagram of an embodiment of a method for displaying a word in the present invention. In the figure, the present invention has a display unit 9 1334588 31, and the display unit 3i can be used to display a Chinese character sin. By using the selection work, the place to be enlarged and displayed is selected, so that the Chinese character word 33 becomes a selected word 34. As can be seen in Figure 3b, the selected word 34 can be enlarged by using a button or directly, and will be displayed in a pop-up window 32, as shown in the figure. 341, thereby allowing the user to see complex characters. In this embodiment, the selection tool includes one or a combination of a slider, a stylus, a finger, and a button. Please refer to Fig. 4a and Fig. 3 for a schematic view of another embodiment of the method for displaying a word in the present invention. In the figure, the English word 3 3 a is selected by the selection tool to form the selected word 34a, but the English word 33a has a longer width due to the selected English word 33a font, and is enlarged. After that, the selected word 34 32 after the enlargement is found. Therefore, the selected word 34a is displayed in a fold line*, and the sound =^ the present-line display mode is changed to two lines or more: 疋, if not Due to the limitation of the size of the screen, the magnification can be selected and displayed until the user can see the complicated words. The above description is merely exemplary, and is not intended to limit the spirit and scope of the invention. Any application does not deviate from the scope of the patent application contained in the attachment. * >Change or change, should be included [simplified description of the schema] Figure 1 is a method for magnifying displayed words in the present invention + Figure 2 is a method for displaying words by zooming in the present invention # '图图' 3a FIG. 3 and FIG. 3b are flowcharts showing a preferred embodiment of the present invention; FIG. 4a and FIG. 4b are diagrams showing another embodiment of the method for magnifying a word according to the present invention; A system block diagram of a conventional caption processing device; and FIG. 6 is a flow chart showing the operation of the caption processing device. [Description of main component symbols] 511: providing an electronic device; 512: displaying the word by the display unit; 513: selecting the word to be a selected word; 514: forming the selected word into a magnified selected word Word, and located in the pop-up window; 521: display a word on the display unit; 522: select a word by the selection tool; 523: calculate a pop-up window according to the selected word; 524: select whether the word enlargement exceeds the pop-up window; 525: performing a folding display operation; 526: popping up a pop-up window; 527: performing a zoom-in action to enlarge the selected word; 528: displaying a magnified selected word in a pop-up window; 529: whether the user can see the character; 1334588 31: display unit; 32: pop-up window; 33: Chinese word; 33a: English word; 34, 34a: select word; 34 341a: select enlarged word; 51: subtitle processing device; 510: subtitle input portion 511: control section; 512: pixel upsampling section; 513: image reproduction section; 514: background color search section; 515: pixel downsampling section; 516: position adjustment section; 52: subtitle decoding ; 53: display device; and S601~S609: subtitle processing flowchart of the operation described conventional apparatus. 12

Claims (1)

十、申請專利範固·· 1、一種放大顯示字詞之方法,包含: f供一電子褒置,該電子裝置包含-顯示單元,以 供顯不-彈出窗口、一選取工具及至少—字詞,· ^用該k取工具選取該字詞中至少—者,以形成至 少一選取字詞;X. Applying for a patent Fan·· 1. A method for enlarging a displayed word, comprising: f for an electronic device, the electronic device comprising a display unit for displaying a pop-up window, a selection tool and at least a word a word, · using the k tool to select at least one of the words to form at least one selected word; J用向昼子方式放大該至少一選取字詞,以形 成至少一放大選取字詞; 根據該至少一選取字詞決定該彈出冑口之大 小; ,據該至少—放大選取字詞決定是否將該至少一放 大選取字詞分為兩行以上顯示;以及 利用該彈出窗口顯示該至少一放大選取字古司。 '申請專利範圍第i項所述之放大顯示字詞之方法, 一中該電子裝置為一個人數位助理。J enlarges the at least one selected word by means of a dice to form at least one selected word; determines the size of the popping mouth according to the at least one selected word; and according to the at least, the selected word determines whether The at least one enlarged selection word is displayed in two or more lines; and the at least one enlarged selection word is displayed by using the pop-up window. The method of enlarging a word according to item i of the patent application scope, wherein the electronic device is a number of assistants. 3、 =請專利範圍第1項所述之放大顯示字詞之方法, 工具包含滑鼠、觸控筆、手指及按鍵其 Π —或其組合。 4、 ^申請專·圍第丨項所述之放域㈣詞之方法, 八中該顯不單元為觸控螢幕。 it請專利範圍第1項所述之放大顯示字詞之方法, 6、如、二!J取字詞亦可使用一按鍵進行該放大動作。 範圍第i項所述之放大顯示字詞之方法, 驟,以孰行複數次申請專利範圍第t 13 1334588 7、如申請專利範圍第1項所述之放大顯示字詞之方法, 其中該至少一字詞包含中文、英文、韓文或以上之組 合0 143, = Please refer to the method of enlarging the words mentioned in the first item of the patent scope, the tool includes a mouse, a stylus, a finger and a button, or a combination thereof. 4, ^ Apply for the method of placing the domain (4) words mentioned in the article, and the unit in the eighth is the touch screen. It asks for the method of enlarging the words as described in item 1 of the patent scope. 6. If the words are taken, the words can be used to perform the zooming operation using a button. The method for enlarging the words according to the item i in the range of the item i, the method of enlarging the words according to the first application of the patent application, wherein the method of enlarging the words is as described in claim 1 A word containing Chinese, English, Korean or a combination of the above 0 14
TW96123824A 2007-06-29 2007-06-29 Method for displaying and enlarging character TWI334588B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW96123824A TWI334588B (en) 2007-06-29 2007-06-29 Method for displaying and enlarging character

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW96123824A TWI334588B (en) 2007-06-29 2007-06-29 Method for displaying and enlarging character

Publications (2)

Publication Number Publication Date
TW200901112A TW200901112A (en) 2009-01-01
TWI334588B true TWI334588B (en) 2010-12-11

Family

ID=44211991

Family Applications (1)

Application Number Title Priority Date Filing Date
TW96123824A TWI334588B (en) 2007-06-29 2007-06-29 Method for displaying and enlarging character

Country Status (1)

Country Link
TW (1) TWI334588B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI471762B (en) * 2011-11-01 2015-02-01 Kinpo Elect Inc Touch pen, electronic device and interactive operation method
TWI545788B (en) 2014-10-03 2016-08-11 財團法人工業技術研究院 Sheet and module structure

Also Published As

Publication number Publication date
TW200901112A (en) 2009-01-01

Similar Documents

Publication Publication Date Title
JP6102588B2 (en) Information processing apparatus, information processing method, and program
US9026938B2 (en) Dynamic detail-in-context user interface for application access and content access on electronic displays
US8739073B2 (en) User interface for document table of contents
KR100746002B1 (en) Method and apparatus for displaying wallpaper
US20070216712A1 (en) Image transformation based on underlying data
US10809898B2 (en) Color picker
TWI493432B (en) User interface generating apparatus and associated method
JP2009537903A (en) User interface system and method for selectively displaying a portion of a display screen
JP2006293989A (en) System and method for dynamically zooming and rearranging display item
WO2015192713A1 (en) Image processing method and device, mobile terminal, and computer storage medium
CN110574000B (en) display device
JP2007174589A (en) Thumbnail creation program
WO2014121727A1 (en) Digital slice image storage method and device, and electronic book display method and device
US8228414B2 (en) Real-size preview system in terminal having digital camera function and control method thereof
JP5789719B2 (en) Method and apparatus for determining the display mode of an electronic document
KR20150106330A (en) Image display apparatus and image display method
WO2023165301A1 (en) Content publishing method and apparatus, computer device, and storage medium
WO2022227974A1 (en) Subtitle processing method, apparatus and device and storage medium
US9357125B2 (en) Method and apparatus of displaying portrait on display
TWI383659B (en) A method for enlarging a portion of the display picture and a device applying the method
TWI334588B (en) Method for displaying and enlarging character
JP2008170544A (en) Telop display control device and telop display control method
JP2007114402A (en) Display processing apparatus
JP2007249921A (en) Image display device and image displaying method
CN110363832B (en) Subtitle generating method and device

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees