[go: up one dir, main page]

JPH0968961A - Character data converter - Google Patents

Character data converter

Info

Publication number
JPH0968961A
JPH0968961A JP7222159A JP22215995A JPH0968961A JP H0968961 A JPH0968961 A JP H0968961A JP 7222159 A JP7222159 A JP 7222159A JP 22215995 A JP22215995 A JP 22215995A JP H0968961 A JPH0968961 A JP H0968961A
Authority
JP
Japan
Prior art keywords
density
typeface
information
pixel
character
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.)
Pending
Application number
JP7222159A
Other languages
Japanese (ja)
Inventor
Kazuma Aoki
一磨 青木
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 JP7222159A priority Critical patent/JPH0968961A/en
Publication of JPH0968961A publication Critical patent/JPH0968961A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

(57)【要約】 【課題】 階調イメージで表現されたキャラクタ(文
字)において、記憶容量を少なくして、太さ(ウエイ
ト)の異なるファミリー書体を出力可能とする階調キャ
ラクタイメージデータの変換をする。 【解決手段】 第1書体のキャラクタデータを読出し
(S1)、入力手段にて指示して出力すべき第2書体の
ウエイト情報を読出し(S2)、ウエイト情報をパラメ
ータとする第1濃度と第2濃度との変換テーブルから、
所定の1ウエイト分のキャラクタの階調イメージデータ
を記憶し(S3)、指示されたウエイト情報に応じて、
記憶している第1書体の各画素の第1濃度から、出力す
べき第2濃度に変換し(S4〜S6)、出力すべき第2
書体の第2濃度を設定して(S7)、高/低濃度の部分
を増/減させたイメージの第2書体を出力できるように
する。
(57) 【Abstract】 PROBLEM TO BE SOLVED: To convert gradation character image data that can output a family typeface having different thicknesses (weights) in a character (character) represented by a gradation image with a reduced storage capacity. do. SOLUTION: The character data of the first typeface is read (S1), the weight information of the second typeface to be output by instructing with the input means is read (S2), and the first density and the second concentration using the weight information as parameters. From the conversion table with concentration,
The gradation image data of the character for a predetermined one weight is stored (S3), and in accordance with the instructed weight information,
The stored first density of each pixel of the first typeface is converted into the second density to be output (S4 to S6), and the second density to be output.
The second density of the typeface is set (S7) so that the second typeface of the image in which the high / low density portions are increased / decreased can be output.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、濃淡の階調を持っ
たキャラクタ(書体)の画像を出力する装置に関するも
のであって、特に、少ないデータ量で多くの種類の書体
を出力できるキャラクタデータ変換装置に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for outputting an image of a character (typeface) having gradations of light and shade, and in particular character data capable of outputting many types of typefaces with a small amount of data. The present invention relates to a conversion device.

【0002】[0002]

【従来の技術】近年、プリンタやディスプレイ等の出力
装置において、画像の濃淡の階調を表現できるものが多
くなってきおり、また、様々な種類の書体(フオント)
のキャラクタが出力可能なものが出現している。そし
て、この種の出力装置では、書体の基本的なデザインが
同じである明朝体、ゴシック体、毛筆体等のような各フ
ァミリー書体であっても、例えば、毛筆体における見か
け上の線の太さ(ウエイト)を変えた極太毛筆体や細筆
毛筆体のようなファミリー書体を出力可能にすることが
望まれている。
2. Description of the Related Art In recent years, output devices such as printers and displays have come to be able to express gradations of light and shade of an image, and various types of fonts (fonts).
The characters that can be output have appeared. And in this type of output device, even for each family typeface such as Mincho typeface, Gothic typeface, writing brush type, etc. with the same basic design of typeface, for example, the apparent line of the writing typeface It is desired to be able to output a family typeface such as a thick brush brush and a thin brush brush whose weight is changed.

【0003】そのためには、各ファミリー書体の各キャ
ラクタの画像情報、すなわち、キャラクタの画像を形成
する画素の濃度の情報である階調イメージを生成する必
要がある。従来、ファミリー書体のキャラクタを出力可
能な出力装置は、各ファミリー書体毎及びキャラクタ
(文字)毎に、そのキャラクタの階調イメージデータを
予め記憶し、所望のキャラクタの階調イメージデータを
読み出すことで、キャラクタの階調イメージを得て出力
していた。例えばワードプロセッサやプリンタにおいて
は、各ファミリー書体(フォント)毎に階調イメージデ
ータを記憶したフロッピーディスクを準備して印刷処理
に供していた。
For that purpose, it is necessary to generate the image information of each character of each family typeface, that is, the gradation image which is the information of the density of the pixels forming the image of the character. Conventionally, an output device capable of outputting a character of a family typeface has previously stored gradation image data of the character for each family typeface and character (character), and reads out gradation image data of a desired character. , The character gradation image was obtained and output. For example, in a word processor or printer, a floppy disk in which gradation image data is stored for each family typeface (font) is prepared and subjected to printing processing.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上述の
ように使われる書体の多様化に伴い、階調イメージデー
タの記憶を要するキャラクタの数が膨大となり、それに
比例して出力装置内に、或いは、その外部に設けられる
キャラクタの階調イメージデータを記憶するために必要
なメモリの容量も増大するので、製品のコストを上げて
いた。
However, with the diversification of the typefaces used as described above, the number of characters required to store gradation image data becomes huge, and in proportion to this, in the output device, or Since the capacity of the memory required to store the gradation image data of the character provided outside the same also increases, the cost of the product is increased.

【0005】本発明は、上述した問題点を解決するため
になされたものであり、従来の方式より、小記憶容量
で、種々のファミリー書体を出力可能とするためのキャ
ラクタデータ変換装置を提供することである。
The present invention has been made in order to solve the above-mentioned problems, and provides a character data conversion device capable of outputting various family typefaces with a smaller storage capacity than the conventional method. That is.

【0006】[0006]

【課題を解決するための手段】この目的を達成するため
に、請求項1記載の発明のキャラクタデータ変換装置
は、第1書体のキャラクタの階調イメージデータである
第1階調キャラクタデータを、第2書体のキャラクタの
階調イメージデータである第2階調キャラクタデータに
変換するキャラクタデータ変換装置において、出力すべ
き第2書体の書体情報を指示する出力書体指示手段と、
第1階調キャラクタデータの各画素の情報を読み出す画
素情報読み出し手段と、画素情報読み出し手段で読み出
した画素の濃度である第1濃度を、出力書体指示手段で
指示された書体に応じた第2濃度に変換する濃度変換手
段と、画素情報読み出し手段で読み出した第1書体につ
いての画素に対応する第2階調キャラクタデータの画素
の濃度を、濃度変換手段で得られた第2濃度とする濃度
設定手段とを備えたものである。
In order to achieve this object, the character data conversion device of the invention according to claim 1 is characterized in that the first gradation character data, which is the gradation image data of the character of the first typeface, In a character data conversion device for converting into second gradation character data which is gradation image data of a character of the second font, an output font instruction means for instructing font information of the second font to be output,
Pixel information reading means for reading the information of each pixel of the first gradation character data, and a first density, which is the density of the pixels read by the pixel information reading means, according to the typeface instructed by the output typeface instructing means. The density of the pixel of the second gradation character data corresponding to the pixel of the first typeface read by the density converting unit and the pixel information reading unit is the second density obtained by the density converting unit. And a setting means.

【0007】また、請求項2に記載の発明は、請求項1
に記載のキャラクタデータ変換装置において、前記濃度
変換手段は、前記書体情報の取り得る各値に対して、第
1濃度に対する第2濃度を定義したテーブル情報を予め
記憶し、出力書体指示手段で指示された書体情報と画素
情報読み出し手段で読み出した第1濃度とに対応した第
2濃度を、前記テーブル情報より求めるように構成した
ものである。
The invention described in claim 2 is the same as claim 1
In the character data conversion device described in (3), the density conversion means stores in advance table information defining a second density with respect to a first density for each possible value of the typeface information, and the output typeface instructing means gives an instruction. The second density corresponding to the written typeface information and the first density read by the pixel information reading means is obtained from the table information.

【0008】そして、請求項3に記載の発明は、請求項
1に記載のキャラクタデータ変換装置において、前記濃
度変換手段は、第1濃度の値の取り得る範囲を1つ或い
は複数区間に分割し、前記書体情報と第1濃度の区間と
の組み合わせに対して第1濃度から第2濃度への変換関
数を予め記憶し、出力書体指示手段で指示された書体情
報と画素情報読み出し手段で読み出した第1濃度に対応
する変換関数により、第2濃度を求めるように構成した
ものである。
According to a third aspect of the present invention, in the character data conversion apparatus according to the first aspect, the density conversion means divides the range of values of the first density into one or a plurality of sections. , The conversion function from the first density to the second density is stored in advance for the combination of the typeface information and the section of the first density, and is read out by the typeface information and the pixel information reading unit instructed by the output typeface instructing unit. The second density is obtained by the conversion function corresponding to the first density.

【0009】さらに、請求項4に記載の発明は、請求項
1に記載のキャラクタデータ変換装置において、前記書
体情報が数値情報に変換可能な情報であり、前記濃度変
換手段が、書体情報を数値化した値の取り得る範囲を1
つ或いは複数区間に分割し、書体情報の区間と前記第1
濃度の各組み合わせに対して書体情報を数値化した値か
ら第2濃度への変換関数を予め記憶し、出力書体指示手
段で指示された書体情報と画素情報読み出し手段で読み
出した第1濃度に対応する変換関数により、第2濃度を
求めるように構成したものである。
Further, in the invention described in claim 4, in the character data converter according to claim 1, the typeface information is information that can be converted into numerical value information, and the density conversion means converts the typeface information into numerical values. The possible range of the converted value is 1
Divided into one or a plurality of sections, and the section of the typeface information and the first section
A conversion function for converting the numerical value of the typeface information into the second density for each combination of the densities is stored in advance, and corresponds to the typeface information designated by the output typeface designating means and the first density read by the pixel information reading means. The second density is obtained by the conversion function.

【0010】請求項5に記載の発明は、請求項1に記載
のキャラクタデータ変換装置において、前記書体情報が
数値情報に変換可能な情報であり、前記濃度変換手段
が、第1濃度の値の取り得る範囲を1つ或いは複数区間
に分割し、第1濃度の各区間に対して当該第1濃度と書
体情報を数値化した値から第2濃度への変換関数を予め
記憶し、画素情報読み出し手段で読み出した第1濃度に
対応する変換関数により、第2濃度を求めるように構成
したものである。
According to a fifth aspect of the present invention, in the character data conversion device according to the first aspect, the typeface information is information that can be converted into numerical value information, and the density conversion means outputs the value of the first density value. The possible range is divided into one or a plurality of sections, and a conversion function from the numerical value of the first density and the typeface information to the second density is stored in advance for each section of the first density, and pixel information is read out. The second density is obtained by the conversion function corresponding to the first density read by the means.

【0011】[0011]

【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照して説明する。以下に示す実施の形態は、
各画素の出力濃度を0〜15(濃度は数値が大きいほど
高濃度、以後同様)で表現し得るディスプレイ装置及び
インクジェットプリンタ等の出力装置を備えたキャラク
タ表示装置に本発明を適用した形態を示す。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. The embodiment shown below is
A mode in which the present invention is applied to a character display device provided with an output device such as a display device and an inkjet printer that can express the output density of each pixel in the range of 0 to 15 (the higher the density is, the higher the density is, the same applies hereinafter) is shown. .

【0012】図1は本実施の形態の構成を示すブロック
図であり、処理を実行するための中央処理装置(CP
U)20に、プログラムメモリ22と、ワーキングメモ
リ24と、フォントメモリ26と、出力イメージメモリ
28と、入力部212と、プリンタ制御部213及びイ
ンクジェットプリンタ215と、ディスプレイ制御部2
14及びCRT216とがバス210を介してそれぞれ
接続されている。
FIG. 1 is a block diagram showing the configuration of the present embodiment, which is a central processing unit (CP) for executing processing.
U) 20, a program memory 22, a working memory 24, a font memory 26, an output image memory 28, an input unit 212, a printer control unit 213 and an inkjet printer 215, and a display control unit 2
14 and the CRT 216 are connected to each other via the bus 210.

【0013】CPU20は、本実施の形態のキャラクタ
データを変換し、所定の書体の画像を出力するための制
御を行うものであり、プログラムメモリ22は、このC
PU20で行う制御の手続きを定義したプログラム、及
び、プログラムから参照される様々な情報を記憶するも
のである。また、ワーキングメモリ24は、プログラム
メモリ22に記憶されたプログラムの処理をCPU20
で実行する際の一時的なデータを格納するものである。
The CPU 20 converts the character data of this embodiment and performs control for outputting an image of a predetermined typeface, and the program memory 22 stores the C data.
It stores a program defining a control procedure performed by the PU 20, and various information referred to by the program. The working memory 24 also processes the programs stored in the program memory 22 by the CPU 20.
It stores temporary data when executing in.

【0014】フォントメモリ26は、キャラクタの形状
を表す各画素の濃度を0〜15の16階調で表現した第
1階調キャラクタデータで記憶し、また、出力イメージ
メモリ28は、本実施の形態の処理によって変換された
第2階調キャラクタデータを記憶する。第1階調キャラ
クタデータとは、後述する入力部212で入力された第
1書体のキャラクタの画像を定義するためのものであっ
て、濃度の情報を含み、画素の情報の集合で画像を定義
する階調キャラクタデータをいう。
The font memory 26 stores the first gradation character data representing the density of each pixel representing the shape of the character in 16 gradations of 0 to 15, and the output image memory 28 is the output image memory 28 of this embodiment. The second gradation character data converted by the processing of 1 is stored. The first gradation character data is for defining an image of a character of the first typeface input by the input unit 212 described later, includes density information, and defines an image with a set of pixel information. Grayscale character data.

【0015】同様に、第2階調キャラクタデータとは、
前記第1書体のキャラクタの画像の濃度の分布を変換し
た後の第2書体のキャラクタの画像を定義するためのも
のであって、濃度の情報を含み、画素の情報の集合で画
像を定義する階調キャラクタデータをいう。階調キャラ
クタイメージとは、その形状を表す輪郭部及びその内部
領域が、画素にて構成されており、各画素の濃度値が一
定でないもののことである。図3では、第1書体につい
ての一例を示し、図4では、前記第1書体のキャラクタ
を後述する濃度変換した後の第2書体について示した。
図3及び図4中の格子内が各画素に対応しており、格子
内の数値が各濃度値を示している。濃度値が非0の格子
で構成される形状がキャラクタイメージに相当する。
Similarly, the second gradation character data is
It is for defining the image of the character of the second typeface after conversion of the density distribution of the image of the character of the first typeface, including density information, and defining the image by a set of pixel information. It means gradation character data. The gradation character image is an image in which the contour portion representing the shape and the internal area thereof are composed of pixels, and the density value of each pixel is not constant. FIG. 3 shows an example of the first typeface, and FIG. 4 shows the second typeface after the density conversion of the character of the first typeface described later.
The grid in FIGS. 3 and 4 corresponds to each pixel, and the numerical value in the grid indicates each density value. A shape composed of a grid having a non-zero density value corresponds to a character image.

【0016】階調キャラクタデータはキャラクタの出力
装置上の画像を、その画像を構成する画素の濃度を数値
で表したデータである。図3及び図4の画素を表す格子
内に記されて数値は、各画素に対応した濃度の情報であ
る。前述したように本実施の形態では、0〜15の16
階調で画素の濃度を表している。また、数値が大きい方
が濃い濃度(高濃度)である。
The gradation character data is data in which the image of the character on the output device is represented by numerical values of the densities of the pixels constituting the image. Numerical values written in the grids representing the pixels in FIGS. 3 and 4 are information on the density corresponding to each pixel. As described above, in this embodiment, 16 from 0 to 15 is used.
The density of the pixel is represented by the gradation. The larger the value, the darker the density (higher density).

【0017】入力部212は、出力するキャラクタのキ
ャラクタコード及びウエイト情報を入力する。キャラク
タコードは、キャラクタの種類を識別する情報であり、
ウエイト情報とは、書体の見かけ上の太さを数値で表し
た情報であって、出力すべき第2書体の書体情報をい
う。本実施の形態のウエイト情報は、1〜10の10段
階で表し、数値が大きいほど太いことを示す。これらの
入力された情報は、ワーキングメモリ24内に格納され
る。
The input section 212 inputs the character code and weight information of the character to be output. The character code is information that identifies the type of character,
The weight information is information in which the apparent thickness of the typeface is expressed by a numerical value, and is the typeface information of the second typeface to be output. The weight information of the present embodiment is expressed in 10 steps from 1 to 10, and the larger the numerical value is, the thicker it is. The input information is stored in the working memory 24.

【0018】ディスプレイ制御部214は、出力イメー
ジメモリ28に記憶された第2階調キャラクタイメージ
を読み出し、CRT216上に第2書体の画像を表示さ
せるものである。また、同様に、プリンタ制御部213
は、出力イメージメモリ28に記憶された第2階調キャ
ラクタイメージを読み出し、インクジェットプリンタ2
15にて用紙等の記録媒体に第2書体の画像を印刷表示
するものである。
The display control unit 214 reads the second gradation character image stored in the output image memory 28 and displays the second typeface image on the CRT 216. Similarly, the printer control unit 213
Reads the second gradation character image stored in the output image memory 28, and the inkjet printer 2
At 15, the image of the second typeface is printed and displayed on a recording medium such as paper.

【0019】なお、階調表現された画像をCRT216
にて表示する処理やインクジェットプリンタ215にて
用紙等の記録媒体に印刷する処理に関しては、既に様々
な方式で実用化されている技術であり、また、本発明の
主たる部分ではない。従って、本発明の趣旨を明確にす
るためにも詳細な説明は省略する。以下に、本実施の形
態の階調キャラクタイメージのウエイト変換処理を、図
2に示すフローチャートを参照しながら説明する。
The gradation-represented image is displayed on the CRT 216.
The processing of displaying by (1) and the processing of printing on a recording medium such as paper by the inkjet printer 215 are technologies that have already been put to practical use in various systems, and are not the main part of the present invention. Therefore, detailed description is omitted for the purpose of clarifying the gist of the present invention. Hereinafter, the weight conversion processing of the gradation character image according to the present embodiment will be described with reference to the flowchart shown in FIG.

【0020】この処理は、入力部212より入力された
キャラクタコードに対応した第1書体のキャラクタの階
調キャラクタイメージ(第1階調キャラクタイメージ)
のデータをフォントメモリ26内より読み出し、同じく
入力部212より選択入力されたウエイト情報に応じ
て、第2階調キャラクタイメージのデータを出力イメー
ジメモリ28に格納するものである。
This processing is performed by the gradation character image (first gradation character image) of the character of the first typeface corresponding to the character code input from the input unit 212.
Data is read from the font memory 26, and the data of the second gradation character image is stored in the output image memory 28 in accordance with the weight information selectively input from the input section 212.

【0021】図2において、処理開始すると、まず、入
力部212より入力してワーキングメモリ24内に記憶
しているキャラクタコードに対応したキャラクタの第1
階調キャラクタイメージを、フォントメモリ26よりワ
ーキングメモリ24内に読み込む(S1)。次に、予め
プログラムメモリ22にプログラムの一部として格納さ
れているウエイト情報を入力部212の入力により選択
して読み出し(S2)、以降の濃度変換処理で参照する
情報を初期化する(S3)。
In FIG. 2, when the processing is started, first, the first character corresponding to the character code input from the input section 212 and stored in the working memory 24 is displayed.
The gradation character image is read from the font memory 26 into the working memory 24 (S1). Next, the weight information stored in advance in the program memory 22 as a part of the program is selected and read by the input of the input unit 212 (S2), and the information referred to in the subsequent density conversion processing is initialized (S3). .

【0022】図5に示す第1実施例の形態では、濃度変
換処理方式として濃度変換テーブルを用いる。濃度変換
テーブルは、図5(a)に概念的に示すように、第1濃
度と第2濃度との対応関係を表す情報であって、第1濃
度に対する第2濃度をウエイト情報毎に定義している情
報である。即ち、第1濃度(縦軸方向で下に行く程高濃
度)とウエイト(横軸方向で右に行く程ウエイトが高
い)との関係から格子内の数値として第2濃度を求める
ことができる。この濃度変換テーブルは、プログラムメ
モリ22にプログラムの一部として格納されている。そ
して、この濃度変換テーブルの初期化は、ユーザが希望
する第2書体の太さの程度に応じて選択したウエイト情
報に応じた第1濃度と第2濃度の対応関係を表すテーブ
ルをワーキングメモリ24内に生成することである。
In the form of the first embodiment shown in FIG. 5, a density conversion table is used as the density conversion processing method. As conceptually shown in FIG. 5A, the density conversion table is information representing the correspondence relationship between the first density and the second density, and defines the second density for the first density for each weight information. Information. That is, the second concentration can be obtained as a numerical value in the lattice from the relationship between the first concentration (higher concentration as it goes downward in the vertical axis direction) and the weight (higher weight as it goes to the right in the horizontal axis direction). The density conversion table is stored in the program memory 22 as a part of the program. Then, the density conversion table is initialized by using the working memory 24 as a table showing the correspondence relationship between the first density and the second density according to the weight information selected according to the degree of the thickness of the second typeface desired by the user. It is to generate in.

【0023】例えば、入力部212にてウエイト8を選
択した場合は、図5(a)の濃度変換テーブルのうち横
軸方向の第8番目の縦列のテーブル部分を抽出し、図5
(b)の様な情報をワーキングメモリ24内に生成(写
し取って格納)する。このテーブルを参照濃度変換テー
ブルと称する。ウエイト8の参照濃度変換テーブルで
は、例えば、第1濃度が0のとき、第2濃度も0であ
り、第1濃度が3では第2濃度5となり、第1濃度が9
では第2濃度12というような対応関係になる。
For example, when the weight 8 is selected in the input section 212, the table portion of the eighth vertical column in the horizontal axis direction is extracted from the density conversion table of FIG.
Information (b) is generated (copied and stored) in the working memory 24. This table is called a reference density conversion table. In the reference density conversion table of the weight 8, for example, when the first density is 0, the second density is 0, when the first density is 3, the second density is 5, and the first density is 9.
Then, the correspondence relationship is the second density 12.

【0024】次に、ワーキングメモリ24内の第1階調
キャラクタイメージの最左上の画素を読出し画素の位置
とし、第2階調キャラクタイメージの同じ画素の位置を
書込み画素の位置として初期化する(S4)。以後の処
理は、処理すべき画素がなくなるまで、画素1つ1つに
ついて行う処理である。
Next, the upper leftmost pixel of the first gradation character image in the working memory 24 is set as a read pixel position, and the same pixel position of the second gradation character image is initialized as a write pixel position ( S4). Subsequent processing is processing performed for each pixel until there are no more pixels to be processed.

【0025】まず、第1階調キャラクタイメージの読出
し位置の画素の濃度を第1濃度として読み出す(S
5)。次に、その第1濃度に対応する第2濃度を、ワー
キングメモリ24に記憶している参照濃度テーブルを参
照して得る(S6)。さらに、出力イメージメモリ28
内に用意した第2階調キャラクタイメージの格納領域の
書込み位置の画素の濃度の値を得られた第2濃度の値と
して書き込む(S7)。
First, the density of the pixel at the read position of the first gradation character image is read as the first density (S).
5). Next, the second density corresponding to the first density is obtained by referring to the reference density table stored in the working memory 24 (S6). Further, the output image memory 28
The value of the density of the pixel at the writing position in the storage area of the second gradation character image prepared therein is written as the obtained second density value (S7).

【0026】次に、すべての画素について処理が終了し
たがを判断し(S8)、終了していなければ(S8:n
o)、読出し位置及び書込みの位置を次の画素に移動す
るように更新し(S9)、画素毎の処理を繰り返す。な
お、この例では、画素の処理の順序を最左上から開始し
右方向(X軸方向)へ移動させ、最右位置へ到達した場
合は、その下段(Y軸)の最左位置へ、という具合に最
右下まで、順に処理する。例えば、図3のような第1階
調キャラクタイメージの場合は、画素(0,0)から処
理を開始し、画素(1,0)、(2,0)、...
(X,0)、‥‥(15,0)の順に処理する。画素
(15,0)まで処理が終了したら、次は、下の段の最
左を処理するので、画素(0,1)を処理し、次は、画
素(1,1)、(2,1)、...(X,1)‥‥、
(15,1)を処理する。同様に処理を繰り返し、最右
下の画素である(15,15)まで処理すれば、この処
理を終了する。
Next, it is judged whether the processing has been completed for all pixels (S8), and if not completed (S8: n
o), the read position and the write position are updated so as to move to the next pixel (S9), and the process for each pixel is repeated. In this example, the pixel processing sequence starts from the upper left and moves in the right direction (X-axis direction), and when it reaches the rightmost position, it is said that it moves to the leftmost position on the lower stage (Y-axis). Process to the bottom right, in order. For example, in the case of the first gradation character image as shown in FIG. 3, the process is started from the pixel (0,0), and the pixel (1,0), (2,0) ,. . .
(X, 0), ... (15,0) are processed in this order. When the processing is completed up to the pixel (15,0), the leftmost row in the lower stage is processed next, so the pixel (0,1) is processed, and next, the pixels (1,1), (2,1) are processed. ) ,. . . (X, 1) ...
Process (15,1). The process is repeated in the same manner, and when the process is performed up to the lower right pixel (15, 15), this process ends.

【0027】その場合、図3において、第1書体におけ
る画素(5,3)の第1濃度は5であるから、図5
(b)のウエイト情報8の場合の参照濃度変換テーブル
を使用して、その箇所の第2書体の画素の第2濃度は8
となるように設定され、図3に示す第1階調キャラクタ
イメージの各画素の濃度が、ワーキングメモリ24に読
み込んだ参照濃度変換テーブルに従って、図4に示す第
2階調キャラクタイメージの濃度に設定されることにな
る。
In that case, the first density of the pixel (5, 3) in the first typeface is 5 in FIG.
Using the reference density conversion table in the case of the weight information 8 of (b), the second density of the pixel of the second typeface at that location is 8
The density of each pixel of the first gradation character image shown in FIG. 3 is set to the density of the second gradation character image shown in FIG. 4 according to the reference density conversion table read in the working memory 24. Will be done.

【0028】なお、上述した例の、入力部212は書体
指示手段に、処理S3は画素情報読み出し手段に、処理
S6は濃度変換手段に、処理S7は濃度設定手段にそれ
ぞれ対応している。本発明は、指示されたウエイト情報
に大きな値が入力されると高濃度の画素を多くするよう
に変換し、逆にウエイト情報に小さな値が入力されると
低濃度の画素を多くするように変換することで、キャラ
クタの画像の見かけ上のウエイト(太さ)を制御するこ
とを原理としている。例えば、本実施の形態の濃度変換
テーブル(図5(a)参照)は、ウエイトが大きくなる
ほど中間濃度を高めに、ウエイトが小さくなるほど中間
濃度を低めになるように予め設定している。従って、ウ
エイト情報として大きな値が入力されれば、濃度の高い
部分が多い、見かけ上、太く見える書体(第2書体)
に、また、ウエイト情報として小さな値が入力されれ
ば、濃度の高い部分が少ない、見かけ上、細く見える書
体(第2書体)の階調キャラクタイメージを生成するこ
とができる。
In the above example, the input section 212 corresponds to the typeface designating means, the process S3 corresponds to the pixel information reading means, the process S6 corresponds to the density converting means, and the process S7 corresponds to the density setting means. According to the present invention, when a large value is input to the instructed weight information, conversion is performed to increase the number of high density pixels, and conversely, when a small value is input to the weight information, the number of low density pixels is increased. The principle is to control the apparent weight (thickness) of the character image by conversion. For example, the density conversion table of the present embodiment (see FIG. 5A) is set in advance so that the intermediate density becomes higher as the weight becomes larger and the intermediate density becomes lower as the weight becomes smaller. Therefore, if a large value is input as the weight information, there are many areas with high density, and the font appears to be thick (second font).
Further, if a small value is input as the weight information, it is possible to generate a gradation character image of a typeface (second typeface) that appears thin in appearance with few high density portions.

【0029】本発明の原理を用いれば、処理S6の濃度
変換の処理は、前述の濃度変換テーブルを用いる方式以
外でも目的を達成することができる。以下にその幾つか
を例示する。図6に示す第2実施例は、ウエイト情報毎
に第1濃度から第2濃度への変換関数を予め定義してお
く方式である。すなわち、図6(a)は、第1濃度を
p、第2濃度をqとした場合の、pからqへの関数q=
fn(p)を、取りうるウエイト情報毎に定義し、プロ
グラムメモリ22内に格納しておく。この場合、図6
(a)のマップでなく、図6(b)に示すような、ウエ
イト情報と変換関数の関係を記憶(格納)しておいても
良い。
According to the principle of the present invention, the density conversion processing of the processing S6 can achieve the purpose other than the method using the density conversion table described above. Some of them are illustrated below. The second embodiment shown in FIG. 6 is a system in which a conversion function from the first density to the second density is defined in advance for each weight information. That is, FIG. 6A shows a function q from p to q when the first density is p and the second density is q.
fn (p) is defined for each possible weight information and stored in the program memory 22. In this case,
Instead of the map of (a), the relationship between the weight information and the conversion function as shown in FIG. 6 (b) may be stored (stored).

【0030】この方式では、ウエイトを小さくしたい場
合(第2書体を細線で出力したい場合)には、第1濃度
pの値が充分大きくなるまで、第2濃度qの値が大きく
ならない変換関数を設定し、ウエイトを大きくしたい場
合(第2書体を太い線で出力したい場合)には、pの値
が小さくてもqの値を大きくする変換関数を予め設定す
ることで、上述した原理に基づいた本実施の形態におけ
る処理が実現できる。
In this method, when it is desired to reduce the weight (to output the second typeface with a thin line), a conversion function that does not increase the value of the second density q until the value of the first density p becomes sufficiently large is used. When setting and increasing the weight (when outputting the second typeface with a thick line), by setting in advance a conversion function that increases the value of q even if the value of p is small, Further, the processing in this embodiment can be realized.

【0031】また、これを実施するには、オペレータ
(ユーザー)が出力書体指示手段としての入力部212
にて所望のウエイトを選択すると、図2における濃度算
出処理の初期化処理(S2)で、ウエイト情報に対応し
た変換関数をワーキングメモリ24に読み出すように構
成し、画素毎の濃度変換の処理における濃度算出処理
(S6)では、ワーキングメモリ24に読み出した変換
関数で、第1濃度pから第2濃度qを算出するように変
更するのみで可能である。
In order to carry out this, the operator (user) uses the input unit 212 as an output type designating means.
When a desired weight is selected at, the conversion function corresponding to the weight information is read out to the working memory 24 in the initialization processing (S2) of the density calculation processing in FIG. 2, and the density conversion processing for each pixel is performed. In the density calculation process (S6), the conversion function read into the working memory 24 can be simply changed to calculate the second density q from the first density p.

【0032】なお、図6に示す実施例では、第1濃度p
は連続分布的に変化する変数であっても、対応して第2
濃度を求めることができる。前記図6に示す例では、1
つの指定されたウエイト情報毎に、第1濃度を知って第
2濃度を求める変換関数を、第1濃度の取りうる範囲で
1つだけとなるように設定した。換言すれば、第1濃度
の取りうる全範囲で、ウエイト情報毎に1つの連続曲線
となる1つの変換関数でもって、第1濃度pから第2濃
度qを算出するように設定したが、図7(a)及び
(b)に示す第3実施例のように、第1濃度の取りうる
範囲を第1区間〜第3区間のごとく、複数区間に分割
し、その区間毎で且つウエイト情報毎に、変換関数を設
定するようにしても良い。換言すると、第1濃度の取り
うる区間ごとにウエイトの大小に応じて比例定数の異な
る直線的な変換関数を採用するもので、この場合、プロ
グラムメモリ22の濃度算出のための参照情報として
は、図7(b)の様な変換関数を格納する。
In the embodiment shown in FIG. 6, the first concentration p
Is a variable that varies continuously, and the corresponding second
The concentration can be determined. In the example shown in FIG. 6, 1
For each of the specified weight information, the conversion function for knowing the first density and determining the second density is set so that only one conversion function is available within the range of the first density. In other words, it is set to calculate the second density q from the first density p with one conversion function that becomes one continuous curve for each weight information in the entire range that the first density can take. 7 (a) and 7 (b), the range in which the first concentration can be taken is divided into a plurality of sections, such as the first section to the third section, and each section and each piece of weight information. Alternatively, the conversion function may be set. In other words, a linear conversion function having different proportional constants is adopted according to the size of the weight for each possible interval of the first density. In this case, the reference information for calculating the density of the program memory 22 is: The conversion function as shown in FIG. 7B is stored.

【0033】この方式においても、小さいウエイト情報
を指定する場合には、第1濃度pの値が充分大きくなる
まで第2濃度qの値が大きくならない一次曲線の変換関
数を設定し、大きいウエイト情報を指定する場合には、
第1濃度pの値が小さくても第2濃度qの値を大きくす
る一次曲線の変換関数を予め設定することで、上述した
原理に基づいた、本実施の形態における処理が実現でき
る。
Also in this method, when a small weight information is designated, a conversion function of a linear curve is set so that the value of the second density q does not increase until the value of the first density p becomes sufficiently large, and the large weight information is set. If you specify
By presetting the conversion function of the linear curve that increases the value of the second density q even if the value of the first density p is small, the processing in the present embodiment based on the above-described principle can be realized.

【0034】また、これを実施するには、オペレータ
(ユーザー)が出力書体指示手段としての入力部212
にて所望のウエイトを選択すると、図2における濃度算
出処理の初期化処理(S2)で、ウエイト情報に対応し
た変換関数を、第1濃度の区間と対応させてワーキング
メモリ24に読み出すように構成し、画素毎の濃度変換
の処理における濃度算出処理(S6)で、第1濃度が入
る区間を調べ、その区間における変換関数をワーキング
メモリ24に読み出した関数から選択し、その関数で、
第1濃度pから第2濃度qを算出するように変更するの
みで可能である。
In order to carry out this, the operator (user) uses the input section 212 as an output type designating means.
When a desired weight is selected by, the conversion function corresponding to the weight information is read out to the working memory 24 in the initialization processing (S2) of the density calculation processing in FIG. 2 in association with the section of the first density. Then, in the density calculation processing (S6) in the density conversion processing for each pixel, the section in which the first density is included is checked, the conversion function in that section is selected from the functions read out to the working memory 24, and with that function,
It is possible only by changing so as to calculate the second density q from the first density p.

【0035】前記第1実施例〜第3実施例では、ウエイ
ト情報をパラメータとして、第1濃度から第2濃度を算
出する変換関数を用いたが、図6(a)及び図7(a)
において、横軸にウエイト情報を採り、縦軸に第2濃度
を採って、第1濃度をパラメータとした曲線や折れ線と
なる変換関数を採用するようにしても良い。この方式
は、第1濃度が離散分布となり、ある程度数が少ない場
合で、かつ、ウエイト情報が連続分布となる値である場
合に有効である。
In the first to third embodiments, the conversion function for calculating the second density from the first density is used with the weight information as a parameter, but FIGS. 6 (a) and 7 (a) are used.
In, the weight information may be taken on the horizontal axis and the second density may be taken on the vertical axis, and a conversion function that is a curve or a polygonal line using the first density as a parameter may be adopted. This method is effective when the first density has a discrete distribution and the number is small to some extent, and when the weight information has a value that provides a continuous distribution.

【0036】第5実施例は、第1濃度及びウエイトから
第2濃度への変換関数を予め定義しておく方式である。
例えば、ウエイト情報の値をwとすると、図6(a)に
おけるウエイト情報が10の場合の変換関数q=f10
(p)と、ウエイト情報が1の場合のq=f1(p)を
プログラムメモリ22に記憶し、q=(f10(p)−
f1(p))×w/10+f1(p)を変換関数とする
こともできる。この方式では、ウエイトが1の場合の関
数は、pの値が充分大きくなるまでqの値が大きくなら
ないように、ウエイトが10の場合の関数は、pの値が
小さくてもqの値を大きくするように予め設定すること
で、上述した原理に基づいた、本実施の形態における処
理が実現できる。また、これを実施するには、図2にお
ける濃度算出処理の初期化処理(S2)において、上述
の変換関数をワーキングメモリ24に読み出すように処
理し、画素毎の濃度変換の処理における濃度算出処理
(S6)において、ワーキングメモリ24に読み出した
関数で、第1濃度p、ウエイト情報wから第2濃度qを
算出するように構成すれば良い。なお、この場合、第1
濃度pのみならず、ウエイト情報wも連続分布となる値
であってもよい。
The fifth embodiment is a system in which a conversion function from the first density and the weight to the second density is defined in advance.
For example, if the value of the weight information is w, the conversion function q = f10 when the weight information in FIG.
(P) and q = f1 (p) when the weight information is 1 are stored in the program memory 22, and q = (f10 (p) −
The conversion function may be f1 (p)) × w / 10 + f1 (p). In this method, the function when the weight is 1 does not increase the value of q until the value of p becomes sufficiently large. By setting in advance so as to increase the size, the processing according to the present embodiment based on the above-described principle can be realized. To implement this, in the initialization process (S2) of the density calculation process in FIG. 2, the conversion function described above is read into the working memory 24, and the density calculation process in the density conversion process for each pixel is performed. In (S6), the function read out to the working memory 24 may be used to calculate the second density q from the first density p and the weight information w. In this case, the first
Not only the density p but also the weight information w may be a value having a continuous distribution.

【0037】また、第5実施例の変形例として、第3実
施例のように第1濃度pの取りうる範囲を複数区間に分
割して、その区間毎に、第1濃度とウエイト情報から第
2濃度への変換関数を定義するように構成しても良い。
As a modification of the fifth embodiment, the range in which the first density p can take is divided into a plurality of sections as in the third embodiment, and the first density and the weight information are used for each section to determine the first density p. You may comprise so that the conversion function to 2 density may be defined.

【0038】[0038]

【発明の効果】以上説明したことから明かなように、請
求項1に記載の発明のキャラクタデータ変換装置によれ
ば、第1書体についての第1濃度と第2書体の書体情報
(ウエイト情報)とから第2濃度を知ることができる濃
度変換手段を備えているから、出力書体指示手段にて出
力すべき第2書体の書体情報を指示すれば、濃度変換手
段では、画素情報読み出し手段で読み出した第1階調キ
ャラクタデータの各画素の濃度である第1濃度を、出力
書体指示手段で指示された書体に応じた第2濃度に変換
し、次いで、濃度設定手段にて画素情報読み出し手段で
読み出した第1書体についての画素に対応する第2階調
キャラクタデータの画素の濃度を、濃度変換手段で得ら
れた第2濃度とするように設定する。
As is apparent from the above description, according to the character data conversion device of the invention described in claim 1, the font information (weight information) of the first density and the second font for the first font. Since the density conversion means capable of knowing the second density is provided from the above, if the typeface information of the second typeface to be output is designated by the output typeface designating means, the density conversion means reads out by the pixel information reading means. The first density, which is the density of each pixel of the first gradation character data, is converted into the second density corresponding to the typeface instructed by the output typeface instructing means, and then the pixel information reading means in the density setting means is used. The density of the pixel of the second gradation character data corresponding to the read pixel of the first typeface is set to be the second density obtained by the density conversion means.

【0039】このようにして、本発明では、ファミリー
書体の書体情報(ウエイト情報)を指示するだけで、第
1書体のキャラクタの階調イメージデータである第1階
調キャラクタデータを、第2書体のキャラクタの階調イ
メージデータである第2階調キャラクタデータに変換す
ることができ、その書体情報を変更すると、線太さを変
えたファミリー書体が出力可能となるため、従来より少
ない記憶容量でファミリー書体を出力可能なキャラクタ
データ変換装置を提供することができるという効果を奏
する。
As described above, according to the present invention, the first gradation character data, which is the gradation image data of the character of the first typeface, is converted into the second typeface by simply instructing the typeface information (weight information) of the family typeface. Can be converted into the second gradation character data which is the gradation image data of the character of, and if the font information is changed, it is possible to output the family font with the changed line thickness, so the storage capacity is smaller than before. It is possible to provide a character data conversion device capable of outputting a family typeface.

【0040】また、請求項2記載のキャラクタデータ変
換装置によれば、濃度変換手段は、前記書体情報の取り
得る各値に対して、第1濃度に対する第2濃度を定義し
たテーブル情報を予め記憶し、出力書体指示手段で指示
された書体情報と画素情報読み出し手段で読み出した第
1濃度とに対応した第2濃度を、前記テーブル情報より
求めるように構成したものであるから、従来より少ない
記憶容量でファミリー書体を出力可能であり、かつ、出
力書体指示手段で指示された書体情報の箇所のテーブル
情報のみで第1濃度に対応する第2濃度を求めて変換で
き、演算処理が少ない、高速処理可能なキャラクタデー
タ変換装置を提供することができるという効果を奏する
のである。
According to the character data conversion device of the second aspect, the density conversion means stores in advance table information defining a second density for the first density for each possible value of the typeface information. However, since the second density corresponding to the font information designated by the output font designating means and the first density read by the pixel information reading means is configured to be obtained from the table information, a smaller amount of storage than before is stored. It is possible to output a family typeface with the capacity, and it is possible to obtain and convert the second density corresponding to the first density only by the table information of the portion of the typeface information designated by the output typeface designating means, and there is little calculation processing, high speed Thus, it is possible to provide a character data conversion device that can be processed.

【0041】さらに、請求項3記載のキャラクタデータ
変換装置によれば、濃度変換手段は、第1濃度の値の取
り得る範囲を1つ或いは複数区間に分割し、前記書体情
報と第1濃度の区間との組み合わせに対して第1濃度か
ら第2濃度への変換関数を予め記憶し、出力書体指示手
段で指示された書体情報と画素情報読み出し手段で読み
出した第1濃度に対応する変換関数により、第2濃度を
求めるように構成したものである。
Further, according to the character data conversion device of the third aspect, the density conversion means divides the range in which the value of the first density can be taken into one or a plurality of sections, and divides the typeface information and the first density. A conversion function from the first density to the second density is stored in advance for a combination with a section, and the conversion function corresponding to the type information designated by the output type designating means and the first density read by the pixel information reading means is used. , The second density is obtained.

【0042】従って、書体情報を選択して入力すると、
必要な変換関数のみを選択して記憶し、この変換関数に
従って画素情報読み出し手段で読み出した第1濃度に対
応して第2濃度を求めることができ、従来より少ない記
憶容量でファミリー書体を出力可能であり、演算処理が
少ない、高速処理可能なキャラクタデータ変換装置を提
供することができると共に、濃度の情報の取りうる値が
数多くあっても、また、連続に分布する値であっても、
対応可能となるという効果を奏するのである。
Therefore, when the font information is selected and input,
Only the necessary conversion function can be selected and stored, and the second density can be obtained corresponding to the first density read by the pixel information reading means in accordance with this conversion function, and a family typeface can be output with a smaller storage capacity than before. Therefore, it is possible to provide a character data conversion device that requires a small amount of calculation processing and can be processed at high speed, and even if there are many possible values of density information, or even if the values are continuously distributed,
The effect is that it can be handled.

【0043】さらに、請求項4記載のキャラクタデータ
変換装置によれば、書体情報が数値情報に変換可能な情
報であり、前記濃度変換手段が、書体情報を数値化した
値の取り得る範囲を1つ或いは複数区間に分割し、書体
情報の区間と前記第1濃度の各組み合わせに対して書体
情報を数値化した値から第2濃度への変換関数を予め記
憶し、出力書体指示手段で指示された書体情報と画素情
報読み出し手段で読み出した第1濃度に対応する変換関
数により、第2濃度を求めるように構成したものであ
る。
Further, according to the character data conversion device of the fourth aspect, the typeface information is information that can be converted into numerical value information, and the density conversion means has a range in which the digitized value of the typeface information can be 1. Or a plurality of sections, and a conversion function for converting the numerical value of the typeface information into the second density for each combination of the typeface information section and the first density is stored in advance and is instructed by the output typeface instruction means. The second density is obtained by the typeface information and the conversion function corresponding to the first density read by the pixel information reading means.

【0044】従って、選択すべき書体情報を入力する
と、数値化した書体情報と第1濃度との組合せで所定の
変換関数のみが選択できる。そして、この変換関数に従
って画素情報読み出し手段で読み出した第1濃度に対応
して第2濃度を求めることができ、従来より少ない記憶
容量でファミリー書体を出力可能であり、演算処理が少
ない、高速処理可能なキャラクタデータ変換装置を提供
することができると共に、書体情報の取りうる値が数多
くあっても、また、連続に分布する値であっても、対応
可能となるという効果を奏するのである。
Therefore, when the typeface information to be selected is input, only a predetermined conversion function can be selected by combining the digitized typeface information and the first density. Then, according to this conversion function, the second density can be obtained corresponding to the first density read by the pixel information reading means, the family typeface can be output with a smaller storage capacity than before, and the calculation processing is small and the high-speed processing is possible. It is possible to provide a possible character data conversion device, and it is possible to cope with a large number of values that can be taken by the typeface information, and even if the values are continuously distributed.

【0045】そして、請求項5記載のデータ変換装置に
よれば、書体情報が数値情報に変換可能な情報であり、
前記濃度変換手段が、第1濃度の値の取り得る範囲を1
つ或いは複数区間に分割し、第1濃度の各区間に対して
当該第1濃度と書体情報を数値化した値から第2濃度へ
の変換関数を予め記憶し、画素情報読み出し手段で読み
出した第1濃度に対応する変換関数により、第2濃度を
求めるように構成したものである。
According to the data converter of the fifth aspect, the typeface information is information that can be converted into numerical information.
The density converting means sets the range of values of the first density to 1
Divided into one or a plurality of sections, a conversion function for converting the first density and the typeface information into a second density is stored in advance for each section of the first density, and read by the pixel information reading means. The second density is obtained by a conversion function corresponding to one density.

【0046】従って、選択すべき書体情報を入力する
と、数値化した書体情報と所定の区間の第1濃度との組
合せで所定の変換関数のみが選択できる。そして、この
変換関数に従って画素情報読み出し手段で読み出した第
1濃度に対応して第2濃度を求めることができ、従来よ
り少ない記憶容量でファミリー書体を出力可能であり、
演算処理が少ない、高速処理可能なキャラクタデータ変
換装置を提供することができると共に、書体情報及び第
1濃度の取りうる値(情報)が数多くあっても、また、
連続に分布する値であっても、対応可能となるという効
果を奏するのである。
Therefore, when the typeface information to be selected is input, only the predetermined conversion function can be selected by the combination of the digitized typeface information and the first density in the predetermined section. Then, it is possible to obtain the second density corresponding to the first density read by the pixel information reading means in accordance with this conversion function, and it is possible to output the family typeface with a smaller storage capacity than before,
It is possible to provide a character data conversion device that requires a small amount of arithmetic processing and can be processed at high speed, and even if there are many possible values (information) for the typeface information and the first density,
Even if the values are continuously distributed, it is possible to deal with them.

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

【図1】本実施の形態のキャラクタデータ変換装置のブ
ロック図である。
FIG. 1 is a block diagram of a character data conversion device of the present embodiment.

【図2】本実施の形態の階調キャラクタデータ変換処理
のフローチャートである。
FIG. 2 is a flowchart of gradation character data conversion processing according to the present embodiment.

【図3】本実施の形態の第1階調イメージデータの例を
示す図である。
FIG. 3 is a diagram showing an example of first gradation image data according to the present embodiment.

【図4】本実施の形態の第2階調イメージデータの例を
示す図である。
FIG. 4 is a diagram showing an example of second gradation image data according to the present embodiment.

【図5】本実施の形態の濃度変換テーブルの例を示す図
である。
FIG. 5 is a diagram showing an example of a density conversion table according to the present embodiment.

【図6】(a)は本実施の形態のウエイト情報をパラメ
ータとする濃度変換関数のグラフを示し、(b)はウエ
イト情報毎の濃度変換関数を示す図である。
FIG. 6A is a graph of a density conversion function with weight information as a parameter according to the present embodiment, and FIG. 6B is a diagram showing a density conversion function for each weight information.

【図7】(a)は本実施の形態の第1濃度を3区間とし
たときのウエイト情報をパラメータとする濃度変換関数
のグラフを示し、(b)はウエイト情報毎及び第1濃度
区間毎の濃度変換関数を示す図である。
FIG. 7A is a graph of a density conversion function having weight information as a parameter when the first density is set to 3 intervals in the present embodiment, and FIG. 7B is a graph for each weight information and each 1st density interval. It is a figure which shows the density conversion function of.

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

20 中央処理装置(CPU) 24 ワーキングメモリ 26 フォントメモリ 28 出力イメージメモリ 212 出力書体指示手段としての入力部 213 プリンタ制御部 215 インクジェットプリンタ 20 central processing unit (CPU) 24 working memory 26 font memory 28 output image memory 212 output unit 213 printer type control unit 215 inkjet printer

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 第1書体のキャラクタの階調イメージデ
ータである第1階調キャラクタデータを、第2書体のキ
ャラクタの階調イメージデータである第2階調キャラク
タデータに変換するキャラクタデータ変換装置におい
て、 出力すべき第2書体の書体情報を指示する出力書体指示
手段と、 前記第1階調キャラクタデータの各画素の情報を読み出
す画素情報読み出し手段と、 前記画素情報読み出し手段で読み出した画素の濃度であ
る第1濃度を、前記出力書体指示手段で指示された書体
に応じた第2濃度に変換する濃度変換手段と、 前記画素情報読み出し手段で読み出した第1書体につい
ての画素に対応する前記第2階調キャラクタデータの画
素の濃度を、前記濃度変換手段で得られた第2濃度とす
る濃度設定手段と、を備えたことを特徴とする文字出力
装置。
1. A character data conversion device for converting first gradation character data which is gradation image data of a character of a first typeface into second gradation character data which is gradation image data of a character of a second typeface. In output type designating means for designating the typeface information of the second typeface to be output, pixel information reading means for reading the information of each pixel of the first gradation character data, and of the pixel read by the pixel information reading means. Density conversion means for converting the first density, which is the density, into a second density according to the typeface instructed by the output typeface instructing means, and the density corresponding to the pixel for the first typeface read by the pixel information reading means. Density setting means for setting the density of the pixel of the second gradation character data to the second density obtained by the density converting means. Character output device to be.
【請求項2】 前記濃度変換手段が、前記書体情報の取
り得る各値に対して、第1濃度に対する第2濃度を定義
したテーブル情報を予め記憶し、出力書体指示手段で指
示された書体情報と画素情報読み出し手段で読み出した
第1濃度とに対応した第2濃度を、前記テーブル情報よ
り求めるように構成したことを特徴とした請求項1に記
載のキャラクタデータ変換装置。
2. The density conversion means stores in advance table information defining a second density with respect to a first density for each possible value of the typeface information, and the typeface information instructed by the output typeface instructing means. 2. The character data conversion device according to claim 1, wherein the second density corresponding to the first density read by the pixel information reading means is obtained from the table information.
【請求項3】 前記濃度変換手段が、第1濃度の値の取
り得る範囲を1つ或いは複数区間に分割し、前記書体情
報と第1濃度の区間との組み合わせに対して第1濃度か
ら第2濃度への変換関数を予め記憶し、出力書体指示手
段で指示された書体情報と画素情報読み出し手段で読み
出した第1濃度に対応する変換関数により、第2濃度を
求めるように構成したことを特徴とした請求項1に記載
のキャラクタデータ変換装置。
3. The density converting means divides the range of values of the first density into one or a plurality of sections, and the first density to the first density are selected for the combination of the typeface information and the section of the first density. It is configured such that a conversion function for converting to two densities is stored in advance, and the second density is obtained by the conversion function corresponding to the typeface information designated by the output typeface designating unit and the first concentration read by the pixel information reading unit. The character data conversion device according to claim 1, which is characterized.
【請求項4】 前記書体情報が数値情報に変換可能な情
報であり、前記濃度変換手段が、書体情報を数値化した
値の取り得る範囲を1つ或いは複数区間に分割し、書体
情報の区間と前記第1濃度の各組み合わせに対して書体
情報を数値化した値から第2濃度への変換関数を予め記
憶し、出力書体指示手段で指示された書体情報と画素情
報読み出し手段で読み出した第1濃度に対応する変換関
数により、第2濃度を求めるものであることを特徴とし
た請求項1に記載のキャラクタデータ変換装置。
4. The typeface information is information that can be converted into numerical information, and the density conversion means divides a range in which the digitized value of the typeface information can be taken into one or a plurality of sections, and a section of the typeface information. The conversion function for converting the numerical value of the typeface information into the second density for each combination of the first density and the first density is stored in advance, and the typeface information designated by the output typeface designating means and the pixel information reading means are read out. The character data converter according to claim 1, wherein the second density is obtained by a conversion function corresponding to one density.
【請求項5】 前記書体情報が数値情報に変換可能な情
報であり、前記濃度変換手段が、第1濃度の値の取り得
る範囲を1つ或いは複数区間に分割し、第1濃度の各区
間に対して当該第1濃度と書体情報を数値化した値から
第2濃度への変換関数を予め記憶し、画素情報読み出し
手段で読み出した第1濃度に対応する変換関数により、
第2濃度を求めるものであることを特徴とした請求項1
に記載のキャラクタデータ変換装置。
5. The typeface information is information that can be converted into numerical value information, and the density conversion means divides a range of values of the first density into one or a plurality of sections, and each section of the first density. With respect to the first density and the conversion function for converting the numerical value of the typeface information into the second density in advance, the conversion function corresponding to the first density read by the pixel information reading means
2. The method according to claim 1, wherein the second density is obtained.
The character data conversion device described in.
JP7222159A 1995-08-30 1995-08-30 Character data converter Pending JPH0968961A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7222159A JPH0968961A (en) 1995-08-30 1995-08-30 Character data converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7222159A JPH0968961A (en) 1995-08-30 1995-08-30 Character data converter

Publications (1)

Publication Number Publication Date
JPH0968961A true JPH0968961A (en) 1997-03-11

Family

ID=16778110

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7222159A Pending JPH0968961A (en) 1995-08-30 1995-08-30 Character data converter

Country Status (1)

Country Link
JP (1) JPH0968961A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7057617B1 (en) 1999-02-19 2006-06-06 Fourie, Inc. Font memory and font data reading method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7057617B1 (en) 1999-02-19 2006-06-06 Fourie, Inc. Font memory and font data reading method

Similar Documents

Publication Publication Date Title
JP4321549B2 (en) Document creation system, document creation method, program, and storage medium
US4608662A (en) Method for editing document
JPS62123573A (en) Computer graphic apparatus and operation thereof
JP3142550B2 (en) Graphic processing unit
US5524198A (en) Character or graphic processing method and apparatus
US5850488A (en) Character generating method and apparatus using discrimination of stored font data
JP2903917B2 (en) Image editing processor
JPH0968961A (en) Character data converter
US5222208A (en) Device and method for generating dot pattern enlargement data
US5883821A (en) Data transformation system performing data transformation employing interpolating operation
JP3449563B2 (en) How to edit image data
EP0981106A2 (en) Method and apparatus for image scaling
JP2001067469A (en) Computer image processing method
JPH03213367A (en) Multicolor printer
EP0454125B1 (en) Method of producing characters and figures using computer
JP3517982B2 (en) Drawing device
JPH0823741B2 (en) How to process vector characters or graphics
JP3412202B2 (en) String output device
JPH05143743A (en) Vector image drawing device
JP3412203B2 (en) String output device
JP2025051120A (en) Printing method determination method and printing method determination device
JPH09185358A (en) Image data output method and apparatus
KR19990029606A (en) Method and apparatus for generating pattern of multi gradation characters, and recording medium
JPH05257452A (en) Character signal generator device
JPH11110150A (en) Image processing system, image processing method, and computer-readable recording medium on which image processing control program is recorded