Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3087463B2 - Character symbol generator - Google Patents
[go: Go Back, main page]

JP3087463B2 - Character symbol generator - Google Patents

Character symbol generator

Info

Publication number
JP3087463B2
JP3087463B2 JP04233521A JP23352192A JP3087463B2 JP 3087463 B2 JP3087463 B2 JP 3087463B2 JP 04233521 A JP04233521 A JP 04233521A JP 23352192 A JP23352192 A JP 23352192A JP 3087463 B2 JP3087463 B2 JP 3087463B2
Authority
JP
Japan
Prior art keywords
dot
data
character
outline
generating
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
JP04233521A
Other languages
Japanese (ja)
Other versions
JPH0683311A (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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP04233521A priority Critical patent/JP3087463B2/en
Publication of JPH0683311A publication Critical patent/JPH0683311A/en
Application granted granted Critical
Publication of JP3087463B2 publication Critical patent/JP3087463B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、文字・記号等のキャラ
クタの輪郭を表すアウトラインデータから袋文字として
画素毎のドットデータに変換する文字記号発生装置に関
するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character / symbol generator for converting outline data representing the outline of a character such as a character / symbol into dot data for each pixel as a bag character.

【0002】[0002]

【従来の技術】従来、アウトラインデータで形状を定義
されたキャラクタの袋文字としてのドットデータを作成
する際、キャラクタのアウトラインを1つずつ読み出
し、その軌跡に沿って、アウトラインが通る画素からド
ットを配置していた。
2. Description of the Related Art Conventionally, when creating dot data as a bag character of a character whose shape is defined by outline data, the outline of the character is read out one by one, and dots are drawn from pixels passing through the outline along the trajectory. Had been placed.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
方法では、図2の様にキャラクタのアウトラインが重な
っているデータを袋文字にした場合、図3の様に重なっ
た部分のアウトラインがドットとして現れてしまうため
袋文字にはならなかった。
However, according to the conventional method, when data in which the outlines of characters overlap as shown in FIG. 2 are used as bag characters, the outlines of the overlapping portions appear as dots as shown in FIG. Did not become a bag letter.

【0004】本発明は、上述した問題点を解決するため
になされたものであり、キャラクタの形状を規定するア
ウトラインが重なっている場合でも袋文字としてのドッ
トデータを発生可能な文字記号発生装置を提供すること
を目的としている。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problem, and a character / symbol generating device capable of generating dot data as a bag character even when outlines defining the shape of a character are overlapped. It is intended to provide.

【0005】[0005]

【課題を解決するための手段】この目的を達成するため
に本発明の請求項1の文字記号発生装置は、キャラクタ
のアウトラインデータを、外輪郭と内輪郭を識別して読
み込む読み込み手段と、前記アウトラインデータと、ド
ットデータを規定する座標面上に想定される互いに平行
な複数の走査線との交点座標を求める演算手段と、前記
演算手段で得た各交点座標より塗りつぶしの始点及び終
点となるドットの位置をノン・ゼロ・ワインディング・
ルールに基づいて抽出する抽出手段と、前記抽出手段で
得た始点及び終点のドットの位置にドットを配置して袋
文字のドットデータとして出力するドット化手段とを備
えている。
According to a first aspect of the present invention, there is provided a character / symbol generating apparatus for reading out outline data of a character by identifying an outer contour and an inner contour. A calculating means for calculating intersection coordinates of the outline data and a plurality of mutually parallel scanning lines assumed on a coordinate plane defining the dot data, and a starting point and an ending point of the filling based on each intersection coordinate obtained by the calculating means. Use non-zero winding
An extraction unit for extracting based on rules, and a dot-forming unit for arranging dots at the positions of the start point and the end point obtained by the extraction unit and outputting the dots as dot data of a bag character.

【0006】又、請求項2の文字記号発生装置は、前記
演算手段における走査線の方向が第1の方向である第1
演算手段と前記抽出手段及び前記ドット化手段で第1の
ドットデータを生成する第1ドット生成手段と、前記演
算手段における走査線の方向が前記第1の方向とは異な
る第2の方向である第2演算手段と前記抽出手段及び前
記ドット化手段で第2のドットデータを生成する第2ド
ット生成手段と、前記第1のドットデータと前記第2の
ドットデータの論理和を生成する第3ドット生成手段と
を備えている。
According to a second aspect of the present invention, there is provided the character / symbol generating device, wherein the direction of the scanning line in the calculating means is the first direction.
A first dot generating means for generating first dot data by the calculating means, the extracting means and the dot forming means, and a direction of a scanning line in the calculating means is a second direction different from the first direction. A second calculating means, a second dot generating means for generating second dot data by the extracting means and the dot forming means, and a third generating means for generating a logical sum of the first dot data and the second dot data. Dot generating means.

【0007】[0007]

【作用】上記の構成を有する本発明の請求項1の文字記
号発生装置の読み込み手段はキャラクタのアウトライン
データを外輪郭と内輪郭を識別して読み込み、演算手段
は前記アウトラインデータとドットデータを規定する座
標面上に想定される互いに平行な複数の走査線との交点
座標を求め、抽出手段は前記演算手段で得た各交点座標
より塗りつぶしの始点及び終点となるドットの位置を
ン・ゼロ・ワインディング・ルールに基づいて抽出し、
ドット化手段は前記抽出手段で得た始点及び終点のドッ
トの位置にドットを配置して袋文字のドットデータとし
て出力する。
The reading means of the character / symbol generating apparatus according to the first aspect of the present invention having the above structure reads the outline data of the character by identifying the outer contour and the inner contour, and the arithmetic means defines the outline data and the dot data. obtain the intersection coordinates of a plurality of scanning lines parallel to each other envisioned on a coordinate plane which, extracting means the position of the dots of the start and end points of fill from the intersection coordinates obtained by the arithmetic means Roh
Based on the zero-winding rule ,
The dot forming means arranges the dots at the positions of the starting point and the ending point obtained by the extracting means and outputs the dot data as the dot data of the bag character.

【0008】又、請求項2の文字記号発生装置の第1ド
ット生成手段は前記演算手段における走査線の方向が第
1の方向である第1演算手段と前記抽出手段及び前記ド
ット化手段で第1のドットデータを生成し、第2ドット
生成手段は前記演算手段における走査線の方向が前記第
1の方向とは異なる第2の方向である第2演算手段と前
記抽出手段及び前記ドット化手段で第2のドットデータ
を生成し、第3ドット生成手段は前記第1のドットデー
タと前記第2のドットデータの論理和を生成する。
Further, the first dot generating means of the character / symbol generating device according to the second aspect includes a first calculating means in which the direction of a scanning line in the calculating means is a first direction, a first calculating means, and a extracting means and the dot forming means. A second dot generating means, wherein the second dot generating means includes a second calculating means in which a direction of a scanning line in the calculating means is a second direction different from the first direction, the extracting means, and the dot forming means. Generates the second dot data, and the third dot generating means generates a logical sum of the first dot data and the second dot data.

【0009】又、前記読み込み手段の外輪郭と内輪郭の
識別をその輪郭線のベクトルの回転方向によって行っ
も良い。
[0009] Also, the identification of the outer contour and the inner contour of the reading means may be performed by the rotational direction of the vector of the contour line.

【0010】[0010]

【実施例】以下、本発明を具体化した一実施例を図面を
参照して説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings.

【0011】図1は本発明を適用したレーザプリンタの
制御回路のうち、主としてアウトラインデータからドッ
トデータを発生する部分を示すブロック図である。この
制御回路の主体を成すマイクロコンピュータ部10は、
CPU12、キャラクタROM13、プログラムROM
14、テキストメモリ15、ワーキングメモリ16、ド
ットデータメモリ17を備えている。これらCPU12
等は、バス18を介して互いに接続されている。更にマ
イクロコンピュータ部10には、バス18を介して入力
装置19及び印字装置110が接続されている。
FIG. 1 is a block diagram showing a portion of a control circuit of a laser printer to which the present invention is applied, which mainly generates dot data from outline data. The microcomputer unit 10 which forms the main part of the control circuit includes:
CPU 12, character ROM 13, program ROM
14, a text memory 15, a working memory 16, and a dot data memory 17. These CPUs 12
Are connected to each other via a bus 18. Further, an input device 19 and a printing device 110 are connected to the microcomputer unit 10 via a bus 18.

【0012】入力装置19は、外部から供給されるキャ
ラクタコード、文字サイズの指定等のデータを入力する
ものである。
The input device 19 is for inputting data such as designation of a character code and a character size supplied from the outside.

【0013】印字装置110は、電子写真方式によりド
ットデータメモリ17から読み出したドットマトリクス
データを印字する装置である。
The printing device 110 is a device for printing dot matrix data read from the dot data memory 17 by an electrophotographic method.

【0014】プログラムROM14には本実施例で行う
様々な制御を実施するためのプログラムを記憶してい
る。
The program ROM 14 stores programs for performing various controls performed in this embodiment.

【0015】テキストメモリ15は、入力装置19から
入力されるキャラクタコード、文字サイズの指定等のデ
ータを記憶するものである。
The text memory 15 stores data such as a character code and a character size input from the input device 19.

【0016】ワーキングメモリ16は、CPU12がプ
ログラムを実行するときに必要なデータを一時的に記憶
するものである。
The working memory 16 temporarily stores data required when the CPU 12 executes a program.

【0017】ドットデータメモリ17は、アウトライン
データから変換されたドットデータを記憶するものであ
る。
The dot data memory 17 stores dot data converted from outline data.

【0018】キャラクタROM13は、文字・記号等の
輪郭線の形状を、直線及び3次ベジェ曲線(以下、単に
曲線と称する)の集合で定義したアウトラインフォント
データを記憶している。アウトラインフォントデータ
は、座標値データと属性フラグから構成される。座標値
データはxy1組の座標値である。属性フラグは輪郭線
の始点「S」、直線の終点「L」、曲線の第1制御点
「B1」、第2制御点「B2」及び曲線「B」の終点の
種類がある。尚、直線及び曲線の始点は前の直線或は曲
線の終点、もしくは、輪郭線の最初の直線或は曲線であ
る場合は輪郭線の始点である。又、この輪郭線は外側の
輪郭線を示すデータは反時計方向に、内側の輪郭線を示
すデータは時計方向に格納されている。すなわち図2の
様なデータは、図4の様に格納されている。尚、このデ
ータには曲線はない。
The character ROM 13 stores outline font data in which the contours of characters and symbols are defined by a set of straight lines and cubic Bezier curves (hereinafter simply referred to as curves). Outline font data includes coordinate value data and an attribute flag. The coordinate value data is an xy1 set of coordinate values. The attribute flags include types of the start point “S” of the outline, the end point “L” of the straight line, the first control point “B1”, the second control point “B2” of the curve, and the end point of the curve “B”. The start point of the straight line or the curve is the end point of the previous straight line or the curve, or the start point of the contour line if it is the first straight line or the curve. As for the contour, data indicating the outer contour is stored in the counterclockwise direction, and data indicating the inner contour is stored in the clockwise direction. That is, data as shown in FIG. 2 is stored as shown in FIG. Note that there is no curve in this data.

【0019】以下に本レーザプリンタのアウトラインデ
ータから袋文字のドットデータを発生する処理を説明す
る。
A process for generating dot data of a bag character from outline data of the laser printer will be described below.

【0020】先ず、図5のフローチャートを用いてこの
処理の概要を示す。
First, an outline of this processing will be described with reference to the flowchart of FIG.

【0021】S51はキャラクタROM13から所望の
1文字分のアウトラインデータを読み込む処理である。
すなわち、ワーキングメモリ16に図4に示すデータを
書き込む処理である。
S51 is a process for reading outline data for a desired one character from the character ROM 13.
That is, the process of writing the data shown in FIG.

【0022】S52は読み込んだアウトラインデータの
座標値を所望のサイズに変換する処理である。
S52 is a process for converting the coordinate values of the read outline data into a desired size.

【0023】S53はS52で得られたアウトラインデ
ータを入力として袋文字のドットデータを出力する。す
なわち、本発明の適用部分である。この処理については
後で詳細に説明する。
In step S53, the outline data obtained in step S52 is input, and dot data of a bag character is output. That is, this is an application part of the present invention. This processing will be described later in detail.

【0024】S54はS53で得られたドットデータを
ドットデータメモリ17に格納する処理である。
In step S54, the dot data obtained in step S53 is stored in the dot data memory 17.

【0025】次に、図6のフローチャートを用いてS5
3の袋文字ドットデータ作成の処理について説明する。
Next, referring to the flowchart of FIG.
The process of creating bag character dot data No. 3 will be described.

【0026】S60は処理対象となるキャラクタのアウ
トラインデータを読み込む処理である。尚、このとき
も、外輪郭線は反時計方向、内輪郭線は時計方向に方向
付けされている。
In step S60, outline data of the character to be processed is read. Also in this case, the outer contour is oriented counterclockwise, and the inner contour is oriented clockwise.

【0027】S61はy走査線によるスキャン処理であ
り、S62はx走査線によるスキャン処理である。y走
査線とはx軸に平行でyの値で規定できる走査線であ
り、xの値が小さい方から大きい方を向いている。又、
x走査線とはy軸に平行でxの値で規定できる走査線で
あり、yの値が小さい方から大きい方を向いている。
又、スキャン処理は、各走査線上のドットを発生させる
処理であり、後で詳細に説明する。
S61 is a scanning process using y scanning lines, and S62 is a scanning process using x scanning lines. The y scanning line is a scanning line that is parallel to the x axis and can be defined by the value of y, and points from the smaller x value to the larger x value. or,
An x-scan line is a scan line that is parallel to the y-axis and can be defined by the value of x, and points from the smaller y value to the larger y value.
The scanning process is a process for generating dots on each scanning line, and will be described later in detail.

【0028】S63は、S61とS62で得たドットデ
ータの論理和をとってドットデータを完成させる処理で
ある。
Step S63 is a process for obtaining the logical sum of the dot data obtained in steps S61 and S62 to complete the dot data.

【0029】S61及びS62のスキャン処理を一般化
して図7のフローチャートを用いて説明する。
The scan processing of S61 and S62 will be generalized and described with reference to the flowchart of FIG.

【0030】S71は走査線を初期化する。In step S71, a scanning line is initialized.

【0031】S72は走査線の交点情報を作成する。交
点情報は、交点座標データと方向データから構成され
る。交点座標データは走査線とキャラクタ輪郭線の交点
座標であり、方向データは交点におけるキャラクタ輪郭
線の走査線に対するベクトルの方向で、走査線の向きに
対して右から左に横切るキャラクタ輪郭線との交点は
「左向き」であり、逆に左から右に横切るキャラクタの
輪郭線との交点は「右向き」である。尚、ここで走査線
と平行な部分は、その部分の始点と終点のみを交点とす
る。
In step S72, information on the intersection of the scanning lines is created. The intersection information includes intersection coordinate data and direction data. The intersection coordinate data is the coordinates of the intersection between the scanning line and the character outline, and the direction data is the direction of the vector of the character outline at the intersection with respect to the scanning line. The intersection is “leftward”, and conversely, the intersection with the contour of the character that crosses from left to right is “rightward”. In this case, in the portion parallel to the scanning line, only the start point and the end point of the portion are set as intersections.

【0032】S73は得られた交点情報を副走査線方向
の座標値で昇順にソートする。すなわち、y走査線によ
るスキャンの場合にはx座標で、x走査線によるスキャ
ンの場合にはy座標で各々昇順にソートする。S74は
ソートされた交点情報から文字の内部に当たる部分の始
点と終点のデータを抽出する。ここでの始点・終点の認
識にはノン・ゼロ・ワインディング・ルールを用いる。
In step S73, the obtained intersection information is sorted in ascending order by coordinate values in the sub-scanning line direction. That is, the data is sorted in ascending order by the x coordinate in the case of scanning by the y scanning line, and by the y coordinate in the case of scanning by the x scanning line. In step S74, data of a start point and an end point of a portion corresponding to the inside of the character is extracted from the sorted intersection information. Here, a non-zero winding rule is used for recognition of the start point and the end point.

【0033】ノン・ゼロ・ワインディング・ルールは、
ある点が輪郭線の内部であるか否かを判定する手段であ
る。このルールは、0で初期化された符号付きのカウン
タを用意し、走査線を走らせ文字の輪郭線に当たった時
にはその輪郭線の交差する方向をチェックし、例えば
「右向き」の場合はカウンタに1を加え、「左向き」の
場合はカウンタから1を引くという作業を行い、カウン
タの絶対値が0でない点が文字の内部に当たる部分であ
る判断するルールである。
The non-zero winding rule is:
This is a means for determining whether or not a certain point is inside the outline. This rule prepares a signed counter initialized with 0, runs a scanning line, checks the direction of intersection of the outline when it hits the outline of the character, and for example, in the case of "rightward", the counter This is a rule in which the operation of adding 1 and subtracting 1 from the counter in the case of "leftward" is performed, and the point where the absolute value of the counter is not 0 corresponds to the part corresponding to the inside of the character.

【0034】このルールを応用して、S73で得られた
ソートされた交点情報を順に調べ、方向データをチェッ
クし上記した様にカウンタを操作し、カウンタの絶対値
が0から1に変化する点が始点、1から0に変化する点
が終点と認識することができる。
Applying this rule, the sorted intersection information obtained in S73 is checked in order, the direction data is checked, the counter is operated as described above, and the point at which the absolute value of the counter changes from 0 to 1 Can be recognized as the start point and the point where the value changes from 1 to 0 is the end point.

【0035】例えば、カウンタcを設け、図2のキャラ
クタのアウトラインデータに走査線Qを設定した場合、
交点はp0、p1、p2、p3、p4、p5が得られ、
ソートするとこの順になる。この点を順に調べる。p0
は「右向き」の交点であるのでc=0から1になるので
p0は始点と判断する。p1は「左向き」であるのでc
=1から0になるのでp1は終点である。p2は「右向
き」であるのでc=0から1になるのでp2は始点であ
る。p3は「右向き」であるのでc=1から2になるの
でp3は始点でも終点でもない。p4は「左向き」であ
るのでc=2から1になるのでp4は始点でも終点でも
ない。p5は「左向き」であるのでc=1から0になる
のでp5は終点である。従って、始点はp0とp2、終
点はp1とp5と認識できる。
For example, when a counter c is provided and the scanning line Q is set in the outline data of the character in FIG.
Intersection points p0, p1, p2, p3, p4, p5 are obtained,
Sorted in this order. Examine this point in order. p0
Is a rightward intersection, so that c = 0 to 1 and p0 is determined to be the starting point. Since p1 is "leftward", c
Since = 1 to 0, p1 is the end point. Since p2 is "rightward", it changes from c = 0 to 1, so p2 is the starting point. Since p3 is "rightward", c = 1 is changed to 2, so p3 is neither a start point nor an end point. Since p4 is "leftward", it changes from c = 2 to 1, so p4 is neither a start point nor an end point. Since p5 is "leftward", it changes from c = 1 to 0, so p5 is the end point. Therefore, the start point can be recognized as p0 and p2, and the end point can be recognized as p1 and p5.

【0036】S75はS74で得られた始点、終点によ
って決められるドットの配置を行う処理である。本実施
例では始点、終点の交点座標の小数点以下を切り捨てた
位置にドットを配置する。尚、この部分は線幅を太くす
るために始点、終点の交点座標の位置を基準に複数のド
ットを置くようにすることが可能である。
S75 is a process for arranging dots determined by the start point and the end point obtained in S74. In this embodiment, the dots are arranged at positions where the decimal point of the intersection coordinates of the start point and the end point is truncated. In this portion, a plurality of dots can be placed based on the coordinates of the intersection of the start point and the end point in order to increase the line width.

【0037】S76は必要な全ての走査線について処理
が終了したか判定している。終了していなければ、S7
7で走査線を更新してS72からの処理を繰り返す。終
了していれば、スキャン処理を終了する。
In step S76, it is determined whether the processing has been completed for all necessary scanning lines. If not finished, S7
In step 7, the scanning line is updated, and the processing from S72 is repeated. If the scanning has been completed, the scanning process ends.

【0038】図2のデータをS61で処理したドットデ
ータを図8にS62で処理したドットデータを図9に示
し、これをS63で処理したものを図10に示す。
FIG. 8 shows the dot data obtained by processing the data of FIG. 2 in S61, FIG. 9 shows the dot data obtained by processing in S62, and FIG. 10 shows the data obtained by processing the same in S63.

【0039】本実施例では、レーザプリンタに本発明の
文字記号発生装置を適用した例を示したが、これに限ら
ず、他の方式のプリンタやディスプレイ装置にはもちろ
ん、アウトラインデータから袋文字のドットデータを出
力する装置ならどのようなものでも応用可能である。
In this embodiment, an example is shown in which the character / symbol generator of the present invention is applied to a laser printer. However, the present invention is not limited to this. Any device that outputs dot data can be applied.

【0040】又、本実施例では、S74の始点・終点を
抽出する処理にノン・ゼロ・ワインディング・ルールを
応用した方法を用いたがこれに限らず、輪郭線の内部を
示す始点・終点が認識できればどの様な方法でも良い。
In the present embodiment, the method applying the non-zero winding rule is used for the process of extracting the start point and end point in S74. However, the present invention is not limited to this. Any method can be used as long as it can be recognized.

【0041】その他、本発明の趣旨を逸脱しない範囲で
種々の応用が可能である。
Various other applications are possible without departing from the spirit of the present invention.

【0042】[0042]

【発明の効果】以上説明したことから明かなように、本
発明の文字記号発生装置によれば、キャラクタの形状を
規定するアウトラインが重なっている場合でも袋文字と
してのドットデータを発生可能となる。
As is apparent from the above description, according to the character / symbol generating device of the present invention, dot data as a bag character can be generated even when the outlines defining the character shape overlap. .

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

【図1】本実施例のマイクロコンピュータ部のブロック
図である。
FIG. 1 is a block diagram of a microcomputer unit according to the present embodiment.

【図2】キャラクタのアウトラインデータの例を示す図
である。
FIG. 2 is a diagram illustrating an example of outline data of a character.

【図3】従来方式による袋文字処理のドットデータを示
す図である。
FIG. 3 is a diagram showing dot data for bag character processing according to a conventional method.

【図4】本実施例のキャラクタデータの概念図である。FIG. 4 is a conceptual diagram of character data according to the embodiment.

【図5】本実施例の袋文字作成処理のフローチャートで
ある。
FIG. 5 is a flowchart of a bag character creation process according to the present embodiment.

【図6】本実施例のスキャン処理のフローチャートであ
る。
FIG. 6 is a flowchart of a scan process according to the embodiment.

【図7】本実施例の袋文字ドットデータ作成処理のフロ
ーチャートである。
FIG. 7 is a flowchart of a bag character dot data creation process according to the present embodiment.

【図8】本実施例のy走査線によるスキャン処理の結果
を示す図である。
FIG. 8 is a diagram illustrating a result of a scan process using y scan lines according to the present embodiment.

【図9】本実施例のx走査線によるスキャン処理の結果
を示す図である。
FIG. 9 is a diagram illustrating a result of a scan process using x scanning lines according to the present embodiment.

【図10】本実施例による袋文字のドットデータを示す
図である。
FIG. 10 is a diagram illustrating dot data of a bag character according to the present embodiment.

【符号の説明】[Explanation of symbols]

S60 読み込み処理(読み込み手段) S61 第1ドット生成処理 S62 第2ドット生成処理 S63 第3ドット生成処理 S72 交点情報作成処理(演算手段) S73 始点、終点抽出処理(抽出手段) S74 ドット配置処理(ドット化手段) S60 Read processing (read means) S61 First dot generation processing S62 Second dot generation processing S63 Third dot generation processing S72 Intersection information creation processing (calculation means) S73 Start point and end point extraction processing (extraction means) S74 Dot arrangement processing (dots) Means)

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 文字・記号等のキャラクタの輪郭の形状
を規定するアウトラインデータから袋文字のドットデー
タを発生する装置において、 キャラクタのアウトラインデータを、外輪郭と内輪郭を
識別して読み込む読み込み手段と、 前記アウトラインデータと、ドットデータを規定する座
標面上に想定される互いに平行な複数の走査線との交点
座標を求める演算手段と、 前記演算手段で得た各交点座標より塗りつぶしの始点及
び終点となるドットの位置をノン・ゼロ・ワインディン
グ・ルールに基づいて抽出する抽出手段と、 前記抽出手段で得た始点及び終点のドットの位置にドッ
トを配置して袋文字のドットデータとして出力するドッ
ト化手段とを備えたことを特徴とする文字記号発生装
置。
1. An apparatus for generating dot data of a bag character from outline data defining the shape of the outline of a character such as a character or a symbol, wherein the reading means reads the outline data of the character by identifying the outer outline and the inner outline. Calculating means for obtaining intersection coordinates of the outline data and a plurality of scanning lines parallel to each other assumed on a coordinate plane that defines dot data; and a starting point for filling from the intersection coordinates obtained by the arithmetic means. Non-zero winding position of dot to be the end point
Extracting means for extracting based on the rule, and dot-forming means for arranging dots at the positions of the starting point and the ending point obtained by the extracting means and outputting the data as dot data of a bag character. Character symbol generator.
【請求項2】 請求項1の構成を持つ文字記号発生装置
において、 前記演算手段における走査線の方向が第1の方向である
第1演算手段と前記抽出手段及び前記ドット化手段で第
1のドットデータを生成する第1ドット生成手段と、 前記演算手段における走査線の方向が前記第1の方向と
は異なる第2の方向である第2演算手段と前記抽出手段
及び前記ドット化手段で第2のドットデータを生成する
第2ドット生成手段と、 前記第1のドットデータと前記第2のドットデータの論
理和を生成する第3ドット生成手段とを備えたことを特
徴とする文字記号発生装置。
2. The character / symbol generator having the configuration according to claim 1, wherein a direction of a scanning line in the arithmetic unit is a first direction, and a first arithmetic unit, the extracting unit, and the dot forming unit define a first direction. A first dot generating means for generating dot data; a second calculating means in which a direction of a scanning line in the calculating means is a second direction different from the first direction; A second dot generating means for generating two dot data; and a third dot generating means for generating a logical sum of the first dot data and the second dot data. apparatus.
JP04233521A 1992-09-01 1992-09-01 Character symbol generator Expired - Fee Related JP3087463B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04233521A JP3087463B2 (en) 1992-09-01 1992-09-01 Character symbol generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04233521A JP3087463B2 (en) 1992-09-01 1992-09-01 Character symbol generator

Publications (2)

Publication Number Publication Date
JPH0683311A JPH0683311A (en) 1994-03-25
JP3087463B2 true JP3087463B2 (en) 2000-09-11

Family

ID=16956341

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04233521A Expired - Fee Related JP3087463B2 (en) 1992-09-01 1992-09-01 Character symbol generator

Country Status (1)

Country Link
JP (1) JP3087463B2 (en)

Also Published As

Publication number Publication date
JPH0683311A (en) 1994-03-25

Similar Documents

Publication Publication Date Title
KR0157245B1 (en) Character Synthesis Method and Device
JPH0772861B2 (en) Program creation device
EP0537030B1 (en) Character or graphic processing method
KR100212412B1 (en) Character pattern generator
JP3087463B2 (en) Character symbol generator
US5519412A (en) Pattern processing method
JP3082467B2 (en) Outline data processing device
EP0983859B1 (en) Information processing apparatus and recording medium with pattern generation programs recorded thereon
JP3611061B2 (en) Graphic creation device
JP3087427B2 (en) Contour data converter
JP3344538B2 (en) Character generator
JPH04280296A (en) Contour data processing device
JP2819961B2 (en) Printing control device
JP2861201B2 (en) Data converter
JP3033152B2 (en) Outline data processing device
JP2881884B2 (en) Document creation device
JP3089795B2 (en) Character symbol generator
JP3225639B2 (en) Automatic character width correction device
JP2901526B2 (en) Character generator
JP3039214B2 (en) Data converter
JP3087414B2 (en) Data output device
JP2881924B2 (en) Data storage device
JPH06100905B2 (en) Pattern output method
JP2776887B2 (en) Font pattern processing method
JP3057963B2 (en) Data converter

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000613

LAPS Cancellation because of no payment of annual fees