JPH07251535A - Method and apparatus for controlling font cash memory - Google Patents

Method and apparatus for controlling font cash memory

Info

Publication number
JPH07251535A
JPH07251535A JP6046188A JP4618894A JPH07251535A JP H07251535 A JPH07251535 A JP H07251535A JP 6046188 A JP6046188 A JP 6046188A JP 4618894 A JP4618894 A JP 4618894A JP H07251535 A JPH07251535 A JP H07251535A
Authority
JP
Japan
Prior art keywords
font
character pattern
cache memory
font cache
user
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.)
Granted
Application number
JP6046188A
Other languages
Japanese (ja)
Other versions
JP3004866B2 (en
Inventor
Chikahiko Nagata
近彦 永田
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP6046188A priority Critical patent/JP3004866B2/en
Publication of JPH07251535A publication Critical patent/JPH07251535A/en
Application granted granted Critical
Publication of JP3004866B2 publication Critical patent/JP3004866B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)
  • Memory System Of A Hierarchy Structure (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To realize high hit ratio of a character pattern from the start of the use of an apparatus by adding discrimination data indicated by a user to the character pattern in a font cash memory before registering and storing the character pattern in a separate memory means by user's storing operation. CONSTITUTION:At the time of the reproducing processing of the character pattern in a font cash memory all, the setting of font environment is performed by an input part a1 and a control part a2 judges whether the identifier (ID) of the font environment is registered in the cash font control table registration part a7 of an auxiliary memory part a6. In the case of NO, a default cash font control table a10 is called out to load the font cash control table area a14 on an RAM a12 with the table a10 and, in the case of YES, the table a10 is called out to load the area a14. Continuously, a memory a11 is loaded with the subject of a cash font to complete the construction of font cash environment.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ベクトルフォントデー
タから任意の大きさの文字パターンを生成し出力する際
に使用するフォントキャッシュメモリの管理方法および
装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and apparatus for managing a font cache memory used when generating and outputting a character pattern of arbitrary size from vector font data.

【0002】[0002]

【従来の技術】従来、任意の大きさの文字パターンを生
成し出力する情報処理装置(以下、装置という)におけ
る印字スピードを向上させる方法として、電源投入時以
降に印字した文字のビットマップ(文字パターン)をフ
ォントキャッシュメモリに記憶するか、あるいは予めフ
ォントキャッシュメモリに記憶すべき文字を指定してお
き、装置のアイドルタイム中に、この指定された文字の
ビットマップを生成し、フォントキャッシュメモリ内に
記憶させることにより印字スピードを向上させる方法が
ある。
2. Description of the Related Art Conventionally, as a method of improving the printing speed in an information processing apparatus (hereinafter referred to as an apparatus) that generates and outputs a character pattern of an arbitrary size, a bitmap of characters printed after the power is turned on (character Pattern) is stored in the font cache memory, or the characters to be stored in the font cache memory are specified in advance, and during the idle time of the device, a bitmap of these specified characters is generated and stored in the font cache memory. There is a method of improving the printing speed by storing it in the memory.

【0003】また、特開平4−113866号公報に開
示されているように、印字処理と並行して印字した文字
の出現頻度履歴を管理記憶し、印字処理のアイドル状態
時に、この出現頻度履歴に基づいて印字した文字のうち
出現頻度の多い文字の文字パターンを優先的にフォント
キャッシュメモリ内に記憶させることにより、フォント
キャッシュメモリ内の文字パターンのヒット率を高めて
印字スピードを向上する技術が知られている。
Further, as disclosed in Japanese Patent Laid-Open No. 4-113866, the appearance frequency history of characters printed in parallel with the printing process is managed and stored, and when the printing process is idle, the appearance frequency history is recorded. There is a technology known to improve the printing speed by increasing the hit rate of the character pattern in the font cache memory by preferentially storing the character pattern of the character that appears frequently among the printed characters in the font cache memory. Has been.

【0004】ところで、日本語のように使用する文字数
が多く、かつベクトルフォントデータを使用して任意の
大きさ、任意の書体など、豊富な文字種をサポートする
装置においては、物理的に限られた領域のフォントキャ
ッシュメモリをいかに効率良く使用して、文字パターン
のヒット率を高めるかが課題となる。
By the way, in a device such as Japanese that uses a large number of characters and supports abundant character types such as arbitrary size and arbitrary typeface by using vector font data, it is physically limited. How to efficiently use the font cache memory in the area to increase the hit rate of character patterns is an issue.

【0005】このフォントキャッシュメモリ内の文字パ
ターンのヒット率を高める方法としての前記特開平4−
113866号公報に開示された技術による文字の出現
頻度、すなわちユーザによる使用頻度の高い文字パター
ンから優先してフォントキャッシュメモリ内に記憶させ
る方法は確かに有効である。
As a method for increasing the hit rate of character patterns in the font cache memory, the above-mentioned Japanese Patent Laid-Open Publication No. Hei 4-
The method of storing in the font cache memory by prioritizing the appearance frequency of characters, that is, the character pattern that is frequently used by the user, according to the technique disclosed in Japanese Patent No. 113386 is certainly effective.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、文字の
使用頻度は、ユーザの文章の癖や、OA文書、日記、あ
るいは研究報告書など対象となる使用目的等のユーザ個
別の使用環境によって異なるものである。従って、フォ
ントキャッシュメモリ内に記憶すべき文字パターンは、
個々のユーザ別、あるいは使用目的によって異なるもの
になる。
However, the frequency of use of characters varies depending on the usage habits of the user and the usage environment of each user such as the intended use such as an OA document, a diary, or a research report. is there. Therefore, the character pattern to be stored in the font cache memory is
It depends on the individual user or the purpose of use.

【0007】しかし、従来の装置においては、フォント
キャッシュメモリ内に記憶すべき文字パターンをユーザ
の使用環境別に設定できないために、個々の使用環境か
ら見た場合、フォントキャッシュメモリ内の文字パター
ンのヒット率が低いという問題がある。
However, in the conventional apparatus, since the character patterns to be stored in the font cache memory cannot be set for each user's usage environment, the character patterns in the font cache memory are hit when viewed from each usage environment. There is a problem that the rate is low.

【0008】また、装置の使用開始時におけるフォント
キャッシュメモリ内には、通常デフォルトとして一定の
文字パターンが記憶されており、使用時間の経過ととも
に、ユーザの癖や使用目的によるフォントキャッシュメ
モリ内に無い文字パターンが追加され、徐々に文字パタ
ーンのヒット率が向上していくことになる。
Further, a fixed character pattern is usually stored as a default in the font cache memory at the start of use of the apparatus, and as the time elapses, the font pattern does not exist in the font cache memory depending on the user's habit or purpose. Character patterns will be added, and the hit rate of character patterns will gradually improve.

【0009】従って、装置の使用開始時においては、個
々の使用環境から見た場合のフォントキャッシュメモリ
内の文字パターンのヒット率が特に低いという問題があ
る。
Therefore, at the start of use of the apparatus, there is a problem that the character pattern hit rate in the font cache memory is particularly low when viewed from the individual use environment.

【0010】本発明の目的は、装置の使用開始時から、
ユーザ個別の使用環境に応じた文字パターンのヒット率
を向上させることを可能とするフォントキャッシュメモ
リの管理方法および装置を提供することにある。
The object of the present invention is
It is an object of the present invention to provide a font cache memory management method and device capable of improving the hit rate of character patterns according to the usage environment of each user.

【0011】[0011]

【課題を解決するための手段】前記目的を達成するため
に本発明は、ベクトルフォントデータに基づいて生成さ
れる文字パターンを記憶するフォントキャッシュメモリ
の管理方法において、ユーザの保存操作に従って前記フ
ォントキャッシュメモリ内の文字パターンをフォントキ
ャッシュメモリとは異なる記憶手段にユーザから指定さ
れた識別情報を付加して登録保存しておき、前記識別情
報の入力によって対応する文字パターンをフォントキャ
ッシュメモリに再生するようにしたものである。
To achieve the above object, the present invention relates to a method of managing a font cache memory for storing a character pattern generated based on vector font data, wherein the font cache is stored according to a user's saving operation. The character patterns in the memory are registered and stored in a storage means different from the font cache memory with the identification information designated by the user, and the corresponding character patterns are reproduced in the font cache memory by inputting the identification information. It is the one.

【0012】また、前記フォントキャッシュメモリ内の
各文字パターンの使用頻度を監視し、その使用頻度の高
いものを優先して常駐させ、かつ各文字パターン別の使
用頻度の情報を各文字パターンと対応させて前記記憶手
段に登録保存し、文字パターンのフォントキャッシュメ
モリへの再生時に継続して使用するようにしたものであ
る。
Further, the frequency of use of each character pattern in the font cache memory is monitored, the one with the highest frequency of use is given priority and made resident, and the information on the frequency of use for each character pattern is associated with each character pattern. The character pattern is registered and stored in the storage means, and is continuously used when the character pattern is reproduced in the font cache memory.

【0013】[0013]

【作用】前記手段によれば、フォントキャッシュメモリ
内の文字パターンがユーザの保存操作によって、フォン
トキャッシュメモリとは異なる記憶手段にユーザから指
定された識別情報が付加されてユーザ別に登録保存され
る。
According to the above means, the character pattern in the font cache memory is registered and saved for each user by adding the identification information designated by the user to the storage means different from the font cache memory by the saving operation by the user.

【0014】そして次回使用時に、前記識別情報を入力
することにより、前回ユーザ個別に登録保存されたフォ
ントキャッシュメモリ内の文字パターンが再生される。
By inputting the identification information at the next use, the character pattern in the font cache memory registered and saved for each user last time is reproduced.

【0015】さらに、このフォントキャッシュメモリ内
の各文字パターンは、ユーザによって使用された頻度が
監視され、その使用頻度の高い文字パターンから優先的
に常駐される。そして、各文字パターンに対応した使用
頻度情報もまた、前記前記記憶手段に登録保存され、文
字パターンのフォントキャッシュメモリへの再生時に前
回から継続して使用される。
Further, the frequency with which each character pattern in the font cache memory is used by the user is monitored, and the character pattern with the highest frequency of use is made resident preferentially. The usage frequency information corresponding to each character pattern is also registered and stored in the storage means, and is continuously used from the last time when the character pattern is reproduced in the font cache memory.

【0016】これにより、次回以降、前回使用時から継
続した状態で、ユーザ個別の使用環境に適したフォント
キャシュメモリ内の文字パターンが再生され、装置の使
用開始時から、文字パターンの高いヒット率が実現され
ることになる。
As a result, from the next time onward, the character pattern in the font cache memory suitable for the individual user's usage environment is reproduced in a state where the character pattern has a high hit rate from the start of use of the apparatus, while continuing from the previous use. Will be realized.

【0017】[0017]

【実施例】以下、本発明の一実施例を図面を用いて詳細
に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings.

【0018】図1は、本発明を適用したフォントキャッ
シュメモリの管理方法および装置の一実施例の構成を示
すブロック構成図である。図1において、1はユーザが
文字を入力する入力部、2は装置全体を制御する制御部
(以下、CPUという)、3は制御手段を格納している
ROM(Read Only Memory)であり、この制御手段に従っ
てCPU2は各部を制御する。
FIG. 1 is a block diagram showing the configuration of an embodiment of a font cache memory management method and apparatus to which the present invention is applied. In FIG. 1, reference numeral 1 is an input unit for a user to input characters, 2 is a control unit (hereinafter, referred to as CPU) for controlling the entire apparatus, and 3 is a ROM (Read Only Memory) storing control means. The CPU 2 controls each unit according to the control means.

【0019】4はビットマップとして展開された文字パ
ターンを一時記憶するフォントキャッシュメモリであ
る。5はフォント管理テーブルをロードするRAM(Ran
dom Access Memory)であり、ベクトルフォントをビット
マップに展開するワークエリアとしても使用される。
Reference numeral 4 is a font cache memory for temporarily storing a character pattern developed as a bit map. 5 is a RAM (Ran
dom Access Memory), which is also used as a work area for expanding vector fonts into bitmaps.

【0020】6はハードディスク(HD)であり、ベク
トルフォントデータと登録されたユーザ個別のフォント
キャッシュメモリ4の状態とが不揮発性のデータとして
格納される。
A hard disk (HD) 6 stores vector font data and the state of the registered user-specific font cache memory 4 as non-volatile data.

【0021】7は文字パターンの出力部であり、プリン
タエンジンなどの印刷機構あるいはディスプレイなどの
表示機構とのインタフェースである。
A character pattern output unit 7 is an interface with a printing mechanism such as a printer engine or a display mechanism such as a display.

【0022】図2は本発明を適用したフォントキャッシ
ュメモリの管理方法および装置の機能ブロック図であ
る。
FIG. 2 is a functional block diagram of a font cache memory management method and apparatus to which the present invention is applied.

【0023】図2において、本発明に係るフォントキャ
ッシュメモリの管理装置は、入力部a1、制御部a2、
補助記憶部(ハードディスク)a6、フォントキャッシュ
メモリa11、主記憶部(RAM)a12、および出力
部a15から構成される。
Referring to FIG. 2, the font cache memory management apparatus according to the present invention comprises an input unit a1, a control unit a2,
It is composed of an auxiliary storage unit (hard disk) a6, a font cache memory a11, a main storage unit (RAM) a12, and an output unit a15.

【0024】ここで、制御部a2は、ユーザ個別の使用
環境を設定するフォント環境設定部a3、設定されたフ
ォント環境を管理するフォント情報管理部a4、ベクト
ルフォントデータから文字パターンを生成するラスタイ
メージ処理部a5から構成される。
Here, the control unit a2 is a font environment setting unit a3 for setting a use environment for each user, a font information management unit a4 for managing the set font environment, and a raster image for generating a character pattern from vector font data. It is composed of a processing unit a5.

【0025】また、補助記憶部(ハードディスク)a6
は、ユーザ個別の使用環境に対応するフォント環境の識
別子であるIDを登録するキャッシュフォント管理テー
ブル登録部a7、キャッシュフォントの実体b8(図示
していない)を保存するキャッシュフォント実体保存部
a8、ベクトルフォントデータ格納部a9、およびキャ
ッシュフォント管理テーブルa10から構成される。
Further, the auxiliary storage unit (hard disk) a6
Is a cache font management table registration unit a7 for registering an ID that is an identifier of a font environment corresponding to a use environment of each user, a cache font entity storage unit a8 for storing a cache font entity b8 (not shown), and a vector It is composed of a font data storage section a9 and a cache font management table a10.

【0026】さらに、主記憶部(RAM)a12は、ビ
ットマップフォントワークエリアa13およびキャッシ
ュフォント管理テーブルエリアa14から構成されてい
る。
Further, the main memory (RAM) a12 is composed of a bitmap font work area a13 and a cache font management table area a14.

【0027】次に、以上の構成から成る本発明を適用し
たフォントキャッシュメモリの管理方法および装置にお
けるフォントキャツシュメモリ内の文字パターンの再生
処理について説明する。
Next, a description will be given of the reproduction process of the character pattern in the font cache memory in the font cache memory management method and apparatus to which the present invention having the above-mentioned configuration is applied.

【0028】図3は装置の使用開始時の処理手順を示す
フローチャートである。図3において、まず、ユーザは
フォント環境の設定を入力部a1によって行う(S30
1)。
FIG. 3 is a flow chart showing a processing procedure at the start of use of the apparatus. In FIG. 3, the user first sets the font environment using the input unit a1 (S30).
1).

【0029】この設定を受けた制御部a2は以下の処理
を行う。まず、フォント環境設定部a3は、指定された
フォント環境の識別子であるID(識別情報)が補助記
憶部(ハードディスク)a6のキャッシュフォント管理テ
ーブル登録部a7に登録されているか否かを判定する
(S302)。
Upon receiving this setting, the control section a2 performs the following processing. First, the font environment setting unit a3 determines whether or not the ID (identification information) that is the identifier of the specified font environment is registered in the cache font management table registration unit a7 of the auxiliary storage unit (hard disk) a6 ( S302).

【0030】該当するIDが無い、あるいは新規設定の
場合(S302:No)、予め準備されたデフォルトの
キャッシュフォント管理テーブルa10を呼出し、RA
Ma12上のフォントキャッシュ管理テーブルエリアa
14にロードする(S303)。
If there is no corresponding ID or if a new setting is made (S302: No), the prepared default cache font management table a10 is called, and RA is set.
Font cache management table area a on Ma12
14 is loaded (S303).

【0031】また、該当するIDが存在すれば(S30
2:Yes)、該当するキャッシュフォント管理テーブ
ルa10を呼出し、RAMa12上のキャッシュフォン
ト管理テーブルエリアa14にロードする(S30
4)。
If the corresponding ID exists (S30)
2: Yes), the corresponding cache font management table a10 is called and loaded in the cache font management table area a14 on the RAM a12 (S30).
4).

【0032】続いて、ロードしたキャッシュフォント管
理テーブルa10にリンクした、キャッシュフォントの
実体b8(図示していない)を、ハードディスクa6よ
りフォントキャシュメモリa11にロードし(S30
5)、立ち上げ時のフォントキャシュ環境の構築を完了
する。
Then, the cache font entity b8 (not shown) linked to the loaded cache font management table a10 is loaded from the hard disk a6 into the font cache memory a11 (S30).
5) Complete the construction of the font cache environment at startup.

【0033】これにより、前回の使用時における文字パ
ターンがフォントキャッシュメモリa11内に再生され
ることになる。
As a result, the character pattern used last time is reproduced in the font cache memory a11.

【0034】次に、フォントキャシュ環境が構築された
後の文字出力についてフローチャートを用いて説明す
る。
Next, the character output after the font cache environment is constructed will be described using a flowchart.

【0035】図4は本発明を適用したフォントキャッシ
ュメモリの管理方法および装置の文字出力に対する処理
手順を示すフローチャートである。
FIG. 4 is a flowchart showing the processing procedure for character output of the font cache memory management method and apparatus to which the present invention is applied.

【0036】図4において、まず、入力部a1より、文
字出力の要求を受けた制御部a2のフォント情報管理部
a4は、出力する文字の文字属性(書体、サイズなど)
ごとに出現頻度を記録管理する(S401)。
In FIG. 4, first, the font information management unit a4 of the control unit a2, which receives a character output request from the input unit a1, causes the character attributes (typeface, size, etc.) of the character to be output.
The appearance frequency is recorded and managed for each (S401).

【0037】そして、当該文字パターンがフォントキャ
ッシュメモリa11上に存在するか否かをキャッシュフ
ォント管理テーブルエリアa14を検索することにより
判定する(S402)。
Then, it is determined whether or not the character pattern exists in the font cache memory a11 by searching the cache font management table area a14 (S402).

【0038】フォントキャッシュメモリa11上に存在
しない場合は(S402:No)、ハードディスクa6
のベクトルフォントデータ格納部a9より当該フォント
データを読み込む(S403)。
If it does not exist in the font cache memory a11 (S402: No), the hard disk a6
The font data is read from the vector font data storage section a9 (S403).

【0039】次に、当該フォントデータの文字パターン
をフォントキャッシュメモリa11にキャッシュするか
どうかの判定を行う。まずフォントキャッシュメモリa
11に当該文字パターンをキャッシュする空きスペース
が存在するか否かを調査する(S404)。
Next, it is determined whether or not the character pattern of the font data is cached in the font cache memory a11. First, the font cache memory a
It is investigated whether or not there is an empty space for caching the character pattern in 11 (S404).

【0040】フォントキャッシュメモリa11内に空き
スペースが存在すれば(S404:Yes)、ラスタイ
メージ処理部a5によって、ベクトルフォントデータか
ら文字パターンのビットマップを直接フォントキャッシ
ュメモリa11上の空きエリアに展開させ(S40
5)、キャッシュフォント管理テーブルa10を更新す
る(S406)。
If there is an empty space in the font cache memory a11 (S404: Yes), the raster image processing unit a5 directly expands the bitmap of the character pattern from the vector font data into the empty area on the font cache memory a11. (S40
5), update the cache font management table a10 (S406).

【0041】もし、フォントキャッシュメモリa11内
に充分な空きスペースがなければ(S404:No)、
フォント情報管理部a4によって当該文字パターンより
出現頻度が少ないかあるいは同じである文字パターンが
存在するか否かを調査する(S407)。
If there is not enough free space in the font cache memory a11 (S404: No),
The font information management unit a4 investigates whether or not there is a character pattern whose appearance frequency is lower than or the same as that of the character pattern (S407).

【0042】該当する文字パターンが存在する場合(S
407:Yes)、そのエリアを消去することで当該文
字パターンを展開するエリアが確保されるならば(S4
08:Yes)、そのエリアを消去し、当該文字パター
ンを展開するエリアを確保し(S409)、ラスタイメ
ージ処理部a5によって、ベクトルフォントデータから
文字パターンのビットマップをそのエリアに展開し(S
405)、キャッシュフォント管理テーブルa10を更
新する(S406)。
When the corresponding character pattern exists (S
407: Yes), if the area for expanding the character pattern is secured by deleting the area (S4)
08: Yes), the area is erased, an area for expanding the character pattern is secured (S409), and the raster image processing unit a5 expands the bitmap of the character pattern from the vector font data in the area (S409).
405), the cache font management table a10 is updated (S406).

【0043】当該文字パターンより出現頻度が少ないか
あるいは同じである文字パターンが存在しない、あるい
は存在するが、それらをすべて消去しても当該文字パタ
ーンに必要なエリアが確保できない場合(S407:N
o)、ラスタイメージ処理部a5は、ビットマップフォ
ントワークエリアa13に文字パターンのビットマップ
を展開する(S410)。
If there is no character pattern that appears less frequently or is the same as the character pattern, or if there is, but the area necessary for the character pattern cannot be secured even if all of them are deleted (S407: N).
o), the raster image processing unit a5 develops the bitmap of the character pattern in the bitmap font work area a13 (S410).

【0044】出力要求された文字は、フォントキャッシ
ュメモリa11の該当するアドレスまたはビットマップ
フォントワークエリアa13から出力部a15に出力さ
れる。
The output-requested character is output from the corresponding address in the font cache memory a11 or the bitmap font work area a13 to the output section a15.

【0045】これにより、出現頻度、すなわちユーザの
使用頻度に応じた文字パターンがフォントキッシュメモ
リa11あるいはビットマップフォントワークエリアa
13に常駐され、出力要求に応じて出力されることにな
る。
As a result, the character pattern corresponding to the appearance frequency, that is, the frequency of use by the user is displayed in the font quiche memory a11 or the bitmap font work area a.
13 will be resident and will be output in response to an output request.

【0046】次に、フォントキャッシュメモリ内の文字
パターンの登録/保存処理について説明する(図2参
照)。
Next, the process of registering / saving character patterns in the font cache memory will be described (see FIG. 2).

【0047】ユーザは、使用したフォントキャッシュメ
モリa11内の文字パターンを登録/保存することが可
能である。
The user can register / save the used character pattern in the font cache memory a11.

【0048】ユーザは、使用したフォントキャッシュメ
モリa11内の文字パターンについて、(1)更新した
状態を前回から継続したフォント環境IDで保存する。
(2)更新した状態を別のフォント環境IDとして登録
/保存する。(3)保存しない。という3つの処理を選
択することができる。
The user saves (1) the updated state of the used character pattern in the font cache memory a11 with the font environment ID continued from the previous time.
(2) Register / save the updated state as another font environment ID. (3) Do not save. The following three processes can be selected.

【0049】まず、(1)の更新した状態を前回から継
続したフォント環境IDで保存する場合、ユーザは、入
力部a1を使用して、前回と同じフォント環境IDで保
存操作を行う。すると、フォント環境設定部a3は、キ
ャッシュフォント管理テーブルa10の状態を、ハード
ディスクa6のキャッシュフォント管理テーブル登録部
a7に使用前の状態に上書きして退避する。
First, when saving the updated state of (1) with the font environment ID continued from the previous time, the user uses the input section a1 to perform the save operation with the same font environment ID as the previous time. Then, the font environment setting unit a3 overwrites the state of the cache font management table a10 with the state before use in the cache font management table registration unit a7 of the hard disk a6 and saves it.

【0050】そして、現在記憶されているフォントキャ
ッシュメモリa11内の文字パターンをハードディスク
a6のキャッシュフォント実体保存部a8に使用前の状
態に上書きして退避する。
Then, the currently stored character pattern in the font cache memory a11 is saved in the cache font entity storage section a8 of the hard disk a6 by overwriting the state before use.

【0051】なおこの時、フォント情報管理部a4は、
前回から継続して使用した文字パターンの使用頻度履歴
を更新し、フォント環境IDとリンクして登録/保存す
る。
At this time, the font information management section a4
The usage frequency history of the character pattern continuously used from the previous time is updated and registered / saved by linking with the font environment ID.

【0052】次に、(2)の更新した状態を別のフォン
ト環境IDとして登録/保存する場合、ユーザは、入力
部a1を使用して、前回とは別のフォント環境IDで保
存操作を行う。この場合、新規のフォント環境IDを指
示することにより、フォント環境設定部a3は、キャッ
シュフォント管理テーブルa10の状態を、ハードディ
スクa6のキャッシュフォント管理テーブル登録部a7
に新規のフォント環境IDにリンクした別のファイルと
して退避する。
Next, when the updated state of (2) is registered / saved as another font environment ID, the user uses the input section a1 to perform a save operation with a font environment ID different from the previous one. . In this case, by instructing a new font environment ID, the font environment setting unit a3 changes the state of the cache font management table a10 to the cache font management table registration unit a7 of the hard disk a6.
And save as another file linked to the new font environment ID.

【0053】そして、現在記憶されているフォントキャ
ッシュメモリa11内の文字パターンをハードディスク
a6のキャッシュフォント実体保存部a8に、新規のフ
ォント環境IDにリンクした別のファイルとして退避す
る。
Then, the currently stored character pattern in the font cache memory a11 is saved in the cache font entity storage section a8 of the hard disk a6 as another file linked to the new font environment ID.

【0054】なお、この場合も(1)と同様に、フォン
ト情報管理部a4は、今回使用した文字パターンの使用
頻度履歴を、新規のフォント環境IDとリンクして登録
/保存する。
Also in this case, similarly to (1), the font information management unit a4 registers / saves the usage frequency history of the character pattern used this time in association with the new font environment ID.

【0055】また、ユーザは、装置の使用開始時に、使
用するフォント環境をデフォルトで立ち上げた場合、す
なわち、前回の使用目的に応じたフォント環境を再生せ
ずにデフォルトされた一定の文字パターンが記憶されて
いるフォントキャッシュメモリa11内の文字パターン
を使用し、今回の使用により更新されたフォントキャッ
シュメモリa11内の文字パターンを保存するために
は、必ず更新した状態を別のフォント環境IDとして登
録する。
When the user starts up the font environment to be used by default at the start of use of the apparatus, that is, the font environment according to the purpose of the previous use is not reproduced, and a predetermined fixed character pattern is displayed. In order to use the stored character pattern in the font cache memory a11 and save the character pattern in the font cache memory a11 updated by this use, be sure to register the updated state as another font environment ID. To do.

【0056】また、(3)の保存しない場合は、ユーザ
による入力部a1からの指定により、フォント環境設定
部a3は、何もしない。結果として、キャッシュフォン
ト管理テーブル登録部a7およびキャッシュフォント実
体保存部a8は、使用前の状態のままである。
If (3) is not saved, the font environment setting section a3 does nothing according to the user's designation from the input section a1. As a result, the cache font management table registration unit a7 and the cache font entity storage unit a8 remain in the state before use.

【0057】以上、本実施例における一連の処理を行う
ことにより、フォントキャッシュメモリa11内の文字
パターンが、ユーザ個別の使用環境に応じて登録/保存
される。
As described above, the character pattern in the font cache memory a11 is registered / saved according to the usage environment of each user by performing a series of processes in this embodiment.

【0058】さらに、ユーザ個別の使用環境に応じた文
字パターンの使用頻度履歴も登録/保存される。
Further, the history of frequency of use of character patterns according to the usage environment of each user is also registered / saved.

【0059】そして、次回使用時に、フォント環境ID
を入力することにより、ユーザ個別の使用環境に応じた
文字パターンがフォントキャッシュメモリa11内に再
生され、使用頻度履歴も再生されることになる。
Then, at the next use, the font environment ID
By inputting, the character pattern according to the use environment of each user is reproduced in the font cache memory a11, and the use frequency history is also reproduced.

【0060】[0060]

【発明の効果】以上説明したように本発明によれば、ベ
クトルフォントデータに基づいて生成される文字パター
ンを記憶するフォントキャッシュメモリの管理方法にお
いて、ユーザの保存操作に従って前記フォントキャッシ
ュメモリ内の文字パターンをフォントキャッシュメモリ
とは異なる記憶手段にユーザから指定された識別情報を
付加して登録保存しておき、前記識別情報の入力によっ
て対応する文字パターンをフォントキャッシュメモリに
再生するので、ユーザ個別の使用環境に応じて登録/保
存された文字パターンをフォントキャッシュメモリ内に
再生することにより、装置の使用開始時から、文字パタ
ーンの高いヒット率を実現することができる。
As described above, according to the present invention, in the font cache memory management method for storing the character pattern generated based on the vector font data, the characters in the font cache memory are stored according to the user's saving operation. Since the pattern is added to the storage means different from the font cache memory with the identification information designated by the user to be registered and stored, and the corresponding character pattern is reproduced in the font cache memory by the input of the identification information, it is possible to store the pattern for each user. By reproducing the character pattern registered / saved according to the usage environment in the font cache memory, a high hit rate of the character pattern can be realized from the start of use of the device.

【0061】また、フォントキャッシュメモリ内の各文
字パターンの使用頻度を監視し、その使用頻度の高いも
のを優先して常駐させ、かつ各文字パターン別の使用頻
度情報を各文字パターンと対応させて前記記憶手段に登
録保存し、文字パターンのフォントキャッシュメモリへ
の再生時に継続して使用するので、使用頻度の低い文字
パターンが存在するにもかかわらず、使用頻度の高い文
字パターンが消去されてしまうという不具合がなくな
る。
Also, the frequency of use of each character pattern in the font cache memory is monitored, the one with the highest frequency of use is given priority and made resident, and the use frequency information for each character pattern is associated with each character pattern. Since the character pattern is registered and stored in the storage unit and is continuously used when the character pattern is reproduced in the font cache memory, the frequently used character pattern is erased even though the rarely used character pattern exists. That problem disappears.

【0062】すなわち、使用頻度の情報を継続しない場
合に、フォントキャッシュメモリ内に空きエリアが無い
時は、使用頻度に関係なくいずれかの文字パターンが消
去されることになるので、使用頻度の高い文字パターン
が消去されてしまう恐れがある。
That is, when the information on the frequency of use is not continued and when there is no free area in the font cache memory, one of the character patterns will be erased regardless of the frequency of use, so the frequency of use is high. The character pattern may be erased.

【0063】しかし、使用頻度の情報を継続して使用す
れば、このようなことはなくなり、複数回の登録/再生
操作において、高い使用頻度を示している文字パターン
のみが保存される。
However, if the information on the frequency of use is continuously used, such a situation is eliminated, and only the character pattern showing the high frequency of use is saved in the registration / reproduction operations of plural times.

【0064】この結果、各ユーザ別のヒット率をさらに
向上させることができるといった効果がある。
As a result, the hit rate for each user can be further improved.

【0065】以上のことにより、ベクトルフォントデー
タから任意の大きさの文字パターンを生成し出力する情
報処理装置における文字の印字スピードが向上するとい
う効果がある。
As described above, there is an effect that the printing speed of characters in the information processing apparatus for generating and outputting a character pattern of arbitrary size from vector font data is improved.

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

【図1】本発明を適用したフォントキャッシュメモリの
管理方法および装置の一実施例の構成を示すブロック構
成図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of a font cache memory management method and apparatus to which the present invention is applied.

【図2】実施例の機能を説明するための機能ブロック図
である。
FIG. 2 is a functional block diagram for explaining a function of the embodiment.

【図3】実施例の装置立ち上げ時のフォントキャシュ環
境構築における処理手順を示すフローチャートである。
FIG. 3 is a flowchart showing a processing procedure in the font cache environment construction at the time of starting the apparatus of the embodiment.

【図4】実施例の文字出力時の処理手順を示すフローチ
ャートである。
FIG. 4 is a flowchart showing a processing procedure at the time of character output of the embodiment.

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

1、a1…入力部、2、a2…制御部(CPU)、3…
ROM、a3…フォントキャッシュ環境設定部、4、a
11…フォントキャッシュメモリ、a4…フォント情報
管理部、5、a12…主記憶部(RAM)、a5…ラス
タイメージ処理部、6、a6…補助記憶部(ハードディ
スク)、7、a15…出力部、a7…キャッシュフォン
ト管理テーブル登録部、a8…キャッシュフォント実体
保存部、a9…ベクトルフォントデータ格納部、a10
…キャッシュフォント管理テーブル、a13…ビットマ
ップフォントワークエリア、a14…キャッシュフォン
ト管理テーブルエリア。
1, a1 ... Input unit, 2, a2 ... Control unit (CPU), 3 ...
ROM, a3 ... Font cache environment setting section 4, a
11 ... Font cache memory, a4 ... Font information management section, 5, a12 ... Main storage section (RAM), a5 ... Raster image processing section, 6, a6 ... Auxiliary storage section (hard disk), 7, a15 ... Output section, a7 ... cache font management table registration unit, a8 ... cache font entity storage unit, a9 ... vector font data storage unit, a10
... cache font management table, a13 ... bitmap font work area, a14 ... cache font management table area.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 ベクトルフォントデータに基づいて生成
される文字パターンを記憶するフォントキャッシュメモ
リの管理方法において、 ユーザの保存操作に従って前記フォントキャッシュメモ
リ内の文字パターンをフォントキャッシュメモリとは異
なる記憶手段にユーザから指定された識別情報を付加し
て登録保存しておき、前記識別情報の入力によって対応
する文字パターンをフォントキャッシュメモリに再生す
ることを特徴とするフォントキャッシュメモリの管理方
法。
1. A method of managing a font cache memory for storing a character pattern generated based on vector font data, wherein the character pattern in the font cache memory is stored in a storage means different from the font cache memory according to a user's saving operation. A method of managing a font cache memory, characterized in that identification information designated by a user is added, registered and stored, and a corresponding character pattern is reproduced in a font cache memory by inputting the identification information.
【請求項2】 前記フォントキャッシュメモリ内の各文
字パターンの使用頻度を監視し、その使用頻度の高いも
のを優先して常駐させ、かつ各文字パターン別の使用頻
度情報を各文字パターンと対応させて前記記憶手段に登
録保存し、文字パターンのフォントキャッシュメモリへ
の再生時に継続して使用することを特徴とする請求項1
記載のフォントキャッシュメモリの管理方法。
2. The use frequency of each character pattern in the font cache memory is monitored, the one having the highest use frequency is prioritized to be resident, and the use frequency information for each character pattern is associated with each character pattern. 2. The character register is registered and stored in the storage means, and is continuously used when the character pattern is reproduced in the font cache memory.
How to manage the described font cache memory.
【請求項3】 ベクトルフォントデータに基づいて生成
される文字パターンを記憶するフォントキャッシュメモ
リの管理装置であって、 ユーザの保存操作に従って前記フォントキャッシュメモ
リ内の文字パターンを登録保存するフォントキャッシュ
メモリとは異なる記憶手段と、この記憶手段に登録保存
される文字パターンにユーザから指定された識別情報を
付加する識別情報付加手段と、前記識別情報を入力する
入力手段と、この入力手段によって入力された前記識別
情報に対応する文字パターンをフォントキャッシュメモ
リに再生する再生手段とを備えることを特徴とするフォ
ントキャッシュメモリの管理装置。
3. A font cache memory management device for storing a character pattern generated based on vector font data, the font cache memory registering and storing the character pattern in the font cache memory according to a user's saving operation. Are different storage means, identification information adding means for adding identification information designated by the user to the character pattern registered and stored in this storage means, input means for inputting the identification information, and input by this input means. A font cache memory management device, comprising: a reproducing unit that reproduces a character pattern corresponding to the identification information in a font cache memory.
【請求項4】 前記フォントキャッシュメモリ内の各文
字パターンの使用頻度を監視し、監視した文字パターン
のうち使用頻度の高い文字パターンを優先してフォント
キャッシュメモリ内に常駐し、かつ前記使用頻度の情報
を各文字パターンと対応させて登録保存し、その登録保
存された前記使用頻度情報を文字パターンのフォントキ
ャッシュメモリへの再生時に継続して更新する管理手段
を備えることを特徴とする請求項3記載のフォントキャ
ッシュメモリの管理装置。
4. The use frequency of each character pattern in the font cache memory is monitored, and a character pattern with a high use frequency among the monitored character patterns is given priority in resident in the font cache memory, and 4. A management means for registering and storing information in association with each character pattern and continuously updating the registered and stored usage frequency information when the character pattern is reproduced in the font cache memory. Device for managing the described font cache memory.
JP6046188A 1994-03-16 1994-03-16 Font cache memory management method and apparatus Expired - Fee Related JP3004866B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6046188A JP3004866B2 (en) 1994-03-16 1994-03-16 Font cache memory management method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6046188A JP3004866B2 (en) 1994-03-16 1994-03-16 Font cache memory management method and apparatus

Publications (2)

Publication Number Publication Date
JPH07251535A true JPH07251535A (en) 1995-10-03
JP3004866B2 JP3004866B2 (en) 2000-01-31

Family

ID=12740080

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6046188A Expired - Fee Related JP3004866B2 (en) 1994-03-16 1994-03-16 Font cache memory management method and apparatus

Country Status (1)

Country Link
JP (1) JP3004866B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012027543A (en) * 2010-07-20 2012-02-09 Toshiba Corp Drawing device, drawing method and drawing program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012027543A (en) * 2010-07-20 2012-02-09 Toshiba Corp Drawing device, drawing method and drawing program

Also Published As

Publication number Publication date
JP3004866B2 (en) 2000-01-31

Similar Documents

Publication Publication Date Title
US7460259B2 (en) Print control device and print control method
JPH07251535A (en) Method and apparatus for controlling font cash memory
US6894795B1 (en) Method and apparatus for enhancing the perceptual performance of a post-printing application environment
JP2000357074A (en) Document file print system
JP2726408B2 (en) Help information display device
JPH06274145A (en) Character processor
JPH05212917A (en) Printer
JP3817077B2 (en) Print processing system and image forming apparatus
JP3507353B2 (en) Overlay printing control method and apparatus, and storage medium storing computer readable program
JP3330855B2 (en) Printer system, printer operation control method, and recording medium
JPH09212312A (en) Printer controller and its registered data managing method
JP2003099216A (en) Print setting method for printer driver, information processor, program, and storage medium
JPH04278374A (en) Character font generator
JP4401661B2 (en) Image forming apparatus, image forming method, and image forming program
JP3122567B2 (en) Image recording apparatus and control method thereof
JP3317042B2 (en) Data processing system
JPH05334298A (en) Information processor
JPH10211751A (en) Print spool control apparatus, control method, and memory medium
JP2798777B2 (en) Word processor
JPH09146521A (en) Device and method for output control
JPH08174926A (en) Printer
JPH02234287A (en) Font pattern forming device
JPH06149207A (en) Image forming device
JP2000232573A (en) Printer, print method and storage medium
JPH03114763A (en) Printer

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees