JP2910154B2 - Character generator - Google Patents

Character generator

Info

Publication number
JP2910154B2
JP2910154B2 JP2128585A JP12858590A JP2910154B2 JP 2910154 B2 JP2910154 B2 JP 2910154B2 JP 2128585 A JP2128585 A JP 2128585A JP 12858590 A JP12858590 A JP 12858590A JP 2910154 B2 JP2910154 B2 JP 2910154B2
Authority
JP
Japan
Prior art keywords
font
character
size
cache memory
raster 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.)
Expired - Fee Related
Application number
JP2128585A
Other languages
Japanese (ja)
Other versions
JPH0422994A (en
Inventor
聖二 末次
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2128585A priority Critical patent/JP2910154B2/en
Publication of JPH0422994A publication Critical patent/JPH0422994A/en
Application granted granted Critical
Publication of JP2910154B2 publication Critical patent/JP2910154B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

【発明の詳細な説明】 「産業上の利用分野」 本発明は文字や記号の印字に用いられるアウトライン
フォントをラスタフォントに変換して出力する高品位文
字発生回路に係わり、詳細には文字の発生を高速で行う
ことのできる文字発生装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a high-definition character generation circuit that converts an outline font used for printing characters and symbols into a raster font and outputs the raster font. The present invention relates to a character generation device capable of performing a high-speed operation.

「従来の技術」 日本語ワードプロセッサ等の文書作成装置が作成した
文書を印字する際には、ドットマトリックスで表現され
たフォントを用いることが従来から行われていた。この
ような従来のフォントは、これをそのまま読み出して1
ラスタずつドットプリンタで記録したりレーザプリンタ
でラスタスキャンする等の手法で文字や記号(以下単に
文字と表示する。)の印字を行うことができる。しかし
ながら、ドットマトリックスを使用したフォントの場合
には、印字上で次のような問題があった。
2. Description of the Related Art When printing a document created by a document creation device such as a Japanese word processor, a font represented by a dot matrix has been conventionally used. Such a conventional font reads out this as it is and
Characters and symbols (hereinafter simply referred to as characters) can be printed by a method such as recording a raster by a dot printer or raster scanning by a laser printer. However, fonts using a dot matrix have the following problems in printing.

(i)ドットで文字が構成されるため、その輪郭が滑ら
かでなく、ドットを高密度に配置しないかぎり高品位な
文字を印字することができない。
(I) Since a character is composed of dots, its outline is not smooth, and high-quality characters cannot be printed unless dots are arranged at high density.

(ii)各種サイズの文字を印字しようとすると、それぞ
れについてフォントを用意しなければならない。このた
めには、文字のフォントを格納するメモリとして大容量
のものが必要となる。
(Ii) When printing characters of various sizes, a font must be prepared for each character. This requires a large-capacity memory for storing character fonts.

このような欠点を解消するために、文字のアウトライ
ンをベクトルデータで表わすようにしたアウトラインフ
ォントが使用されるようになってきている。アウトライ
ンフォントの場合には、文字の輪郭が滑らかになり、し
かもそのデータがフォントサイズに依存しないので、サ
イズごとにフォントを用意する必要もない。
In order to solve such a drawback, an outline font in which an outline of a character is represented by vector data has been used. In the case of an outline font, the outline of the character is smoothed, and since the data does not depend on the font size, there is no need to prepare a font for each size.

「発明が解決しようとする課題」 ところが、アウトラインフォントを使用する場合に
は、ベクトルデータを基にして各文字のアウトラインを
メモリ上に順次展開させ、それらのラインの内部を塗り
潰して、メモリ上にラスタイメージを発生させるという
処理が必要となる。このような処理は、メモリ上に格納
された文字パターンをそのまま読み出せば済む従来の文
字発生回路に比べると時間を要していた。そこで、ラス
タイメージを高速で発生させるための専用の回路が各種
提案されているが、処理時間の短縮には限界があり、高
品位の文字を発生させる場合には印字の高速性をある程
度犠牲にするしかなかった。
However, when an outline font is used, the outline of each character is sequentially expanded in the memory based on the vector data, and the insides of those lines are filled in, and the outline font is used. A process of generating a raster image is required. Such a process requires more time than a conventional character generation circuit that simply reads out a character pattern stored in a memory. Therefore, various types of dedicated circuits for generating raster images at high speed have been proposed, but there is a limit to the reduction of processing time, and when generating high-quality characters, the printing speed must be sacrificed to some extent. I had to do it.

そこで本発明の目的は、ラスタイメージを展開するた
めの回路とは無関係にラスタデータの高速出力を可能に
する文字発生装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a character generator capable of outputting raster data at high speed irrespective of a circuit for developing a raster image.

「課題を解決するための手段」 請求項1記載の発明では、文字や記号のフォントを表
わすベクトルデータをラスタデータに展開する展開手段
と、この展開手段により展開されたラスタデータのフォ
ントサイズが所定値内であるか否かを判別するサイズ判
別手段と、このサイズ判別手段によりフォントサイズが
所定値内であると判別された場合に展開したラスタデー
タを格納するフォント用キャッシュメモリと、文字や記
号のフォントの要求があったときそのラスタデータがこ
のフォント用キャッシュメモリに格納されているときに
はラスタデータをこのフォント用キャッシュメモリから
読み出して出力する出力手段とを文字発生装置に具備さ
せる。
[Means for Solving the Problems] According to the first aspect of the present invention, rasterizing means for rasterizing vector data representing fonts of characters and symbols into raster data, and a font size of raster data rasterized by the rasterizing means is predetermined. Size determining means for determining whether or not the value is within a value; a font cache memory for storing raster data developed when the font size is determined to be within a predetermined value; characters and symbols; When the font data is requested and the raster data is stored in the font cache memory, the character generator is provided with output means for reading and outputting the raster data from the font cache memory.

そして請求項1記載の発明では、アウトラインフォン
トを用いて文字や記号を発生させる場合には、展開され
たラスタデータのフォントサイズが所定値内であるか否
かをサイズ判別手段で判別して、フォントサイズが所定
値内であると判別された場合に展開したラスタデータを
フォント用キャッシュメモリに格納しておき、次に文字
や記号のフォントの要求があったときそのラスタデータ
をフォント用キャッシュメモリから読み出して出力する
ようにして、フォント用キャッシュメモリの効率的な活
用を図っている。
According to the first aspect of the invention, when characters and symbols are generated using an outline font, the size determination unit determines whether or not the font size of the expanded raster data is within a predetermined value. When it is determined that the font size is within the predetermined value, the raster data expanded is stored in the font cache memory, and the next time a font request for characters or symbols is made, the raster data is stored in the font cache memory. In this case, the font cache memory is efficiently used.

請求項2記載の発明では、発生させる文字や記号のフ
ォントのサイズを判別するサイズ判別手段と、所定値内
のサイズの文字または記号についてのラスタデータを複
数格納するキャッシュメモリと、文字や記号のフォント
の要求があったときサイズ判別手段が所定値以上のサイ
ズと判別した文字または記号および所定値内のサイズと
判別しかつキャッシュメモリ内に格納されていない文字
または記号についてはこれらのベクトルデータをラスタ
データに展開して出力し、これ以外についてはキャッシ
ュメモリに格納されているラスタデータを出力するラス
タデータ出力手段とを文字発生装置に具備させる。
According to the second aspect of the present invention, a size determining means for determining a font size of a character or a symbol to be generated, a cache memory for storing a plurality of raster data of the character or the symbol having a size within a predetermined value, When a font is requested, the character or symbol determined by the size determination unit to have a size equal to or larger than the predetermined value and the character or symbol determined to have a size within the predetermined value and not stored in the cache memory are converted to vector data. The character generator is provided with raster data output means for developing raster data and outputting the raster data, and outputting raster data stored in the cache memory otherwise.

そして、請求項2記載の発明では、アウトラインフォ
ントを用いて文字を発生させる場合にあるサイズ以上の
文字については無条件にベクトルデータをラスタデータ
に展開し、これ以外についてはキャッシュメモリに該当
するデータが存在しない場合のみラスタデータに展開す
ることにして、発生させる確率の高い文字についてキャ
ッシュメモリのヒット率を高め、前記した目的を達成す
る。
According to the second aspect of the present invention, when characters are generated using an outline font, vector data is unconditionally developed into raster data for characters having a certain size or more, and data corresponding to a cache memory is stored otherwise. Is developed into raster data only when the character does not exist, the hit rate of the cache memory is increased for characters having a high probability of occurrence, and the object described above is achieved.

「実施例」 以下実施例につき本発明を詳細に説明する。"Example" Hereinafter, the present invention will be described in detail with reference to examples.

第1図は本発明の一実施例における文字発生装置の構
成を表わしたものである。この高品位文字発生回路のシ
ステムデータバス11は、出力しようとする文字のコード
を表わした文字コードや、この回路で展開された後のラ
スタデータ等の転送を行うようになっている。このう
ち、印字の指示された文字を表わした文字コードは、シ
ステムデータバス11から文字コードレジスタ12に格納さ
れる。
FIG. 1 shows the configuration of a character generator according to an embodiment of the present invention. The system data bus 11 of the high-quality character generation circuit transfers a character code representing a code of a character to be output, raster data expanded by this circuit, and the like. Among them, the character code representing the character whose printing is instructed is stored in the character code register 12 from the system data bus 11.

文字コードレジスタ12は文字サイズとの関係から文字
コードを選り分け、所定サイズ未満の文字を発生させる
文字コードの場合には、これをキャッシュタグメモリ14
に格納されている全文字コードと比較回路15で比較す
る。比較回路15が全文字コードのいずれかとの一致を検
出するとキャッシュヒット信号16Aがシステムデータバ
ス11に対して出力される。該当する文字コードが存在せ
ず一致を検出できなかった場合には、キャッシュヒット
ミス信号16Bがシステムデータバス11に対して出力され
る。
The character code register 12 selects a character code from the relationship with the character size. If the character code generates a character smaller than a predetermined size, the character code
Is compared with all the character codes stored in. When the comparison circuit 15 detects a match with any of the character codes, a cache hit signal 16A is output to the system data bus 11. If a match cannot be detected because the corresponding character code does not exist, a cache hit / miss signal 16B is output to the system data bus 11.

キャッシュヒットミス信号16Bが出力された場合に
は、該当する文字コードがバッファアンプ13を介してキ
ャッシュタグメモリ14に格納される。このときの文字コ
ードは、ランダムアドレス発生回路17からランダムに出
力されるタグメモリアドレス18の示す領域に格納され
る。そして、文字発生装置はこの文字コードに相当する
アウトラインフォントを発生させると共に、これをキャ
ッシュメモリ21に格納するための制御を行う。
When the cache hit miss signal 16B is output, the corresponding character code is stored in the cache tag memory 14 via the buffer amplifier 13. The character code at this time is stored in the area indicated by the tag memory address 18 randomly output from the random address generation circuit 17. Then, the character generation device generates an outline font corresponding to the character code and performs control for storing the outline font in the cache memory 21.

すなわち、文字コードレジスタ12に格納されている該
当の文字コードは、この時点で専用のハード回路として
のアウトライン展開用回路22に供給される。アウトライ
ン展開用回路22はベクトルデータとしてのフォントデー
タを格納したフォントデータ記憶部23に接続されてお
り、指定されたフォントを表現するためのベクトルデー
タの展開を行うようになっている。展開されたアウトラ
インを示すアドレス情報24はマルチプレクサ25の一方の
入力となる。このマルチプレクサ25の他方には、システ
ムアドレスバス26からアドレス情報27が供給されるよう
になっている。
That is, the corresponding character code stored in the character code register 12 is supplied to the outline developing circuit 22 as a dedicated hardware circuit at this time. The outline expanding circuit 22 is connected to a font data storage unit 23 storing font data as vector data, and expands vector data for expressing a designated font. The address information 24 indicating the expanded outline is one input of the multiplexer 25. The other end of the multiplexer 25 is supplied with address information 27 from a system address bus 26.

マルチプレクサ25の出力は、フォント展開用メモリ28
に供給される。この際、アウトライン展開用回路22から
供給されたアドレス情報24の場合には、フォント展開用
メモリ28のアドレスを指定しながら該当するフォントの
展開が行われる。このようにしてフォント展開用メモリ
28には複数のフォントのアウトラインが展開される。こ
のフォント展開用メモリ28の内容は、システムアドレス
バス26から供給されたアドレス情報27によって読み出さ
れ、アウトラインフォントデータ29として塗り潰し回路
31に供給される。塗り潰し回路31でアウトラインの内部
の塗り潰しが行われたラスタデータは、システムデータ
バス11を通じて図示しないプリンタに供給される。
The output of the multiplexer 25 is connected to a font development memory 28.
Supplied to At this time, in the case of the address information 24 supplied from the outline expanding circuit 22, the corresponding font is expanded while designating the address of the font expanding memory 28. In this way, the font expansion memory
28 contains outlines of multiple fonts. The contents of the font development memory 28 are read out by the address information 27 supplied from the system address bus 26, and are filled out as outline font data 29.
Supplied to 31. The raster data in which the inside of the outline is filled by the filling circuit 31 is supplied to a printer (not shown) through the system data bus 11.

また、フォント展開用メモリ28から出力されたアウト
ラインフォントデータ29は、前記したキャッシュメモリ
21に供給され、オフセット回路32によってオフセットさ
れたアドレス33を加算して得られた該当領域に文字フォ
ントのアウトラインが描画される。このとき、キャッシ
ュタグメモリ14には前記した文字コードと共にキャッシ
ュメモリ21の格納場所を表わしたオフセット値34が格納
される。このオフセット値34は、オフセット値発生回路
35から出力される。
The outline font data 29 output from the font development memory 28 is stored in the cache memory described above.
The outline of the character font is drawn in the corresponding area obtained by adding the address 33 supplied to the offset circuit 32 and offset by the offset circuit 32. At this time, an offset value 34 indicating the storage location of the cache memory 21 is stored in the cache tag memory 14 together with the above-described character code. This offset value 34 is used as an offset value generation circuit.
Output from 35.

一方、比較回路15からキャッシュヒット信号16Aが出
力された場合には、キャッシュメモリ21に該当する文字
コードのアウトラインフォントが格納されているので、
これを読み出せば足りる。そこで、この場合にはキャッ
シュタグメモリ14の該当する文字コードと共に格納され
ているオフセット値34が読み出され、キャッシュメモリ
21に供給される。キャッシュメモリ21からこれを基にし
て読み出されたアウトラインフォントデータ29は、塗り
潰し回路31に供給されてアウトラインの内部の塗り潰し
が行われ、システムデータバス11を通じて前記したプリ
ンタに供給されることになる。
On the other hand, when the cache hit signal 16A is output from the comparison circuit 15, since the outline font of the corresponding character code is stored in the cache memory 21,
It is enough to read this. Therefore, in this case, the offset value 34 stored together with the corresponding character code in the cache tag memory 14 is read, and
Supplied to 21. The outline font data 29 read out from the cache memory 21 based on the outline font data 29 is supplied to a filling circuit 31, where the inside of the outline is filled, and supplied to the printer via the system data bus 11. .

以上と異なり、文字コードレジスタ12によって所定サ
イズ以上の文字の文字コードであると判別された場合を
説明する。この場合には、その文字コードはアウトライ
ン展開用回路22に直ちに送られ、これを基にして発生し
たアドレス情報24によってフォント展開用メモリ28でア
ウトラインの展開が行われる。この場合にアドレス情報
27によって読み出されフォント展開用メモリ28から出力
されるアウトラインフォントデータ29は、塗り潰し回路
31にのみ供給されるようになっている。すなわち、この
場合には再利用のためにキャッシュメモリ21に格納され
ることはない。
Different from the above, a case where the character code register 12 determines that the character code is a character code of a character having a predetermined size or more will be described. In this case, the character code is immediately sent to the outline developing circuit 22, and the outline is developed in the font developing memory 28 based on the address information 24 generated based on the character code. In this case the address information
The outline font data 29 read out by the font development memory 28 and output from the font development memory 28 is
Only 31 will be supplied. That is, in this case, the data is not stored in the cache memory 21 for reuse.

第2図は、第1図に示した文字発生装置の要部を具体
的に表わしたものである。キャッシュメモリ14には、こ
の図に示したように文字コードとオフセット値がペアに
なって格納されるようになっている。文字コードレジス
タ12に登録された文字コードと、キャッシュタグメモリ
14内の各文字コードとは比較回路15でパラレルに比較さ
れるようになっており、これらの比較結果のオアがとら
れてキャッシュヒット信号16Aまたはキャッシュヒット
ミス信号16Bが出力されるようになっている。キャッシ
ュタグメモリ14に各文字コードと対応して格納されるオ
フセット値34は、オフセット値発生回路35によって与え
られる。
FIG. 2 specifically shows a main part of the character generator shown in FIG. In the cache memory 14, a character code and an offset value are stored as a pair as shown in FIG. Character code registered in character code register 12 and cache tag memory
Each character code in 14 is compared in parallel by a comparison circuit 15, and the OR of these comparison results is taken and a cache hit signal 16A or a cache hit miss signal 16B is output. ing. The offset value 34 stored in the cache tag memory 14 corresponding to each character code is provided by an offset value generation circuit 35.

第3図は、オフセット値発生回路の出力するオフセッ
ト値とキャッシュメモリ上におけるアウトラインフォン
トの記憶領域との関係を表わしたものである。この文字
発生装置では、発生させる文字のうちあるサイズ以内の
もののみをキャッシュメモリ21に格納することにしてい
る。これは、有限な記憶領域を有効に活用するための制
限である。本実施例では縦横共にaビット幅で矩形状に
記憶領域を区分けし、それぞれにa×aサイズ以内の文
字サイズのアウトラインフォントデータを格納するよう
になっている。
FIG. 3 shows the relationship between the offset value output from the offset value generation circuit and the storage area of the outline font on the cache memory. In this character generation device, only characters within a certain size among characters to be generated are stored in the cache memory 21. This is a limitation for effectively using a finite storage area. In the present embodiment, the storage area is divided into a rectangular shape with an a-bit width both vertically and horizontally, and outline font data of a character size within a × a size is stored in each of the storage areas.

この場合に、オフセット値発生回路35は各矩形状の記
憶領域の図で左下隅の座標を表わすオフセット値を出力
することになる。すなわち、まず最初には、キャッシュ
メモリ21の原点(0,0)の座標値がオフセット値として
出力される。2番目には、図でX軸方向にオフセット量
aだけずれた点(a,0)の座標値がオフセット値として
出力される。以下同様にして、3番目の点に対するオフ
セット値は(2a,0)であり、4番目の点に対するオフセ
ット値は(3a,0)である。
In this case, the offset value generating circuit 35 outputs an offset value representing the coordinates of the lower left corner in the figure of each rectangular storage area. That is, first, the coordinate value of the origin (0,0) of the cache memory 21 is output as the offset value. Second, the coordinate value of the point (a, 0) shifted by the offset amount a in the X-axis direction in the figure is output as the offset value. Similarly, the offset value for the third point is (2a, 0), and the offset value for the fourth point is (3a, 0).

このようにしてキャッシュメモリ21のY座標が“0"の
領域がすべて割り当てられたら、オフセット値発生回路
35はX軸の座標値を“0"に戻してY座標に対するオフセ
ット量を“a"だけ加算して同様にオフセット値を順次発
生させる。この場合には、まずオフセット値(0,a)が
出力され、次いでオフセット値(a,a)が出力されるこ
とになる。以下同様にしてキャッシュメモリ21の全域を
区分するようにオフセット値が順次発生することにな
る。
When all the areas where the Y coordinate of the cache memory 21 is “0” are allocated in this manner, the offset value generation circuit
Numeral 35 returns the X-axis coordinate value to "0", adds the offset amount for the Y coordinate by "a", and sequentially generates an offset value in the same manner. In this case, the offset value (0, a) is output first, and then the offset value (a, a) is output. In the same manner, offset values are sequentially generated so as to partition the entire area of the cache memory 21 in the same manner.

オフセット値発生回路35から出力されたオフセット値
34は、前記したオフセット回路32に供給される。オフセ
ット回路32は加算器によって構成されており、第1図の
マルチプレクサ25から出力されるそれぞれのアウトライ
ンについてのX座標アドレスX1、Y座標アドレスY1を基
にしてキャッシュメモリ21に書き込むXアドレスX2およ
びY座標アドレスY2を発生させる。ここで、オフセット
値を(X3,Y3)とすると、XアドレスX2とY座標アドレスY
2とは次の(1)式の関係にある。
Offset value output from offset value generation circuit 35
34 is supplied to the offset circuit 32 described above. The offset circuit 32 is constituted by an adder, and an X address X 1 to be written to the cache memory 21 based on the X coordinate address X 1 and the Y coordinate address Y 1 for each outline output from the multiplexer 25 in FIG. generating a 2 and Y coordinate address Y 2. Here, assuming that the offset value is (X 3 , Y 3 ), the X address X 2 and the Y coordinate address Y
2 has the relationship of the following equation (1).

X2=X1+X3,Y2=Y1+Y3 ……(1) これにより、第3図で示したような区分けされた記憶
領域にそれぞれの文字のアウトラインが展開されること
になる。
X 2 = X 1 + X 3 , Y 2 = Y 1 + Y 3 (1) As a result, the outline of each character is developed in the divided storage area as shown in FIG.

ところで、この文字発生装置で比較回路15から出力さ
れるキャッシュヒットミス信号16Bは、ランダムアドレ
ス発生回路17に供給されるようになっている。ランダム
アドレス発生回路17はキャッシュヒットミス信号16Bの
供給されるためにキャッシュタグメモリ14内のアドレス
をランダムに発生する。この発生したアドレスに対して
新たな文字コードとオフセット値の対が格納される。す
なわち、キャッシュメモリ21内に記憶されるアウトライ
ンフォントデータが、これによって逐次新しいものに交
換されることになる。
By the way, the cache hit / miss signal 16B output from the comparison circuit 15 in this character generation device is supplied to the random address generation circuit 17. The random address generation circuit 17 randomly generates an address in the cache tag memory 14 to receive the cache hit / miss signal 16B. A new character code and offset value pair is stored for the generated address. That is, the outline font data stored in the cache memory 21 is sequentially replaced with new one.

もちろん、ランダムアドレス発生回路17はキャッシュ
タグメモリ14に空領域が存在する場合にはこの空領域を
埋めるようにアドレスを発生させ、空領域が無くなって
からアドレスをランダムに発生させるようなものであっ
てもよい。また、ランダムアドレス発生回路17の代わり
にアドレスを順次一巡するように指定するアドレス発生
回路を用いることも可能である。後者の場合には、その
時点で最も古い内容が新たな内容に置き換えられること
になる。
Of course, the random address generation circuit 17 generates an address so as to fill the empty area when there is an empty area in the cache tag memory 14, and randomly generates an address after the empty area disappears. You may. Further, it is also possible to use an address generating circuit for designating an address to make one round, instead of the random address generating circuit 17. In the latter case, the oldest content at that time will be replaced with new content.

「発明の効果」 以上説明したように、請求項1記載の発明によれば、
一度展開されたラスタデータのフォントサイズが所定値
内であるか否かをサイズ判別手段で判別して、所定値内
であると判別された場合に展開したラスタデータをフォ
ント用キャッシュメモリに格納しておくことにしたの
で、多くの数の文字や記号について次に文字や記号のフ
ォントの要求があったときフォント用キャッシュメモリ
からそれらのラスタデータを読み出して出力することが
でき、フォント用キャッシュメモリの効率的な活用を図
ることができる。
[Effect of the Invention] As described above, according to the invention of claim 1,
Size determination means determines whether the font size of raster data once expanded is within a predetermined value, and stores the raster data expanded in the font cache memory when it is determined that the font size is within the predetermined value. Therefore, when a large number of characters and symbols are requested for the next font, the raster data can be read from the font cache memory and output. Can be used efficiently.

また、請求項2記載の発明によればフォント用キャッ
シュメモリに格納するラスタデータのサイズを制限した
ので、メモリの効率的な活用を行うことができ、比較的
安価な回路構成で高品位文字を高速処理することができ
るという利点がある。
According to the second aspect of the present invention, the size of the raster data stored in the font cache memory is limited, so that the memory can be used efficiently and high-quality characters can be stored with a relatively inexpensive circuit configuration. There is an advantage that high-speed processing can be performed.

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

図面は本発明の一実施例を説明するためのもので、この
うち第1図は文字発生装置の回路構成を示すブロック
図、第2図はこの装置の要部を具体的に表わしたブロッ
ク図、第3図はキャッシュメモリ内の文字ごとの記憶領
域とオフセット値との関係を示す説明図である。 12……文字コードレジスタ、14……キャッシュタグメモ
リ、15……比較回路、21……キャッシュメモリ、23……
フォントデータ記憶部、28……フォント展開用メモリ、
32……オフセット回路、35……オフセット値発生回路。
1 is a block diagram showing a circuit configuration of a character generator, and FIG. 2 is a block diagram specifically showing a main part of the device. FIG. 3 is an explanatory diagram showing the relationship between the storage area for each character in the cache memory and the offset value. 12 ... Character code register, 14 ... Cache tag memory, 15 ... Comparison circuit, 21 ... Cache memory, 23 ...
Font data storage unit, 28 ... Font expansion memory,
32 ... Offset circuit, 35 ... Offset value generation circuit.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G09G 5/22 - 5/32 G06F 17/20 - 17/21 G06F 3/14 - 3/153 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 6 , DB name) G09G 5/22-5/32 G06F 17/20-17/21 G06F 3/14-3/153

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】文字や記号のフォントを表わすベクトルデ
ータをラスタデータに展開する展開手段と、 この展開手段により展開されたラスタデータのフォント
サイズが所定値内であるか否かを判別するサイズ判別手
段と、 このサイズ判別手段によりフォントサイズが所定値内で
あると判別された場合に展開した前記ラスタデータを格
納するフォント用キャッシュメモリと、 文字や記号のフォントの要求があったときそのラスタデ
ータがこのフォント用キャッシュメモリに格納されてい
るときにはラスタデータをこのフォント用キャッシュメ
モリから読み出して出力する出力手段 とを具備することを特徴とする文字発生装置。
A developing means for developing vector data representing a font of characters or symbols into raster data; and a size discriminating means for judging whether or not the font size of the raster data developed by the developing means is within a predetermined value. Means; a font cache memory for storing the raster data expanded when the font size is determined to be within a predetermined value by the size determining means; and a raster data when a font for characters or symbols is requested. Output means for reading and outputting raster data from the font cache memory when the font data is stored in the font cache memory.
【請求項2】発生させる文字や記号のフォントのサイズ
を判別するサイズ判別手段と、 所定値内のサイズの文字または記号についてのラスタデ
ータを複数格納するキャッシュメモリと、 文字や記号のフォントの要求があったとき前記サイズ判
別手段が所定値以上のサイズと判別した文字または記号
および所定値内のサイズと判別しかつ前記キャッシュメ
モリ内に格納されていない文字または記号についてはこ
れらのベクトルデータをラスタデータに展開して出力
し、これ以外については前記キャッシュメモリに格納さ
れているラスタデータを出力するラスタデータ出力手段 とを具備することを特徴とする文字発生装置。
2. A size discriminating means for discriminating a font size of a character or a symbol to be generated, a cache memory for storing a plurality of raster data for a character or a symbol having a size within a predetermined value, and a request for a font of a character or a symbol. When there is a character or symbol determined by the size determination means to be a size equal to or larger than a predetermined value, and for a character or symbol not stored in the cache memory, these vector data are rasterized. And a raster data output means for outputting raster data stored in the cache memory after outputting the raster data.
JP2128585A 1990-05-18 1990-05-18 Character generator Expired - Fee Related JP2910154B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2128585A JP2910154B2 (en) 1990-05-18 1990-05-18 Character generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2128585A JP2910154B2 (en) 1990-05-18 1990-05-18 Character generator

Publications (2)

Publication Number Publication Date
JPH0422994A JPH0422994A (en) 1992-01-27
JP2910154B2 true JP2910154B2 (en) 1999-06-23

Family

ID=14988394

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2128585A Expired - Fee Related JP2910154B2 (en) 1990-05-18 1990-05-18 Character generator

Country Status (1)

Country Link
JP (1) JP2910154B2 (en)

Also Published As

Publication number Publication date
JPH0422994A (en) 1992-01-27

Similar Documents

Publication Publication Date Title
JP3009525B2 (en) Vector image drawing equipment
JP2866153B2 (en) Character processing apparatus and method
JP2910154B2 (en) Character generator
KR970071323A (en) Graphics subsystem
JP3054157B2 (en) Character processing device and character processing method
JP3242435B2 (en) Image drawing device
JP2782798B2 (en) Image output device
JP2773458B2 (en) Vector controller
JP2710131B2 (en) Character processing apparatus and method
JP2907826B2 (en) Character font management device
JP2737880B2 (en) Character processing apparatus and method
JP2710140B2 (en) Output control device
JP3121124B2 (en) Pattern generator and control method thereof
JP3365068B2 (en) Image processing device
JP3571119B2 (en) Image drawing device
JP2808105B2 (en) Font drawing device
JPS63243990A (en) Character transmission system
JPS60132271A (en) Paint-out processing system
JPH06183093A (en) Printing equipment
JPH05127656A (en) Character processor
JPH10188022A (en) Image processing method, its device and storage medium storing program executing the method
JPH02241267A (en) Picture information processor
JPH06332436A (en) Transfer device for bit map data
JP2001013954A (en) Plotting device and method therefor, and recording medium
JPH11198465A (en) Character output device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080409

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090409

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100409

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees