JPH02304596A - Character data generator - Google Patents
Character data generatorInfo
- Publication number
- JPH02304596A JPH02304596A JP1127089A JP12708989A JPH02304596A JP H02304596 A JPH02304596 A JP H02304596A JP 1127089 A JP1127089 A JP 1127089A JP 12708989 A JP12708989 A JP 12708989A JP H02304596 A JPH02304596 A JP H02304596A
- Authority
- JP
- Japan
- Prior art keywords
- character
- data
- character data
- line
- storage means
- 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
Links
Landscapes
- Dot-Matrix Printers And Others (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明は、たとえばパーソナルコンピュータやワード
プロセッサなどにおいて好適に実施されるキャラクタデ
ータ発生装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a character data generation device suitably implemented in, for example, a personal computer or a word processor.
パーソナルコンピュータやワードプロセッサなどでは、
文字などのキャララクタをCRT (陰極線管)などの
表示装置に表示させ、または印刷装置に印刷出力などさ
せるために、複数のキャラクタのドツトパターンをビッ
トイメージで記憶したいわゆるフォントメモリが備えら
れており、各キャラクタに対応して予め定めたキャラク
タコードに応答して、このキャラクタコードに対応した
キャラクタのビットイメージを前記フォントメモリから
読み出して、表示装置などに与えるようにしてキャラク
タの表示などを実現している。Personal computers, word processors, etc.
In order to display characters such as letters on a display device such as a CRT (cathode ray tube) or print them out on a printing device, a so-called font memory is provided that stores the dot patterns of multiple characters as bit images. In response to a predetermined character code corresponding to each character, the bit image of the character corresponding to this character code is read from the font memory and provided to a display device, etc., thereby realizing character display. There is.
前記ビットイメージで表されたキャラクタデータを発生
させるための構成は第2図に示されている。フォントメ
モリとして設けたROM(リード・オンリ・メモリ)l
には、たとえば第3図に示すように16X16ドツトで
構成したキャラクタのビットイメージが記憶されており
、たとえば塗り潰されたドツトに対応してデータ「l」
が記憶され、塗り潰されていないドツトに対応してデー
タ「0ノが記憶されている。このようなデータが複数の
キャラクタに間して記憶されており、ライン2から入力
されるJISコードなどのキャラクタコードに対応した
アドレスに記憶されたキャラクタのビットイメージで表
されたキャラクタデータがライン3に導出される。この
キャラクタデータの続出は、各キャラクタにおいて行方
向に配列した16ドツトで構成する1947分ずつ行わ
れる。この出力すべきラインを指定するために、ROM
Iにはライン4を介してスキャンアドレス信号が入力さ
れる。A configuration for generating character data represented by the bit image is shown in FIG. ROM (read-only memory) provided as font memory
For example, as shown in FIG. 3, a bit image of a character composed of 16x16 dots is stored, and data "l" is stored in correspondence to a filled dot.
is memorized, and the data ``0'' is memorized corresponding to the unfilled dots.Such data is memorized between multiple characters, and the JIS code etc. input from line 2 is memorized. Character data represented by the bit image of the character stored at the address corresponding to the character code is derived on line 3. This succession of character data consists of 1947 bits consisting of 16 dots arranged in the row direction for each character. In order to specify the line to be output, the ROM
A scan address signal is input to I via line 4.
各キャラクタにおいて、スキャンアドレス0〜15が第
1ラインf1〜第16ライン/!16に対応して付され
ており、キャラクタコードをライン2から与えるととも
に、O〜15のスキャンアドレスを順に指し示すスキャ
ンアドレス信号をライン4から与えることにより、前記
キャラクタコードに対応したキャラクタデータが第1ラ
インllから1ライン分ずつ順にライン3に導出されて
いく。In each character, scan addresses 0 to 15 are 1st line f1 to 16th line/! 16, and by giving a character code from line 2 and giving a scan address signal sequentially pointing to scan addresses 0 to 15 from line 4, the character data corresponding to the character code can be changed to the first Lines are sequentially derived from line 11 to line 3 one by one.
上述のような従来の構成では、各キャラクタのパターン
を全てピントイメージとして記憶しているため、たとえ
ば1つのキャラクタを64X64ドツトで構成して高精
細度なキャラクタの表現を行おうとする場合には、RO
MIには、1つのキャラクタを16X16ドツトで構成
した場合の16倍の記憶容量が必要となる。このように
、従来の構成では、高精細度の表現のためには、大きな
記憶容量を有するROM1が必要となり、したがってコ
スト高となるなどの問題があった。In the conventional configuration as described above, all the patterns of each character are stored as focused images, so for example, if one character is composed of 64 x 64 dots and a high-definition character is to be expressed, R.O.
MI requires 16 times as much storage capacity as when one character is composed of 16x16 dots. As described above, in the conventional configuration, a ROM 1 having a large storage capacity is required for high-definition expression, resulting in problems such as high cost.
この発明の目的は、上述の技術的課題を解決し、高精細
度なキャラクタの表現がコストの増大を招来することな
く実現されるようにしたキャラクタデータ発生装置を提
供することである。SUMMARY OF THE INVENTION An object of the present invention is to provide a character data generation device that solves the above-mentioned technical problems and allows high-definition character expression to be realized without increasing costs.
この発明のキャラクタデータ発生装置は、キャラクタデ
ータに圧縮処理を施した圧縮データが記憶され、キャラ
クタコードの入力に応答して前記圧縮データが読み出さ
れる記憶手段と、この記憶手段から読み出した圧縮デー
タを伸長して、前記キャラクタコードに対応した前記キ
ャラクタデータを出力するデータ伸長手段とを備えたこ
とを特徴とする。The character data generation device of the present invention includes a storage means in which compressed data obtained by performing compression processing on character data is stored, and the compressed data is read out in response to input of a character code; The present invention is characterized by comprising a data decompression means for decompressing and outputting the character data corresponding to the character code.
この発明の構成によれば、記憶手段からのキャラクタデ
ータに圧縮処理を施した圧縮データが、データ伸長手段
で伸長されることにより、キャラクタを構成する各ドツ
トに対応したキャラクタデータが出力される。したがっ
て記憶手段にはキャラクタデータを圧縮した圧縮データ
を記憶することができる記憶容量が必要とされるに過ぎ
ないので、その記憶容量が低減され、これによりコスト
の低減に寄与することができる。また、キャラクタの表
現を高精度に行うために各キャラクタを多くのドツトで
構成した場合にも、前記記憶手段の記憶容量がむやみに
大きくなることはなく、したがって高精細度なキャラク
タの表現がコストの増大を招くことなく実現される。According to the configuration of the present invention, the compressed data obtained by performing compression processing on the character data from the storage means is expanded by the data expansion means, thereby outputting character data corresponding to each dot forming the character. Therefore, since the storage means only needs a storage capacity capable of storing compressed data obtained by compressing character data, the storage capacity is reduced, thereby contributing to cost reduction. Furthermore, even if each character is made up of many dots in order to express the character with high precision, the storage capacity of the storage means will not become unnecessarily large, and therefore high-definition character expression will be possible at a reduced cost. This is achieved without causing an increase in
第1図はこの発明の一実施例のキャラクタデータ発生装
置の基本的な構成を示すブロック図である。このキャラ
クタデータ発生装置はライン11から入力されるキャラ
クタコードに応答して、ライン12にキャラクタデータ
を導出させるようにしたもので、前記キャラクタデータ
に圧縮処理を施した圧縮データなどが記憶された記憶手
段としてのROM(リード・オンリ・メモリ)13と、
前記圧縮データを伸長して前記キャラクタデータを出力
するデータ伸長部17とを備えている。前記キャラクタ
データとは、第2図に示された従来の構成においてライ
ン3に導出されるキャラクタデータと等価なデータであ
って、たとえば第3図に示されるように行列配列した複
数のドツトにより構成したキャラクタを、各ドツトにl
:Iに対応するデータ(「0」または「1」)で表した
ものである。FIG. 1 is a block diagram showing the basic configuration of a character data generation device according to an embodiment of the present invention. This character data generator is configured to derive character data on line 12 in response to a character code inputted on line 11, and has a memory in which compressed data obtained by performing compression processing on the character data is stored. ROM (read only memory) 13 as a means,
and a data decompression section 17 that decompresses the compressed data and outputs the character data. The character data is data equivalent to the character data derived on line 3 in the conventional configuration shown in FIG. 2, and is composed of a plurality of dots arranged in a matrix as shown in FIG. 3, for example. Insert the character you created into each dot.
: It is expressed as data (“0” or “1”) corresponding to I.
ROM13には、文字などの複数のキャラクタに関して
、このキャラクタを表すデータが記憶されている。この
キャラクタを表すデータは、この実施例では、前記キャ
ラクタデータにたとえばモディファイド・ハフマン方式
(以下rMH方式」という。)などの圧縮処理を施した
圧縮データまたはこの圧縮処理を施さない前記キャラク
タデータである。すなわち前記圧縮処理によってデータ
長が短くなるキャラクタのみが、前記圧縮処理を施した
圧縮データとしてROM13に記憶されている。The ROM 13 stores data representing a plurality of characters such as letters. In this embodiment, the data representing this character is compressed data obtained by subjecting the character data to compression processing such as Modified Huffman method (hereinafter referred to as "rMH method"), or the character data which is not subjected to this compression processing. . That is, only characters whose data length is shortened by the compression process are stored in the ROM 13 as compressed data subjected to the compression process.
MH方式によるデータの圧縮処理では、黒色ドツト(第
3図において塗り潰されたドツト)および白色ドツト(
第3図において塗り潰されていないドツト)がそれぞれ
連続する数に対応したランレングス符号が作成されるが
、このMH方式では圧縮処理後のデータ長が必ずしも圧
縮処理前のデータ長よりも短くなるとは限らない、すな
わち、黒色または白色ドツトが連続する場合には圧縮率
が高くなるが、黒色ドツトおよび白色ドツトが交互に現
れる場合などには白色ドツトと黒色ドツトとの変化の数
に対応したランレングス符号が作成されるため、結局、
逆にデータ長が長くなってしまう、このため、この実施
例では、
(圧縮前のデータM)−(圧縮後のデータ量)>0とな
るキャラクタに対しては、ROM13の記憶領域13a
に前記圧縮処理を施した圧縮データを記憶させ、
(圧縮前のデータり−(圧縮後のデータiF)<0とな
るキャラクタに対しては、ROM13の記憶領域13b
に圧縮処理を施さない前記キャラクタデータをそのまま
記憶させるようにしている。In data compression processing using the MH method, black dots (filled dots in Figure 3) and white dots (
A run-length code is created corresponding to each consecutive number of unfilled dots in Figure 3, but in this MH method, the data length after compression processing is not necessarily shorter than the data length before compression processing. In other words, if black or white dots are continuous, the compression rate will be high, but if black dots and white dots appear alternately, the run length will be adjusted according to the number of changes between white dots and black dots. Because the sign is created, we end up with
On the contrary, the data length becomes long. Therefore, in this embodiment, for a character where (data M before compression) - (data amount after compression) > 0, the storage area 13a of the ROM 13 is
The compressed data subjected to the compression processing is stored in the storage area 13b of the ROM 13 for characters where (data before compression - (data after compression iF)) < 0.
The character data without compression processing is stored as is.
ライン11からのキャラクタコードは、この人力された
キャラクタコードに対応してROM13のアドレスを指
定するアドレス発生部14に与えられる。このアドレス
発生部14は、入力されたキャラクタコードに対応する
キャラクタを表すデータがROM13において圧縮して
記憶されているか否かを判定し、この判定結果に基づい
てROM13の記憶領域13aまたは記憶領域13bに
ライン15からアドレス信号AIを与える。アドレス発
生部14における前記判定結果はフラグFlとして、R
OM13からの圧縮データを伸長してキャラクタデータ
に復号化するデータ伸長部17に与えられる。The character code from line 11 is given to address generator 14 which specifies the address of ROM 13 in accordance with this manually inputted character code. This address generation unit 14 determines whether data representing a character corresponding to the input character code is compressed and stored in the ROM 13, and based on the determination result, the storage area 13a or the storage area 13b of the ROM 13. An address signal AI is applied from line 15 to . The determination result in the address generation section 14 is set as a flag Fl.
The data is supplied to a data decompression unit 17 that decompresses the compressed data from the OM 13 and decodes it into character data.
アドレス発生部からのアドレス信号A1が記憶領域13
aのアドレスを指定するものであるときには、記憶領域
13aに記憶され前記人力されたキャラクタコードに対
応したlキャラクタ分の圧縮データが、前記アドレス信
号A1とデータ伸長部17からライン18を介して入力
されるアドレス信号A2とに基づいて、ライン16から
データ伸長部17に与えられる。The address signal A1 from the address generation section is sent to the storage area 13.
When the address of address a is specified, compressed data for l characters stored in the storage area 13a and corresponding to the manually inputted character code is inputted via the address signal A1 and the line 18 from the data decompression section 17. The address signal A2 is applied from the line 16 to the data expansion section 17 based on the address signal A2.
このデータ伸長部17は、内部に備えた圧縮データ伸長
テーブル17aに基づいて圧縮データの復号化処理を行
い、キャラクタを構成する各ドツトに21に対応したキ
ャラクタデータを作成する。このキャラクタデータは、
ライン19から入力されライン20を介してデータ伸長
部17に与えられるスキャンアドレス信号SA(第2図
のライン4からのスキャンアドレス信号と等価)に基づ
いて、行方向に配列された複数のドツトで構成された1
947分のデータ毎にライン21からライン12に出力
される。The data decompression section 17 decodes the compressed data based on an internally provided compressed data decompression table 17a, and creates character data corresponding to 21 for each dot composing the character. This character data is
Based on the scan address signal SA (equivalent to the scan address signal from line 4 in FIG. 2) inputted from line 19 and given to data expansion unit 17 via line 20, a plurality of dots are arranged in the row direction. configured 1
Every 947 minutes of data is output from line 21 to line 12.
アドレス発生部14において、入力されたキャラクタコ
ードに対応するキャラクタを表すデータが、圧縮処理を
施さないでROM13に記憶されていると判定されたと
きには、アドレス発生部14は、記憶領域13bにおい
て前記入力されたキャラクタコードに対応したキャラク
タデータが記憶されたアドレスを表すアドレス信号A1
をライン15に導出する。これによってROM13は、
ライン19からのスキャンアドレス信号SAに基づいて
、前記キャラクタデータを1ライン分ずつライン22か
らライン12に導出する。When the address generation unit 14 determines that the data representing the character corresponding to the input character code is stored in the ROM 13 without being compressed, the address generation unit 14 stores the input data in the storage area 13b. address signal A1 representing the address where character data corresponding to the character code is stored;
is derived on line 15. As a result, ROM13
Based on the scan address signal SA from line 19, the character data is derived from line 22 to line 12 one line at a time.
ライン12に導出されたキャラクタデータは、CRT
(陰極線管)や液晶表示装置などの表示装置や、印刷装
置などに与えられる。The character data derived on line 12 is
It is applied to display devices such as cathode ray tubes (cathode ray tubes) and liquid crystal displays, and printing devices.
以上のようにこの実施例においては、ROM13には各
キャラクタ毎にキャラクタデータおよびこのキャラクタ
データに圧縮処理を施した圧縮データのうちいずれかデ
ータ量の少ないデータが記憶され、前記圧縮データに関
してはデータ伸長部17においてデータの伸長処理を施
してキャラクタを構成する各ドツトに対応したキャラク
タデータに復号化した後に出力させるようにしている。As described above, in this embodiment, the ROM 13 stores character data for each character and compressed data obtained by compressing the character data, whichever has a smaller amount of data. The decompression unit 17 performs data decompression processing to decode the data into character data corresponding to each dot constituting the character, and then outputs the data.
これによって、ROM13では、少ない記憶容量で多く
のキャラクタを発生させるためのデータを記憶すること
ができるようになり、この結果、たとえば1つのキャラ
クタを多くのドツトで構成して、キャラクタの表現を高
精細度で行おうとする場合にも、ROM13にはむやみ
に大きな記憶容量が必要とされることはない、このよう
な効果は、1つのキャラクタを構成するドツト数が大き
くなるほど大きい。As a result, the ROM 13 can store data for generating many characters with a small storage capacity, and as a result, for example, one character can be made up of many dots to enhance the character's expression. Even if high definition is desired, the ROM 13 does not require an unnecessarily large storage capacity; this effect becomes greater as the number of dots constituting one character increases.
さらに、たとえば、各文字に対してゴシック体や明朝体
などの複数の書体による表現を行う場合にも、各書体に
対応したキャラクタを表すデータを比較的小さな記憶容
量のROM13に記憶させることが可能となる。このよ
うにして、高精細度の表現や、多種類のキャラクタの表
現が、比較的小さな記憶容量のROMを用いて低コスト
で実現されるようになる。Furthermore, even when representing each character in multiple fonts such as Gothic and Mincho, it is possible to store data representing characters corresponding to each font in the ROM 13, which has a relatively small storage capacity. It becomes possible. In this way, high-definition expression and expression of a wide variety of characters can be realized at low cost using a ROM with a relatively small storage capacity.
前述の実施例では、キャラクタデータの圧縮処理として
、MH方式を例に採って説明したが、この圧縮処理には
他の任意の圧縮方式が用いられてもよい。In the embodiments described above, the MH method was used as an example of character data compression processing, but any other compression method may be used for this compression processing.
(発明の効果〕
以上のようにこの発明のキャラクタデータ発生装置によ
れば、記憶手段からのキャラクタデータに圧縮処理を施
した圧縮データが、データ伸長手段で伸長されることに
より、キャラクタを構成する各ドツトに対応したキャラ
クタデータが出力される。したがって記憶手段にはキャ
ラクタデータを圧縮した圧縮データを記憶することがで
きる記憶容量が必要とされるに過ぎないので、その記憶
容量が低減され、これによりコストの低減に寄与するこ
とができる。また、キャラクタの表現を高精細度に行う
ために各キャラクタを多くのドツトで構成した場合にも
、前記記憶手段の記憶容量がむやみに大きくなることは
なく、したがって高精細度なキャラクタの表現がコスト
の増大を招くことなく実現される。(Effects of the Invention) As described above, according to the character data generation device of the present invention, the compressed data obtained by performing compression processing on the character data from the storage means is expanded by the data expansion means, thereby forming a character. Character data corresponding to each dot is output.Therefore, since the storage means only needs a storage capacity capable of storing compressed data obtained by compressing the character data, the storage capacity is reduced and this This can contribute to cost reduction.Furthermore, even when each character is composed of many dots in order to express the character in high definition, the storage capacity of the storage means does not become unnecessarily large. Therefore, high-definition character expression can be achieved without increasing costs.
第1図はこの発明の一寞施例のキャラクタデータ発生装
置の基本的な構成を示すブロック図、第2図は従来技術
の基本的な構成を示すブロック図、第3図は複数のドツ
トで構成されたキャラクタを示す説明図である。
13・・・ROM(記憶手段)、17・・・データ伸長
部FIG. 1 is a block diagram showing the basic configuration of a character data generator according to an embodiment of the present invention, FIG. 2 is a block diagram showing the basic configuration of a conventional technique, and FIG. It is an explanatory diagram showing a constituted character. 13... ROM (storage means), 17... data expansion unit
Claims (1)
、各ドットに対応したキャラクタデータとして発生する
キャラクタデータ発生装置において、 前記キャラクタデータに圧縮処理を施した圧縮データが
記憶され、キャラクタコードの入力に応答して前記圧縮
データが読み出される記憶手段と、この記憶手段から読
み出した圧縮データを伸長して、前記キャラクタコード
に対応した前記キャラクタデータを出力するデータ伸長
手段とを備えたことを特徴とするキャラクタデータ発生
装置。[Scope of Claim] A character data generation device that generates a character composed of a plurality of dots arranged in a matrix as character data corresponding to each dot, wherein compressed data obtained by performing compression processing on the character data is stored, and the character data is A storage means for reading the compressed data in response to input of a code, and a data decompression means for decompressing the compressed data read from the storage means and outputting the character data corresponding to the character code. A character data generator characterized by:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1127089A JPH02304596A (en) | 1989-05-19 | 1989-05-19 | Character data generator |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1127089A JPH02304596A (en) | 1989-05-19 | 1989-05-19 | Character data generator |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02304596A true JPH02304596A (en) | 1990-12-18 |
Family
ID=14951313
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1127089A Pending JPH02304596A (en) | 1989-05-19 | 1989-05-19 | Character data generator |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02304596A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO1996038007A1 (en) * | 1995-05-24 | 1996-11-28 | Thomson Consumer Electronics, Inc. | Apparatus and method for generating on-screen-display messages using stored bitstreams |
| US6081300A (en) * | 1995-05-24 | 2000-06-27 | Thomson Consumer Electronics, Inc. | Apparatus and method for generating on-screen-display messages using stored bitstreams |
-
1989
- 1989-05-19 JP JP1127089A patent/JPH02304596A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO1996038007A1 (en) * | 1995-05-24 | 1996-11-28 | Thomson Consumer Electronics, Inc. | Apparatus and method for generating on-screen-display messages using stored bitstreams |
| US6081300A (en) * | 1995-05-24 | 2000-06-27 | Thomson Consumer Electronics, Inc. | Apparatus and method for generating on-screen-display messages using stored bitstreams |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CA2069701A1 (en) | Method of substituting fonts and displaying characters | |
| JP3582675B2 (en) | Apparatus and method for storing image data in memory | |
| US4314244A (en) | Multiple height proportioned character generation | |
| JP3145509B2 (en) | Character generation method and device | |
| US6606094B1 (en) | Method and apparatus for text image stretching | |
| US5644684A (en) | High-efficiency compression suitable for use in character generation | |
| JP3495496B2 (en) | Text information output device and method | |
| KR20020070106A (en) | Method of controlling the display of a character based on a dynamic code generation | |
| JPS5857182A (en) | Character pattern memory system | |
| JPS5824185A (en) | Character pattern generation circuit | |
| JP2972466B2 (en) | Dot pattern compression method and apparatus and output method and apparatus | |
| JPS62136693A (en) | Graphic character output system | |
| JPH02287739A (en) | Memory access method | |
| JPH0234366A (en) | Character processing device and method | |
| JPS63247795A (en) | Character output device for multi-kind character style | |
| JP2000003168A (en) | Font drawing method and apparatus | |
| JPS58115481A (en) | Graphic generator | |
| JPH0895548A (en) | Character output device and method | |
| JPH01140192A (en) | Character generator | |
| JPS62103154A (en) | Character pattern memory circuit | |
| JPH07210136A (en) | Gradation character generation method | |
| JPH03154978A (en) | Method and device for output of pattern | |
| JPS61264377A (en) | Character pattern generator | |
| JPS62262089A (en) | Character display system | |
| JPH0325495A (en) | Printer |