JPH09127930A - Character output device - Google Patents

Character output device

Info

Publication number
JPH09127930A
JPH09127930A JP7303437A JP30343795A JPH09127930A JP H09127930 A JPH09127930 A JP H09127930A JP 7303437 A JP7303437 A JP 7303437A JP 30343795 A JP30343795 A JP 30343795A JP H09127930 A JPH09127930 A JP H09127930A
Authority
JP
Japan
Prior art keywords
density
outline
pixel
character
output device
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
JP7303437A
Other languages
Japanese (ja)
Other versions
JP3350325B2 (en
Inventor
Atsuhiko Kurachi
敦彦 倉知
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP30343795A priority Critical patent/JP3350325B2/en
Publication of JPH09127930A publication Critical patent/JPH09127930A/en
Application granted granted Critical
Publication of JP3350325B2 publication Critical patent/JP3350325B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a character output device for converting an outline data into an image data followed outputting in which the reduction in readability accompanying the contraction of characters can be prevented or suppressed. SOLUTION: A character output device is provided with the following essential requirements within a CPU 5. (1) A density setting means scans the outline of a character in a determined direction in picture element coordinate, and sets the picture elements within an area (outline area) judged to be present on the inside of the outline on the scanning line to a first density, and other picture elements to a second density. (2) A density correcting means sets, when two outline areas make contact to each other or are partially superposed, one or a plurality of picture elements situated in the vicinity of the terminal on the contacting side or superposing side of at least one of these areas to a third density intermediate between the first and second densities.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、文字、記号及び図
形等(以下、これらを総称してキャラクタという)を表
示ないし印字出力するためのキャラクタ出力装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character output device for displaying or printing out characters, symbols, figures, etc. (hereinafter collectively referred to as characters).

【0002】[0002]

【従来の技術】従来、プリンタやディスプレイなどのキ
ャラクタ出力装置として、キャラクタの形状をその輪郭
(アウトライン)を表すアウトラインデータにより記憶
し、そのアウトラインデータを画素によるイメージデー
タに変換して出力する方式のものが普及している。具体
的には、出力装置の画素を規定する座標系(画素座標)
に対し上記アウトラインを重ね、そのアウトラインを所
定の方向に走査することにより、アウトラインの内側に
存在する画素と外側に存在する画素とを判別し、その内
側に存在すると判別された画素をオン状態とすることで
キャラクタのイメージデータが生成される(以下、この
ような方法によりアウトラインデータをイメージデータ
に変換する処理のことをスキャンコンバージョン処理と
いう)。ここで、キャラクタの拡大もしくは縮小を行う
場合には、基準となるサイズのアウトラインを、指定さ
れたサイズに拡大もしくは縮小した後に画素座標に重
ね、その後上記スキャンコンバージョン処理を行うこと
で、指定されたサイズに対応したイメージデータが生成
される。
2. Description of the Related Art Conventionally, as a character output device such as a printer or a display, a method of storing the shape of a character as outline data representing its outline and converting the outline data into image data of pixels and outputting the image data Things are widespread. Specifically, the coordinate system that defines the pixels of the output device (pixel coordinates)
On the other hand, by overlapping the above outline and scanning the outline in a predetermined direction, the pixels existing inside the outline are distinguished from the pixels existing outside, and the pixels determined to be present inside the outline are turned on. By doing so, image data of the character is generated (hereinafter, the process of converting outline data into image data by such a method is referred to as scan conversion process). Here, when enlarging or reducing the character, the outline of the reference size is enlarged or reduced to the specified size and then overlapped with the pixel coordinates, and then the scan conversion process is performed to specify the specified outline. Image data corresponding to the size is generated.

【0003】[0003]

【発明が解決しようとする課題】ところで、上述のスキ
ャンコンバージョン処理におけるアウトラインの内側領
域と外側領域との判別は、画素を単位としたデジタル処
理により行われる。すなわち、アウトラインを構成する
輪郭線が画素の内側を横切って通過している場合には、
例えばその画素の中心がアウトラインよりも内側にある
か外側にあるかに基づいて、その画素全体がアウトライ
ンの内側又は外側のいずれか一方に属するものとなるよ
うに処理される。従って、このように領域をデジタル化
する場合は、上記画素幅に対応した誤差がアウトライン
の近傍において不可避的に生ずることとなる。
Discrimination between the inside area and the outside area of the outline in the above-mentioned scan conversion processing is performed by digital processing in units of pixels. That is, if the outlines that make up the outline pass inside the pixel,
For example, based on whether the center of the pixel is inside or outside the outline, the entire pixel is processed so as to belong to either the inside or outside of the outline. Therefore, when the area is digitized in this way, an error corresponding to the pixel width inevitably occurs near the outline.

【0004】ここで、例えば文字のように、複数の線状
領域により構成されたキャラクタにおいては、その線幅
が1画素の拡がりよりも十分大きい場合には、上記デジ
タル化に伴う誤差はほとんど無視することができる。と
ころが、キャラクタが縮小されて線幅が小さくなると上
記誤差の影響が次第に大きくなり、例えば図15に示す
ように、走査方向に隣接する線が互いにつながって潰れ
が生ずるなど、キャラクタの可読性が低下する問題があ
る。
Here, in the case of a character composed of a plurality of linear regions, such as a character, if the line width is sufficiently larger than the spread of one pixel, the error due to the digitization is almost ignored. can do. However, when the character is reduced in size and the line width is reduced, the influence of the above error is gradually increased, and the readability of the character is deteriorated, for example, as shown in FIG. There's a problem.

【0005】本発明の課題は、アウトラインデータをイ
メージデータに変換して出力するキャラクタ出力装置に
おいて、キャラクタの縮小に伴う可読性の低下を防止な
いし抑制することができ、ひいては小サイズのキャラク
タも美しく出力することができる装置を提供することに
ある。
SUMMARY OF THE INVENTION An object of the present invention is to prevent or suppress deterioration of readability due to character reduction in a character output device for converting outline data into image data and outputting the image data. It is to provide a device capable of doing.

【0006】[0006]

【課題を解決するための手段及び作用・効果】本発明
は、キャラクタの輪郭形状を定義したアウトラインデー
タに基づくアウトラインを、出力装置の画素を規定する
座標系(画素座標)に重ねたと想定し、その画素座標と
前記アウトラインとの位置関係が一定基準を満たすこと
で、アウトラインの内側にあると判定された画素を第一
の濃度に設定し、それ以外の画素を第一の濃度とは異な
る第二の濃度に設定することにより、アウトラインデー
タを画素の情報を定義したイメージデータに変換し、該
イメージデータに基づいてキャラクタのイメージを出力
するキャラクタ出力装置に係るものであり、下記の要件
を備えて構成されることを特徴とする。 濃度設定手段:画素座標において、アウトラインを予
め定められた方向に走査するとともに、その走査線上に
おいて、アウトラインの内側に存在すると判定された領
域(アウトライン領域)内の画素を第一の濃度に設定す
る。 濃度補正手段:走査線上において、2つのアウトライ
ン領域が互いに接してもしくはその一部が重なって形成
されている場合に、それらアウトライン領域の少なくと
も一方に対し、その接するもしくは重なっている側の末
端近傍に位置する1ないし複数の画素の濃度を、第一の
濃度と第二の濃度との中間の第三の濃度とする濃度補正
処理を行う。
According to the present invention, it is assumed that an outline based on outline data defining a contour shape of a character is superposed on a coordinate system (pixel coordinates) defining pixels of an output device. When the positional relationship between the pixel coordinates and the outline satisfies a certain standard, the pixels determined to be inside the outline are set to the first density, and the other pixels are set to the first density different from the first density. The present invention relates to a character output device that converts outline data into image data defining pixel information by setting the second density and outputs a character image based on the image data, and has the following requirements. It is characterized by being configured. Density setting means: scans the outline in a predetermined direction in pixel coordinates, and sets the pixels in a region (outline region) determined to exist inside the outline on the scanning line to the first density. . Density correction means: When two outline regions are formed in contact with each other or partially overlap each other on a scanning line, at least one of the outline regions is near the end of the contact or overlap side. Density correction processing is performed in which the density of one or more pixels located is a third density intermediate between the first density and the second density.

【0007】上述のように構成されたキャラクタ出力装
置においては、走査線上において、元来分離して判別さ
れるべき2つのアウトライン領域が、前述のデジタル化
誤差等のために互いに接してもしくは一部が重なって形
成されてしまった場合に、それらアウトライン領域の少
なくとも一方において、その接するもしくは重なってい
る側の末端近傍に位置する画素が、濃度補正手段により
第一の濃度と第二の濃度との中間の第三の濃度とされる
ので、隣接するアウトライン領域の連続化に伴う文字の
潰れ等が生じにくくなる。その結果、キャラクタの縮小
に伴う可読性の低下を防止ないし抑制することができ、
ひいては小サイズのキャラクタも美しく出力することが
できる。
In the character output device configured as described above, two outline areas which should be originally separated and discriminated from each other on the scanning line are in contact with each other or partially due to the digitization error or the like. , The pixels located in the vicinity of the end on the contacting or overlapping side of at least one of the outline areas are overlapped with each other by the density correcting means. Since the density is the intermediate third density, it is difficult for the characters to be crushed due to the continuation of the adjacent outline areas. As a result, it is possible to prevent or suppress the deterioration of readability due to the reduction of the character,
As a result, small-sized characters can be output beautifully.

【0008】次に、濃度補正手段による特定の画素の濃
度補正処理を禁止する補正禁止手段を設けることができ
る。補正禁止手段は、例えば走査線に沿ったアウトライ
ン領域の形成長さが予め定められた値以下の場合に、そ
のアウトライン領域における上記濃度補正処理を禁止す
るものとすることができる。例えば、アウトライン領域
が1画素分の長さしか有さない場合には、濃度補正処理
を行うとアウトライン領域が消滅したり、あるいは不明
瞭となってしまうこともありうるが、そのようなアウト
ライン領域に対して濃度補正処理を禁止することで、上
述の問題を回避することができる。補正禁止手段は、さ
らに具体的には、走査線上において互いに接してもしく
はその一部が重なって形成されている2つのアウトライ
ン領域のうち、一方のものが他方のものよりも形成長さ
が小さく、かつ該形成長さが予め定められた値以下であ
る場合に、該一方のアウトライン領域における濃度補正
処理を禁止するものとすることができる。
Next, it is possible to provide correction prohibiting means for prohibiting the density correction processing of the specific pixel by the density correcting means. The correction prohibiting means can prohibit the density correction processing in the outline area when the formation length of the outline area along the scanning line is equal to or less than a predetermined value. For example, when the outline area has a length of only one pixel, the outline area may disappear or become unclear when the density correction processing is performed. However, by prohibiting the density correction processing, the above-mentioned problem can be avoided. More specifically, the correction inhibiting unit has one of two outline regions formed in contact with each other or partially overlapping each other on the scanning line, and has a smaller formation length than the other. Further, when the formation length is equal to or smaller than a predetermined value, the density correction processing in the one outline area can be prohibited.

【0009】上記第三の濃度は、複数段階のいずれかに
設定可能とすることができる。これにより、濃度補正処
理をよりきめ細く行うことができる。この場合、濃度補
正手段は、走査線上において濃度補正処理を行うべき画
素に対し、2つのアウトライン領域の走査線に沿った各
形成長さの組み合わせに応じて、その濃度を上記複数段
階のいずれかに設定するように構成することができる。
こうすれば、例えばキャラクタイメージにおいて互いに
近接して形成されている線状領域などの場合、補正され
る画素の濃度が線幅の組み合わせに応じて調整されるの
で、両領域の判読性を一層高めることができる。
The third concentration can be set in any of a plurality of stages. As a result, the density correction process can be performed more finely. In this case, the density correction means sets the density of the pixel to be subjected to the density correction processing on the scanning line in any one of the plurality of stages according to the combination of the formation lengths along the scanning line of the two outline regions. Can be configured to.
By doing this, for example, in the case of linear areas formed close to each other in the character image, the density of the pixel to be corrected is adjusted according to the combination of the line widths, so the readability of both areas is further enhanced. be able to.

【0010】次に、走査方向は互いに交差する2以上の
ものを設定することができ、それら各走査方向毎に、ア
ウトラインの走査と補正画素の特定が行われるように構
成することができる。これにより、1方向のみの走査を
行う場合と比較して、アウトラインデータからのイメー
ジデータの変換精度、すなわちキャラクタイメージの解
像度を向上させることができる。この場合、濃度補正手
段は、下記の要件を含むものとして構成することができ
る。 第三濃度設定手段:1つの走査線による走査が終了す
る毎に、該走査線上において2つのアウトライン領域が
互いに接してもしくはその一部が重なって形成されてい
る場合に、それらアウトライン領域の少なくとも一方に
対し、その接するもしくは重なっている側の末端近傍に
位置する1ないし複数の画素の濃度を第三の濃度に設定
する処理を、各走査方向毎に行う。 最終濃度決定手段:各画素に対し、第三濃度設定手段
が各走査方向毎に設定した濃度の組み合わせに基づい
て、それら各画素の最終設定濃度を決定する。 上述の構成によれば、同じ画素に対する設定濃度が走査
方向により異なる場合に、その走査方向毎の濃度の組合
せに応じて最終濃度決定手段が各画素に対する最終設定
濃度を決定するので、一層きめ細かい濃度補正処理が可
能となる。
Next, it is possible to set two or more scanning directions that intersect each other, and it is possible to perform outline scanning and identification of correction pixels for each of these scanning directions. As a result, the conversion accuracy of the image data from the outline data, that is, the resolution of the character image can be improved as compared with the case where scanning is performed in only one direction. In this case, the density correction means can be configured to include the following requirements. Third density setting means: at least one of the outline regions is formed when two outline regions are formed in contact with each other or partially overlap each other on the scan line every time scanning with one scanning line is completed. On the other hand, the processing of setting the density of one or a plurality of pixels located near the end on the side of contact or overlapping to the third density is performed for each scanning direction. Final density determining means: For each pixel, the third density setting means determines the final set density of each pixel based on the combination of densities set for each scanning direction. According to the above configuration, when the set densities for the same pixel are different depending on the scanning direction, the final density determination unit determines the final set density for each pixel according to the combination of the densities for each scanning direction. Correction processing becomes possible.

【0011】[0011]

【発明の実施の形態】以下、本発明の実施の形態を、実
施例を参照しつつ図面を用いて説明する。図1は、本発
明のキャラクタ出力装置の一構成例を示すブロック図で
ある。すなわち、キャラクタ出力装置1は、I/Oポー
ト4と、これに接続されたCPU5、ROM6、RAM
7及びディスク記憶装置8等からなるコンピュータ本体
2と、さらに上記I/Oポート4においてコンピュータ
本体2に接続されたプリンタ3とを備えている。また、
I/Oポート4には、キーボード等の入力部9及び表示
制御部10が接続されており、表示制御部10にはCR
Tや液晶ディスプレイ等のモニタ11が接続されてい
る。なお、上記CPU5が濃度設定手段、濃度補正手段
及び補正禁止手段の主体をなす。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The embodiments of the present invention will be described below with reference to the accompanying drawings. FIG. 1 is a block diagram showing a configuration example of a character output device of the present invention. That is, the character output device 1 includes an I / O port 4, a CPU 5, a ROM 6 and a RAM connected to the I / O port 4.
7, a computer main body 2 including a disk storage device 8 and the like, and a printer 3 connected to the computer main body 2 through the I / O port 4. Also,
An input unit 9 such as a keyboard and a display control unit 10 are connected to the I / O port 4, and the display control unit 10 has a CR.
A monitor 11 such as a T or a liquid crystal display is connected. The CPU 5 is the main body of the density setting means, the density correcting means and the correction inhibiting means.

【0012】コンピュータ本体2のROM6には、出力
制御プログラム記憶部6aが形成されており、ここに本
実施例で以下に説明するキャラクタ出力処理を司るため
の出力制御プログラムが記憶されている。さらに、RO
M6には、濃度決定テーブルを格納するための濃度決定
テーブル記憶部6bが格納されているが、その役割につ
いては後述する。一方、RAM7には、ワークメモリ7
a、テキストメモリ7b、Xスキャン交点メモリ7c、
Yスキャン交点メモリ7d等が形成されている。ワーク
メモリ7aは、CPU5がプログラムを実行する際に、
必要なデータを一時的に記憶するのに使用される。ま
た、テキストメモリ7bは、入力部9から入力されたキ
ャラクタのコードやサイズ、及びキャラクタの回転や斜
体あるいは上付き・下付き文字などのキャラクタ修飾情
報を記憶する。その他のメモリの役割については後述す
る。
An output control program storage unit 6a is formed in the ROM 6 of the computer main body 2, and an output control program for controlling a character output process described below in this embodiment is stored therein. Furthermore, RO
The density determination table storage unit 6b for storing the density determination table is stored in M6, and its role will be described later. On the other hand, the RAM 7 has a work memory 7
a, text memory 7b, X scan intersection memory 7c,
A Y scan intersection memory 7d and the like are formed. The work memory 7a is used when the CPU 5 executes a program.
Used to temporarily store the required data. In addition, the text memory 7b stores the code and size of the character input from the input unit 9 and the character modification information such as the rotation and italic of the character or the superscript / subscript. Other roles of the memory will be described later.

【0013】一方、ディスク記憶装置8はハードディス
ク装置あるいは光磁気ディスク装置等で構成され、ここ
にキャラクタ記憶部8aとイメージメモリ8bが形成さ
れている。キャラクタ記憶部8aには、各種書体の文字
や記号等の多数のキャラクタに一対一に対応するキャラ
クタデータが、1キャラクタ単位でランダムに読出し可
能に記憶されている。このキャラクタデータは、各キャ
ラクタの輪郭形状を与えるアウトラインデータの他、文
字幅などキャラクタの属性データ等を含む。なお、キャ
ラクタデータ記憶部8aは、同6cとしてROM6内に
形成することも可能である。
On the other hand, the disk storage device 8 is composed of a hard disk device, a magneto-optical disk device or the like, and a character storage portion 8a and an image memory 8b are formed therein. In the character storage unit 8a, character data corresponding to a large number of characters such as characters and symbols of various typefaces in a one-to-one correspondence is stored so as to be randomly read in units of one character. The character data includes outline data that gives the contour shape of each character, and character attribute data such as character width. The character data storage unit 8a can be formed in the ROM 6 as the same 6c.

【0014】図2は、アウトラインデータの一例を示す
ものである。すなわち、同図(a)に示すように、コン
ピュータ本体2内には基準座標15が設定され、各キャ
ラクタのアウトラインデータは、その輪郭(アウトライ
ン)16の各構成線を上記基準座標15上でベクトル表
示した場合の、そのベクトルデータの組み合わせとして
記述されている。その具体例を同図(b)に示してい
る。該データは、処理内容を表すフラグと、そのフラグ
に対応する処理が終了した時点でのポインタの位置を与
える座標値とによって構成されている。ここで、数値1
はX座標を、数値2はY座標を表し、フラグ「S」は描
画開始点にポインタを移動させる処理を、フラグ「L」
は直前の座標から、該フラグに対応する座標までポイン
タを移動させ、そのポインタの軌跡に基づいてアウトラ
イン16の各構成線を描く処理をそれぞれ示している。
そして、(a)に示したアウトライン16の場合は、
(58,25)の座標値を起点として、再度その座標に
戻るまでの12個の線分から構成されており、各構成線
がその起点と終点の座標値により定義されるベクトルを
形成しているとみることができる。なお、上記構成線は
直線状に形成する態様の他、ベジェ曲線、Bスプライン
曲線あるいは円弧等の曲線により形成する態様も可能で
ある。
FIG. 2 shows an example of outline data. That is, as shown in FIG. 1A, reference coordinates 15 are set in the computer main body 2, and the outline data of each character is obtained by vectorizing each constituent line of the outline (outline) 16 on the reference coordinates 15. It is described as a combination of the vector data when displayed. A specific example is shown in FIG. The data is composed of a flag indicating the processing content and a coordinate value that gives the position of the pointer at the time when the processing corresponding to the flag is completed. Where 1
Indicates the X coordinate, the numerical value 2 indicates the Y coordinate, the flag “S” indicates the process of moving the pointer to the drawing start point, and the flag “L”.
Indicates a process of moving the pointer from the immediately preceding coordinate to the coordinate corresponding to the flag and drawing each constituent line of the outline 16 based on the trajectory of the pointer.
And in the case of the outline 16 shown in (a),
It is composed of 12 line segments starting from the coordinate value of (58, 25) and returning to the coordinates again, and each constituent line forms a vector defined by the coordinate values of the starting point and the end point. Can be seen. In addition, the above-described constituent line may be formed in a linear shape, or may be formed in a curve such as a Bezier curve, a B-spline curve, or an arc.

【0015】このように構成されたアウトラインデータ
に基づくキャラクタのアウトラインは、図3(a)に示
すように、そのままもしくは適宜拡大ないし縮小(スケ
ーリング)されて画素座標20上に重ねられる。そし
て、後述するスキャンコンバージョン処理により、その
画素座標20上のアウトライン16’内に存在する画素
Pを第一の濃度、例えば黒に設定し、アウトライン1
6’外に存在する画素(図示せず)を第二の濃度、例え
ば白に設定することにより、同図(b)に示すようなキ
ャラクタイメージに対応するイメージデータが、画素毎
の濃度情報の集合体として記述・生成されることとな
る。ここで、各画素は、上記第一及び第二の濃度の中間
の第三の濃度(例えばグレー)により階調出力が可能な
ものとされている。
As shown in FIG. 3A, the outline of the character based on the outline data thus constructed is superimposed on the pixel coordinates 20 as it is or after being appropriately enlarged or reduced (scaling). Then, the pixel P existing in the outline 16 'on the pixel coordinate 20 is set to the first density, for example, black by the scan conversion processing described later, and the outline 1
By setting the pixels (not shown) existing outside 6'to the second density, for example, white, the image data corresponding to the character image as shown in FIG. It will be described and generated as an aggregate. Here, each pixel is capable of gradation output with a third density (for example, gray) intermediate between the first and second densities.

【0016】図1に戻って、イメージメモリ8bには、
上記キャラクタデータに基づいて生成されたキャラクタ
のイメージデータが記憶される。なお、イメージメモリ
8bは、同7eとしてRAM7内に形成してもよい。
Returning to FIG. 1, the image memory 8b contains
Image data of a character generated based on the character data is stored. The image memory 8b may be formed in the RAM 7 as the same 7e.

【0017】また、プリンタ3は、上記イメージデータ
に基づいてキャラクタのイメージを印字出力する印字出
力部13を備えている。この印字出力部13は、例えば
レーザー光源を使用する電子写真式印字装置やインクジ
ェット式印字装置等により構成される。なお、印字出力
部13とI/Oポート4との間に、コンピュータ本体2
側から送られてくるイメージデータ等を一時記憶するプ
リンタバッファメモリ12を設けることができる。
The printer 3 also includes a print output unit 13 that prints out an image of a character based on the image data. The print output unit 13 is composed of, for example, an electrophotographic printing device using a laser light source, an inkjet printing device, or the like. In addition, between the print output unit 13 and the I / O port 4, the computer main body 2
It is possible to provide a printer buffer memory 12 for temporarily storing image data and the like sent from the side.

【0018】以下、キャラクタ出力装置1における処理
の流れをフローチャートを用いて説明する。まず、図4
のS1において、入力部9を使用してキャラクタのコード
及びサイズのデータ(以下、これらを総称する場合はテ
キストデータという)を入力する。入力されたこれらデ
ータは、テキストファイルとしてRAM7のテキストメ
モリ7b(図1)に記憶される。なお、予め作成したテ
キストファイルをディスク記憶装置8等に記憶してお
き、これを適宜読み出して使用してもよい。次に、S2及
びS3において、そのテキストデータに含まれるキャラク
タコードに対応するアウトラインデータがキャラクタ記
憶部8aから順次読み出され、それに基づくキャラクタ
のアウトラインが前述のサイズデータに基づいてスケー
リングされた後、画素座標20(図3)に重ね処理され
る。
The flow of processing in the character output device 1 will be described below with reference to a flowchart. First, FIG.
In S1, the character code and size data (hereinafter, collectively referred to as text data) is input using the input unit 9. These input data are stored in the text memory 7b (FIG. 1) of the RAM 7 as a text file. It should be noted that the text file created in advance may be stored in the disk storage device 8 or the like, and may be read out and used as appropriate. Next, in S2 and S3, the outline data corresponding to the character code included in the text data is sequentially read from the character storage unit 8a, and the outline of the character based on the outline data is scaled based on the size data described above. The pixel coordinates 20 (FIG. 3) are overlaid.

【0019】続いて、S4及びS5において、重ねられたア
ウトラインに対しスキャンコンバージョン処理が行われ
る。このスキャンコンバージョン処理は、互いに直交す
る2方向(すなわち、X方向とY方向)においてそれぞ
れ個別に実行される。図5に、X方向スキャンコンバー
ジョン処理(S4)の流れを示しており、まずS21におい
てスキャンライン(走査線)のY座標を初期化し、S23
において最初のY座標値に対応するX方向の走査線を生
成するとともに、図7に示すように、そのスキャンライ
ンYmとアウトライン16’との交点をすべて算出す
る。すなわち、画素内に設定された所定の基準点(例え
ば画素の中心)がアウトラインの内側に存在するか否か
を判定する処理を、スキャンライン上に配列する画素に
対しその一方の側から他方の側へ向けて順次行い、上記
基準点がアウトラインの内側に存在すると判定された画
素列(アウトライン領域)の先頭のもの(始点;B1、B2
等)及び末尾のもの(終点;E1、E2等)の、各基準点の
座標が上記各交点の座標値として算出される。算出され
た交点の座標値は図8に示すようなXスキャン交点リス
トとして、RAM7のXスキャン交点メモリ7cに記憶
される。続いて、S25において、そのスキャンライン上
の所定の画素を黒に設定することにより塗りつぶし処理
が行われ、さらにS26においてスキャンラインのY座標
値が更新されてS22に戻り、以下同様の処理が繰り返さ
れる。なお、すべてのY座標値に対応するスキャンが完
了すると処理は終了する。
Subsequently, in S4 and S5, scan conversion processing is performed on the overlapped outlines. The scan conversion process is individually executed in two directions (that is, the X direction and the Y direction) orthogonal to each other. FIG. 5 shows the flow of the X-direction scan conversion process (S4). First, in S21, the Y coordinate of the scan line (scan line) is initialized, and then S23.
In X, a scanning line in the X direction corresponding to the first Y coordinate value is generated, and as shown in FIG. 7, all intersections between the scanning line Ym and the outline 16 'are calculated. That is, the process of determining whether or not a predetermined reference point (for example, the center of a pixel) set in a pixel is inside the outline is determined by performing processing for pixels arranged on the scan line from one side to the other side. The first pixel row (outline area) determined to have the above reference point inside the outline (start point; B1, B2)
Etc.) and the last one (end point; E1, E2, etc.) of each reference point is calculated as the coordinate value of each intersection. The calculated coordinate values of the intersections are stored in the X scan intersection memory 7c of the RAM 7 as an X scan intersection list as shown in FIG. Subsequently, in S25, a predetermined pixel on the scan line is set to black to perform a filling process, and in S26, the Y coordinate value of the scan line is updated and the process returns to S22, and the same process is repeated. Be done. The process ends when the scans corresponding to all the Y coordinate values are completed.

【0020】図6は、S25の塗りつぶし処理の詳細を示
すフローチャートである。まず、S27において、交点リ
ストに記憶された各アウトライン領域毎の始点と終点の
X座標をペアとし、その始点のX座標値に基づいて上記
座標のペアをソートする。次に、S28において、ソート
された最初の始点にポインタをセットし、その始点から
該始点とペアをなす終点までの画素を黒とする(すなわ
ち、最初のアウトライン領域の塗りつぶしを行う)。続
いて、S37に進み、次のアウトライン領域の始点にポイ
ンタを移動させ、さらにS29からS30へ戻って同様に該ア
ウトライン領域の塗りつぶし処理を行う。
FIG. 6 is a flow chart showing details of the filling processing in S25. First, in S27, the X coordinates of the starting point and the ending point for each outline area stored in the intersection list are paired, and the pairs of coordinates are sorted based on the X coordinate value of the starting point. Next, in S28, the pointer is set to the first sorted start point, and the pixels from the start point to the end point paired with the start point are made black (that is, the first outline area is filled). Subsequently, the process proceeds to S37, the pointer is moved to the start point of the next outline area, and the process returns from S29 to S30 to similarly perform the filling processing of the outline area.

【0021】続いて、S32に進み、現在のアウトライン
領域の始点に対応する画素と、直前のアウトライン領域
の終点に対応する画素とが互いに隣り合っているか、も
しくは重なりを生じているかを判断する。Yesの場合
は、図15に示すように、2つのアウトライン領域u1
及びu2が互いにつながり合って、表示されるキャラク
タに潰れが生ずることを意味しており、S33以下の濃度
補正処理に進む。まずS33において、直前のアウトライ
ン領域の始点から現在のアウトライン領域の終点までの
間に画素が3以上存在するか否かを判定する。Yesの場
合はS34に進み、現在のアウトライン領域の始点から終
点までの間に画素が2以上存在するか否かを判定する。
Next, in S32, it is determined whether the pixel corresponding to the start point of the current outline area and the pixel corresponding to the end point of the immediately previous outline area are adjacent to each other or overlap each other. If Yes, as shown in FIG. 15, two outline areas u1
And u2 are connected to each other, which means that the displayed character is crushed, and the process proceeds to the density correction process of S33 and thereafter. First, in S33, it is determined whether there are three or more pixels between the start point of the immediately previous outline area and the end point of the current outline area. If Yes, the process proceeds to S34, and it is determined whether or not there are two or more pixels between the start point and the end point of the current outline area.

【0022】S34においてYesの場合はS36に進み、図1
1(a)に示すように、例えば領域u2側の始点に対応
する画素Pをグレーに変更する(すなわち、グレーに補
正する)。なお、図11(b)に示すように、領域u1
側の終点に対応する画素Pをグレーとする態様、あるい
は同図(c)に示すように、領域u2の始点と領域u1の
終点との双方に対応する画素Pをグレーとする態様も可
能である。
If Yes in S34, the process proceeds to S36, as shown in FIG.
As shown in 1 (a), for example, the pixel P corresponding to the starting point on the region u2 side is changed to gray (that is, corrected to gray). As shown in FIG. 11B, the area u1
The pixel P corresponding to the end point on the side may be gray, or the pixel P corresponding to both the start point of the area u2 and the end point of the area u1 may be gray, as shown in FIG. is there.

【0023】一方、S34においてNoの場合は、図12に
示すように、領域u2のスキャンライン方向における長
さが1画素幅以下であることを意味し、この場合はS35
に進んで領域u1の終点に対応する画素Pをグレーに変
更する。一方、S33においてNoの場合、すなわち領域u1
の始点から領域u2の終点までの間に存在する画素数が
2以下の場合は、例えば図12(b)に示すように、2
つのアウトライン領域u1及びu2のスキャンライン方向
における長さがともに1画素幅以下になっていることを
意味し、この場合はS34〜S36がスキップされ、画素の濃
度補正処理は行われない。ただし、図13(a)に示す
ように、互いに接した1画素幅の2つのアウトライン領
域の一方をグレーとすることにより、その視別性を向上
できる場合があるので、この場合において濃度補正処理
を行うようにする態様も可能である。
On the other hand, the case of No in S34 means that the length of the region u2 in the scan line direction is one pixel width or less, as shown in FIG. 12, and in this case S35.
The pixel P corresponding to the end point of the area u1 is changed to gray in step. On the other hand, if No in S33, that is, the area u1
When the number of pixels existing from the start point of the area to the end point of the area u2 is 2 or less, for example, as shown in FIG.
This means that the lengths of the two outline areas u1 and u2 in the scan line direction are both less than or equal to one pixel width. In this case, S34 to S36 are skipped, and the pixel density correction processing is not performed. However, as shown in FIG. 13A, by distinguishing one of the two outline regions of one pixel width which are in contact with each other from gray, the visibility may be improved, and in this case, the density correction processing is performed. It is possible to adopt a mode in which

【0024】こうして画素の補正登録処理が終了すると
S37に進み、ポインタを次のアウトライン領域の始点に
移動する。そして、S29へ戻り、以下の処理を繰り返
す。なお、S29においてすべてのアウトライン領域につ
いての処理が終了していれば塗りつぶし処理を終了す
る。X方向スキャンコンバージョン処理(S4)の詳細は
以上説明した通りであるが、続いて行われるY方向スキ
ャンコンバージョン処理(S5)の内容は、走査方向を除
いて他はXスキャンコンバージョン処理と全く同じであ
るので、説明は省略する。
When the pixel correction registration processing is completed in this way
Proceed to S37, and move the pointer to the start point of the next outline area. Then, the process returns to S29 and the following processes are repeated. If the processing has been completed for all outline areas in S29, the filling processing is completed. The details of the X-direction scan conversion processing (S4) are as described above, but the content of the Y-direction scan conversion processing (S5) performed subsequently is exactly the same as the X-scan conversion processing except for the scanning direction. Therefore, the description will be omitted.

【0025】次に、S6において、上記X方向及びY方向
スキャンコンバージョン処理においてそれぞれ得られた
キャラクタのイメージが合成され、キャラクタの最終的
なイメージデータが得られることとなる(図10参
照)。ここで、イメージ合成を行う際に、X方向スキャ
ンコンバージョンにおいて設定された画素の濃度と、Y
方向スキャンコンバージョンにおいて設定された画素の
濃度とが互いに異なる場合には、ROM6に格納されて
いる濃度決定テーブルを参照することにより、その最終
設定濃度が決定される。図9は濃度決定テーブルの例を
示しており、例えば(a)においては、X方向及びY方
向のスキャンコンバージョンの少なくとも一方において
グレーとされた画素が、一律にグレーに最終設定される
ようになっている。
Next, in S6, the images of the characters respectively obtained in the X-direction and Y-direction scan conversion processing are combined to obtain the final image data of the characters (see FIG. 10). Here, when performing image composition, the pixel density set in the X-direction scan conversion and Y
If the densities of the pixels set in the directional scan conversion are different from each other, the final set density is determined by referring to the density determination table stored in the ROM 6. FIG. 9 shows an example of the density determination table. In (a), for example, pixels that are gray in at least one of the X-direction and Y-direction scan conversions are uniformly set to the final gray. ing.

【0026】また、(b)においては、グレーを含む組
合せの種類に応じて、最終設定される濃度が複数段階の
いずれかに設定される例を示している。本実施例におい
ては、グレーの濃度が、グレー1〜グレー3(例えば数
字が大きくなるほど濃度が大きくなる)の3段階のいず
れかに設定可能とされている。この場合、各方向毎のス
キャンコンバージョン処理においては濃度補正が一律に
同じ濃度(例えばグレー2)で行われ、イメージ合成時
に設定濃度の組合せに応じて白、黒及びグレー1〜3の
いずれかに各画素の濃度が最終設定されることとなる。
なお、図10(a)及び(b)は、それぞれ図9(a)
及び(b)の各テーブルに基づくイメージの合成例を模
式的に示したものである。
Further, in (b), there is shown an example in which the finally set density is set to any one of a plurality of levels depending on the type of combination including gray. In the present embodiment, the gray density can be set to any one of three levels of gray 1 to gray 3 (for example, the larger the number, the higher the density). In this case, in the scan conversion processing for each direction, the density correction is uniformly performed with the same density (for example, gray 2), and when the images are combined, one of white, black, and gray 1 to 3 is selected depending on the combination of the set densities. The density of each pixel is finally set.
10A and 10B are respectively shown in FIG. 9A.
9A and 9B are schematic views showing an example of image synthesis based on the tables of FIGS.

【0027】さらに、図13(a)〜(c)に示すよう
に、2つのアウトライン領域u1及びu2の走査方向にお
ける長さの組合せ(例えばキャラクタの線幅の組合せ)
に応じて、画素の濃度を2以上の濃度のいずれかに設定
することもできる。例えば、グレーに変更されるべき画
素をはさんで形成された2つのアウトライン領域u1及
びu2の平均幅が小さくなるほど、グレーの濃度が大き
くなるように処理することができ、図示の例では、
(a)がグレー3、(b)がグレー2、(c)がグレー
1にそれぞれ設定されている。
Further, as shown in FIGS. 13A to 13C, a combination of lengths of the two outline regions u1 and u2 in the scanning direction (for example, a combination of character line widths).
Depending on the above, the density of the pixel can be set to any one of two or more. For example, as the average width of the two outline regions u1 and u2 formed by sandwiching the pixel to be changed to gray becomes smaller, the gray density can be increased, and in the illustrated example,
(A) is set to gray 3, (b) is set to gray 2, and (c) is set to gray 1.

【0028】イメージ合成により上述のようにして得ら
れたイメージデータは、イメージメモリ8b(図1)に
記憶される。そして、S7においてそのイメージデータに
基づき、キャラクタのイメージがプリンタ3から印字・
出力されて、全体の処理が終了する。なお、上記処理に
より生成されたイメージデータをイメージメモリ8bに
残しておくようにし、同じ種類及びサイズのキャラクタ
の出力を次回に行う場合には、そのイメージメモリ8b
に記憶されたイメージデータを使用するようにすれば、
スキャンコンバージョン処理及び濃度補正処理を含むイ
メージデータの生成処理(図4のS2〜S6:以下、展開処
理という)をその都度繰り返す必要がなくなり、処理能
率を向上させることができる。
The image data obtained as described above by the image synthesis is stored in the image memory 8b (FIG. 1). Then, in S7, a character image is printed from the printer 3 based on the image data.
The output is completed and the whole process is completed. In addition, when the image data generated by the above processing is left in the image memory 8b and the character of the same type and size is output next time, the image memory 8b
If you use the image data stored in
It is not necessary to repeat the image data generation process including the scan conversion process and the density correction process (S2 to S6 in FIG. 4: hereinafter referred to as expansion process) each time, and the processing efficiency can be improved.

【0029】なお、画素の濃度補正処理は、指定された
画素の濃度を黒(第一の濃度)に一旦設定した後にこれ
をグレー(第三の濃度)に変更するようにしても、ある
いは第一の濃度を経由せずに直接第三の濃度に設定する
ようにしてもいずれでもよい。さらに、上記実施例にお
いては、画素の濃度補正処理は、各スキャンライン毎に
その都度実行されていたが、各方向のスキャンコンバー
ジョン処理のいずれか少なくとも一方においてグレーに
設定された画素を、一律に同一濃度のグレーで出力する
態様においては、その補正すべき画素をRAM7等に登
録しておき、すべてのスキャンコンバージョン処理が終
了した後に、その登録内容に基づいて黒からグレーへの
濃度変更を一括して行うようにしてもよい。
The pixel density correction processing may be performed by once setting the density of the designated pixel to black (first density) and then changing it to gray (third density). It does not matter if the third concentration is directly set instead of the first concentration. Further, in the above-described embodiment, the pixel density correction processing is executed for each scan line each time, but the pixels set to gray in at least one of the scan conversion processing in each direction are uniformly used. In the case of outputting in gray of the same density, the pixels to be corrected are registered in the RAM 7 etc., and after all scan conversion processing is completed, the density change from black to gray is collectively performed based on the registered contents. You may do it.

【0030】また、イメージデータに基づくキャラクタ
のイメージは、プリンタ3に印字・出力する他に、例え
ばモニタ11に表示・出力することも可能である。この
場合、モニタ出力用に、印刷用とは別のキャラクタデー
タを使用するようにしてもよい。
The image of the character based on the image data can be displayed / outputted on the monitor 11, for example, in addition to being printed / outputted on the printer 3. In this case, character data different from that for printing may be used for monitor output.

【0031】上述の実施例においては、キャラクタイメ
ージの展開処理が主にコンピュータ本体側で行われるよ
うになっていたが、これをプリンタ側で行わせることも
可能である。その場合の装置構成の一例を図14に示
す。該構成においては、プリンタ3がコンピュータ等で
構成されたプリンタ制御部30を備えている。プリンタ
制御部30は、I/Oポート31とそれに接続されたC
PU32、RAM33及びROM34等を備え、前述の
出力制御プログラムはROM34内の出力制御プログラ
ム記憶部34aに、濃度決定テーブルは同濃度決定テー
ブル記憶部34bに、さらに、キャラクタデータは同キ
ャラクタ記憶部34cに記憶されている。また、RAM
33には、前述のワークメモリ33a、Xスキャン交点
メモリ33b、Yスキャン交点メモリ33c、及びイメ
ージメモリ33d等が形成されている。すなわち、コン
ピュータ本体2側のテキストメモリ7b等に記憶された
テキストデータがプリンタ制御部30に転送され、該テ
キストデータに基づいてCPU32が、前記したものと
同様の流れに従い展開処理を実行する。
In the above-described embodiment, the character image development process is mainly performed on the computer main body side, but it may be performed on the printer side. FIG. 14 shows an example of the apparatus configuration in that case. In this configuration, the printer 3 includes a printer control unit 30 including a computer or the like. The printer control unit 30 includes an I / O port 31 and a C connected to the I / O port 31.
The output control program is provided in the output control program storage unit 34a in the ROM 34, the density determination table is stored in the same density determination table storage unit 34b, and the character data is stored in the same character storage unit 34c. Remembered Also, RAM
The work memory 33a, the X scan intersection memory 33b, the Y scan intersection memory 33c, the image memory 33d, and the like are formed in the 33. That is, the text data stored in the text memory 7b or the like on the computer main body 2 side is transferred to the printer control unit 30, and the CPU 32 executes the expansion processing according to the same flow as that described above based on the text data.

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

【図1】本発明のキャラクタ出力装置の一構成例を示す
ブロック図。
FIG. 1 is a block diagram showing a configuration example of a character output device of the present invention.

【図2】アウトラインデータの一例を示す説明図。FIG. 2 is an explanatory diagram showing an example of outline data.

【図3】スケーリング後のアウトラインと、それに基づ
くキャラクタイメージの出力例を示す説明図。
FIG. 3 is an explanatory diagram showing an outline after scaling and an output example of a character image based on the outline.

【図4】図1のキャラクタ出力装置における処理の全体
の流れを示すフローチャート。
4 is a flowchart showing the overall flow of processing in the character output device of FIG.

【図5】そのX方向スキャンコンバージョン処理の詳細
を示すフローチャート。
FIG. 5 is a flowchart showing details of the X-direction scan conversion processing.

【図6】スキャンコンバージョン処理における塗りつぶ
し処理の詳細を示すフローチャート。
FIG. 6 is a flowchart showing details of a filling process in the scan conversion process.

【図7】アウトラインとスキャンラインとの交点算出処
理の説明図。
FIG. 7 is an explanatory diagram of intersection point calculation processing between an outline and a scan line.

【図8】Xスキャン交点リストの一例を示す説明図。FIG. 8 is an explanatory diagram showing an example of an X-scan intersection list.

【図9】濃度決定テーブルの例を示す説明図。FIG. 9 is an explanatory diagram showing an example of a density determination table.

【図10】濃度決定テーブルに基づく画素補正処理の概
要を示す模式図。
FIG. 10 is a schematic diagram showing an outline of pixel correction processing based on a density determination table.

【図11】画素補正の具体例を示す模式図。FIG. 11 is a schematic diagram showing a specific example of pixel correction.

【図12】同じく別の具体例を示す模式図。FIG. 12 is a schematic diagram showing another specific example.

【図13】アウトライン領域の長さの組合せに応じて画
素の濃度を複数段階のいずれかに設定する例を示す模式
図。
FIG. 13 is a schematic diagram showing an example in which the density of a pixel is set to one of a plurality of levels depending on the combination of the lengths of outline areas.

【図14】本発明のキャラクタ出力装置の別の構成例を
示すブロック図。
FIG. 14 is a block diagram showing another configuration example of the character output device of the present invention.

【図15】アウトライン領域が互いに接して形成される
ことにより、キャラクタにつぶれが生じる様子を説明す
る模式図。
FIG. 15 is a schematic diagram illustrating how a character is crushed by forming outline regions in contact with each other.

【符号の説明】 1 キャラクタ出力装置 5 CPU(濃度設定手段、濃度補正手段、補正禁止手
段) 16 アウトライン u1、u2 アウトライン領域 P 画素
[Explanation of Codes] 1 character output device 5 CPU (density setting means, density correction means, correction prohibition means) 16 outline u1, u2 outline area P pixels

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 キャラクタの輪郭形状を定義したアウト
ラインデータに基づくアウトラインを、出力装置の画素
を規定する座標系(以下、画素座標という)に重ねたと
想定し、その画素座標と前記アウトラインとの位置関係
が一定基準を満たすことで、前記アウトラインの内側に
あると判定された画素を第一の濃度に設定し、それ以外
の画素を前記第一の濃度とは異なる第二の濃度に設定す
ることにより、前記アウトラインデータを前記画素の情
報を定義したイメージデータに変換し、該イメージデー
タに基づいて前記キャラクタのイメージを出力するキャ
ラクタ出力装置において、 前記画素座標において、前記アウトラインを予め定めら
れた方向に走査するとともに、その走査線上において、
前記アウトラインの内側に存在すると判定された領域
(以下、アウトライン領域という)内の前記画素を前記
第一の濃度に設定する濃度設定手段と、 前記走査線上において、2つの前記アウトライン領域が
互いに接してもしくはその一部が重なって形成されてい
る場合に、それらアウトライン領域の少なくとも一方に
対し、その接するもしくは重なっている側の末端近傍に
位置する1ないし複数の画素の濃度を、前記第一の濃度
と第二の濃度との中間の第三の濃度とする濃度補正処理
を行う濃度補正手段と、 を備えたことを特徴とするキャラクタ出力装置。
1. An outline based on outline data defining a contour shape of a character is assumed to be superimposed on a coordinate system (hereinafter, referred to as pixel coordinate) defining pixels of an output device, and the position of the pixel coordinate and the outline. Pixels that are determined to be inside the outline when the relationship satisfies a certain criterion are set to the first density, and the other pixels are set to the second density different from the first density. According to the character output device for converting the outline data into image data defining the information of the pixel and outputting the image of the character based on the image data, in the pixel coordinates, the outline is in a predetermined direction. And scan on that scan line,
Density setting means for setting the pixel in the area determined to exist inside the outline (hereinafter, referred to as outline area) to the first density, and the two outline areas are in contact with each other on the scanning line. Alternatively, when a part of them is formed so as to overlap with each other, the density of one or a plurality of pixels located in the vicinity of the end on the side where they are in contact or overlap with at least one of the outline areas is defined as the first density. And a density correction unit that performs density correction processing to obtain a third density intermediate between the second density and the second density.
【請求項2】 前記走査線に沿った前記アウトライン領
域の形成長さが予め定められた値以下の場合には、該ア
ウトライン領域における前記濃度補正処理を禁止する補
正禁止手段を備えている請求項1記載のキャラクタ出力
装置。
2. A correction prohibiting means for prohibiting the density correction process in the outline area when the formation length of the outline area along the scanning line is equal to or less than a predetermined value. 1. The character output device according to 1.
【請求項3】 前記補正禁止手段は、前記走査線上にお
いて互いに接してもしくはその一部が重なって形成され
ている前記2つのアウトライン領域のうち、一方のもの
が他方のものよりも前記形成長さが小さく、かつ該形成
長さが予め定められた値以下である場合に、該一方のア
ウトライン領域における前記濃度補正処理を禁止するも
のとされている請求項2記載のキャラクタ出力装置。
3. The correction prohibiting means has one of the two outline regions formed in contact with each other on the scanning line or partially overlapped with each other, and one of the two outline regions has a length greater than that of the other. The character output device according to claim 2, wherein the density correction processing is prohibited in the one outline area when the formation length is small and the formation length is equal to or less than a predetermined value.
【請求項4】 前記第三の濃度は複数段階のいずれかに
設定可能とされるとともに、 前記濃度補正手段は、前記走査線上において前記濃度補
正処理を行うべき画素に対し、前記2つのアウトライン
領域の前記走査線に沿った各形成長さの組み合わせに応
じて、その濃度を前記複数段階のいずれかに設定するも
のである請求項1ないし3のいずれかに記載のキャラク
タ出力装置。
4. The third density can be set to any one of a plurality of levels, and the density correction means sets the two outline regions for a pixel on the scanning line for which the density correction processing is to be performed. 4. The character output device according to claim 1, wherein the density is set to any one of the plurality of stages in accordance with the combination of the respective formation lengths along the scanning line.
【請求項5】 前記走査方向は互いに交差する2以上が
設定されて、それら各走査方向毎に、前記アウトライン
の走査と前記濃度補正処理が行われる請求項1ないし4
のいずれかに記載のキャラクタ出力装置。
5. The scanning direction is set to two or more intersecting each other, and the outline scanning and the density correction processing are performed for each scanning direction.
The character output device according to any one of 1.
【請求項6】 前記濃度補正手段は、 1つの走査線による走査が終了する毎に、該走査線上に
おいて2つの前記アウトライン領域が互いに接してもし
くはその一部が重なって形成されている場合に、それら
アウトライン領域の少なくとも一方に対し、その接する
もしくは重なっている側の末端近傍に位置する1ないし
複数の画素の濃度を前記第三の濃度に設定する処理を、
前記各走査方向毎に行う第三濃度設定手段と、 前記各画素に対し、前記第三濃度設定手段が前記各走査
方向毎に設定した濃度の組み合わせに基づいて、それら
各画素の最終設定濃度を決定する最終濃度決定手段と、 を備えている請求項5記載のキャラクタ出力装置。
6. The density correction unit, when the scanning with one scanning line is completed, when the two outline regions are formed in contact with each other on the scanning line or partially overlap each other, A process of setting the density of one or a plurality of pixels located in the vicinity of the end on the side of contact or overlapping with at least one of the outline areas to the third density;
Based on a combination of the third density setting means for each scanning direction and the density set for each pixel by the third density setting means for each pixel, a final set density of each pixel is set. The character output device according to claim 5, further comprising: final density determination means for determining.
JP30343795A 1995-10-27 1995-10-27 Character output device Expired - Fee Related JP3350325B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30343795A JP3350325B2 (en) 1995-10-27 1995-10-27 Character output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30343795A JP3350325B2 (en) 1995-10-27 1995-10-27 Character output device

Publications (2)

Publication Number Publication Date
JPH09127930A true JPH09127930A (en) 1997-05-16
JP3350325B2 JP3350325B2 (en) 2002-11-25

Family

ID=17920999

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30343795A Expired - Fee Related JP3350325B2 (en) 1995-10-27 1995-10-27 Character output device

Country Status (1)

Country Link
JP (1) JP3350325B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010170097A (en) * 2009-01-26 2010-08-05 Mitsubishi Electric Research Laboratories Inc Method for aligning character to sampling grid of image

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010170097A (en) * 2009-01-26 2010-08-05 Mitsubishi Electric Research Laboratories Inc Method for aligning character to sampling grid of image

Also Published As

Publication number Publication date
JP3350325B2 (en) 2002-11-25

Similar Documents

Publication Publication Date Title
JP3483946B2 (en) Font processing apparatus and font processing method
JP3142550B2 (en) Graphic processing unit
US6753862B1 (en) Outline smoothing method and system
JPH09127930A (en) Character output device
JP2005111718A (en) Method and device for controlling image output, and program
US20060119897A1 (en) Output apparatus and program thereof
JP3350324B2 (en) Character output device
JPH09120450A (en) Image processor
JP4125245B2 (en) Document display method and document display apparatus
JP2004334533A (en) Image processing device and method
JP3129717B2 (en) Image processing apparatus and image processing method
JP3567728B2 (en) Image processing method and apparatus
JPH06175639A (en) Method and device for character generation
JP3567727B2 (en) Image processing method and apparatus
JP3417753B2 (en) Method and apparatus for generating gradation character
JPH09138681A (en) Data processor
JP3260803B2 (en) Image processing device
JPH09138680A (en) Data processor
JPH09138679A (en) Data processor
JPH11224331A (en) Raster image generation device and raster image generation method
JP2710350B2 (en) Image processing apparatus and image processing method of image processing apparatus
JP4080470B2 (en) Character pattern generator
JPH0528149A (en) Image data magnifying method
JPH11110150A (en) Image processing system, method therefor and computer-readable recording medium recording image processing control program
JP2007144842A (en) Image processor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees