JPH03150594A - System and device for character generation and document printer - Google Patents

System and device for character generation and document printer

Info

Publication number
JPH03150594A
JPH03150594A JP1290422A JP29042289A JPH03150594A JP H03150594 A JPH03150594 A JP H03150594A JP 1290422 A JP1290422 A JP 1290422A JP 29042289 A JP29042289 A JP 29042289A JP H03150594 A JPH03150594 A JP H03150594A
Authority
JP
Japan
Prior art keywords
character
data
contour
coordinate data
coordinate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP1290422A
Other languages
Japanese (ja)
Other versions
JP2895529B2 (en
Inventor
Kazuko Hasegawa
和子 長谷川
Yoshito Suzuki
芳人 鈴木
Hisayoshi Kawabata
川端 久喜
Naoki Nakamura
中村 直喜
Yuichi Horiuchi
雄一 堀内
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)

Abstract

PURPOSE:To output characters of high quality even in character zooming in consideration of the characteristics of an output device by obtaining raster type character data from contour coordinate data form reducing characters in thickness almost one picture element of the output device according to contour coordinate data on characters after conversion. CONSTITUTION:The contour coordinate data on a character which is transferred from a font ROM 2 is received and an affine conversion part 42 performs character shape deformation such as enlargement or reduction according to modification information on the character. The coordinate data obtained by the shape conversion is further coordinate-converted by a coordinate movement part 43 so as to make the character thin, and then stored in an internal data RAM 44 temporarily. A contour generation part 46 generates dot information indicating the contour on an internal RAM 48 according to the data stored in the internal data RAM 44. Further, a painting-out data generation part 47 generates painting-out data according to the information in the internal RAM 48 and transfers this data to the output device 5 to output the character. Consequently, the character with thickness corresponding to the characteristics of the specific output device can be outputted and the character quality is improved.

Description

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

[従来の技術] 高精細な表示・印刷装置が普及するにつれて、特公昭5
3−15624号公報に記載のような、アウトライン文
字が使用されるようになってきた。
[Prior art] As high-definition display and printing devices became widespread,
Outline characters such as those described in Japanese Patent No. 3-15624 have come into use.

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

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

また、アフィン変換により拡大された文字を出力すると
文字のデザイン的に先学よりも細い文字が出力されると
いう問題があった。
Additionally, when outputting characters enlarged by affine transformation, there was a problem in that the characters were thinner than previous designs in terms of character design.

6 さらに、印刷装置がますます高精細化していくにつれて
、コピー装置との解像度差が増していくと考えられる。
6 Furthermore, as printing devices become more and more high-definition, it is thought that the difference in resolution between them and copying devices will increase.

これにより、印刷文書のコピー時に細い文字が消失して
品質が劣化してしまうという問題が生じるおそれがある
This may cause a problem in which thin characters disappear when copying a printed document, resulting in quality deterioration.

本発明の目的は、個々の出力装置の特性を考慮して、文
字変倍時にも高品質の文字を出力することができる文字
発生方式および装置ならびに書作成装置を提供すること
にある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a character generation method and device, and a writing device, which can output high-quality characters even when changing character size, taking into account the characteristics of each output device.

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

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

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

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

あるいは、輪郭座標データの移動方向をx、 yの2軸
方向に限定するとともに各移動量を限定し、輪郭線の傾
きによりXまたはy方向、または両方− 向に当該移動量分、輪郭座標データを移動させる。
Alternatively, the movement direction of the contour coordinate data is limited to the x and y directions, and the movement amount of each is limited, and the contour coordinate data is moved in the X or y direction, or both directions depending on the slope of the contour line. move.

この場合、x、yの両方向に移動させる場合の移動量を
、いずれか一方のみ移動させる場合の移動量に対して減
少させることが望ましい。X方向とy方向の移動量が異
なる出力装置に対して文字を9o°回転させて出力する
場合、移動量を逆にする。
In this case, it is desirable that the amount of movement when moving in both the x and y directions is smaller than the amount of movement when only one of them is moved. When outputting characters by rotating them by 90 degrees to an output device that has different amounts of movement in the X and Y directions, the amounts of movement are reversed.

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

本発明による他の文字発生装置は、ベクトル形式で表さ
れた文字の輪郭座標データを座標変換によりラスター形
式で表された文字データに変換し、該変換後の文字デー
タを出力装置に供する文字発生装置において、前記座標
変換後の輪郭座標データの輪郭線上の点を、文字を構成
する太さの外側と判断する手段と、文字の太さの内部と
判断された領域を塗り潰したデータを作成する手段とを
備えたものである。
Another character generator according to the present invention converts contour coordinate data of a character expressed in vector format into character data expressed in raster format through coordinate transformation, and provides the converted character data to an output device. In the apparatus, means for determining 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 the area determined to be inside the thickness of the character is filled out. It is equipped with means.

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

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

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

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

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

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

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

また、移動方向により移動量を変更することに12 より、より実際値に近い移動を行うことが出来る。In addition, it is possible to change the amount of movement depending on the direction of movement. This allows movement closer to the actual value.

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

また、文字発生装置が出力する出力装置において、用紙
縦及び横文書を出力する際に、90’回転データを出力
する場合で、かつ、X、y方向の移動量が異なる場合に
は、XFyの移動量を逆転することにより、用紙縦又は
横のいずれで出力しても同じ文字が出力できる。
In addition, when outputting 90' rotation data when outputting vertical and horizontal paper documents on the output device that the character generator outputs, and the amount of movement in the X and y directions is different, the XFy By reversing the amount of movement, the same character can be output regardless of whether the paper is printed vertically or horizontally.

また、文字発生装置が文字を出力する出力装置が複数個
あり、そのうちの1つを選択して出力する場合には、出
力装置ごとに移動量を変更することにより各出力装置の
出力結果が同じになるよう3 にできる。
In addition, if there are multiple output devices from which the character generator outputs characters, and if you select one of them to output, changing the amount of movement for each output device will result in the same output result for each output device. It can be set to 3 so that

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

この太らせ、細らせ処理を文字の出力サイズ別に行うこ
とにより、小さな文字でも、大きな文字でも光字に忠実
な文字を発生できる6 (以下、余白) +4− [実施例コ 以下、本発明の実施例について、詳細に説明する。
By performing this thickening and thinning processing for each character output size, it is possible to generate characters that are faithful to the optical characters, whether small or large. Examples will be described in detail.

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

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

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

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

第2の方法として、文字発生装置3の内部に持った画素
情報テーブルから入力する方法が考えられる。第3図に
、画素情報テーブルの一例を示す。
As a second method, a method of inputting from a pixel information table provided inside the character generating device 3 can be considered. FIG. 3 shows an example of a pixel information table.

第3図において、画素サイズデータ33は各出力装置ご
との1画素の数学的1座標に対する大きさを表す。つま
り、インクのにじみ等が大きいほど画素サイズデータは
大きくなる。何種類もの出力装置のうちの一つに文字を
出力する場合には、あらかしめ各出力装置の出力装置番
号31とそれに対応する画素サイズデータ32を画素情
報テーブル33に設定しておく。文字発生装置3は、選
択された出力装置に応じて画素サイズを画素情報テーブ
ル33から取得する。
In FIG. 3, pixel size data 33 represents the size of one pixel for each output device with respect to one mathematical coordinate. In other words, the larger the ink blur, etc., the larger the pixel size data. When outputting 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 generating device 3 acquires the pixel size from the pixel information table 33 according to the selected output device.

出力装置を選択する手段としては、文字発生装置の利用
者が人力装置4を用いて出力装置番号を入力する方法や
、出力装置5に出力装置番号に対16− 応する信号を出力する手段を設けて、この信号を文字発
生装置が取得する等の方法が考えられる。
The means for selecting the output device include a method in which the user of the character generator inputs the output device number using the human power device 4, and a method in which a signal corresponding to the output device number is outputted to the output device 5. A conceivable method is to provide a character generator and obtain this signal from the character generator.

このようにして、取得した出力装置番号に対応する画素
サイズデータを画素情報テーブル33から取得する。
In this way, pixel size data corresponding to the obtained output device number is obtained from the pixel information table 33.

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

第4図において、41は文字の輪郭座標データを、入力
装置から入力された文字の修飾情報と。
In FIG. 4, reference numeral 41 indicates character contour coordinate data and character modification information input from an input device.

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

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

まず、フォノl−ROM2から転送された文字の輪郭座
標データを受取り、アフィン変換部42において文字の
修飾情報に従って文字の拡大・縮小等の文字形状変換を
行う。形状変換された座標データは、座標移動部43に
よってさらに文字が細くなるように座標変換され、変換
された座標データは一旦内部データRAM44に格納さ
れる。輪郭線発生部46は、内部データRAM44に格
納されたデータをもとに内部RAM48上に輪郭を示す
ドツト情報を作成する。さらに塗り潰しデータ発生部4
7は内部RAM48の情報を基に塗り潰しデータを作成
する。このデータを出力装置5に転送することにより文
字を出力する。
First, the character contour coordinate data transferred from the phono ROM 2 is received, and the affine transformation unit 42 performs character shape conversion such as enlargement or reduction of the character according to character modification information. The shape-converted coordinate data is further 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 generating section 46 creates dot information indicating the contour on the internal RAM 48 based on the data stored in the internal data RAM 44. Furthermore, fill data generation section 4
7 creates fill data based on the information in the internal RAM 48. Characters are output by transferring this data to the output device 5.

この中でも本発明における特徴的な動作をする座標移動
部43の動作について詳しく説明する。
Among these, the operation of the coordinate moving section 43, which performs a characteristic operation in the present invention, will be described in detail.

座標データ移動部43の座標移動動作は1次のような2
つの動作フローが考えられる。まず第1は、出力装置の
1画素の大きさを入力しこの大きさに=18= 従って、輪郭線の法線方向へ半画素全輪郭線を移動させ
ることにより、細い文字を出力する方式であり、第2は
、輪郭線の傾きによりχ、yのどちらかの方向又は両方
に座標データを移動させることにより、細い文字を発生
する方法である。
The coordinate movement operation of the coordinate data movement unit 43 is performed in the following two-dimensional manner.
There are two possible operation flows. The first method is to input the size of one pixel of the output device and set it to this size = 18 = Therefore, by moving the entire contour line by half a pixel in the normal direction of the contour line, thin characters are output. The second method is to generate thin characters by moving the coordinate data in either or both of the χ and y directions depending on the slope of the contour line.

まず、第5図により第1図の方法について説明する。出
力装置の1画素が半径pの真円で、文字を構成する輪郭
座標51 (xi、、yl)を輪郭線の法線方向へ半画
素全移動した点52の座標を(xi’ + yl、’ 
)として、新たな文字輪郭情報とする方法を考える。こ
のとき、第5図に示すように移動対象の輪郭点の前の点
53の座標を(xo、yO)、後の点54の座標を(x
2.y2)とする。さらに、以下、文字の輪郭線の向き
に対して文字の太さを表す方向は必ず左側にあるものと
する。この「左側」自体に特に意味があるわけではなく
、左側か右側かいずれか一方に固定することに意味があ
る。
First, the method shown in FIG. 1 will be explained with reference to FIG. One pixel of the output device is a perfect circle with radius p, and the coordinates of a point 52 obtained by moving the contour coordinates 51 (xi, yl) of the character by half a pixel in the normal direction of the contour are expressed as (xi' + yl, '
), consider a method of creating new character contour information. At this time, as shown in FIG.
2. y2). Furthermore, hereinafter, it is assumed that the direction representing the thickness of a character is always on the left side with respect to the direction of the outline of the character. This "left side" itself does not have any particular meaning, but it is meaningful to fix it to either the left side or the right side.

移動後の点の座標(xi’ + yl、’ )を求める
際の動作フローを第6図に示す。
FIG. 6 shows the operation flow when determining the coordinates (xi'+yl,') of the point after movement.

19 まず、(xo+ yO) −(xl、+ yl)で定め
られる直線に対し、法線方向に半画素全移動させた直線
55の方程式を求める(ブロンクロ])。
19 First, the equation of a straight line 55 is determined by moving half a pixel in the normal direction to the straight line defined by (xo + yO) - (xl, + yl) (Broncro).

この直線の方程式は、 である。The equation of this line is It is.

次に、(xl、yl)−(x2.y2)で定められる直
線に対し、法線方向に半画素全移動させた直線56の方
程式を求める(ブロック62)。
Next, an equation of a straight line 56 obtained by moving half a pixel in the normal direction to the straight line defined by (xl, yl)-(x2.y2) is determined (block 62).

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

さらにブロック61及びブロック62で求めた2直線の
交点座標を求め(ブロック63)、この交点座標を移動
点(x 1’ + y 1’ )とする(ブロック64
)。交点座標は、2つの連立方程式の解として求めら九
る。
Furthermore, the coordinates of the intersection of the two straight lines obtained in blocks 61 and 62 are determined (block 63), and this coordinate of the intersection is set as the moving point (x 1' + y 1') (block 64).
). The coordinates of the intersection point are found as a solution of two simultaneous equations.

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

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

この方法では、輪郭線の傾きから移動方向を決定する。In this method, the direction of movement is determined from the slope of the contour.

第7図における。3つの点から構成される2本の線分7
1.72の傾きを定める端点のX方向、X方向の偏差を
それぞれ、 ΔχO=xl−x。
In FIG. Two line segments made up of three points 7
The deviation in the X direction and the X direction of the end point that determines the slope of 1.72 is ΔχO=xl−x, respectively.

Δyo=y 1−y。Δyo=y 1-y.

Δχ 1=x2−xi Δy 1=y 2−y 」 とし、出力装置の1画素が2pxX2pyの長方形とす
る。この時1文字の輪郭点73の座標(xl+yl)の
座標移動位fEf74の座標(x1′y1′)を求める
動作フローを第8図に示す。2本の線分のX方向の偏差
ΔXOおよびΔX1が共に正方向であった場合には(ブ
ロック81)、ylを正の方向へpyだけ移動させる(
ブロック82)。そうでなく、2本の線分の前記偏差が
共1 に負だった場合には(ブロック83)、ylを負の方向
へpyだけ移動させる(ブロック84)。
Δχ 1=x2−xi Δy 1=y 2−y ”, and one pixel of the output device is a rectangle of 2pxx2py. FIG. 8 shows an operation flow for determining the coordinates (x1'y1') of the coordinate movement position fEf74 of the coordinates (xl+yl) of the contour point 73 of one character at this time. If the deviations ΔXO and ΔX1 in the X direction of the two line segments are both in the positive direction (block 81), move yl in the positive direction by py (
Block 82). Otherwise, if the deviations of the two line segments are both negative by 1 (block 83), yl is moved by py in the negative direction (block 84).

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

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

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

文字の構成線として多数使用されている水平線2 及び垂直線の移動量は半画素分にあたるpとし、斜線部
は平均45″′とみなし、p v’ 2とした場合の動
作フローである。
The operation flow is shown in the case where the moving amount of horizontal line 2 and vertical line, which are used in large numbers as constituent lines of characters, is p, which corresponds to half a pixel, and the shaded area is assumed to have an average of 45'', and is set to p v' 2.

線分71.72のうちのいずれかが水平線であると判断
された場合には(ブロック91)、X方向の移動量をp
としくブロック92)、そうでない場合には、p v’
 2とする(ブロック93)。また、線分71.72の
うちのどちらかが垂直線であると判断された場合には(
ブロック94)、X方向の移動量をpとしくブロック9
5)、そうでない場合には、p v’ 2とする(ブロ
ック96)。
If any of the line segments 71 and 72 is determined to be a horizontal line (block 91), the amount of movement in the X direction is p.
block 92), otherwise p v'
2 (block 93). Also, if either of the line segments 71 or 72 is determined to be a vertical line, (
Block 94), the amount of movement in the X direction is p, and block 9
5), otherwise p v' 2 (block 96).

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

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

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

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

第10図は第2の実施例に係る文字発生装置3の構成で
ある。図中、101は座標変換部であり、102はラス
ター変換部である。座標変換部101は、フォントRO
Mから入力される文字の輪郭座標を示す情報と入力装置
4等から入力される文字の修飾情報に基づき、形状変換
を行う。ラスター変換部102は、変換後座標データを
受は取り、これを基にドツト文字に変換する。ドツト文
字に変換する際に、輪郭線上の点を文字の外側と判定す
ることにより細い文字を発生する。
FIG. 10 shows the configuration of a character generating device 3 according to a second embodiment. In the figure, 101 is a coordinate transformation section, and 102 is a raster transformation section. The coordinate conversion unit 101 converts the font RO
Shape conversion is performed based on information indicating the contour coordinates of the character input from M 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 this. When converting to dot characters, thin characters are generated by determining points on the outline to be outside the character.

第11図に輪郭の発生例を示す。従来の直線発生方式で
は、小数点以下を四捨五入することにより輪郭線が通過
する点を輪郭線として発生しているが、本実施例では、
第11図(a)に示すように輪郭線の進行方向左側(線
分内部)が塗り潰し方向(図の例ではX方向)の負側で
ある場合に、座24 標データを計算する際に、X+Vデータの小数点以下を
切り捨てる操作を行い、111に示すような輪郭線を発
生させる。逆に、線分の進行方向左側が塗り潰し方向の
正側である場合には、逆に小数点以下を切り上げる操作
を行う。これによって、文字の太さを定める対向輪郭線
が互いに接近することになる。この輪郭線の内部を塗り
つぶすことにより、細い文字が発生する。
FIG. 11 shows an example of contour occurrence. In the conventional straight line generation method, the points through which the contour line passes are generated as the contour line by rounding off the decimal places, but in this example,
As shown in FIG. 11(a), when the left side of the contour line in the advancing direction (inside the line segment) is the negative side of the filling direction (X direction in the example shown), when calculating the coordinate data, The X+V data is rounded down to the decimal point to generate a contour line as shown at 111. Conversely, if the left side of the line segment in the advancing direction is the positive side of the filling direction, then the decimal point is rounded up. This causes the opposing contour lines that define the thickness of the character to move closer together. By filling in the inside of this outline, thin characters are generated.

また、同図(b)に示すように、線分の進行方向左側が
塗り潰し方向の負側である場合に、逆に座標データの小
数点以下を切り上げる操作を行えば(正側である場合に
は切り捨てる操作を行う)、太い文字を発生させること
ができる。
In addition, as shown in Figure (b), if the left side of the line segment's advancing direction is the negative side of the filling direction, if you round up the decimal point of the coordinate data (if it is the positive side, truncation operation), it is possible to generate bold characters.

なお、この切り上げ、切り捨て処理は、文字の太さを決
定する対向輪郭線の一方のみに適用し、他方の輪郭線は
従来通り四捨五入を行う方式とすることも可能である。
Note that it is also possible to apply this rounding up and down processing to only one of the opposing contour lines that determine the thickness of the character, and rounding off the other contour line as usual.

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

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

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

なお、太い文字を出力する際には、逆に、開始点座標を
切り捨て、終了点座標を切り上げることにより、輪郭線
上の点を塗り潰しの対象とするようにすればよい。
Note that when outputting a thick character, conversely, the starting point coordinates are rounded down and the ending point coordinates are rounded up, so that points on the outline are filled in.

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

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

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

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

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

本実施例によれば、印刷装置の高精細化に伴って、印刷
文書のコピー時に細い文字が消失して品質が劣化してし
まうという問題を解決することができる。
According to this embodiment, it is possible to solve the problem that thin characters disappear when copying a printed document and the quality deteriorates as printing devices become more precise.

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

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

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

座標移動の方向を傾きにより、X+’!方向のみに限定
することにより、より高速な移動処理を行うことができ
る。
The direction of coordinate movement is determined by the inclination, X+'! By limiting to only the direction, faster movement processing can be performed.

また、円形画素に対しては、輪郭線が斜線であった場合
にxr’/の移動量を変更することにより、29− より移動精度を向上させることができる。
Furthermore, for a circular pixel, when the contour line is a diagonal line, by changing the amount of movement of xr'/, the movement accuracy can be improved by 29-.

また、印刷装置等に出力する場合、文書データを90°
回転させたデータを出力する場合では、X+y方向の移
動量を自動的に反転させることにより、回転前の出力結
果と同等にすることができる。
Also, when outputting to a printing device etc., the document data should be
When outputting rotated data, by automatically reversing the amount of movement in the X+y direction, the output result can be made equal to the output result before rotation.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明を実施した文字発生装置による出力例の
説明図、第2図は実施例を実行するための文字出力装置
の構成例を示したブロック図、第3図は画素情報テーブ
ルの構成例を示した模式図、第4図は本発明の第1の実
施例を実現するための文字発生装置の内部ブロック図、
第5図は文字の輪郭座標の移動位置を示す第1の模式図
、第6図は第5図の移動位置座標を求める方式のフロー
チャート、第7図は文字の輪郭座標の移動位置を示す第
2の模式図、第8図は第7図の移動位置座標を求める方
式のフローチャート、第9図は移動距離を設定する方式
を表したフローチャーh、第10図は本発明の第2の実
施例を実現するための0 文字発生装置の内部模式図、第11図は文字の輪郭を表
す模式図、第12図は文字の塗り潰し対象として輪郭線
−Lの点を含めない場合の模式図、第13図は本発明の
文書作成装置のブロック図である。 3・・・文字発生装置、33 画素情報テーブル、43
 座標移動部、102 ラスター変換部。
FIG. 1 is an explanatory diagram of an example of output by a character generator embodying the present invention, FIG. 2 is a block diagram showing an example of the configuration of a character output device for carrying out the embodiment, and FIG. 3 is a diagram of a pixel information table. 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,
Figure 5 is a first schematic diagram showing the movement position of the character outline coordinates, Figure 6 is a flowchart of the method for determining the movement position coordinates of Figure 5, and Figure 7 is the first schematic diagram showing the movement position of the character outline coordinates. 2, FIG. 8 is a flowchart of the method of determining the moving position coordinates of FIG. 7, FIG. 9 is a flowchart showing the method of setting the moving distance, and FIG. 0 for realizing the example; FIG. 11 is a schematic diagram showing the outline of a character; FIG. 12 is a schematic diagram when the outline -L point is not included as a character filling target; FIG. 13 is a block diagram of the document creation device of the present invention. 3...Character generator, 33 Pixel information table, 43
Coordinate movement section, 102 raster conversion section.

Claims (1)

【特許請求の範囲】 1、ベクトル形式で表された文字の輪郭座標データを座
標変換によりラスター形式で表された文字データに変換
し、該変換後の文字データを出力装置に供する文字発生
方式において、 前記座標変換により縮小した文字を得る際、変換後の文
字の輪郭座標データに基づき、出力装置のほぼ1画素の
大きさ分、文字の太さを細くした輪郭座標データを得て
、該輪郭座標データから前記ラスター形式の文字データ
を得ることを特徴とする文字発生方式。 2、ベクトル形式で表された文字の輪郭座標データを座
標変換によりラスター形式で表された文字データに変換
し、該変換後の文字データを出力装置に供する文字発生
装置において、 前記出力装置の1画素の大きさ情報を記憶する手段と、 該記憶された1画素の大きさに比例した量だけ前記変換
後の文字の太さを細くするよう輪郭座標データに補正を
加える手段と を備えたことを特徴とする文字発生装置。 3、前記輪郭座標データに補正を加える手段は、文字の
対向する輪郭線をそれぞれ文字の内部方向へほぼ半画素
分移動させるよう輪郭座標データを変更することを特徴
とする請求項2記載の文字発生装置。 4、前記輪郭座標データに補正を加える手段は、輪郭座
標データの移動方向をx、yの2軸方向に限定するとと
もに各移動量を限定し、輪郭線の傾きによりxまたはy
方向、または両方向に当該移動量分、輪郭座標データを
移動させることを特徴とする請求項2記載の文字発生装
置。 5、前記x、yの両方向に移動させる場合の移動量を、
いずれか一方のみ移動させる場合の移動量に対して減少
させることを特徴とする請求項4記載の文字発生装置。 6、x方向とy方向の移動量が異なる出力装置に対して
文字を90°回転させて出力する場合、移動量を逆にす
ることを特徴とする請求項4記載の文字発生装置。 7、輪郭座標データの移動結果の相対位置が移動前の位
置関係と異なる場合には、移動前の輪郭座標データに戻
す手段を設けたことを特徴とする請求項4記載の文字発
生装置。 8、ベクトル形式で表された文字の輪郭座標データを座
標変換によりラスター形式で表された文字データに変換
し、該変換後の文字データを出力装置に供する文字発生
装置において、 前記座標変換後の輪郭座標データの輪郭線上の点を、文
字を構成する太さの外側と判断する手段と、 文字の太さの内部と判断された領域を塗り潰したデータ
を作成する手段と を備えたことを特徴とする文字発生装置。 9、ベクトル形式で表された文字の輪郭座標データを座
標変換によりラスター形式で表された文字データに変換
し、該変換後の文字データを出力装置に供する文字発生
装置において、 前記座標変換後の輪郭座標データの輪郭線上の点を、文
字を構成する太さの内側と判断する手段と、 文字の太さの内部と判断された領域を塗り潰したデータ
を作成する手段と を備えたことを特徴とする文字発生装置。 10、ベクトル形式で表された文字の輪郭座標データを
座標変換によりラスター形式で表された文字データに変
換し、該変換後の文字データを印刷装置に供する文字発
生装置を備え、複数の印刷装置に接続可能な文書作成装
置において、前記複数の印刷装置固有の画素の大きさ情
報を入力する手段と、 指定された印刷装置の画素の大きさ情報を得るために前
記テーブルを参照する手段と、 該手段により得られた画素の大きさ情報に応じて当該印
刷装置に出力する文字の太さを当該印刷装置のほぼ1画
素分細くする手段と を備えたことを特徴とする文書作成装置。 11、ベクトル形式で表された文字の輪郭座標データを
座標変換によりラスター形式で表された文字データに変
換し、該変換後の文字データを印刷装置に供する文字発
生装置を備え、複数の印刷装置に接続可能な文書作成装
置において、前記複数の印刷装置固有の画素の大きさ情
報を各印刷装置に対応して保持するテーブルと、出力指
示された印刷装置の画素の大きさ情報を得るために前記
テーブルを参照する手段と、該手段により得られた画素
の大きさ情報に応じて当該印刷装置に出力する文字の太
さを当該印刷装置のほぼ1画素分細くする手段と を備えたことを特徴とする文書作成装置。 12、前記1画素分細くする手段は、文字の対向する輪
郭線をそれぞれ文字の内部方向へほぼ半画素分移動させ
ることを特徴とする請求項10または11記載の文書作
成装置。
[Claims] 1. A character generation method in which contour coordinate data of a character expressed in vector format is converted into character data expressed in raster format by coordinate transformation, and the converted character data is provided to an output device. , When obtaining a character reduced by the coordinate conversion, based on the contour coordinate data of the converted character, obtain contour coordinate data that reduces the thickness of the character by approximately one pixel of the output device, and A character generation method characterized in that character data in the raster format is obtained from coordinate data. 2. In a character generation device that converts character outline coordinate data expressed in vector format into character data expressed in raster format by coordinate transformation, and provides the converted character data to an output device, 1 of the output device. A means for storing pixel size information, and a means for correcting the contour coordinate data so as to reduce the thickness of the converted character by an amount proportional to the stored size of one pixel. A character generator featuring: 3. The character according to claim 2, wherein the means for correcting the contour coordinate data changes the contour coordinate data so that each of the opposing contour lines of the character is moved approximately half a pixel inward of the character. Generator. 4. The means for correcting the contour coordinate data limits the movement direction of the contour coordinate data to two axes, x and y, and limits each movement amount, and
3. The character generating device according to claim 2, wherein the contour coordinate data is moved by the amount of movement in one direction or in both directions. 5. The amount of movement when moving in both x and y directions is
5. The character generating device according to claim 4, wherein the amount of movement is reduced compared to when only one of them is moved. 6. The character generating device according to claim 4, wherein when outputting a character rotated by 90 degrees to an output device having different amounts of movement in the x and y directions, the amount of movement is reversed. 7. The character generating device according to claim 4, further comprising means for returning the contour coordinate data to the contour coordinate data before the movement when the relative position of the movement result of the contour coordinate data is different from the positional relationship before the movement. 8. In a character generation device that converts contour coordinate data of a character expressed in a vector format into character data expressed in a raster format by coordinate transformation, and provides the converted character data to an output device, after the coordinate transformation. The present invention is characterized by comprising means for determining that a point on the outline of the outline coordinate data is outside 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 in. Character generator. 9. In a character generation device that converts contour coordinate data of a character expressed in a vector format into character data expressed in a raster format by coordinate transformation, and provides the converted character data to an output device, after the coordinate transformation. The present invention is characterized by comprising means for determining that a point on the outline of the outline coordinate data 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 in. Character generator. 10. A plurality of printing devices, including a character generation device that converts contour coordinate data of a character expressed in a vector format into character data expressed in a raster format by coordinate transformation, and provides the converted character data to a printing device; In a document creation device connectable to the printer, means for inputting pixel size information specific to the plurality of printing devices, and means for referring to the table to obtain pixel size information of the designated printing device; A document creation device comprising means for reducing the thickness of a character output to the printing device by approximately one pixel of the printing device in accordance with pixel size information obtained by the device. 11. A plurality of printing devices, including a character generation device that converts contour coordinate data of a character expressed in a vector format into character data expressed in a raster format through coordinate transformation, and provides the converted character data to a printing device; In a document creation device that can be connected to, a table that holds pixel size information specific to the plurality of printing devices corresponding to each printing device, and a table for obtaining pixel size information of a printing device that is instructed to output. The present invention further comprises: means for referring to the table; and means for reducing the thickness of characters output to the printing device by approximately one pixel of the printing device in accordance with the pixel size information obtained by the means. Characteristic document creation device. 12. The document creation device according to claim 10 or 11, wherein the means for narrowing by one pixel moves each of the opposing contour lines of the character approximately half a pixel toward the inside 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 true JPH03150594A (en) 1991-06-26
JP2895529B2 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104978711A (en) * 2015-07-17 2015-10-14 北京航空航天大学 Chinese character shape deformation method based on smoke simulation

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61145992U (en) * 1985-02-27 1986-09-09
JPS6370890A (en) * 1986-09-13 1988-03-31 キヤノン株式会社 Graphic processor
JPS63303477A (en) * 1987-06-03 1988-12-12 Hitachi Ltd Vector character and graphic processing system
JPS6459297A (en) * 1987-08-28 1989-03-06 Alps Electric Co Ltd Character reduction/expansion system
JPS6490491A (en) * 1987-10-01 1989-04-06 Alps Electric Co Ltd Reduction of vector font
JPH01191192A (en) * 1988-01-27 1989-08-01 Toshiba Corp High quality character generating device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61145992U (en) * 1985-02-27 1986-09-09
JPS6370890A (en) * 1986-09-13 1988-03-31 キヤノン株式会社 Graphic processor
JPS63303477A (en) * 1987-06-03 1988-12-12 Hitachi Ltd Vector character and graphic processing system
JPS6459297A (en) * 1987-08-28 1989-03-06 Alps Electric Co Ltd Character reduction/expansion system
JPS6490491A (en) * 1987-10-01 1989-04-06 Alps Electric Co Ltd Reduction of vector font
JPH01191192A (en) * 1988-01-27 1989-08-01 Toshiba Corp High quality character generating device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104978711A (en) * 2015-07-17 2015-10-14 北京航空航天大学 Chinese character shape deformation method based on smoke simulation

Also Published As

Publication number Publication date
JP2895529B2 (en) 1999-05-24

Similar Documents

Publication Publication Date Title
JP2836086B2 (en) Character pattern data generator
JP2634851B2 (en) Image processing device
JPH03150594A (en) System and device for character generation and document printer
JP2952915B2 (en) Dot pattern data generator
JP3034140B2 (en) Character generation method and device
JPH11109943A (en) Font processor and recording medium recorded with font processing program
KR940001106B1 (en) Image processing method and apparatus therefor
JP2806679B2 (en) Character generator
JP2771629B2 (en) Character processor
JP3129717B2 (en) Image processing apparatus and image processing method
JPH0280267A (en) Processing of system of vector characters
JP2782752B2 (en) Character pattern output device
JP2711860B2 (en) Output control method and device
JPH0823741B2 (en) How to process vector characters or graphics
JPH06118935A (en) Character data generating device
JPH0668247A (en) Method and device for varying power of digital image data
JP3573291B2 (en) Character data creation method and character data creation device
JP2001092981A (en) Device and method for processing image
JP2664948B2 (en) Image processing apparatus and image processing method
JP3039214B2 (en) Data converter
JP3514895B2 (en) Image expansion processing method and apparatus
JPS62175794A (en) Character generator
JPH0896149A (en) Graphic plotting device
JPH0863143A (en) Character sign generating device
JPH06110444A (en) Character processor and character output method