JPH04296795A - Character pattern generator - Google Patents
Character pattern generatorInfo
- Publication number
- JPH04296795A JPH04296795A JP3062280A JP6228091A JPH04296795A JP H04296795 A JPH04296795 A JP H04296795A JP 3062280 A JP3062280 A JP 3062280A JP 6228091 A JP6228091 A JP 6228091A JP H04296795 A JPH04296795 A JP H04296795A
- Authority
- JP
- Japan
- Prior art keywords
- line width
- horizontal
- vector
- vertical
- width value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 239000013598 vector Substances 0.000 claims abstract description 76
- 238000010586 diagram Methods 0.000 description 9
- 238000000034 method Methods 0.000 description 3
- 238000004040 coloring Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 238000011017 operating method Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Abstract
Description
【0001】0001
【産業上の利用分野】本発明は文字パターン発生装置に
関し、特に、電算写植、DTPやワープロなどアウトラ
インフォントを使用する文書作成装置における文字パタ
ーン発生装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character pattern generation device, and more particularly to a character pattern generation device for a document creation device that uses an outline font, such as computer phototypesetting, DTP, and word processing.
【0002】0002
【従来の技術】従来の文字パターン発生装置の一例を図
8に示す。図8における第1記憶手段81にコード化し
た文字情報を蓄え、変換手段82により記憶手段からの
出力信号をアウトライン文字を構成するショートベクタ
の端点の絶対(または一部相対)座標値へ変換し、ぬり
つぶし手段83により第2記憶手段84であるイメージ
メモリへドット文字を発生させる。2. Description of the Related Art An example of a conventional character pattern generating device is shown in FIG. The encoded character information is stored in the first storage means 81 in FIG. 8, and the output signal from the storage means is converted by the conversion means 82 into absolute (or partially relative) coordinate values of the end points of the short vectors constituting the outline character. , a dot character is generated in the image memory, which is the second storage means 84, by the coloring means 83.
【0003】0003
【発明が解決しようとする課題】上述した従来の文字パ
ターン発生装置においては、図8の変換手段82におい
て輪郭を表わすプロット点の絶対(または一部相対)座
標値に、単純に倍率(出力サイズ/デザインサイズ)を
掛けて、これをすぐに図8のぬりつぶし手段83へ送っ
ているため、1つのデザインサイズの文字情報から様々
なサイズの文字を出力する際、実数倍率を掛けた後の実
数座標値のディジタル化で四捨五入誤差を生じ、図2に
示すように、線幅の不揃いが発生する。[Problems to be Solved by the Invention] In the conventional character pattern generating device described above, the converting means 82 in FIG. /design size) and immediately sends this to the coloring means 83 in FIG. Digitization of coordinate values causes a rounding error, resulting in uneven line widths as shown in FIG.
【0004】一般に、印刷された漢字の線幅は、縦線と
横線で各々統一されているほうが読みやすく、こうした
可読性の見地から線幅の不揃いは問題である。[0004] Generally, it is easier to read printed Chinese characters when the line widths of the vertical lines and horizontal lines are uniform, and from the viewpoint of readability, uneven line widths are a problem.
【0005】さらに、非常に小さなサイズの出力では、
線幅が1ドット太まるだけで隣り合う線同士が接し、著
しく可読性が損なわれるという問題もある。Furthermore, for outputs of very small size,
There is also the problem that when the line width increases by just one dot, adjacent lines touch each other, significantly impairing readability.
【0006】[0006]
【課題を解決するための手段】本発明の文字パターン発
生装置は、アウトライン文字を形成するショートベクタ
の端点の絶対座標値を入力して、水平ベクタと垂直ベク
タを識別する水平/垂直ベクタ識別手段と、1つの横線
/縦線を形成する水平/垂直ベクタ同士の対を決定する
水平/垂直ベクタペアリング手段と、ペアの水平/垂直
ベクタが形成する横線/縦線の線幅値を算出する線幅値
算出手段と、前記線幅値が許容範囲にあるか否かを判定
する線幅値適性判定手段と、前記線幅値適性判定手段を
通過した水平/垂直ベクタのペアの線幅値を調整する線
幅値調整手段とを具備することを特徴とする。[Means for Solving the Problems] The character pattern generation device of the present invention provides horizontal/vertical vector identification means for inputting absolute coordinate values of end points of short vectors forming an outline character to identify horizontal vectors and vertical vectors. , a horizontal/vertical vector pairing means for determining a pair of horizontal/vertical vectors forming one horizontal line/vertical line, and calculating a line width value of the horizontal line/vertical line formed by the pair of horizontal/vertical vectors. a line width value calculation means, a line width value suitability determination means for determining whether the line width value is within an allowable range, and a line width value of a pair of horizontal/vertical vectors that have passed through the line width value suitability determination means. The method is characterized by comprising a line width value adjusting means for adjusting the line width value.
【0007】[0007]
【実施例】次に、本発明について図面を参照して説明す
る。DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be explained with reference to the drawings.
【0008】図1は本発明の一実施例のブロック図であ
る。アウトライン文字を形づくるドット展開直前の各シ
ョートベクタの端点の絶対座標を入力として、水平ベク
タと垂直ベクタを識別する水平/垂直ベクタ識別部1と
、得られた水平/垂直ベクタの中で1つの横線/縦線を
形成するベクタのペアを作る水平/垂直ベクタペアリン
グ部2と、ペアの水平/垂直ベクタが形成する横線/縦
線の線幅値を算出する線幅値算出部3と、その線幅値が
許容範囲にあるか否かを判定する線幅値適性判定部4と
、判定部を通過した水平/垂直ベクタのペアが任意の線
幅になるように、各水平/垂直ベクタペアの相対位置を
制御する線幅値調整部5から構成される文字パターン発
生装置を示す。出力は線幅の調整を受けたショートベク
タの端点の絶対座標である。FIG. 1 is a block diagram of one embodiment of the present invention. A horizontal/vertical vector identification unit 1 inputs the absolute coordinates of the end points of each short vector immediately before dot expansion that forms an outline character, and identifies horizontal vectors and vertical vectors, and identifies one horizontal line among the obtained horizontal/vertical vectors. / A horizontal/vertical vector pairing unit 2 that creates a pair of vectors forming a vertical line; a line width value calculation unit 3 that calculates the line width value of the horizontal line/vertical line formed by the pair of horizontal/vertical vectors; A line width value suitability determination unit 4 determines whether the line width value is within an allowable range, and a line width value suitability determination unit 4 determines whether each horizontal/vertical vector pair has an arbitrary line width after passing through the determination unit. A character pattern generation device is shown which includes a line width value adjustment section 5 that controls relative position. The output is the absolute coordinates of the end points of the short vector whose line width has been adjusted.
【0009】次に、一連の動作手順を図面を参照して説
明する。Next, a series of operating procedures will be explained with reference to the drawings.
【0010】図2のようなアウトライン文字を形成する
ショートベクタの端点の絶対座標が入力されると、水平
/垂直ベクタ識別部1によって水平/垂直ベクタを識別
する。このとき、各ショートベクタのX増分とY増分に
注目し、X増分が0のベクタを垂直ベクタ、Y増分が0
のベクタを水平ベクタとみなす。このようにして、図3
(a),(b) にそれぞれ実線で示すような水平ベク
タ,垂直ベクタが見出される。When the absolute coordinates of the end points of a short vector forming an outline character as shown in FIG. 2 are input, the horizontal/vertical vector identifying section 1 identifies the horizontal/vertical vector. At this time, pay attention to the X increment and Y increment of each short vector.
The vector is considered to be a horizontal vector. In this way, Figure 3
Horizontal and vertical vectors as shown by solid lines are found in (a) and (b), respectively.
【0011】次に、水平/垂直ベクタ識別部1で得られ
た水平ベクタ同士と、垂直ベクタ同士の組み合わせ(ペ
アリング)を水平/垂直ベクタペアリング部2で行なう
。Next, a horizontal/vertical vector pairing section 2 performs a combination (pairing) between the horizontal vectors obtained by the horizontal/vertical vector identifying section 1 and the vertical vectors.
【0012】まず、図4(a) ,図4(b) にそれ
ぞれ実線で示すように、水平(またな垂直)ベクタ内を
左右(または上下)の向きの違いで2種類に分類する。
例えば図5のように閉曲線のうち外回り曲線51は時計
回り、内回り曲線52,53,54は反時計回りで表わ
すとすると、横線(または縦線)は左向きの水平ベクタ
(または上向きの垂直ベクタ)と右向きの水平ベクタ(
または下向きの垂直ベクタ)のペアで形成される。した
がって、線幅とはペアの2つのベクタ間の距離としてと
らえることができる。First, as shown by solid lines in FIGS. 4(a) and 4(b), horizontal (or vertical) vectors are classified into two types depending on the left and right (or up and down) orientations. For example, if the outer curve 51 of the closed curves is clockwise and the inner curves 52, 53, and 54 are clockwise as shown in FIG. 5, the horizontal line (or vertical line) is a leftward horizontal vector (or an upward vertical vector). and a right-pointing horizontal vector (
or downward vertical vector). Therefore, line width can be understood as the distance between two vectors in a pair.
【0013】次に、水平(または垂直)ベクタの場合、
図6のように1つずつ右向きベクタ(または下向きベク
タ)について、縦方向下(または横方向左)で重なるす
べての左向きベクタ(または上向きベクタ)をペアとし
てリンクする。Next, in the case of a horizontal (or vertical) vector,
As shown in FIG. 6, for each right-pointing vector (or downward-pointing vector), all left-pointing vectors (or upward-pointing vectors) that overlap vertically downward (or horizontally leftward) are linked as pairs.
【0014】さらに、水平/垂直ベクタペアリング部2
でペアリングされた組について、各右向きベクタ(また
は下向きベクタ)ごとに、ペアリングされたすべての左
向きベクタ(または上向きベクタ)とで形成する横線(
または縦線)の線幅値を線幅値算出部3で求める。Furthermore, a horizontal/vertical vector pairing section 2
For each pair paired with , for each right-pointing vector (or down-pointing vector), the horizontal line (
or a vertical line) is calculated by the line width value calculation unit 3.
【0015】次に、前記線幅値があらかじめ任意に設定
する許容範囲に入るか否かを線幅値適性判定部4でチェ
ックし、範囲内のペアのみを真のペアとみなし、例えば
線幅値の大きすぎる図6のペア611,613,614
,622のようなペアは除く。Next, the line width value suitability determining section 4 checks whether or not the line width value falls within an allowable range arbitrarily set in advance, and only pairs within the range are regarded as true pairs. Pairs 611, 613, 614 in Figure 6 with too large values
, 622 are excluded.
【0016】最後に前記許容範囲に入る真のペアの線幅
値を、あらかじめ任意に指定した線幅値へ線幅値調整部
5によって合わせる。Finally, the line width value adjustment unit 5 adjusts the line width values of the true pairs that fall within the tolerance range to the line width values arbitrarily designated in advance.
【0017】方法としては、指定線幅値と現状線幅値の
差分だけ、例えば右向きベクタ(または下向きベクタ)
を図7のように上下方向(または左右方向)へ移動する
仕方がある。[0017] As a method, only the difference between the specified line width value and the current line width value, for example, a rightward vector (or downward vector)
There is a way to move it vertically (or horizontally) as shown in FIG.
【0018】また、システム構成で、線幅値算出部3と
線幅値適性判定部4の機能を、水平/垂直ベクタペアリ
ング部2へ含めてしまうこともできる。Furthermore, in the system configuration, the functions of the line width value calculation section 3 and the line width value suitability determination section 4 can be included in the horizontal/vertical vector pairing section 2.
【0019】[0019]
【発明の効果】以上説明したように、本発明は、1つの
マトリックスサイズのアウトライン文字データであるシ
ョートベクタの端点の絶対座標(または増分)に実数倍
率を掛けた後、ドットへ展開するディジタル化のために
生じる四捨五入誤差による線幅の不揃いを、ドットへ展
開する直前に自動的に修正できるという効果を奏する。[Effects of the Invention] As explained above, the present invention is a digitization process in which the absolute coordinates (or increments) of the end points of a short vector, which is outline character data of one matrix size, are multiplied by a real number multiplier and then expanded into dots. This has the effect that irregularities in line width due to rounding errors caused by this can be automatically corrected immediately before development into dots.
【0020】また、線幅の制御を、さらに積極的に行な
うことにより、小さなサイズでは、隣りあう線同士が接
してしまうのを防ぐことができる。Furthermore, by controlling the line width more actively, it is possible to prevent adjacent lines from coming into contact with each other when the size is small.
【0021】さらに、各サイズごとに横線幅と縦線幅を
制御するこどで、可読性を高める縦横線幅の制御が可能
となるという効果を奏する。Furthermore, by controlling the horizontal and vertical line widths for each size, it is possible to control the vertical and horizontal line widths to improve readability.
【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.
【図2】ショートベクタによって形成されるアウトライ
ン文字を示す図である。FIG. 2 is a diagram showing outline characters formed by short vectors.
【図3】図1中の水平/垂直ベクタ識別部によって見出
されたベクタを示す図である。FIG. 3 is a diagram showing vectors found by the horizontal/vertical vector identification unit in FIG. 1;
【図4】左右(上下)の向きの違いで2つに分類された
ベクタを示す図である。FIG. 4 is a diagram showing vectors classified into two types based on their left and right (up and down) orientations.
【図5】アウトライン文字を形成する閉曲線の回転方向
を示す図である。FIG. 5 is a diagram showing the rotation direction of a closed curve forming an outline character.
【図6】1つの右向き(下向き)ベクタにリンクされた
縦方向下(横方向左)で重なるすべての左向き(上向き
)ベクタを示す図である。FIG. 6 is a diagram showing all left-pointing (upward) vectors that overlap vertically down (horizontally left) linked to one rightward-pointing (downward) vector;
【図7】図1中の線幅値調整部によって右向き(下向き
)ベクタを上下方向(左右方向)へ移動したベクタを示
す図である。7 is a diagram illustrating a vector obtained by moving the rightward (downward) vector in the vertical direction (horizontal direction) by the line width value adjustment unit in FIG. 1; FIG.
【図8】従来例のブロック図である。FIG. 8 is a block diagram of a conventional example.
1 水平/垂直ベクタ識別部
2 水平/垂直ベクタペアリング部3 線
幅値算出部
4 線幅値適性判定部
5 線幅値調整部1 Horizontal/vertical vector identification unit 2 Horizontal/vertical vector pairing unit 3 Line width value calculation unit 4 Line width value suitability determination unit 5 Line width value adjustment unit
Claims (1)
ベクタの端点の絶対座標値を入力して、水平ベクタと垂
直ベクタを識別する水平/垂直ベクタ識別手段と、1つ
の横線/縦線を形成する水平/垂直ベクタ同士の対を決
定する水平/垂直ベクタペアリング手段と、ペアの水平
/垂直ベクタが形成する横線/縦線の線幅値を算出する
線幅値算出手段と、前記線幅値が許容範囲にあるか否か
を判定する線幅値適性判定手段と、前記線幅値適性判定
手段を通過した水平/垂直ベクタのペアの線幅値を調整
する線幅値調整手段とを具備することを特徴とする文字
パターン発生装置。1. Horizontal/vertical vector identification means for inputting absolute coordinate values of end points of short vectors forming an outline character to identify a horizontal vector and a vertical vector; horizontal/vertical vector pairing means for determining pairs of vertical vectors; line width value calculation means for calculating line width values of horizontal lines/vertical lines formed by the paired horizontal/vertical vectors; A line width value suitability determination means for determining whether or not the line width value suitability determination means is within the range, and a line width value adjustment means for adjusting the line width value of a pair of horizontal/vertical vectors that have passed the line width value suitability determination means. A character pattern generator featuring:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3062280A JPH04296795A (en) | 1991-03-27 | 1991-03-27 | Character pattern generator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3062280A JPH04296795A (en) | 1991-03-27 | 1991-03-27 | Character pattern generator |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04296795A true JPH04296795A (en) | 1992-10-21 |
Family
ID=13195571
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3062280A Pending JPH04296795A (en) | 1991-03-27 | 1991-03-27 | Character pattern generator |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04296795A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5526476A (en) * | 1992-12-07 | 1996-06-11 | Fujitsu Limited | Method and apparatus for generating character patterns expressed by coordinates of a coordinate system |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0298788A (en) * | 1988-10-04 | 1990-04-11 | Fujitsu Ltd | Similar conversion system for pattern |
-
1991
- 1991-03-27 JP JP3062280A patent/JPH04296795A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0298788A (en) * | 1988-10-04 | 1990-04-11 | Fujitsu Ltd | Similar conversion system for pattern |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5526476A (en) * | 1992-12-07 | 1996-06-11 | Fujitsu Limited | Method and apparatus for generating character patterns expressed by coordinates of a coordinate system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5526476A (en) | Method and apparatus for generating character patterns expressed by coordinates of a coordinate system | |
EP0604685A1 (en) | Method of modifying the fatness of characters | |
US5479533A (en) | Pattern recognition apparatus and method using fuzzy logic | |
KR930002793B1 (en) | Method and apparatus for pattern generation defined by vector | |
US5170442A (en) | Character pattern transforming system | |
JP3057935B2 (en) | Character output device | |
JPH0728451A (en) | Data conversion device | |
JPH04296795A (en) | Character pattern generator | |
EP0357389B1 (en) | Output device | |
JPH06162210A (en) | Image processor | |
US5355448A (en) | Method of generating dot signals corresponding to character pattern and the system therefor | |
JP2650324B2 (en) | Multi-value character font generation system | |
JP2726951B2 (en) | Character / graphic drawing device | |
KR19990013825A (en) | Method and apparatus for generating pattern, and recording medium | |
JP2613060B2 (en) | Ruled line detection method | |
JP3082228B2 (en) | Data converter | |
JP3089913B2 (en) | High quality character output device | |
EP0391670B1 (en) | Dot pattern signal generator | |
JP3070822B2 (en) | Contour data converter | |
JPS6188291A (en) | Character font distortion correction system | |
JPH04269564A (en) | Controller for printing | |
JP2782752B2 (en) | Character pattern output device | |
JPH04339673A (en) | Page printer device | |
JPH0424689A (en) | Image processor | |
JP2622168B2 (en) | Character processing apparatus and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 19980310 |