JP3055306B2 - Data output device - Google Patents

Data output device

Info

Publication number
JP3055306B2
JP3055306B2 JP4150663A JP15066392A JP3055306B2 JP 3055306 B2 JP3055306 B2 JP 3055306B2 JP 4150663 A JP4150663 A JP 4150663A JP 15066392 A JP15066392 A JP 15066392A JP 3055306 B2 JP3055306 B2 JP 3055306B2
Authority
JP
Japan
Prior art keywords
data
line
outline
point
character
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
JP4150663A
Other languages
Japanese (ja)
Other versions
JPH05341764A (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 JP4150663A priority Critical patent/JP3055306B2/en
Publication of JPH05341764A publication Critical patent/JPH05341764A/en
Application granted granted Critical
Publication of JP3055306B2 publication Critical patent/JP3055306B2/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)
  • Dot-Matrix Printers And Others (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、文字・記号等の輪郭を
表すアウトラインデータから高品質なドットデータに変
換するデータ出力装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data output device for converting outline data representing outlines of characters and symbols into high-quality dot data.

【0002】[0002]

【従来の技術】従来、文字や記号等キャラクタの発生装
置として、文字や記号の輪郭データ(以下、アウトライ
ンデータと称す)を用いるアウトライン方式がある。こ
の方式は、索引コード信号に従い、記憶部よりアウトラ
インデータを読みだし、それを任意のポイントサイズに
スケーリングし、ドットデータに変換するもので、変換
されたデータはレーザプリンタなどの出力機器から出力
されていた。
2. Description of the Related Art Conventionally, as an apparatus for generating characters such as characters and symbols, there is an outline system using outline data of characters and symbols (hereinafter referred to as outline data). According to this method, outline data is read from a storage unit in accordance with an index code signal, scaled to an arbitrary point size, and converted into dot data.The converted data is output from an output device such as a laser printer. I was

【0003】この方式では、アウトラインデータは図1
0に示すように直線と曲線のデータで記憶されている。
ここで「S」は一閉ループの開始点を指示するフラグで
あり、後に続くx座標値、y座標値の位置を開始点とす
る。「L」は直線を表すフラグであり、現在の位置(カ
レントポイントと称する)から後に続くx座標値、y座
標値の位置までの直線を指示している。「B」はBez
ier曲線を表すフラグであり、後に3点のx座標値、
y座標値が続く。最初の2点はBezier曲線の制御
点であり、最後の点は曲線の終点である。
[0003] In this method, outline data is stored in FIG.
As shown by 0, the data is stored as straight line and curve data.
Here, "S" is a flag indicating the start point of the closed loop, and the position of the subsequent x coordinate value and y coordinate value is set as the start point. “L” is a flag indicating a straight line, and indicates a straight line from the current position (referred to as a current point) to the position of the subsequent x coordinate value and y coordinate value. "B" is Bez
a flag representing an ier curve, and later three x-coordinate values;
The y coordinate value follows. The first two points are control points of the Bezier curve, and the last point is the end point of the curve.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上述の
アウトラインデータを小さなポイントサイズや低解像度
の出力装置に出力すると、品質の悪い印字結果となるこ
とがあった。例えば、図11(d)のアウトラインデー
タをドットデータに変換する場合、高解像度(図11
(b))または大きなサイズ(図11(c))で処理す
ると、高品質のドットデータが得られる。しかし、低解
像度または小さな文字サイズでアウトラインデータから
ドットデータに変換するラスタライズ化の処理をすると
図11(a)のように変換誤差(一般に量子化誤差と称
す)により本来の輪郭形状とは異なったものとなってし
まった。
However, when the above-described outline data is output to an output device having a small point size or a low resolution, a poor quality print result may be obtained. For example, when converting the outline data of FIG.
(B)) or processing with a large size (FIG. 11 (c)) provides high quality dot data. However, when a rasterizing process for converting outline data to dot data with a low resolution or a small character size is performed, the contour shape differs from the original contour shape due to a conversion error (generally called a quantization error) as shown in FIG. It has become something.

【0005】本発明は、上述した問題点を解決するため
になされたものであり、出力装置が低解像度であった
り、出力文字・記号のサイズが小さくてもその輪郭に生
じるギザギザのジャギーが少なく、バランスのとれた印
字品質のよい文字・記号を出力するデータ出力装置を提
供することを目的としている。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems. Even if the output device has a low resolution or the size of an output character / symbol is small, jagged jaggies occurring in the outline thereof are reduced. It is another object of the present invention to provide a data output device that outputs well-balanced characters and symbols of high print quality.

【0006】[0006]

【課題を解決するための手段】この目的を達成するため
に本発明のデータ出力装置は、文字・記号の輪郭のデー
タを、輪郭線を構成する直線、曲線等の各線素毎に示す
情報と座標値データと、水平線あるいは垂直線に対して
緩やかに変化する線素であることを示す情報とで記憶し
たアウトラインデータ記憶手段と、文字・記号のポイン
トサイズまたは解像度がある判定値以下の場合は、前記
の緩やかに変化する線素を水平線または垂直線に変更す
る輪郭データ変更手段と、前記文字・記号の輪郭線デー
タをドットデータに変換するドットデータ変換手段とを
備えている。
In order to achieve this object, a data output apparatus according to the present invention is provided with information indicating contour data of characters and symbols for each line element such as a straight line and a curve constituting a contour line. Outline data storage means storing coordinate value data and information indicating a line element that changes slowly with respect to a horizontal line or a vertical line, and when the point size or resolution of a character or symbol is less than a certain determination value A contour data changing means for changing the gently changing line element into a horizontal line or a vertical line; and a dot data converting means for converting the contour data of the character / symbol into dot data.

【0007】[0007]

【作用】上記の構成を有する本発明のデータ出力装置に
おいては、文字・記号のポイントサイズまたは解像度が
ある判定値以下の場合に、アウトラインデータ記憶手段
に格納されている文字・記号の線素が水平線あるいは垂
直線に対して緩やかに変化し始める開始点と終わりの終
了点の情報と輪郭データ変更手段により、前記の緩やか
に変化する線素を水平線又は垂直線に変更して新たな輪
郭線データを作成し、ドットデータ変換手段により輪郭
線データをドットデータに変換する。
In the data output device of the present invention having the above-mentioned configuration, when the point size or resolution of a character or symbol is smaller than a certain judgment value, the line element of the character or symbol stored in the outline data storage means is changed. The information of the starting point and the ending point of the end which gradually changes with respect to the horizontal line or the vertical line and the outline data changing means are used to change the gently changing line element to a horizontal line or a vertical line to obtain new outline data. Is created, and the outline data is converted into dot data by the dot data conversion means.

【0008】[0008]

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

【0009】尚、本実施例ではレーザープリンタに於て
アウトラインデータをドットデータに変換する装置に本
発明を適用した例として説明する。
In this embodiment, an example in which the present invention is applied to a device for converting outline data into dot data in a laser printer will be described.

【0010】図1はレーザプリンタの制御回路のうち、
主としてアウトラインデータをドットデータに変換し、
出力する部分を示すブロック図である。この制御回路の
主体をなすマイクロコンピュータ部1は、CPU2、キ
ャラクタROM3、プログラムROM4、テキストメモ
リ5、ワーキングメモリ6、ドットデータメモリ7を備
えている。これらCPU2等は、バス8により接続され
ており、バス8には入力装置9及び印字部10が接続さ
れている。
FIG. 1 shows a control circuit of a laser printer.
It mainly converts outline data to dot data,
FIG. 3 is a block diagram showing a portion to output. The microcomputer unit 1, which is a main component of the control circuit, includes a CPU 2, a character ROM 3, a program ROM 4, a text memory 5, a working memory 6, and a dot data memory 7. The CPU 2 and the like are connected by a bus 8, and an input device 9 and a printing unit 10 are connected to the bus 8.

【0011】CPU2は、実施例を実現するための処理
を与えられたプログラムに従って実行する。
The CPU 2 executes processing for realizing the embodiment according to a given program.

【0012】キャラクタROM3は、キャラクタの形状
を表す輪郭データをアウトラインデータ形式で記憶して
いる。
The character ROM 3 stores outline data representing the shape of the character in an outline data format.

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

【0014】テキストメモリ5は、入力装置9を通じて
入力されるキャラクタコードと文字サイズを指定するた
めのサイズデータ、斜体や回転等の変形指定データ等か
らなる出力指定データを記憶するものである。
The text memory 5 stores output designation data including a character code inputted through the input device 9, size data for designating a character size, deformation designation data such as italic and rotation, and the like.

【0015】ワーキングメモリ6は、プログラム実行時
に必要なデータを一時的に記憶するものである。
The working memory 6 is for temporarily storing data necessary for executing a program.

【0016】ドットデータメモリ7には後述のドットデ
ータ変換部により得られるドットデータを記憶してい
る。
The dot data memory 7 stores dot data obtained by a dot data conversion unit described later.

【0017】入力装置9は外部から供給されるキャラク
ターコード、文字サイズを指定するサイズデータ、斜体
や回転等の変形指定データ等をマイクロコンピュータ部
1に入力するものである。
The input device 9 inputs to the microcomputer unit 1 a character code supplied from outside, size data for designating a character size, and data for specifying deformation such as slanting and rotation.

【0018】印字部10は、ドットデータメモリ7から
読みだされたドットデータを電子写真方式の印字機構に
より印字を行う部分である。
The printing section 10 is a section for printing dot data read from the dot data memory 7 by an electrophotographic printing mechanism.

【0019】前述したCPU2には、図2に概念的に示
すようなキャラクタROM3やワーキングメモリ6のよ
うな記憶部よりデータを取り出すデータ読み出し部22
と、出力する文字・記号等のサイズや出力装置の解像度
により輪郭線を変更する輪郭データ変更部24と、アウ
トラインデータをドットデータに変換するアウトライン
変換部26とが設けられている。
The above-mentioned CPU 2 has a data reading section 22 for taking out data from a storage section such as a character ROM 3 or a working memory 6 as conceptually shown in FIG.
And an outline data changing unit 24 that changes the outline according to the size of characters and symbols to be output and the resolution of the output device, and an outline conversion unit 26 that converts outline data into dot data.

【0020】次に本実施例のデータ出力装置の輪郭デー
タ変更部24で行われる処理を図3のフローチャートと
図5のアウトラインデータを用いて詳細に説明する。
尚、以下のSi(i=1,2,3,・・)は図中の各ス
テップを表す。
Next, the processing performed by the contour data changing unit 24 of the data output device of this embodiment will be described in detail with reference to the flowchart of FIG. 3 and the outline data of FIG.
The following Si (i = 1, 2, 3,...) Represents each step in the figure.

【0021】入力装置9よりキャラクタコード,文字サ
イズ,出力装置の解像度が指示された後、このフローチ
ャートが実行される。先ず初めに、指示されたキャラク
タコードのアウトラインデータをキャラクタROM3よ
り読み出す(S1)。
After the character code, the character size, and the resolution of the output device are instructed from the input device 9, this flowchart is executed. First, outline data of the designated character code is read from the character ROM 3 (S1).

【0022】アウトラインデータのデータ構造は図5に
示すように、各点の座標値はフラグ1とフラグ2の属性
情報を持っている。ここでフラグ1の「S」,「B」,
「L」,「*」,「!」は前述した図10の場合と同じ
である。すなわち、「S」は一つの閉ループの輪郭線の
スタート点を示し、(x1,y1)はスタート点の座標値
である。「B」は輪郭線を構成しているセグメントがB
ezier曲線であることを示し、その後に続く三つの
座標値、例えば(x2,y2),(x3,y3),(x4
4)は各々曲線の第1制御点,第2制御点,終点であ
る。Lはセグメントが直線であることを示し、その後の
座標値、例えば(x13,y13)は直線の終点である。
「*」は閉ループの終了、「!」は一つのキャラクタの
アウトラインデータの終了を示す。フラグ2の「S
S」,「SE」は輪郭データ変更部の処理で用いられる
情報である。「SS」は直線や曲線が緩やかに変化する
(直線の傾きが小さいか、曲線の極率が大きい場合)セ
グメントのスタート点を示し,「SE」はそのセグメン
トの終点を表す。尚、フラグ2で「SS」が読み出され
ると、輪郭データ変更の開始シグナルIは0から1に変
更される。
As shown in FIG. 5, the data structure of the outline data is such that the coordinate value of each point has flag 1 and flag 2 attribute information. Here, "S", "B",
“L”, “*”, and “!” Are the same as those in FIG. 10 described above. That is, “S” indicates the start point of one closed loop contour, and (x 1 , y 1 ) is the coordinate value of the start point. "B" indicates that the segment forming the outline is B
indicates that the curve is an ezier curve, and three subsequent coordinate values, for example, (x 2 , y 2 ), (x 3 , y 3 ), (x 4 ,
y 4 ) are the first control point, the second control point, and the end point of the curve, respectively. L indicates that the segment is a straight line, and subsequent coordinate values, for example, (x 13 , y 13 ) are the end points of the straight line.
“*” Indicates the end of the closed loop, and “!” Indicates the end of the outline data of one character. "S" of the flag 2
“S” and “SE” are information used in the processing of the contour data changing unit. “SS” indicates the start point of a segment in which the straight line or curve changes gradually (when the slope of the straight line is small or the curvature of the curve is large), and “SE” indicates the end point of the segment. When "SS" is read by the flag 2, the start signal I of the outline data change is changed from 0 to 1.

【0023】S2において、フラグ1が「*」かどうか
判定し、YESの時は一つの閉ループが終了であるの
で、輪郭データ変更の開始シグナルIを0に戻しS1の
前へ戻る。NOの時はS3へ移る。
In S2, it is determined whether or not the flag 1 is "*". If YES, one closed loop has been completed, so the start signal I for changing the contour data is returned to 0 and the process returns to before S1. If NO, the process moves to S3.

【0024】S3において、入力装置9より入力された
文字サイズ(ポイント数)または解像度の値がある標準
値(ポイント数の標準値Ps,解像度の標準値Ds)よ
り小さいときは、輪郭データ変更処理を実行するためS
4へ移る。文字サイズまたは解像度が標準値より大きい
場合は、輪郭データの変更処理を実行せずキャラクタR
OM3より読み出したアウトラインデータをワーキング
メモリ6へ格納する(S11)。
In S3, if the value of the character size (number of points) or the resolution input from the input device 9 is smaller than a certain standard value (standard value of point number Ps, standard value of resolution Ds), the outline data change processing is performed. To execute
Move to 4. If the character size or the resolution is larger than the standard value, the character R
The outline data read from the OM 3 is stored in the working memory 6 (S11).

【0025】S4において、キャラクタROM3よりフ
ラグ2を読み出したときに、フラグ2が「SS」ならば
S5へ、異なる場合はS6へ移る。
In S4, when the flag 2 is read from the character ROM 3, if the flag 2 is "SS", the flow proceeds to S5, and if not, the flow proceeds to S6.

【0026】S5において、緩やかに変化する線素の開
始点の番号と座標値が読み出され、ワーキングメモリ6
に格納される。例えば、図5のアウトラインデータにお
いてフラグ2が「SS」となっている点は点13と点1
5である。セグメント5(seg5)とセグメント7
(seg7)は垂直線に対して緩やかな勾配で変化する
直線であり、その開始点が点13と点15である。これ
らの開始点の番号と座標値がワーキングメモリ6に格納
される。またその時、輪郭データ変更の開始シグナルI
は1となる。
In S5, the number and coordinate value of the starting point of the slowly changing line element are read out, and the
Is stored in For example, in the outline data of FIG. 5, the point where the flag 2 is “SS” is the point 13 and the point 1
5 Segment 5 (seg5) and segment 7
(Seg7) is a straight line that changes with a gentle gradient with respect to the vertical line, and its starting points are points 13 and 15. The numbers and coordinate values of these start points are stored in the working memory 6. At that time, the start signal I of the contour data change
Becomes 1.

【0027】S6において、フラグ2がセグメントの終
点(=「SE」)かどうか判定され、YESのときはS
7に移り、NOのときはS9に移る。
In S6, it is determined whether or not the flag 2 is the end point of the segment (= "SE").
The process moves to S7, and if NO, moves to S9.

【0028】S7において、「SS」から「SE」まで
のセグメントを水平線または垂直線に変更する。図5の
輪郭データ変更の開始点13から終点14のセグメント
5(seg5)において、終点14のx座標値を開始点
13と同じにすることによりセグメント5を垂直線にす
る。同様の方法で、セグメント7(seg7)も垂直線
に変更する。変更後はフラグ2の情報は除去され、アウ
トラインデータの構造と輪郭形状は図6のようになる。
緩やかに変化する曲線の場合も同様に処理が行われる。
図7(a)はデータを変更する前、図7(b)は変更後
のデータ構造を示す。輪郭データ変更の開始点は点1で
あり、終点は点4である。この曲線を直線に変更するた
めに終点4のx座標値を開始点1と同じにし、又曲線の
制御点2と3を削除する。変更後のデータ構造は図7
(b)に示す様に曲線が直線に変わる。輪郭データの変
更が終了した後、輪郭データ変更の開始シグナルIは0
に戻され、輪郭データはワーキングメモリ6へ格納され
る(S8)。
In S7, the segments from "SS" to "SE" are changed to horizontal lines or vertical lines. In the segment 5 (seg5) from the start point 13 to the end point 14 of the outline data change in FIG. In a similar manner, segment 7 (seg7) is also changed to a vertical line. After the change, the information of the flag 2 is removed, and the structure and outline shape of the outline data are as shown in FIG.
The same processing is performed for a curve that changes slowly.
7A shows the data structure before the data is changed, and FIG. 7B shows the data structure after the change. The start point of the outline data change is point 1 and the end point is point 4. To change this curve to a straight line, the x-coordinate value of the end point 4 is made the same as the start point 1, and the control points 2 and 3 of the curve are deleted. Figure 7 shows the data structure after the change.
The curve changes to a straight line as shown in FIG. After the change of the contour data is completed, the start signal I of the change of the contour data becomes 0.
And the outline data is stored in the working memory 6 (S8).

【0029】S9において、輪郭データ変更の開始シグ
ナルIが1かどうか判定し,NOのときはS11へ移
り,キャラクタROM3より輪郭データを読みだしワー
キングメモリへ格納する(S11)。YESのときはS
10へ移る。
At S9, it is determined whether the contour data change start signal I is 1 or not. If NO, the process proceeds to S11, where the contour data is read from the character ROM 3 and stored in the working memory (S11). S if YES
Move to 10.

【0030】S10において、輪郭データ変更処理で必
要な線素の始点,終点の番号及び座標値をキャラクタR
OM3より読みだし、ワーキングメモリへ記憶する。こ
の時、これらのデータが輪郭データ変更処理で利用する
ことを指示する情報も同時に記憶する。
In step S10, the start point and end point numbers and coordinate values of the line elements required for the outline data change processing are set to the character R
Read from OM3 and store in working memory. At this time, information indicating that these data are used in the contour data change processing is also stored.

【0031】輪郭データの変更処理が終了した後、アウ
トライン変換部26でセグメントデータの展開処理が実
行される(図4)。この処理が開始され、今読み出した
フラグが「S」のときには(S22:Yes)、開始座
標データがワーキングメモリ6から読み出され(S2
3)指定された文字サイズに拡大・縮小処理されるとと
もに、回転や斜体変換する変形処理(スケーリング処
理)が実行され(S24)、スケーリング処理後の開始
座標データがワーキングメモリ6の形状データバッファ
に格納さる(S25)。また、読み出しフラグが「B」
のときは(S22:No、S26:Yes)、曲線デー
タつまり第1制御点と第2制御点及び終点の3組の座標
データがワーキングメモリ6から読み出され(S2
7)、前記S24と同様に、スケーリング処理が実行さ
れ(S28)、スケーリング処理後の曲線データが複数
のショートベクトルに展開され(S29)、このショー
トベクトル処理されたアウトラインデータがワーキング
メモリ6に格納される(S25)。
After the outline data changing process is completed, the segment converting process is executed by the outline conversion unit 26 (FIG. 4). When this process is started and the flag that has just been read is “S” (S22: Yes), the start coordinate data is read from the working memory 6 (S2).
3) In addition to the enlargement / reduction processing to the designated character size, a deformation processing (scaling processing) for rotation or italic conversion is executed (S24), and the starting coordinate data after the scaling processing is stored in the shape data buffer of the working memory 6. It is stored (S25). Also, the read flag is "B"
(S22: No, S26: Yes), the curve data, that is, three sets of coordinate data of the first control point, the second control point, and the end point are read from the working memory 6 (S2: No).
7) Similar to S24, the scaling process is executed (S28), the curve data after the scaling process is developed into a plurality of short vectors (S29), and the outline data subjected to the short vector processing is stored in the working memory 6. Is performed (S25).

【0032】更に、読み出したフラグが「L」のときに
は(S22・S26:No、S30:Yes)、直線の
座標データがワーキングメモリ6から読み出され(S3
1)、S24と同様にスケーリング処理が実行され(S
32)、スケーリング処理後の直線座標データがワーキ
ングメモリ6に格納される(S25)。
Further, when the read flag is "L" (S22 / S26: No, S30: Yes), the coordinate data of the straight line is read from the working memory 6 (S3).
1) A scaling process is executed in the same manner as in S24 (S
32), the linear coordinate data after the scaling process is stored in the working memory 6 (S25).

【0033】S34において、アウトラインデータのヘ
ッダ部分で指示されたセグメントの数(N)だけデータ
が読みだされたかどうか判定し、全て読み出されたとき
はS35へ、そうでないときはS21へ戻る。
In S34, it is determined whether or not data has been read by the number (N) of segments specified in the header portion of the outline data. If all data has been read, the flow returns to S35, and if not, the flow returns to S21.

【0034】尚、読み出したフラグが「S」、「B」、
「L」の何れでもないときには(S22・S26・S3
0:No)、エラー処理が実行され(S33)、この処
理を終了する。
The read flags are "S", "B",
If it is not any of "L" (S22, S26, S3
0: No), error processing is executed (S33), and this processing ends.

【0035】ドットデータへの変換は、図8に示す画素
スクリーン32を用いて行われる(S35)。画素スク
リーンはアウトラインデータをドットデータに変換する
ための計算上のものであるが、ここでは理解を容易にす
るために実在するものとして図示することとする。又、
ここにおいて画素とは、レーザにより印字が行われる際
の最小単位であり、画素スクリーンは一平面内において
お互いに直交し、x軸方向とy軸方向とに各々平行であ
って、等間隔に設けられた複数の画素区間線pにより画
素を規定している。本実施例に於て画素は正方形とされ
ており、画素毎に印字・表示を行うか否かのドットデー
タが作成される。又、画素の中心点(以下、画素中心と
称す)を通り、x軸方向とy軸方向とに各々平行なx方
向規定線xとy方向規定線yとが設定されており、各画
素の位置は画素中心点の座標で表される。尚、画素は矩
形その他の形状とすることも可能である。
The conversion into dot data is performed using the pixel screen 32 shown in FIG. 8 (S35). The pixel screen is a computational one for converting outline data into dot data, but is illustrated here as an actual one for easy understanding. or,
Here, the pixel is the minimum unit when printing is performed by the laser, and the pixel screens are orthogonal to each other in one plane, are parallel to the x-axis direction and the y-axis direction, and are provided at equal intervals. The pixels are defined by the plurality of pixel section lines p. In this embodiment, the pixels are square, and dot data indicating whether or not to perform printing / display is created for each pixel. Further, an x-direction defining line x and a y-direction defining line y which pass through a center point of the pixel (hereinafter, referred to as a pixel center) and are respectively parallel to the x-axis direction and the y-axis direction are set. The position is represented by the coordinates of the pixel center point. Note that the pixels can be rectangular or other shapes.

【0036】画素スクリーン32は印字用紙の印字面に
対応して想定されるものであるが、図8には理解を容易
にするために1キャラクタを取り出して示してある。従
って、画素スクリーン32全体に於てx方向規定線x、
y方向規定線yに実際に付けられている目盛り値は、図
8においてx方向規定線x、y方向規定線yに付けられ
ている目盛り値に適宣の整数値を各々加えた値となる
が、ここでは1キャラクタ分についてのみ考えることと
する。アウトラインデータのドットデータへの変換は、
キャラクタの輪郭を画素スクリーン32に重ね合わせと
想定して行われ、本実施例においてはキャラクタの輪郭
内の各画素にドットが形成されるようになっており、そ
の画素のビットデータが1とされる。
The pixel screen 32 is assumed to correspond to the printing surface of the printing paper, but FIG. 8 shows one character taken out for easy understanding. Therefore, in the entire pixel screen 32, the x-direction defining line x,
The scale values actually attached to the y-direction defining line y are values obtained by adding appropriate integer values to the scale values attached to the x-direction defining line x and the y-direction defining line y in FIG. However, here, only one character is considered. Conversion of outline data to dot data
This is performed assuming that the outline of the character is superimposed on the pixel screen 32. In this embodiment, a dot is formed at each pixel within the outline of the character, and the bit data of the pixel is set to 1. You.

【0037】上述の処理に従い、図9(a)に示される
アウトラインデータをドットデータに変換すると、図9
(b)に示す本実施例の輪郭データ変更処理を施さない
出力結果に比べ、図9(c)に示すような高品質な出力
結果が得られる。
When the outline data shown in FIG. 9A is converted into dot data in accordance with the above-described processing,
Compared with the output result without the contour data change processing of the present embodiment shown in (b), a high quality output result as shown in FIG. 9C is obtained.

【0038】本発明は上述した実施例に限定されること
なく、その趣旨を逸脱しない範囲において種々の変更を
加えることができる。例えば、本実施例においては、始
点の座標値に終点の座標値を一致させたが、逆でもよ
く、また始点の座標値と終点の座標値との中間値でもよ
い。
The present invention is not limited to the above-described embodiments, and various changes can be made without departing from the spirit of the present invention. For example, in the present embodiment, the coordinate value of the end point is made to coincide with the coordinate value of the start point, but may be reversed or an intermediate value between the coordinate value of the start point and the coordinate value of the end point.

【0039】尚、レーザプリンタ以外のプリンタにも本
発明を適用し得ることはもちろん、プリンタ以外にも文
字・記号等のキャラクタのアウトラインデータをドット
データに変換する必要のある装置に一般に本発明を適用
できる。
It is to be noted that the present invention can be applied to printers other than laser printers, and that the present invention is generally applied to apparatuses other than printers which need to convert outline data of characters such as characters and symbols into dot data. Applicable.

【0040】[0040]

【発明の効果】以上説明したことから明かなように、本
発明によれば、出力装置の解像度が低くても、出力文字
・記号のサイズが小さくてもジャギーが少なく、バラン
スのとれた印字品質のよい文字・記号を出力するデータ
出力装置を提供することができる。
As is apparent from the above description, according to the present invention, even when the resolution of the output device is low or the size of the output character / symbol is small, the jaggedness is small and the print quality is balanced. A data output device that outputs a good character / symbol can be provided.

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

【図1】本実施例のレーザプリンタの制御回路のデータ
変換部のブロック図である。
FIG. 1 is a block diagram of a data conversion unit of a control circuit of a laser printer according to an embodiment.

【図2】CPUの働きを概念的に示した図である。FIG. 2 is a diagram conceptually showing the operation of a CPU.

【図3】輪郭データを変更処理するフローチャート図で
ある。
FIG. 3 is a flowchart illustrating processing for changing contour data.

【図4】セグメントデータを展開処理するフローチャー
ト図である。
FIG. 4 is a flowchart illustrating a process of expanding segment data.

【図5】輪郭形状データの構造図である。FIG. 5 is a structural diagram of contour shape data.

【図6】輪郭データ変更処理を行った後の輪郭形状デー
タの構造図である。
FIG. 6 is a structural diagram of contour shape data after a contour data change process is performed.

【図7】輪郭データ変更処理を行う前と後の曲線データ
の構造図である。
FIG. 7 is a structural diagram of curve data before and after performing contour data change processing.

【図8】画素スクリーンを示す図である。FIG. 8 is a diagram showing a pixel screen.

【図9】輪郭データ変更処理を実施したときと、しない
ときの出力結果の比較を示す図である。
FIG. 9 is a diagram illustrating a comparison between output results when a contour data change process is performed and when it is not performed.

【図10】従来の輪郭形状データの構成図である。FIG. 10 is a configuration diagram of conventional contour shape data.

【図11】従来の変換方法で得られたビットマップデー
タの図である。
FIG. 11 is a diagram of bitmap data obtained by a conventional conversion method.

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

2 CPU 3 キャラクタROM 6 ワーキングメモリ 24 輪郭データ変更部 26 アウトライン変換部 32 画素スクリーン 2 CPU 3 Character ROM 6 Working memory 24 Outline data change unit 26 Outline conversion unit 32 Pixel screen

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

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 文字・記号の1つまたは複数の閉ループ
の輪郭線のアウトラインデータを、複数行×複数列の画
素を有する画素スクリーンに重ね合わせたと想定した場
合に、前記アウトラインデータにより規定されるキャラ
クタの構成線内に一定基準を満たす状態で含まれる画素
に対応するドットデータの集合に変換するドットデータ
変換手段を備えたデータ出力装置において、 文字・記号の輪郭のデータを、輪郭線を構成する直線、
曲線等の各線素毎に示す情報と座標値データと、水平線
あるいは垂直線に対して緩やかに変化する線素であるこ
とを示す情報とで記憶したアウトラインデータ記憶手段
と、 文字・記号のポイントサイズまたは解像度がある判定値
以下の場合は、前記の緩やかに変化する線素を水平線ま
たは垂直線に変更する輪郭データ変更手段と、 を備えたことを特徴とするデータ出力装置。
1. An outline data defined by outline data of one or more closed-loop outlines of characters and symbols on a pixel screen having pixels of a plurality of rows and a plurality of columns. A data output device comprising dot data conversion means for converting into a set of dot data corresponding to pixels included in a character configuration line in a state satisfying a certain criterion. Straight line,
Outline data storage means storing information indicating each line element such as a curve, coordinate value data, and information indicating that the line element changes gradually with respect to a horizontal line or a vertical line, and the point size of characters and symbols Or a contour data changing means for changing the gently changing line element to a horizontal line or a vertical line when the resolution is lower than a certain judgment value.
JP4150663A 1992-06-10 1992-06-10 Data output device Expired - Fee Related JP3055306B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4150663A JP3055306B2 (en) 1992-06-10 1992-06-10 Data output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4150663A JP3055306B2 (en) 1992-06-10 1992-06-10 Data output device

Publications (2)

Publication Number Publication Date
JPH05341764A JPH05341764A (en) 1993-12-24
JP3055306B2 true JP3055306B2 (en) 2000-06-26

Family

ID=15501769

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4150663A Expired - Fee Related JP3055306B2 (en) 1992-06-10 1992-06-10 Data output device

Country Status (1)

Country Link
JP (1) JP3055306B2 (en)

Also Published As

Publication number Publication date
JPH05341764A (en) 1993-12-24

Similar Documents

Publication Publication Date Title
US5959635A (en) Character pattern generator
JP2876942B2 (en) Data converter
JP3055306B2 (en) Data output device
JP2770582B2 (en) Figure filling device
JP3055187B2 (en) Contour data processing device
JP3029135B2 (en) Character processing apparatus and method
JP3082228B2 (en) Data converter
KR100227178B1 (en) Character generation device
JP3087414B2 (en) Data output device
JP3087511B2 (en) Data converter
JP3055327B2 (en) Data converter
JP2881924B2 (en) Data storage device
JP2976671B2 (en) Data expansion method
JP2861201B2 (en) Data converter
KR940001106B1 (en) Image processing method and apparatus therefor
JP2697328B2 (en) Contour data processing device
JP2908194B2 (en) Character transformation control method
JPH10198333A (en) Outline character drawing device
JPH0627924A (en) Data converting device
JP3473046B2 (en) Non-erected character drawing method and apparatus
JP3362452B2 (en) Sample point creation method when converting dot pattern data to outline data
JP2841829B2 (en) Data converter
JP2738189B2 (en) Coordinate conversion method and coordinate conversion device
JP3039214B2 (en) Data converter
JPH0784739A (en) Data converter

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080414

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090414

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090414

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100414

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110414

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120414

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees