JPH04194898A - Character data control system for character output device - Google Patents

Character data control system for character output device

Info

Publication number
JPH04194898A
JPH04194898A JP2318949A JP31894990A JPH04194898A JP H04194898 A JPH04194898 A JP H04194898A JP 2318949 A JP2318949 A JP 2318949A JP 31894990 A JP31894990 A JP 31894990A JP H04194898 A JPH04194898 A JP H04194898A
Authority
JP
Japan
Prior art keywords
character
data
output
font
dot
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2318949A
Other languages
Japanese (ja)
Inventor
Senzaburou Nakamura
泉三郎 中村
Masanori Kosukegawa
小助川 真範
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.)
Toshiba TEC Corp
Original Assignee
Tokyo Electric Co 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 Tokyo Electric Co Ltd filed Critical Tokyo Electric Co Ltd
Priority to JP2318949A priority Critical patent/JPH04194898A/en
Publication of JPH04194898A publication Critical patent/JPH04194898A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve utilization efficiency of fontcash so as to obtain a high speed output by deleting an unnecessary character at process waiting time while continuously using a region for temporarily storing a character data by an outputting data form. CONSTITUTION:In the case of outputting a character, a font control part 14 checks whether a dot form data of that character is stored or not in a font cache 21 by using a cash controlling table 28 and a character control table region 23. The data, when it is stored, is transferred to a frame memory part 12. In the case of the data not stored, the control part 14 searches the concerned data from inside a font data region 18 by a proper name of that character further controls a dot character generation part 19 and creates a dot form data. A size of each segment of the cache 21 is undefined, and the next to the last segment is set to an empty region. Deletion of the dot form character is executed when the control part 14 judges the empty region small at process waiting time.

Description

【発明の詳細な説明】 [産業上の利用分野コ 本発明は、高品位な文字をラスク形印刷装置やラスク形
表示装置に出力する場合に使用される文字出力装置の文
字データ管理方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a character data management system for a character output device used when outputting high-quality characters to a rask-type printing device or a rask-type display device.

[従来の技術] 従来、この種文字出力装置の文字データ管理方式は特開
平1−115647号公報に記載されているものか知ら
れている。これは第8図に示すようにドツト文字を記憶
するフォントキャッシュ1を一定の大きさの領域1a、
lb、lc、1.d。
[Prior Art] Conventionally, a character data management system for this type of character output device is known as described in Japanese Patent Laid-Open No. 1-115647. As shown in FIG.
lb, lc, 1. d.

・・・に分割し、同一の字種のドツト文字は同一の領域
に格納してキャッシュ制御テーブル2及び管理領域3に
あるフォント管理テーブル3a、3b。
. . , dot characters of the same type are stored in the same area, and the font management tables 3a and 3b in the cache control table 2 and management area 3.

3c、・・・によって字種毎に管理を行い、フォントキ
ャッシュ1のドツト文字を削除する場合は各領域を単位
として削除するようになっていた。
3c, . . . to manage each character type, and when deleting dot characters in font cache 1, each area was deleted as a unit.

[発明が解決しようとする課題] ところでこの種の文字出力装置においては高速に文字を
出力するためにはフォントキャッシュ中に出来る限り多
数のドツト形式の文字を格納しておく必要がある。しか
しフォントキャッシュとして使用される高速の記憶装置
は高価であり、使用できる容量には限界がある。このた
めフォントキャッシュの容量をできるたけ高い効率で使
用して出来る限り多数のドツト形式の文字を格納するこ
とが要求される。
[Problems to be Solved by the Invention] In this type of character output device, in order to output characters at high speed, it is necessary to store as many dot-type characters as possible in the font cache. However, high-speed storage devices used as font caches are expensive and have a limited usable capacity. Therefore, it is required to use the capacity of the font cache as efficiently as possible to store as many dot-type characters as possible.

しかしながら上述した従来の文字データ管理方式では、
フォントキャッシュを一定の大きさの領域に分割し、異
なる字種のドツト形式文字は異なる分割領域に格納して
いるため、各分割領域毎に使用されている領域と使用さ
れていない空き領域か存在することになりフォントキャ
ッシュ全体の利用効率か低い問題かあった。
However, in the conventional character data management method mentioned above,
The font cache is divided into areas of a certain size, and dot-format characters of different character types are stored in different divided areas, so it is possible to determine whether each divided area is used or unused free space. There was a problem with the overall font cache usage efficiency.

そこで本発明は、文字データを出力用のデータ形式で一
時的に記憶する記憶手段の領域を連続して使用すること
により利用効率を向上することができ、その結果高品位
文字のより高速出力か可能となる文字出力装置の文字デ
ータ管理方式を提供しようとするものである。
Therefore, the present invention makes it possible to improve utilization efficiency by continuously using the area of a storage means for temporarily storing character data in an output data format, and as a result, high-quality characters can be output faster. This paper aims to provide a character data management method for character output devices that enables the use of character output devices.

また本発明は、文字データを作成処理しない処理待ち時
間において不要な文字消去を行うことにより処理中にお
いて文字消去を行う時間が短くなり、この点においても
より高速出力か可能となる文字出力装置の文字データ管
理方式を提供しようとするものである。
Furthermore, the present invention provides a character output device that erases unnecessary characters during the processing waiting time when character data is not created, thereby reducing the time required to erase characters during processing. It attempts to provide a character data management method.

[課題を解決するための手段と作用] 請求項(1)対応の発明は、文字の幾何学的データを保
持する保持手段と、文字の幾何学的データを出力用のデ
ータ形式に変換する変換手段と、文字データを出力用の
データ形式で一時的に記憶する記憶手段と、文字データ
を出力用のデータ形式で出力する出力手段を設けた文字
出力装置において、文字出力のときには保持手段に保持
されている文字の幾何学的データに基づいて変換手段に
より出力用のデータ形式に変換した文字データを得、そ
の文字データを出力手段により出力すると共にその文字
データを記憶手段に対して文字種別に関係なく連続した
領域に記憶させ、同一の文字を再度出力させる場合には
記憶手段からその文字の文字データを読出して出力手段
に出力し、記憶手段から文字データを消去するときには
選択した文字種別に対応した文字データをすべて消去す
ることにある。
[Means and operations for solving the problem] The invention corresponding to claim (1) is a holding means for holding geometric data of characters, and a conversion for converting geometric data of characters into a data format for output. In a character output device including a storage means for temporarily storing character data in an output data format, and an output means for outputting character data in an output data format, the character data is retained in the retention means when outputting characters. Obtain character data converted into a data format for output by a conversion means based on the geometric data of the character being displayed, output the character data by the output means, and convert the character data to a storage means into a character type. If the same character is to be output again by storing it in a continuous area regardless of the character, the character data of that character is read from the storage means and outputted to the output means, and when the character data is deleted from the storage means, the character data of the selected character is The purpose is to erase all the corresponding character data.

請求項(2)対応の発明は、請求項(1)記載の文字デ
ータ管理方式において、文字データ消去によって発生し
た記憶手段の空き領域に、文字出力によって発生した出
力用データ形式の新たな文字データを記憶させる二と1
こある。
The invention corresponding to claim (2) is, in the character data management method described in claim (1), new character data in the output data format generated by character output is stored in the free space of the storage means generated by character data deletion. 2 and 1 to remember
There it is.

請求項(3)対応の発明は、文字の幾何学的データを保
持する保持手段と、文字の幾何学的データを出力用のデ
ータ形式に変換する変換手段と、文字データを出力用の
データ形式で一時的に記憶する記憶手段と、文字データ
を出力用のデータ形式て出力する出力手段を設けた文字
出力装置において、文字出力のときには保持手段に保持
されている文字の幾何学的データに基づいて変換手段に
より出力用のデータ形式に変換した文字データを得、そ
の文字データを出力手段により出力すると共にその文字
データを記憶手段に対して文字種別に関係なく連続した
領域に記憶させ、同一の文字を再度出力させる場合には
記憶手段からその文字の文字データを読出して出力手段
に出力し、記憶手段から文字データを消去するときには
選択した文字種別に対応した文字データをすべて消去す
るとともにその消去によって発生した空き領域を詰めて
それまでの空き領域を増加させることにある。
The invention corresponding to claim (3) is a holding means for holding geometric data of characters, a conversion means for converting geometric data of characters into a data format for output, and a data format for outputting character data. In a character output device equipped with a storage means for temporarily storing character data and an output means for outputting character data in an output data format, when outputting characters, the character data is output based on the geometric data of the character held in the storage means. obtain character data converted into a data format for output by the conversion means, output the character data by the output means, and store the character data in a continuous area in the storage means regardless of the character type. When outputting a character again, the character data of that character is read from the storage means and outputted to the output means, and when character data is deleted from the storage means, all character data corresponding to the selected character type is deleted and deleted. The goal is to fill up the free space created by this process and increase the free space that was available up to that point.

請求項(4)対応の発明は、請求項(1)、(2)又は
(3)記載の文字データ管理方式において、さらに記憶
手段に記憶されている文字データの文字種別に対して最
後に使用された時から現在までの時間の長短によって各
文字種別の間に順序関係を定義し、記憶手段から文字デ
ータを消去するときにはこの順序関係に基づいて最も長
期間使用されていない文字種別に対応した文字データか
ら消去することにある。
The invention corresponding to claim (4) is, in the character data management method described in claim (1), (2) or (3), furthermore, the invention corresponds to An order relationship is defined between each character type based on the length of time from when it was first used to the present, and when character data is deleted from the storage means, the character type that has not been used for the longest time is selected based on this order relationship. The purpose is to erase from character data.

請求項(5)対応の発明は、請求項(1) 、 (2)
 、 (3)又は(4)記載の文字データ管理方式にお
いて、記憶手段の空き領域の大きさか予め設定した大き
さ以下になると文字データを作成処理しない処理待ち時
間において記憶手段からの文字データの消去を行うこと
にある。
The invention corresponding to claim (5) is claimed (1) and (2).
In the character data management method described in (3) or (4), character data is deleted from the storage means during the processing waiting time during which character data is not created when the free space of the storage means becomes smaller than a preset size. The goal is to do the following.

請求項(6)対応の発明は、請求項(1)、(2)、(
3)。
The invention corresponding to claim (6) includes claims (1), (2), (
3).

(4)又は(5)記載の文字データ管理方式において、
記憶手段に変換手段か文字の幾何学的データを出力用の
データ形式に変換するときに使用する領域を確保し、変
換手段はこの領域を使用して文字の幾何学的データに基
づいて出力用データ形式の文字データを作成することに
ある。
In the character data management method described in (4) or (5),
The conversion means secures an area in the storage means to be used when converting the geometric data of the character into a data format for output, and the conversion means uses this area to convert the geometric data of the character into the data format for output. The purpose is to create character data in data format.

[実施例] 以下、本発明の一実施例を図面を参照して説明する。な
お、本実施例は本発明をプリンタの文字出力装置に適用
したものについて述べる。
[Example] Hereinafter, an example of the present invention will be described with reference to the drawings. In this embodiment, the present invention is applied to a character output device of a printer.

第1図において11はプリンタ全体を制御する中央処理
装置、12は印刷出力する1頁分のビットマツプデータ
を保持するフレーム記憶部、13はこのフレーム記憶部
12に記憶されたデータに基づいて印刷動作を行う印刷
制御部、14は文字出力に関係する制御を行うフォント
制御部、15はホストコンピュータと通信制御を行う通
信制御部である。
In FIG. 1, 11 is a central processing unit that controls the entire printer, 12 is a frame storage unit that holds bitmap data for one page to be printed, and 13 is a printout based on the data stored in this frame storage unit 12. 14 is a font control section that performs control related to character output; and 15 is a communication control section that performs communication control with the host computer.

前記中央処理装置11、フレーム記憶部12、フォント
制御部14及び通信制御部15−はパスライン16を介
して電気的に接続されている。
The central processing unit 11, frame storage section 12, font control section 14, and communication control section 15- are electrically connected via a path line 16.

17はフォント登録テーブルで、このテーブル17には
プリンタが使用するフォントのすべてが登録されている
。18はプリンタか内蔵しているフォントデータを格納
したフォントデータ領域で、このフォントデータ領域1
8のフォントデータはストロークフォントやアウトライ
ンフォントの形式となっている。19は前記フォントデ
ータ領域18のフォントデータの内容に基づいてドツト
形式文字を作成するドツト文字発生部である。20はこ
のドツト文字発生部19がドツト形式文字を作成する場
合に使用するワーキンクメモ11である。
Reference numeral 17 denotes a font registration table, in which all fonts used by the printer are registered. 18 is a font data area that stores font data built into the printer, and this font data area 1
The font data No. 8 is in the form of a stroke font or an outline font. Reference numeral 19 denotes a dot character generation section that creates dot-format characters based on the contents of the font data in the font data area 18. Reference numeral 20 denotes a working memo 11 used by this dot character generating section 19 when creating dot format characters.

前記フォント登録テーブル17、ドツト文字発生部]9
は前記フォント制御部14によって制御されるようにな
っている。
The font registration table 17, dot character generation section] 9
is controlled by the font control section 14.

21はドツト形式文字を格納するための記憶手段として
のフォントキャッシュである。22はセグメントリンク
領域、23は文字管理テーブル領域である。
Reference numeral 21 denotes a font cache as a storage means for storing dot format characters. 22 is a segment link area, and 23 is a character management table area.

前記フォントキャッシュ21、セグメントリンク領域2
2、文字管理テーブル領域23はキャッシュメモリ内に
動的に割り付けられ、各時点においてそれぞれ必要な大
きさの領域を占有するようになっている。これらは前記
フォント制御部14によって制御されるようになってい
る。
The font cache 21, segment link area 2
2. The character management table area 23 is dynamically allocated in the cache memory so that it occupies a necessary size area at each point in time. These are controlled by the font control section 14.

前記セグメントリンク領域22には必要に応してセグメ
ントリンク構造体22a、22b122C1・・・か形
成されるようになっている。
Segment link structures 22a, 22b, 122C1, . . . are formed in the segment link area 22 as necessary.

これらセグメントリンク構造体22a、22b。These segment link structures 22a, 22b.

22C2・・・は第2図に示すように、4つのポインタ
pz  pb+  p、、  pdを保持し、ポインタ
p、はフォントキャッシュ21中の対応するセグメント
の先頭へのポインタであり、ポインタp。
22C2... holds four pointers pz pb+ p, , pd, as shown in FIG. 2, where pointer p is a pointer to the beginning of the corresponding segment in the font cache 21;

は直前のセグメントのセグメントリンク構造体へのポイ
ンタであり、ポインタpoは直後のセグメントのセグメ
ントリンク構造体へのポインタであり、ポインタp、は
同し文字管理テーブルに属する後方のセグメントリンク
構造体へのポインタである。
is a pointer to the segment link structure of the immediately previous segment, pointer po is a pointer to the segment link structure of the immediately following segment, and pointer p is a pointer to the segment link structure of the next segment that belongs to the same character management table. is a pointer.

前記文字管理テーブル領域23には必要に応して文字管
理テーブル23a、23b、・か形成されるようになっ
ている。二の各文字管理テーブルは後述するキャッシュ
管理テーブル中のドツトフォント種別のそれぞれに対応
して存在する。
In the character management table area 23, character management tables 23a, 23b, etc. are formed as necessary. The second character management table exists corresponding to each dot font type in the cache management table, which will be described later.

これら文字管理テーブル23a、23b、  ・は第3
図に示すように、対応するドツトフォント種別の属性情
報及び管理情報を保持する部分23□と文字コードの順
番でセグメントリンク構造体へのポインタ及びオフセッ
トを格納する部分23□とて構成されている。文字コー
ドに対応するドツト形式データが前記フォントキャッシ
ュ21に格納されていない場合にはセグメントリンク構
造体へのポインタは特殊値rnilJにしておく。管理
情報の中にはその文字管理テーブルに対応する、最初の
セグメントリンク構造体へのポインタp0、最後のセグ
メントリンク構造体へのポインタp3、最初の再使用セ
グメントのセグメントリンク構造体へのポインタqが格
納されている。X l +  X2 。
These character management tables 23a, 23b, are the third
As shown in the figure, it is composed of a part 23□ that holds attribute information and management information of the corresponding dot font type, and a part 23□ that stores pointers and offsets to segment link structures in the order of character codes. . If the dot format data corresponding to the character code is not stored in the font cache 21, the pointer to the segment link structure is set to a special value rnilJ. The management information includes a pointer p0 to the first segment link structure, a pointer p3 to the last segment link structure, and a pointer q to the segment link structure of the first reused segment, which correspond to the character management table. is stored. X l + X2.

X3は対応するセグメントリンク構造体へのポインタを
示している。
X3 indicates a pointer to the corresponding segment link structure.

24は空きセグメントポインタ、25は再使用セグメン
トポインタ、26は空き領域ポインタ、27は最終セグ
メントポインタである。
24 is a free segment pointer, 25 is a reused segment pointer, 26 is a free area pointer, and 27 is a final segment pointer.

28はキャッシュ管理テーブル、2つは最古フォントポ
インタ、30は現在フォントポインタである。
28 is a cache management table, 2 are oldest font pointers, and 30 are current font pointers.

前記キャッシュ管理テーブル28及び各ポインタ24〜
27.29.30は前記フォント制御部14によって制
御されるようになっている。
The cache management table 28 and each pointer 24~
27, 29, and 30 are controlled by the font control section 14.

前記キャッシュ管理テーブル28は第4図に示すように
、前記フォントキャッシュ21に格納されているドツト
形式文字か属しているドツトフォント種別の1つ1つに
対して1項目を備え、該当文字管理テーブルへのポイン
タtと、前任フォントへのポインタVと、後任フォント
へのポインタUと、ドツトフォント種別を表わす値を格
納している。なお、あるドツトフォント種別に対してそ
のドツトフォント種別の文字か最後に使用された時点の
直後に使用された文字のドツトフォント種別を後任フォ
ントと定義し、またあるドツトフォント種別に対してそ
のドツトフォント種別の文字か最後に使用された時点の
直前に使用された文字のドツトフォント種別を前任フォ
ントと定義する。
As shown in FIG. 4, the cache management table 28 has one item for each dot font type to which the dot format characters stored in the font cache 21 belong, and the corresponding character management table A pointer t to the previous font, a pointer V to the predecessor font, a pointer U to the successor font, and a value representing the dot font type are stored. Note that for a certain dot font type, the dot font type of the character used immediately after the last use of that dot font type is defined as the successor font, and for a certain dot font type, the dot font type of the character used immediately after the last time it was used is defined as the successor font. The dot font type of the character of the font type or the character used immediately before the last time it was used is defined as the predecessor font.

この前任フォントポインタと後任フォントポインタによ
りLRU (リースト・リースントリイ・ニースト)の
双方向リンクを実現できる。
By using this predecessor font pointer and successor font pointer, an LRU (least-reason-nearest) bidirectional link can be realized.

ホストコンピュータからの指示によって印刷を行う場合
は、前記通信制御部15がホストコンピュータから一連
の指示を受信する。これにより前記中央処理装置11は
、その指示に従って前記フレーム記憶部12に印刷すべ
き図形等のビットマツプデータを記憶させるか、文字を
出力する指示があると、出力すべき文字のフォントの固
有名称、大きさ、斜体角度、回転角度及び縦横比を決定
して前記フォント制御部14にその文字のドツト形式デ
ータを要求する。
When printing is performed based on instructions from the host computer, the communication control section 15 receives a series of instructions from the host computer. As a result, the central processing unit 11 causes the frame storage unit 12 to store bitmap data such as figures to be printed in accordance with the instruction, or, if there is an instruction to output a character, the unique name of the font of the character to be output. , the size, italic angle, rotation angle, and aspect ratio are determined, and the dot format data of the character is requested from the font control section 14.

これにより前記フォント制御部14は、前記キャッシュ
管理テーブル28と文字管理テーブル領域23の文字管
理テーブル23a、23b、・・・を用いてその文字の
ドツト形式データが前記フォントキャッシュ21に格納
されているか否かを調べる。そして格納されていれば前
記キャッシュ管理テーブル28、文字管理テーブル23
a、23b。
As a result, the font control unit 14 uses the cache management table 28 and the character management tables 23a, 23b, . Find out whether or not. If stored, the cache management table 28 and character management table 23
a, 23b.

・・・、セグメントリンク構造体22a、22b。..., segment link structures 22a, 22b.

22C1・・・を用いてそのドツト形式文字のフォント
キャッシュ21中の番地を得、前記フレーム記憶部ユ2
にその番地を用いて該当するドツト形式文字を転送する
22C1... is used to obtain the address of the dot-format character in the font cache 21, and the frame storage unit 2
The corresponding dot-format character is transferred using that address.

また該当する文字のドツト形式データかフォントキャッ
シュ21に格納されていない場合には、前記フォント制
御部14はその文字のフォントの固有名称によって前記
フォントデータ領域18の中から該当するフォントデー
タを検索し、さらに前記ドツト文字発生部19を制御し
文字の大きさ、斜体角度、回転角度及び縦横比を参照し
てその文字のドツト形式データを作成する。そしてその
ドツト形式データを前記フォントキャッシュ21に格納
すると共に前記フレーム記憶部12へ転送する。
Further, if the dot format data of the corresponding character is not stored in the font cache 21, the font control unit 14 searches the font data area 18 for the corresponding font data using the unique name of the font of the character. , further controls the dot character generation section 19 to create dot format data for the character by referring to the character size, italic angle, rotation angle, and aspect ratio. Then, the dot format data is stored in the font cache 21 and transferred to the frame storage section 12.

前記フレーム記憶部12への印刷すべき全ての文字の転
送力1冬了すると、中央処理装置1ユは前記印刷制御部
13に指示してフレーム記憶部12のデータを印刷出力
させる。
When all the characters to be printed have been transferred to the frame storage section 12, the central processing unit 1 instructs the print control section 13 to print out the data in the frame storage section 12.

前記フォントデータ領域18に格納されているフォント
データのストロークフォントやアウトラインフォントは
最初から前記フォント登録テーブル17に登録されてい
る。
The stroke font and outline font of the font data stored in the font data area 18 are registered in the font registration table 17 from the beginning.

前記ドツト文字発生部19は、前記フォント制御部14
の制御の下でアウトラインフォントやストロークフォン
ト形式のフォントデータからドツト形式文字を作成する
The dot character generation section 19 is connected to the font control section 14.
Create dot format characters from font data in outline font or stroke font format under the control of .

前記フォントキャッシュ21は、作成されたドツト形式
文字を保持する。このフォントキャッシュ21に文字を
格納するときにはドツトデータに併せて文字の幅や高さ
などの情報も格納する。
The font cache 21 holds created dot-format characters. When a character is stored in this font cache 21, information such as the width and height of the character is also stored in addition to the dot data.

前記フォントキャッシュ21の内部は論理的に複数のセ
グメントに分けられているか、各セグメントの大きさは
不定である。そして最後のセグメントの次はデータが格
納されていない空き領域になっている。
The inside of the font cache 21 is logically divided into a plurality of segments, or the size of each segment is undefined. After the last segment is an empty area where no data is stored.

前記各セグメントには同一種類のドツトフォント種別の
ドツト形式文字が格納されている。なお、ドツトフォン
ト種別とはドツト形式文字を分類するために用いられ、
アウトラインフォント又はストロークフォント形式の1
つのフォントデータから、大きさ、斜体角度、回転角度
及び縦横比がすべて同じである条件で作成したドツト形
式文字は同じドツトフォント種別に属する。
Each segment stores dot-format characters of the same type of dot font. Note that dot font type is used to classify dot format characters.
1 in outline font or stroke font format
Dot-format characters created from two font data with the same size, italic angle, rotation angle, and aspect ratio belong to the same dot font type.

前記フォントキャッシュ21に格納されているドツト形
式文字は各ドツトフォント種別毎に管理されるようにな
っている。
The dot format characters stored in the font cache 21 are managed for each dot font type.

例えば第5図の場合は、前記フォントキャッシュ21に
第1〜第6・・最終セグメントか形成され、その最終セ
グメントの次は空き領域となっている。
For example, in the case of FIG. 5, first to sixth, . . . , final segments are formed in the font cache 21, and the area following the final segment is an empty area.

そして第1、第3、第5セグメントか同し文字管理テー
ブルに属しているので、セグメントリンク構造体22a
と22bと220かポインタp6てリンクし、かつセグ
メントリンク構造体22Bのポインタpaにより第1セ
グメントの先頭が指示される。また第2、第4セグメン
トが別の同し文字管理テーブルに属しているので、セグ
メントリンク構造体22dと22eかポインタpdでリ
ン・りし、かつセグメントリンク構造体22dのポイン
タpaにより第2セグメントの先頭か指示される。また
セグメントリンク構造体22fにより第6セグメントの
先頭か指示される。さらにセグメントリンク構造体22
 gにより最終セグメントの先頭か指示される。
Since the first, third, and fifth segments belong to the same character management table, the segment link structure 22a
22b and 220 are linked by pointer p6, and the beginning of the first segment is indicated by pointer pa of segment link structure 22B. Also, since the second and fourth segments belong to different same character management tables, the segment link structures 22d and 22e are linked using the pointer pd, and the second segment is linked using the pointer pa of the segment link structure 22d. The beginning of the text is indicated. Further, the beginning of the sixth segment is specified by the segment link structure 22f. Furthermore, the segment link structure 22
g indicates the beginning of the final segment.

また空き領域ポインタ26により空き領域の先頭か指示
され、最終セグメントポインタ27により最終セグメン
トに対応したセグメントリンク構造体22gか指示され
る。
Further, the free area pointer 26 indicates the beginning of the free area, and the final segment pointer 27 indicates the segment link structure 22g corresponding to the final segment.

ここであるドツトフォント種別のある文字を出力する場
合を考えると、フォント制御部14はあるドツトフォン
ト種別がキャッシュ管理テーブル28の中に存在するか
否かをチエツクする。
If we consider the case where a certain character of a certain dot font type is to be output, the font control unit 14 checks whether a certain dot font type exists in the cache management table 28.

存在しない場合はある文字のドツト形式データはフォン
トキャッシュ2]に格納されていないと判断する。
If it does not exist, it is determined that the dot format data of a certain character is not stored in the font cache 2].

またあるドツトフォント種別かキャッシュ管理テーブル
28の中に存在した場合は、ポインタtにより該当文字
管理テーブルを参照し、ある文字の文字コードを用いて
、ある文字のドツト形式データか格納されているセグメ
ントのセグメントリンク構造体へのポインタを調べる。
If a certain dot font type exists in the cache management table 28, the corresponding character management table is referred to using the pointer t, and the character code of the certain character is used to select the dot format data of the certain character or the segment in which it is stored. Examine the pointer to the segment link structure.

ポインタか特殊値rn i l Jならばある文字のド
ツト形式データはフォントキャッシュ21に格納されて
いないと判断する。またポインタが特殊値rnilJて
なければある文字のドツト形式データはフォントキャッ
シュ21に格納されていると判断しそのポインタにより
セグメントリンク構造体を参照する。
If it is a pointer or the special value rn i l J, it is determined that the dot format data of a certain character is not stored in the font cache 21. If the pointer does not have the special value rnilJ, it is determined that the dot format data of a certain character is stored in the font cache 21, and the segment link structure is referenced using the pointer.

そして参照したセグメントリンク構造体のポインタp、
の値と、該当文字管理テーブルの該当オフセット値を加
算しである文字のドツト形式データが格納されている番
地を得る。
and the referenced segment link structure pointer p,
, and the corresponding offset value of the corresponding character management table to obtain the address where the dot format data of the specified character is stored.

これにより中央処理装置1]は該当番地のドツト形式デ
ータをフレーム記憶部12に転送する。
As a result, the central processing unit 1 transfers the dot format data at the corresponding address to the frame storage section 12.

出力すべき文字のドツト形式データかフォントキャッシ
ュ21に格納されていない場合には、フォント制御部]
4はドツト文字発生部]9を使用して新たにドツト形式
文字を作成し、フォントキャッシュ2]に格納する。二
の格納の手順はある文字と同しドツトフォント種別のド
ツト形式文字かすでにフォントキャッシュ21に格納さ
れているか否かにより異なる。
If the dot format data of the character to be output is not stored in the font cache 21, the font control unit]
4 is a dot character generation unit] 9 is used to create a new dot format character and stored in the font cache 2]. The second storing procedure differs depending on whether or not a dot-format character of the same dot font type as a certain character has already been stored in the font cache 21.

先ず、すでに同じドツトフォント種別のドツト形式文字
がすてにフォントキャッシュ21に格納されている場合
について述べると、この場合はそのドツトフォント種別
かすでにキャッシュ管理テーブル28の中に存在するの
でそこから該当文字管理テーブルを参照できる。そして
該当する文字管理テーブル中のある文字の文字コードに
対応するセグメントリンク構造体へのポインタは特殊値
rnilJになっている。そこで新しいドツト形式文字
を格納すべきセグメントを決定する。該当文字管理テー
ブルの最後の該当セグメントリンク構造体へのポインタ
p1と最終セグメントポインタ27を比較する。同じて
あれば最終セグメントは同じドツトフォント種別の文字
を格納しているので、新しいセグメントを作らすに最終
セグメントに続く空き領域に新しいドツト形式文字を格
納し、使用した領域までを最終セグメントの拡張とする
。そして該当文字管理テーブルに対応する最終セグメン
トと、フォントキャッシュ21中の最終セグメントか異
なる場合は、該当文字管理テーブルのドツトフォント種
別のために新しいセグメントを設ける。
First, let's talk about a case where a dot-format character of the same dot font type is already stored in the font cache 21. In this case, that dot font type already exists in the cache management table 28, so the corresponding character is You can refer to the character management table. The pointer to the segment link structure corresponding to the character code of a certain character in the corresponding character management table has a special value rnilJ. Then, the segment in which the new dot-format character is to be stored is determined. The pointer p1 to the last applicable segment link structure in the applicable character management table is compared with the final segment pointer 27. If they are the same, the final segment stores characters of the same dot font type, so when creating a new segment, store the new dot format characters in the free space following the final segment, and extend the final segment to the used area. shall be. If the final segment corresponding to the relevant character management table is different from the final segment in the font cache 21, a new segment is provided for the dot font type of the relevant character management table.

すなわち新しいセグメントリンク構造体を用意して空き
領域ポインタ26の内容をポインタp。
That is, a new segment link structure is prepared and the contents of the free area pointer 26 are transferred to pointer p.

に書き込み、ポインタp、には今までの最終セグメント
のセグメントリンク構造体を指示させ、ポインタpcと
ポインタp、には特殊値「n1lJを代入する。
, the pointer p points to the segment link structure of the final segment up to now, and the special value ``n1lJ'' is assigned to the pointer pc and pointer p.

続いて該当文字管理テーブルのポインタp1の示すセグ
メントリンク構造体のポインタp、に新しいセグメント
リンク構造体の番地を代入し、ポインタp1にもその番
地を代入する。また最終セグメントポインタ27にもそ
の番地を代入する。
Subsequently, the address of the new segment link structure is assigned to the pointer p of the segment link structure indicated by the pointer p1 of the corresponding character management table, and the address is also assigned to the pointer p1. The address is also assigned to the final segment pointer 27.

こうしてそれまでの空き領域の先頭が新しいセグメント
の先頭となる。この新しいセグメントにドツト形式文字
を作成して格納することになる。
In this way, the beginning of the previously free area becomes the beginning of the new segment. A dot-like character will be created and stored in this new segment.

また該当文字管理テーブルの該当文字の文字コードに対
応する部分には対応するセグメントリンク構造体へのポ
インタと、セグメントの先頭からその文字のデータの位
置までオフセットを書き込む。
In addition, a pointer to the corresponding segment link structure and an offset from the beginning of the segment to the data position of the character are written in the part of the character management table corresponding to the character code of the character.

次に格納すべきドツト形式文字と同じドットフォント種
別の文字かフォントキャッシュ21に格納されていない
場合について述べる。
Next, a case will be described in which a character of the same dot font type as a dot-format character to be stored is not stored in the font cache 21.

この場合は、該当するドツトフォント種別はキャッシュ
管理テーブル28の中には存在していない。従ってキャ
ッシュ管理テーブル28に該当するドツトフォント種別
の項目を用意する。そして新たに文字管理テーブル領域
23に文字管理テーブルを用意してキャッシュ管理テー
ブル28中の該当項目の文字管理テーブルへのポインタ
tとして該当文字管理テーブルの番地を書き込む。
In this case, the corresponding dot font type does not exist in the cache management table 28. Therefore, an item for the corresponding dot font type is prepared in the cache management table 28. Then, a new character management table is prepared in the character management table area 23, and the address of the corresponding character management table is written as a pointer t to the character management table of the corresponding item in the cache management table 28.

その後は上述した同じドツトフォント種別のドツト形式
文字かすてにフォントキャッシュ21に格納されている
場合と同様に新しいセグメントを設けてドツト形式文字
を格納する。
Thereafter, a new segment is provided to store the dot-form characters in the same way as in the case where all the dot-form characters of the same dot font type are already stored in the font cache 21.

以上のようにしてフォントキャッシュ21にドツト形式
文字を格納することにより同じドツトフォント種別の文
字が複数のセグメントに存在することになるが、文字管
理テーブルには各文字毎にセグメントリンク構造体への
ポインタを保持しているので、参照の際に不都合は生し
ない。
By storing dot format characters in the font cache 21 as described above, characters of the same dot font type will exist in multiple segments, but the character management table contains information about each character in the segment link structure. Since it holds a pointer, there is no problem when referencing it.

通常の文章を印刷する場合は、同じドツトフォント種別
の文字か連続する場合が多く、各セグメントは余り細か
くはならない。
When printing regular text, characters of the same dot font type are often consecutive, and each segment is not very detailed.

セグメントの参照の際にセグメントリンク構造体を用い
る理由は、後述する削除の場合及び移動の場合に処理を
容易かつ高速にするためである。
The reason why a segment link structure is used when referencing a segment is to facilitate and speed up processing in the case of deletion and movement, which will be described later.

ドツト文字発生部19を用いてドツト形式文字を作成す
る際は、作成する前にフォントキャッシュ21に格納す
る領域を確保し、その領域を一時的な作業領域として使
用すれば、直接フォントキャッシュ21の上にドツト形
式文字を作成することかでき、ワーキングメモリ20を
不要にてきる。
When creating dot-format characters using the dot character generator 19, you can secure an area to store them in the font cache 21 before creating them, and use that area as a temporary work area to directly access the font cache 21. It is possible to create dot-form characters on the top of the screen, making the working memory 20 unnecessary.

すなわち処理に必要なメモリ容量を節約できる。In other words, the memory capacity required for processing can be saved.

またトソト形式データを転送する時間を省(ことかでき
る。
It also saves time in transferring Tosoto format data.

次にフォントキャッシュ2]に格納されているドツト形
式文字を削除する場合について述べる。
Next, the case of deleting dot-format characters stored in font cache 2 will be described.

フォントキャッシュ2]の空き領域か少なくなって新し
いドツト形式文字か格納できなくなった場合は削除を実
行する。すなわちドツト形式文字を作成しない処理待ち
の時間に、フォント制御部]4か予め決められた値とフ
ォントキャッシュ2〕の空き領域の大きさを比較し、空
き領域か小さいと判断したときには削除を実行する。
If the free space in Font Cache 2 becomes insufficient and it is no longer possible to store new dot-format characters, deletion is performed. In other words, during the processing wait time when dot-format characters are not created, the size of the free space in the font control unit]4 or the predetermined value and the font cache2] are compared, and if the free space is determined to be small, deletion is executed. do.

この削除は同しドツトフォント種別に属する文字の集合
を1単位として行う。またフォントキャッシュ21に格
納されている最も長期間使用されていないドツトフォン
ト種別から順番に削除される。すなわち最古フォントポ
インタ29が示しているキャッシュ管理テーブル28中
の項目か常に最も長期間使用されていないドツトフォン
ト種別の項目となる。この項目から該当文字管理テーブ
ルを参照してその最初の該当セグメントリンク構造体へ
のポインタp。を得る。
This deletion is performed using a set of characters belonging to the same dot font type as one unit. Further, dot font types stored in the font cache 21 that have not been used for the longest time are deleted in order. That is, the item in the cache management table 28 indicated by the oldest font pointer 29 is always the item of the dot font type that has not been used for the longest period of time. A pointer p to the first corresponding segment link structure by referring to the corresponding character management table from this item. get.

以下、削除の手順を第6図に基づいて説明する。The deletion procedure will be explained below based on FIG. 6.

第6図の(a)は削除する前の状態で、ポインタ1) 
Llか例えばセグメントリンク構造体22□を指示して
いるとする。
(a) in Figure 6 shows the state before deletion, with pointer 1)
Assume that Ll points to, for example, the segment link structure 22□.

先ず処理待ち時間に削除を行う場合について述べると、
第6図の(b)に示すようにポインタp。
First, let's talk about the case where deletion is performed during processing waiting time.
As shown in FIG. 6(b), the pointer p.

の値、すなわちセグメントリンク構造体222の番地を
保持してから該当文字管理テーブルを開放し、キャッシ
ュ管理テーブル28中の該当項目を消去する。セグメン
トリンク構造体222のポインタp、、p、によりセグ
メントリンク構造体22、及び223を参照する。セグ
メントリンク構造体22.のポインタp、にセグメント
リンク構造体223の番地を代入し、セグメントリンク
構造体223のポインタp、にセグメントリンク構造体
22.の番地を代入する。そしてセグメントリンク構造
体223のポインタp、か示すセグメントの内容をセグ
メントリンク構造体222のポインタp、か示す位置へ
複写移動する。そしてセグメントリンク構造体223の
ポインタp、を新しい値に変える。
After holding the value of , that is, the address of the segment link structure 222, the corresponding character management table is released, and the corresponding item in the cache management table 28 is deleted. The segment link structures 22 and 223 are referenced by the pointers p, , p of the segment link structure 222. Segment link structure 22. The address of the segment link structure 223 is assigned to the pointer p of the segment link structure 22., and the address of the segment link structure 22. Assign the address of . Then, the content of the segment indicated by pointer p of segment link structure 223 is copied and moved to the position indicated by pointer p of segment link structure 222. Then, the pointer p of the segment link structure 223 is changed to a new value.

これによりセグメンj・リンク構造体222の該当セグ
メントは消滅する。そしてセグメントリンク構造体22
3以降のセグメントリンク構造体に対応するセグメント
を、順次同様に複写移動して詰める。この移動はセグメ
ントリンク横遺体222のポインタp6が示すセグメン
トリンク構造体の前まで行う。
As a result, the corresponding segment of the segment j link structure 222 disappears. and segment link structure 22
Segments corresponding to segment link structures 3 and onwards are sequentially copied and moved in the same manner. This movement is performed to the front of the segment link structure indicated by the pointer p6 of the segment link horizontal corpse 222.

セグメントリンク構造体22□のポインタp。Pointer p of segment link structure 22□.

か示すセグメントリンク構造体は削除の対象であるから
、同様にして対応セグメントを消滅させる。
Since the segment link structure indicated by is to be deleted, the corresponding segment is similarly deleted.

こうして最終セグメントまでセグメントの移動を繰り返
す。最後に不要となったセグメントリンク構造体をすべ
て開放する。
In this way, segment movement is repeated until the final segment. Finally, all unnecessary segment link structures are released.

以上のようにして削除を行えばドツトフォント種別を選
択して削除し、かつフォントキャッシュ21の空き領域
は1箇所にまとめられているため、高効率でドツト形式
文字を格納できる。またセグメントの移動の際はセグメ
ントの内容を複写移動した後セグメントリンク構造体の
ポインタp、を変更するだけでよく、文字管理テーブル
等には無関係に行えるので、容易かつ高速に行える。
If the deletion is performed as described above, the dot font type is selected and deleted, and the free areas of the font cache 21 are consolidated into one location, so dot format characters can be stored with high efficiency. Furthermore, when moving a segment, it is only necessary to copy and move the contents of the segment and then change the pointer p of the segment link structure, and this can be done without regard to the character management table, etc., so it can be done easily and quickly.

次に新しいドツト形式文字か格納できなくなった場合な
ど通常行われる削除について述べる。
Next, we will discuss the deletion that is normally performed when a new dot-format character cannot be stored.

この場合はセグメントの移動は行わない。第6図の(C
,)に示すようにポインタp。の内容を空きセグメント
ポインタ24に代入する。該当文字管理テーブルは開放
し、キャッシュ管理テーブル28中の該当項目を消去す
る。セグメントリンク構造体222のポインタp、て示
されているのは不要となったセグメントであり、これら
を空きセグメントと称する。
In this case, no segment movement is performed. (C
, ) as shown in the pointer p. The contents of are assigned to the free segment pointer 24. The corresponding character management table is opened and the corresponding item in the cache management table 28 is deleted. The segments indicated by the pointer p of the segment link structure 222 are segments that are no longer needed, and these are referred to as empty segments.

空きセグメントのセグメントリンク構造体のポインタp
6の連鎖により空きセグメントの連鎖かできる。さらに
削除を行った場合は空きセグメントの連鎖に不要となっ
たセグメントのセグメントリンク構造体をつないで連鎖
を延長する。
Pointer p to segment link structure of free segment
By chaining 6, a chain of free segments can be created. If further deletion is performed, the chain of empty segments is extended by connecting the segment link structure of the unnecessary segment.

こうしていくつかの空きセグメントが存在するようにな
る。
Thus, there will be some free segments.

この状態で新しいドツト形式文字を格納する場合は、空
きセグメントポインタ24の先の空きセグメントの大き
さを調べ、必要十分な大きさの空きセグメントが見つか
ればそのセグメントに新しいドツト形式文字を格納し、
第3図の(d)に示すように再使用セグメントにする。
To store a new dot-format character in this state, check the size of the free segment beyond the free segment pointer 24, and if a free segment of sufficient size is found, store the new dot-format character in that segment.
A reusable segment is created as shown in FIG. 3(d).

対応するセグメントリンク構造体22□の番地を再使用
セグメントポインタ25及び対応する文字管理テーブル
のポインタqに代入する。セグメントリンク構造体22
2は空きセグメントの連鎖から外す。
The address of the corresponding segment link structure 22□ is assigned to the reusable segment pointer 25 and the pointer q of the corresponding character management table. Segment link structure 22
2 is removed from the chain of free segments.

セグメントリンク構造体22□のポインタpdの指示す
るセグメントは空きセグメントであるから空きセグメン
トの連鎖につな(。再使用セグメントの先頭にはそのセ
グメントをどこまで使用したかを示すポインタを格納し
ておく。
The segment pointed to by the pointer pd of the segment link structure 22□ is a free segment, so it is connected to a chain of free segments (a pointer indicating how far that segment has been used is stored at the beginning of the reused segment. .

同し文字管理テーブルに属する文字ならば同し再使用セ
グメントの残り領域に格納できる。
Characters belonging to the same character management table can be stored in the remaining area of the same reusable segment.

こうして空きセグメント、再使用セグメントにドツト形
式文字を格納する。
In this way, dot format characters are stored in free segments and reused segments.

そして処理待ち時間ができると第6図の(b)を説明し
たときと同様にして空きセグメントを消去する。また再
使用セグメントを詰めれば通常のセグメントに変えるこ
とができる。
When the processing wait time is reached, the empty segment is erased in the same manner as described in FIG. 6(b). You can also turn it into a regular segment by filling it with reusable segments.

再使用セグメントを使用している文字管理テーブルのド
ツトフォント種別の文字を削除する場合は、ポインタp
。の指示するセグメントに加えてポインタqの指示する
セグメントも削除の対象となる。
To delete characters of the dot font type in the character management table that use reused segments, pointer p
. In addition to the segment pointed to by pointer q, the segment pointed to by pointer q is also subject to deletion.

再使用セグメントにドツト形式文字を格納した場合、そ
れを通常セグメントに変える処理を行うまではフォント
キャッシュ21の利用効率は低下する。これをなるべく
避けるためには処理待ち時間に空き領域の大きさか一定
値以下たった場合には空き領域を詰める方法で削除を行
い空き領域を一定の大きさ確保しておく。
When a dot-format character is stored in a reusable segment, the utilization efficiency of the font cache 21 decreases until processing is performed to convert it into a normal segment. In order to avoid this as much as possible, if the size of the free area falls below a certain value during the processing waiting time, delete the free area by filling it up to secure a certain size of free area.

次にキャッシュ管理テーブル28によってドツトフォン
ト種別の順序関係をLRL+双方向リンクにより保持し
、削除すべきドツトフォント種別番決める方法について
述べる。
Next, a method will be described in which the cache management table 28 maintains the order relationship of dot font types using LRL+bidirectional links and determines the dot font type number to be deleted.

キャッシュ管理テーブル28は各ドツトフォント種別の
項目の、後任フォントへのポインタUと前任フォントへ
のポインタVにより、各ドツトフォント種別を最後に使
用した時点から現在までの時間の長短による順序関係を
保持する。
The cache management table 28 maintains the order relationship based on the length of time from the last time each dot font type was used to the present, using a pointer U to the successor font and a pointer V to the predecessor font for each dot font type item. do.

現在使用しているドツトフォント種別か「ゴシックA2
0」であり、それ以前に使用した順番が「ゴシックBI
OJ、「ゴシックA10」、「ゴシックB30」であっ
たとすると、このときキャッシュ管理テーブル28は第
7図の(a)に示すように二の順序を保持している。
The dot font type you are currently using is "Gothic A2".
0", and the order used before that is "Gothic BI
Assuming that they are OJ, "Gothic A10", and "Gothic B30", the cache management table 28 holds the order of 2 as shown in FIG. 7(a).

現在フォントポインタ30は現在使用している「ゴシッ
クA20」を示し、最古フォントポインタ2つは最も長
期間使用していない「ゴシックB30」を示している。
The current font pointer 30 indicates "Gothic A20" currently in use, and the two oldest font pointers indicate "Gothic B30" which has not been used for the longest time.

ここで「ゴシックA10」の文字が使用されると、第7
図の(b)に示すように「コ゛シックへ10」の項目を
ポインタU、Vの連鎖から外す。
If the characters "Gothic A10" are used here, the seventh
As shown in (b) of the figure, the item "10 to Kosic" is removed from the chain of pointers U and V.

次に今まで後任フォントかなかった「ゴシックA20」
のポインタu、vと現在フォントポインタ30を第7図
の(C)に示すように設定する。こうして順序関係か保
持される。
Next is "Gothic A20", which has not had a successor font until now.
The pointers u and v and the current font pointer 30 are set as shown in FIG. 7(C). In this way, the order relationship is maintained.

また今までにない新しいドツトフォント種別か使用され
た場合も第7図の(b)の状態から(C)の状態にすれ
ばよい。
Also, when a new type of dot font is used, the state shown in FIG. 7(b) may be changed to the state shown in FIG. 7(C).

また第7図の(C)の場合、削除すべきドツトフォント
種別は最古フォントポインタ29の示す「ゴシックB3
0」である。そしてこれを削除した後は第7図の(d)
に示すようになり、最古フォントポインタ29は「ゴシ
ックB]0」を指示するようになる。
In the case of (C) in FIG. 7, the dot font type to be deleted is "Gothic B3" indicated by the oldest font pointer 29.
0". After deleting this, the result is (d) in Figure 7.
The oldest font pointer 29 now points to "Gothic B]0" as shown in FIG.

以上のようにすれば常にポインタUとVの連鎖によりL
RU双方向リンクを維持し、いっでも最も長期間使用さ
れていないドツトフォント種別を正確に検索できる。
If you do the above, the chain of pointers U and V will always lead to L.
To maintain RU bidirectional links, it is possible to accurately search for the dot font type that has not been used for the longest period of time.

なお、順序を保持する方法としては、ポインタの連鎖を
使用せずに、各トソトフォン]・種別に対し使用された
順番を表わす数値を付けておく方法も考えられる。この
場合は数値の大小関係を調べるためにドツトフォント種
別のすべてを調へる必要かある。従ってポインタの連鎖
を使用する方法の方か単純で高速処理か可能となる。
In addition, as a method of maintaining the order, a method may be considered in which a numerical value representing the order in which each Tosotophone/type is assigned is attached instead of using a chain of pointers. In this case, it may be necessary to examine all dot font types in order to check the relationship between numerical values. Therefore, the method using a chain of pointers is simpler and allows faster processing.

なお、前記実施例では文字をドツト形式で管理する場合
について述べたか必すしもこれに限定されるものでない
のは勿論である。
In the above embodiment, the case where characters are managed in dot format has been described, but it is needless to say that the present invention is not limited to this.

なお、前記実施例は本発明をプリンタに適用したものに
ついて述べたか必すしもこれに限定されるものではなく
、例えば表示装置にも適用できるものである。
It should be noted that although the above-mentioned embodiments have been described in which the present invention is applied to a printer, the present invention is not necessarily limited to this, but can also be applied to, for example, a display device.

[発明の効果] 以上詳述したように本発明によれば、文字データを出力
用のデータ形式で一時的に記憶する記憶手段の領域を連
続して使用することにより利用効率を向上することかで
き、その結果高品位文字のより高速出力が可能となる文
字出力装置の文字データ管理方式を提供できるものであ
る。
[Effects of the Invention] As detailed above, according to the present invention, utilization efficiency can be improved by continuously using the area of a storage means for temporarily storing character data in an output data format. As a result, it is possible to provide a character data management method for a character output device that can output high-quality characters at a higher speed.

また文字データを作成処理しない処理待ち時間において
不要な文字消去を行うことにより処理中において文字消
去を行う時間が短くなり、この点においてもより高速出
力が可能となる文字出力装置の文字データ管理方式を提
供できるものである。
In addition, by erasing unnecessary characters during the processing wait time when character data is not created, the time for erasing characters during processing is shortened, and in this respect as well, this is a character data management method for character output devices that enables faster output. It is possible to provide

【図面の簡単な説明】[Brief explanation of the drawing]

第1図乃至第7図は本発明の一実施例を示すもので、第
1図はブロック図、第2図はセグメントリンク構造体の
構成を示す図、第3図は文字管理テーブルの構成を示す
図、第4図はキャッシュ管理テーブルの構成を示す図、
第5図はフォントキャッンユのセクメント管理を説明す
るための図、第6図はフォントキャッシュのセクメント
削除を説明するための図、第7図はキャッシュ管理テー
ブルによる管理を説明するだめの図、第8図は従来の文
字データ管理を説明するための図である。 14・・・フォント制御部、 18・・フォントデータ領域、 1つ・・・ドツト文字発生部、 2トフォントキャッシュ、 22・・セグメントリンク鎖酸、 23・・文字管理テーブル領域。 出願人代理人 弁理士 鈴江武彦 第31/1 第51:5 (a) (c) 第 6 (b) (d) : (a) (c) 第 (b) (d)
1 to 7 show an embodiment of the present invention. FIG. 1 is a block diagram, FIG. 2 is a diagram showing the configuration of a segment link structure, and FIG. 3 is a diagram showing the configuration of a character management table. 4 is a diagram showing the configuration of the cache management table,
Figure 5 is a diagram to explain segment management of font cache, Figure 6 is a diagram to explain segment deletion of font cache, Figure 7 is a diagram to explain management by cache management table, Figure 6 is a diagram to explain segment deletion of font cache, FIG. 8 is a diagram for explaining conventional character data management. 14... Font control section, 18... Font data area, 1... Dot character generation section, 2 font cache, 22... Segment link chain acid, 23... Character management table area. Applicant's representative Patent attorney Takehiko Suzue No. 31/1 No. 51:5 (a) (c) No. 6 (b) (d): (a) (c) No. (b) (d)

Claims (6)

【特許請求の範囲】[Claims] (1)文字の幾何学的データを保持する保持手段と、文
字の幾何学的データを出力用のデータ形式に変換する変
換手段と、文字データを出力用のデータ形式で一時的に
記憶する記憶手段と、文字データを出力用のデータ形式
で出力する出力手段を設けた文字出力装置において、文
字出力のときには前記保持手段に保持されている文字の
幾何学的データに基づいて前記変換手段により出力用の
データ形式に変換した文字データを得、その文字データ
を前記出力手段により出力すると共にその文字データを
前記記憶手段に対して文字種別に関係なく連続した領域
に記憶させ、同一の文字を再度出力させる場合には前記
記憶手段からその文字の文字データを読出して前記出力
手段に出力し、前記記憶手段から文字データを消去する
ときには選択した文字種別に対応した文字データをすべ
て消去することを特徴とする文字出力装置の文字データ
管理方式。
(1) A holding means for holding the geometric data of characters, a conversion means for converting the geometric data of characters into a data format for output, and a memory for temporarily storing character data in a data format for output. and an output means for outputting character data in an output data format, wherein when outputting characters, the converting means outputs characters based on the geometric data of the character held in the holding means. Obtain character data converted into a data format for When the character data is to be outputted, the character data of the character is read from the storage means and outputted to the output means, and when the character data is deleted from the storage means, all character data corresponding to the selected character type is deleted. Character data management method for character output devices.
(2)請求項(1)記載の文字出力装置の文字データ管
理方式において、文字データ消去によって発生した記憶
手段の空き領域に、文字出力によって発生した出力用デ
ータ形式の新たな文字データを記憶させることを特徴と
する文字出力装置の文字データ管理方式。
(2) In the character data management method of the character output device according to claim (1), new character data in the output data format generated by character output is stored in the free space of the storage means generated by character data deletion. A character data management method for a character output device characterized by:
(3)文字の幾何学的データを保持する保持手段と、文
字の幾何学的データを出力用のデータ形式に変換する変
換手段と、文字データを出力用のデータ形式で一時的に
記憶する記憶手段と、文字データを出力用のデータ形式
で出力する出力手段を設けた文字出力装置において、文
字出力のときには前記保持手段に保持されている文字の
幾何学的データに基づいて前記変換手段により出力用の
データ形式に変換した文字データを得、その文字データ
を前記出力手段により出力すると共にその文字データを
前記記憶手段に対して文字種別に関係なく連続した領域
に記憶させ、同一の文字を再度出力させる場合には前記
記憶手段からその文字の文字データを読出して前記出力
手段に出力し、前記記憶手段から文字データを消去する
ときには選択した文字種別に対応した文字データをすべ
て消去するとともにその消去によって発生した空き領域
を詰めてそれまでの空き領域を増加させることを特徴と
する文字出力装置の文字データ管理方式。
(3) A holding means for holding the geometric data of characters, a conversion means for converting the geometric data of characters into a data format for output, and a memory for temporarily storing character data in a data format for output. and an output means for outputting character data in an output data format, wherein when outputting characters, the converting means outputs characters based on the geometric data of the character held in the holding means. Obtain character data converted into a data format for When outputting the character data, the character data of the character is read from the storage means and outputted to the output means, and when the character data is deleted from the storage means, all the character data corresponding to the selected character type is deleted and deleted. A character data management method for a character output device, which is characterized in that the free space generated by the process is filled up to increase the free space up to that point.
(4)請求項(1)、(2)又は(3)記載の文字出力
装置の文字データ管理方式において、さらに記憶手段に
記憶されている文字データの文字種別に対して最後に使
用された時から現在までの時間の長短によって各文字種
別の間に順序関係を定義し、前記記憶手段から文字デー
タを消去するときにはこの順序関係に基づいて最も長期
間使用されていない文字種別に対応した文字データから
消去することを特徴とする文字出力装置の文字データ管
理方式。
(4) In the character data management method of the character output device according to claim (1), (2) or (3), when the character data is last used for the character type of the character data stored in the storage means. An order relationship is defined between each character type based on the length of time from then to the present, and when character data is deleted from the storage means, character data corresponding to the character type that has not been used for the longest time is defined based on this order relationship. A character data management method for a character output device characterized by erasing data from a character output device.
(5)請求項(1)、(2)、(3)又は(4)記載の
文字出力装置の文字データ管理方式において、記憶手段
の空き領域の大きさが予め設定した大きさ以下になると
文字データを作成処理しない処理待ち時間において前記
記憶手段からの文字データの消去を行うことを特徴とす
る文字出力装置の文字データ管理方式。
(5) In the character data management method of the character output device according to claim (1), (2), (3) or (4), when the size of the free space of the storage means becomes less than or equal to a preset size, the A character data management method for a character output device, characterized in that character data is deleted from the storage means during a processing waiting time when data is not created.
(6)請求項(1)、(2)、(3)、(4)又は(5
)記載の文字出力装置の文字データ管理方式において、
記憶手段に変換手段が文字の幾何学的データを出力用の
データ形式に変換するときに使用する領域を確保し、前
記変換手段はこの領域を使用して文字の幾何学的データ
に基づいて出力用データ形式の文字データを作成するこ
とを特徴とする文字出力装置の文字データ管理方式。
(6) Claims (1), (2), (3), (4) or (5)
) In the character data management method of the character output device described in
The conversion means secures an area in the storage means to be used when converting the geometric data of the character into a data format for output, and the conversion means uses this area to output data based on the geometric data of the character. A character data management method for a character output device, which is characterized in that character data is created in a standard data format.
JP2318949A 1990-11-22 1990-11-22 Character data control system for character output device Pending JPH04194898A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2318949A JPH04194898A (en) 1990-11-22 1990-11-22 Character data control system for character output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2318949A JPH04194898A (en) 1990-11-22 1990-11-22 Character data control system for character output device

Publications (1)

Publication Number Publication Date
JPH04194898A true JPH04194898A (en) 1992-07-14

Family

ID=18104792

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2318949A Pending JPH04194898A (en) 1990-11-22 1990-11-22 Character data control system for character output device

Country Status (1)

Country Link
JP (1) JPH04194898A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09156165A (en) * 1995-12-06 1997-06-17 Nec Corp Printer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09156165A (en) * 1995-12-06 1997-06-17 Nec Corp Printer

Similar Documents

Publication Publication Date Title
US4470129A (en) Page modification method in a printer subsystem of the partial page buffer composing type
US4300206A (en) Flexible text and image generator for a raster printer
EP0423051A2 (en) Page printer on which plotter graphics are merged within a text
JPH1191173A (en) Method and apparatus for establishing raster line of bit map to be printed by using piecewise linear direct memory access-address designating mode for retrieving bit map data line section
JPH03197065A (en) Page printer memory layout
JPH0345076A (en) Processing system for picture data
JPS61250679A (en) Display unit
JP2610993B2 (en) Information processing apparatus and method
JP4344898B2 (en) Image processing apparatus, image processing method, and image forming apparatus
US5563987A (en) Pagemap memory representation in RISC processor printers
US5732197A (en) Printing control apparatus
JPH04194898A (en) Character data control system for character output device
JP2974322B2 (en) Character processing apparatus and method
JP3013577B2 (en) Memory management device and printer with memory management device
JP3618828B2 (en) Information processing apparatus and information processing method
JPH0564931A (en) Print spool means
JPH06289838A (en) Font cache controller and its applying method
JPH05233510A (en) Character data control method
JP3375069B2 (en) Drawing processing device
CN1155696A (en) Using both host cache and printer cache to improve text printing preformance
JP3304769B2 (en) Address translation device
JP2641433B2 (en) Printing control device
JP2002007096A (en) Cache memory controller
JPS6375788A (en) Dot pattern storing system
JPH01270167A (en) Document editing system with memorandum