JPH0481894A - Outline data processing device - Google Patents
Outline data processing deviceInfo
- Publication number
- JPH0481894A JPH0481894A JP2196527A JP19652790A JPH0481894A JP H0481894 A JPH0481894 A JP H0481894A JP 2196527 A JP2196527 A JP 2196527A JP 19652790 A JP19652790 A JP 19652790A JP H0481894 A JPH0481894 A JP H0481894A
- Authority
- JP
- Japan
- Prior art keywords
- data
- segment
- outline
- straight line
- stored
- 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
Links
- 230000015654 memory Effects 0.000 claims description 29
- 238000010586 diagram Methods 0.000 description 15
- 238000006243 chemical reaction Methods 0.000 description 12
- 238000000034 method Methods 0.000 description 10
- 238000007639 printing Methods 0.000 description 6
- 230000003936 working memory Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 3
- 102100021424 Rod outer segment membrane protein 1 Human genes 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 101001106432 Homo sapiens Rod outer segment membrane protein 1 Proteins 0.000 description 1
- 238000007648 laser printing Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 239000013598 vector Substances 0.000 description 1
Landscapes
- Dot-Matrix Printers And Others (AREA)
- Laser Beam Printer (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
産業上の利用分野
本発明は文字、数字、記号等の複数のキャラクタのアウ
トラインデータを記憶して保存するとともに必要に応じ
てそのアウトラインデータを出力するアウトラインデー
タ処理装置に関するものであり、特にアウトラインデー
タを保存するのに必要な記憶容量を節減する技術に関す
るものである。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an outline data processing device that stores outline data of a plurality of characters such as letters, numbers, symbols, etc., and outputs the outline data as necessary. In particular, it relates to a technique for reducing the storage capacity required to store outline data.
従来の技術
上記アウトラインデータ処理装置は例えば、キャラクタ
を印字媒体上に印刷したり、表示器の画面に表示するキ
ャラクタ出力装置に用いられる。2. Description of the Related Art The outline data processing device described above is used, for example, in a character output device that prints characters on a print medium or displays them on a display screen.
このキャラクタ出力装置の一例は、(a)各々1つまた
は複数のアウトライン(1本の閉じた線)で規定される
複数のキャラクタのアウトラインデータをキャラクタ毎
に記憶するアウトラインデータメモリと、(b)各アウ
トラインデータをドツトデータに変換するデータ変換手
段と、(C)アウトラインデータメモリに記憶されてい
る複数のキャラクタの中から印字媒体1表示器の画面等
の出力媒体に出力すべきものを選び出すとともに、その
キャラクタに対応するアウトラインデータをデータ変換
手段に供給するアウトラインデータ供給手段と、(d)
データ変換手段により変換されたドツトデータに基づい
て、キャラクタを出力媒体に出力するキャラクタ出力手
段とを含むものである。An example of this character output device includes (a) an outline data memory that stores, for each character, outline data of a plurality of characters each defined by one or more outlines (one closed line); and (b) (C) data conversion means for converting each outline data into dot data; (d) outline data supply means for supplying outline data corresponding to the character to the data conversion means;
The apparatus includes a character output means for outputting a character to an output medium based on the dot data converted by the data conversion means.
従来のキャラクタ出力装置においては、各キャラクタの
各アウトラインが複数のセグメント(直線または曲線)
に分割されていて、アウトラインデータメモリには、各
アウトラインに属する各セグメントを規定するセグメン
トデータがセグメント毎に記憶されるようになっていた
。常にキャラクタがセグメント単位で記憶されるように
なっていたのである。In traditional character output devices, each outline of each character consists of multiple segments (straight or curved).
In the outline data memory, segment data defining each segment belonging to each outline is stored for each segment. Characters were always stored in segments.
しかし、本出願人の研究により、常にキャラクタをセグ
メント単位で記憶させることが望ましいとは限らず、キ
ャラクタをセグメント列単位で記憶させることが望まし
い場合があることが判明した。そして、本出願人はその
知見に基づいて、アウトラインデータメモリとデータ発
生手段とアウトラインデータ出力手段とを含むアウトラ
インデータ処理装置を案出した。アウトラインデータメ
モリは、キャラクタの各アウトラインが分割された複数
のセグメントのうち特定のセグメント列を構成するもの
については、そのセグメント列を規定するセグメント列
データをセグメント列毎に記憶する一方、他のセグメン
トについては、各セグメントを規定するセグメントデー
タをセグメンI・毎に記憶するものであり、データ発生
手段は、そのアウトラインデータメモリに記憶されてい
る各セグメント列データに基づいて、各セグメント列に
対応するセグメントデータを発生させるものであって、
アウトラインデータ出力手段は、そのデータ発生手段に
より発生させられたセグメントデータとアウトラインデ
ータメモリに記憶されているセグメントデータとから成
るアウトラインデータを出力するものである。However, through research conducted by the present applicant, it has been found that it is not always desirable to store characters in units of segments, and there are cases where it is desirable to store characters in units of segment rows. Based on this knowledge, the applicant has devised an outline data processing device that includes an outline data memory, data generation means, and outline data output means. Outline data memory stores segment column data that defines a specific segment column among multiple segments into which each outline of a character is divided, and stores segment column data that defines that segment column for each segment column. , the segment data that defines each segment is stored for each segment I, and the data generating means is configured to generate data corresponding to each segment column based on the segment column data stored in the outline data memory. Generates segment data,
The outline data output means outputs outline data consisting of the segment data generated by the data generation means and the segment data stored in the outline data memory.
発明が解決しようとする課題
本出願人はその後、上記案出したアウトラインデータ処
理装置(以下、単に案出装置という)についてアウトラ
インデータ保存のための記憶容量を節減する研究を行い
、その結果、次のような事実が判明した。キャラクタの
各アウトラインを構成する複数のセグメントの中には一
定の相対位置関係を有して互に接続される特定のセグメ
ント列が存在しており、そのセグメント列については、
それを構成する複数のセグメントを規定する複数のセグ
メントデータを上記一定の相対位置関係すなわちその特
定のセグメント列に関する図形上の性質を用いて圧縮し
得ることが判明し、さらに、その特定のセグメント列を
セグメントデータでではなく上記圧縮されたセグメント
データ(これは前記案出装置におけるrセグメント列デ
ータ」の−態様である)でアウトラインデータメモリに
記憶させれば、アウトラインデータ保存のための記憶容
量が節減できるという事実も判明したのである。Problems to be Solved by the Invention The present applicant subsequently conducted research on reducing the storage capacity for storing outline data with respect to the outline data processing device devised above (hereinafter simply referred to as the devised device), and as a result, the following results were obtained. The following facts were discovered. Among the multiple segments that make up each outline of a character, there are specific segment rows that are connected to each other with a certain relative positional relationship.
It has been found that it is possible to compress a plurality of segment data defining a plurality of segments constituting the segment data using the above-mentioned fixed relative positional relationship, that is, the graphical property regarding the specific segment column, and If the above-mentioned compressed segment data (this is the form of "r segment string data in the devising device") is stored in the outline data memory instead of segment data, the storage capacity for storing the outline data can be reduced. It has also become clear that savings can be made.
本発明は以上の知見に基づいて、前記案出装置の一実施
態様であって、アウトラインデータを保存するのに必要
な記憶容量を図形上の性質を用いて節減し得るアウトラ
インデータ処理装置を提供することを課題として為され
たものである。Based on the above findings, the present invention provides an outline data processing device that is an embodiment of the devising device and is capable of reducing the storage capacity required to store outline data by using graphic properties. This was done with the goal of doing so.
課題を解決するための手段
そして、本発明の要旨は、第1図に示すように、上記ア
ウトラインデータ処理装置を、(a)各アウトラインが
分割された複数のセグメントのうち特定のセグメント列
を構成するものについては、そのセグメント列に属する
各セグメントを規定するセグメントデータがそのセグメ
ント列に関する図形上の性質を用いて圧縮された圧縮セ
グメントデータをセグメント列毎に記憶する一方、他の
セグメントについては、各セグメントを規定するセグメ
ントデータをセグメント毎に記憶するアウトラインデー
タメモリ1と、(b)そのアウトラインデータメモリ1
に記憶されている各圧縮セグメントデータを図形上の性
質を用いてセグメントデータに復元するデータ復元手段
2と、(C)そのデータ復元手段2により復元されたセ
グメントデータとアウトラインデータメモリ1に記憶さ
れているセグメントデータとから成るアウトラインデー
タを出力するアウトラインデータ出力手段3とを含むも
のとしたことにある。Means for Solving the Problems The gist of the present invention is to, as shown in FIG. For those that store compressed segment data for each segment column, the segment data that defines each segment belonging to that segment column is compressed using the graphical properties related to that segment column, while for other segments, (b) an outline data memory 1 that stores segment data that defines each segment; and (b) the outline data memory 1.
(C) data restoration means 2 for restoring each compressed segment data stored in the memory 1 into segment data using graphical properties; and (C) segment data restored by the data restoration means 2 and outline data stored in the memory 1. and outline data output means 3 for outputting outline data consisting of segment data.
作用
本発明に係るアウトラインデータ処理装置においては、
各アウトラインを構成する複数のセグメントのうち特定
のセグメント列を構成するものについては、セグメント
データが図形上の性質を用いて圧縮された圧縮セグメン
トデータがセグメント列毎に記憶される一方、他のセグ
メントについては、セグメントデータがセグメント毎に
記憶されている。そして、アウトラインデータを出力す
る際には、複数のセグメントのうち特定のセグメントを
構成するものについては、アウトラインデータメモリか
ら圧縮セグメントデータが読み出されるとともに、その
圧縮セグメントデータが図形上の性質を用いてセグメン
トデータに復元され、さらに、その復元されたセグメン
トデータと、アウトラインデータメモリに記憶されてい
るセグメントデータとから成るアウトラインデータが出
力される。Function: In the outline data processing device according to the present invention,
Of the multiple segments that make up each outline, for those that make up a specific segment column, compressed segment data in which the segment data is compressed using the graphical properties is stored for each segment column, while other segments , segment data is stored for each segment. When outputting outline data, compressed segment data is read from the outline data memory for those that constitute a specific segment among multiple segments, and the compressed segment data is The segment data is restored, and outline data consisting of the restored segment data and the segment data stored in the outline data memory is output.
発明の効果
そのため、本発明に従えば、特定のセグメント列を規定
するセグメントデータが図形上の性質を用いて圧縮され
てアウトラインデータメモリに保存されるから、アウト
ラインデータ保存のための記憶容量が節減されるという
効果が得られる。Effects of the Invention Therefore, according to the present invention, segment data defining a specific segment string is compressed using graphic properties and stored in an outline data memory, so that the storage capacity for storing outline data is reduced. This has the effect of being done.
実施例
以下、本発明をレーザプリンタのうちアウトラインデー
タをドツトデータに変換するデータ変換装置に適用する
場合に好適な一実施例を図面に基づいて詳細に説明する
。Embodiment Hereinafter, an embodiment suitable for applying the present invention to a data conversion device for converting outline data into dot data among laser printers will be described in detail with reference to the drawings.
第2図はレーザプリンタの制御回路のうち、データ変換
に関する部分を主として示す図である。FIG. 2 is a diagram mainly showing the portion related to data conversion of the control circuit of the laser printer.
この制御回路の主体を成すコンピュータ10は、CPU
12.キャラクタROM14.プログラムROM16
テキストメモリ18 ワーキングメモリ20.ドツト
データメモリ22等を備えている。それらCPU12等
はバス26により互に接続されており、このバス26に
は入力装置30および印字部32が接続されている。入
力装置30は必要なデータをコンピュータ10に供給す
るものであり、印字部32はコンピュータ10からの信
号に基づいてレーザプリント方式により印字を行う部分
である。The computer 10 that forms the main body of this control circuit is a CPU
12. Character ROM14. Program ROM16
Text memory 18 Working memory 20. It is equipped with a dot data memory 22 and the like. These CPUs 12 and the like are connected to each other by a bus 26, and an input device 30 and a printing section 32 are connected to this bus 26. The input device 30 supplies necessary data to the computer 10, and the printing section 32 is a section that performs printing using a laser printing method based on signals from the computer 10.
プログラムROM16には第3図および第4図にフロー
チャートで表されるデータ変換ルーチンを始め、種々の
制御プログラムが記憶されている。The program ROM 16 stores various control programs including data conversion routines shown in flowcharts in FIGS. 3 and 4.
キャラクタROM14には、複数の漢字のアウトライン
を規定するための元アウトラインデータが索引コードデ
ータに関連付けて記憶されている。The character ROM 14 stores original outline data for defining outlines of a plurality of kanji characters in association with index code data.
漢字を規定する1つまたは複数のアウトラインはそれぞ
れ、各々直線またはベジェ(Bezjer)曲線である
複数のセグメントに分割されている。Each of the one or more outlines defining a Kanji is divided into a plurality of segments, each of which is a straight line or a Bezzer curve.
漢字が1つのアウトラインで規定される場合には、漢字
の元アウトラインデータはその1本のアウトラインを規
定する単位アウトラインデータと漢字終了フラグとの集
合となり、また、漢字が複数のアウトラインで規定され
る場合には、漢字の元アウトラインデータはそれら各ア
ウトラインを規定する複数の単位アウトラインデータと
漢字終了フラグとの集合となる。また、各単位アウトラ
インデータは開始データ、直線データ、ベジェ曲線デー
タ、圧縮縦り字形データ、圧縮槽り字形データ、圧縮長
方形データおよびアウトライン終了フラグにより構成さ
れている。When a kanji is defined by one outline, the original outline data of the kanji is a set of unit outline data that defines that one outline and a kanji end flag, and when a kanji is defined by multiple outlines. In this case, the original outline data of a kanji is a set of a plurality of unit outline data defining each outline and a kanji end flag. Further, each unit outline data is composed of start data, straight line data, Bezier curve data, compressed vertical character data, compressed tank vertical character data, compressed rectangular data, and an outline end flag.
開始データは、各アウトラインについてそれに属する複
数のセグメントを一方向にたどる場合の始点S(以下、
アウトライン始点Sという)を規定するものである。そ
のため、開始データは、第5図に示すように、自身が開
始データであることを示すフラグl S lと、アウト
ライン始点SのXy座標(以下、単に座標という)を表
す始点データとから成っている。The start data is the starting point S (hereinafter referred to as
This defines the outline starting point S). Therefore, as shown in Fig. 5, the start data consists of a flag lSl indicating that it is the start data, and start point data indicating the Xy coordinates (hereinafter simply referred to as coordinates) of the outline start point S. There is.
これに対して、直線データは、各セグメントが直線であ
る場合に用いられてその直線を規定するものである。そ
のため、直線データは、第5図に示すように、自身が直
線データであることを示すフラグ°L1と、その直線の
終点Eの座標を表す終点データとから成っている。なお
、直線データにはその直線の始点Sの座標を表す始点デ
ータは含まれていない。これは、この直線の始点Sは前
記開始データによって規定されるか、または、その直線
に先行するセグメントの終点Eと一致する事実に基づい
て、その終点Eが現に問題となっている直線の始点Sと
して用いられるからである。On the other hand, straight line data is used when each segment is a straight line to define that straight line. Therefore, as shown in FIG. 5, the straight line data consists of a flag L1 indicating that it is straight line data, and end point data indicating the coordinates of the end point E of the straight line. Note that the straight line data does not include starting point data representing the coordinates of the starting point S of the straight line. This is based on the fact that the starting point S of this straight line is defined by the starting data or coincides with the ending point E of the segment preceding the straight line, so that the ending point E is the starting point of the straight line in question. This is because it is used as S.
また、この事情はベジェ曲線データ、圧縮縦り字形デー
タ、圧縮機り字形データおよび圧縮長方形データについ
ても同しである。This situation also applies to Bezier curve data, compressed vertical glyph data, compressed vertical glyph data, and compressed rectangular data.
ベジェ曲線は、それの始点Sおよび終点Eと、制御点Q
、、Q2と、予め定められているベジェ曲線関数とによ
って一義的に決定されるものである。そのため、ベジェ
曲線データは、第5図に示すように、自身がベジェ曲線
データであることを示すフラグB°と、制御点Q、の座
標を表す第1制御点データと、制御点Q2の座標を表す
第2制御点データと、終点Eの終点データとから成って
いる。なお、上記ベジェ曲線関数はプログラムROM1
6に記憶されている。すなわち、本実施例においては、
それら開始データ、直線データおよびベジェ曲線データ
がそれぞれセグメントデータなのである。A Bezier curve has its starting point S, ending point E, and control point Q.
, , Q2 and a predetermined Bezier curve function. Therefore, as shown in FIG. 5, the Bezier curve data includes a flag B° indicating that it is Bezier curve data, first control point data indicating the coordinates of the control point Q, and coordinates of the control point Q2. It consists of second control point data representing the end point E and end point data of the end point E. Note that the Bezier curve function described above is stored in the program ROM1.
6 is stored. That is, in this example,
The start data, straight line data, and Bezier curve data are each segment data.
漢字の各アウトラインの一部には、第6図に示す縦り字
形セグメント列と、第9図に示す横り字形セグメント列
とが存在することがある。それらセグメント列はいずれ
も、X軸方向に延びる直線セグメントとy軸方向に延び
る直線セグメントとが互に接続されたものである。具体
的には、縦り字形セグメント列は第6図に示すように、
■セグメント列始点Sから正または負のy軸方向(縦方
向)に延びて終点E、に至る直!L、と、■終点E、か
ら正または負のX軸方向(横方向)に延びて終点Ez(
セグメント列終点でもある)に至る直線L2とから成る
ものであり、一方、横り字形セグメント列は第9図に示
すように、■セグメント列始点Sから正または負のX軸
方向に延びて終点E、に至る直線り、と、■終点E1か
ら正または負のy軸方向に延びて終点E2 (セグメン
ト列終点でもある)に至る直線L2とから成るものであ
る。A portion of each outline of a kanji character may include a column of vertical glyph-shaped segments shown in FIG. 6 and a string of horizontal glyph-shaped segments shown in FIG. 9. In each of these segment rows, straight line segments extending in the X-axis direction and straight line segments extending in the y-axis direction are connected to each other. Specifically, the vertical glyph segment row is as shown in FIG.
■ A straight line extending from the segment row starting point S in the positive or negative y-axis direction (vertical direction) to the ending point E! L, and ■extend from the end point E in the positive or negative X-axis direction (lateral direction) to the end point Ez (
On the other hand, as shown in FIG. 9, the horizontal segment line extends from the segment line start point S in the positive or negative X-axis direction and reaches the end point. A straight line L2 extends from the end point E1 in the positive or negative y-axis direction to the end point E2 (which is also the end point of the segment row).
したがって、ML字形セグメント列を規定する複数のセ
グメントデータ(以下、単に死線り字形データという)
は第7図に示すように、直線り。Therefore, a plurality of segment data (hereinafter simply referred to as dead line glyph data) defining the ML glyph segment string
is a straight line, as shown in Figure 7.
を規定する直線データ〔フラグL゛、終点Eの座標(x
o、)’+))と、直線L2を規定する直線データ〔フ
ラグ′L“、終点E2の座標(x+、y+))との集合
となる。なお、同図にはML字形セグメント列の始点S
を規定する開始データが記載されているが、縦り字形セ
グメント列に先行するセグメントがキャラクタROM1
4に記憶されている場合には、その先行セグメントの終
点が縦り字形セグメント列の始点に流用される。Straight line data [flag L', coordinates of end point E (x
o, )'+)) and the straight line data [flag 'L'', coordinates (x+, y+) of the end point E2] that define the straight line L2. S
However, the segment preceding the vertical segment string is character ROM1.
4, the end point of the preceding segment is used as the start point of the vertical segment string.
いずれにしても、1ilL字形セグメント列の始点5(
xo、yo)はキャラクタROM14に記憶されている
のである。また、この事情は横り字形セグメント列につ
いても後述の長方形セグメント列についても同じである
。In any case, the starting point 5 (
xo, yo) are stored in the character ROM 14. Further, this situation is the same for horizontal glyph segment rows and rectangular segment rows to be described later.
第6図から明らかなように、縦り字形セグメント列を一
義的に決定するためには、座標X。。As is clear from FIG. 6, the coordinate X must be used to uniquely determine the vertical segment string. .
X+、yoおよびylの各値が判明すれば十分である。It is sufficient to know the values of X+, yo and yl.
しかし、縦15字形セグメント列をセグメントデータで
キャラクタROM14に記憶させる場合には、座標x0
およびy、がそれぞれ重複して記憶されることとなって
無駄である。そこで、本実施例においては、縦り字形セ
グメント列については、第8図に示すように、■自身が
圧縮縦り字形データであることを示すフラグl T l
と、■終点E2の終点データ(x+ 、)’+ )との
集合である前記圧縮縦り字形データ(前記死線り字形デ
ータが圧縮されたもの)がキャラクタROM14に記憶
されるとともに、縦り字形セグメント列の終点E、の座
標X。にセグメント列始点Sの座標X0が流用され、終
点E1の座標yIに終点E2の座標yIが流用されるよ
うになっている。このように、長方形の性質を用いれば
死線り字形データをそれよりデータ量が少ない圧縮縦り
字形データに圧縮することができるのである。However, when storing a vertical 15-character segment string in the character ROM 14 as segment data, the coordinates x0
and y are stored redundantly, which is wasteful. Therefore, in this embodiment, for the vertical glyph segment string, as shown in FIG.
The compressed vertical glyph data (the dead line glyph data is compressed), which is a set of The coordinate X of the end point E of the segment string. The coordinate X0 of the starting point S of the segment row is used as the coordinate yI of the end point E1, and the coordinate yI of the end point E2 is used as the coordinate yI of the end point E1. In this way, by using the properties of a rectangle, it is possible to compress dead line glyph data into compressed vertical glyph data with a smaller amount of data.
一方、横り字形セグメント列を規定する複数のセグメン
トデータ(以下、単に元横り字形データという)は第1
0図に示すように、直線り、を規定する直線データ〔フ
ラグ°L゛、終点E、の座標(x+ 、yo ))と、
直線L2を規定する直線データ(フラグ′L°、終点E
t □の座標(Xl。On the other hand, the plurality of segment data (hereinafter simply referred to as the original horizontal glyph data) defining the horizontal glyph segment string are the first
As shown in FIG.
Straight line data defining straight line L2 (flag 'L°, end point E
Coordinates of t □ (Xl.
y、)〕との集合となる。第9図から明らかなように、
横り字形セグメント列を一義的に決定するためには、座
標X6 + XI+ yoおよびy、の各個が判明
すれば十分なのであるが、横り字形セグメント列をセグ
メントデータでキャラクタROM14に記憶させる場合
には、座標X、およびy。y, )]. As is clear from Figure 9,
In order to uniquely determine the horizontal glyph segment string, it is sufficient to know the coordinates X6 + XI + yo and y, but when storing the horizontal glyph segment string as segment data in the character ROM 14, are the coordinates X, and y.
がそれぞれ重複して記憶されることとなって無駄である
。そこで、本実施例においては、横り字形セグメント列
については、第11図に示すように、■自身が圧縮板り
字形データであることを示すフラグ°Y゛と、■終点E
2の終点データ(x+y、)との集合である前記圧縮i
L字形データ(前記元横り字形データが圧縮されたもの
)がキャラクタROM14に記憶されるとともに、横1
1字形セグメント列の終点E、の座標X、に終点E2の
座標X、が流用され、終点E、の座標y。にセグメント
列始点Sの座標y0が流用されるようになっている。こ
のように、長方形の性質を用いれば元横り字形データを
それよりデータ量が少ない圧縮板り字形データに圧縮す
ることができるのである。are stored redundantly, which is wasteful. Therefore, in this embodiment, for the horizontal glyph segment string, as shown in FIG.
The compressed i is a set of end point data (x+y,) of 2.
The L-shaped data (the original horizontal character data compressed) is stored in the character ROM 14, and the horizontal 1
The coordinate X of the end point E2 is used as the coordinate X of the end point E of the single-character segment string, and the coordinate y of the end point E is used. The coordinate y0 of the segment row starting point S is used in the following. In this way, by using the properties of a rectangle, it is possible to compress the original horizontal glyph data into compressed board glyph data with a smaller amount of data.
また、漢字の各アウトラインは長方形の4辺により構成
されることがある。漢字の「口」を規定する2つのアウ
トラインがそれの一例である。各アウトラインが長方形
セグメント列である場合があるのである。また、各アウ
トラインについて複数のセグメントをたどる方向は原則
として反時計方向であるが、例えば漢字の「口」のよう
にあるアウトラインの内側に別のアウトラインが存在す
る場合には、その内側のアウトラインについては時計方
向にたどるように定められている。長方形セグメント列
の一例を第12図と第13図とにそれぞれ示す。第12
図は反時計方向にたどられる長方形セグメント列の一例
であり、第13図は時計方向にたどられる長方形セグメ
ント列の一例である。Further, each outline of a kanji may be composed of four sides of a rectangle. An example of this is the two outlines that define the kanji ``口''. Each outline may be a series of rectangular segments. In addition, the direction in which multiple segments are traced for each outline is, in principle, counterclockwise, but if there is another outline inside one outline, such as the kanji ``mouth'', the inner outline is set to follow in a clockwise direction. Examples of rectangular segment rows are shown in FIGS. 12 and 13, respectively. 12th
The figure is an example of a rectangular segment sequence that is traced in a counterclockwise direction, and FIG. 13 is an example of a rectangular segment sequence that is traced in a clockwise direction.
本実施例においては、長方形セグメント列が予定の方向
にたどられることとなるように、長方形セグメント列の
始点Sの位置について一定の規則が設けられている。こ
の規則は、長方形セグメント列が反時計方向にたどられ
るようにしたい場合には始点Sを長方形の4頂点のうち
左下の点に選定し、また、時計方向にたどられるように
したい場合には始点Sを長方形の4頂点のうち左上の点
に選定するものである。In this embodiment, a certain rule is provided for the position of the starting point S of the rectangular segment sequence so that the rectangular segment sequence is traced in a predetermined direction. This rule is that if you want the rectangular segment sequence to be traced counterclockwise, select the starting point S as the lower left point among the four vertices of the rectangle, and if you want the rectangular segment sequence to be traced clockwise, The starting point S is selected as the upper left point among the four vertices of the rectangle.
たどられる方向が互に異なる二つの長方形セグメント列
はいずれも、■始点5(xo、yo)から正または負の
X軸方向に延びて終点E、(x、。Both of the two rectangular segment rows, which are traced in different directions, extend from the starting point 5 (xo, yo) in the positive or negative X-axis direction to the ending point E, (x,).
yo)に至る直線L1と、■終点E1から正または負の
y軸方向に延びて終点Ez (X+ 、y+ )に至
る直線L2と、■終点E2から正および負のy軸方向の
うち直線り、とは逆の方向に延びて終点Eff (χ
。、y、)に至る直線L3と、■終点E3から延びて正
および負のX軸方向のうち直線L2とは逆の方向に延び
て始点Sに至る直線L4とから成っている。なお、この
ように、たどられる方向を問わず、長方形セグメント列
を規定するためのセグメントデータの形式が同一で済む
のは、前述の、始点Sの選定規則によるものである。し
たがって、長方形セグメント列を規定するセグメントデ
ータ(以下、単に冗長方形データという)は第14図に
示すように、■直線L1を規定する直線データ〔フラグ
L“、終点E、の座標(x+、yo))と、■直線L2
を規定する直線データ〔フラグL°、終点E2の座標(
χy+))と、■直線り、を規定する直線データ〔フラ
グ°L゛、終点E3の座標(xo、y)〕と、■直1a
Lイを規定する直線データ〔フラグ
゛L゛9始点Sの座標(xo、yo))との集合となる
。yo); ■ A straight line L2 extending from the end point E1 in the positive or negative y-axis direction to the end point Ez (X+, y+); and ■ A straight line L2 extending from the end point E2 in the positive or negative y-axis direction. , extends in the opposite direction to the end point Eff (χ
. , y, ); and (2) a straight line L4 extending from the end point E3 in the direction opposite to the straight line L2 among the positive and negative X-axis directions and reaching the starting point S. The reason why the format of the segment data for defining a rectangular segment string can be the same regardless of the direction in which it is traced is due to the above-mentioned rule for selecting the starting point S. Therefore, as shown in FIG. 14, the segment data that defines a rectangular segment string (hereinafter simply referred to as redundant rectangular data) is: - Straight line data that defines straight line L1 [flag L", coordinates of end point E (x+, yo )) and ■ straight line L2
Linear data that defines [flag L°, coordinates of end point E2 (
χy+)), ■straight line data that defines straight line [flag °L'', coordinates (xo, y) of end point E3], and ■straight line 1a
It is a set of straight line data [flag ゛L゛9 coordinates of starting point S (xo, yo)] that define L.
第12図および第13図から明らかなように、長方形セ
グメント列を一義的に決定するためには、座標XO、X
1+ yoおよびylの各稙が判明すれば十分なので
あるが、長方形セグメント列をセグメントデータでキャ
ラクタROM14に記憶させる場合には、座標Xo r
X+ + yoおよびylがそれぞれ重複して記
憶されることとなって無駄である。そこで、本実施例に
おいては、長方形セグメント列については、第15図に
示すように、■自身が圧縮長方形データであることを示
すフラグ′0゛と、■終点E2 (長方形の4頂点のう
ち始点Sと対角位置にある頂点であって、以下、単に対
角終点E2という)の終点データ(x、。As is clear from FIGS. 12 and 13, in order to uniquely determine the rectangular segment row, the coordinates XO,
Although it is sufficient to know each edge of 1+ yo and yl, when storing a rectangular segment string as segment data in the character ROM 14, the coordinates Xo r
X+ + yo and yl are each stored redundantly, which is wasteful. Therefore, in this embodiment, for a rectangular segment string, as shown in FIG. End point data (x,.
y+)との集合である前記圧縮長方形データがキャラク
タROM14に記憶されるとともに、終点E1の座標X
1に対角終点E2の座標X+ が流用され、終点E1の
座標y0に始点Sの座標y0が流用され、終点E3の座
標X。に始点Sの座標x0が流用され、終点E3の座標
yIに対角終点E2の座標y1が流用されるようになっ
ている。このように、長方形の性質を用いれば元長方形
データをそれよりデータ量が少ない圧縮長方形データに
圧縮することができるのである。y+) is stored in the character ROM 14, and the coordinates of the end point E1
1, the coordinate X+ of the diagonal end point E2 is used, the coordinate y0 of the start point S is used as the coordinate y0 of the end point E1, and the coordinate X of the end point E3 is used. The coordinate x0 of the starting point S is used as the coordinate yI of the end point E3, and the coordinate y1 of the diagonal end point E2 is used as the coordinate yI of the end point E3. In this way, by using the properties of rectangles, it is possible to compress original rectangular data into compressed rectangular data with a smaller amount of data.
以上の説明から明らかように、本実施例においては、[
L字形セグメント列と横り字形セグメント列と長方形セ
グメント列とがそれぞれセグメントデータである死線り
字形データと元横り字形データと元長方形データとでは
なく、圧縮セグメントデータである圧縮縦り字形データ
と圧縮槽り字形データと圧縮長方形データとでキャラク
タROM14に記憶されるから、それらセグメント列を
キャラクタROM14に保存させるのに必要な記憶容量
が少なくて済む。As is clear from the above description, in this example, [
The L-shaped segment string, the horizontal glyph segment string, and the rectangular segment string are not the dead line glyph data, the original horizontal glyph data, and the original rectangular data, which are segment data, but the compressed vertical glyph data, which is compressed segment data. Since the compressed tank rectangular data and the compressed rectangular data are stored in the character ROM 14, the storage capacity required to store these segment strings in the character ROM 14 is small.
前記アウトライン終了フラグ*゛は、各漢字の元アウト
ラインデータのうち各アウトラインの終了位置を示すも
のであり、前記漢字終了フラグ1!9は、各漢字の元ア
ウトラインデータの終了位置を示すものである。The outline end flag *'' indicates the end position of each outline in the original outline data of each kanji, and the kanji end flag 1!9 indicates the end position of the original outline data of each kanji. .
したがって、例えば第16図に示す漢字の「亜」につい
ては第17図に示す元アウトラインデータがキャラクタ
ROM14に記憶されることになる。Therefore, for example, for the kanji character "A" shown in FIG. 16, the original outline data shown in FIG. 17 is stored in the character ROM 14.
前記テキストメモリ18は、入力装置30から供給され
るテキストデータ(複数の索引コードデータの集合を含
む)が記憶されるものであり、前記ワーキングメモリ2
0は、プログラムの実行に必要なデータが一時的に格納
されるものである。The text memory 18 stores text data (including a set of a plurality of index code data) supplied from the input device 30, and the working memory 2
0 is where data necessary for program execution is temporarily stored.
前記ドツトデータメモリ22は前記データ変換ルーチン
により変換されたドツトデータが記憶されるものである
。The dot data memory 22 stores dot data converted by the data conversion routine.
次に、前記データ変換ルーチンの実行によって元アウト
ラインデータがドツトデータに変換される様子を説明す
る。Next, a description will be given of how the original outline data is converted into dot data by executing the data conversion routine.
CPU12は、テキストメモリ18から索引コードデー
タを一つずつ順に読み出すとともに、その索引コードデ
ータについて第3図および第4図のデータ変換ルーチン
を一回だけ実行する。本ルーチンにおいては、まず、ス
テップSL(以下、単にSlで表す。他のステップにつ
いても同じ)において、キャラクタROM14において
今回の索引コードデータに対応して記憶されている元ア
ウトラインデータのうち最初のフラグが読み出される。The CPU 12 sequentially reads the index code data one by one from the text memory 18, and executes the data conversion routine of FIGS. 3 and 4 only once for the index code data. In this routine, first, in step SL (hereinafter simply referred to as SL; the same applies to other steps), the first flag of the original outline data stored in the character ROM 14 corresponding to the current index code data is is read out.
その後、S2において、そのフラグが9*(アウトライ
ン終了)″であるか否かが判定される。そうであれば判
定の結果がYESとなり、Slに戻り、Slにおいて前
回のフラグに後続する新たなフラグが読み出されるが、
そうでなければ、S2の判定結果がNoとなり、S3に
おいて、今回のフラグが°! (漢字終了)°であるか
否かが判定される。After that, in S2, it is determined whether the flag is 9*(end of outline)''. If so, the result of the determination is YES, the process returns to Sl, and a new flag following the previous flag is created in Sl. The flag is read, but
Otherwise, the determination result in S2 becomes No, and in S3, the current flag is set to °! (end of kanji) It is determined whether or not it is °.
今回はそうでないと仮定すれば、判定の結果がNOとな
り、S4において、今回のフラグが°T(縦り字形)°
であるか否かが判定される。そうであれば判定の結果が
YESとなり、S5において、今回のフラグに関連する
圧縮縦り字形データがキャラクタROM14から読み出
された後、その圧縮縦り字形データが死線り字形データ
に復元される。座標Xo、yo(これらは圧縮IL字形
データには存在しないがキャラクタROM14に記憶さ
れている)と終点E2の座標X++ y+ とを用い
て、直線り、の直線データと直線L2の直線データとの
集合が死線り字形データとして求められるのである。そ
の後、SIOに移行する。If we assume that this is not the case this time, the result of the determination will be NO, and in S4, the current flag will be set to °T (vertical shape) °
It is determined whether or not. If so, the result of the determination is YES, and in S5, the compressed vertical glyph data related to the current flag is read from the character ROM 14, and then the compressed vertical glyph data is restored to the dead line glyph data. . Using the coordinates Xo, yo (these do not exist in the compressed IL shape data but are stored in the character ROM 14) and the coordinates X++ y+ of the end point E2, the straight line data of the straight line and the straight line data of the straight line L2 are calculated. The set is obtained as dead line glyph data. After that, it moves to SIO.
これに対して今回のフラグがT°ではない場合には、S
4の判定結果がNOとなり、S6において、フラグが“
Y(横り字形)°であるか否かが判定される。そうであ
れば、判定の結果がYESとなり、S7において、今回
のフラグに対応する圧縮機り字形データがキャラクタR
OM14から読み出された後、その圧縮機り字形データ
が元板り字形データに復元される。座標xo、yo(こ
れらは圧縮機り字形データには存在しないがキャラクタ
ROM14に記憶されている)と終点E2の座標Xl+
y+ とを用いて、直線L1の直線データと直線L
2の直線データとの集合が元板り字形データとして求め
られるのである。その後、S10に移行する。On the other hand, if the current flag is not T°, S
The determination result in step 4 is NO, and in S6, the flag is set to “
It is determined whether or not it is Y (horizontal character)°. If so, the result of the determination is YES, and in S7, the compressor glyph data corresponding to the current flag is the character R.
After being read from the OM 14, the compressed glyph data is restored to the original glyph data. Coordinates xo, yo (these do not exist in the compressor glyph data but are stored in the character ROM 14) and the coordinates Xl+ of the end point E2
y+, the straight line data of straight line L1 and straight line L
The set with the straight line data of 2 is obtained as the original board shape data. After that, the process moves to S10.
今回のフラグが“Y′でもない場合には、S6の判定結
果がNOとなり、S8において、フラグが“0°である
か否かが判定される。そうであれば、判定の結果がYE
Sとなり、S9において、今回のフラグに対応する圧縮
長方形データがキャラクタROM14から読み出された
後、その圧縮長方形データが元長方形データに復元され
る。座標Xo、yo(これらは圧縮長方形データには存
在しないがキャラクタROM14に記憶されている)と
対角終点E2の座標xl+ y+ とを用いて、直線
L1の直線データと直線L2の直線データと直線L3の
直線データと直線L4の直線データとの集合が元長方形
データとして求められるのである。その後、SIOに移
行する。If the current flag is not “Y”, the determination result in S6 is NO, and in S8 it is determined whether the flag is “0°”. If so, the judgment result is YES
In S9, the compressed rectangular data corresponding to the current flag is read from the character ROM 14, and then the compressed rectangular data is restored to the original rectangular data. Using the coordinates Xo, yo (these do not exist in the compressed rectangle data but are stored in the character ROM 14) and the coordinates xl+y+ of the diagonal end point E2, the straight line data of the straight line L1, the straight line data of the straight line L2, and the straight line A set of straight line data of L3 and straight line data of straight line L4 is obtained as original rectangular data. After that, it moves to SIO.
今回のフラグが′0′でもない場合には、S8の判定結
果がNOとなり、直ちにS10に移行する。If the current flag is not '0', the determination result in S8 is NO, and the process immediately moves to S10.
SIOにおいては、■S5の実行後であれば、復元され
た元NL字形データ(二つの直線データの集合)はワー
キングメモリ20に設けられたセグメントデータバッフ
ァ20a、それの直線データの数N(今回は2)を表す
データはワーキングメモリ20に設けられたカウンタ2
0bに格納され、また、■S7の実行後であれば、復元
された元板り字形データ(二つの直線データの集合)は
セグメントデータバッファ20a、それの直線データの
数N(今回は2)を表すデータはカウンタ20bに格納
され、また、■S9の実行後であれば、復元された元長
方形データ(四つの直線データの集合)はセグメントデ
ータバッファ20a、それの直線データの数N(今回は
4)を表すデータはカウンタ20bに格納され、また、
■S8のNO判定後であれば、開始データ、直線データ
またはベジェ曲線データはセグメントデータバッファ2
0a、それのデータの数N(今回は1)を表すデータは
カウンタ20bに格納される。その後、第4図の311
に移行する。In SIO, ■After executing S5, the restored original NL shape data (a set of two straight line data) is stored in the segment data buffer 20a provided in the working memory 20, and the number N of straight line data in it (this time The data representing 2) is stored in the counter 2 provided in the working memory 20.
0b, and after executing S7, the restored original board glyph data (a set of two straight line data) is stored in the segment data buffer 20a, the number of straight line data N (in this case 2). The data representing the straight line data is stored in the counter 20b, and after the execution of ■S9, the restored original rectangular data (a set of four straight line data) is stored in the segment data buffer 20a, the number N of straight line data (this time The data representing 4) is stored in the counter 20b, and
■If after the NO decision in S8, the start data, straight line data, or Bezier curve data is stored in the segment data buffer 2.
0a, and data representing the number N (1 in this case) of that data is stored in the counter 20b. After that, 311 in Figure 4
to move to.
311においては、セグメントデータバッファ20aか
らいずれかのセグメントデータ(開始データ、直線デー
タまたはベジェ曲線データ)のフラグが読み出され、S
12においてそのフラグが’S(開始)°であるか否か
が判定される。そうであれば、S13において、セグメ
ントデータバッファ20aにおいてそのフラグに後続し
て記憶されている始点データが読み出され、314にお
いて、その始点データに対して、スケーリング(漢字の
印字ポイントサイズをオペレータが希望するサイズに適
合させること)1回転、正体から斜体への字体変換等の
変形処理が行われる。その後、S23に移行する。At 311, the flag of any segment data (start data, straight line data, or Bezier curve data) is read from the segment data buffer 20a, and S
At step 12, it is determined whether the flag is 'S (start)°. If so, in S13, the start point data stored following the flag in the segment data buffer 20a is read out, and in 314, the start point data is scaled (the printing point size of the kanji is set by the operator). (adapting to the desired size) one rotation, transformation processing such as font conversion from normal to italic is performed. After that, the process moves to S23.
これに対して、今回のフラグがS゛ではないために31
2の判定結果がNOとなる場合には、S15においてそ
のフラグが“B(ベジェ曲線)であるか否かが判定され
る。そうであれば、316において、セグメントデータ
バッファ20aから今回のフラグに対応するベジェ曲線
データのうち終点データ、第1および第2制御点データ
が読み出され、S17において、それら終点データ等に
対して前記変形処理が行われた後、318において、ベ
ジェ曲線が複数のショートベクトルに展開される。ベジ
ェ曲線が複数の短い直線で近似させられるのである。そ
の後、323に移行する。On the other hand, since the flag this time is not S゛, 31
If the determination result in step 2 is NO, it is determined in S15 whether or not the flag is "B (Bezier curve). If so, in 316, the current flag is stored from the segment data buffer 20a. Out of the corresponding Bezier curve data, the end point data and the first and second control point data are read out, and in S17, the end point data, etc. are subjected to the deformation process, and then in 318, the Bezier curve is It is expanded into short vectors. The Bezier curve is approximated by a plurality of short straight lines. Thereafter, the process moves to 323.
また、今回のフラグがl B +でもない場合には、S
15の判定結果がNOとなり、319においてフラグが
°L°であるか否かが判定される。そうであれば、判定
の結果がYESとなり、S20において、セグメントデ
ータバッファ20aから今回のフラグに対応する直線デ
ータのうち終点データが読み出され、その後、321に
おいて、その終点データに対して前記変形処理が行われ
る。その後、323に移行する。Also, if the current flag is not l B +, S
The determination result in step 15 is NO, and in step 319 it is determined whether or not the flag is at °L°. If so, the result of the determination is YES, and in S20, the end point data is read out of the straight line data corresponding to the current flag from the segment data buffer 20a, and then in 321, the end point data is modified as described above. Processing takes place. Thereafter, the process moves to 323.
また、今回のフラグが“L“でもない場合には、S19
の判定結果がNOとなり、S22においてエラー処理が
行われた後、本ルーチンの一回の実行が終了する。Also, if the current flag is not “L”, S19
The determination result is NO, and after error handling is performed in S22, one execution of this routine ends.
S23においては、以上のようにして得られた始点デー
タ、終点データ等が変更アウトラインデータとして、ワ
ーキングメモリ20に設けられた変更アウトラインデー
タメモリ20cに格納され、その後、S24において、
本ステップの実行回数nがカウンタ20bに記憶されて
いるセグメントデータの数Nより小さいか否かが判定さ
れる。そうであれば、判定の結果がYESとなり、Sl
lに戻るが、そうでなければ、判定の結果がNoとなり
、325においてセグメントデータバ・ンファ20aと
カウンタ20bとがそれぞれクリアされる。その後、第
3図の81に戻る。In S23, the start point data, end point data, etc. obtained as described above are stored as changed outline data in the changed outline data memory 20c provided in the working memory 20, and then in S24,
It is determined whether the number of times n of execution of this step is smaller than the number N of segment data stored in the counter 20b. If so, the determination result is YES and Sl
Otherwise, the result of the determination is No, and in 325, the segment data buffer 20a and the counter 20b are cleared. Thereafter, the process returns to 81 in FIG.
例えば、現在セグメントデータバッファ20aおよびカ
ウンタ20bに元り字形データが記憶されている場合に
は、記憶されているセグメントデータの数が2であるか
ら、311〜S24の実行が二回繰り返され、また、現
在冗長方形データが記憶されている場合には、セグメン
トデータの数が4であるからSLl〜S24の実行が四
回繰り返され、また、現在直線データが記憶されている
場合には、セグメントデータの数が1であるからSll
−S24の実行が一回だけ行われることになる。For example, if the original glyph data is currently stored in the segment data buffer 20a and counter 20b, the number of stored segment data is 2, so the execution of steps 311 to S24 is repeated twice, and , when redundant rectangular data is currently stored, the number of segment data is 4, so the execution of SL1 to S24 is repeated four times, and when straight line data is currently stored, segment data Since the number of is 1, Sll
- S24 will be executed only once.
以上説明したステップが繰り返し実行されるうちに33
の判定結果がYESとなれば、S26において、変更ア
ウトラインデータメモリ20cに記憶されている各変更
アウトラインデータがドツトデータに変換される。なお
、このデータ変換については本出願人が先に出願した特
願平1−52524号明細書において詳細に説明されて
いるため、ここでは説明を省略する。変換されたドツト
データはドツトデータメモリ22に格納される。While the steps explained above are executed repeatedly, 33
If the determination result is YES, each modified outline data stored in the modified outline data memory 20c is converted into dot data in S26. Note that this data conversion is explained in detail in Japanese Patent Application No. 1-52524 previously filed by the present applicant, so the explanation will be omitted here. The converted dot data is stored in the dot data memory 22.
以上で本ルーチンの一回の実行が終了する。This completes one execution of this routine.
本ルーチンがテキストメモリ18に格納されている索引
コードデータ全部について実行されれば、テキストメモ
リ18に格納されているテキストデータについてのドツ
トデータ作成が終了する。その後、オペレータから入力
装置30を介して印字指令が出されれば、印字部32が
それらドツトデータに基づいて制御され、これにより、
印字媒体上にテキストが印刷される。When this routine is executed for all the index code data stored in the text memory 18, the dot data creation for the text data stored in the text memory 18 is completed. Thereafter, when the operator issues a printing command via the input device 30, the printing unit 32 is controlled based on the dot data, and as a result,
Text is printed on print media.
以上の説明から明らかなように、本実施例においては、
キャラクタROM14がアウトラインデータメモリ1を
構成し、コンピュータ10の、第3図の84〜S9を実
行する部分がデータ復元手段2を構成し、コンピュータ
10の、第3図の810と第4図の511〜S24とを
実行する部分がアウトラインデータ出力手段3を構成し
ている。As is clear from the above explanation, in this example,
The character ROM 14 constitutes the outline data memory 1, the part of the computer 10 that executes steps 84 to S9 in FIG. 3 constitutes the data restoration means 2, and the parts 810 in FIG. The portion that executes steps S24 to S24 constitutes the outline data output means 3.
なお、上記実施例は、レーザプリンタ用のアウトライン
データ処理装置に本発明を適用した場合の一例であった
が、本発明はその他の形式のプリンタ用のアウトライン
データ処理装置に適用しても、プロッタ用のアウトライ
ンデータ処理装置に適用してもよい。Although the above embodiment is an example in which the present invention is applied to an outline data processing device for a laser printer, the present invention can also be applied to an outline data processing device for other types of printers. It may be applied to an outline data processing device for.
以上、本発明の一実施例を図面に基づいて詳細に説明し
たが、その他にも当業者の知識に基づいて種々の変形、
改良を施した態様で本発明を実施することができる。Although one embodiment of the present invention has been described above in detail based on the drawings, various modifications and variations may be made based on the knowledge of those skilled in the art.
The invention can be practiced in modified forms.
第1図は本発明の構成を概念的に示すブロック図である
。第2図は本発明の一実施例であるデータ変換装置を示
すブロック図である。第3図および第4図はそれぞれ、
第2図におけるプログラムROMに格納されている制御
プログラムのうち本発明に関連の深い部分を取り出し示
すフローチャートである。第5図は上記実施例で用いら
れる元アウトラインデータの構成を説明するための図で
ある。第6図は上記実施例で用いられる縦り字形セグメ
ント列の一例を示す図、第7図はその緬L字形セグメン
ト列をセグメントデータで示す図、第8図はその縦り字
形セグメント列を圧縮セグメントデータで示す図である
。第9図は上記実施例で用いられる横り字形セグメント
列の一例を示す図、第10図はその横り字形セグメント
列をセグメントデータで示す図、第11図はその横り字
形セグメント列を圧縮セグメントデータで示す図である
。第12図および第13図はそれぞれ、上記実施例で用
いられる長方形セグメント列の一例を示す図、第14図
はその長方形セグメント列をセグメントデータで示す図
、第15図はその長方形セグメント列を圧縮セグメント
データで示す図である。第16図は漢字の「亜」を示す
図、第17図は上記実施例においてその「亜jが第2図
におけるキャラクタROMに記憶される様子を説明する
ための図である。
10:コンピュータ 14:キャラクタROM22:ド
ツトデータメモリFIG. 1 is a block diagram conceptually showing the configuration of the present invention. FIG. 2 is a block diagram showing a data conversion device that is an embodiment of the present invention. Figures 3 and 4 are, respectively,
3 is a flowchart showing a portion of the control program stored in the program ROM in FIG. 2 that is closely related to the present invention. FIG. 5 is a diagram for explaining the structure of the original outline data used in the above embodiment. FIG. 6 is a diagram showing an example of the vertical character segment string used in the above embodiment, FIG. 7 is a diagram showing the L-shaped segment string as segment data, and FIG. 8 is a diagram showing the vertical character segment string being compressed. It is a figure shown by segment data. FIG. 9 is a diagram showing an example of a horizontal glyph segment string used in the above embodiment, FIG. 10 is a diagram showing the horizontal glyph segment string as segment data, and FIG. 11 is a diagram showing the horizontal glyph segment string compressed. It is a figure shown by segment data. 12 and 13 are diagrams showing an example of a rectangular segment string used in the above embodiment, FIG. 14 is a diagram showing the rectangular segment string as segment data, and FIG. 15 is a diagram showing the rectangular segment string being compressed. It is a figure shown by segment data. FIG. 16 is a diagram showing the kanji ``A'', and FIG. 17 is a diagram for explaining how the ``A'' is stored in the character ROM in FIG. 2 in the above embodiment. 10: Computer 14 :Character ROM22:Dot data memory
Claims (1)
キャラクタのアウトラインデータをキャラクタ毎に記憶
するアウトラインデータメモリであって、各アウトライ
ンが分割された複数のセグメントのうち特定のセグメン
ト列を構成するものについては、そのセグメント列に属
する各セグメントを規定するセグメントデータがそのセ
グメント列に関する図形上の性質を用いて圧縮された圧
縮セグメントデータをセグメント列毎に記憶する一方、
他のセグメントについては、各セグメントを規定するセ
グメントデータをセグメント毎に記憶するものと、 そのアウトラインデータメモリに記憶されている各圧縮
セグメントデータを前記図形上の性質を用いて前記セグ
メントデータに復元するデータ復元手段と、 そのデータ復元手段により復元されたセグメントデータ
と前記アウトラインデータメモリに記憶されているセグ
メントデータとから成るアウトラインデータを出力する
アウトラインデータ出力手段と を含むことを特徴とするアウトラインデータ処理装置。[Scope of Claims] An outline data memory that stores outline data of a plurality of characters, each defined by one or more outlines, for each character, wherein each outline is divided into a specific segment from among a plurality of segments. For those forming a column, compressed segment data in which segment data defining each segment belonging to the segment column is compressed using the graphical properties of the segment column is stored for each segment column;
For other segments, segment data that defines each segment is stored for each segment, and each compressed segment data stored in the outline data memory is restored to the segment data using the graphical properties. Outline data processing characterized by comprising a data restoring means, and an outline data outputting means for outputting outline data consisting of segment data restored by the data restoring means and segment data stored in the outline data memory. Device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2196527A JP3033152B2 (en) | 1990-07-25 | 1990-07-25 | Outline data processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2196527A JP3033152B2 (en) | 1990-07-25 | 1990-07-25 | Outline data processing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0481894A true JPH0481894A (en) | 1992-03-16 |
| JP3033152B2 JP3033152B2 (en) | 2000-04-17 |
Family
ID=16359222
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2196527A Expired - Fee Related JP3033152B2 (en) | 1990-07-25 | 1990-07-25 | Outline data processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3033152B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0683309A (en) * | 1992-03-23 | 1994-03-25 | Moji Zukei Center:Kk | Character data compressing method and printing device |
-
1990
- 1990-07-25 JP JP2196527A patent/JP3033152B2/en not_active Expired - Fee Related
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0683309A (en) * | 1992-03-23 | 1994-03-25 | Moji Zukei Center:Kk | Character data compressing method and printing device |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3033152B2 (en) | 2000-04-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0481892A (en) | Outline data processing device | |
| KR920008957B1 (en) | Printing device | |
| US20100238178A1 (en) | Information processing apparatus, control device, and program | |
| JP2740575B2 (en) | Character processor | |
| JPH0481894A (en) | Outline data processing device | |
| JPH0481893A (en) | Outline data processor | |
| JPS63217394A (en) | Character outline generation method | |
| JP3191954B2 (en) | Contour data processing device | |
| JP2881924B2 (en) | Data storage device | |
| JPH1031667A (en) | Document processing device | |
| JPH09305160A (en) | Character generator | |
| JPS63293072A (en) | Printer | |
| KR940001106B1 (en) | Line width correction method and device | |
| JPH06100905B2 (en) | Pattern output method | |
| JP2861201B2 (en) | Data converter | |
| JP3040624B2 (en) | Pattern generator | |
| JP3055306B2 (en) | Data output device | |
| JPH08137926A (en) | CAD drawing creation method | |
| JPS6140632A (en) | Font data generating device | |
| JPH05341761A (en) | Character generator | |
| JPS62282381A (en) | Continuous character forming device | |
| JPH075868A (en) | output method | |
| JPH06110444A (en) | Character processing device and character output method | |
| JPH03137696A (en) | Document preparing and printing device | |
| JPH05224653A (en) | Character output device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080218 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090218 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090218 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100218 Year of fee payment: 10 |
|
| LAPS | Cancellation because of no payment of annual fees |