JP2794446B2 - Method and apparatus for filling outline font in which characters are configured for each element - Google Patents

Method and apparatus for filling outline font in which characters are configured for each element

Info

Publication number
JP2794446B2
JP2794446B2 JP1070545A JP7054589A JP2794446B2 JP 2794446 B2 JP2794446 B2 JP 2794446B2 JP 1070545 A JP1070545 A JP 1070545A JP 7054589 A JP7054589 A JP 7054589A JP 2794446 B2 JP2794446 B2 JP 2794446B2
Authority
JP
Japan
Prior art keywords
character
run
vector direction
length signal
contour
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP1070545A
Other languages
Japanese (ja)
Other versions
JPH02250190A (en
Inventor
晃 伊藤
真 戸張
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NIISU KK
Original Assignee
NIISU KK
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NIISU KK filed Critical NIISU KK
Priority to JP1070545A priority Critical patent/JP2794446B2/en
Publication of JPH02250190A publication Critical patent/JPH02250190A/en
Application granted granted Critical
Publication of JP2794446B2 publication Critical patent/JP2794446B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Image Generation (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、閉鎖された輪郭線からなる点、縦棒、横
棒、ハライ、ハネ等により構成するエレメント(以下、
本明細書でいうエレメントは、偏、旁(つくり)、ハネ
あるいは2本の棒からなる画(かく)を含まない)別の
文字情報をデジタル信号で記憶し、このデジタル信号に
基づいて画像表示装置あるいは印字装置に文字を組み立
てる文字発生器におけるエレメント別アウトラインフォ
ントの塗りつぶし方法および装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to an element (hereinafter, referred to as a point composed of a closed contour, a vertical bar, a horizontal bar, a hail, a splash, etc.
The element referred to in the present specification is a digital signal that stores different character information (excluding the image composed of a partial, a side, a splash, and a two sticks) and displays an image based on the digital signal. The present invention relates to a method and a device for filling an outline font for each element in a character generator for assembling characters in a device or a printing device.

〔従来の技術〕[Conventional technology]

従来、デジタル方式による文字情報の記憶方式として
は、ドット方式、ランレングス方式、ベクトル・アウト
ライン方式がある。文字の高品質性、表示サイズの拡大
あるいは縮小、または変形の自由を重要視する場合に
は、一般的にベクトル・アウトライン方式の文字情報の
記憶方式が採用されている。
Conventionally, there are a dot method, a run-length method, and a vector outline method as a storage method of character information by a digital method. When emphasis is placed on the high quality of characters, enlargement or reduction of the display size, or freedom of deformation, a vector outline type character information storage method is generally employed.

日本語の文字は、欧米の文字に比べて文字数が多く、
複雑であるから、閉鎖された輪郭線からなる点、縦画、
横画、ハライを組み立てて、一つの文字を構成する。こ
のようにして構成された文字は、文字全体の輪郭線を一
括して構成されたアウトライン方式の文字より、点ある
いは画等の移動、追加、あるいは削除等の修正が簡単で
ある。
Japanese characters have more characters than Western characters,
Because of the complexity, points with closed contours, portraits,
Assemble horizontal drawings and Harai to compose one character. Characters configured in this manner are easier to modify, such as moving, adding, or deleting points or pictures, than outline-type characters in which the outline of the entire character is collectively configured.

閉鎖された輪郭線からなる点、縦画、横画、ハライで
一つの文字を予め構成しておけば、多くの点あるいは画
等を共通に使用することができるという利点がある。
If one character is composed in advance of a point consisting of a closed contour, a vertical image, a horizontal image, and a horizontal line, there is an advantage that many points or images can be commonly used.

但し、ベクトルアウトライン方式の文字の記憶方式の
場合、人が文字として認識するためにはアウトライン、
すなわち、輪郭線の内側を点または線で塗りつぶす必要
がある。点で塗りつぶす方式によって作られた文字をド
ット文字と称し、線によって塗りつぶされる文字をラン
レングス方式による文字と言われている。
However, in the case of the vector outline type character storage method, an outline,
That is, it is necessary to paint the inside of the outline with a point or a line. Characters created by the dot filling method are called dot characters, and characters painted by lines are called run-length characters.

輪郭線情報にて構成される文字をドット文字として黒
く塗りつぶすイーブン・オッド方式(出願人 日本電子
産業株式会社)と、走査線と走査線に交差する輪郭線の
ベクトル方向によってドット信号を出力するノン・ゼロ
・ワインディグ方式とがある。
An even-odd method (applicant: JEOL Ltd.) in which a character composed of outline information is painted out as a dot character in black, and a non-linear type that outputs a dot signal according to a scanning line and a vector direction of an outline crossing the scanning line.・ There is a zero winddig method.

イーブン・オッド方式では、文字の輪郭線情報を出力
するに先立って、記憶装置内で輪郭線情報をドット信号
“1"に変換し、そのドット信号を走査線上の始めの“1"
より次のドット信号“1"までの全部の“0"を“1"に変換
してドット信号による文字を発生する。
In the even-od method, before outputting contour information of a character, the contour information is converted into a dot signal “1” in a storage device, and the dot signal is converted to the first “1” on a scanning line.
All "0" s up to the next dot signal "1" are converted to "1" to generate a character by the dot signal.

しかし、上記イーブン・オッド方式では、異なる点あ
るいは画等の輪郭線が交差する可能性がある文字の場合
には、交差部に塗り残し部が生じ、文字として望ましく
ない。すなわち、点あるいは画等の輪郭線情報による文
字は、異なる点あるいは画像の輪郭線が互いに接触ある
いは交差した場合には、走査線と他の点あるいは画等の
輪郭線との交差を2度目の交差と誤認する。このため、
ドット信号“1"を継続して出力する必要があるにもかか
らわず、ドット信号は“0"に変わって白となり、結果的
には塗り残し部分が発生してしまう。
However, in the above-described even-odd method, in the case of a character in which outlines such as different points or images may intersect, an unpainted portion occurs at the intersection, which is not desirable as a character. In other words, a character based on contour information such as a point or a picture, when a different point or contour of an image touches or intersects with each other, crosses the scanning line with another point or a contour such as a picture for the second time. Mistaken as an intersection. For this reason,
Despite the necessity of continuously outputting the dot signal “1”, the dot signal changes to “0” and becomes white, resulting in an unpainted portion.

また、点あるいは画等の頂点が1点しかない場合に
は、ドット信号を“1"に変えるドットだけになり、ドッ
ト信号を“0"に変える2番目のドットが存在しないの
で、正確なドット信号を発生することができない。した
がって、点あるいは画等に頂点が存在する場合には、無
理やりに文字デザインの観点を無視してドット信号を2
つ並べなければならない。
If there is only one vertex such as a point or a picture, there is only a dot that changes the dot signal to “1”, and there is no second dot that changes the dot signal to “0”. No signal can be generated. Therefore, when a vertex exists in a point or a picture, the dot signal is forcibly ignored by ignoring the character design viewpoint.
Must be lined up.

この点に関してイーブン・オッド方式方式は、閉鎖さ
れた輪郭線からなる点、縦画、横画、ハライで一つの文
字を構成して、ドット信号の発生を行うには不向きであ
る。
In this regard, the even-odd method is not suitable for generating a dot signal by forming one character from a point having a closed contour, a vertical image, a horizontal image, and a horizontal line.

ノン・ゼロ・ワインディグ方式では、文字の外側輪郭
線のベクトル方向に対して、文字の内側輪郭線のベクト
ル方向は、反対方向に決める。この文字に対して、任意
方向から走査を行い、走査線と文字の輪郭線との交差部
のベクトル方向を求める。
In the non-zero winding method, the vector direction of the inner contour of a character is determined to be opposite to the vector direction of the outer contour of the character. The character is scanned from an arbitrary direction, and the vector direction at the intersection of the scanning line and the outline of the character is determined.

この時の交差部のベクトル方向が正の方向であれば、
レジスタに1を加算し、交差部のベクトル方向が負の方
向であれば、レジスタに−1を加算し、レジスタの値が
0になるまでドット信号“1"を発生し続ける。
If the vector direction of the intersection at this time is a positive direction,
1 is added to the register, and if the vector direction of the intersection is a negative direction, -1 is added to the register, and the dot signal “1” is continuously generated until the value of the register becomes 0.

ノン・ゼロ・ワインディグ方式によれば、文字の輪郭
線どうしが交差していても、ドット信号を発生すること
ができるので、文字の輪郭線内の塗り残しが生じない。
According to the non-zero winding method, a dot signal can be generated even if the outlines of the characters cross each other, so that no unpainting occurs in the outline of the character.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

しかし、点、縦画、横画、ハライからなる単純な輪郭
線で構成された文字では、文字をデザイン的に修正する
場合には、文字の点あるいはハライを少し移動する必要
が生ずる。
However, in the case of a character composed of a simple outline consisting of a point, a vertical image, a horizontal image, and a horizontal line, it is necessary to slightly move the character point or the horizontal line when correcting the character in terms of design.

このような場合に、文字全体のバランスから見て、点
あるいは画等の交差または接した部分があると、移動す
る必要がない点あるいは画等までも修正しなければなら
ないという問題があった。
In such a case, in view of the balance of the entire character, if there is an intersecting or touching part such as a point or a picture, there is a problem that a point or a picture which does not need to be moved must be corrected.

一方の点あるいは画等の移動量が大きい場合には、接
していた他方の点あるいは画等から切り離した後、移動
を行わなければならない。混み入った複雑な日本の漢字
の場合には、文字を修正すると、新たな内側輪郭線が発
生したり、あるいは内側輪郭線が消滅してしまい、文字
作成に不都合な点が多いという問題があった。
If the movement amount of one point or image is large, it must be moved after being separated from the other point or image or the like in contact. In the case of crowded and complex Japanese kanji, correcting the characters may cause new inner contours to be created or disappear, resulting in many inconveniences in character creation. Was.

イーブン・オッド方式の場合には、点あるいは画等の
交差部あるいは接触部が塗り残され、また点あるいは画
等の頂点には1つのドットしか存在しないので、ドット
信号を“0"にするドットを設けて置かなければならない
ため、デザイン的に優れた文字が得難いという問題があ
った。
In the case of the even-od method, the intersection or contact portion of a point or a picture is left unpainted, and only one dot exists at the vertex of a point or a picture. However, there is a problem that it is difficult to obtain a character excellent in design.

ノン・ゼロ・ワインディグ方式の場合には、点あるい
は画等の外側輪郭線と内側輪郭線とのベクトル方向を逆
方向に正しく与えなければならないが、複雑な形式をし
た日本語の漢字では、一見しただけでは外側輪郭線と内
側輪郭線との区別が困難であるという問題があった。
In the case of the non-zero winding method, the vector direction of the outer contour and the inner contour of a point or a picture must be correctly given in the opposite direction. There is a problem that it is difficult to distinguish the outer contour line and the inner contour line at a glance.

ランレングス方式の文字を発生させるためには、同一
の走査線上に発生するドットの数を線の長さに変換する
ことによって得ることができる。しかし、それぞれの欠
陥はドット文字の場合と同じものを有している。
To generate run-length characters, the number of dots generated on the same scanning line can be obtained by converting the number of dots to the line length. However, each defect has the same as in the case of dot characters.

以上のような問題を解決するために、本発明は、閉鎖
された輪郭線からなる点、縦棒、横棒、ハライ、ハネ等
によるエレメントを重ねて文字とした複雑な字形の場合
においても、簡単でしかも情報量が少なくてすむエレメ
ント別アウトラインフォントの塗りつぶし方法および装
置を提供することを目的とする。
In order to solve the above-described problems, the present invention is applied to a complicated character shape in which a point formed of a closed contour, a vertical bar, a horizontal bar, a hail, a splash, etc. It is an object of the present invention to provide a method and apparatus for filling an outline font for each element, which is simple and requires a small amount of information.

本発明は、文字の移動あるいは修正が簡単で、しかも
塗り残しがないエレメント別アウトラインフォントの塗
りつぶし方法および装置を提供することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a method and an apparatus for filling an outline font for each element, in which characters can be easily moved or corrected and there is no unfilled portion.

〔課題を解決するための手段〕[Means for solving the problem]

前記目的を達成するために、本発明のエレメント別ア
ウトラインフォントの塗りつぶし方法は、閉鎖された輪
郭線からなる点、縦棒、横棒、ハライ、ハネ等のみから
なるエレメントを一部重なり合わせて構成した一つの文
字における内部を塗りつぶすものであり、エレメント別
アウトラインフォントの情報を記憶するアウトラインフ
ォント情報記憶手段から1文字を読み出し、当該文字の
外側輪郭線を全て同一のベクトル方向とし、当該文字の
輪郭線を任意方向から走査し、輪郭線と走査線との交差
部の輪郭線のベクトル方向の正負を分析し、ベクトル方
向が正の場合、1を出力し、ベクトル方向が負の場合、
−1を出力し、前記出力を加算器により加算した結果
が、0にならない限りランレングス信号を出力し、0の
場合、ランレングス信号を停止し、この操作を1文字あ
るいはエレメント全てについて繰り返し処理を行い、前
記文字あるいはエレメントのベクトル方向の判定が不能
の場合、文字あるいはエレメントの輪郭線を4倍し、4n
+1番目の走査線と4n−1番目の走査線とをそれぞれ別
に選択した後、各走査線についでベクトル方向の正負を
分析してランレングス信号化し、各走査線のランレング
ス信号を合成して1文字あるいはエレメントを出力する
ことを特徴とする。
In order to achieve the above object, the method for filling an outline font by element according to the present invention is configured by partially overlapping elements consisting only of a closed contour, a vertical bar, a horizontal bar, a hail, a splash, and the like. One character is read out from an outline font information storage unit that stores information on an outline font for each element, and the outer contour lines of the character are all set in the same vector direction. The line is scanned from any direction, and the sign of the vector direction of the contour line at the intersection of the contour line and the scanning line is analyzed. If the vector direction is positive, 1 is output, and if the vector direction is negative,
-1 is output, a run-length signal is output as long as the result of adding the output by the adder does not become 0. If the output is 0, the run-length signal is stopped, and this operation is repeated for one character or all elements. When the vector direction of the character or element cannot be determined, the outline of the character or element is multiplied by 4 to obtain 4n
After separately selecting the + 1st scan line and the 4n-1st scan line, the scan line is analyzed for positive and negative in the vector direction to generate a run length signal, and the run length signal of each scan line is synthesized. It is characterized by outputting one character or element.

本発明のエレメント別アウトラインフォントの塗りつ
ぶし方法は、前記文字あるいはエレメントのベクトル方
向の判定が可能、あるいは不可能にかかわらず、文字あ
るいはエレメントの輪郭線を4倍した後に文字あるいは
エレメントをランレングス信号化することを特徴とす
る。
The method for filling an outline font for each element according to the present invention is characterized in that, regardless of whether or not the vector direction of the character or element can be determined, the character or element is converted into a run-length signal after the outline of the character or element is quadrupled. It is characterized by doing.

本発明のエレメント別アウトラインフォントの塗りつ
ぶし装置は、閉鎖された輪郭線からなるエレメントを一
部重なり合わせて構成した一つの文字における内部を塗
りつぶすものであり、前記エレメント別アウトラインフ
ォントの座標点データを任意の同一ベクトル方向として
記憶する文字記憶装置3と、走査線と輪郭線との交差部
のベクトル方向が、正方向かあるいは負方向かを判定す
るとともに、正方向の場合1を、負方向の場合−1を出
力する輪郭線のベクトル方向判定器21と、前記輪郭線の
ベクトル方向判定器21の出力を加算する加算器22と、前
記加算器22の加算結果を0と比較する比較器23と、前記
比較器23の比較結果が0でない限り、ランレングス信号
を出力し、0の場合、ランレングス信号を停止するラン
レングス信号発生器24とからなり、ベクトル方向が判定
不能な輪郭線を4倍化する輪郭線の4倍化処理器25と、
4n±1番目の走査線を選択する走査線選択器26、27と、
前記走査線選択器26、27によって選択された4n+1番目
の走査線と4n−1番目の走査線について、それぞれラン
レングス信号を発生するための輪郭線のベクトル方向判
定器21、加算器22、比較器23、およびランレングス信号
発生器24と、前記各走査線ごとのランレングス信号の論
理和を取って文字を合成するランレングス信号合成器28
とから構成される。
The device for painting an outline font by element according to the present invention fills the inside of one character formed by partially overlapping elements consisting of closed outlines, and arbitrarily sets coordinate point data of the outline font by element. Character storage device 3 for storing the same vector direction, and determining whether the vector direction at the intersection of the scanning line and the contour line is a positive direction or a negative direction. A contour vector direction determiner 21 that outputs −1, an adder 22 that adds the output of the contour vector direction determiner 21, and a comparator 23 that compares the addition result of the adder 22 with 0. A run-length signal is output unless the comparison result of the comparator 23 is 0, and if the comparison result is 0, the run-length signal generator 24 stops the run-length signal. Rannahli, a quadrupling processor 25 of the contour line of quadrupling the non contours determined vector direction,
Scanning line selectors 26 and 27 for selecting 4n ± 1st scanning lines;
For the 4n + 1-th scanning line and the 4n-1-th scanning line selected by the scanning line selectors 26 and 27, respectively, a contour vector direction determiner 21, an adder 22, and a comparator 22 for generating a run-length signal. , A run-length signal generator 24, and a run-length signal synthesizer 28 for ORing the run-length signals of the respective scanning lines to synthesize a character.
It is composed of

〔作用〕[Action]

本出願人は、閉鎖された輪郭線からなる点、縦棒、横
棒、ハライ、ハネ等のみからなるエレメントを一部重な
り合わせて構成した一つの文字とすると、内側輪郭線が
ないようにできるため、複雑な文字に対しても文字の情
報量を少なくできることを発見した。
The present applicant can make it possible to eliminate the inner contour line by forming a single character that is formed by partially overlapping elements consisting only of a point consisting of a closed contour line, a vertical bar, a horizontal bar, a hail, a splash, etc. Therefore, they have found that the amount of character information can be reduced even for complicated characters.

すなわち、輪郭線のベクトル方向判定器21は、輪郭線
のベクトル方向が正か負かを判定する。上記輪郭線のベ
クトル方向判定器21は、輪郭線と走査線との交差部にお
けるベクトル方向が正の場合、+1を出力し、負の場
合、−1を出力する。加算器22は、輪郭線のベクトル方
向判定器21において、出力した+1あるいは−1を加算
した後、比較器23により加算結果を0と比較する。
That is, the outline vector direction determiner 21 determines whether the vector direction of the outline is positive or negative. The outline vector direction determiner 21 outputs +1 when the vector direction at the intersection of the outline and the scanning line is positive, and outputs -1 when the vector direction is negative. The adder 22 adds the output +1 or −1 in the contour vector direction determiner 21, and then compares the addition result with 0 by the comparator 23.

ランレングス信号発生器24は、前記比較結果が0以外
の場合、ランレングス信号を出力して、輪郭線内を黒く
塗りつぶす。また、ランレングス信号発生器24は、前記
比較器23の値が0の場合、ランレングス信号を停止し
て、輪郭線外を白く塗る。
When the comparison result is other than 0, the run-length signal generator 24 outputs a run-length signal to black out the outline. When the value of the comparator 23 is 0, the run-length signal generator 24 stops the run-length signal and paints the outside of the contour white.

次に、輪郭線のベクトル方向が判定できない場合、輪
郭線の4倍化処理器25は、上記輪郭線Xの走査線を4倍
する。
Next, when the vector direction of the contour line cannot be determined, the contour quadrupling processor 25 quadruples the scanning line of the contour line X.

4n±1番目の走査線選択器26、27は、4倍した輪郭線
の4n±1番目の走査線上のものだけを選択し、この走査
線上のものについてだけ、ランレングス信号を出力する
ための処理を行う。
The 4n ± 1st scanning line selectors 26 and 27 select only those on the 4n ± 1st scanning line of the quadrupled contour and output a run-length signal only for those on this scanning line. Perform processing.

そして、ランレングス信号を出力するために、輪郭線
のベクトル方向判定器21、加算器22、比較器23、ランレ
ングス信号発生器24によって、前記輪郭線の走査線を4
倍する前と全く同じ処理を行った後、ランレングス信号
合成器28で、前記4n+1番目の走査線と4n−1番目の走
査線とで得られたランレングス信号の論理和を取り輪郭
線を塗りつぶす。
Then, in order to output a run-length signal, the contour scan line is output by a contour vector direction determiner 21, an adder 22, a comparator 23, and a run-length signal generator 24.
After performing exactly the same processing as before the doubling, the run-length signal synthesizer 28 takes the logical sum of the run-length signals obtained by the 4n + 1-th scan line and the 4n-1-th scan line to obtain a contour line. Fill it.

〔実 施 例〕〔Example〕

第1図は、本実施例を説明するためのブロック構成図
である。1はキーボードで、所望の文字を入力して、文
字を画像表示装置に表示するか、あるいはプリンタに印
字する。
FIG. 1 is a block diagram for explaining the present embodiment. Reference numeral 1 denotes a keyboard for inputting desired characters and displaying the characters on an image display device or printing the characters on a printer.

2はアドレス発生回路で、キーボード1の入力に基づ
いた入力コードから、1文字の各エレメントごとにアド
レス信号を出力する。
An address generation circuit 2 outputs an address signal for each element of one character from an input code based on an input from the keyboard 1.

3は文字記憶装置で、前記アドレス発生回路2におけ
るアドレス信号により1文字あるいは1エレメントを出
力する。4は1文字分のバッファメモリで、前記文字記
憶装置3から出力された1文字を記憶する。5は1エレ
メント分のバッファメモリで、前記文字記憶装置3から
出力した1エレメントを記憶する。
Reference numeral 3 denotes a character storage device, which outputs one character or one element according to an address signal in the address generation circuit 2. Reference numeral 4 denotes a buffer memory for one character, which stores one character output from the character storage device 3. Reference numeral 5 denotes a buffer memory for one element, which stores one element output from the character storage device 3.

6は演算回路で、前記1文字あるいは1エレメントを
ランレングス信号で塗りつぶす。この時演算回路6は、
文字あるいはエレメントの輪郭線と走査線との交差部の
ベクトル方向が正か、負かを判定する機能、加算機能、
比較機能、ランレングス信号発生機能等を有する。
Numeral 6 denotes an arithmetic circuit for painting one character or one element with a run-length signal. At this time, the arithmetic circuit 6
A function to determine whether the vector direction of the intersection of the contour line of the character or element and the scanning line is positive or negative, an addition function,
It has a comparison function, a run-length signal generation function, and the like.

7は1文字分のバッファメモリで、演算回路6で塗り
つぶされた1文字あるいは1エレメントを記憶する。
Reference numeral 7 denotes a buffer memory for one character, which stores one character or one element painted by the arithmetic circuit 6.

8は出力装置、たとえば、画像表示装置あるいはプリ
ンタで、前記1文字分のバッファメモリ7の出力によっ
て、1文字が画像表示装置に表示、あるいはプリンタに
印字される。
Reference numeral 8 denotes an output device, for example, an image display device or a printer. One character is displayed on the image display device or printed on the printer by the output of the buffer memory 7 for one character.

先ず、キーボード1で打ち込まれた文字あるいはエレ
メントは、そのコードにしたがってアドレス発生回路2
により、文字あるいはエレメントの輪郭線を構成する座
標点データを発生する。この座標点データに基づいて、
予め文字記憶装置3に記憶されている文字あるいはエレ
メントを1文字分のバッファメモリ4、あるいは1エレ
メント分のバッファメモリ5に格納する。
First, a character or element entered by the keyboard 1 is converted into an address generation circuit 2 according to the code.
Generates coordinate point data constituting the outline of the character or element. Based on this coordinate point data,
Characters or elements previously stored in the character storage device 3 are stored in the buffer memory 4 for one character or the buffer memory 5 for one element.

本実施例は、このように1文字のバッファメモリ4、
と1エレメント分のバッファメモリ5とを備えているの
で、1文字分を一挙にドット文字とすることができると
ともに、教育的な見地から、運筆の順(書き順)通り
に、1エレメントづつドット文字を表示することもでき
る。
In this embodiment, as described above, the buffer memory 4 for one character,
And the buffer memory 5 for one element, so that one character can be made into a dot character at a stroke, and from an educational point of view, the dot is written one element at a time in the order of writing (stroke order). Characters can also be displayed.

前記バッファメモリ4、5に格納された文字あるいは
エレメントは、演算回路6の機能により次のように処理
される。すなわち、文字あるいはエレメントの輪郭線と
走査線との交差部のベクトル方向が正か負かを判定す
る。
The characters or elements stored in the buffer memories 4 and 5 are processed by the function of the arithmetic circuit 6 as follows. That is, it is determined whether the vector direction at the intersection of the outline of the character or element and the scanning line is positive or negative.

そして、ベクトル方向が正の場合には+1を、ベクト
ル方向が負の場合には−1を出力し、この値を加算器に
より加算する。加算された結果が0でない限り、ランレ
ングス信号を出力して、文字あるいはエレメントの輪郭
線内を黒く塗りつぶす。加算された結果が0の場合に
は、ランレングス信号を停止して文字あるいはエレメン
トの輪郭線外を白く塗りつぶす。
Then, when the vector direction is positive, +1 is output, and when the vector direction is negative, -1 is output, and this value is added by the adder. As long as the added result is not 0, a run-length signal is output, and the inside of the outline of the character or element is painted black. If the added result is 0, the run-length signal is stopped and the outside of the outline of the character or element is painted white.

また、文字あるいはエレメントの頂点もしくは走査線
に平行な線の場合には、輪郭線のベクトル方向は判定で
きないので、文字あるいはエレメントの輪郭線を4倍す
る。4n±1番目の走査線を選択し、この走査線と前記4
倍した文字あるいはエレメントの輪郭線との交差部にお
けるベクトル方向の正、負を判定する。
In the case of a line parallel to a vertex of a character or an element or a scanning line, since the vector direction of the outline cannot be determined, the outline of the character or the element is quadrupled. 4n ± 1st scanning line is selected, and this scanning line is
The positive or negative vector direction at the intersection of the doubled character or element with the contour is determined.

その後の動作は、前記と同様にしてランレングス信号
を出力する。最後に、4n+1番目の走査線によって出力
したランレングス信号と、4n−1番目の走査線によって
出力したランレングス信号との論理和を取って文字ある
いはエレメントを合成する。
The subsequent operation outputs a run-length signal in the same manner as described above. Finally, a character or an element is synthesized by taking the logical sum of the run-length signal output by the 4n + 1-th scanning line and the run-length signal output by the 4n-1-th scanning line.

本実施例によれば、複雑な文字に対する外側および内
側輪郭線の文字情報を記憶しておく必要がなく、文字あ
るいはエレメントの頂点もしくは走査線と平行した線も
正確にランレングス信号で塗りつぶすことができる。
According to this embodiment, it is not necessary to store character information of the outer and inner contour lines for a complicated character, and a line parallel to a vertex or a scanning line of a character or an element can be accurately filled with a run-length signal. it can.

次に、第2図ないし第5図を参照しつつ他の実施例を
説明する。
Next, another embodiment will be described with reference to FIGS.

第2図は第1図における演算回路の詳細ブロック説明
図、第3図は輪郭線を4倍した場合のランレングス信号
説明図、第4図および第5図は輪郭線のベクトル方向説
明図を示す。
2 is a detailed block diagram of the arithmetic circuit in FIG. 1, FIG. 3 is a diagram illustrating a run-length signal when the contour is quadrupled, and FIGS. 4 and 5 are diagrams illustrating the vector direction of the contour. Show.

第2図において、21は輪郭線のベクトル方向判定器
で、輪郭線のベクトル方向が正か負かを判定し、文字あ
るいはエレメントの輪郭線と走査線との交差部における
ベクトル方向が正の場合には、+1を出力し、前記交差
部におけるベクトル方向が負の場合には、−1を出力す
る。
In FIG. 2, reference numeral 21 denotes an outline vector direction determiner which determines whether the vector direction of the outline is positive or negative. If the vector direction at the intersection between the outline of the character or element and the scanning line is positive. Outputs +1. If the vector direction at the intersection is negative, -1 is output.

22は加算器で、輪郭線のベクトル方向判定器21におい
て、出力した+1あるいは−1を加算する。
An adder 22 adds the output +1 or -1 in the contour vector direction determiner 21.

23は比較器で、前記加算器22における図示されていな
いレジスタに格納された加算結果を0と比較する。
A comparator 23 compares the addition result stored in a register (not shown) of the adder 22 with 0.

24はドット信号発生器で、前記比較器23で比較した結
果が0以外は、ランレングス信号を出力して、文字ある
いはエレメントの輪郭線内を黒く塗りつぶす。また、前
記比較器の値が0の場合には、ランレングス信号を停止
し、その結果、文字あるいはエレメントの輪郭線外は塗
りつぶされないことになる。
Reference numeral 24 denotes a dot signal generator which outputs a run length signal to black out the outline of a character or element unless the result of comparison by the comparator 23 is other than 0. When the value of the comparator is 0, the run-length signal is stopped. As a result, the area outside the outline of the character or element is not filled.

第3図図示のごとくたとえば、頂点あるいは走査線と
平行な線を有する輪郭線Xは、そのベクトル方向の正負
を判定することができない。
As shown in FIG. 3, for example, a contour line X having a vertex or a line parallel to a scanning line cannot be determined to be positive or negative in the vector direction.

そこで、輪郭線の4倍化処理器25は、前記輪郭線Xの
走査線を4倍して、第3図図示の輪郭線Yを得る。26お
よび17は4n+1番目の走査線選択器で、4倍した輪郭線
の4n±1番目の走査線上のものだけを選択する。すなわ
ち、第3図の例では、3番目、5番目、7番目、9番
目、11番目、13番目の走査線を選択する。以後、この走
査線上のものについてだけ、ランレングス信号を出力す
るための処理を行う。
Therefore, the contour quadrupling processor 25 quadruples the scanning line of the contour X to obtain the contour Y shown in FIG. 26 and 17 are 4n + 1th scanning line selectors for selecting only those on the 4n ± 1st scanning line of the quadrupled contour. That is, in the example of FIG. 3, the third, fifth, seventh, ninth, eleventh, and thirteenth scanning lines are selected. Thereafter, a process for outputting a run-length signal is performed only on the scanning line.

そして、ランレングス信号を出力するために、輪郭線
のベクトル方向判定器21、加算器22、比較器23、ランレ
ングス信号発生器24によって、前記輪郭線の走査線を4
倍する前と全く同じ処理を行う。28はランレングス信号
合成器で、前記4n+1番目の走査線と4n−1番目の走査
線とで得られたランレングス信号の論理和を取り輪郭線
を塗りつぶす。
Then, in order to output a run-length signal, the contour scan line is output by a contour vector direction determiner 21, an adder 22, a comparator 23, and a run-length signal generator 24.
Performs exactly the same processing as before the doubling. Reference numeral 28 denotes a run-length signal synthesizer, which takes the logical sum of the run-length signals obtained from the (4n + 1) -th scanning line and the (4n-1) -th scanning line and paints out the outline.

すなわち、第3図図示のごとく、3番目の走査線と5
番目の走査線とのランレングス信号の論理和を取る。し
かし、3番目の走査線には、ランレングス信号が発生し
ないので、ランレングス信号合成器28から5番目の走査
線のランレングス信号が出力する。そして、このランレ
ングスし号を輪郭線Xの1番目の走査線のランレングス
信号とする。次に、7番目と9番目との走査線によって
発生したランレングス信号の論理和を取る。
That is, as shown in FIG.
The logical sum of the run length signal with the scan line is calculated. However, since no run-length signal is generated on the third scanning line, a run-length signal of the fifth scanning line is output from the run-length signal combiner 28. Then, this run length signal is used as a run length signal of the first scanning line of the contour line X. Next, the logical sum of the run-length signals generated by the seventh and ninth scanning lines is calculated.

そして、このランレングス信号を輪郭線Xの2番目の
走査線のランレングス信号とする。11番目と13番との走
査線についても同様に行い、これを輪郭線Xの3番目の
走査線のランレングス信号とする。
Then, this run-length signal is used as the run-length signal of the second scanning line of the contour line X. The same applies to the eleventh and thirteenth scanning lines, and this is used as the run-length signal of the third scanning line of the contour line X.

以上のように、頂点あるいは平行線を有する輪郭線を
4倍して、この部分における正確なランレングス信号を
得るようにしたが、4倍は単なる一例に過ぎず、3倍以
上であれば可能であることはいうまでもないことであ
る。しかし、3倍の処理を行う場合には、掛算器が必要
であるが、2のn乗の場合には、レジスタをn桁ずらす
だけですむので、4倍する場合が一番簡単である。
As described above, a contour line having a vertex or a parallel line is quadrupled to obtain an accurate run-length signal in this portion. However, quadruple is merely an example and possible if triple or more. It goes without saying that this is the case. However, a multiplier is required to perform the processing of three times, but in the case of 2 n, the register is simply shifted by n digits.

また、文字あるいはエレメントの輪郭線を初めから4
倍して、ランレングス信号を得るための処理を行うこと
もできる。さらに、ソフトによって全ての処理を行うこ
ともできる。
Also, the outline of the character or element is
A process for obtaining a run-length signal can also be performed. Further, all the processing can be performed by software.

次に、上記装置を使用して具体的文字について説明す
る。
Next, specific characters will be described using the above device.

第4図は文字「資」のエレメント別の輪郭線を示して
いる。この「資」は、人の手によって書く場合とは異な
り、からのエレメントで構成されている。エレメン
トないしの輪郭線は、全て外側輪郭線のみであり、
内側輪郭線を持たない。そして、エレメントないし
の輪郭線の全てに、右回りあるいは左回りのベクトル方
向を設定する。第4図に示された「資」は、ベクトル方
向が左回りに設定されている。
FIG. 4 shows a contour line for each element of the character "shi". This "fun" is different from the case where it is written by hand, and is composed of elements from the beginning. Elements or contours are all outer contours only,
Has no inner contour. Then, a clockwise or counterclockwise vector direction is set for all the elements or contour lines. The vector direction of “shi” shown in FIG. 4 is set to counterclockwise.

先ず、エレメントを塗りつぶす場合について、第2
図および第4図を参照しつつ説明する。
First, for the case of filling the element,
This will be described with reference to FIGS.

エレメントを走査線Aにより走査すると、輪郭線の
ベクトル方向判定器21は、走査線Aと輪郭線との交差部
41のベクトル方向を正方向と判定し、+1を出力して、
加算器22の図示されていないレジスタに入力する。
When the element is scanned by the scanning line A, the vector direction determiner 21 for the contour line determines the intersection of the scanning line A and the contour line.
The vector direction of 41 is determined to be the positive direction, +1 is output, and
The data is input to a register (not shown) of the adder 22.

次に、走査線Aと輪郭線との交差部42のベクトル方向
は逆となるので、輪郭線のベクトル方向判定器21は、交
差部42のベクトル方向を負と判定し、−1を出力して加
算器22のレジスタに入力する。
Next, since the vector direction of the intersection 42 between the scanning line A and the outline is reversed, the vector direction determiner 21 of the outline determines that the vector direction of the intersection 42 is negative, and outputs -1. To the register of the adder 22.

加算器22に入力されたレジスタの結果を比較器23で比
較し、0でないと判定された場合には、エレメントの
交差部41から42までをランレングス信号に変えて黒く塗
りつぶす。
The result of the register input to the adder 22 is compared by the comparator 23, and when it is determined that the result is not 0, the intersections 41 to 42 of the element are changed to run-length signals and painted black.

比較器23で、0と判定された場合にはエレメントの
交差部42以降のランレングス信号を停止し、黒く塗りぶ
さない。
If the comparator 23 determines 0, the run-length signal after the intersection 42 of the elements is stopped and is not painted black.

さらに、走査線を順次繰下げて同様な処理を行い、結
果的には輪郭線内がランレングス信号化されて、黒く塗
りつぶされる。
Further, the same processing is performed by sequentially lowering the scanning lines, and as a result, the inside of the outline is converted into a run-length signal and is painted black.

また、エレメント、およびを通過する走査線B
について説明する。
A scanning line B passing through the element and
Will be described.

走査線Bとエレメントの輪郭線との交差部43のベク
トル方向は、正方向であるから、加算器22により図示さ
れていないレジスタに1を加算する。この時レジスタの
内容は1である。
Since the vector direction of the intersection 43 between the scanning line B and the contour of the element is the positive direction, the adder 22 adds 1 to a register (not shown). At this time, the content of the register is 1.

走査線Bとエレメントの輪郭線との交差部44のベク
トル方向は、同じく正方向であるから、加算器22により
図示されていないレジスタに1を加算し、レジスタの内
容を2とする。
Since the vector direction of the intersection 44 between the scanning line B and the contour line of the element is also the positive direction, 1 is added to a register (not shown) by the adder 22 to set the contents of the register to 2.

走査線Bとエレメントの輪郭線との交差部45のベク
トル方向は、逆の負方向になるから、加算器22により図
示されていないレジスタに−1を加算し、レジスタ内容
を1とする。
Since the vector direction of the intersection 45 between the scanning line B and the contour line of the element is the opposite negative direction, -1 is added to a register (not shown) by the adder 22 to set the register content to 1.

走査線Bとエレメントの輪郭線との交差部46のベク
トル方向は、正方向になるから、加算器22により図示さ
れていないレジスタに1を加算し、レジスタの内容を2
とする。
Since the vector direction of the intersection 46 between the scanning line B and the contour of the element is the positive direction, 1 is added to a register (not shown) by the adder 22 and the content of the register is changed to 2
And

走査線Bとエレメントの輪郭線との交差部47のベク
トル方向は、逆の負方向になるから、加算器22により図
示されていないレジスタに−1を加算し、レジスタの内
容を1とする。
Since the vector direction of the intersection 47 between the scanning line B and the contour of the element is in the opposite negative direction, -1 is added to a register (not shown) by the adder 22 to set the contents of the register to 1.

走査線Bとエレメントの輪郭線との交差部48のベク
トル方向は、負方向になるから、加算器22により図示さ
れていないレジスタ−1を加算し、レジスタの内容を0
とする。
Since the vector direction at the intersection 48 between the scanning line B and the contour line of the element becomes a negative direction, the register -1 (not shown) is added by the adder 22, and the content of the register is set to 0.
And

比較器23が比較器の0とレジスタの内容とを比較し
て、レジスタの内容が0以外の時、すなわち交差部43か
ら交差部48までは、ランレングス信号発生器24によりラ
ンレングス信号を発生し、この間を黒く塗りつぶす。
The comparator 23 compares the value of the register with the content of the register, and when the content of the register is other than 0, that is, from the intersection 43 to the intersection 48, a run-length signal is generated by the run-length signal generator 24. Then, blacken the space between them.

また、レジスタの内容が0となる交差部43以前と交差
部43以降は、ランレングス信号発生器24によりランレン
グス信号を停止し、その結果、白となる。
In addition, the run length signal is stopped by the run length signal generator 24 before the intersection 43 and after the intersection 43 where the content of the register becomes 0, and as a result, the color becomes white.

走査線がCの位置にある場合で、エレメント、、
およびのように複雑に重なり合っていても、各エレメ
ントの輪郭線のベクトル方向を一定に決めておけば、前
記と同様にエレメント内をランレングス信号化して、黒
く塗りつぶすことができる。
When the scanning line is at the position C, the element
Even if the elements overlap in a complicated manner as described in (1) and (2), if the vector direction of the contour line of each element is determined to be constant, the inside of the element can be converted into a run-length signal and painted black as described above.

さらに、本発明における他の実施例として、文字
「あ」の事例を第5図に示す。
Further, as another embodiment of the present invention, the case of the character "A" is shown in FIG.

第5図図示の文字「あ」は、輪郭線が自らの輪郭線
の内側に食い込んでいる。このような場合でも、走査線
Dと各輪郭線、との交差部のベクトル方向は、図示
のごとくなるので、レジスタの内容は、交差部51で1、
交差部52で2、交差部53で1、交差部54で2、交差部55
で1、交差部56で0となり、この間をランレングス信号
化して黒く塗りつぶすことができる。
The character "a" shown in FIG. 5 has a contour biting inside its own contour. Even in such a case, since the vector direction of the intersection between the scanning line D and each contour line is as shown in the figure, the contents of the register are 1 at the intersection 51.
2 at intersection 52, 1 at intersection 53, 2 at intersection 54, intersection 55
At the intersection 56, and becomes a run-length signal during this period, and can be painted black.

〔発明の効果〕〔The invention's effect〕

本発明によれば、閉鎖された輪郭線からなる点、縦
棒、横棒、ハライ、ハネ等のエレメントのみで一つの文
字を構成し、偏、旁(つくり)、画(かく)を使用して
文字を構成しないので、文字の情報量を少なくすること
ができるとともに、複雑な文字においても内側輪郭線が
なく、外側輪郭線のみの簡単な文字にすることができ
る。
According to the present invention, one character is composed only of elements such as a point having a closed contour, a vertical bar, a horizontal bar, a horizontal line, a vertical line, and the like. Since no character is formed, the amount of information of the character can be reduced, and even a complicated character can be a simple character having no inner contour and only the outer contour.

本発明によれば、閉鎖された輪郭線からなる点、縦
棒、横棒、ハライ、ハネ等のエレメントのみで一つの文
字を構成したので、文字を制作する場合に、エレメント
を修正、追加、あるいは削除しても、輪郭線情報が変わ
ることがない。そのため、複雑な文字においても、内側
輪郭線が発生しないので、文字の修正、追加、あるいは
削除が容易にできる。
According to the present invention, since a single character is composed only of elements such as a point having a closed contour, a vertical bar, a horizontal bar, a hail, a splash, etc., when producing a character, the elements are modified, added, Or, even if it is deleted, the outline information does not change. Therefore, even for a complicated character, no inner contour line is generated, so that the character can be easily corrected, added, or deleted.

本発明によれば、閉鎖された輪郭線からなる点、縦
棒、横棒、ハライ、ハネ等のエレメントのみで文字を構
成したので、全てのエレメントのベクトル方向を同一方
向にして、正確なランレングス信号を得ることができ
る。
According to the present invention, a character is composed only of elements such as a point having a closed contour, a vertical bar, a horizontal bar, a horizontal line, a vertical line, and the like. A length signal can be obtained.

本発明によれば、エレメントの輪郭線を4倍にして処
理するため、エレメントの輪郭線に頂点あるいは平行線
が含まれていたとしても、その部分を正しくランレング
ス信号化することができる。
According to the present invention, since the contour of the element is quadrupled and processed, even if the contour of the element includes a vertex or a parallel line, the portion can be correctly converted into a run-length signal.

【図面の簡単な説明】[Brief description of the drawings]

第1図は本実施例を説明するためのブロック構成図、第
2図は本発明における演算回路ブロック構成図、第3図
は輪郭線を4倍した場合のランレングス信号説明図、第
4図は輪郭線のベクトル方向説明図、第5図は本発明に
おける他の実施例説明図を示す。 1……キーボード、2……アドレス発生回路 3……文字記憶装置 4……1文字分のバッファメモリ 5……1エレメント分のバッファメモリ 6……演算回路 7……1文字分のバッファメモリ 8……出力装置 21……輪郭線のベクトル方向判定器 22……加算器、23……比較器 24……ランレングス信号発生器 25……輪郭線の4倍化処理器 26……4n+1番目の走査線選択器 27……4n−1番目の走査線選択器 28……ランレングス信号合成器
FIG. 1 is a block diagram for explaining the present embodiment, FIG. 2 is a block diagram of an arithmetic circuit according to the present invention, FIG. 3 is a diagram for explaining a run-length signal when the contour is quadrupled, and FIG. Is an explanatory diagram of the vector direction of the contour line, and FIG. 5 is an explanatory diagram of another embodiment of the present invention. DESCRIPTION OF SYMBOLS 1 ... Keyboard 2 ... Address generation circuit 3 ... Character storage device 4 ... Buffer memory for one character 5 ... Buffer memory for one element 6 ... Calculation circuit 7 ... Buffer memory for one character 8 Output device 21 Outline vector direction determiner 22 Adder 23 Comparator 24 Run length signal generator 25 Quadruple processor 26n 4th + 1 Scan line selector 27 ... 4n-1st scan line selector 28 ... Run-length signal synthesizer

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G09G 5/24 G09G 5/36 G06T 11/20 G06T 11/40──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 6 , DB name) G09G 5/24 G09G 5/36 G06T 11/20 G06T 11/40

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】閉鎖された輪郭線からなる点、縦棒、横
棒、ハライ、ハネ等のみからなるエレメントを一部重な
り合わせて構成した一つの文字における内部を塗りつぶ
すアウトラインフォントの塗りつぶし方法において、 前記エレメント別にアウトラインフォントの情報を記憶
するアウトラインフォント情報記憶手段から1文字を読
み出し、 当該文字の外側輪郭線を全て同一のベクトル方向とし、 当該文字の輪郭線を任意方向から走査し、輪郭線と走査
線との交差部の輪郭線のベクトル方向の正負を分析し、
ベクトル方向が正の場合、1を出力し、ベクトル方向が
負の場合、−1を出力し、 前記出力を加算器により加算した結果が、0にならない
限りランレングス信号を出力し、0の場合ランレングス
信号を停止し、 この操作を1文字あるいはエレメント全てについて繰り
返し処理を行い、 前記文字あるいはエレメントのベクトル方向の判定が不
能の場合、文字あるいはエレメントの輪郭線を4倍し、
4n+1番目の走査線と4n−1番目の走査線とをそれぞれ
別に選択した後、各走査線についてベクトル方向の正負
を分析してランレングス信号化し、 各走査線のランレングス信号を合成して1文字あるいは
エレメントを出力することを特徴とするエレメント別ア
ウトラインフォントの塗りつぶし方法。
1. A method for filling an outline font which fills the inside of one character formed by partially overlapping elements consisting only of a closed contour line, a vertical bar, a horizontal bar, a hail, a splash, etc. One character is read from an outline font information storage unit that stores outline font information for each of the elements, all outer contours of the character are set to the same vector direction, and the outline of the character is scanned from any direction. Analyze the positive and negative of the vector direction of the contour line at the intersection with the scanning line,
When the vector direction is positive, 1 is output. When the vector direction is negative, -1 is output. A run-length signal is output unless the result of adding the outputs by the adder becomes 0. Stop the run-length signal, repeat this operation for one character or all elements, and if it is impossible to determine the vector direction of the character or element, multiply the outline of the character or element by four times,
After separately selecting the (4n + 1) th scanning line and the (4n-1) th scanning line, each scanning line is analyzed for positive / negative in the vector direction to generate a run-length signal. A method for filling an outline font for each element, characterized by outputting characters or elements.
【請求項2】前記文字あるいはエレメントのベクトル方
向の判定が可能、あるいは不可能にかかわらず、文字あ
るいはエレメントの輪郭線を4倍した後に文字あるいは
エレメントをランレングス信号化することを特徴とする
請求項1記載のエレメント別アウトラインフォントの塗
りつぶし方法。
2. The method according to claim 1, wherein the character or element is converted into a run-length signal after doubling the outline of the character or element regardless of whether or not the vector direction of the character or element can be determined. Item 1. A method for filling an outline font for each element according to item 1.
【請求項3】閉鎖された輪郭線からなる点、縦棒、横
棒、ハライ、ハネ等のみからなるエレメントを一部重な
り合わせて構成した一つの文字における内部を塗りつぶ
すアウトラインフォントの塗りつぶし装置において、 前記エレメント別にアウトラインフォントの座標点デー
タを任意の同一ベクトル方向として記憶する文字記憶装
置と、 走査線と輪郭線との交差部のベクトル方向が、正方向か
あるいは負方向かを判定するとともに、正方向の場合1
を、負方向の場合−1を出力する輪郭線のベクトル方向
判定器と、 前記輪郭線のベクトル方向判定器の出力を加算する加算
器と、 前記加算器の加算結果を0と比較する比較器と、 前記比較器の比較結果が0でない限り、ランレングス信
号を出力し、0の場合、ランレングス信号を停止するラ
ンレングス信号発生器と、 ベクトル方向が判定不能な輪郭線を4倍化する輪郭線の
4倍化処理器と、 4n±1番目の走査線を選択する走査線選択器と、 前記走査線選択器によって選択された4n+1番目の走査
線と4n−1番目の走査線について、それぞれランレング
ス信号を発生するためのベクトル方向判定器、加算器、
比較器、およびランレングス信号発生器と、 前記各走査線ごとのランレングス信号の論理和を取って
文字を合成するランレングス信号合成器と、 を備えたことを特徴とするエレメント別アウトラインフ
ォントの塗りつぶし装置。
3. An outline font filling device that fills the inside of one character, which is formed by partially overlapping elements consisting only of a closed contour line, a vertical bar, a horizontal bar, a hail, a splash, and the like. A character storage device for storing coordinate point data of an outline font for each element as an arbitrary same vector direction, and determining whether a vector direction of an intersection between a scanning line and a contour line is a positive direction or a negative direction. For direction 1
, A vector direction determiner for a contour that outputs −1 in the case of a negative direction, an adder that adds the output of the vector direction determiner for the contour, and a comparator that compares the addition result of the adder with 0. And a run-length signal generator that outputs a run-length signal unless the comparison result of the comparator is 0. If the comparison result is 0, a run-length signal generator that stops the run-length signal, and quadruples a contour line whose vector direction cannot be determined. A contour quadrupler, a scan line selector for selecting the 4n ± 1st scan line, and a 4n + 1-th scan line and a 4n−1-th scan line selected by the scan line selector, A vector direction determiner, an adder, for generating a run-length signal, respectively.
A comparator, and a run-length signal generator; and a run-length signal synthesizer that synthesizes a character by taking a logical sum of the run-length signals for each of the scanning lines. Filling device.
JP1070545A 1989-03-24 1989-03-24 Method and apparatus for filling outline font in which characters are configured for each element Expired - Fee Related JP2794446B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1070545A JP2794446B2 (en) 1989-03-24 1989-03-24 Method and apparatus for filling outline font in which characters are configured for each element

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1070545A JP2794446B2 (en) 1989-03-24 1989-03-24 Method and apparatus for filling outline font in which characters are configured for each element

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP10080490A Division JPH10240221A (en) 1998-03-13 1998-03-13 Method and device for painting out outline font constituting character by element classifications and storage medium

Publications (2)

Publication Number Publication Date
JPH02250190A JPH02250190A (en) 1990-10-05
JP2794446B2 true JP2794446B2 (en) 1998-09-03

Family

ID=13434596

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1070545A Expired - Fee Related JP2794446B2 (en) 1989-03-24 1989-03-24 Method and apparatus for filling outline font in which characters are configured for each element

Country Status (1)

Country Link
JP (1) JP2794446B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6029780A (en) * 1983-07-28 1985-02-15 日本電気オフィスシステム株式会社 Generator for character signal or the like

Also Published As

Publication number Publication date
JPH02250190A (en) 1990-10-05

Similar Documents

Publication Publication Date Title
JPH0126072B2 (en)
US6437793B1 (en) System for rapidly performing scan conversion with anti-aliasing upon outline fonts and other graphic elements
JPH06167966A (en) Display circuit
JPS6232476B2 (en)
JPS59197084A (en) Cursor generator for raster scan display unit
KR100212412B1 (en) Apparatus for generating character pattern
JPH03119387A (en) Method and apparatus for forming contour of digital type surface
JP2794446B2 (en) Method and apparatus for filling outline font in which characters are configured for each element
EP0250868A2 (en) Method and apparatus for area fill in a raster graphics system
JPH02161574A (en) Method and device for paint out outline font constituting character for each element
JP2896097B2 (en) Method and apparatus for filling outline font in which characters are configured for each element
JP3129717B2 (en) Image processing apparatus and image processing method
JPS6346429B2 (en)
JP3493745B2 (en) Drawing device
JPH10240221A (en) Method and device for painting out outline font constituting character by element classifications and storage medium
JP2610825B2 (en) Graphic processing unit
JPH01272460A (en) Method and apparatus for generating character
JP2748787B2 (en) Curve generator
JPH02176927A (en) Processing system for character
JPH0573693A (en) Outline paint out system
JP2619931B2 (en) Character processing device and character processing method
JP2664948B2 (en) Image processing apparatus and image processing method
KR940007818B1 (en) Method of generating grey-scale pont
JP2804651B2 (en) Outline filling method
JPH0450896A (en) Plotting circuit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees