WO2007037442A1 - Character pattern generator, character pattern generation program and readable recording medium - Google Patents

Character pattern generator, character pattern generation program and readable recording medium Download PDF

Info

Publication number
WO2007037442A1
WO2007037442A1 PCT/JP2006/319597 JP2006319597W WO2007037442A1 WO 2007037442 A1 WO2007037442 A1 WO 2007037442A1 JP 2006319597 W JP2006319597 W JP 2006319597W WO 2007037442 A1 WO2007037442 A1 WO 2007037442A1
Authority
WO
WIPO (PCT)
Prior art keywords
character
character pattern
reference line
stroke
pattern generation
Prior art date
Application number
PCT/JP2006/319597
Other languages
French (fr)
Japanese (ja)
Inventor
Saori Oikawa
Akio Kotani
Satoshi Okada
Original Assignee
Sharp Kabushiki Kaisha
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 Kabushiki Kaisha filed Critical Sharp Kabushiki Kaisha
Priority to JP2007537748A priority Critical patent/JP4808220B2/en
Publication of WO2007037442A1 publication Critical patent/WO2007037442A1/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/28Generation of individual character patterns for enhancement of character form, e.g. smoothing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/203Drawing of straight lines or curves

Landscapes

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

Abstract

Legibility of a character is enhanced by making the feature portion of a character distinguishable while ensuring a sufficient line space. In a character pattern generator (10), a regulation means (11) regulates the coordinate position of a reference line, i.e. an auxiliary line common to the arranging direction of at least one character, for indicating the feature of the profile of a reference character pattern, in the direction perpendicular to the arranging direction of at least one character in the objective reference character pattern based on reference line coordinate information indicating the feature of the profile of a character determined for each specified character size. For the coordinate position of a regulated reference line, a calculation means (12) moves or deforms the objective reference character pattern by performing coordinate calculation on each stroke constituting that character pattern.

Description

明 細 書  Specification
文字パターン生成装置、文字パターン生成プログラムおよび可読記録媒 体  Character pattern generation device, character pattern generation program, and readable recording medium
技術分野  Technical field
[0001] 本発明は、表示画面上に文字表示する際などに、文字の特徴形状を表す基準線 の座標位置を調整し、調整された基準線の座標位置に対応するように、文字を変形 または移動させる処理を行う文字パターン生成装置、これを用いて文字データを表 示データとして生成する液晶ディスプレイや有機 ELディスプレイなどの文字表示デ ノくイス (表示装置)、通信ネットワークを介して通信可能とする通信デバイス (通信装 置)、プリンタなどの印刷デバイス (印刷装置)、さらには携帯電話装置や携帯型情報 端末機器 (PDA)などのモパイル機器、テレビジョン装置などの AV機器やパーソナ ルコンピュータなどの電子情報機器、これらに用いられる文字データ生成処理をコン ピュータに実行させるための文字パターン生成プログラムおよびこの文字パターン生 成プログラムが記録されたコンピュータ読み取り可能な可読記録媒体に関する。 背景技術  [0001] The present invention adjusts the coordinate position of the reference line representing the character's characteristic shape when displaying characters on the display screen, and deforms the character to correspond to the adjusted coordinate position of the reference line. Or a character pattern generation device that performs processing to be moved, a character display device (display device) such as a liquid crystal display or an organic EL display that uses this to generate character data as display data, and communication via a communication network Communication devices (communication devices), printing devices such as printers (printing devices), mobile phone devices and mobile information terminal devices (PDAs) such as mobile devices, television devices and other AV devices and personal computers Electronic information devices such as, character pattern generation programs for causing a computer to execute character data generation processing used in these devices, and this sentence A computer-readable readable recording medium on which a pattern producing formation program is recorded. Background art
[0002] 現在、一般的に用いられている例えば携帯電話装置や携帯型情報端末機器 (PD A)などのモパイル機器にぉレ、て表示画面上に文字表示を行う場合、文字列の描画 領域である表示画面の大きさが限られており、例えば携帯電話装置の場合、表示画 面の大きさが縦 4. 5cm X横 3. 4cm程度である。それにも関わらず、可能な限り多く の情報量を一画面に表示させる必要があるため、このようなモパイル機器の表示画 面では、パーソナルコンピュータの表示画面の行間データを含む初期設定値に比べ て、やや行間を詰めた状態で文字を表示させている。例えば、 Windows (登録商標 )メモ帳では、文字高と、上下に隣接する行の基準線の間隔、即ち、複数行で構成さ れる文章にぉレ、て、ある文字枠の最下ラインデータ y_minから次行の文字枠の最 下ラインデータ y_minまでの幅を表す行ピッチとの関係は 4 : 4であり、携帯電話装 置では、文字高と行ピッチとの関係は 4: 3である。  [0002] When character display is performed on a display screen in contrast to currently used mobile devices such as mobile phone devices and portable information terminal devices (PDAs), a character string drawing area The size of the display screen is limited. For example, in the case of a mobile phone device, the size of the display screen is about 4.5 cm x 3.4 cm. Nevertheless, since it is necessary to display as much information as possible on a single screen, the display screen of such a mopile device is compared to the initial setting value including the line spacing data on the display screen of a personal computer. The characters are displayed with some space between them. For example, in Windows (registered trademark) Notepad, the character height and the interval between the reference lines of the upper and lower adjacent lines, that is, the bottom line data of a certain character frame y_min The relationship between the line pitch that represents the width from the character line of the next line to the bottom line data y_min is 4: 4, and in mobile phones, the relationship between the character height and the line pitch is 4: 3.
[0003] 以下に、従来から一般的に行なわれている文字表示方法について、図 21を用いて 説明する。 [0003] Hereinafter, a conventional character display method generally used will be described with reference to FIG. explain.
[0004] 図 21は文字表示例を示す表示画面図であって、(a)は、変形前の元字となる文字 パターン例を示す表示画面図、(b)は、 (a)に対して文字パターンの文字ポイントお よび行ピッチを 30%縮小させた事例を示す表示画面図、(c)は、(a)に対して文字パ ターンの文字ピッチを 25。/。、行ピッチを 5。/。縮小させた事例を示す表示画面図、(d) は、 (a)に対して文字パターンの文字高を縦方向にのみ 25%縮小させた事例を示す 表示画面図である。  [0004] FIG. 21 is a display screen diagram showing an example of character display, in which (a) is a display screen diagram showing an example of a character pattern that is an original character before transformation, and (b) Figure (c) shows a case where the character point and line pitch of the character pattern are reduced by 30%. (C) shows 25 character pitches of the character pattern compared to (a). /. The line pitch is 5. /. (D) is a display screen diagram showing a case where the character height of the character pattern is reduced by 25% only in the vertical direction with respect to (a).
[0005] 図 21 (b)に示すように、文字パターンの文字ポイント(ドット数)および行ピッチを縮 小させる方法では、一画面に表示される情報量は増えるものの、文字自体が小さい ため、読み難いという問題が残る。  [0005] As shown in Fig. 21 (b), the method of reducing the character points (number of dots) and line pitch of the character pattern increases the amount of information displayed on one screen, but the characters themselves are small. The problem of being difficult to read remains.
[0006] 図 21 (c)に示すように、文字パターンの文字ピッチおよび行ピッチを縮小させる方 法では、一画面に表示される情報量は増えるものの、一定範囲内に表示される文字 量が著しく増加するため、画面が煩雑になり、読み難いという問題が残る。  [0006] As shown in FIG. 21 (c), in the method of reducing the character pitch and line pitch of the character pattern, the amount of information displayed on one screen is increased, but the amount of characters displayed within a certain range is reduced. Since it increases remarkably, the problem that the screen becomes complicated and difficult to read remains.
[0007] 図 21 (d)に示すように、文字パターンの文字高を縦方向にのみ 25%縮小させる方 法では、行間が空いて見えるため、前述したように画面が煩雑になり、読み難いという 上記問題が解決されるように思われる。し力 ながら、縦方向にのみの縮小、即ち、 平体処理では、文字全体が縦方向に一律に小さくなるため、文字の形状が似ている 文字同士の判別に支障をきたす虞があるという新たな問題が発生する。例えば、形 状が似ている文字「h」と「n」では、それらの差異を判断する場所である文字の特徴部 分 (特徴形状)が、左側の縦棒の長さであると言える。このため、縦方向のみの縮小 が行われて「h」の特徴形状を示す縦棒が短くなるほど、「n」との差異が顕著でなくな り、形状が似ている文字「h」と「n」とを瞬間的に判別することが難しくなる。  [0007] As shown in Fig. 21 (d), when the character height of the character pattern is reduced by 25% only in the vertical direction, the line spacing appears to be free, so the screen becomes complicated and difficult to read as described above. The above problem seems to be solved. However, in the case of reduction only in the vertical direction, that is, in flat body processing, the entire character is uniformly reduced in the vertical direction, and there is a possibility that it may hinder the discrimination between characters having similar character shapes. Problems occur. For example, for characters “h” and “n” that are similar in shape, it can be said that the character feature (feature shape), which is the place to determine the difference between them, is the length of the left vertical bar. For this reason, as the vertical bar indicating the characteristic shape of “h” is shortened only in the vertical direction, the difference from “n” becomes less noticeable, and the letters “h” and “ It becomes difficult to instantaneously distinguish “n”.
[0008] 例えば、特許文献 1には、文字を拡大 ·縮小させた際にも文字の品質が保たれるよ うに、基準幅に従って基準線を移動させ、それに合わせて個々の文字を調整し、一 つの文字内における文字線幅の太さを調節する技術が開示されている。この従来技 術によれば、文字の線分の太さを常に一定に保つことが可能となる。したがって、こ の従来技術によれば、一つの文字内において線幅のばらつきを抑制して、品質が保 たれた文字を示す文字パターンを生成することができる。 [0009] 特許文献 2には、文字の品質が保たれるように、 P 接文字などの条件に応じて文字 を拡大'縮小させ、その後、基準線 (センターライン)に揃える技術が開示されている。 この従来技術によって、周囲の文字とのバランス調整が可能となる。したがって、この 従来技術によれば、文字の見た目の大きさに関するばらつきを抑制し、周囲の文字 とのバランスが取られて、品質が保たれた文字を示す文字パターンを生成することが できる。 [0008] For example, in Patent Document 1, the reference line is moved according to the reference width so that the quality of the character is maintained even when the character is enlarged / reduced, and the individual character is adjusted accordingly. A technique for adjusting the thickness of the character line width in one character is disclosed. According to this conventional technology, it is possible to always keep the thickness of the line segment of the character constant. Therefore, according to this prior art, it is possible to suppress a variation in line width within one character and generate a character pattern indicating a character with maintained quality. [0009] Patent Document 2 discloses a technique for enlarging / reducing a character according to conditions such as a P-contact character and then aligning it with a reference line (center line) so that the quality of the character is maintained. Yes. This prior art enables balance adjustment with surrounding characters. Therefore, according to this conventional technique, it is possible to generate a character pattern indicating characters with quality maintained while suppressing variations in character appearance size and being balanced with surrounding characters.
[0010] 特許文献 3には、文字の品質が保たれるように、文字のデザイン上の基準線位置情 報を元に、最適なオーバーシュート分量 (基準線からのはみ出し分)に補正する技術 が開示されている。この従来技術によって、特定の文字を変形対象としながら周囲の 文字とのバランス調整を図ることが可能となる。したがって、この従来技術によれば、 文字の見た目の大きさに関するばらつきを抑制し、周囲の文字とのバランスが取られ て、品質が保たれた文字を示す文字パターンを生成することができる。  [0010] Patent Document 3 describes a technique for correcting an optimal overshoot amount (the amount of protrusion from the reference line) based on the reference line position information on the character design so that the quality of the character is maintained. Is disclosed. With this conventional technology, it is possible to adjust the balance with surrounding characters while making a specific character to be deformed. Therefore, according to this conventional technique, it is possible to generate a character pattern that indicates characters that maintain quality by suppressing variations in the appearance size of characters and maintaining balance with surrounding characters.
[0011] 特許文献 4には、文字の品質が保たれるように、作画領域に応じて文字高を計算し 、計算結果に合わせて文字列を自動補正する技術が開示されている。この従来技術 によって、常に、作画領域内に文字パターンを出力することが可能となる。したがって 、この従来技術によれば、定められた領域を越えて文字が出力されることを防ぎ、品 質が保たれた文字を示す文字パターンを生成することができる。  Patent Document 4 discloses a technique for calculating a character height in accordance with a drawing area and automatically correcting a character string in accordance with a calculation result so that the quality of the character is maintained. With this conventional technique, it is always possible to output a character pattern in the drawing area. Therefore, according to this prior art, it is possible to prevent a character from being output beyond a predetermined area, and to generate a character pattern indicating a character with maintained quality.
特許文献 1:特平開 1― 303489号公報 (株式会社日立製作所「文字出力方式」 ) 特許文献 2:特平開 2— 5095号公報 (株式会社日立製作所「文字出力方式」 ) 特許文献 3:特平開 7— 110677号公報 (ブラザー工業株式会社「文字生成装置」 ) 特許文献 4:特平開 8 _ 132677号公報 (マックス株式会社「文字処理装置」 ) 発明の開示  Patent Document 1: Tokuhei Kai 1-303489 Publication (Hitachi, Ltd. “Character Output Method”) Patent Document 2: Tokuhei Kai 2-5095 Publication (Hitachi, Ltd. “Character Output Method”) Patent Document 3: JP 7-110677 (Brother Kogyo Co., Ltd. “Character Generation Device”) Patent Literature 4: JP Tokuhei 8 _ 132677 (Max Corporation “Character Processing Device”) Disclosure of the Invention
発明が解決しょうとする課題  Problems to be solved by the invention
[0012] 人の目が文字を判別する際に、注視しているのは、例えば文字の輪郭線の凹凸な どのような文字のシルエットであると言われている。その理由は、文字のシルエットに は類似した他の文字との差異が現れやすく、文字の特徴部分 (特徴形状)を表す部 分となっているからである。一つの文字において、文字の上下のバランスが等しくなる 重心位置、および文字の左右のバランスが等しくなる中心位置から数十%ほど、円を 描くように文字の中央部分を隠しても、それが何の文字であるかを想像できるのは、 このような作用からである。なお、和文 ·欧文など、文字の特性によってその割合は異 なる力 このことにつレ、てはここでは言及しなレ、。 [0012] It is said that when a human eye discriminates a character, what is being watched is, for example, a silhouette of the character such as unevenness of the outline of the character. This is because the character silhouette is likely to show a difference from other similar characters, and represents the character's feature (feature shape). For a single character, circle the circle about 10% from the center of gravity where the top and bottom balance of the character is equal and the center where the left and right balance of the character is equal. It is from this action that you can imagine what the character is even if you hide the central part of the character as you draw. It should be noted that the ratio varies depending on the characteristics of the characters, such as Japanese and European, and this is not mentioned here.
[0013] したがって、文字の特徴部分が捉えやすいほど、読み手の文字判別'単語理解'文 章読解のスピードは速くなり、かつ、誤読を未然に防ぐことができると言える。文字の 特徴部分をしつかりと把握するためには、表示されている文字各々の周囲に充分な 余白または充分な行間が必要である。  [0013] Therefore, it can be said that the easier the character feature portion is captured, the faster the reader's character discrimination 'word comprehension' sentence reading comprehension can be prevented and misreading can be prevented. Sufficient white space or sufficient space around each displayed character is necessary to grasp the character's characteristic part.
[0014] さらに、画面サイズが小さぐ 1行に表示される文字数が少ないということは、行末か ら次行の行頭へ視線を動かす際に、眼球のスライド運動が頻発するということである。 その際、行間が狭いと、 目移りや重複読みなどの誤読が増える要因になるば力りでな ぐ文字の特徴部分を表現し難い、あるいは判別し難いという問題が生じる虞がある。  [0014] Further, the screen size is small and the number of characters displayed on one line is small. This means that when the line of sight moves from the end of the line to the beginning of the next line, the eyeball slides frequently. In such a case, if the line spacing is narrow, it may be difficult to express or distinguish the character feature part that is not a force if misreading such as transfer and duplicate reading increases.
[0015] 読みやすい文章の体裁とは、内容に集中する行為を妨げないもののことである。し たがって、文章の読みやすさとは、いかにして充分な行間を確保し、かつ、文字の特 徴部分を判別しやすくするかということにかかっていると考えられる。  [0015] The format of easy-to-read text is something that does not interfere with the act of concentrating on the content. Therefore, the readability of the text is thought to depend on how to ensure sufficient line spacing and make it easy to distinguish the character part.
[0016] 上記特許文献 1に開示されている従来技術によれば、個々の文字を対象として、文 字の線分の太さを一定に保つことによって、一定の文字品質を得ることが可能である 。し力 ながら、この従来技術には、充分な行間を確保したり、文字の特徴部分を判 別しやすくするような作用効果はな 文章全体の読みやすさに貢献するものではな かった。  [0016] According to the prior art disclosed in Patent Document 1, it is possible to obtain a certain character quality by keeping the thickness of a line segment of each character constant. is there . However, this conventional technology did not contribute to the readability of the whole sentence without the effect of ensuring sufficient line spacing and making it easy to distinguish the character features.
[0017] 特許文献 2に開示されている従来技術によれば、個々の文字を対象として、文字の 見た目の大きさに関するばらつきを抑制することによって、一定の文字列品質を得る ことが可能である。し力 ながら、この従来技術には、充分な行間を確保したり、文字 の特徴部分を判別しやすくするような作用効果はなぐ文章全体の読みやすさに貢 献するものではなかった。  [0017] According to the prior art disclosed in Patent Document 2, it is possible to obtain a certain character string quality by suppressing variations in the appearance size of characters for each character. . However, this conventional technique does not contribute to the readability of the whole sentence without the effect of ensuring sufficient line spacing and making it easy to distinguish character features.
[0018] 特許文献 3に開示されている従来技術によれば、文字列を対象として、特定の文字 を変形対象としながら、周囲の文字とのバランス調整を図ることが可能となるため、文 字の見た目の大きさや行間が揃って見える。し力 ながら、この従来技術には、充分 な行間を確保したり、文字の特徴部分を判別しやすくするような作用効果はなぐ文 章全体の読みやすさに貢献するものではなかった。 [0018] According to the conventional technique disclosed in Patent Document 3, it is possible to adjust the balance with surrounding characters while using a character string as a target and changing a specific character as a deformation target. The appearance size and the line spacing appear. However, this conventional technology does not have a working effect that ensures sufficient line spacing or makes it easy to distinguish character features. It did not contribute to the readability of the entire chapter.
[0019] 特許文献 4に開示されている従来技術によれば、文字列を対象として、文字高を計 算することによって、常に作画領域内に文字パターンを出力することが可能である。 しかしながら、この従来技術には、充分な行間を確保したり、文字の特徴部分を判別 しゃすくするような効果はな 文章全体の読みやすさに貢献するものではなかった  According to the conventional technique disclosed in Patent Document 4, it is possible to always output a character pattern in the drawing area by calculating the character height for a character string. However, this conventional technology does not contribute to the readability of the whole sentence, such as ensuring sufficient line spacing or distinguishing character features.
[0020] 上記特許文献:!〜 4の従来技術は、単一であっても、また、組み合わせても、充分 な行間を確保しながら、文字の特徴部分を判別しやすくして、文章の可視可読性を 高めることはできない。 [0020] The prior arts of the above-mentioned patent documents:! To 4 make it easy to distinguish character feature parts while ensuring sufficient line spacing, whether they are single or combined, and make text visible. It is not possible to improve readability.
[0021] 本発明は、上記従来の問題を解決するもので、充分な行間を確保しながら、文字 の特徴部分をより判別しやすくして、文字の判読性をより高めることができる文字パタ ーン生成装置、これに用いられる文字データ生成処理をコンピュータに実行させるた めの文字パターン生成プログラムおよびこのプログラムが記録されたコンピュータ読 み取り可能な可読記録媒体を提供することを目的とする。  [0021] The present invention solves the above-mentioned conventional problems, and makes it easy to distinguish character features while ensuring sufficient line spacing, thereby improving character readability. It is an object of the present invention to provide a character pattern generation program for causing a computer to execute character data generation processing used therefor, and a computer-readable readable recording medium on which the program is recorded.
課題を解決するための手段  Means for solving the problem
[0022] 本発明の文字パターン生成装置は、対象となる基準文字パターンに対して、該基 準文字パターンの基準位置を調整する調整手段と、該調整手段で調整された基準 位置に対応するように、該基準文字パターンを構成するストロークのうち、少なくとも 一つのストロークの座標位置を所定の演算により変更して、該ストロークを移動または 変形処理する計算手段とを有している。この調整手段は、前記基準文字パターンの 特徴形状を表すための基準位置を、該特徴形状がより表れるように調整する。  [0022] The character pattern generation device of the present invention corresponds to an adjustment unit that adjusts a reference position of the reference character pattern with respect to a target reference character pattern, and a reference position adjusted by the adjustment unit. And a calculating means for changing the coordinate position of at least one of the strokes constituting the reference character pattern by a predetermined calculation and moving or transforming the stroke. The adjusting means adjusts the reference position for representing the feature shape of the reference character pattern so that the feature shape can be expressed more.
[0023] 即ち、本発明の文字パターン生成装置は、対象となる基準文字パターンを、指定さ れた文字サイズに変形する際に、該基準文字パターンの特徴形状を表すための少 なくとも一つの文字が並ぶ方向に共通な基準位置情報を、該特徴形状がより表われ る即ち、文字の形状の異なる部分の寸法がより大きぐ文字がより判別しやすくなるよ うに (文字サイズを縮小した場合に、特徴形状も同じように縮小されるが、縮小後の文 字全体に占める特徴形状の割合が、縮小前の文字全体に占める特徴形状の割合に 比べて大きくなるように)調整する調整手段と、該調整手段で調整された基準位置情 報に対応するように、該基準文字パターンを構成するストロークのうち、少なくとも一 つのストロークの位置を座標計算して移動または変形処理する計算手段とを有して おり、そのことにより上記目的が達成される。前述したが、特徴形状がより表われるよう な調整とは、各文字形状の互いに異なる部分の寸法が変形処理前後でより大きぐ 文字がより判別しやすくなるような調整である。また、別の言い方をすると、特徴形状 力 り表われるような調整とは、文字サイズを縮小した場合に、縮小後の文字全体に 占める特徴形状の割合が、縮小前の文字全体に占める特徴形状の割合に比べて大 きくなるような調整である。 That is, the character pattern generation device of the present invention has at least one characteristic for representing the characteristic shape of the reference character pattern when transforming the target reference character pattern into the designated character size. The reference position information common to the direction in which the characters are arranged is displayed in such a way that the feature shape is more visible, i.e., the character with a larger dimension of the different character shape is easier to distinguish (if the character size is reduced) The feature shape is also reduced in the same way, but the adjustment means so that the proportion of the feature shape in the entire character after the reduction becomes larger than the proportion of the feature shape in the whole character before the reduction). And the reference position information adjusted by the adjusting means In order to correspond to the information, it has calculation means for calculating or moving or transforming the position of at least one of the strokes constituting the reference character pattern, thereby achieving the above object. Is done. As described above, the adjustment that makes the characteristic shape appear more is an adjustment that makes it easier to discriminate characters that have larger sizes before and after the deformation process. In other words, the adjustment that expresses the feature shape force means that when the character size is reduced, the ratio of the feature shape to the whole character after reduction is the feature shape that occupies the whole character before reduction. The adjustment will be larger than the ratio.
[0024] 基準位置情報は、基準となる座標位置を表し、例えばアルファベット等の文字では 文字をレイアウトする際のベースラインの座標位置が基準位置情報に相当する。  [0024] The reference position information represents a reference coordinate position. For example, in the case of characters such as alphabets, the coordinate position of the baseline when laying out the characters corresponds to the reference position information.
[0025] 基準位置には二次元図形を制御する基準線と、三次元図形を制御する基準面とが あり、基準線とは文字の形状の特徴を表す文字列に共通な補助線を指し、基準面と は文字の形状の特徴を表す文字列に共通な補助面を指している。  [0025] The reference position includes a reference line for controlling a two-dimensional figure and a reference plane for controlling a three-dimensional figure. The reference line indicates an auxiliary line common to character strings representing character shape characteristics. The reference plane refers to an auxiliary plane common to character strings that represent character shape characteristics.
[0026] ここで、文字列方向とは、対象となる文字パターンが連続して表示された場合に文 字が並ぶ方向を指し、一つの文字のみ表示される場合はフォントデータテーブル 42 内ヘッダー情報 422に格納されている言語情報から方向を予測するものとする。 以降の実施例では基準線の場合を例として説明するが、基準面の場合でも下記方 法を応用して実施することが可能である。  [0026] Here, the character string direction refers to the direction in which characters are arranged when the target character pattern is continuously displayed. When only one character is displayed, the header information in the font data table 42 is displayed. The direction is predicted from the language information stored in 422. In the following embodiments, the case of the reference line will be described as an example, but even the case of the reference plane can be implemented by applying the following method.
[0027] また、好ましくは、本発明の文字パターン生成装置における調整手段は、前記対象 となる基準文字パターンを呼び出す際に、文字サイズ毎に定められた基準線座標情 報を参照する基準線座標情報参照手段を有する。  [0027] Preferably, the adjustment unit in the character pattern generation device of the present invention refers to a reference line coordinate that refers to reference line coordinate information determined for each character size when the target reference character pattern is called. It has information reference means.
[0028] さらに、好ましくは、本発明の文字パターン生成装置における基準線座標情報参照 手段は、入力された文字コード、文字サイズおよび書体の情報に応じて、前記対象と なる基準文字パターンおよび前記基準線座標情報を呼び出す。  [0028] Furthermore, preferably, the reference line coordinate information reference means in the character pattern generation device of the present invention is configured such that the target reference character pattern and the reference according to the input character code, character size, and typeface information. Recall line coordinate information.
[0029] さらに、好ましくは、本発明の文字パターン生成装置における調整手段は、前記対 象となる基準文字パターンを、前記指定された文字サイズに変形する際に、前記文 字サイズ毎に定められた基準線座標情報を元に、前記基準線の座標位置を調整す る基準線座標調整手段をさらに有する。 [0030] さらに、好ましくは、本発明の文字パターン生成装置における基準線座標調整手段 は、前記文字サイズ毎に定められた基準線座標情報を元に、文字サイズごとに定め られた少なくとも一つの文字が並ぶ方向に垂直な最大座標位置および最小座標位 置の間の範囲で前記基準線の座標位置を調整する。 [0029] Further preferably, the adjustment means in the character pattern generation device of the present invention is determined for each character size when transforming the target reference character pattern into the designated character size. Reference line coordinate adjusting means for adjusting the coordinate position of the reference line based on the reference line coordinate information. [0030] Further preferably, the reference line coordinate adjusting means in the character pattern generation device of the present invention is based on the reference line coordinate information determined for each character size and at least one character determined for each character size. The coordinate position of the reference line is adjusted in a range between the maximum coordinate position and the minimum coordinate position perpendicular to the direction in which the lines are arranged.
[0031] さらに、好ましくは、本発明の文字パターン生成装置における基準文字パターンに 対して、少なくとも一つの基準位置を有する。この少なくとも一つの基準位置は、基準 線で表される。また、この少なくとも一つの基準位置は、基準面で表される。例えば、 本発明の文字パターン生成装置における基準文字パターンに対して、少なくとも一 つの基準線を有する。  [0031] Furthermore, preferably, at least one reference position is provided for the reference character pattern in the character pattern generation device of the present invention. This at least one reference position is represented by a reference line. The at least one reference position is represented by a reference plane. For example, at least one reference line is provided for the reference character pattern in the character pattern generation device of the present invention.
[0032] さらに、好ましくは、本発明の文字パターン生成装置において、前記基準文字パタ ーンに対して、少なくとも一つの文字が並ぶ方向に垂直な文字の最大座標位置を示 す第 1固定基準線と、該文字方向に垂直な文字の最小座標位置を示す第 2固定基 準線と、該第 1固定基準線および該第 2固定基準線の間に設けられた一または複数 の可動基準線とを有する。  Furthermore, preferably, in the character pattern generation device of the present invention, a first fixed reference line indicating a maximum coordinate position of a character perpendicular to a direction in which at least one character is arranged with respect to the reference character pattern. A second fixed reference line indicating the minimum coordinate position of the character perpendicular to the character direction, and one or more movable reference lines provided between the first fixed reference line and the second fixed reference line Have
[0033] さらに、好ましくは、本発明の文字パターン生成装置において、前記基準文字パタ ーンに対して、文字列方向に垂直な文字の最大座標位置を示す第 1固定基準線と、 該文字列方向に垂直な文字の最小座標位置を示す第 2固定基準線と、該第 1固定 基準線および該第 2固定基準線の間に設けられた一または複数の可動基準線とを 有する。  Further preferably, in the character pattern generation device of the present invention, a first fixed reference line indicating a maximum coordinate position of a character perpendicular to the character string direction with respect to the reference character pattern, and the character string A second fixed reference line indicating a minimum coordinate position of the character perpendicular to the direction; and one or a plurality of movable reference lines provided between the first fixed reference line and the second fixed reference line.
[0034] 基準線は直線でなくてもよい。たとえば上記第 1固定基準線、第 2固定基準線、一 または複数の可動基準線それぞれが所定の比率の距離を保つのであれば、アーチ 型(図 23)や波型も可能である。  [0034] The reference line may not be a straight line. For example, as long as the first fixed reference line, the second fixed reference line, and one or more movable reference lines maintain a predetermined distance, an arch type (FIG. 23) or a wave type is also possible.
[0035] また、基準線は各々が平行でなくてもよい。たとえば上記第 1固定基準線、第 2固定 基準線、一または複数の可動基準線間の比率を文字列の始点から終点に向かって 段階的に狭め(或いは広め)る不連続変形(図 24)も可能である。  [0035] The reference lines may not be parallel to each other. For example, discontinuous deformation in which the ratio between the first fixed reference line, the second fixed reference line, and one or more movable reference lines is gradually narrowed (or widened) from the start point to the end point of the character string (Fig. 24). Is also possible.
[0036] さらに、好ましくは、本発明の文字パターン生成装置における可動基準線の数およ び方向は、言語および書体毎に設定されている。この可動基準線は、前記少なくとも 一つの文字が並ぶ方向に対して垂直方向の座標位置が文字サイズ毎に可変であり 、前記調整手段は、該可動基準線を文字サイズ毎に定められた少なくとも一つの文 字が並ぶ方向に垂直な最大座標位置および最小座標位置の間の範囲で移動可能 としている。また、この可動基準線は、前記文字列方向に対して垂直方向の座標位 置が文字サイズ毎に可変であり、前記調整手段は、該可動基準線を文字サイズ毎に 定められた 1文字の文字枠の範囲内で移動可能としている。 Furthermore, preferably, the number and direction of the movable reference lines in the character pattern generation device of the present invention are set for each language and typeface. In this movable reference line, the coordinate position in the direction perpendicular to the direction in which the at least one character is arranged is variable for each character size. The adjusting means can move the movable reference line in a range between the maximum coordinate position and the minimum coordinate position perpendicular to the direction in which at least one character arranged for each character size is arranged. In addition, the movable reference line has a coordinate position in a direction perpendicular to the character string direction that is variable for each character size, and the adjustment means sets the movable reference line for one character determined for each character size. It is possible to move within the range of the character frame.
[0037] さらに、好ましくは、本発明の文字パターン生成装置において、前記文字がアルフ ァベットの場合、前記第 1固定基準線はァセンダライン、前記複数の可動基準線のう ち第 1可動基準線はエックスハイト、第 2可動基準線はベースライン、前記第 2固定基 準線はディセンダラインである。  Further preferably, in the character pattern generation device according to the present invention, when the character is an alphabet, the first fixed reference line is an ascender line, and the first movable reference line of the plurality of movable reference lines is an X Height, the second movable reference line is a base line, and the second fixed reference line is a descender line.
[0038] さらに、好ましくは、本発明の文字パターン生成装置における計算手段は、前記対 象となる基準文字パターンをストローク毎に分解処理するストローク分解処理手段を 有する。  [0038] Further preferably, the calculation means in the character pattern generation device of the present invention has stroke decomposition processing means for performing decomposition processing on the target reference character pattern for each stroke.
[0039] さらに、好ましくは、本発明の文字パターン生成装置における計算手段は、前記基 準文字パターンを構成するストロークの各座標位置を各々独立して、前記基準線の 座標位置に対して移動または変形処理を行うように計算する移動または変形処理手 段を有する。  [0039] Further preferably, the calculation means in the character pattern generation device of the present invention moves or coordinates each of the coordinate positions of the strokes constituting the reference character pattern independently with respect to the coordinate position of the reference line. It has a move or deformation processing means for calculating to perform deformation processing.
[0040] さらに、好ましくは、本発明の文字パターン生成装置における計算手段は、前記移 動または変形処理後の文字の各ストロークを合成処理するストローク合成処理手段 をさらに有する。  [0040] Further preferably, the calculation means in the character pattern generation device of the present invention further comprises stroke composition processing means for performing composition processing on each stroke of the character after the movement or deformation processing.
[0041] さらに、好ましくは、本発明の文字パターン生成装置において、前記基準文字バタ ーン、前記基準線座標情報およびプログラムを格納した補助記憶手段をさらに有す る。  [0041] Further preferably, the character pattern generation device of the present invention further includes auxiliary storage means for storing the reference character pattern, the reference line coordinate information, and a program.
[0042] さらに、好ましくは、本発明の文字パターン生成装置における調整手段は、任意に 設定可能とされる基準線座標情報に基づいて、前記基準線の座標位置を調整する。  Furthermore, preferably, the adjusting means in the character pattern generation device of the present invention adjusts the coordinate position of the reference line based on reference line coordinate information that can be arbitrarily set.
[0043] さらに、好ましくは、本発明の文字パターン生成装置における調整手段は、前記文 字サイズを縮小する場合に、縮小後の文字パターン全体に占める前記特徴形状の 割合が縮小前の文字パターン全体に占める前記特徴形状の割合に比べて大きくな るように調整する。また、この調整手段は、前記文字サイズを縮小する場合に、前記 特徴形状 (ストロークの特徴形状)の縮小割合を該特徴形状以外の部分の縮小割合 に比べて大きくなるように調整する。 [0043] Further, preferably, when the character size is reduced, the adjusting means in the character pattern generation device of the present invention is such that the ratio of the feature shape to the entire reduced character pattern is the entire character pattern before the reduction. It is adjusted so as to be larger than the ratio of the feature shape to the total. In addition, the adjusting means may reduce the character size when the character size is reduced. The reduction ratio of the feature shape (characteristic shape of the stroke) is adjusted to be larger than the reduction ratio of the portion other than the feature shape.
[0044] さらに、好ましくは、本発明の文字パターン生成装置において、前記基準線座標情 報として、前記第 1可動基準線と前記第 2可動基準線の間隔が、前記文字サイズを 縮小する前後において、該文字サイズの縮小率が小さくなるほど小さく設定されてい る。 Furthermore, preferably, in the character pattern generation device of the present invention, as the reference line coordinate information, an interval between the first movable reference line and the second movable reference line is before and after the character size is reduced. The smaller the character size reduction rate, the smaller it is set.
[0045] さらに、好ましくは、本発明の文字パターン生成装置において、前記基準線座標情 報として、前記第 1可動基準線と前記第 2可動基準線の間隔が、前記文字サイズを 縮小する前後において、前記文字サイズが 6ポイントで 80パーセント〜 85パーセント 、前記文字サイズが 10ポイントで 80パーセント〜 90パーセント、前記文字サイズが 1 4ポイントで 85パーセント〜 95パーセント、前記文字サイズが 18ポイントで 90パーセ ント〜 100パーセント、前記文字サイズが 22ポイントで 95パーセント〜 100パーセン トの範囲内に設定されている。  Further preferably, in the character pattern generation device of the present invention, as the reference line coordinate information, an interval between the first movable reference line and the second movable reference line is before and after the character size is reduced. The character size is 80% to 85% at 6 points, the character size is 80% to 90% at 10 points, the character size is 85% to 95% at 14 points, and the character size is 90% at 18 points. The character size is set within the range of 95 percent to 100 percent at 22 points.
[0046] 本発明の電子情報機器は、本発明の上記文字パターン生成装置を用いて文字情 報表示処理、文字情報通信処理および文字情報印字処理の少なくともいずれかを 行うものであり、そのことにより上記目的が達成される。  [0046] An electronic information device of the present invention performs at least one of character information display processing, character information communication processing, and character information printing processing using the character pattern generation device of the present invention. The above objective is achieved.
[0047] 本発明の文字パターン生成プログラムは、対象となる文字パターンを、変形する処 理をコンピュータに実行させるための文字パターン生成プログラムであって、該対象 となる基準文字パターンの文字コードを入力するステップと、入力された文字コード に応じた文字パターンを呼び出すステップと、該基準文字パターンの基準位置を調 整する調整ステップと、該調整ステップで調整された基準位置に対応するように、該 文字パターンを構成するストロークのうち、少なくとも一つのストロークの座標位置を 所定の演算により変更して、該ストロークを移動または変形処理する移動または変形 処理ステップとを有するものであり、そのことにより上記目的が達成される。また、本発 明の文字パターン生成プログラムは、対象となる基準文字パターンを、変形する処理 をコンピュータに実行させるための文字パターン生成プログラムであって、該対象とな る基準文字パターンの文字コードを入力するステップと、入力された文字コードに応 じた基準文字パターンを呼び出すステップと、呼び出された基準文字パターンの特 徴形状を表す、文字列に共通な基準線の座標位置を該特徴形状がより表われるよう に調整する調整ステップと、調整された基準線の座標位置に対して、該基準文字パ ターンを構成するストロークのうち、少なくとも一つのストロークの位置を座標計算して 移動または変形処理する移動または変形処理ステップとをコンピュータに実行させる ためのものであり、そのことにより上記目的が達成される。この場合、本発明の文字パ ターン生成プログラムは、対象となる文字パターンを、指定された文字サイズに変形 する処理をコンピュータに実行させるための文字パターン生成プログラムであっても よい。 [0047] A character pattern generation program of the present invention is a character pattern generation program for causing a computer to execute a process of transforming a target character pattern, and inputs a character code of the target reference character pattern. A step of calling a character pattern corresponding to the input character code, an adjustment step of adjusting the reference position of the reference character pattern, and the reference position adjusted in the adjustment step so as to correspond to the reference position. A movement or deformation processing step of changing the coordinate position of at least one of the strokes constituting the character pattern by a predetermined calculation, and moving or deforming the stroke. Is achieved. The character pattern generation program of the present invention is a character pattern generation program for causing a computer to execute a process of transforming a target reference character pattern, and the character code of the target reference character pattern is obtained. An input step, a step of calling a reference character pattern corresponding to the input character code, and a feature of the called reference character pattern. An adjustment step that adjusts the coordinate position of the reference line that represents the character shape so that the characteristic shape is more visible, and configures the reference character pattern with respect to the adjusted coordinate position of the reference line Among the strokes to be performed, the computer executes the movement or deformation processing step for performing the movement or deformation processing by calculating the coordinates of at least one stroke position, thereby achieving the above object. In this case, the character pattern generation program of the present invention may be a character pattern generation program for causing a computer to execute processing for transforming a target character pattern into a designated character size.
[0048] また、好ましくは、本発明の文字パターン生成プログラムにおける調整ステップは、 前記基準文字パターンを呼び出す際に、文字サイズ毎に定められた基準線座標情 報を参照するステップと、該基準文字パターンを、指定された文字サイズに変形する 際に、該文字サイズ毎に定められた基準線座標情報を元に、前記基準線の座標位 置を調整するステップとを有する。  [0048] Preferably, the adjustment step in the character pattern generation program of the present invention includes a step of referring to reference line coordinate information determined for each character size when the reference character pattern is called, and the reference character Adjusting the coordinate position of the reference line based on the reference line coordinate information defined for each character size when the pattern is transformed into the designated character size.
[0049] また、好ましくは、本発明の文字パターン生成プログラムにおける移動または変形 処理ステップは、前記基準文字パターンをストローク毎に分解処理するステップと、 該基準文字パターンの特徴形状を表すための基準位置情報を、該特徴形状がより 表れるように調整するステップと、該基準文字パターンを構成するストロークの各座標 位置を各々独立して、座標位置を調整した基準位置情報に対して移動または変形 処理を行うように計算するステップと、該移動または変形処理後の文字パターンの各 ストロークを合成処理するステップとを有する。また、好ましくは、本発明の文字パタ ーン生成プログラムにおける移動または変形処理ステップは、前記基準文字パター ンをストローク毎に分解処理するステップと、該基準文字パターンを構成するストロー クの各座標位置を各々独立して、座標位置調整した基準線の座標位置に対して移 動または変形処理を行うように計算するステップと、該移動または変形処理後の文字 の各ストロークを合成処理するステップとを有する。  [0049] Preferably, the movement or deformation processing step in the character pattern generation program of the present invention includes: a step of disassembling the reference character pattern for each stroke; and a reference position for representing a feature shape of the reference character pattern The step of adjusting the information so that the feature shape is more clearly expressed, and the coordinate position of the strokes constituting the reference character pattern are independently moved or transformed with respect to the reference position information whose coordinate position is adjusted. A step of calculating to perform, and a step of synthesizing each stroke of the character pattern after the movement or transformation process. Preferably, the movement or deformation processing step in the character pattern generation program of the present invention includes a step of disassembling the reference character pattern for each stroke, and each coordinate position of the stroke constituting the reference character pattern. Independently calculating the coordinate position of the reference line whose coordinate position has been adjusted so as to be moved or transformed, and combining the strokes of the character after the movement or transformation process. Have.
[0050] 本発明の可読記録媒体は、本発明の上記文字パターン生成プログラムが記録され たコンピュータ読み取り可能なものであって、そのことにより上記目的が達成される。  [0050] A readable recording medium of the present invention is a computer-readable recording medium on which the character pattern generation program of the present invention is recorded, whereby the above object is achieved.
[0051] 上記構成により、以下に、本発明の作用について説明する。 [0052] 本発明にあっては、文字の特徴形状を表す文字列に共通な補助線を基準線として 、指定の文字サイズ毎に定められた文字の特徴形状を表す基準線座標情報を元に 、対象となる基準文字パターンの文字列に対して垂直な方向に、特徴形状がより表 われるように基準線の座標位置を調整する。この調整された基準線の座標位置に対 応するように、対象となる基準文字パターンを、その文字パターンを構成するストロー ク毎に座標計算して移動または変形する。 [0051] With the above configuration, the operation of the present invention will be described below. [0052] In the present invention, an auxiliary line common to a character string representing a character feature shape is used as a reference line, and based on reference line coordinate information representing a character feature shape determined for each designated character size. Then, the coordinate position of the reference line is adjusted so that the feature shape appears more in the direction perpendicular to the character string of the target reference character pattern. In order to correspond to the coordinate position of the adjusted reference line, the target reference character pattern is moved or deformed by calculating coordinates for each stroke constituting the character pattern.
これによつて、充分な行間を確保しながら、文字の特徴部分をより判別しやすくして、 文字の判読性をより高めることが可能となる。  As a result, it is possible to make it easier to discriminate the character feature portion while ensuring a sufficient line spacing, and to improve the legibility of the character.
[0053] これについて、図 22を用いて、本発明の文字パターン生成装置の動作についてさ らに詳細に説明する。 [0053] With respect to this, the operation of the character pattern generation device of the present invention will be described in more detail with reference to FIG.
[0054] 図 22 (a)に示すように、調整手段は、対象となる基準文字パターンを呼び出す際に 、文字サイズ毎に定められた基準線座標情報を参照する。この基準線座標情報とし て各規準線の間隔情報でもよい。  As shown in FIG. 22 (a), the adjustment means refers to the reference line coordinate information determined for each character size when calling the target reference character pattern. The reference line coordinate information may be interval information of each reference line.
[0055] 図 22 (b)に示すように、調整手段は、対象となる基準文字パターンを、指定された 文字サイズに変形する際に、文字サイズ毎に定められた基準線座標情報を元に、前 記基準線の座標位置を調整する。  [0055] As shown in Fig. 22 (b), the adjusting means, when transforming the target reference character pattern into the designated character size, based on the reference line coordinate information determined for each character size. Adjust the coordinate position of the reference line.
[0056] 図 22 (c)に示すように、計算手段は、対象となる基準文字パターンをストローク毎に 分解する。  [0056] As shown in FIG. 22 (c), the calculation means decomposes the target reference character pattern for each stroke.
[0057] 図 22 (d)に示すように、計算手段は、基準文字パターンを構成するストロークの各 座標位置を各々独立して、座標位置調整した基準線の座標位置に対して移動また は変形処理を行うように計算する。  [0057] As shown in FIG. 22 (d), the calculation means moves or deforms each coordinate position of the strokes constituting the reference character pattern independently of the coordinate position of the reference line whose coordinate position has been adjusted. Calculate to process.
[0058] 図 22 (e)に示すように、計算手段は、移動または変形処理後の文字の各ストローク を合成処理する。なお、 Pは行間として認識される空間であり、 Qは文字の識別子とし ての文字の特徴形状である。 [0058] As shown in FIG. 22 (e), the calculation means performs a composition process on each stroke of the character after the movement or transformation process. P is a space recognized as a line spacing, and Q is a character feature shape as a character identifier.
発明の効果  The invention's effect
[0059] 以上により、本発明によれば、文字サイズ毎に定められた文字の特徴形状を表す 基準線座標情報を元に基準線の座標位置を調整し、対象となる基準文字パターン の文字列方向に対して垂直な方向に、文字の座標値を全て同じ値だけ増減させる 移動、または文字の個々の座標値毎に異なる値を増減させる変形を行うことによって 、描画サイズ'文字サイズ '字間'行間を変えることなぐ変形前と同じ文書量を出力( 表示)することが可能であり、さらに、長体'平体処理をすることなぐ見た目の行間を 充分確保することができる。 [0059] As described above, according to the present invention, the coordinate position of the reference line is adjusted based on the reference line coordinate information representing the character feature shape determined for each character size, and the character string of the target reference character pattern Increase or decrease all character coordinate values by the same value in a direction perpendicular to the direction By moving or changing to increase or decrease different values for each coordinate value of the character, the same document amount as before the transformation without changing the drawing size 'character size' character spacing 'line spacing can be output (displayed) In addition, it is possible to secure a sufficient space between the lines of the appearance without performing the long body processing.
[0060] また、文字をストローク毎に移動または変形することによって、文字判別の助けとな る文字の特徴部分を強調し、読み手の単語理解'文章読解のスピードを向上させると 共に、誤読を未然に防ぎ、その結果として文字の判読性を高めることができる。  [0060] In addition, by moving or transforming the character for each stroke, the character features that help character recognition are emphasized, the word comprehension of the reader's word comprehension, and the reading speed of the text is improved. As a result, the legibility of characters can be improved.
[0061] さらに、文字の移動または変形にあたり、基準線座標情報をユーザーが操作'選択 して設定することによって、個々のユーザの好みに応じた文字表示を行うことも可能と なる。  [0061] Furthermore, when the character is moved or deformed, the user can select and set the reference line coordinate information to display the character according to each user's preference.
発明を実施するための最良の形態  BEST MODE FOR CARRYING OUT THE INVENTION
[0062] 以下に、本発明の文字パターン生成装置の実施形態について、図面を参照しなが ら説明する。 Hereinafter, embodiments of the character pattern generation device of the present invention will be described with reference to the drawings.
[0063] なお、ここでは、「文字」には、 日本語や英語さらには韓国語、中国語などの言語の 他、例えば単位などの記号や、〇ゃ八などの各種図形、さらには、文字として識別さ れる絵記号 (絵文字)なども含んでいる。また、「文字」は、文字 ·記号 ·文字における 部首、または部首のように記号を構成する区分けされた部分で構成され、本明細書 においては、煩雑になるため、これらをも含めて「文字」として記述する。  [0063] Here, "character" includes, in addition to languages such as Japanese, English, Korean, Chinese, etc., for example, symbols such as units, various figures such as 〇 八, and characters. Also includes pictograms (pictograms) identified as. In addition, “characters” are composed of letters, symbols, radicals in characters, or divided parts constituting symbols such as radicals, and in this specification, these are also included, which are complicated. Write as "character".
[0064] また、以降の実施形態の説明では文字のストローク形状を、骨格となる芯線で表し た所謂ストロークフォント形式を一例にとって説明するが、このストローク形状を輪郭 線で表した所謂アウトラインフォント形式に対しても同様に本発明の文字変形、文字 ノ ターン生成手法を適用可能である。また、ビットマップにより文字形状を表したビッ トマップフォント形式についても、階調表現を用いることにより同様に本発明の文字変 形、文字パターン生成手法を適用可能である。  In the following description of the embodiments, a stroke font format in which the stroke shape of a character is represented by a skeleton serving as a skeleton will be described as an example. However, a so-called outline font format in which this stroke shape is represented by a contour line will be described. Similarly, the character deformation and character pattern generation method of the present invention can be applied. Further, the character deformation and character pattern generation method of the present invention can be similarly applied to a bitmap font format in which a character shape is represented by a bitmap by using gradation expression.
[0065] さらに、本発明の文字パターン生成装置の適用について説明する。本発明の文字 ノ ターン生成装置は、例えば PHSを含む携帯電話装置や、携帯情報ツールである PDAなどの電子情報機器に用いることができる。また、本発明の文字パターン生成 装置は、デスクトップ型やノートブック型など、任意のタイプのパーソナルコンピュータ や、ワードプロセッサなどの電子情報機器に用いることができ、さらに、テレビジョン装 置またはプロジェクタ装置などの電子情報機器に用いることができる。さらに、本発明 の文字パターン生成装置は、カラー表示および白黒表示のうちの少なくとも一方の 表示が可能な表示装置、例えばカラー液晶表示デバイスを備えた電子情報機器、ま たは一般の電話機 ZFAXなどの通信デバイス (通信機器)を備えた電子情報機器に 用レ、ることができる。さらに、本発明の文字パターン生成装置は、 3D表示装置や立 体地図などの液晶表示デバイスを備えた電子情報機器、またはホログラムでの立体 表示に用いることができる。さらに、本発明の文字パターン生成装置は、電子情報機 器として、カラー印刷またはモノクロ印刷が可能なプリンタなどの印刷用デバイス(印 刷装置)に用いてもよい。 Furthermore, application of the character pattern generation device of the present invention will be described. The character pattern generation device of the present invention can be used in, for example, a mobile phone device including a PHS and an electronic information device such as a PDA which is a mobile information tool. In addition, the character pattern generation apparatus of the present invention is an arbitrary type personal computer such as a desktop type or a notebook type. It can also be used for electronic information devices such as word processors, and it can also be used for electronic information devices such as television devices or projector devices. Furthermore, the character pattern generation device of the present invention is a display device capable of displaying at least one of color display and black-and-white display, such as an electronic information device equipped with a color liquid crystal display device, or a general telephone ZFAX. It can be used for electronic information equipment equipped with communication devices (communication equipment). Furthermore, the character pattern generation apparatus of the present invention can be used for electronic information equipment having a liquid crystal display device such as a 3D display device or a body map, or for stereoscopic display on a hologram. Furthermore, the character pattern generation apparatus of the present invention may be used as an electronic information apparatus for a printing device (printing apparatus) such as a printer capable of color printing or monochrome printing.
[0066] 図 1は、本発明の実施形態に係る文字パターン生成装置の構成例を示すブロック 図である。 FIG. 1 is a block diagram showing a configuration example of a character pattern generation device according to an embodiment of the present invention.
[0067] 図 1において、本実施形態の文字パターン生成装置 10は、 CPU (中央演算処理 装置)などで構成される制御装置 1と、文字列を入力可能とする入力装置 2と、表示 装置、印刷装置および通信装置の少なくともいずれかである出力装置 3と、プロダラ ムおよびそれに用いるデータを格納した補助記憶手段としての補助記憶装置 4と、 C PU起動時にワークメモリ(RAM)として働く主記憶装置 5とを備えている。  In FIG. 1, a character pattern generation device 10 of the present embodiment includes a control device 1 composed of a CPU (Central Processing Unit), an input device 2 that can input a character string, a display device, An output device 3 which is at least one of a printing device and a communication device, an auxiliary storage device 4 as auxiliary storage means for storing a program and data used therefor, and a main storage device which functions as a work memory (RAM) when the CPU is activated 5 and.
[0068] 制御装置 1には、対象となる基準文字パターンを、指定された文字サイズに変形す る際に、この基準文字パターンの特徴形状を表す、文字列に共通な基準線の座標 位置をその特徴形状がより表われるように調整する調整手段 11と、この調整手段 11 で調整された基準線の座標位置に対応するように、基準文字パターンを構成するス トロークのうち、少なくとも一つのストロークの位置を座標計算して移動または変形処 理する計算手段 12とを有している。  [0068] When the target reference character pattern is transformed into the designated character size, the control device 1 displays the coordinate position of the reference line common to the character string that represents the feature shape of the reference character pattern. The adjusting means 11 for adjusting the characteristic shape so as to appear more clearly, and at least one stroke of strokes constituting the reference character pattern so as to correspond to the coordinate position of the reference line adjusted by the adjusting means 11 And a calculation means 12 for moving or transforming the coordinates of the position of the position by calculating the coordinates.
[0069] 調整手段 11は、基準文字パターンを呼び出す際に、文字サイズ毎に定められた基 準線座標情報を参照する基準線座標情報参照手段(図示せず)と、この基準文字パ ターンを、指定された文字サイズに変形する際に、文字サイズ毎に定められた基準 線座標情報を元に、その基準線の座標位置を調整する基準線座標調整手段(図示 せず)とを有している。なお、これらの各手段の各機能は、後述するプログラム 43に 基づいてコンピュータに実行させるものである。なお、これらの基準線座標情報参照 手段と基準線座標調整手段とは、このように別々に機能させてもよいし、一括して機 能する基準線座標情報参照 ·基準線座標調整手段としてもよレヽ。 [0069] When calling the reference character pattern, the adjustment means 11 uses reference line coordinate information reference means (not shown) for referring to reference line coordinate information determined for each character size, and this reference character pattern. And a reference line coordinate adjusting means (not shown) for adjusting the coordinate position of the reference line based on the reference line coordinate information determined for each character size when transforming to the designated character size. ing. The functions of these means are described in the program 43 described later. Based on the computer. The reference line coordinate information reference means and the reference line coordinate adjustment means may function separately as described above, or may be used as a reference line coordinate information reference / reference line coordinate adjustment means that collectively function. Yo!
[0070] 計算手段 12は、基準文字パターンをストローク毎に分解処理するストローク分解処 理手段(図示せず)と、基準文字パターンを構成するストロークの各座標位置を各々 独立して、座標位置調整した基準線の座標位置に対して移動または変形処理を行う ように計算する移動または変形処理手段(図示せず)と、この移動または変形処理後 の文字の各ストロークを合成処理するストローク合成処理手段(図示せず)とを有して いる。なお、これらの各手段の各機能は、後述するプログラム 43に基づいてコンビュ ータに実行させるものである。  [0070] The calculation means 12 adjusts the coordinate position independently from the stroke decomposition processing means (not shown) that decomposes the reference character pattern for each stroke, and the coordinate positions of the strokes constituting the reference character pattern. A moving or deformation processing means (not shown) for calculating to move or deform the coordinate position of the reference line, and a stroke composition processing means for composing each stroke of the character after the movement or deformation processing (Not shown). Each function of each means is executed by the computer based on a program 43 described later.
[0071] 補助記憶装置 4には、基準文字パターン 41と、フォントデータテーブル 42 (少なくと も基準線座標情報)と、文字生成プログラムを含むプログラム 43とが格納されている。  [0071] The auxiliary storage device 4 stores a reference character pattern 41, a font data table 42 (at least reference line coordinate information), and a program 43 including a character generation program.
[0072] 図 2は、図 1のフォントデータテーブル 42の構成例を説明するためのブロック図であ る。  FIG. 2 is a block diagram for explaining a configuration example of the font data table 42 of FIG.
[0073] 図 2において、フォントデータテーブル 42には、文字コード 421と、ヘッダー情報 42 In FIG. 2, the font data table 42 includes a character code 421 and header information 42.
2と、フラグ情報 424と、フォントデザイン 425とが格納されている。 2, flag information 424, and font design 425 are stored.
[0074] ヘッダー情報 422には、言語情報 426と、基準線情報 423として、固定基準線情報[0074] The header information 422 includes language information 426 and reference line information 423 as fixed reference line information.
423Aと、可動基準線情報 423Bと、基準線座標情報 423Cとが格納されている。 423A, movable reference line information 423B, and reference line coordinate information 423C are stored.
[0075] フラグ情報 424には、ストローク情報フラグ 424Aと、接点情報フラグ 424Bと、補正 情報フラグ 424Cとが格納されている。これらの各情報、フラグやフォントデザイン 42In the flag information 424, a stroke information flag 424A, a contact information flag 424B, and a correction information flag 424C are stored. Each of these information, flags and font design 42
5の詳細な内容については後述する。 The detailed contents of 5 will be described later.
[0076] 上記構成により、以下、まず、本実施形態の文字パターン生成処理の概略につい て説明し、その後、その詳細について説明する。 [0076] With the above configuration, the outline of the character pattern generation process of the present embodiment will be described first, and then the details will be described.
[0077] まず、制御装置 1は、補助記憶装置 4内のプログラム 43にしたがって、出力対象と なる文字列について、文字コードおよび文字サイズなどの文字情報を入力装置 2から み込む。 First, the control device 1 loads character information such as a character code and a character size from the input device 2 for the character string to be output in accordance with the program 43 in the auxiliary storage device 4.
[0078] 次に、入力された文字コードの文字パターンをフォントデータテーブル 42内の文字 コード 421力ら、文字サイズについての情報をフォントデータテーブル 42内のヘッダ 一情報 422から、書体についての情報をフォントデータテーブル 42内のフォントデザ イン 425からそれぞれ読み込み、基準文字パターン 41によって指定の文字サイズの 基準文字パターンを取り出す。 Next, the character pattern of the input character code is set as the character code 421 in the font data table 42, and the information about the character size is set as the header in the font data table 42. From the information 422, information on the typeface is read from the font design 425 in the font data table 42, and the reference character pattern of the specified character size is extracted by the reference character pattern 41.
[0079] さらに、文字サイズ毎に用意されたフォントデータテーブル 42内の基準線座標情報[0079] Further, reference line coordinate information in the font data table 42 prepared for each character size.
423Cを読み込み、文字生成プログラム 43にしたがって、調整手段 11によって基準 文字パターンの基準線の座標位置を移動させて基準線を生成する。このようにして 調整された基準線を生成した後、文字生成プログラム 43にしたがって、計算手段 12 によって基準文字パターンを構成するストロークの各座標位置を計算して移動または 変形することにより文字パターンを生成し、表示装置などの出力装置 3に出力させる 423C is read, and according to the character generation program 43, the adjustment means 11 moves the coordinate position of the reference line of the reference character pattern to generate the reference line. After generating the adjusted reference line in this way, the character pattern is generated by calculating and moving or transforming each coordinate position of the stroke constituting the reference character pattern by the calculation means 12 according to the character generation program 43. Output to the output device 3 such as a display device.
[0080] 上記基準線情報 423について、図 3を用いてさらに詳細に説明する。 [0080] The reference line information 423 will be described in more detail with reference to FIG.
[0081] 図 3は、文字の基準線とストロークについて定義した図 2の基準線情報 423につい て説明するための図である。なお、ストロークの詳細については後述する。  FIG. 3 is a diagram for explaining the reference line information 423 of FIG. 2 that defines the character reference line and stroke. Details of the stroke will be described later.
[0082] 図 3において、例えば文字「h」において、第 1固定基準線 423A— 1、第 1可動基準 線 423B— 1、第 2可動基準線 423B— 2、第 2固定基準線 423A— 2、第 1固定基準 線 423A— 1と第 1可動基準線 423B— 1間の間隔 A、第 1可動基準線 423B— 1と第 2可動基準線 423B— 2間の間隔 B、第 2可動基準線 423B— 2と第 2固定基準線 42 3A—2間の間隔 Cを示している。ここで、文字「h」と類似の文字「n」との形状の違い は長い縦線のストロークの有無であり、間隔 Aの大小が文字の特徴形状の表れる度 合いに影響を与える。したがって、間隔 Aを規定する第 1可動基準線 423B—1の位 置を変化させることで、文字の特徴形状である長レ、縦線のストロークが文字全体に占 める割合は大きくなり、結果として文字の特徴形状がより顕著になる。  In FIG. 3, for example, in the letter “h”, the first fixed reference line 423A-1, the first movable reference line 423B-1, the second movable reference line 423B-2, the second fixed reference line 423A-2, First fixed reference line 423A—Spacing A between 1 and first movable reference line 423B—1, A First movable reference line 423B—Spacing B between 1 and second movable reference line 423B—Second B movable reference line 423B — The distance C between 2 and the second fixed reference line 42 3A-2 is shown. Here, the difference in shape between the letter “h” and the similar letter “n” is the presence or absence of a long vertical stroke, and the size of the spacing A affects the degree to which the character feature shape appears. Therefore, by changing the position of the first movable reference line 423B-1, which defines the interval A, the ratio of the long and vertical strokes, which are the character's characteristic shapes, to the entire character increases. As a result, the character feature shape becomes more prominent.
[0083] 第 1固定基準線 423A—1は、複数ある基準線のうち、文字列方向に対して垂直な 方向の文字の最大座標位置を示している。例えば、欧文(アルファベット)の場合、文 字列の方向は X方向であるため、 X方向に対して垂直な方向である Y方向の最大座 標位置 (y—max)を示している。また、例えば縦組み(縦書き)の和文 (漢字 ·仮名) の場合、文字列の方向は Y方向であるため、 Y方向に対して垂直な方向である X方 向の最大座標位置 (X— max)を示している。これと同様に、第 2固定基準線 423A— 2は、複数ある基準線のうち、文字列方向に対して垂直な方向の文字の最小座標位 置を示している。例えば欧文(アルファベット)の場合、文字列の方向は X方向である ため、 X方向に対して垂直な方向である Y方向の最小座標位置 (y_min)を示してい る。また、例えば縦組み(縦書き)の和文 (漢字 ·仮名)の場合、文字列の方向は Y方 向であるため、 Y方向に対して垂直な方向である X方向の最小座標位置 (x_min)を 示している。 [0083] First fixed reference line 423A-1 indicates the maximum coordinate position of a character in a direction perpendicular to the character string direction among a plurality of reference lines. For example, in the case of the alphabet (alphabet), since the direction of the character string is the X direction, the maximum coordinate position (y−max) in the Y direction, which is the direction perpendicular to the X direction, is indicated. For example, in the case of Japanese text (kanji / kana) in vertical composition (vertical writing), since the direction of the character string is the Y direction, the maximum coordinate position in the X direction (X— max). Similarly, the second fixed reference line 423A— 2 shows the minimum coordinate position of a character in a direction perpendicular to the character string direction among a plurality of reference lines. For example, in the case of the alphabet (alphabet), the direction of the character string is the X direction, so the minimum coordinate position (y_min) in the Y direction, which is the direction perpendicular to the X direction, is indicated. For example, in the case of Japanese text (kanji / kana) in vertical composition (vertical writing), the direction of the character string is in the Y direction, so the minimum coordinate position in the X direction that is perpendicular to the Y direction (x_min) Is shown.
[0084] 第 1可動基準線 423B— 1と第 2可動基準線 423B— 2は、第 1固定基準線 423A— 1と第 2固定基準線 423A— 2の間に存在し、その数と方向は言語や書体毎に異なる 場合がある。また、第 1可動基準線 423B— 1と第 2可動基準線 423B— 2において、 文字列方向に対して垂直な方向の座標位置は、文字サイズ毎に可変であり、調整手 段 11によって調整される。  [0084] The first movable reference line 423B-1 and the second movable reference line 423B-2 exist between the first fixed reference line 423A-1 and the second fixed reference line 423A-2, and the number and direction thereof are May vary by language and typeface. In the first movable reference line 423B-1 and the second movable reference line 423B-2, the coordinate position in the direction perpendicular to the character string direction is variable for each character size and is adjusted by the adjusting means 11. The
[0085] 第 1可動基準線 423B— 1と第 2可動基準線 423B— 2は、互いに接触せず、独立 しており、さらに、第 1固定基準線 423A— 1や第 2固定基準線 423A— 2とも接触し ない場合もある。第 1可動基準線 423B— 1と第 2可動基準線 423B— 2などの可動 基準線の移動は、全て、第 1固定基準線 423A— 1と第 2固定基準線 423A— 2の範 圏内でのみ行われる。  [0085] The first movable reference line 423B-1 and the second movable reference line 423B-2 are not in contact with each other and are independent. In addition, the first fixed reference line 423A-1 and the second fixed reference line 423A- There may be cases where neither of them touches. Movement of movable reference lines such as the first movable reference line 423B—1 and the second movable reference line 423B—2 is all within the range of the first fixed reference line 423A—1 and the second fixed reference line 423A—2. Done.
[0086] 間隔 Aは、第 1固定基準線 423A— 1から第 1可動基準線 423B— 1までの座標距 離、間隔 Bは第 1可動基準線 423B— 1から第 2可動基準線 423B— 2までの座標距 離、間隔 Cは第 2可動基準線 423B— 2から第 2固定基準線 423A—2までの座標距 離である。例えば、欧文(アルファベット)の場合、第 1固定基準線 423A—1はァセン ダライン、第 1可動基準線 423B—1はエックスハイト、第 2可動基準線 423B— 2はべ ースライン、第 2固定基準線 423A— 2はディセンダラインである。  [0086] The interval A is the coordinate distance from the first fixed reference line 423A-1 to the first movable reference line 423B-1 and the interval B is the first movable reference line 423B-1 to the second movable reference line 423B-2. The distance C is the distance from the second movable reference line 423B-2 to the second fixed reference line 423A-2. For example, in the alphabet (alphabet), the first fixed reference line 423A-1 is the ascender line, the first movable reference line 423B-1 is the X height, the second movable reference line 423B-2 is the base line, and the second fixed reference line. 423A-2 is a descender line.
[0087] 図 25は、図 3を応用し、基準面の基本的概念について説明するための図である。  FIG. 25 is a diagram for explaining the basic concept of the reference plane by applying FIG.
[0088] 図 25において、例えば文字「hn」において、第 1固定基準面 25— 1、第 1可動基準 面 25— 2、第 2可動基準面 25— 3、第 2固定基準面 25— 4を示している。  In FIG. 25, for example, in the letter “hn”, the first fixed reference plane 25-1, the first movable reference plane 25-2, the second movable reference plane 25-3, and the second fixed reference plane 25-4 are indicated. Show.
[0089] 第 1固定基準面 25— 1は、複数ある基準面のうち、少なくとも一つの文字が並ぶ方 向に対して垂直な方向の文字の最大座標位置を示している。これと同様に、第 2固 定基準面 25— 4は、複数ある基準面のうち、少なくとも一つの文字が並ぶ方向に対し て垂直な方向の文字の最小座標位置を示している。 [0089] The first fixed reference plane 25-1 indicates the maximum coordinate position of a character in a direction perpendicular to the direction in which at least one character is arranged among a plurality of reference planes. Similarly, the second fixed reference surface 25-4 is in the direction in which at least one character is arranged among a plurality of reference surfaces. The minimum coordinate position of the character in the vertical direction is shown.
[0090] 第 1可動基準面 25— 2と第 2可動基準面 25— 3は、第 1固定基準面 25— 1と第 2固 定基準面 25 _4の間に存在し、その数と方向は言語や書体毎に異なる場合がある。 また、第 1可動基準面 25— 2と第 2可動基準面 25— 3において、文字列方向に対し て垂直な方向の座標位置は、文字サイズ毎に可変であり、調整手段 11によって調整 される。 [0090] The first movable reference plane 25-2 and the second movable reference plane 25-3 exist between the first fixed reference plane 25-1 and the second fixed reference plane 25_4, and the number and direction thereof are May vary by language and typeface. In the first movable reference plane 25-2 and the second movable reference plane 25-3, the coordinate position in the direction perpendicular to the character string direction is variable for each character size and is adjusted by the adjusting means 11. .
[0091] 第 1可動基準面 25— 2と第 2可動基準面 25— 3は、互いに接触せず、独立しており 、さらに、第 1固定基準面 25— 1や第 2可動基準面 25— 3とも接触しない場合もある。 第 1可動基準線 423B— 1と第 2可動基準面 25— 3などの可動基準線の移動は、全 て、第 1固定基準面 25— 1と第 2固定基準面 25— 4の範囲内でのみ行われる。  [0091] The first movable reference surface 25-2 and the second movable reference surface 25-3 are not in contact with each other and are independent, and further, the first fixed reference surface 25-1 and the second movable reference surface 25- In some cases, 3 may not touch. Movement of movable reference lines such as the first movable reference line 423B-1 and the second movable reference plane 25-3 is all within the range of the first fixed reference plane 25-1 and the second fixed reference plane 25-4. Only done.
[0092] 図 23は、直線ではない場合の基準線について説明するための図である。  FIG. 23 is a diagram for explaining a reference line when the line is not a straight line.
[0093] 図 23において、例えば文字「hnvy」において、第 1固定基準線 23— 1、第 1可動基 準線 23— 2、第 2可動基準線 23— 3、第 2固定基準線 23— 4を示している。この場合 、基準線はそれぞれ所定の比率を保って移動'生成されるため、文字の形状の特徴 を維持することが可能である。  [0093] In FIG. 23, for example, in the letter “hnvy”, the first fixed reference line 23-1, the first movable reference line 23-2, the second movable reference line 23-3, and the second fixed reference line 23-4. Is shown. In this case, since the reference lines are generated by maintaining a predetermined ratio, it is possible to maintain the character shape characteristics.
[0094] 第 1可動基準線 23— 1と第 2可動基準線 23— 2は、互いに接触せず、独立しており 、さらに、第 1固定基準線 23— 1や第 2固定基準線 23— 4とも接触しない場合もある。 第 1可動基準線 23— 2と第 2可動基準線 23— 3などの可動基準線の移動は、全て、 第 1固定基準線 23— 1と第 2固定基準線 23— 4の範囲内でのみ行われる。  [0094] The first movable reference line 23-1 and the second movable reference line 23-2 are not in contact with each other and are independent, and further, the first fixed reference line 23-1 and the second fixed reference line 23- In some cases, 4 may not touch. Movement of movable reference lines such as the first movable reference line 23-2 and the second movable reference line 23-3 is all within the range of the first fixed reference line 23-1 and the second fixed reference line 23-4. Done.
[0095] 図 24は、各々並行ではない場合の基準線について説明するための図である。ここ では、始点から終点に向かって各基準線の基準線間が連続的に狭くなる場合につ レ、て示している。もちろん、始点から終点に向かって各基準線の基準線間が連続的 に広くなる逆もあり得る。  [0095] FIG. 24 is a diagram for describing a reference line when the lines are not parallel to each other. Here, the case where the distance between the reference lines from the start point to the end point becomes narrower continuously is shown. Of course, the converse is also possible in which the distance between the reference lines of each reference line increases continuously from the start point to the end point.
[0096] 図 24において、例えば文字「hnvy」において、第 1固定基準線 24_ 1、第 1可動基 準線 24— 2、第 2可動基準線 24— 3、第 2固定基準線 24— 4を示している。この場合 、基準線は基準線間の比率を文字列の始点から終点に向かって段階的に移動-生 成されるため、文字の形状の特徴を維持することが可能である。  [0096] In FIG. 24, for example, in the character “hnvy”, the first fixed reference line 24_1, the first movable reference line 24-2, the second movable reference line 24-3, and the second fixed reference line 24-4 are represented. Show. In this case, since the reference line is generated by moving the ratio between the reference lines step by step from the start point to the end point of the character string, it is possible to maintain the character shape characteristics.
[0097] 第 1可動基準線 24— 1と第 2可動基準線 24— 2は、互いに接触せず、独立しており 、さらに、第 1固定基準線 24— 1や第 2固定基準線 24— 4とも接触しない場合もある。 第 1可動基準線 24— 2と第 2可動基準線 24— 3などの可動基準線の移動は、全て、 第 1固定基準線 24— 1と第 2固定基準線 24— 4の範囲内でのみ行われる。 [0097] The first movable reference line 24-1 and the second movable reference line 24-2 are not in contact with each other and are independent. In addition, the first fixed reference line 24-1 and the second fixed reference line 24-4 may not contact each other. Movement of movable reference lines such as the first movable reference line 24-2 and the second movable reference line 24-3 is all within the range of the first fixed reference line 24-1 and the second fixed reference line 24-4. Done.
[0098] ここで、上記構成により、以下に、本実施形態の文字パターン生成プログラムに基 づいて、本実施形態の文字パターン生成装置 10の制御装置 1によって実行される動 作について、図 4のフローチャートを用いて、各ステップ毎に処理の詳細を説明する Here, with the above configuration, the operation executed by the control device 1 of the character pattern generation device 10 of the present embodiment based on the character pattern generation program of the present embodiment will be described below with reference to FIG. The details of the process will be explained for each step using the flowchart.
[0099] 図 4に示すように、前述したが、まず、ステップ S1で、入力装置 2から指定の文字コ ード、文字サイズおよびその他の各種情報を入力する。さらに、ステップ S2で、フォン トデータテーブル 42から文字コードに対応した文字情報を呼び出す。さらに、ステツ プ S3で、フォントデータテーブル 42を参照して、入力された文字コードに対応する文 字パターンを文字コード 421から、文字サイズに関する情報をヘッダー情報 422から 、書体に関する情報をフォントデザイン 425から、それぞれ読み込み、基準文字パタ ーン 41を取り出す。 As shown in FIG. 4, as described above, first, in step S1, designated character code, character size, and other various information are input from the input device 2. In step S2, the character information corresponding to the character code is called from the font data table 42. In step S3, referring to the font data table 42, the character pattern corresponding to the entered character code is obtained from the character code 421, the character size information is obtained from the header information 422, and the typeface information is obtained from the font design 425. From each of them, and take out the reference character pattern 41.
[0100] 次に、ステップ S4で、調整手段 11によって、文字パターン生成プログラム 43にした 力 Sつて基準線を生成する。  [0100] Next, in step S4, the adjustment means 11 generates a reference line with the force S applied to the character pattern generation program 43.
[0101] このステップ S4で実行される基準線生成手順について、図 5のフローチャートを用 いて、各ステップ毎に処理の詳細を説明する。  With respect to the reference line generation procedure executed in step S4, details of the process will be described for each step with reference to the flowchart of FIG.
[0102] 図 5に示すように、まず、ステップ S41では、指定された文字コードに従って取り出さ れた基準文字パターン 41を、基準線座標情報 423Cの第 1固定基準線 423A—1と 第 2固定基準線 423A— 2に合致させる。例えば欧文(アルファベット)の場合、双方 のァセンダラインとディセンダラインの Y座標値を同じ高さに揃える。文字サイズ自体 は同じであるため、固定基準線の Y座標値を揃えることは可能である。 Y座標値が異 なる可能性があるのは、可動基準線 (例えば第 1可動基準線 423B—1と第 2可動基 準線 423B— 2)の位置のみである。  [0102] As shown in FIG. 5, first, in step S41, the reference character pattern 41 extracted according to the designated character code is converted into the first fixed reference line 423A-1 and the second fixed reference of the reference line coordinate information 423C. Match line 423A-2. For example, in the case of European (alphabet) letters, the Y coordinate values of both ascender lines and descender lines should be aligned at the same height. Since the text size itself is the same, it is possible to align the Y coordinate values of the fixed reference line. Only the position of the movable reference line (for example, the first movable reference line 423B-1 and the second movable reference line 423B-2) may have different Y coordinate values.
[0103] 上記ステップ S41の処理結果、固定基準線 Y座標値が揃えられた例を図 6に示し ている。  FIG. 6 shows an example in which the fixed reference line Y-coordinate values are aligned as a result of the processing in step S41.
[0104] 図 6に示すように、基準文字パターン 41の第 1可動基準線 423B— 1、基準線座標 情報 423Cから読み込まれた第 1可動基準線 423B— 1 '、基準文字パターン 41の第 2可動基準線 423B— 2、基準線座標情報 423Cから読み込まれた第 2可動基準線 4 23B— 2'である。 [0104] As shown in Fig. 6, the first movable reference line 423B-1 of the reference character pattern 41, the reference line coordinates Information 1st movable reference line 423B—1 'read from 423C, 2nd movable reference line 423B-2 of reference character pattern 41, 2nd movable reference line 4 23B—2' read from reference line coordinate information 423C is there.
[0105] 次に、ステップ S42で、指定された文字サイズに従って取り出された基準文字バタ ーン 41の基準線のうち、可動基準線について(可動基準線に対応するように)、文字 パターン生成プログラム 43を用いて Y座標値を移動させて、基準線座標情報 423C の可動基準線に合致させる。  Next, in step S42, the character pattern generation program for the movable reference line (corresponding to the movable reference line) among the reference lines of the reference character pattern 41 extracted according to the designated character size. Use 43 to move the Y coordinate value so that it matches the movable reference line in the reference line coordinate information 423C.
[0106] 例えば、欧文(アルファベット)の場合、基準文字パターン 41のエックスハイトとベー スラインの Y座標値を、基準線座標情報 423Cと同じ高さに揃える。  [0106] For example, in the case of European (alphabet) characters, the X height of the reference character pattern 41 and the Y coordinate value of the base line are aligned to the same height as the reference line coordinate information 423C.
[0107] 図 6に示すように、第 1可動基準線 423B— 1は、基準線座標情報 423Cの Y座標 値まで移動されて、第 1可動基準線 423B— 1 'の位置に揃えられる。また、第 2可動 基準線 423B— 2も、基準線座標情報 423Cの Y座標値まで移動されて、第 2可動基 準線 423B— 2 'の位置に揃えられる。 例えば、欧文(アルファベット)の場合、第 1可 動基準線 423B— 1は移動前のエックスハイト、第 1可動基準線 423B— 1 'は移動後 のエックスハイト、第 2可動基準線 423B— 2は移動前のベースライン、第 2可動基準 線 423B— 2 'は移動後のベースラインである。  As shown in FIG. 6, the first movable reference line 423B-1 is moved to the Y coordinate value of the reference line coordinate information 423C and aligned with the position of the first movable reference line 423B-1 ′. Further, the second movable reference line 423B-2 is also moved to the Y coordinate value of the reference line coordinate information 423C and aligned with the position of the second movable reference line 423B-2 ′. For example, in the case of the alphabet (alphabet), the first movable reference line 423B-1 is the X height before movement, the first movable reference line 423B-1 'is the X height after movement, and the second movable reference line 423B-2 is Baseline before movement, second movable reference line 423B-2 'is the baseline after movement.
[0108] 次に、ステップ S43では、調整手段 11を用いて、固定基準線と、ステップ S42で座 標値を移動させた可動基準線にっレ、て、これらを新たな基準線として認識させる。  [0108] Next, in step S43, the adjustment means 11 is used to recognize the fixed reference line and the movable reference line whose coordinate value has been moved in step S42 as a new reference line. .
[0109] このようにして、調整された基準線に対して、図 4のステップ S5では、計算手段 12 によって、文字パターン生成プログラム 43にしたがって、文字パターンを構成するスト ロークの位置を移動または変形を行う。  In step S5 of FIG. 4, the position of the strokes constituting the character pattern is moved or deformed by the calculation means 12 according to the character pattern generation program 43 with respect to the reference line thus adjusted. I do.
[0110] このステップ S5で実行される文字変形手順について、図 7のフローチャートを用い て、各ステップ毎に処理の詳細を説明する。  [0110] With regard to the character transformation procedure executed in step S5, details of the process will be described for each step with reference to the flowchart of FIG.
[0111] 図 7に示すように、まず、ステップ S52では、文字パターン生成プログラム 43にした がって、個々の文字を対象として、文字をストロークに分解する必要があるか否かを 判定する。これは、その後の処理において、文字パターンをストロークに分解して移 動または変形を行うために必要な判断処理であり、処理を簡易化 ·高速化するため に、ストロークに分解する必要がない文字については、予め分解処理を省くことを目 的としている。例えば、欧文(アルファベット)の場合、ストロークに分解する必要がな い文字として、ストロークが 1本しかない「o」「c」などが挙げられる。 [0111] As shown in FIG. 7, first, in step S52, it is determined whether or not it is necessary to break down characters into strokes for each character according to the character pattern generation program 43. This is a decision process that is necessary for the subsequent processing to disassemble the character pattern into strokes and move or transform it. Characters that do not need to be decomposed into strokes to simplify and speed up the processing. With regard to the It has been the target. For example, in the case of the alphabet (alphabet), “o” and “c”, which have only one stroke, are examples of characters that do not need to be broken down into strokes.
[0112] 次に、ステップ S52での判定結果で、文字をストロークに分解する必要がある場合([0112] Next, in the determination result in step S52, when characters need to be broken down into strokes (
YES)は、ステップ S53以降の処理が行われ、文字をストロークに分解する必要がな い場合(NO)には、ステップ S 54以降の処理が行われる。 If YES, the processing after step S53 is performed, and if it is not necessary to disassemble the character into strokes (NO), the processing after step S54 is performed.
[0113] ステップ S53で、文字パターン生成プログラム 43にしたがって、文字をストローク毎 に分解する。 [0113] In step S53, according to the character pattern generation program 43, the character is decomposed for each stroke.
[0114] このステップ S53で実行される文字分解手順について、図 8のフローチャートを用 いて、各ステップ毎に処理の詳細を説明する。処理が開始される際は、(X, y)の座標 が共に最小値である (0, 0)から始まるものとする。  [0114] With regard to the character decomposition procedure executed in step S53, details of the process will be described for each step with reference to the flowchart of FIG. When processing is started, the coordinates of (X, y) shall start from (0, 0), which is the minimum value.
[0115] 図 8に示すように、まず、ステップ S531で、 Xの最小値から最大値に向かって、水 平方向に、図 3に示すようなストロークの端点を走査する。 As shown in FIG. 8, first, in step S531, the end points of the stroke as shown in FIG. 3 are scanned in the horizontal direction from the minimum value of X to the maximum value.
[0116] 次に、ステップ S532で、文字パターン生成プログラム 43にしたがって、発見された 端点を含む線分に対して、フラグ情報 424内のストローク情報フラグ 424Aが付けら れてレ、るか否かを判定する。 [0116] Next, in step S532, whether or not the stroke information flag 424A in the flag information 424 is added to the line segment including the end point found in accordance with the character pattern generation program 43. Determine.
[0117] ステップ S532での判定結果で、ストローク情報フラグ 424Aが付けられていている 場合 (YES)には、ステップ S534の処理が行われ、ストローク情報フラグ 424Aが付 けられていない場合(NO)には、ステップ S533以降の処理が行われる。 [0117] If the stroke information flag 424A is attached in the determination result in step S532 (YES), the process in step S534 is performed and the stroke information flag 424A is not attached (NO). In step S533 and subsequent steps.
[0118] ステップ S533で、発見された端点を含む線分に対して、フラグ情報 424内のスト口 ーク情報フラグ 424Aを付ける。これにより、発見された端点を含む線分がストローク として分解され、個々に扱われる。 In step S533, the stroke information flag 424A in the flag information 424 is attached to the line segment including the found end point. As a result, the line segments including the end points found are broken down as strokes and treated individually.
[0119] ステップ S534では、文字パターン生成プログラム 43にしたがって、 Xの最小値から 最大値に向かって水平方向に端点を走査している現在の Xの座標値が、最大値と等 しいか否かを判定する。 [0119] In step S534, according to the character pattern generation program 43, whether or not the current X coordinate value scanning the end point in the horizontal direction from the minimum value of X to the maximum value is equal to the maximum value. Determine.
[0120] ステップ S534での判定結果、現在の Xの座標値が最大値と等しい場合 (YES)は[0120] If the result of determination in step S534 is that the current X coordinate value is equal to the maximum value (YES)
、ステップ S535の処理が行われ、現在の Xの座標値が最大値と等しくない場合 (N〇If step S535 is processed and the current X coordinate value is not equal to the maximum value (N
)には、ステップ S531以降の処理に戻り、最大値と等しくなるまで繰り返す。 ) Returns to the processing after step S531, and repeats until it becomes equal to the maximum value.
[0121] ステップ S535で、文字パターン生成プログラム 43にしたがって、 Xの最小値から最 大値に向かって水平方向に端点を走査している現在の Yの座標値が、最大値と等し いか否力を判定する。 [0121] In step S535, according to the character pattern generation program 43, from the minimum value of X to the maximum Determines whether the current Y coordinate value, which is scanning the end point in the horizontal direction toward the maximum value, is equal to the maximum value.
[0122] ステップ S535での判定結果、現在の Υの座標値が最大値と等しい場合 (YES)は 処理を終了し、現在の Yの座標値が最大値と等しくない場合 (NO)には、ステップ S5 36以降の処理が行われる。  [0122] As a result of the determination in step S535, if the current coordinate value of Υ is equal to the maximum value (YES), the process ends. If the current coordinate value of Y is not equal to the maximum value (NO), Step S5 36 and subsequent steps are performed.
[0123] ステップ S536で、 Xの最小値から最大値に向かって水平方向に端点を走査してい る現在の Xの座標値を最小値に戻し、かつ、 Yの座標値を 1増加させる。  [0123] In step S536, the coordinate value of the current X that is scanning the end point in the horizontal direction from the minimum value of X to the maximum value is returned to the minimum value, and the Y coordinate value is incremented by one.
[0124] 上記ステップ S53の結果、ストロークに分解された文字の例を図 9に示している。  [0124] FIG. 9 shows an example of characters that are decomposed into strokes as a result of step S53.
[0125] 図 9において、例えば「h」という文字は、ストローク T1とストローク T2に分けられる。  In FIG. 9, for example, the letter “h” is divided into a stroke T1 and a stroke T2.
このうち、ストローク T1は端点 1—1および 1—2で表される。また、ストローク 2は端点 2— 1、 2— 2、 2— 3、 2—4、 2— 5、 2— 6および 2— 7で表される。ストローク T1に接 する端点 2—1には、フラグ情報 424内の接点情報フラグ 424Bが付けられている。  Of these, stroke T1 is represented by endpoints 1-1 and 1-2. Stroke 2 is represented by end points 2-1, 2, 2, 2-3, 2-4, 2-5, 2-6 and 2-7. The contact point information flag 424B in the flag information 424 is attached to the end point 2-1 that is in contact with the stroke T1.
[0126] 図 7の処理に戻って、ステップ S54では、文字パターン生成プログラム 43にしたが つて、新たに生成された基準線に対して、各々独立してストロークの移動または変形 を行う。  Returning to the processing of FIG. 7, in step S54, according to the character pattern generation program 43, the strokes are independently moved or deformed with respect to the newly generated reference line.
[0127] 上記ステップ S54の処理について、図 10を用いて詳細に説明する。  [0127] The process of step S54 will be described in detail with reference to FIG.
[0128] 第 10 (a)は、 256画素 X 256画素の枠内に配置された基準文字パターン 41であり [0128] The tenth (a) is a reference character pattern 41 arranged in a frame of 256 pixels x 256 pixels.
、( )内の数字は各点の座標値を示している。 The numbers in () indicate the coordinate values of each point.
[0129] 図 10 (b)は、図 9に従って、図 10 (a)における各座標値を一覧にしたものである。 FIG. 10B is a list of the coordinate values in FIG. 10A according to FIG.
[0130] この図 10 (b)によれば、ストローク T1の端点 1—1の座標は X = 88、 Y = 64であり、 ストローク T1の端点 1—2の座標は Χ= 88、 Υ = 256である。また、ストローク Τ2の端 点 2—1の座標は Χ= 88、 Υ= 144であり、ストローク Τ2の端点 2_ 2の座標は Χ= 10 4、 Υ= 184であり、ストローク Τ2の端点 2— 3の座標は Χ= 128、 Υ= 200であり、スト ローク Τ2の端点 2— 4の座標は Χ= 152、 Υ= 200であり、ストローク Τ2の端点 2 _ 5 の座標は Χ= 176、 Υ= 192であり、ストローク Τ2の端点 2— 6の座標は Χ= 184、 Υ = 168であり、ストローク Τ2の端点 2— 7の座標は Χ= 184、 Υ= 64である。 [0130] According to Fig. 10 (b), the coordinates of the end point 1-1 of stroke T1 are X = 88, Y = 64, and the coordinates of the end point 1-2 of stroke T1 are Χ = 88, Υ = 256 It is. The coordinates of the end point 2-1 of the stroke Τ2 are Χ = 88 and 、 = 144, and the coordinates of the end point 2_2 of the stroke Τ2 are Χ = 10 4 and Υ = 184, and the end point 2-3 of the stroke Τ2 The coordinates of = 128, Υ = 200, the end point 2—4 of stroke Τ2 is Τ = 152, Υ = 200, the end point 2_5 of stroke Τ2 is 座標 = 176, Υ = The coordinates of the end point 2-6 of the stroke Τ2 are Χ = 184 and Υ = 168, and the coordinates of the end point 2-7 of the stroke Τ2 are Χ = 184, Υ = 64.
[0131] 図 11は、図 2の基準線座標情報 423Cの事例を示す図であり、 256画素 X 256画 素の枠内において、文字サイズ毎に定められた間隔 Α、間隔 Β、間隔 Cの各座標値 を一覧にしたものである。 [0131] Fig. 11 is a diagram showing an example of the reference line coordinate information 423C of Fig. 2, and within the frame of 256 pixels x 256 pixels, the interval Α, interval Β, and interval C determined for each character size are shown. Each coordinate value Is a list.
[0132] 図 11によれば、文字パターンのポイントが 8ポイントの場合、間隔 Aの値は 72、間 隔 Bの値は 104、間隔 Cの値は 80である。また、文字パターンのポイントが 9ポイント の場合、間隔 Aの値は 70、間隔 Bの値は 106、間隔 Cの値は 80である。さらに、文字 パターンのポイントが 10ポイントの場合、間隔 Aの値は 69、間隔 Bの値は 108、間隔 Cの値は 79である。さらに、文字パターンのポイントが 11ポイントの場合、間隔 Aの値 は 67、間隔 Bの値は 110、間隔 Cの値は 79である。さらに、文字パターンのポイント 力 2ポイントの場合、間隔 Aの値は 66、間隔 Bの値は 112、間隔 Cの値は 78である。 これらの値は、常に、基準文字パターン 41を呼び出す際に参照される。  [0132] According to FIG. 11, when the character pattern has 8 points, the value of interval A is 72, the value of interval B is 104, and the value of interval C is 80. If the character pattern has 9 points, the value of interval A is 70, the value of interval B is 106, and the value of interval C is 80. Furthermore, if the character pattern has 10 points, the value of interval A is 69, the value of interval B is 108, and the value of interval C is 79. Furthermore, if the character pattern has 11 points, the value of space A is 67, the value of space B is 110, and the value of space C is 79. Furthermore, when the point force of the character pattern is 2 points, the value of interval A is 66, the value of interval B is 112, and the value of interval C is 78. These values are always referenced when calling the reference character pattern 41.
[0133] 一方、図 10 (c)は、 256画素 X 256画素の枠内に配置され、基準線座標情報 423 Cに従って生成された基準線に対して移動または変形された基準文字パターン 41で あり、( )内の数字は各点の座標値を示している。  On the other hand, FIG. 10 (c) shows a reference character pattern 41 which is arranged within a frame of 256 pixels × 256 pixels and is moved or deformed with respect to the reference line generated according to the reference line coordinate information 423C. The numbers in () indicate the coordinate values of each point.
[0134] 図 10 (d)は、図 9に従って、図 10 (c)における各座標値を一覧にしたものである。  FIG. 10D shows a list of the coordinate values in FIG. 10C according to FIG.
[0135] 図 10 (d)によれば、ストローク T1の端点 1— 1の座標は X=88、 Y=80であり、スト ローク T1の端点 1—2の座標は Χ= 88、 Υ= 227である。また、ストローク Τ2の端点 2 1の座標は Χ= 88、 Υ= 141であり、ストローク Τ2の端点 2— 2の座標は Χ= 104、 Υ= 172であり、ストローク Τ2の端点 2— 3の座標は Χ= 128、 Υ= 184であり、スト口 ーク Τ2の端点 2— 4の座標は Χ= 152、 Υ= 184であり、ストローク Τ2の端点 2— 5の 座標は Χ= 176、 Υ= 178であり、ストローク Τ2の端点 2— 6の座標は Χ= 184、 Υ= 160であり、ストローク Τ2の端点 2— 7の座標は Χ= 184、 Υ= 80である。  [0135] According to Fig. 10 (d), the coordinates of end point 1-1 of stroke T1 are X = 88 and Y = 80, and the coordinates of end point 1-2 of stroke T1 are Χ = 88, Υ = 227 It is. Also, the coordinates of end point 21 of stroke Τ2 are Χ = 88 and Υ = 141, the coordinates of end point 2-2 of stroke Τ2 are Χ = 104, Υ = 172, and the coordinates of end point 2-3 of stroke Τ2 Is Χ = 128, Υ = 184, the coordinates of end point 2-4 of stroke Τ2 are Χ = 152, Υ = 184, and the coordinates of end point 2-5 of stroke Τ2 are Χ = 176, Χ = The coordinates of end point 2-6 of stroke Τ2 are Χ = 184 and Υ = 160, and the coordinates of end point 2-7 of stroke Τ2 are Χ = 184 and Υ = 80.
[0136] 例えば、図 10 (a)において、第 1可動基準線を Y2、第 2可動基準線を Yl、図 9に おける端点 1—1を yl、端点 1—2を y2と呼び、また、図 10 (c)において、第 1可動基 準線を Y2'、第 2可動基準線を Y1 '、図 9における端点 1 _ 1を yl '、端点 1 _ 2を y2' と呼ぶものとすると、文字変形後の y2'の座標値は、  For example, in FIG. 10 (a), the first movable reference line is called Y2, the second movable reference line is called Yl, the end point 1-1 in FIG. 9 is called yl, and the end point 1-2 is called y2, In Fig. 10 (c), if the first movable reference line is called Y2 ', the second movable reference line is called Y1', the endpoint 1_1 in Fig. 9 is called yl ', and the endpoint 1_2 is called y2' The coordinate value of y2 'after character transformation is
y2' =Y1, + (y2-Yl) X (Υ2' _Υ1,) / (Y2—Y1)  y2 '= Y1, + (y2-Yl) X (Υ2' _Υ1,) / (Y2—Y1)
によって求められる。なお、解に小数点が発生した場合は、少数第一位で四捨五入 し、その結果は常に整数によって表示する。  Sought by. If a decimal point occurs in the solution, round off to the first decimal place and always display the result as an integer.
[0137] 図 7のステップ S55で、フラグ情報 424内の接点情報フラグ 424Βを参照する。 [0138] ステップ S56で、文字パターン生成プログラム 43にしたがって、参照された接点情 報フラグ 424Bを用いて、文字のストロークを合成する。 In step S55 of FIG. 7, the contact information flag 424 情報 in the flag information 424 is referred to. [0138] In step S56, according to the character pattern generation program 43, the stroke of the character is synthesized using the contact information flag 424B referred to.
[0139] ステップ S57では、文字パターン生成プログラム 43にしたがって、ストロークに補正 情報フラグ 424Cが付加されているか否力を判定する。  In step S57, whether or not the correction information flag 424C is added to the stroke is determined according to the character pattern generation program 43.
[0140] ステップ S57での判定結果、補正情報フラグ 424Cが付加されている場合 (YES) は、ステップ S58の処理が行われ、補正情報フラグ 424Cが付加されていない場合( NO)には、文字変形処理が終了する。  [0140] If the correction information flag 424C is added as a result of the determination in step S57 (YES), the process of step S58 is performed. If the correction information flag 424C is not added (NO), the character The transformation process ends.
[0141] ステップ S58では、文字パターン生成プログラム 43にしたがって、補正情報フラグ 4 24Cが付加されている文字に対して、多くの文字に適用される共通の補正処理、特 定の文字にのみ適用される個別の補正処理、共通'個別を組み合わせた補正処理 のレ、ずれかの方法で補正を行う。  [0141] In step S58, according to the character pattern generation program 43, a common correction process applied to many characters is applied only to a specific character for characters to which the correction information flag 4 24C is added. The correction is performed using either the individual correction process or the correction process combining the common and individual.
[0142] 例えば、「i」という文字について、ステップ S52からステップ S56までの処理を行った 場合、点部分と棒部分間の座標値の比率が処理前と一致しないことがある。これは、 処理対象が棒部分に限定され、かつ、座標値の移動方向が常に一定であるとは限ら ないためである。このため、ステップ S58において、点部分と棒部分との座標値の比 率を常に一定に保つように個別の補正処理を行う必要がある。また、「y」という文字 について、ステップ S52からステップ S56までの処理を行った場合、二つの線分の交 点が線上で交わらないことがある。これは、各々の線分の処理比率が異なり、かつ、 座標値の移動方向が常に一定であるとは限らないためである。このため、ステップ S5 8において、交点が線上で交わるように、個別の補正処理を行う必要がある。これらの 補正処理は本発明の主要構成ではなレ、ため、ここではその詳細な説明を省略する。 なお、上記の説明では処理の簡略化のため、文字を構成するストロークを分解してか らそれぞれのストロークの座標点について変形処理を行レ、、後でストロークを合成す る場合について説明したが、変形処理をする座標点を、基準線の座標位置を閾値と してストロークの座標点との相対関係に基づいて選別し、ストロークを一括して逐次的 に変形処理を行うことも可能である。  [0142] For example, when the process from step S52 to step S56 is performed for the letter "i", the ratio of the coordinate values between the point part and the bar part may not match that before the process. This is because the object to be processed is limited to the bar portion, and the moving direction of the coordinate values is not always constant. For this reason, in step S58, it is necessary to perform individual correction processing so that the ratio of the coordinate values of the point portion and the bar portion is always kept constant. In addition, for the character “y”, when the processing from step S52 to step S56 is performed, the intersection of the two line segments may not intersect on the line. This is because the processing ratio of each line segment is different and the moving direction of the coordinate values is not always constant. For this reason, in step S58, it is necessary to perform individual correction processing so that the intersections intersect on the line. Since these correction processes are not the main components of the present invention, a detailed description thereof is omitted here. In the above description, for simplification of the processing, the case where the strokes constituting the character are disassembled, the deformation processing is performed on the coordinate points of each stroke, and the strokes are synthesized later is described. It is also possible to select the coordinate points to be deformed based on the relative position with the coordinate point of the stroke using the coordinate position of the reference line as a threshold value, and perform the deformation process in batches in a batch. .
図 4の処理説明に戻って、ステップ S6では、変形された文字を出力装置 3によって出 力'表示する。 以下に、図 4のステップ S4で実行される基準線生成手順の他の事例について、図 1 2のフローチャートを用いて、各ステップ毎に処理の詳細を説明する。 Returning to the description of the processing in FIG. 4, in step S6, the output device 3 displays the deformed character as output. In the following, details of the processing for each step will be described for another example of the reference line generation procedure executed in step S4 of FIG. 4 using the flowchart of FIG.
[0143] 図 12に示すように、まず、ステップ S61で、図 5のステップ S41の場合と同様に、指 定された文字コードに従って取り出された基準文字パターン 41を、基準線座標情報 423Cの第 1固定基準線 423A— 1と第 2固定基準線 423A— 2とに合致させる。  [0143] As shown in FIG. 12, first, in step S61, as in step S41 of FIG. 5, the reference character pattern 41 extracted according to the specified character code is stored in the reference line coordinate information 423C. Match 1 fixed reference line 423A-1 and 2nd fixed reference line 423A-2.
[0144] 上記ステップ S61の処理結果、固定基準線の Y座標値が揃えられた例を図 13に示 している。  FIG. 13 shows an example in which the Y coordinate values of the fixed reference line are aligned as a result of the processing in step S61.
[0145] 図 13に示すように、基準文字パターン 41の第 1可動基準線 423B— 1、基準線座 標情報 423Cから読み込まれた第 1可動基準線 423B— 1 '、基準文字パターン 41の 第 2可動基準線 423B— 2、基準線座標情報 423Cから読み込まれた第 2可動基準 線4238— 2 'でぁる。  As shown in FIG. 13, the first movable reference line 423B-1 of the reference character pattern 41, the first movable reference line 423B-1 ′ read from the reference line coordinate information 423C, and the first of the reference character pattern 41 2Moveable reference line 423B-2, Reference line coordinate information It is the second movable reference line 4238-2 'read from 423C.
[0146] 次に、ステップ S62で、指定された文字サイズに従って取り出された基準文字パタ ーン 41の基準線のうち、可動基準線について、元の可動基準線の座標位置はその ままにしておき、基準線座標情報 423Cの座標位置に新しい可動基準線を生成する  [0146] Next, in step S62, among the reference lines of the reference character pattern 41 extracted according to the designated character size, the coordinate position of the original movable reference line is left as it is for the movable reference line. , Generate a new movable reference line at the coordinate position of the reference line coordinate information 423C
[0147] 例えば、欧文(アルファベット)の場合、基準線座標情報 423Cの Y座標値に対応す る位置、即ち、基準線座標情報 423Cの Y座標値と等しい位置に、新たなエックスハ イトとベースラインを生成する。 [0147] For example, in the case of the alphabet (alphabet), a new X-hite and baseline are set at the position corresponding to the Y coordinate value of the reference line coordinate information 423C, that is, the position equal to the Y coordinate value of the reference line coordinate information 423C. Is generated.
[0148] 第 1可動基準線 423B— 1の Y座標値はそのままにしておき、第 1可動基準線 423 B- 1,は、基準線座標情報 423Cの座標位置に対応するように新たに生成される。 また、第 2可動基準線 423B— 2の Y座標値はそのままにしておき、第 2可動基準線 4 23B— 2'は、基準線座標情報 423Cの座標位置に対応するように新たに生成される  [0148] The Y coordinate value of the first movable reference line 423B-1 is left as it is, and the first movable reference line 423 B-1 is newly generated to correspond to the coordinate position of the reference line coordinate information 423C. The Further, the Y coordinate value of the second movable reference line 423B-2 is left as it is, and the second movable reference line 4 23B-2 ′ is newly generated so as to correspond to the coordinate position of the reference line coordinate information 423C.
[0149] 例えば、欧文(アルファベット)の場合、第 1可動基準線 423B— 1は元のエックスハ イト、第 1可動基準線 423B— 1 'は基準線座標情報 423Cの座標位置に新たに生成 されたエックスハイト、第 2可動基準線 423B— 2は元のベースライン、第 2可動基準 線 423B— 2 'は新たに生成されたベースラインである。 [0149] For example, in the case of the alphabet (alphabet), the first movable reference line 423B-1 is newly generated at the original X height, and the first movable reference line 423B-1 'is newly generated at the coordinate position of the reference line coordinate information 423C. X Height, the second movable reference line 423B-2 is the original baseline, and the second movable reference line 423B-2 'is the newly generated baseline.
[0150] 次に、ステップ S63では、調整手段 11を用いて、固定基準線と、ステップ S62で生 成された可動基準線について、新たな基準線として認識させる。 [0150] Next, in step S63, using adjustment means 11, a fixed reference line is generated in step S62. The formed movable reference line is recognized as a new reference line.
[0151] ここで、上記図 7のステップ S53の処理結果を受けて、ストロークに分解された文字 に対する変形処理の他の事例を図 14に示している。 [0151] Here, FIG. 14 shows another example of deformation processing for a character that has been broken down into strokes in response to the processing result of step S53 in FIG.
[0152] 図 14に示すように、例えば「休」とレ、う文字は、ストローク T1からストローク T6に分け られる。このうち、ストローク T1は端点 1—1および 1—2で表される。また、ストローク T 2は端点 2—1および 2— 2で表される。さらに、ストローク T3は端点 3—1および 3— 2 で表される。さらに、ストローク T4は端点 4—1および 4— 2で表される。さらに、スト口 ーク T5は端点 5—1および 5— 2で表される。さらに、ストローク T6は端点 6—1および 6— 2で表される。ストローク T5に接する端点 1—2には、フラグ情報 424内の接点情 報フラグ 424Bが付けられている。また、ストローク T2およびストローク T6に接する端 点 3— 2および 4— 2には、フラグ情報 424内の接点情報フラグ 424Bが付けられてい る。 [0152] As shown in FIG. 14, for example, the characters "rest" and "U" are divided from stroke T1 to stroke T6. Of these, stroke T1 is represented by endpoints 1-1 and 1-2. Stroke T2 is represented by end points 2-1 and 2-2. In addition, stroke T3 is represented by endpoints 3-1 and 3-2. In addition, stroke T4 is represented by endpoints 4-1 and 4-2. Furthermore, the strike T5 is represented by endpoints 5-1 and 5-2. In addition, stroke T6 is represented by endpoints 6-1 and 6-2. The contact point information flag 424B in the flag information 424 is attached to the end point 1-2 in contact with the stroke T5. Further, the contact point information flag 424B in the flag information 424 is attached to the end points 3-2 and 4-2 that are in contact with the stroke T2 and the stroke T6.
[0153] 上記図 7のステップ S54の処理の他の事例ついて、図 15を用いて説明する。  [0153] Another example of the process of step S54 in Fig. 7 will be described with reference to Fig. 15.
[0154] 第 15 (a)は、 256画素 X 256画素の枠内に配置された基準文字パターン 41であり[0154] The 15th (a) is a reference character pattern 41 arranged in a frame of 256 pixels x 256 pixels.
、( )内の数字は各点の座標値を示している。 The numbers in () indicate the coordinate values of each point.
[0155] 図 15 (b)は、図 14に従って、図 15 (a)における各座標値を一覧にしたものである。 FIG. 15B is a list of the coordinate values in FIG. 15A according to FIG.
[0156] この図 15 (b)によれば、ストローク T1の端点 1— 1の座標は X=40、 Y=0であり、ス トローク T1の端点 1—2の座標は Χ=40、 Υ = 200である。また、ストローク Τ2の端点 2—1の座標は Χ= 160、 Υ=0であり、ストローク Τ2の端点 2— 2の座標は Χ= 160、 Υ= 256である。さらに、ストローク Τ3の端点 3—1の座標は Χ = 64、 Υ=48であり、 ストローク Τ3の端点 3— 2の座標は Χ= 160、 Υ = 200である。さらに、ストローク Τ4の 端点 4—1の座標は Χ= 256、 Υ=48であり、ストローク Τ4の端点 4_ 2の座標は Χ = 160、 Υ = 200である。さらに、ストローク Τ5の端点 5— 1の座標は Χ=0、 Υ= 128で あり、ストローク Τ5の端点 5— 2の座標は Χ = 64、 Υ= 256である。さらに、ストローク Τ 6の端点 6—1の座標は Χ = 72、 Υ = 200であり、ストローク Τ6の端点 6— 2の座標は Χ= 256、 Υ= 200である。 [0156] According to Fig. 15 (b), the coordinates of end point 1-1 of stroke T1 are X = 40 and Y = 0, and the coordinates of end point 1-2 of stroke T1 are Χ = 40, Υ = 200. The coordinates of end point 2-1 of stroke の 2 are Χ = 160 and Υ = 0, and the coordinates of end point 2-2 of stroke Τ2 are Χ = 160 and Υ = 256. Furthermore, the coordinates of the end point 3-1 of the stroke Χ3 are Χ = 64 and 48 = 48, and the coordinates of the end point 3-2 of the stroke Τ3 are Χ = 160 and Υ = 200. Furthermore, the coordinates of the end point 4-1 of the stroke Τ4 are Χ = 256 and Υ = 48, and the coordinates of the end point 4_2 of the stroke Τ4 are Χ = 160 and Υ = 200. Furthermore, the coordinates of the end point 5-1 of the stroke Τ5 are 、 = 0 and Υ = 128, and the coordinates of the end point 5-2 of the stroke Τ5 are Χ = 64 and Υ = 256. Furthermore, the coordinates of the end point 6-1 of the stroke Τ6 are Χ = 72 and Υ = 200, and the coordinates of the end point 6-2 of the stroke Τ6 are Χ = 256 and Υ = 200.
[0157] 図 15 (c)は、 256画素 X 256画素の枠内に配置され、基準線座標情報 423Cに従 つて生成された基準線に対して移動または変形された基準文字パターン 41であり、( )内の数字は各点の座標値を示している。 FIG. 15 (c) shows a reference character pattern 41 that is arranged within a frame of 256 pixels × 256 pixels and moved or deformed with respect to the reference line generated according to the reference line coordinate information 423C. ( The numbers in parentheses indicate the coordinate values of each point.
[0158] 図 15 (d)は、図 14に従って、図 15 (c)における各座標値を一覧にしたものである。  FIG. 15D shows a list of the coordinate values in FIG. 15C according to FIG.
[0159] この図 15 (d)によれば、ストローク T1の端点 1—1の座標は X = 50、 Y = 0であり、ス トローク T1の端点 1—2の座標は Χ= 50、 Υ = 200である。また、ストローク Τ2の端点 2—1の座標は Χ= 168、 Υ=0であり、ストローク Τ2の端点 2— 2の座標は Χ= 168、 Υ= 256である。さらに、ストローク Τ3の端点 3—1の座標は Χ = 80、 Υ=48であり、 ストローク Τ3の端点 3— 2の座標は Χ= 168、 Υ = 200である。さらに、ストローク Τ4の 端点 4—1の座標は Χ= 256、 Υ=48であり、ストローク Τ4の端点 4 2の座標は = 168、 Υ= 200である。さらに、ストローク Τ5の端点 5— 1の座標は Χ=0、 Υ= 128で あり、ストローク Τ5の端点 5— 2の座標は Χ = 80、 Υ= 256である。さらに、ストローク Τ 6の端点 6—1の座標は Χ= 87、 Υ= 200であり、ストローク Τ6の端点 6— 2の座標は Χ= 256、 Υ= 200である。  [0159] According to Fig. 15 (d), the coordinates of end point 1-1 of stroke T1 are X = 50 and Y = 0, and the coordinates of end point 1-2 of stroke T1 are Χ = 50 and Υ = 200. The coordinates of end point 2-1 of stroke の 2 are Χ = 168 and Υ = 0, and the coordinates of end point 2-2 of stroke Τ2 are Χ = 168 and Υ = 256. Furthermore, the coordinates of the end point 3-1 of the stroke Τ3 are Χ = 80 and Υ = 48, and the coordinates of the end point 3-2 of the stroke Τ3 are Χ = 168 and Υ = 200. Furthermore, the coordinates of the end point 4-1 of the stroke Τ4 are Χ = 256 and Υ = 48, and the coordinates of the end point 42 of the stroke Τ4 are = 168 and Υ = 200. Furthermore, the coordinates of the end point 5-1 of the stroke Τ5 are Χ = 0 and Υ = 128, and the coordinates of the end point 5-2 of the stroke Τ5 are Χ = 80 and Υ = 256. Furthermore, the coordinates of end point 6-1 of stroke Τ6 are Χ = 87 and 、 = 200, and the coordinates of end point 6-2 of stroke Τ6 are Χ = 256 and Υ = 200.
[0160] 例えば、図 15 (a)において、第 1可動基準線を X2、第 2可動基準線を XI、図 14に おける端点 1—1を xl、端点 1—2を x2と呼び、また、図 15 (c)において、第 1可動基 準線を X2'、第 2可動基準線を Xl '、図 14における端点 1 1を xl '、端点 1 2を X 2'と呼ぶものとすると、文字変形後の χ2'の座標値は、  [0160] For example, in FIG. 15 (a), the first movable reference line is called X2, the second movable reference line is called XI, the end point 1-1 in FIG. 14 is called xl, and the end point 1-2 is called x2, In Fig. 15 (c), the first movable reference line is called X2 ', the second movable reference line is called Xl', the end point 1 1 in Fig. 14 is called xl ', and the end point 1 2 is called X 2'. The coordinate value of χ2 'after transformation is
χ2, =Χ1, + (χ2-Χ1) X (Χ2'— XI,) / (Χ2— XI)  χ2, = Χ1, + (χ2-Χ1) X (Χ2'—XI,) / (Χ2—XI)
によって求められる。なお、解に小数点が発生した場合は、少数第一位で四捨五入 し、結果は常に整数によって表示する。  Sought by. If a decimal point occurs in the solution, round off to the first decimal place and always display the result as an integer.
[0161] 以下に、本実施形態の文字パターン生成装置 10によって、文字パターン生成処理 を行った場合に得られる作用効果について、図 16を用いて説明する。  [0161] Hereinafter, the operational effects obtained when the character pattern generation processing is performed by the character pattern generation device 10 of the present embodiment will be described with reference to FIG.
[0162] 図 16 (a)は、現在使用されている一般的な携帯電話装置の表示画面の実物大モ デルである。  [0162] Fig. 16 (a) is a full-scale model of a display screen of a general mobile phone device currently used.
[0163] 図 16 (b)は、本実施形態の文字パターン生成装置 10による文字パターン生成処 理を行った例である。図 16 (a)に比べて、エックスハイトの割合が 90%になり、見た 目の行間が 10%増加している。  FIG. 16B shows an example in which character pattern generation processing is performed by the character pattern generation device 10 of the present embodiment. Compared to Figure 16 (a), the X-height ratio is 90%, and the apparent line spacing is increased by 10%.
[0164] 図 16 (c)は、本実施形態の文字パターン生成装置 10による文字パターン生成処 理を行った他の例である。図 16 (a)に比べて、エックスハイトの割合が 80%になり、 見た目の行間が 20%増加している。 FIG. 16 (c) shows another example in which the character pattern generation process is performed by the character pattern generation device 10 of the present embodiment. Compared to Figure 16 (a), the X-height ratio is 80%. The apparent line spacing has increased by 20%.
[0165] 図 16に示すエックスハイトの割合および見た目の行間の増加は、基準線座標情報 423Cをユーザが設定することによって、任意に選択することもできる。この選択をュ 一ザが行う場合のインターフェース画面例について、図 17を用いて説明する。なお、 ここではユーザが良好な基準線座標情報 423Cを選択設定可能に構成する場合に ついて示すが、これに限らず、製品出荷時に最終管理者が良好な基準線座標情報 423Cを選択調整するようにしてもよいし、さらにこれに加えて、ユーザも良好な基準 線座標情報 423Cを選択調整できるようにしてもょレ、。  [0165] The ratio of the X height and the increase between the apparent lines shown in FIG. 16 can be arbitrarily selected by the user setting the reference line coordinate information 423C. An example of an interface screen when the user makes this selection will be described with reference to FIG. Here, a case where the user can select and set the good reference line coordinate information 423C is shown, but this is not limiting, and the final manager may select and adjust the good reference line coordinate information 423C at the time of product shipment. Or, in addition to this, the user can select and adjust the good reference line coordinate information 423C.
[0166] 図 17では、図 16の場合と同様に、現在使用されている一般的な携帯電話装置の 表示画面の実物大モデルである。上段、中段および下段の 3段には、それぞれ、図 1 6 (a)、図 16 (b)および図 16 (c)と同様の文字表示が示されている。図 17では、その うち、中段のエックスハイト 90% (図 16 (b) )が選択されている様子を表している。  FIG. 17 is a full-scale model of a display screen of a general mobile phone device currently used, as in FIG. The upper, middle, and lower three levels show the same character display as in FIGS. 16 (a), 16 (b), and 16 (c), respectively. Fig. 17 shows that the X-height 90% (Fig. 16 (b)) in the middle row is selected.
[0167] このように、ユーザは、複数あるエックスハイトの高さ候補の中から、自分の好みに 合うものを自由に選択することができる。または、エックスハイトの高さをユーザが数値 で入力できるようにしてもよい。  [0167] In this way, the user can freely select a plurality of X-height height candidates that suits his / her preference. Alternatively, the user may be able to enter a numerical value for the height of the X height.
[0168] 以上により、本実施形態によれば、文字サイズ毎に定められた文字の特徴形状を 表す基準線座標情報 423Cを元に基準線の座標位置を調整し、対象となる基準文 字パターンの文字列方向に対して垂直な方向に、文字の座標値を全て同じ値だけ 増減させる移動、または文字の個々の座標値毎に異なる値を増減させる変形を行う ことによって、描画サイズ'文字サイズ '字間'行間を変えることなぐ変形前と同じ文 書量を出力することが可能であり、さらに、長体 ·平体処理をすることなぐ見た目の 行間を充分確保することができる。  [0168] As described above, according to the present embodiment, the coordinate position of the reference line is adjusted based on the reference line coordinate information 423C representing the character feature shape determined for each character size, and the target reference character pattern In the direction perpendicular to the character string direction, move the character coordinate values up or down by the same value, or perform a transformation that increases or decreases different values for each character coordinate value. It is possible to output the same amount of text as before the transformation without changing the 'character spacing', and it is possible to secure a sufficient apparent space between the long and flat body processing.
[0169] ここで、さらに、本発明を用いた結果、得られる作用効果について、図 18〜図 20を 用いてさらに詳細に説明する。  [0169] Here, the effects obtained as a result of using the present invention will be described in more detail with reference to Figs.
[0170] 図 18 (a)は、本発明を使用しない状態を表している。図 18 (a)における間隔 A、間 隔 間隔 Cの比率は文字の表示サイズに関わらず常に一定であるため、たとえば文 字サイズを小さくする際には相対的に文字の特徴部分 (特徴形状;「h」と「n」では間 隔 「v」と「y」では間隔 C)も小さくなり、「h」と「n」、「v」と「y」など字形が似ている文 字において判別が困難になるという問題があった。 FIG. 18 (a) shows a state where the present invention is not used. The ratio of interval A and interval C in Fig. 18 (a) is always constant regardless of the character display size. For example, when the character size is reduced, the character feature (characteristic shape; `` H '' and `` n '' have a smaller interval `` v '' and `` y '' have a smaller interval C), such as `` h '' and `` n '', `` v '' and `` y '', etc. There was a problem that it was difficult to discriminate characters.
[0171] 図 18 (b)では、本発明を使用した状態を表している。図 18 (b)における間隔 A、間 隔 間隔 Cの比率は文字の表示サイズにより可変であるため、たとえば文字サイズ を小さくする際には間隔 Bの比率を調整することにより、間隔 Aまたは C或いは両方に おける文字の特徴部分が強調され、結果的に判別が容易になるという効果がある。  [0171] FIG. 18 (b) shows a state in which the present invention is used. Since the ratio of interval A and interval C in Fig. 18 (b) is variable depending on the character display size, for example, when reducing the character size, the ratio of interval B can be adjusted by adjusting the ratio of interval B. Characteristic parts of both characters are emphasized, and as a result, the discrimination is easy.
[0172] 図 18 (a)および図 18 (b)の効果の差を具体的に示すため、図 19 (a)および図 19 ( b)を用いて説明する。なお、点線で囲った lOpt (ポイント)の文字は、携帯電話装置 のメール画面で標準的に使用されてレ、るサイズ例である。  [0172] In order to specifically show the difference between the effects of Fig. 18 (a) and Fig. 18 (b), a description will be given using Fig. 19 (a) and Fig. 19 (b). The lOpt (point) characters enclosed in dotted lines are examples of sizes that are typically used on the mail screen of mobile phone devices.
[0173] 図 19 (a)では、本発明を使用せずに文字サイズを 6ptから 22ptまで 4ptごとに表示 させた状態を表している。文字表示サイズに関わらず、間隔 Bの比率は一定である。 また、図 19 (b)では、本発明を使用して文字サイズを 6ptから 22ptまで 4pt毎に表示 させた状態を表している。文字表示サイズ毎に間隔 Bの比率を変化させているため、 図 19 (a)の場合に比べて「h」と「n」、「v」と「y」の区別が付きやすくなつてレ、ること力 S 分かる。  [0173] In FIG. 19 (a), the character size is displayed every 4pt from 6pt to 22pt without using the present invention. The ratio of interval B is constant regardless of the character display size. FIG. 19 (b) shows a state where the character size is displayed every 4pt from 6pt to 22pt using the present invention. Since the ratio of interval B is changed for each character display size, it is easier to distinguish between `` h '' and `` n '' and `` v '' and `` y '' than in the case of Fig. 19 (a). I understand the power S.
[0174] 図 19 (b)における文字表示サイズ毎に異なる間隔 Bの比率について、基準線座標 情報 423Cの詳細を図 20を用いて説明する。  The details of the reference line coordinate information 423C will be described with reference to FIG. 20, regarding the ratio of the spacing B that differs for each character display size in FIG. 19 (b).
[0175] 図 20は、本発明を使用しない状態である図 18 (a)における間隔 Bを 100%とし、そ れに対して本発明を使用した状態である図 18 (b)おける間隔 Bの比率を示したダラ フである。 [0175] Fig. 20 shows that the interval B in Fig. 18 (a) in a state where the present invention is not used is 100%, while the interval B in Fig. 18 (b) in the state where the present invention is used. This is a graph showing the ratio.
[0176] 図 20に示すように、表示サイズとして例えば lOptの文字を表示する際、本発明を 使用した場合の間隔 Bの最適値は、本発明を使用しなレ、場合の間隔 Bに対して 85 % であり、 80〜90%を最適幅とする。文字表示サイズと間隔 Bの最適値は比例し、 22p t以降は本発明を使用しない場合と使用した場合で同じ値とする。或いは、本発明を 使用しない場合の間隔 Bの割合を、本発明を使用した場合の間隔 Bの割合が上回つ てもよい。  [0176] As shown in FIG. 20, when displaying the letter lOpt as the display size, for example, the optimum value of the interval B when the present invention is used is the same as the interval B when the present invention is not used. 85%, and the optimum width is 80-90%. The optimum value of the character display size and the interval B is proportional, and after 22pt, the same value is used when the invention is not used and when it is used. Alternatively, the ratio of the interval B when the present invention is not used may exceed the ratio of the interval B when the present invention is used.
[0177] また、文字をストローク毎に移動または変形することによって、文字判別の助けとな る文字の特徴部分を強調し、読み手の単語理解'文章読解のスピードを向上させると 共に、誤読を未然に防ぎ、その結果として文章の判読性を高めることができる。 [0178] さらに、文字の移動または変形にあたり、基準線座標情報 423Cをユーザが操作- 選択して設定することによって、個々のユーザの好みに応じた文字表示を行うことが 可能となる。 [0177] In addition, by moving or transforming the character for each stroke, the character features that help character recognition are emphasized, and the speed of word comprehension of the reader's reading and reading is improved. As a result, the legibility of the text can be improved. [0178] Further, when the character is moved or deformed, the user can select and set the reference line coordinate information 423C to display the character according to each user's preference.
[0179] なお、上記実施形態において、特徴部分 (特徴形状)が似ている英文字として、「h」 と「n」、「v」と「y」を示したが、これに限らず、「a」と「d」、「p」と「q」と「o」などもある。  In the above embodiment, “h” and “n”, “v” and “y” are shown as English characters having similar feature parts (feature shapes). There are also “a” and “d”, “p”, “q” and “o”.
[0180] また、上記実施形態では、特に説明しなかったが、要は、対象となる基準文字パタ ーンに対して、基準文字パターンの基準位置を調整する調整手段と、この調整手段 で調整された基準位置に対応するように、基準文字パターンを構成するストロークの うち、少なくとも一つのストロークの座標位置を所定の演算により変更して、ストローク を移動または変形処理する計算手段とを有すればよぐこれによつて、充分な行間を 確保しながら、文字の特徴部分をより判別しやすくして、文字の判読性をより高めるこ とができる本発明の目的を達成することができる。この場合に、調整手段は、基準文 字パターンの特徴形状を表すための基準位置を、この特徴形状がより表れるように調 整する。即ち、予め、文字サイズ毎に、基準文字パターンの特徴形状がより表れるよ うに基準文字パターンの基準位置がそれぞれ設定されてレ、る。この設定された各基 準位置 (文字サイズ毎に定められた基準位置情報)を参照し、この基準位置情報から 、対象となる基準文字パターンに対応する基準位置を得る。これは、対象となる基準 文字パターンを、指定された文字サイズに変形する際に、調整手段により、基準文字 パターンの基準位置を調整するが、指定された文字サイズへの変形は、同一文字サ ィズへの変形をも含んでいる。要は、入力文字情報を、充分な行間を確保しながら、 文字の特徴部分をより判別しやすいようにして、表示出力、印字出力および通信出 力のいずれかを行っている。  [0180] Further, although not specifically described in the above embodiment, the point is that an adjustment unit that adjusts the reference position of the reference character pattern with respect to the target reference character pattern, and an adjustment by this adjustment unit. If there is a calculation means for moving or transforming the stroke by changing the coordinate position of at least one of the strokes constituting the reference character pattern by a predetermined calculation so as to correspond to the reference position set Thus, it is possible to achieve the object of the present invention, which makes it possible to more easily distinguish character features while ensuring sufficient line spacing and to improve the legibility of characters. In this case, the adjusting means adjusts the reference position for representing the feature shape of the reference character pattern so that the feature shape can be expressed more. That is, the reference position of the reference character pattern is set in advance so that the characteristic shape of the reference character pattern appears more for each character size. With reference to each set reference position (reference position information determined for each character size), a reference position corresponding to the target reference character pattern is obtained from the reference position information. This is because the reference position of the reference character pattern is adjusted by the adjusting means when the target reference character pattern is changed to the specified character size, but the change to the specified character size is the same character size. It also includes a transformation to In short, the input character information is either displayed, printed, or communicated so that the character features can be more easily identified while ensuring sufficient line spacing.
[0181] 特徴形状がより表われるような調整とは、各文字形状の互いに異なる部分の寸法が 変形処理前後でより大きぐ文字がより判別しやすくなるような調整である。また、別の 言い方をすると、特徴形状がより表われるような調整とは、文字サイズを縮小した場合 に、縮小後の文字全体に占める特徴形状の割合が、縮小前の文字全体に占める特 徴形状の割合に比べて大きくなるような調整である。  [0181] The adjustment that makes the characteristic shape appear more is an adjustment that makes it easier to discriminate characters that have larger sizes before and after the deformation process. In other words, the adjustment that makes the feature shape appear more is that when the character size is reduced, the ratio of the feature shape to the entire character after reduction is the feature that occupies the whole character before reduction. The adjustment is such that it becomes larger than the shape ratio.
[0182] ここで、本発明の特徴構成について繰り返し説明するが、文字の特徴形状を表す 文字列に共通な補助線を基準線として、指定の文字サイズ毎に定められた文字の特 徴形状を表す基準線座標情報を元に、対象となる基準文字パターンの文字列に対 して垂直な方向に特徴形状がより表れるように基準線の座標位置を調整し、調整さ れた基準線に合わせて文字パターンをストローク毎に座標計算して移動または変形 させる。単なる長体 ·平体処理とは異なり、見た目の行間を確保しながらも文字サイズ 、字間および行間が変わらず、変形前と同じ文書量 (情報量)を同じレイアウトで表示 出力、印字出力または通信出力することが可能とである。 [0182] Here, the characteristic configuration of the present invention will be described repeatedly, but it represents the characteristic shape of a character. Using the auxiliary line common to the character string as the reference line, it is perpendicular to the character string of the target reference character pattern based on the reference line coordinate information representing the character feature shape defined for each specified character size. The coordinate position of the reference line is adjusted so that the feature shape appears more clearly in the correct direction, and the character pattern is coordinated and moved or deformed for each stroke according to the adjusted reference line. Unlike simple long / solid processing, the character size, character spacing, and line spacing do not change while ensuring the apparent line spacing, and the same document amount (information amount) as before transformation is displayed, printed, or printed. Communication output is possible.
[0183] このように、本発明は、骨格による文字形状の定義を利用しており、従来のように変 形による線幅の調整は不要である。また、本発明は、複数の基準線に挟まれた文字 形状の各部分を拡大または縮小して変形するため、従来のように変形後に基準位置 を調整する必要がない上、各領域の上限 ·下限を決める基準線は固定であるため、 従来のように領域を考慮した調整も不要である。さらに、本発明は、変形処理により 実質的に行間を確保しながら文字の特徴部分をより判別しやすくすることを目的とし ており、従来のようにばらつきの調整を行うものではない。 [0183] Thus, the present invention uses the definition of the character shape based on the skeleton, and there is no need to adjust the line width by deformation as in the prior art. Further, according to the present invention, each part of the character shape sandwiched between a plurality of reference lines is deformed by enlarging or reducing it, so that it is not necessary to adjust the reference position after the deformation as in the prior art, and the upper limit of each area Since the reference line that determines the lower limit is fixed, there is no need to make adjustments in consideration of the area as in the past. Furthermore, the present invention aims to make it easier to distinguish the character feature portion while substantially securing the line spacing by the deformation process, and does not adjust the variation as in the prior art.
[0184] 以上のように、本発明の好ましい実施形態を用いて本発明を例示してきたが、本発 明は、この実施形態に限定して解釈されるべきものではない。本発明は、特許請求 の範囲によってのみその範囲が解釈されるべきであることが理解される。当業者は、 本発明の具体的な好ましい実施形態の記載から、本発明の記載および技術常識に 基づいて等価な範囲を実施することができることが理解される。本明細書において引 用した特許、特許出願および文献は、その内容自体が具体的に本明細書に記載さ れているのと同様にその内容が本明細書に対する参考として援用されるべきであるこ とが理解される。 [0184] As described above, the present invention has been exemplified by using the preferred embodiment of the present invention, but the present invention should not be construed as being limited to this embodiment. It is understood that the scope of the present invention should be construed only by the claims. It is understood that those skilled in the art can implement an equivalent range based on the description of the present invention and the common general technical knowledge from the description of specific preferred embodiments of the present invention. Patents, patent applications, and literature references cited in this specification should be incorporated by reference as if the contents themselves were specifically described in the present specification. Is understood.
産業上の利用可能性  Industrial applicability
[0185] 本発明は、表示画面上に文字表示する際などに、文字の特徴形状を表す基準線 の座標位置を調整し、調整された基準線の座標位置に対応するように、文字を変形 または移動させる処理を行う文字パターン生成装置、これを用いて文字データを文 字列の表示データとして生成する液晶ディスプレイや有機 ELディスプレイなどの文 字表示デバイス (表示装置)、通信ネットワークを介して通信可能とする通信デバイス (通信装置)、プリンタなどの印刷デバイス(印刷装置)、さらには携帯電話装置ゃ携 帯型情報端末機器 (PDA)などのモパイル機器、テレビジョン装置などの AV機器や パーソナルコンピュータなどの電子情報機器、これらに用いられる文字データ生成処 理をコンピュータに実行させるための文字データ生成プログラムおよびこの文字デー タ生成プログラムが記録されたコンピュータ読み取り可能な可読記録媒体の分野に おいて、文字の形状の特徴を表す基準線の座標位置を調整し、調整された基準線 の座標位置に対して文字を変形または移動させる処理を行うことによって、描画サイ ズ '文字サイズ '字間'行間を変えることなぐまた、長体'平体処理を行うことなぐ文 章量はそのままでありながら、見た目の行間を充分確保することが可能となる。同時 に、文字判別の助けとなる文字の特徴部分を強調して、単語理解'文章読解のスピ ードを向上させると共に誤読を未然に防ぐことが可能となる。したがって、小型モバイ ル機器での長文読解をはじめとして、電子ペーパーで新聞や小説を読んだり、携帯 電話で契約書を確認したり、デジタル放送のテロップで情報を得るなど、様々な利用 シーンへの幅広い応用を期待することができる。 [0185] The present invention adjusts the coordinate position of the reference line representing the characteristic shape of the character when displaying the character on the display screen, and deforms the character to correspond to the adjusted coordinate position of the reference line. Or a character pattern generation device that performs processing to move, a character display device (display device) such as a liquid crystal display or organic EL display that generates character data as character string display data using this, and communication via a communication network Communication device enabled (Communication devices), printing devices such as printers (printing devices), mobile phone devices such as mobile information terminal devices (PDAs), mopile devices such as televisions, AV devices such as television devices, and electronic information devices such as personal computers In the field of a character data generation program for causing a computer to execute character data generation processing used for these, and a computer-readable recording medium on which the character data generation program is recorded, the character shape characteristics By adjusting the coordinate position of the reference line that represents the character and transforming or moving the character relative to the adjusted coordinate position of the reference line, the drawing size 'character size' character spacing 'can be changed without changing the line spacing. It is possible to secure a sufficient space between the lines of the text while maintaining the same amount of text without performing the processing of the long body. The At the same time, it is possible to enhance the speed of word comprehension 'sentence reading comprehension and prevent misreading by emphasizing character features that help character discrimination. Therefore, in addition to reading long texts on small mobile devices, reading newspapers and novels with electronic paper, checking contracts with mobile phones, and obtaining information with digital broadcasting telops, etc. A wide range of applications can be expected.
図面の簡単な説明 Brief Description of Drawings
園 1]本発明の実施形態に係る文字パターン生成装置の構成例を示すブロック図で ある。 FIG. 1] is a block diagram showing a configuration example of a character pattern generation device according to an embodiment of the present invention.
[図 2]図 1のフォントデータテーブルの構成例を説明するための図である。  FIG. 2 is a diagram for explaining a configuration example of a font data table in FIG. 1.
園 3]基準線とストロークについて定義した図 2の基準線情報の一例について説明す るための図である。 3] It is a diagram for explaining an example of the reference line information in FIG. 2 that defines the reference line and the stroke.
園 4]本発明の実施形態に係る文字パターン生成装置において実行される文字パタ ーン生成処理について説明するためのフローチャートである。 4] A flowchart for explaining a character pattern generation process executed in the character pattern generation device according to the embodiment of the present invention.
園 5]図 4のステップ S4で行われる基準線生成手順について説明するためのフロー チャートである。 5] is a flowchart for explaining the reference line generation procedure performed in step S4 of FIG.
園 6]図 5の基準線生成手順について説明するための図である。 6] FIG. 6 is a diagram for explaining the reference line generation procedure of FIG.
[図 7]図 4のステップ S5で行われる文字変形手順について説明するためのフローチヤ ートである。  FIG. 7 is a flowchart for explaining a character transformation procedure performed in step S5 of FIG.
[図 8]図 7のステップ S53で行われる文字分解手順について説明するためのフローチ ヤートである。 FIG. 8 is a flowchart for explaining the character decomposition procedure performed in step S53 of FIG. Yat.
[図 9]図 7のステップ S53の処理結果、ストロークに分解された文字「h」を示す図であ る。  FIG. 9 is a diagram showing the processing result of step S53 in FIG. 7 and the character “h” broken down into strokes.
[図 10]文字「h」について、図 7のステップ S54で行われる文字変形処理を説明するた めの図であり、 (a)は 256画素 X 256画素の枠内に配置された基準文字パターンで あり、(b)は(a)における各座標値の一覧であり、 (c)は 256画素 X 256画素の枠内 に配置された変形後の基準文字パターンであり、 (d)は(c)における各座標値の一 覧である。  FIG. 10 is a diagram for explaining the character transformation process performed in step S54 of FIG. 7 for the character “h”. (A) is a reference character pattern arranged in a frame of 256 pixels × 256 pixels. (B) is a list of coordinate values in (a), (c) is a modified reference character pattern placed in a 256 pixel x 256 pixel frame, and (d) is (c ) Is a list of each coordinate value.
園 11]図 2の基準線座標情報のデータ例を示す図である。 11] FIG. 11 is a diagram showing an example of data of the reference line coordinate information of FIG.
園 12]図 4のステップ S4で行われる基準線生成手順の他の事例について説明する ためのフローチャートである。 12] A flowchart for explaining another example of the reference line generation procedure performed in step S4 of FIG.
園 13]図 12の基準線生成手順について説明するための図である。 13] It is a figure for demonstrating the reference line production | generation procedure of FIG.
[図 14]図 7のステップ S53の処理結果、ストロークに分解された文字「休」を示す図で ある。  [FIG. 14] A diagram showing the result of the process of step S53 of FIG.
[図 15]文字「休」について、図 7のステップ S54で行われる文字変形処理を説明する ための図であり、 (a)は 256画素 X 256画素の枠内に配置された基準文字パターン であり、(b)は(a)における各座標値の一覧であり、 (c)は 256画素 X 256画素の枠 内に配置された変形後の基準文字パターンであり、 (d)は(c)における各座標値の 一覧である。  FIG. 15 is a diagram for explaining the character transformation process performed in step S54 of FIG. 7 for the character “pause”. (A) is a reference character pattern arranged in a frame of 256 pixels × 256 pixels. Yes, (b) is a list of coordinate values in (a), (c) is a modified reference character pattern placed in a 256 pixel x 256 pixel frame, and (d) is (c) It is a list of each coordinate value in.
[図 16] (a)〜(c)はそれぞれ、本発明の実施形態に係る文字パターン生成装置により 文字パターン生成処理を行った結果、得られる効果の例を示す図である。  FIGS. 16A to 16C are diagrams showing examples of effects obtained as a result of character pattern generation processing performed by the character pattern generation device according to the embodiment of the present invention.
園 17]図 2の基準線座標情報をユーザが設定する際に用レ、られるユーザインターフ エース画面の事例を示す図である。 17] FIG. 17 is a diagram showing an example of a user interface screen used when the user sets the reference line coordinate information of FIG.
園 18] (a)は本発明を用いない場合の文字パターン例を示す図、(b)は本発明を用 レ、た場合の文字パターン例を示す図である。 18] (a) is a diagram showing an example of a character pattern when the present invention is not used, and (b) is a diagram showing an example of a character pattern when the present invention is used.
[図 19] (a)は本発明を用いない場合の 6ptから 22ptまで大きさを変えて比較した文 字パターン例を示す図、(b)は本発明を用いた場合の 6ptから 22p で大きさを変 えて比較した文字パターン例を示す図である。 園 20]本発明を使用しない状態である図 18 (a)における間隔 Bを 100%とし、それに 対して本発明を使用した状態である図 18 (b)おける間隔 Bの比率を示したグラフであ る。 [Fig. 19] (a) is a diagram showing an example of character patterns compared by changing the size from 6pt to 22pt when the present invention is not used, and (b) is a size from 6pt to 22p when the present invention is used. It is a figure which shows the example of a character pattern compared by changing the height. 20] A graph showing the ratio of the interval B in FIG. 18 (b) when the present invention is used with the interval B in FIG. 18 (a) being 100% when the present invention is not used. is there.
園 21]従来の一般的な文字表示例を示す図であり、 (a)は変形前の元となる文字パ ターン例であり、 (b)は(a)に対して文字パターンのポイントおよび行ピッチを 30%縮 小させた例であり、(c)は(a)に対して文字パターンの文字ピッチを 25%、行ピッチを 5%縮小させた例であり、 (d)は(a)に対して文字パターンのポイントを縦方向にのみ 25%縮小させた例である。 21] A diagram showing an example of conventional general character display, (a) is an example of the original character pattern before transformation, and (b) is a character pattern point and line with respect to (a). In this example, the pitch is reduced by 30%. (C) is an example in which the character pitch of the character pattern is reduced by 25% and the line pitch is reduced by 5% compared to (a). In this example, the character pattern points are reduced by 25% only in the vertical direction.
[図 22]本発明の文字パターン生成装置の動作を説明するための図である。  FIG. 22 is a diagram for explaining the operation of the character pattern generation device of the present invention.
園 23]基準線とストロークについて定義した図 3の基準線情報の一例について補足 説明するための図であって、直線ではない場合の基準線について示す図である。 園 24]基準線とストロークについて定義した図 3の基準線情報の一例について補足 説明するための図であって、各々が並行ではない場合の基準線について示す図で ある。 FIG. 23 is a diagram for supplementarily explaining an example of the reference line information in FIG. 3 that defines the reference line and the stroke, and is a diagram showing the reference line when it is not a straight line. [24] FIG. 24 is a diagram for supplementary explanation of an example of the baseline information in FIG. 3 that defines the baseline and stroke, and is a diagram showing the baseline when each is not parallel.
園 25]本発明の基準位置のうち、基準面について説明するための図である。 25] It is a diagram for explaining a reference plane among the reference positions of the present invention.
符号の説明 Explanation of symbols
10 文字パターン生成装置  10 character pattern generator
1 制御装置  1 Control unit
11 調整手段  11 Adjustment means
12 計算手段  12 Calculation methods
2 入力装置  2 Input device
3 出力装置  3 Output device
4 補助記憶装置  4 Auxiliary storage
41 基準文字パターン  41 Reference character pattern
42 フォントデータテーブル  42 Font data table
421 文字コード  421 character code
422 ヘッダー情報  422 Header information
423 基準線情報 423A 固定基準線情報 423 Baseline information 423A Fixed reference line information
423A-1.423A-1' 第 1固定基準線 423A-1.423A-1 '1st fixed reference line
423A-2, 423A-2' 第 2固定基準線423A-2, 423A-2 'Second fixed reference line
423B 可動基準線情報 423B movable reference line information
423B— 1、423B— 1, 第 1可動基準線 423B—1, 423B—1, 1st movable reference line
423B-2, 423B-2' 第 2可動基準線423B-2, 423B-2 'Second movable reference line
423C 基準線座標情報 423C Reference line coordinate information
424 フラグ情報  424 flag information
424 A ストローク情報フラグ  424 A Stroke information flag
424B 接点情報フラグ  424B Contact information flag
424C 補正情報フラグ  424C Correction information flag
425 フォントデザイン  425 Font design
426 言語情報  426 Language Information
43 プログラム(文字パターン生成プログラム) 5 主記憶装置  43 Program (character pattern generation program) 5 Main memory

Claims

請求の範囲 The scope of the claims
[1] 対象となる基準文字パターンに対して、該基準文字パターンの基準位置を調整す る調整手段と、該調整手段で調整された基準位置に対応するように、該基準文字パ ターンを構成するストロークのうち、少なくとも一つのストロークの座標位置を所定の 演算により変更して、該ストロークを移動または変形処理する計算手段とを有する文 字パターン生成装置。  [1] An adjustment unit that adjusts the reference position of the reference character pattern for the target reference character pattern, and the reference character pattern is configured to correspond to the reference position adjusted by the adjustment unit. A character pattern generation apparatus comprising: a calculation unit that changes a coordinate position of at least one of the strokes to be moved by a predetermined calculation, and moves or deforms the stroke.
[2] 前記調整手段は、前記基準文字パターンの特徴形状を表すための基準位置を、 該特徴形状がより表れるように調整する請求項 1に記載の文字パターン生成装置。  [2] The character pattern generation device according to [1], wherein the adjustment unit adjusts a reference position for representing a feature shape of the reference character pattern so that the feature shape is more clearly represented.
[3] 前記調整手段は、前記対象となる基準文字パターンを呼び出す際に、文字サイズ 毎に定められた基準位置情報を参照する請求項 1または 2に記載の文字パターン生 成装置。  [3] The character pattern generation device according to [1] or [2], wherein the adjustment unit refers to reference position information determined for each character size when calling the target reference character pattern.
[4] 入力された文字コード、文字サイズおよび書体の情報に応じて、前記対象となる基 準文字パターンおよび前記基準位置情報を呼び出す請求項 3に記載の文字パター ン生成装置。  [4] The character pattern generation device according to claim 3, wherein the target reference character pattern and the reference position information are called according to the input character code, character size, and typeface information.
[5] 前記調整手段は、前記対象となる基準文字パターンを、前記指定された文字サイ ズに変形する際に、前記文字サイズ毎に定められた基準位置情報を元に、前記基準 位置の座標を調整する請求項 3に記載の文字パターン生成装置。 [5] The adjusting means, when transforming the target reference character pattern into the designated character size, coordinates of the reference position based on reference position information determined for each character size. 4. The character pattern generation device according to claim 3 , wherein the character pattern is adjusted.
[6] 前記基準文字パターンに対して、少なくとも一つの基準位置を有する請求項 1に記 載の文字パターン生成装置。  6. The character pattern generation device according to claim 1, wherein the character pattern generation device has at least one reference position with respect to the reference character pattern.
[7] 前記少なくとも一つの基準位置は、基準線で表される請求項 6に記載の文字パタ ーン装置。 7. The character pattern device according to claim 6, wherein the at least one reference position is represented by a reference line.
[8] 前記少なくとも一つの基準位置は、基準面で表される請求項 6に記載の文字パタ ーン装置。  8. The character pattern device according to claim 6, wherein the at least one reference position is represented by a reference plane.
[9] 前記基準文字パターンに対して、少なくとも一つの文字が並ぶ方向に垂直な文字 の最大座標位置を示す第 1固定基準線と、該文字方向に垂直な文字の最小座標位 置を示す第 2固定基準線と、該第 1固定基準線および該第 2固定基準線の間に設け られた一または複数の可動基準線とを有する請求項 7に記載の文字パターン生成装 置。 [9] With respect to the reference character pattern, a first fixed reference line indicating a maximum coordinate position of a character perpendicular to the direction in which at least one character is arranged, and a first coordinate position indicating a minimum coordinate position of the character perpendicular to the character direction. 8. The character pattern generation device according to claim 7, further comprising two fixed reference lines and one or more movable reference lines provided between the first fixed reference line and the second fixed reference line.
[10] 前記可動基準線の数および方向は、言語および書体毎に設定されている請求項 9 に記載の文字パターン装置。 10. The character pattern device according to claim 9, wherein the number and direction of the movable reference lines are set for each language and typeface.
[11] 前記可動基準線は、前記少なくとも一つの文字が並ぶ方向に対して垂直方向の座 標位置が文字サイズ毎に可変であり、前記調整手段は、該可動基準線を文字サイズ 毎に定められた少なくとも一つの文字が並ぶ方向に垂直な最大座標位置および最 小座標位置の間の範囲で移動可能としている請求項 9に記載の文字パターン生成 装置。  [11] In the movable reference line, a coordinate position in a direction perpendicular to the direction in which the at least one character is arranged is variable for each character size, and the adjusting means determines the movable reference line for each character size. 10. The character pattern generation device according to claim 9, wherein the character pattern generation device is movable in a range between a maximum coordinate position and a minimum coordinate position perpendicular to a direction in which at least one character is arranged.
[12] 前記計算手段は、前記対象となる基準文字パターンをストローク毎に分解処理する ストローク分解処理手段を有する請求項 1に記載の文字パターン生成装置。  12. The character pattern generation device according to claim 1, wherein the calculation unit includes a stroke decomposition processing unit that decomposes the target reference character pattern for each stroke.
[13] 前記計算手段は、前記基準文字パターンを構成するストロークの各座標位置を各 々独立して、前記基準線の座標位置に対して移動または変形処理を行うように計算 する移動または変形処理手段を有する請求項 1または 12に記載の文字パターン生 成装置。  [13] The moving or deforming process for calculating the coordinate position of the stroke constituting the reference character pattern so as to perform the moving or deforming process on the coordinate position of the reference line independently. The character pattern generation device according to claim 1 or 12, further comprising means.
[14] 前記計算手段は、前記移動または変形処理後の文字の各ストロークを合成処理す るストローク合成処理手段をさらに有する請求項 13に記載の文字パターン生成装置  14. The character pattern generation device according to claim 13, wherein the calculation means further includes stroke composition processing means for performing composition processing on each stroke of the character after the movement or deformation processing.
[15] 前記基準文字パターン、前記基準位置情報およびプログラムを格納した補助記憶 手段をさらに有する請求項 13に記載の文字パターン生成装置。 15. The character pattern generation device according to claim 13, further comprising auxiliary storage means for storing the reference character pattern, the reference position information, and a program.
[16] 前記調整手段は、任意に設定可能とされる基準位置情報に基づいて、前記基準位 置の座標位置を調整する請求項 1に記載の文字パターン生成装置。 16. The character pattern generation device according to claim 1, wherein the adjustment unit adjusts the coordinate position of the reference position based on reference position information that can be arbitrarily set.
[17] 前記調整手段は、前記文字サイズを縮小する場合に、縮小後の文字パターン全体 に占める前記特徴形状の割合が縮小前の文字パターン全体に占める前記特徴形状 の割合に比べて大きくなるように調整する請求項 2に記載の文字パターン生成装置。 [17] When the character size is reduced, the adjusting means is configured such that the ratio of the feature shape in the entire character pattern after the reduction is larger than the ratio of the feature shape in the entire character pattern before the reduction. The character pattern generation device according to claim 2, wherein the character pattern generation device is adjusted to.
[18] 対象となる文字パターンを、変形する処理をコンピュータに実行させるための文字 パターン生成プログラムであって、 [18] A character pattern generation program for causing a computer to execute a process of transforming a target character pattern.
該対象となる基準文字パターンの文字コードを入力するステップと、  Inputting a character code of the target reference character pattern;
入力された文字コードに応じた文字パターンを呼び出すステップと、  Calling a character pattern according to the entered character code;
該基準文字パターンの基準位置を調整する調整ステップと、 該調整ステップで調整された基準位置に対応するように、該文字パターンを構成す るストロークのうち、少なくとも一つのストロークの座標位置を所定の演算により変更し て、該ストロークを移動または変形処理する移動または変形処理ステップとを有する 文字パターン生成プログラム。 An adjustment step for adjusting the reference position of the reference character pattern; The coordinate position of at least one of the strokes constituting the character pattern is changed by a predetermined calculation so as to correspond to the reference position adjusted in the adjustment step, and the stroke is moved or deformed. A character pattern generation program having a movement or deformation processing step.
[19] 前記移動または変形処理ステップは、 [19] The movement or deformation processing step includes:
前記基準文字パターンをストローク毎に分解処理するステップと、  Disassembling the reference character pattern for each stroke;
該基準文字パターンの特徴形状を表すための基準位置を、該特徴形状がより表れ るように調整するステップと、  Adjusting a reference position for representing the feature shape of the reference character pattern so that the feature shape appears more;
該基準文字パターンを構成するストロークの各座標位置を各々独立して、座標位 置を調整した基準位置情報に対して移動または変形処理を行うように計算するステツ プと、  A step of calculating each coordinate position of the stroke constituting the reference character pattern independently so as to move or transform the reference position information whose coordinate position is adjusted;
該移動または変形処理後の文字パターンの各ストロークを合成処理するステップと を有する請求項 18に記載の文字パターン生成プログラム。  19. The character pattern generation program according to claim 18, further comprising a step of synthesizing each stroke of the character pattern after the movement or deformation process.
[20] 請求項 18または 19に記載の文字パターン生成プログラムが記録されたコンビユー タ読み取り可能な可読記録媒体。 [20] A computer-readable readable recording medium in which the character pattern generation program according to claim 18 or 19 is recorded.
[21] 前記特徴形状がより表われるような調整とは、各文字形状の互いに異なる部分の寸 法が前記変形処理前後でより大きぐ文字がより判別しやすくなるような調整である請 求項 2に記載の文字パターン生成装置。 [21] The adjustment such that the feature shape is more manifested is an adjustment that makes it easier to distinguish a character in which the size of different portions of each character shape is larger before and after the deformation process. 2. The character pattern generation device according to 2.
[22] 前記特徴形状がより表われるような調整とは、文字サイズを縮小した場合に、縮小後 の文字全体に占める特徴形状の割合が、縮小前の文字全体に占める特徴形状の割 合に比べて大きくなるような調整である請求項 2に記載の文字パターン生成装置。 [22] The adjustment that makes the feature shape appear more is that when the character size is reduced, the ratio of the feature shape to the whole character after reduction is the ratio of the feature shape to the whole character before reduction. 3. The character pattern generation device according to claim 2, wherein the adjustment is made so as to be larger than that of the character pattern.
PCT/JP2006/319597 2005-09-30 2006-09-29 Character pattern generator, character pattern generation program and readable recording medium WO2007037442A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007537748A JP4808220B2 (en) 2005-09-30 2006-09-29 Character pattern generation device, character pattern generation program, and readable recording medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2005288683 2005-09-30
JP2005-288683 2005-09-30

Publications (1)

Publication Number Publication Date
WO2007037442A1 true WO2007037442A1 (en) 2007-04-05

Family

ID=37899862

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2006/319597 WO2007037442A1 (en) 2005-09-30 2006-09-29 Character pattern generator, character pattern generation program and readable recording medium

Country Status (2)

Country Link
JP (1) JP4808220B2 (en)
WO (1) WO2007037442A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7400481B2 (en) * 2020-01-15 2023-12-19 セイコーエプソン株式会社 Printing device and method of controlling the printing device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07110677A (en) * 1993-10-14 1995-04-25 Brother Ind Ltd Character generating device
US5489920A (en) * 1989-10-16 1996-02-06 Apple Computer, Inc. Method for determining the optimum angle for displaying a line on raster output devices
JPH08297482A (en) * 1995-04-27 1996-11-12 Canon Inc Character processing device and method
JPH10111678A (en) * 1996-10-07 1998-04-28 Ricoh Co Ltd Font file
JP2000500887A (en) * 1995-09-25 2000-01-25 アドビ システムズ インコーポレイテッド Optimal access to electronic documents
JP2001272970A (en) * 2000-02-12 2001-10-05 Adobe Syst Inc Line typesetting controllable dpt system, line typesetting control method, line typesetting control program and recording medium stored with the program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3437032B2 (en) * 1996-07-10 2003-08-18 シャープ株式会社 Character creator
JP3481136B2 (en) * 1998-05-29 2003-12-22 シャープ株式会社 Character font generation method and apparatus therefor, and computer-readable recording medium recording character font generation program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5489920A (en) * 1989-10-16 1996-02-06 Apple Computer, Inc. Method for determining the optimum angle for displaying a line on raster output devices
JPH07110677A (en) * 1993-10-14 1995-04-25 Brother Ind Ltd Character generating device
JPH08297482A (en) * 1995-04-27 1996-11-12 Canon Inc Character processing device and method
JP2000500887A (en) * 1995-09-25 2000-01-25 アドビ システムズ インコーポレイテッド Optimal access to electronic documents
JPH10111678A (en) * 1996-10-07 1998-04-28 Ricoh Co Ltd Font file
JP2001272970A (en) * 2000-02-12 2001-10-05 Adobe Syst Inc Line typesetting controllable dpt system, line typesetting control method, line typesetting control program and recording medium stored with the program

Also Published As

Publication number Publication date
JPWO2007037442A1 (en) 2009-04-16
JP4808220B2 (en) 2011-11-02

Similar Documents

Publication Publication Date Title
US7009612B2 (en) Apparatus and method for font generation, and computer-readable storage medium recording program for the same
JP3474037B2 (en) Character pattern generator
JP2017003987A (en) Font deformation method by changing dimensions of at least one partition of frame surrounding character
JP2909273B2 (en) Outline font line width adjusting method and apparatus
WO2007037442A1 (en) Character pattern generator, character pattern generation program and readable recording medium
JP2008084137A (en) Portable electronic equipment
JP4807466B2 (en) Image data creation device and image data creation program
WO2006051795A1 (en) Processing device, program, and recording medium
US11443466B2 (en) Image forming apparatus that randomly processes outline data in association with a character code to render a character in different forms, image forming method including randomly processing outline data in association with a character code to render a character in different forms, and non-transitory computer readable recording medium that records an information processing program that realizes the image forming method including randomly processing outline data in association with a character code to render a character in different forms
KR100594554B1 (en) Character generating apparatus, character generating method, and stroage medium
US9704071B2 (en) Printing device, control method of a printing device, and storage medium for managing font printouts
WO2009122888A1 (en) Image data creation device, image data creation method, and computer-readable medium containing image data creation program
JP4726017B2 (en) Character data generating apparatus, electronic information device, character data generating program, and readable recording medium
JP3443243B2 (en) Character output device
KR102549590B1 (en) LED digital signage that displays reduced characters
US20240004614A1 (en) Methods and apparatus for art work creation by using random numbers and random variables
JP3057978B2 (en) Character generator
JP2022165289A (en) Program, information processing method and information processing device
JP4726087B2 (en) Data processing apparatus, data processing method, electronic information device, control program, and readable recording medium
JP2016114910A (en) Computer, output control program and output item producing method
Kahn et al. Screen Typography
JPH09281949A (en) Character generation device
JPH0553558A (en) Information processor
JPH01217395A (en) Word processor
JPH02287394A (en) Letter-form forming system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
ENP Entry into the national phase

Ref document number: 2007537748

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 06810952

Country of ref document: EP

Kind code of ref document: A1