JPH07172002A - Font cash device - Google Patents

Font cash device

Info

Publication number
JPH07172002A
JPH07172002A JP5318837A JP31883793A JPH07172002A JP H07172002 A JPH07172002 A JP H07172002A JP 5318837 A JP5318837 A JP 5318837A JP 31883793 A JP31883793 A JP 31883793A JP H07172002 A JPH07172002 A JP H07172002A
Authority
JP
Japan
Prior art keywords
information
outline
character
memory
outline 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.)
Withdrawn
Application number
JP5318837A
Other languages
Japanese (ja)
Inventor
Yoshiji Kawamoto
佳司 川本
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.)
NIPPON DENKI OFFICE SYST
NEC Office Systems Ltd
Original Assignee
NIPPON DENKI OFFICE SYST
NEC Office Systems Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NIPPON DENKI OFFICE SYST, NEC Office Systems Ltd filed Critical NIPPON DENKI OFFICE SYST
Priority to JP5318837A priority Critical patent/JPH07172002A/en
Publication of JPH07172002A publication Critical patent/JPH07172002A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Record Information Processing For Printing (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To reduce the number of memories and increase a treating speed by a method wherein information of in what part of an external memory means the outline information of a letter is stored is stored in a letter address information cashing memory while the letter outline information is stored in an outline information cash memory. CONSTITUTION:When the information of letter code, size and the like are inputted, a cash control unit 2 refers to outline address information cash memories 4, 5 sequentially and obtains a data found previously. When a point, whereat the data is obtained, is in an address information cash memory 5, an outline information, obtained from an external memory device, is registered in the outline information cash memory 4. On the other hand, data are not present and data are obtained from the external memory device 3, the outline information is registered into the outline information cash memory 4 and, at the same time, the address of letters of one block including specified letters are registered in the address information cash memory 5. An image is outputted by the obtained outline information.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はフォントキャッシュ装置
に関し、特にワードプロセーサやコンピュータのフォン
トキャッシュ装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a font cache device, and more particularly to a word processor or a computer font cache device.

【0002】[0002]

【従来の技術】一般にフォントキャッシュ装置は、ワー
ドプロセッサやコンピュータに接続されているプリンタ
や、ディスプレイへ高速で文字を出力するために、アク
セス速度の遅い外部記憶装置(ハードディスク等)の文
字データを、必要に応じて一部の文字データをアクセス
速度の早いメモリへ転送し、メモリ内の文字データを使
用することにより高速で文字の出力を行っている。
2. Description of the Related Art Generally, a font cache device requires character data of an external storage device (hard disk etc.) with a slow access speed in order to output characters at high speed to a printer connected to a word processor or a computer or a display. According to the above, some character data is transferred to a memory with a high access speed, and the character data in the memory is used to output the character at high speed.

【0003】従来のフォントキャッシュの構成と動作の
一例を図3及び図4に示す。図3において文字入力部1
4より文字情報の入力を行い、(図4のステップ20)
のキャッシュ管理部15でキャッシュメモリを検索しキ
ャッシュメモリ上に文字情報が有れば(図4のステップ
21)のキャッシュメモリ17上のデータを読み取り、
描画出力部18より出力装置19へ出力を行う。無い場
合は文字の格納されているアドレス情報を外部記憶装置
16より読み込み(図4のステップ22)、読み込んだ
アドレスを元に文字情報を外部記憶装置16より読み込
み(図4のステップ23)、描画出力部18より文字を
出力装置19へ出力を行っていた(図4のステップ2
4)。
An example of the configuration and operation of a conventional font cache is shown in FIGS. 3 and 4. In FIG. 3, the character input unit 1
Input character information from step 4 (step 20 in FIG. 4).
The cache management unit 15 searches the cache memory, and if the cache memory has character information (step 21 in FIG. 4), reads the data in the cache memory 17,
The drawing output unit 18 outputs to the output device 19. If there is no character, the address information in which the character is stored is read from the external storage device 16 (step 22 in FIG. 4), the character information is read from the external storage device 16 based on the read address (step 23 in FIG. 4), and drawing is performed. Characters were output from the output unit 18 to the output device 19 (step 2 in FIG. 4).
4).

【0004】[0004]

【発明が解決しようとする課題】従来のフォントキャッ
シュ装置では、キャッシュメモリに文字情報が無い場合
は、最初に文字の格納されているアドレスを外部記憶装
置より読み込み、次に読み込んだアドレスより文字のデ
ータを外部記憶装置から読み出すというように2度外部
記憶装置へアクセスを行うため、処理速度が遅くなると
共に、アクセス回数を減らすためにキャッシュメモリへ
登録する文字の数を多くすると、より多くのメモリが必
要になるという欠点があった。
In the conventional font cache device, when there is no character information in the cache memory, the address where the character is stored is first read from the external storage device, and the character is read from the next read address. Since the external storage device is accessed twice, such as reading data from the external storage device, the processing speed becomes slower, and if the number of characters registered in the cache memory is increased to reduce the number of accesses, more memory will be stored. There was a drawback that was required.

【0005】そこで本発明の目的は、以上の欠点を解消
し、処理速度が早く容量の少ないメモリでフォントキャ
ッシュ装置を提供することにある。
Therefore, an object of the present invention is to solve the above-mentioned drawbacks and to provide a font cache device with a memory having a high processing speed and a small capacity.

【0006】[0006]

【課題を解決するための手段】本発明のフォントキャッ
シュ装置は文字アウトライン情報が格納されているアド
レスのみをセットする文字のアドレス情報キャッシュメ
モリと、各文字のアウトライン情報をセットるアウトラ
イン情報キャッシュメモリと、指定された文字情報によ
りキャッシュの管理を行う手段により構成される。
A font cache device of the present invention comprises a character address information cache memory for setting only an address where character outline information is stored, and an outline information cache memory for setting outline information of each character. , Is constituted by means for managing the cache by the designated character information.

【0007】このようにすることにより、文字のアウト
ライン情報キャッシュメモリに情報が無い場合でも、ア
ドレス情報キャッシュメモリにアドレス情報がある場合
は、外部記憶装置へのアクセス回数が少なくなるため、
処理速度が早くキャッシュメモリへのヒット率を上げる
ために、アウトライン情報キャッシュメモリの領域を多
く取らなくても良いので、メモリを多く必要としないフ
ォントキャッシュ装置が得られる。
By doing so, even if there is no information in the character outline information cache memory, if the address information cache memory has address information, the number of accesses to the external storage device is reduced.
Since it is not necessary to take a large area of the outline information cache memory in order to increase the processing speed and increase the hit rate to the cache memory, a font cache device that does not require a large amount of memory can be obtained.

【0008】[0008]

【実施例】以下本発明の詳細について、その実施例に基
き図面を参照して説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The details of the present invention will be described below with reference to the accompanying drawings.

【0009】図1は本発明の一実施例を示すブロック図
である。図2は処理の流れを示すフローチャートであ
る。
FIG. 1 is a block diagram showing an embodiment of the present invention. FIG. 2 is a flowchart showing the flow of processing.

【0010】キーボードなどから成る文字情報入力部1
は、文字コードやサイズ等の情報を入力する(図2のス
テップ8)。キャッシュ管理部2は、入力されたコード
・サイズ等の情報によりキャッシュメモリまたは、外部
記憶装置3から文字のアウトライン情報の検索及び、取
得を行う(図2のステップ9)。又不要な情報をキャッ
シュメモリ上から削除を行う。外部記憶装置3は文字ア
ウトライン情報を格納している。アウトライン情報キャ
ッシュメモリ4は、文字アウトライン情報を格納し、ア
ドレス情報キャッシュメモリ5は、文字のアウトライン
情報が外部記憶装置3の何処に格納されているかの情報
を格納する。アドレス情報キャッシュメモリに登録され
る情報は、入力された文字が含まれる1ブロック(例え
ば1区94文字)単位でおこなう。描画出力部6は、取
得したアウトライン情報より文字のイメージを作成しそ
れを出力する。出力装置7は描画出力部6で作成された
イメージデータを出力を行う(図2のステップ13)。
Character information input unit 1 including a keyboard
Inputs information such as character code and size (step 8 in FIG. 2). The cache management unit 2 searches and acquires character outline information from the cache memory or the external storage device 3 based on the input information such as the code size (step 9 in FIG. 2). In addition, unnecessary information is deleted from the cache memory. The external storage device 3 stores character outline information. The outline information cache memory 4 stores character outline information, and the address information cache memory 5 stores information of where in the external storage device 3 the character outline information is stored. The information registered in the address information cache memory is performed in units of one block (for example, 94 characters in one section) including the input character. The drawing output unit 6 creates a character image from the acquired outline information and outputs it. The output device 7 outputs the image data created by the drawing output unit 6 (step 13 in FIG. 2).

【0011】次にこのキャッシュ装置の動作を説明す
る。文字情報入力部1より文字のコード・サイズ等の情
報が入力されると(図2のステップ8)、キャッシュ管
理部2がアウトライン情報キャッシュメモリ4、アドレ
ス情報キャッシュメモリ5の順で検索を行い(図2のス
テップ9,10)、先にデータに見付かったところより
データを取得を行う(図2のステップ11)。どちらの
キャッシュにもデータが存在しないときに外部記憶装置
3よりデータの取得を行う(図2のステップ12)。取
得したアウトライン情報を元に描画出力部6で文字のイ
メージデータの作成を行い、CRTディスプレイやプリ
ンタ等から成る出力装置7へ文字のイメージの出力を行
う(図2のステップ13)。
Next, the operation of this cache device will be described. When information such as character code and size is input from the character information input unit 1 (step 8 in FIG. 2), the cache management unit 2 searches the outline information cache memory 4 and the address information cache memory 5 in that order ( In steps 9 and 10 of FIG. 2, the data is acquired from the place where the data was previously found (step 11 of FIG. 2). When there is no data in either cache, the data is acquired from the external storage device 3 (step 12 in FIG. 2). The drawing output unit 6 creates character image data based on the acquired outline information, and outputs the character image to the output device 7 such as a CRT display or a printer (step 13 in FIG. 2).

【0012】そこで、データの取得したところがアドレ
ス情報キャッシュメモリ5の場合は、固定ディスクの装
置、フレキシブルディスク装置などから少なくとも1種
類の装置からなる外部記憶装置3から取得したアウトラ
イン情報を、アウトライン情報キャッシュメモリ4へ登
録を行い、アウトライン情報キャッシュメモリ4が一杯
のときは不要なアウトライン情報を削除した後に登録を
行う。また外部記憶装置3よりデータを取得した場合、
アウトライン情報はアウトライン情報キャッシュメモリ
4へ登録を行うと同時に、指定された文字を含む1ブロ
ック分の文字のアドレスをアドレス情報キャッシュメモ
リ5へ登録を行う。このようにすることにより、次に初
めて使用される文字が入力されても、アドレス情報キャ
ッシュメモリ5に登録されているブロック内に文字が登
録されていれば、外部記憶装置へのアクセスは1回で終
わることになる為、処理速度の高速化を行うことができ
る。
Therefore, when the data is acquired from the address information cache memory 5, the outline information acquired from the external storage device 3 including at least one type of device such as a fixed disk device or a flexible disk device is used as the outline information cache. Registration is performed in the memory 4, and when the outline information cache memory 4 is full, unnecessary outline information is deleted and then registered. When data is acquired from the external storage device 3,
The outline information is registered in the outline information cache memory 4, and at the same time, the address of one block of characters including the designated character is registered in the address information cache memory 5. By doing so, even if the next used character is input, if the character is registered in the block registered in the address information cache memory 5, the external storage device is accessed once. Since it ends with, processing speed can be increased.

【0013】[0013]

【発明の効果】以上説明したように、本発明のフォント
キャッシュ装置によれば、処理速度が速くメモリを多く
必要としないという効果が得られる。
As described above, according to the font cache device of the present invention, it is possible to obtain the effect that the processing speed is fast and a large amount of memory is not required.

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

【図1】本発明の一実施例のフローチャート。FIG. 1 is a flowchart of an embodiment of the present invention.

【図2】本発明の一実施例の構成を示すブロック図。FIG. 2 is a block diagram showing the configuration of an embodiment of the present invention.

【図3】従来の実施例の動作の流れを示すフローチャー
ト。
FIG. 3 is a flowchart showing a flow of operations of a conventional example.

【図4】従来の実施例の構成を示すブロック図。FIG. 4 is a block diagram showing a configuration of a conventional example.

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

1 文字情報入力部 2 キャッシュ管理部 3 外部記憶装置 4 アウトライン情報キャッシュメモリ 5 アドレス情報キャッシュメモリ 6 文字描画出力部 7 出力装置 1 character information input unit 2 cache management unit 3 external storage device 4 outline information cache memory 5 address information cache memory 6 character drawing output unit 7 output device

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 文字のアウトライン情報の格納されてい
るアドレスのみをセットする文字のアドレス情報キャッ
シュメモリと、各文字のアウトライン情報をセットする
アウトライン情報キャッシュメモリと、指定された文字
情報によりキャッシュの管理を行うキャッシュ管理手段
とを備えて成ることを特徴とするフォントキャッシュ装
置。
1. A character address information cache memory for setting only an address in which character outline information is stored, an outline information cache memory for setting outline information of each character, and cache management by designated character information. A font cache device comprising a cache management means for performing the above.
JP5318837A 1993-12-20 1993-12-20 Font cash device Withdrawn JPH07172002A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5318837A JPH07172002A (en) 1993-12-20 1993-12-20 Font cash device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5318837A JPH07172002A (en) 1993-12-20 1993-12-20 Font cash device

Publications (1)

Publication Number Publication Date
JPH07172002A true JPH07172002A (en) 1995-07-11

Family

ID=18103513

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5318837A Withdrawn JPH07172002A (en) 1993-12-20 1993-12-20 Font cash device

Country Status (1)

Country Link
JP (1) JPH07172002A (en)

Similar Documents

Publication Publication Date Title
US6397233B1 (en) Document processing apparatus and computer program product therefor
JPS6049425A (en) Display system for sentence processor
JP2866153B2 (en) Character processing apparatus and method
JPH07172002A (en) Font cash device
JPH06274145A (en) Character processor
JP3212720B2 (en) Information processing device
JPS58139243A (en) Processor for character data
JPH0394325A (en) Data selector
JP2964504B2 (en) Document processing device
JP2000285019A (en) Cache control circuit
JP2771350B2 (en) Image processing device
JPH10187119A (en) Display control device
KR100283745B1 (en) Method and Apparutus for font Cash Manegement
JPH04278374A (en) Character font generator
KR970000273B1 (en) Apparatus for processing korean alphabet on p.c.
JPH0944134A (en) Document recording device, document output device, document recording medium, document recording method, and document output method
JP2000029788A (en) Cache memory system, cache control method used therefor and recording medium control program therefor recorded therein
JPH0273455A (en) Character processing system
JPH09131932A (en) Printer controller
JPH04268296A (en) Erasable type read out dedicated memory
JPH11272256A (en) Character display control device and its control method
JPH0594367A (en) Buffer storage device
JPH02289073A (en) Character processor
JPH06186953A (en) Character processor
JPH06301764A (en) Information processor

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20010306