JPH05216457A - Data output device - Google Patents

Data output device

Info

Publication number
JPH05216457A
JPH05216457A JP4020086A JP2008692A JPH05216457A JP H05216457 A JPH05216457 A JP H05216457A JP 4020086 A JP4020086 A JP 4020086A JP 2008692 A JP2008692 A JP 2008692A JP H05216457 A JPH05216457 A JP H05216457A
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.)
Granted
Application number
JP4020086A
Other languages
Japanese (ja)
Other versions
JP3087414B2 (en
Inventor
Hitoshi Yoshida
均 吉田
Naoyuki Kawamoto
直幸 川本
Kazuma Aoki
一磨 青木
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)

Abstract

PURPOSE:To store contour line data with a smaller storage capacity by storing information instructing the combination of horizontal and vertical lines and information of lengths and directions in the particular shapes of a part of contour line data of characters. CONSTITUTION:CPU 12 consists of a data reading part 32, a data restoring part 34 for restoring the compressed contour line data and an outline coverting part 36 for converting outline data to dot data. Dot data obtained from the outline converting part 36 are stored in a dot data memory 22 and the outline data such as the compressed characters and signs are stored in a character ROM 14. The compression of contour line data to the combined shapes of the horizontal and vertical lines of the contour line data of characters in a character ROM 14 is performed.

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 Heretofore, as an apparatus for generating characters such as characters and symbols, there is an outline method using contour data of characters and symbols (hereinafter referred to as outline data). This method reads out outline data from the storage unit according to the index code signal, scales it to an arbitrary point size, and converts it into dot data.The converted data is output from an output device such as a laser printer. Was there.

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

【0004】[0004]

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

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

【0006】[0006]

【課題を解決するための手段】この目的を達成するため
に、本発明のデータ変換装置は、キャラクタの輪郭線の
データを始点、直線、曲線の区別を表わす情報と座標値
データのデータ群の他に、水平線と垂直線の組合せを指
示する情報と前記水平線及び垂直線の長さと方向の情報
で記憶するデータ記憶手段と、圧縮して格納してある前
記輪郭線データを復元するためのデータ復元手段とを備
えている。
In order to achieve this object, the data conversion apparatus of the present invention uses information representing the distinction between a starting point, a straight line and a curved line of the data of the character outline and a data group of coordinate value data. In addition, a data storage unit that stores information indicating a combination of horizontal lines and vertical lines, information about the lengths and directions of the horizontal lines and vertical lines, and data for restoring the contour line data stored by compression. And restoration means.

【0007】[0007]

【作用】上記の構成を有する本発明によれば、データ記
憶手段は、キャラクタの輪郭線が水平線及び垂直線で構
成されている部分に対しては、水平線と垂直線の組合せ
を指示するフラグデータと各水平線及び垂直線の長さと
方向データにより輪郭線データを圧縮して記憶する。デ
ータ記憶手段に圧縮して記憶されている輪郭線データ
は、データ復元手段により数本の水平や垂直な直線に復
元される。
According to the present invention having the above-mentioned structure, the data storage means provides the flag data for instructing the combination of the horizontal line and the vertical line for the portion where the outline of the character is composed of the horizontal line and the vertical line. The contour line data is compressed and stored according to the length and direction data of each horizontal line and vertical line. The contour line 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]

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

【0009】尚、本実施例では、レーザプリンタにおい
てアウトラインデータをドットデータに変換する装置に
本発明を適用した場合を例として説明する。
In this embodiment, the case where the present invention is applied to an apparatus 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 the main body of this control circuit includes a CPU 12 and a character R which is a data storage means.
OM14, program ROM16, text memory 1
8. A working memory 20 and a dot data memory 22 are provided. These CPU 12 and the like are connected by a bus 26, and the input device 28 and the 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 performing printing by the laser printer device based on a command from the microcomputer unit 10.

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

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

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

【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 kind of shape is generated starting from the current point. Coordinate value data is stored after the shape flag. s and l store 1 byte each in the order of x coordinate and y coordinate, and in the case of b store 1 byte each in the order of x coordinate and y coordinate, and store 3 pairs of coordinate value data including 2 control points and end points. (B is not shown).

【0015】*及び!も従来のフラグである。これらに
は座標値データはない。
* And! Is also a conventional flag. These 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 line data in a compressed form. F
After the (HVH) flag, information about the length and direction of each line is stored in the order of horizontal line; vertical line; horizontal line. Here, the directions follow the xy coordinate system shown in the figure. The compressed data of the contour shape of FIG. 4A is shown in FIG. The coordinate value of the start point is (x0, y0), and the contour line is defined counterclockwise from this point. That is, a horizontal line having a length H1 in the negative direction; a vertical line having a length V1 in the negative direction; and a horizontal line having a length H2 in the positive direction (hereinafter,
Called 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, if the contour 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 FIGS. 1 to 9, the CPU 1
The process performed in 2 will be specifically described with reference to the flowcharts of FIGS. 7 and 8.

【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 section.

【0020】まず、S2で1閉ループの終了を調べる。
キャラクタROMのフラグデータが*であればS2はY
ESとなり、次のフラグを読むためにS1に戻る。
First, the end of one closed loop is checked in S2.
If the flag data of the character ROM 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 the data of one character is checked next. Flag data is! If so, S3 is YES.

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

【0023】S4乃至S8の処理は圧縮されたデータを
復元するための処理である。
The processes of S4 to S8 are processes 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 the HVH shape data. When the flag is F (HVH), S4 is YES, and it is understood that the data that follows is HVH-shaped compressed data. In S5, the HVH-shaped compressed data is restored. The HVH shape is composed of horizontal lines; vertical lines; horizontal lines. Therefore, in the case of FIG. 4A, a straight line from the current point (x0, y0) to the position (x1, y1) horizontally moved by −H1 is first obtained, and then (x1, y1).
Position (x2, y2) moved by -V1 from 1) in the vertical direction
Get a straight line up to. Then, finally, a straight line from (x2, y2) to a 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, whether or not the data is the VHV shape data,
That is, it is determined whether the flag is F (VHV). S
If YES in step 6, it is determined that the following data is compressed VHV shape data, and the data is restored in step S7. The VHV shape is composed of vertical lines; horizontal lines; vertical lines. Therefore,
In the case shown in FIG. 4D, the current point (x0, y
Position (x1, y1) moved by -V1 from 0) in the vertical direction
Straight line up to, and then from (x1, y1) to H in the horizontal direction
A straight line up to the moved position (x2, y2) is obtained. Finally, a straight line from (x2, y2) to the position (x3, y3) moved by V2 in the vertical direction is obtained. FIG. 4F shows the restored shape data.

【0026】以上のように復元された形状データと復元
された結果できた形状データの数N(本実施例では直線
データの数)をS8でワーキングメモリ20に格納す
る。又、S6でNOと判定されたデータ、すなわち、圧
縮していない形状データもN=1とともにワーキングメ
モリ20に格納する。
The shape data restored as described above and the number N of shape data obtained as a result of the restoration (the number of straight line data in this embodiment) are stored in the working memory 20 in S8. The data determined as 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 used.
The data stored in is read and the processing according to the shape data is performed.

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

【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', then S
12 is YES and S11 to S12 are executed. S1
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, there are 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 in S10, S13
It is determined whether or not it is a Bezier curve. If the flag read from the working memory 20 is'b ', YES is obtained and S14 to S16 are executed. In S14, the Bezier curve coordinate data is read from the working memory 20. The coordinate data of the Bezier curve is in the x direction and y.
Since there are 3 pairs in the direction, there are 6 pairs. In S15, the transformation process is performed as in S12. In S16, B transformed in S15
Expand ezier curve data into short vectors.

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

【0032】S17でNOである場合はデータエラーと
しS20でエラー処理を行ない処理を終了する。
If the answer is NO in S17, it is determined that there is a data error, 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 times of processing, N is the working memory 2
It is the number of shape data stored in 0. N = N in S22
If so, 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 has ended, the outline data stored in the text memory 18 is converted into dot data in S24. Conversion into dot data is performed using the pixel screen 52 shown in FIG. Pixel screens are computational for converting outline data to dot data, but are shown here as being real for ease of understanding. Further, the pixel here is a minimum printing unit when printing is performed by a laser, and the pixel screens 52 are orthogonal to each other in one plane and are 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 this embodiment, the pixels are square, and dot data indicating whether or not printing / displaying is performed is created for each pixel.
Further, 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 and which pass through the center point (hereinafter referred to as the pixel center point) of the image are set. The position of a pixel is represented by the coordinates of the pixel center point. Note that the pixel may have a rectangular shape or another shape.

【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 in FIG. 9 one character is taken out for easy understanding.
Therefore, the scale values actually attached to the X direction defining line x and the Y direction defining line y in the entire pixel screen 52 are the scale values attached to the X direction defining line x and the Y direction defining line y in FIG. Is added with an appropriate integer value, but here, only one character will be considered. To convert 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. Although one pixel is wholly or partially included in the contour, in this embodiment, the pixel center point is included in the contour, but the bit data is set to 1.

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

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

【0038】又、本実施例では圧縮する対象となる形状
として3本の水平線又は垂直線の組合せで構成された形
状を用いたがこれに限らず、3本以外の水平線又は垂直
線の組合せ形状についても適用可能である。
In this embodiment, the shape to be compressed is a shape formed by combining three horizontal lines or vertical lines. However, the shape 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 straight line data is used as the shape to be compressed, but the shape is not limited to this, and other shapes including a curved line 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 drawings]

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

【図2】CPUの働きを概念的に示した図である。FIG. 2 is a diagram conceptually showing a function 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 of a shape composed of horizontal lines and vertical lines.

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

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

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

【図8】データ変換部の処理手順を示すフローチャート
図である。
FIG. 8 is a flowchart showing 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 reading unit 34 Data restoration processing unit 36 Outline conversion unit 52 Pixel screen

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 G06F 15/72 355 U 9192−5L G06K 9/48 9289−5L ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification code Internal reference number FI Technical display location G06F 15/72 355 U 9192-5L G06K 9/48 9289-5L

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 キャラクタの輪郭線のデータを始点、直
線、曲線を識別する情報と座標値データのデータ群とし
て記憶する記憶装置を備えたデータ出力装置において、 前記キャラクタの輪郭線データを、輪郭線データの一部
の特別な形状について水平線と垂直線の組合せを指示す
る情報と前記水平線及び垂直線の長さと方向の情報で記
憶するデータ記憶手段と、 圧縮して格納してある前記輪郭線データを復元するため
のデータ復元手段とを備えたことを特徴とするデータ出
力装置。
1. A data output device comprising a storage device for storing character contour data as a data group of coordinate value data and information for identifying a starting point, a straight line, and a curve, wherein the character contour data is Data storing means for storing a combination of horizontal and vertical lines for a part of a special shape of the line data, and data for storing the length and direction of the horizontal and vertical lines; and the contour line compressed and stored. A data output device comprising: a data restoration unit for restoring data.
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 true JPH05216457A (en) 1993-08-27
JP3087414B2 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)

Families Citing this family (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
JP3087414B2 (en) 2000-09-11

Similar Documents

Publication Publication Date Title
JP3037854B2 (en) Character generation method and device
JP3087414B2 (en) Data output device
JP2770582B2 (en) Figure filling device
JP3146771B2 (en) Font rasterizing apparatus and method
KR100227178B1 (en) Character generation device
JP2819961B2 (en) Printing control device
JP2881924B2 (en) Data storage device
JP3055306B2 (en) Data output device
JP2861201B2 (en) Data converter
JP3033152B2 (en) Outline data processing device
JPS6356693A (en) Character dot conversion system
JP2727667B2 (en) Drawing equipment
JP2908194B2 (en) Character transformation control method
JP3057963B2 (en) Data converter
JP3473046B2 (en) Non-erected character drawing method and apparatus
JP3072756B2 (en) Drawing equipment
JP3055327B2 (en) Data converter
JPH09325748A (en) Device and method for generating character pattern
JPS62175794A (en) Character generator
JPH04321099A (en) Character display device for bit map display
JPS6173991A (en) Display method and apparatus
JPH08123393A (en) Character storage device
JPH0981546A (en) Method for coding of documet with text character and method for transmission of document coded by said method
JPH0784739A (en) Data converter
JPH03261573A (en) Reduction printing system

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