JP3244411B2 - Character image data generation method and device, and character output method and device - Google Patents

Character image data generation method and device, and character output method and device

Info

Publication number
JP3244411B2
JP3244411B2 JP27604095A JP27604095A JP3244411B2 JP 3244411 B2 JP3244411 B2 JP 3244411B2 JP 27604095 A JP27604095 A JP 27604095A JP 27604095 A JP27604095 A JP 27604095A JP 3244411 B2 JP3244411 B2 JP 3244411B2
Authority
JP
Japan
Prior art keywords
image data
character
density
data
character image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP27604095A
Other languages
Japanese (ja)
Other versions
JPH09120279A (en
Inventor
敦彦 倉知
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP27604095A priority Critical patent/JP3244411B2/en
Publication of JPH09120279A publication Critical patent/JPH09120279A/en
Application granted granted Critical
Publication of JP3244411B2 publication Critical patent/JP3244411B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Color, Gradation (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、キャラクタの形状
データを輪郭線より構成されるアウトラインデータとし
て記憶し、当該アウトラインデータを階調を持ったキャ
ラクタイメージデータに変換するキャラクタイメージデ
ータ生成方法及び装置並びにこれらを備えたキャラクタ
出力方法及び装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and apparatus for generating character image data for storing character shape data as outline data composed of contour lines and converting the outline data into character image data having gradations. Further, the present invention relates to a character output method and apparatus provided with these.

【0002】[0002]

【従来の技術】近年、レーザプリンタ等のプリンタやデ
ィスプレイにおいても、デジタル信号を入力として階調
を表現できるものが一般化している。
2. Description of the Related Art In recent years, printers and displays, such as laser printers, which can express gray scales by inputting digital signals, have become common.

【0003】また、表示又は印字(以下、これらを出力
という)する文字や記号等(以下、これらをキャラクタ
という)の形状は、多種の出力サイズ(プリンタやディ
スプレイに出力後の大きさ)に対応した拡大、縮小等を
施す必要性から、そのキャラクタの輪郭形状を座標位置
として定義されるアウトラインデータ等を用いて記憶さ
れることが多くなってきている。
[0003] The shape of characters or symbols (hereinafter, referred to as characters) to be displayed or printed (hereinafter, referred to as output) corresponds to various output sizes (sizes after output to a printer or a display). Because of the necessity of performing such enlargement and reduction, the outline of the character is often stored using outline data or the like defined as coordinate positions.

【0004】例えば、本出願人による特開平2−116
565号公報に開示されている様に、予め記憶している
アウトラインデータを読み出し、出力するサイズに応じ
て拡大/縮小変換し、出力装置の画素を規定する画素マ
トリックスに重ねたとき、各画素が一定基準を満たすこ
とでアウトラインデータ内にあると判定された画素(例
えば、画素の中心が輪郭線の内部に存在する画素)に対
して、所定の出力すべき色をつけることを意味する情報
を付加することにより、出力時のイメージデータを得る
ものがあった。
[0004] For example, Japanese Patent Application Laid-Open No. 2-116 by the present applicant.
As disclosed in Japanese Unexamined Patent Publication No. 565, the outline data stored in advance is read and enlarged / reduced according to the output size, and when superimposed on a pixel matrix defining the pixels of the output device, each pixel becomes Information that means that a predetermined output color is given to a pixel (for example, a pixel whose center is located inside the contour line) determined to be in the outline data by satisfying a certain criterion. In some cases, image data at the time of output is obtained by the addition.

【0005】しかしながら、従来アウトラインデータか
ら変換される画素パターンデータはほとんどの場合階調
を持たない二値の、すなわち出力すべき色がつけられる
かつけられないかの情報しか持たない画素パターンデー
タであった。
However, the pixel pattern data converted from the outline data in the past is almost always binary pixel data having no gradation, that is, pixel pattern data having only information on whether a color to be output is attached or not. there were.

【0006】二値の情報しか持たない画素パターンデー
タでキャラクタを表現すると、特に斜線に対応する輪郭
部分のギザギザ(以下、これをジャギという)が目立
ち、出力時に美しいキャラクタのイメージを得ることが
できなかった。例えば、図9に示す「K」という文字の
アウトラインデータ100に基づいて二値画素パターン
データ101を求めると、図9に示すような斜線部分の
見栄えの悪い画素パターンとなる。なお、ここで二値画
素パターンデータ101における格子(点線部分)10
3は、プリンタ又はディスプレイ等の出力装置における
各画素の境界(画素マトリックス)を示している。
When a character is represented by pixel pattern data having only binary information, jaggies (hereinafter, referred to as jaws) at contours corresponding to oblique lines are particularly noticeable, and a beautiful character image can be obtained at the time of output. Did not. For example, when the binary pixel pattern data 101 is obtained based on the outline data 100 of the character “K” shown in FIG. 9, the pixel pattern becomes a poorly-looking pixel pattern as shown in FIG. Here, the grid (dotted line portion) 10 in the binary pixel pattern data 101 is used.
Reference numeral 3 denotes a boundary (pixel matrix) of each pixel in an output device such as a printer or a display.

【0007】上記ジャギを解消するための一般的な解決
策として、アンチエイリアシングと呼ばれる、二値の画
素パターンデータを解析して、斜線等のジャギが目立つ
部分の画素を検出し、自動的に各画素の階調値(濃度)
を付加・変更することで見栄えをよくする手法が行われ
ている。
As a general solution for eliminating the jaggies, a binary pixel pattern data called anti-aliasing is analyzed to detect pixels in a portion where jaggies are noticeable, such as diagonal lines, and each pixel is automatically detected. Pixel tone value (density)
There is a method of improving the appearance by adding or changing.

【0008】あるいは、キャラクタをアウトラインデー
タで持たず、予め階調のある画素パターンデータで記憶
されておく方法もある。
Alternatively, there is a method in which a character is not stored as outline data but is stored in advance as pixel pattern data having gradation.

【0009】更に、従来においては、ジャギの部分に階
調を施す場合には、ジャギに係る画素のうち、当該画素
の内ジャギに係っている領域の面積を計算し、その面積
に対応した階調値を与える方法や、ジャギの部分を拡大
して更に細分化し、この更に細分化した画素においてジ
ャギに係っているか否かを判定して階調を施してから元
の大きさに縮小するといった方法が行われていた。
Further, conventionally, when gradation is applied to a jagged portion, an area of a region related to the jagged portion of the pixel among the pixels related to the jagged portion is calculated, and the area corresponding to the area is calculated. A method of giving a gradation value, and a jagged part is enlarged and further subdivided, and it is determined whether or not this further subdivided pixel is related to a jaw, gradation is applied, and then reduced to the original size. Such a method was performed.

【0010】[0010]

【発明が解決しようとする課題】しかしながら、アンチ
エイリアシングの手法を用いる場合、キャラクタの種類
に関係なくすべての二値の画素パターンデータを同じよ
うに解析してジャギの検出及び階調イメージの付加・変
更を行うので、各キャラクタの形状の特性に適さない階
調イメージが生成されることになり、複雑な文字では可
読性が落ちるとか、細かい装飾等の構造を持つキャラク
タでは判別性(例えば、アルファベットにおけるジャー
マン体とゴチック体の判別性、或は日本語における明朝
体とゴチック体の判別性)が落ちる等の欠点を有する階
調キャラクタパターンとなることがあった。
However, when the anti-aliasing method is used, all binary pixel pattern data is analyzed in the same manner regardless of the type of character, and detection of jaggies and addition of a gradation image are performed. Since the change is performed, a gradation image that is not suitable for the characteristics of the shape of each character is generated, and the readability of a complex character is reduced, and the discrimination of a character having a structure such as a fine decoration (for example, in the alphabet). In some cases, the gradation character pattern has a defect such as a drop in the discriminability between the German and Gothic bodies or the discriminability between the Mincho and Gothic bodies in Japanese.

【0011】また、ジャギの発生するおそれのない形状
部分(例えば、垂直線部分又は水平線部分)が不明であ
るため、キャラクタの画素パターンをすべてチェックし
なければならず、処理時間が長くなるという問題があっ
た。
[0011] Further, since a shape portion (for example, a vertical line portion or a horizontal line portion) where there is no risk of jaggies is unknown, all pixel patterns of the character must be checked, and the processing time becomes longer. was there.

【0012】更に、上述のような面積によるジャギの処
理を行うと、面積計算が多くなったり、或は拡大及び縮
小の処理が必要となることから、計算量が多くなって処
理時間が長くなるという問題点もあった。
[0012] Further, when the processing of the jaws by the area as described above is performed, the calculation of the area increases or the processing of enlargement and reduction is required, so that the amount of calculation increases and the processing time becomes longer. There was also a problem.

【0013】更にまた、キャラクタをアウトラインのデ
ータで持たず、階調付きの画素パターンで記憶した場合
は、拡大縮小等の任意の出力サイズに対応できず、同じ
キャラクタの全ての出力サイズに対応してデータを記憶
する必要があるので、記憶容量が増大するという問題が
あった。
Further, when a character is not stored as outline data but is stored in a pixel pattern with gradation, it is not possible to cope with an arbitrary output size such as enlargement / reduction and to cope with all output sizes of the same character. Therefore, there is a problem that the storage capacity increases because it is necessary to store the data.

【0014】そこで、本発明は、上記の各問題点に鑑み
て成されたもので、その課題は、キャラクタのアウトラ
インデータに基づいて、各キャラクタに適した階調付き
画素パターンデータであるキャラクタイメージデータを
高速に生成する可能なキャラクタイメージデータ生成方
法及び装置並びにキャラクタ出力方法及び装置を提供す
ることである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-described problems, and has as its object to solve the above problem based on character outline data, which is character image data with gradation-appropriate pixel pattern data suitable for each character. An object of the present invention is to provide a character image data generating method and apparatus and a character output method and apparatus capable of generating data at high speed.

【0015】[0015]

【課題を解決するための手段】上記の課題を解決するた
めに、請求項1に記載の発明は、印字部等の出力装置に
おける画素を規定する座標である画素座標上に、出力す
べきキャラクタの輪郭形状に対応するアウトラインデー
タに基づいて当該輪郭形状を描画したとき、前記輪郭形
状の内側となる前記画素における出力濃度を第1の濃度
に設定すると共に、前記輪郭形状の外側となる前記画素
における出力濃度を前記第1の濃度とは異なる第2の濃
度に設定することにより二値キャラクタイメージデータ
を生成する二値キャラクタイメージデータ生成工程と、
前記アウトラインデータを構成する一又は複数の部分輪
郭線から、所定の条件を満たす部分輪郭線を補助線デー
タとして抽出する補助線データ抽出工程と、前記補助線
データに対応する部分輪郭線を前記画素座標上に描画し
たとき、当該描画された部分輪郭線との位置関係が所定
の基準を満たす前記画素における出力濃度を前記第1の
濃度と前記第2の濃度との中間にある第3の濃度に設定
することにより階調イメージデータを生成する階調イメ
ージデータ生成工程と、前記二値キャラクタイメージデ
ータと、前記階調イメージデータとを合成してキャラク
タイメージデータを生成する合成工程と、を備えて構成
される。
According to an aspect of the present invention, a character to be output is set on a pixel coordinate which is a coordinate defining a pixel in an output device such as a printing unit. When the contour shape is drawn based on the outline data corresponding to the contour shape, the output density of the pixel inside the contour shape is set to a first density, and the pixel outside the contour shape is set. A binary character image data generating step of generating binary character image data by setting the output density at the second density different from the first density;
An auxiliary line data extraction step of extracting a partial outline satisfying a predetermined condition as auxiliary line data from one or a plurality of partial outlines constituting the outline data, and extracting a partial outline corresponding to the auxiliary line data from the pixel. When drawing on coordinates, the output density of the pixel whose positional relationship with the drawn partial contour line satisfies a predetermined criterion is set to a third density which is intermediate between the first density and the second density. And a combining step of combining the binary character image data and the tone image data to generate character image data. It is composed.

【0016】請求項1に記載の発明の作用によれば、二
値キャラクタイメージデータ生成工程において、画素座
標上にアウトラインデータに基づいて輪郭形状を描画し
たとき、輪郭形状の内側となる画素における出力濃度を
第1の濃度に設定すると共に、輪郭形状の外側となる画
素における出力濃度を第1の濃度とは異なる第2の濃度
に設定することにより二値キャラクタイメージデータを
生成する。
According to the first aspect of the invention, in the binary character image data generating step, when a contour shape is drawn on the pixel coordinates based on the outline data, an output at a pixel inside the contour shape is output. Binary character image data is generated by setting the density to the first density and setting the output density of pixels outside the contour shape to a second density different from the first density.

【0017】一方、これと並行して、補助線データ抽出
工程において、アウトラインデータを構成する部分輪郭
線のうち、所定の条件を満たす部分輪郭線を補助線デー
タとして抽出する。
On the other hand, in parallel with this, in the auxiliary line data extraction step, among the partial outlines constituting the outline data, a partial outline satisfying a predetermined condition is extracted as auxiliary line data.

【0018】そして、階調イメージデータ生成工程にお
いて、補助線データに対応する部分輪郭線を画素座標上
に描画したとき、当該描画された部分輪郭線との位置関
係が所定の基準を満たす画素における出力濃度を第1の
濃度と第2の濃度との中間にある第3の濃度に設定する
ことにより階調イメージデータを生成する。
In the gradation image data generating step, when a partial outline corresponding to the auxiliary line data is drawn on the pixel coordinates, the position of the pixel whose positional relationship with the drawn partial outline satisfies a predetermined standard is obtained. By setting the output density to a third density that is intermediate between the first density and the second density, gradation image data is generated.

【0019】その後、合成工程において、二値キャラク
タイメージデータと階調イメージデータとを合成してキ
ャラクタイメージデータを生成する。
Thereafter, in the combining step, the binary character image data and the gradation image data are combined to generate character image data.

【0020】よって、アウトラインデータに基づいて補
助線データを抽出し、当該補助線データに対応する部分
輪郭線との位置関係が所定の基準にある画素の印刷濃度
を第1の濃度と第2の濃度との中間にある第3の濃度と
して階調イメージデータを生成し、この階調イメージデ
ータと二値キャラクタイメージデータを合成してキャラ
クタイメージデータを生成するので、当該キャラクタイ
メージデータに基づいてキャラクタを出力した場合に
は、当該出力されたキャラクタは、夫々のキャラクタの
特性に対応して可読性及び判別性が向上し、見やすいキ
ャラクタとなる。
Accordingly, auxiliary line data is extracted based on the outline data, and the print density of a pixel whose positional relationship with the partial contour line corresponding to the auxiliary line data is based on a predetermined reference is determined by the first density and the second density. Since tone image data is generated as a third density intermediate between the density and the tone image data and the binary character image data are combined to generate character image data, the character image data is generated based on the character image data. Is output, the output character is improved in readability and discrimination in accordance with the characteristics of each character, and becomes a character that is easy to see.

【0021】また、補助線データに対応する部分輪郭線
との関係においてのみ第3の濃度とする画素を決定する
ことができるので、キャラクタに対する階調の付加を高
速化することができる。
Further, since the pixel having the third density can be determined only in relation to the partial contour corresponding to the auxiliary line data, the gradation can be added to the character at high speed.

【0022】上記の課題を解決するために、請求項2に
記載の発明は、請求項1に記載のキャラクタイメージデ
ータ生成方法と、前記出力装置において、前記合成工程
により合成されたキャラクタイメージデータに対応する
前記キャラクタを出力する出力工程と、を備えて構成さ
れる。
According to a second aspect of the present invention, there is provided a character image data generating method according to the first aspect, wherein the character image data synthesized by the synthesizing step is generated by the output device. And an output step of outputting the corresponding character.

【0023】請求項2に記載の発明の作用によれば、請
求項1に記載の発明の作用に加えて、出力工程におい
て、合成されたキャラクタイメージデータに対応するキ
ャラクタを出力する。
According to the operation of the second aspect of the invention, in addition to the operation of the first aspect, in the output step, a character corresponding to the synthesized character image data is output.

【0024】よって、出力されたキャラクタは、夫々の
キャラクタの特性に対応して、可読性及び判別性が向上
し、見やすいキャラクタとなる。
Therefore, the output character is improved in readability and discrimination in accordance with the characteristics of each character, making the character easy to see.

【0025】また、キャラクタに対する階調の付加を高
速化することができるので、キャラクタの出力動作全体
が高速化される。
Further, since the addition of the gradation to the character can be sped up, the entire character output operation can be sped up.

【0026】上記の課題を解決するために、請求項3に
記載の発明は、外部の印字部等の出力手段における画素
を規定する座標である画素座標上に、出力すべきキャラ
クタの輪郭形状に対応するアウトラインデータに基づい
て当該輪郭形状を描画したとき、前記輪郭形状の内側と
なる前記画素における出力濃度を第1の濃度に設定する
と共に、前記輪郭形状の外側となる前記画素における出
力濃度を前記第1の濃度とは異なる第2の濃度に設定す
ることにより二値キャラクタイメージデータを生成する
マイクロコンピュータ部等の二値キャラクタイメージデ
ータ生成手段と、前記アウトラインデータを構成する一
又は複数の部分輪郭線から、所定の条件を満たす部分輪
郭線を補助線データとして抽出するマイクロコンピュー
タ部等の補助線データ抽出手段と、前記補助線データに
対応する部分輪郭線を前記画素座標上に描画したとき、
当該描画された部分輪郭線との位置関係が所定の基準を
満たす前記画素における出力濃度を前記第1の濃度と前
記第2の濃度との中間にある第3の濃度に設定すること
により階調イメージデータを生成するマイクロコンピュ
ータ部等の階調イメージデータ生成手段と、前記二値キ
ャラクタイメージデータと前記階調イメージデータとを
合成してキャラクタイメージデータを生成するマイクロ
コンピュータ部等の合成手段と、を備えて構成される。
In order to solve the above-mentioned problem, the invention according to claim 3 is to provide a contour shape of a character to be output on a pixel coordinate which is a coordinate defining a pixel in an output means such as an external printing unit. When the contour shape is drawn based on the corresponding outline data, the output density at the pixel inside the contour shape is set to the first density, and the output density at the pixel outside the contour shape is set to the first density. A binary character image data generating means such as a microcomputer unit for generating binary character image data by setting to a second density different from the first density; and one or more parts constituting the outline data Auxiliary line data such as a microcomputer that extracts a partial outline satisfying a predetermined condition from the outline as auxiliary line data. A data extraction unit, when the partial contour line corresponding to the auxiliary line data is drawn on the pixel coordinate,
By setting the output density of the pixel whose positional relationship with the drawn partial contour line satisfies a predetermined criterion to a third density intermediate between the first density and the second density, A gradation image data generating unit such as a microcomputer unit that generates image data, a synthesizing unit such as a microcomputer unit that generates character image data by synthesizing the binary character image data and the gradation image data, It is comprised including.

【0027】請求項3に記載の発明の作用によれば、二
値キャラクタイメージデータ生成手段は、画素座標上に
アウトラインデータに基づいてキャラクタの輪郭形状を
描画したとき、当該輪郭形状の内側となる画素における
出力濃度を第1の濃度に設定すると共に、輪郭形状の外
側となる画素における出力濃度を第1の濃度とは異なる
第2の濃度に設定することにより二値キャラクタイメー
ジデータを生成する。
According to the third aspect of the present invention, when the binary character image data generating means draws the outline of the character on the pixel coordinates based on the outline data, it is inside the outline. Binary character image data is generated by setting the output density of the pixel to the first density and setting the output density of the pixel outside the contour to a second density different from the first density.

【0028】一方、これと並行して、補助線データ生成
手段は、アウトラインデータを構成する一又は複数の部
分輪郭線のうち、所定の条件を満たす部分輪郭線を補助
線データとして抽出する。
On the other hand, in parallel with this, the auxiliary line data generating means extracts, as auxiliary line data, a partial outline satisfying a predetermined condition from one or a plurality of partial outlines constituting the outline data.

【0029】そして、階調イメージデータ生成手段は、
補助線データに対応する部分輪郭線を画素座標上に描画
したとき、当該描画された部分輪郭線との位置関係が所
定の基準を満たす画素における出力濃度を第1の濃度と
第2の濃度との中間にある第3の濃度に設定することに
より階調イメージデータを生成する。
Then, the gradation image data generating means includes:
When a partial contour line corresponding to the auxiliary line data is drawn on the pixel coordinates, the output density of a pixel whose positional relationship with the drawn partial contour line satisfies a predetermined criterion is defined as a first density and a second density. The gradation image data is generated by setting the third density in the middle of the above.

【0030】その後、合成手段は、二値キャラクタイメ
ージデータと階調イメージデータとを合成してキャラク
タイメージデータを生成する。
Thereafter, the combining means combines the binary character image data and the gradation image data to generate character image data.

【0031】よって、アウトラインデータに基づいて補
助線データを抽出し、当該補助線データに対応する部分
輪郭線との位置関係が所定の基準にある画素の印刷濃度
を第1の濃度と第2の濃度の中間である第3の濃度とし
て階調イメージデータを生成し、この階調イメージデー
タを二値キャラクタイメージデータを合成してキャラク
タイメージデータを生成するので、当該キャラクタイメ
ージデータに基づいてキャラクタを出力した場合には、
当該出力されたキャラクタは、夫々のキャラクタの特性
に対応して可読性及び判別性が向上し、見やすいキャラ
クタとなる。
Accordingly, auxiliary line data is extracted based on the outline data, and the print density of a pixel whose positional relationship with the partial contour line corresponding to the auxiliary line data is based on a predetermined reference is determined by the first density and the second density. Since the gradation image data is generated as the third density which is intermediate between the densities, and the gradation image data is combined with the binary character image data to generate the character image data, the character is generated based on the character image data. If output,
The output character has improved readability and discrimination in accordance with the characteristics of each character, and is a character that is easy to see.

【0032】また、補助線データに対応する部分輪郭線
との関係においてのみ第3の濃度とする画素を決定する
ことができるので、キャラクタに対する階調の付加を高
速化することができる。
Further, since the pixel having the third density can be determined only in relation to the partial contour line corresponding to the auxiliary line data, the gradation can be added to the character at high speed.

【0033】上記の課題を解決するために、請求項4に
記載の発明は、請求項3に記載のキャラクタイメージデ
ータ生成装置において、階調イメージデータの生成の要
否を判定するマイクロコンピュータ部等の判定手段を更
に備え、前記判定手段により階調イメージの生成が必要
であると判定された場合のみ、前記キャラクタイメージ
データの生成を行う用に構成される。
According to a fourth aspect of the present invention, there is provided a character image data generating apparatus according to the third aspect of the present invention, which determines whether or not it is necessary to generate gradation image data. And the character image data is generated only when it is determined that the generation of the gradation image is necessary.

【0034】請求項4に記載の発明の作用によれば、請
求項3に記載の発明の作用に加えて、判定手段は、階調
イメージデータの生成の要否を判定する。
According to the operation of the invention described in claim 4, in addition to the operation of the invention described in claim 3, the determination means determines whether or not the generation of gradation image data is necessary.

【0035】そして、補助線データ生成手段、階調イメ
ージデータ生成手段及び合成手段は、判定手段により階
調イメージの生成が必要であると判定された場合のみ、
キャラクタイメージデータの生成を行う。
The auxiliary line data generating means, the gradation image data generating means, and the synthesizing means perform the processing only when the determining means determines that the generation of the gradation image is necessary.
Generates character image data.

【0036】よって、選択された当該キャラクタイメー
ジデータの生成が必要なキャラクタに対してのみ上記夫
々の処理が行われるので、全てのキャラクタに対してキ
ャラクタイメージデータを生成する場合よりもキャラク
タイメージデータ生成処理を高速化することができる。
Therefore, the above-described processing is performed only on the selected character that needs to generate the character image data. Therefore, the character image data generation is more efficient than when the character image data is generated for all the characters. Processing can be sped up.

【0037】上記の課題を解決するために、請求項5に
記載の発明は、請求項4に記載のキャラクタイメージデ
ータ生成装置において、前記判定手段は、出力時の前記
キャラクタのサイズに基づいて、前記階調イメージデー
タの生成の要否を判定するように構成される。
According to a fifth aspect of the present invention, there is provided a character image data generating apparatus according to the fourth aspect, wherein the judging means determines the size of the character at the time of output. It is configured to determine whether the generation of the gradation image data is necessary.

【0038】請求項5に記載の発明の作用によれば、請
求項4に記載の発明の作用に加えて、判定手段は、出力
時のキャラクタのサイズに基づいて、階調イメージデー
タの生成の要否を判定する。
According to the operation of the fifth aspect of the invention, in addition to the operation of the fourth aspect of the invention, the determining means determines whether or not to generate the gradation image data based on the size of the character at the time of output. Determine if it is necessary.

【0039】よって、キャラクタイメージデータが必要
ない出力サイズのキャラクタに対してはキャラクタイメ
ージデータ生成処理が行われないようにすることができ
るので、キャラクタイメージデータ生成処理を更に高速
化することができる。
Therefore, character image data generation processing can be prevented from being performed on a character having an output size that does not require character image data, so that character image data generation processing can be further speeded up.

【0040】上記の課題を解決するために、請求項6に
記載の発明は、請求項3から5のいずれか一項に記載の
キャラクタイメージデータ生成装置において、階調イメ
ージデータ生成手段は、前記第3の濃度を、当該第3の
濃度に設定すべき前記画素と前記補助線データに対応す
る前記部分輪郭線との位置関係に対応して変化させるよ
うに構成される。
According to a sixth aspect of the present invention, there is provided a character image data generating apparatus as set forth in any one of the third to fifth aspects, wherein the gradation image data generating means comprises: The third density is configured to be changed according to the positional relationship between the pixel to be set to the third density and the partial contour line corresponding to the auxiliary line data.

【0041】請求項6に記載の発明の作用によれば、請
求項3から5のいずれか一項に記載の発明の作用に加え
て、階調イメージデータ生成手段は、第3の濃度を当該
第3の濃度に設定すべき画素と補助線データに対応する
部分輪郭線との位置関係に基づいて変化させるように設
定する。
According to the function of the invention described in claim 6, in addition to the function of the invention described in any one of claims 3 to 5, the gradation image data generating means sets the third density to the third density. It is set to be changed based on the positional relationship between the pixel to be set to the third density and the partial contour line corresponding to the auxiliary line data.

【0042】よって、更に可読性及び判別性が向上し、
見やすいキャラクタを出力することができる。
Therefore, readability and discrimination are further improved,
An easy-to-see character can be output.

【0043】上記の課題を解決するために、請求項7に
記載の発明は、請求項3から6のいずれか一項に記載の
キャラクタイメージデータ生成装置において、前記補助
線データ生成手段は、前記アウトラインデータを構成す
る部分輪郭線のうち、前記画素座標における水平線及び
垂直線を除く前記部分輪郭線を前記補助線データとする
ように構成される。
According to a seventh aspect of the present invention, in the character image data generating apparatus according to any one of the third to sixth aspects, the auxiliary line data generating means includes: Among the partial contours constituting the outline data, the partial contours excluding the horizontal and vertical lines at the pixel coordinates are configured as the auxiliary line data.

【0044】請求項7に記載の発明の作用によれば、請
求項3から6のいずれか一項に記載の発明の作用に加え
て、補助線データ生成手段は、アウトラインデータを構
成する部分輪郭線のうち、画素座標における水平線及び
垂直線を除く部分輪郭線を補助線データとする。
According to the function of the invention described in claim 7, in addition to the function of the invention described in any one of claims 3 to 6, the auxiliary line data generating means may further include a partial contour forming the outline data. Among the lines, a partial outline excluding the horizontal line and the vertical line in the pixel coordinates is set as auxiliary line data.

【0045】よって、補助線データとする部分輪郭線を
選択する処理を単純化することができるので、キャラク
タイメージデータ生成処理を高速化できる。
Accordingly, the process of selecting a partial contour line as the auxiliary line data can be simplified, and the speed of the character image data generation process can be increased.

【0046】上記の課題を解決するために、請求項8に
記載の発明は、請求項3から7のいずれか一項に記載の
キャラクタイメージデータ生成装置において、前記アウ
トラインデータは、当該アウトラインデータを構成する
部分輪郭線毎に生成すべき階調度を示す階調生成情報を
予め含み、前記補助線データ抽出手段は、前記階調生成
情報に基づいて部分輪郭線を抽出するように構成され
る。
In order to solve the above-mentioned problem, an invention according to claim 8 is the character image data generating device according to any one of claims 3 to 7, wherein the outline data is obtained by replacing the outline data with the outline data. The auxiliary line data extraction means is configured to extract a partial outline based on the grayscale generation information in advance, including gradation generation information indicating a gradation to be generated for each of the partial outlines to be configured.

【0047】請求項8に記載の発明の作用によれば、請
求項3から7のいずれか一項に記載の発明の作用に加え
て、アウトラインデータは、当該アウトラインデータを
構成する部分輪郭線毎に生成すべき階調度を示す階調生
成情報を予め含み、補助線データ抽出手段は、階調生成
情報に基づいて部分輪郭線を抽出する。
According to the operation of the invention described in claim 8, in addition to the operation of the invention described in any one of claims 3 to 7, the outline data is obtained for each of the partial contours constituting the outline data. The auxiliary line data extraction means extracts a partial contour line based on the gradation generation information.

【0048】よって、アウトラインデータに予め付加さ
れている階調生成情報に基づいて補助線データが抽出さ
れるので、補助線データ抽出処理を単純化でき、キャラ
クタイメージデータ生成処理を高速化できる。
Therefore, since the auxiliary line data is extracted based on the gradation generation information added to the outline data in advance, the auxiliary line data extraction processing can be simplified, and the character image data generation processing can be speeded up.

【0049】上記の課題を解決するために、請求項9に
記載の発明は、請求項3から8のいずれか一項に記載の
キャラクタイメージデータ生成装置において、前記補助
線データに対し、所定のアフィン変換を施すマイクロコ
ンピュータ部等の変換手段を更に備え、前記階調イメー
ジデータ生成手段は、前記アフィン変換された補助線デ
ータに基づいて前記階調イメージデータを生成するよう
に構成される。
According to a ninth aspect of the present invention, there is provided a character image data generating apparatus according to any one of the third to eighth aspects, wherein a predetermined number of The image processing apparatus further includes a conversion unit such as a microcomputer unit that performs affine transformation, and the gradation image data generation unit is configured to generate the gradation image data based on the affine transformed auxiliary line data.

【0050】請求項9に記載の発明の作用によれば、請
求項3から8のいずれか一項に記載の発明の作用に加え
て、変換手段は、補助線データに対し所定のアフィン変
換を施す。
According to the operation of the ninth aspect of the present invention, in addition to the operation of the third aspect of the invention, the conversion means performs a predetermined affine transformation on the auxiliary line data. Apply.

【0051】そして、階調イメージデータ生成手段は、
アフィン変換された補助線データに基づいて階調イメー
ジデータを生成する。
Then, the gradation image data generating means:
The gradation image data is generated based on the affine-transformed auxiliary line data.

【0052】よって、補助線データ抽出後にアフィン変
換を施すので、アフィン変換を施す場合のキャラクタの
可読性及び判別性が向上する。
Since the affine transformation is performed after the auxiliary line data is extracted, the readability and discrimination of the character when the affine transformation is performed are improved.

【0053】上記の課題を解決するために、請求項10
に記載の発明は、請求項3乃至9のいずれか一項に記載
のキャラクタイメージデータ生成装置と、前記合成手段
により合成されたキャラクタイメージデータに対応する
前記キャラクタを出力する前記出力手段と、を備えて構
成される。
In order to solve the above-mentioned problem, the present invention is applied to claim 10.
The invention described in (1) comprises: the character image data generation device according to any one of claims 3 to 9; and the output unit that outputs the character corresponding to the character image data synthesized by the synthesis unit. It is configured with.

【0054】請求項10に記載の発明の作用によれば、
請求項3乃至9のいずれか一項に記載の発明の作用に加
えて、出力手段は、合成されたキャラクタイメージデー
タに対応するキャラクタを出力する。
According to the operation of the tenth aspect of the present invention,
In addition to the effect of the invention according to any one of claims 3 to 9, the output means outputs a character corresponding to the synthesized character image data.

【0055】よって、出力されたキャラクタは、夫々の
キャラクタの特性に対応して、可読性及び判別性が向上
し、見やすいキャラクタとなる。
Therefore, the output character is improved in readability and discrimination in accordance with the characteristics of each character, and becomes a character that is easy to see.

【0056】また、キャラクタに対する階調の付加を高
速化することができるので、キャラクタの出力動作全体
が高速化される。
Further, since the addition of the gradation to the character can be sped up, the whole character output operation can be sped up.

【0057】[0057]

【発明の実施の形態】次に、本発明に好適な実施の形態
について図面に基づいて説明する。
Next, a preferred embodiment of the present invention will be described with reference to the drawings.

【0058】始めに、本発明のキャラクタイメージデー
タ生成装置及びキャラクタ出力装置をレーザプリンタに
適用した場合の構成について図1を用いて説明する。な
お、図1は本発明を適用したレーザープリンタの制御回
路Pのうち、主として文字のアウトラインデータからキ
ャラクタイメージデータとしての階調画素パターンデー
タを生成する部分を示すブロック図である。
First, the configuration when the character image data generating device and the character output device of the present invention are applied to a laser printer will be described with reference to FIG. FIG. 1 is a block diagram showing a portion of a control circuit P of a laser printer to which the present invention is applied, which mainly generates gradation pixel pattern data as character image data from character outline data.

【0059】図1において、この制御回路の主体をなす
二値キャラクタイメージデータ生成手段、補助線データ
抽出手段、階調イメージデータ生成手段、合成手段、判
定手段及び変換手段としてのマイクロコンピューター部
20はCPU14、キャラクタメモリ17、プログラム
メモリ15、テキストメモリ18、ワーキングメモリ1
6、階調画素パターンデータメモリ19とにより構成さ
れている。そしてこれらCPU14等はシステムバス1
3を介して互いに接続されている。
In FIG. 1, a microcomputer unit 20 as a binary character image data generating means, an auxiliary line data extracting means, a gradation image data generating means, a synthesizing means, a judging means and a converting means, which are the main components of the control circuit, CPU 14, character memory 17, program memory 15, text memory 18, working memory 1
6, a gradation pixel pattern data memory 19. The CPU 14 and the like are connected to the system bus 1
3 are connected to each other.

【0060】また、マイクロコンピューター部20には
システムバス13を介して入力装置11及び出力手段と
しての印字部12が接続されている。
An input device 11 and a printing unit 12 as an output unit are connected to the microcomputer unit 20 via a system bus 13.

【0061】次に、動作を説明する。Next, the operation will be described.

【0062】入力装置11は、外部から供給されるキャ
ラクタコード、文字サイズなどの文字情報等を入力す
る。
The input device 11 inputs character information such as a character code and a character size supplied from the outside.

【0063】プログラムメモリ15は、本実施形態で説
明するCPU14における様々な制御を実施するための
プログラムを記憶している。
The program memory 15 stores programs for performing various controls in the CPU 14 described in the present embodiment.

【0064】テキストメモリ18は、入力装置11から
入力されるキャラクタコード、文字サイズ、斜体や回転
などの文字修飾情報等を記憶する。
The text memory 18 stores character code, character size, character modification information such as italics and rotation, etc., which are input from the input device 11.

【0065】キャラクタメモリ17は、キャラクタのア
ウトラインデータと、アウトラインデータに対応した階
調生成用の階調生成情報及びキャラクタの文字幅などの
キャラクタデータを記憶するものであり、このキャラク
タデータは1文字ずつ読みだし可能である。各キャラク
タデータについては後で詳細に説明する。
The character memory 17 stores character outline data, gradation generation information for gradation generation corresponding to the outline data, and character data such as the character width of the character. It is possible to read out one by one. Each character data will be described later in detail.

【0066】CPU14は、本実施形態における処理
を、プログラムメモリ15によって与えられたプログラ
ムに従って行う。
The CPU 14 performs the processing in this embodiment according to a program provided by the program memory 15.

【0067】ワーキングメモリ16は、CPU14がプ
ログラムを実行するときに必要なデータを一時的に記憶
する。
The working memory 16 temporarily stores data required when the CPU 14 executes a program.

【0068】階調画素パターンデータメモリ19は、キ
ャラクタデータより作成された階調画素パターンデータ
を記憶する。
The gradation pixel pattern data memory 19 stores gradation pixel pattern data created from character data.

【0069】印字部12は、階調画素パターンデータメ
モリ19に記憶された階調画素パターンデータを電子写
真方式により印字する装置である。
The printing section 12 is an apparatus for printing the gradation pixel pattern data stored in the gradation pixel pattern data memory 19 by an electrophotographic method.

【0070】次に、上述のキャラクタデータについて説
明する。
Next, the character data described above will be described.

【0071】本実施形態におけるキャラクタデータは、
1キャラクタずつ読み出し可能な形式で、キャラクタメ
モリ17に収納されている。各キャラクタデータは、キ
ャラクタの形状をあらわすアウトラインデータ(図2符
号22参照)と、文字の幅情報などの属性情報より構成
される。また、各アウトラインデータには、階調生成情
報が付随して記憶されていてもよい。
The character data in this embodiment is
Each character is stored in the character memory 17 in a readable form. Each character data is composed of outline data (see 22 in FIG. 2) representing the shape of the character and attribute information such as character width information. Further, each outline data may be stored together with gradation generation information.

【0072】ここで、本実施形態における、図2に示す
「K」の文字についてのアウトラインデータの記憶方法
を図3に示す。なお、図2は、画素座標としての画素マ
トリックス21上にアウトラインデータに基づいて各部
分輪郭線22(以下、構成線という。)を描画した状態
を示しており、また、図3(a)はアウトラインデータ
のみを記憶する場合を示し、図3(b)はアウトライン
データに加えて、階調生成情報としての濃度情報が付加
された場合を示している。
FIG. 3 shows a method of storing outline data for the character “K” shown in FIG. 2 in the present embodiment. FIG. 2 shows a state in which each partial contour 22 (hereinafter, referred to as a component line) is drawn on a pixel matrix 21 as pixel coordinates based on outline data, and FIG. FIG. 3B shows a case where only outline data is stored, and FIG. 3B shows a case where density information as gradation generation information is added to the outline data.

【0073】図3において、「フラグ」の意味は次の通
りである。「S」は数値1をX座標、数値2をY座標と
した座標値に座標を移動するフラグであり、「L」は現
在の座標から、数値1をX座標、数値2をY座標とした
座標値に線分を引き、現在の座標を線分の先に更新する
フラグである。
In FIG. 3, the meaning of the "flag" is as follows. "S" is a flag for moving the coordinates to a coordinate value where the numerical value 1 is the X coordinate and the numerical value 2 is the Y coordinate, and "L" is the numerical value 1 is the X coordinate and the numerical value 2 is the Y coordinate from the current coordinates This flag is used to draw a line segment from the coordinate value and update the current coordinates to the end of the line segment.

【0074】図3(a)の例では、図2の「K」の文字
が、(58 25) の座標値から開始され、再度その座標に戻
るまでの13個の線分から構成される1つのアウトライ
ンとして規定されている。なお、ここに示した座標値
は、アウトラインを記憶する上での内部的な座標系に基
づいた座標値であり、出力時には、スケーリングされて
使用されることになる。
In the example shown in FIG. 3A, the character "K" in FIG. 2 starts from the coordinate value of (58 25) and is composed of thirteen line segments which return to the coordinates again. Defined as an outline. Note that the coordinate values shown here are coordinate values based on an internal coordinate system for storing the outline, and are scaled and used at the time of output.

【0075】また、図3(b)では、アウトラインを構
成する構成線情報に対して、階調生成情報として、0か
ら100の濃度を記憶する例を示している。ここで、濃
度0は対応する構成線に対し階調画素を生成しないこと
を示し、濃度100は最大濃度の階調画素を生成し、他
の値はそれぞれの割合に従った濃度の階調画素を生成す
ることを示している。
FIG. 3B shows an example in which the density of 0 to 100 is stored as the gradation generation information for the component line information forming the outline. Here, a density of 0 indicates that no gradation pixel is generated for the corresponding component line, a density of 100 generates a gradation pixel of the maximum density, and other values indicate gradation pixels of a density according to the respective proportions. Is generated.

【0076】なお、本実施形態では、座標値を絶対座標
としたが、相対座標を用いるなどの方法でもかまわな
い。また、図3の例では、アウトラインデータの構成線
として直線要素のみを示したが、ベジエ曲線、円弧など
の曲線を構成線としてもよい。また、階調生成情報を記
憶する場合に関しても、濃度以外のフラグ情報で記憶し
てもよく、さらにアウトラインデータと分離して記憶し
てあってもよい。
In the present embodiment, the coordinate values are set as absolute coordinates, but a method using relative coordinates may be used. Further, in the example of FIG. 3, only linear elements are shown as constituent lines of the outline data, but a curve such as a Bezier curve or an arc may be used as a constituent line. Also, when the gradation generation information is stored, it may be stored as flag information other than the density, or may be stored separately from the outline data.

【0077】なお、ここで、ベジエ曲線とは、例えば、
3次のベジエ曲線は、2点間を結ぶ曲線を他の2点と当
該曲線で結ぶ2点との位置関係に基づいて決定した曲線
のことをいう。
Here, the Bezier curve is, for example,
A cubic Bezier curve refers to a curve determined based on the positional relationship between a curve connecting two points and another two points connected by the curve.

【0078】次に、本実施形態における動作についてフ
ローチャート等を用いて具体的に説明する。
Next, the operation in the present embodiment will be specifically described with reference to flowcharts and the like.

【0079】始めに、図4のフローチャートに従って階
調画素パターンデータの作成手順を説明する。
First, the procedure for creating gradation pixel pattern data will be described with reference to the flowchart of FIG.

【0080】図4に示すように、先ず入力装置11から
入力されたキャラクタコードなどのデータに基づいて、
出力したいキャラクタを決定し、そのキャラクタのデー
タをキャラクタメモリ17から取り出す(ステップS5
1)。次に、ステップS52において、取り出したキャ
ラクタデータのアウトラインデータを所望のサイズにス
ケーリングし、回転、斜体などの変形を行った後、階調
画素パターンデータ作成のため、画素マトリックス21
との対応を決定する。そして、ステップS53におい
て、スケーリングされたアウトラインの内部にある画素
を第1の濃度としての黒等の所定の濃度に設定し、二値
キャラクタイメージデータを生成し、ワーキングメモリ
16などに記憶する。なお、このステップS53の処理
は、アウトラインデータから二値キャラクタイメージデ
ータを生成するスキャンコンバージョンの処理である。
この処理は既に様々な方式で実用化されている公知の技
術であり、また、本発明の主たる部分ではない。従っ
て、本発明の趣旨を明確にするためにも詳細な説明は省
略する。また、この場合、第2の濃度としては濃度
「0」とされている。
As shown in FIG. 4, first, based on data such as a character code input from the input device 11,
The character to be output is determined, and the data of the character is retrieved from the character memory 17 (step S5).
1). Next, in step S52, the outline data of the extracted character data is scaled to a desired size, subjected to a transformation such as rotation and italics, and then to a pixel matrix 21 for generating gradation pixel pattern data.
To determine the correspondence. Then, in step S53, pixels inside the scaled outline are set to a predetermined density such as black as the first density, binary character image data is generated, and stored in the working memory 16 or the like. The process in step S53 is a scan conversion process for generating binary character image data from outline data.
This processing is a known technique that has already been put to practical use in various systems, and is not a main part of the present invention. Therefore, a detailed description is omitted to clarify the spirit of the present invention. In this case, the density is set to “0” as the second density.

【0081】ここで、通常、キャラクタの出力サイズが
大きくなれば、階調イメージデータを付加する必要性は
低減するので、ステップS54ではCPU14により所
定の出力サイズ以下か否かを判定して、以下であれば
(ステップS54;YES)階調イメージデータの作成
に進み(ステップS55)、所定の出力サイズ以下でな
ければ(ステップS54;NO)二値キャラクタイメー
ジデータを最終的な階調画素パターンデータとしてステ
ップS57に進む。
Here, in general, if the output size of the character increases, the necessity of adding gradation image data decreases. In step S54, the CPU 14 determines whether or not the output size is smaller than a predetermined output size. If so (step S54; YES), the process proceeds to the creation of gradation image data (step S55), and if not smaller than the predetermined output size (step S54; NO), the binary character image data is converted into final gradation pixel pattern data. To step S57.

【0082】なお、出力サイズに依存する必要がない場
合は、このステップS54のステップを持たない場合も
ある。
If there is no need to depend on the output size, the step S54 may not be provided.

【0083】次に、ステップS55では、階調イメージ
データを生成するが、この詳細は後述する。
Next, in step S55, gradation image data is generated, the details of which will be described later.

【0084】ステップS56では、ステップS55で生
成された階調イメージデータと、ステップS53で生成
された二値キャラクタイメージデータとを階調イメージ
データ上の対応する位置に二値キャラクタイメージデー
タを上書きする方式で合成する。
In step S56, the binary character image data is overwritten with the grayscale image data generated in step S55 and the binary character image data generated in step S53 at corresponding positions on the grayscale image data. Combine by the method.

【0085】ここでは、図9で示された「K」の二値画
素パターンデータ(二値キャラクタイメージデータ)
と、図7に示された階調イメージデータとを合成する
と、図8に示すような階調を持ったキャラクタイメージ
データ(階調画素パターンデータ)となる。合成された
階調のあるキャラクタイメージデータ(階調画素パター
ンデータ)は、階調画素パターンデータメモリ19に出
力され(ステップS57)、最終的には印字部12にお
いて印字出力される。
Here, the binary pixel pattern data (binary character image data) of "K" shown in FIG.
When this is combined with the gradation image data shown in FIG. 7, character image data (gradation pixel pattern data) having gradations as shown in FIG. 8 are obtained. The synthesized character image data with gradation (gradation pixel pattern data) is output to the gradation pixel pattern data memory 19 (step S57), and finally printed out by the printing unit 12.

【0086】次に、ステップS55における階調イメー
ジデータ(図7参照)の生成処理の詳細を図5を用いて
説明する。
Next, details of the generation processing of the gradation image data (see FIG. 7) in step S55 will be described with reference to FIG.

【0087】図5に示すように、ステップS55におい
ては、先ず、スケーリング後のアウトラインを構成する
すべての構成線を処理するために、未処理の構成線の有
無を判定し(ステップS61)、未処理のものがあれば
(ステップS61;NO)ステップS62に進み、すべ
て処理したなら(ステップS61;YES)処理を終わ
る。
As shown in FIG. 5, in step S55, first, in order to process all the constituent lines constituting the outline after scaling, it is determined whether there is any unprocessed constituent line (step S61). If there is a process (step S61; NO), the process proceeds to step S62, and if all processes have been performed (step S61; YES), the process ends.

【0088】ステップS62では、未処理の構成線のデ
ータを取り出す。この構成線に対しし、階調イメージデ
ータの生成が必要であるか否かをステップS63で判定
する。この判定方法としては、構成線が垂直線あるいは
水平線以外の場合に生成要とする方法とか、図3(b)
に示される例の様に、各構成線毎に階調生成情報を持つ
場合は、対応する階調生成情報を判定して行う方法など
がある。
In step S62, the data of the unprocessed component line is extracted. It is determined in step S63 whether or not it is necessary to generate gradation image data for this constituent line. This determination method may be a method that needs to be generated when the constituent line is other than a vertical line or a horizontal line, or may be a method shown in FIG.
In the case where the gradation generation information is provided for each component line as in the example shown in FIG. 1, there is a method of determining and performing the corresponding gradation generation information.

【0089】垂直線あるいは水平線以外を階調イメージ
データの生成が必要であるとした場合を例示すれば、図
2のアウトラインデータに対して、図6に示す、各構成
線71、72、73、74及び75が階調イメージデー
タ生成が必要な構成線として判定される。この各構成線
71、72、73、74及び75が、階調生成用の補助
線データに対応する補助線となる。
For example, when it is assumed that the generation of the gradation image data is necessary for the lines other than the vertical lines or the horizontal lines, the outline data shown in FIG. 2 is replaced with the constituent lines 71, 72, 73, and 73 shown in FIG. 74 and 75 are determined as constituent lines that require generation of gradation image data. These constituent lines 71, 72, 73, 74 and 75 are auxiliary lines corresponding to auxiliary line data for gradation generation.

【0090】次に、ステップS64からS67の処理
は、1つの補助線データから各画素の濃度を決定する処
理である。
Next, the processing of steps S64 to S67 is processing for determining the density of each pixel from one piece of auxiliary line data.

【0091】先ず、全ての画素の濃度を決定するため
に、ステップS64では未処理の画素有無の判定を行
う。未処理の画素が無い場合には(ステップS64;Y
ES)次の構成線に対して処理を行うべくステップS6
1に戻り、未処理の画素があった場合には(ステップS
64;NO)、ステップS65で未処理の画素を1つ指
定し、その画素に第3の濃度としての所定の濃度の階調
値を与えるか否かをステップS66で判定する。この判
定は、その画素の領域内に対象となる階調生成用の補助
線が存在するか否かにより判定する方法とか、画素の中
央の位置から予め使用者が設定した所定の距離の範囲内
に階調生成用の補助線が存在するか否かで判定する方
法、或は画素内に引いた水平線もしくは垂直線と、階調
生成用の補助線とが交わるか否かで判定する方法などが
ある。
First, in order to determine the densities of all pixels, it is determined in step S64 whether or not there is an unprocessed pixel. If there is no unprocessed pixel (step S64; Y
ES) Step S6 to perform processing on the next component line
1 and if there is an unprocessed pixel (step S
64; NO), one unprocessed pixel is designated in step S65, and it is determined in step S66 whether or not a gradation value of a predetermined density as the third density is given to the pixel. This determination may be based on a method of determining whether there is a target gradation generation auxiliary line in the pixel area, or within a predetermined distance set by the user in advance from the center position of the pixel. A method for determining whether or not there is an auxiliary line for grayscale generation in a pixel, or a method for determining whether or not a horizontal or vertical line drawn in a pixel intersects with the auxiliary line for grayscale generation There is.

【0092】最後に、ステップS67で対象の画素に所
定の濃度の階調値を与える。この所定の濃度(第3の濃
度)は、あらかじめ設定され、濃度情報(図3(b)参
照)としてアウトラインデータに付加されている50パ
ーセント濃度などの一定値を用いることや、対象の補助
線データに対応する構成線の、画素の中心からの距離に
応じて変化させる値を用いることなどができる。
Finally, in step S67, a gradation value of a predetermined density is given to the target pixel. The predetermined density (third density) is set in advance, and a predetermined value such as 50% density added to the outline data as density information (see FIG. 3B) can be used. For example, a value that changes according to the distance of the component line corresponding to the data from the center of the pixel can be used.

【0093】以上の処理により階調イメージデータが生
成される。一例として図6に示した階調生成用の補助線
に対し、その画素の領域内に対象となる階調生成用の補
助線が存在するか否かにより当該画素(図7中符号Gで
示す)に階調値を与え、階調値としては、50パーセン
ト濃度の一定値を用いた場合の階調イメージデータを図
7に示す。
With the above processing, gradation image data is generated. As an example, for a grayscale generation auxiliary line shown in FIG. 6, whether or not a target grayscale generation auxiliary line exists in the pixel area is determined for the pixel (indicated by a symbol G in FIG. 7). 7) shows the gradation image data when a constant value of 50% density is used as the gradation value.

【0094】以上説明したように、実施形態のキャラク
タイメージデータ生成装置及びキャラクタ出力装置によ
れば、アウトラインデータに基づいて補助線データを抽
出し、当該補助線データに対応する構成線との位置関係
が所定の基準にある画素の印刷濃度を50%のグレーと
して階調イメージデータを生成し、この階調イメージデ
ータと二値キャラクタイメージデータを合成して階調画
素パターンデータを生成するので、当該階調イメージデ
ータに基づいてキャラクタを出力すると、当該出力され
たキャラクタは、夫々のキャラクタの特性に対応して可
読性及び判別性が向上し、見やすいキャラクタとなる。
As described above, according to the character image data generating device and the character output device of the embodiment, the auxiliary line data is extracted based on the outline data, and the positional relationship with the constituent lines corresponding to the auxiliary line data is extracted. Generates grayscale image data by setting the print density of a pixel having a predetermined reference to gray of 50%, and generates grayscale pixel pattern data by combining the grayscale image data with the binary character image data. When a character is output based on the gradation image data, the output character is improved in readability and discrimination according to the characteristics of each character, and becomes a character that is easy to see.

【0095】また、補助線データに対応する構成線との
関係においてのみグレーとする画素を決定することがで
きるので、従来のような複雑な面積計算等が不要とな
り、キャラクタに対する階調の付加を高速化することが
できる。
Further, since the pixel to be grayed can be determined only in relation to the constituent line corresponding to the auxiliary line data, complicated area calculation or the like as in the prior art is unnecessary, and the addition of gradation to the character is not required. Speed can be increased.

【0096】更に、階調イメージデータが必要ない大き
な出力サイズのキャラクタに対しては階調イメージデー
タ生成処理が行われないので、階調イメージデータ生成
処理を更に高速化することができる。
Further, since gradation image data generation processing is not performed on a character having a large output size that does not require gradation image data, the gradation image data generation processing can be further speeded up.

【0097】更にまた、グレーとする画素の濃度を当該
画素と補助線との位置関係に基づいて変化させるので、
更に可読性及び判別性が向上し、見やすいキャラクタを
出力することができる。
Furthermore, since the density of a pixel to be grayed is changed based on the positional relationship between the pixel and the auxiliary line,
Further, readability and discrimination are improved, and a character that is easy to see can be output.

【0098】更に、アウトラインデータを構成する構成
線のうち、画素マトリックスにおける水平線及び垂直線
を除く構成線を補助線とするので、補助線する構成線を
選択する処理を単純化することができるので、階調イメ
ージデータ生成処理を高速化できる。
Further, among the constituent lines constituting the outline data, the constituent lines other than the horizontal and vertical lines in the pixel matrix are used as auxiliary lines, so that the process of selecting the constituent lines to be auxiliary lines can be simplified. In addition, the speed of the gradation image data generation processing can be increased.

【0099】また、アウトラインデータに予め付加され
ている階調生成情報に基づいて補助線が抽出されるの
で、補助線抽出処理を単純化でき、階調イメージデータ
生成処理を高速化できる。
Further, since the auxiliary line is extracted based on the gradation generation information added to the outline data in advance, the auxiliary line extraction processing can be simplified, and the gradation image data generation processing can be speeded up.

【0100】なお、本実施形態では、レーザプリンタ又
はインクジェットプリンタ等の印字装置に適用した例を
記載したが、ディスプレイ等の表示装置に適用してもよ
い。
In the present embodiment, an example in which the present invention is applied to a printing device such as a laser printer or an ink jet printer has been described. However, the present invention may be applied to a display device such as a display.

【0101】また、本実施形態では、所定の条件を満た
すアウトラインデータの構成線をそのまま階調生成用の
補助線としたが、構成線をあらかじめ指定された距離だ
け所定の方向に移動させる等のアフィン変換を施した
後、階調生成用の補助線として用いることもできる。こ
の場合には、補助線抽出後にアフィン変換を施すので、
アフィン変換を施す場合のキャラクタの可読性及び判別
性が向上する。
Further, in this embodiment, the constituent lines of the outline data satisfying the predetermined condition are used as the auxiliary lines for gradation generation as they are. However, the constituent lines are moved in a predetermined direction by a predetermined distance. After performing the affine transformation, it can be used as an auxiliary line for gradation generation. In this case, since the affine transformation is performed after the auxiliary line is extracted,
When the affine transformation is performed, the readability and discrimination of the character are improved.

【0102】また、本実施形態では、二値キャラクタイ
メージデータと階調イメージデータとの合成に関し、階
調イメージデータの上に二値キャラクタイメージデータ
を上書きする方法を示したが、それ以外にも、構成線の
内部と外部の境界付近において、予め設定された複数の
階調値を加算してキャラクタイメージデータを生成する
方法や、同様に構成線の内部と外部の境界付近におい
て、減算により上記第1の濃度と第2の濃度との中間の
階調値を計算してキャラクタイメージデータを生成する
方法などで合成してもよい。
In the present embodiment, a method of overwriting the binary character image data with the binary character image data on the composite of the binary character image data and the grayscale image data has been described. In the vicinity of the boundary between the inside and the outside of the component line, a method of generating character image data by adding a plurality of preset gradation values, or similarly, near the boundary between the inside and the outside of the component line by subtraction, The image may be synthesized by a method of calculating a gradation value intermediate between the first density and the second density to generate character image data.

【0103】更に、グレーとする場合の階調数及び濃度
は、印字部又はディスプレイの能力に合わせて、上記以
外に複数種類とすることも可能である。
Further, the number of gradations and the density in the case of graying may be a plurality of types other than the above in accordance with the capability of the printing unit or the display.

【0104】これらの合成方法によれば、特にキャラク
タを拡大した場合にアウトライン上境界付近において、
より適切な濃度の階調を付加することができるので、よ
り見やすく可読性及び判読性に優れたキャラクタを出力
することができる。
According to these synthesizing methods, especially when the character is enlarged, near the boundary on the outline,
Since a gradation with a more appropriate density can be added, it is possible to output a character that is more legible and has excellent readability and legibility.

【0105】その他、本発明の主旨を逸脱しない範囲で
種々の応用が可能である。
In addition, various applications are possible without departing from the gist of the present invention.

【0106】[0106]

【発明の効果】以上説明したように、請求項1に記載の
発明によれば、アウトラインデータに基づいて補助線デ
ータを抽出し、当該補助線データに対応する部分輪郭線
との位置関係が所定の基準にある画素の印刷濃度を第1
の濃度と第2の濃度の中間である第3の濃度として階調
イメージデータを生成し、この階調イメージデータを二
値キャラクタイメージデータを合成してキャラクタイメ
ージデータを生成するので、当該キャラクタイメージデ
ータに基づいてキャラクタを出力した場合には、当該出
力されたキャラクタは、夫々のキャラクタの特性に対応
して可読性及び判別性が向上し、見やすいキャラクタと
なる。
As described above, according to the first aspect of the present invention, the auxiliary line data is extracted based on the outline data, and the positional relationship with the partial contour corresponding to the auxiliary line data is determined. The print density of the pixel in the reference
The tone image data is generated as a third density which is intermediate between the density of the image and the second density, and the tone image data is combined with the binary character image data to generate the character image data. When a character is output based on the data, the output character is improved in readability and discrimination in accordance with the characteristics of each character, making the character easy to see.

【0107】また、補助線データに対応する部分輪郭線
との関係においてのみ第3の濃度とする画素を決定する
ことができるので、キャラクタに対する階調の付加を高
速化することができる。
Further, since the pixel having the third density can be determined only in relation to the partial contour line corresponding to the auxiliary line data, the gradation can be added to the character at high speed.

【0108】請求項2に記載の発明によれば、請求項1
に記載の発明の効果に加えて、出力工程において、キャ
ラクタイメージデータに基づいて、当該キャラクタイメ
ージデータに対応するキャラクタを出力するので、出力
されたキャラクタは、夫々のキャラクタの特性に対応し
て、可読性及び判別性が向上し、見やすいキャラクタと
なる。
According to the invention of claim 2, according to claim 1,
In addition to the effects of the invention described in the above, in the output step, a character corresponding to the character image data is output based on the character image data, so that the output characters correspond to the characteristics of each character, Readability and discrimination are improved, and the character becomes easy to see.

【0109】また、キャラクタに対する階調の付加を高
速化することができるので、キャラクタの出力動作全体
が高速化される。
Further, since the addition of the gradation to the character can be sped up, the entire character output operation can be sped up.

【0110】請求項3に記載の発明によれば、アウトラ
インデータに基づいて補助線データを抽出し、当該補助
線データに対応する部分輪郭線との位置関係が所定の基
準にある画素の印刷濃度を第1の濃度と第2の濃度の中
間である第3の濃度として階調イメージデータを生成
し、この階調イメージデータを二値キャラクタイメージ
データを合成してキャラクタイメージデータを生成する
ので、当該キャラクタイメージデータに基づいてキャラ
クタを出力した場合には、当該出力されたキャラクタ
は、夫々のキャラクタの特性に対応して可読性及び判別
性が向上し、見やすいキャラクタとなる。
According to the third aspect of the present invention, the auxiliary line data is extracted based on the outline data, and the print density of the pixel whose positional relationship with the partial contour corresponding to the auxiliary line data is a predetermined reference. Is generated as a third density which is intermediate between the first density and the second density, and the grayscale image data is combined with the binary character image data to generate character image data. When a character is output based on the character image data, the output character has improved readability and discrimination in accordance with the characteristics of each character, and is a character that is easy to see.

【0111】また、補助線データに対応する部分輪郭線
との関係においてのみ第3の濃度とする画素を決定する
ことができるので、キャラクタに対する階調の付加を高
速化することができる。
Further, since the pixel having the third density can be determined only in relation to the partial contour line corresponding to the auxiliary line data, it is possible to speed up the addition of the gradation to the character.

【0112】請求項4に記載の発明によれば、請求項3
に記載の発明の効果に加えて、選択された当該キャラク
タイメージデータの生成が必要なキャラクタに対しての
み上記夫々の処理が行われるので、全てのキャラクタに
対してキャラクタイメージデータを生成する場合よりも
キャラクタイメージデータ生成処理を高速化することが
できる。
According to the invention described in claim 4, according to claim 3
In addition to the effects of the invention described in the above, each of the above processes is performed only on the selected character that needs to generate the character image data, so that the character image data is generated for all the characters. Can also speed up the character image data generation processing.

【0113】請求項5に記載の発明によれば、請求項4
に記載の発明の効果に加えて、判定手段は、出力時のキ
ャラクタのサイズに基づいて、階調イメージデータの生
成の要否を判定するので、キャラクタイメージデータが
必要ない出力サイズのキャラクタに対してはキャラクタ
イメージデータ生成処理が行われないようにすることが
でき、キャラクタイメージデータ生成処理を更に高速化
することができる。
According to the invention set forth in claim 5, according to claim 4
In addition to the effects of the invention described in the above, the determination means determines whether or not the generation of gradation image data is necessary based on the size of the character at the time of output. In this case, the character image data generation processing can be prevented from being performed, and the character image data generation processing can be further accelerated.

【0114】請求項6に記載の発明によれば、請求項3
から5のいずれか一項に記載の発明の効果に加えて、階
調イメージデータ生成手段は、第3の濃度を当該第3の
濃度に設定すべき画素と補助線データに対応する部分輪
郭線との位置関係に基づいて変化させるように設定する
ので、更に可読性及び判別性が向上し、見やすいキャラ
クタを出力することができる。
According to the invention of claim 6, according to claim 3,
In addition to the effects of the invention described in any one of the first to fifth aspects, the gradation image data generating means includes a pixel for setting the third density to the third density and a partial contour line corresponding to the auxiliary line data. Is set based on the positional relationship with the character, the readability and the discrimination are further improved, and a character that is easy to see can be output.

【0115】請求項7に記載の発明によれば、請求項3
から6のいずれか一項に記載の発明の効果に加えて、補
助線データ生成手段は、アウトラインデータを構成する
部分輪郭線のうち、画素座標における水平線及び垂直線
を除く部分輪郭線を補助線データとするので、補助線デ
ータとする部分輪郭線を選択する処理を単純化すること
ができ、キャラクタイメージデータ生成処理を高速化で
きる。
According to the invention of claim 7, according to claim 3,
In addition to the effects of the invention described in any one of the above, the auxiliary line data generation means may include, among the partial outlines constituting the outline data, a partial outline excluding a horizontal line and a vertical line in pixel coordinates as an auxiliary line. Since data is used, the process of selecting a partial contour line to be used as auxiliary line data can be simplified, and the speed of character image data generation processing can be increased.

【0116】請求項8に記載の発明によれば、請求項3
から7のいずれか一項に記載の発明の効果に加えて、ア
ウトラインデータに予め付加されている階調生成情報に
基づいて補助線データが抽出されるので、補助線データ
抽出処理を単純化でき、キャラクタイメージデータ生成
処理を高速化できる。
According to the eighth aspect of the present invention, the third aspect is provided.
In addition to the effects of the invention described in any one of the above, the auxiliary line data is extracted based on the gradation generation information added in advance to the outline data, so that the auxiliary line data extraction process can be simplified. Thus, the speed of the character image data generation processing can be increased.

【0117】請求項9に記載の発明によれば、請求項3
から8のいずれか一項に記載の発明の効果に加えて、変
換手段は、補助線データ抽出後にアフィン変換を施し、
これに基づいて階調イメージデータを生成するので、ア
フィン変換を施す場合のキャラクタの可読性及び判別性
が向上する。
According to the ninth aspect, the third aspect is provided.
In addition to the advantageous effects of the invention described in any one of Items 1 to 8, the conversion unit performs affine transformation after extracting the auxiliary line data,
Since the gradation image data is generated based on this, the readability and discrimination of the character when affine transformation is performed are improved.

【0118】請求項10に記載の発明によれば、請求項
3乃至9のいずれか一項に記載の発明の効果に加えて、
出力手段は、キャラクタイメージデータに基づいて、当
該キャラクタイメージデータに対応するキャラクタを出
力するので、出力されたキャラクタは、夫々のキャラク
タの特性に対応して、可読性及び判別性が向上し、見や
すいキャラクタとなる。
According to the tenth aspect of the present invention, in addition to the effects of the third aspect of the present invention,
The output means outputs a character corresponding to the character image data based on the character image data. Becomes

【0119】また、キャラクタに対する階調の付加を高
速化することができるので、キャラクタの出力動作全体
が高速化される。
Further, since the addition of gradation to a character can be sped up, the entire character output operation can be sped up.

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

【図1】本発明のキャラクタデータ生成装置及びキャラ
クタ出力装置の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a character data generation device and a character output device of the present invention.

【図2】キャラクタのアウトラインデータを例示する図
である。
FIG. 2 is a diagram illustrating outline data of a character;

【図3】実施形態に係るキャラクタデータの記憶方法を
示す図である。
FIG. 3 is a diagram illustrating a method of storing character data according to the embodiment.

【図4】実施形態に係るキャラクタの階調画素パターン
データ生成のフローチャートである。
FIG. 4 is a flowchart of character gradation pixel pattern data generation according to the embodiment.

【図5】実施例に係るキャラクタの階調イメージデータ
生成のフローチャートである。
FIG. 5 is a flowchart of character gradation image data generation according to the embodiment.

【図6】実施形態に係るキャラクタの階調生成用補助線
を示す図である。
FIG. 6 is a view showing auxiliary lines for generating gradation of a character according to the embodiment;

【図7】実施形態に係るキャラクタの階調イメージデー
タを例示する図である。
FIG. 7 is a diagram exemplifying gradation image data of a character according to the embodiment;

【図8】実施形態に二値キャラクタイメージデータと階
調イメージデータとを合成した例を示す図である。
FIG. 8 is a diagram showing an example in which binary character image data and gradation image data are combined in the embodiment.

【図9】従来技術の二値画素パターンデータを示す図で
ある。
FIG. 9 is a diagram showing binary pixel pattern data according to the related art.

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

11…入力装置 12…印字部 13…システムバス 14…CPU 15…プログラムメモリ 16…ワーキングメモリ 17…キャラクタメモリ 18…テキストメモリ 19…階調画素パターンデータメモリ 20…マイクロコンピューター部 21、103…画素マトリックス 22、100…構成線(アウトライン) 71、72、73、74、75…補助線 101…二値画素パターンデータ P…レーザプリンタ制御回路 DESCRIPTION OF SYMBOLS 11 ... Input device 12 ... Printing part 13 ... System bus 14 ... CPU 15 ... Program memory 16 ... Working memory 17 ... Character memory 18 ... Text memory 19 ... Gradation pixel pattern data memory 20 ... Microcomputer part 21, 103 ... Pixel matrix 22, 100: constituent lines (outline) 71, 72, 73, 74, 75: auxiliary line 101: binary pixel pattern data P: laser printer control circuit

Claims (10)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 出力装置における画素を規定する座標で
ある画素座標上に、出力すべきキャラクタの輪郭形状に
対応するアウトラインデータに基づいて当該輪郭形状を
描画したとき、前記輪郭形状の内側となる前記画素にお
ける出力濃度を第1の濃度に設定すると共に、前記輪郭
形状の外側となる前記画素における出力濃度を前記第1
の濃度とは異なる第2の濃度に設定することにより二値
キャラクタイメージデータを生成する二値キャラクタイ
メージデータ生成工程と、 前記アウトラインデータを構成する一又は複数の部分輪
郭線から、所定の条件を満たす部分輪郭線を補助線デー
タとして抽出する補助線データ抽出工程と、 前記補助線データに対応する部分輪郭線を前記画素座標
上に描画したとき、当該描画された部分輪郭線との位置
関係が所定の基準を満たす前記画素における出力濃度を
前記第1の濃度と前記第2の濃度との中間にある第3の
濃度に設定することにより階調イメージデータを生成す
る階調イメージデータ生成工程と、 前記二値キャラクタイメージデータと、前記階調イメー
ジデータとを合成してキャラクタイメージデータを生成
する合成工程と、 を備えたことを特徴とするキャラクタイメージデータ生
成方法。
When an outline is drawn based on outline data corresponding to the outline of a character to be output on pixel coordinates, which are coordinates defining pixels in the output device, the outline is inside the outline. The output density of the pixel is set to a first density, and the output density of the pixel outside the contour is set to the first density.
A binary character image data generating step of generating binary character image data by setting a second density different from the density of the image data; and a predetermined condition from one or a plurality of partial contours constituting the outline data. An auxiliary line data extraction step of extracting a partial outline to be filled as auxiliary line data, and, when a partial outline corresponding to the auxiliary line data is drawn on the pixel coordinates, a positional relationship between the drawn partial outline and the drawn partial outline is A tone image data generating step of generating tone image data by setting an output density of the pixel satisfying a predetermined criterion to a third density intermediate between the first density and the second density; A combining step of combining the binary character image data and the gradation image data to generate character image data; A method for generating character image data, comprising:
【請求項2】 請求項1に記載のキャラクタイメージデ
ータ生成方法と、 前記出力装置において、前記合成工程により合成された
キャラクタイメージデータに対応する前記キャラクタを
出力する出力工程と、 を備えたことを特徴とするキャラクタ出力方法。
2. The character image data generation method according to claim 1, further comprising: an output step of outputting the character corresponding to the character image data synthesized by the synthesis step in the output device. Character output method.
【請求項3】 外部の出力手段における画素を規定する
座標である画素座標上に、出力すべきキャラクタの輪郭
形状に対応するアウトラインデータに基づいて当該輪郭
形状を描画したとき、前記輪郭形状の内側となる前記画
素における出力濃度を第1の濃度に設定すると共に、前
記輪郭形状の外側となる前記画素における出力濃度を前
記第1の濃度とは異なる第2の濃度に設定することによ
り二値キャラクタイメージデータを生成する二値キャラ
クタイメージデータ生成手段と、 前記アウトラインデータを構成する一又は複数の部分輪
郭線から、所定の条件を満たす部分輪郭線を補助線デー
タとして抽出する補助線データ抽出手段と、 前記補助線データに対応する部分輪郭線を前記画素座標
上に描画したとき、当該描画された部分輪郭線との位置
関係が所定の基準を満たす前記画素における出力濃度を
前記第1の濃度と前記第2の濃度との中間にある第3の
濃度に設定することにより階調イメージデータを生成す
る階調イメージデータ生成手段と、 前記二値キャラクタイメージデータと前記階調イメージ
データとを合成してキャラクタイメージデータを生成す
る合成手段と、 を備えたことを特徴とするキャラクタイメージデータ生
成装置。
3. When the contour shape is drawn on pixel coordinates, which are coordinates defining pixels in an external output unit, based on outline data corresponding to the contour shape of the character to be output, the inside of the contour shape is drawn. Is set to a first density, and the output density of the pixel outside the contour is set to a second density different from the first density. Binary character image data generating means for generating image data; and auxiliary line data extracting means for extracting, as auxiliary line data, a partial outline satisfying a predetermined condition from one or a plurality of partial outlines constituting the outline data. When a partial outline corresponding to the auxiliary line data is drawn on the pixel coordinates, Tone image data for generating tone image data by setting an output density of the pixel whose arrangement relationship satisfies a predetermined criterion to a third density intermediate between the first density and the second density A character image data generating apparatus, comprising: generating means; and synthesizing means for generating character image data by synthesizing the binary character image data and the gradation image data.
【請求項4】 請求項3に記載のキャラクタイメージデ
ータ生成装置において、 前記階調イメージデータの生成の要否を判定する判定手
段を更に備え、 前記判定手段により階調イメージの生成が必要であると
判定された場合のみ、前記キャラクタイメージデータの
生成を行うことを特徴とするキャラクタイメージデータ
生成装置。
4. The character image data generation device according to claim 3, further comprising: a determination unit configured to determine whether or not generation of the gradation image data is necessary, wherein the determination unit needs to generate a gradation image. The character image data is generated only when it is determined that the character image data is determined.
【請求項5】 請求項4に記載のキャラクタイメージデ
ータ生成装置において、 前記判定手段は、出力時の前記キャラクタのサイズに基
づいて、前記階調イメージデータの生成の要否を判定す
ることを特徴とするキャラクタイメージデータ生成装
置。
5. The character image data generation device according to claim 4, wherein the determination unit determines whether or not the generation of the gradation image data is necessary based on the size of the character at the time of output. Character image data generation device.
【請求項6】 請求項3から5のいずれか一項に記載の
キャラクタイメージデータ生成装置において、 前記階調イメージデータ生成手段は、前記第3の濃度
を、当該第3の濃度に設定すべき前記画素と前記補助線
データに対応する前記部分輪郭線との位置関係に対応し
て変化させることを特徴とするキャラクタイメージデー
タ生成装置。
6. The character image data generation device according to claim 3, wherein the gradation image data generation unit sets the third density to the third density. A character image data generation device, wherein the character image data generation device changes the position in accordance with the positional relationship between the pixel and the partial outline corresponding to the auxiliary line data.
【請求項7】 請求項3から6のいずれか一項に記載の
キャラクタイメージデータ生成装置において、 前記補助線データ生成手段は、前記アウトラインデータ
を構成する部分輪郭線のうち、前記画素座標における水
平線及び垂直線を除く前記部分輪郭線を前記補助線デー
タとすることを特徴とするキャラクタイメージデータ生
成装置。
7. The character image data generating device according to claim 3, wherein said auxiliary line data generating means is a horizontal line at said pixel coordinates among partial outlines constituting said outline data. A character image data generating apparatus, wherein the partial contour line excluding a vertical line is used as the auxiliary line data.
【請求項8】 請求項3から7のいずれか一項に記載の
キャラクタイメージデータ生成装置において、 前記アウトラインデータは、当該アウトラインデータを
構成する部分輪郭線毎に生成すべき階調度を示す階調生
成情報を予め含み、 前記補助線データ抽出手段は、前記階調生成情報に基づ
いて部分輪郭線を抽出することを特徴とするキャラクタ
イメージデータ生成装置。
8. The character image data generation device according to claim 3, wherein the outline data is a gradation indicating a gradation to be generated for each partial contour forming the outline data. A character image data generating apparatus including generation information in advance, wherein the auxiliary line data extraction means extracts a partial contour line based on the gradation generation information.
【請求項9】 請求項3から8のいずれか一項に記載の
キャラクタイメージデータ生成装置において、 前記補助線データに対し、所定のアフィン変換を施す変
換手段を更に備え、 前記階調イメージデータ生成手段は、前記アフィン変換
された補助線データに基づいて前記階調イメージデータ
を生成することを特徴とするキャラクタイメージデータ
生成装置。
9. The character image data generation device according to claim 3, further comprising a conversion unit that performs a predetermined affine transformation on the auxiliary line data, wherein the generation of the gradation image data is performed. The character image data generating device generates the gradation image data based on the affine-transformed auxiliary line data.
【請求項10】 請求項3から9のいずれか一項に記載
のキャラクタイメージデータ生成装置と、 前記合成手段により合成されたキャラクタイメージデー
タに対応する前記キャラクタを出力する前記出力手段
と、 を備えたことを特徴とするキャラクタ出力装置。
10. The character image data generation device according to claim 3, further comprising: the output unit that outputs the character corresponding to the character image data synthesized by the synthesis unit. A character output device.
JP27604095A 1995-10-24 1995-10-24 Character image data generation method and device, and character output method and device Expired - Fee Related JP3244411B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27604095A JP3244411B2 (en) 1995-10-24 1995-10-24 Character image data generation method and device, and character output method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27604095A JP3244411B2 (en) 1995-10-24 1995-10-24 Character image data generation method and device, and character output method and device

Publications (2)

Publication Number Publication Date
JPH09120279A JPH09120279A (en) 1997-05-06
JP3244411B2 true JP3244411B2 (en) 2002-01-07

Family

ID=17563955

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27604095A Expired - Fee Related JP3244411B2 (en) 1995-10-24 1995-10-24 Character image data generation method and device, and character output method and device

Country Status (1)

Country Link
JP (1) JP3244411B2 (en)

Also Published As

Publication number Publication date
JPH09120279A (en) 1997-05-06

Similar Documents

Publication Publication Date Title
JPS62123573A (en) Computer graphic apparatus and operation thereof
JPH0863144A (en) Font processing device and font processing method
JPH05204363A (en) High-speed vertical scanning-conversion and charging method and device for formation of outline character style character in dot matrix device
JP2909273B2 (en) Outline font line width adjusting method and apparatus
JPH07322057A (en) Increase of resolution of binary input picture and its increasing device together with improvement of appearance ofbinary input picture
US5526474A (en) Image drawing with improved process for area ratio of pixel
US5091973A (en) Image processing apparatus for reducing visible roughness in contours
JP3244411B2 (en) Character image data generation method and device, and character output method and device
JP2650324B2 (en) Multi-value character font generation system
JPH09120280A (en) Method and device for generating character image data, and method and device for outputting character
JP2806679B2 (en) Character generator
JP3006732B2 (en) Character pattern generator
JPH04280296A (en) Contour data processing device
JP3417753B2 (en) Method and apparatus for generating gradation character
JP3493745B2 (en) Drawing device
JPH06175639A (en) Method and device for character generation
JP3039214B2 (en) Data converter
JPH0137748B2 (en)
JPH1023241A (en) Gradation character output device
JPH09244614A (en) Method and device for character generation
JPH0736434A (en) Character output device
JPH05313634A (en) Outline font developing device
JPS62175794A (en) Character generator
JPH0239359A (en) Document processor
JP2000222569A (en) Plotter

Legal Events

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