JPH08221050A - Information processor with character processing function - Google Patents

Information processor with character processing function

Info

Publication number
JPH08221050A
JPH08221050A JP7026587A JP2658795A JPH08221050A JP H08221050 A JPH08221050 A JP H08221050A JP 7026587 A JP7026587 A JP 7026587A JP 2658795 A JP2658795 A JP 2658795A JP H08221050 A JPH08221050 A JP H08221050A
Authority
JP
Japan
Prior art keywords
character
kanji
cache memory
outline font
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.)
Withdrawn
Application number
JP7026587A
Other languages
Japanese (ja)
Inventor
Kaoru Shimamura
薫 島村
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP7026587A priority Critical patent/JPH08221050A/en
Publication of JPH08221050A publication Critical patent/JPH08221050A/en
Withdrawn legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE: To obtain a sufficient display speed even in a less cache memory with simple cache memory control by storing only the non-KANJI (chainese character) data in the cache memory related to an information processor with a character processing function. CONSTITUTION: This processor is provided with an outline font driver 8, the cache memory 9, an auxiliary storage 4, etc., and the outline font driver 8 takes out only the non-KANJI outline font data from the font file 11 of the auxiliary storage 4 in start processing to store them in the cache memory 9. Further, at this time, non-KANJI cache control information for retrieving the cached non-KANJI outline font data is formed from the non-KANJI outline font data stored in the cache memory 9 to be stored in the cache memory 9.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、パソコン、ワードプロ
セッサ、ワークステーション等の各種情報処理装置(コ
ンピュータ等)に利用されるものであり、特に、アウト
ラインフォントドライバにより、アウトラインフォント
データをビットイメージデータに変換して(ラスタライ
ズ)文字データの出力処理を行う文字処理機能付き情報
処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is used in various information processing apparatuses (computers, etc.) such as personal computers, word processors, workstations, etc., and in particular, outline font drivers convert outline font data into bit image data. The present invention relates to an information processing device with a character processing function that performs conversion (rasterization) output processing of character data.

【0002】近年、コンピュータ等の情報処理装置にお
いて、GUI(graphycal user interface:文字だけで
なく、アイコンを用いて視覚的で直感的な操作を可能と
する利用者インターフェースの体系)によるMMI(ma
n machine interface )の改善が図られ、WYSIWY
G(what you see is what you get:見たままを印刷す
ること)環境に代表される視覚環境の充実が強く要求さ
れている。
In recent years, in information processing devices such as computers, GUI (graphical user interface: a system of user interface that enables visual and intuitive operation using not only characters but also icons) and MMI (ma)
n machine interface) is improved and WYSIWY
There is a strong demand for enhancement of the visual environment represented by the G (what you see is what you get) environment.

【0003】文字フォントにおいても、様々な大きさの
文字を利用できるように、文字フォントのアウトライン
化が急速に進んでいる。アウトラインフォントとドット
フォントを比較すると、次のような長所、短所がある。
With respect to character fonts, outlines of character fonts are rapidly being developed so that characters of various sizes can be used. Comparing outline fonts and dot fonts has the following advantages and disadvantages.

【0004】すなわち、アウトラインフォントは様々な
大きさの文字を綺麗に出力できる反面、表示速度が劣る
傾向にある。そこで、今日のアウトラインフォントドラ
イバ(アウトラインラスタライザ)は、一度ラスタライ
ズ(ビットイメージ化)した文字データをキャッシュメ
モリに格納したり、フォントファイルから読みだしたフ
ォントデータをキャッシュメモリに格納する等のキャッ
シング技術を使用し、表示速度の向上を図っている。
That is, the outline font can output characters of various sizes neatly, but the display speed tends to be poor. Therefore, today's outline font drivers (outline rasterizers) use caching technology such as storing character data that has been rasterized (converted into a bit image) in the cache memory or storing font data read from a font file in the cache memory. It is used to improve the display speed.

【0005】[0005]

【従来の技術】図6〜図8は従来例を示した図であり、
図6〜図8中、2は装置本体、3は入力装置、4は補助
記憶装置、6はオペレーティングシステム(以下「O
S」と記す)、7はメモリ、8はアウトラインフォント
ドライバ、9はキャッシュメモリ、10はビットマップ
領域、11はフォントファイルを示す。
2. Description of the Related Art FIGS. 6 to 8 are views showing conventional examples.
6 to 8, 2 is a device main body, 3 is an input device, 4 is an auxiliary storage device, and 6 is an operating system (hereinafter referred to as “O”).
S)), 7 is a memory, 8 is an outline font driver, 9 is a cache memory, 10 is a bitmap area, and 11 is a font file.

【0006】§1:情報処理装置の説明・・・図6参照 図6は従来の装置構成図である。従来、アウトラインフ
ォントドライバを備え、文字処理機能を有する情報処理
装置として、パソコン、ワードプロセッサ、ワークステ
ーション等が知られていた。このような情報処理装置
は、装置本体2、入力装置3、補助記憶装置4等で構成
されている。
§1: Description of information processing apparatus--see FIG. 6 FIG. 6 is a block diagram of a conventional apparatus. Conventionally, personal computers, word processors, workstations and the like have been known as information processing apparatuses having an outline font driver and having a character processing function. Such an information processing device is composed of a device body 2, an input device 3, an auxiliary storage device 4, and the like.

【0007】そして、前記装置本体2には、OS6、メ
モリ7、キャッシュメモリ9、アウトラインフォントド
ライバ8等が設けてあり、前記メモリ7の一部にビット
マップ領域10が設けてある。
The apparatus body 2 is provided with an OS 6, a memory 7, a cache memory 9, an outline font driver 8 and the like, and a bit map area 10 is provided in a part of the memory 7.

【0008】また、前記補助記憶装置4は、例えば、ハ
ードディスク装置で構成され、その記憶媒体(ディス
ク)にはフォントファイルが格納されている。そして、
前記フォントファイルには、以下に説明する「非漢
字」、「漢字」を含むアウトラインフォントデータが格
納されている。
The auxiliary storage device 4 is composed of, for example, a hard disk device, and a font file is stored in the storage medium (disk). And
The font file stores outline font data including "non-kanji" and "kanji" described below.

【0009】§2:文字コードとフォントファイルの説
明・・・図7参照 図7は従来の文字コード説明図である。文字をコンピュ
ータで処理する場合、各文字にはコードを与える。これ
を文字コードと呼ぶ。日本語に用いる文字コードは少な
くとも2バイトは必要になる。
§2: Description of character code and font file--see FIG. 7 FIG. 7 is an explanatory view of a conventional character code. When characters are processed by a computer, each character is given a code. This is called a character code. The character code used for Japanese requires at least 2 bytes.

【0010】文字コードには16進数で表現する場合
と、10進数で表現する場合とがある。ここでは文字コ
ードを10進数で表現できる区点表記を例に説明する。
区点による表記は、例えば、JISでは3021(16
進数)と規定するが、区点では16区1点と表記する。
The character code may be represented by a hexadecimal number or a decimal number. Here, an explanation will be given by taking a punctuation notation that can represent a character code in decimal notation as an example.
For example, JIS is 3021 (16)
Although it is defined as a decimal number, 16 wards and 1 point is written as a ward point.

【0011】或る文字セットをコードに従い一覧にした
ものを「文字コード表」と呼ぶ。前記補助記憶装置4に
格納されたフォントファイル11にも通常この文字コー
ド順に文字を並べて格納する。図示の文字コードは、J
IS漢字コードを区点で表したものである。
A list of a certain character set according to codes is called a "character code table". In the font file 11 stored in the auxiliary storage device 4, characters are usually arranged and stored in this character code order. The character code shown is J
The IS kanji code is represented by ward points.

【0012】図7では、縦方向が区であり、横方向が点
である。そして、1区から8区には、句読点、記号、英
字、数字、ひらがな、カタカナ等が納められており、こ
の範囲を特に「非漢字」と呼ぶ。一方、16区から47
区には第1水準漢字、48区から84区には第2水準漢
字が納められている。特に、この範囲を「漢字」と呼
ぶ。
In FIG. 7, the vertical direction is a section and the horizontal direction is a point. Punctuation marks, symbols, letters, numbers, hiragana, katakana, etc. are stored in the first to eighth wards, and this range is called "non-kanji". On the other hand, from 16th ward to 47
The first level kanji is stored in the ward, and the second level kanji is stored in the 48th to 84th wards. In particular, this range is called "Kanji".

【0013】§3:文字出力時の処理説明 以下、図6に基づいて文字出力処理を説明する。先ず、
入力装置3からの指示によりOS6からアウトラインフ
ォントドライバ8に対し、文字の出力要求が出される
と、アウトラインフォントドライバ8は文字出力処理を
開始する。
§3: Description of Character Output Processing The character output processing will be described below with reference to FIG. First,
When the OS 6 issues a character output request to the outline font driver 8 according to an instruction from the input device 3, the outline font driver 8 starts a character output process.

【0014】この場合、アウトラインフォントドライバ
8は、OS6からコマンド(文字コード、書体名等の情
報を含む)を受け取り、前記コマンドで要求された文字
のアウトラインフォントデータがキャッシュメモリ9に
存在するか否かをチェックする。
In this case, the outline font driver 8 receives a command (including information such as a character code and a typeface name) from the OS 6 and determines whether or not the outline font data of the character requested by the command exists in the cache memory 9. I will check.

【0015】その結果、前記アウトラインフォントデー
タがキャッシュメモリ9に格納されていた場合は、その
文字のアウトラインフォントデータを取り出して、ビッ
トマップ領域10にビットマップ展開(ビットイメージ
展開)する。
As a result, when the outline font data is stored in the cache memory 9, the outline font data of the character is taken out and is expanded in the bitmap area 10 (bit image expansion).

【0016】しかし、前記データがキャッシュメモリ9
に格納されていない場合は、その文字のアウトラインフ
ォントデータを補助記憶装置4のフォントファイル11
から取り出して、ビットマップ領域10にビットマップ
展開(ビットイメージ展開)する。この時、前記フォン
トファイル11から取り出したアウトラインフォントデ
ータはキャッシュメモリ9に格納しておく。
However, the data is cache memory 9
If it is not stored in the font file 11 of the auxiliary storage device 4, the outline font data of the character is stored.
, And bitmap expansion (bit image expansion) is performed on the bitmap area 10. At this time, the outline font data extracted from the font file 11 is stored in the cache memory 9.

【0017】以上の処理により、アウトラインフォント
ドライバ8は出力要求された文字について、ビットマッ
プ領域10にビットマップ展開する。その後、OS6は
ビットマップ領域10のイメージデータをディスプレイ
に出力して表示したり、或いはプリンタに出力して印刷
したりする。
Through the above processing, the outline font driver 8 develops a bitmap of the output-requested character in the bitmap area 10. After that, the OS 6 outputs the image data of the bitmap area 10 to the display for display, or outputs it to the printer for printing.

【0018】§4:キャッシュメモリへのデータ格納方
法の説明・・・図8参照 図8は従来のキャッシュメモリ内データ説明図である。
前記のようにアウトラインフォントドライバ8はキャッ
シングしながら出力要求された文字の出力処理を行う
が、キャッシュメモリ9へアウトラインフォントデータ
を格納する場合、次のような状態で格納する。
§4: Description of data storage method in cache memory--see FIG. 8 FIG. 8 is an explanatory diagram of data in a conventional cache memory.
As described above, the outline font driver 8 performs the output processing of the character requested to be output while caching, but when storing the outline font data in the cache memory 9, the outline font data is stored in the following state.

【0019】すなわち、アウトラインフォントドライバ
8が補助記憶装置4のフォントファィル11からアウト
ラインフォントデータを読み出してキャッシュメモリ9
へ格納する場合、文字毎に情報が付加され、かつ文字単
位の格納を行う。例えば、図示のように、各文字毎に、
ポインタ、書体名、文字コード、サイズ等の各文字の情
報を付加した状態でキャッシュメモリ9に格納してお
く。
That is, the outline font driver 8 reads out outline font data from the font file 11 of the auxiliary storage device 4 and cache memory 9
When storing in, the information is added for each character, and it is stored in character units. For example, as shown, for each character,
Information on each character such as a pointer, a font name, a character code, and a size is added to the cache memory 9 and stored.

【0020】そのため、キャッシュメモリ9から該当す
る文字を探すためには、書体名を調べて、文字の大きさ
(サイズ)を調べて・・・・といったチェックを格納さ
れている文字全てに実施する必要があった。
Therefore, in order to find the corresponding character from the cache memory 9, the font name is checked, the size (size) of the character is checked, and so on. There was a need.

【0021】更に、使用頻度に応じてキャッシュメモリ
9の更新等を行った場合、キャッシュメモリ9の管理や
キャッシュメモリ9からのアウトラインフォントデータ
の検索が複雑になる。また、キャッシュメモリ9が十分
に確保出来ない場合(領域が狭い場合)、要求されたフ
ォントデータがキャッシュメモリ9内にキャッシュされ
ていないケースが増え、キャッシュメモリ9からフォン
トデータを検索する時間が長くなっていた。
Furthermore, when the cache memory 9 is updated according to the frequency of use, management of the cache memory 9 and retrieval of outline font data from the cache memory 9 become complicated. Further, when the cache memory 9 cannot be sufficiently secured (when the area is small), the number of cases in which the requested font data is not cached in the cache memory 9 increases, and the time for searching the font data from the cache memory 9 is long. Was becoming.

【0022】[0022]

【発明が解決しようとする課題】前記のような従来のも
のにおいては、次のような課題があった。 (1) :例えば、パソコン等のようにメモリが比較的小さ
な環境では、アウトラインフォントドライバのためのキ
ャッシュ領域が十分に確保されないことが少なくない。
このような限られたキャッシュメモリ領域でも十分な表
示速度の効果を得ようとすると、使用頻度の高い文字を
優先して格納する等の複雑なキャッシュメモリの管理機
構が必要であった。
SUMMARY OF THE INVENTION The above-mentioned conventional device has the following problems. (1): For example, in an environment where the memory is relatively small, such as a personal computer, a cache area for the outline font driver is often not sufficiently secured.
In order to obtain a sufficient display speed effect even in such a limited cache memory area, a complicated cache memory management mechanism such as preferentially storing frequently used characters is required.

【0023】(2) :アウトラインフォントドライバで
は、表示速度を向上させるために、前記のような複雑な
キャッシュメモリの管理を行うと、その管理に要する時
間が長くなる。従って、キャッシュメモリ領域が十分で
ない場合、表示速度の向上が得られないこともあった。
(2) If the outline font driver manages the complicated cache memory as described above in order to improve the display speed, the time required for the management becomes long. Therefore, if the cache memory area is insufficient, the display speed may not be improved.

【0024】すなわち、使用頻度の高い文字を優先して
キャッシュメモリに格納する処理を行うと、補助記憶装
置からのアウトラインフォントデータのリード回数が増
えるから、ビット展開速度が遅くなる。その結果、表示
速度も遅くなる。
That is, if the process of storing the frequently used characters in the cache memory with priority is performed, the number of times the outline font data is read from the auxiliary storage device increases, and the bit expansion speed becomes slow. As a result, the display speed also becomes slow.

【0025】(3) :キャッシュメモリにアウトラインフ
ォントデータを格納する場合、漢字、ひらがな、カタカ
ナ、記号等の区別をすることなく、各文字毎に、ポイン
タ、書体名、文字コード、サイズ等の各文字の情報を付
加した状態で格納していた。
(3): When the outline font data is stored in the cache memory, each character such as a pointer, a font name, a character code, a size, etc. is distinguished without distinguishing kanji, hiragana, katakana, symbols, etc. It was stored with the character information added.

【0026】そのため、キャッシュメモリから該当する
文字を探すためには、書体名を調べて、文字の大きさ
(サイズ)を調べて・・・・といったチェックを格納さ
れている文字全てに実施する必要があった。
Therefore, in order to find the corresponding character from the cache memory, it is necessary to check the typeface name, check the character size (size), and so on for all the stored characters. was there.

【0027】更に、使用頻度に応じてキャッシュメモリ
の更新等を行った場合、キャッシュメモリの管理やキャ
ッシュメモリからのアウトラインフォントデータの検索
が複雑になる。また、キャッシュメモリが十分に確保出
来ない場合(領域が狭い場合)、要求されたフォントデ
ータがキャッシュメモリ内にキャッシュされていないケ
ースが増え、キャッシュメモリからフォントデータを検
索する時間が無駄になり逆に性能を劣化させることもあ
った。
Furthermore, when the cache memory is updated according to the frequency of use, management of the cache memory and retrieval of outline font data from the cache memory become complicated. In addition, if the cache memory cannot be secured sufficiently (when the area is small), the number of cases where the requested font data is not cached in the cache memory increases, and the time to search for the font data from the cache memory is wasted and the reverse. There was also a case where the performance was deteriorated.

【0028】本発明は、このような従来の課題を解決
し、ひらがな、カタカナ、英字、数字、記号等の非漢字
データのみをキャッシュメモリに格納し、漢字はキャッ
シュメモリに格納しないようにして、簡素なキャッシュ
メモリの管理で少ないキャッシュメモリ領域でも十分な
表示速度や印刷速度が得られるようにすることを目的と
する。
The present invention solves such a conventional problem by storing only non-kanji data such as hiragana, katakana, letters, numbers and symbols in the cache memory, and not storing kanji in the cache memory. An object of the present invention is to enable a sufficient display speed and printing speed even with a small cache memory area by simple management of the cache memory.

【0029】[0029]

【課題を解決するための手段】図1は本発明の原理説明
図である。本発明は前記の課題を解決するため、文字処
理機能付き情報処理装置を次のように構成した。
FIG. 1 is a diagram illustrating the principle of the present invention. In order to solve the above-mentioned problems, the present invention has an information processing device with a character processing function configured as follows.

【0030】(1) :文字処理機能付き情報処理装置に、
補助記憶装置4、OS6、メモリ7、アウトラインフォ
ントドライバ8、キャッシュメモリ9等を設けた。そし
て、前記メモリ7には、アウトラインフォントドライバ
8が文字のビットマップ展開をするためのビットマップ
領域10を設けた。この場合、補助記憶装置4には、非
漢字、漢字のアウトラインフォントデータを有するフォ
ントファイル11を予め格納しておく。
(1): In an information processing device with a character processing function,
An auxiliary storage device 4, an OS 6, a memory 7, an outline font driver 8, a cache memory 9 and the like are provided. The memory 7 is provided with a bitmap area 10 for the outline font driver 8 to develop a bitmap of characters. In this case, the auxiliary storage device 4 stores in advance a font file 11 having outline font data of non-Kanji and Kanji.

【0031】また、前記文字処理機能付き情報処理装置
を次のように構成した。 (2) :アウトラインフォントデータの処理を行うアウト
ラインフォントドライバ8と、予め、漢字、非漢字文字
のアウトラインフォントデータを含むフォントファイル
を格納した補助記憶装置4と、文字データをキャッシュ
処理するためのキャッシュメモリ9を備え、アウトライ
ンフォントドライバ8により、OS6から出力要求され
た文字のアウトラインフォントデータを前記キャッシュ
メモリ9、或いは補助記憶装置4から取り出してビット
イメージデータへ変換する文字処理機能付き情報処理装
置において、アウトラインフォントドライバ8は、起動
処理において、補助記憶装置4のフォントファイル11
から非漢字のアウトラインフォントデータのみを取り出
して、キャッシュメモリ9に格納する非漢字データ格納
手段を備えている。
The information processing apparatus with the character processing function is constructed as follows. (2): Outline font driver 8 for processing outline font data, auxiliary storage device 4 in which font files containing outline font data of Kanji and non-Kanji characters are stored in advance, and a cache for cache processing of character data In an information processing apparatus having a character processing function, which is provided with a memory 9, the outline font driver 8 extracts the outline font data of a character output from the OS 6 from the cache memory 9 or the auxiliary storage device 4 and converts it into bit image data. The outline font driver 8 uses the font file 11 in the auxiliary storage device 4 in the startup process.
A non-Kanji data storage means for extracting only non-Kanji outline font data from the cache and storing it in the cache memory 9 is provided.

【0032】(3) :前記(2) の文字処理機能付き情報処
理装置において、アウトラインフォントドライバ8は、
前記非漢字データ格納手段がキャッシュメモリ9に格納
した非漢字のアウトラインフォントデータから、キャッ
シュされた非漢字のアウトラインフォントデータを検索
するための非漢字キャッシュ制御情報を作成してキャッ
シュメモリ9に格納するキャッシュ制御情報格納手段を
備えている。
(3): In the information processing apparatus having the character processing function of (2), the outline font driver 8 is
From the non-Kanji outline font data stored in the cache memory 9 by the non-Kanji data storage unit, non-Kanji character cache control information for retrieving cached non-Kanji outline font data is created and stored in the cache memory 9. The cache control information storage means is provided.

【0033】(4) :前記(2) の文字処理機能付き情報処
理装置において、前記非漢字データ格納手段は、キャッ
シュメモリ9に非漢字のアウトラインフォントデータを
格納する際、ひらがな、カタカナ、英字、数字、記号を
含めた非漢字のデータを格納する機能を備えている。
(4): In the information processing apparatus with character processing function according to (2), the non-Kanji data storage means stores hiragana, katakana, English characters, when storing non-Kanji outline font data in the cache memory 9. It has a function to store non-Kanji data including numbers and symbols.

【0034】(5) :前記(3) の文字処理機能付き情報処
理装置において、アウトラインフォントドライバ8は、
文字出力要求に基づき、キャッシュメモリ9の非漢字キ
ャッシュ制御情報を参照して、出力要求された文字がキ
ャッシュメモリ9に有るか否かを判断し、有ればキャッ
シュメモリ9から前記文字のアウトラインフォントデー
タを取り出し、ビットマップ展開してビットマップ領域
10に出力する文字出力制御手段を備えている。
(5): In the information processing apparatus having the character processing function of (3), the outline font driver 8 is
Based on the character output request, the non-Kanji character cache control information of the cache memory 9 is referred to determine whether or not the requested output character exists in the cache memory 9, and if there is, an outline font of the character from the cache memory 9 is determined. It is provided with a character output control means for taking out data, developing a bitmap, and outputting it to the bitmap area 10.

【0035】(6) :前記(3) の文字処理機能付き情報処
理装置において、キャッシュ制御情報格納手段は、前記
非漢字キャッシュ制御情報を作成する際、書体名、キャ
ッシュ範囲、エントリポイントの各キャッシュ制御情報
を含めて作成する機能を備えている。
(6): In the information processing apparatus with the character processing function of (3), the cache control information storage means, when creating the non-Kanji cache control information, caches of a font name, a cache range, and an entry point. It has a function to create including control information.

【0036】[0036]

【作用】前記構成に基づく本発明の作用を、図1に基づ
いて説明する。アウトラインフォントドライバ8は、起
動処理時に補助記憶装置4のフォントファイル11から
非漢字の文字のデータのみを読み出し、キャッシュメモ
リ9に格納する。この場合、アウトラインフォントドラ
イバ8が扱うフォントファイルのひらがな、カタカナ、
英字、数字、記号を含む区画を対象とする非漢字の文字
データとしてキャッシュメモリ9へ格納しておく。
The operation of the present invention based on the above construction will be described with reference to FIG. The outline font driver 8 reads only the data of non-Kanji characters from the font file 11 of the auxiliary storage device 4 and stores it in the cache memory 9 during the startup processing. In this case, the hiragana, katakana, and
Stored in the cache memory 9 as non-Kanji character data for a section including alphabetic characters, numbers, and symbols.

【0037】また、アウトラインフォントドライバ8
は、キャッシュメモリ9に格納した非漢字文字につい
て、書体名、キャッシュ範囲、エントリポイントを含む
非漢字キャッシュ制御情報を作成してキャッシュメモリ
9に格納しておく。
Further, the outline font driver 8
Creates non-Kanji character cache control information including a typeface name, cache range, and entry point for the non-Kanji character stored in the cache memory 9 and stores it in the cache memory 9.

【0038】その後、通常動作時には、OS6からコマ
ンド(書体名、文字コード、その他の情報を含む)によ
りアウトラインフォントドライバ8に対して文字出力要
求が出されると、アウトラインフォントドライバ8は、
キャッシュメモリ9に格納した前記非漢字キャッシュ制
御情報を参照して、書体名、及び文字コードから要求さ
れた文字がキャッシュメモリ9に格納されているか否か
を判断する。
Thereafter, in normal operation, when the OS 6 issues a character output request to the outline font driver 8 by a command (including a font name, character code, and other information), the outline font driver 8
By referring to the non-Kanji character cache control information stored in the cache memory 9, it is determined whether or not the character requested from the typeface name and the character code is stored in the cache memory 9.

【0039】その結果、要求された文字がキャッシュメ
モリ9に有れば(非漢字の場合)、その文字のアウトラ
インフォントデータをキャッシュメモリ9から取り出
し、ビットマップ展開してビットマップ領域10に出力
する。
As a result, if the requested character is in the cache memory 9 (in the case of non-Kanji character), the outline font data of the character is fetched from the cache memory 9, bit map expanded and output to the bit map area 10. .

【0040】しかし、前記要求された文字がキャッシュ
メモリ9になかったら(漢字の場合)、アウトラインフ
ォントドライバ8は、補助記憶装置4のフォントファイ
ル11からアウトラインフォントデータを取り出してビ
ットマップ展開してビットマップ領域10に出力する。
この場合、フォントファイル11から読み出したアウト
ラインフォントデータ(漢字データ)はキャッシュメモ
リ9に格納しない。
However, if the requested character does not exist in the cache memory 9 (in the case of Kanji), the outline font driver 8 extracts the outline font data from the font file 11 in the auxiliary storage device 4, expands it into a bit map, and bit-maps it. Output to the map area 10.
In this case, the outline font data (Kanji data) read from the font file 11 is not stored in the cache memory 9.

【0041】以上のようにしてビットマップ領域10に
ビット展開されたデータ(イメージデータ)は、OS6
が読み出してディスプレイ13、或いはプリンタ14へ
転送し、表示、或いは印刷して出力する。
The data (image data) bit-developed in the bitmap area 10 as described above is the OS6.
Is read out and transferred to the display 13 or the printer 14 for display or printing and output.

【0042】ところで、一般的に、現実の日本語文章を
構成する文字種は、ひらがな、カタカナを合わせた非漢
字文字は、漢字文字と同等かそれ以上である。そこで本
発明では、前記の点に着目して、ひらがな、カタカナを
含めた非漢字文字のみをキャッシュメモリ9に格納して
おくことにより、簡素なキャッシュメモリ管理で、且つ
少ないキャッシュメモリ領域でも十分な文字出力速度の
向上が得られるようにしている。
By the way, in general, the non-kanji characters including hiragana and katakana are the same or more than the kanji characters as the character types that make up the actual Japanese sentence. Therefore, in the present invention, paying attention to the above points, only non-kanji characters including hiragana and katakana are stored in the cache memory 9, so that simple cache memory management and a small cache memory area are sufficient. The character output speed is improved.

【0043】以上の処理により、アウトラインフォント
ドライバ8は、OS6より要求された非漢字文字をキャ
ッシュメモリ9から取り出して高速でビットマップ展開
することができる。従って、非漢字文字分のキャッシュ
メモリ9を用意することにより、フォントデータ等の入
れ替え等のキャッシュ管理機能を備えていなくても、通
常の日本語文章では表示、或いは印刷出力の速度が向上
できる。
Through the above processing, the outline font driver 8 can take out the non-Kanji character requested by the OS 6 from the cache memory 9 and develop the bitmap at high speed. Therefore, by providing the cache memory 9 for non-Kanji characters, it is possible to improve the speed of display or printout of a normal Japanese sentence even if it does not have a cache management function such as replacement of font data.

【0044】[0044]

【実施例】以下、本発明の実施例を図面に基づいて説明
する。図2〜図5は、本発明の実施例を示した図であ
り、図2〜図5中、図6〜図8と同じものは、同一符号
で示してある。また、13はディスプレイ、14はプリ
ンタを示す。
Embodiments of the present invention will be described below with reference to the drawings. 2 to 5 are views showing an embodiment of the present invention. In FIGS. 2 to 5, the same parts as those in FIGS. 6 to 8 are designated by the same reference numerals. Further, 13 is a display and 14 is a printer.

【0045】§1:情報処理装置の説明・・・図2参照 図2は実施例の装置構成図である。本実施例はパソコ
ン、ワードプロセッサ、ワークステーション等の文字処
理機能付き情報処理装置の実施例である。図示のよう
に、情報処理装置は、装置本体2、入力装置3、補助記
憶装置4、ディスプレイ13、プリンタ14等で構成さ
れている。
§1: Description of information processing device--see FIG. 2 FIG. 2 is a device configuration diagram of an embodiment. The present embodiment is an embodiment of an information processing apparatus with a character processing function such as a personal computer, a word processor, a workstation and the like. As shown in the figure, the information processing device is composed of a device body 2, an input device 3, an auxiliary storage device 4, a display 13, a printer 14, and the like.

【0046】そして、前記装置本体2には、OS6、メ
モリ7、キャッシュメモリ9、アウトラインフォントド
ライバ8等が設けてあり、前記メモリ7の一部にビット
マップ領域10が設けてある。また、前記補助記憶装置
4は、例えば、ハードディスク装置で構成され、その記
憶媒体(ディスク)にはフォントファイル11が格納さ
れている。
The apparatus main body 2 is provided with an OS 6, a memory 7, a cache memory 9, an outline font driver 8 and the like, and a bit map area 10 is provided in a part of the memory 7. The auxiliary storage device 4 is composed of, for example, a hard disk device, and a font file 11 is stored in the storage medium (disk) thereof.

【0047】前記キャッシュメモリ9は、アウトライン
フォントドライバ8がキャッシュ動作を行うためにアク
セスするメモリ(またはメモリ領域)であり、非漢字の
アウトラインフォントデータ、及び非漢字キャッシュ制
御情報(後述する)を格納するものである。
The cache memory 9 is a memory (or memory area) that the outline font driver 8 accesses to perform a cache operation, and stores non-Kanji outline font data and non-Kanji cache control information (described later). To do.

【0048】前記ビットマップ領域10は、メモリ7の
一部に設けた領域であり、アウトラインフォントドライ
バ8が、アウトラインフォントデータを基に出力文字を
ビットマップ展開するための領域である。
The bitmap area 10 is an area provided in a part of the memory 7 and is an area for the outline font driver 8 to develop an output character into a bitmap based on the outline font data.

【0049】前記補助記憶装置4に格納したフォントフ
ァイル11は、アウトラインフォントデータや、その他
のフォントデータが格納されたファイルである。このフ
ォントファイル11のアウトラインフォントデータはア
ウトラインフォントドライバ8が読み出して、文字の出
力処理等に使用する。
The font file 11 stored in the auxiliary storage device 4 is a file in which outline font data and other font data are stored. The outline font data of the font file 11 is read by the outline font driver 8 and used for character output processing and the like.

【0050】前記アウトラインフォントドライバ8は、
OS6からのコマンドにより要求された文字の出力処理
等を行うものである。この文字の出力処理では、OS6
からコマンドで要求された文字のアウトラインフォント
データをキャッシュメモリ9、又は補助記憶装置4のフ
ォントファイル11から検索し、検索したアウトライン
フォントデータを基に、ビットマップ領域10にビット
マップ展開(ビットイメージ展開)する。
The outline font driver 8 is
The output processing of the character requested by the command from the OS 6 and the like are performed. In this character output process, OS6
The outline font data of the character requested by the command from the cache memory 9 or the font file 11 of the auxiliary storage device 4 is searched, and the bitmap expansion (bit image expansion) is performed in the bitmap area 10 based on the searched outline font data. ) Do.

【0051】OS6は、入力装置3から指示された出力
文字について、コマンドによりアウトラインフォントド
ライバ8へ出力要求を出したり、或いは、アウトライン
フォントドライバ8がビットマップ領域10にビットマ
ップ展開したイメージデータをディスプレイ13、或い
はプリンタ14へ転送し、出力要求を出すものである。
The OS 6 issues an output request to the outline font driver 8 for the output character instructed from the input device 3 or displays the image data which the outline font driver 8 has developed in the bitmap area 10 as a bitmap. 13 or to the printer 14 to issue an output request.

【0052】ティスプレイ13はOS6から転送された
文字データを基に、文字を画面に表示して出力するもの
である。また、プリンタ14はOS6から転送された文
字データを基に、文字を紙に印刷して出力するものであ
る。
The display 13 is for displaying and outputting characters on the screen based on the character data transferred from the OS 6. The printer 14 prints characters on paper based on the character data transferred from the OS 6 and outputs them.

【0053】§2:動作の概要説明・・・図2参照 前記補助記憶装置4のフォントファイル11には、予め
漢字、非漢字を含むアウトラインフォントデータ等が格
納されているものとする。
§2: Outline of operation ... See FIG. 2. It is assumed that the font file 11 of the auxiliary storage device 4 stores outline font data including kanji and non-kanji in advance.

【0054】そして、アウトラインフォントドライバ8
は、起動処理時に補助記憶装置4のフォントファイル1
1から非漢字の文字のデータを読み出し、キャッシュメ
モリ9に格納する。この場合、アウトラインフォントド
ライバ8が扱うフォントファイル11のひらがな、カタ
カナ、英字、数字、記号等を含む区画を対象とする非漢
字の文字データとしてキャッシュメモリ9へ格納してお
く。
Then, the outline font driver 8
Is the font file 1 in the auxiliary storage device 4 during the startup process.
Data of non-Kanji characters is read from 1 and stored in the cache memory 9. In this case, the font file 11 handled by the outline font driver 8 is stored in the cache memory 9 as non-Kanji character data for a section including hiragana, katakana, letters, numbers, symbols and the like.

【0055】また、この時、アウトラインフォントドラ
イバ8は、前記キャッシュメモリ9に格納した文字につ
いて、書体名、キャッシュ範囲、エントリポイント等の
非漢字キャッシュ制御情報を作成してキャッシュメモリ
9に格納しておく。なお、前記非漢字キャッシュ制御情
報は、アウトラインフォントドライバ8が、キャッシュ
メモリ9に格納して文字を検索する際に使用する情報で
ある。
At this time, the outline font driver 8 also creates non-Kanji character cache control information such as a font name, cache range, and entry point for the characters stored in the cache memory 9 and stores it in the cache memory 9. deep. The non-Kanji character cache control information is information used by the outline font driver 8 when it is stored in the cache memory 9 and searched for a character.

【0056】その後、通常動作時には、OS6からコマ
ンド(書体名、文字コード、その他の情報を含む)によ
りアウトラインフォントドライバ8に対して文字出力要
求が出されると、アウトラインフォントドライバ8は、
キャッシュメモリ9に格納した非漢字キャッシュ制御情
報を参照して、書体名、及び文字コードから要求された
文字がキャッシュメモリ9に格納されているか否かを判
断する。
Thereafter, in normal operation, when the OS 6 issues a character output request to the outline font driver 8 by a command (including a font name, character code, and other information), the outline font driver 8
By referring to the non-Kanji character cache control information stored in the cache memory 9, it is determined whether or not the character requested from the typeface name and the character code is stored in the cache memory 9.

【0057】その結果、要求された文字がキャッシュメ
モリ9に有れば(非漢字の場合)、その文字のアウトラ
インフォントデータをキャッシュメモリ9から取り出
し、ビットマップ展開してビットマップ領域10に出力
する。
As a result, if the requested character is in the cache memory 9 (in the case of non-Kanji character), the outline font data of the character is fetched from the cache memory 9, bit map expanded and output to the bit map area 10. .

【0058】しかし、前記要求された文字がキャッシュ
メモリ9になかったら(漢字の場合)、アウトラインフ
ォントドライバ8は、補助記憶装置4のフォントファイ
ル11からアウトラインフォントデータを取り出してビ
ットマップ展開してビットマップ領域10に出力する。
この場合、フォントファイル11から読み出したアウト
ラインフォントデータ(漢字データ)はキャッシュメモ
リ9に格納しない。
However, if the requested character does not exist in the cache memory 9 (in the case of Kanji), the outline font driver 8 extracts the outline font data from the font file 11 in the auxiliary storage device 4, expands the bitmap, and outputs the bitmap. Output to the map area 10.
In this case, the outline font data (Kanji data) read from the font file 11 is not stored in the cache memory 9.

【0059】以上のようにしてビットマップ領域10に
ビットマップ展開されたデータ(イメージデータ)は、
OS6が読み出してディスプレイ13、或いはプリンタ
14へ転送し、表示、或いは印刷して出力する。
The data (image data) expanded into the bitmap in the bitmap area 10 as described above is
The OS 6 reads out and transfers it to the display 13 or the printer 14 for display or printing and output.

【0060】ところで、一般的に、現実の日本語文章を
構成する文字種は、ひらがな、カタカナを合わせた非漢
字文字は、漢字文字と同等かそれ以上である。そこで本
実施例では、前記の点に着目して、ひらがな、カタカナ
を合わせた非漢字文字のみをキャッシュメモリ9に格納
しておくことにより、簡素なキャッシュメモリ管理で、
且つ少ないキャッシュメモリ領域でも十分な文字出力速
度の向上が得られるようにしている。
By the way, in general, the non-kanji characters including hiragana and katakana are the same or more than the kanji characters as the character types forming the actual Japanese sentence. Therefore, in the present embodiment, paying attention to the above points, only non-kanji characters including hiragana and katakana are stored in the cache memory 9, so that simple cache memory management can be performed.
In addition, the character output speed is sufficiently improved even with a small cache memory area.

【0061】なお、非漢字には、ひらがな、カタカナだ
けでなく、英字、数字、記号も含めているが、英字、数
字、記号は、文字種が少ないのでこのようにした。この
ようにすれば、キャッシュメモリ9の領域が少なくても
格納可能であり、前記の非漢字データをキャッシュメモ
リ9に格納することで、文字出力速度の向上が達成でき
る。
The non-Kanji characters include not only hiragana and katakana but also letters, numbers and symbols. However, the alphabets, numbers and symbols have few character types, so this is done. In this way, even if the area of the cache memory 9 is small, it can be stored, and by storing the non-Kanji data in the cache memory 9, the character output speed can be improved.

【0062】以上の処理により、アウトラインフォント
ドライバ8は、OS6より要求された非漢字文字をキャ
ッシュメモリ9から取り出して高速でビットマップ展開
することができる。従って、非漢字文字分のキャッシュ
メモリ9を用意することにより、フォントデータ等の入
れ替え等のキャッシュ管理機能を備えていなくても、通
常の日本語文章では表示、或いは印刷出力の速度が向上
できる。
Through the above processing, the outline font driver 8 can extract the non-Kanji characters requested by the OS 6 from the cache memory 9 and develop the bitmap at high speed. Therefore, by providing the cache memory 9 for non-Kanji characters, it is possible to improve the speed of display or printout of a normal Japanese sentence even if it does not have a cache management function such as replacement of font data.

【0063】§3:キャッシュメモリ内データの説明・
・・図3参照 図3はキャッシュメモリ内データ説明図である。前記の
ように、アウトラインフォントドライバ8は起動処理に
おいて、補助記憶装置4から非漢字のアウトラインフォ
ントデータ(実データ)を読み出してキャッシュメモリ
9に格納すると共に、非漢字キャッシュ制御情報を作成
してキャッシュメモリ9に格納しておく。
§3: Explanation of data in cache memory
.. Refer to FIG. 3. FIG. 3 is an explanatory diagram of data in the cache memory. As described above, the outline font driver 8 reads the non-Kanji outline font data (actual data) from the auxiliary storage device 4 and stores it in the cache memory 9 in the startup process, and at the same time creates the non-Kanji character cache control information and caches it. It is stored in the memory 9.

【0064】この場合、キャッシュメモリ9に格納する
非漢字アウトラインフォントデータ(実フォントデー
タ)、及び非漢字キャッシュ制御情報は、例えば、図示
のようなものである。この例では、前記アウトラインフ
ォントデータ(実データ)は、各書体別に、異なった領
域(エントリポイントが異なる)にデータが格納されて
いる。
In this case, the non-Kanji outline font data (actual font data) and the non-Kanji cache control information stored in the cache memory 9 are as shown in the figure, for example. In this example, the outline font data (actual data) is stored in different areas (different entry points) for each typeface.

【0065】また、非漢字キャッシュ制御情報は書体
名、キャッシュ範囲、エントリポイント等で構成されて
いる。前記書体名は明朝体、ゴシック体、毛筆体、江戸
文字等である。前記キャッシュ範囲は、文字コード表の
区の範囲であり、例えば、明朝体であれば、1,2,
3,4,5区のデータがキャッシュメモリ9に格納され
ていることを示している。
The non-Kanji character cache control information is composed of a typeface name, a cache range, an entry point and the like. The typeface names are Mincho typeface, Gothic typeface, cursive typeface, Edo character, and the like. The cache range is a range of the character code table. For example, in the case of Mincho type, 1, 2,
It shows that the data of the wards 3, 4, and 5 are stored in the cache memory 9.

【0066】前記エントリポイントは、キャッシュメモ
リ9に格納された前記アウトラインフォントデータ(実
データ)のエントリポイント(キャッシュメモリ9上の
アドレス)を示している。
The entry point indicates the entry point (address on the cache memory 9) of the outline font data (actual data) stored in the cache memory 9.

【0067】前記のように、日本語文章を構成する文字
種は、一般的にひらがな、カタカナが半数程度の場合が
多いことに着目して、キャッシュメモリ9に格納する文
字を非漢字(漢字以外のひらがな、カタカナ、英字、数
字、記号等を含む)のみに固定している。
As described above, paying attention to the fact that the character types that compose Japanese sentences are generally about half of hiragana and katakana, so the characters stored in the cache memory 9 are non-kanji (other than kanji). (Including hiragana, katakana, letters, numbers, symbols, etc.).

【0068】そして、キャッシュメモリ9の管理や、キ
ャッシュメモリ9からのアウトラインフォントデータの
検索を簡素化し、キャッシュされていない文字を検索す
る無駄をなくすようにしている。また、キャッシュメモ
リ9には、アウトラインフォントドライバ8の起動処理
において、非漢字キャッシュ制御情報と、実アウトライ
ンフォントデータを格納する。
The management of the cache memory 9 and the retrieval of the outline font data from the cache memory 9 are simplified to eliminate the waste of retrieval of uncached characters. The cache memory 9 also stores non-Kanji character cache control information and actual outline font data in the startup process of the outline font driver 8.

【0069】この場合、非漢字キャッシュ制御情報に
は、キャッシュされている書体別に、キャッシュされて
いるコード範囲(キャッシュ範囲)、実アウトラインフ
ォントデータのキャッシュメモリ9上のアドレス(エン
トリポイント)が格納されている。
In this case, the non-Kanji character cache control information stores the cached code range (cache range) and the address (entry point) of the actual outline font data in the cache memory 9 for each cached typeface. ing.

【0070】通常動作時には、OS6からアウトライン
フォントドライバ8に対して、コマンドにより文字の出
力要求が出されると、アウトラインフォントドライバ8
は、前記コマンドの書体名をキーにして非漢字キャッシ
ュ制御情報の書体名を検索する。
In normal operation, when a character output request is issued from the OS 6 to the outline font driver 8 by a command, the outline font driver 8
Retrieves the typeface name of the non-Kanji cache control information using the typeface name of the command as a key.

【0071】そして、一致する書体名がある場合、前記
コマンドの文字コードがキャッシュ範囲にあるかどうか
をチェックする。文字コードがキャッシュ範囲内にある
場合、エントリポイントを参照してキャッシュメモリ9
から目的のアウトラインフォントデータを読み出す。
If there is a matching typeface name, it is checked whether the character code of the command is within the cache range. If the character code is within the cache range, the entry point is referenced to refer to the cache memory 9
Read the desired outline font data from.

【0072】§4:装置起動時の処理説明・・・図4参
照 図4は起動処理フローチャートである。以下、図4に基
づいて装置の起動処理を説明する。なお、S1〜S6は
各処理ステップを示す。
§4: Description of Processing at Device Startup--See FIG. 4 FIG. 4 is a flowchart of the startup processing. Hereinafter, the device activation process will be described with reference to FIG. Note that S1 to S6 indicate processing steps.

【0073】この処理はOS6の起動時にアウトライン
フォントドライバ8が行う起動処理である。先ず、OS
6の起動処理が行われると(S1)、アウトラインフォ
ントドライバ8に対する起動処理が指示され、アウトラ
インフォントドライバ8が起動処理を行う(S2)。
This process is a starting process performed by the outline font driver 8 when the OS 6 is started. First, the OS
When the startup process of 6 is performed (S1), the startup process for the outline font driver 8 is instructed, and the outline font driver 8 performs the startup process (S2).

【0074】前記アウトラインフォントドライバ8の起
動処理では、アウトラインフォントドライバ8は、補助
記憶装置4のフォントファイル11から非漢字文字のア
ウトラインフォントデータを読み出し、キャッシュメモ
リ9に格納する(S3)。この場合、アウトラインフォ
ントドライバ8が扱うフォントファイル11のひらが
な、カタカナ、英字、数字、記号等を含む区画を対象と
してキャッシュメモリ9へ格納する。
In the activation process of the outline font driver 8, the outline font driver 8 reads out outline font data of non-Kanji characters from the font file 11 of the auxiliary storage device 4 and stores it in the cache memory 9 (S3). In this case, the section including the hiragana, katakana, letters, numbers, symbols, etc. of the font file 11 handled by the outline font driver 8 is stored in the cache memory 9 as a target.

【0075】この時、アウトラインフォントドライバ8
は、前記キャッシュメモリ9に格納した非漢字文字のア
ウトラインフォントデータを基に、前記非漢字キャッシ
ュ制御情報を作成してキャッシュメモリ9に格納する。
At this time, the outline font driver 8
Generates the non-Kanji character cache control information based on the outline font data of the non-Kanji character stored in the cache memory 9 and stores it in the cache memory 9.

【0076】前記非漢字キャッシュ制御情報は、OS6
からの文字出力要求時にキャッシュメモリ9に格納した
文字を検索するための制御情報である。例えば、パソコ
ン、ワードプロセッサ等のアプリケーションが文字を画
面、プリンタ等に出力する場合、OS6を介すか、また
は直接アウトラインフォントドライバ8に対して文字の
出力要求を出す。
The non-Kanji character cache control information is OS6.
Control information for retrieving a character stored in the cache memory 9 when a character output request from the. For example, when an application such as a personal computer or a word processor outputs a character to a screen, a printer or the like, a character output request is issued to the outline font driver 8 via the OS 6 or directly.

【0077】文字の出力要求を受けたアウトラインフォ
ントドライバ8は、要求された文字の書体名、文字コー
ド、その他の情報を基に、アウトラインフォントのラス
タライズ(ビットマップ展開)を行う。
The outline font driver 8 that has received the character output request rasterizes the outline font (bitmap expansion) based on the requested font face name, character code, and other information.

【0078】この場合、アウトラインフォントドライバ
8は、キャッシュメモリ9内の非漢字キャッシュ制御情
報を参照し、書体名、及び文字コードから、前記出力要
求された文字がキャッシュメモリ9に有るか否かを判断
する。その結果、キャッシュメモリ9にあれば、キャッ
シュメモリ9へのエントリポイントを得て、前記文字の
アウトラインフォントデータを取り出すことができる。
In this case, the outline font driver 8 refers to the non-Kanji cache control information in the cache memory 9 and determines whether the output requested character exists in the cache memory 9 from the typeface name and the character code. to decide. As a result, if it is in the cache memory 9, it is possible to obtain the entry point to the cache memory 9 and take out the outline font data of the character.

【0079】前記S3の処理が終了するとアウトライン
フォントドライバ8の起動処理を終了する(S4)。そ
の後、他の部分の起動処理を行い(S5)、OS6の起
動処理を終了する(S6)。
When the process of S3 is completed, the starting process of the outline font driver 8 is completed (S4). After that, the activation process of other parts is performed (S5), and the activation process of the OS6 is finished (S6).

【0080】§5:文字データ出力処理の説明・・・図
5参照 図5は文字データ出力処理フローチャートである。以
下、図5に基づいて文字データ出力処理を説明する。な
お、S11〜S17は各処理ステップを示す。
§5: Description of Character Data Output Processing--See FIG. 5 FIG. 5 is a character data output processing flowchart. Hereinafter, the character data output process will be described with reference to FIG. Note that S11 to S17 indicate processing steps.

【0081】先ず、OS6からのコマンドでアウトライ
ンフォントドライバ8に対し、文字の出力要求が出され
ると(S11)、アウトラインフォントドライバ8は、
キャッシュメモリ9に格納されている非漢字キャッシュ
制御情報を参照して、前記コマンドで要求された文字の
書体名が、キャッシュメモリ9に格納された(キャッシ
ュされた)文字の書体名に該当するか否かをチェックす
る(S12)。
First, when a character output request is issued to the outline font driver 8 by a command from the OS 6 (S11), the outline font driver 8
Referring to the non-Kanji character cache control information stored in the cache memory 9, whether the typeface name of the character requested by the command corresponds to the typeface name of the character stored (cached) in the cache memory 9 It is checked whether or not (S12).

【0082】その結果、前記書体名がキャッシュメモリ
9に格納されていない場合(漢字の場合)は、補助記憶
装置4のフォントファイル11からアウトラインフォン
トデータを取り出し、メモリ7にロードする(S1
6)。この場合、アウトラインフォントドライバ8は、
メモリ7の任意の領域をワーク用として一時的に使用し
ている。
As a result, when the typeface name is not stored in the cache memory 9 (in the case of Kanji), the outline font data is extracted from the font file 11 in the auxiliary storage device 4 and loaded into the memory 7 (S1).
6). In this case, the outline font driver 8
An arbitrary area of the memory 7 is temporarily used for work.

【0083】また、前記書体がキャッシュメモリ9に格
納されていた場合は、非漢字キャッシュ制御情報を参照
することにより、キャッシュメモリ9に格納された文字
コードか否かを判断する(S13)。
If the typeface is stored in the cache memory 9, it is determined whether the character code is stored in the cache memory 9 by referring to the non-Kanji character cache control information (S13).

【0084】その結果、キャッシュされた文字コードで
なければ前記S16の処理を行う。しかし、前記文字コ
ードがキャッシュメモリ9に有る場合は、格納位置を表
すキャッシュメモリ9へのエントリポイントを得る(S
14)。
As a result, if it is not the cached character code, the process of S16 is performed. However, when the character code exists in the cache memory 9, the entry point to the cache memory 9 indicating the storage position is obtained (S
14).

【0085】次に、アウトラインフォントドライバ8
は、キャッシュメモリ9のアウトラインフォントデータ
を取り出してメモリ7にロードする(S15)。この場
合も、アウトラインフォントドライバ8は、メモリ7の
任意の領域をワーク用として一時的に使用している。
Next, the outline font driver 8
Extracts the outline font data from the cache memory 9 and loads it into the memory 7 (S15). Also in this case, the outline font driver 8 temporarily uses an arbitrary area of the memory 7 for work.

【0086】前記S16、或いはS15の処理が終了す
ると、アウトラインフォントドライバ8は、メモリ7に
ロードしておいたアウトラインフォントデータを基に、
ビットマップ領域10に出力文字のビットマップ展開を
行い(ラスタライズ)、出力文字のイメージデータを作
成する(S17)。
When the processing of S16 or S15 is completed, the outline font driver 8 determines, based on the outline font data loaded in the memory 7,
Bitmap expansion of the output character is performed in the bitmap area 10 (rasterization), and image data of the output character is created (S17).

【0087】その後、OS6はビットマップ領域10の
データを取り出してディスプレイ13、或いはプリンタ
14へ転送し、表示指示、或いは印刷指示を出す。OS
6からの前記指示によりディスプレイ13では転送され
たデータを基に画面電力供給装置文字の表示を行う。ま
た、プリンタ14は転送されたデータを基に、文字の印
刷を行う。
After that, the OS 6 takes out the data in the bitmap area 10 and transfers it to the display 13 or the printer 14 to issue a display instruction or a print instruction. OS
According to the instruction from 6, the display 13 displays the characters of the screen power supply device based on the transferred data. The printer 14 also prints characters based on the transferred data.

【0088】(他の実施例)以上実施例について説明し
たが、本発明は次のようにしても実施可能である。 (1) :キャッシュメモリは、独立したメモリを使用して
も良いが、任意のメモリの一部の領域を使用しても良
い。
(Other Embodiments) The embodiments have been described above, but the present invention can also be implemented as follows. (1): As the cache memory, an independent memory may be used, or a partial area of any memory may be used.

【0089】(2) :ビットマップ領域は、任意のメモリ
の一部の領域を使用しても良いが、独立したメモリを使
用しても良い。 (3) :補助記憶装置はハードディスク装置に限らず、他
の任意の記憶装置(例えば、磁気テープ装置、光ディス
ク装置等)を使用しても良い。
(2): The bit map area may use a part of an arbitrary memory, or may use an independent memory. (3): The auxiliary storage device is not limited to the hard disk device, and any other storage device (eg, magnetic tape device, optical disk device, etc.) may be used.

【0090】[0090]

【発明の効果】以上説明したように、本発明によれば次
のような効果がある。 (1) :一般的に、現実の日本語文章を構成する文字種
は、ひらがな、カタカナを合わせた非漢字文字が、漢字
文字と同等かそれ以上である。本発明では前記の点に着
目して、ひらがな、カタカナ、英字、数字、記号を合わ
せた非漢字文字のみをキャッシュメモリ9に格納してお
く。従って、簡素なキャッシュメモリ管理で、且つ少な
いキャッシュメモリ領域でも十分な文字出力速度の向上
が得られる。
As described above, the present invention has the following effects. (1): In general, as for the character types that compose actual Japanese sentences, non-kanji characters including hiragana and katakana are equal to or more than kanji characters. In the present invention, paying attention to the above points, only non-Kanji characters including hiragana, katakana, letters, numbers and symbols are stored in the cache memory 9. Therefore, a simple cache memory management and a sufficient improvement in the character output speed can be obtained even with a small cache memory area.

【0091】(2) :アウトラインフォントドライバの起
動処理において、補助記憶装置のフォントファイルか
ら、ひらがな、カタカナ、英字、数字、記号等の非漢字
データのみをキャッシュメモリに格納しておく。また、
この時、非漢字キャッシュ制御情報を作成してキャッシ
ュメモリに格納しておく。
(2): In the startup process of the outline font driver, only non-kanji data such as hiragana, katakana, letters, numbers, and symbols from the font file in the auxiliary storage device is stored in the cache memory. Also,
At this time, the non-Kanji cache control information is created and stored in the cache memory.

【0092】このため、アウトラインフォントドライバ
は、文字出力要求が出されると、直ちにキャッシュメモ
リの非漢字キャッシュ制御情報を参照して、出力要求さ
れた文字がキャッシュメモリにあるか否かを判断し、非
漢字であれば、直ちにキャッシュメモリから要求された
文字を取り出して出力することができる。その結果、ア
ウトラインフォントドライバのキャッシュ管理が簡単に
なり、文字の出力速度が向上する。
Therefore, when a character output request is issued, the outline font driver immediately refers to the non-Kanji character cache control information in the cache memory to determine whether or not the requested character is in the cache memory, If it is a non-Kanji character, the requested character can be immediately fetched from the cache memory and output. As a result, the cache management of the outline font driver is simplified, and the character output speed is improved.

【0093】(3) :アウトラインフォントドライバは、
非漢字キャッシュ制御情報を参照して出力文字の書体
名、文字コードの判別により簡単にキャッシュされた文
字か否かを判別し、キャッシュメモリにキャッシュされ
た非漢字であれば、直ちにエントリポイントを獲得して
キャッシュメモリからアウトラインフォントデータを取
り出すことができる。
(3): The outline font driver is
By referring to the non-Kanji cache control information, it is possible to determine whether or not the characters are cached easily by determining the typeface name and character code of the output characters, and if the non-Kanji characters are cached in the cache memory, the entry point is immediately acquired. Then, outline font data can be retrieved from the cache memory.

【0094】従って、簡易な書体名、文字コード判別の
みで非漢字文字をビットマップ展開し、表示、或いは印
刷して文字を出力することができる。その結果、表示速
度の向上、及び印刷速度の向上が実現できる。
Therefore, the non-Kanji character can be bitmap-developed and displayed or printed to output the character only by the simple typeface name and character code discrimination. As a result, it is possible to improve the display speed and the printing speed.

【0095】(4) :キャッシュメモリは非漢字の文字数
分のデータが格納できる領域を確保すれば良いので、メ
モリが有効利用できると共に、少ないキャッシュメモリ
領域でも十分な表示速度、印刷速度が得られる。
(4): Since the cache memory only needs to secure an area capable of storing data for the number of non-Kanji characters, the memory can be effectively used, and sufficient display speed and printing speed can be obtained even with a small cache memory area. .

【0096】前記効果の外、各請求項に対応して次のよ
うな効果がある。 (5) :請求項1では、アウトラインフォントドライバ
は、起動処理において補助記憶装置のフォントファイル
から非漢字のアウトラインフォントデータのみを取り出
して、キャッシュメモリに格納する非漢字データ格納手
段を備えている。
In addition to the above effects, the following effects are obtained corresponding to each claim. (5): In claim 1, the outline font driver is provided with a non-kanji character data storage means for extracting only non-kanji outline font data from the font file of the auxiliary storage device in the start-up process and storing it in the cache memory.

【0097】従って、キャッシュメモリの領域が少なく
ても、効率の良いキャッシュ動作ができる。その結果、
要求された文字の出力が速くなり、十分な表示速度、印
刷速度が得られる。
Therefore, even if the area of the cache memory is small, efficient cache operation can be performed. as a result,
The requested characters are output faster, and sufficient display speed and printing speed can be obtained.

【0098】(6) :請求項2では、アウトラインフォン
トドライバは、非漢字データ格納手段がキャッシュメモ
リに格納した非漢字のアウトラインフォントデータか
ら、キャッシュされた非漢字のアウトラインフォントデ
ータを検索するための非漢字キャッシュ制御情報を作成
してキャッシュメモリに格納するキャッシュ制御情報格
納手段を備えている。
(6): In claim 2, the outline font driver searches the cached non-kanji outline font data from the non-kanji outline font data stored in the cache memory by the non-kanji data storage means. The cache control information storage means for creating the non-Kanji character cache control information and storing it in the cache memory is provided.

【0099】従って、アウトラインフォントドライバ
は、文字出力要求が出されると、直ちにキャッシュメモ
リの非漢字キャッシュ制御情報を参照して非漢字文字デ
ータをキャッシュメモリから取り出すことができる。こ
のため、アウトラインフォントドライバのキャッシュ管
理が簡単になり、文字の出力速度が向上する。
Therefore, when a character output request is issued, the outline font driver can immediately retrieve the non-Kanji character data from the cache memory by referring to the non-Kanji character cache control information in the cache memory. Therefore, the cache management of the outline font driver is simplified, and the character output speed is improved.

【0100】(7) :請求項3では、非漢字データ格納手
段は、キャッシュメモリに非漢字のアウトラインフォン
トデータを格納する際、ひらがな、カタカナ、英字、数
字、記号を含めた非漢字のデータを格納する機能を備え
ている。
(7): In claim 3, the non-Kanji data storage means stores non-Kanji data including Hiragana, Katakana, letters, numbers and symbols when storing non-Kanji outline font data in the cache memory. It has the function of storing.

【0101】従って、漢字文字以外の文字をキャッシュ
メモリに格納するので、漢字以外の文字は全てキャッシ
ュメモリから高速で取り出すことができる。従って、効
率の良いキャッシュ管理ができる。
Therefore, since the characters other than the Kanji characters are stored in the cache memory, all the characters other than the Kanji characters can be retrieved from the cache memory at high speed. Therefore, efficient cache management can be performed.

【0102】(8) :請求項4では、アウトラインフォン
トドライバは、文字出力要求に基づき、キャッシュメモ
リの非漢字キャッシュ制御情報を参照して、出力要求さ
れた文字がキャッシュメモリに有るか否かを判断し、有
ればキャッシュメモリから前記文字のアウトラインフォ
ントデータを取り出し、ビットマップ展開して出力する
文字出力制御手段を備えている。
(8): In claim 4, the outline font driver refers to the non-Kanji character cache control information of the cache memory on the basis of the character output request and determines whether or not the requested character exists in the cache memory. It is provided with a character output control means for judging, if there is, the outline font data of the character from the cache memory, expanding the bitmap, and outputting.

【0103】従って、文字の出力要求に対し、キャッシ
ュメモリの非漢字キャッシュ制御情報を参照すること
で、出力要求された文字がキャッシュメモリにあるか否
かを簡単、かつ高速で判断することができる。このため
キャッシュ管理も簡単になり、文字出力の高速化が実現
できる。
Therefore, by referring to the non-Kanji character cache control information of the cache memory for the character output request, it is possible to easily and quickly determine whether or not the requested character is in the cache memory. . Therefore, cache management is also simplified, and character output can be speeded up.

【0104】(9) :請求項5では、キャッシュ制御情報
格納手段は、前記非漢字キャッシュ制御情報を作成する
際、書体名、キャッシュ範囲、エントリポイントの各キ
ャッシュ制御情報を含めて作成する機能を備えている。
(9): In claim 5, the cache control information storage means has a function of creating the non-Kanji character cache control information including the respective cache control information of the typeface name, cache range and entry point. I have it.

【0105】従って、アウトラインフォントドライバは
出力要求された文字がキャッシュメモリにあるか否かを
簡単に判別することができる。また、キャッシュメモリ
にある非漢字文字は、エントリポイントを獲得して高速
で出力することができる。
Therefore, the outline font driver can easily determine whether or not the output-requested character is in the cache memory. In addition, non-Kanji characters in the cache memory can acquire entry points and be output at high speed.

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

【図1】本発明の原理説明図である。FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】実施例の装置構成図である。FIG. 2 is a device configuration diagram of an embodiment.

【図3】実施例におけるキャッシュメモリ内データ説明
図である。
FIG. 3 is an explanatory diagram of data in a cache memory in the embodiment.

【図4】実施例における起動処理フローチャートであ
る。
FIG. 4 is a flowchart of a startup process in the embodiment.

【図5】実施例における文字データ出力処理フローチャ
ートである。
FIG. 5 is a flowchart of character data output processing in the embodiment.

【図6】従来の装置構成図である。FIG. 6 is a configuration diagram of a conventional device.

【図7】従来の文字コード説明図である。FIG. 7 is an explanatory diagram of a conventional character code.

【図8】従来のキャッシュメモリ内データ説明図であ
る。
FIG. 8 is an explanatory diagram of data in a conventional cache memory.

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

4 補助記憶装置 6 OS(オペレーティングシステム) 7 メモリ 8 アウトラインフォントドライバ 9 キャッシュメモリ 10 ビットマップ領域 11 フォントファイル 4 auxiliary storage 6 OS (operating system) 7 memory 8 outline font driver 9 cache memory 10 bitmap area 11 font file

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 // G06F 3/12 9288−5L G06F 15/20 562N ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI technical display location // G06F 3/12 9288-5L G06F 15/20 562N

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 アウトラインフォントデータの処理を行
うアウトラインフォントドライバと、 予め、漢字、非漢字文字のアウトラインフォントデータ
を含むフォントファイルを格納した補助記憶装置と、 文字データをキャッシュ処理するためのキャッシュメモ
リを備え、 前記アウトラインフォントドライバにより、出力要求さ
れた文字のアウトラインフォントデータを前記キャッシ
ュメモリ、或いは補助記憶装置から取り出してビットイ
メージデータへ変換する文字処理機能付き情報処理装置
において、 前記アウトラインフォントドライバは、起動処理におい
て、補助記憶装置のフォントファイルから非漢字のアウ
トラインフォントデータのみを取り出して、キャッシュ
メモリに格納する非漢字データ格納手段を備えているこ
とを特徴とした文字処理機能付き情報処理装置。
1. An outline font driver for processing outline font data, an auxiliary storage device in which a font file containing outline font data of kanji and non-kanji characters is stored in advance, and a cache memory for cache processing of character data. In the information processing apparatus with a character processing function for extracting outline font data of a character output requested by the outline font driver from the cache memory or the auxiliary storage device, and converting the outline font data into bit image data, the outline font driver is In the start-up process, a non-Kanji data storage means is provided for extracting only non-Kanji outline font data from the font file in the auxiliary storage device and storing it in the cache memory. Character processing function with the information processing apparatus.
【請求項2】 前記アウトラインフォントドライバは、
前記非漢字データ格納手段がキャッシュメモリに格納し
た非漢字のアウトラインフォントデータから、キャッシ
ュされた非漢字のアウトラインフォントデータを検索す
るための非漢字キャッシュ制御情報を作成してキャッシ
ュメモリに格納するキャッシュ制御情報格納手段を備え
ていることを特徴とした請求項1記載の文字処理機能付
き情報処理装置。
2. The outline font driver comprises:
A cache control that creates non-Kanji cache control information for searching cached non-Kanji outline font data from the non-Kanji outline font data stored in the cache memory by the non-Kanji data storage unit and stores the cache data in the cache memory. The information processing apparatus with a character processing function according to claim 1, further comprising information storage means.
【請求項3】 前記非漢字データ格納手段は、キャッシ
ュメモリに非漢字のアウトラインフォントデータを格納
する際、ひらがな、カタカナ、英字、数字、記号を含め
た非漢字のデータを格納する機能を備えていることを特
徴とした請求項1記載の文字処理機能付き情報処理装
置。
3. The non-Kanji data storage means has a function of storing non-Kanji data including hiragana, katakana, letters, numbers and symbols when storing non-Kanji outline font data in a cache memory. The information processing apparatus with a character processing function according to claim 1, wherein
【請求項4】 前記アウトラインフォントドライバは、
文字出力要求に基づき、キャッシュメモリの非漢字キャ
ッシュ制御情報を参照して、出力要求された文字がキャ
ッシュメモリに有るか否かを判断し、有ればキャッシュ
メモリから前記文字のアウトラインフォントデータを取
り出し、ビットマップ展開して出力する文字出力制御手
段を備えていることを特徴とした請求項2記載の文字処
理機能付き情報処理装置。
4. The outline font driver comprises:
Based on the character output request, the non-Kanji cache control information in the cache memory is referenced to determine whether the requested output character exists in the cache memory, and if there is, the outline font data of the character is retrieved from the cache memory. 3. The information processing apparatus with a character processing function according to claim 2, further comprising a character output control means for expanding and outputting a bit map.
【請求項5】 キャッシュ制御情報格納手段は、前記非
漢字キャッシュ制御情報を作成する際、書体名、キャッ
シュ範囲、エントリポイントの各キャッシュ制御情報を
含めて作成する機能を備えていることを特徴とした請求
項2記載の文字処理機能付き情報処理装置。
5. The cache control information storage means has a function of creating the non-Kanji character cache control information by including each cache control information of a font name, a cache range, and an entry point. The information processing apparatus with a character processing function according to claim 2.
JP7026587A 1995-02-15 1995-02-15 Information processor with character processing function Withdrawn JPH08221050A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7026587A JPH08221050A (en) 1995-02-15 1995-02-15 Information processor with character processing function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7026587A JPH08221050A (en) 1995-02-15 1995-02-15 Information processor with character processing function

Publications (1)

Publication Number Publication Date
JPH08221050A true JPH08221050A (en) 1996-08-30

Family

ID=12197686

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7026587A Withdrawn JPH08221050A (en) 1995-02-15 1995-02-15 Information processor with character processing function

Country Status (1)

Country Link
JP (1) JPH08221050A (en)

Similar Documents

Publication Publication Date Title
US7692656B2 (en) Automatic synthesis of font tables for character layout
US6533822B2 (en) Creating summaries along with indicators, and automatically positioned tabs
US6714199B1 (en) Method and apparatus for typographic glyph construction including a glyph server
JPH11224258A (en) Device and method for image retrieval and computer-readable memory
JPH08221050A (en) Information processor with character processing function
JP2974322B2 (en) Character processing apparatus and method
JP3450869B2 (en) Bit image data generation device and bit image data generation method
JP2900383B2 (en) Character information processing device
JP2900384B2 (en) Character information processing device
JPH09166974A (en) Document processing device and cache functioning method
JP3285995B2 (en) Typeface data management method and device
JP3470378B2 (en) Character information output device and method
JPH11272256A (en) Character display control device and its control method
JPH06274145A (en) Character processor
JPH0619905A (en) Character output device
JPH0916355A (en) Information processor and storage medium for storing font down load managing program
JP3423113B2 (en) Cache control device and character output device
JPH02241267A (en) Picture information processor
JPH06186953A (en) Character processor
JPH0778133A (en) Document preparing device and method for outputting character pattern
JPH05108297A (en) Character processing method
JPH05323950A (en) Character output device
JPH06166235A (en) Character editing device
JPH08129371A (en) Font cache managing device and method therefor
JPH1044533A (en) Font cache

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: 20020507