JPH09120279A - Method and device for generating character image data, and method and device for outputting character - Google Patents

Method and device for generating character image data, and method and device for outputting character

Info

Publication number
JPH09120279A
JPH09120279A JP7276040A JP27604095A JPH09120279A JP H09120279 A JPH09120279 A JP H09120279A JP 7276040 A JP7276040 A JP 7276040A JP 27604095 A JP27604095 A JP 27604095A JP H09120279 A JPH09120279 A JP H09120279A
Authority
JP
Japan
Prior art keywords
image data
character
data
density
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.)
Granted
Application number
JP7276040A
Other languages
Japanese (ja)
Other versions
JP3244411B2 (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 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

Abstract

PROBLEM TO BE SOLVED: To quickly generate an easy-to-see character image matching each character on the basis of outline data of the characters. SOLUTION: The outline shape of a character is stored in the form of outline data (step S52), auxiliary line data for gradational image data generation are generated on the basis of the constitution lines of the outline data, and gradational image data with gradations are generated from the auxiliary line data (step S55); and binary character image data having no gradations are generated from the outline data (step S53) and the gradational image data and binary character image data are put together (step S56) to generate character image data. The gradations are given corresponding to the auxiliary line data, so an easy-to-see character is outputted.

Description

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

【0001】[0001]

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

【0002】[0002]

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

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

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

【0005】しかしながら、従来アウトラインデータか
ら変換される画素パターンデータはほとんどの場合階調
を持たない二値の、すなわち出力すべき色がつけられる
かつけられないかの情報しか持たない画素パターンデー
タであった。
However, the pixel pattern data converted from the conventional outline data is almost binary pixel data having no gradation, that is, pixel pattern data having only information indicating 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, the jagged edges (hereinafter referred to as "jaggies") of the contour portion corresponding to the diagonal lines are particularly noticeable, and a beautiful character image can be obtained at the time of output. There wasn't. 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, a pixel pattern with a slanted portion as shown in FIG. 9 does not look good. Here, the grid (dotted line portion) 10 in the binary pixel pattern data 101
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 above-mentioned jaggies, binary pixel pattern data called anti-aliasing is analyzed to detect pixels in areas where jaggies such as diagonal lines are conspicuous and automatically Pixel gradation value (density)
A method of improving the appearance by adding or changing is used.

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

【0009】更に、従来においては、ジャギの部分に階
調を施す場合には、ジャギに係る画素のうち、当該画素
の内ジャギに係っている領域の面積を計算し、その面積
に対応した階調値を与える方法や、ジャギの部分を拡大
して更に細分化し、この更に細分化した画素においてジ
ャギに係っているか否かを判定して階調を施してから元
の大きさに縮小するといった方法が行われていた。
Further, in the conventional case, when gradation is applied to the jaggies, the area of the area related to the jagi among the pixels related to the jaggies is calculated, and the area corresponding to the area is calculated. A method of giving gradation values, or enlarging the jaggies part to further subdivide it, judge whether or not it is related to jaggies in these subdivided pixels, apply gradation, and then reduce to the original size. The method of doing was done.

【0010】[0010]

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

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

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

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

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

【0015】[0015]

【課題を解決するための手段】上記の課題を解決するた
めに、請求項1に記載の発明は、印字部等の出力装置に
おける画素を規定する座標である画素座標上に、出力す
べきキャラクタの輪郭形状に対応するアウトラインデー
タに基づいて当該輪郭形状を描画したとき、前記輪郭形
状の内側となる前記画素における出力濃度を第1の濃度
に設定すると共に、前記輪郭形状の外側となる前記画素
における出力濃度を前記第1の濃度とは異なる第2の濃
度に設定することにより二値キャラクタイメージデータ
を生成する二値キャラクタイメージデータ生成工程と、
前記アウトラインデータを構成する一又は複数の部分輪
郭線から、所定の条件を満たす部分輪郭線を補助線デー
タとして抽出する補助線データ抽出工程と、前記補助線
データに対応する部分輪郭線を前記画素座標上に描画し
たとき、当該描画された部分輪郭線との位置関係が所定
の基準を満たす前記画素における出力濃度を前記第1の
濃度と前記第2の濃度との中間にある第3の濃度に設定
することにより階調イメージデータを生成する階調イメ
ージデータ生成工程と、前記二値キャラクタイメージデ
ータと、前記階調イメージデータとを合成してキャラク
タイメージデータを生成する合成工程と、を備えて構成
される。
In order to solve the above-mentioned problems, the invention according to claim 1 is a character to be output 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 the 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 in the second density different from the first density.
An auxiliary line data extraction step of extracting, as auxiliary line data, a partial contour line that satisfies a predetermined condition from one or more partial contour lines forming the outline data; and a partial contour line corresponding to the auxiliary line data is the pixel. When the pixel is drawn on the coordinates, the output density in the pixel whose positional relationship with the drawn partial contour line satisfies a predetermined criterion is a third density which is intermediate between the first density and the second density. A gradation image data generation step of generating gradation image data by setting the above-mentioned setting, and a combining step of combining the binary character image data and the gradation image data to generate character image data. Consists of

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

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

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

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

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

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

【0022】上記の課題を解決するために、請求項2に
記載の発明は、請求項1に記載のキャラクタイメージデ
ータ生成方法と、前記出力装置において、前記合成工程
により合成されたキャラクタイメージデータに対応する
前記キャラクタを出力する出力工程と、を備えて構成さ
れる。
In order to solve the above-mentioned problems, the invention according to claim 2 provides the character image data generating method according to claim 1 and the character image data synthesized by the synthesizing step in the output device. And an output step of outputting the corresponding character.

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

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

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

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

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

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

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

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

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

【0033】上記の課題を解決するために、請求項4に
記載の発明は、請求項3に記載のキャラクタイメージデ
ータ生成装置において、階調イメージデータの生成の要
否を判定するマイクロコンピュータ部等の判定手段を更
に備え、前記判定手段により階調イメージの生成が必要
であると判定された場合のみ、前記キャラクタイメージ
データの生成を行う用に構成される。
In order to solve the above-mentioned problems, the invention described in claim 4 is, in the character image data generating device according to claim 3, a microcomputer unit or the like for determining the necessity of generation of gradation image data. Is further provided, and is configured to generate the character image data only when it is determined by the determination means that a gradation image needs to be generated.

【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 determining means determines whether or not the generation of the gradation image data is necessary.

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

【0036】よって、選択された当該キャラクタイメー
ジデータの生成が必要なキャラクタに対してのみ上記夫
々の処理が行われるので、全てのキャラクタに対してキ
ャラクタイメージデータを生成する場合よりもキャラク
タイメージデータ生成処理を高速化することができる。
Therefore, since the respective processes are performed only on the selected characters for which the character image data needs to be generated, the character image data generation is performed as compared with the case where the character image data is generated for all the characters. The processing can be speeded up.

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

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

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

【0040】上記の課題を解決するために、請求項6に
記載の発明は、請求項3から5のいずれか一項に記載の
キャラクタイメージデータ生成装置において、階調イメ
ージデータ生成手段は、前記第3の濃度を、当該第3の
濃度に設定すべき前記画素と前記補助線データに対応す
る前記部分輪郭線との位置関係に対応して変化させるよ
うに構成される。
In order to solve the above-mentioned problems, the invention according to claim 6 is the character image data generating device according to any one of claims 3 to 5, 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 operation of the invention described in claim 6, in addition to the operation of the invention described in any one of claims 3 to 5, the gradation image data generating means applies the third density It is set so as to change 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 discriminability are further improved,
A character that is easy to see can be output.

【0043】上記の課題を解決するために、請求項7に
記載の発明は、請求項3から6のいずれか一項に記載の
キャラクタイメージデータ生成装置において、前記補助
線データ生成手段は、前記アウトラインデータを構成す
る部分輪郭線のうち、前記画素座標における水平線及び
垂直線を除く前記部分輪郭線を前記補助線データとする
ように構成される。
In order to solve the above problems, the invention according to claim 7 is the character image data generating device according to any one of claims 3 to 6, wherein the auxiliary line data generating means is the Among the partial contour lines forming the outline data, the partial contour lines except the horizontal line and the vertical line at the pixel coordinates are used as the auxiliary line data.

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

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

【0046】上記の課題を解決するために、請求項8に
記載の発明は、請求項3から7のいずれか一項に記載の
キャラクタイメージデータ生成装置において、前記アウ
トラインデータは、当該アウトラインデータを構成する
部分輪郭線毎に生成すべき階調度を示す階調生成情報を
予め含み、前記補助線データ抽出手段は、前記階調生成
情報に基づいて部分輪郭線を抽出するように構成され
る。
In order to solve the above-mentioned problems, the 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 the outline data. Gradation generation information indicating the degree of gradation to be generated is included in advance for each of the constituent partial contour lines, and the auxiliary line data extraction means is configured to extract the partial contour line based on the gradation generation information.

【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 set for each partial contour line forming the outline data. In advance, gradation generation information indicating the gradation level to be generated is included, and the auxiliary line data extraction means extracts the partial contour line based on the gradation generation information.

【0048】よって、アウトラインデータに予め付加さ
れている階調生成情報に基づいて補助線データが抽出さ
れるので、補助線データ抽出処理を単純化でき、キャラ
クタイメージデータ生成処理を高速化できる。
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 process can be simplified and the character image data generation process can be speeded up.

【0049】上記の課題を解決するために、請求項9に
記載の発明は、請求項3から8のいずれか一項に記載の
キャラクタイメージデータ生成装置において、前記補助
線データに対し、所定のアフィン変換を施すマイクロコ
ンピュータ部等の変換手段を更に備え、前記階調イメー
ジデータ生成手段は、前記アフィン変換された補助線デ
ータに基づいて前記階調イメージデータを生成するよう
に構成される。
In order to solve the above-mentioned problems, the invention according to claim 9 is the character image data generating device according to any one of claims 3 to 8, wherein a predetermined value is set for the auxiliary line data. The gradation image data generation means is further 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 invention described in claim 9, in addition to the operation of the invention described in any one of claims 3 to 8, the conversion means performs a predetermined affine conversion on the auxiliary line data. Give.

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

【0052】よって、補助線データ抽出後にアフィン変
換を施すので、アフィン変換を施す場合のキャラクタの
可読性及び判別性が向上する。
Therefore, since the affine transformation is performed after the auxiliary line data is extracted, the readability and the discriminability 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 (3) comprises the character image data generation device according to any one of claims 3 to 9, and the output means for outputting the character corresponding to the character image data synthesized by the synthesis means. It is equipped with.

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

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

【0056】また、キャラクタに対する階調の付加を高
速化することができるので、キャラクタの出力動作全体
が高速化される。
Further, since it is possible to speed up the addition of gradation to the character, the entire output operation of the character is speeded 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 in which the character image data generating device and the character outputting device of the present invention are applied to a laser printer will be described with reference to FIG. 1 is a block diagram showing a portion of the control circuit P of the 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 is the main body of this control circuit, is shown. CPU 14, character memory 17, program memory 15, text memory 18, working memory 1
6 and 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が接続されている。
Further, an input device 11 and a printing unit 12 as an output means 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 executing various controls in the CPU 14 described in this embodiment.

【0064】テキストメモリ18は、入力装置11から
入力されるキャラクタコード、文字サイズ、斜体や回転
などの文字修飾情報等を記憶する。
The text memory 18 stores a character code, a character size, character modification information such as italics and rotations, which is 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. This character data is one character. It is possible to read each one. Each character data will be described in detail later.

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

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

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

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

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

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

【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 this embodiment. Note that FIG. 2 shows a state in which each partial contour line 22 (hereinafter referred to as a constituent line) is drawn on the pixel matrix 21 as pixel coordinates based on the 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 "flag" is as follows. "S" is a flag that moves the coordinate 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 coordinate. It is a flag that draws a line segment on the coordinate value and updates the current coordinate to the tip of the line segment.

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

【0075】また、図3(b)では、アウトラインを構
成する構成線情報に対して、階調生成情報として、0か
ら100の濃度を記憶する例を示している。ここで、濃
度0は対応する構成線に対し階調画素を生成しないこと
を示し、濃度100は最大濃度の階調画素を生成し、他
の値はそれぞれの割合に従った濃度の階調画素を生成す
ることを示している。
Further, FIG. 3B shows an example in which densities of 0 to 100 are stored as gradation generation information for the constituent 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 maximum density, and other values are gradation pixels of a density according to each ratio. Is generated.

【0076】なお、本実施形態では、座標値を絶対座標
としたが、相対座標を用いるなどの方法でもかまわな
い。また、図3の例では、アウトラインデータの構成線
として直線要素のみを示したが、ベジエ曲線、円弧など
の曲線を構成線としてもよい。また、階調生成情報を記
憶する場合に関しても、濃度以外のフラグ情報で記憶し
てもよく、さらにアウトラインデータと分離して記憶し
てあってもよい。
In this embodiment, the coordinate values are absolute coordinates, but a method such as using relative coordinates may be used. Further, in the example of FIG. 3, only straight line elements are shown as the constituent lines of the outline data, but curves such as Bezier curves and arcs may be the constituent lines. 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 that is determined based on the positional relationship between another two points connecting a curve connecting two points and two points connecting the curve.

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

【0079】始めに、図4のフローチャートに従って階
調画素パターンデータの作成手順を説明する。
First, the procedure for creating the 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 character data is taken out from the character memory 17 (step S5).
1). Next, in step S52, the extracted outline data of the character data is scaled to a desired size, and after being deformed such as rotated and italicized, the pixel matrix 21 is created for creating gradation pixel pattern data.
Determine the correspondence with. Then, in step S53, the pixels inside the scaled outline are set to a predetermined density such as black as the first density, and 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 the main part of the present invention. Therefore, detailed description is omitted for the purpose of clarifying the gist of the present invention. Further, in this case, the second density is set to the density “0”.

【0081】ここで、通常、キャラクタの出力サイズが
大きくなれば、階調イメージデータを付加する必要性は
低減するので、ステップS54ではCPU14により所
定の出力サイズ以下か否かを判定して、以下であれば
(ステップS54;YES)階調イメージデータの作成
に進み(ステップS55)、所定の出力サイズ以下でな
ければ(ステップS54;NO)二値キャラクタイメー
ジデータを最終的な階調画素パターンデータとしてステ
ップS57に進む。
Here, normally, if the output size of the character becomes large, the necessity of adding the gradation image data is reduced. Therefore, in step S54, the CPU 14 determines whether or not the output size is not larger than a predetermined output size. If so (step S54; YES), the process proceeds to the generation of gradation image data (step S55), and if it is not less than or equal to the predetermined output size (step S54; NO), the binary character image data is converted into the final gradation pixel pattern data. Then, the process proceeds 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 gradation image data generated in step S55 and the binary character image data generated in step S53 are overwritten on the corresponding positions on the gradation image data with the binary character image data. Synthesize by the method.

【0085】ここでは、図9で示された「K」の二値画
素パターンデータ(二値キャラクタイメージデータ)
と、図7に示された階調イメージデータとを合成する
と、図8に示すような階調を持ったキャラクタイメージ
データ(階調画素パターンデータ)となる。合成された
階調のあるキャラクタイメージデータ(階調画素パター
ンデータ)は、階調画素パターンデータメモリ19に出
力され(ステップS57)、最終的には印字部12にお
いて印字出力される。
Here, the binary pixel pattern data of "K" shown in FIG. 9 (binary character image data)
And the gradation image data shown in FIG. 7 are combined into character image data (gradation pixel pattern data) having gradation as shown in FIG. 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 process of generating 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 that make up the scaled outline, it is determined whether or not there are unprocessed constituent lines (step S61). If there is one to be processed (step S61; NO), the process proceeds to step S62, and if all are processed (step S61; YES), the process ends.

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

【0089】垂直線あるいは水平線以外を階調イメージ
データの生成が必要であるとした場合を例示すれば、図
2のアウトラインデータに対して、図6に示す、各構成
線71、72、73、74及び75が階調イメージデー
タ生成が必要な構成線として判定される。この各構成線
71、72、73、74及び75が、階調生成用の補助
線データに対応する補助線となる。
As an example of the case where it is necessary to generate the gradation image data other than the vertical line or the horizontal line, the respective constituent lines 71, 72, 73 shown in FIG. 6 with respect to the outline data shown in FIG. 74 and 75 are determined as constituent lines that need to generate gradation image data. Each of the constituent lines 71, 72, 73, 74 and 75 becomes an auxiliary line corresponding to the 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 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, the presence or absence of unprocessed pixels is determined in step S64. If there are no unprocessed pixels (step S64; Y
ES) Step S6 for processing the next constituent line
If there is an unprocessed pixel, the process returns to step 1 (step S
64; NO), one unprocessed pixel is designated in step S65, and it is determined in step S66 whether or not to give a gradation value of a predetermined density as the third density to the pixel. This judgment is made by a method of judging whether or not a target gradation generation auxiliary line exists in the area of the pixel, or within a predetermined distance preset by the user from the center position of the pixel. Method for determining whether or not there is an auxiliary line for gradation generation, or for determining whether or not a horizontal or vertical line drawn in a pixel intersects with an auxiliary line for gradation generation, etc. There is.

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

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

【0094】以上説明したように、実施形態のキャラク
タイメージデータ生成装置及びキャラクタ出力装置によ
れば、アウトラインデータに基づいて補助線データを抽
出し、当該補助線データに対応する構成線との位置関係
が所定の基準にある画素の印刷濃度を50%のグレーと
して階調イメージデータを生成し、この階調イメージデ
ータと二値キャラクタイメージデータを合成して階調画
素パターンデータを生成するので、当該階調イメージデ
ータに基づいてキャラクタを出力すると、当該出力され
たキャラクタは、夫々のキャラクタの特性に対応して可
読性及び判別性が向上し、見やすいキャラクタとなる。
As described above, according to the character image data generation 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 line corresponding to the auxiliary line data is extracted. , The gradation image data is generated with the print density of the pixel in the predetermined standard being 50% gray, and the gradation image data and the binary character image data are combined to generate the gradation pixel pattern data. When the character is output based on the gradation image data, the read character is improved in readability and discriminability corresponding to the characteristics of each character, and becomes a legible character.

【0095】また、補助線データに対応する構成線との
関係においてのみグレーとする画素を決定することがで
きるので、従来のような複雑な面積計算等が不要とな
り、キャラクタに対する階調の付加を高速化することが
できる。
Further, since it is possible to determine the pixel to be gray only in relation to the constituent line corresponding to the auxiliary line data, it is not necessary to perform the complicated area calculation as in the conventional case, and the gradation is added to the character. It can speed up.

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

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

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

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

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

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

【0102】また、本実施形態では、二値キャラクタイ
メージデータと階調イメージデータとの合成に関し、階
調イメージデータの上に二値キャラクタイメージデータ
を上書きする方法を示したが、それ以外にも、構成線の
内部と外部の境界付近において、予め設定された複数の
階調値を加算してキャラクタイメージデータを生成する
方法や、同様に構成線の内部と外部の境界付近におい
て、減算により上記第1の濃度と第2の濃度との中間の
階調値を計算してキャラクタイメージデータを生成する
方法などで合成してもよい。
Further, in the present embodiment, regarding the synthesis of the binary character image data and the gradation image data, the method of overwriting the binary character image data on the gradation image data has been described. , A method of generating character image data by adding a plurality of preset gradation values in the vicinity of the boundary between the inside and the outside of the constituent line, and similarly, by subtracting in the vicinity of the boundary between the inside and the outside of the constituent line, You may synthesize | combine by the method etc. which calculate the intermediate | middle gradation value of 1st density and 2nd density, and generate | occur | produce character image data.

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

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

【0105】その他、本発明の主旨を逸脱しない範囲で
種々の応用が可能である。
Other 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 invention, the auxiliary line data is extracted based on the outline data, and the positional relationship with the partial contour line corresponding to the auxiliary line data is predetermined. The print density of the pixel in the standard of the first
The gradation image data is generated as a third density which is intermediate between the density of and the second density, and the gradation image data is combined with the binary character image data to generate the character image data. When the character is output based on the data, the read character is improved in readability and discriminability corresponding to the characteristics of each character, and becomes an easy-to-see character.

【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, it is possible to speed up the addition of gradation to the character.

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

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

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

【0111】また、補助線データに対応する部分輪郭線
との関係においてのみ第3の濃度とする画素を決定する
ことができるので、キャラクタに対する階調の付加を高
速化することができる。
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 addition of gradation to the character can be speeded up.

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

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

【0114】請求項6に記載の発明によれば、請求項3
から5のいずれか一項に記載の発明の効果に加えて、階
調イメージデータ生成手段は、第3の濃度を当該第3の
濃度に設定すべき画素と補助線データに対応する部分輪
郭線との位置関係に基づいて変化させるように設定する
ので、更に可読性及び判別性が向上し、見やすいキャラ
クタを出力することができる。
According to the invention of claim 6, claim 3
In addition to the effect of the invention described in any one of 1 to 5, the gradation image data generation unit is configured such that the gradation image data generating unit sets a third density to the third density and a partial contour line corresponding to auxiliary line data. Since the setting is made so as to be changed based on the positional relationship with, the readability and discriminability 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, claim 3
In addition to the effect of the invention described in any one of 1 to 6, the auxiliary line data generation means, among the partial contour lines forming the outline data, a partial contour line excluding a horizontal line and a vertical line in pixel coordinates is an auxiliary line. Since the data is used, the process of selecting the partial contour line to be the auxiliary line data can be simplified, and the character image data generation process can be speeded up.

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

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

【0118】請求項10に記載の発明によれば、請求項
3乃至9のいずれか一項に記載の発明の効果に加えて、
出力手段は、キャラクタイメージデータに基づいて、当
該キャラクタイメージデータに対応するキャラクタを出
力するので、出力されたキャラクタは、夫々のキャラク
タの特性に対応して、可読性及び判別性が向上し、見や
すいキャラクタとなる。
According to the invention of claim 10, in addition to the effect of the invention of any one of claims 3 to 9,
Since the output means outputs the character corresponding to the character image data based on the character image data, the output character has improved readability and discriminability corresponding to the characteristics of each character, and is an easy-to-read character. Becomes

【0119】また、キャラクタに対する階調の付加を高
速化することができるので、キャラクタの出力動作全体
が高速化される。
Since the addition of gradation to the character can be speeded up, the overall character output operation is speeded 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 exemplifying outline data of a character.

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

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

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

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

【図7】実施形態に係るキャラクタの階調イメージデー
タを例示する図である。
FIG. 7 is a diagram illustrating an example of 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 of a conventional technique.

【符号の説明】[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…レーザプリンタ制御回路 11 ... Input device 12 ... Printing unit 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 unit 21, 103 ... Pixel matrix 22, 100 ... Constitution line (outline) 71, 72, 73, 74, 75 ... Auxiliary line 101 ... Binary pixel pattern data P ... Laser printer control circuit

Claims (10)

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

Similar Documents

Publication Publication Date Title
JPH03273368A (en) Graphic processor
JP2909273B2 (en) Outline font line width adjusting method and apparatus
JP2003158632A (en) Image processing method, and image processing apparatus and image processing system to execute the method
JP3416489B2 (en) Font processing device and recording medium recording font processing program
JP3244411B2 (en) Character image data generation method and device, and character output method and device
JP3750396B2 (en) Image processing device
JPH09120280A (en) Method and device for generating character image data, and method and device for outputting character
JPH08212362A (en) Character and graphic generation device
JP2650324B2 (en) Multi-value character font generation system
JP3417753B2 (en) Method and apparatus for generating gradation character
JP3006732B2 (en) Character pattern generator
JP2806679B2 (en) Character generator
JP2000066658A (en) Image processor and recording medium
JP3493745B2 (en) Drawing device
JPH06175639A (en) Method and device for character generation
JPH1023241A (en) Gradation character output device
JP2000267644A (en) Device and method for processing font, and storage medium therefor
JPH0661960B2 (en) Dot interpolation control device
JPH1138960A (en) Pattern generating method, device therefor, and recording medium
JP3573291B2 (en) Character data creation method and character data creation device
JP2619931B2 (en) Character processing device and character processing method
JP2803746B2 (en) Character processing method and apparatus
JPH07140945A (en) Method and device for displaying gradation character
JPH09114435A (en) Data converting device
JPH0736434A (en) Character output device

Legal Events

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