TWI271642B - Character generating apparatus, character generating method, and storage medium - Google Patents

Character generating apparatus, character generating method, and storage medium Download PDF

Info

Publication number
TWI271642B
TWI271642B TW093116552A TW93116552A TWI271642B TW I271642 B TWI271642 B TW I271642B TW 093116552 A TW093116552 A TW 093116552A TW 93116552 A TW93116552 A TW 93116552A TW I271642 B TWI271642 B TW I271642B
Authority
TW
Taiwan
Prior art keywords
character
enlargement
reduction
size
font
Prior art date
Application number
TW093116552A
Other languages
Chinese (zh)
Other versions
TW200515264A (en
Inventor
Akio Kotani
Noriyuki Koyama
Original Assignee
Sharp Kk
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 Sharp Kk filed Critical Sharp Kk
Publication of TW200515264A publication Critical patent/TW200515264A/en
Application granted granted Critical
Publication of TWI271642B publication Critical patent/TWI271642B/en

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/22Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of characters or indicia using display control signals derived from coded signals representing the characters or indicia, e.g. with a character-code memory
    • G09G5/24Generation of individual character patterns
    • G09G5/26Generation of individual character patterns for modifying the character dimensions, e.g. double width, double height
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/04Changes in size, position or resolution of an image
    • G09G2340/045Zooming at least part of an image, i.e. enlarging it or shrinking it

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

A character generating apparatus is provided, which comprises a storage section for storing a shape of each of at least one character, a character code input section for inputting a character code corresponding to the character to be generated, a size specifying input section for specifying a bitmap size corresponding to a letter frame of the character, an enlargement/reduction type switch section for changing vertical and horizontal enlargement/reduction rates of a character frame separately, while preventing the character frame from jutting out of the letter frame, based on a type of the input character code and the specified bitmap size, an enlargement/reduction section for enlarging/reducing data, indicating the shape of the character to the specified bitmap size by the enlargement/reduction rate specified by the enlargement/reduction type switch section, and an output section for outputting data enlarged/reduced by the enlargement/reduction section.

Description

1271642 框’當將字元水平或垂直配置為一字元序列時需要該主體 框,以使得相鄰字元之主體框相互接觸。相同字型中的所 有字元具有共同尺寸之一主體框。 一字型中所包含的每一字元皆具有一字母框(圖13中以 W2來指示)。將該字母框定義為具有該等字元形狀之一最大 尺寸之一框。該相同字型中的所有字元皆具有共同尺寸之 一字母框。 一字型中所包含的每一字元皆具有一字元框(圖13中以 W1來指示)。該字元框指示一範圍,實際上在此範圍内設計 一子元之形狀。因此,該字元框具有視字元不同而變動之 一尺寸。如圖13(a)及(b)所示,每一字元之字元框為一尺寸 不同之矩形形狀。例如,「胃」(圖13(a))之字元框係比「工」 (圖13 (b))之字元框之矩形更大之一矩形。 儘官為簡化原因而以指示圖13(&)及(b)中的字元骨幹結 構之筆晝資料來表示字元形狀,但可以指示該等字元輪廓 之輪廓資料來表示該等字元形狀。 藉由使用(例如)第4_177295號曰本特許公開案與第 5-257450號日本特許公開案中所說明之傳統技術,從指示 该等字兀形狀之資料產生字元。該些文獻揭示一種字元產 生裝置,用於在藉由一高解析度列印裝置(例如,一照相排 字機、一印表機或類似者)來列印一字元序列時,依據該字 凡尺寸而藉由改變該字母框對該主體框之比率來輸出一平 衡字元序列。 圖14(a)及(b)顯示上述技術之一範例。圖14(a)之「胃」或 93643.doc 1271642 「工」的字母框對主體框之比率高於圖14(b)之「胃」或「工 的字母框對主體框之比率。 圖1 5(a)及(b)顯示貫際列印的字元範例。圖15(a)中,三個 字元序列具有相同的字母框對主體框之比率。圖1 5(a)中, 三個字元序列之每一序列皆具有一不同的字母框對主體框 比率。當字元尺寸增加(上部序列)時,該字母框增加。在此 情況下’當以使相鄰字元之主體框接觸在一起之一方式而 水平或垂直配置字元時,可藉由調整字元之間的一空間以 使該空間不會過大而使該等字元識別起來可看似較大。 但是,舉例來說,當在放大字元的同時保持圖15⑷中的 字母框對主體框之比率時,字元之間的一空間亦增加,從 而使該等字元稀疏而因此難以讀取一字元序列。 第Μ 77295號日本特許公開案與第5·25745()號日本特許 公開㈣此問題解決如下。例如’在圖15⑷中,在放大或 縮小字元的同時改變字母框對主體框之比率。以一方式調1271642 Box 'The body frame is required when the characters are arranged horizontally or vertically as a sequence of characters such that the body frames of adjacent characters are in contact with each other. All characters in the same font have one body frame of a common size. Each character contained in a font has a one-letter box (indicated by W2 in Figure 13). The letter box is defined as a box having one of the largest sizes of the character shapes. All characters in the same font have a letter box of a common size. Each character contained in a font has a character box (indicated by W1 in Fig. 13). The character box indicates a range in which the shape of a sub-element is actually designed. Therefore, the character box has a size that varies depending on the character. As shown in Figures 13(a) and (b), the character box of each character is a rectangular shape having a different size. For example, the character box of "stomach" (Fig. 13(a)) is one rectangle larger than the rectangle of the character box of "work" (Fig. 13 (b)). For the sake of simplification, the character shape is indicated by the pen data indicating the character backbone structure in FIG. 13 (&) and (b), but the outline data of the character contours may be indicated to represent the characters. Meta shape. The character is generated from the material indicating the shape of the word by using, for example, the conventional technique described in Japanese Patent Laid-Open No. Hei. No. Hei. The documents disclose a character generating device for printing a sequence of characters when printed by a high resolution printing device (e.g., a phototypewriter, a printer, or the like) Where the size is, a sequence of balanced characters is output by changing the ratio of the letter box to the main frame. Figures 14(a) and (b) show an example of the above technique. Figure 14 (a) "stomach" or 93643.doc 1271642 "work" letter box to the main frame ratio is higher than the ratio of the "stomach" or "worker letter box to the main frame" of Figure 14 (b). Figure 1 5(a) and (b) show examples of characters printed continuously. In Figure 15(a), the sequence of three characters has the same ratio of letter boxes to the main frame. Figure 15 (a), three Each sequence of character sequences has a different letter box to body frame ratio. When the character size is increased (upper sequence), the letter box is increased. In this case, 'when the object of the adjacent character is made When the frames are in contact with one another and the characters are arranged horizontally or vertically, the characters can be recognized to be larger by adjusting a space between the characters so that the space is not too large. For example, when the ratio of the letter box to the main frame in FIG. 15(4) is maintained while the character is enlarged, a space between the characters is also increased, so that the characters are sparse and thus it is difficult to read one character. Sequence. Japanese Patent Publication No. 77295 and Japanese Patent Publication No. 5·25745() (4) This problem is solved as follows E.g. 'in FIG 15⑷, the enlarged or reduced characters while changing the ratio of the letterbox of the main frame. In a manner tune

整字元之間的一空間而使得放夫 I V 之讦荻大子凡時的字母框對主體框 之比率比該等字元較小時之比率 半更大。因此,可抑制一序 列中的字元稀疏度。 在第4_1 77295號日本特許公n安 A開案與第5_25745〇號曰本特 二==!統技術中,例如,可藉_該^ 蝴叫(ei3(a)她使字元識別 但是,當字元以尺寸較小一一 解狀疮3 _ 位70映像形式顯示於一低 度1_置(例如—液晶顯示器、—EL顯示器、-電漿 93643.doc 1271642 筆旦#1-10之y座標( = 9),以匹配該字母框。藉由 y-(9-125)1 · 1 + 127.5來計算所產生之y座標以獲得一 y座標 值〇。此值等於該字母框下側之y座標值(=〇)。 相反地,第4·177295號曰本特許公開案與第5_25745〇號 曰本特許公開案並不使用該字元框之原點。參考圖15〇3), 在該些傳統技術中,藉由對該字母框W2對該主體框W3之比 率作如下改變來放大或縮小字元。例如,放大圖2A之字元 「胃」,其中將用於一放大/縮小程序之原點y座標設定為該 字母框中心之y座標(=127·5),而該放大/縮小比率與上述比 率相同而為U。藉由y=(241-127.5)1· 1 + 127.5來計算該筆畫 # 1 -2之所產生y座標(=241)以獲得一 y座標值252,其不等於 該字母框上側之y座標值(=255)。藉由y=(9-127.5)l. 1 + 127.5 來計算該筆晝#1-10之所產生y座標(=9)以獲得一 y座標值 3,其不等於該字母框下側之y座標值(=〇)。 因此,需要指示一字母框之座標位置或該原點(中心)之 >訊以將字元調適成匹配該字母框。若無可用的指示一字 元框之座標位置或原點(中心)之資訊,且將該字母框中心用 作該y座標之放大/縮小原點,則不能將該字元框之上側與 下侧調適成匹配該字母框之上側與下側。 【發明内容】 依據本發明之一方面,提供一種字元產生裝置,其包含: 一儲存區段,其用以儲存至少一字元中每一字元之一形 狀,一字元碼輸入區段’其用以輸入與欲產生之該至少一 字元相對應之一字元碼;一尺寸指定輸入區段,其用以指 93643.doc 1271642 定與忒至少一字元之一字母框相對應之一位元映像尺寸; 一放大/縮小字體轉換區段,其用以依據具有該輸入字元碼 與該私疋位元映像尺寸之一字體而分別改變一字元框之垂 直與水平放大/縮小比率,同時防止該字元框突出該字母 框;一放大/縮小區段,其用以依據由該放大/縮小字體轉換 區段所指定之放大/縮小比率,將指示該至少一字元之形狀 之 > 料放大/縮小至該指定位元映像尺寸;以及一輸出區 段,其用以輸出由該放大/縮小區段放大/縮小之資料。 在本發明之一項具體實施例中,該放大/縮小字體轉換區 段定義相對於該位元映像尺寸之一第一尺寸。當該指定位 元映像尺寸小κ第—尺寸時,該放大/縮小字體轉換區段 =別改變該字元框之垂直與水平放大/縮小比率,而使得該 子元忙之上、下、右及左側分別接觸該字母框之上、下、 右及左側。 在本發明之一項具體實施例中,該放大/縮小字體轉換區 段定義相對於該位元映像尺寸之一第二尺寸。當該指定位 元映像尺寸等於或大於該第二尺寸時,該放大/縮小字體轉 換區段保持該字元框對該字母框之一比率。 在本發明之一項具體實施例中,該放大/縮小字體轉換區 段定義相對於該位元映像尺寸之一第一尺寸與一第二尺 寸。當該指定之位元映像尺寸等於或大於該第一尺寸而小 於該第二尺寸時,該放大/縮小字體轉換區段改變該垂直與 水平放大/縮小比率,而使得該料框之上及下或右及左側 分別接觸該字母框之上及下或右及左側。 93643.doc 1271642 元映像尺寸;以及輸出藉由該放大/縮小步驟而放大/縮小之 資料。 依據本發明之另一方面,提供一種字元產生程式以使一 電腦執行以下步驟:儲存至少一字元中每一字元之一形 狀;輸入與欲產生之至少一字元相對應之一字元碼;指定 與該至少一字元之一字母框相對應之一位元映像尺寸;依 據具有藉由該字元碼輸入步驟而輸入之字元碼與藉由該位 元映像尺寸指定步驟而指定之位元映像尺寸之一字體,分 別改變該字元框之垂直與水平放大/縮小比率,同時防止該 子凡框突出該字母框;依據藉由該改變步驟而指定之垂直 與水平放大/縮小比率將指示該至少一字元之形狀之資料 放大/縮小至該指定位元映像尺寸;以及輸出藉由該放大/ 縮小步驟而放大/縮小之資料。 依據本發明之另一方面,提供一種電腦可讀取之記錄媒 體’其儲存用以使一電腦執行以下步驟之一字元產生程 式:儲存至少一字元中每一字元之一形狀;輸入與欲產生 之至少一字元相對應之一字元碼;指定與該至少一字元之 一字母框相對應之一位元映像尺寸;依據具有藉由該字元 碼輸入步驟而輸入之一字元碼之字體與藉由該位元映像尺 寸指定步驟而指定之一位元映像尺寸之字體,分別改變一 字元框之垂直與水平放大/縮小比率,同時防止該字元框突 出該字母框;依據藉由該放大/縮小字體轉換步驟而指定之 垂直與水平放大/縮小比率將指示該至少一字元形狀之資 料放大/縮小至該指定位元映像尺寸;以及輸出藉由該放大 93643.doc -14· 1271642 /縮小步驟而放大/縮小之資料。 下面將對本發明之功能說明如下。 依據本發明,該放大/縮小字體轉換區段依據具有經由該 子元碼輸入區段而輸入之字元碼與由該尺寸指定輸入區段 所指定之一位元映像尺寸之字體,選取一放大/縮小字體用 以改變一字元框之垂直與水平放大/縮小比率且同時分別 防止該字元框突出一字母框。依據該放大/縮小字體轉換區 段所選取之放大/縮小字體,該放大/縮小區段將從該儲存區 段讀出的指示一字元形狀之資料放大/縮小至該指定位元 映像尺寸,並經由該輸出區段輸出該等所產生資料。 例如,當該指定位元映像尺寸小於一第一尺寸而具有該 第一尺寸之一字元明顯受到人視覺識別上之一丨點的量化 誤差影響時,該放大/縮小字體轉換區段選取以下放大/縮小 字體。分別在一垂直方向與在一水平方向上放大/縮小一字 元框以使得該字元框之上、下、右及左側分別接觸一字母 框之上、下、右及左側。因此,可輸出一具有相同尺寸之 字元序列。因此,字元一致而能容易讀取。 當該指定位元映像尺寸等於或大於一第二尺寸時,而具 有該第二尺寸之一字元實質上不受人視覺識別上之一 1點 的量化誤差影響時,該放大/縮小字體轉換區段選取以下放 大/縮小字體。將一字元框對一字母框之一比率保持為一規 定比率’從而使得可輸出容易讀取之一字元序列。 當該指定位元映像尺寸等於或大於上述第一尺寸而小於 上述第二尺寸時,該放大/縮小字體轉換區段選取以下放大 93643.doc •15- 1271642 下面’將藉由說明性範例並參考附圖來說明本發明。 圖1係顯示依據本發明之一項具體實施例之一字元產生 裝置之一結構之一方塊圖。 參考圖1,一字元產生裝置ίο包含一儲存區段1、一字元 馬輸入區段2 尺寸指定輸入區段3、一放大/縮小字體轉 換區& 4 放大/縮小字體餘存區段ό、一放大/縮小區段5 以及一輸出區段7。依據本發明之字元產生程式來實行本發 子元產生私序,該字元產生程式儲存於一儲存區段 (未顯不)中。由一控制區段(中央處理單元^㈣丨p_ssing unit ’ CPU))控制每一程序,包括··用以從該儲存區段^中選 ^與一輸人字元碼相對應之字元資料之-程序,由該放大/ ^小子體轉換區段4與該放大/縮小區段5實行之放大/縮小 程序,由該輸出區段7實行之—輸出程序之類。 例如’可藉由-個人電腦來實現該字元產生裝置10。可 使用任思個人電腦,例如一桌上型電腦、一膝上型電腦、 一筆記型電腦或類似者。或者,該字元產生裝置10可為-字處理器。 或者’可藉由任意資訊顯示裝置,例如,包含一顯示元 f以作為該輸出區段7之—電子裝置或-資訊裝置(電子資 成裝置)’來實現該字元產生裝置10。例如,該字元產生裝 置10可為一電子裝置’-行動資訊工具(例如,-個人數位 等)通°孔裝i(例如,一行動電話裝置(包括PHS)或 一傳統的電話/傳真裝置等),每一該等裝置皆包含-液晶顯 示元件。 93643.doc -17- 1271642 或者,可藉由一伺服裝置來實現該字元 。該 J几度生裝置1 〇 伺服裝置不一定特別地包含一顯示元件。 下面將說明該儲存區段1。 5亥儲存區段1儲存 π π, u、彤狀。該儲存 E心1從該字元碼輸入區段2接收與一字亓雄上 予疋碼相對應之一輸 〜,並向與其連接之放大/料區段5輪出與該碼相對應之 字元資料。 〜 子元資料指示一字元之形狀 該向量資訊可為一筆晝字體、 體或類似者。 ,並可為(例如)向量資訊。 一輪廓字冑、-as映像字 例如,將如圖2A所示的字元「胃之整 κ如 」<聿畫資料儲存於該 儲存區幻中,如τ所述。參考圖3A,在—區軸中說明一 ^碼,而明確言之,在其中定義「胃」之m圖形字元碼 ⑹3」。在-區域02中說明組成一字元之筆晝數目,而明 確言之,在其中定義組成該字元「胃」之筆畫數目㈣)。 在一區域〇3中說明一筆畫數目。例如,如圖3A所示,將 圖2A所示之垂直筆畫⑸指定為%。在—區⑽中說明 由-筆畫所擁有之座標數目。例如,如圖3Α所示,將圖Μ 所示之筆晝#Μ給定為「2」。 在一區域05中說明一筆晝之字體。例如,如圖3Α所示, 將㈤續示之垂直筆晝#Η給定為「直、線」。在一區域〇6 中°兒明冑晝之相對端之座標值。例如,如圖3 Α所示,.將 圖2A所示之筆晝#1-1給定為(25, 241)與(25, 162)。 將如圖2B所不的字元「工」之筆晝資料儲存於該儲存區 93643.doc -18- 1271642 段1中,如下所述。參考圖3B,在一區域01中將「工」之jis 圖七子元竭「0508」定義為一字元碼。在一區域〇2中定義 、且成°亥予元「工」之筆畫數目「3」。在一區域03中說明一 筆晝數目。例如,如圖3B所示,將圖2B所示之一筆書#2」 給定為「1」。在一區域04中說明由一筆晝所擁有之座標數 目。例如,如圖3B所示,將圖2B所示之筆晝#2-1給定為「2」。 在一區域05中說明一筆畫之字體。例如,如圖3B所示,將 圖2B所示之筆畫#2_丨給定為「直線」。在一區域⑽中說明一 筆晝之相對端之座標值。例如,如圖3B所示,將圖2b所示 之筆晝 #2-1給定為(40, 200)與(216, 200)。 將如圖2C所示的字元「三」之筆晝資料儲存於該儲存區 段1中,如下所述。參考圖3C,在一區域〇1中將「三」之爪 圖形字元碼「27丨6」定義為一字元碼。在一區域〇2中定義 組成該字元「三」之筆畫數目「3」。在一區域〇3中說明一 筆晝數目。例如,如圖3C所示,將圖2C所示之一筆晝#3」 給定為「1」。在一區域04中說明一筆晝所擁有之座標數目。 例如,如圖3C所示,將圖2C所示之筆畫#3-1給定為「2」。 在一區域05中說明一筆晝字體。例如,如圖3c所示,將圖 2C所示之筆晝#34給定為「直線」。在一區域〇6中說明一筆 晝之相對端之座標值。例如,如圖3C所示,將圖2C所示之 筆晝 #3_1給定為(18, 231)與(236, 23 1)。 可將字元資料儲存於任何任意儲存媒體中,例如,較佳 為一硬碟、一 CD-ROM、一 磁光碟(M〇 ; magnet〇-〇ptic disc)、一 MD、一 DVD、一1C卡、一光學卡或類似者。 93643.doc -19- 1271642 該字元碼輸入區段2係用於將字元碼輸入進該字元產生 裝置10。將該等輸入字元碼提供給連接至該字元碼輸入區 段2之儲存區段1以及放大/縮小字體轉換區段4。 字元碼可用來識別字元。字元碼之範例包括該JIS碼、該 偏移JIS碼、該EUC碼、該JIS圖形字元碼、該UNIC〇DE之 類。 可藉由一通訊區段,例如LAN、WAN、一行動電話網路、 一有線通訊網路、一無線通訊網路、用以將一電腦連接至 一周邊裝置之一介面、一電腦内之一資料匯流排或類似 者,來實現該字元碼輸入區段2。 該尺寸指定輸入區段3係用來輸入與一字元之一字母框 相對應之-位元映像尺寸。將該等所輸人位元映像尺寸提 仏…連接至忒尺寸指定輸入區段3之放大/縮小字體轉換區 段4。該位元映像尺寸可為(例如)至少為一之一整數。 該尺寸指定輸入區段3可為一通訊區段,例如lan、 麵、一行動電話網路、一有線通訊網路、一無線通訊網 路、用以將-電腦連接至—周邊裝置之—介面,—電腦内 之一資料匯流排或類似者。 A放大/、,很小字體轉換區段4依據從該字元碼輸入區段之 提t、之+ TL碼以及從該尺寸指定輸入區段3提供之一位 兀映像尺寸來決定4闽μ & — 汝圖4所不之一放大/縮小字體。將該等 所決疋之放大/縮/J、念:/11 ^ 子體k供給連接至該放大/縮小字體轉 換區段4之放大/縮小區段5。A space between the entire character makes the ratio of the letter box to the main frame of the imaginary I V greater than the ratio of the smaller ones. Therefore, the word sparsity in a sequence can be suppressed. In the Japanese Patent No. 4_1 77295, the Japanese franchise n Ann A and the 5_25745 曰 曰 Bent II == system technology, for example, you can borrow _ the ^ butterfly (ei3 (a) she makes the character recognition, however, When the character is smaller in size, the shape of the sore 3 _ bit 70 is displayed in a low degree 1_ (for example, liquid crystal display, -EL display, -plasma 93643.doc 1271642 pendan #1-10 y coordinate ( = 9) to match the letter box. Calculate the resulting y coordinate by y-(9-125)1 · 1 + 127.5 to obtain a y coordinate value 〇. This value is equal to the lower side of the letter box. The y coordinate value (=〇). Conversely, the privilege of the privileged publication No. 4, 177, 295 and the 特许 第 第 第 第 特许 特许 特许 特许 特许 特许 特许 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 In the conventional techniques, the character element is enlarged or reduced by changing the ratio of the letter box W2 to the main body frame W3 as follows. For example, the character "stomach" of FIG. 2A is enlarged, which will be used for zooming in / The origin y coordinate of the reduction procedure is set to the y coordinate (=127·5) at the center of the letter box, and the enlargement/reduction ratio is the same as the above ratio and is U. By y=(241-127) .5) 1· 1 + 127.5 to calculate the resulting y coordinate (= 241) of the stroke # 1 - 2 to obtain a y coordinate value 252 which is not equal to the y coordinate value (= 255) on the upper side of the letter box. The y coordinate (=9) generated by the 昼#1-10 is calculated by y=(9-127.5)1.1 + 127.5 to obtain a y coordinate value of 3, which is not equal to the y coordinate of the lower side of the letter frame. Value (=〇) Therefore, it is necessary to indicate the coordinate position of the letter box or the origin (center) to adjust the character to match the letter box. If no coordinate position indicating the character box is available Or the origin (center) information, and the center of the letter box is used as the enlargement/reduction origin of the y coordinate, and the upper side and the lower side of the character frame cannot be adapted to match the upper side and the lower side of the letter frame. According to an aspect of the present invention, a character generating apparatus is provided, including: a storage section for storing one of each character of at least one character, a character code input area; a segment 'for inputting one character code corresponding to the at least one character to be generated; a size specifying input segment, which is used to refer to 93 643.doc 1271642 defines a size of a bitmap corresponding to one of the letter boxes of at least one character; an enlargement/reduction font conversion section for using the input character code and the private bitmap image One of the sizes of the fonts to change the vertical and horizontal enlargement/reduction ratios of the one-character frame, respectively, while preventing the character frame from protruding the letter frame; and an enlargement/reduction section for using the enlargement/reduction font conversion area The enlargement/reduction ratio specified by the segment indicates that the shape of the at least one character is enlarged/reduced to the specified bitmap image size; and an output section for outputting the enlargement/reduction section Enlarge/reduce the data. In a particular embodiment of the invention, the enlargement/reduction font conversion area defines a first size relative to one of the bit map sizes. When the specified bit map size is small κ-size, the enlargement/reduction font conversion section=do not change the vertical and horizontal enlargement/reduction ratio of the character frame, so that the sub-element is busy above, below, and right And the left side touches the upper, lower, right and left sides of the letter box respectively. In one embodiment of the invention, the enlargement/reduction font conversion area defines a second size relative to one of the bit map sizes. The enlargement/reduction font conversion section maintains a ratio of the character box to the letter box when the specified bit map size is equal to or greater than the second size. In one embodiment of the invention, the enlargement/reduction font conversion section defines a first size and a second size relative to one of the bit map sizes. When the specified bit map size is equal to or larger than the first size and smaller than the second size, the enlargement/reduction font conversion section changes the vertical and horizontal enlargement/reduction ratios such that the frame is above and below Or right and left respectively touch the top and bottom or right and left sides of the letter box. 93643.doc 1271642 Meta-image size; and output data that is enlarged/reduced by the enlargement/reduction step. According to another aspect of the present invention, a character generation program is provided to cause a computer to perform the steps of: storing one of each character in at least one character; and inputting one word corresponding to at least one character to be generated. a metacode; specifying a bitmap size corresponding to one of the at least one character letter boxes; according to the character code input by the character code input step and the step of specifying the size by the bit map size a font of a specified bitmap size, respectively changing the vertical and horizontal enlargement/reduction ratio of the character frame, while preventing the sub-frame from highlighting the letter frame; according to the vertical and horizontal magnification specified by the changing step / The reduction ratio indicates that the data of the shape of the at least one character is enlarged/reduced to the specified bit map size; and the data enlarged/reduced by the enlargement/reduction step is output. According to another aspect of the present invention, a computer readable recording medium is provided which is configured to cause a computer to execute a character generation program of the following steps: storing one of each character in at least one character; Corresponding to at least one character to be generated, one character code; one bit image size corresponding to one of the at least one character letter boxes; one of inputting according to the input step by the character code input step The font of the character code and the font of one of the bitmap sizes specified by the bit size specifying step, respectively changing the vertical and horizontal enlargement/reduction ratio of the character box, and preventing the character box from highlighting the letter a vertical/horizontal enlargement/reduction ratio specified by the enlargement/reduction font conversion step to indicate enlargement/reduction of the at least one character shape data to the specified bit map size; and output by the amplification 93643 .doc -14· 1271642 / Zoom in/out the data by zooming out. The function of the present invention will be described below. According to the present invention, the enlargement/reduction font conversion section selects an enlargement according to a font having a character code input via the sub-code input section and a size of a bitmap image specified by the size-specified input section. / Reduce the font to change the vertical and horizontal enlargement/reduction ratio of a character box and prevent the character box from protruding a letter box, respectively. And according to the enlarged/reduced font selected by the enlargement/reduction font conversion section, the enlargement/reduction section enlarges/reduces the data indicating the shape of one character read out from the storage section to the specified bitmap image size, And outputting the generated data via the output section. For example, when the specified bit map size is smaller than a first size and one of the first size characters is significantly affected by the quantization error of one of the points on the human visual recognition, the enlargement/reduction font conversion section selects the following Enlarge/reduce the font. The character frame is enlarged/reduced in a vertical direction and in a horizontal direction, respectively, such that the top, bottom, right, and left sides of the character frame are respectively contacted above, below, to the right, and to the left of the letter box. Therefore, a sequence of characters having the same size can be output. Therefore, the characters are consistent and can be easily read. The enlargement/reduction font conversion when the specified bit map size is equal to or larger than a second size, and one of the second size characters is substantially unaffected by a quantization error of one point on the human visual recognition The section selects the following enlargement/reduction font. The ratio of one character box to one letter box is maintained at a prescribed ratio ' so that one character sequence can be easily read out. When the specified bit map size is equal to or larger than the first size and smaller than the second size, the enlargement/reduction font conversion section is selected as follows: 93643.doc • 15-1271642 Below 'will be explained by reference example The drawings illustrate the invention. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a block diagram showing the construction of one of the character generating devices in accordance with an embodiment of the present invention. Referring to FIG. 1, a character generating device ίο includes a storage section 1, a character horse input section 2 size designation input section 3, an enlargement/reduction font conversion area & 4 enlargement/reduction font remaining section ό, an enlargement/reduction section 5 and an output section 7. The character generation program is executed in accordance with the character generation program of the present invention to generate a private sequence, and the character generation program is stored in a storage section (not shown). Each program is controlled by a control section (the central processing unit ^4) 丨p_ssing unit 'CPU)), including: selecting a character data corresponding to an input character code from the storage section ^ The program is an enlargement/reduction procedure performed by the enlargement/^ small sub-body conversion section 4 and the enlargement/reduction section 5, and is executed by the output section 7 - an output program or the like. For example, the character generating device 10 can be implemented by a personal computer. You can use a personal computer such as a desktop computer, a laptop computer, a laptop computer or the like. Alternatively, the character generating device 10 can be a word processor. Alternatively, the character generating device 10 can be realized by any information display device, for example, including a display unit f as an electronic device or an information device (electronic component device) of the output section 7. For example, the character generating device 10 can be an electronic device's mobile information device (eg, a personal digital device, etc.) (eg, a mobile telephone device (including PHS) or a conventional telephone/fax device. Etc.) Each of these devices includes a liquid crystal display element. 93643.doc -17- 1271642 Alternatively, the character can be implemented by a servo device. The J-segment device 1 伺服 the servo device does not necessarily include a display element. The storage section 1 will be explained below. 5H storage section 1 stores π π, u, 彤 shape. The storage E-heart 1 receives from the character code input section 2 a corresponding one of the weights corresponding to the one-word prefix, and rotates to the amplifying/material section 5 connected thereto to correspond to the code. Character data. ~ The sub-information indicates the shape of a character. The vector information can be a font, body or the like. And can be, for example, vector information. A contour word -, -as image word For example, the character "stomach κ as" < 聿 painting data as shown in Fig. 2A is stored in the storage area, as described by τ. Referring to Fig. 3A, a code is explained in the area axis, and specifically, a m-picture character code (6) 3" of "stomach" is defined therein. In the - area 02, the number of pens constituting a character is explained, and the number of strokes constituting the character "stomach" (4) is defined therein. The number of strokes is indicated in an area 〇3. For example, as shown in Fig. 3A, the vertical stroke (5) shown in Fig. 2A is designated as %. In the area (10), the number of coordinates owned by the - strokes is explained. For example, as shown in Fig. 3A, the pen 昼#Μ shown in Fig. Μ is given as "2". In a region 05, a font of a 昼 is described. For example, as shown in FIG. 3A, the vertical pen 昼#Η of (5) is given as “straight line”. In a region 〇6, the coordinate value of the opposite end of the child. For example, as shown in Fig. 3, the pen 昼 #1-1 shown in Fig. 2A is given as (25, 241) and (25, 162). The pen data of the character "work" as shown in Fig. 2B is stored in the storage area 93643.doc -18-1271642, paragraph 1, as described below. Referring to FIG. 3B, in a region 01, the "child" jis diagram seven sub-element "0508" is defined as a character code. In the area 〇2, the number of strokes defined by the "Yu" is "3". A number of strokes is described in an area 03. For example, as shown in FIG. 3B, one of the pens #2" shown in FIG. 2B is given as "1". The number of coordinates owned by a circle is described in an area 04. For example, as shown in FIG. 3B, the pen 昼 #2-1 shown in FIG. 2B is given as "2". The font of a stroke is described in an area 05. For example, as shown in Fig. 3B, the stroke #2_丨 shown in Fig. 2B is given as "straight line". The coordinate value of the opposite end of a pen is described in an area (10). For example, as shown in Fig. 3B, the pen 昼 #2-1 shown in Fig. 2b is given as (40, 200) and (216, 200). The pen data of the character "three" as shown in Fig. 2C is stored in the storage section 1, as described below. Referring to Fig. 3C, the "three" claw graphic character code "27丨6" is defined as a character code in a region 〇1. In the area 〇2, the number of strokes "3" constituting the character "three" is defined. A number of strokes is described in an area 〇3. For example, as shown in Fig. 3C, one of the pens #3" shown in Fig. 2C is given as "1". In a region 04, the number of coordinates possessed by a 昼 is described. For example, as shown in FIG. 3C, the stroke #3-1 shown in FIG. 2C is given as "2". A 昼 font is described in an area 05. For example, as shown in Fig. 3c, the pen 昼 #34 shown in Fig. 2C is given as "straight line". The coordinate value of the opposite end of a 昼 is described in an area 〇6. For example, as shown in Fig. 3C, the pen 昼 #3_1 shown in Fig. 2C is given as (18, 231) and (236, 23 1). The character data can be stored in any arbitrary storage medium, for example, preferably a hard disk, a CD-ROM, a magneto-optical disc (M〇; magnet〇-〇ptic disc), an MD, a DVD, a 1C Card, an optical card or the like. 93643.doc -19- 1271642 The character code input section 2 is for inputting a character code into the character generating apparatus 10. The input character codes are supplied to the storage section 1 and the enlargement/reduction font conversion section 4 connected to the character code input section 2. The character code can be used to identify characters. Examples of the character code include the JIS code, the offset JIS code, the EUC code, the JIS graphic character code, the UNIC〇DE, and the like. By means of a communication section, such as a LAN, a WAN, a mobile telephone network, a wired communication network, a wireless communication network, an interface for connecting a computer to a peripheral device, and a data sink in a computer Row or similar, to implement the character code input section 2. The size designation input section 3 is used to input a bit map size corresponding to a letter box of one character. The size of the input bitmap image is extracted... connected to the enlargement/reduction font conversion section 4 of the size input designation section 3. The bit map size can be, for example, at least one integer. The size designation input section 3 can be a communication section, such as a lan, a surface, a mobile telephone network, a wired communication network, a wireless communication network, an interface for connecting the computer to the peripheral device, A data bus or similar in the computer. A zoom in /, small font conversion section 4 is determined according to the t, + TL code from the character code input section and one bit 兀 image size provided from the size designation input section 3 to determine 4 闽 μ & - Do not enlarge/reduce the font in Figure 4. The enlargement/reduction/J, 念: /11^ child k supply of the decision is connected to the enlargement/reduction section 5 of the enlargement/reduction font conversion section 4.

圖4之範例包括· L •一放大/縮小字體A「全框放大」,其中 93643.doc •20- 1271642 垂直及水平改變一字元框之放大/縮小比率而使得該字元 框匹配該字母框;一放大/縮小字體B「簡單放大」,其中保 持一規定的字元框對字母框比率;以及一放大/縮小字體c 「比率保持放大」,其中以相同的放大/縮小比率垂直及水 平改變該字元框,同時保持該字母框與該字元框之縱橫 比’而使得該字元框在該垂直或水平方向上匹配該字母框。 该放大/縮小字體c包括:一放大/縮小字體cq「垂直全 框放大」,其中以相同的放大/縮小比率垂直及水平改變該 字元框,同時保持該字母框與該字元框之縱橫比,而使得 該字元框在該垂直方向上匹配該字母框;以及一放大/縮小 字體C-2「水平全框放大」,其中以相同的放大/縮小比率垂 直及水平改變該字元框,同時保持該字母框與該字元框之 縱檢比,而使得該字元框在該水平方向上匹配該字母框。 特定言之,當在連接至該放大/縮小字體轉換區段4之放 大/縮小字體儲存區段6中設定依據從該字元碼輸入區段2 提供之一字元碼與從該尺寸指定輸入區段3提供之一位元 映像尺寸之一組合而決定之一放大/縮小字體時,該放大/ 縮小字體轉換區段4從該放大/縮小字體儲存區段6中選取 與該字元碼與位元映像尺寸相對應之一放大/縮小字體。經 由連接至該放大/縮小字體儲存區段6之放大/縮小字體轉換 區段4,將所選取之放大/縮小字體提供給連接至該放大/縮 小字體轉換區段4之放大/縮小區段5。 圖5係顯示儲存於圖1之放大/縮小字體儲存區段6中之一 範例性放大/縮小字體之一圖式。 93643.doc •21- 1271642 大X座標。以min_y表示該字元框之最小y座標,而以咖χ ^ 表示該字元框之最大y座標。在此情況下,該字元框之㈣ 寬度為: π mx=max—x_min一X 〇 該字元框之實際高度為: my=max—y_min一y 〇 當mx=<my時,決定該字元框為縱向。選取該放大/縮小 字體「C-1」。然後,該程序進行到步驟su。 當mx>my時,決定該字元框為橫向。選取該放大/縮小字 體「C-2」。該程序進行到步驟s丨j。 例如,在圖3 A之字元資料「胃」之情況下,該字元框之 實際寬度mx為205(=230-25),而該字元框之實際高度1^為 232(=241-9)。因此,該字元框為縱向,並選取該放大/縮小 字體「C-1」。 在圖3C之字元資料「三」之情況下,該字元框之實際寬 度mx為239(=247-8),而該字元框之實際高度听為 206(=231-25)。因此,該字元框為橫向,並選取該放大/縮 小字體「C-2」。 在步驟S11中,依據步驟S2中輸入之一位元映像尺寸、在 步驟S3中讀出之字元資料、在步驟;§5、87或S8中選取之一 放大/縮小字體而實行放大/縮小轉換。對在放大/縮小轉換 中所計算之數值四捨五入取整數。 例如,如圖2A所示,在256x25 6點之一字母框中包含一原 始字元資料,即該等座標資料範圍自(〇,〇)到(255, 255)。以 93643.doc -26- 1271642 (x,y)表示轉換前之座標資料,而以(ηχ,ny)表示在轉化為一 (n+1) X (n+l)(圖2A中n=255)之字母框後之座標資料。以 mm—X表示該字元框之最小χ座標,而以max—x表示該字元框 之最大X座標。以min—y表示該字元框之最小y座標,而以 max—y表示該字元框之最大y座標。在此情況下,該字元框 之實際寬度為: mx=max一 x-min—x. 該字元框之實際高度為: my=max—y-min一y. 例如,當該放大/縮小字體為「A」時,依據以下表達式 來計算放大/縮小轉換後之座標(nx,ny): (nx,ny)=((x-min—x)xn/mx,(y_min—y卜n/m力⑴。 例如,當在步驟S2中輸入之-位元映像尺寸為u點時, 使用上述表達式⑴將_之字元資料「胃」轉換成㈣ 產生接觸該字母 以下表達式來計 所示之字元資料值。因此,如圖9(a)所示, 框之上、下、右及左侧之一字元。 當選取該放大/縮小字體「B」時,藉由 异放大/縮小轉換後之座標(nx,ny): (nx,ny)=(xxn/255, yxn/255)".(2) 0 元映像尺寸為23點時, 料「胃」轉換成圖8C所 示,產生保持一字母框 例如,當在步驟S2中輸入之一位 使用上述表達式(2)將圖2A之字元資 示之字元資料值。因此,如圖9(c)所 對一字元框之一比率之一字元 例如, 當在步驟S2中輸入之一位 元映像尺寸為23點時 93643.doc -27- 1271642 給該輸出區段7。 圖I2(a-1)顯示依據一傳統技術在調整一字母框對一主體 框之一比率時放大/縮小之一字元序列,其中與該字母框相 對應之一位元映像尺寸為19。 為作比較,圖12(b-l)顯示一字元序列,藉由使用該項具 體只施例之字元產生方法來放大/縮小該字元序列而使得 一字元框之上、下、右及左側分別匹配一字母框之上、下、 右及左側,其中與該字母框相對應之一位元映像尺寸為 19(與圖12(a-l)中的字元尺寸相對應)(在該項具體實施例中 一位元映像尺寸小於16之放大/縮小字體a)。 圖12(a-2)顯示圖i2(a_l)之字元框,以黑色填充該字元 框。圖12(b-2)顯示圖l2(b-l)之字元框,以黑色填充該字元 框。圖12(a-3)顯示具有圖I2(a-i)之一實際尺寸之字元。圖 12(b-3)顯示具有圖i2(b-l)之一實際尺寸之字元。 將圖12(a-2)與圖12(b_2)作比較,可看見圖12(a_2)之字元 框之位置及尺寸皆改變,而圖12(b_2)之字元框之位置及尺 寸皆不改變。比較顯示具有一實際尺寸之一字元序列之圖 12(a-3)與12(b-3)’圖12(a-3)中的字元位置及尺寸變化明顯。 依據本發明之上述具體貫施例,該放大/縮小字體轉換區 段4依據由該字元碼輸入區段2輸入之一字元碼以及由該尺 寸指定輸入區段3輸入之一位元映像尺寸,選取適用一字元 框之垂直與水平放大/縮小比率(rate/rati〇)之一放大/縮小 字體。依據該放大/縮小字體,該放大/縮小區段5放大/縮小 儲存於該儲存區段1中之字元資料之形狀,並經由該輸出區 93643.doc -29- 1271642 丰又7而輸出所產生之字元資料。因此,可能在一序列字元顯 示於低解析度顯示裝置或類似者上時產生容易讀取且實 質上無變化之字元。 在上述具體實施例中,當一指定位元映像尺寸小於一第 尺寸時,分別在一垂直方向與在一水平方向上放大/縮小 字70框以使得該字元框之上、下、右及左側分別接觸一 字母框之上、下、右及左側。或者,可分別改變該等垂直 與水平方向上之放大/縮小比率而使得一字元框之上、下、 右及左側與一字母框之上、下、右及左側間隔丨點或更多(視 覺上識別為接觸)。換言之,依據本發明,可分別改變該等 垂直與水平方向上之放大/縮小比率以使得一字元框之 上、下、右及左側實質上接觸一字母框之上、下、右及左 側(包括未建立接觸之處)。為獲得_致且規則的字元序列而 改變該放大/縮小比率。 同樣’當-指定位元映像尺寸等於或大於—第—尺寸而 小於-第二尺寸時,在該等垂直與水平方向上以相同的放 大/縮小比率來放大/縮小—字元以使得—字元框之上及下 或右及左側分別接觸一字母框之上及下或右及左側。或 者’可改㈣放大/縮小比率而使得該字與該字母框間 隔1點或更多(視覺識別為接觸)。 如上所述,依據本發明,可依據字元碼及位元映像尺寸 來產生能容易讀取且實質上無變化之一字元序列。特定古 之,能產生最佳適合於低解析度顯示裝置之―字元序列。 熟習此項技術者將會明白並容易進行各種其他修改而不 93643.doc -30- ^271642 脫離本發明之範疇及精神。 圍受本文提出之㈣不希望隨附申請專利範 °斤限制,而應對其範圍作廣泛的解釋 【圖式簡單說明】 ,、之的解釋。 圖1係顯*依據本發明之—項具體實施 裝置之一結構之一方塊圖。 子疋產生 圖2Α係顯示組成—字元「胃…字元框、一字母框以 及每一筆晝之座標位置之一圖式。 子母框以 圖2Β係顯示組成一字元「工 月夂u 子70框、一字母框以 及母一筆晝之座標位置之一圖式。 圖2C係顯示組成一字元「三」之_字元框、一字母框以 及母一筆畫之座標位置之一圖式。The example of Figure 4 includes · L • an enlargement/reduction font A “full frame enlargement”, where 93643.doc • 20-1271642 changes the enlargement/reduction ratio of a character box vertically and horizontally so that the character box matches the letter Box; a zoom in/out font B "simple zoom" in which a specified character box to letter box ratio is maintained; and a zoom in/out font c "ratio keeps zooming" in which the same zoom in/out ratio is vertical and horizontal Changing the character box while maintaining the aspect ratio of the letter box and the character box causes the character box to match the letter box in the vertical or horizontal direction. The enlargement/reduction font c includes: an enlargement/reduction font cq "vertical full frame enlargement" in which the character frame is changed vertically and horizontally at the same enlargement/reduction ratio while maintaining the vertical and horizontal of the letter frame and the character frame Ratio, such that the character frame matches the letter box in the vertical direction; and a zoom in/out font C-2 "horizontal full frame enlargement" in which the character frame is changed vertically and horizontally at the same enlargement/reduction ratio While maintaining the vertical ratio of the letter box to the character box, the character box matches the letter box in the horizontal direction. Specifically, when the one-character code supplied from the character code input section 2 is specified in the enlargement/reduction font storage section 6 connected to the enlargement/reduction font conversion section 4, the input code is specified from the size input section. When the segment 3 provides one of the bit map sizes to determine one of the enlargement/reduction fonts, the enlargement/reduction font conversion section 4 selects from the enlargement/reduction font storage section 6 and the character code and One of the bit map sizes corresponds to enlarge/reduce the font. The selected enlargement/reduction font is supplied to the enlargement/reduction section 5 connected to the enlargement/reduction font conversion section 4 via the enlargement/reduction font conversion section 4 connected to the enlargement/reduction font storage section 6. . Figure 5 is a diagram showing one of the exemplary enlargement/reduction fonts stored in the enlargement/reduction font storage section 6 of Figure 1. 93643.doc • 21- 1271642 Large X coordinates. The minimum y coordinate of the character box is represented by min_y, and the maximum y coordinate of the character frame is represented by curry ^. In this case, the (4) width of the character box is: π mx=max—x_min—X 〇 The actual height of the character box is: my=max—y_min−y 〇when mx=<my, decide The character box is portrait. Select the enlargement/reduction font "C-1". Then, the program proceeds to step su. When mx>my, it is decided that the character box is horizontal. Select the enlargement/reduction font "C-2". The program proceeds to step s丨j. For example, in the case of the character "stomach" of Figure 3A, the actual width mx of the character box is 205 (= 230-25), and the actual height of the character box is 232 (= 241- 9). Therefore, the character frame is vertical, and the enlargement/reduction font "C-1" is selected. In the case of the character data "three" of Fig. 3C, the actual width mx of the character frame is 239 (= 247-8), and the actual height of the character frame is 206 (= 231-25). Therefore, the character frame is horizontal and the enlarged/reduced font "C-2" is selected. In step S11, according to the input of one of the bit map size in step S2, the character data read in step S3, in step § 5, 87 or S8, one of the enlargement/reduction fonts is performed to perform enlargement/reduction. Conversion. The value calculated in the enlargement/reduction conversion is rounded to an integer. For example, as shown in Fig. 2A, an original character data is contained in a letter box of 256x25 6 points, that is, the coordinate data ranges from (〇, 〇) to (255, 255). The coordinates of the coordinates before conversion are represented by 93643.doc -26-1271642 (x, y), and converted to one (n+1) X (n+l) by (ηχ, ny) (n=255 in Fig. 2A) ) The coordinates of the letter behind the box. The minimum χ coordinate of the character frame is represented by mm-X, and the maximum X coordinate of the character frame is represented by max_x. The minimum y coordinate of the character box is represented by min_y, and the maximum y coordinate of the character frame is represented by max_y. In this case, the actual width of the character box is: mx = max - x - min - x. The actual height of the character box is: my = max - y - min - y. For example, when zooming in / out When the font is "A", the coordinates of the enlargement/reduction conversion (nx, ny) are calculated according to the following expression: (nx, ny) = ((x - min - x) xn / mx, (y_min - yb n /m force (1). For example, when the size of the bit map image input in step S2 is u point, the above expression (1) is used to convert the character data "stomach" of the _ to (4) to generate the expression following the letter. The character data value shown. Therefore, as shown in Figure 9(a), one character above, below, right and left of the box. When the zoomed in/out font "B" is selected, by different magnification / Reduce the converted coordinates (nx, ny): (nx, ny) = (xxn / 255, yxn / 255) ". (2) 0 yuan image size is 23 points, the material "stomach" is converted into Figure 8C As shown, the generation of a one-letter box is generated, for example, when one bit is input in step S2, the character data value of the character of Fig. 2A is used using the above expression (2). Therefore, as shown in Fig. 9(c) One character case of one of the character box ratios When the input one-dimensional image size is 23 points in step S2, 93643.doc -27- 1271642 is given to the output section 7. Figure I2(a-1) shows that one letter box is adjusted according to a conventional technique. A ratio of one of the main frames is enlarged/reduced to a sequence of one character, wherein a bitmap size corresponding to the letter box has a size of 19. For comparison, FIG. 12(b1) shows a sequence of characters by using the The item-specific character generation method is used to enlarge/reduce the character sequence such that the upper, lower, right and left sides of a character box respectively match the upper, lower, right and left sides of the letter box, wherein the letter The box corresponds to a bit map size of 19 (corresponding to the character size in Figure 12 (al)) (in this embodiment the one-bit image size is smaller than 16 enlargement/reduction font a). 12(a-2) displays the character box of Figure i2(a_l), filling the character box with black. Figure 12(b-2) shows the character box of Figure 12 (bl), filling the character box with black Fig. 12(a-3) shows a character having an actual size of one of Fig. 12(ai). Fig. 12(b-3) shows a character having an actual size of one of the figures i2(b1). 12(a-2) and FIG. 12(b_2), it can be seen that the position and size of the character frame of FIG. 12(a_2) are changed, and the position and size of the character frame of FIG. 12(b_2) are not The comparison shows that the position and size of the characters in Figures 12(a-3) and 12(b-3)'Fig. 12(a-3) having a sequence of one character of an actual size are significantly changed. In the above specific embodiment, the enlargement/reduction font conversion section 4 selects and applies according to one character code input by the character code input section 2 and one bit map size input by the size designation input section 3. One of the vertical and horizontal enlargement/reduction ratios (rate/rati〇) of a character box enlarges/reduces the font. According to the enlarged/reduced font, the enlargement/reduction section 5 enlarges/reduces the shape of the character data stored in the storage section 1, and outputs the output via the output area 93643.doc -29-1272642 Generated character data. Therefore, it is possible to generate a character that is easy to read and has no change in nature when a sequence of characters is displayed on a low-resolution display device or the like. In the above specific embodiment, when a specified bit map size is smaller than a first size, the word 70 frame is enlarged/reduced in a vertical direction and in a horizontal direction so that the character frame is above, below, and right. The left side is in contact with the upper, lower, right and left sides of the letter box. Alternatively, the enlargement/reduction ratios in the vertical and horizontal directions may be respectively changed such that the top, bottom, right, and left sides of a character box are spaced apart from the top, bottom, right, and left sides of the letter box by a point or more ( Visually identified as contact). In other words, according to the present invention, the enlargement/reduction ratios in the vertical and horizontal directions can be respectively changed such that the upper, lower, right and left sides of a character frame substantially contact the upper, lower, right and left sides of the alphabetical frame ( Including where no contact has been established). The enlargement/reduction ratio is changed in order to obtain a regular and regular sequence of characters. Similarly, when the specified bit map size is equal to or greater than - the first size and less than the second size, the same enlargement/reduction ratio is used to enlarge/reduce the characters in the vertical and horizontal directions to make the word Above and below the right or left and right sides of the box, respectively, touch the top and bottom or right and left sides of the letter box. Or ' can change (4) the enlargement/reduction ratio such that the word is separated from the letter box by one or more points (visually recognized as contact). As described above, according to the present invention, a sequence of characters which can be easily read and which is substantially unchanged can be generated in accordance with the character code and the size of the bit map. Certainly, it produces a sequence of "characters" that are best suited for low-resolution display devices. Those skilled in the art will understand and readily make various other modifications without departing from the scope and spirit of the invention. (4) It is not intended to be accompanied by a patent application limit, but should be interpreted broadly. [Simplified description of the diagram], and the explanation. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a block diagram showing one of the structures of a device according to the present invention. Figure 2 shows the composition - the character "stomach... character box, one letter box, and one of the coordinate positions of each pen. The sub-mother box is shown in Figure 2 to form a character." Figure 70C shows one of the coordinate positions of the _ character box, the one-letter box, and the parent stroke of the character "three". .

圖3Α係顯讀存於W1之—儲存區財的字元資料「胃 之資料之一圖式。 J 圖3B係顯示儲存於圖!之儲存區段中的字元資料「工」之 資料之一圖式。 、 」 圖3C係顯示儲存於圖丨之儲存區段中的字元資料「三」之 資料之一圖式。 圖4係顯不儲存於圖丨之一放大/縮小字體儲存區段中的 放大/縮小字體及其内容。 圖5為顯示建立於圖丨之一放大/縮小字體儲存區段中之 一範例性放大/縮小字體之一圖式。 圖6為顯示依據自圖丨之一尺寸指定輸入區段輸入之一位 元映像尺寸而選取之放大/縮小字體之一圖式。 圖7係用以解說使用圖1之字元產生裝置之一字元產生方 93643.doc -31- 1271642 法之每一程序之一流程圖。 圖8A係顯示藉由使圖3A的「胃」之字元資料經受一放大 /1侣小子體A之放大/縮小轉換而獲得之字元資料之一圖式。 圖8B係顯示藉由使圖3A的「胃」之字元資料經受一放大 /系侣小子體C之放大/縮小轉換而獲得之字元資料之一圖式。 圖8C係顯示藉由使圖3A的「胃」之字元資料經受一放大 人縮小字體B之放大/縮小轉換而獲得之字元資料之一圖式。 圖9(a)至(d)係顯示依據分離的放大/縮小字體而轉換之 字元之圖式。 圖10(a)至(c)係顯示在一放大/縮小字體八或B之放大/縮 小轉換後,圖3B的字元「工」之字元資料之圖式。 圖Π係顯示放大/縮小轉換後,圖3C的字元「三」之字元 資料之一圖式。 圖12(a-l)至(a_3)以及丨以卜”至(b_3)係顯示字元序列之 圖式。特定言之,圖12(^υ至(a_3)顯示藉由一傳統技術而 放大/縮小之字序列。特定言之,圖12(b])至顯示依 據本發明之一項具體實施例藉由一字元產生方法而放大/ 縮小之字元序列。 圖13(a)及(b)係用以解說一傳統字元框、字母框及主體框 之圖式。 圖14(a)及(b)係顯示依據一傳統技術而改變一字元之一 字母框對-主體框之—比率之範例之圖式。 圖15⑷及⑻係顯示字元序列之圖式。特定言之,圖15(a) 顯不依據-傳統技術不改變一字母框對一主體框之一比率 93643.doc -32- 1271642 而放大/縮小之位元序列。圖15(b)顯示在改變一字母框對一 主體框之一比率時放大/縮小之位元序列。 【主要元件符號說明】 01 區域 02 區域 03 區域 04 區域 05 區域 06 區域 1 儲存區段 2 字元碼輸入區段 3 尺寸指定輸入區段 4 放大/縮小字體轉換區段 6 放大/縮小字體儲存區段 5 放大/縮小區段 7 輸出區段 10 字元產生裝置 93643.doc -33-Figure 3 is a diagram showing the character data of the stomach in the storage area of W1. Figure 3B shows the data of the character data "work" stored in the storage section of the figure! A picture. Figure 3C is a diagram showing one of the data of the character data "three" stored in the storage section of the figure. Fig. 4 shows the enlarged/reduced font and its contents which are not stored in one of the enlargement/reduction font storage sections of the figure. Figure 5 is a diagram showing an exemplary enlargement/reduction font created in one of the enlargement/reduction font storage sections of the figure. Fig. 6 is a diagram showing one of enlarged/reduced fonts selected in accordance with the size of one of the input segment inputs of one of the sizes of the image. Figure 7 is a flow chart for explaining one of the procedures of one of the character generating means 93643.doc - 31 - 1271642 using the character generating apparatus of Figure 1. Fig. 8A is a diagram showing a character data obtained by subjecting the character data of "stomach" of Fig. 3A to an enlargement/reduction conversion of a small sub-body A. Fig. 8B is a diagram showing one of the character data obtained by subjecting the character data of "stomach" of Fig. 3A to an enlargement/reduction conversion of the small body C. Fig. 8C is a diagram showing one of the character data obtained by subjecting the character data of "stomach" of Fig. 3A to an enlargement/reduction conversion of the reduced font B. Figures 9(a) to (d) are diagrams showing the characters converted according to the separated enlarged/reduced font. Fig. 10 (a) to (c) show the pattern of the character data of the character "work" of Fig. 3B after the enlargement/reduction of the enlargement/reduction of the font eight or B. The figure shows a pattern of the character data of the character "three" of Fig. 3C after the enlargement/reduction conversion. 12(al) to (a_3) and 丨" to (b_3) are diagrams showing a sequence of character sequences. In particular, Fig. 12 (^_ to (a_3) shows enlargement/reduction by a conventional technique In particular, Figure 12(b)) shows a sequence of characters that are enlarged/reduced by a character generation method in accordance with an embodiment of the present invention. Figures 13(a) and (b) A diagram for explaining a conventional character box, a letter box, and a body frame. Figures 14(a) and (b) show a ratio of one letter box to the main frame according to a conventional technique. Figure 15 (4) and (8) show the pattern of the character sequence. In particular, Figure 15 (a) shows no basis - the traditional technique does not change the ratio of one letter box to one body frame 93643.doc - 32- 1271642 The sequence of digits enlarged/reduced. Figure 15(b) shows the sequence of digits enlarged/reduced when changing the ratio of one letter box to one main frame. [Key element symbol description] 01 Area 02 Area 03 Area 04 Area 05 Area 06 Area 1 Storage Section 2 Character Code Input Section 3 Size Designation Input Section 4 Enlarge/Reduce Word Volume Conversion Section 6 Enlarge/Reduce Font Storage Section 5 Enlarge/Reduce Section 7 Output Section 10 Character Generation Unit 93643.doc -33-

Claims (1)

ΐ27ΐ^Ί16552號專利申請案 日 中文申請專利範圍替換本(95年9月) 十、申請專利範圍: 1· 一種字元產生裝置,其包含: -儲存區段,其用以儲存至少—字元中每一字元之 形狀; /、用以輸入與欲產生之該至少一 一子元碼輸入區段, 字元相對應之一字元碼 一尺寸指定輸人區段,其用以指定與該至少-字元之 一字母框相對應之一位元映像尺寸; -放大/縮小字體轉換區段,其用以依據具有該輸入字 凡碼與該指定位元映像尺寸之—字體而分別改變一字元 框之垂直與水平放大/縮小㈣,同時防止該字元框突出 該字母框; 放大/縮小區段,其用以依據由該放大/縮々、字體轉換 區奴所指定之該放大/縮小比率,將指示該至少一字元之 該形狀之資料放大/縮小至該指定位元映像尺寸;以及 輸出區段’其用以輪出由該放大/縮小區段所放大/ 縮小之資料。 2·如明求項1之字70產生裝置,其中該放大/縮小字體轉換區 段定義相對於該位元映像尺寸之一第一尺寸, 當該指定位元映像尺寸小於該第一尺寸時,該放大/縮 小字體轉換區段分別改變該字元框之該等垂直與水平放 大/縮小比率,以使得該字元框之上、下、右及左側分別 接觸該字母框之上、下、右及左側。 3 · 士 W求項1之字元產生裝置,其中該放大/縮小字體轉換區 93643-950926.doc 1271642 … 丰又二義相對於該位元映像尺寸之一第二尺寸, 當该指定位元映像尺寸等於或大於該第〕尺寸時,該 大蝻小字體轉換區段保持該字元框對該字母框之一比 率。 。月长項1項之字元產生裝置,其中該放大/縮小字體轉換 區1又疋義相對於該位元映像尺寸之一第一尺寸與一第二 尺寸, ^ 田亥才曰疋位元映像尺寸等於或大於該第一尺寸而小於 °玄第—尺寸時,該放大/縮小字體轉換區段改變該垂直與 水平放大/縮小比率,而使得該字元框之上及下或右及左 側分別接觸該字母框之上及下或右及左側。 5·如請求項丨之字元產生裝置,其中當經由該字元碼輸入區 段輸入之該字元碼係除一漢字字元碼以外之字元碼時, 該放大/縮小字體轉換區段保持該字元框對該字母框之一 比率。 6·如請求項1項之字元產生裝置,其進一步包含: 一放大/縮小字體儲存區段,其用以儲存與經由該字元 碼輸入區段而輸入之該字元碼以及經由該尺寸指定輸入 區段而輸入之該位元映像尺寸相對應的至少一放大/縮小 字體,其中該等内容可改變, 其中違放大/縮小字體轉換區段從該放大/縮小字體儲 存區段之該等内容中選取對應於該字元碼與該位元映像 尺寸之間的一相互關係之一放大/縮小字體。 Ί·如請求項6之字元產生裝置,其中該放大/縮小區段依據由 93643-950926.doc 1271642 斤 該放大/縮小字體轉換區段決定之該放大/縮小比率,對使 用该字元框之x與y座標位置以及在該字母框之一 \與一 y 方向上的點數目來指示該至少一字元之該形狀的資料之 一座標位置實行座標轉換。 8· 一種字元產生方法,其包含以下步驟: 儲存至少一字元中每一字元之一形狀; 輸入與欲產生之該至少一字元相對應之一字元碼; 指定與該至少一字元之一字母框相對應之一位元映像 尺寸; ' 依據具有該輸入字元碼與該指定位元映像尺寸之一字 體而分別改變一字元框之垂直與水平放大/縮小比率,同 時防止該字元框突出該字母框; 依據由該改變步驟所指定之該等垂直與水平放大/縮小 比率,將指示該至少一字元之該形狀之資料放大/縮小至 該指定位元映像尺寸;以及 輸出藉由該放大/縮小步驟而放大/縮小之資料。 9. 一種電腦可讀取記錄媒體,其儲存用以使一電腦執行以 下步驟之一字元產生程式: 儲存至少一字元中每一字元之一形狀; 輸入與欲產生之該至少一字元相對應之一字元碼; 指定與該至少一字元之一字母框相對應之一位元映像 尺寸; 依據具有藉由該字元碼輸入步驟而輸入之一字元碼與 藉由該位元映像尺寸指定步驟而指定之一位元映像尺寸 93643-950926.doc Ι271642ι r'· 之該字體,分別改變一字元框之垂直與水平放大/縮小比 率’同時防止該字元框突出該字母框; 依據藉由該放大/縮小字體轉換步驟而指定之放大/縮 川、IX、古 / n々資料放大/縮小 J比率,將指示該至少一字元之該形狀之、 至該指定位元映像尺寸;以及 資料 ° 輸出藉由該放大/縮小步驟而放大/縮小之、 93643-950926.docΪ́27ΐ^Ί16552 Patent Application Date Chinese Patent Application Substitution (September 95) X. Patent Application Range: 1. A character generation device, comprising: - a storage section for storing at least - characters The shape of each character; /, for inputting the at least one sub-code input section to be generated, the character corresponding to one character code-one size specifying the input section, which is used to specify The at least one character letter box corresponds to one of the bit map sizes; - the enlargement/reduction font conversion section for respectively changing according to the font having the input word and the specified bit image size Vertical/horizontal enlargement/reduction of a character box (4), while preventing the character box from protruding the letter box; enlargement/reduction section for arranging the enlargement according to the enlargement/reduction, font conversion area slave / reducing the ratio, enlarging/reducing the data of the shape of the at least one character to the specified bit image size; and outputting the segment 'to rotate the data enlarged/reduced by the enlarged/reduced segment . 2. The apparatus 70 of claim 1, wherein the enlargement/reduction font conversion section defines a first size relative to one of the bit map sizes, when the specified bit map size is smaller than the first size, The enlargement/reduction font conversion section respectively changes the vertical and horizontal enlargement/reduction ratios of the character frame such that the upper, lower, right and left sides of the character frame respectively touch the letter box above, below, and to the right And the left side. 3 · The character generation device of the item 1 of the item 1, wherein the enlargement/reduction font conversion area 93643-950926.doc 1271642 ... the second dimension relative to one of the bit image sizes, when the specified bit When the image size is equal to or greater than the size, the large font conversion section maintains a ratio of the character frame to the letter box. . A month-long item 1 character generating device, wherein the enlargement/reduction font conversion area 1 is further defined as one of a first size and a second size relative to the size of the bit image, ^ Or larger than the first size and smaller than the first size, the enlarged/reduced font conversion section changes the vertical and horizontal enlargement/reduction ratios such that the upper and lower or right and left sides of the character frame respectively contact the Above and below the letter box, right and left. 5. The character generating device of the request item, wherein the character conversion unit is enlarged/reduced when the character code input via the character code input section is a character code other than a Chinese character code Keep the ratio of the character box to one of the letter boxes. 6. The character generating apparatus of claim 1, further comprising: an enlargement/reduction font storage section for storing the character code input through the character input section via the character code and via the size Specifying at least one enlargement/reduction font corresponding to the size of the bitmap image input by the input section, wherein the content may be changed, wherein the illegizing/reducing font conversion section is from the enlarged/reduced font storage section The content is selected to enlarge/reduce the font corresponding to one of the mutual relationship between the character code and the size of the bitmap image. The character generating apparatus of claim 6, wherein the enlargement/reduction section is based on the enlargement/reduction ratio determined by the zooming/reducing font conversion section by 93643-950926.doc 1271642 jin, using the character frame The x and y coordinate positions and the number of points in one of the letter boxes and one y direction indicate a coordinate conversion of one of the coordinate positions of the shape of the at least one character. 8. A character generation method, comprising the steps of: storing one of each character of at least one character; inputting a one-character code corresponding to the at least one character to be generated; specifying and at least one One of the letter boxes corresponds to one of the bitmap sizes; 'the vertical and horizontal enlargement/reduction ratios of a character box are respectively changed according to the font having the input character code and the specified bitmap size Preventing the character box from protruding the letter box; enlarging/reducing the data indicating the shape of the at least one character to the specified bit image size according to the vertical and horizontal enlargement/reduction ratios specified by the changing step And outputting data that is enlarged/reduced by the enlargement/reduction step. 9. A computer readable recording medium storing a program for causing a computer to execute one of the following steps: storing one of each character in at least one character; inputting and generating the at least one word a symbol corresponding to one of the character codes; a size corresponding to one of the at least one character letter box; a form of the character code input by the character code input step and by the The bit map size designation step specifies a font of one bit map size 93643-950926.doc Ι271642ι r'·, respectively changing the vertical and horizontal enlargement/reduction ratio of a character box to prevent the character box from protruding a letter box; according to the enlargement/reduction font conversion step specified by the enlargement/reduction font conversion step, the enlargement/reduction J ratio of the data, indicating the shape of the at least one character to the designated position Meta-image size; and data ° output is enlarged/reduced by the enlargement/reduction step, 93643-950926.doc
TW093116552A 2003-06-10 2004-06-09 Character generating apparatus, character generating method, and storage medium TWI271642B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003165748A JP4079366B2 (en) 2003-06-10 2003-06-10 CHARACTER GENERATION DEVICE, CHARACTER GENERATION METHOD, CHARACTER GENERATION PROGRAM, AND STORAGE MEDIUM

Publications (2)

Publication Number Publication Date
TW200515264A TW200515264A (en) 2005-05-01
TWI271642B true TWI271642B (en) 2007-01-21

Family

ID=34092134

Family Applications (1)

Application Number Title Priority Date Filing Date
TW093116552A TWI271642B (en) 2003-06-10 2004-06-09 Character generating apparatus, character generating method, and storage medium

Country Status (5)

Country Link
JP (1) JP4079366B2 (en)
KR (1) KR100594554B1 (en)
CN (1) CN100356443C (en)
HK (1) HK1073912A1 (en)
TW (1) TWI271642B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3879932B2 (en) * 2005-01-14 2007-02-14 シャープ株式会社 Character data generation device, program and recording medium
JP3910204B2 (en) * 2005-07-04 2007-04-25 三菱電機株式会社 Image generation apparatus, image display apparatus, image generation method, and image display method
CN101964199B (en) * 2010-11-04 2012-08-29 深圳市万兴软件有限公司 Method and device for customizing font size of DVD menu texts
CN109657203B (en) * 2017-10-12 2020-12-04 北大方正集团有限公司 Method and system for adjusting font size of font library
CN111027550B (en) * 2019-12-17 2023-09-08 新方正控股发展有限责任公司 Method and device for adjusting visual center of gravity of word stock

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3021547B2 (en) * 1989-09-29 2000-03-15 セイコーエプソン株式会社 Character pattern generation method
JPH04177295A (en) * 1990-11-09 1992-06-24 Nec Off Syst Ltd Character generating device
JP2806679B2 (en) * 1992-03-12 1998-09-30 日本電気オフィスシステム株式会社 Character generator
JPH06208366A (en) * 1993-01-11 1994-07-26 Nec Corp Character size change system
JP3037023B2 (en) * 1993-06-23 2000-04-24 日本電気オフィスシステム株式会社 Character generator
US5590247A (en) * 1993-08-31 1996-12-31 Casio Computer Co., Ltd. Character string outputting method and apparatus capable of varying sizes of characters
JPH1055364A (en) * 1996-08-09 1998-02-24 Matsushita Electric Ind Co Ltd Character and figure editing device
JP2000163044A (en) * 1998-11-30 2000-06-16 Sharp Corp Picture display device

Also Published As

Publication number Publication date
KR20040111006A (en) 2004-12-31
TW200515264A (en) 2005-05-01
JP4079366B2 (en) 2008-04-23
CN100356443C (en) 2007-12-19
KR100594554B1 (en) 2006-06-30
CN1573911A (en) 2005-02-02
JP2005003827A (en) 2005-01-06
HK1073912A1 (en) 2005-10-21

Similar Documents

Publication Publication Date Title
RU2488232C2 (en) Communication network and devices for text to speech and text to facial animation conversion
CN1692399A (en) Text display terminal device and server
TWI271642B (en) Character generating apparatus, character generating method, and storage medium
WO2009049508A1 (en) Display method, device and terminal
TW575841B (en) Descriptive method of characters for displaying the thickness of strokes thereof
CN115988170A (en) Method and device for clearly displaying Chinese and English characters in real-time video screen combination in cloud conference
JP2010109700A (en) Image processor
JP6128898B2 (en) Information processing apparatus, control method for information processing apparatus, and program
JP2008084137A (en) Portable electronic equipment
JP5020698B2 (en) Image processing apparatus, image processing method, and image processing program
TWI363311B (en) Method and device for scaling up or scaling down images with the same hardware
JP2016206603A (en) Image forming apparatus and image processing program
CN114169304A (en) Table creation method and device, electronic equipment and computer-readable storage medium
JP2019040585A (en) Typesetness score for table
US20110081126A1 (en) Image processing apparatus and image processing method
US11979525B2 (en) Information processing apparatus and system and non-transitory computer readable medium
JP4808220B2 (en) Character pattern generation device, character pattern generation program, and readable recording medium
JP2001195169A (en) Display
KR101737065B1 (en) Pen charting system, method and computer readable recording medium
TWI659355B (en) A hand-writing font service system
JP2009301524A (en) Decoding method for two-dimensional barcode
JP2005258756A (en) Display
JP6176099B2 (en) Image processing apparatus and program.
JP3109727B2 (en) Character processing method and character processing device
CN112258375A (en) Method and system for filling specific text information into associated image boundary

Legal Events

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