JPH06318062A - Method for compressing pattern data and pattern output device using compressed pattern data - Google Patents

Method for compressing pattern data and pattern output device using compressed pattern data

Info

Publication number
JPH06318062A
JPH06318062A JP5106818A JP10681893A JPH06318062A JP H06318062 A JPH06318062 A JP H06318062A JP 5106818 A JP5106818 A JP 5106818A JP 10681893 A JP10681893 A JP 10681893A JP H06318062 A JPH06318062 A JP H06318062A
Authority
JP
Japan
Prior art keywords
data
pattern
inflection point
point
data indicating
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.)
Pending
Application number
JP5106818A
Other languages
Japanese (ja)
Inventor
Kenji Ishida
健二 石田
Kazuaki Ikeda
和昭 池田
Yasuyuki Fukutomi
泰幸 福富
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.)
Seikosha KK
Original Assignee
Seikosha KK
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seikosha KK filed Critical Seikosha KK
Priority to JP5106818A priority Critical patent/JPH06318062A/en
Publication of JPH06318062A publication Critical patent/JPH06318062A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE:To provide a method for compressing the data by omitting prescribed pattern data and a pattern output device at a low cost using the compressed data. CONSTITUTION:This method is constituted so that among respective coordinate data of a start point, an inflection point 1, the inflection point 2, an end point showing the patterns of the outline, etc., of a character, the data of the start point are compared with the data of the inflection point 1, and the coincident data are omitted from the data of the inflection point 1, and the data of the inflection point 2 is compared with the data of the end point, and the coincident data are omitted from the data of the inflection point 2, and by adding the coincident bit data showing the omitted data, the pattern data are compressed, and the pattern is outputted using the compressed data.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、パターンデータ圧縮方
法およびその圧縮パターンデータを用いるパターン出力
装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pattern data compression method and a pattern output device using the compressed pattern data.

【0002】[0002]

【従来の技術】従来、文字や図形等のパターンデータを
直線と曲線のアウトラインで持つプリンタは、例えば図
1に示した3次ベジェ曲線を用いたアウトライン図形の
データを、図2に示したように、始点、変曲点および終
点のそれぞれ縦方向位置および横方向位置を示す値をそ
のまま並べた形式で記憶してあるROM等の記憶手段を
有し、この記憶手段のデータを用いて印刷を行なってい
た。
2. Description of the Related Art Conventionally, a printer having pattern data such as characters and figures in outlines of straight lines and curves has, for example, outline figure data using the cubic Bezier curve shown in FIG. 1 as shown in FIG. In addition, there is a storage means such as a ROM in which the values indicating the vertical position and the horizontal position of the start point, the inflection point and the end point are stored as they are, and printing is performed using the data of this storage means. I was doing.

【0003】[0003]

【発明が解決しようとする課題】上記従来のデータ形式
では、上記各点の縦方向位置および横方向位置を示す値
をそのまま並べて記憶しているのでROM等の記憶容量
が膨大なものとなり、その分プリンタのコストアップに
つながっていた。
In the above conventional data format, since the values indicating the vertical position and the horizontal position of each point are arranged and stored as they are, the storage capacity of the ROM or the like becomes enormous. Minute printer cost was increased.

【0004】本発明は、パターンデータ圧縮方法および
その方法で圧縮したパターンデータを用いることにより
低コストのパターン出力装置を提供することを目的とし
ている。
It is an object of the present invention to provide a pattern data compression method and a low cost pattern output device by using pattern data compressed by the method.

【0005】[0005]

【課題を解決するための手段】本発明は、始点データ、
終点データおよび変曲点データからなる曲線のパターン
データにおいて、始点データと終点データをそれぞれ変
曲点データと比較し、一致するデータがある場合に上記
変曲点データからその一致するデータを省略することに
より上記曲線のパターンデータを圧縮することにより、
上記課題を解決するものである。
The present invention is based on starting point data,
In the curve pattern data consisting of the end point data and the inflection point data, the start point data and the end point data are respectively compared with the inflection point data, and if there is a coincident data, the coincident data is omitted from the inflection point data. By compressing the pattern data of the above curve,
This is to solve the above problem.

【0006】なお、上記始点データ、変曲点データおよ
び終点データは、それぞれ縦方向位置を示すデータと横
方向位置を示すデータであることが望ましい。
The start point data, the inflection point data, and the end point data are preferably data indicating a vertical position and data indicating a horizontal position, respectively.

【0007】また、本発明は、始点の縦方向位置を示す
データおよび横方向位置を示すデータと、終点の縦方向
位置を示すデータおよび横方向位置を示すデータと、変
曲点の縦方向位置を示すデータおよび横方向位置を示す
データとからなる曲線のパターンデータにおいて、始点
の縦方向位置を示すデータと変曲点の縦方向位置を示す
データとが一致している場合に変曲点の縦方向位置を示
すデータを省略し、始点の横方向位置を示すデータと変
曲点の横方向位置を示すデータとが一致している場合に
変曲点の横方向位置を示すデータを省略し、終点の縦方
向位置を示すデータと変曲点の縦方向位置を示すデータ
とが一致している場合に変曲点の縦方向位置を示すデー
タを省略し、終点の横方向位置を示すデータと変曲点の
横方向位置を示すデータとが一致している場合に変曲点
の横方向位置を示すデータを省略し、上記データを省略
した場合に、どのデータを省略したかを示すデータを付
加することにより上記曲線のパターンデータを圧縮する
ことにより、上記課題を解決するものである。
Further, according to the present invention, the data indicating the vertical position of the start point and the data indicating the horizontal position, the data indicating the vertical position of the end point and the data indicating the horizontal position, and the vertical position of the inflection point. Of the inflection point in the pattern data of the curve consisting of the data indicating the horizontal position and the data indicating the horizontal position, and the data indicating the vertical position of the start point and the data indicating the vertical position of the inflection point match. The data indicating the vertical position is omitted, and the data indicating the horizontal position of the inflection point is omitted when the data indicating the horizontal position of the start point and the data indicating the horizontal position of the inflection point match. , When the data indicating the vertical position of the end point and the data indicating the vertical position of the inflection point match, the data indicating the vertical position of the inflection point is omitted, and the data indicating the horizontal position of the end point is omitted. And the lateral position of the inflection point If the data indicating the lateral position of the inflection point is omitted when the data matches, and if the above data is omitted, the data indicating which data is omitted is added to the pattern of the curve. The above problem is solved by compressing data.

【0008】また、本発明は、上記パターンデータ圧縮
方法によって圧縮されたパターンデータを記憶してある
記憶手段と、パターンを出力する出力手段と、上記記憶
手段に記憶してあるパターンデータに基づいて上記出力
手段でパターンを出力せしめる制御手段とを設けること
により、上記課題を解決するものである。
The present invention is also based on the storage means for storing the pattern data compressed by the pattern data compression method, the output means for outputting the pattern, and the pattern data stored in the storage means. The above problem is solved by providing a control unit that causes the output unit to output a pattern.

【0009】[0009]

【実施例】以下、本発明の一実施例を図面に基づいて説
明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0010】なお、アウトラインフォント(アウトライ
ン図形)を表現する曲線には例えば3次ベジェ曲線や3
次スプライン曲線等の3次曲線を用い、“始点”,“変
曲点1”,“変曲点2”,“終点”によって1つの曲線
が表わされる。
A curve representing an outline font (outline figure) may be, for example, a cubic Bezier curve or a curve.
Using a cubic curve such as a quadratic spline curve, one curve is represented by "start point", "inflection point 1", "inflection point 2", and "end point".

【0011】本発明方法による圧縮データは、例えば図
3に示したように、一致ビットデータと始点、変曲点
1、変曲点2および終点の各座標データ(16進数表
示)からなる。その座標データは(縦座標データ,横座
標データ)という構成になっている。なお、始点と終点
の縦座標データは16進数表示で“7F”以下すなわち
MSBが必ず“0”となるようにする。上記一致ビット
データは、ビットaが“1”であれば、省略されたデー
タがあることを示し、ビットbが“1”であれば、変曲
点1の縦座標データが始点のそれと同じなので省略して
いることを示し、ビットcが“1”であれば、変曲点1
の横座標データが始点のそれと同じなので省略してある
ことを示し、ビットdが“1”であれば、変曲点2の縦
座標データが終点のそれと同じなので省略してあること
を示し、ビットeが“1”であれば、変曲点2の横座標
データが終点のそれと同じなので省略してあることを示
す。
The compressed data according to the method of the present invention, for example, as shown in FIG. 3, consists of coincidence bit data and coordinate data (in hexadecimal notation) of start point, inflection point 1, inflection point 2 and end point. The coordinate data has a structure of (ordinate data, abscissa data). The ordinate data of the start point and the end point should be "7F" or less in hexadecimal notation, that is, the MSB must be "0". If the bit a is "1", it means that there is omitted data, and if the bit b is "1", the ordinate data of the inflection point 1 is the same as that of the start point. If the bit c is "1", the inflection point 1 is indicated.
Indicates that the abscissa data of is the same as that of the start point and therefore has been omitted. If bit d is "1", it means that the ordinate data of the inflection point 2 is the same as that of the end point, and therefore has been omitted. If the bit e is "1", it means that the abscissa data of the inflection point 2 is the same as that of the end point, so that it is omitted.

【0012】つぎに、図4に示したフローチャートに沿
って、データ圧縮動作について説明する。いま、図2に
示したデータを圧縮するものとする。
Next, the data compression operation will be described with reference to the flow chart shown in FIG. Now, assume that the data shown in FIG. 2 is compressed.

【0013】まず、図2に示した1番目の曲線データの
始点(00,10)から終点(10,20)までの座標
データを読み込む(ステップ1A)。
First, the coordinate data from the start point (00, 10) to the end point (10, 20) of the first curve data shown in FIG. 2 is read (step 1A).

【0014】つづいて、始点の座標データ(00,1
0)と変曲点1の座標データ(00,15)について縦
座標データ同士および横座標データ同士を比較する(ス
テップ1B)。
Next, the coordinate data (00, 1) of the starting point
0) and the coordinate data (00, 15) of the inflection point 1 are compared with each other between the ordinate data and the abscissa data (step 1B).

【0015】ここで、一致した座標データがあれば、上
記一致ビットデータのビットbとcのうち上記一致した
座標データと対応するビットを“1”にし、つづいて変
曲点1の一致した座標データを消去する(ステップ1
C)。いま、上記各点の縦座標データ(00)が一致し
ているので、上記一致ビットデータのビットbを“1”
にするとともに、変曲点1の縦座標データ(00)を消
去する。
If there is coincident coordinate data, the bit corresponding to the coincident coordinate data among the bits b and c of the coincident bit data is set to "1", and then the coincident coordinate of the inflection point 1 is obtained. Erase the data (Step 1
C). Now, since the ordinate coordinate data (00) of each of the points match, the bit b of the matching bit data is "1".
And the ordinate data (00) of the inflection point 1 is erased.

【0016】一方、ステップ1Bにおいて縦座標データ
も横座標データも不一致の場合は、上記一致ビットデー
タのビットbおよびcをそれぞれ“0”にする(ステッ
プ1D)。
On the other hand, if the ordinate coordinate data and the abscissa data do not match in step 1B, the bits b and c of the matching bit data are set to "0" (step 1D).

【0017】つぎに、変曲点2の座標データ(05,2
0)と終点の座標データ(10,20)について縦座標
データ同士および横座標データ同士を比較する(ステッ
プ1E)。
Next, coordinate data (05, 2) of the inflection point 2
The ordinate data and the abscissa data of the coordinate data (0) and the coordinate data (10, 20) of the end point are compared (step 1E).

【0018】ここで、一致した座標データがあれば、上
記一致ビットデータのビットdとeのうち上記一致した
座標データと対応するビットを“1”にし、つづいて変
曲点2の一致した座標データを消去する(ステップ1
F)。いま、上記各点の横座標データ(20)が一致し
ているので、上記一致ビットデータのビットeを“1”
にするとともに、変曲点2の横座標データ(20)を消
去する。
If there is coincident coordinate data, the bit corresponding to the coincident coordinate data among the bits d and e of the coincident bit data is set to "1", and then the coordinate at which the inflection point 2 coincides. Erase the data (Step 1
F). Since the abscissa data (20) of each point are now in agreement, the bit e of the above-mentioned coincidence bit data is "1".
And the abscissa data (20) of the inflection point 2 is erased.

【0019】一方、ステップ1Eにおいて縦座標データ
も横座標データも不一致の場合は、上記一致ビットデー
タのビットdおよびeをそれぞれ“0”にする(ステッ
プ1G)。
On the other hand, if the ordinate data and the abscissa data do not match in step 1E, the bits d and e of the matching bit data are set to "0" (step 1G).

【0020】つぎに、ビットb〜eに“1”があるか否
かを判定し(ステップ1H)、“1”がある場合は、上
記一致ビットデータのビットaを“1”にする(ステッ
プ1I)。いま、ビットbおよびeが“1”なのでビッ
トaが“1”となり、上記一致ビットデータは(100
01001)すなわち16進数表示で“89”となる。
Next, it is judged whether or not the bits b to e have "1" (step 1H), and if there is "1", the bit a of the matching bit data is set to "1" (step 1H). 1I). Now, since the bits b and e are "1", the bit a becomes "1", and the matching bit data is (100
01001), that is, "89" in hexadecimal notation.

【0021】つづいて、上記一致ビットデータ(100
01001)と、ステップ1Cおよび1Fで圧縮した座
標データすなわち(00,10,15,05,10,2
0)というデータをROM等の後述の記憶手段に格納す
る(ステップ1J)。
Subsequently, the coincidence bit data (100
01001) and the coordinate data compressed in steps 1C and 1F, that is, (00, 10, 15, 05, 10, 2)
The data 0) is stored in a storage means such as a ROM described later (step 1J).

【0022】ところで、ステップ1Hにおいてビットb
〜eがすべて“0”であると判定した場合は、上記一致
ビットデータは省略し、始点(00,10)から終点
(10,20)までの各座標データを、そのまま後述の
記憶手段に格納する(ステップ1K)。
By the way, in step 1H, bit b
When it is determined that all of e are "0", the coincidence bit data is omitted and each coordinate data from the start point (00,10) to the end point (10,20) is stored in the storage means described later as it is. Yes (step 1K).

【0023】以上のようにして上記記憶手段に格納され
た曲線データは、一致ビットデータが格納されている場
合はビットaが“1”なので先頭データが16進数表示
で“80”以上となり、一致ビットデータが格納されて
いない場合は先頭データは始点の縦座標データなので1
6進数表示で“7F”以下となる。
In the curve data stored in the storage means as described above, when the matching bit data is stored, the bit a is "1", so that the leading data is "80" or more in hexadecimal notation, and the match. If bit data is not stored, the top data is the vertical coordinate data of the start point, so 1
It is "7F" or less in hexadecimal notation.

【0024】このようにして図2の1番目の曲線データ
についての圧縮処理を行なった後、同様にして2番目、
3番目、4番目の曲線データの圧縮処理を行ない、デー
タを圧縮する。
In this way, the compression processing is performed on the first curve data in FIG.
The third and fourth curve data are compressed to compress the data.

【0025】図6に上記方法により圧縮されたパターン
データを用いるパターン出力装置の構成を示す。同図に
おいて、51は上記圧縮方法により圧縮されたパターン
データを予め記憶してあるROM等の記憶手段、52は
パターン出力命令等の制御命令を発生するパソコン等の
ホスト装置、53はパターンを出力する出力手段であ
り、本例では印字ヘッド等からなる印刷手段とする。5
4はホスト装置52からの命令にしたがって記憶手段5
1に記憶されている圧縮パターンデータを伸張して出力
手段53で印刷を行なわせるCPU等からなる制御手
段、55は制御手段54によって伸張されたパターンデ
ータを一時的に格納するバッファである。
FIG. 6 shows the configuration of a pattern output device using pattern data compressed by the above method. In the figure, reference numeral 51 is a storage means such as ROM in which the pattern data compressed by the above compression method is stored in advance, 52 is a host device such as a personal computer which generates a control command such as a pattern output command, and 53 is a pattern output. The output means is a printing means including a print head or the like in this example. 5
4 is a storage means 5 according to an instruction from the host device 52.
1 is a control means including a CPU for decompressing the compressed pattern data stored in 1 for printing by the output means 53, and 55 is a buffer for temporarily storing the pattern data decompressed by the control means 54.

【0026】ホスト装置52からパターン出力命令が発
生すると、制御手段54は記憶手段51から所望のパタ
ーンデータを読み出して、そのデータを伸張してバッフ
ァ55に格納する。そしてバッファ55に格納されたパ
ターンデータに基づいて印刷手段53で印刷を行なわせ
る。
When a pattern output command is issued from the host device 52, the control means 54 reads desired pattern data from the storage means 51, decompresses the data and stores it in the buffer 55. Then, the printing unit 53 prints based on the pattern data stored in the buffer 55.

【0027】つぎに、上記パターンデータの伸張動作に
ついて、図7のフローチャートに沿って説明する。い
ま、図5に示した圧縮パターンデータを伸張する場合に
ついて説明する。以下のデータ読込みや判定等の動作制
御は制御手段54によって行なわれる。
Next, the expansion operation of the pattern data will be described with reference to the flowchart of FIG. Now, a case of expanding the compressed pattern data shown in FIG. 5 will be described. The operation control such as the following data reading and determination is performed by the control means 54.

【0028】まず、記憶手段51から先頭から8ビット
の圧縮データを読み込む(ステップ2A)。
First, 8-bit compressed data from the beginning is read from the storage means 51 (step 2A).

【0029】つづいて、その読み込んだデータが一致ビ
ットデータか否かを判定する(ステップ2B)。一致ビ
ットデータはMSBが“1”なので、読み込んだ8ビッ
トデータは16進数表示で必ず“80”以上になる。す
なわち、ステップ2Bの判定では、先頭の8ビットデー
タが16進数表示で“80”以上か否かを判定するので
ある。
Subsequently, it is determined whether the read data is coincidence bit data (step 2B). Since the MSB of the matching bit data is "1", the read 8-bit data is always "80" or more in hexadecimal notation. That is, in the determination of step 2B, it is determined whether the leading 8-bit data is "80" or more in hexadecimal notation.

【0030】一致ビットデータでない場合すなわち“7
F”以下の場合は、始点の座標データであるということ
なので、終点までの座標データを順次読み込んでいく
(ステップ2C)。
If it is not coincident bit data, that is, "7"
In the case of F ″ or less, it means that the coordinate data is the starting point, so the coordinate data up to the ending point is sequentially read (step 2C).

【0031】一致ビットデータである場合すなわち“8
0”以上の場合は、つづいて変曲点1に関するビットb
およびcの状態を判定する(ステップ2D)。いま、最
初のデータは(10001001)すなわち16進数表
示で“89”なので省略している座標データがあると判
定される。
In case of coincidence bit data, that is, "8"
If it is equal to or greater than 0 ", then bit b relating to inflection point 1
And the states of c are determined (step 2D). Now, since the first data is (10001001), that is, "89" in hexadecimal notation, it is determined that there is omitted coordinate data.

【0032】つづいて、始点の座標データとともに、ス
テップ2Dにおいてビットbとcのうち“1”であると
判定したものは、そのビットと対応する変曲点1の座標
データを始点のそれと同じものとして読み込み、バッフ
ァ55に格納する(ステップ2E)。いま、ビットbが
“1”なのでこれと対応する変曲点1の縦座標データを
始点の縦座標データ(00)と同じにしてバッファ55
に格納する。すなわち、バッファ55には始点の座標デ
ータが(00,10)、変曲点1の座標データが(0
0,15)として格納される。
Next, in addition to the coordinate data of the starting point, the one determined to be "1" of the bits b and c in step 2D has the same coordinate data of the inflection point 1 corresponding to the bit as that of the starting point. And stores it in the buffer 55 (step 2E). Now, since the bit b is "1", the ordinate data of the inflection point 1 corresponding to this is made the same as the ordinate data of the starting point (00) and the buffer 55
To store. That is, the coordinate data of the starting point is (00, 10) and the coordinate data of the inflection point 1 is (0
0, 15).

【0033】ステップ2Dにおいて、ビットbとcがい
ずれも“0”であると判定した場合は、変曲点1の座標
データは省略されていないので、始点と変曲点1の座標
データをそのまま読み込み、バッファ55に格納する
(ステップ2F)。
When it is determined in step 2D that both the bits b and c are "0", the coordinate data of the inflection point 1 is not omitted, and therefore the coordinate data of the start point and the inflection point 1 are not changed. It is read and stored in the buffer 55 (step 2F).

【0034】ステップ2Eまたはステップ2Fにつづい
て、変曲点2に関するビットdおよびeの状態を判定す
る(ステップ2G)。
Following step 2E or 2F, the states of the bits d and e relating to the inflection point 2 are determined (step 2G).

【0035】ステップ2Gにおいてビットdとeのうち
“1”であると判定したものは、そのビットと対応する
変曲点2の座標データを終点のそれと同じものとして、
終点の座標データとともに読み込み、バッファ55に格
納する(ステップ2H)。いま、ビットeが“1”なの
で、これと対応する変曲点2の横座標データを終点の横
座標データ(20)と同じにしてバッファ55に格納す
る。すなわち、バッファ55には変曲点2の座標データ
が(05,20)、終点の座標データが(10,20)
として格納される。
If it is determined in step 2G that the bit d and e is "1", the coordinate data of the inflection point 2 corresponding to that bit is the same as that of the end point,
It is read together with the coordinate data of the end point and stored in the buffer 55 (step 2H). Since the bit e is "1" now, the abscissa data of the inflection point 2 corresponding thereto is stored in the buffer 55 in the same manner as the abscissa data (20) of the end point. That is, the buffer 55 stores the coordinate data of the inflection point 2 (05, 20) and the coordinate data of the end point (10, 20).
Is stored as

【0036】ステップ2Gにおいて、ビットdとeがい
ずれも“0”であると判定した場合は、変曲点2の座標
データは省略されていないので、変曲点2と終点の座標
データをそのまま読み込み、バッファ55に格納する
(ステップ2I)。
If it is determined in step 2G that both the bits d and e are "0", the coordinate data of the inflection point 2 is not omitted, and therefore the coordinate data of the inflection point 2 and the end point are not changed. It is read and stored in the buffer 55 (step 2I).

【0037】このようにして、図5に示した圧縮データ
について伸張処理を行なう。その後、曲線データを記憶
手段51から順次読み出して上記と同様の伸張処理を行
ない、バッファ55に格納された伸張処理後のデータに
基づいて出力手段53でパターンを印刷する。
In this way, the decompression process is performed on the compressed data shown in FIG. After that, the curve data is sequentially read from the storage means 51 and the same decompression processing as described above is performed, and the pattern is printed by the output means 53 based on the decompressed data stored in the buffer 55.

【0038】なお、上記実施例では出力手段53を印字
ヘッド等からなる印刷手段としたが、CRT等を用いて
パターンを表示する表示手段としてもよい。
Although the output means 53 is a printing means including a print head in the above embodiment, it may be a display means for displaying a pattern using a CRT or the like.

【0039】[0039]

【発明の効果】本発明によれば、パターンデータを圧縮
することができ、その圧縮データを格納するROM等の
記憶手段の記憶容量を節約することができ、プリンタ等
のパターン出力手段のコスト低減を実現することができ
る。
According to the present invention, the pattern data can be compressed, the storage capacity of the storage means such as the ROM for storing the compressed data can be saved, and the cost of the pattern output means such as the printer can be reduced. Can be realized.

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

【図1】曲線パターンの一例を示した説明図FIG. 1 is an explanatory diagram showing an example of a curve pattern.

【図2】従来のパターンデータ形式を示した説明図FIG. 2 is an explanatory diagram showing a conventional pattern data format.

【図3】本発明のパターンデータ形式を示した説明図FIG. 3 is an explanatory diagram showing a pattern data format of the present invention.

【図4】本発明によるパターンデータ圧縮方法を説明す
るためのフローチャート
FIG. 4 is a flowchart for explaining a pattern data compression method according to the present invention.

【図5】本発明による圧縮パターンデータを示した説明
FIG. 5 is an explanatory diagram showing compressed pattern data according to the present invention.

【図6】本発明によるパターン出力装置の構成例を示し
たブロック図
FIG. 6 is a block diagram showing a configuration example of a pattern output device according to the present invention.

【図7】本発明によるパターン出力装置のパターン出力
動作を説明するためのフローチャート
FIG. 7 is a flowchart for explaining a pattern output operation of the pattern output device according to the present invention.

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

51 記憶手段 53 出力手段 54 制御手段 51 storage means 53 output means 54 control means

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 始点データ、終点データおよび変曲点デ
ータからなる曲線のパターンデータにおいて、始点デー
タと終点データをそれぞれ変曲点データと比較し、一致
するデータがある場合に上記変曲点データからその一致
するデータを省略することにより上記曲線のパターンデ
ータを圧縮することを特徴とするパターンデータ圧縮方
法。
1. In the pattern data of a curve consisting of start point data, end point data and inflection point data, the start point data and the end point data are respectively compared with the inflection point data, and if there is matching data, the inflection point data is obtained. The pattern data compression method is characterized in that the pattern data of the curve is compressed by omitting the matching data from.
【請求項2】 上記始点データ、変曲点データおよび終
点データは、それぞれ縦方向位置を示すデータと横方向
位置を示すデータとからなることを特徴とする請求項1
記載のパターンデータ圧縮方法。
2. The start point data, the inflection point data, and the end point data each include data indicating a vertical position and data indicating a horizontal position.
The described pattern data compression method.
【請求項3】 始点の縦方向位置を示すデータおよび横
方向位置を示すデータと、終点の縦方向位置を示すデー
タおよび横方向位置を示すデータと、変曲点の縦方向位
置を示すデータおよび横方向位置を示すデータとからな
る曲線のパターンデータにおいて、始点の縦方向位置を
示すデータと変曲点の縦方向位置を示すデータとが一致
している場合に変曲点の縦方向位置を示すデータを省略
し、始点の横方向位置を示すデータと変曲点の横方向位
置を示すデータとが一致している場合に変曲点の横方向
位置を示すデータを省略し、終点の縦方向位置を示すデ
ータと変曲点の縦方向位置を示すデータとが一致してい
る場合に変曲点の縦方向位置を示すデータを省略し、終
点の横方向位置を示すデータと変曲点の横方向位置を示
すデータとが一致している場合に変曲点の横方向位置を
示すデータを省略し、上記データを省略した場合に、ど
のデータを省略したかを示すデータを付加することによ
り上記曲線のパターンデータを圧縮することを特徴とす
るパターンデータ圧縮方法。
3. Data indicating a vertical position of a start point and data indicating a horizontal position, data indicating a vertical position of an end point and data indicating a horizontal position, and data indicating a vertical position of an inflection point. In the curve pattern data consisting of data indicating the horizontal position, if the data indicating the vertical position of the start point and the data indicating the vertical position of the inflection point match, the vertical position of the inflection point is determined. If the data indicating the horizontal position of the start point and the data indicating the horizontal position of the inflection point match, the data indicating the horizontal position of the inflection point is omitted, and the vertical direction of the end point is omitted. When the data indicating the directional position and the data indicating the vertical position of the inflection point match, the data indicating the vertical position of the inflection point is omitted, and the data indicating the horizontal position of the end point and the inflection point are omitted. Of the horizontal position of If the data indicating the lateral position of the inflection point is omitted, and if the above data is omitted, the data indicating which data is omitted can be added to compress the curve pattern data. Characteristic pattern data compression method.
【請求項4】 請求項1〜3のいずれかに記載のパター
ンデータ圧縮方法によって圧縮されたパターンデータを
記憶してある記憶手段と、 パターンを出力する出力手段と、 上記記憶手段に記憶してあるパターンデータに基づいて
上記出力手段でパターンを出力せしめる制御手段と、 を具備することを特徴とするパターン出力装置。
4. Storage means for storing pattern data compressed by the pattern data compression method according to claim 1, output means for outputting a pattern, and storage means for storing in the storage means. A pattern output device comprising: a control unit that causes the output unit to output a pattern based on certain pattern data.
JP5106818A 1993-05-07 1993-05-07 Method for compressing pattern data and pattern output device using compressed pattern data Pending JPH06318062A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5106818A JPH06318062A (en) 1993-05-07 1993-05-07 Method for compressing pattern data and pattern output device using compressed pattern data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5106818A JPH06318062A (en) 1993-05-07 1993-05-07 Method for compressing pattern data and pattern output device using compressed pattern data

Publications (1)

Publication Number Publication Date
JPH06318062A true JPH06318062A (en) 1994-11-15

Family

ID=14443397

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5106818A Pending JPH06318062A (en) 1993-05-07 1993-05-07 Method for compressing pattern data and pattern output device using compressed pattern data

Country Status (1)

Country Link
JP (1) JPH06318062A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03220979A (en) * 1990-01-26 1991-09-30 Brother Ind Ltd Compressing device and recovery device for contour line data

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03220979A (en) * 1990-01-26 1991-09-30 Brother Ind Ltd Compressing device and recovery device for contour line data

Similar Documents

Publication Publication Date Title
US4707153A (en) Printer controller
JPH06318062A (en) Method for compressing pattern data and pattern output device using compressed pattern data
JP2584973B2 (en) Recognition result output method in character recognition device
JP3203660B2 (en) Image recording device
JP2887928B2 (en) Image data output device
JPH07271528A (en) Print system
JPH05224846A (en) Printing and recording device
JPH06161398A (en) Image pattern transfer system
JPH05173535A (en) Method for compressing character font data
JP3211711B2 (en) Drawing device, drawing method, printer and image display device
JP3260803B2 (en) Image processing device
JP3778068B2 (en) Image data expansion method and image display control apparatus
JPH1031669A (en) Font data processor
JPH11102268A (en) Printer and printing control method
JPS60245088A (en) Character recognition and correction system
JPH05158757A (en) Dump output method
JPH06332666A (en) Compressing method for data
JPH02287739A (en) Memory access method
JPH11272256A (en) Character display control device and its control method
JPH05274095A (en) Printer controller
JP2002326403A (en) Imaging apparatus, imaging method and imaging program
JP2000198246A (en) Print data processor
JPH08305335A (en) Character processor
JPH0952393A (en) Printer and character processing method in printer
JPH0725078A (en) Text processing device