JP3314443B2 - Character output device - Google Patents

Character output device

Info

Publication number
JP3314443B2
JP3314443B2 JP05264993A JP5264993A JP3314443B2 JP 3314443 B2 JP3314443 B2 JP 3314443B2 JP 05264993 A JP05264993 A JP 05264993A JP 5264993 A JP5264993 A JP 5264993A JP 3314443 B2 JP3314443 B2 JP 3314443B2
Authority
JP
Japan
Prior art keywords
character
size
pattern information
width
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP05264993A
Other languages
Japanese (ja)
Other versions
JPH06266339A (en
Inventor
進 芳賀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP05264993A priority Critical patent/JP3314443B2/en
Publication of JPH06266339A publication Critical patent/JPH06266339A/en
Application granted granted Critical
Publication of JP3314443B2 publication Critical patent/JP3314443B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、文字出力装置に関し、
特にディスプレイのような低解像度の出力装置に対して
文字パターン情報を出力する文字出力装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character output device,
In particular, the present invention relates to a character output device that outputs character pattern information to a low-resolution output device such as a display.

【0002】[0002]

【従来の技術】従来、各種サイズの文字を出力する文字
出力方式には、ドット行列文字方式と輪郭文字方式があ
る。
2. Description of the Related Art Conventionally, there are a dot matrix character system and a contour character system as character output systems for outputting characters of various sizes.

【0003】このドット行列文字方式は、予め各種サイ
ズの文字パターン情報を文字出力装置内部の文字ファイ
ル内に格納し、文字と文字サイズが指定されたならば各
種サイズの文字パターン情報の中から合致する文字パタ
ーン情報を選択して出力する方式であり、輪郭文字方式
は、基本となる輪郭文字情報のみを記憶装置内に格納
し、指定文字サイズに対応して輪郭文字情報を拡大縮小
することにより所望の文字情報を出力する方式である。
In the dot matrix character system, character pattern information of various sizes is stored in a character file in a character output device in advance, and if a character and a character size are designated, matching is performed from the character pattern information of various sizes. The outline character method is to store only basic outline character information in a storage device, and to enlarge or reduce the outline character information in accordance with a designated character size. This is a method for outputting desired character information.

【0004】[0004]

【発明が解決しようとする課題】ところで、従来のドッ
ト行列文字方式では、指定文字と指定文字サイズに該当
する文字パターン情報を抽出して出力すれば良いため高
速・高品質な出力が可能である。しかし、このドット行
列文字方式は、指定文字サイズの文字パターン情報が文
字ファイル内になければ当該文字出力ができないため、
多くの文字サイズに対応するためにはこれに対応した多
数種類の文字パターン情報を文字ファイル内に用意しな
ければならず、このため文字ファイルに多大な記憶容量
が要求されるという問題がある。
In the conventional dot matrix character system, high-speed and high-quality output is possible because it is sufficient to extract and output a designated character and character pattern information corresponding to a designated character size. . However, this dot matrix character method cannot output the character unless the character pattern information of the specified character size exists in the character file.
In order to support a large number of character sizes, a large number of types of character pattern information corresponding to this need to be prepared in a character file, so that a large storage capacity is required for the character file.

【0005】これに対し、輪郭文字方式では、記憶装置
内に格納した基本となる輪郭文字情報を指定文字サイズ
に応じて拡大縮小することにより文字出力を行うので、
少ない記憶容量で任意の文字サイズの文字出力が可能で
ある。しかし、この輪郭文字方式は、拡大縮小等の図形
的変換処理を伴うため出力速度の低下が問題となり、更
に低サイズ文字出力の際には文字品質劣化を招くという
問題もある。
On the other hand, in the outline character method, character output is performed by enlarging or reducing the basic outline character information stored in the storage device according to the designated character size.
Character output of an arbitrary character size is possible with a small storage capacity. However, this contour character method involves a graphic conversion process such as enlargement / reduction, so that the output speed is reduced, and furthermore, the output of low-size characters causes deterioration of character quality.

【0006】そこで、特開昭63−235986号公報
に開示されたように、小さな文字についてはドット行列
文字方式で出力し、大きな文字については輪郭文字方式
で出力する方式を用いることにより、ドット行列方式と
輪郭文字方式の欠点を互いに補い文字出力の高速・高品
質化を図る装置も提案されている。
Accordingly, as disclosed in Japanese Patent Application Laid-Open No. 63-235986, a method of outputting a small character by a dot matrix character system and outputting a large character by a contour character system is used. There has also been proposed an apparatus for compensating for the disadvantages of the system and the outline character system to achieve high-speed and high-quality character output.

【0007】しかし、小さな文字サイズに関しても多く
の文字サイズが要求される場合があり、この場合文字フ
ァイル内に指定した文字サイズの文字パターン情報がな
いとこの文字サイズの文字出力はできず、これに対応す
るためにはこの多くの文字サイズに対応した多くの文字
パターン情報を文字ファイル内に用意する必要があるた
め膨大な記憶容量が必要となり、上述の特開昭63−2
35986号公報に開示された方式を用いても、特に低
サイズ文字に関しては出力速度の低下と文字品質の劣化
を招くという問題がある。
However, a large character size may be required even for a small character size. In this case, if there is no character pattern information of the designated character size in the character file, the character size cannot be output. In order to cope with this, it is necessary to prepare a lot of character pattern information corresponding to this many character sizes in a character file, so that a huge storage capacity is required.
Even if the system disclosed in Japanese Patent No. 35986 is used, there is a problem that the output speed is reduced and the character quality is deteriorated, especially for low-size characters.

【0008】そこで、本発明では上記問題点を解決し、
少ない文字サイズの文字パターン情報を文字ファイルに
記憶するだけで、任意の文字サイズの文字を高速・高品
質に出力できる文字出力装置を提供することを目的とす
る。
Accordingly, the present invention solves the above problems,
It is an object of the present invention to provide a character output device capable of outputting characters of an arbitrary character size at high speed and with high quality simply by storing character pattern information of a small character size in a character file.

【0009】本発明では、複数種類の文字の文字パター
ンおよび文字幅情報を文字サイズ毎に定義した文字パタ
ーン情報と、前記複数種類の文字の基準の文字サイズに
おける基準文字幅情報とを記憶する記憶手段(図1の
8)と、指定された文字サイズの文字パターン情報が前
記文字パターン情報の中にないときは、前記文字パター
ン情報の中から前記指定された文字サイズに近い文字サ
イズの文字パターン情報を選択して読み出す選択手段
(図1の1a)と、前記指定された文字サイズに近い文
字サイズの文字パターン情報を前記選択手段により選択
した場合は、指定された文字に対応する前記基準文字幅
情報を前記記憶手段から読み出し、該読み出した基準文
字幅情報に基づき前記指定された文字サイズに対応して
出力すべき文字の実文字幅情報を演算する演算手段(図
1の1b)と、前記演算手段で演算した実文字幅情報を
用いて前記選択手段で選択した前記指定された文字サイ
ズに近い文字サイズの文字パターン情報の文字パターン
を出力する出力処理手段(図1の1c)とを具備するこ
とを特徴とする。
In the present invention, character pattern information defining character patterns and character width information for a plurality of types of characters for each character size, and reference character width information for the reference character size of the plurality of types of characters are stored. Means (8 in FIG. 1); and when the character pattern information of the designated character size is not included in the character pattern information, a character pattern of a character size close to the designated character size is selected from the character pattern information. Selecting means (1a in FIG. 1) for selecting and reading information; and selecting, when the selecting means selects character pattern information having a character size close to the specified character size, the reference character corresponding to the specified character The width information is read from the storage unit, and the actual text of the character to be output corresponding to the specified character size based on the read reference character width information Calculating means (1b in FIG. 1) for calculating width information; and character pattern information having a character size close to the specified character size selected by the selecting means using the actual character width information calculated by the calculating means. Output processing means (1c in FIG. 1) for outputting a pattern.

【0010】[0010]

【作用】指定文字サイズに近い文字を指定文字サイズの
文字間隔で出力する文字出力装置により文字出力を行う
際に、前記入力手段により入力された指定文字サイズ
が、前記文字ファイル内の文字パターン情報のいずれか
と一致する場合には、指定文字に対応する該文字パター
ン情報を出力し、前記文字ファイル内の前記文字パター
ン情報のいずれのとも一致しない場合には、前記記憶手
段に記憶した前記文字ファイルから該文字サイズに最も
近い文字サイズの文字パターン情報を前記選択手段によ
り選択するとともに、該指定文字に対応する文字幅情報
を前記文字幅ファイルから前記選択手段により選択し、
該文字幅情報をもとに前記演算手段を用いて文字間隔の
演算を行い、前記文字パターン情報を該文字間隔で出力
することにより、指定文字サイズの文字パターン情報が
前記記憶装置に格納していない場合にも、指定文字サイ
ズの文字パターン情報を指定文字サイズの文字間隔で高
品質かつ高速に出力できるため、前記記憶手段の記憶容
量を特定の低サイズ文字に対応する文字パターン情報に
限定できるとともに、文字品質を劣化させることなく高
速な文字出力を実施できる。
When a character output device that outputs characters close to a specified character size at a character spacing of the specified character size performs character output, the specified character size input by the input unit is changed to character pattern information in the character file. If the character file information matches any of the character patterns, the character pattern information corresponding to the designated character is output. If the character pattern information does not match any of the character pattern information in the character file, the character file stored in the storage means is output. And selecting character pattern information of a character size closest to the character size by the selection means, and selecting character width information corresponding to the designated character from the character width file by the selection means,
Based on the character width information, a character spacing is calculated using the calculating means, and the character pattern information is output at the character spacing, so that character pattern information of a designated character size is stored in the storage device. Even when there is no character pattern information, the character pattern information of the specified character size can be output at high quality and at high speed with the character interval of the specified character size, so that the storage capacity of the storage unit can be limited to the character pattern information corresponding to a specific low-size character. In addition, high-speed character output can be performed without deteriorating character quality.

【0011】[0011]

【実施例】以下、本発明の一実施例について図を参照し
て説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings.

【0012】図1は、本発明による文字出力装置の構成
を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a character output device according to the present invention.

【0013】文字出力装置は、文字判定抽出部1a、文
字間隔演算部1b及び出力処理部1cからなる処理装置
1と、メインメモリ2と、指定文字と指定文字サイズを
入力するキーボード3と、キーボード3を制御するキー
ボード制御装置4と、文字表示を行うディスプレイ5
と、ディスプレイ5に表示する点列情報を格納するディ
スプレイメモリ6と、ディスプレイ5を制御するディス
プレイ制御装置7と、文字ファイル8aと文字幅ファイ
ル8bを格納する2次ディスク装置8と、2次ディスク
装置8を制御する2次ディスク制御装置9から構成され
る。
The character output device includes a processing device 1 including a character determination extraction unit 1a, a character interval calculation unit 1b, and an output processing unit 1c; a main memory 2; a keyboard 3 for inputting a specified character and a specified character size; And a display 5 for displaying characters.
A display memory 6 for storing dot sequence information to be displayed on the display 5, a display control device 7 for controlling the display 5, a secondary disk device 8 for storing a character file 8a and a character width file 8b, and a secondary disk It comprises a secondary disk control device 9 for controlling the device 8.

【0014】ここで、まず処理装置1の構成要素である
文字判定抽出部1a、文字間隔演算部1b、出力処理部
1cについて説明する。
Here, the character determination / extraction unit 1a, the character interval calculation unit 1b, and the output processing unit 1c, which are the components of the processing device 1, will be described first.

【0015】文字判定抽出部1aは、キーボード3から
入力された指定文字サイズに該当する文字パターン情報
が文字ファイル8a内にある場合には、入力文字に該当
する文字パターン情報を抽出し、文字ファイル8a内に
無い場合には、文字ファイル8a内に格納された各文字
パターン情報のうち、指定文字サイズに最も近いサイズ
の文字パターン情報を抽出し、出力処理部1cに転送す
るものである。
When the character pattern information corresponding to the designated character size input from the keyboard 3 is present in the character file 8a, the character determination extraction unit 1a extracts the character pattern information corresponding to the input character, and If the character pattern information does not exist in the character file 8a, the character pattern information having the size closest to the designated character size is extracted from the character pattern information stored in the character file 8a and transferred to the output processing unit 1c.

【0016】また、文字間隔演算部1bは、指定文字サ
イズの文字パターン情報が文字ファイル8a内に無い場
合に、出力文字の文字間隔を文字幅ファイル8bを使っ
て演算し、演算結果をメインメモリ上に記憶するもので
ある。
When the character pattern information of the designated character size does not exist in the character file 8a, the character space calculation unit 1b calculates the character space of the output character using the character width file 8b, and stores the calculation result in the main memory. It is what is stored above.

【0017】さらに、出力処理部1cは、文字判定抽出
部1aから文字パターン情報を受けとると、まずメイン
メモリ2内から文字間隔を取り出し、該文字パターン情
報内の実パターンを該文字間隔を使ってディスプレイメ
モリ6の所定の位置に格納するものである。
Further, upon receiving the character pattern information from the character determination and extraction unit 1a, the output processing unit 1c first extracts the character spacing from the main memory 2 and converts the actual pattern in the character pattern information using the character spacing. It is stored at a predetermined position in the display memory 6.

【0018】次に、2次ディスク装置8内に格納される
文字ファイル8aと文字幅ファイル8bについて説明す
る。
Next, the character file 8a and the character width file 8b stored in the secondary disk device 8 will be described.

【0019】文字ファイル8aとは、図2に示すように
文字コード2b、ドット幅2c、実パターン2dから成
る文字パターン情報2eの集合であり、文字サイズ2a
毎に区分されたものである。
The character file 8a is a set of character pattern information 2e including a character code 2b, a dot width 2c, and an actual pattern 2d as shown in FIG.
It is classified for each.

【0020】したがって、例えば10ドットの文字ファ
イルとは、文字サイズ10をヘッダとして、文字コード
・ドット幅・実パターンから成る文字パターン情報の集
合となる。
Therefore, for example, a character file of 10 dots is a set of character pattern information including a character code, a dot width, and an actual pattern, with a character size of 10 as a header.

【0021】ここで、文字サイズ2aは、10ドット、
12ドットというように文字を出力する際の縦方向のド
ットサイズのことであり、文字コード2bとは、文字を
16進数4桁で表現したJISコード等のことである。
また、ドット幅2cとは、文字を出力する際の横方向の
ドットサイズであり、文字毎に異なる値をとるものであ
る。さらに、実パターン2dとは、文字サイズ2aの縦
幅とドット幅2cの横幅の空間内で文字をドット表現し
たものである。
Here, the character size 2a is 10 dots,
A dot size in the vertical direction when a character is output, such as 12 dots, is referred to as a character code 2b. The character code 2b is a JIS code or the like in which a character is represented by four hexadecimal digits.
The dot width 2c is a horizontal dot size when a character is output, and has a different value for each character. Further, the actual pattern 2d is a representation of a character in dots within a space of a vertical width of the character size 2a and a horizontal width of the dot width 2c.

【0022】次に、文字幅ファイル8bとは、図3に示
すように文字コード2bと文字幅情報3cの組み合わせ
の集合であり、前記の文字ファイルと異なり文字サイズ
を持たないものである。
Next, the character width file 8b is a set of combinations of character codes 2b and character width information 3c as shown in FIG. 3, and has no character size unlike the above-mentioned character file.

【0023】ここで、文字幅情報3cとは、輪郭文字方
式において一般に用いられる基準となる文字の幅を指
し、例えば、文字’A’の場合には「728」というよ
うに文字サイズ(縦幅)を1000ドットとした場合の
ドット幅(横幅)を示すものである。
Here, the character width information 3c refers to the width of a character which is a reference generally used in the outline character method. For example, in the case of the character "A", the character size (vertical width) such as "728" ) Is a dot width (width) when 1000 dots are used.

【0024】なお、文字ファイル8a内のドット幅2c
と文字幅ファイル8b内の文字幅情報3cの差異につい
て以下詳細に説明する。
The dot width 2c in the character file 8a
And the character width information 3c in the character width file 8b will be described in detail below.

【0025】ドット幅2cと文字幅情報3cは、共に文
字の横幅を示すドット数であり、文字出力の際に文字の
文字間隔を決めるために用いる点において共通する。し
かし、ドット幅2cが、文字サイズ毎に異なる値を持つ
のに対し、文字幅情報3cでは文字サイズを1000と
固定した基準値である点で相違する。例えば、ドット幅
2cでは、文字’A’に対して文字サイズが10ドット
の場合には「7.3ドット」、12ドットの場合には
「8.7ドット」という値を採るため、ドット幅2c自
体を文字間隔として用いるのに対し、文字幅情報3cで
は、文字’A’に対して「728」という基準値を採
り、10ドットの場合の文字間隔を決める際には、文字
幅情報3c×(入力サイズ/1000)=7.28とい
う演算を用いて算出することになる。
The dot width 2c and the character width information 3c are both the number of dots indicating the horizontal width of a character, and are common in that they are used to determine the character interval between characters when outputting characters. However, the difference is that the dot width 2c has a different value for each character size, whereas the character width information 3c is a reference value in which the character size is fixed to 1000. For example, in the dot width 2c, the character "A" has a value of "7.3 dots" when the character size is 10 dots and "8.7 dots" when the character size is 12 dots. While the character width 2c itself is used as the character spacing, the character width information 3c uses a reference value of “728” for the character “A”, and when determining the character spacing for 10 dots, the character width information 3c × (input size / 1000) = 7.28.

【0026】次に、上記構成を持つ文字出力装置が行う
文字出力処理について図4の示すフローチャートを用い
て説明する。
Next, the character output processing performed by the character output device having the above configuration will be described with reference to the flowchart shown in FIG.

【0027】まず、ユーザが文字と文字サイズをキーボ
ード3から入力すると、キーボード制御装置4により入
力文字が文字コードに変換され、この文字コードと文字
サイズが文字判定抽出部1aに転送される。
First, when a user inputs a character and a character size from the keyboard 3, the input character is converted into a character code by the keyboard control device 4, and the character code and the character size are transferred to the character determination and extraction unit 1a.

【0028】文字判定抽出部1aが、入力文字サイズに
該当する文字パターン情報が文字ファイル8aに存在す
るか否かを調べるため、文字ファイル8aのヘッダであ
る文字サイズを検索する(s1)。
The character determination / extraction unit 1a searches for a character size, which is the header of the character file 8a, to check whether character pattern information corresponding to the input character size exists in the character file 8a (s1).

【0029】そして、入力文字サイズに該当する文字サ
イズが文字ファイル内に存在すれば、入力文字コードに
対応する文字パターン情報を検索し、該文字パターン情
報からドット幅2cと実パターン2dを抽出した(s
2,s3)後、出力処理部1cに実パターン2dを送出
する(s4)。
If a character size corresponding to the input character size exists in the character file, character pattern information corresponding to the input character code is searched, and a dot width 2c and a real pattern 2d are extracted from the character pattern information. (S
After 2, s3), the actual pattern 2d is sent to the output processing unit 1c (s4).

【0030】さらに、出力処理部1cでは、メインメモ
リ2から次文字の表示位置のアドレスを取り出して、デ
ィスプレイメモリ6に実パターン2dを格納する(s
5)ことによりディスプレイ5の所定の位置に指定文字
サイズの指定文字を表示する。
Further, the output processing unit 1c extracts the address of the display position of the next character from the main memory 2 and stores the actual pattern 2d in the display memory 6 (s).
5) The designated character of the designated character size is displayed at a predetermined position on the display 5.

【0031】尚、文字判定抽出部1aは、出力処理部1
cが出力処理完了後、ドット幅2cから次文字の表示位
置を示すアドレスを算定し、これをメインメモリ2に格
納し(s6)、処理を終了する。
It should be noted that the character determination and extraction unit 1a includes an output processing unit 1
After c completes the output processing, the address indicating the display position of the next character is calculated from the dot width 2c, and this is stored in the main memory 2 (s6), and the processing ends.

【0032】一方、文字判定抽出部1aが入力文字サイ
ズに該当する文字サイズを文字ファイルから検索できな
い時には、入力文字サイズに最も近いサイズの文字パタ
ーン情報を検索し(s2,s7)、該文字パターン情報
から実パターン2dを抽出して出力処理部1cに転送す
る(s8)。
On the other hand, when the character determination / extraction unit 1a cannot search the character file for a character size corresponding to the input character size, it searches character pattern information having a size closest to the input character size (s2, s7). The actual pattern 2d is extracted from the information and transferred to the output processing unit 1c (s8).

【0033】そして、出力処理部1cが、メインメモリ
2から次文字の表示位置のアドレスを取り出して、ディ
スプレイメモリ6に実パターン2dを格納する(s9)
ことによりディスプレイ5の所定の位置に指定文字サイ
ズの指定文字を表示する。
Then, the output processing unit 1c extracts the address of the display position of the next character from the main memory 2 and stores the actual pattern 2d in the display memory 6 (s9).
Thereby, the designated character of the designated character size is displayed at a predetermined position on the display 5.

【0034】また、文字判定抽出部1aでは、文字幅フ
ァイル8bから入力文字コードに該当する文字幅情報3
cを抽出し、文字間隔演算部1bに送出する(s1
0)。
In the character determination and extraction unit 1a, the character width information 3 corresponding to the input character code is read from the character width file 8b.
c is extracted and sent to the character spacing calculator 1b (s1
0).

【0035】そして、文字間隔演算部1bが文字幅情報
3c×(指定文字サイズ/1000)の演算を行うこと
により文字間隔を算出し、文字判定抽出部1aに返信す
る(s11)。
Then, the character spacing calculation unit 1b calculates the character spacing by performing the calculation of the character width information 3c × (designated character size / 1000), and sends it back to the character determination extraction unit 1a (s11).

【0036】文字判定抽出部1aは、この文字間隔を基
に次文字の表示位置のアドレスを算定し(アドレス=ア
ドレス+文字間隔)、メインメモリ2に格納し(s1
2)処理を終了するのである。
The character determination and extraction unit 1a calculates the address of the display position of the next character based on the character spacing (address = address + character spacing) and stores it in the main memory 2 (s1).
2) The process ends.

【0037】次に、10ドットと12ドットの文字サイ
ズの文字パターン情報’A’が2次ディスク装置8内の
文字ファイル8aに格納されている場合に、文字’A’
を11ドットで出力する具体例について詳細に説明す
る。
Next, when the character pattern information "A" of the character size of 10 dots and 12 dots is stored in the character file 8a in the secondary disk device 8, the character "A"
Will be described in detail with reference to an example in which is output at 11 dots.

【0038】まず、10ドットの文字パターン情報’
A’は、図5(a)に示すように文字’A’に対応するJ
ISコード0041を持つコード51aと、実パターン53
aの横幅7.3の値を持つドット幅52aと、実パター
ン53aから構成され、また12ドットの文字’A’
は、図5(b)に示すように0041を持つコード51bと、
実パターン53bの横幅8.7の値を持つドット幅52
bと、実パターン53bから構成される。
First, 10-dot character pattern information
A 'is a J corresponding to the character' A 'as shown in FIG.
A code 51a having an IS code 0041 and a real pattern 53
a is composed of a dot width 52a having a value of 7.3 in width and an actual pattern 53a.
Is a code 51b having 0041 as shown in FIG.
Dot width 52 having a value of width 8.7 of actual pattern 53b
b and the actual pattern 53b.

【0039】文字サイズが10ドットと12ドットの場
合については、文字ファイル内の文字サイズ(ヘッダ)
を検索することにより指定文字サイズに該当する文字パ
ターン情報が存在することを認識できるため(S2)、
実パターン43aと43bをディスプレイメモリ6に格
納すれば(S3〜S5)ディスプレイ5に当該文字を表
示できることになる。また、次文字の表示位置は当該表
示からドット幅分ずれた位置に設定する(S6)。10
ドットと12ドットの文字”A”が数文字出力された結
果を図7(a)(b)に示す。
When the character size is 10 dots or 12 dots, the character size (header) in the character file
, It can be recognized that character pattern information corresponding to the designated character size exists (S2).
If the actual patterns 43a and 43b are stored in the display memory 6 (S3 to S5), the characters can be displayed on the display 5. The display position of the next character is set at a position shifted from the display by the dot width (S6). 10
FIGS. 7 (a) and 7 (b) show the results of outputting several characters of a dot and a 12-dot character "A".

【0040】次に、文字サイズが11ドットの場合に
は、文字判定抽出部1aが文字ファイル8aを検索して
も当該文字サイズ(ヘッダ)を検索できないため(S
2)、11ドットの文字パターン情報の代わりに10ド
ットの文字パターン情報を選択し(S7)、当該実パタ
ーンを出力処理部1cを介してディスプレイメモリ6に
格納することによりディスプレイ5に当該10ドット文
字を出力する(S8〜S10)。
Next, when the character size is 11 dots, the character size (header) cannot be searched even if the character determination and extraction unit 1a searches the character file 8a (S
2) The character pattern information of 10 dots is selected instead of the character pattern information of 11 dots (S7), and the actual pattern is stored in the display memory 6 via the output processing unit 1c, so that the 10 dot character pattern information is displayed on the display 5. Characters are output (S8 to S10).

【0041】なお、本例では、指定文字サイズに近い文
字パターン情報を選択する際に、指定文字サイズより文
字サイズが小さく、かつ最も近いものを選択することに
しているが、指定文字サイズよりも大きな文字パターン
を選択することもできる。
In this example, when selecting character pattern information close to the designated character size, the character size smaller than the designated character size and closest to the designated character size is selected. Large character patterns can also be selected.

【0042】次に、文字間隔の算出手順について説明す
る。
Next, the procedure for calculating the character spacing will be described.

【0043】図6に示すように、2次ディスク装置8内
の文字幅ファイル8bには、文字’A’のJISコード
0041に対応して文字’A’の全角文字を1000とした
場合の文字幅情報’728’が格納されているため、文
字判定抽出部1aが文字幅情報を検索し文字間隔演算部
1bに転送する(S10)。文字間隔演算部1bでは、
728×0.011の演算を行うことにより文字間隔
8.0を算出し(S11)、これを文字判定抽出部1a
に返送する。文字判定抽出部1aは、次文字の表示位置
を現表示位置から8ドットずれた位置になるよう計算
し、メインメモリ2に格納するのである(S12)。
As shown in FIG. 6, the character width file 8b in the secondary disk device 8 stores the JIS code of the character "A".
Since the character width information '728' when the full-width character of the character 'A' is set to 1000 is stored in correspondence with 0041, the character determination and extraction unit 1a searches the character width information and transfers it to the character interval calculation unit 1b. (S10). In the character interval calculation unit 1b,
The character spacing 8.0 is calculated by performing a calculation of 728 × 0.011 (S11), and is calculated by the character determination extraction unit 1a.
Return to. The character determination and extraction unit 1a calculates the display position of the next character so as to be shifted by 8 dots from the current display position and stores it in the main memory 2 (S12).

【0044】以上の処理により、文字パターン情報につ
いては10ドットのものを選択し、文字の文字間隔は入
力文字サイズ通りに11ドットとすることにより、2次
ディスク装置内に11ドットの文字パターン情報を格納
していなくとも、極めて近い文字列をディスプレイ5に
出力することができるのである。11ドットの文字”
A”を数文字出力した結果を図8に示す。
By the above processing, the character pattern information of 10 dots is selected, and the character spacing of the characters is set to 11 dots according to the input character size. Can be output to the display 5 even if it is not stored. 11 dot character "
FIG. 8 shows the result of outputting several characters of A ".

【0045】上述したように、本実施例によれば、10
ドット及び12ドットの文字パターン情報のみを2次記
憶装置に格納していないにも係わらず、実施例中で説明
した11ドットの文字出力を出力できるのである。
As described above, according to the present embodiment, 10
Even though only the dot and 12-dot character pattern information are not stored in the secondary storage device, the 11-dot character output described in the embodiment can be output.

【0046】具体的には、上例で示した11ドットの文
字出力と同様に9ドットと13ドットの場合でも出力で
きるため、10ドット・12ドットという2種類の文字
パターン情報を用いて9〜13ドットの5種類の文字出
力ができることになる。そして、文字幅ファイルについ
ては必要となる記憶容量が少ないことから、本例につい
ては、9〜13ドット全ての文字パターン情報を記憶す
る場合に比べて、2/5程度に記憶領域を減らせたこと
になる。
More specifically, as in the case of the 11-dot character output shown in the above example, even 9-dot and 13-dot characters can be output. It is possible to output five types of characters of 13 dots. Since the required storage capacity of the character width file is small, in this example, the storage area can be reduced to about 2/5 as compared with the case where character pattern information of all 9 to 13 dots is stored. become.

【0047】また、本実施例では、簡易な四則演算のみ
を使用し、拡大縮小等の図形的処理を行っていないた
め、低サイズ文字を出力する際に高品質・高速を維持で
きることがわかる。
Also, in this embodiment, since only simple four arithmetic operations are used and no graphic processing such as enlargement / reduction is performed, it is understood that high quality and high speed can be maintained when outputting low-size characters.

【0048】さらに、上記の具体例では、文字幅情報を
用いた演算から文字間隔を算定することにしたが、本演
算の代わりに文字間隔自体を2次ディスク装置8内に格
納することも可能である。
Further, in the above specific example, the character spacing is calculated from the calculation using the character width information. However, the character spacing itself can be stored in the secondary disk device 8 instead of this calculation. It is.

【0049】そして、本発明と輪郭文字方式には文字幅
情報を用いるという共通点があるため、両者の方式を共
用することにより、文字サイズが大きい場合には輪郭文
字方式を、低サイズ文字の場合には本発明による文字出
力を行うこともできる。
Since the present invention and the outline character method have a common feature of using character width information, by sharing both methods, when the character size is large, the outline character method is changed to the low-size character. In such a case, the character output according to the present invention can be performed.

【0050】なお、本例では、10ドット〜12ドット
という低サイズ文字を対象として本発明の適用例を示し
たが、大きな文字に対しても適用可能である。
In this example, the application example of the present invention is shown for a small character of 10 to 12 dots. However, the present invention can be applied to a large character.

【0051】[0051]

【発明の効果】以上詳細に説明したように、本発明で
は、事前に複数の文字パターン情報と文字幅ファイルを
記憶装置に格納し、入力文字サイズの文字パターン情報
が記憶装置内に有る場合には該文字パターン情報を表示
し、入力文字サイズの文字パターン情報が記憶装置内に
無い場合には、指定文字サイズに近いサイズの文字パタ
ーン情報を選択するとともに、文字幅ファイルに基づき
指定文字サイズの文字間隔を算出することにより、少な
い文字サイズの文字パターン情報を文字ファイルに記憶
するだけで、任意の文字サイズの文字を高速・高品質に
出力できることになる。
As described above in detail, according to the present invention, a plurality of character pattern information and character width files are stored in the storage device in advance, and the character pattern information of the input character size is stored in the storage device. Displays the character pattern information. If the character pattern information of the input character size is not present in the storage device, the character pattern information having a size close to the designated character size is selected, and the designated character size of the designated character size is determined based on the character width file. By calculating the character spacing, characters of any character size can be output at high speed and with high quality simply by storing character pattern information of a small character size in a character file.

【0052】したがって、低サイズ文字全てについて文
字パターン情報を記憶する必要が無く、必要となる記憶
容量を低減することが可能である。
Therefore, there is no need to store character pattern information for all low-size characters, and the required storage capacity can be reduced.

【0053】また、拡大・縮小等の図形的処理を行わ
ず、単純な演算のみで文字出力可能であるため、高速・
高品質な文字出力が可能である。
Since character output can be performed only by simple calculations without performing graphic processing such as enlargement / reduction, high-speed
High quality character output is possible.

【0054】そして、本発明は、低サイズ文字に限定す
るものではなく、各種サイズ文字に適用することが可能
である。
The present invention is not limited to low size characters, but can be applied to various size characters.

【0055】さらに、低サイズ文字出力に際しては本発
明に従い、文字サイズが大きい場合には輪郭文字方式を
用いることも可能である。
Further, according to the present invention, when outputting a low-size character, it is possible to use the outline character method when the character size is large.

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

【図1】 本発明の一実施例である文字出力装置の構成
を示すブロック図。
FIG. 1 is a block diagram showing a configuration of a character output device according to an embodiment of the present invention.

【図2】 本発明による文字ファイルの構成を説明する
図。
FIG. 2 is a view for explaining the configuration of a character file according to the present invention.

【図3】 本発明による文字幅ファイルの構成を説明す
る図。
FIG. 3 is a view for explaining the configuration of a character width file according to the present invention.

【図4】 本発明による処理の流れを示すフローチャー
ト。
FIG. 4 is a flowchart showing the flow of processing according to the present invention.

【図5】 文字”A”に対して文字サイズが10ドット
(a)と12ドット(b)の場合の文字パターン情報を示す
図。
FIG. 5 shows a character size of 10 dots for character "A"
FIG. 8A is a diagram showing character pattern information in the case of (a) and 12 dots (b).

【図6】 文字”A”に対する文字幅情報を示す図。FIG. 6 is a diagram showing character width information for a character “A”.

【図7】 本発明を適用し、文字”A”を文字サイズ1
0ドット(a)と12ドット(b)で数文字出力した結果を示
す図。
FIG. 7 is a diagram illustrating an example in which the present invention is applied to a case where a character “A” has a character size of 1;
The figure which shows the result of having output several characters by 0 dot (a) and 12 dots (b).

【図8】 本発明を適用し、文字”A”を文字サイズ1
1ドットで数文字出力した結果を示す図。
FIG. 8 is a diagram illustrating an example in which a character “A” is applied to a character size 1 according to the present invention.
The figure which shows the result of having output several characters by 1 dot.

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

1 処理装置、 1a 文字判定抽出部、 1b 文字
間隔演算部、1c 出力処理部、 2 メインメモリ、
3 キーボード、4 キーボード制御装置、 5 デ
ィスプレイ、 6 ディスプレイメモリ、 7 ディ
スプレイ制御装置、 8 2次ディスク装置、8a 文
字ファイル、 8b 文字幅ファイル、9 2次ディス
ク制御装置
1 processing device, 1a character determination and extraction unit, 1b character interval calculation unit, 1c output processing unit, 2 main memory,
3 keyboard, 4 keyboard controller, 5 display, 6 display memory, 7 display controller, 8 secondary disk device, 8a character file, 8b character width file, 9 secondary disk controller

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G09G 5/32 G06F 17/21 ──────────────────────────────────────────────────続 き Continued on front page (58) Field surveyed (Int.Cl. 7 , DB name) G09G 5/32 G06F 17/21

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数種類の文字の文字パターンおよび文
字幅情報を文字サイズ毎に定義した文字パターン情報
と、前記複数種類の文字の基準の文字サイズにおける基
準文字幅情報とを記憶する記憶手段と、 指定された文字サイズの文字パターン情報が前記文字パ
ターン情報の中にないときは、前記文字パターン情報の
中から前記指定された文字サイズに近い文字サイズの文
字パターン情報を選択して読み出す選択手段と、 前記指定された文字サイズに近い文字サイズの文字パタ
ーン情報を前記選択手段により選択した場合は、指定さ
れた文字に対応する前記基準文字幅情報を前記記憶手段
から読み出し、該読み出した基準文字幅情報に基づき前
記指定された文字サイズに対応して出力すべき文字の実
文字幅情報を演算する演算手段と、 前記演算手段で演算した実文字幅情報を用いて前記選択
手段で選択した前記指定された文字サイズに近い文字サ
イズの文字パターン情報の文字パターンを出力する出力
処理手段とを具備する文字出力装置。
1. A storage means for storing character pattern information in which character patterns and character width information of a plurality of types of characters are defined for each character size, and reference character width information of the plurality of types of characters in a standard character size. Selecting means for selecting and reading out character pattern information having a character size close to the specified character size from the character pattern information when character pattern information having the specified character size is not included in the character pattern information; When the selecting means selects character pattern information having a character size close to the specified character size, the reference character width information corresponding to the specified character is read from the storage means, and the read reference character is read. Calculating means for calculating actual character width information of a character to be output corresponding to the designated character size based on the width information; A character output device that outputs a character pattern of character pattern information having a character size close to the designated character size selected by the selection unit using the actual character width information calculated by the calculation unit.
JP05264993A 1993-03-12 1993-03-12 Character output device Expired - Fee Related JP3314443B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05264993A JP3314443B2 (en) 1993-03-12 1993-03-12 Character output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05264993A JP3314443B2 (en) 1993-03-12 1993-03-12 Character output device

Publications (2)

Publication Number Publication Date
JPH06266339A JPH06266339A (en) 1994-09-22
JP3314443B2 true JP3314443B2 (en) 2002-08-12

Family

ID=12920703

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05264993A Expired - Fee Related JP3314443B2 (en) 1993-03-12 1993-03-12 Character output device

Country Status (1)

Country Link
JP (1) JP3314443B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101763845A (en) * 2008-12-26 2010-06-30 上海闻泰电子科技有限公司 Method for calculating the display width of characters in a dot matrix character library

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007280427A (en) * 2004-08-27 2007-10-25 Softbank Mobile Corp Information terminal device
JP2010026343A (en) * 2008-07-23 2010-02-04 Softbank Mobile Corp Mobile terminal device, image display method, and mobile terminal program
CN101986289B (en) * 2010-11-03 2014-08-13 中兴通讯股份有限公司 Method and device for increasing browser page rendering speed

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101763845A (en) * 2008-12-26 2010-06-30 上海闻泰电子科技有限公司 Method for calculating the display width of characters in a dot matrix character library

Also Published As

Publication number Publication date
JPH06266339A (en) 1994-09-22

Similar Documents

Publication Publication Date Title
JP3314443B2 (en) Character output device
JP3079669B2 (en) Image processing device
JPH0426890A (en) Character display device
JP3192915B2 (en) Character image composite data display printing method and apparatus
JP2001166754A (en) Display system
JPH1165430A (en) Map zooming display method and its map zooming display device, and computer for map zooming display device
JP2806679B2 (en) Character generator
US5995674A (en) Image processing apparatus with shape-correction of a contour-specified figure
JP2557591B2 (en) Guide map creation processing method
JPH0855214A (en) Map display control system
JP3379667B2 (en) Browsing display method
JP2998393B2 (en) Data input device
JPH08138035A (en) Picture data base device
JP2959490B2 (en) String addition method
JP3493016B2 (en) Different-scale map management device
JPH05289841A (en) Document display controller
JPH11272256A (en) Character display control device and its control method
JP3138546B2 (en) How to create user characters
JPH0721182A (en) Character processor and its method
JP3342608B2 (en) Font data converter
JPH07271338A (en) Character generator and its method
JPH0273455A (en) Character processing system
JPH09230784A (en) Map display system
JP2002132235A (en) Cad data display device and method as well as computer readable recording medium
JPH06208366A (en) Character size change system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090607

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100607

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110607

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees