JPH0553564A - Half-tone font generation device - Google Patents

Half-tone font generation device

Info

Publication number
JPH0553564A
JPH0553564A JP3238797A JP23879791A JPH0553564A JP H0553564 A JPH0553564 A JP H0553564A JP 3238797 A JP3238797 A JP 3238797A JP 23879791 A JP23879791 A JP 23879791A JP H0553564 A JPH0553564 A JP H0553564A
Authority
JP
Japan
Prior art keywords
font
halftone
dots
mesh
raster
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
JP3238797A
Other languages
Japanese (ja)
Other versions
JP3133790B2 (en
Inventor
Masa Saito
雅 斉藤
Yoshinori Kawakami
能徳 川上
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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co 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 Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP03238797A priority Critical patent/JP3133790B2/en
Publication of JPH0553564A publication Critical patent/JPH0553564A/en
Application granted granted Critical
Publication of JP3133790B2 publication Critical patent/JP3133790B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To decrease the difference in mean gradation, etc., between generated half-tone fonts, and to improve the quality of a generated half-tone font. CONSTITUTION:A filtering means 108 determines the number N of dots of each character of raster font 112 according to the predetermined number F of dots constituting a filter and the number H of meshes of a half-tone font inputted to the half-tone font generation device 100. A raster font generating means 110 generates the raster font 112 consisting of dots as many as the number NXN determined by the filtering means 108 from the original font 102. Therefore, characteristics such as the number F of dots constituting the filter and a filter function can be made constant and the difference in mean gradation, etc., between half-tone fonts can be decreased.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、CRT(cathode-ray
tube)画面に文字を表示する際等に用いられる、各メッ
シュ(ドット)が多段階の階調であるハーフトーンフォ
ントを、該ハーフトーンフォントより細かい、2階調の
ドットで構成されるラスタフォントから生成するハーフ
トーンフォント生成手段を有するハーフトーンフォント
生成装置に係り、特に、生成されるハーフトーンフォン
トの品位の向上が可能なハーフトーンフォント生成装置
に関する。
The present invention relates to a CRT (cathode-ray).
tube) A raster font that is used when displaying characters on a screen, such as a halftone font in which each mesh (dot) has a multi-step gradation The present invention relates to a halftone font generation device having a halftone font generation means for generating a halftone font, and more particularly to a halftone font generation device capable of improving the quality of a generated halftone font.

【0002】[0002]

【従来の技術】CRT画面に文字を表示する際等、即
ち、コンピュータ等に記憶されている文字や数字を人間
が認識するために、CRT画面に文字を表示したり出力
用紙に印字したりする際等には、表示対象となる個々の
文字にそれぞれ対応するフォントを用いて、それぞれの
文字の形状の表示や印字が行われている。
2. Description of the Related Art When a character is displayed on a CRT screen, that is, for a human to recognize a character or a number stored in a computer or the like, the character is displayed on the CRT screen or printed on an output sheet. In such cases, the fonts corresponding to the individual characters to be displayed are used to display and print the shape of each character.

【0003】例えば、従来、このようなフォントして、
16ドットのROMフォントが用いられている。
For example, conventionally, such a font is
A 16-dot ROM font is used.

【0004】この16ドットのROMフォントは、表示
されるそれぞれの文字を16行16列のドットで表わし
たもので、合計256個(=16×16)のドットで構
成されている。このようなROMフォントを、以降、単
にROMフォントと呼ぶ。
This 16-dot ROM font represents each displayed character by dots in 16 rows and 16 columns, and is composed of a total of 256 (= 16 × 16) dots. Hereinafter, such a ROM font is simply referred to as a ROM font.

【0005】このようなROMフォントは、限られた比
較的粗いドット構成であるので、ゴシック体や明朝体等
の書体の区別もなく、通常、文字の大きさも1種類だけ
のものとなっている。
Since such a ROM font has a limited relatively coarse dot structure, there is no distinction between typefaces such as Gothic typeface and Mincho typeface, and usually only one type of character size is available. There is.

【0006】又、ドット数の制限によって、このような
ROMフォントにおいては、複雑な文字、例えば「轟」
という文字等は、文字の形状を構成する線を何本か間引
いたフォントとなっている。
Further, due to the limitation of the number of dots, in such a ROM font, complicated characters such as "roar" are generated.
Is a font in which some lines that make up the shape of the character are thinned out.

【0007】従って、このようなROMフォントは、あ
まり品質の良いものとは言えず、このようなROMフォ
ントを用いてなされた表示や印字を人間が読む際には、
疲労が増加してしまうという問題がある。
Therefore, such a ROM font cannot be said to be of high quality, and when a human reads a display or a print made using such a ROM font,
There is a problem that fatigue increases.

【0008】このようなROMフォントの欠点を、以下
の通り列挙する。
The drawbacks of such a ROM font are listed below.

【0009】フォントを構成するドット数が少なくな
ると、複雑な文字が表示し切れなくなってしまう。
When the number of dots forming the font is reduced, complicated characters cannot be displayed completely.

【0010】複数の書体の、それぞれの必要なサイズ
分のフォントデータを利用するためには、多量の記憶容
量が必要となってしまう。
A large storage capacity is required in order to use the font data of a required size for each of a plurality of fonts.

【0011】異なるサイズのフォントを用いる際、記
憶容量を少なくするために、フォントを拡大又は縮小す
ることが考えられるが、多くの場合、文字の品質を低下
させてしまう。
When using fonts of different sizes, it is conceivable to enlarge or reduce the font in order to reduce the storage capacity, but in many cases, the quality of the characters is degraded.

【0012】フォントデータへのアクセスやフォント
の拡大縮小をアプリケーション内で行うと、CPU(ce
ntral processing unit )の負荷が大きくなり、文字品
質が劣化すると共に、アプリケーションの全体の実行速
度が遅くなってしまう。
When the font data is accessed or the font is enlarged or reduced within the application, the CPU (ce
The load of the ntral processing unit) becomes large, the character quality deteriorates, and the overall execution speed of the application becomes slow.

【0013】又、CRT画面に文字を表示する際等に用
いられるフォントとして、従来から、ハーフトーンフォ
ントと呼ばれるフォントが用いられている。
A font called a halftone font has been conventionally used as a font used for displaying characters on a CRT screen.

【0014】このハーフトーンフォントは、前述のよう
なROMフォントの欠点を解決するため等の目的で考案
されたフォントである。
This halftone font is a font devised for the purpose of solving the above-mentioned drawbacks of the ROM font.

【0015】このハーフトーンフォントは、フォントを
構成している個々のドットが、白か黒かの2階調ではな
く、明るさに階調を持たせた多段階の階調となってい
る。
In this halftone font, the individual dots that make up the font do not have two gradations, white or black, but multi-level gradations with gradations in brightness.

【0016】ハーフトーンフォントは、このような多段
階の階調によって、文字の曲線部分や、線が複雑に込み
入った部分を少ないドット数で表示することができる。
The halftone font can display a curved portion of a character or a portion where lines are complicatedly complicated with a small number of dots due to such multi-step gradation.

【0017】従って、パーソナルコンピュータのCRT
等のような解像度の低い表示画面においても、少ないド
ット数で、複雑な文字を正確に表示したり、明朝体やゴ
シック体というような書体を区別して表示することも可
能である。
Therefore, the CRT of the personal computer
Even on a display screen having a low resolution such as, it is possible to accurately display a complicated character with a small number of dots, or to distinguish and display a font such as Mincho or Gothic.

【0018】又、このようなハーフトーンフォントによ
れば、CRTの画面に文字を表示する際の、フリッカの
低減効果をも得ることができる。
Further, according to such a halftone font, it is possible to obtain the effect of reducing flicker when displaying characters on the screen of the CRT.

【0019】従来、このようなハーフトーンフォント生
成の手順は、一般的に次のような手順となっている。
Conventionally, the procedure of generating such a halftone font is generally as follows.

【0020】文字の形状が座標で表わされているベク
タフォントから、所定のドット構成のラスタフォントを
生成する。
A raster font having a predetermined dot configuration is generated from a vector font in which the character shape is represented by coordinates.

【0021】前記ラスタフォントから、所望のハーフ
トーンフォントを生成する。
A desired halftone font is generated from the raster font.

【0022】[0022]

【発明が達成しようとする課題】しかしながら、従来の
ハーフトーンフォント生成装置においては、1文字の大
きさが異なるハーフトーンフォントを生成する場合等に
は、生成されたハーフトーンフォント間で、平均階調
(それぞれのハーフトーンフォントの明るさ)等の較差
が発生してしまうことがあった。
However, in the conventional halftone font generating apparatus, when generating a halftone font in which the size of one character is different, the average rank between the generated halftone fonts is large. Differences in tone (brightness of each halftone font) may occur.

【0023】従って、このようなハーフトーンフォント
生成装置で生成されたハーフトーンフォントを用いて表
示や印字を行った場合には、表示や印字品位が低下して
しまう。
Therefore, when the halftone font generated by such a halftone font generating device is used for the display and the printing, the display and the printing quality are deteriorated.

【0024】本発明は、前記従来の問題点を解決するべ
くなされたもので、1文字の大きさが異なるハーフトー
ンフォントを生成する場合等にも、生成されたハーフト
ーンフォント間での平均階調(それぞれのハーフトーン
フォントの明るさ)等の較差を低減して、該ハーフトー
ンフォントを用いた表示や印字品位を向上させることが
可能なハーフトーンフォント生成装置を提供することを
第1の目的とする。
The present invention has been made to solve the above-mentioned conventional problems. Even when halftone fonts in which the size of one character is different are generated, the average rank between generated halftone fonts is large. A first object of the present invention is to provide a halftone font generation device capable of reducing a difference in tone (brightness of each halftone font) and the like to improve display and print quality using the halftone font. To aim.

【0025】又、前記第1の目的に加え、1文字の大き
さが異なるハーフトーンフォントを生成する場合の、ハ
ーフトーンフォント生成時間を短縮することが可能なハ
ーフトーンフォント生成装置を提供することを第2の目
的とする。
In addition to the first object, it is also possible to provide a halftone font generation device capable of shortening the halftone font generation time when generating a halftone font in which the size of one character is different. Is the second purpose.

【0026】[0026]

【課題を達成するための手段】本発明は、CRT画面に
文字を表示する際等に用いられる、各メッシュが多段階
の階調であるハーフトーンフォントを、該ハーフトーン
フォントより細かい、2階調のドットで構成されるラス
タフォントから生成するハーフトーンフォント生成手段
を有するハーフトーンフォント生成装置において、前記
ハーフトーンフォント生成手段で用いられるフィルタを
構成するドットの、予め定められたドット数と、生成す
る前記ハーフトーンフォントを構成するメッシュのメッ
シュ数とから、前記ラスタフォントを構成するドットの
ドット数を決定するフィルタリング手段と、該フィルタ
リング手段で決定されたラスタフォントのドット数に従
って、前記ラスタフォントを生成するラスタフォント生
成手段と、を備え、前記フィルタのドット数を固定値と
したことにより、前記第1の目的を達成したものであ
る。
SUMMARY OF THE INVENTION According to the present invention, a halftone font in which each mesh has a multi-step gradation is used for displaying characters on a CRT screen. In a halftone font generation device having a halftone font generation means for generating from a raster font composed of tonal dots, a predetermined number of dots of the dots constituting the filter used in the halftone font generation means, Filtering means for determining the number of dots of the raster font from the number of meshes of the halftone font to be generated, and the raster font according to the number of dots of the raster font determined by the filtering means. And a raster font generation means for generating By having a fixed value of the number of dots the filter is obtained by achieving the first object.

【0027】又、前記フィルタのドット数を、2のべき
乗の固定値とすることにより、前記第2の目的を達成し
たものである。
The second object is achieved by setting the number of dots of the filter to a fixed value that is a power of two.

【0028】なお、本発明において、メッシュとは、ハ
ーフトーンフォントを構成するドットである。以降、ド
ットとは、ラスタフォントのドットあるいは後述するフ
ィルタのドットを意味するものとする。一方、ハーフト
ーンフォントのドットは、以降、メッシュと呼び、ラス
タフォントのドットや後述するフィルタのドットと区別
する。
In the present invention, the mesh is a dot that constitutes a halftone font. Hereinafter, the dot means a dot of a raster font or a dot of a filter described later. On the other hand, the dots of the halftone font are hereinafter referred to as meshes, and are distinguished from the dots of the raster font and the dots of the filter described later.

【0029】[0029]

【作用】本発明は、1文字の大きさが異なるハーフトー
ンフォントを生成する場合等に、生成されたハーフトー
ンフォント間での平均階調(それぞれのハーフトーンフ
ォントの明るさ)等の較差が生じてしまう原因を見出し
てなされたものである。
According to the present invention, when generating halftone fonts in which the size of one character is different, the difference in the average gradation (brightness of each halftone font) and the like among the generated halftone fonts is small. It was made by finding the cause of the occurrence.

【0030】通常、CRT画面に文字を表示したり、ラ
インプリンタ等で文字を印字したりする際には、様々な
大きさの文字が表示されたり印字される。
Normally, when displaying characters on a CRT screen or printing characters with a line printer or the like, characters of various sizes are displayed or printed.

【0031】又、大きな文字をCRT画面に表示する際
等には、小さい文字を表示する際よりも、より細かいメ
ッシュ構成のハーフトーンフォントを用いることが行わ
れている。
Further, when displaying a large character on a CRT screen, a halftone font having a finer mesh structure is used than when displaying a small character.

【0032】これは、表示や印字された際の全体の美観
を向上させるためである。即ち、大きな文字を人間が目
視する場合には、小さな文字と同じハーフトーンフォン
トのメッシュ構成の細かさでは、文字の形状が荒く感じ
てしまうためである。又、小さな文字等をも含めて、全
ての文字のハーフトーンフォントのメッシュ構成を細か
くすると、表示速度や印字速度が低下してしまう等の問
題があるためである。
This is to improve the aesthetic appearance of the whole when it is displayed or printed. That is, when a large character is viewed by a human, the shape of the character feels rough with the fineness of the mesh configuration of the same halftone font as the small character. Also, if the mesh structure of the halftone font of all characters including small characters is made fine, there is a problem that the display speed and the printing speed are reduced.

【0033】通常、ハーフトーンフォント生成装置は、
所定のメッシュ構成である生成されるハーフトーンフォ
ントより細かい、2階調のドットで構成されるラスタフ
ォントから、該ハーフトーンフォントを生成するハーフ
トーンフォント生成手段を有している。
Generally, the halftone font generator is
It has a halftone font generating means for generating the halftone font from a raster font composed of dots of two gradations, which is finer than the generated halftone font having a predetermined mesh structure.

【0034】ハーフトーンフォントを構成する各メッシ
ュには、該ハーフトーフォントのメッシュ構成より細か
い、ラスタフォントの複数のドットがそれぞれ対応して
いる。
Each mesh forming the halftone font corresponds to a plurality of dots of the raster font, which are finer than the mesh structure of the halftone font.

【0035】通常、ハーフトーンフォント生成装置にお
いて、このようなハーフトーンフォントを構成する各メ
ッシュに対応する、該ハーフトーンフォントのメッシュ
構成より細かいドットの構成は、通常、フィルタと呼ば
れている。
Usually, in the halftone font generating apparatus, a dot structure finer than the mesh structure of the halftone font, which corresponds to each mesh forming the halftone font, is usually called a filter.

【0036】従って、通常のハーフトーンフォント生成
装置のハーフトーンフォント生成手段は、ハーフトーン
フォントを構成するれぞれのメッシュに対応するラスタ
フォントの黒い文字部分のドット数を数えて、該ドット
数に従って、1文字分のハーフトーンフォントの全メッ
シュの多段階の階調値を求め、該文字のハーフトーンフ
ォントを生成する。
Therefore, the halftone font generating means of the normal halftone font generating device counts the number of dots of the black character portion of the raster font corresponding to each mesh forming the halftone font, and calculates the number of dots. In accordance with the above, multi-step gradation values of all meshes of the halftone font for one character are obtained, and the halftone font of the character is generated.

【0037】例えば、ハーフトーンフォントのそれぞれ
のメッシュに対応するラスタフォントの黒い文字部分の
ドットと、ハーフトーンフォント1メッシュ当りのラス
タフォントの全ドット数(黒い文字部分のドット数と白
い背景部分のドット数との和)との比率に従って、1文
字分のハーフトーンフォントの全メッシュの多段階の階
調値を求め、これによりハーフトーンフォントを生成し
ている。
For example, the dots of the black character portion of the raster font corresponding to each mesh of the halftone font and the total number of dots of the raster font per mesh of the halftone font (the number of dots of the black character portion and the white background portion). According to the ratio with the sum of the number of dots), the gradation values of all the meshes of the halftone font for one character are obtained, and the halftone font is generated by this.

【0038】なお、このような、ハーフトーンフォント
の各メッシュの多段階の階調値を求める、ハーフトーン
フォントのそれぞれのメッシュと、それぞれのメッシュ
に対応するラスタフォントの黒い文字部分のドット数や
白い背景部分のドット数との関係等を、以降、フィルタ
関数と呼ぶ。即ち、生成されるハーフトーンフォントを
構成する各メッシュの多段階の階調値を、2階調のラス
タフォントのドットから求める関数を、以降、フィルタ
関数と呼ぶ。
It is to be noted that such a multitone gradation value of each mesh of the halftone font is obtained, each mesh of the halftone font and the number of dots of the black character portion of the raster font corresponding to each mesh, Hereinafter, the relationship with the number of dots in the white background portion will be referred to as a filter function. That is, a function for obtaining a multi-step gradation value of each mesh forming the generated halftone font from dots of a raster font having two gradations is hereinafter referred to as a filter function.

【0039】又、従来のハーフトーンフォント生成装置
は、1文字の大きさが異なるハーフトーンフォントを生
成する場合など、1文字当りのメッシュ数が異なるハー
フトーンフォントを生成するハーフトーンフォント生成
装置であっても、元フォントであるラスタフォントの1
文字当りのドット数は常に一定となっていた。
The conventional halftone font generator is a halftone font generator which generates halftone fonts having different mesh numbers per character, such as when generating halftone fonts having different character sizes. Even if there is one of the raster fonts that is the original font
The number of dots per character was always constant.

【0040】従って、従来、生成されるハーフトーンフ
ォントを構成する各メッシュに対応する、該ハーフトー
ンフォントのメッシュ構成より細かい複数のドットのド
ット数が、該ハーフトーンフォントの1文字当りのメッ
シュ数が変更されることにより変化している。
Therefore, the number of dots of a plurality of dots finer than the mesh structure of the halftone font corresponding to each mesh forming the halftone font conventionally generated is the number of meshes per character of the halftone font. Has changed due to changes.

【0041】従って、従来のハーフトーンフォント生成
装置においては、ハーフトーンフォントの1文字当りの
メッシュ数が異なると、フィルタのドット構成が変化し
ている。
Therefore, in the conventional halftone font generating apparatus, the dot structure of the filter changes when the number of meshes per character of the halftone font is different.

【0042】ハーフトーンフォント生成装置において、
フィルタのドット構成が変化すると、前述のようなフィ
ルタ関数の特性も変化してしまい、生成されるハーフト
ーンフォントの階調や平均階調が変化してしまう。
In the halftone font generator,
When the dot configuration of the filter changes, the characteristics of the filter function as described above also change, and the gradation and average gradation of the generated halftone font also change.

【0043】従って、このような従来のハーフトーンフ
ォント生成装置によれば、1文字の大きさが異なるハー
フトーンフォントを生成する場合等には、生成されたハ
ーフトーンフォント間での平均階調(それぞれのハーフ
トーンフォントの明るさ)等の較差が生じてしまい、該
ハーフトーンフォントを用いた表示や印字品位が低下し
てしまう。
Therefore, according to such a conventional halftone font generating apparatus, when generating a halftone font in which the size of one character is different, the average gradation between the generated halftone fonts ( A difference such as the brightness of each halftone font occurs, and the display and print quality using the halftone font deteriorate.

【0044】従って、本発明は、ハーフトーンフォント
生成装置で用いられるフィルタに着目してなされてい
る。
Therefore, the present invention is focused on the filter used in the halftone font generating apparatus.

【0045】図1は、本発明の要旨を示すブロック図で
ある。
FIG. 1 is a block diagram showing the gist of the present invention.

【0046】この図1において、ハーフトーンフォント
生成装置100は、元フォント102を基にして、ハー
フトーンフォント120を生成する。
In FIG. 1, the halftone font generator 100 generates a halftone font 120 based on an original font 102.

【0047】前記元フォント102は、例えば、線や曲
線の座標値により文字の外形を表わすベクタフォントで
ある。あるいは、この元フォント102は、後述するハ
ーフトーンフォント生成手段116で用いられる後述す
るラスタフォント112より細かいラスタフォントであ
る。
The original font 102 is, for example, a vector font that represents the outline of a character by the coordinate values of lines and curves. Alternatively, the original font 102 is a raster font finer than the raster font 112 described later used in the halftone font generation means 116 described below.

【0048】前記ハーフトーンフォント120は、CR
T画面に文字を表示する際等に用いられる、各メッシュ
が多段階の階調であるフォントである。
The halftone font 120 is CR
This is a font in which each mesh has multi-level gradation, which is used when displaying characters on the T screen.

【0049】この図1において、前記ハーフトーンフォ
ント生成装置100は、主に、フィルタリング手段10
8と、ラスタフォント生成手段110と、ハーフトーン
フォント生成手段116とで構成されている。又、該ハ
ーフトーンフォント生成装置100は、フィルタを構成
するドット数Fや、ラスタフォント112等、ハーフト
ーンフォント生成中に用いられるデータを記憶するため
の手段をも有している。
In FIG. 1, the halftone font generating apparatus 100 mainly includes a filtering means 10.
8, a raster font generation means 110, and a halftone font generation means 116. The halftone font generation device 100 also has means for storing the number F of dots forming a filter, raster font 112, and other data used during halftone font generation.

【0050】前記フィルタリング手段108は、予め決
定されているフィルタを構成するドット数Fと、該フィ
ルタリング手段108が含まれるハーフトーンフォント
生成装置100に入力されるハーフトーンフォントのメ
ッシュ数Hとに従って、後述するハーフトーンフォント
生成手段116で用いられる後述するラスタフォント1
12の1文字当りのドット数Nを、次式により決定す
る。
The filtering means 108 is responsive to a predetermined number F of dots forming a filter and a halftone font mesh number H input to the halftone font generating apparatus 100 including the filtering means 108. Raster font 1 described later used by the halftone font generation means 116 described below.
The number N of dots per character of 12 is determined by the following equation.

【0051】N=F×H …(1)N = F × H (1)

【0052】ハーフトーンフォント生成装置100に入
力される前記ハーフトーンフォントのメッシュ数Hは、
該ハーフトーンフォント生成装置にハーフトーンフォン
ト生成の要求を行うアプリケーションプログラム等から
入力されるものである。このハーフトーンフォントのメ
ッシュ数Hは、例えば、アプリケーションプログラム
が、表示や印字を行う文字の大きさ等に従って決定す
る。
The number H of meshes of the halftone font input to the halftone font generator 100 is
It is input from an application program or the like that requests the halftone font generation device to generate a halftone font. The mesh number H of the halftone font is determined, for example, by the application program according to the size of characters to be displayed or printed.

【0053】前記フィルタを構成するドット数Fは、予
め決定されている固定値である。
The number F of dots forming the filter is a predetermined fixed value.

【0054】なお、例えば、ハーフトーンフォント生成
装置100において、マイクロプロセッサ(MPU)の
利用等のデジタル処理手段の利用を考えると、この固定
値であるフィルタを構成するドット数Fの値は、2のべ
き乗であることが好ましい。例えば、このフィルタを構
成するドット数の値は、4(2の2乗)や、8(2の3
乗)や16(2の4乗)等の固定値とされることが好ま
しい。
Note that, for example, in the halftone font generation apparatus 100, considering the use of digital processing means such as the use of a microprocessor (MPU), the value of the number of dots F constituting the filter, which is this fixed value, is 2 It is preferable that it is a power of. For example, the value of the number of dots forming this filter is 4 (2 to the power of 2) or 8 (2 to 3).
It is preferably a fixed value such as (power) or 16 (2 to the fourth power).

【0055】デジタル処理手段は、通常、8桁や16桁
等の2進数毎に処理を行う。従って、フィルタを構成す
るドット数Fが、2のべき乗である固定値であれば、後
述するハーフトーンフォント生成手段116でのラスタ
フォント112に対する処理を能率良く行うことがで
き、ハーフトーンフォント生成時間を短縮することが可
能である。
The digital processing means normally processes every binary number such as 8 digits or 16 digits. Therefore, if the number F of dots forming the filter is a fixed value that is a power of 2, it is possible to efficiently perform processing on the raster font 112 by the halftone font generation means 116 described later, and the halftone font generation time is set. Can be shortened.

【0056】前記ラスタフォント生成手段110は、前
述のフィルタリング手段108で決定されたドット数N
×Nのラスタフォント112を生成する。
The raster font generating means 110 has the number of dots N determined by the filtering means 108.
A raster font 112 of × N is generated.

【0057】前記ハーフトーンフォント生成手段116
は、所定のフィルタ関数を用いて、ラスタフォント11
2からハーフトーンフォント120を生成する。
The halftone font generating means 116
Is a raster font 11 using a predetermined filter function.
Generate a halftone font 120 from 2.

【0058】なお、本発明は、このハーフトーンフォン
ト生成手段116を限定するものではなく、又、該ハー
フトーンフォント生成手段116で用いられるフィルタ
関数を限定するものではない。
The present invention does not limit the halftone font generating means 116, and does not limit the filter function used in the halftone font generating means 116.

【0059】例えば、該ハーフトーンフォント生成手段
116は、ハーフトーンフォントを構成するそれぞれの
メッシュに対応するラスタフォント112の黒い文字部
分のドット数を数えて、該ドット数に従って、1文字分
のハーフトーンフォントの全メッシュの多段階の階調値
を求めて、該文字のハーフトーンフォント120を生成
する。例えば、この黒い文字部分のドット数と、ハーフ
トーンフォント1メッシュ当りのラスタフォントの全ド
ット数(黒い文字部分のドット数と白い背景部分のドッ
ト数との和)との比率に従って、1文字分のハーフトー
ンフォントの全メッシュの多段階の階調値を求め、これ
によりハーフトーンフォント120を生成する。
For example, the halftone font generating means 116 counts the number of dots in the black character portion of the raster font 112 corresponding to each mesh forming the halftone font, and according to the number of dots, halftone for one character is generated. The multitone gradation values of all the meshes of the tone font are obtained, and the halftone font 120 of the character is generated. For example, according to the ratio of the number of dots of this black character portion and the total number of dots of the raster font per halftone font mesh (the sum of the number of dots of the black character portion and the number of dots of the white background portion), one character The multitone gradation values of all the meshes of the halftone font are obtained, and the halftone font 120 is generated by this.

【0060】従って、以上説明したとおり、本発明のハ
ーフトーンフォント生成装置によれば、1文字の大きさ
が異なるハーフトーンフォントを生成する場合等に、生
成されるハーフトーンフォントのメッシュ数が変更され
ても、フィルタのドット数(ドット構成)を常に一定と
することができる。このため、ハーフトーンフォントを
生成する際に用いられるフィルタやフィルタ関数の特性
を一定とすることができ、生成されたハーフトーンフォ
ント間での平均階調等の較差を低減することができ、該
ハーフトーンフォントを用いた表示や印字品位を向上さ
せることができる。
Therefore, as described above, according to the halftone font generating apparatus of the present invention, when generating a halftone font in which the size of one character is different, the mesh number of the generated halftone font is changed. Even if it is done, the number of dots of the filter (dot configuration) can be made constant at all times. Therefore, the characteristics of the filter and the filter function used when generating the halftone font can be made constant, and the difference in the average gradation and the like between the generated halftone fonts can be reduced. It is possible to improve display and print quality using a halftone font.

【0061】[0061]

【実施例】以下、図を用いて本発明の実施例を詳細に説
明する。
Embodiments of the present invention will be described in detail below with reference to the drawings.

【0062】図2は、本発明の実施例の全体構成図であ
る。
FIG. 2 is an overall configuration diagram of an embodiment of the present invention.

【0063】この図2に示されるフォントアクセラレー
タ200は、図4を用いて後述するように、フォント生
成モジュール222において本発明が適用されている。
The font accelerator 200 shown in FIG. 2 has the present invention applied to the font generation module 222, as described later with reference to FIG.

【0064】この図2に示されるフォントアクセラレー
タ200は、入力データ250に従って、パーソナルコ
ンピュータ260のCRT表示装置260a への表示を
行うものである。
The font accelerator 200 shown in FIG. 2 displays on the CRT display device 260a of the personal computer 260 according to the input data 250.

【0065】前記入力データ250は、文書データ25
0a と、図形データ250b と、組版指示データ250
c とで構成されている。
The input data 250 is the document data 25.
0a, graphic data 250b, and typesetting instruction data 250
It consists of c and.

【0066】本実施例のフォントアクセラレータ200
は、前記パーソナルコンピュータ260の内部の、該パ
ーソナルコンピュータ260の背面から装入可能なスロ
ットに、装入可能な形態のプリント基板に組立てられた
ものである。
The font accelerator 200 of this embodiment
Is assembled inside the personal computer 260 into a slot which can be inserted from the rear surface of the personal computer 260, into a printed circuit board which can be inserted.

【0067】該フォントアクセラレータ200は、組版
部210と、表示部220とにより構成されている。
The font accelerator 200 is composed of a typesetting section 210 and a display section 220.

【0068】前記組版部210は、組版モジュール21
1と、プロポーショナル処理モジュール212と、ハイ
フネーション処理モジュール213と、禁則処理モジュ
ール214とにより構成されている。又、この組版部2
10は、前記組版モジュール211が出力するレイアウ
トデータ215を記憶するための一時記憶手段をも備え
ている。
The typesetting section 210 includes a typesetting module 21.
1, a proportional processing module 212, a hyphenation processing module 213, and a prohibition processing module 214. Also, this typesetting section 2
10 also includes a temporary storage unit for storing the layout data 215 output by the typesetting module 211.

【0069】図3は、本実施例による組版のイメージ図
である。
FIG. 3 is an image diagram of typesetting according to this embodiment.

【0070】この図3においては、図2の前記組版部2
10で組版された1頁分の組版イメージが示されてい
る。
In FIG. 3, the typesetting section 2 of FIG.
A typeset image for one page typeset in 10 is shown.

【0071】フォントアクセラレータ200の組版部2
10は、入力データ250の文書データ250a と組版
指示データ250c とに従って、表示される文書を、ま
ずタイトル302、見出し304、文章306等の構成
要素に分割する。次に、この組版部210は、これらタ
イトル302、見出し304、文章306の各構成要素
に対して、表示領域の大きさ、表示開始位置、文字と文
字の間の間隔、行間の幅等のパラメータを指示する。
又、この際、該組版部210は、この分割されたそれぞ
れの構成要素の文書データとパラメータを受取り、禁則
処理やプロポーショナル処理やハイフネーション処理等
の細かい処理を行いながら、各文字毎の表示位置を決定
する。
Typesetting unit 2 of font accelerator 200
In accordance with the document data 250a of the input data 250 and the typesetting instruction data 250c, the document 10 first divides the displayed document into constituent elements such as a title 302, a headline 304, and a sentence 306. Next, the typesetting unit 210 sets parameters such as the size of the display area, the display start position, the space between characters, and the width between lines for each of the components of the title 302, headline 304, and sentence 306. Instruct.
Further, at this time, the typesetting unit 210 receives the document data and parameters of the respective divided constituent elements, and performs display processing for each character while performing detailed processing such as prohibition processing, proportional processing, and hyphenation processing. decide.

【0072】又、この組版部210は、前述の入力デー
タ250の図形データ250b と組版指示データ250
c とに従って、図3の図表308の表示領域の大きさや
表示開始位置等のパラメータを指定する。
The typesetting section 210 also uses the graphic data 250b of the input data 250 and the typesetting instruction data 250 described above.
Parameters such as the size of the display area and the display start position of the chart 308 of FIG. 3 are designated according to c.

【0073】従って、本実施例のフォントアクセラレー
タ200の組版部210によれば、アプリケーションか
らの文字出力命令だけで組版を行うことができ、アプリ
ケーションの開発工程の負担の減少や、アプリケーショ
ンの実行速度の向上を図ることができる。
Therefore, according to the typesetting unit 210 of the font accelerator 200 of this embodiment, the typesetting can be performed only by the character output command from the application, which reduces the load of the application development process and the execution speed of the application. It is possible to improve.

【0074】図2において、前記表示部220は、表示
モジュール221と、フォント生成モジュール222と
により構成されている。又、この表示部220は、前記
フォント生成モジュール222が出力する表示用フォン
ト223を記憶するための所定の一時記憶手段を備えて
いる。
In FIG. 2, the display section 220 is composed of a display module 221 and a font generation module 222. The display unit 220 also includes a predetermined temporary storage unit for storing the display font 223 output by the font generation module 222.

【0075】又、本実施例の表示部220は、基本的に
は、ハーフトーンフォントを常時待たず、表示の際毎
に、ベクタフォント230から、表示する文字の所望の
書体及びサイズのハーフトーンフォント(表示用フォン
ト223)を生成するようになっている。このため、前
記表示用フォント223を記憶するための所定の一時記
憶手段の記憶容量は、比較的コンパクトになっている。
Further, the display unit 220 of this embodiment basically does not always wait for the halftone font, and the halftone of the desired typeface and size of the character to be displayed is displayed from the vector font 230 at each display. A font (display font 223) is generated. For this reason, the storage capacity of the predetermined temporary storage means for storing the display font 223 is relatively compact.

【0076】本実施例のフォントアクセラレータ200
の表示部220の前記フォント生成モジュール222に
おいては、図1を用いて前述した本発明が適用されてい
る。
The font accelerator 200 of this embodiment
The present invention described above with reference to FIG. 1 is applied to the font generation module 222 of the display unit 220 of FIG.

【0077】図4は、本実施例のフォント生成モジュー
ルのブロック図である。
FIG. 4 is a block diagram of the font generation module of this embodiment.

【0078】この図4において、符号221、222、
223、230は、前述の図2の同符号のものと同一の
ものである。
In FIG. 4, reference numerals 221 and 222,
223 and 230 are the same as those having the same reference numerals in FIG. 2 described above.

【0079】この図4において、フォント生成モジュー
ル222は、フィルタリング手段222a と、ラスタフ
ォント生成手段222b と、ハーフトーンフォント生成
手段222d と、フィルタ関数手段222e とにより構
成されている。又、このフォント生成モジュール222
は、前記ラスタフォント生成手段222b が出力するラ
スタフォント222c を記憶するための所定の記憶手段
をも備えている。
In FIG. 4, the font generation module 222 comprises a filtering means 222a, a raster font generation means 222b, a halftone font generation means 222d, and a filter function means 222e. Also, this font generation module 222
Is also provided with a predetermined storage means for storing the raster font 222c output by the raster font generation means 222b.

【0080】図5は、本実施例のラスタフォントとハー
フトーンフォントとフィルタとの関係を示す線図であ
る。
FIG. 5 is a diagram showing the relationship among the raster font, halftone font and filter of this embodiment.

【0081】この図5において、フィルタ322は、ハ
ーフトーンフォントの各メッシュのメッシュ値や階調値
を求める際用いられるフィルタである。
In FIG. 5, the filter 322 is a filter used when obtaining the mesh value and gradation value of each mesh of the halftone font.

【0082】このフィルタ322は、Fドット×Fドッ
トで構成されており、本実施例では、生成されるハーフ
トーンフォントのメッシュ構成、即ち1フォント当りの
メッシュ数が変化したとしても、このフィルタ322を
構成するドット構成は固定となっている。
This filter 322 is composed of F dots × F dots. In this embodiment, even if the mesh structure of the generated halftone font, that is, the number of meshes per font, changes, this filter 322 The dot configuration that constitutes is fixed.

【0083】又、この図5において、ラスタフォントデ
ータ320から生成されるハーフトーンフォントは、H
個×H個のメッシュで構成されている。このハーフトー
ンフォントを構成するメッシュ数は、表示モジュール2
21からの指令値に従って可変可能な値である。即ち、
ハーフトーンフォントを構成するメッシュ数は、表示す
る文字の大きさや書体に従って可変することができる。
In FIG. 5, the halftone font generated from the raster font data 320 is H
It is composed of H × H meshes. The number of meshes that make up this halftone font depends on the display module 2
It is a variable value according to the command value from 21. That is,
The number of meshes forming the halftone font can be changed according to the size of the characters to be displayed and the typeface.

【0084】本実施例においては、フィルタ322を構
成するドット数F×Fは前述のように固定であり、ハー
フトーンフォントのメッシュ数H×Hはアプリケーショ
ン等の環境に従って決定されるものである。
In the present embodiment, the number of dots F × F forming the filter 322 is fixed as described above, and the number of meshes H × H of the halftone font is determined according to the environment of the application or the like.

【0085】従って、本実施例では、前述の図4のフィ
ルタリング手段222a で、ラスタフォントデータ32
0のドット数N×Nを前述の(1)式により求めてい
る。
Therefore, in this embodiment, the raster font data 32 is generated by the filtering means 222a shown in FIG.
The dot number N × N of 0 is obtained by the above-mentioned equation (1).

【0086】例えば、固定値であるフィルタ322を構
成するドット数Fが“8”で、アプリケーション等の表
示環境等によりハーフトーンフォントのメッシュ数Hが
“16”とされた場合には、ラスタフォントデータを構
成するドット数Nは“128”となる。
For example, when the number of dots F forming the filter 322 having a fixed value is "8" and the number of meshes H of the halftone font is "16" due to the display environment of an application or the like, the raster font The number N of dots forming the data is "128".

【0087】又、図4のフィルタリング手段222a で
このようにラスタフォントデータを構成するドット数N
が決まると、このドット数Nに従って、図4のラスタフ
ォント生成手段222b は、ベクタフォント230か
ら、ドット数N×Nとなるラスタフォント222c (図
5においてはラスタフォントデータ320が対応)を生
成する。
Also, the number of dots N which constitutes the raster font data in this way by the filtering means 222a of FIG.
4 is determined, the raster font generation means 222b of FIG. 4 generates a raster font 222c (corresponding to the raster font data 320 in FIG. 5) having a dot number N × N from the vector font 230. ..

【0088】なお、図4のフォント生成モジュール22
2においては、マイクロプロセッサ(MPU)を用いて
デジタル処理が行われている。又、前述の固定値である
フィルタ322を構成するドット数Fの値は、2のべき
乗である“8”(2の3乗)となっている。なお、この
固定値は2のべき乗であることが好ましく、例えば、こ
のドット数Fの値は、4(2の2乗)や16(2の4
乗)や32(2の5乗)等の固定値とされることが好ま
しい。
The font generation module 22 shown in FIG.
In No. 2, digital processing is performed using a microprocessor (MPU). Further, the value of the number of dots F forming the filter 322, which is the fixed value described above, is "8" (2 to the power of 3) which is a power of 2. Note that this fixed value is preferably a power of 2, and for example, the value of the number of dots F is 4 (2 2) or 16 (2 4).
It is preferably a fixed value such as (power) or 32 (2 to the power of 5).

【0089】このようにフィルタ322を構成するドッ
ト数Fを2のべき乗とすることにより、4ビット/ワー
ドや8ビット/ワード、16ビット/ワード、32ビッ
ト/ワード等のワード長のメモリをラスタフォント22
2c を記憶するための手段として用いたときの、メモリ
利用効率を向上させることができる。
By thus setting the number of dots F constituting the filter 322 to a power of 2, rasterization of a memory having a word length of 4 bits / word, 8 bits / word, 16 bits / word, 32 bits / word, etc. Font 22
When used as a means for storing 2c, the memory utilization efficiency can be improved.

【0090】又、ハーフトーンフォント生成手段222
d が、4ビット/ワードや8ビット/ワード、16ビッ
ト/ワード、32ビット/ワード等のワード長の単位で
処理を実行するデジタル処理手段である場合にも、この
ようにドット数Fを2のべき乗とすることにより、処理
能率を向上させ、処理速度をより上昇させることができ
る。
Further, the halftone font generating means 222
Even when d is a digital processing unit that executes processing in units of word length such as 4 bits / word, 8 bits / word, 16 bits / word, 32 bits / word, the dot number F is set to 2 in this way. By using the power of, the processing efficiency can be improved and the processing speed can be further increased.

【0091】図6は、本実施例のハーフトーンフォント
生成処理のフローチャートである。
FIG. 6 is a flowchart of the halftone font generation processing of this embodiment.

【0092】この図6のフローチャートに示される処理
は、前述の図2のフォントアクセラレータ200の表示
部220のフォント生成モジュール222、即ち前述の
図4のフォント生成モジュール222で実行される処理
である。
The processing shown in the flowchart of FIG. 6 is executed by the font generation module 222 of the display unit 220 of the font accelerator 200 shown in FIG. 2, that is, the font generation module 222 shown in FIG.

【0093】この図6のステップ412、416は、主
として図4に示されるラスタフォント生成手段222b
で実行される。図6のステップ414、418、420
は、主として図4に示されるハーフトーンフォント生成
手段222d で実行される。
The steps 412 and 416 in FIG. 6 are mainly performed by the raster font generating means 222b shown in FIG.
Run on. Steps 414, 418, 420 of FIG.
Is mainly executed by the halftone font generating means 222d shown in FIG.

【0094】以下、図7に示される「亜」という文字を
例として、図6のハーフトーンフォント生成処理のフロ
ーチャートを説明する。
The flowchart of the halftone font generation process of FIG. 6 will be described below by taking the character “A” shown in FIG. 7 as an example.

【0095】まず、図6のステップ412において、図
4のベクタフォント230から入力されるベクタフォン
トデータから、ラスタフォント生成手段222b は、横
線情報を抽出する。
First, in step 412 of FIG. 6, the raster font generating means 222b extracts horizontal line information from the vector font data input from the vector font 230 of FIG.

【0096】このステップ412で抽出される横線情報
は、図7に示される「亜」の文字においては、図8の符
号a 、b 、c 、d で示される文字部分となる。
The horizontal line information extracted in this step 412 becomes the character portions indicated by the symbols a, b, c and d in FIG. 8 in the character "A" shown in FIG.

【0097】続いて、ステップ414では、ステップ4
12で抽出された横線情報を除いた残り部分を、図4の
ハーフトーンフォント生成手段222d において、ハー
フトーンフォントに展開する。即ち、このステップ41
4でハーフトーンフォントに展開される図7の「亜」の
文字部分は、図8の符号e で示される文字部分である。
Subsequently, in step 414, step 4
The remaining portion excluding the horizontal line information extracted in 12 is developed into a halftone font by the halftone font generation means 222d in FIG. That is, this step 41
The character portion of "A" in FIG. 7 which is developed into the halftone font in 4 is the character portion indicated by the symbol e in FIG.

【0098】ステップ416では、ステップ412で抽
出された横線情報から、各横線のメッシュにおける最適
な位置を決定し、各横線の幅方向に位置修正する。
In step 416, the optimum position in the mesh of each horizontal line is determined from the horizontal line information extracted in step 412, and the position of each horizontal line is corrected in the width direction.

【0099】このステップ416の横線の幅方向の位置
修正は、横線が幅方向で複数のメッシュに跨がってしま
う場合に、ハーフトーンフォントとなったときの該横線
の輝度(背景に対するコントラスト)が低下してしまう
ことを低減するためである。
The position correction in the width direction of the horizontal line in this step 416 is performed when the horizontal line extends over a plurality of meshes in the width direction, and the brightness of the horizontal line when it becomes a halftone font (contrast to the background). This is to reduce that

【0100】なお、このステップ416の処理について
は、図9及び図10を用いて詳しく後述する。
The process of step 416 will be described later in detail with reference to FIGS. 9 and 10.

【0101】続いて、ステップ418では、ステップ4
16で幅方向に位置修正された各横線を、それぞれハー
フトーンフォントに展開する。
Subsequently, in step 418, step 4
Each horizontal line whose position is corrected in the width direction in 16 is developed into a halftone font.

【0102】なお、前述のステップ414及び該ステッ
プ418で行われるハーフトーンフォントへの展開につ
いては、図11〜14を用いて詳しく後述する。
The development into the halftone font performed in the above step 414 and step 418 will be described later in detail with reference to FIGS.

【0103】図6において、ステップ420では、前述
のステップ414及び前述のステップ418で展開され
たそれぞれのハーフトーンフォントを重ね合わせて、1
個のハーフトーンフォントとし、これを図4の表示用フ
ォント223として出力する。
In FIG. 6, in step 420, the halftone fonts developed in step 414 and step 418 described above are overlapped and the
4 halftone fonts, which are output as the display font 223 of FIG.

【0104】図9及び図10は、本実施例の横線の幅方
向の位置修正の説明図である。
FIGS. 9 and 10 are explanatory views of position correction of the horizontal line in the width direction of this embodiment.

【0105】即ち、図9は、ある横線の幅方向の位置修
正の修正前のモデル図である。一方、図10は、図9に
示される横線の幅方向の位置修正後のモデル図である。
That is, FIG. 9 is a model diagram before position correction of the position of a horizontal line in the width direction. On the other hand, FIG. 10 is a model diagram after position correction in the width direction of the horizontal line shown in FIG.

【0106】これら図9及び図10において、それぞ
れ、合計12個のメッシュ320a が示されている。即
ち、図9及び図10のそれぞれの図においては、2行×
6列の、同一のメッシュが示されている。
In each of FIGS. 9 and 10, twelve meshes 320a in total are shown. That is, in each of FIGS. 9 and 10, 2 rows ×
Six rows of identical mesh are shown.

【0107】図9において、補正前、即ち幅方向の位置
修正前には、符号330a で示される横線は、上の行の
メッシュと下の行のメッシュとに跨がっている。
In FIG. 9, before correction, that is, before position correction in the width direction, the horizontal line indicated by reference numeral 330a extends over the mesh in the upper row and the mesh in the lower row.

【0108】本実施例において、ハーフトーンフォント
の各メッシュの階調値を決定するメッシュ値は、それぞ
れのメッシュの文字部分のドット数に従って決定され
る。
In the present embodiment, the mesh value that determines the gradation value of each mesh of the halftone font is determined according to the number of dots of the character portion of each mesh.

【0109】従って、この図9に示されるように、文字
の横線部分の幅方向の中心位置Ymが、該横線のあるメ
ッシュ320a の、該横線の幅方向(縦方向)の中心位
置YFm からずれてしまい、該横線が他の行のメッシュ
320a にまたがるようになってしまうと、該横線の輝
度(背景に対するコントラスト)が低下してしまう。
Therefore, as shown in FIG. 9, the center position Ym of the horizontal line portion of the character in the width direction deviates from the center position YFm of the horizontal line in the width direction (vertical direction) of the mesh 320a having the horizontal line. If the horizontal line extends over the mesh 320a of another row, the brightness of the horizontal line (contrast with respect to the background) is reduced.

【0110】従って、本実施例では、各横線部分の幅方
向の中心位置Ym が、該横線があるメッシュの該横線の
幅方向と同一方向の中心位置YFm と一致するように、
該横線を幅方向に位置修正するようにしている。
Therefore, in the present embodiment, the center position Ym in the width direction of each horizontal line portion is made to coincide with the center position YFm in the same direction as the width direction of the horizontal line of the mesh having the horizontal line.
The position of the horizontal line is corrected in the width direction.

【0111】この図9において、符号Wは横線330a
の幅の長さであり、符号Ys は該横線部分330a の左
上の部分の幅方向(縦方向)の座標位置であり、符号Y
e は該横線部分330a の左下の部分の幅方向(縦方
向)の座標位置である。
In FIG. 9, the symbol W indicates a horizontal line 330a.
Of the horizontal line portion 330a, and the symbol Ys is the coordinate position in the width direction (vertical direction) of the upper left portion of the horizontal line portion 330a.
e is the coordinate position in the width direction (vertical direction) of the lower left portion of the horizontal line portion 330a.

【0112】又、図9及び図10において、座標の原点
は左上にあるものとする。又、各座標は、ラスタフォン
トの1ドットを単位とするものであり、整数となる。
Further, in FIGS. 9 and 10, the origin of coordinates is at the upper left. Also, each coordinate is in units of one dot of the raster font and is an integer.

【0113】この図9において、位置Ye と、位置Ys
と、幅Wとに対して、次式が成り立つ。
In FIG. 9, position Ye and position Ys
And the width W, the following equation holds.

【0114】 Ye =Ys +W−1 …(2)Ye = Ys + W-1 (2)

【0115】又、この横線部分330a の幅方向の中心
の位置Ym は、位置Ys と位置Yeとから、次式に従っ
て求めることができる。
The center position Ym of the horizontal line portion 330a in the width direction can be obtained from the positions Ys and Ye according to the following equation.

【0116】 Ym =(Ys +Ye )/2 …(3)Ym = (Ys + Ye) / 2 (3)

【0117】ここで、横線部分330a の補正のための
幅方向の移動(位置修正)は、補正後の図10の横線部
分330b の幅方向の中心の位置Ymoと、該横線がある
メッシュ320a の中心の位置YFm との関係が、次式
のような関係となるように位置修正される。
Here, the movement (positional correction) in the width direction for the correction of the horizontal line portion 330a is performed by the position Ymo of the widthwise center of the horizontal line portion 330b in FIG. 10 after correction and the mesh 320a having the horizontal line. The position is corrected so that the relationship with the center position YFm is as shown in the following expression.

【0118】 Ymo=YFm …(4)Ymo = YFm (4)

【0119】従って、この図10の補正後(位置修正
後)の横線部分330bの、左上の位置Ysoと、左下の
位置Yeoは、それぞれ次式のようになる。
Therefore, the upper left position Yso and the lower left position Yeo of the horizontal line portion 330b after correction (position correction) in FIG. 10 are as follows.

【0120】 Yso=Ys +(Ymo−Ym ) …(5) Yeo=Ye +(Ymo−Ym ) …(6)Yso = Ys + (Ymo-Ym) (5) Yeo = Ye + (Ymo-Ym) (6)

【0121】以上、図9及び図10を用いて説明した文
字を構成する横線の幅方向の位置修正、即ち、前述の図
6のステップ416の処理を行うことにより、文字を構
成する横線は、全てそれぞれの横線のあるメッシュの中
心(横線の幅方向の中心)に位置することになり、この
後の処理により生成されるハーフトーンフォントのそれ
ぞれの横線部分の輝度(背景に対するコントラスト)が
低くなってしまうことを防ぐことができる。特に、明朝
体等、横線の細かい書体では、効果的に生成されるハー
フトーンフォントの品位を向上させることができる。
As described above, by correcting the position in the width direction of the horizontal line forming the character described with reference to FIGS. 9 and 10, that is, by performing the processing of step 416 in FIG. 6, the horizontal line forming the character becomes All of them are located at the center of the mesh with each horizontal line (the center of the horizontal line in the width direction), and the brightness (contrast against the background) of each horizontal line part of the halftone font generated by the subsequent processing becomes low. You can prevent it from happening. In particular, in a typeface with fine horizontal lines such as Mincho typeface, the quality of the halftone font effectively generated can be improved.

【0122】又、この幅方向の位置修正の際の横線の移
動量は、1メッシュ当りのラスタフォントの縦方向のド
ット数、即ち1つのフィルタの縦方向のドット数Fの1
/2以下の範囲となり、このような横線の幅方向の位置
修正は、最終的に生成されるハーフトーンフォントの文
字の形状を変形させてしまう恐れはない。
The amount of movement of the horizontal line when correcting the position in the width direction is the number of dots in the vertical direction of the raster font per mesh, that is, the number of dots F in the vertical direction of one filter, which is one.
This is within the range of / 2 or less, and such position correction of the horizontal line in the width direction does not have a possibility of deforming the shape of the finally generated halftone font character.

【0123】図11は、本実施例に用いられるフィルタ
関数手段の関数を示すグラフである。
FIG. 11 is a graph showing the function of the filter function means used in this embodiment.

【0124】この図11に示されるフィルタ関数は、前
述の図4のフォント生成モジュール222のフィルタ関
数手段222e の関数である。又、この図11に示され
るフィルタ関数は、前述の図5のフィルタ322に対応
するフィルタ関数である。
The filter function shown in FIG. 11 is a function of the filter function means 222e of the font generation module 222 shown in FIG. The filter function shown in FIG. 11 is a filter function corresponding to the filter 322 of FIG. 5 described above.

【0125】この図11において、メッシュ値は、前述
の図5のフィルタ322を構成するF×F個のドットの
うち、文字の部分に対応するドット(黒いドット)の個
数となっている。
In FIG. 11, the mesh value is the number of dots (black dots) corresponding to the character portion among the F × F dots forming the filter 322 of FIG.

【0126】従って、このメッシュ値の最大値は(F×
F)の値である。又、この図11に示される如く、ハー
フトーンフォントの各メッシユの階調値の最大値は15
とされているが、この値はハードウエアに依存する。
Therefore, the maximum value of this mesh value is (F ×
It is the value of F). Further, as shown in FIG. 11, the maximum gradation value of each mesh of the halftone font is 15
However, this value depends on the hardware.

【0127】又、この図11に示されるフィルタ関数
は、メッシュ値が最大値(F×F)よりパラメータΔ分
小さい値以上で最大階調値15となるフィルタ関数とな
っている。
The filter function shown in FIG. 11 has a maximum gradation value of 15 when the mesh value is smaller than the maximum value (F × F) by the parameter Δ.

【0128】従って、このような図11に示されるフィ
ルタ関数によれば、ハーフトーンフォントに展開する
際、文字部分の平均の階調値を上昇させることができ、
生成されるハーフトーンフォントの輝度(背景に対する
コントラス)を上昇させることができ、生成されるハー
フトーンフォントの品位を向上させることができる。
Therefore, according to the filter function shown in FIG. 11, the average gradation value of the character portion can be increased when developing the halftone font.
The brightness (contrast with respect to the background) of the generated halftone font can be increased, and the quality of the generated halftone font can be improved.

【0129】なお、図12は、ラスタフォントが256
×256ドットの場合の前述の図11のパラメータΔの
値を示す線図である。
In FIG. 12, the raster font is 256.
FIG. 12 is a diagram showing the value of the parameter Δ of FIG. 11 described above in the case of × 256 dots.

【0130】この図12に示される如く、フィルタ関数
のパラメータΔは、生成するハーフトーンフォントを構
成するメッシュ数に従って決定される。又、この図12
に示される如く、ハーフトーンフォントを構成するメッ
シュ数が減少して、ハーフトーンフォント全体の大きさ
に対するフィルタ(メッシュの大きさに対応)の大きさ
が大きくなる程、フィルタ関数のパラメータΔの値は大
きくなっていく。
As shown in FIG. 12, the parameter Δ of the filter function is determined according to the number of meshes forming the generated halftone font. Also, this FIG.
As shown in, as the number of meshes forming the halftone font decreases and the size of the filter (corresponding to the size of the mesh) with respect to the size of the entire halftone font increases, the value of the parameter Δ of the filter function increases. Is getting bigger.

【0131】図13及び図14は、本実施例のハーフト
ーンフォント展開処理を示すフローチャートである。
13 and 14 are flow charts showing the halftone font expansion processing of this embodiment.

【0132】これら図13及び図14のフローチャート
で示される処理は、前述の図4のフォント生成モジュー
ル222のハーフトーンフォント生成手段222d で実
行される。又、これら図13及び図14のフローチャー
トで示される処理は、前述の図6のフローチャートで示
される処理の、ステップ414又は418で実行される
処理に相当する。
The processing shown in the flow charts of FIGS. 13 and 14 is executed by the halftone font generation means 222d of the font generation module 222 of FIG. 4 described above. The process shown in the flowcharts of FIGS. 13 and 14 corresponds to the process executed in step 414 or 418 of the process shown in the flowchart of FIG.

【0133】即ち、これら図13及び図14のフローチ
ャートで示される処理は、前述の図4において、ラスタ
フォント生成手段222b が出力するラスタフォント2
22c と、フィルタリング手段222a が出力するフィ
ルタのドット数Fやハーフトーンフォントのメッシュ数
Hやラスタフォントデータのドット数Nと、フィルタ関
数手段222e とに従って、表示用フォント223を生
成し、これをフォント生成モジュール222から出力す
る。
That is, the processing shown in the flow charts of FIGS. 13 and 14 is the same as that of the raster font 2 output by the raster font generating means 222b in FIG.
22c, a filter dot number F output from the filtering unit 222a, a mesh number H of a halftone font, a dot number N of raster font data, and a filter function unit 222e, a display font 223 is generated, and this is used as a font. Output from the generation module 222.

【0134】この図13において、まずステップ602
では、画数値変数、即ちラスタフォントの文字部分とな
っているドット(黒あるいはONになっているドット、
以降、ONになっているドットと呼ぶ)の数を1文字分
合計していく際用いられる変数に0を書き込む。この画
数値変数は、最終的には1文字分のラスタフォントのO
Nになっているドットの総数の値となる。
In FIG. 13, first, step 602
Then, the image value variable, that is, the dot that is the character part of the raster font (black or ON dot,
Hereinafter, 0 is written in a variable used when the number of ON dots) is summed up for one character. This stroke value variable is finally the O of the raster font for one character.
This is the total number of N dots.

【0135】ステップ604では、最大値変数、即ち1
文字分の各メッシュのメッシュ値を比較していき、メッ
シュ単位のONになっているドットの数の最大値を得る
際用いられる変数に0を書き込む。
At step 604, the maximum value variable, that is, 1
By comparing the mesh values of the respective meshes of characters, 0 is written in the variable used to obtain the maximum value of the number of ON dots in each mesh.

【0136】ステップ606では、変数i 、即ちi 行、
j 列の合計i ×j 個のメッシュを順に処理する際に、行
をカウントするための変数に0を書き込む。
At step 606, the variable i, i row,
When sequentially processing a total of i × j meshes in j columns, 0 is written in a variable for counting rows.

【0137】ステップ608では、変数j 、即ちi 行、
j 列のメッシュを順に処理する際の、列のカウントに用
いられる変数に0を書き込む。
At step 608, the variable j, that is, the i-th row,
Write 0 to the variable used to count the columns when processing the j-th column mesh in sequence.

【0138】ステップ610では、メッシュ値SFij、
即ち合計H×H個の各メッシュのONになっているドッ
トの数を書き込む合計H×H個の変数SF00〜SF
(H−1)(H−1)のうちのi 行目且つj 列目の変数
に0を書き込む。
At step 610, the mesh values SFij,
That is, a total of H × H variables SF00 to SF for writing the number of ON dots of each mesh of total H × H
(H-1) 0 is written in the variable in the i-th row and the j-th column of (H-1).

【0139】ステップ612では、i 行目且つj 列目の
メッシュ値SFijに、メッシュ値、即ち該当するi 行目
且つj 列目のメッシュのフィルタ内のONになっている
ドットの数を書き込む。
In step 612, the mesh value, that is, the number of ON dots in the filter of the corresponding mesh of the i-th row and the j-th column is written in the mesh value SFij of the i-th row and the j-th column.

【0140】ステップ614及び616では、最大値変
数とメッシュ値SFijとを比較して、最大値変数の値よ
りもメッシュ値SFijの値の方が大きい場合には、該最
大値変数に該メッシュ値SFijの値を書き込む。
In steps 614 and 616, the maximum value variable is compared with the mesh value SFij. If the mesh value SFij is larger than the value of the maximum value variable, the mesh value is assigned to the maximum value variable. Write the value of SFij.

【0141】ステップ618では、画数値変数の値にメ
ッシュ値SFijの値を加算して、この値を該画数値変数
に書き込む。
At step 618, the value of the mesh value SFij is added to the value of the image value variable, and this value is written in the image value variable.

【0142】ステップ620では、変数j のインクリメ
ント(値を“1”だけ増加)する。
At step 620, the variable j is incremented (the value is increased by "1").

【0143】ステップ622では、インクリメントされ
た変数j の値が、1文字分のメッシュの列数Hと等しく
なったか判断して、等しい場合にはステップ624へ進
み、等しくはない場合にはステップ610の前方へ分岐
する。
At step 622, it is judged whether the value of the incremented variable j is equal to the number H of columns of the mesh for one character. If they are equal, the process proceeds to step 624. If they are not equal, the process proceeds to step 610. Branch ahead of.

【0144】ステップ624では、変数i のインクリメ
ントを行う。
At step 624, the variable i is incremented.

【0145】ステップ626では、インクリメントされ
た変数i の値が、1文字分のメッシュの行数Hの値と等
しいか判断し、等しい場合には図14のステップ640
へ進み、等しくはない場合にはステップ608の前方へ
分岐する。
At step 626, it is judged whether the value of the incremented variable i is equal to the value of the number of rows H of the mesh for one character, and if they are equal, step 640 of FIG.
If not, the process branches to the front of step 608.

【0146】ステップ640では、生成するハーフトー
ンフォントのメッシュ数Hにより、フィルタ関数を用い
る際に必要となるパラメータΔの値を決定する。
At step 640, the value of the parameter Δ required when using the filter function is determined by the number H of halftone font meshes to be generated.

【0147】このステップ640におけるパラメータΔ
の値の決定は、前述の図12に対応するデータが書き込
まれた所定のメモリテーブルに従って行われる。
The parameter Δ in this step 640
The value of is determined according to a predetermined memory table in which the data corresponding to FIG. 12 described above is written.

【0148】ステップ642では、生成するハーフトー
ンフォントのメッシュ数Hと画数値変数に従って、各メ
ッシュのメッシュ値SFijの値から、各メッシュの階調
値Pijを求める際に用いられる補正値を決定する。
In step 642, a correction value used in obtaining the gradation value Pij of each mesh is determined from the value of the mesh value SFij of each mesh according to the number H of halftone font meshes to be generated and the image numerical variable. .

【0149】このステップ642における補正値の決定
方法は、次の通りである。
The method of determining the correction value in step 642 is as follows.

【0150】まず、前述のステップ618等で求められ
た画数値変数とラスタフォントデータの総ドット数(N
×N)と次式に従って、ドットの割合、即ちラスタフォ
ントデータの1文字分の全ドットのうちONになってい
るドットの割合を求める。
First, the image numerical value variable obtained in step 618 and the like and the total number of dots of raster font data (N
XN) and the following equation, the ratio of dots, that is, the ratio of ON dots of all dots for one character of raster font data is obtained.

【0151】 ドットの割合(%)=(画数値/(N×N))×100 …(7)Dot ratio (%) = (image value / (N × N)) × 100 (7)

【0152】この(7)式で求められたドットの割合か
ら、補正値は次のように求められる。
The correction value is obtained as follows from the dot ratio obtained by the equation (7).

【0153】 ドットの割合<6%の場合 :補正値=4 …(8a ) 6%≦ドットの割合≦8%の場合:補正値=2×(8−ドットの割合) …(8b ) 上記及び以外の場合 :補正値=0 …(8c )When dot ratio <6%: correction value = 4 (8a) 6% ≦ dot ratio ≦ 8%: correction value = 2 × (8-dot ratio) (8b) Other than: Correction value = 0 (8c)

【0154】このような処理を行うステップ642の次
に、ステップ644では、メッシュの行数をカウントす
る変数i に0を書き込む。
After step 642 for performing such processing, in step 644, 0 is written in the variable i for counting the number of rows of the mesh.

【0155】続いて、ステップ646では、メッシュの
列数をカウントする変数j に0を書き込む。
Then, in step 646, 0 is written in the variable j for counting the number of mesh columns.

【0156】ステップ648では、i 行目且つj 列目の
メッシュのメッシュ値SFijと、最大値変数と、パラメ
ータΔと、次式に従って、i 行目且つj 列目のメッシュ
の階調値Pijの値を求める。
In step 648, the mesh value SFij of the mesh in the i-th row and the j-th column, the maximum value variable, the parameter Δ, and the gradation value Pij of the mesh in the i-th row and the j-th column are calculated according to the following equation. Find the value.

【0157】 Pij=16×SFij/(最大値−Δ) …(9)Pij = 16 × SFij / (maximum value−Δ) (9)

【0158】ステップ650及び652では、前記
(9)式に従ってステップ648で求められた階調値P
ijの値が0より大きいか判断し、該階調値Pijが0より
大きい場合には、該階調値に前述のステップ642で求
められた補正値を加え、これを階調値Pijとする。即
ち、文字部分のメッシュの階調値Pijにのみ、補正値を
加え、背景部分のメッシュの階調値Pijには補正値を加
えない。
In steps 650 and 652, the gradation value P obtained in step 648 according to the equation (9) is calculated.
It is determined whether the value of ij is larger than 0. If the gradation value Pij is larger than 0, the correction value obtained in step 642 described above is added to the gradation value, and this is set as the gradation value Pij. . That is, the correction value is added only to the gradation value Pij of the mesh of the character portion, and the correction value is not added to the gradation value Pij of the mesh of the background portion.

【0159】ステップ654及び656では、階調値P
ijが15よりも大きいか判断し、階調値Pijが15より
も大きい場合には、階調値Pijの値を15とする。
In steps 654 and 656, the gradation value P
It is determined whether ij is larger than 15, and if the gradation value Pij is larger than 15, the value of the gradation value Pij is set to 15.

【0160】ステップ658では、メッシュの列数をカ
ウントする変数j をインクリメントする。
In step 658, the variable j for counting the number of mesh columns is incremented.

【0161】ステップ660では、変数j が1文字分の
メッシュの列数Hと等しいか判断し、変数j がHである
場合にはステップ662へ進み、等しくはない場合には
ステップ648の前方へ分岐する。
In step 660, it is determined whether the variable j is equal to the number H of columns of the mesh for one character. If the variable j is H, the process proceeds to step 662, and if it is not equal, the process proceeds to the front of step 648. Branch off.

【0162】ステップ662では、メッシュの行数をカ
ウントする変数i のインクリメントを行う。
At step 662, the variable i for counting the number of rows of the mesh is incremented.

【0163】ステップ664では、メッシュの行数をカ
ウントする変数i の値が1文字分のメッシュの行数Hと
等しいか判断し、変数i が行数Hと等しい場合には、以
上説明した図13及び図14のフローチャートに示され
る処理を全て終了する。一方、このステップ664で変
数i が行数Hと等しくないと判断された場合には、ステ
ップ646の前方へ分岐する。
At step 664, it is judged whether or not the value of the variable i for counting the number of rows of the mesh is equal to the number H of rows of the mesh for one character, and if the variable i is equal to the number H of rows, 13 and all the processes shown in the flowchart of FIG. 14 are terminated. On the other hand, if it is determined in step 664 that the variable i is not equal to the number H of rows, the process branches to the front of step 646.

【0164】以上説明した通り、図13及び図14のフ
ローチャートに示される処理を行うことにより、1文字
分の各メッシュのメッシュ値から1文字分の各メッシュ
の階調値を求めることができ、所望の文字のハーフトー
ンフォントを生成することができる。又、このハーフト
ーンフォント生成の際、図11を用いて前述したフィル
タ関数を用いることができるだけでなく(ステップ64
0、648〜656等及び(9)式に相当)、(7)式
および(8a )式から(8c )式を用いて前述した補正
をも行うことができ(ステップ642、652等に相
当)、生成されるハーフトーンフォントの品位を向上さ
せることができる。
As described above, by performing the processing shown in the flowcharts of FIGS. 13 and 14, the tone value of each mesh for one character can be obtained from the mesh value of each mesh for one character, A halftone font of the desired character can be generated. Further, not only the filter function described above with reference to FIG. 11 can be used in the generation of this halftone font (step 64).
0, 648 to 656, etc. and Eq. (9)), Eqs. (7) and (8a) to (8c) can be used to perform the above-mentioned correction (equivalent to steps 642, 652, etc.). , The quality of the generated halftone font can be improved.

【0165】以上説明したとおり、本実施例では、図4
及び図5等を用いて前述したとおり、表示部220のフ
ォント生成モジュール222等において本発明が適用さ
れている。
As described above, in this embodiment, as shown in FIG.
As described above with reference to FIG. 5 and the like, the present invention is applied to the font generation module 222 and the like of the display unit 220.

【0166】従って、本実施例によれば、1文字の大き
さが異なるハーフトーンフォントを生成する場合等に
も、生成されたハーフトーンフォント間での平均階調
(それぞれのハーフトーンフォントの明るさ)等の較差
を低減して、該ハーフトーンフォントを用いた表示や印
字品位を向上させることが可能であるという優れた効果
を得ることができる。
Therefore, according to this embodiment, even when halftone fonts in which the size of one character is different are generated, the average gradation between the generated halftone fonts (the brightness of each halftone font is different). It is possible to obtain an excellent effect that it is possible to improve the display quality and the print quality using the halftone font by reducing the difference such as the above.

【0167】又、本実施例では、前述のように、フィル
タ322を構成するドット数Fの値が、2のべき乗であ
る“8“となっており、前述の如く、ラスタフォント2
22c のメモリ利用効率の向上や、ハーフトーンフォン
ト生成手段222d の処理能率の向上を図ることができ
ている。
Further, in the present embodiment, as described above, the value of the number F of dots forming the filter 322 is "8" which is a power of 2, and as described above, the raster font 2 is used.
It is possible to improve the memory use efficiency of 22c and the processing efficiency of the halftone font generating means 222d.

【0168】[0168]

【発明の効果】以上説明したとおり、本発明によれば、
1文字の大きさが異なるハーフトーンフォントを生成す
る場合等にも、生成されたハーフトーンフォント間での
平均階調(それぞれのハーフトーンフォントの明るさ)
等の較差を低減して、該ハーフトーンフォントを用いた
表示や印字品位を向上させることが可能なハーフトーン
フォント生成装置を提供することができるという優れた
効果を得ることができる。
As described above, according to the present invention,
Even when generating halftone fonts in which the size of one character is different, the average gradation between the generated halftone fonts (brightness of each halftone font)
It is possible to obtain an excellent effect that it is possible to provide a halftone font generating apparatus capable of improving the display quality and the printing quality using the halftone font by reducing the difference between the above.

【0169】又、本発明においてフィルタを構成するド
ット数を2のべき乗とした場合には、前記第1の目的に
加え、1文字の大きさが異なるハーフトーンフォントを
生成する場合の、ハーフトーンフォント生成時間を短縮
することが可能であるという効果をも得ることができ
る。
Further, in the present invention, when the number of dots forming the filter is a power of 2, in addition to the first object, halftone fonts for generating halftone fonts in which the size of one character is different are used. It is also possible to obtain the effect that the font generation time can be shortened.

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

【図1】図1は、本発明の要旨を示すブロック図であ
る。
FIG. 1 is a block diagram showing the gist of the present invention.

【図2】図2は、本発明の実施例の全体構成図である。FIG. 2 is an overall configuration diagram of an embodiment of the present invention.

【図3】図3は、前記実施例による組版のイメージ図で
ある。
FIG. 3 is an image diagram of typesetting according to the embodiment.

【図4】図4は、前記実施例の表示部のブロック図であ
る。
FIG. 4 is a block diagram of a display unit of the above embodiment.

【図5】図5は、前記実施例における、ラスタフォント
とハーフトーンフォントとフィルタとの関係を示す線図
である。
FIG. 5 is a diagram showing a relationship among a raster font, a halftone font, and a filter in the above embodiment.

【図6】図6は、前記実施例のハーフトーンフォント生
成処理のフローチャートである。
FIG. 6 is a flowchart of a halftone font generation process of the above embodiment.

【図7】図7は、前記実施例が対象とする文字例を示す
線図である。
FIG. 7 is a diagram showing a character example targeted by the embodiment.

【図8】図8は、前記文字例の横線情報の抽出及び残り
部分を示す線図である。
FIG. 8 is a diagram showing extraction and remaining portion of horizontal line information of the character example.

【図9】図9は、前記実施例における、横線の幅方向の
位置修正の説明図(補正前)である。
FIG. 9 is an explanatory diagram (before correction) of position correction in the width direction of the horizontal line in the embodiment.

【図10】図10は、前記実施例における、横線の幅方
向の位置修正の説明図(補正後)である。
FIG. 10 is an explanatory diagram (after correction) of position correction of the horizontal line in the width direction in the embodiment.

【図11】図11は、前記実施例に用いられるフィルタ
関数手段の関数を示すグラフである。
FIG. 11 is a graph showing the function of the filter function means used in the above embodiment.

【図12】図12は、前記実施例における、生成するハ
ーフトーンフォントのメッシュ数と、前記フィルタ関数
手段のパラメータΔとの関係を示す線図である。
FIG. 12 is a diagram showing a relationship between the number of meshes of a halftone font to be generated and the parameter Δ of the filter function means in the embodiment.

【図13】図13は、前記実施例における、ハーフトー
ンフォント展開処理を示すフローチャートの前半のフロ
ーチャートである。
FIG. 13 is a first half of a flowchart showing a halftone font developing process in the embodiment.

【図14】図14は、前記実施例における、ハーフトー
ンフォント展開処理を示すフローチャートの後半のフロ
ーチャートである。
FIG. 14 is a second half of the flowchart showing the halftone font development processing in the embodiment.

【図15】図15は、従来のハーフトーンフォント生成
装置に用いられているフィルタ関数のグラフである。
FIG. 15 is a graph of a filter function used in a conventional halftone font generation device.

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

100…ハーフトーンフォント生成装置、 102…元フォント、 108…フィルタリング手段、 110…ラスタフォント生成手段、 112…ラスタフォント、 116…ハーフトーンフォント生成手段、 120…ハーフトーンフォント、 200…フォントアクセラレータ、 210…組版部、 211…組版モジュール、 212…プロポーショナル処理モジュール、 213…ハイフネーション処理モジュール、 214…禁則処理モジュール、 215…レイアウトデータ、 220…表示部、 221…表示モジュール、 222…フォント生成モジュール、 222a …フィルタリング手段、 222b …ラスタフォント生成手段、 222c …ラスタフォント、 222d …ハーフトーンフォント生成手段、 222e …フィルタ関数手段、 223…表示用フォント、 230…ベクタフォントデータ、 250…入力データ、 250a …文書データ、 250b …図形データ、 250c …組版指示データ、 260…パーソナルコンピュータ、 260a …CRT表示装置、 320…ラスタフォントデータ、 320a …ハーフトーンフォントのメッシュ、 322…フィルタ、 330a …補正前の横線、 330b …補正後の横線、 H…ハーフトーンフォントを構成するメッシュ数、 F…フィルタを構成するドット数、 N…ラスタフォントを構成するドット数、 Δ…フィルタ関数のパラメータ。 100 ... Halftone font generation device, 102 ... Original font, 108 ... Filtering means, 110 ... Raster font generation means, 112 ... Raster font, 116 ... Halftone font generation means, 120 ... Halftone font, 200 ... Font accelerator, 210 ... typesetting section, 211 ... typesetting module, 212 ... proportional processing module, 213 ... hyphenation processing module, 214 ... prohibition processing module, 215 ... layout data, 220 ... display section, 221 ... display module, 222 ... font generation module, 222a ... Filtering means 222b ... Raster font generation means, 222c ... Raster font, 222d ... Halftone font generation means, 222e ... Filter function means, 223 ... Display font, 230 ... Vector font data, 250 ... Input data, 250a ... Document data, 250b ... Graphic data, 250c ... Formatting instruction data, 260 ... Personal computer, 260a ... CRT display device, 320 ... Raster font data, 320a ... Halftone font mesh, 322 ... Filter, 330a ... Horizontal line before correction, 330b ... Horizontal line after correction, H ... Number of meshes that make up a halftone font, F ... Number of dots that make up a filter, N ... Make up a raster font Number of dots to be set, Δ ... Parameter of filter function.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 H04N 1/23 Z 9186−5C ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification code Internal reference number FI Technical indication H04N 1/23 Z 9186-5C

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】CRT画面に文字を表示する際等に用いら
れる、各メッシュが多段階の階調であるハーフトーンフ
ォントを、該ハーフトーンフォントより細かい、2階調
のドットで構成されるラスタフォントから生成するハー
フトーンフォント生成手段を有するハーフトーンフォン
ト生成装置において、 前記ハーフトーンフォント生成手段で用いられるフィル
タを構成するドットの、予め定められたドット数と、生
成する前記ハーフトーンフォントを構成するメッシュの
メッシュ数とから、前記ラスタフォントを構成するドッ
トのドット数を決定するフィルタリング手段と、 該フィルタリング手段で決定されたラスタフォントのド
ット数に従って、前記ラスタフォントを生成するラスタ
フォント生成手段と、 を備え、前記フィルタのドット数を固定値としたことを
特徴とするハーフトーンフォント生成装置。
1. A halftone font, which is used when displaying characters on a CRT screen or the like, in which each mesh has a multi-step gradation, is a raster composed of dots of two gradations finer than the halftone font. In a halftone font generating device having a halftone font generating means for generating from a font, a predetermined number of dots constituting a filter used in the halftone font generating means and the halftone font for generating are constituted. Filtering means for determining the number of dots constituting the raster font from the number of meshes of the mesh to be formed, and raster font generating means for generating the raster font according to the number of dots of the raster font determined by the filtering means. , And the number of dots of the filter Halftone font generation apparatus being characterized in that a fixed value.
【請求項2】請求項1において、 前記フィルタのドット数が、2のべき乗の固定値である
ことを特徴とするハーフトーンフォント生成装置。
2. The halftone font generation device according to claim 1, wherein the number of dots of the filter is a fixed value that is a power of two.
JP03238797A 1991-08-26 1991-08-26 Halftone font generator Expired - Fee Related JP3133790B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03238797A JP3133790B2 (en) 1991-08-26 1991-08-26 Halftone font generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03238797A JP3133790B2 (en) 1991-08-26 1991-08-26 Halftone font generator

Publications (2)

Publication Number Publication Date
JPH0553564A true JPH0553564A (en) 1993-03-05
JP3133790B2 JP3133790B2 (en) 2001-02-13

Family

ID=17035433

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03238797A Expired - Fee Related JP3133790B2 (en) 1991-08-26 1991-08-26 Halftone font generator

Country Status (1)

Country Link
JP (1) JP3133790B2 (en)

Also Published As

Publication number Publication date
JP3133790B2 (en) 2001-02-13

Similar Documents

Publication Publication Date Title
JP2007058868A (en) Method and system for providing substitute computer font
JP3474037B2 (en) Character pattern generator
JP3481136B2 (en) Character font generation method and apparatus therefor, and computer-readable recording medium recording character font generation program
US6195473B1 (en) Non-integer scaling of raster images with image quality enhancement
JPH07149005A (en) Document forming apparatus
JP2909273B2 (en) Outline font line width adjusting method and apparatus
JP3014247B2 (en) Character generation method and device
EP1093078A2 (en) Reducing apprearance differences between coded and noncoded units of text
JP3037854B2 (en) Character generation method and device
JP3133790B2 (en) Halftone font generator
JP3133789B2 (en) Halftone font generator
JP3416489B2 (en) Font processing device and recording medium recording font processing program
JP3133787B2 (en) Halftone font generator
JP3133788B2 (en) Halftone font generator
JP3055187B2 (en) Contour data processing device
JPH0443396A (en) Character pattern generating device
US6259535B1 (en) Print image-forming method and device
JPH06175639A (en) Method and device for character generation
JPS6157347A (en) Controller of printer
JPH06175638A (en) Method and device for character generation
JPH0661960B2 (en) Dot interpolation control device
JP2842157B2 (en) Character outline correction method for printer
JPH0580741A (en) System and device for character font generation
JP2800865B2 (en) Character processor
JPH11190990A (en) Outline font displaying and printing method

Legal Events

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