JP2001034256A - Font generating device, font generating method, computer readable recording medium and game device - Google Patents

Font generating device, font generating method, computer readable recording medium and game device

Info

Publication number
JP2001034256A
JP2001034256A JP11208684A JP20868499A JP2001034256A JP 2001034256 A JP2001034256 A JP 2001034256A JP 11208684 A JP11208684 A JP 11208684A JP 20868499 A JP20868499 A JP 20868499A JP 2001034256 A JP2001034256 A JP 2001034256A
Authority
JP
Japan
Prior art keywords
dot
dots
font
data
brightness
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
JP11208684A
Other languages
Japanese (ja)
Inventor
Kazuto Yoshida
和人 吉田
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.)
Square Enix Co Ltd
Original Assignee
Square 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 Square Co Ltd filed Critical Square Co Ltd
Priority to JP11208684A priority Critical patent/JP2001034256A/en
Publication of JP2001034256A publication Critical patent/JP2001034256A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a font generating device capable of generating font data with which characters in which jaggedness are not conspicuous are displayed based on preexisting font data. SOLUTION: This font generating device is constituted so that font data expressing a dot pattern 300 which is consisted of dots of the same number as that of a dot pattern 200 expressed by bit map data 50 and in which brightness of respective dots are decided according to ratios among corresponding dots of the dot pattern 200 and white dots and black dots existing the surroundings of the dots are generated on the basis of the bit map data 50 produced based on the preexisting font data.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ディスプレイに文
字、記号等を表示するために用いられるフォントデータ
を作成するフォント生成装置、フォント生成方法、コン
ピュータ読取可能な記録媒体と、そのようなフォントデ
ータが使用されたゲーム装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a font generating apparatus, a font generating method, a computer-readable recording medium for generating font data used for displaying characters, symbols, and the like on a display, and such a font data. The present invention relates to a game device in which is used.

【0002】[0002]

【従来の技術】周知のように、ワードプロセッサやコン
ピュータにおいては、文字を表示するために、その文字
を表すドットパターンがディスプレイの画面上に描画さ
れている。そして、コンピュータ等には、そのドットパ
ターンを生成するための元データとして、各ドットに2
色(黒、白)のいずれかが割り当てられたドットパター
ンを生成することができるデータ(文字の形状のみを規
定したデータ)を保持した複数種類のフォント(フォン
トファイル)がインストールされている。
2. Description of the Related Art As is well known, in a word processor or a computer, in order to display a character, a dot pattern representing the character is drawn on a display screen. Then, a computer or the like supplies two dots to each dot as original data for generating the dot pattern.
A plurality of fonts (font files) holding data (data defining only the shape of characters) capable of generating a dot pattern to which one of colors (black, white) is assigned are installed.

【0003】[0003]

【発明が解決しようとする課題】文字の表示が行なわれ
るディスプレイが解像度の高いものであった場合、その
文字を表すドットパターンとして多数のドットからなる
ものを使用することができる。従って、フォントファイ
ル内のデータから直接的に生成した2色のドットからな
るドットパターンでその文字を表現しても、ディスプレ
イに表示される文字が見にくい(種類を識別しにくい)
ものとなることはない。
When a display on which a character is displayed has a high resolution, a dot pattern representing the character can be composed of a large number of dots. Therefore, even if the character is represented by a dot pattern composed of two-color dots directly generated from the data in the font file, the character displayed on the display is difficult to see (it is difficult to identify the type).
It doesn't matter.

【0004】しかしながら、当該文字の表示が行なわれ
るディスプレイが解像度の低いものであった場合には、
その文字を表すドットパターンとして、より少ない数の
ドットからなるものを使用しなければならない。このた
め、フォントファイル内のデータから直接的に生成した
ドットパターンを低解像度のディスプレイに表示させた
場合、文字の曲線、斜線部分がぎざぎざ(ジャギーと呼
ばれる)となり、表示される文字が見にくいものとなる
ことがあった。
[0004] However, if the display on which the character is displayed has a low resolution,
A dot pattern representing a smaller number of dots must be used as the dot pattern representing the character. For this reason, when a dot pattern directly generated from the data in the font file is displayed on a low-resolution display, the character curves and diagonal lines become jagged (called jaggy), and the displayed characters are difficult to see. There was something.

【0005】このような問題が生ずるのを防ぐために、
低解像度のディスプレイに文字表示を行う必要がある場
合(例えば、ゲーム装置に接続されたテレビに、文字が
表された画面を表示する場合)には、人手により全く新
規に、或いは、既存の2階調ドットパターンを加工し
て、作成した文字を表す多階調の(中間色を含む)ドッ
トパターンを文字表示に用いることが行なわれている。
このドットパターンの作成作業は、多大な労力が必要と
されるものであったため、ジャギーが目立たないドット
パターンを表示できるフォントデータを容易に作成でき
る技術が望まれている。
In order to prevent such a problem from occurring,
When it is necessary to display characters on a low-resolution display (for example, when displaying a screen on which characters are displayed on a television connected to a game device), a completely new or existing 2 2. Description of the Related Art A multi-tone dot pattern (including an intermediate color) representing a character created by processing a gradation dot pattern is used for character display.
Since the work of creating the dot pattern requires a great deal of labor, a technique for easily creating font data that can display a dot pattern with less noticeable jaggies is desired.

【0006】なお、ジャギーが目立たないドットパター
ンを自動生成する技術としては、特開平6−25063
3号公報に記載のものが知られている。この技術では、
ある文字に関するn×nドットの表示用のドットパター
ンを作成するに際して、まず、その文字に関する(k×
n)×(k×n)ドットのドットパターンが作成され
る。すなわち、1ブロック当り互いに隣接するk×k個
のドットで構成された、n×n個のブロックからなるド
ットパターンが作成される。そして、作成されたドット
パターンに含まれる各ブロック内の黒ドット数に応じた
階調(明度)のドットを、各ブロックに対応する位置に
有する表示用のドットパターンが作成されている。
A technique for automatically generating a dot pattern in which jaggies are not noticeable is disclosed in Japanese Patent Laid-Open No. 6-25063.
No. 3 is known. With this technology,
When creating an n × n dot display dot pattern for a character, first, (k ×
A dot pattern of (n) × (k × n) dots is created. That is, a dot pattern composed of n × n blocks composed of k × k dots adjacent to each other per block is created. Then, a display dot pattern having dots of gradation (brightness) corresponding to the number of black dots in each block included in the created dot pattern at positions corresponding to each block is created.

【0007】この技術によれば、ジャギーが目立たない
ドットパターンを得ることができる。ただし、上記手順
から明らかなように、この技術を用いて、ある解像度の
ドットパターンを得るためには、より高い解像度のドッ
トパターン(1文字を構成するドット数がより多いドッ
トパターン)を用意することが必要である。アウトライ
ン形式のフォントデータから、高解像度のドットパター
ンを作成することは容易なことであるが、元々、所定解
像度のドットパターンを表すデータしか含んでいないビ
ットマップ形式のフォントデータから、高解像度のドッ
トパターンを作成することは不可能である。従って、ジ
ャギーを目立たないようにしたいフォントデータがビッ
トマップ形式のフォントデータであった場合、上記技術
を用いたのでは、そのフォントデータよりも低い解像度
のフォントデータを得ることしかできない。このよう
に、上記技術は、ビットマップ形式のフォントデータか
ら同じ解像度のフォントデータを得ることができないも
の、すなわち、適用できるフォントが限られたものとな
っている。
According to this technique, it is possible to obtain a dot pattern in which jaggies are inconspicuous. However, as is apparent from the above procedure, in order to obtain a dot pattern of a certain resolution using this technique, a dot pattern of a higher resolution (a dot pattern having a larger number of dots constituting one character) is prepared. It is necessary. Although it is easy to create a high-resolution dot pattern from outline-format font data, a high-resolution dot pattern is originally derived from bitmap-format font data that contains only data that represents a dot pattern with a predetermined resolution. It is impossible to create patterns. Therefore, if the font data for which jaggy is to be made inconspicuous is bitmap format font data, font data having a resolution lower than that of the font data can only be obtained by using the above technique. As described above, in the above technique, font data having the same resolution cannot be obtained from font data in the bitmap format, that is, the applicable fonts are limited.

【0008】そこで、本発明の課題は、どのような形式
のフォントデータからでも、ジャギーが目立たないフォ
ント(文字)を表すフォントデータを容易に生成するこ
とができるフォント生成装置、フォント生成方法、コン
ピュータにフォント生成方法を実行させることができる
コンピュータ読取可能な記録媒体を提供することにあ
る。
An object of the present invention is to provide a font generating apparatus, a font generating method, and a computer, which can easily generate font data representing a font (character) in which jaggies are inconspicuous from any type of font data. It is an object of the present invention to provide a computer-readable recording medium that allows a computer to execute a font generation method.

【0009】また、本発明の他の課題は、認識しやすい
文字情報が表示されるゲーム装置を提供することにあ
る。
Another object of the present invention is to provide a game device which displays character information that is easy to recognize.

【0010】[0010]

【課題を解決するための手段】本発明では、上記課題を
解決するために、以下の構成を採用した。
In order to solve the above-mentioned problems, the present invention employs the following configuration.

【0011】本発明のフォント生成装置は、入力された
フォントデータに基づいて、ビットマップ展開を行い、
白ドットと黒ドットからなるドットマトリックスを生成
する生成手段と、生成手段によって生成されたドットマ
トリックスから、ドットマトリックスを構成するドット
毎に、そのドットを注目ドットとした、注目ドット及び
その周辺ドットからなるブロックを切り出す切出手段
と、切出手段によって切り出された各ブロック内の注目
ドットの色及び周辺ドットを構成している白ドットと黒
ドットの比率に応じて、切出手段で切り出されたブロッ
ク内の注目ドットの明度を決定する決定手段と、決定手
段によって決定された各明度にしたがって、注目ドット
ごとの、R、G、B、それぞれの階調値を算出する算出
手段と、算出手段で算出された各階調値を各ブロック内
の切出手段で切り出された注目ドットに対応する位置の
ドットに関するデータとして、フォントデータを生成す
るフォントデータ生成手段と、を備える。
[0011] The font generating apparatus of the present invention performs bitmap development based on the input font data,
A generating unit that generates a dot matrix composed of white dots and black dots, and a dot matrix generated by the generating unit. For each dot constituting the dot matrix, the dot is set as a target dot. And a cut-out unit that cuts out the block according to the color of the dot of interest in each block cut out by the cut-out unit and the ratio of white dots to black dots that constitute the surrounding dots. Determining means for determining the brightness of the dot of interest in the block; calculating means for calculating R, G, B, and respective tone values for each dot of interest according to the brightness determined by the determining means; The tone values calculated in step (1) are converted to data on the dot at the position corresponding to the target dot cut out by the cutout means in each block. As includes a font data generating means for generating a font data.

【0012】すなわち、本発明のフォント生成装置で
は、最終出力であるフォントデータを得るために使用さ
れるドットマトリックスが、生成手段によって、既存の
フォントデータに基づき生成される。そして、そのドッ
トマトリックスに基づき、切出手段、決定手段等によ
り、当該ドットマトリックスと同じ数のドットを表すフ
ォントデータであって、各ドットの階調値が、当該ドッ
トマトリックスの対応するドットとその周囲に存在する
白ドットと黒ドットの比率に応じて定められた明度に基
づき算出されたフォントデータが生成される。
That is, in the font generating apparatus according to the present invention, the dot matrix used for obtaining the final output font data is generated by the generating means based on the existing font data. Then, based on the dot matrix, font data representing the same number of dots as the dot matrix is determined by the extracting unit, the determining unit, etc., and the tone value of each dot is set to the corresponding dot of the dot matrix and the corresponding dot data. Font data calculated based on the brightness determined according to the ratio of the surrounding white dots and black dots is generated.

【0013】換言すれば、本発明のフォント生成装置
は、既存のフォントデータに基づき、そのフォントデー
タが表すドットパターンの各ドットの明度が、周囲のド
ットの明度に応じて調整されたドットマトリックスを表
すフォントデータを作成する機能を有する。従って、本
装置を用いれば、その元となるフォントデータがどのよ
うなタイプのフォントデータであっても、テレビのよう
な低解像度のディスプレイにジャギーが目立たないドッ
トマトリックスを表示させることができるフォントデー
タを、容易に得られることになる。
In other words, the font generating apparatus of the present invention generates a dot matrix in which the brightness of each dot of the dot pattern represented by the font data is adjusted according to the brightness of surrounding dots based on the existing font data. It has a function of creating font data to be represented. Therefore, if the present apparatus is used, it is possible to display a dot matrix in which a jaggy is inconspicuous on a low-resolution display such as a television, regardless of the type of font data from which the font data is based. Can be easily obtained.

【0014】また、本発明のフォント生成装置を実現す
るに際しては、切出手段として、注目ドット及びその上
下左右に位置する4個のドットからなるブロックを切り
出す手段を採用することができる。
In implementing the font generating apparatus of the present invention, a means for cutting out a block consisting of a dot of interest and four dots located above, below, left, and right of the dot of interest can be employed.

【0015】また、本発明のフォント生成装置を実現す
るに際して、切出手段で切り出されるブロックにおけ
る、周辺ドットの中の白ドットまたは黒ドットのいずれ
か一方の数と、注目ドットの色との双方に明度を対応づ
けた明度テーブルを付加しておき、決定手段として、明
度テーブルを参照して注目ドットの明度を決定する手段
を採用しても良い。なお、フォント生成装置を、明度テ
ーブルを付加した構成とする場合、白色の注目ドットに
対応づけられた明度の方が黒色の注目ドットに対応づけ
られた明度よりも高い値に設定されている明度テーブル
を用いることができる。
In implementing the font generating apparatus of the present invention, both the number of one of white dots and black dots in the peripheral dots and the color of the target dot in the block cut out by the cutting means are used. May be added, and a means for determining the brightness of the dot of interest with reference to the brightness table may be adopted as the determining means. When the font generating apparatus is configured to add a brightness table, the brightness associated with the white attention dot is set to a higher value than the brightness associated with the black attention dot. A table can be used.

【0016】また、本発明のフォント生成装置を、フォ
ントデータ生成手段によって生成されるフォントデータ
が、フォントの輪郭が所定色で縁取りされているドット
パターンを表すものとなるように構成しても良い。
Further, the font generating apparatus of the present invention may be configured such that the font data generated by the font data generating means represents a dot pattern in which the outline of the font is bordered by a predetermined color. .

【0017】本発明のフォント生成方法は、入力された
フォントデータに基づいて、ビットマップ展開を行い、
白ドットと黒ドットからなるドットマトリックスを生成
する生成ステップと、生成ステップで生成されたドット
マトリックスから、ドットマトリックスを構成するドッ
ト毎に、そのドットを注目ドットとした、注目ドット及
びその周辺ドットからなるブロックを切り出す切出ステ
ップと、切出ステップで切り出された各ブロック内の注
目ドットの色及び周辺ドットを構成している白ドットと
黒ドットの比率に応じて切出ステップで切り出されたブ
ロック内の注目ドットの明度を決定する決定ステップ
と、決定ステップにおいて決定された各明度にしたがっ
て、注目ドットごとの、R、G、B、それぞれの階調値
を算出する算出ステップと、算出ステップで算出された
各階調値を各ブロック内の切出ステップで切り出された
注目ドットに対応する位置のドットに関するデータとし
て、フォントデータを生成するフォントデータ生成ステ
ップと、を含む。
According to the font generation method of the present invention, a bitmap is developed based on input font data,
A generation step of generating a dot matrix composed of white dots and black dots, and from the dot matrix generated in the generation step, for each dot constituting the dot matrix, the dot is set as a target dot. And a block cut out in the cutout step according to the color of the target dot in each block cut out in the cutout step and the ratio of white dots to black dots forming peripheral dots. A determination step of determining the brightness of the target dot within the calculation step; a calculation step of calculating R, G, B, and respective tone values for each target dot in accordance with each brightness determined in the determination step; Each of the calculated tone values corresponds to the target dot cut out in the cutting step in each block. As the data relating to the position of dots, comprising a font data generating step of generating font data.

【0018】このように、本発明のフォント生成方法で
は、既存のフォントデータに基づき、そのフォントデー
タが表す各ドットの明度が、周囲のドットの明度に応じ
て調整されたドットパターンを表すフォントデータが生
成される。従って、本方法を用いれば、その元となるフ
ォントデータがどのようなタイプのフォントデータであ
っても、低解像度のディスプレイにジャギーが目立たな
いドットパターンを表示させることができるフォントデ
ータを、容易に得られることになる。
As described above, according to the font generation method of the present invention, based on the existing font data, the brightness of each dot represented by the font data is adjusted by the font data representing the dot pattern adjusted according to the brightness of the surrounding dots. Is generated. Therefore, by using this method, it is possible to easily generate font data that can display a dot pattern with less jaggies on a low-resolution display, regardless of the type of the font data as the original font data. Will be obtained.

【0019】本発明のフォント生成方法を実行するに際
して、切出ステップとして、注目ドット及びその上下左
右に位置する4個のドットからなるブロックを切り出す
ステップを採用しても良い。
When the font generating method of the present invention is executed, a step of cutting out a block composed of a target dot and four dots located above, below, left and right of the target dot may be adopted as the cutting step.

【0020】また、本発明のフォント生成方法を実行す
るに際して、切出ステップで切り出されるブロックにお
ける、周辺ドットの中の白ドットまたは黒ドットのいず
れか一方の数と、注目ドットの色との双方に明度を対応
づけた明度テーブルを予めメモリに記憶させておき、決
定ステップとして、明度テーブルを参照して注目ドット
の明度を決定するステップを採用しても良い。このよう
な決定ステップを採用する際には、明度テーブルを、白
色の注目ドットに対応づけられた明度の方が黒色の注目
ドットに対応づけられた明度よりも高い値に設定されて
いるものとすることができる。
In executing the font generation method of the present invention, both the number of either white or black dots in the surrounding dots and the color of the target dot in the block cut out in the cutout step are used. May be stored in a memory in advance, and a step of determining the brightness of the dot of interest with reference to the brightness table may be employed as a determining step. When adopting such a determination step, the brightness table is set such that the brightness associated with the white attention dot is set to a higher value than the brightness associated with the black attention dot. can do.

【0021】さらに、フォントデータ生成ステップで生
成されるフォントデータが、フォントの輪郭が所定色で
縁取りされているドットパターンを表すものとなる形態
で、本発明のフォント生成方法を実行しても良い。
Further, the font generating method of the present invention may be executed in a form in which the font data generated in the font data generating step represents a dot pattern in which the outline of the font is bordered by a predetermined color. .

【0022】そして、本発明のコンピュータ読取可能な
記録媒体は、入力されたフォントデータに基づいて、ビ
ットマップ展開を行い、白ドットと黒ドットからなるド
ットマトリックスを生成する生成ステップと、生成ステ
ップで生成されたドットマトリックスから、ドットマト
リックスを構成するドット毎に、そのドットを注目ドッ
トとした、注目ドット及びその周辺ドットからなるブロ
ックを切り出す切出ステップと、切出ステップで切り出
された各ブロック内の注目ドットの色及び周辺ドットを
構成している白ドットと黒ドットの比率に応じて切出ス
テップで切り出されたブロック内の注目ドットの明度を
決定する決定ステップと、決定ステップにおいて決定さ
れた各明度にしたがって、注目ドットごとの、R、G、
B、それぞれの階調値を算出する算出ステップと、算出
ステップで算出された各階調値を各ブロック内の切出手
段で切り出された注目ドットに対応する位置のドットに
関するデータとして、フォントデータを生成するフォン
トデータ生成ステップと、をコンピュータに実行させる
ためのプログラムを記録してなる。
The computer-readable recording medium of the present invention includes a generating step of performing bitmap development based on the input font data to generate a dot matrix composed of white dots and black dots, and a generating step. From the generated dot matrix, for each dot constituting the dot matrix, a cutout step of cutting out a block composed of the target dot and its surrounding dots, with the dot being the target dot, and the inside of each block cut out by the cutout step Determining the brightness of the target dot in the block cut out in the cut-out step in accordance with the color of the target dot and the ratio of the white dot and the black dot forming the surrounding dots. According to each brightness, R, G,
B, a calculating step of calculating each tone value, and font data as data relating to a dot at a position corresponding to the target dot cut out by the cutout means in each block using the tone values calculated in the calculating step. A program for causing a computer to execute the font data generating step to be generated is recorded.

【0023】従って、このコンピュータ読取可能な記録
媒体を用いれば、一般的なコンピュータに、本発明のフ
ォント生成方法を実行させることができることになる。
すなわち、低解像度のディスプレイに対して用いてもジ
ャギーが目立たないドットパターンが表示されることに
なるフォントデータが容易に得られることになる。
Therefore, if this computer-readable recording medium is used, a general computer can execute the font generation method of the present invention.
That is, font data that can display a dot pattern in which jaggies are inconspicuous even when used for a low-resolution display can be easily obtained.

【0024】そして、本発明のゲーム装置は、上記した
本発明のフォント生成方法で生成されたフォントデータ
に基づいて背景画面上に、フォント画像を表示形成する
手段を備える。従って、本発明のゲーム装置によれば、
たとえば、低解像度の家庭用テレビにおいて、ゲーム中
の画面に認識しやすい文字情報を表示することができ
る。
Further, the game device of the present invention includes means for displaying and forming a font image on a background screen based on the font data generated by the above-described font generating method of the present invention. Therefore, according to the game device of the present invention,
For example, in a low-resolution home television, easily recognizable character information can be displayed on a screen during a game.

【0025】[0025]

【発明の実施の形態】以下、本発明の実施の形態を図面
を参照して具体的に説明する。
Embodiments of the present invention will be specifically described below with reference to the drawings.

【0026】<第1実施形態><First Embodiment>

【0027】本発明の第1実施形態に係るフォント生成
装置は、既存の、アウトライン形式やビットマップ形式
のフォントデータに基づき、ジャギーが目立たないドッ
トパターン(フォントパターン)を表示できるフォント
データを生成するための装置である。
The font generating apparatus according to the first embodiment of the present invention generates font data capable of displaying a dot pattern (font pattern) in which jaggies are inconspicuous, based on existing outline format and bitmap format font data. It is a device for.

【0028】図1に、第1実施形態に係るフォント生成
装置を用いたフォント生成システムの構成を示す。図示
したように、フォント生成システムは、例えば、ディス
プレイ11と入力装置12とフォント生成装置13とを
備える。フォント生成装置13は、例えば、制御部2
1、HDD(hard disk drive)23、通信制御回路2
4、ディスプレイ制御回路25、インタフェース回路2
6、FD(フレキシブルディスク)ドライブ27、CD
−ROM(compact disc read‐only memory)ドライブ2
8、及び、これらを相互に接続するバス29を、主な構
成要素として備える。
FIG. 1 shows the configuration of a font generation system using the font generation device according to the first embodiment. As illustrated, the font generation system includes, for example, a display 11, an input device 12, and a font generation device 13. The font generation device 13 includes, for example, the control unit 2
1. HDD (hard disk drive) 23, communication control circuit 2
4. Display control circuit 25, interface circuit 2
6. FD (flexible disk) drive 27, CD
-ROM (compact disc read-only memory) drive 2
8 and a bus 29 interconnecting them as main components.

【0029】ディスプレイ11は、供給されたRGB信
号に応じた映像を表示する機器であり、フォント生成装
置13のディスプレイ制御回路25に接続されている。
ディスプレイ制御回路25は、VRAMを内蔵し、その
VRAMに記憶されたデータに応じたRGB信号を出力
する回路である。入力装置12は、操作者が本装置に対
して各種の指示を入力するために用いる機器(例えば、
キーボードとマウス)である。入力装置12は、制御部
21との間のデータ転送のタイミング制御等を行うイン
タフェース回路26を介してバス29(制御部21)に
接続されている。
The display 11 is a device for displaying an image corresponding to the supplied RGB signals, and is connected to the display control circuit 25 of the font generator 13.
The display control circuit 25 is a circuit having a built-in VRAM and outputting an RGB signal corresponding to data stored in the VRAM. The input device 12 is a device (for example, a device used by an operator to input various instructions to the present device).
Keyboard and mouse). The input device 12 is connected to a bus 29 (control unit 21) via an interface circuit 26 that performs timing control of data transfer with the control unit 21 and the like.

【0030】FDドライブ27、CD−ROMドライブ
28は、それぞれ、FD41、CD−ROM42などの
記録媒体の読取装置である。通信制御回路24は、通信
回線43を介して、ネットワーク40に接続された他機
器との間で通信を行うための回路である。
The FD drive 27 and the CD-ROM drive 28 are devices for reading recording media such as the FD 41 and the CD-ROM 42, respectively. The communication control circuit 24 is a circuit for performing communication with other devices connected to the network 40 via the communication line 43.

【0031】HDD23は、プログラムや各種のデータ
をファイル化して保存しておくための補助記憶装置であ
る。HDD23には、FDドライブ27、CD−ROM
ドライブ28を用いてFD41、CD−ROM42から
インストールされたOS(operating system)、本発明の
フォント生成プログラム30、少なくとも1つのフォン
トファイル31、及び、少なくとも1つの明度テーブル
ファイル32が記憶されている。HDD23内に記憶さ
れた各フォントファイル31は、コンピュータシステム
で一般に使用されているものと同等である。すなわち、
各フォントファイル31には、文字や記号の形状を規定
した複数個のフォントデータが含まれている。明度テー
ブルファイル32は、黒ドット用明度テーブルと白ドッ
ト用明度テーブルの内容を規定するデータを含む。明度
テーブルファイル32(黒ドット用明度テーブルと白ド
ット用明度テーブル)の詳細については後述するが、フ
ォント生成装置13は、通常、HDD23内に1つの明
度テーブルファイル32が記憶された状態で運用が開始
される。
The HDD 23 is an auxiliary storage device for storing programs and various data in files. The HDD 23 has an FD drive 27, a CD-ROM
An FD 41 and an OS (operating system) installed from the CD-ROM 42 using the drive 28, a font generation program 30 of the present invention, at least one font file 31, and at least one brightness table file 32 are stored. The font files 31 stored in the HDD 23 are equivalent to those generally used in a computer system. That is,
Each font file 31 includes a plurality of font data defining the shapes of characters and symbols. The brightness table file 32 includes data defining the contents of the brightness table for black dots and the brightness table for white dots. The details of the brightness table file 32 (the brightness table for black dots and the brightness table for white dots) will be described later, but the font generating apparatus 13 is usually operated in a state where one brightness table file 32 is stored in the HDD 23. Be started.

【0032】制御部21は、CPU(central processin
g unit)21aと、ブートストラッププログラム等が記
憶されたROM(read only memory)21bと、RAM(r
andom access memory)21c等からなる。電源が投入さ
れた際、制御部21(CPU21a)は、ROM21b
内のブートストラッププログラムに従って、HDD23
内にインストールされているOSをRAM21cの所定
の記憶領域に読み出し、読み出したOSに従った制御を
開始する。そして、所定の操作が入力装置12に対して
行われたことを検出した際、制御部21は、HDD23
内のフォント生成プログラム30をRAM21c上に読
み出し、その読み出したフォント生成プログラム30に
従った制御を開始する。
The control unit 21 has a CPU (central processin).
g unit) 21a, a ROM (read only memory) 21b storing a bootstrap program and the like, and a RAM (r
andom access memory) 21c and the like. When the power is turned on, the control unit 21 (CPU 21a)
HDD 23 according to the bootstrap program in
The OS installed therein is read into a predetermined storage area of the RAM 21c, and control according to the read OS is started. When detecting that a predetermined operation has been performed on the input device 12, the control unit 21
Of the font generation program 30 in the RAM 21c, and starts control according to the read font generation program 30.

【0033】このように、第1実施形態に係るフォント
生成装置13は、一般的な構成のコンピュータに、フォ
ント生成プログラム30と少なくとも1つの明度テーブ
ルファイル32をインストールすることによって実現さ
れた装置となっている。
As described above, the font generation device 13 according to the first embodiment is a device realized by installing the font generation program 30 and at least one brightness table file 32 in a computer having a general configuration. ing.

【0034】以下、第1実施形態に係るフォント生成装
置13の動作を詳細に説明する。
Hereinafter, the operation of the font generating apparatus 13 according to the first embodiment will be described in detail.

【0035】図2は、フォント生成システム内でのフォ
ント生成装置13の全体的な動作手順を示した流れ図で
ある。なお、本フォント生成装置13の制御動作は、フ
ォント生成プログラム30に従ったCPU21aの制御
下、フォント生成装置13内の各部、ディスプレイ11
及び入力装置12が連携して動作することによって実行
される。説明の便宜上、以下では、CPU21aが関係
する制御は、CPU21aが直接的に制御しているもの
として説明を行う。
FIG. 2 is a flowchart showing the overall operation procedure of the font generation device 13 in the font generation system. The control operation of the font generation device 13 is performed under the control of the CPU 21 a according to the font generation program 30, the components in the font generation device 13, and the display 11.
And the input device 12 operates in cooperation with each other. For convenience of explanation, the following description will be made on the assumption that the control related to the CPU 21a is directly controlled by the CPU 21a.

【0036】図示したように、フォント生成装置13の
動作時には、まず、作成対象文字コード、参照フォント
名、ドット数指定情報、参照明度テーブルファイル名、
保存ファイル名が、操作者の操作を通じて取得される
(ステップS101)。
As shown in the figure, when the font generator 13 operates, first, the character code to be created, the reference font name, the dot number designation information, the reference brightness table file name,
The save file name is obtained through the operation of the operator (Step S101).

【0037】このステップS101で取得される作成対
象文字コードは、フォントデータを作成する文字(或い
は記号)である作成対象文字を指定する情報(いわゆる
文字コード)である。参照フォント名は、元データとし
て用いるフォントデータが含まれるフォントファイルを
指定する情報である。ドット数指定情報は、作成するフ
ォントデータのサイズ(縦、横方向のドット数)を指定
する情報である。なお、参照フォント名で識別されるフ
ォントファイルが、ビットマップ形式のフォントファイ
ルであった場合、ステップS101においてドット数指
定情報の取得は行なわれない。この場合、後述するステ
ップS103においてドット数指定情報が取得される。
The character code to be created obtained in step S101 is information (so-called character code) for specifying a character to be created, which is a character (or a symbol) for creating font data. The reference font name is information for specifying a font file containing font data used as original data. The dot number designation information is information for designating the size of the font data to be created (the number of dots in the vertical and horizontal directions). If the font file identified by the reference font name is a bitmap format font file, the acquisition of the dot number designation information is not performed in step S101. In this case, the dot number designation information is obtained in step S103 described later.

【0038】保存ファイル名は、作成したフォントデー
タを含ませるフォントファイル31を指定する情報であ
る。参照明度テーブルファイル名は、HDD23内に記
憶されている明度テーブルファイル32の中から、実際
に利用する1つのファイルを指定する情報である。
The storage file name is information for designating the font file 31 that contains the created font data. The reference brightness table file name is information for designating one file actually used from the brightness table files 32 stored in the HDD 23.

【0039】このような各種の情報の取得が完了した際
には、作成対象文字コード及び参照フォント名に応じた
フォントデータがHDD23から読み出される(ステッ
プS102)。すなわち、HDD23内に記憶されてい
る参照フォント名で識別されるフォントファイル31か
ら、作成対象文字コードに対応づけられたフォントデー
タが読み出される。
When the acquisition of such various information is completed, font data corresponding to the character code to be created and the reference font name is read from the HDD 23 (step S102). That is, the font data associated with the character code to be created is read from the font file 31 identified by the reference font name stored in the HDD 23.

【0040】その後、読み出されたフォントデータに基
づいて、ビットマップ展開が行なわれる。これにより、
作成対象文字を白色或い黒色のドット数指定情報で指定
する数(例えば、16×16個)のドットの集合で表し
たドットマトリックス(以下、参照ビットマップと表記
する)がRAM21c上に展開される(ステップS10
3)。なお、このステップS103では、光情報となる
R,G,Bの各階調値を一例として8ビットで表すRG
Bデータが参照ビットマップのデータ(参照ビットマッ
プデータ)として生成される。また、参照フォント名を
有するフォントファイルがビットマップ形式のフォント
ファイルであった場合、ドット数指定情報を利用した処
理が行なわれることなく、RAM21c上に参照ビット
マップが展開される。すなわち、サイズ(ドット数)に
関係する処理は行なわず、作成対象文字コードに対応づ
けられたフォントデータ(ビットマップデータ)が、R
AM21c上に読み込まれる。ただし、ビットマップ形
式のフォントデータでは、各ドットの色が1ビットで表
されるので、各ドットに上記のような24ビットのRG
Bデータを割り当てたデータに変換した上で、上記フォ
ントデータをRAM21c上に読み込む処理が実行され
る。
Thereafter, bitmap development is performed based on the read font data. This allows
A dot matrix (hereinafter referred to as a reference bitmap) represented by a set of dots (for example, 16 × 16) in which the character to be created is designated by white or black dot number designation information is developed on the RAM 21c. (Step S10
3). In this step S103, the R, G, and B gradation values, which are optical information, are represented by 8 bits as an example.
The B data is generated as reference bitmap data (reference bitmap data). If the font file having the reference font name is a font file in the bitmap format, the reference bitmap is developed on the RAM 21c without performing the process using the dot number designation information. That is, the processing relating to the size (the number of dots) is not performed, and the font data (bitmap data) associated with the character code to be created is
It is read on the AM 21c. However, in the bitmap format font data, since the color of each dot is represented by one bit, the above-described 24-bit RG
After converting the B data into the allocated data, the font data is read into the RAM 21c.

【0041】参照ビットマップデータが生成された後に
は、参照明度データファイル名を有する明度データファ
イル32がHDD23から読み出され、RAM21c上
に黒ドット用明度テーブルと白ドット用明度テーブル
(詳細は後述)とが形成される(ステップS104)。
そして、参照ビットマップデータを基に、作成対象文字
に関するビットマップデータ(以下、表示ビットマップ
データと表記する)を作成する処理が開始される(ステ
ップS105)。この処理を表示ビットマップデータ作
成処理と定義する。
After the reference bitmap data is generated, a brightness data file 32 having a reference brightness data file name is read from the HDD 23, and a black dot brightness table and a white dot brightness table (details will be described later) on the RAM 21c. ) Are formed (step S104).
Then, a process of creating bitmap data (hereinafter, referred to as display bitmap data) for the creation target character based on the reference bitmap data is started (step S105). This processing is defined as display bitmap data creation processing.

【0042】図3に、表示ビットマップデータ作成処理
の流れ図を示す。図示したように、表示ビットマップデ
ータ作成処理時には、まず、変数nに“1”が設定され
る(ステップS201)。そして、ステップS103で
展開された参照ビットマップが表しているドットパター
ン内の1(n=1)番目のドットであるドット#1(n
=1)が、注目ドットして特定される(ステップS20
2)。注目ドットと、その注目ドットの上下左右4個の
ドットとからなるブロックが注目ブロックとなる。その
後、当該注目ブロック内の5つのドットに関するドット
データが取得されるとともに、その取得されたドットデ
ータに基づいて、注目ドット周辺の上下左右4個のドッ
ト(以下、周辺4ドットと表記する)に含まれている白
ドットの個数(白ドットと黒ドットの比率)がカウント
される(ステップS203)。なお、ブロック内におい
て注目ドット周辺の上下左右4個のドット配置で、1ヶ
所あるいは2ヶ所の位置にドットが存在していない場
合、それら不在となった位置に白ドットが存在している
とみなしてこのステップS203の処理が実行される。
FIG. 3 shows a flowchart of the display bitmap data creation processing. As shown in the figure, at the time of the display bitmap data creation process, first, "1" is set to a variable n (step S201). Then, the dot # 1 (n) which is the first (n = 1) -th dot in the dot pattern represented by the reference bitmap developed in step S103
= 1) is specified as the dot of interest (step S20)
2). A block including the target dot and four dots above, below, left, and right of the target dot is a target block. Thereafter, the dot data for the five dots in the target block is obtained, and based on the obtained dot data, four dots (upper, lower, left, and right) around the target dot (hereinafter referred to as four peripheral dots) are obtained. The number of included white dots (the ratio of white dots to black dots) is counted (step S203). In addition, if there is no dot at one or two positions in the four-dot arrangement above, below, left and right around the target dot in the block, it is considered that a white dot exists at those absent positions. The process of step S203 of leverage is executed.

【0043】その後、取得されたドットデータに基づ
き、注目ブロック内に黒ドットが含まれているか否かが
判断される(ステップS204)。注目ブロック内に黒
ドットが含まれていなかった場合(ステップS204;
NO)、注目ドットのドットデータ(この場合、白ドッ
トを表すドットデータ)が、表示ビットマップデータの
ドットデータ#n(注目ドットに対応する位置のドット
に関するドットデータ)としてRAM21cに記憶され
る(ステップS205)。その後、n値がドット数指定
情報が示す総ドット数と一致しているか否かが判断され
る(ステップS210)。両者が一致していなかった場
合(ステップS210;NO)には、nに“1”が加算
され(ステップS211)、その後、処理はステップS
202に戻り、次のドットに対する処理が開始される。
After that, based on the obtained dot data, it is determined whether or not a black dot is included in the target block (step S204). When no black dot is included in the target block (step S204;
NO), the dot data of the dot of interest (in this case, dot data representing a white dot) is stored in the RAM 21c as dot data #n of the display bitmap data (dot data relating to the dot at the position corresponding to the dot of interest) ( Step S205). Thereafter, it is determined whether or not the n value matches the total number of dots indicated by the dot number designation information (step S210). If they do not match (step S210; NO), “1” is added to n (step S211), and then the process proceeds to step S211.
Returning to step 202, processing for the next dot is started.

【0044】一方、注目ブロック内に黒ドットが含まれ
ていた場合(ステップS204;YES)、ステップS
105でRAM21c上に作成された黒ドット用明度テ
ーブル或いは白ドット用明度テーブルを参照して表示ビ
ットマップデータのドットデータ#nを定める処理(ス
テップS206〜S209)が行なわれる。
On the other hand, if a black dot is included in the block of interest (step S204; YES), step S
In step 105, the process of determining the dot data #n of the display bitmap data is performed with reference to the brightness table for black dots or the brightness table for white dots created on the RAM 21c (steps S206 to S209).

【0045】図4に、白ドット用明度テーブルと黒ドッ
ト用明度テーブルの構成を示す。図示したように、白ド
ット用明度テーブル32wは、注目ドットの周辺4ドッ
ト(注目ブロック内の注目ドットを除いた4ドット)中
の白ドット数(0〜3)に対応づけられた4種の明度
(55%、66%、77%、88%)を保持したテーブ
ルである。また、黒ドット用明度テーブル32bは、注
目ドットの周辺4ドット中の白ドット数(0〜3)に対
応づけられた5種の明度(10%、21%、33%、4
3%、55%)を保持したテーブルである。
FIG. 4 shows the structure of the brightness table for white dots and the brightness table for black dots. As illustrated, the white dot brightness table 32w includes four types of white dots (0 to 3) corresponding to the number of white dots (four dots excluding the target dot in the target block) around the target dot. It is a table holding brightness (55%, 66%, 77%, 88%). The brightness table for black dots 32b includes five brightnesses (10%, 21%, 33%, and 4%) associated with the number of white dots (0 to 3) in the four dots around the target dot.
3%, 55%).

【0046】そして、白ドット用明度テーブル32wに
設定される各明度は、白ドット数との関係で正の相関を
有している。また、黒ドット用明度テーブル32bに設
定される各明度も、同様に、白ドット数との関係で正の
相関を有している。また、黒ドット用明度テーブル32
b内の各明度は、白ドット用明度テーブル32w内の各
明度よりも値が小さく設定されている。
Each brightness set in the white dot brightness table 32w has a positive correlation with the number of white dots. Similarly, each lightness set in the black dot lightness table 32b has a positive correlation with the number of white dots. In addition, the brightness table for black dots 32
Each lightness in b is set to be smaller than each lightness in the white dot lightness table 32w.

【0047】すなわち、HDD23内に記憶されている
明度テーブルファイル31は、これらのテーブルの内容
を規定するデータを保持したファイルとなっている。そ
して、ステップS206〜S209では、白ドット用明
度テーブル32と黒ドット用明度テーブル32が以下の
ように使用されて表示ビットマップデータのドットデー
タ#nが作成されている。
That is, the brightness table file 31 stored in the HDD 23 is a file holding data defining the contents of these tables. In steps S206 to S209, the dot data #n of the display bitmap data is created by using the white dot brightness table 32 and the black dot brightness table 32 as follows.

【0048】注目ドットが黒ドットであった場合(図
3:ステップS206;黒)には、次の処理が実行され
る。注目ドットの周辺の4ドットに含まれている白ドッ
トの数(0〜4)が参照され、その白ドット数に対応付
けられた明度が黒ドット用明度テーブル32bから読み
出される(ステップS207)。一方、注目ドットが白
ドットであった場合(ステップS206;白)には、次
の処理が実行される。注目ドットの周辺の4ドットに含
まれている白ドットの数(0〜3)が参照され、その白
ドット数に対応付けられた明度が白ドット用明度テーブ
ル32wから読み出される(ステップS208)。な
お、白ドット用明度テーブル32wに、白ドット数
“4”に対応づけられた明度が存在しないのは、周辺4
ドットに含まれる白ドット数が“4”であり、かつ、注
目ドットが白ドットであった場合、ステップS204で
“NO”側への分岐が行なわれるためである。この場
合、ステップS208は実行されない。
If the target dot is a black dot (FIG. 3: step S206; black), the following processing is executed. The number (0 to 4) of white dots included in the four dots around the target dot is referred to, and the brightness associated with the number of white dots is read from the black dot brightness table 32b (step S207). On the other hand, if the target dot is a white dot (step S206; white), the following processing is executed. The number of white dots (0 to 3) included in the four dots around the target dot is referred to, and the brightness associated with the number of white dots is read from the white dot brightness table 32w (step S208). It should be noted that the brightness associated with the number of white dots “4” does not exist in the brightness table 32 w for white dots.
This is because if the number of white dots included in the dot is “4” and the target dot is a white dot, branching to the “NO” side is performed in step S204. In this case, step S208 is not performed.

【0049】白ドット用明度テーブル32w或いは黒ド
ット用明度テーブル32bから周辺4ドットに含まれる
白ドット数に応じた明度が読み出されると、読み出され
た明度のドットを表示するためのR,G,Bそれぞれの
階調値が算出される。そして、それらの階調値からなる
RGBデータが、表示ビットマップデータのドットデー
タ#nとしてRAM21cに記憶される(ステップS2
09)。より具体的には、読み出された明度をZ(%)
と表記した場合、各8ビットのR,G,B階調値からな
るRGBデータであって、R,G,B階調値が、それぞ
れ、255×Z/100、255×Z/100、255
×Z/100(小数点以下は四捨五入)であるRGBデ
ータが生成されている。そして、生成されたRGBデー
タが表示ビットマップデータのドットデータ#nとして
RAM21cに記憶されている。
When the brightness corresponding to the number of white dots included in the four peripheral dots is read from the brightness table for white dots 32w or the brightness table for black dots 32b, R and G for displaying the read brightness dots are read out. , B are calculated. Then, the RGB data including the gradation values is stored in the RAM 21c as the dot data #n of the display bitmap data (step S2).
09). More specifically, the read brightness is represented by Z (%)
Is expressed as RGB data composed of 8-bit R, G, and B gradation values, and the R, G, and B gradation values are 255 × Z / 100, 255 × Z / 100, and 255, respectively.
RGB data of × Z / 100 (rounded off to the decimal point) is generated. Then, the generated RGB data is stored in the RAM 21c as dot data #n of the display bitmap data.

【0050】ドットデータ#nがRAM21cに記憶さ
れた後には、ステップS210の処理が実行される。そ
して、nが総ドット数と一致していなかった場合(ステ
ップS210;NO)には、nに“1”が加算される
(ステップS211)。その後、ステップS202から
の処理が再実行される。そして、nが総ドット数と一致
したとき(ステップS210;YES)に、表示ビット
マップデータ作成処理が終了する。表示ビットマップデ
ータ作成処理の終了後には、結果表示処理(図2:ステ
ップS106)が実行される。
After the dot data #n is stored in the RAM 21c, the process of step S210 is performed. If n does not match the total number of dots (step S210; NO), “1” is added to n (step S211). Thereafter, the processing from step S202 is executed again. Then, when n matches the total number of dots (step S210; YES), the display bitmap data creation processing ends. After the end of the display bitmap data creation process, a result display process (FIG. 2: Step S106) is executed.

【0051】結果表示処理時には、まず、参照ビットマ
ップデータが表す文字(ドットパターン)と、表示ビッ
トマップデータが表す文字が、共に、ディスプレイ11
の画面に表示される。その後、作成対象文字に関するフ
ォントデータの作成を完了するか、それともフォントデ
ータの再作成を行うかの指示が操作入力されるまで待機
される。そして、いずれか一方の指示が入力されたこと
が検出されたとき、結果表示処理は終了する。
In the result display processing, first, the character (dot pattern) represented by the reference bitmap data and the character represented by the display bitmap data are both displayed on the display 11.
Will be displayed on the screen. Then, the process waits until an instruction to complete the creation of the font data for the creation target character or to recreate the font data is input. Then, when it is detected that any one of the instructions has been input, the result display process ends.

【0052】再作成指示により結果表示処理が終了され
た場合(ステップS107;NO)、明度テーブル切替
処理(ステップS108)が実行される。明度テーブル
切替処理時には、操作者の操作を通じて参照明度テーブ
ルファイル名が取得される。その後、取得された参照明
度テーブルファイル名を有する明度テーブルファイル3
2内のデータがHDD23から読み出される。そして、
読み出されたデータに応じた内容の白ドット用明度テー
ブル32w、黒ドット用明度テーブル32bがRAM2
1c上に形成され、明度テーブル切替処理が終了する。
When the result display processing is terminated by the re-creation instruction (step S107; NO), the brightness table switching processing (step S108) is executed. At the time of the brightness table switching process, the reference brightness table file name is obtained through the operation of the operator. Thereafter, the brightness table file 3 having the acquired reference brightness table file name
2 is read from the HDD 23. And
The brightness table for white dots 32w and the brightness table for black dots 32b having contents corresponding to the read data are stored in the RAM 2
1c, and the brightness table switching process ends.

【0053】明度テーブル切替処理の終了後、ステップ
S105からの処理が再実行される。すなわち、RAM
21c上に用意された新たな内容の白ドット用明度テー
ブル32w、黒ドット用明度テーブル32bをそれぞれ
用いて、再度、作成対象文字の表示ビットマップデータ
の作成が行なわれる。
After the brightness table switching process is completed, the processes from step S105 are executed again. That is, RAM
Using the white dot brightness table 32w and the black dot brightness table 32b of the new contents prepared on 21c, the display bitmap data of the character to be created is created again.

【0054】結果表示処理が完了指示の入力により終了
された場合(ステップS107;YES)、作成された
表示ビットマップデータが、保存ファイル名で識別され
るフォントファイル31に追加される(ステップS10
9)。なお、保存ファイル名を有するフォントファイル
31が存在していなかった場合、このステップS109
において、保存ファイル名を有するフォントファイル3
1が新規に作成される。そして、図2に示した処理が終
了する。
When the result display processing is completed by inputting the completion instruction (step S107; YES), the created display bitmap data is added to the font file 31 identified by the save file name (step S10).
9). If the font file 31 having the saved file name does not exist, this step S109
In the font file 3 having the storage file name,
1 is newly created. Then, the process illustrated in FIG. 2 ends.

【0055】以下、図5ないし図7を用いて、第1実施
形態に係るフォント生成装置の動作をさらに具体的に説
明する。なお、図5は、本フォント生成装置の機能ブロ
ック図である。図6は、表示ビットマップデータが表す
ドットパターンを、参照ビットマップデータが表すドッ
トパターンと比較した図である。図7は、図6(A)に
示したドットパターンの参照ビットマップデータから作
成される別の表示ビットマップデータを説明するための
図である。
Hereinafter, the operation of the font generating apparatus according to the first embodiment will be described more specifically with reference to FIGS. FIG. 5 is a functional block diagram of the present font generation device. FIG. 6 is a diagram comparing the dot pattern represented by the display bitmap data with the dot pattern represented by the reference bitmap data. FIG. 7 is a diagram for explaining another display bitmap data created from the reference bitmap data of the dot pattern shown in FIG.

【0056】図5に模式的に示したように、フォント生
成装置13は、たとえば、ビットマップデータ生成部6
1、明度テーブル読出部62、階調値算出部63、格納
処理部64、画像処理部65、処理データ格納部66、
及び、データ格納部67からなる装置として機能する。
As schematically shown in FIG. 5, the font generation device 13 includes, for example, a bitmap data generation unit 6.
1, lightness table reading section 62, gradation value calculating section 63, storage processing section 64, image processing section 65, processing data storage section 66,
And it functions as a device including the data storage unit 67.

【0057】ビットマップデータ生成部61は、作成対
象文字コード、参照フォント名の入力を受ける。また、
参照フォントがアウトラインフォントの場合には、ドッ
ト数指定情報の入力も受ける。そして、ビットマップデ
ータ生成部61は、データ格納部67内に格納された、
参照フォント名を有するフォントファイル31に含まれ
ている作成対象文字コードに関するフォントデータを基
に、処理データ格納部66内に、ドット数指定情報が示
す数のドットからなるドットパターンを表す参照ビット
マップデータ50を作成する。
The bitmap data generator 61 receives the input of the character code to be created and the name of the reference font. Also,
When the reference font is an outline font, the input of the dot number designation information is also received. Then, the bitmap data generation unit 61 stores the data stored in the data storage unit 67,
A reference bitmap representing a dot pattern consisting of the number of dots indicated by the dot number designation information in the processing data storage unit 66 based on the font data relating to the character code to be created included in the font file 31 having the reference font name The data 50 is created.

【0058】例えば、作成対象文字が“あ”であり、ド
ット数指定情報で指定されるサイズが16×16ドット
であった場合(あるいは、参照フォント名で識別される
フォントファイル31が、一文字を16×16ドットで
表したフォントデータを含むものであった場合)、ビッ
トマップデータ生成部21は、図6(A)に示したよう
な、16×16個のドットで構成されたドットパターン
200を表す参照ビットマップデータ50を作成する。
For example, when the character to be created is “A” and the size specified by the dot number specification information is 16 × 16 dots (or the font file 31 identified by the reference font name is If the data includes font data represented by 16 × 16 dots), the bitmap data generating unit 21 generates a dot pattern 200 composed of 16 × 16 dots as shown in FIG. Is generated.

【0059】明度テーブル読出部62は、参照明度テー
ブルファイル名の入力を受ける。そして、明度テーブル
読出部62は、当該参照明度テーブルファイル名を有す
る明度テーブルファイル32をデータ格納部67から読
み出して、処理データ格納部66内に、白ドット用明度
テーブル32w及び黒ドット用明度テーブル32bを形
成する。
The brightness table reading section 62 receives an input of a reference brightness table file name. Then, the brightness table reading unit 62 reads the brightness table file 32 having the reference brightness table file name from the data storage unit 67, and stores the white dot brightness table 32w and the black dot brightness table 32w in the processing data storage unit 66. 32b is formed.

【0060】階調値算出部63は、参照ビットマップデ
ータ50が表すドットパターンを構成している各ドット
を注目ドットとするとともに、当該ドットパターンか
ら、注目ドットとその上下左右の4個のドットからなる
ブロックを切り出す。そして、階調値算出部63は、切
り出したブロックを構成している注目ドットの色と、周
辺4ドットに含まれる白ドット数とに基づき、白ドット
用明度テーブル32w或いは黒ドット用明度テーブル3
2bを参照して、表示ビットマップデータ60の、注目
ドットと同じ位置のドットの明度を決定する。さらに、
階調値算出部63は、その決定した明度のドットを表示
するためのRGB階調値を算出し、算出結果を基にドッ
トデータを作成し、処理データ格納部66内に、表示ビ
ットマップデータ60の要素として記憶する。
The tone value calculation unit 63 sets each dot constituting the dot pattern represented by the reference bitmap data 50 as a target dot, and, based on the dot pattern, the target dot and its four upper, lower, left and right dots. Cut out a block consisting of Then, the tone value calculation unit 63 calculates the white dot brightness table 32w or the black dot brightness table 3w based on the color of the target dot constituting the cut-out block and the number of white dots included in the surrounding four dots.
With reference to 2b, the brightness of the dot at the same position as the target dot in the display bitmap data 60 is determined. further,
The tone value calculation unit 63 calculates RGB tone values for displaying the determined brightness dots, creates dot data based on the calculation results, and stores the display bitmap data in the processing data storage unit 66. Store as 60 elements.

【0061】より具体的には、階調値算出部63は、図
6(A)に示した参照ドットマトリックス200におけ
るドット210a、210bのような、上下左右に4個
の白ドットが存在する白ドットが注目ドットとなった場
合には、表示ビットマップデータ60の、対応する位置
のドットのドットデータを、そのまま、表示ビットマッ
プデータ60の、対応する位置のドットに関するドット
データとする。また、ドット210c、210dのよう
な、上下左右にm(≦3)個の白ドットが存在する(黒
ドットが少なくとも1つ存在する)白ドットが注目ドッ
トとなった場合、階調値算出部63は、白ドット用明度
テーブル32w内のmに対応づけられた明度のドットが
表示されるドットデータを作成し、表示ビットマップデ
ータ60のドットデータとする。そして、ドット210
e、210fのような、上下左右にm(≦4)個の白ド
ットが存在する黒ドットが注目ドットとなった場合、階
調値算出部63は、黒ドット用明度テーブル32b内の
mに対応づけられた明度のドットが表示されるドットデ
ータを作成し、表示ビットマップデータ60のドットデ
ータとする。
More specifically, the tone value calculation section 63 determines whether the white dot having four white dots at the top, bottom, left and right, such as the dots 210a and 210b in the reference dot matrix 200 shown in FIG. When the dot becomes the target dot, the dot data of the dot at the corresponding position in the display bitmap data 60 is used as it is as the dot data relating to the dot at the corresponding position in the display bitmap data 60. If m (≦ 3) white dots (at least one black dot) such as the dots 210 c and 210 d are present as dots of interest, the tone value calculation unit Reference numeral 63 denotes dot data for displaying a dot having a brightness corresponding to m in the white dot brightness table 32w, and sets the dot data as the dot data of the display bitmap data 60. And the dot 210
When a black dot having m (≦ 4) white dots in the upper, lower, left, and right directions, such as e and 210f, becomes the target dot, the tone value calculation unit 63 sets the m in the black dot brightness table 32b to m. The dot data for displaying the dots of the associated brightness is created, and is set as the dot data of the display bitmap data 60.

【0062】階調値算出部63は、上記のような処理
を、表示ビットマップデータ200の各ドットに対して
行なう。このため、例えば、白ドット用明度テーブル3
2w、黒ドット用明度テーブル32bが図4に示したも
のであった場合、図6(A)に示したドットパターン2
00を表す参照ビットマップデータ50から、図6
(B)、(C)に示したドットマトリックス300を表
す表示ビットマップデータ60が階調値算出部63によ
って生成されることになる。なお、図6(B)におい
て、ドット310を示す枠内に記してある数値は、その
ドットのドットデータの作成に使用される明度であり、
上記枠内に数値が記していないドットは、対応するドッ
トと同じドットデータ(白色を示すドットデータ)が用
いられるドットである。
The tone value calculation section 63 performs the above-described processing for each dot of the display bitmap data 200. For this reason, for example, the white dot brightness table 3
If the 2w, black dot brightness table 32b is as shown in FIG. 4, the dot pattern 2 shown in FIG.
6 from the reference bitmap data 50 representing 00.
The display bitmap data 60 representing the dot matrix 300 shown in (B) and (C) is generated by the tone value calculation unit 63. In FIG. 6B, the numerical value described in the frame indicating the dot 310 is the brightness used for creating dot data of the dot.
Dots whose numerical values are not described in the frame are dots using the same dot data (dot data indicating white) as the corresponding dots.

【0063】画像処理部65は、階調値算出部63が生
成した表示ビットマップデータ60が表すドットパター
ン(文字)を、その元となった参照ビットマップデータ
50が表すドットパターンと共にディスプレイ11の画
面上に表示する。また、格納処理部64は、ディスプレ
イ11の表示内容を確認した操作者が完了指示を出した
ときに、表示ビットマップデータを表すフォントデータ
を、データ格納部67内の、保存ファイル名によって識
別されるフォントファイル31に追加する。
The image processing unit 65 converts the dot pattern (character) represented by the display bitmap data 60 generated by the gradation value calculation unit 63 together with the dot pattern represented by the reference bitmap data 50 on the display 11. Display on the screen. Further, the storage processing unit 64 identifies the font data representing the display bitmap data by the storage file name in the data storage unit 67 when the operator who has checked the display content on the display 11 issues a completion instruction. To the font file 31 to be added.

【0064】また、操作者が再作成指示を出した場合、
明度テーブル切替処理で用意された白、黒ドット用明度
テーブル32w,32bに対して、階調値算出部63が
再び機能する。このため、例えば、黒ドット用明度テー
ブル32bが、全ての白ドット数に対して明度“0”が
対応づけられたものに変更された場合、階調値算出部6
3によって、図6(A)に示した参照ビットマップデー
タ50から、図7に示したようなドットパターン320
が表示される表示ビットマップデータ60が作成され
る。
When the operator issues a re-creation instruction,
The tone value calculator 63 functions again for the white and black dot brightness tables 32w and 32b prepared in the brightness table switching process. For this reason, for example, when the brightness value table for black dots 32b is changed to one in which the brightness “0” is associated with all the numbers of white dots, the tone value calculation unit 6
3, from the reference bitmap data 50 shown in FIG. 6A, the dot pattern 320 shown in FIG.
Is displayed, display bitmap data 60 is generated.

【0065】<第2実施形態><Second Embodiment>

【0066】第2実施形態に係るフォント生成システム
は、縁取りがされたフォントが表示されるフォントデー
タが生成されるように、第1実施形態に係るフォント生
成システムを変形したものである。第2実施形態に係る
フォント生成システムは、図1に示したハードウェア
に、異なる内容のフォント生成プログラム30と明度テ
ーブルファイル32をインストールしたものとなってい
る。
The font generation system according to the second embodiment is a modification of the font generation system according to the first embodiment so that font data for displaying a bordered font is generated. The font generation system according to the second embodiment has a font generation program 30 and a brightness table file 32 having different contents installed in the hardware shown in FIG.

【0067】以下、動作内容が異なる部分を中心に、第
2実施形態に係るフォント生成システムの説明を行う。
Hereinafter, the font generation system according to the second embodiment will be described, focusing on parts having different operation contents.

【0068】図8に、第2実施形態に係るフォント生成
システムに含まれるフォント生成装置13の全体的な動
作手順を示す。図示したように、フォント生成プログラ
ム30に従った動作が開始された場合、まず、作成対象
文字コード、参照フォント名、ドット数指定情報、参照
明度テーブルファイル名、保存ファイル名が、操作者の
操作を通じて取得される(ステップS301)。このス
テップで取得される各情報は、ステップS101で取得
されているものと同じものである。
FIG. 8 shows an overall operation procedure of the font generation device 13 included in the font generation system according to the second embodiment. As shown in the figure, when the operation according to the font generation program 30 is started, first, the character code to be created, the reference font name, the number of dots designation information, the reference brightness table file name, and the storage file name are displayed by the operator's operation. (Step S301). The information obtained in this step is the same as the information obtained in step S101.

【0069】この後、作成対象文字コードと参照フォン
ト名に応じたフォントデータが、HDD23から読み出
される(ステップS302)。そして、読み出されたフ
ォントデータに基づき、作成対象文字を白色或いは黒色
のドット指定数情報で指定する数のドットの集合(例え
ば、16×16個)で表した基準ビットマップデータ
が、RAM21c上に展開される(ステップS30
3)。このステップS303の処理内容は、生成される
データの名称が異なっている点と、当該データが各ドッ
トに黒、白を表す1ビットのデータが割り当てられたも
のである点とを除けば、ステップS103と同じもので
ある。すなわち、ステップS303では、指定されたフ
ォントデータがビットマップ形式のフォントデータであ
った場合、ドット指定数情報を考慮せずに、基準ビット
マップデータが展開される。
Thereafter, font data corresponding to the character code to be created and the reference font name is read from the HDD 23 (step S302). Then, based on the read font data, reference bitmap data in which a character to be created is represented by a set of dots (for example, 16 × 16) specified by white or black dot specified number information is stored in the RAM 21c. (Step S30)
3). The processing in step S303 is the same as that in step S303 except that the name of the generated data is different and that the data is obtained by assigning 1-bit data representing black and white to each dot. This is the same as S103. That is, in step S303, when the designated font data is bitmap format font data, the reference bitmap data is developed without considering the designated dot count information.

【0070】基準ビットマップデータの生成後、基準ビ
ットマップデータが表すドットパターンを構成する各黒
ドット(文字を表しているドット)に対応する位置のド
ットが白色であり、周囲の8ドットのいずれかが黒ドッ
トである各白ドットに対応する位置のドットが黒色であ
り、その他のドットが、背景色であるドットパターン
(ドットマトリックス)を表す参照ビットマップデータ
が生成される(ステップS304)。
After the generation of the reference bitmap data, the dot at the position corresponding to each black dot (dot representing a character) constituting the dot pattern represented by the reference bitmap data is white, and any one of the surrounding eight dots is used. The reference bitmap data representing the dot pattern (dot matrix) where the dots at the positions corresponding to the white dots having black dots and the other dots are the background colors are generated (step S304).

【0071】すなわち、基準ビットマップデータが、図
9(A)に示した16×16個のドットからなるドット
パターン350を表すものであった場合、図9(B)に
示した16×16個のドットからなるドットパターン4
00を表す参照ビットマップデータが作成される。な
お、図9(B)において、ハッチングを付してあるドッ
トが、背景色が付与されるドットである。詳細は後述す
るが、背景色は、本装置によって作成される表示ビット
マップデータの内容に影響を与えない色となっている。
ステップS304では、黒色、白色のいずれでもないこ
とが識別できる、予め定められた色が背景色として使用
されている。また、ステップS304においては、光情
報となるR,G,Bの各階調値を一例として8ビットで
表すRGBデータが参照ビットマップのデータ(参照ビ
ットマップデータ)として生成されている。
That is, if the reference bitmap data represents the dot pattern 350 composed of 16 × 16 dots shown in FIG. 9A, the 16 × 16 dots pattern shown in FIG. Dot pattern 4 consisting of dots
Reference bitmap data representing 00 is created. In FIG. 9B, hatched dots are dots to which a background color is added. Although details will be described later, the background color is a color that does not affect the content of the display bitmap data created by the present apparatus.
In step S304, a predetermined color that can be identified as neither black nor white is used as the background color. Also, in step S304, RGB data representing each of the R, G, and B gradation values as optical information in 8 bits is generated as reference bitmap data (reference bitmap data).

【0072】参照ビットマップデータの生成後には、参
照明度データファイル名を有する明度データファイル3
2内のデータがHDD23から読み出される。そして、
読み出されたデータに基づき、黒ドット用明度テーブル
と白ドット用明度テーブル(詳細は後述)とがRAM2
1c上に形成される(ステップS305)。そして、参
照ビットマップデータを基に、作成対象文字に関するビ
ットマップデータ(以下表示ビットマップデータと表記
する)を作成する処理が開始される(ステップS30
6)。この処理を表示ビットマップデータ作成処理と定
義する。
After the generation of the reference bitmap data, the brightness data file 3 having the reference brightness data file name
2 is read from the HDD 23. And
Based on the read data, a brightness table for black dots and a brightness table for white dots (described in detail later) are stored in the RAM 2.
1c (step S305). Then, a process of creating bitmap data (hereinafter referred to as display bitmap data) for the creation target character based on the reference bitmap data is started (step S30).
6). This processing is defined as display bitmap data creation processing.

【0073】図10に、表示ビットマップデータ作成処
理の流れ図を示す。図示したように、表示ビットマップ
データ作成処理時には、まず、変数nに“1”が設定さ
れる(ステップS401)。そして、参照ビットマップ
が表しているドットパターン内の1(n=1)番目のド
ットであるドット#1(n=1)が、注目ドットして特
定される(ステップS402)。注目ドットと、その注
目ドットの上下左右4個のドットからなるブロックが注
目ブロックとなる。その後、当該注目ブロック内の5つ
のドットに関するドットデータが取得されるとともに、
取得されたドットデータに基づいて、注目ドット周辺の
上下左右4個のドット(以下、周辺4ドットと表記す
る)に含まれている白ドットの個数(白ドットと黒ドッ
トの比率)がカウントされる(ステップS403)。な
お、ブロック内において注目ドット周辺の上下左右4個
のドット配置で、1ヶ所あるいは2ヶ所の位置にドット
が存在していない場合、それら不在となった位置に背景
色のドットが存在しているとみなしてこのステップS4
03の処理が実行される。
FIG. 10 shows a flowchart of the display bitmap data creation processing. As shown in the drawing, at the time of the display bitmap data creation processing, first, "1" is set to a variable n (step S401). Then, dot # 1 (n = 1), which is the first (n = 1) -th dot in the dot pattern represented by the reference bitmap, is specified as the target dot (step S402). A block composed of the target dot and four dots above, below, left and right of the target dot is the target block. After that, the dot data for the five dots in the target block is obtained,
On the basis of the obtained dot data, the number of white dots (ratio of white dots to black dots) included in four upper, lower, left and right dots around the target dot (hereinafter referred to as four peripheral dots) is counted. (Step S403). Note that, in the case where dots are not present at one or two positions in the upper, lower, left, and right dot arrangements around the target dot in the block, a background color dot exists at those absent positions. This step S4
03 is executed.

【0074】その後、取得されたドットデータに基づ
き、注目ブロック内に背景色のドットが存在するか否か
が判断される(ステップS404)。
Thereafter, based on the obtained dot data, it is determined whether or not a dot of the background color exists in the target block (step S404).

【0075】注目ブロック内に背景色のドットが含まれ
ていたとき(ステップS404;YES)には、次の処
理が実行される。注目ドット自体が背景色であった場合
には、白色のドットを表すドットデータが、表示ビット
マップデータのドットデータ#nとしてRAM21cに
記憶される。注目ドットが黒色であった場合には、黒色
のドットを表すドットデータが、表示ビットマップデー
タのドットデータ#nとしてRAM21cに記憶される
(ステップS405)。その後、n値が総ドット数と一
致しているか否かが判断される(ステップS410)。
そして、両者が一致していなかった場合(ステップS4
10;NO)には、nに“1”が加算され(ステップS
411)、その後、ステップS402に戻り、次のドッ
トに対する処理が開始される。
If the target block contains a dot of background color (step S404; YES), the following processing is executed. If the target dot itself is the background color, dot data representing a white dot is stored in the RAM 21c as dot data #n of the display bitmap data. If the target dot is black, the dot data representing the black dot is stored in the RAM 21c as dot data #n of the display bitmap data (step S405). Thereafter, it is determined whether the n value matches the total number of dots (step S410).
If they do not match (step S4
10; NO), "1" is added to n (step S).
411) Then, the process returns to step S402, and processing for the next dot is started.

【0076】一方、注目ブロック内に背景色のドットが
含まれていなかった場合(ステップS404;NO)、
RAM21c上に作成してある白ドット用明度テーブル
又は黒ドット用明度テーブルを参照して表示ビットマッ
プデータのドットデータ#nを作成する処理(ステップ
S406〜S409)が行なわれる。
On the other hand, when the background color dot is not included in the target block (step S404; NO),
A process of creating dot data #n of display bitmap data with reference to the brightness table for white dots or the brightness table for black dots created on the RAM 21c (steps S406 to S409).

【0077】図11に、本フォント生成システムで使用
される白ドット用明度テーブルと黒ドット用明度テーブ
ルの概要を示す。図示したように、本フォント生成シス
テムで使用されている白ドット用明度テーブル32W
は、注目ドットの周辺4ドット中の白ドット数(0〜
4)に対応づけられた5種の明度(55%、66%、7
7%、88%、100%)を保持したテーブルである。
また、黒ドット用明度テーブル32Bは、注目ドットの
周辺4ドット中の白ドット数(0〜4)に対応づけられ
た5種の明度(10%、21%、33%、43%、55
%)を保持したテーブルである。
FIG. 11 shows an outline of a brightness table for white dots and a brightness table for black dots used in the present font generation system. As shown, the brightness table 32W for white dots used in the font generation system is used.
Is the number of white dots (0 to
5 types of brightness (55%, 66%, 7) associated with 4)
7%, 88%, and 100%).
The brightness table for black dots 32B includes five brightnesses (10%, 21%, 33%, 43%, and 55%) associated with the number of white dots (0 to 4) in the four surrounding dots of the target dot.
%).

【0078】そして、白ドット用明度テーブル32Wに
設定される各明度は、白ドット数との関係で正の相関を
有している。黒ドット用明度テーブル32Bに設定され
る各明度も、同様に、白ドット数との関係で正の相関を
有している。また、黒ドット用明度テーブル32B内の
各明度は、白ドット用明度テーブル32W内の各明度よ
りも値が小さく設定されている。
Each lightness set in the white dot lightness table 32W has a positive correlation with the number of white dots. Similarly, each lightness set in the black dot lightness table 32B has a positive correlation with the number of white dots. Further, each lightness in the black dot lightness table 32B is set to be smaller than each lightness in the white dot lightness table 32W.

【0079】ステップS406〜S409では、これら
のテーブルが、以下のように使用されて表示ビットマッ
プデータのドットデータ#nが作成される。
In steps S406 to S409, these tables are used as follows to create dot data #n of display bitmap data.

【0080】注目ドットの色が黒色であった場合(ステ
ップS406;黒)には、次の処理が実行される。注目
ドットの周辺の4ドットに含まれている白ドットの数
(0〜4)が参照され、その白ドット数に対応付けられ
た明度が黒ドット用明度テーブル32Bから読み出され
る(ステップS407)。一方、注目ドットの色が白色
であった場合(ステップS406;白)には、次の処理
が実行される。注目ドットの周辺の4ドットに含まれて
いる白ドットの数(0〜4)が参照され、その白ドット
数に対応付けられた明度が白ドット用明度テーブル32
Wから読み出される(ステップS408)。
If the color of the target dot is black (step S406; black), the following processing is executed. The number of white dots (0 to 4) included in the four dots around the target dot is referred to, and the brightness associated with the number of white dots is read from the brightness table for black dots 32B (step S407). On the other hand, when the color of the target dot is white (step S406; white), the following processing is executed. The number of white dots (0 to 4) included in the four dots around the target dot is referred to, and the brightness associated with the number of white dots is referred to as the white dot brightness table 32.
It is read from W (step S408).

【0081】白ドット用明度テーブル32W或いは黒ド
ット用明度テーブル32Bから、周辺4ドットに含まれ
る白ドット数に応じた明度が読み出されると、読み出さ
れた明度Z(%)を用いて、各8ビットのR、G、B階
調値からなるRGBデータであって、R、G、B階調値
が、それぞれ、255×Z/100、255×Z/10
0、255×Z/100(小数点以下は四捨五入)であ
るRGBデータが生成される。そして、生成されたRG
Bデータが、表示ビットマップデータのドットデータ#
nとしてRAM21cに記憶される(ステップS40
9)。
When the brightness corresponding to the number of white dots included in the surrounding four dots is read from the brightness table for white dots 32W or the brightness table for black dots 32B, each brightness is read out using the read brightness Z (%). RGB data composed of 8-bit R, G, and B gradation values, where the R, G, and B gradation values are 255 × Z / 100 and 255 × Z / 10, respectively.
RGB data of 0, 255 × Z / 100 (rounded off below the decimal point) is generated. Then, the generated RG
B data is dot data # of display bitmap data.
n is stored in the RAM 21c (step S40).
9).

【0082】ドットデータ#nがRAM21cに記憶さ
れた後には、nと総ドット数とが一致しているか否かが
判断される(ステップS410)。そして、両者が一致
していなかった場合(ステップS410;NO)には、
nに“1”が加算され(ステップS411)、その後、
ステップS402からの処理が再実行される。
After the dot data #n is stored in the RAM 21c, it is determined whether or not n matches the total number of dots (step S410). If they do not match (step S410; NO),
"1" is added to n (step S411), and thereafter,
The processing from step S402 is executed again.

【0083】一方、nと総ドット数とが一致していた場
合(ステップS410;YES)、表示ビットマップデ
ータ作成処理が終了する。そして、結果表示処理(図
8:ステップS307)が開始される。結果表示処理時
には、参照ビットマップデータが表す文字と、表示ビッ
トマップデータが表す文字とが、ディスプレイ11の画
面に表示される。
On the other hand, if n and the total number of dots match (step S410; YES), the display bitmap data creation processing ends. Then, the result display process (FIG. 8: step S307) is started. During the result display process, the character represented by the reference bitmap data and the character represented by the display bitmap data are displayed on the screen of the display 11.

【0084】その後、作成対象文字に関するフォントデ
ータの作成を完了するか、それともフォントデータの再
作成を行うかの指示が操作入力されるのが待機される。
そして、いずれか一方の指示が入力されたことが検出さ
れたとき、結果表示処理は終了する。
Thereafter, the process waits until an instruction to complete the creation of the font data relating to the creation target character or to re-create the font data is input.
Then, when it is detected that any one of the instructions has been input, the result display process ends.

【0085】再作成指示により結果表示処理が終了され
た場合(ステップS308;NO)、明度テーブル切替
処理(ステップS309)が実行される。この明度テー
ブル切替処理は、第1実施形態に係るフォント生成装置
で行なわれている処理と同じものであるので説明は省略
する。
When the result display processing is terminated by the re-creation instruction (step S308; NO), the brightness table switching processing (step S309) is executed. This brightness table switching process is the same as the process performed in the font generation device according to the first embodiment, and thus the description is omitted.

【0086】明度テーブルファイル切替処理の終了後に
は、ステップS306からの処理が再び実行される。す
なわち、RAM21c上に用意された新たな内容の白ド
ット用明度テーブル32W、黒ドット用明度テーブル3
2Bに基づき、再度、作成対象文字の表示ビットマップ
データの作成が行なわれる。
After the end of the brightness table file switching processing, the processing from step S306 is executed again. That is, the white dot brightness table 32W and the black dot brightness table 3 with new contents prepared on the RAM 21c
Based on 2B, the display bitmap data of the character to be created is created again.

【0087】結果表示処理が完了指示の入力により終了
された場合(ステップS308;YES)、作成された
表示ビットマップデータが、作成対象文字コードに対応
づけられたフォントデータとして、保存フォント名によ
って指定されるフォントファイル31に追加され(ステ
ップS310)、図8に示した処理が終了する。
When the result display processing is completed by inputting the completion instruction (step S308; YES), the created display bitmap data is designated by the saved font name as the font data associated with the character code to be created. Is added to the font file 31 (step S310), and the process shown in FIG. 8 ends.

【0088】以下、図12、13を用いて、第2実施形
態に係るフォント生成装置の動作をさらに具体的に説明
する。なお、図12は、本フォント生成装置の機能ブロ
ック図である。図13は、本フォント生成装置によって
作成される表示ビットマップデータが表すドットパター
ンを、参照ビットマップデータが表すドットパターンと
比較した図である。
Hereinafter, the operation of the font generating apparatus according to the second embodiment will be described more specifically with reference to FIGS. FIG. 12 is a functional block diagram of the present font generation device. FIG. 13 is a diagram comparing a dot pattern represented by display bitmap data created by the present font generation device with a dot pattern represented by reference bitmap data.

【0089】図12に示したように、第2実施形態に係
るフォント生成システム内のフォント生成装置13は、
例えば、ビットマップデータ生成部71、縁取処理部7
2、明度テーブル読出部73、階調値算出部74、格納
処理部75、画像処理部76、処理データ格納部77、
及び、データ格納部78からなる装置として機能する。
As shown in FIG. 12, the font generation device 13 in the font generation system according to the second embodiment
For example, the bitmap data generation unit 71, the border processing unit 7
2, lightness table reading section 73, gradation value calculating section 74, storage processing section 75, image processing section 76, processing data storage section 77,
And it functions as a device including the data storage unit 78.

【0090】ビットマップデータ生成部71は、作成対
象文字コード、参照フォント名の入力を受ける。また、
参照フォントがアウトラインフォントの場合には、ドッ
ト数指定情報の入力も受ける。そして、ビットマップデ
ータ生成部61は、データ格納部78に格納された、参
照フォント名を有するフォントファイル31に含まれて
いる作成対象文字コードに応じたフォントデータを基
に、処理データ格納部77内に、ドット数指定情報で指
定される数のドットを表す基準ビットマップデータ70
を作成する。
The bitmap data generating section 71 receives input of a character code to be created and a reference font name. Also,
When the reference font is an outline font, the input of the dot number designation information is also received. Then, the bitmap data generation unit 61 stores the processing data storage unit 77 based on the font data stored in the data storage unit 78 and corresponding to the creation target character code included in the font file 31 having the reference font name. The reference bitmap data 70 representing the number of dots designated by the dot number designation information
Create

【0091】縁取処理部72は、その基準ビットマップ
データ70に対して、所定の変形処理を施すことによ
り、処理データ格納部77内に、黒色、白色、背景色の
3種のドットで構成されたドットパターンを表す参照ビ
ットマップデータ80を作成する。
The border processing section 72 performs a predetermined deformation process on the reference bitmap data 70 to form three types of dots of black, white and background colors in the processed data storage section 77. The reference bitmap data 80 representing the dot pattern is created.

【0092】明度テーブル読出部73は、参照明度テー
ブルファイル名の入力を受ける。そして、明度テーブル
読出部73は、当該参照明度テーブルファイル名を有す
る明度テーブルファイル32をデータ格納部78から読
み出して、処理データ格納部77内に、白ドット用明度
テーブル32W及び黒ドット用明度テーブル32Bを形
成する。
The brightness table reading section 73 receives an input of a reference brightness table file name. Then, the brightness table reading unit 73 reads the brightness table file 32 having the reference brightness table file name from the data storage unit 78, and stores the white dot brightness table 32W and the black dot brightness table in the processing data storage unit 77. 32B is formed.

【0093】階調値算出部74は、参照ビットマップデ
ータ80が表すドットパターンを構成している各ドット
を注目ドットとするとともに、当該ドットパターンか
ら、注目ドットとその上下左右の4個のドットからなる
ブロックを切り出す。そして、階調値算出部74は、切
り出したブロックを構成している5個のドットの色に基
づき、必要である場合には、白ドット用明度テーブル3
2W或いは黒ドット用明度テーブル32Bを参照して、
表示ビットマップデータ60の、注目ドットと同じ位置
のドットの明度を決定する。さらに、階調値算出部74
は、その決定した明度のドットを表示するためのRGB
階調値を算出し、算出結果を基にドットデータ(RGB
データ)を作成し、処理データ格納部77内に、表示ビ
ットマップデータ90の要素として記憶する。
The tone value calculation section 74 sets each dot constituting the dot pattern represented by the reference bitmap data 80 as a target dot, and, based on the dot pattern, generates a target dot and four upper, lower, left and right dots thereof. Cut out a block consisting of Then, based on the colors of the five dots constituting the cut-out block, the tone value calculation unit 74 determines the white dot brightness table 3 if necessary.
With reference to the brightness table 32B for 2W or black dots,
The brightness of the dot at the same position as the target dot in the display bitmap data 60 is determined. Further, the tone value calculation unit 74
Is an RGB for displaying the dot of the determined brightness.
A tone value is calculated, and dot data (RGB
) Is created and stored in the processing data storage 77 as an element of the display bitmap data 90.

【0094】例えば、参照ビットマップデータ80が、
図13(A)に示したドットパターン400(図6
(B)と同じものである)を表すものであった場合にお
いて、注目ドットが、ドット410aのような背景色の
ドットであったとき、階調値算出部74は、白色のドッ
トを表すドットデータを、表示ビットマップデータ90
のドットデータとする。また、ドット410bのような
上下左右のいずれかに背景色のドットが存在する黒色の
ドットが注目ドットであったときには、黒色のドットを
表すドットデータを、表示ビットマップデータ90のド
ットデータとする。また、ドット410c、410dの
ような、上下左右に背景色のドットが存在せず、m(≦
4)個の白ドットが存在する黒ドットが注目ドットであ
った場合には、黒ドット用明度テーブル32B内のmに
対応づけられた明度のドットが表示されるRGBデータ
を作成し、表示ビットマップデータ90の、対応する位
置のドットに関するドットデータとする。そして、ドッ
ト410e、410fのような上下左右に背景色のドッ
トが存在せず、m個の白ドットが存在する白ドットが注
目ドットであったときには、白ドット用明度テーブル3
2W内のmに対応づけられた明度のドットが表示される
RGBデータを作成し、表示ビットマップデータ90
の、その白ドットに対応する位置のドットに関するドッ
トデータとする。
For example, if the reference bitmap data 80 is
The dot pattern 400 shown in FIG.
(The same as (B)), and when the target dot is a dot of a background color such as the dot 410a, the tone value calculation unit 74 sets the dot representing the white dot The data is displayed as display bitmap data 90.
Dot data. When a black dot having a background color dot in any of the upper, lower, left and right directions, such as the dot 410b, is the target dot, the dot data representing the black dot is set as the dot data of the display bitmap data 90. . Also, there are no dots of background color at the top, bottom, left and right, such as the dots 410c and 410d, and m (≦
4) If the black dot including the white dots is the target dot, RGB data for displaying a dot having a brightness corresponding to m in the black dot brightness table 32B is created, and a display bit is set. It is assumed that the dot data is related to the dot at the corresponding position in the map data 90. If there is no background color dot such as the dots 410e and 410f in the upper, lower, left, and right directions, and the white dot in which m white dots are present is the target dot, the white dot brightness table 3
RGB data for displaying dots of lightness corresponding to m in 2W is created, and display bitmap data 90
Of the dot at the position corresponding to the white dot.

【0095】階調値算出部74は、上記のような処理
を、ドット数指定情報が示す数のドットに対して行な
う。このため、例えば、白ドット用、黒ドット用明度テ
ーブル32W,32Bが図11に示したものであった場
合、階調値算出部74によって、図13(A)に示した
ドットパターン400を表す参照ビットマップデータ8
0から、図13(B)、(C)に示したドットパターン
500を表す表示ビットマップデータ90が作成され
る。なお、図13(B)において、ドットを示す枠内に
記してある数値は、そのドットのドットデータの作成に
使用される明度であり、上記枠内に数値が記していない
ドットは、対応するドットが背景色であるため、白色を
表すドットデータが用いられるドットである。
The tone value calculation section 74 performs the above-described processing for the number of dots indicated by the dot number designation information. Therefore, for example, when the brightness tables 32W and 32B for white dots and black dots are as shown in FIG. 11, the tone value calculation unit 74 represents the dot pattern 400 shown in FIG. Reference bitmap data 8
From 0, display bitmap data 90 representing the dot pattern 500 shown in FIGS. 13B and 13C is created. In FIG. 13B, the numerical value described in the frame indicating the dot is the lightness used to create the dot data of the dot, and the dot whose numerical value is not described in the frame corresponds to the dot. Since the dot is the background color, the dot data is dot data representing white.

【0096】表示ビットマップデータ90の作成が完了
した際には、画像処理部76によって、表示ビットマッ
プデータ90が表すドットパターン(文字)と、元とな
った参照ビットマップデータ80が表すドットパターン
とが、ディスプレイ11の画面上に表示される。そし
て、表示内容を確認した操作者によって完了指示が出さ
れたときに、格納処理部75によって、表示ビットマッ
プデータ(フォントデータ)90を、データ格納部78
内の、保存ファイル名で識別されるフォントファイル3
1に追加する処理が行なわれる。
When the creation of the display bitmap data 90 is completed, the image processing unit 76 causes the dot pattern (character) represented by the display bitmap data 90 and the dot pattern represented by the original reference bitmap data 80. Are displayed on the screen of the display 11. Then, when a completion instruction is issued by the operator who has confirmed the display content, the storage processing unit 75 stores the display bitmap data (font data) 90 in the data storage unit 78.
The font file 3 identified by the saved file name
A process to add to 1 is performed.

【0097】また、操作者によって再作成指示が出され
た場合(図示せず)には、階調値算出部74が再び機能
し、その結果として、異なった内容の表示ビットマップ
データ90が作成される。
When a re-creation instruction is issued by the operator (not shown), the tone value calculation section 74 functions again, and as a result, display bit map data 90 having different contents is created. Is done.

【0098】以上、詳細に説明したように、第1、第2
実施形態に係るフォント生成装置を用いれば、既存のフ
ォントデータから、ジャギーが目立たないように明度が
調整されたフォントデータを自動的に生成することがで
きる。従って、本フォント生成装置を用いれば、ディス
プレイの解像度が低い場合であっても、そのディスプレ
イに、各種の情報が見やすい文字で表された画像を表示
させることができることになる。
As described in detail above, the first and second
By using the font generation device according to the embodiment, it is possible to automatically generate, from existing font data, font data whose brightness is adjusted so that jaggies are not noticeable. Therefore, if the present font generation device is used, even if the resolution of the display is low, it is possible to display an image in which various kinds of information are represented in easy-to-read characters on the display.

【0099】さらに、第2実施形態に係るフォント生成
装置を用いれば、その輪郭が黒色で縁取りされたフォン
トを表示できるフォントデータを容易に得ることができ
る。換言すれば、第2実施形態に係るフォント生成装置
を用いれば、フォントの表示態様を多様化できるだけで
なく、フォントの視認性を向上させることができること
になる。
Further, if the font generating apparatus according to the second embodiment is used, font data capable of displaying a font whose outline is black and bordered can be easily obtained. In other words, by using the font generation device according to the second embodiment, not only the font display mode can be diversified, but also the font visibility can be improved.

【0100】なお、上記した第1実施形態、第2実施形
態に係るフォント生成装置は、無彩色のドットパターン
を表すフォントデータ(表示ビットマップデータ)を作
成する装置であったが、各フォント生成装置は、有彩色
のドットパターンを表すフォントデータを作成する装置
に簡単に変形することができる。例えば、第1実施形態
に係るフォント生成装置は、文字色のRGBデータの
R、G、B成分をそれぞれ、Rc、Gc、Bcと表記した
場合、ステップS209において、明度ZとRc、Gc、
Bcとから、R、G、B成分が、それぞれ、Rc×Z/1
00、Gc×Z/100、Bc×Z/100である24ビ
ットのRGBデータが生成され、ドットデータ#nとし
て記憶されるようにすれば、文字を構成するドットが文
字色で表示されるフォントデータを生成する装置に変形
できることになる。また、表示ビットマップデータの作
成後、各ドットの色が変換されるようにしても、有彩色
のドットパターンを表すフォントデータを生成できる装
置が得られることになる。
The font generating apparatuses according to the first and second embodiments are apparatuses for generating font data (display bitmap data) representing an achromatic dot pattern. The device can be easily modified to a device that creates font data representing a chromatic dot pattern. For example, when the R, G, and B components of the RGB data of the character color are represented as Rc, Gc, and Bc, respectively, the font generation device according to the first embodiment determines in step S209 that the lightness Z and Rc, Gc,
From Bc, R, G, and B components are respectively Rc × Z / 1.
If 24-bit RGB data of 00, Gc × Z / 100, and Bc × Z / 100 are generated and stored as dot data #n, a font in which dots constituting a character are displayed in a character color It can be transformed into a device for generating data. Further, even if the color of each dot is converted after the creation of the display bitmap data, an apparatus capable of generating font data representing a chromatic dot pattern can be obtained.

【0101】第2実施形態に係るフォント生成装置も、
同様に、ステップ409の処理を上記のものに変えれ
ば、有彩色のドットパターンを表すフォントデータを生
成する装置とすることができる。ただし、縁取り部分を
も文字色とする場合には、ステップS405において、
注目ドットが黒色であった場合、文字色(Rc、Gc、B
c)を示すRGBデータがドットデータ#nとされるよ
うにしておくことが必要である。
The font generation device according to the second embodiment also has
Similarly, if the processing in step 409 is changed to the above-described processing, a device that generates font data representing a chromatic dot pattern can be obtained. However, in the case where the border portion is also set to the character color, in step S405,
If the target dot is black, the character color (Rc, Gc, B
It is necessary to set the RGB data indicating c) to be dot data #n.

【0102】また、各実施形態に係るフォント生成装置
は、24ビットのRGBデータがドットデータとされた
フォントデータを生成する装置であったが、生成される
フォントデータに含めるドットデータのビット数は、何
種類かの明度(階調)を表現できるものであれば何ビッ
トであっても良い。より具体的には、ドットデータが、
パレットによってRGBデータに変換されるデータ(い
わゆるカラービット)であっても良い。さらに、各実施
形態に係るフォント生成装置は、白ドット用、黒ドット
用明度テーブルの内容を変更するための機能を備えた装
置であったが、当該機能を設けない形でフォント生成装
置を実現することもできる。
Although the font generating apparatus according to each embodiment generates font data in which 24-bit RGB data is converted to dot data, the number of bits of the dot data to be included in the generated font data is as follows. Any number of bits may be used as long as they can express several types of brightness (gradation). More specifically, the dot data is
It may be data (so-called color bits) converted to RGB data by a pallet. Furthermore, although the font generation device according to each embodiment has a function for changing the contents of the brightness table for white dots and black dots, the font generation device is realized without such a function. You can also.

【0103】そして、第1、第2実施形態に係るフォン
ト生成装置あるいは上記のような変形を加えたフォント
生成装置(すなわち、本発明のフォント生成装置)によ
って生成されたフォントデータを、ゲーム装置用のCD
−ROMに記録しておけば、家庭用テレビの画面に、優
れたゲーム画像を表示させることができる。
Then, the font data generated by the font generation device according to the first or second embodiment or the font generation device modified as described above (that is, the font generation device of the present invention) is transferred to the game device. CD of
-If recorded in the ROM, an excellent game image can be displayed on the screen of the home television.

【0104】具体的には、図14に示したようなゲーム
装置110、すなわち、CD−ROM120に記録され
たプログラム、データに基づき、プレイヤのコントロー
ラ130に対する操作内容に応じたゲーム画像を家庭用
テレビ140の画面145に表示するゲーム装置110
が市販されている。このようなゲーム装置110の動作
時には、画面145に、例えば、図15に示したよう
な、ゲームの状況を示す文字情報(“攻撃”、“防御”
等)を含むゲーム画像が、320×240ドット程度の
解像度で表示されている。自キャラクタ160、敵キャ
ラクタ161、162とともに、内部に文字列を配置さ
せたウィンドウW1、W2、及びW3が表示されてい
る。例えば、ウィンドウW1内に本発明で生成された文
字列(“攻撃”1001を表示してプレイヤにゲーム情
報を伝えるようになっている。他の文字列についても同
様である。このような低解像度のゲーム画像中に含める
文字として、多数のドットからなるものを用いたので
は、ゲームキャラクタ160等の表示に用いれる領域が
狭くなってしまう。従って、比較的、少数のドットで構
成された文字を用いなければならないが、当該文字の表
示に、ビットマップフォントやアウトラインフォントを
単純に用いたのでは、表示される文字がジャギーが目立
つものとなってしまう。
Specifically, based on the game device 110 as shown in FIG. 14, that is, a program and data recorded on the CD-ROM 120, a game image corresponding to the operation content of the controller 130 by the player is displayed on the home television. Game device 110 displayed on screen 145 of 140
Are commercially available. At the time of such an operation of the game apparatus 110, the screen 145 displays, for example, character information ("attack", "defense") indicating the game situation as shown in FIG.
Etc.) are displayed at a resolution of about 320 × 240 dots. Along with the own character 160 and the enemy characters 161, 162, windows W1, W2, and W3 in which character strings are arranged are displayed. For example, a character string ("attack" 1001) generated according to the present invention is displayed in the window W1 and game information is transmitted to the player. The same applies to other character strings. If a character including a large number of dots is used as a character to be included in the game image, the area used for displaying the game character 160 and the like becomes small. However, if a bitmap font or an outline font is simply used to display the characters, the displayed characters will be more jagged.

【0105】これに対して、CD−ROM120内に、
本発明のフォント生成装置によって生成されたフォント
データを記録しておくとともに、当該フォントデータを
利用して画面表示を行うプログラムを記録しておけば、
ジャギーが目立たない少数のドットからなる文字を表示
できるので、ゲームキャラクタ等を表示するための領域
を狭くすること無く、プレイヤに、ゲームを進行させる
ために必要な文字情報を視認性の高い形態で提供できる
ことになる。
On the other hand, in the CD-ROM 120,
If the font data generated by the font generation device of the present invention is recorded and a program for displaying a screen using the font data is recorded,
Since characters consisting of a small number of dots with inconspicuous jaggies can be displayed, the character information necessary for proceeding the game is provided to the player in a highly visible form without reducing the area for displaying the game character and the like. Can be provided.

【0106】なお、上記のケースでは、ノンインターレ
ース形式で文字表示が行なわれることになるが、本フォ
ント生成装置によって生成されたフォントデータを、イ
ンターレース形式で文字表示が行なわれるケース(例え
ば、ビデオ画像に文字情報を含めるための装置や、ゲー
ム装置の出力するゲーム画像の解像度が、例えば320
×480ドットである場合)に用いても、効果的であ
る。また、本発明のフォント生成装置で生成されたフォ
ントデータが記録される記録媒体が、フレキシブルディ
スクや、CD−R等の他の形式の記録媒体であっても良
い。さらに、フォントデータを用いた表示が行なわれる
ディスプレイが、例えば液晶ディスプレイやプラズマデ
ィスプレイであっても良いことは当然である。
In the above case, character display is performed in a non-interlaced format. However, in a case where character data is displayed in an interlaced format by font data generated by the font generating apparatus (for example, a video image). The resolution of a game image output from a game device or a device for including character information in
X480 dots) is effective. The recording medium on which the font data generated by the font generation device of the present invention is recorded may be a recording medium of another format such as a flexible disk or a CD-R. Further, it goes without saying that the display on which the display using the font data is performed may be, for example, a liquid crystal display or a plasma display.

【0107】[0107]

【発明の効果】本発明によれば、既存のフォントデータ
に基づき、各ドットごとに、そのドットの周辺に位置し
ている白ドットと黒ドットの比率に応じて明度が決定さ
れ、その明度に応じた階調値が算出されてフォントデー
タが生成されるので、どのような形式のフォントデータ
からでも、ジャギーが目立たないフォントデータを容易
に得ることができる。
According to the present invention, lightness is determined for each dot in accordance with the ratio of white dots and black dots located around the dot, based on the existing font data. Since font data is generated by calculating a corresponding gradation value, font data in which jaggies are not noticeable can be easily obtained from any type of font data.

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

【図1】 本発明の第1実施形態に係るフォント生成シ
ステムのハードウェア構成を示したブロック図である。
FIG. 1 is a block diagram showing a hardware configuration of a font generation system according to a first embodiment of the present invention.

【図2】 第1実施形態に係るフォント生成装置の全体
的な動作手順を示した流れ図である。
FIG. 2 is a flowchart showing an overall operation procedure of the font generation device according to the first embodiment.

【図3】 第1実施形態に係るフォント生成装置で実行
される表示ビットマップデータ作成処理の流れ図であ
る。
FIG. 3 is a flowchart of display bitmap data creation processing executed by the font generation device according to the first embodiment.

【図4】 第1実施形態に係るフォント生成装置で使用
される白ドット用、黒ドット用明度テーブルの説明図で
ある。
FIG. 4 is an explanatory diagram of a brightness table for white dots and a brightness table for black dots used in the font generation device according to the first embodiment.

【図5】 第1実施形態に係るフォント生成装置の動作
を説明するための機能ブロック図である。
FIG. 5 is a functional block diagram for explaining the operation of the font generation device according to the first embodiment.

【図6】 第1実施形態に係るフォント生成装置による
フォントデータの作成手順を説明するための図である。
FIG. 6 is a diagram for explaining a procedure for creating font data by the font generation device according to the first embodiment.

【図7】 第1実施形態に係るフォント生成装置によっ
て作成されるフォントデータを説明するための図であ
る。
FIG. 7 is a diagram for describing font data created by the font generation device according to the first embodiment.

【図8】 本発明の第2実施形態に係るフォント生成装
置の全体的な動作手順を示した流れ図である。
FIG. 8 is a flowchart showing an overall operation procedure of the font generation device according to the second embodiment of the present invention.

【図9】 第2実施形態に係るフォント生成装置で作成
される参照ビットマップデータの説明図である。
FIG. 9 is an explanatory diagram of reference bitmap data created by a font generation device according to a second embodiment.

【図10】 第2実施形態に係るフォント生成装置で実
行される表示ビットマップデータ作成処理の流れ図であ
る。
FIG. 10 is a flowchart of display bitmap data creation processing executed by the font generation device according to the second embodiment.

【図11】 第2実施形態に係るフォント生成装置で使
用される白ドット用、黒ドット用明度テーブルの説明図
である。
FIG. 11 is an explanatory diagram of a brightness table for white dots and a brightness table for black dots used in the font generation device according to the second embodiment.

【図12】 第2実施形態に係るフォント生成装置の動
作を説明するための機能ブロック図である。
FIG. 12 is a functional block diagram for explaining the operation of the font generation device according to the second embodiment.

【図13】 第2実施形態に係るフォント生成装置によ
るフォントデータの作成手順を説明するための図であ
る。
FIG. 13 is a diagram for explaining a procedure of creating font data by the font generation device according to the second embodiment.

【図14】 フォント生成装置によって生成されたフォ
ントデータの、ゲーム装置での利用法を説明するための
図である。
FIG. 14 is a diagram for explaining how to use the font data generated by the font generation device in a game device.

【図15】 フォント生成装置によって生成されたフォ
ントデータの、ゲーム装置での利用法を説明するための
図である。
FIG. 15 is a diagram for explaining how to use the font data generated by the font generation device in the game device.

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

11 ディスプレイ 12 入力装置 13 フォント生成装置 21 制御部 21a CPU 21b ROM 21c RAM 23 HDD 24 通信制御回路 25 ディスプレイ制御回路 26 インタフェース回路 27 FDドライブ 28 CD−ROMドライブ 30 フォント生成プログラム 31 フォントファイル 32 明度テーブルファイル 41 FD 42 CD−ROM 43 通信回線 61、71 ビットマップデータ生成部 62、73 明度テーブル読出部 63、74 階調値算出部 64、75 格納処理部 65、76 画像処理部 66、77 処理データ格納部 67、78 データ格納部 72 縁取処理部 Reference Signs List 11 display 12 input device 13 font generation device 21 control unit 21a CPU 21b ROM 21c RAM 23 HDD 24 communication control circuit 25 display control circuit 26 interface circuit 27 FD drive 28 CD-ROM drive 30 font generation program 31 font file 32 brightness table file 41 FD 42 CD-ROM 43 Communication line 61, 71 Bitmap data generator 62, 73 Brightness table reader 63, 74 Gradation value calculator 64, 75 Storage processor 65, 76 Image processor 66, 77 Processing data storage Unit 67, 78 Data storage unit 72 Border processing unit

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 2C087 AA15 AA16 AB01 BA09 BC05 BC14 CA02 EA15 5C082 AA06 BA02 BA34 BA35 BB32 CA11 CA12 CA22 CA54 CB01 DA32 DA87 MM10 9A001 DD15 HH28 HH31 JJ76 KK45 KK54 KK60  ──────────────────────────────────────────────────続 き Continued on front page F term (reference) 2C087 AA15 AA16 AB01 BA09 BC05 BC14 CA02 EA15 5C082 AA06 BA02 BA34 BA35 BB32 CA11 CA12 CA22 CA54 CB01 DA32 DA87 MM10 9A001 DD15 HH28 HH31 JJ76 KK45 KK54 KK60 KK60

Claims (16)

【特許請求の範囲】[Claims] 【請求項1】 入力されたフォントデータに基づいて、
ビットマップ展開を行い、白ドットと黒ドットからなる
ドットマトリックスを生成する生成手段と、 前記生成手段によって生成された前記ドットマトリック
スから、前記ドットマトリックスを構成するドット毎
に、そのドットを注目ドットとした、注目ドット及びそ
の周辺ドットからなるブロックを切り出す切出手段と、 前記切出手段によって切り出された各ブロック内の注目
ドットの色及び前記周辺ドットを構成している白ドット
と黒ドットの比率に応じて、前記切出手段で切り出され
たブロック内の注目ドットの明度を決定する決定手段
と、 前記決定手段によって決定された各明度にしたがって、
前記注目ドットごとの、R、G、B、それぞれの階調値
を算出する算出手段と、 前記算出手段で算出された各階調値を前記切出手段で切
り出された各ブロック内の注目ドットに対応する位置の
ドットに関するデータとして、フォントデータを生成す
るフォントデータ生成手段と、を備えることを特徴とす
るフォント生成装置。
1. Based on input font data,
Generating means for performing bitmap development and generating a dot matrix composed of white dots and black dots; and from the dot matrix generated by the generating means, for each dot constituting the dot matrix, the dot is regarded as a target dot. Cutting means for cutting out a block consisting of the target dot and its surrounding dots; and the color of the target dot in each block cut by the cutting means and the ratio of white dots to black dots constituting the surrounding dots. In accordance with, determining means for determining the brightness of the dot of interest in the block cut out by the cutting means, according to each brightness determined by the determining means,
Calculating means for calculating R, G, B, and respective tone values for each of the noted dots; and applying the respective tone values calculated by the calculating means to the noted dots in each block cut out by the cutout means. A font data generating means for generating font data as data relating to a dot at a corresponding position.
【請求項2】 前記切出手段は、前記注目ドット及びそ
の上下左右に位置する4個のドットからなるブロックを
切り出すことを特徴とする請求項1記載のフォント生成
装置。
2. The font generating apparatus according to claim 1, wherein the cutout unit cuts out the block composed of the target dot and four dots located above, below, left, and right of the target dot.
【請求項3】 前記切出手段で切り出されるブロックに
おける、前記周辺ドットの中の白ドットまたは黒ドット
のいずれか一方の数と、前記注目ドットの色との双方に
明度を対応づけた明度テーブルをさらに備え、 前記決定手段は前記明度テーブルを参照して前記注目ド
ットの明度を決定することを特徴とする請求項1または
請求項2記載のフォント生成装置。
3. A brightness table in which brightness is associated with both the number of one of white dots and black dots in the peripheral dots and the color of the target dot in a block cut out by the cutout means. 3. The font generation apparatus according to claim 1, further comprising: determining the brightness of the target dot with reference to the brightness table.
【請求項4】 前記明度テーブルは、白色の注目ドット
に対応づけられた明度の方が黒色の注目ドットに対応づ
けられた明度よりも高い値に設定されていることを特徴
とする請求項3記載のフォント生成装置。
4. The lightness table according to claim 3, wherein the lightness associated with the white attention dot is set to a higher value than the lightness associated with the black attention dot. The described font generation device.
【請求項5】 前記フォントデータ生成手段によって生
成されるフォントデータがフォントの輪郭が所定色で縁
取りされているドットパターンを表すものであることを
特徴とする請求項1ないし請求項4のいずれかに記載の
フォント生成装置。
5. The font data generated by the font data generating means represents a dot pattern in which the outline of a font is bordered by a predetermined color. The font generation device according to 1.
【請求項6】 入力されたフォントデータに基づいて、
ビットマップ展開を行い、白ドットと黒ドットからなる
ドットマトリックスを生成する生成ステップと、 前記生成ステップで生成された前記ドットマトリックス
から、前記ドットマトリックスを構成するドット毎に、
そのドットを注目ドットとした、注目ドット及びその周
辺ドットからなるブロックを切り出す切出ステップと、 前記切出ステップで切り出された各ブロック内の注目ド
ットの色及び前記周辺ドットを構成している白ドットと
黒ドットの比率に応じて前記切出ステップで切り出され
たブロック内の注目ドットの明度を決定する決定ステッ
プと、 前記決定ステップにおいて決定された各明度にしたがっ
て、前記注目ドットごとの、R、G、B、それぞれの階
調値を算出する算出ステップと、 前記算出ステップで算出された各階調値を前記切出ステ
ップで切り出された各ブロック内の注目ドットに対応す
る位置のドットに関するデータとして、フォントデータ
を生成するフォントデータ生成ステップと、を含むこと
を特徴とするフォント生成方法。
6. Based on the input font data,
Performing bitmap development and generating a dot matrix composed of white dots and black dots, and from the dot matrix generated in the generating step, for each dot constituting the dot matrix,
A cutting step of cutting out a block composed of the target dot and its surrounding dots, using the dot as the target dot; and the color of the target dot in each block cut out in the cutting step and white forming the peripheral dots A determining step of determining the lightness of the target dot in the block cut out in the cutout step in accordance with the ratio of the dot to the black dot; and R for each of the target dots according to the lightness determined in the determining step. , G, B, a calculation step of calculating each gradation value, and data relating to a dot at a position corresponding to a target dot in each block cut out of each gradation value calculated in the calculation step in the cutout step And a font data generating step of generating font data.
【請求項7】 前記切出ステップは、前記注目ドット及
びその上下左右に位置する4個のドットからなるブロッ
クを切り出すことを特徴とする請求項6記載のフォント
生成方法。
7. The font generating method according to claim 6, wherein in the extracting step, a block including the target dot and four dots located above, below, left, and right of the target dot is extracted.
【請求項8】 前記決定ステップは、前記切出ステップ
で切り出されるブロックにおける、前記周辺ドットの中
の白ドットまたは黒ドットのいずれか一方の数と、前記
注目ドットの色との双方に明度を対応づけた、メモリに
予め記憶された明度テーブルを参照して前記注目ドット
の明度を決定することを特徴とする請求項6または請求
項7記載のフォント生成方法。
8. The determining step includes setting the brightness of both the number of one of white dots and black dots in the surrounding dots and the color of the target dot in the block cut out in the cutting step. 8. The font generation method according to claim 6, wherein the brightness of the target dot is determined with reference to a brightness table stored in a memory in advance.
【請求項9】 前記明度テーブルは、白色の注目ドット
に対応づけられた明度の方が黒色の注目ドットに対応づ
けられた明度よりも高い値に設定されていることを特徴
とする請求項8記載のフォント生成方法。
9. The lightness table according to claim 8, wherein the lightness associated with the white attention dot is set to a higher value than the lightness associated with the black attention dot. The font generation method described.
【請求項10】 前記フォントデータ生成ステップで生
成されるフォントデータが、フォントの輪郭が所定色で
縁取りされているドットパターンを表すものであること
を特徴とする請求項6ないし請求項9のいずれかに記載
のフォント生成方法。
10. The font data generated in the font data generating step, wherein the font data represents a dot pattern in which the outline of the font is bordered by a predetermined color. The font generation method described in Crab.
【請求項11】 入力されたフォントデータに基づい
て、ビットマップ展開を行い、白ドットと黒ドットから
なるドットマトリックスを生成する生成ステップと、 前記生成ステップで生成された前記ドットマトリックス
から、前記ドットマトリックスを構成するドット毎に、
そのドットを注目ドットとした、注目ドット及びその周
辺ドットからなるブロックを切り出す切出ステップと、 前記切出ステップで切り出された各ブロック内の注目ド
ットの色及び前記周辺ドットを構成している白ドットと
黒ドットの比率に応じて前記切出ステップで切り出され
たブロック内の注目ドットの明度を決定する決定ステッ
プと、 前記決定ステップにおいて決定された各明度にしたがっ
て、前記注目ドットごとの、R、G、B、それぞれの階
調値を算出する算出ステップと、 前記算出ステップで算出された各階調値を前記切出ステ
ップで切り出された各ブロック内の注目ドットに対応す
る位置のドットに関するデータとして、フォントデータ
を生成するフォントデータ生成ステップと、をコンピュ
ータに実行させるためのプログラムを記録したコンピュ
ータ読取可能な記録媒体。
11. A generation step of performing bitmap development based on input font data to generate a dot matrix composed of white dots and black dots; and generating the dot matrix from the dot matrix generated in the generation step. For each dot that makes up the matrix,
A cutting step of cutting out a block composed of the target dot and its surrounding dots, using the dot as the target dot, and the color of the target dot in each block cut out in the cutting step and the white color forming the peripheral dots A determining step of determining the brightness of the target dot in the block cut out in the cutout step in accordance with the ratio of the dot to the black dot; and, for each of the target dots, R , G, B, a calculating step of calculating respective tone values, and data relating to a dot at a position corresponding to a target dot in each block cut out of each of the tone values calculated in the calculating step in the extracting step And a font data generating step of generating font data. Recorded computer-readable recording medium beam.
【請求項12】 前記切出ステップは、前記注目ドット
及びその上下左右に位置する4個のドットからなるブロ
ックを切り出すことを特徴とする請求項11記載のコン
ピュータ読取可能な記録媒体。
12. The computer-readable recording medium according to claim 11, wherein the extracting step cuts out a block including the target dot and four dots located above, below, left, and right of the target dot.
【請求項13】 前記決定ステップは、前記切出ステッ
プで切り出されるブロックにおける、前記周辺ドットの
中の白ドットまたは黒ドットのいずれか一方の数と、前
記注目ドットの色との双方に明度を対応づけた、メモリ
に予め記憶された明度テーブルを参照して前記注目ドッ
トの明度を決定することを特徴とする請求項11または
請求項12記載のコンピュータ読取可能な記録媒体。
13. The determining step includes setting the brightness of both the number of one of white dots and black dots in the peripheral dots and the color of the target dot in the block cut out in the cutting step. 13. The computer-readable recording medium according to claim 11, wherein the brightness of the target dot is determined by referring to a brightness table stored in a memory in advance.
【請求項14】 前記明度テーブルは、白色の注目ドッ
トに対応づけられた明度の方が、黒色の注目ドットに対
応づけられた明度よりも高い値に設定されていることを
特徴とする請求項13記載のコンピュータ読取可能な記
録媒体。
14. The lightness table according to claim 1, wherein the lightness associated with the white attention dot is set to a higher value than the lightness associated with the black attention dot. 14. The computer-readable recording medium according to item 13.
【請求項15】 前記フォントデータ生成ステップで生
成されるフォントデータが、フォントの輪郭が所定色で
縁取りされているドットパターンを表すものであること
を特徴とする請求項11ないし請求項14のいずれかに
記載のコンピュータ読取可能な記録媒体。
15. The font data according to claim 11, wherein the font data generated in the font data generating step represents a dot pattern in which the outline of the font is bordered by a predetermined color. Or a computer-readable recording medium.
【請求項16】 ゲーム装置において、請求項6記載の
フォント生成方法で生成されたフォントデータに基づい
て背景画面上にフォント画像を表示形成する手段を備え
ることを特徴とするゲーム装置。
16. A game device, comprising: means for displaying and forming a font image on a background screen based on font data generated by the font generation method according to claim 6. Description:
JP11208684A 1999-07-23 1999-07-23 Font generating device, font generating method, computer readable recording medium and game device Pending JP2001034256A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11208684A JP2001034256A (en) 1999-07-23 1999-07-23 Font generating device, font generating method, computer readable recording medium and game device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11208684A JP2001034256A (en) 1999-07-23 1999-07-23 Font generating device, font generating method, computer readable recording medium and game device

Publications (1)

Publication Number Publication Date
JP2001034256A true JP2001034256A (en) 2001-02-09

Family

ID=16560367

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11208684A Pending JP2001034256A (en) 1999-07-23 1999-07-23 Font generating device, font generating method, computer readable recording medium and game device

Country Status (1)

Country Link
JP (1) JP2001034256A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007233866A (en) * 2006-03-02 2007-09-13 Toshiba Corp Change instruction drawing preparation system, method and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007233866A (en) * 2006-03-02 2007-09-13 Toshiba Corp Change instruction drawing preparation system, method and program
JP4714043B2 (en) * 2006-03-02 2011-06-29 株式会社東芝 Change instruction drawing creation system and method, and program

Similar Documents

Publication Publication Date Title
KR910005366B1 (en) Crt/plasma display controller
EA000271B1 (en) Method and apparatus for processing a table
JPH03260768A (en) Key word emphasis display device
JP2001034256A (en) Font generating device, font generating method, computer readable recording medium and game device
JPH09223181A (en) Ruled line preparing device, matrix data recognizing device and character recognizing device provided with these devices
JPS62174824A (en) Printing method for picture display information
JP2608276B2 (en) Document display device
JPH0522933B2 (en)
JP2973906B2 (en) Character user interface device
JP2861949B2 (en) Display system
JPH10240120A (en) Device and method for finger language learning and finger language learning data storage medium
JP2983579B2 (en) Display control device
JPH10333867A (en) Picture display device
JP3311024B2 (en) Document processing method and apparatus
JPH0844747A (en) Document preparation device and language translating method
JP2928512B2 (en) Document processing apparatus and method
JP3358698B2 (en) Drawing equipment
JPH07230453A (en) Processor and method for document processing
JPH10149358A (en) Character display device and recording medium
JPH0721189A (en) Translation assisting system
JPS63201820A (en) Picture layout setting system for interactive computer system
JPH10254421A (en) Color selecting method
JPH05289647A (en) Character drawing control method
JPH10334256A (en) Display device and its control method
JPH0239361A (en) Document processor