JP3087414B2 - Data output device - Google Patents

Data output device

Info

Publication number
JP3087414B2
JP3087414B2 JP04020086A JP2008692A JP3087414B2 JP 3087414 B2 JP3087414 B2 JP 3087414B2 JP 04020086 A JP04020086 A JP 04020086A JP 2008692 A JP2008692 A JP 2008692A JP 3087414 B2 JP3087414 B2 JP 3087414B2
Authority
JP
Japan
Prior art keywords
data
outline
line
horizontal
shape
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
JP04020086A
Other languages
Japanese (ja)
Other versions
JPH05216457A (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 JP04020086A priority Critical patent/JP3087414B2/en
Publication of JPH05216457A publication Critical patent/JPH05216457A/en
Application granted granted Critical
Publication of JP3087414B2 publication Critical patent/JP3087414B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Image Processing (AREA)
  • Image Generation (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 capable of efficiently storing outline data of characters such as characters and symbols.

【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】この方式では、アウトラインデータは直線
と曲線のデータのみで記憶されていた。例えば、図3
(a)又は図3(c)に示すような水平線・垂直線で構
成された輪郭形状は図3(b)又は図3(d)に示すよ
うに記憶されていた。ここでsは1閉ループの始点を指
示するフラグであり、後に続くx座標、y座標の位置を
始点とする。lは直線を表わすフラグであり、現在の位
置(カレントポイントと称する)から後に続くx座標、
y座標の位置までの直線を指示している。この様に従
来、水平線;垂直線で構成された輪郭形状を記憶するに
は構成している全直線の終点のx,y座標値を記憶する
必要があった。
In this method, outline data is stored only as straight line and curve data. For example, FIG.
The contour shape composed of horizontal and vertical lines as shown in FIG. 3A or FIG. 3C was stored as shown in FIG. 3B or FIG. 3D. Here, s is a flag indicating the start point of one closed loop, and the position of the subsequent x coordinate and y coordinate is set as the start point. l is a flag representing a straight line, and an x coordinate following the current position (referred to as a current point);
A straight line up to the y coordinate position is indicated. As described above, conventionally, it is necessary to store the x and y coordinate values of the end points of all the constituted straight lines in order to store the outline shape constituted by the horizontal line and the vertical line.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上述の
方式でアウトラインフォントデータを記憶装置に格納す
る場合、非常に大きな記憶容量が必要であるといった問
題点があった。
However, when the outline font data is stored in the storage device by the above-mentioned method, there is a problem that a very large storage capacity is required.

【0005】本発明は、上述した問題点を解決するため
になされたものであり、少ない記憶容量でアウトライン
フォントデータを記憶できるデータ出力装置を提供する
ことを目的としている。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and has as its object to provide a data output device capable of storing outline font data with a small storage capacity.

【0006】[0006]

【課題を解決するための手段】この目的を達成するため
に、本発明のデータ変換装置は、キャラクタの輪郭線の
データを始点、直線、曲線の区別を表わす情報と座標値
データのデータ群の他に、水平線と垂直線の組合せ及び
その順序を指示する情報と前記水平線又は垂直線の長さ
と方向の情報を前記順序に従って記憶するデータ記憶手
段と、当該データ記憶手段に記憶した前記輪郭線データ
を復元するためのデータ復元手段とを備えている。
In order to achieve the above object, a data conversion apparatus according to the present invention converts a data of a contour line of a character into information representing a distinction between a starting point, a straight line and a curve and a data group of coordinate value data. In addition, a combination of horizontal and vertical lines and
Data storage means for storing information indicating the order and information on the length and direction of the horizontal line or the vertical line in accordance with the order, and data restoration means for restoring the contour data stored in the data storage means. Have.

【0007】[0007]

【作用】上記の構成を有する本発明によれば、データ記
憶手段は、キャラクタの輪郭線が水平線及び垂直線で構
成されている部分に対しては、水平線と垂直線の組合せ
及びその順序を指示する情報と各水平線又は垂直線の長
さと方向の情報により輪郭線データを圧縮して記憶す
る。データ記憶手段に圧縮して記憶されている輪郭線デ
ータは、データ復元手段により数本の水平や垂直な直線
に復元される。
According to the present invention having the above-mentioned structure, the data storage means is provided with a combination of a horizontal line and a vertical line for a portion where the outline of the character is composed of a horizontal line and a vertical line.
Then, the contour data is compressed and stored based on information designating the order and information on the length and direction of each horizontal or vertical line. The contour data compressed and stored in the data storage means is restored to several horizontal and vertical straight lines by the data restoration 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, a case where the present invention is applied to a device for converting outline data into dot data in a laser printer will be described as an example.

【0010】図1はレーザプリンタの制御回路のうち、
主としてデータ変換に関する部分を示すブロック図であ
る。この制御回路の主体を成すマイクロコンピュータ部
10は、CPU12、データ記憶手段たるキャラクタR
OM14、プログラムROM16、テキストメモリ1
8、ワーキングメモリ20、ドットデータメモリ22を
備えている。これらCPU12等は、バス26により接
続されており、バス26には入力装置28及び印字部3
0が接続されている。入力装置28は必要なデータをマ
イクロコンピュータ部10に入力するものであり、印字
部30はマイクロコンピュータ部10からの指令に基づ
いてレーザプリンタ装置により印字を行なう部分であ
る。
FIG. 1 shows a control circuit of a laser printer.
It is a block diagram which mainly shows the part regarding data conversion. The microcomputer unit 10, which is a main component of the control circuit, includes a CPU 12, a character R serving as data storage means.
OM 14, program ROM 16, text memory 1
8, a working memory 20, and a dot data memory 22. The CPU 12 and the like are connected by a bus 26, and an input device 28 and a printing unit 3 are connected to the bus 26.
0 is connected. The input device 28 is for inputting necessary data to the microcomputer unit 10, and the printing unit 30 is a unit for printing by a laser printer device based on a command from the microcomputer unit 10.

【0011】CPU12には、図2に概念的に示すよう
にデータ読み出し部32と、圧縮された輪郭線データを
復元させるデータ復元手段たるデータ復元処理部34
と、アウトラインデータをドットデータに変換するアウ
トライン変換部36とが設けられている。テキストメモ
リ18は、入力装置28から入力されるコードデータか
ら成るキャラクタデータを記憶するものであり、ワーキ
ングメモリ20は、プログラム実行時に必要なデータを
一時的に記憶するものである。又、ドットデータメモリ
22にはアウトライン変換部36により得られるドット
データが記憶され、キャラクタROM14には圧縮され
た文字・記号等のアウトラインデータが記憶されてい
る。
As shown conceptually in FIG. 2, the CPU 12 has a data reading section 32 and a data restoration processing section 34 as data restoration means for restoring compressed outline data.
And an outline conversion unit 36 for converting outline data into dot data. The text memory 18 stores character data composed of code data input from the input device 28, and the working memory 20 temporarily stores data necessary for executing a program. Further, the dot data obtained by the outline conversion unit 36 is stored in the dot data memory 22, and the outline data such as compressed characters and symbols is stored in the character ROM 14.

【0012】本実施例のキャラクタROM14内のキャ
ラクタの輪郭線データは、図4(a)及び図4(d)の
水平線と垂直線の組合せ形状に対して、輪郭線データの
圧縮を行なっている。尚、個々のデータは、以下に示す
フラグとそれに伴う座標値データから成る。
The outline data of the character in the character ROM 14 of this embodiment is obtained by compressing the outline data with respect to the combination of the horizontal and vertical lines shown in FIGS. 4 (a) and 4 (d). . Each piece of data is made up of the following flags and associated coordinate value data.

【0013】本実施例で用いるフラグは、 s;始点(カレントポイントの移動) l;直線 b;Bezier曲線 F(HVH);輪郭線が水平線・垂直線・水平線で構成 F(VHV);輪郭線が垂直線・水平線・垂直線で構成 *;1閉ループ終了 !;1文字終了 である。The flags used in this embodiment are: s; start point (movement of the current point) l; straight line b; Bezier curve F (HVH); the outline is composed of horizontal, vertical and horizontal lines F (VHV); Consists of vertical lines, horizontal lines, and vertical lines *; 1 Closed loop completed! ; End of one character.

【0014】s,l,bは従来の形状フラグであり、カ
レントポイントを始点にどの様な形状を発生させるかを
示している。形状フラグの後には座標値データが記憶さ
れている。s,lはx座標、y座標の順に各々1バイト
ずつ、bの場合はx座標、y座標の順で各々1バイトず
つ2点の制御点と終点あわせて3対の座標値データが記
憶されている(bについては図示せず)。
S, l, and b are conventional shape flags, and indicate what shape is generated starting from the current point. The coordinate value data is stored after the shape flag. s and l each store one byte each in the order of x coordinate and y coordinate, and b store one byte each in the order of x coordinate and y coordinate. (B is not shown).

【0015】*及び!も従来のフラグである。これらに
は座標値データはない。
* And! Are also conventional flags. They do not have coordinate value data.

【0016】F(HVH)及びF(VHV)は輪郭線デ
ータを圧縮した形で記憶する為の形状フラグである。F
(HVH)フラグの後には、水平線;垂直線;水平線の
順序で各線の長さと方向の情報が記憶されている。ここ
で、方向は図に示すx−y座標系に従う。図4(a)の
輪郭形状の圧縮データを図4(b)に示す。スタート点
の座標値は(x0,y0)であり、この点から反時計回
りに輪郭線は定義されている。すなわち、負の方向で長
さがH1の水平線;負の方向で長さがV1の垂直線;正
の方向で長さがH2の水平線で構成されている(以下、
HVH形状と呼ぶ)。同様に、F(VHV)フラグの後
には、垂直線;水平線;垂直線の順序で各線の長さと方
向(以下、VHV形状と呼ぶ)が記憶されている。
F (HVH) and F (VHV) are shape flags for storing the contour data in a compressed form. F
After the (HVH) flag, information on the length and direction of each line is stored in the order of horizontal line; vertical line; horizontal line. Here, the direction follows the xy coordinate system shown in the figure. FIG. 4B shows compressed data of the contour shape shown in FIG. The coordinate value of the start point is (x0, y0), and the contour is defined counterclockwise from this point. That is, a horizontal line having a length of H1 in the negative direction; a vertical line having a length of V1 in the negative direction; and a horizontal line having a length of H2 in the positive direction (hereinafter, referred to as “H2”).
HVH shape). Similarly, after the F (VHV) flag, the length and direction of each line (hereinafter, referred to as VHV shape) are stored in the order of vertical line; horizontal line; vertical line.

【0017】例えば、図5の「亜」という文字の輪郭線
データを本方式を用いて記憶すると図6の様にキャラク
タROM14に記憶される。但し、外ループの輪郭デー
タは反時計回りに、内ループの輪郭データは時計回りに
定義されている。
For example, when the outline data of the character "A" in FIG. 5 is stored using this method, it is stored in the character ROM 14 as shown in FIG. However, the contour data of the outer loop is defined counterclockwise, and the contour data of the inner loop is defined clockwise.

【0018】次に図1から図9までを参照してCPU1
2で行なわれる処理を図7及び図8のフローチャートに
従って具体的に説明する。
Next, referring to FIG. 1 to FIG.
2 will be specifically described with reference to the flowcharts of FIGS.

【0019】ステップS1(以下、S1と略記する。他
のステップについても同じ。)においてアウトラインフ
ォント記憶部のキャラクタROM14からフラグを読み
出す。
In step S1 (hereinafter abbreviated as S1; the same applies to other steps), a flag is read from the character ROM 14 of the outline font storage unit.

【0020】まず、S2で1閉ループの終了を調べる。
キャラクタROMのフラグデータが*であればS2はY
ESとなり、次のフラグを読むためにS1に戻る。
First, the end of one closed loop is checked in S2.
If the character ROM flag data is *, S2 is Y
It becomes ES and returns to S1 to read the next flag.

【0021】S2でNOのとき、次に1文字のデータの
終了を調べる。フラグデータが!のときS3はYESと
なる。
If NO in S2, the end of one character data is checked. Flag data! At this time, S3 becomes YES.

【0022】S3でNOであるとき以下のデータは形状
データである。
If NO in S3, the following data is shape data.

【0023】S4乃至S8の処理は圧縮されたデータを
復元するための処理である。
The processing from S4 to S8 is for restoring the compressed data.

【0024】まず、S4でHVH形状のデータか否かを
判別する。フラグがF(HVH)のときS4はYESと
なり、以下に続くデータはHVH形状の圧縮データであ
ることが判る。S5でHVH形状の圧縮データを復元す
る。HVH形状は水平線;垂直線;水平線により構成さ
れている。従って、図4(a)に示す場合、まずカレン
トポイント(x0,y0)から水平方向に−H1移動し
た位置(x1,y1)までの直線を得、次に(x1,y
1)から垂直方向に−V1移動した位置(x2,y2)
までの直線を得る。そして最後に、(x2,y2)から
水平方向にH2移動した位置(x3,y3)までの直線
を得る。図4(c)に復元した形状データを示す。
First, in S4, it is determined whether or not the data is HVH-shaped data. When the flag is F (HVH), S4 becomes YES, and it is understood that the following data is HVH-shaped compressed data. In S5, the HVH-shaped compressed data is restored. The HVH shape is composed of a horizontal line; a vertical line; a horizontal line. Accordingly, in the case shown in FIG. 4A, first, a straight line from the current point (x0, y0) to the position (x1, y1) moved by −H1 in the horizontal direction is obtained, and then (x1, y1)
Position (x2, y2) shifted vertically by -V1 from 1)
To get a straight line. Finally, a straight line from (x2, y2) to the position (x3, y3) moved by H2 in the horizontal direction is obtained. FIG. 4C shows the restored shape data.

【0025】同様にS6でVHV形状のデータか否か、
すなわち、フラグがF(VHV)か否かを判別する。S
6でYESであれば以下のデータが圧縮されたVHV形
状データであると判断し、S7で復元する。VHV形状
は垂直線;水平線;垂直線で構成されている。従って、
図4(d)に示す場合、カレントポイント(x0,y
0)から垂直方向に−V1移動した位置(x1,y1)
までの直線を得、次に(x1,y1)から水平方向にH
1移動した位置(x2,y2)までの直線を得る。そし
て最後に、(x2,y2)から垂直方向にV2移動した
位置(x3,y3)までの直線を得る。図4(f)に復
元した形状データを示す。
Similarly, in S6, it is determined whether or not the data is VHV shape data.
That is, it is determined whether or not the flag is F (VHV). S
If YES in step 6, it is determined that the following data is compressed VHV shape data, and restoration is performed in step S7. The VHV shape is composed of vertical lines; horizontal lines; and vertical lines. Therefore,
In the case shown in FIG. 4D, the current point (x0, y
Position (x1, y1) shifted vertically by -V1 from 0)
To (x1, y1), then H
A straight line up to the position (x2, y2) moved by one is obtained. Finally, a straight line is obtained from (x2, y2) to the position (x3, y3) shifted by V2 in the vertical direction. FIG. 4F shows the restored shape data.

【0026】以上のように復元された形状データと復元
された結果できた形状データの数N(本実施例では直線
データの数)をS8でワーキングメモリ20に格納す
る。又、S6でNOと判定されたデータ、すなわち、圧
縮していない形状データもN=1とともにワーキングメ
モリ20に格納する。
The restored shape data and the number N (in this embodiment, the number of straight line data) of the restored shape data are stored in the working memory 20 in S8. The data determined to be NO in S6, that is, the uncompressed shape data is also stored in the working memory 20 together with N = 1.

【0027】S9乃至S14ではワーキングメモリ20
に格納されたデータを読み出して形状データに従った処
理を行なう。
In S9 to S14, the working memory 20
Is read out and the processing according to the shape data is performed.

【0028】まず、S9でワーキングメモリ20よりフ
ラグを読み出す。
First, a flag is read from the working memory 20 in S9.

【0029】S10では始点か否かを判定する。ワーキ
ングメモリ20から読み込んだフラグが’s’ならばS
12はYESとなりS11乃至S12を実行する。S1
1は始点の座標データを読み出している。ワーキングメ
モリ20から始点の座標データはx方向及びy方向で1
対であるので2個である。S12ではS11で読み出し
た座標データに対してスケーリング、回転、斜体変換な
どの変形処理を行なう。
In S10, it is determined whether or not it is the starting point. If the flag read from the working memory 20 is 's', S
12 is YES, and S11 to S12 are executed. S1
Numeral 1 reads the coordinate data of the starting point. The coordinate data of the starting point from the working memory 20 is 1 in the x and y directions.
Since it is a pair, it is two. In S12, transformation processing such as scaling, rotation, and italic transformation is performed on the coordinate data read in S11.

【0030】S10でNOと判定されたときは、S13
でBezier曲線か否かを判定する。ワーキングメモ
リ20から読み込んだフラグが’b’であればYESと
なり、S14乃至S16を実行する。S14ではワーキ
ングメモリ20からBezier曲線の座標データを読
み出す。Bezier曲線の座標データはx方向及びy
方向で3対あるので6個ある。S15ではS12と同様
に変形処理を行なう。S16ではS15で変形されたB
ezier曲線データをショートベクトルに展開する。
If NO is determined in S10, S13
Is used to determine whether the curve is a Bezier curve. If the flag read from the working memory 20 is 'b', the result is YES, and S14 to S16 are executed. In S14, the coordinate data of the Bezier curve is read from the working memory 20. The Bezier curve coordinate data is in the x direction and y
There are three pairs in the direction, so there are six. In S15, a deformation process is performed as in S12. In S16, B transformed in S15
The ezier curve data is developed into a short vector.

【0031】S13でNOと判定されたときは、S17
で直線か否かを判定する。ワーキングメモリ20から読
み込んだフラグが’l’であればYESとなりS18乃
至S19を実行する。S18ではワーキングメモリ20
から直線の座標データを読み出す。直線のデータはx方
向及びy方向で1対であるので2個である。S19では
S12と同様に変形処理を行なう。
If NO is determined in S13, S17
Is used to determine whether the line is straight. If the flag read from the working memory 20 is “1”, the result is YES, and S18 to S19 are executed. In S18, the working memory 20
Reads the coordinate data of the straight line from. The straight line data is two since there is a pair in the x direction and the y direction. In S19, a deformation process is performed as in S12.

【0032】S17でNOである場合はデータエラーと
しS20でエラー処理を行ない処理を終了する。
If NO in S17, a data error is determined and an error process is performed in S20, and the process ends.

【0033】S21では、S10乃至S19で処理され
たアウトラインデータをテキストメモリ18に格納す
る。又、S22でn<Nと成るときS9からの処理を繰
り返す。nは処理回数を表し、Nはワーキングメモリ2
0に格納された形状データの数である。S22でn=N
と成るときS23でワーキングメモリ20をクリアし
て、S1に戻る。
In S21, the outline data processed in S10 to S19 is stored in the text memory 18. When n <N in S22, the processing from S9 is repeated. n represents the number of processes, N represents the working memory 2
This is the number of shape data stored in 0. N = N in S22
Is satisfied, the working memory 20 is cleared in S23, and the process returns to S1.

【0034】S3で1文字データ終了と判断されたと
き、S24でテキストメモリ18に格納されたアウトラ
インデータをドットデータに変換する。ドットデータへ
の変換は、図8に示す画素スクリーン52を用いて行な
われる。画素スクリーンはアウトラインデータをドット
データに変換するための計算上のものであるが、ここで
は理解を容易にするために実在するものとして図示する
こととする。又、ここにおいて画素とは、レーザにより
印字が行なわれる際の最小印字単位であり、画素スクリ
ーン52は、一平面内においてお互いに直交し、X軸方
向とY軸方向とに各々平行であって、等間隔に設けられ
てた複数の画素区間線pにより画素を規定している。本
実施例において画素は正方形とされており、画素毎に印
字・表示を行なうか否かのドットデータが作成される。
又、画がその中心点(以下、画素中心点と称す)を通
り、X軸方向とY軸方向とにそれぞれ平行なX方向規定
線xとY方向規定線yとが設定されており、各画素の位
置は画素中心点の座標で表わされる。尚、画素は矩形そ
の他の形状とすることも可能である。
When it is determined in S3 that one-character data is completed, the outline data stored in the text memory 18 is converted into dot data in S24. The conversion into the dot data is performed using the pixel screen 52 shown in FIG. 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. Here, the pixel is a minimum printing unit when printing is performed by the laser, and the pixel screens 52 are orthogonal to each other within one plane, and are respectively parallel to the X-axis direction and the Y-axis direction. , Pixels are defined by a plurality of pixel section lines p provided at equal intervals. In the present embodiment, the pixels are square, and dot data is generated for each pixel to determine whether to print or display.
In addition, an X-direction defining line x and a Y-direction defining line y which are parallel to the X-axis direction and the Y-axis direction through an image passing through its center point (hereinafter referred to as a pixel center point) are set. The position of the pixel is represented by the coordinates of the pixel center point. Note that the pixels can be rectangular or other shapes.

【0035】画素スクリーン52は印字用紙の印字面に
対応して想定されるものであるが、図9には理解を容易
にするために1キャラクタ分を取り出して示してある。
従って、画素スクリーン52全体においてX方向規定線
x、Y方向規定線yに実際に付されている目盛値は、図
9においてX方向規定線x、Y方向規定線yに付されて
いる目盛値に適宜の整数値をそれぞれ加えた値となる
が、ここでは1キャラクタ分についてのみ考えることに
する。アウトラインデータのドットデータへの変換は、
キャラクタの輪郭を画素スクリーン52に重ね合わせと
想定して行なわれ、本実施例においてはキャラクタの輪
郭内の各画素にドットが形成されるようになっており、
その画素のビットデータが1とされる。輪郭内には1個
の画素全部または一部が含まれていることとなるが、本
実施例においては輪郭内に画素中心点が含まれるがその
ビットデータが1に設定される。
The pixel screen 52 is supposed to correspond to the printing surface of the printing paper, but FIG. 9 shows only one character for easier understanding.
Therefore, the scale values actually assigned to the X direction defining line x and the Y direction defining line y in the entire pixel screen 52 are the scale values assigned to the X direction defining line x and the Y direction defining line y in FIG. And an appropriate integer value, respectively. 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 52. In this embodiment, dots are formed at each pixel within the outline of the character.
The bit data of the pixel is set to 1. The outline includes all or a part of one pixel. In the present embodiment, the pixel center point is included in the outline, but the bit data thereof is set to 1.

【0036】本発明は上述した実施例に限定されること
なく、その主旨を逸脱しない範囲において種々の変更を
加えることができる。
The present invention is not limited to the embodiments described above, and various modifications can be made without departing from the gist of the present invention.

【0037】例えば、レーザプリンタ以外のプリンタに
も本発明を適用し得ることは勿論、プリンタ以外にも文
字・記号等のキャラクタのアウトラインデータをドット
データに変換する必要のある装置に一般に本発明を適用
できる。
For example, the present invention can be applied not only to a printer other than a laser printer but also to an apparatus which needs to convert outline data of characters such as characters and symbols into dot data in addition to a printer. Applicable.

【0038】又、本実施例では圧縮する対象となる形状
として3本の水平線又は垂直線の組合せで構成された形
状を用いたがこれに限らず、3本以外の水平線又は垂直
線の組合せ形状についても適用可能である。
In this embodiment, the shape to be compressed is a shape composed of a combination of three horizontal lines or vertical lines. However, the present invention is not limited to this, and a combination shape of horizontal lines or vertical lines other than three is used. Is also applicable.

【0039】更に、本実施例では圧縮する対象となる形
状として直線データの集合を用いたがこれに限らず、曲
線を含むその他の形状についても適用可能である。
Further, in this embodiment, a set of linear data is used as a shape to be compressed. However, the present invention is not limited to this, and other shapes including a curve can be applied.

【0040】[0040]

【発明の効果】以上詳述したことから明らかなように、
本発明によれば、少ない記憶容量でアウトラインフォン
トデータを記憶することができる文字・記号記憶装置を
提供することができる。
As is clear from the above description,
According to the present invention, it is possible to provide a character / symbol storage device capable of storing outline font data with a small storage capacity.

【図面の簡単な説明】[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 diagram showing contour shape data according to a conventional method.

【図4】水平線と垂直線より構成された形状の圧縮デー
タと復元データを示す。
FIG. 4 shows compressed data and decompressed data having a shape composed of horizontal lines and vertical lines.

【図5】「亜」の輪郭形状を示す図である。FIG. 5 is a diagram showing a contour shape of “sub”.

【図6】「亜」のデータを本方式で圧縮したデータを示
す図である。
FIG. 6 is a diagram showing data obtained by compressing “sub” data by the present method.

【図7】データ変換部の処理手順を示すフローチャート
図である。
FIG. 7 is a flowchart illustrating a processing procedure of a data conversion unit.

【図8】データ変換部の処理手順を示すフローチャート
図である。
FIG. 8 is a flowchart illustrating a processing procedure of a data conversion unit.

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

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

12 CPU 18 テキストメモリ 20 ワーキングメモリ 32 データ読み出し部 34 データ復元処理部 36 アウトライン変換部 52 画素スクリーン 12 CPU 18 Text memory 20 Working memory 32 Data readout unit 34 Data restoration processing unit 36 Outline conversion unit 52 Pixel screen

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI G06T 11/20 B41J 3/12 G (56)参考文献 特開 昭62−202274(JP,A) 特開 平2−13994(JP,A) 特開 平1−166094(JP,A) (58)調査した分野(Int.Cl.7,DB名) G09G 5/24 B41J 2/485 G06F 3/12 G06K 9/48 G06T 5/00 G06T 11/20 ──────────────────────────────────────────────────の Continuation of the front page (51) Int.Cl. 7 Identification code FI G06T 11/20 B41J 3/12 G (56) References JP-A-62-202274 (JP, A) JP-A-2-13994 ( JP, A) JP-A-1-166609 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G09G 5/24 B41J 2/485 G06F 3/12 G06K 9/48 G06T 5 / 00 G06T 11/20

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 キャラクタの輪郭線のデータを始点、直
線、曲線を識別する情報と座標値データのデータ群とし
て記憶する記憶装置を備えたデータ出力装置において、 前記キャラクタの輪郭線データを、輪郭線データの一部
の特別な形状について水平線と垂直線の組合せ及びその
順序を指示する情報と前記水平線又は垂直線の長さと方
向の情報を前記順序に従って記憶するデータ記憶手段
と、当該データ記憶手段に記憶した 前記輪郭線データを復元
するためのデータ復元手段とを備えたことを特徴とする
データ出力装置。
1. A data output device comprising a storage device for storing data of a character's outline as a data group of coordinate value data and information for identifying a starting point, a straight line, and a curve. combinations and its horizontal and vertical lines for special shapes of some of the lines data
Data storage means for storing information indicating the order and information on the length and direction of the horizontal line or the vertical line in accordance with the order, and data restoration means for restoring the contour data stored in the data storage means. A data output device.
JP04020086A 1992-02-05 1992-02-05 Data output device Expired - Fee Related JP3087414B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04020086A JP3087414B2 (en) 1992-02-05 1992-02-05 Data output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04020086A JP3087414B2 (en) 1992-02-05 1992-02-05 Data output device

Publications (2)

Publication Number Publication Date
JPH05216457A JPH05216457A (en) 1993-08-27
JP3087414B2 true JP3087414B2 (en) 2000-09-11

Family

ID=12017300

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04020086A Expired - Fee Related JP3087414B2 (en) 1992-02-05 1992-02-05 Data output device

Country Status (1)

Country Link
JP (1) JP3087414B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102304916B (en) * 2011-06-21 2013-08-14 北京航空航天大学 Construction method of anchor bolt static-pressure extruded and expanded cast-in-place pile and implementation devices thereof
KR101931104B1 (en) * 2017-08-11 2018-12-20 황주환 Gyroscopic type exerciser

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102304916B (en) * 2011-06-21 2013-08-14 北京航空航天大学 Construction method of anchor bolt static-pressure extruded and expanded cast-in-place pile and implementation devices thereof
KR101931104B1 (en) * 2017-08-11 2018-12-20 황주환 Gyroscopic type exerciser

Also Published As

Publication number Publication date
JPH05216457A (en) 1993-08-27

Similar Documents

Publication Publication Date Title
JP3087414B2 (en) Data output device
JP2770582B2 (en) Figure filling device
JP2850979B2 (en) Character processing apparatus and method
KR100227178B1 (en) Character generation device
JP2881924B2 (en) Data storage device
JP2819961B2 (en) Printing control device
JP3055306B2 (en) Data output device
JP2618528B2 (en) Character drawing device, character output correction method, and character output device
JP3087427B2 (en) Contour data converter
JP2861201B2 (en) Data converter
JP3033152B2 (en) Outline data processing device
JP3057959B2 (en) Data converter
JP3055327B2 (en) Data converter
JP3362452B2 (en) Sample point creation method when converting dot pattern data to outline data
JP3057963B2 (en) Data converter
JP3254657B2 (en) Data converter
JPS6173991A (en) Display method and apparatus
JP2989604B2 (en) Pattern restoration method
JP3473046B2 (en) Non-erected character drawing method and apparatus
JP3039214B2 (en) Data converter
JP3119095B2 (en) Character storage
JPH0784739A (en) Data converter
JPS62175794A (en) Character generator
JPH09325748A (en) Device and method for generating character pattern
JPH04120594A (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

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

Free format text: PAYMENT UNTIL: 20080714

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090714

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100714

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110714

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees