JPH06183074A - Character processing device - Google Patents

Character processing device

Info

Publication number
JPH06183074A
JPH06183074A JP4353892A JP35389292A JPH06183074A JP H06183074 A JPH06183074 A JP H06183074A JP 4353892 A JP4353892 A JP 4353892A JP 35389292 A JP35389292 A JP 35389292A JP H06183074 A JPH06183074 A JP H06183074A
Authority
JP
Japan
Prior art keywords
character
cache memory
font cache
registered
font
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
JP4353892A
Other languages
Japanese (ja)
Inventor
Yozo Kashima
洋三 鹿島
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 JP4353892A priority Critical patent/JPH06183074A/en
Publication of JPH06183074A publication Critical patent/JPH06183074A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To improve processing speed in a character processing device which utilizes a font cache memory. CONSTITUTION:In a font cache memory 300, diagram data such as characters are registered as dot pattern. A registration/un-registration determining means 100 determines whether an output request character is being registered in the font cache memory 300 or not. When it is being registered, a first read means 200A is started. When it is unregistered, a second read means 200B is started. The first read means 200A reads out, from the font cache memory 300, an 'identical character' which coincides with the output request character in kind of character, size of character, and typestyle. The second read means 200B reads out a 'similar character' with which only kind of character and size of character coincide.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は文字処理装置に係り、特
に、ベクトル形式で表された文字等の図形データ(ベク
トルフォント)をドット形式のデータに展開して登録す
るフォントキャッシュメモリを備えた文字処理装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character processing device, and more particularly, to a character cache device for expanding graphic data (vector font) of characters or the like expressed in vector format into dot format data and registering the data. It relates to a character processing device.

【0002】[0002]

【従来の技術】ベクトル形式で表された文字データを用
いると高品質な文字が得られるという利点があるが、一
方では、ドット形式の文字データに展開するのに時間が
かかるという問題がある。
2. Description of the Related Art Using character data represented in a vector format has an advantage that high quality characters can be obtained, but on the other hand, there is a problem that it takes time to develop the character data in dot format.

【0003】この問題を解決するために、一度展開した
ドット形式の文字データをフォントキャッシュメモリに
登録しておき、後に同じ文字が要求された時には、フォ
ントキャッシュメモリ中のデータを再利用し、高速に文
書を出力するという技術が開発され、例えば、情報処理
学会論文誌Vol.31、No.1において、『高品位日
本語文字高速出力方式』として論じられている。
In order to solve this problem, once expanded dot format character data is registered in the font cache memory, and when the same character is requested later, the data in the font cache memory is reused and high speed is achieved. A technique of outputting a document to a computer has been developed. For example, the IPSJ journal Vol. 31, No. 1, it is discussed as "high-quality Japanese character high-speed output method".

【0004】なお、フォントキャッシュメモリの記憶領
域は有限であるため、使われなくなったドットデータは
追い出して、新しいドットデータを格納するという、ド
ットデータの入替えを行わなければならない。
Since the storage area of the font cache memory is limited, it is necessary to replace the dot data by expelling the unused dot data and storing new dot data.

【0005】従来は、どのドットデータが必要でないか
を判定するために、FIFO方式、LRU方式などの方
式が一般的に使用されている。
Conventionally, methods such as the FIFO method and the LRU method have been generally used to determine which dot data is not required.

【0006】FIFO(First in First out) 方式フォ
ントキャッシュは、フォントキャッシュメモリに格納さ
れた時刻の古いものから先に追い出していく方式であ
る。
The FIFO (First in First Out) type font cache is a system in which the oldest one stored in the font cache memory is flushed first.

【0007】一方、LRU(Least Recentry Used) 方式
フォントキャッシュは、フォントキャッシュメモリに格
納されているもののうち、使用された時刻の古いものか
ら先に追い出していく方式である。
[0007] On the other hand, the LRU (Least Recentry Used) font cache is a method in which, of the fonts stored in the font cache memory, the one with the oldest used time is expelled first.

【0008】[0008]

【発明が解決しようとする課題】上記したフォントキャ
ッシュメモリを備えた文字処理装置では、常に高品位の
文字が得られる反面、初めて表れた文字についてはベク
トルフォントから展開しなければならないために展開時
間が必要となる。
In the character processing device having the font cache memory described above, high-quality characters can always be obtained, but since the characters that appear for the first time must be expanded from the vector font, the expansion time is increased. Is required.

【0009】一方、文書のレイアウトを行う場合や、出
力する文書が正式なものではない場合等、文字の品位よ
りも処理速度を優先させたい場合がある。このような場
合、出力要求のあった文字と実際に出力する文字とは、
とりあえず文字種(文字コード)さえ一致していれば、
書体(明朝体、ゴシック体等)が一致していなくても特
に問題はない。
On the other hand, there are cases where it is desired to give priority to the processing speed over the quality of characters, such as when laying out a document or when an output document is not an official document. In such a case, the character requested to be output and the character actually output are
For the time being, if the character types (character codes) match,
There is no particular problem even if the typefaces (Mincho, Gothic, etc.) do not match.

【0010】ところが、上記した従来技術では、文字
種、文字サイズ、書体のいずれもが出力要求文字と一致
していないと、フォントキャッシュメモリから読み出す
ことができないので、高速処理が難しいという問題があ
った。
However, in the above-mentioned conventional technique, if none of the character type, character size, and typeface matches the output request character, the character cannot be read from the font cache memory, which makes high-speed processing difficult. .

【0011】本発明の目的は、上記した従来技術の問題
点を解決し、フォントキャッシュメモリの利用した文字
処理装置の処理速度を更に向上することにある。
An object of the present invention is to solve the above-mentioned problems of the prior art and to further improve the processing speed of a character processing device using a font cache memory.

【0012】[0012]

【課題を解決するための手段】上記した目的を達成する
ために、本発明では、ベクトルフォントをドット形式の
データに展開して登録するフォントキャッシュメモリを
備えた文字処理装置において、出力要求文字と同一文字
がフォントキャッシュメモリに既登録であるか否かを判
定する既登録/未登録判定手段と、既登録であると、前
記同一文字をフォントキャッシュメモリから読み出す第
1の読出手段と、未登録であると、前記出力要求文字と
類似した文字をフォントキャッシュメモリから読み出す
第2の読出手段とを具備した。
In order to achieve the above object, according to the present invention, in a character processing device having a font cache memory for expanding and registering a vector font in dot format data, an output request character Registered / unregistered determining means for determining whether or not the same character is already registered in the font cache memory; and, if already registered, first reading means for reading the same character from the font cache memory, and unregistered. Then, the second read means for reading a character similar to the output request character from the font cache memory is provided.

【0013】[0013]

【作用】 上記した構成によれば、出力要求文字と完全
に一致した文字がフォントキャッシュメモリに登録され
ていない場合でも、これと類似した文字が第2の読出手
段によって代わりに読み出されるので、類似した文字が
登録されていれば展開処理が不要となって処理速度が向
上する。
According to the above configuration, even if a character that completely matches the output request character is not registered in the font cache memory, a character similar to this is read instead by the second reading means, so that the similar character is obtained. If the characters are registered, the expansion processing is unnecessary and the processing speed is improved.

【0014】[0014]

【実施例】以下に、図面を参照して、本発明を詳細に説
明する。図1は、本発明の第1実施例の機能を説明する
ためのブロック図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below with reference to the drawings. FIG. 1 is a block diagram for explaining the function of the first embodiment of the present invention.

【0015】フォントキャッシュメモリ300には、ベ
クトルフォントから展開された文字等図形データがドッ
トパターンとして多数登録されている。既登録/未登録
判定手段100は、出力要求文字がフォントキャッシュ
メモリ300に既登録であるか未登録であるかを判定
し、既登録であると第1の読出手段200Aを起動し、
未登録であると第2の読出手段200Bを起動する。
In the font cache memory 300, a large number of graphic data such as characters developed from vector fonts are registered as dot patterns. The registered / unregistered determining unit 100 determines whether the output request character is already registered or unregistered in the font cache memory 300, and if it is already registered, the first reading unit 200A is activated,
If it is not registered, the second reading means 200B is activated.

【0016】第1の読出手段200Aは、文字種(文字
コード)、文字サイズ、書体のいずれもが前記出力要求
文字と一致する『同一文字』をフォントキャッシュメモ
リ300から読み出して出力する。
The first reading means 200A reads the "same character" whose character type (character code), character size, and typeface all match the output request character from the font cache memory 300 and outputs it.

【0017】第2の読出手段200Bは、文字種および
文字サイズが出力要求文字と一致し、書体のみが異なる
『類似文字』をフォントキャッシュメモリ300から読
み出して出力する。
The second reading means 200B reads "similar characters" whose character type and character size are the same as those of the output request character and differs only in the typeface from the font cache memory 300 and outputs them.

【0018】上記した構成によれば、出力要求文字と完
全に一致した文字がフォントキャッシュメモリ300に
登録されていなくても、これと類似した文字が第2の読
出手段200Bによって代わりに読み出されるので、類
似した文字が登録されていれば展開処理が不要となって
処理速度を向上させることができる。
According to the above configuration, even if a character that exactly matches the output request character is not registered in the font cache memory 300, a character similar to this is read by the second reading means 200B instead. If similar characters are registered, the expansion process becomes unnecessary and the processing speed can be improved.

【0019】図4は、本発明の一実施例の文字処理装置
(プリンタ装置)のハード構成を示すブロック図であ
る。
FIG. 4 is a block diagram showing the hardware arrangement of a character processing apparatus (printer apparatus) according to an embodiment of the present invention.

【0020】図において、ROM2には、当該文字処理
装置の全体の動作を制御するプログラム、フォントキャ
ッシュメモリ8を制御するプログラム、電源を入れた直
後のプリンタの動作を規定するプログラム、出力要求文
字がフォントキャッシュメモリ8に既登録であるか否か
を判定するためのプログラム等が格納されている。RA
M3は、CPU1のスタックの退避エリア等に使用され
る。
In the figure, the ROM 2 stores a program for controlling the overall operation of the character processing device, a program for controlling the font cache memory 8, a program for defining the operation of the printer immediately after the power is turned on, and an output request character. The font cache memory 8 stores a program for determining whether or not the font cache memory 8 is already registered. RA
M3 is used as a save area for the stack of the CPU 1.

【0021】CPU1は、プリンタインタフェイス4を
通じて、プリンタエンジン5に命令やイメージデータを
送信し、逆に、プリンタエンジン5は、該プリンタイン
タフェイス4を通じて、プリンタエンジン5内部の状態
をCPU1に送信する。プリンタエンジン5は、プリン
タインタフェイス4を通じて送信されたイメージデータ
を、実際に紙に印字する。
The CPU 1 sends commands and image data to the printer engine 5 through the printer interface 4, and conversely, the printer engine 5 sends the internal state of the printer engine 5 to the CPU 1 through the printer interface 4. . The printer engine 5 actually prints the image data transmitted through the printer interface 4 on paper.

【0022】前記CPU1は、ホストインタフェイス7
を介して、ホストワークステーション6から印字すべき
文書のデータやプリント制御命令等を受取り、それらを
もとに、ベクトルフォントメモリ9に記憶されたベクト
ル形式のデータをドット形式のデータに展開してページ
メモリ10に1ページ分のビットマップイメージを形成
し、プリンタエンジン5に送出するという動作を制御す
る。
The CPU 1 has a host interface 7
Via the host workstation 6 to receive document data to be printed, print control commands, etc., and based on them, the vector format data stored in the vector font memory 9 is expanded into dot format data. The operation of forming a bitmap image for one page in the page memory 10 and sending it to the printer engine 5 is controlled.

【0023】次に、前記ホストワークステーション6か
らCPU1が受取る文書データの構成の一例を、図3を
参照して説明する。
Next, an example of the structure of the document data received by the CPU 1 from the host workstation 6 will be described with reference to FIG.

【0024】文書データ1ページ分の構成は、位置指定
命令と、文書の内容である一字々々に対する命令と、ペ
ージ印刷命令等からなっている。位置指令命令は文書の
一字目の印字位置を指示する命令である。前記一字々々
に対する命令は、フォント設定命令、文字印字命令等か
らなっている。また、ページ印刷命令は、文書データの
各ページの末尾に設けられている。なお、図3には、本
発明の動作と関係する命令のみが記されており、他の命
令の記載は省略されている。
The structure of one page of document data is made up of a position designation command, a command for each character of the document, a page print command, and the like. The position command command is a command for instructing the print position of the first character of the document. The commands for each of the characters include a font setting command, a character printing command, and the like. The page print command is provided at the end of each page of document data. It should be noted that FIG. 3 shows only the instructions related to the operation of the present invention, and the description of other instructions is omitted.

【0025】次に、図5、図6に示されているフローチ
ャート、および図3の文書データを参照して、本実施例
の動作を詳細に説明する。
Next, the operation of this embodiment will be described in detail with reference to the flowcharts shown in FIGS. 5 and 6 and the document data shown in FIG.

【0026】図5のステップS1において、CPU1
は、まずホストコンピュータ1から文書データを受取
る。該文書データはRAM3に保存される。
In step S1 of FIG. 5, the CPU1
First receives document data from the host computer 1. The document data is stored in the RAM 3.

【0027】ステップS2では、オペレータが動作モー
ドを設定する。本実施例では、文字種、文字サイズ、書
体のいずれもが出力要求文字と一致している文字のみを
フォントキャッシュメモリ8から読み出す標準モード
と、文字種およびサイズが一致していれば書体の不一致
は無視するプレビューモードとが用意されている。
In step S2, the operator sets the operation mode. In the present embodiment, if the character type and size match, the standard mode for reading from the font cache memory 8 only the characters whose character type, character size, and typeface all match the output request character, and the font type mismatch is ignored. There is a preview mode to use.

【0028】動作モードの設定が完了すると、次に、ス
テップS3へ進んで、CPU1は、文書データをビット
マップイメージに展開する処理を実行する。展開処理の
一例を、図6のフローチャートを参照して説明する。
When the setting of the operation mode is completed, the process proceeds to step S3, and the CPU 1 executes the process of developing the document data into a bit map image. An example of the expansion processing will be described with reference to the flowchart in FIG.

【0029】展開処理がスタートと、図6のステップS
302において1命令が読み込まれ、初めは位置指定命
令が入力されるので、ステップS303の判断は否定に
なり、ステップS305では、フォント設定命令である
か否かの判断がなされる。
When the expansion process starts, step S in FIG.
One instruction is read in 302 and a position designation instruction is input at first, so the determination in step S303 is negative, and in step S305, it is determined whether or not it is a font setting instruction.

【0030】この判断が否定になると、ステップS30
7では、文字印字命令か否かの判断がなされる。本実施
例ではこの判断も否定となり、ステップS309へ進ん
で当該命令に応答した処理が実行され、その後、ステッ
プS302へ戻って次の1命令が入力される。
If this judgment is negative, step S30
At 7, it is determined whether the command is a character print command. In the present embodiment, this determination is also negative, the process proceeds to step S309 to execute the process in response to the command, and then returns to step S302 to input the next one command.

【0031】図3から明らかなように、今度はフォント
設定命令(12ポ、明朝体)が入力されるので、ステッ
プS303の判断が再び否定になってステップS305
へ進む。今度はステップS305の判断が肯定となるの
でステップS306に進み、カレント・フォントが更新
される。すなわち、本例では、カレント・フォント(文
字サイズおよび書体)が「12ポ、明朝体」に設定され
る。
As is apparent from FIG. 3, since the font setting command (12-po, Mincho type) is input this time, the determination at step S303 becomes negative and step S305.
Go to. This time, the determination in step S305 is affirmative, so the flow advances to step S306 to update the current font. That is, in this example, the current font (character size and typeface) is set to "12-po, Mincho-type."

【0032】ステップS306の処理が終わると再びス
テップS302に戻り、次の1命令が入力される。本例
では、文字印字命令(あ)が入力される。このため、ス
テップS302に続くステップS303、S305の各
判断は否定となり、ステップS307の判断が肯定とな
ってステップS308へ進む。
When the process of step S306 is completed, the process returns to step S302 again, and the next one command is input. In this example, a character print command (A) is input. Therefore, the determinations of steps S303 and S305 following step S302 are negative, and the determination of step S307 is affirmative, and the process proceeds to step S308.

【0033】ステップS308では、文字コードならび
にカレントフォントの書体および文字サイズをキーにし
てフォントキャッシュメモリ(FCM)8が検索され、
ステップS310では、当該文字に関するドットデータ
がフォントキャッシュメモリ8に登録されているか否か
の判断が行われる。登録されていると、ステップS31
8において当該ドットデータがフォントキャッシュメモ
リ8からページメモリ10へ出力される。
In step S308, the font cache memory (FCM) 8 is searched by using the character code and the font and character size of the current font as keys.
In step S310, it is determined whether or not the dot data relating to the character is registered in the font cache memory 8. If registered, step S31
At 8, the dot data is output from the font cache memory 8 to the page memory 10.

【0034】一方、登録されていないと、ステップS3
11では現在の動作モードが判定され、前記標準モード
が設定されていると、ステップS315では、フォント
キャッシュメモリ8に登録可能か否かが判断される。登
録不可能であると、ステップS316では、LRU方式
によりフォントキャッシュメモリ8に登録されたドット
データが選択的に削除され、登録できるようになると、
ステップS317では、当該文字に応答したベクトルフ
ォントがドットデータに展開されてフォントキャッシュ
メモリ8に登録される。ステップS318では、当該ド
ットデータがフォントキャッシュメモリ8からページメ
モリ10へ出力される。
On the other hand, if not registered, step S3.
In 11, the current operation mode is determined, and if the standard mode is set, then in step S315, it is determined whether registration in the font cache memory 8 is possible. If registration is not possible, in step S316, the dot data registered in the font cache memory 8 by the LRU method is selectively deleted, and registration becomes possible.
In step S317, the vector font corresponding to the character is expanded into dot data and registered in the font cache memory 8. In step S318, the dot data is output from the font cache memory 8 to the page memory 10.

【0035】一方、前記ステップS311においてプレ
ビューモードであると判定されると、ステップS312
〜S319では、当該文字に類似した文字を出力する処
理が実行される。
On the other hand, if it is determined in step S311 that the preview mode is set, step S312 is executed.
At S319, a process of outputting a character similar to the character is executed.

【0036】ステップS312では、文字コードおよび
文字サイズのみをキーにしてフォントキャッシュメモリ
8が検索される。ステップS313において、フォント
キャッシュメモリ8に登録されていないと判断される
と、当該処理は前記ステップS315へジャンプする。
また、登録されていると判断されると、ステップS31
9では、検索された類似文字のドットデータがフォント
キャッシュメモリ8からページメモリ10へ出力され
る。
In step S312, the font cache memory 8 is searched using only the character code and the character size as keys. If it is determined in step S313 that the font cache memory 8 is not registered, the process jumps to step S315.
Further, if it is determined that it is registered, step S31
In 9, the dot data of the retrieved similar character is output from the font cache memory 8 to the page memory 10.

【0037】その後、ページ印刷命令が読み込まれる
と、ステップS303が肯定となってメインルーチンの
ステップS4へ進む。ステップS4、S5では、CPU
1が1ページ分のビットマップイメージを、ページメモ
リ10からプリンタインタフェース4を介してプリンタ
エンジン5に送り、記録紙への印字が実行される。
Thereafter, when the page print command is read, step S303 becomes affirmative and the process proceeds to step S4 of the main routine. In steps S4 and S5, the CPU
1 sends a bitmap image for one page from the page memory 10 to the printer engine 5 via the printer interface 4, and printing on the recording paper is executed.

【0038】本実施例によれば、文書のレイアウトを行
う場合や、出力する文書が正式なものではない場合等、
文字の品位が多少劣っても高速処理を望むプレビューモ
ード下では、要求文字がフォントキャッシュメモリに登
録されていないと、当該文字と書体が異なるが文字コー
ドおよびサイズが一致する『類似文字』で代用するよう
にしたので、展開時間が不要となって高速処理が可能に
なる。
According to the present embodiment, when the document is laid out, the output document is not an official document, etc.
In preview mode, which requires high-speed processing even if the character quality is slightly inferior, if the requested character is not registered in the font cache memory, "similar character", which has a different typeface and character code and size, is used instead. Since this is done, the expansion time is unnecessary and high-speed processing becomes possible.

【0039】ところで、上記した第1実施例では、プレ
ビューモード下では文字コードおよび文字サイズをキー
にしてフォントキャッシュメモリ8から類似文字を検索
するものとして説明したが、以下に説明する本発明の第
2実施例では、文字コードのみをキーにして類似文字を
検索するようにしている。
By the way, in the above-described first embodiment, it is explained that the similar character is retrieved from the font cache memory 8 by using the character code and the character size as keys in the preview mode. In the second embodiment, similar characters are searched using only the character code as a key.

【0040】図2は、本発明の第2実施例の機能を説明
するためのブロック図であり、前記と同一の符号は同一
または同等部分を表している。
FIG. 2 is a block diagram for explaining the function of the second embodiment of the present invention, in which the same symbols as those used above represent the same or equivalent portions.

【0041】同図において、第3の読出手段200C
は、出力要求文字と文字種が一致し、少なくともサイズ
が異なる『類似文字』をフォントキャッシュメモリ30
0から読み出して出力する。近似手段400は、前記読
み出された類似文字を出力要求文字に合わせて拡大また
は縮小し、類似文字のサイズを出力要求文字のサイズと
略一致させて両者を近似させる。
In the figure, third reading means 200C
Is the same as the output request character, and at least "similar characters" having different sizes are set in the font cache memory 30.
Read from 0 and output. The approximating means 400 enlarges or reduces the read similar character in accordance with the output request character, and makes the size of the similar character approximately equal to the size of the output request character to approximate both.

【0042】図7は、本発明の第2実施例による展開処
理を説明するためのフローチャートであり、前記図6に
関して説明した処理と同一の符号を付したステップで
は、同一または同等の処理が実行されるので、その説明
は省略する。
FIG. 7 is a flow chart for explaining the expansion processing according to the second embodiment of the present invention. In the steps denoted by the same reference numerals as the processing described with reference to FIG. 6, the same or equivalent processing is executed. Therefore, the description thereof will be omitted.

【0043】ステップS311において、プレビューモ
ードが設定されていると判断されると、ステップS31
2aでは、文字コードをキーにしてフォントキャッシュ
メモリ8が検索される.ステップS313において、文
字コードが一致する文字が登録されていると判断される
と、ステップS314では、要求されている文字のサイ
ズに応じて当該文字が拡大または縮小される。
If it is determined in step S311 that the preview mode is set, step S31
In 2a, the font cache memory 8 is searched using the character code as a key. When it is determined in step S313 that a character having the same character code is registered, in step S314, the character is enlarged or reduced according to the requested character size.

【0044】本実施例によれば、文字の品位が多少劣っ
ても高速処理を望むプレビューモード下では、要求文字
がフォントキャッシュメモリに登録されていないと、当
該文字とサイズが異なるが文字コードが一致する文字を
読み出し、これを出力要求文字のサイズに合わせて拡大
または縮小するようにしたので、文字コードは一致する
がサイズの異なる文字しか登録されていない場合でも、
展開時間が不要となって高速処理が可能になる。
According to this embodiment, under the preview mode in which high-speed processing is desired even if the character quality is slightly inferior, if the requested character is not registered in the font cache memory, the character code is different from the character size but the character code is different. Since the matching character is read and it is enlarged or reduced according to the size of the output request character, even if the character code matches but only the characters of different sizes are registered,
High-speed processing is possible because the expansion time is unnecessary.

【0045】[0045]

【発明の効果】上記したように、本発明によれば、次の
ような効果が達成される。 (1) 文書のレイアウトを行う場合等、文字の品位が多少
劣っても高速処理を望む場合には、要求文字がフォント
キャッシュメモリに登録されていなくても当該文字と文
字コードおよびサイズが一致する『類似文字』を読み出
し、これで代用するようにしたので、展開時間が不要と
なって高速処理が可能になる。 (2) 文字の品位が多少劣っても高速処理を望む場合に
は、要求文字がフォントキャッシュメモリに登録されて
いなくても当該文字と文字コードが一致する『類似文
字』を読み出し、これを要求文字のサイズに合わせて拡
大または縮小して代用するようにしたので、文字コード
は一致するがサイズの異なる文字しか登録されていない
場合でも、展開時間が不要となって高速処理が可能にな
る。
As described above, according to the present invention, the following effects can be achieved. (1) If you want to perform high-speed processing even if the character quality is somewhat inferior, such as when laying out a document, even if the requested character is not registered in the font cache memory, the character and character code and size match. Since "similar characters" are read out and used as a substitute, the expansion time is unnecessary and high-speed processing is possible. (2) If you want high-speed processing even if the character quality is slightly inferior, even if the requested character is not registered in the font cache memory, read out "similar character" whose character code matches the character code and request it. Since the characters are enlarged or reduced according to the size of the character to be used instead, even when only characters having the same character code but different sizes are registered, the expansion time becomes unnecessary and high-speed processing becomes possible.

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

【図1】 本発明の第1実施例の機能ブロック図であ
る。
FIG. 1 is a functional block diagram of a first embodiment of the present invention.

【図2】 本発明の第2実施例の機能ブロック図であ
る。
FIG. 2 is a functional block diagram of a second embodiment of the present invention.

【図3】 文書データの概要を示す図である。FIG. 3 is a diagram showing an outline of document data.

【図4】 本発明の一実施例の文書処理装置のブロック
図である。
FIG. 4 is a block diagram of a document processing apparatus according to an embodiment of the present invention.

【図5】 本発明の第1実施例の動作を示したフローチ
ャートである。
FIG. 5 is a flowchart showing the operation of the first exemplary embodiment of the present invention.

【図6】 図5のステップS3の詳細を示すフローチャ
ートである。
FIG. 6 is a flowchart showing details of step S3 in FIG.

【図7】 本発明の第2実施例の動作を示したフローチ
ャートである。
FIG. 7 is a flowchart showing the operation of the second exemplary embodiment of the present invention.

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

1…CPU、2…ROM、3…RAM、4…プリンタI
/F、5…プリンタエンジン、6…ホストW/S、7…
ホストI/F、8、500…フォントキャッシュメモ
リ、9…ベクトルフォントメモリ、10…ページメモ
リ、100…既登録/未登録判定手段、200A…第1
の読出手段、200B…第2の読出手段、200C…第
3の読出手段、300…フォントキャッシュメモリ、4
00…近似手段
1 ... CPU, 2 ... ROM, 3 ... RAM, 4 ... Printer I
/ F, 5 ... Printer engine, 6 ... Host W / S, 7 ...
Host I / F, 8, 500 ... Font cache memory, 9 ... Vector font memory, 10 ... Page memory, 100 ... Registered / unregistered determination means, 200A ... First
Reading means, 200B ... second reading means, 200C ... third reading means, 300 ... font cache memory, 4
00 ... approximating means

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 ベクトルフォントをドット形式のデータ
に展開して登録するフォントキャッシュメモリを備え、
既登録データは改めて展開することなくフォントキャッ
シュメモリから読み出す文字処理装置において、 出力要求文字と同一文字がフォントキャッシュメモリに
既登録であるか否かを判定する既登録/未登録判定手段
と、 既登録であると、前記同一文字をフォントキャッシュメ
モリから読み出す第1の読出手段と、 未登録であると、前記出力要求文字と類似した文字をフ
ォントキャッシュメモリから読み出す第2の読出手段と
を具備したことを特徴とする文字処理装置。
1. A font cache memory for expanding and registering a vector font in dot format data,
In a character processing device that reads registered data from the font cache memory without expanding it again, a registered / unregistered determining unit that determines whether or not the same character as the output request character is already registered in the font cache memory; If the character string is registered, the same character is read from the font cache memory, and if the character string is not registered, the character similar to the output request character is read from the font cache memory. A character processing device characterized by the above.
【請求項2】 前記読み出された類似文字を出力要求文
字に近似させる近似手段をさらに具備したことを特徴と
する請求項1記載の文字処理装置。
2. The character processing apparatus according to claim 1, further comprising an approximation unit that approximates the read similar character to an output request character.
【請求項3】 前記近似手段は、出力要求文字のサイズ
に合わせて類似文字を拡大ないしは縮小するようにした
ことを特徴とする請求項2記載の文字処理装置。
3. The character processing device according to claim 2, wherein the approximating means enlarges or reduces the similar character in accordance with the size of the output request character.
JP4353892A 1992-12-16 1992-12-16 Character processing device Pending JPH06183074A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4353892A JPH06183074A (en) 1992-12-16 1992-12-16 Character processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4353892A JPH06183074A (en) 1992-12-16 1992-12-16 Character processing device

Publications (1)

Publication Number Publication Date
JPH06183074A true JPH06183074A (en) 1994-07-05

Family

ID=18433926

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4353892A Pending JPH06183074A (en) 1992-12-16 1992-12-16 Character processing device

Country Status (1)

Country Link
JP (1) JPH06183074A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011194859A (en) * 2010-03-24 2011-10-06 Kyocera Mita Corp Image output device and image output program
JP2012003158A (en) * 2010-06-18 2012-01-05 Kyocera Mita Corp Image output device and image output program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011194859A (en) * 2010-03-24 2011-10-06 Kyocera Mita Corp Image output device and image output program
JP2012003158A (en) * 2010-06-18 2012-01-05 Kyocera Mita Corp Image output device and image output program

Similar Documents

Publication Publication Date Title
US5740335A (en) Method and device for transmitting and processing print data used for printer
JP2844575B2 (en) Printing equipment
US5481367A (en) Printing apparatus capable of changing print format
JPH0916149A (en) Character processor, character processing method, and memory
JPH06183074A (en) Character processing device
JPS59201870A (en) Printer
JP2744025B2 (en) Printing control device
JP3046478B2 (en) Printing apparatus and printing method
JP3122567B2 (en) Image recording apparatus and control method thereof
JP2728916B2 (en) Character processing apparatus and method
JP3119004B2 (en) Character processor
JPH06183062A (en) Character processing device
JPH11115257A (en) Image-forming system
JPH10326166A (en) Printer device
JPH05201075A (en) Page printer device
JPH06155808A (en) Printing control device and print control method
JPH08230254A (en) Printer
JPH08328782A (en) Information processor, information processing method, printer, control method therefor, printing system and control method therefor
JP2000168150A (en) Image data-forming apparatus
JPH08282024A (en) Printing device
JPS63242561A (en) Font reducing system
JPH08290625A (en) Print controller
JPH08132703A (en) Method and device for outputting character
JPH0321468A (en) Printer controller
JPH06183076A (en) Character processing device