JPS63182155A - Font pattern imaging device - Google Patents

Font pattern imaging device

Info

Publication number
JPS63182155A
JPS63182155A JP62014732A JP1473287A JPS63182155A JP S63182155 A JPS63182155 A JP S63182155A JP 62014732 A JP62014732 A JP 62014732A JP 1473287 A JP1473287 A JP 1473287A JP S63182155 A JPS63182155 A JP S63182155A
Authority
JP
Japan
Prior art keywords
font
file
pattern
font pattern
data
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
JP62014732A
Other languages
Japanese (ja)
Inventor
Masami Totsuka
戸塚 正己
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.)
Panasonic System Solutions Japan Co Ltd
Original Assignee
Matsushita Graphic Communication Systems Inc
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 Matsushita Graphic Communication Systems Inc filed Critical Matsushita Graphic Communication Systems Inc
Priority to JP62014732A priority Critical patent/JPS63182155A/en
Publication of JPS63182155A publication Critical patent/JPS63182155A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Dot-Matrix Printers And Others (AREA)

Abstract

PURPOSE:To reduce a storage space of a font file, shorten the period of time required for loading a font pattern and enable high-speed imaging, by providing a compressed font file, restoring an original font pattern by subjecting a compressed font pattern to a data expanding treatment, and storing the restored font pattern in a tentative storage means, and using the restored font pattern for imaging. CONSTITUTION:A font file is subjected to data compression on a block basis, and a compressed font file thus formed is stored in an auxiliary storage device 11 whereby the storage space in the device 11 occupied by the font file is markedly reduced. Therefore, it is possible to reduce the storage capacity of the storage device 11. In addition, since the quantity of data per one character in the font file is reduced, the number of times of access to the storage device 11 necessary for loading a fixed number of characters into a font buffer 16 is reduced. The period of time required for expanding the data of the compressed font file can be made to be shorter than the access time for the storage device 11. Therefore, the total period of time for font pattern imaging can be reduced.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、高品質の文字の表示または印刷を行う用途に
好適なフォントパターン描画装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a font pattern drawing device suitable for displaying or printing high quality characters.

従来の技術 高品質の文字の表示または印刷を行うためには、ドツト
数の多い7オントパターンを装備する必要があシ、フォ
ントパターン全体のデータ量が著しく増加する。複数種
類のフォントパターンを装備する場合は、フォントパタ
ーンのデータ量は膨大になる。
BACKGROUND OF THE INVENTION In order to display or print high-quality characters, it is necessary to provide a 7-ont pattern with a large number of dots, which significantly increases the amount of data for the entire font pattern. If multiple types of font patterns are installed, the amount of font pattern data becomes enormous.

そこで従来、高品質の文字の表示または印刷を行うだめ
のフォントパターン描画装置においては、一般に、フォ
ントパターンのファイルを7・−ドディスク装置などの
補助記憶装置に格納している。
Conventionally, font pattern drawing devices designed to display or print high-quality characters generally store font pattern files in an auxiliary storage device such as a 7-inch disk device.

そして、フォントパターンを一時的に記憶しておくだめ
の高速のバッファに、補助記憶装置からフォントファイ
ルをブロック単位でロードし、必要なフォントパターン
をバッファから切り出してピントマツプメモリ (描画
用メモリ)へ転送することにより、文字の描画(表示ま
だは印刷)を行うようにしている。
Then, the font file is loaded in blocks from the auxiliary storage into a high-speed buffer that temporarily stores font patterns, and the necessary font patterns are extracted from the buffer and stored in focus map memory (drawing memory). By transferring, characters are drawn (not displayed yet printed).

発明が解決しようとする問題点 しかし、かかる構成によれば、補助記憶装置の非常に大
きな記憶スペースがデータ量の多いフォントファイルの
ために使用されてしまい、特に、数種類のフォントパタ
ーンを装備しようとした場合、補助記憶装置の記憶スペ
ースのほぼ全体がフォントファイルにより占有されてし
まうという問題があった。換言すれば、フォントファイ
ルの格納のために大容量の補助記憶装置が必要となシ、
フォントパターン描画装置の価格上昇や大形化を招くと
いう問題があった。
Problems to be Solved by the Invention However, with such a configuration, a very large storage space of the auxiliary storage device is used for font files with a large amount of data. In this case, there was a problem in that almost the entire storage space of the auxiliary storage device was occupied by the font file. In other words, systems that require a large amount of auxiliary storage to store font files,
There is a problem in that the font pattern drawing device increases in price and becomes larger in size.

また、−回のローディング操作により補助記憶装置から
バッファヘロードできるデータ量にはおのずと制約があ
るから、フォントパターンのドツト数が増加すると、バ
ッファへ一回のローディフグ操作でロードすることが可
能なパターン数が減少する。
Also, since there is a natural restriction on the amount of data that can be loaded from the auxiliary storage device to the buffer with - times of loading operations, as the number of dots in the font pattern increases, the amount of data that can be loaded into the buffer with one loading operation is limited. The number decreases.

例えば、−回のローディングできるデータ量を1024
バイトとした場合、16×8ドツトのフォントパターン
は64文字を一度にロードすることができるが、64×
32 ドツトのフォントパターンは4文字しか一度にロ
ードすることができない。
For example, the amount of data that can be loaded - times is 1024
In terms of bytes, a font pattern of 16 x 8 dots can load 64 characters at once, but 64 x
The 32-dot font pattern can only load 4 characters at a time.

このように、従来の構成では、フォントパターンの構成
ドツト数が多い場合、一定文字数のフォントパターンを
バッファにロードするために必要な補助記憶装置のアク
セス回数が増加し、そのための時間が増加する結果、描
画処理速度が低下するという問題もあった。
In this way, in conventional configurations, when a font pattern has a large number of constituent dots, the number of accesses to the auxiliary storage device required to load a font pattern of a certain number of characters into the buffer increases, resulting in an increase in time. There was also the problem that the drawing processing speed decreased.

この問題に対処するために、補助記憶装置上のフォント
ファイル全体をあらかじめ高速のバッファにロードして
おき、描画処理段階ではバッファだけをアクセスし、補
助記憶装置をアクセスしないような構成とすることも考
えられる。しかし、フォントファイル全体を格納できる
ような大容量の高速バッファを確保することは、コスト
などの面で実際的でない。
To deal with this problem, it is possible to load the entire font file on the auxiliary storage device into a high-speed buffer in advance, and use a configuration in which only the buffer is accessed during the drawing process and the auxiliary storage device is not accessed. Conceivable. However, securing a large-capacity, high-speed buffer that can store the entire font file is impractical in terms of cost and other factors.

本発明は、上述の問題点に鑑みてなされたもので、フォ
ントパターンのドツト数が多い場合においても、フォン
トファイルの格納スペースが従来より大幅に減少し、か
つフォントパターンのローディングのだめの時間が従来
より短く高速の描画処理が可能なフォントパターン描画
装置を提供することを目的とする。
The present invention has been made in view of the above-mentioned problems, and even when a font pattern has a large number of dots, the storage space for font files is significantly reduced compared to the conventional method, and the loading time of the font pattern is reduced compared to the conventional method. It is an object of the present invention to provide a font pattern drawing device capable of shorter and faster drawing processing.

問題点を解決するだめの手段 本発明は上述の問題点を解決するため、フォントパター
ンをそのまま集合したフォントファイルの代わりに、フ
ォントパターンを複数文字ずつデータ圧縮したブロック
の集合である圧縮フォントファイルを装備し、必要に応
じて圧縮フォントファイルの1ブロツクを取り出してデ
ータ伸張処理を施すことにより、データ圧縮前の元のフ
ォントパターンに復元し、それをフォントパターンの一
時的記憶手段に記憶させておき、この一時的記憶手段か
らフォントパターンを切り出して描画に用いるという構
成を備えたものである0 すなわち、本発明のフォントパターン描画装置は、第1
図のクレーム対応図に示すように、フォントパターンを
複数文字ずつデータ圧縮したブロックの集合である圧縮
フォントファイル1を格納しているファイル格納手段2
と、圧縮フォントファイル1をブロック単位でファイル
格納手段2から読み出すファイル読み出し手段3と、こ
のファイル読み出し手段3により読み出された圧縮フォ
ントファイルのブロックをデータ圧縮前のフォントパタ
ーンにデータ伸張するデータ伸張手段4と、このデータ
伸張手段4によりデータ伸張されたフォントパターンを
一時的に記憶するフォント記憶手段5と、このフォント
記憶手段5から描画すべきフォントパターンを切り出し
て描画用記憶手段6゛に転送する切り出し転送手段7と
、描画用記憶手段6に記憶されたフォントパターンを表
示または印刷する出力手段8とを有する構成のものであ
るQ 作用 本発明は上述のように、フォントファイルを圧縮フォン
トファイルの形で装備するから、その全体のデータ量が
従来よりも大幅に減少する0したがって、それを格納す
るためのファイル格納手段2の記憶容量を大幅に削減で
きる。
Means to Solve the Problems In order to solve the above-mentioned problems, the present invention uses a compressed font file, which is a collection of blocks in which font patterns are compressed for each character, instead of a font file that is a collection of font patterns as they are. If necessary, extract one block of the compressed font file and perform data decompression processing to restore it to the original font pattern before data compression, and store it in the font pattern temporary storage means. , the font pattern is cut out from this temporary storage means and used for drawing.0 That is, the font pattern drawing device of the present invention has a structure in which the font pattern is cut out from this temporary storage means and used for drawing.
As shown in the complaint correspondence diagram in the figure, a file storage means 2 stores a compressed font file 1 which is a set of blocks obtained by compressing a font pattern for each character.
, a file reading means 3 for reading the compressed font file 1 from the file storage means 2 in blocks, and a data decompression means for data decompressing the block of the compressed font file read by the file reading means 3 into a font pattern before data compression. means 4, font storage means 5 for temporarily storing the font pattern data expanded by the data expansion means 4, and a font pattern to be drawn cut out from the font storage means 5 and transferred to the drawing storage means 6'. The present invention is configured to have a cutout transfer means 7 for displaying a font pattern, and an output means 8 for displaying or printing the font pattern stored in the drawing storage means 6. Since the data is provided in the form of 0, the total amount of data is significantly reduced compared to the conventional one.Therefore, the storage capacity of the file storage means 2 for storing the data can be significantly reduced.

また、圧縮フォントファイルの1文字車たシのデータ量
が減少するので、一定文字数のフォントパターンをフォ
ント記憶手段5にロードするために必要なフォント格納
手段2に対するアクセス回数が減る。圧縮フォントファ
イルのデータのデータ伸張処理のだめの時間がかかるが
、この時間は一般にフォント格納手段2のアクセス時間
よりも十分に短くすることが可能である。したがって、
データ伸張処理も含めたフォントパターン描画処理全体
の時間を従来よシも短縮することができる。
Furthermore, since the amount of data per character in the compressed font file is reduced, the number of accesses to the font storage means 2 required to load a font pattern of a certain number of characters into the font storage means 5 is reduced. Although it takes some time to decompress the data of the compressed font file, this time can generally be made sufficiently shorter than the access time of the font storage means 2. therefore,
The time required for the entire font pattern drawing process including data decompression process can be reduced compared to the conventional method.

実施例 以下本発明の一実施例について、図面を参照しながら説
明する。
EXAMPLE An example of the present invention will be described below with reference to the drawings.

第2図は、本発明の一実施例によるフォントパターン描
画装置のハードウェア構成図である。第2図において、
9は中央処理装置(CPU) 、10は主メモリである
。この主メモリ10には、フォントパターン描画処理な
どのためのプログラム、データなどが記憶される。前記
ファイル読み出し手段3は、このプログラムの制御によ
り中央処理装置9によって実現される。
FIG. 2 is a hardware configuration diagram of a font pattern drawing device according to an embodiment of the present invention. In Figure 2,
9 is a central processing unit (CPU), and 10 is a main memory. This main memory 10 stores programs, data, etc. for font pattern drawing processing, etc. The file reading means 3 is realized by the central processing unit 9 under the control of this program.

11は前記ファイル格納手段2としてのハードディスク
装置などの補助記憶装置であり、前記圧縮フォントファ
イル1を格納している。この圧縮フォントファイル1は
、全文字のフォントパターンを一定の順番で一定文字数
ずつデータ圧縮し、その圧縮データのブロック1aを一
定の順番で連結してなるものである。各ブロック1aの
データ量は変動するので、各ブロック1aの格納開始ア
ドレス情報などを登録した管理デープル12が補助記憶
装置11に格納されている。この管理テーブル12は、
このフォントパターン描画装置の起動段階で主メモリ1
0にロードされる。
Reference numeral 11 denotes an auxiliary storage device such as a hard disk device as the file storage means 2, which stores the compressed font file 1. This compressed font file 1 is formed by data compressing a font pattern of all characters by a certain number of characters in a certain order, and connecting blocks 1a of the compressed data in a certain order. Since the amount of data in each block 1a varies, a management table 12 in which storage start address information and the like of each block 1a are registered is stored in the auxiliary storage device 11. This management table 12 is
At the startup stage of this font pattern drawing device, the main memory 1
Loaded to 0.

なお、フォントパターンのデータ圧縮の方法としては、
例えばファクシミリにおける標準的なデータ圧縮符号化
法であるモディファイド・ハフマン(M H)法、モデ
ィファイド・リード(MR)法などが用いられる。
In addition, the method for compressing font pattern data is as follows:
For example, a modified Huffman (MH) method, a modified read (MR) method, etc., which are standard data compression encoding methods in facsimile, are used.

14はブロックバッファであり、これは補助記憶装置1
1から読み出された圧縮フォントファイル1の1ブロツ
クのデータを一時的に記憶するものである。
14 is a block buffer, which is the auxiliary storage device 1
The data of one block of the compressed font file 1 read from the compressed font file 1 is temporarily stored.

15は前記データ伸張回路4としてのデータ伸張回路で
あり、前記ブロックバッファ14はこのデータ伸張回路
14の入カバソファとして設けられている。データ伸張
回路15は中央処理装置9の制御の下に作動し、ブロッ
クバッファ15から圧縮データを順次読み込み、データ
圧縮前のフォントパターンのデータに伸張する。このデ
ータ伸張処理は、前記データ圧縮方法に対応したデータ
伸張方法により行われる。
15 is a data expansion circuit as the data expansion circuit 4, and the block buffer 14 is provided as an input buffer for this data expansion circuit 14. The data decompression circuit 15 operates under the control of the central processing unit 9, sequentially reads compressed data from the block buffer 15, and decompresses it into font pattern data before data compression. This data expansion process is performed using a data expansion method that corresponds to the data compression method described above.

16は前記フォント記憶手段5としてのフォントバッフ
ァである0このフォントバッファ16は、前記データ伸
張回路15によって伸張されたフォントパターンのデー
タを一時的に記憶するための入カニリア16aと、学習
エリアとに分かれている。学習エリアはさらに、レジデ
ント部16bとテンポラリ部!6eに分かれている。
Reference numeral 16 denotes a font buffer as the font storage means 5. This font buffer 16 has an input canister 16a for temporarily storing font pattern data expanded by the data expansion circuit 15, and a learning area. I know. The learning area also includes a resident section 16b and a temporary section! It is divided into 6e.

レジデント部16bには、このフォントパターン描画装
置の起動段階で、あらかじめ選ばれた使用頻度の高い基
本的な文字、例えば第1水準文字のフォントパターンが
ロードされる。テンポラリ部16cには、フォントパタ
ーン描画処理動作中に、使用頻度に応じて前記基本的文
字以外の様々な文字のフォントパターンが随時書き込ま
れる。
At the start-up stage of the font pattern drawing device, the resident section 16b is loaded with a font pattern of frequently used basic characters selected in advance, such as first-level characters. Font patterns of various characters other than the basic characters are written into the temporary section 16c at any time during the font pattern drawing processing operation, depending on the frequency of use.

フォントバッファ16には、学習エリア内のフォントパ
ターンの入れ換えに関連した学習制御テーブル17が付
加されている。この学習制御テーブル17には、学習エ
リアに記憶されているフォントパターンの識別情報と、
その記憶開始アドレス情報、使用頻度情報が登録される
Added to the font buffer 16 is a learning control table 17 related to replacement of font patterns within the learning area. This learning control table 17 includes identification information of font patterns stored in the learning area,
The storage start address information and usage frequency information are registered.

18は前期切り出し転送手段7としての切り出し転送回
路である。19は前期描画用記憶手段としての表示メモ
リである。切り出し転送回路18は、中央処理装置9か
ら与えられるフォントパターンの記憶開始アドレス情報
と転送開始アドレス情報に基ツき、そのフォントパター
ンをフォントバッファ16の学習エリアから切り出して
、表示メモリ19へ転送する働きをするものである。
Reference numeral 18 denotes a cutout transfer circuit as the first half cutout transfer means 7. Reference numeral 19 denotes a display memory as a storage means for early drawing. The cutout transfer circuit 18 cuts out the font pattern from the learning area of the font buffer 16 and transfers it to the display memory 19 based on the storage start address information and transfer start address information of the font pattern given from the central processing unit 9. It is something that does work.

20は前期出力手段8としてのCRTディスプレイ装置
であり、表示メモ+720に記憶されているフォントパ
ターンを逐次画面に表示する。
Reference numeral 20 denotes a CRT display device as the output means 8, which sequentially displays the font patterns stored in the display memo+720 on the screen.

21はキーボードであり、描画すべき文字のコードとそ
のフォント種類情報などの入力に使用される。
Reference numeral 21 denotes a keyboard, which is used to input the code of the character to be drawn and its font type information.

ここで、このフォントパターン描画装置の起動段階にお
ける動作について説明する。中央処理装置9の制御によ
り、補助記憶装置11からフォントパターン描画処理の
ためのプログラム、管理テーブル12などが主メモリ1
0にロードされる。
Here, the operation of this font pattern drawing device at the startup stage will be explained. Under the control of the central processing unit 9, programs for font pattern drawing processing, management tables 12, etc. are stored in the main memory 1 from the auxiliary storage device 11.
Loaded to 0.

次に、中央処理装置9の制御により、フォントバッファ
16のレジデント部16bに格納すべき基本的文字のフ
ォントパターンが含まれる圧縮フォントファイル1のブ
ロック1aが、補助記憶装置11からブロックバッファ
14に読み出される。一つのブロックが読み出されると
中央処理装置9によりデータ伸張回路15が起動され、
そのブロックはデータ伸張回路15によってフォントパ
ターンに伸張される。伸張されたフォントパターンのデ
ータはフォントバッファ16の入カニリア16aに順次
格納される。
Next, under the control of the central processing unit 9, the block 1a of the compressed font file 1 containing the font pattern of basic characters to be stored in the resident section 16b of the font buffer 16 is read from the auxiliary storage device 11 to the block buffer 14. It will be done. When one block is read, the data decompression circuit 15 is activated by the central processing unit 9,
The block is expanded into a font pattern by data expansion circuit 15. The decompressed font pattern data is sequentially stored in the input canister 16a of the font buffer 16.

このフォントパターンのデータは中央処理装置9の制御
により、学習エリアのレジデント部1.6 bに順次書
き込まれ、同時に学習制御テーブル17に必要な情報が
設定される。
This font pattern data is sequentially written into the resident section 1.6b of the learning area under the control of the central processing unit 9, and at the same time, necessary information is set in the learning control table 17.

このようにして、レジデント部16bへのフォントパタ
ーンのローディングが終わると、フォントパターンの描
画処理が可能になる。
When the loading of the font pattern into the resident section 16b is completed in this manner, the font pattern drawing process becomes possible.

次に、このフォントパターン描画装置のフォントパター
ン描画処理動作を説明する。第3図は、その動作を説明
するための概略フローチャートである。
Next, the font pattern drawing processing operation of this font pattern drawing device will be explained. FIG. 3 is a schematic flowchart for explaining the operation.

キーボード21またはプログラムから文字のコードおよ
びフォント種類情報が入力されると(ステップ22)、
フォントパターン描画処理のルーチンが走りだす。
When the character code and font type information are input from the keyboard 21 or the program (step 22),
The font pattern drawing processing routine starts running.

まず、中央処理装置9により学習制御テープ、。First, the central processing unit 9 controls the learning control tape.

17が参照され、その文字コードおよびフォント種別情
報によって指定されたフォントパターンの検索が行われ
る(ステップ23)O 指定のフォントパターンがフォントバッファ16に記憶
されている場合、中央処理装置9により当該フォントパ
ターンの記憶開始アドレス情報(学習制御テーブル17
に登録されている)とその転送開始アドレス情報が中央
処理9から切り出し転送回路18に与えられ、ついで切
り出し転送回路18が起動される(ステップ24)。
17 is referenced, and a search for the specified font pattern is performed using the character code and font type information (step 23).O If the specified font pattern is stored in the font buffer 16, the central processing unit 9 Pattern storage start address information (learning control table 17
) and its transfer start address information are given from the central processing unit 9 to the cutout transfer circuit 18, and then the cutout transfer circuit 18 is activated (step 24).

切り出し転送回路18が作動し、記憶開始アドレス情報
に従い指定のフォントパターンがフォントバッファ16
の学習エリア(レジデント部16bまたはテンポラリ部
16C)から切り出され、転送開始アドレス情報によっ
て指定された表示メモリ19の記憶領域に転送される(
ステップ25)。このフォントパターンはCRTディス
プレイ装置装置上り画面に表示(描画)される。
The cutout transfer circuit 18 operates, and the specified font pattern is transferred to the font buffer 16 according to the storage start address information.
is cut out from the learning area (resident section 16b or temporary section 16C) and transferred to the storage area of the display memory 19 specified by the transfer start address information (
Step 25). This font pattern is displayed (drawn) on the upstream screen of the CRT display device.

他方、指定のフォントパターンがフォントバッファ16
の学習エリアに記憶されていない場合、中央処理装置9
において圧縮フォントファイル1内の指定フォントパタ
ーンの含まれているブロックの番号が演算により求めら
れる(ステップ26)。
On the other hand, the specified font pattern is in font buffer 16.
If it is not stored in the learning area of the central processing unit 9.
In step 26, the number of the block containing the specified font pattern in the compressed font file 1 is calculated.

そして、中央処理装置9の直接メモリアクセス(DMA
)機構により、圧縮フォントファイル1のその番号のブ
ロック1aがブロックバッファ14に読み出される(ス
テップ27)。この読み出しの際に、読み出すべきブロ
ックの格納開始アドレスが主メモIJ 10上の管理テ
ーブル(12)から求められる。
Direct memory access (DMA) of the central processing unit 9
) mechanism reads the block 1a of the compressed font file 1 into the block buffer 14 (step 27). During this reading, the storage start address of the block to be read is found from the management table (12) on the main memory IJ 10.

次に中央処理装置9によりデータ伸張回路15が起動さ
れ、読み出されたブロックはデータ伸張回路15によっ
てフォントパターンに伸張されてフォントバッファ16
の入カニリア16aに順次転送される(ステップ28)
Next, the data decompression circuit 15 is activated by the central processing unit 9, and the read block is decompressed into a font pattern by the data decompression circuit 15, and the font buffer 16
are sequentially transferred to the input canister 16a (step 28).
.

このようなデータ伸張処理が終わると、中央処理装置9
の制御により、伸張されたフォントパターンが学習エリ
アのテンポラリ部16cに転送され、フォントパターン
の入れ換えが行われる(ステップ29)。この際、学習
制御テーブル17が参照され、使用頻度が低いフォント
パターンの記憶場所に新しいフォントパターンが書き込
まれ、また学習制御テーブル170更新が行われる。こ
のようにして、使用頻度の高いフォントパターンをテン
ボラ9部]、6 cに記憶させるような制御(学習)が
行われる。
When such data decompression processing is completed, the central processing unit 9
Under the control of , the decompressed font pattern is transferred to the temporary part 16c of the learning area, and the font pattern is replaced (step 29). At this time, the learning control table 17 is referred to, the new font pattern is written in the storage location of the less frequently used font pattern, and the learning control table 170 is updated. In this way, control (learning) is performed such that frequently used font patterns are stored in Tenbora 9, 6c.

フォントパターンの入れ換えが終わると、ステップ24
に進み上述のようなフォントパターンの描画が行われる
Once the font pattern has been replaced, step 24
Then, the font pattern is drawn as described above.

上述のように、本実施例のフォントパターン描画装置は
、フォントファイルをブロック単位でデータ圧縮し圧縮
フォントファイル1の形で補助記憶装置11に格納する
から、フォントファイルをデータ圧縮しないでそのまま
格納する場合に比べ、圧縮フォントファイル1によって
占有される補助記憶装置11の記憶スペースが大幅に少
なくなる。
As mentioned above, the font pattern drawing device of this embodiment compresses the data of the font file in blocks and stores it in the auxiliary storage device 11 in the form of the compressed font file 1, so the font file is stored as is without data compression. The storage space of the auxiliary storage device 11 occupied by the compressed font file 1 is significantly smaller than in the case of the compressed font file 1.

したがって、補助記憶装置11の記憶容量を従来よりも
削減可能である。
Therefore, the storage capacity of the auxiliary storage device 11 can be reduced compared to the conventional case.

まだ、圧縮フォントファイル1の1文字当たシのデータ
量が減少するので、一定文字数のフォントパターンをフ
ォントバッファ16にロードするために必要な補助記憶
装置11に対するアクセス回数が減る0圧縮フオントフ
アイルのデータの伸張処理のための時間がかかるが、こ
の時間は一般に補助記憶装置11のアクセス時間よりも
十分に短くすることが可能である。したがって、データ
伸張処理も含めたフォントパターン描画処理全体の時間
を従来よりも短縮することができる。
However, since the amount of data per character in the compressed font file 1 is reduced, the number of accesses to the auxiliary storage device 11 required to load a font pattern of a certain number of characters into the font buffer 16 is reduced. Although it takes time to decompress the data, this time can generally be made sufficiently shorter than the access time of the auxiliary storage device 11. Therefore, the time required for the entire font pattern drawing process including the data decompression process can be reduced compared to the conventional method.

なお、本実施例ではファイル読み出し手段が中央処理装
置の機能を利用してプログラム制御により実現されたが
、専用の・・−ドウエアとして実現してもよい。
In this embodiment, the file reading means was realized by program control using the functions of the central processing unit, but it may also be realized as dedicated software.

逆に、本実施例では切り出し転送手段が専用の回路とし
て実現されだが、中央処理装置の機能を利用してプログ
ラム制御により実現してもよい0まだ、本実施例ではフ
ォントパターンは表示出力されたが、印刷出力させても
よい0 発明の効果 以上の説明から明らかなように、本発明は、フォントパ
ターンを複数文字ずつデータ圧縮したブロックの集合で
ある圧縮フォントファイルをファイル格納手段に格納し
ておき、その圧縮フォントファイルの1ブロツクを読み
出してデータ伸張処理を施すことにより、データ圧縮前
の元のフォントパターンに復元し、それをフォント記憶
手段に一時的に記憶させ、このフォント記憶手段からフ
ォントパターンを切り出して描画に用いるという構成で
あり、圧縮フォントファイルの記憶スペースが従来よシ
少なくてよいので、ファイル記憶手段の記憶容量の削減
が可能となり、また、圧縮フォントファイルの1文字当
たりのデータ量が少なくなるので、一定文字数のフォン
トパターンをフォント記憶手段にロードするために必要
なファイル記憶手段のアクセス回数が減少するため、フ
ォントパターンの描画処理速度の高速化が可能となる、
などの効果を有するものである0
Conversely, in this embodiment, the cutout and transfer means is realized as a dedicated circuit, but it may also be realized by program control using the functions of the central processing unit.However, in this embodiment, the font pattern is not displayed and output. However, it may also be printed out. Effects of the Invention As is clear from the above explanation, the present invention provides a method for storing a compressed font file, which is a set of blocks obtained by compressing a font pattern in units of multiple characters, in a file storage means. By reading out one block of the compressed font file and performing data decompression processing, it is restored to the original font pattern before data compression, which is temporarily stored in the font storage means, and the font pattern is transferred from this font storage means. The structure is such that the pattern is cut out and used for drawing, and the storage space of the compressed font file is less than before, so it is possible to reduce the storage capacity of the file storage means, and the data per character of the compressed font file can be reduced. Since the amount is reduced, the number of accesses to the file storage means required to load a font pattern of a certain number of characters into the font storage means is reduced, so it is possible to speed up the font pattern drawing processing speed.
0 which has the effect of

【図面の簡単な説明】 第1図は本発明のクレーム対応図、第2図は本発明の一
実施例によるフォントノ(ターン描画装置のハードウェ
ア構成図、第3図は同フォントパターン描画装置のフォ
ントパターン描画処理動作の概略フローチャートである
。 1・・・圧縮フォントファイル、2・°・ファイル格納
手段、3・・・ファイル読み出し手段、4・・・データ
伸張手段、5・・・フォント記憶手段、6・・・描画用
記憶手段、7・・・切り出し転送手段、8・・・出力手
段、9・・・中央処理装置(CPU)、10・・・主メ
モリ、11・・・補助記憶装置、15・・・データ伸張
回路、19・・・表示メモリ、加・・・CRTディスプ
レイ装置。 代理人の氏名 弁理士  中 尾 敏 男 ほか1名第
1図 第2図
[Brief Description of the Drawings] Fig. 1 is a diagram corresponding to claims of the present invention, Fig. 2 is a hardware configuration diagram of a font pattern drawing device according to an embodiment of the present invention, and Fig. 3 is a diagram of the font pattern drawing device according to an embodiment of the present invention. 1 is a schematic flowchart of the font pattern drawing processing operation. 1... Compressed font file, 2.° File storage means, 3. File reading means, 4. Data decompression means, 5. Font storage. means, 6... storage means for drawing, 7... cutout transfer means, 8... output means, 9... central processing unit (CPU), 10... main memory, 11... auxiliary memory Device, 15...Data decompression circuit, 19...Display memory, Addition...CRT display device. Name of agent: Patent attorney Toshio Nakao and one other person Figure 1 Figure 2

Claims (1)

【特許請求の範囲】[Claims] フォントパターンを複数文字ずつデータ圧縮したブロッ
クの集合である圧縮フォントファイルを格納しているフ
ァイル格納手段と、前記圧縮フォントファイルをブロッ
ク単位で前記ファイル格納手段から読み出すファイル読
み出し手段と、このファイル読み出し手段により読み出
された圧縮フォントファイルのブロックをデータ圧縮前
のフォントパターンにデータ伸張するデータ伸張手段と
、このデータ伸張手段によりデータ伸張されたフォント
パターンを一時的に記憶するフォント記憶手段と、この
フォント記憶手段から描画すべきフォントパターンを切
り出して描画用記憶手段に転送する切り出し転送手段と
、前記描画用記憶手段に記憶されたフォントパターンを
表示または印刷する出力手段とを有するフォントパター
ン描画装置。
A file storage means for storing a compressed font file which is a set of blocks obtained by data compressing a font pattern in units of a plurality of characters, a file reading means for reading out the compressed font file from the file storage means in units of blocks, and this file reading means. data decompression means for decompressing the block of the compressed font file read by the font into a font pattern before data compression; a font storage means for temporarily storing the font pattern data decompressed by the data decompression means; A font pattern drawing device comprising a cutout transfer means for cutting out a font pattern to be drawn from a storage means and transferring it to a drawing storage means, and an output means for displaying or printing the font pattern stored in the drawing storage means.
JP62014732A 1987-01-23 1987-01-23 Font pattern imaging device Pending JPS63182155A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62014732A JPS63182155A (en) 1987-01-23 1987-01-23 Font pattern imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62014732A JPS63182155A (en) 1987-01-23 1987-01-23 Font pattern imaging device

Publications (1)

Publication Number Publication Date
JPS63182155A true JPS63182155A (en) 1988-07-27

Family

ID=11869300

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62014732A Pending JPS63182155A (en) 1987-01-23 1987-01-23 Font pattern imaging device

Country Status (1)

Country Link
JP (1) JPS63182155A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0258094A (en) * 1988-08-24 1990-02-27 Hitachi Ltd Character data management system and character data management method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0258094A (en) * 1988-08-24 1990-02-27 Hitachi Ltd Character data management system and character data management method

Similar Documents

Publication Publication Date Title
JPS63109653A (en) Information registering and retrieving device
JP3672608B2 (en) Font data compression / decompression device
JPS62271178A (en) Image information search method
JP5709903B2 (en) METHOD, SYSTEM, COMPUTER PROGRAM, RECORDING MEDIUM, DATA STORAGE MEDIUM STORING DATA COLLECTION, AND CALL DATA RECORDING SYSTEM FOR COMPRESSING DATA RECORD AND PROCESSING COMPRESSED DATA RECORD
JPS63182155A (en) Font pattern imaging device
JP2004258865A (en) Information processing method
JPH0973408A (en) Data processing device and data input / output processing method
JPH02230375A (en) Electronic filing system
JPH06348559A (en) Compilation list compression management system
JP2748924B2 (en) Data display device
JPS61105636A (en) printing device
JP2943900B2 (en) Data compression processing device, data decompression processing device, data compression processing method, and data decompression processing method for data file
JPH064376A (en) Data compression write type file system
JPH0675834A (en) File space securing system
JPH07191822A (en) Data storage device and data system
JPH04133174A (en) Image data search processing method
JPH0785008A (en) Document input save / search device
JPS62109127A (en) Display screen output control method
JPH10177491A (en) Synchronous memory file device and its method
JPH0969058A (en) Computer system and file management method used in the system
JPH0273455A (en) Character processing method
JPH08339262A (en) External storage device for computer
JPH10341164A (en) Restoration system for compressed data
JPH02227775A (en) Picture memory
JPH04205657A (en) Image information processor