JP2895529B2 - Character generation method and device, and document creation device - Google Patents

Character generation method and device, and document creation device

Info

Publication number
JP2895529B2
JP2895529B2 JP1290422A JP29042289A JP2895529B2 JP 2895529 B2 JP2895529 B2 JP 2895529B2 JP 1290422 A JP1290422 A JP 1290422A JP 29042289 A JP29042289 A JP 29042289A JP 2895529 B2 JP2895529 B2 JP 2895529B2
Authority
JP
Japan
Prior art keywords
character
data
pixel
coordinate data
movement
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP1290422A
Other languages
Japanese (ja)
Other versions
JPH03150594A (en
Inventor
和子 長谷川
芳人 鈴木
久喜 川端
直喜 中村
雄一 堀内
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP1290422A priority Critical patent/JP2895529B2/en
Priority to KR1019900017939A priority patent/KR940001106B1/en
Publication of JPH03150594A publication Critical patent/JPH03150594A/en
Application granted granted Critical
Publication of JP2895529B2 publication Critical patent/JP2895529B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、ディスプレイやプリンタ等の出力装置に、
高品質文字を発生する文字発生装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to an output device such as a display or a printer.
The present invention relates to a character generator for generating high quality characters.

[従来の技術] 高精細な表示・印刷装置が普及するにつれて、特公昭
53−15624号公報に記載のような、アウトライン文字が
使用されるようになってきた。
[Prior Art] With the spread of high-definition display and printing devices,
Outline characters have been used as described in JP-A-53-15624.

このアウトライン文字は、文字の輪郭を表す座標デー
タを、アフィン変換等の座標変換をかけることにより、
変形し、さらにこの輪郭座標データをもとに輪郭内部を
塗り潰したドット文字を発生することにより、ドット表
示方式の出力装置に出力されるものである。
This outline character is obtained by applying coordinate transformation such as affine transformation to coordinate data representing the outline of the character.
By generating a dot character that is deformed and fills the inside of the outline based on the outline coordinate data, it is output to an output device of a dot display system.

[発明が解決しようとする課題] 上記従来技術では、出力装置の特性が全く考慮されて
いないため、同じ文字を出力した結果が出力装置によっ
て異なってしまうという問題があった。
[Problems to be Solved by the Invention] In the above-mentioned conventional technology, since the characteristics of the output device are not considered at all, there is a problem that the result of outputting the same character differs depending on the output device.

また、アフィン変換により拡大された文字を出力する
と文字のデザイン的に元字よりも細い文字が出力される
という問題があった。
Further, when a character enlarged by affine transformation is output, there is a problem that a character smaller in design than the original character is output.

さらに、印刷装置がますます高精細化していくにつれ
て、コピー装置との解像度差が増していくと考えられ
る。これにより、印刷文書のコピー時に細い文字が消失
して品質が劣化してしまうという問題が生じるおそれが
ある。
Further, as the printing apparatus becomes more and more fine, the resolution difference from the copying apparatus is considered to increase. As a result, there is a possibility that thin characters may be lost when the print document is copied and the quality may be degraded.

本発明の目的は、個々の出力装置の特性を考慮して、
文字変倍時にも高品質の文字を出力することができる文
字発生方式および装置ならびに書作成装置を提供するこ
とにある。
An object of the present invention is to consider the characteristics of each output device,
It is an object of the present invention to provide a character generating method and apparatus capable of outputting high-quality characters even during character scaling, and a writing apparatus.

本発明の他の目的は、通常の印刷と、コピー用文書の
印刷とを切り換えられる文書作成装置を提供することに
ある。
Another object of the present invention is to provide a document creating apparatus capable of switching between normal printing and printing of a copy document.

[課題を解決するための手段] 上記目的を達成するために、本発明による文字発生方
式は、ベクトル形式で表された文字の輪郭座標データを
座標変換によりラスター形式で表された文字データに変
換し、該変換後の文字データを出力装置に供する文字発
生方式において、前記座標変換により縮小した文字を得
る際、変換後の文字の輪郭座標データに基づき、出力装
置のほぼ1画素の大きさ分、文字の太さを細くした輪郭
座標データを得て、該輪郭座標データから前記ラスター
形式の文字データを得るようにしたものである。
Means for Solving the Problems In order to achieve the above object, a character generation method according to the present invention converts outline coordinate data of a character expressed in a vector format into character data expressed in a raster format by coordinate conversion. In the character generation method of providing the converted character data to an output device, when obtaining a character reduced by the coordinate conversion, a size of approximately one pixel of the output device is obtained based on the outline coordinate data of the converted character. In this method, contour coordinate data in which the thickness of a character is reduced is obtained, and the raster character data is obtained from the contour coordinate data.

本発明による文字発生装置は、ベクトル形式で表され
た文字の輪郭座標データを座標変換によりラスター形式
で表された文字データに変換し、該変換後の文字データ
を出力装置に供する文字発生装置において、前記出力装
置の1画素の大きさ情報を記憶する手段と、該記憶され
た1画素の大きさに比例した量だけ前記変換後の文字の
太さを細くするよう輪郭座標データに補正を加える手段
とを備えたものである。
A character generator according to the present invention is a character generator which converts outline coordinate data of a character represented in a vector format into character data represented in a raster format by coordinate conversion, and provides the converted character data to an output device. Means for storing the size information of one pixel of the output device, and correcting the outline coordinate data so as to reduce the thickness of the converted character by an amount proportional to the size of the stored one pixel. Means.

この装置において、前記輪郭座標データに補正を加え
る手段は、文字の対向する輪郭線をそれぞれ文字の内部
方向へほぼ半画素分移動させるよう輪郭座標データを変
更する。
In this device, the means for correcting the outline coordinate data changes the outline coordinate data so as to move the opposite outline of the character by approximately half a pixel in the interior direction of the character.

あるいは、輪郭座標データの移動方向をx、yの2軸
方向に限定するとともに各移動量を限定し、輪郭線の傾
きによりxまたはy方向、または両方向に当該移動量
分、輪郭座標データを移動させる。この場合、x、yの
両方向に移動させる場合の移動量を、いずれか一方のみ
移動させる場合の移動量に対して減少させることが望ま
しい。x方向とy方向の移動量が異なる出力装置に対し
て文字を90゜回転させて出力する場合、移動量を逆にす
る。
Alternatively, the movement direction of the contour coordinate data is limited to the two axes of x and y, and each movement amount is limited. The contour coordinate data is moved by the movement amount in the x or y direction or both directions depending on the inclination of the contour line. Let it. In this case, it is desirable to reduce the amount of movement when moving in both the x and y directions with respect to the amount of movement when moving only one of them. If the characters are rotated by 90 ° for output to output devices having different movement amounts in the x and y directions, the movement amounts are reversed.

輪郭座標データの移動結果の相対位置が移動前の位置
関係と異なる場合には、移動前の輪郭座標データに戻す
手段を設けてもよい。
When the relative position of the movement result of the contour coordinate data is different from the positional relationship before the movement, a means for returning to the contour coordinate data before the movement may be provided.

本発明による他の文字発生装置は、ベクトル形式で表
された文字の輪郭座標データを座標変換によりラスター
形式で表された文字データに変換し、該変換後の文字デ
ータを出力装置に供する文字発生装置において、前記座
標変換後の輪郭座標データの輪郭線上の点を、文字を構
成する太さの外側と判断する手段と、文字の太さの内部
と判断された領域を塗り潰したデータを作成する手段と
を備えたものである。
Another character generation device according to the present invention converts character outline coordinate data of a character expressed in a vector format into character data expressed in a raster format by coordinate conversion, and supplies the converted character data to an output device. In the apparatus, means for judging a point on the contour line of the contour coordinate data after the coordinate conversion is outside the thickness constituting the character, and creating data in which an area determined to be inside the thickness of the character is filled out Means.

本発明によるさらに他の文字発生装置は、ベクトル形
式で表された文字の輪郭座標データを座標変換によりラ
スター形式で表された文字データに変換し、該変換後の
文字データを出力装置に供する文字発生装置において、
前記座標変換後の輪郭座標データの輪郭線上の点を、文
字を構成する太さの内側と判断する手段と、文字の太さ
の内部と判断された領域を塗り潰したデータを作成する
手段とを備えたものである。
Still another character generator according to the present invention converts character outline coordinate data of a character represented in a vector format into character data represented in a raster format by coordinate conversion, and supplies the converted character data to an output device. In the generator,
Means for determining the point on the contour line of the contour coordinate data after the coordinate conversion is inside the thickness of the character, and means for creating data in which the area determined to be inside the thickness of the character is filled. It is provided.

また、本発明による文書作成装置は、ベクトル形式で
表された文字の輪郭座標データを座標変換によりラスタ
ー形式で表された文字データに変換し、該変換後の文字
データを印刷装置に供する文字発生装置を備え、複数の
印刷装置に接続可能な文書作成装置において、前記複数
の印刷装置固有の画素の大きさ情報を入力する手段と、
指定された印刷装置の画素の大きさ情報を得るために前
記テーブルを参照する手段と、該手段により得られた画
素の大きさ情報に応じて当該印刷装置に出力する文字の
太さを当該印刷装置のほぼ1画素分細くする手段とを備
えたものである。
Further, the document creation apparatus according to the present invention converts character outline coordinate data represented in a vector format into character data represented in a raster format by coordinate conversion, and provides the converted character data to a printing device. A document creation device that includes a device and is connectable to a plurality of printing devices; and a unit that inputs pixel size information unique to the plurality of printing devices;
Means for referring to the table to obtain the pixel size information of the designated printing device; and printing the character thickness to be output to the printing device in accordance with the pixel size information obtained by the means. Means for making the apparatus thinner by approximately one pixel.

本発明による他の文書作成装置は、ベクトル形式で表
された文字の輪郭座標データを座標変換によりラスター
形式で表された文字データに変換し、該変換後の文字デ
ータを印刷装置に供する文字発生装置を備え、複数の印
刷装置に接続可能な文書作成装置において、前記複数の
印刷装置固有の画素の大きさ情報を各印刷装置に対応し
て保持するテーブルと、出力指示された印刷装置の画素
の大きさ情報を得るために前記テーブルを参照する手段
と、該手段により得られた画素の大きさ情報に応じて当
該印刷装置に出力する文字の太さを当該印刷装置のほぼ
1画素分細くする手段とを備えたものである。
Another document creation device according to the present invention converts character outline coordinate data of a character represented in a vector format into character data represented in a raster format by coordinate conversion, and provides the converted character data to a printing device. A document creation device that is connected to a plurality of printing devices, comprising: a table for holding the plurality of printing device-specific pixel size information corresponding to each printing device; Means for referring to the table in order to obtain size information of the character, and the thickness of a character to be output to the printing apparatus according to the size information of the pixel obtained by the means is reduced by approximately one pixel of the printing apparatus. Means for performing the operation.

これらの文書作成装置において、前記1画素分細くす
る手段は、例えば、文字の対向する輪郭線をそれぞれ文
字の内部方向へほぼ半画素分移動させるものである。
In these document creation apparatuses, the means for reducing the width by one pixel is, for example, for moving the opposite contour lines of the character by approximately half a pixel in the inward direction of the character.

[作 用] アフィン変換により加工された文字では、文字のサイ
ズが小さな文字になるほど、出力される文字は、約1ド
ット、期待される文字の太さよりも太くなることが経験
的に確認されている。一方、本来、プリンタ等の出力装
置は、インクのにじみ等の違いにより、各出力装置ごと
に異なる画素サイズおよび形状を持っている。そこで、
本発明では、使用する特定の出力装置の画素サイズに応
じて文字の太さに補正を加えることにより、文字の品質
向上を図っている。特に、文字の縮小時に、出力装置に
対応した1画素分文字の太さを細らせることにより、小
さな文字を出力する際に、元字よりも太く見えるという
問題を解決できる。
[Operation] With characters processed by affine transformation, it has been empirically confirmed that the smaller the character size, the larger the output character is about 1 dot, which is larger than the expected character thickness. I have. On the other hand, output devices such as printers originally have different pixel sizes and shapes for each output device due to differences in ink bleeding and the like. Therefore,
In the present invention, the quality of a character is improved by correcting the thickness of the character according to the pixel size of a specific output device to be used. In particular, when a character is reduced, by reducing the thickness of the character by one pixel corresponding to the output device, it is possible to solve the problem that when a small character is output, the character looks thicker than the original character.

また、具体的な一実現方法として輪郭座標データを半
画素分移動させる手段を設けることにより、文字の太さ
を構成する2本の輪郭線がそれぞれ文字の内側に(法線
方向)移動するため結果的に1画素分の細らせが実現可
能である。
Also, by providing a means for moving the outline coordinate data by half a pixel as a specific realization method, two outlines constituting the thickness of the character move inside (in the normal direction) each of the character. As a result, thinning by one pixel can be realized.

さらに、x,y方向への移動量を固定することにより、
仮想的に1画素分の文字の細らせが可能となり、固定化
により高速な処理が実現できる。
Furthermore, by fixing the amount of movement in the x and y directions,
Characters of one pixel can be virtually thinned, and high-speed processing can be realized by fixing.

また、移動方向により移動量を変更することにより、
より実際値に近い移動を行うことが出来る。
Also, by changing the amount of movement according to the direction of movement,
The movement closer to the actual value can be performed.

以上のような移動を一義的に行うと、座標値の逆転現
象が現われる場合がある。逆転現象とは、文字の細い部
分において座標点の移動により文字を細らせたときに輪
郭線の交差または重なりが生じることをいう。この逆転
現象を解決するために、移動前の輪郭座標の相対位置関
係と移動後の座標の相対位置関係が異なる場合には、移
動前の座標データに戻すことにより、この不都合を回避
できる。
If the above movement is performed uniquely, a coordinate value reversal phenomenon may appear. The reversal phenomenon refers to the occurrence of crossing or overlapping of outlines when a character is narrowed by moving a coordinate point in a thin portion of the character. In order to solve this inversion phenomenon, when the relative positional relationship between the contour coordinates before the movement and the relative positional relationship between the coordinates after the movement are different, the inconvenience can be avoided by returning to the coordinate data before the movement.

また、文字発生装置が出力する出力装置において、用
紙縦及び横文書を出力する際に、90゜回転データを出力
する場合で、かつ、x,y方向の移動量が異なる場合に
は、x,yの移動量を逆転することにより、用紙縦又は横
のいずれで出力しても同じ文字が出力できる。
Also, in the output device output by the character generator, when outputting 90-degree rotation data when outputting portrait and landscape documents, and when the movement amounts in the x and y directions are different, x, By reversing the amount of movement of y, the same character can be output regardless of whether it is output vertically or horizontally.

また、文字発生装置が文字を出力する出力装置が複数
個あり、そのうちの1つを選択して出力する場合には、
出力装置ごとに移動量を変更することにより各出力装置
の出力結果が同じになるようにできる。
Also, when the character generator has a plurality of output devices that output characters, and one of them is selected and output,
By changing the movement amount for each output device, the output results of each output device can be made the same.

さらに、塗り潰し時に座標変換後の輪郭座標データで
定まる輪郭線上の点を文字の内側又は外側と判定し、内
部を塗り潰すことによって、仮想的に文字を1画素分太
らせたり細らせたりすることができる。
Furthermore, a point on the contour determined by the contour coordinate data after the coordinate conversion at the time of filling is determined as the inside or outside of the character, and the character is virtually fattened or thinned by one pixel by filling the inside. be able to.

この太らせ、細らせ処理を文字の出力サイズ別に行う
ことにより、小さな文字でも、大きな文字でも元字に忠
実な文字を発生できる。
By performing the thickening / thinning processing for each character output size, a character that is faithful to the original character can be generated even for a small character or a large character.

[実施例] 以下、本発明の実施例について、詳細に説明する。[Examples] Hereinafter, examples of the present invention will be described in detail.

第2図に、本発明を実施するために用いる文字出力装
置の構成例を示す。1は文字出力装置の処理制御を実行
する中央処理装置、2は文字の輪郭座標データを格納す
るフォントROM、3は本発明の文字発生方式を採用した
文字発生装置、4は出力装置の画素サイズ等を入力する
入力装置、5は文字等を出力する出力装置である。
FIG. 2 shows a configuration example of a character output device used for carrying out the present invention. 1 is a central processing unit that executes processing control of a character output device, 2 is a font ROM that stores character outline coordinate data, 3 is a character generation device that employs the character generation method of the present invention, and 4 is the pixel size of the output device. An input device 5 for inputting characters and the like is an output device for outputting characters and the like.

まず、中央処理装置1はフォントROM2の情報を文字発
生装置3へ転送する。文字発生装置3はフォントROM2か
ら入力される文字の輪郭座標情報と入力装置4から入力
される各種の情報に基づきドット文字を発生する。発生
されたドット文字データは出力装置5に転送され文字が
出力される。
First, the central processing unit 1 transfers the information in the font ROM 2 to the character generator 3. The character generator 3 generates a dot character based on the outline coordinate information of the character input from the font ROM 2 and various information input from the input device 4. The generated dot character data is transferred to the output device 5 and the character is output.

まず、この装置において、出力装置の1画素の大きさ
を入力する手段について説明する。
First, a means for inputting the size of one pixel of the output device in this device will be described.

1画素の大きさを入力する第1の方法として、利用者
の持つ情報を入力装置4から入力する方法がある。文字
発生装置の利用者が、出力装置5の特性を認識し、画素
サイズを入力装置4から入力する。
As a first method of inputting the size of one pixel, there is a method of inputting information possessed by a user from the input device 4. A user of the character generation device recognizes the characteristics of the output device 5 and inputs a pixel size from the input device 4.

第2の方法として、文字発生装置3の内部に持った画
素情報テーブルから入力する方法が考えられる。第3図
に、画素情報テーブルの一例を示す。第3図において、
画素サイズデータ33は各出力装置ごとの1画素の数学的
1座標に対する大きさを表す。つまり、インクのにじみ
等が大きいほど画素サイズデータは大きくなる。何種類
もの出力装置のうちの一つに文字を出力する場合には、
あらかじめ各出力装置の出力装置番号31とそれに対応す
る画素サイズデータ32を画素情報テーブル33に設定して
おく。文字発生装置3は、選択された出力装置に応じて
画素サイズを画素情報テーブル33から取得する。
As a second method, a method of inputting from a pixel information table held inside the character generator 3 can be considered. FIG. 3 shows an example of the pixel information table. In FIG.
The pixel size data 33 indicates the size of one pixel for each output device with respect to one mathematical coordinate. That is, pixel size data increases as ink bleeding increases. If you want to output characters to one of several types of output devices,
The output device number 31 of each output device and the corresponding pixel size data 32 are set in the pixel information table 33 in advance. The character generator 3 acquires the pixel size from the pixel information table 33 according to the selected output device.

出力装置を選択する手段としては、文字発生装置の利
用者が入力装置4を用いて出力装置番号を入力する方法
や、出力装置5に出力装置番号に対応する信号を出力す
る手段を設けて、この信号を文字発生装置が取得する等
の方法が考えられる。このようにして、取得した出力装
置番号に対応する画素サイズデータを画素情報テーブル
33から取得する。
As a means for selecting an output device, a method in which a user of the character generation device inputs an output device number using the input device 4 or a device for outputting a signal corresponding to the output device number to the output device 5 is provided. A method of acquiring this signal by a character generator or the like can be considered. In this manner, the pixel size data corresponding to the obtained output device number is stored in the pixel information table.
Obtain from 33.

この取得された画素サイズデータをもとに、出力装置
5に対応した細い文字のデータを作成する文字発生装置
3の構成例を第4図に示す。
FIG. 4 shows an example of the configuration of the character generator 3 for creating thin character data corresponding to the output device 5 based on the acquired pixel size data.

第4図において、41は文字の輪郭座標データを、入力
装置から入力された文字の修飾情報と、先に述べた出力
装置の画素サイズデータとに基づき座標データ変換を行
う座標データ変換部であり、アフィン変換部42及び本発
明の特徴の一つである座標移動部43から構成される。44
は座標データ変換部で発生された座標データを格納する
内部RAMである。45は、輪郭座標データをドット文字に
変換するラスター変換部(ラスターデータ発生部)であ
り、輪郭発生部46と塗り潰しデータ発生部47とから構成
される。48は輪郭ドット情報が格納される内部RAMであ
る。
In FIG. 4, reference numeral 41 denotes a coordinate data conversion unit which performs coordinate data conversion based on character outline coordinate data of the character input from the input device and the pixel size data of the output device described above. , An affine transformation unit 42 and a coordinate movement unit 43 which is one of the features of the present invention. 44
Is an internal RAM for storing coordinate data generated by the coordinate data conversion unit. Reference numeral 45 denotes a raster conversion unit (raster data generation unit) that converts the outline coordinate data into dot characters, and includes a contour generation unit 46 and a fill data generation unit 47. Reference numeral 48 denotes an internal RAM in which contour dot information is stored.

第4図に示す文字発生装置3は次のように動作する。 The character generator 3 shown in FIG. 4 operates as follows.

まず、フォントROM2から転送された文字の輪郭座標デ
ータを受取り、アフィン変換部42において文字の修飾情
報に従って文字の拡大・縮小等の文字形状変換を行う。
形状変換された座標データは、座標移動部43によってさ
らに文字が細くなるように座標変換され、変換された座
標データは一旦内部データRAM44に格納される。輪郭線
発生部46は、内部データRAM44に格納されたデータをも
とに内部RAM48上に輪郭を示すドット情報を作成する。
さらに塗り潰しデータ発生部47は内部RAM48の情報を基
に塗り潰しデータを作成する。このデータを出力装置5
に転送することにより文字を出力する。
First, the outline coordinate data of the character transferred from the font ROM 2 is received, and the affine transformation unit 42 performs character shape conversion such as enlargement / reduction of the character according to the character modification information.
The coordinate data having undergone the shape conversion is coordinate-converted by the coordinate moving unit 43 so that the characters become thinner, and the converted coordinate data is temporarily stored in the internal data RAM 44. The contour generation unit 46 creates dot information indicating a contour on the internal RAM 48 based on the data stored in the internal data RAM 44.
Further, the filling data generation unit 47 creates filling data based on the information in the internal RAM 48. This data is output to an output device 5
Outputs characters by transferring to.

この中でも本発明における特徴的な動作をする座標移
動部43の動作について詳しく説明する。座標データ移動
部43の座標移動動作は、次のような2つの動作フローが
考えられる。まず第1は、出力装置の1画素の大きさを
入力しこの大きさに従って、輪郭線の法線方向へ半画素
分輪郭線を移動させることにより、細い文字を出力する
方式であり、第2は、輪郭線の傾きによりx,yのどちら
かの方向又は両方に座標データを移動させることによ
り、細い文字を発生する方法である。
Among them, the operation of the coordinate moving unit 43 performing the characteristic operation in the present invention will be described in detail. The coordinate movement operation of the coordinate data movement unit 43 may be performed in the following two operation flows. First, a method of inputting the size of one pixel of the output device and moving the outline by half a pixel in the normal direction of the outline according to this size, thereby outputting a thin character. Is a method of generating thin characters by moving coordinate data in one or both directions of x and y depending on the inclination of a contour line.

まず、第5図により第1図の方法について説明する。
出力装置の1画素が半径pの真円で、文字を構成する輪
郭座標51(x1,y1)を輪郭線の法線方向へ半画素分移動
した点52の座標を(x1′,y1′)として、新たな文字輪
郭情報とする方法を考える。このとき、第5図に示すよ
うに移動対象の輪郭点の前の点53の座標を(x0,y0)、
後の点54の座標を(x2,y2)とする。さらに、以下、文
字の輪郭線の向きに対して文字の太さを表す方向は必ず
左側にあるものとする。この「左側」自体に特に意味が
あるわけではなく、左側か右側かいずれか一方に固定す
ることに意味がある。
First, the method of FIG. 1 will be described with reference to FIG.
The coordinates of a point 52 where one pixel of the output device is a perfect circle having a radius p and the outline coordinates 51 (x1, y1) constituting the character are moved by a half pixel in the normal direction of the outline are (x1 ', y1'). Let us consider a method for creating new character outline information. At this time, as shown in FIG. 5, the coordinates of the point 53 before the contour point to be moved are (x0, y0),
The coordinates of the subsequent point 54 are (x2, y2). Further, hereinafter, the direction indicating the thickness of the character with respect to the direction of the outline of the character is always on the left side. The "left side" itself does not have any particular meaning, but it is significant to fix it to either the left side or the right side.

移動後の点の座標(x1′,y1′)を求める際の動作フ
ローを第6図に示す。
FIG. 6 shows an operation flow for obtaining the coordinates (x1 ′, y1 ′) of the point after the movement.

まず、(x0,y0)−(x1,y1)で定められる直線に対
し、法線方向に半画素分移動させた直線55の方程式を求
める(ブロック61)。この直線の方程式は、 である。
First, an equation of a straight line 55 which is shifted by a half pixel in the normal direction with respect to a straight line defined by (x0, y0)-(x1, y1) is obtained (block 61). The equation for this straight line is It is.

次に、(x1,y1)−(x2,y2)で定められる直線に対
し、法線方向に半画素分移動させた直線の56の方程式を
求める(ブロック62)。
Next, 56 equations of a straight line which is shifted by a half pixel in the normal direction with respect to the straight line defined by (x1, y1)-(x2, y2) are obtained (block 62).

これも同様に、 である。Similarly, It is.

さらにブロック61及びブロック62で求めた2直線の交
点座標を求め(ブロック63)、この交点座標を移動点
(x1′,y1′)とする(ブロック64)。交点座標は、2
つの連立方程式の解として求められる。
Further, the coordinates of the intersection of the two straight lines obtained in the blocks 61 and 62 are obtained (block 63), and the coordinates of the intersection are set as the moving point (x1 ', y1') (block 64). Intersection coordinates are 2
It is obtained as the solution of two simultaneous equations.

以上のような動作を、文字の構成するすべての輪郭座
標データに施すことにより座標点を文字の内側に移動す
ることができる。
By applying the above operation to all the outline coordinate data constituting the character, the coordinate point can be moved inside the character.

次に、第7図により第2の方法について説明する。 Next, the second method will be described with reference to FIG.

この方法では、輪郭線の傾きから移動方向を決定す
る。第7図における、3つの点から構成される2本の線
分71,72の傾きを定める端点のx方向、y方向の偏差を
それぞれ、 Δx0=x1−x0 Δy0=y1−y0 Δx1=x2−x1 Δy1=y2−y1 とし、出力装置の1画素が2px×2pyの長方形とする。こ
の時、文字の輪郭点73の座標(x1,y1)の座標移動位置7
4の座標(x1′,y1′)を求める動作フローを第8図に示
す。2本の線分のx方向の偏差Δx0およびΔx1が共に正
方向であった場合には(ブロック81)、y1を正の方向へ
pyだけ移動させる(ブロック82)。そうでなく、2本の
線分の前記偏差が共に負だった場合には(ブロック8
3)、y1を負の方向へpyだけ移動させる(ブロック8
4)。
In this method, the moving direction is determined from the inclination of the contour line. In FIG. 7, the deviations in the x and y directions of the end points that determine the slopes of the two line segments 71 and 72 each composed of three points are represented by Δx0 = x1−x0 Δy0 = y1−y0 Δx1 = x2− x1 Δy1 = y2−y1 and one pixel of the output device is a 2px × 2py rectangle. At this time, the coordinate movement position 7 of the coordinates (x1, y1) of the outline point 73 of the character
FIG. 8 shows an operation flow for obtaining the coordinates (x1 ′, y1 ′) of No. 4. If both x-direction deviations Δx0 and Δx1 of the two line segments are in the positive direction (block 81), y1 is shifted in the positive direction.
Move only py (block 82). Otherwise, if the deviations of the two segments are both negative (block 8
3) Move y1 in the negative direction by py (Block 8)
Four).

さらに、2本の線分のy方向の偏差Δy0およびΔy1が
共に正方向であった場合には(ブロック85)、x1を負の
方向へpxだけ移動させる(ブロック86)。そうでなく、
2本の線分の前記偏差が共に負だった場合には(ブロッ
ク87)、x1を正の方向へpxだけ移動させる(ブロック8
8)。この動作により仮想的に出力装置の画素サイズ分
だけ内側に座標点を移動させることができる。
Further, when both the deviations Δy0 and Δy1 in the y direction of the two line segments are positive (block 85), x1 is moved in the negative direction by px (block 86). Otherwise,
If the deviations of the two line segments are both negative (block 87), x1 is moved in the positive direction by px (block 8).
8). By this operation, the coordinate point can be virtually moved inward by the pixel size of the output device.

以上に述べたような長方形の画素を持つ出力装置にお
いて、文字を90゜回転させて出力する場合には、pxとpy
の値をあらかじめ交換しておき、同様の操作を行う。
In the output device having rectangular pixels as described above, when outputting characters by rotating them by 90 °, px and py
Is exchanged in advance, and the same operation is performed.

さらに、出力装置の1画素が円形であった場合には、
輪郭線の傾きにより、移動量を変化させる方法が考えら
れる。出力装置の1画素が半径pの真円であった場合の
動作フローを第9図に示す。
Further, if one pixel of the output device is circular,
A method of changing the moving amount based on the inclination of the contour line can be considered. FIG. 9 shows an operation flow when one pixel of the output device is a perfect circle having a radius p.

文字の構成線として多数使用されている水平線及び垂
直線の移動量は半画素分にあたるpとし、斜線部は平均
45゜とみなし、 とした場合の動作フローである。
The amount of movement of the horizontal and vertical lines used as the constituent lines of the character is p, which is equivalent to half a pixel, and the hatched portion is the average.
45 ゜ This is the operation flow in the case where.

線分71,72のうちのいずれかが水平線であると判断さ
れた場合には(ブロック91)、y方向の移動量をpとし
(ブロック92)、そうでない場合には、 とする(ブロック93)。また、線分71,72のうちのどち
らかが垂直線であると判断された場合には(ブロック9
4)、x方向の移動量をpとし(ブロック95)、そうで
ない場合には、 とする(ブロック96)。
If it is determined that any of the line segments 71 and 72 is a horizontal line (block 91), the movement amount in the y direction is set to p (block 92). (Block 93). If it is determined that one of the line segments 71 and 72 is a vertical line (block 9
4), let p be the amount of movement in the x direction (block 95); (Block 96).

このようにして、設定された移動値に従って、先に第
8図に示した動作を行うことにより輪郭座標の移動が実
現できる。
In this way, the movement of the outline coordinates can be realized by performing the operation shown in FIG. 8 first according to the set movement value.

以上示したような座標移動を行った際、移動前座標の
輪郭線前後座標からの相対位置関係と移動後座標の輪郭
線前後座標からの相対位置関係が同等でない場合には、
移動前座標を移動後座標として出力するようにする。
When performing the coordinate movement as described above, if the relative positional relationship from the contour front and rear coordinates of the coordinates before movement and the relative positional relationship from the contour front and rear coordinates of the moved coordinates are not equal,
The coordinates before the movement are output as the coordinates after the movement.

以上のようにして、発生された座標データは内部RAM4
に転送され、先に述べた方式によりドット文字が出力さ
れる。
As described above, the generated coordinate data is stored in the internal RAM 4
And dot characters are output by the method described above.

次に、本発明を実施する第2の実施例について第10図
を用いて説明する。
Next, a second embodiment of the present invention will be described with reference to FIG.

第10図は第2の実施例に係る文字発生装置3の構成で
ある。図中、101は座標変換部であり、102はラスター変
換部である。座標変換部101は、フォントROMから入力さ
れる文字の輪郭座標を示す情報と入力装置4等から入力
される文字の修飾情報に基づき、形状変換を行う。ラス
ター変換部102は、変換後座標データを受け取り、これ
を基にドット文字に変換する。ドット文字に変換する際
に、輪郭線上の点を文字の外側と判定することにより細
い文字を発生する。
FIG. 10 shows the configuration of the character generator 3 according to the second embodiment. In the figure, 101 is a coordinate conversion unit, and 102 is a raster conversion unit. The coordinate conversion unit 101 performs shape conversion based on information indicating outline coordinates of a character input from the font ROM and character modification information input from the input device 4 or the like. The raster conversion unit 102 receives the converted coordinate data and converts it into dot characters based on the coordinate data. When converting to a dot character, a thin character is generated by determining a point on the outline as outside the character.

第11図に輪郭の発生例を示す。従来の直線発生方式で
は、小数点以下を四捨五入することにより輪郭線が通過
する点を輪郭線として発生しているが、本実施例では、
第11図(a)に示すように輪郭線の進行方向左側(線分
内部)が塗り潰し方向(図の例ではy方向)の負側であ
る場合に、座標データを計算する際に、x,yデータの小
数点以下を切り捨てる操作を行い、111に示すような輪
郭線を発生させる。逆に、線分の進行方向左側が塗り潰
し方向の正側である場合には、逆に小数点以下を切り上
げる操作を行う。これによって、文字の太さを定める対
向輪郭線が互いに接近することになる。この輪郭線の内
部を塗りつぶすことにより、細い文字が発生する。
FIG. 11 shows an example of occurrence of a contour. In the conventional straight line generation method, a point at which the contour passes is generated as the contour by rounding off the decimal part, but in this embodiment,
As shown in FIG. 11 (a), when the left side (inside of the line segment) in the traveling direction of the contour line is the negative side in the filling direction (the y direction in the example of the figure), x, An operation of truncating the decimal portion of the y data is performed to generate a contour line 111. Conversely, if the left side of the line segment in the traveling direction is the positive side in the filling direction, the operation of rounding up the decimal point is performed. As a result, the opposed contour lines that determine the thickness of the character come closer to each other. By filling the inside of this contour line, a thin character is generated.

また、同図(b)に示すように、線分の進行方向左側
が塗り潰し方向の負側である場合に、逆に座標データの
小数点以下を切り上げる操作を行えば(正側である場合
には切り捨てる操作を行う)、太い文字を発生させるこ
とができる。
In addition, as shown in FIG. 3B, when the left side of the line segment in the traveling direction is the negative side in the filling direction, the operation of rounding up the decimal point of the coordinate data is performed (in the case of the positive side, Perform a truncation operation), which can generate thicker characters.

なお、この切り上げ、切り捨て処理は、文字の太さを
決定する対向輪郭線の一方のみに適用し、他方の輪郭線
は従来通り四捨五入を行う方式とすることも可能であ
る。
It should be noted that the round-up and round-down processing may be applied to only one of the opposed contours that determine the thickness of the character, and the other contour may be rounded off as before.

次に、輪郭線上の点を文字の外側として、その点を塗
り潰しの対象としない具体的な方法を第12図により説明
する。
Next, a specific method in which a point on the outline is set as the outside of the character and the point is not set as a filling target will be described with reference to FIG.

まず、輪郭線上の点を正確に計算し、少数点座標でそ
の位置座標を格納する。この位置座標は、塗り潰し方法
に対して一定の方向の座標、例えば、塗り潰し方向がx
方向であればy方向、塗り潰し方向がy方向であればx
方向の座標の小数点以下を0として、他方の座標(小数
点座標)を算出する。図の例では、小数点以下が0であ
るy座標に対して一つのx座標が対応するように算出し
ている。例えば、y座標がynであったときのx座標を小
数点座標で格納する場合、1文字分の輪郭情報を算出
し、そのx座標を対応するy座標ごとに格納していく。
First, a point on the contour is accurately calculated, and its position coordinates are stored as decimal point coordinates. The position coordinates are coordinates in a certain direction with respect to the filling method, for example, when the filling direction is x
Direction if it is the direction, x if the filling direction is the y direction
The other coordinate (decimal point coordinate) is calculated with the decimal point of the coordinate in the direction set to 0. In the example of the figure, the calculation is performed such that one x coordinate corresponds to the y coordinate whose decimal part is 0. For example, when the x coordinate when the y coordinate is yn is stored as the decimal point coordinate, outline information for one character is calculated, and the x coordinate is stored for each corresponding y coordinate.

この一文字分の輪郭情報が第12図に“・”で示した情
報であったとき、ynライン上を塗り潰した場合を考え
る。ynライン上をxの小さい方から探索していき、最初
に見つかった輪郭点を塗り潰し開始点とする。さらに探
索を続け、次に見つかった輪郭点を塗り潰しの終了点と
する。この際、塗り潰しの開始点は、格納されていた座
標データの小数点以下を切り上げし、終了点は切り捨て
する。このようにして、輪郭点を整数化した後に、その
間に存在する点を文字の内部として出力する。
Consider a case where the outline information for one character is the information indicated by “•” in FIG. 12 and the yn line is filled. The yn line is searched from the smaller x, and the contour point found first is set as the filling start point. The search is further continued, and the next found contour point is set as the filling end point. At this time, the start point of the filling is rounded up to the decimal point of the stored coordinate data, and the end point is rounded down. In this way, after the contour points are converted into integers, the points existing between them are output as the inside of the character.

なお、太い文字を出力する際には、逆に、開始点座標
を切り捨て、終了点座標を切り上げることにより、輪郭
線上の点を塗り潰しの対象とするようにすればよい。
On the other hand, when outputting a bold character, conversely, the start point coordinates may be discarded and the end point coordinates may be rounded up so that points on the contour line may be filled.

本実施例によれば、小数点以下の切り捨て、切り上げ
を判断し、実行するだけで、簡単に高品質文字、太さを
強調した文字がともに出力でき、ソフトウエア規模の軽
減を図ることができる。
According to the present embodiment, high-quality characters and characters whose thickness is emphasized can be easily output by simply judging and executing rounding down or rounding up to the decimal point, and the software scale can be reduced.

また、高品質文字では、レーザビームプリンタ(LB
P)等の出力に最適であるが、このようにして出力され
た文字を含む文書をコピーすると、文字が細いために、
印字品質が低下するという問題があるが、本実施例はこ
の問題を解決することができる。すなわち、LBP用の高
品質文字の発生およびコピー用の文字の発生を容易に行
うことができる。
Also, for high quality characters, laser beam printer (LB
P) etc., but when copying a document containing characters output in this way, the characters are thin,
Although there is a problem that the printing quality is deteriorated, this embodiment can solve this problem. That is, it is possible to easily generate high-quality characters for LBP and characters for copying.

次に、第3の実施例として、以上に述べてきた文字補
正方式を採用した文書印刷装置の一例を述べる。
Next, as a third embodiment, an example of a document printing apparatus employing the above-described character correction method will be described.

第13図は、本実施例を実現するための文書印刷装置の
一例を示す。図中、131は、ユーザが、通常印刷および
コピー用印刷のいずれかを選ぶかを入力指示するための
入力装置、132は、印刷用のデータを格納するページメ
モリ、133は、ページメモリ上の文書データを印刷する
印刷装置、134は本発明に係る文字発生装置である。
FIG. 13 shows an example of a document printing apparatus for realizing this embodiment. In the figure, 131 is an input device for the user to input whether to select either normal printing or copy printing, 132 is a page memory for storing printing data, and 133 is a page memory. A printing device 134 for printing document data is a character generation device according to the present invention.

この文書印刷装置を利用する際、まず、ユーザは入力
装置131を用いて、「通常印刷」か「コピー用印刷」か
を選択する。「通常印刷」が選択された場合、文字発生
装置134は、輪郭線上の点を文字の外側と認識して、発
生した文字をページメモリ132上に発生する。「コピー
用印刷」が選択された場合は、輪郭線上の点を文字の内
側と認識して、発生した太い文字をページメモリ132上
に発生する。このようにして発生した文書データは、印
刷装置133に転送され、印刷される。
When using the document printing apparatus, first, the user uses the input device 131 to select “normal printing” or “copy printing”. When “normal printing” is selected, the character generator 134 recognizes a point on the outline as outside the character, and generates the generated character on the page memory 132. If “print for copy” is selected, the point on the outline is recognized as the inside of the character, and the generated thick character is generated on the page memory 132. The document data generated in this way is transferred to the printing device 133 and printed.

本実施例によれば、印刷装置の高精細化に伴って、印
刷文書のコピー時に細い文字が消失して品質が劣化して
しまうという問題を解決することができる。
According to the present embodiment, it is possible to solve the problem that thin characters are lost when a print document is copied and the quality is degraded with the increase in the definition of the printing apparatus.

[発明の効果] 本発明によれば、特定の出力装置の特性に応じた太さ
の文字を出力することができるため、文字品質の向上を
図れる。
[Effects of the Invention] According to the present invention, a character having a thickness corresponding to the characteristics of a specific output device can be output, so that the character quality can be improved.

出力装置の画素サイズを入力する手段を持つことによ
り、種々の出力装置に対応することができる。
By having means for inputting the pixel size of the output device, it is possible to support various output devices.

出力装置の画素サイズを保持し、出力装置を限定する
手段を持つことにより、利用者が煩雑な処理を行うこと
なく、種々の出力装置に対応することができる。
By holding the pixel size of the output device and having means for limiting the output device, it is possible to support various output devices without the user performing complicated processing.

座標移動の方向を傾きにより、x,y方向のみに限定す
ることにより、より高速な移動処理を行うことができ
る。
By limiting the direction of coordinate movement to only the x and y directions by inclination, higher-speed movement processing can be performed.

また、円形画素に対しては、輪郭線が斜線であった場
合にx,yの移動量を変更することにより、移動精度を向
上させることができる。
In addition, for circular pixels, when the outline is oblique, the movement accuracy of x and y can be changed to improve the movement accuracy.

また、印刷装置等に出力する場合、文書データを90゜
回転させたデータを出力する場合では、x,y方向の移動
量を自動的に反転させることにより、回転前の出力結果
と同等にすることができる。
In addition, when outputting to a printing device or the like, when outputting data obtained by rotating the document data by 90 °, the amount of movement in the x and y directions is automatically inverted so that the output result before rotation is equalized. be able to.

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

第1図は本発明を実施した文字発生装置による出力例の
説明図、第2図は実施例を実行するための文字出力装置
の構成例を示したブロック図、第3図は画素情報テーブ
ルの構成例を示した模式図、第4図は本発明の第1の実
施例を実現するための文字発生装置の内部ブロック図、
第5図は文字の輪郭座標の移動位置を示す第1の模式
図、第6図は第5図の移動位置座標を求める方式のフロ
ーチャート、第7図は文字の輪郭座標の移動位置を示す
第2の模式図、第8図は第7図の移動位置座標を求める
方式のフローチャート、第9図は移動距離を設定する方
式を表したフローチャート、第10図は本発明の第2の実
施例を実現するための文字発生装置の内部模式図、第11
図は文字の輪郭を表す模式図、第12図は文字の塗り潰し
対象として輪郭線上の点を含めない場合の模式図、第13
図は本発明の文書作成装置のブロック図である。 3……文字発生装置、33……画素情報テーブル、43……
座標移動部、102……ラスター変換部。
FIG. 1 is an explanatory diagram of an output example by a character generator embodying the present invention, FIG. 2 is a block diagram showing a configuration example of a character output device for executing the embodiment, and FIG. FIG. 4 is a schematic diagram showing a configuration example, FIG. 4 is an internal block diagram of a character generator for realizing the first embodiment of the present invention,
FIG. 5 is a first schematic diagram showing the movement position of the outline coordinates of the character, FIG. 6 is a flowchart of a method for obtaining the movement position coordinates of FIG. 5, and FIG. 7 is a flowchart showing the movement position of the outline coordinates of the character. 2, FIG. 8 is a flowchart of a method for obtaining the movement position coordinates of FIG. 7, FIG. 9 is a flowchart showing a method of setting the movement distance, and FIG. 10 is a flowchart of a second embodiment of the present invention. Internal schematic diagram of a character generator for realizing
FIG. 12 is a schematic diagram showing the outline of a character, FIG. 12 is a schematic diagram in which a point on the outline is not included as a character to be filled, and FIG.
FIG. 1 is a block diagram of the document creation device of the present invention. 3 ... Character generator, 33 ... Pixel information table, 43 ...
Coordinate moving unit, 102: Raster conversion unit.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 中村 直喜 東京都国分寺市東恋ヶ窪1丁目280番地 株式会社日立製作所デザイン研究所内 (72)発明者 堀内 雄一 茨城県日立市東多賀町1丁目1番1号 株式会社日立製作所多賀工場内 (56)参考文献 特開 昭63−70890(JP,A) 特開 平1−191192(JP,A) 特開 昭63−303477(JP,A) 特開 平1−59297(JP,A) 特開 平1−90491(JP,A) 実開 昭61−145992(JP,U) (58)調査した分野(Int.Cl.6,DB名) G09G 5/26 ──────────────────────────────────────────────────続 き Continuing from the front page (72) Naoki Nakamura, Inventor Nagoya Nakamura 1-280, Higashi Koigabo, Kokubunji-shi, Tokyo Inside the Hitachi, Ltd. Design Research Laboratories (72) Inventor Yuichi Horiuchi 1-1-1, Higashitaga-cho, Hitachi City, Ibaraki Stock (56) References JP-A-63-70890 (JP, A) JP-A-1-191192 (JP, A) JP-A-63-303477 (JP, A) JP-A-1-59297 (JP, A) JP-A-1-90491 (JP, A) JP-A-61-145992 (JP, U) (58) Fields investigated (Int. Cl. 6 , DB name) G09G 5/26

Claims (10)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】ベクトル形式で表された文字の輪郭座標デ
ータを座標変換によりラスター形式で表された文字デー
タに変換し、該変換後の文字データを出力装置に供する
文字発生方法において、 前記座標変換により縮小した文字を得る際、変換後の文
字の輪郭座標データに基づき、出力装置のほぼ1画素の
大きさ分、文字の太さを細くした輪郭座標データを得
て、該輪郭座標データから前記ラスター形式の文字デー
タを得ることを特徴とする文字発生方法。
1. A character generating method for converting outline coordinate data of a character expressed in a vector format into character data expressed in a raster format by coordinate conversion, and providing the converted character data to an output device. When obtaining a character reduced by the conversion, based on the outline coordinate data of the converted character, outline coordinate data in which the thickness of the character is reduced by approximately one pixel of the output device is obtained. A character generating method, wherein the raster-format character data is obtained.
【請求項2】ベクトル形式で表された文字の輪郭座標デ
ータを座標変換によりラスター形式で表された文字デー
タに変換し、該変換後の文字データを出力装置に供する
文字発生装置において、 前記出力装置の1画素の大きさ情報を記憶する手段と、 該記憶された1画素の大きさに比例した量だけ前記変換
後の文字の太さを細くするよう輪郭座標データに補正を
加える手段と を備えたことを特徴とする文字発生装置。
2. A character generating device for converting outline coordinate data of a character represented in a vector format into character data represented in a raster format by coordinate conversion, and providing the converted character data to an output device. Means for storing size information of one pixel of the apparatus, and means for correcting contour coordinate data so as to reduce the thickness of the converted character by an amount proportional to the size of the stored one pixel. A character generator comprising:
【請求項3】前記輪郭座標データに補正を加える手段
は、文字の対向する輪郭線をそれぞれ文字の内部方向へ
ほぼ半画素分移動させるよう輪郭座標データを変更する
ことを特徴とする請求項2記載の文字発生装置。
3. The method according to claim 2, wherein the means for correcting the outline coordinate data changes the outline coordinate data so as to move the opposite outline of the character by approximately half a pixel toward the inside of the character. A character generator as described.
【請求項4】前記輪郭座標データに補正を加える手段
は、 輪郭座標データの移動方向をx、yの2軸方向に限定す
るとともに各移動量を限定し、輪郭線の傾きによりxま
たはy方向、または両方向に当該移動量分、輪郭座標デ
ータを移動させることを特徴とする請求項2記載の文字
発生装置。
4. The means for correcting the contour coordinate data includes: limiting a movement direction of the contour coordinate data to two axial directions of x and y; limiting each movement amount; 3. The character generator according to claim 2, wherein the contour coordinate data is moved in the two directions by the movement amount.
【請求項5】前記x、yの両方向に移動させる場合の移
動量を、いずれか一方のみ移動させる場合の移動量に対
して減少させることを特徴とする請求項4記載の文字発
生装置。
5. The character generating apparatus according to claim 4, wherein the amount of movement when moving in both the x and y directions is made smaller than the amount of movement when only one of them is moved.
【請求項6】x方向とy方向の移動量が異なる出力装置
に対して文字を90゜回転させて出力する場合、移動量を
逆にすることを特徴とする請求項4記載の文字発生装
置。
6. The character generator according to claim 4, wherein, when the character is rotated by 90 ° and output to an output device having different movement amounts in the x direction and the y direction, the movement amount is reversed. .
【請求項7】輪郭座標データの移動結果の相対位置が移
動前の位置関係と異なる場合には、移動前の輪郭座標デ
ータに戻す手段を設けたことを特徴とする請求項4記載
の文字発生装置。
7. A character generating apparatus according to claim 4, further comprising means for returning to the outline coordinate data before the movement when the relative position of the movement result of the outline coordinate data is different from the positional relationship before the movement. apparatus.
【請求項8】ベクトル形式で表された文字の輪郭座標デ
ータを座標変換によりラスター形式で表された文字デー
タに変換し、該変換後の文字データを印刷装置に供する
文字発生装置を備え、複数の印刷装置に接続可能な文書
作成装置において、 前記複数の印刷装置固有の画素の大きさ情報を入力する
手段と、 指定された印刷装置の画素の大きさ情報を得るために前
記テーブルを参照する手段と、 該手段により得られた画素の大きさ情報に応じて当該印
刷装置に出力する文字の太さを当該印刷装置のほぼ1画
素分細くする手段と を備えたことを特徴とする文書作成装置。
8. A character generator for converting outline coordinate data of a character expressed in a vector format into character data expressed in a raster format by coordinate conversion, and providing the converted character data to a printing device. Means for inputting pixel size information unique to the plurality of printing devices, and referencing the table to obtain pixel size information for the designated printing device. Document creation characterized by comprising: means for reducing the thickness of a character to be output to the printing apparatus according to the pixel size information obtained by the means by approximately one pixel of the printing apparatus. apparatus.
【請求項9】ベクトル形式で表された文字の輪郭座標デ
ータを座標変換によりラスター形式で表された文字デー
タに変換し、該変換後の文字データを印刷装置に供する
文字発生装置を備え、複数の印刷装置に接続可能な文書
作成装置において、 前記複数の印刷装置固有の画素の大きさ情報を各印刷装
置に対応して保持するテーブルと、 出力指示された印刷装置の画素の大きさ情報を得るため
に前記テーブルを参照する手段と、 該手段により得られた画素の大きさ情報に応じて当該印
刷装置に出力する文字の太さを当該印刷装置のほぼ1画
素分細くする手段と を備えたことを特徴とする文書作成装置。
9. A character generating device for converting outline coordinate data of a character represented in a vector format into character data represented in a raster format by coordinate conversion, and providing the converted character data to a printing device. A document creation device connectable to the printing device, wherein a table holding the plurality of printing device-specific pixel size information corresponding to each printing device; and Means for referring to the table to obtain the information, and means for reducing the thickness of a character to be output to the printing apparatus according to the pixel size information obtained by the means by approximately one pixel of the printing apparatus. A document creation device characterized by the following.
【請求項10】前記1画素分細くする手段は、文字の対
向する輪郭線をそれぞれ文字の内部方向へほぼ半画素分
移動させることを特徴とする請求項8または9記載の文
書作成装置。
10. A document creating apparatus according to claim 8, wherein said means for thinning by one pixel moves each of the opposite contour lines of the character by approximately half a pixel in the inward direction of the character.
JP1290422A 1989-11-08 1989-11-08 Character generation method and device, and document creation device Expired - Lifetime JP2895529B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP1290422A JP2895529B2 (en) 1989-11-08 1989-11-08 Character generation method and device, and document creation device
KR1019900017939A KR940001106B1 (en) 1989-11-08 1990-11-07 Image processing method and apparatus therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1290422A JP2895529B2 (en) 1989-11-08 1989-11-08 Character generation method and device, and document creation device

Publications (2)

Publication Number Publication Date
JPH03150594A JPH03150594A (en) 1991-06-26
JP2895529B2 true JP2895529B2 (en) 1999-05-24

Family

ID=17755828

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1290422A Expired - Lifetime JP2895529B2 (en) 1989-11-08 1989-11-08 Character generation method and device, and document creation device

Country Status (1)

Country Link
JP (1) JP2895529B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104978711B (en) * 2015-07-17 2017-12-08 北京航空航天大学 A kind of Chinese character shape deformation method based on cigarette simulation

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61145992U (en) * 1985-02-27 1986-09-09
JP2605022B2 (en) * 1986-09-13 1997-04-30 キヤノン株式会社 Graphic processing unit
JPH0823741B2 (en) * 1987-06-03 1996-03-06 株式会社日立製作所 How to process vector characters or graphics
JPS6459297A (en) * 1987-08-28 1989-03-06 Alps Electric Co Ltd Character reduction/expansion system
JP2517620B2 (en) * 1987-10-01 1996-07-24 アルプス電気株式会社 Vector font reduction method
JPH01191192A (en) * 1988-01-27 1989-08-01 Toshiba Corp High quality character generating device

Also Published As

Publication number Publication date
JPH03150594A (en) 1991-06-26

Similar Documents

Publication Publication Date Title
EP0549351A2 (en) Image processing method and apparatus
JP3576611B2 (en) Character generator and method
JP2895529B2 (en) Character generation method and device, and document creation device
JP2634851B2 (en) Image processing device
JP3009525B2 (en) Vector image drawing equipment
US5542050A (en) Font information transfer system
JPH10175329A (en) Formation of control data of ultra-sharp printer
JP2806679B2 (en) Character generator
JP2771629B2 (en) Character processor
JP3129717B2 (en) Image processing apparatus and image processing method
JP2782752B2 (en) Character pattern output device
JPH0823741B2 (en) How to process vector characters or graphics
JPH0280267A (en) Processing of system of vector characters
JP2664948B2 (en) Image processing apparatus and image processing method
JPH01191192A (en) High quality character generating device
JP3573291B2 (en) Character data creation method and character data creation device
JP3060569B2 (en) Printing equipment
JP3514895B2 (en) Image expansion processing method and apparatus
JPH0553559A (en) Line width determination system
JPH1138960A (en) Pattern generating method, device therefor, and recording medium
JP2710350B2 (en) Image processing apparatus and image processing method of image processing apparatus
JPH10188011A (en) Plotting processor
JPS62175794A (en) Character generator
JPH02205892A (en) Character generator
JPH09138679A (en) Data processor