JPH05333841A - Character generating device - Google Patents

Character generating device

Info

Publication number
JPH05333841A
JPH05333841A JP4140328A JP14032892A JPH05333841A JP H05333841 A JPH05333841 A JP H05333841A JP 4140328 A JP4140328 A JP 4140328A JP 14032892 A JP14032892 A JP 14032892A JP H05333841 A JPH05333841 A JP H05333841A
Authority
JP
Japan
Prior art keywords
cache
font
character
contents
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4140328A
Other languages
Japanese (ja)
Inventor
Hideki Morozumi
秀樹 両角
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP4140328A priority Critical patent/JPH05333841A/en
Publication of JPH05333841A publication Critical patent/JPH05333841A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To speed up character generation even when output devices are switched by turns by providing two cache data storage areas corresponding to the output devices and swapping cache data, which are stored for the respective output devices, onto a cache memory. CONSTITUTION:Character data read out of a font storage device 101 are expanded into a bit map font by an outline font generating device 105, and the bit map font is transferred to a display device 109 and also registered in a cache device 106. When the data are outputted on a printing device 110, the contents of the cache device 106 and cache data for printing saved in a swap file storage device 103 are exchanged by a swapping device 107. When the output device is switched to the display device 109 again, the contents of the cache device 106 and swap file storage devices 107 are similarly exchanged. Thus, the control is so performed that cache data corresponding to the output device in use are stored in the cache device 106 at all times.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、表示装置と印刷装置を
備える卓上出版等のシステムにおいて使用される、アウ
トラインフォントを用いた文字発生装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character generator using an outline font, which is used in a system such as desktop publishing equipped with a display device and a printing device.

【0002】[0002]

【従来の技術】従来の技術は、特開平1−115647
号に記載があるように、アウトラインフォントから生成
したビットマップフォントを一時的に記憶するキャッシ
ュメモリを設け、後に同じ文字の出力要求があった時は
既に蓄えてあるビットマップフォントを使用し文字の生
成速度を向上させていた。
2. Description of the Related Art A conventional technique is disclosed in Japanese Patent Laid-Open No. 1-115647.
As described in the issue, a cache memory for temporarily storing the bitmap font generated from the outline font is provided, and when an output request for the same character is made later, the already stored bitmap font is used. The generation speed was improved.

【0003】[0003]

【発明が解決しようとする課題】しかし、前記従来技術
は、印刷装置または表示装置等の装置単体に適用される
ものであり、卓上出版等の表示装置への表示と印刷装置
への出力の両方を頻繁に行うシステムにおいては、印刷
装置ならびに表示装置がそれぞれ独自にフォント生成装
置を備える必要があるという問題があった。更に、表示
装置と印刷装置で1つのキャッシュ装置を利用する場合
において、出力装置を切り換えた時に、同一のポイント
数の文字でも出力装置の解像度が異なるため展開された
ビットマップデータの大きさが異なり、既に蓄えられた
キャッシュデータが利用できないという問題点もあっ
た。
However, the above-mentioned prior art is applied to a single device such as a printing device or a display device, and both display on a display device such as desktop publishing and output to the printing device. In a system that frequently performs the above, there is a problem that the printing device and the display device need to have their own font generation devices. Furthermore, when one cache device is used for the display device and the printing device, when the output device is switched, the resolution of the output device is different even for characters having the same number of points, and thus the size of the expanded bitmap data is different. There was also a problem that the cached data already stored could not be used.

【0004】本発明は、このような問題点を解決するも
ので、その目的とするところは、表示装置と印刷装置を
一つのシステムに統合してフォント記憶装置,フォント
生成装置,キャッシュ装置等の文字発生に係わる装置の
一元化を図って低コストを実現すると共に、表示装置と
印刷装置で1つのキャッシュシステムを利用する場合に
おいても、出力装置毎に蓄積されたキャッシュデータを
キャッシュ装置に置く構成をとることにより、出力装置
を交互に切り換えてもキャッシュのヒット率が低下しな
い高速な文字発生装置を提供するという点である。
The present invention solves such a problem, and its object is to integrate a display device and a printing device into one system, such as a font storage device, a font generation device, and a cache device. In addition to realizing a low cost by unifying devices related to character generation, even when one cache system is used for the display device and the printing device, the cache data accumulated for each output device is placed in the cache device. By doing so, it is possible to provide a high-speed character generator that does not reduce the hit rate of the cache even if the output devices are switched alternately.

【0005】[0005]

【課題を解決するための手段】文字の輪郭線を座標点デ
ータとして表わすアウトラインフォントを記憶するフォ
ント記憶装置、該座標点データからビットマップデータ
に展開するフォント生成装置、前記ビットマップデータ
を出力する表示用と印刷用の出力装置を備える文字発生
装置において、前記ビットマップデータを一時的に蓄え
るキャッシュ装置と、前記キャッシュ装置の内容を退避
するためのスワップファイル記憶装置と、前記キャッシ
ュ装置の内容と前記スワップファイル記憶装置の内容を
入れ替えるためのスワップ装置を備え、前記キャッシュ
装置には出力イメージ生成中の前記出力装置用の前記ビ
ットマップデータを登録し、出力イメージ生成をもう一
方の出力装置に切り換える時は前記キャッシュ装置の内
容を前記スワップファイル記憶装置の内容と交換するこ
とを特徴とする。
A font storage device for storing an outline font representing a contour of a character as coordinate point data, a font generation device for expanding the coordinate point data into bitmap data, and outputting the bitmap data. In a character generator having an output device for display and printing, a cache device for temporarily storing the bitmap data, a swap file storage device for saving the contents of the cache device, and contents of the cache device. A swap device for replacing the contents of the swap file storage device is provided, and the bitmap data for the output device during the output image generation is registered in the cache device, and the output image generation is switched to the other output device. When the contents of the cache device is swapped Characterized in that to replace the contents of Airu storage device.

【0006】[0006]

【作用】フォント記憶装置から読み出されたアウトライ
ンフォントデータは、アウトライフォント生成装置によ
りビットマップデータに展開される。展開されたビット
マップデータは、出力イメージ生成中の表示装置または
印刷装置に転送されると共に、同一の文字発生要求があ
った時の再利用に備え、キャッシュ装置に登録される。
生成すべき出力イメージの転送先が表示から印刷あるい
は印刷から表示へと切り替わった時には、スワップ装置
によりキャッシュ装置の内容とスワップファイル記憶装
置の内容を入れ替える。従って、フォント発生に係わる
装置が一元化出来ると共に、キャッシュ装置には現在使
用中の出力装置で使用しているデータがキャッシュさ
れ、もう一方の出力装置で利用していたキャッシュデー
タはスワップファイル記憶装置に保管されているため、
各出力装置用のイメージ生成を交互に行ってもそれまで
に蓄積されたキャッシュデータが有効に利用でき文字の
生成が高速に行える。
The outline font data read from the font storage device is expanded into bitmap data by the outline font generation device. The expanded bitmap data is transferred to the display device or the printing device during the generation of the output image, and is registered in the cache device in preparation for reuse when the same character generation request is made.
When the transfer destination of the output image to be generated is switched from display to print or from print to display, the swap device replaces the contents of the cache device and the contents of the swap file storage device. Therefore, the devices related to font generation can be unified, the data used in the output device currently in use is cached in the cache device, and the cache data used in the other output device is stored in the swap file storage device. Because it is stored
Even if the image generation for each output device is alternately performed, the cache data accumulated up to that point can be effectively used and the characters can be generated at high speed.

【0007】[0007]

【実施例】図1に本発明の構成図を示す。本実施例で
は、制御プログラム111において表示または印刷の要
求が発生した文字を表示装置109または印刷装置11
0に出する構成である。フォント記憶装置101には、
アウトラインフォントデータが記憶されているフォント
ファイル102が格納されている。フォント生成装置1
04は、フォントファイル102から読み出したフォン
トデータをビットマップデータに展開するためのアウト
ラインフォント生成装置105と、同一文字の発生要求
があった時に備えて展開したビットマップデータを一時
的に記憶するキャッシュ装置106、出力イメージを転
送する出力装置が切り替わった時にキャッシュ装置10
6の内容とスワップファイル記憶装置103の内容を入
れ替えるためのスワップ装置107、ならびにこれらの
動作を制御するための制御装置108から構成されてい
る。スワップファイル記憶装置103は、キャッシュ装
置106の内容とスワップするためのファイルである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows a block diagram of the present invention. In the present embodiment, the characters for which a display or printing request has been generated in the control program 111 are displayed on the display device 109 or the printing device 11.
It is a configuration that is set to 0. In the font storage device 101,
A font file 102 in which outline font data is stored is stored. Font generation device 1
Reference numeral 04 denotes an outline font generation device 105 for expanding the font data read from the font file 102 into bitmap data, and a cache for temporarily storing the expanded bitmap data in preparation for the same character generation request. The device 106, the cache device 10 when the output device for transferring the output image is switched
6 and a swap device 107 for replacing the contents of the swap file storage device 103, and a control device 108 for controlling these operations. The swap file storage device 103 is a file for swapping the contents of the cache device 106.

【0008】キャッシュ装置106には、現在使用中の
出力装置(例えば、表示装置)に出力する文字列の中か
ら一度現れた文字について、アウトラインフォントから
展開されたビットマップフォントが登録されていく。こ
こで、今まで表示してきた文字を印刷する場合、これま
でに蓄積してきたキャッシュの内容をスワップファイル
記憶装置103と入れ替えて、表示している文字列につ
いて1文字ずつアウトラインフォントの展開を行う。こ
の時に、キャッシュ装置106には印刷装置110に対
応したビットマップデータが登録される。さらに出力装
置を切り換えると、キャッシュ装置106の内容とスワ
ップファイル記憶装置103が入れ替わり、キャッシュ
装置106の内容は表示装置109に対応した内容とな
る。表示装置109ならびに印刷装置110は、フォン
ト生成装置104が生成したイメージをソフトコピーな
らびにハードコピーすることによって可視化するための
装置である。
In the cache device 106, a bitmap font developed from an outline font is registered for a character that appears once in a character string output to an output device (eg, a display device) currently in use. Here, when printing the characters that have been displayed so far, the contents of the cache that have been stored so far are replaced with the swap file storage device 103, and the outline font is expanded character by character for the displayed character string. At this time, the bitmap data corresponding to the printing device 110 is registered in the cache device 106. When the output device is further switched, the contents of the cache device 106 and the swap file storage device 103 are exchanged, and the contents of the cache device 106 correspond to the contents of the display device 109. The display device 109 and the printing device 110 are devices for visualizing the image generated by the font generation device 104 by soft copying and hard copying.

【0009】図2に本発明の一実施例の構成図を示す。
以下の実施例は、卓上出版システムにおける、アウトラ
インフォントを用いた文字発生装置に適用したものであ
る。図2において、主制御部201は、図示はしていな
いがCPU,RAM,ROM等が含まれる既知の制御装
置であり、各装置は内部バス215により接続されてい
る。補助記憶装置202には、ハードディスクドライブ
を使用しており、補助記憶装置202には、複数の書体
を含むアウトラインフォントデータが記憶されているフ
ォントファイル203が格納されている。スワップファ
イル204は、ハードディスクドライブ,フラッシュメ
モリ,ならびにRAM等に格納され、キャッシュメモリ
206の内容とスワップするために用いる。キャッシュ
メモリ206は、RAM上に確保され、現在使用中の出
力装置(例えば、表示装置)に出力する文字列の中から
一度現れた文字について、アウトラインフォントから展
開されたビットマップフォントが登録されていく。DM
Aコントローラ207は、各装置間のデータ転送をCP
Uの介在なしに高速に行うためのダイレクト・メモリ・
アクセス・コントローラである。表示用フレームメモリ
208は、表示装置210の1ページ分のビットマップ
メモリであり、例えば表示装置210の画素数が102
4×768ドット,モノクロの場合96キロバイトの容
量を必要とする。表示制御部209は、表示用フレーム
メモリ208の内容を読み出して、表示装置の仕様に合
わせた同期信号を付加して表示装置210に転送するも
のである。表示装置210は、CRT,LCD,PD
P,EL等のテクノロジーによるビットマップ表示のソ
フトコピー装置である。
FIG. 2 shows a block diagram of an embodiment of the present invention.
The following embodiment is applied to a character generator using an outline font in a desktop publishing system. In FIG. 2, the main control unit 201 is a known control device including a CPU, a RAM, a ROM and the like, which are not shown, and each device is connected by an internal bus 215. A hard disk drive is used as the auxiliary storage device 202, and the auxiliary storage device 202 stores a font file 203 in which outline font data including a plurality of fonts is stored. The swap file 204 is stored in the hard disk drive, flash memory, RAM, etc., and is used for swapping with the contents of the cache memory 206. The cache memory 206 is reserved in the RAM, and a bitmap font expanded from the outline font is registered for a character that appears once in the character string output to the output device (eg, display device) currently in use. Go DM
The A controller 207 performs CP for data transfer between each device.
Direct memory for high-speed operation without U intervention
It is an access controller. The display frame memory 208 is a bit map memory for one page of the display device 210, and the number of pixels of the display device 210 is 102, for example.
In the case of 4 × 768 dots, monochrome requires a capacity of 96 kilobytes. The display control unit 209 reads the contents of the display frame memory 208, adds a synchronization signal according to the specifications of the display device, and transfers the synchronization signal to the display device 210. The display device 210 is a CRT, LCD, PD
It is a soft copy device that displays bitmaps by technologies such as P and EL.

【0010】印刷用フレームメモリ211は、印刷装置
213の1ページ分のビットマップメモリであり、例え
ば印刷装置213が解像度が300ドット/インチで最
大A4サイズの紙に対応できる場合、1メガバイトの容
量を必要とする。印刷制御部212は、印刷用フレーム
メモリ211の内容を読み出して、印刷装置の仕様に合
わせた同期信号を付加して印刷装置213に転送するも
のである。印刷装置213は、電子写真方式,熱転写方
式,インクジェット方式等のテクノロジーによるハード
コピー装置である。
The printing frame memory 211 is a bitmap memory for one page of the printing device 213. For example, when the printing device 213 can support paper of maximum resolution A4 size with a resolution of 300 dots / inch, a capacity of 1 megabyte. Need. The print control unit 212 reads out the contents of the print frame memory 211, adds a synchronization signal according to the specifications of the printing apparatus, and transfers the synchronization signal to the printing apparatus 213. The printing device 213 is a hard copy device based on technologies such as an electrophotographic method, a thermal transfer method, and an inkjet method.

【0011】この様に構成されて装置の動作を図3、図
4をもとに説明する。図3は、本実施例の動作を説明す
る全体の流れ図であり、図4は、図3の文字発生処理の
詳細な流れ図である。
The operation of the apparatus thus configured will be described with reference to FIGS. 3 and 4. 3 is an overall flow chart for explaining the operation of this embodiment, and FIG. 4 is a detailed flow chart of the character generation processing of FIG.

【0012】主制御部201は電源投入直後に、キャッ
シュメモリ206,スワップファイル204の内容を初
期化し(S1)、文書編集モードに入る。従って、出力
装置には表示装置210が選択される。操作部214か
ら文字が入力されると(S2)、その文字を文字の修飾
情報と共に文書ファイルに記憶させる(S3)。そし
て、文字発生処理(S4)を行う。
Immediately after the power is turned on, the main control unit 201 initializes the contents of the cache memory 206 and the swap file 204 (S1) and enters the document edit mode. Therefore, the display device 210 is selected as the output device. When a character is input from the operation unit 214 (S2), the character is stored in the document file together with the character modification information (S3). Then, character generation processing (S4) is performed.

【0013】ここで、文字発生処理の詳細を、図4を用
いて説明する。まず、発生すべき文字の文字コード,拡
大・縮小率,回転,斜体,修飾(影付き,網掛け,ボー
ルド)等の情報を得て(S21)、キャッシュメモリ2
06の内容を検索して(S22)、同一の文字が既に展
開されているかどうか確認する(S23)。既にキャッ
シュ済みの時は、キャッシュメモリ206からビットマ
ップフォントを取得し(S24)、キャッシュされてい
ない場合は、フォントデータを補助記憶装置202上の
フォントファイル203から読み出して(S25)、ア
ウトラインフォントからビットマップフォントへの展開
(S26)をアウトラインフォント生成装置205を用
いて行う。アウトラインフォント生成装置205は、小
さな文字におけるつぶれや線幅の不一致等を補正する手
段、文字に拡大・縮小・回転・傾斜等の処理を施すアフ
ィン変換手段、離散的な輪郭点を直線・2次曲線・3次
曲線・円弧等により補間する手段,輪郭点列発生手段,
輪郭点列の内側を塗り潰す手段から構成され、ソフトウ
ェア処理または特開平1−191192号で記述されて
いるようなハードウェア処理あるいはその両方の処理に
より、アウトラインフォンからビットマップフォントへ
の展開を行う。フォントの展開が終了すると1文字分の
ビットマップデータをフレームメモリ(表示作業中は2
08,印刷作業中は211)へ転送する(S27)。
Details of the character generation process will be described with reference to FIG. First, the information such as the character code of the character to be generated, the enlargement / reduction ratio, the rotation, the italic, the decoration (shadow, shaded, bold) is obtained (S21), and the cache memory 2
The contents of 06 are searched (S22), and it is confirmed whether the same character has already been expanded (S23). If it is already cached, the bitmap font is acquired from the cache memory 206 (S24). If it is not cached, the font data is read from the font file 203 on the auxiliary storage device 202 (S25), and the outline font is extracted. Development to a bitmap font (S26) is performed using the outline font generation device 205. The outline font generation device 205 is a means for correcting crushing or line width mismatch in a small character, an affine transformation means for performing processing such as enlargement / reduction / rotation / tilt on a character, and a straight line / quadratic shape for discrete contour points. Means for interpolating with curves, cubic curves, arcs, etc., contour point sequence generation means,
It is composed of means for filling the inside of the outline point sequence, and performs expansion from outline phones to bitmap fonts by software processing, hardware processing as described in JP-A-1-191192, or both. .. When the font expansion is completed, the bitmap data for one character is stored in the frame memory (2
08, the print job is transferred to 211) (S27).

【0014】再び図3に戻って、1文字の発生が終了す
ると、文書の編集が終了かどうかの判定を行い(S
5)、編集続行であればS2からS5間での処理を繰り
返し、編集終了であれば印刷処理に移る。
Returning to FIG. 3 again, when the generation of one character is completed, it is determined whether the editing of the document is completed (S
5) If the editing is continued, the process between S2 and S5 is repeated, and if the editing is completed, the printing process is started.

【0015】印刷用イメージ生成前に、これまで表示用
イメージ生成時に蓄えられてきたキャッシュメモリ20
6の内容をスワップファイル204の内容と入れ替えを
行う(S6)。この作業は、ソフトウェア転送あるいは
DMAコントローラ207等を用いたCPUを介さない
高速転送により行われる。キャッシュメモリ206の内
容は、初めての印刷作業であれば初期化された状態で文
字は未登録であるが、過去に印刷作業を行ったことがあ
る場合は、その時に蓄積されたフォントデータが記憶さ
れている。印刷用イメージ生成作業は、文書ファイルか
ら1文字づつ文字のコードを修飾情報と共に取り出し
(S7)、前述の文字発生処理に従って、アウトライン
フォントからビットマップフォントを生成する(S
8)。1文字の文字発生処理が終了後、文書ファイル1
ページの処理が終了したかどうか判定し(S9)、もし
終了していなければS7からS9までの処理を繰り返
し、終了であれば印刷用フレームメモリ211の内容を
印刷制御部212によって読み出し印刷装置213によ
り印刷を行う(S10)。そして、再度文書の編集をす
るのであれば(S11)、キャッシュメモリ206に登
録されている印刷用キャッシュデータとスワップファイ
ル204に退避してある表示用キャッシュデータを入れ
替え(S12)、S2からの一連の作業を繰り返す。
Before the print image is generated, the cache memory 20 that has been stored so far when the display image is generated.
The contents of 6 are replaced with the contents of the swap file 204 (S6). This work is performed by software transfer or high-speed transfer that does not go through the CPU using the DMA controller 207 or the like. The contents of the cache memory 206 are initialized and the characters are not registered for the first printing work, but if the printing work has been done in the past, the font data accumulated at that time is stored. Has been done. In the print image generation work, a character code is extracted from the document file for each character together with the modification information (S7), and a bitmap font is generated from the outline font according to the character generation processing described above (S7).
8). After the character generation process for one character is completed, the document file 1
It is determined whether or not the page processing is completed (S9). If not completed, the processing from S7 to S9 is repeated, and if completed, the contents of the print frame memory 211 are read by the print control unit 212 and the printing apparatus 213. Then, printing is performed (S10). If the document is to be edited again (S11), the print cache data registered in the cache memory 206 and the display cache data saved in the swap file 204 are exchanged (S12), and a series of steps from S2 is performed. Repeat the work of.

【0016】本実施例によれば、主制御部201の制御
の下で、操作部214から入力された文字がアウトライ
ンフォントデータからビットマップデータに展開されて
表示装置210に表示され、必要に応じて表示されてい
るイメージのまま印刷装置213からハードコピー出力
が得られるという、卓上出版装置に置いて必須のWYS
IWYG(What You See Is What
You Get)環境が実現できる。
According to the present embodiment, under the control of the main control unit 201, the characters input from the operation unit 214 are expanded from the outline font data into bitmap data and displayed on the display device 210, and as necessary. WYS, which is indispensable for a desktop publishing device, in which a hard copy output can be obtained from the printing device 213 without changing the displayed image.
IWYG (What You See Is What
You Get) environment can be realized.

【0017】また、一般的に印刷装置の方が表示装置よ
り解像度が高く、本実施例では表示装置が75ドット/
インチ,印刷装置が300ドット/インチである。例え
ば10ポイントの大きさの文字は、表示装置では10×
10ドットで構成されるのに対し、印刷装置では42×
42ドットで構成されるため、表示用イメージ生成時に
蓄積したキャッシュデータを印刷用に兼用することはで
きない。従って、キャッシュメモリ206には現在使用
中の出力装置用のキャッシュデータを蓄積し、出力装置
を切り換える時はスワップファイル204に退避してあ
ったキャッシュデータと交換することにより、出力装置
の解像度が異なるためにそれまでにキャッシュされたデ
ータが出力装置の切り換えによって無駄になるという問
題を回避でき、常に高いキャッシュのヒット率が得られ
るため、高速な文字発生装置を提供することが可能とな
る。
Further, the printing device generally has a higher resolution than the display device, and in the present embodiment, the display device has 75 dots / pixel.
Inch, printing device is 300 dots / inch. For example, a character with a size of 10 points is displayed as 10 ×
It consists of 10 dots, while the printing device has 42 ×
Since it is composed of 42 dots, the cache data accumulated at the time of generating the display image cannot be used also for printing. Therefore, the cache memory 206 stores the cache data for the output device currently in use, and when the output device is switched, the cache data saved in the swap file 204 is replaced with the cache data, so that the output device has a different resolution. Therefore, it is possible to avoid the problem that the data cached up to that point is wasted due to the switching of the output device, and a high cache hit rate can always be obtained, so that it is possible to provide a high-speed character generator.

【0018】[0018]

【発明の効果】以上説明したように本発明によれば、卓
上出版装置の様な、表示装置と印刷装置の両方を備える
システムの場合、フォント記憶メモリ,フォント生成装
置,キャッシュメモリを表示装置と印刷装置の両方に備
える必要がなく一ヶ所に用意すればよいため、従来の文
字発生装置を用いてシステムを組むのと比較して、低コ
ストで実現できる。更に、表示装置と印刷装置の間でキ
ャッシュ装置を共用しても、イメージ生成時に生成され
るキャッシュデータと印刷用イメージ生成時に蓄積され
るキャッシュデータを独立したファイルとして、キャッ
シュメモリ206とスワップファイル204に格納し、
現在の出力装置に対応したキャッシュデータをキャッシ
ュメモリ106に置く事により、出力装置の解像度が異
なる場合において、表示・印刷作業を交互に行っても過
去に蓄積されたキャッシュデータがそのまま利用できる
ので、キャッシュのヒット率が低下せず文字発生速度の
向上が図れるという効果も有する。
As described above, according to the present invention, in the case of a system having both a display device and a printing device such as a desktop publishing device, the font storage memory, the font generation device and the cache memory are used as the display device. Since it is not necessary to provide both for the printing device and it is sufficient to prepare it in one place, it can be realized at a low cost as compared with the case where a system is constructed using a conventional character generator. Further, even if the cache device is shared between the display device and the printing device, the cache data generated at the time of image generation and the cache data accumulated at the time of generation of the printing image are treated as independent files, and the cache memory 206 and the swap file 204 are separated. Stored in
By placing the cache data corresponding to the current output device in the cache memory 106, the cache data accumulated in the past can be used as it is even when the display / printing work is alternately performed when the resolution of the output device is different. There is also an effect that the character hit speed can be improved without reducing the cache hit rate.

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

【図1】本発明の構成図。FIG. 1 is a configuration diagram of the present invention.

【図2】本発明の一実施例の構成図。FIG. 2 is a configuration diagram of an embodiment of the present invention.

【図3】本実施例における動作を説明するための流れ
図。
FIG. 3 is a flowchart for explaining the operation of this embodiment.

【図4】図3の文字発生処理の詳細な流れ図。4 is a detailed flowchart of the character generation process of FIG.

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

101 フォント記憶装置 102 フォントファイル 103 スワップファイル記憶装置 104 フォント生成装置 105 アウトラインフォント生成装置 106 キャッシュ装置 107 スワップ装置 108 制御装置 109 表示装置 110 印刷装置 111 制御プログラム 101 font storage device 102 font file 103 swap file storage device 104 font generation device 105 outline font generation device 106 cache device 107 swap device 108 control device 109 display device 110 printing device 111 control program

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 文字の輪郭線を座標点データとして表わ
すアウトラインフォントを記憶するフォント記憶装置、
該座標点データからビットマップデータに展開するフォ
ント生成装置、前記ビットマップデータを出力する表示
用と印刷用の出力装置を備える文字発生装置において、 前記ビットマップデータを一時的に蓄えるキャッシュ装
置と、前記キャッシュ装置の内容を退避するためのスワ
ップファイル記憶装置と、前記キャッシュ装置の内容と
前記スワップファイル記憶装置の内容を入れ替えるため
のスワップ装置を備え、前記キャッシュ装置には出力イ
メージ生成中の前記出力装置用の前記ビットマップデー
タを登録し、出力イメージ生成をもう一方の出力装置に
切り換える時は前記キャッシュ装置の内容を前記スワッ
プファイル記憶装置の内容と交換することを特徴とする
文字発生装置。
1. A font storage device for storing an outline font representing a contour line of a character as coordinate point data,
A font generation device for expanding the coordinate point data into bitmap data, a character generation device including an output device for displaying and printing for outputting the bitmap data, a cache device for temporarily storing the bitmap data, A swap file storage device for saving the contents of the cache device, and a swap device for exchanging the contents of the cache device and the contents of the swap file storage device are provided, and the cache device outputs the output during generation of an output image. A character generator characterized in that the contents of the cache device are exchanged with the contents of the swap file storage device when the bitmap data for the device is registered and the output image generation is switched to the other output device.
JP4140328A 1992-06-01 1992-06-01 Character generating device Pending JPH05333841A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4140328A JPH05333841A (en) 1992-06-01 1992-06-01 Character generating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4140328A JPH05333841A (en) 1992-06-01 1992-06-01 Character generating device

Publications (1)

Publication Number Publication Date
JPH05333841A true JPH05333841A (en) 1993-12-17

Family

ID=15266268

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4140328A Pending JPH05333841A (en) 1992-06-01 1992-06-01 Character generating device

Country Status (1)

Country Link
JP (1) JPH05333841A (en)

Similar Documents

Publication Publication Date Title
JP3015134B2 (en) Image processing method and apparatus
JP2610993B2 (en) Information processing apparatus and method
JPH05333841A (en) Character generating device
JP4323618B2 (en) Image processing apparatus and image processing method
JP2946548B2 (en) Page printer with editing function
JPH064063A (en) Character generating device
JP3203660B2 (en) Image recording device
JP4336470B2 (en) Drawing control apparatus, drawing control method and program
JP3368990B2 (en) Image processing device
JP2972211B2 (en) Character output control device and method
JPH09277616A (en) Printer and control method therefor
JP2710140B2 (en) Output control device
JPH07274011A (en) Method and device for forming image
JPH01130957A (en) Character controlling apparatus
JP3757297B2 (en) Printing device
JP2901860B2 (en) How to generate character data
JPH10198333A (en) Outline character drawing device
JPH05313634A (en) Outline font developing device
JP2000211198A (en) Method for managing image data
JPH0786680B2 (en) Color electronic plate making system
JPH07221974A (en) Image data rotating device
JP2001246788A (en) Printer
JPH07244473A (en) Method and device for character generation
JPH0344728A (en) Page printer controller
JPH0511736A (en) Character pattern output device