JPH03132696A - Character processor - Google Patents

Character processor

Info

Publication number
JPH03132696A
JPH03132696A JP1269230A JP26923089A JPH03132696A JP H03132696 A JPH03132696 A JP H03132696A JP 1269230 A JP1269230 A JP 1269230A JP 26923089 A JP26923089 A JP 26923089A JP H03132696 A JPH03132696 A JP H03132696A
Authority
JP
Japan
Prior art keywords
dot pattern
font
character
information
information part
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.)
Granted
Application number
JP1269230A
Other languages
Japanese (ja)
Other versions
JP3054157B2 (en
Inventor
Akio Sugaya
章男 菅谷
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP1269230A priority Critical patent/JP3054157B2/en
Publication of JPH03132696A publication Critical patent/JPH03132696A/en
Application granted granted Critical
Publication of JP3054157B2 publication Critical patent/JP3054157B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Dot-Matrix Printers And Others (AREA)

Abstract

PURPOSE:To reduce the capacity of cache memory and to contrive the acceleration of character generating processing by reading out a dot pattern font in accordance with the compared result between a 1st information part relating to an input character and the 1st information part of a storage means or forming the dot pattern font from an outline font. CONSTITUTION:The 1st information part relating to an inputted character is compared with the 1st information part of the storage means 4, and when both the information parts coincide with each other, its corresponding dot pattern font is read out from a storage means 5. At the time of discordance, the corresponding dot pattern font is formed from the outline font 4 in accordance with the inputted 1st information part. The dot pattern font outputted from the forming means is converted into a corresponding dot pattern font in accordance with the 2nd information part relating to the inputted character. Consequently the processing speed of the whole system can be improved and the capacity of the cache memory 5 can be reduced.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は文字処理装置に関し、特に文字に関する情報(
文字セット、文字コード及び文字形態等の情報)に従っ
てアウトラインフォントから対応するドツトパターンフ
ォントを生成する文字処理装置に関する。
[Detailed Description of the Invention] [Industrial Field of Application] The present invention relates to a character processing device, and in particular, to a character processing device, and particularly to a character processing device that processes information regarding characters (
The present invention relates to a character processing device that generates a corresponding dot pattern font from an outline font according to information such as character set, character code, character form, etc.

[従来の技術] 従来、この種の装置では、入力した文字コードによって
対応するアウトラインフォントを検索し、前記文字コー
ドに付随する形態情報(縦文字、横文字、上下反転文字
、文字サイズ、字体等の情報)によって最終形態のドツ
トパターンフォントを生成している。また、−旦生成さ
れたドツトパターンフォントは、必要に応じてその再利
用時には再度生成しなくても良いように、キャッシュ用
メモリに登録される。
[Prior Art] Conventionally, this type of device searches for a corresponding outline font based on an input character code, and then searches for form information (such as vertical characters, horizontal characters, vertically reversed characters, character size, font, etc.) associated with the character code. information) to generate the final dot pattern font. Furthermore, the dot pattern font once generated is registered in the cache memory so that it does not need to be generated again when it is reused as necessary.

[発明が解決しようとする課題] しかし、従来は、ある文字に関する全情報を満足するよ
うなドツトパターンフォントをキャッシュ用メモリから
読み出し、又はアウトラインフォントから生成していた
ので、フォントの生成処理が頻繁に起こり、全体として
の処理速度が低下していた。またキャッシュ用メモリの
容量もかなりのものを要した。
[Problem to be solved by the invention] However, in the past, a dot pattern font that satisfies all information about a certain character was read from a cache memory or generated from an outline font, so the font generation process was frequently required. This caused the overall processing speed to decrease. Also, a considerable amount of cache memory was required.

本発明は上述した従来技術の欠点を除去するものであり
、その目的とする所は、全体としての処理が速く、キャ
ッシュ用メモリの容量も少ない文字処理装置を提供する
ことにある。
The present invention eliminates the above-mentioned drawbacks of the prior art, and its purpose is to provide a character processing device that can process quickly as a whole and has a small cache memory capacity.

[課題を解決するための手段及び作用]本発明の文字処
理装置は上記の目的を達成するために、文字に関する第
1の情報部分とこれに対応するドツトパターンフォント
とを対応付けて記憶する記憶手段と、人力した文字に関
する第1の情報部分を前記記憶手段の第1の情報部分と
比較することにより、一致する時は前記記憶手段の対応
するドツトパターンフォントを読み出し、また一致しな
い時は該入力した第1の情報部分に従ってアウトライン
フォントから対応するドツトパターンフォントを生成す
る生成手段と、前記生成手段からの出力のドツトパター
ンフォントを入力した文字に関する第2の情報部分に従
って対応するドツトパターンフォントに変換する変換手
段を備えることをその概要とする。
[Means and effects for solving the problem] In order to achieve the above object, the character processing device of the present invention includes a memory that stores a first information portion regarding a character and a corresponding dot pattern font in association with each other. By comparing the first information part regarding the manually inputted character with the first information part of the storage means, if they match, the corresponding dot pattern font of the storage means is read out, and if they do not match, the corresponding dot pattern font is read out. generating means for generating a corresponding dot pattern font from an outline font according to an inputted first information part; and generating a dot pattern font output from the generating means into a corresponding dot pattern font according to a second information part about the inputted character. The outline thereof is to include a conversion means for conversion.

これにより、記憶手段には基本となるような形態のドツ
トパターンフォントを生成し、登録しておき、その変形
ドツトパターンフォントが得たい時には、アウトライン
フォントから前記基本となるようなドツトパターンフォ
ントを生成するまでの行程を省略し、専ら変換手段によ
って目的の変形ドツトパターンフォントを高速に得る。
As a result, a basic dot pattern font is generated and registered in the storage means, and when a modified dot pattern font is desired, the basic dot pattern font is generated from the outline font. To quickly obtain a target modified dot pattern font by exclusively using a converting means by omitting the steps up to the step of converting the font.

[実施例の説明] 以下、添付図面に従って本発明による実施例を詳細に説
明する。
[Description of Embodiments] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

第1図は本発明による実施例を印刷装置に応用したブロ
ック構成図である。図において、1は外部のホストコン
ピュータであり、印刷すべき文字(記号等を含む)に関
するデータ(文字セット、文字コード、縦文字、横文字
、上下反転文字、文字サイズ等)を転送する。2は受信
バッファであり、ホストコンピュータ1から受信した文
字に関するデータを一時的に格納する。3はCPUであ
り、例えば第4図示の実施例の印刷制御処理を実行する
。4はフォントメモリであり、本実施例ではアウトライ
ン形式のフォントを格納している。5はキャッシュ用メ
モリであり、アウトラインフォントから文字に関する第
1の情報に従って生成した基本となるドツトパターンフ
ォントを格納する。6はページバッファメモリであり、
受信した1ペ一ジ分の文字データ(文字に関するデータ
)を記憶する。7はビットマツプメモリであり、ページ
バッファメモリ6の各文字データに従って生成し、展開
された1ペ一ジ分のドツトパターンフォント(印刷用の
ビットマツプデータ)を記憶する。8は回転プロセッサ
であり、キャッシュ用メモリ5から読み出した、又はア
ウトラインフォントから生成した基準となるドツトパタ
ーンフォントを文字に関する第2の情報(実施例では回
転情報)に従って回転処理する。9はプリンタエンジン
であり、ビットマツプメモリ7の印刷用のビットマツプ
データを用紙に印刷する。
FIG. 1 is a block configuration diagram in which an embodiment of the present invention is applied to a printing device. In the figure, reference numeral 1 denotes an external host computer, which transfers data (character set, character code, vertical characters, horizontal characters, upside down characters, character size, etc.) regarding characters (including symbols, etc.) to be printed. A receiving buffer 2 temporarily stores data regarding characters received from the host computer 1. 3 is a CPU, which executes, for example, the print control process of the embodiment shown in FIG. Reference numeral 4 denotes a font memory, which stores fonts in outline format in this embodiment. A cache memory 5 stores a basic dot pattern font generated from an outline font according to first information regarding characters. 6 is a page buffer memory,
The received character data for one page (data related to characters) is stored. Reference numeral 7 denotes a bitmap memory, which stores one page's worth of dot pattern font (bitmap data for printing) generated and developed according to each character data in the page buffer memory 6. A rotation processor 8 rotates a reference dot pattern font read from the cache memory 5 or generated from an outline font according to second information regarding characters (rotation information in the embodiment). A printer engine 9 prints the bitmap data for printing in the bitmap memory 7 onto paper.

第2図は実施例のキャッシュ用メモリ5の記憶構造を説
明する概念図である。図において、5−1はアウトライ
ンフォントか°ら生成した基本となるドツトパターンフ
ォント(A”、“B”等)を記憶するドツトパターン記
憶エリアであり、5−2は文字に間する第1の情報をそ
のドツトパターンフォントに対応付けて記憶する情報部
記憶エリアである。
FIG. 2 is a conceptual diagram illustrating the storage structure of the cache memory 5 of the embodiment. In the figure, 5-1 is a dot pattern storage area that stores basic dot pattern fonts (A, B, etc.) generated from outline fonts, and 5-2 is the first dot pattern storage area between characters. This is an information section storage area where information is stored in association with the dot pattern font.

第3図は第2図の情報部記憶エリア5−2の詳細を示す
図である。図において、情報部記憶エリア5−2は文字
に関する第1の情報、即ち、「文字セット識別子」、「
文字コード」、「文字の大きさ」の情報を格納している
。従って、本実施例においては字体、文字コード及び文
字の大きさで特定される文字毎に対応する基本のドツト
パターンフォントが生成され、必要ならキャッシュ用メ
モリ5に登録される。一方、本実施例においては文字に
関する第2の情報、即ち、縦文字、横文字、上下反転文
字の情報によっては対応する基本のドツトパターンフォ
ントは生成されない。
FIG. 3 is a diagram showing details of the information section storage area 5-2 in FIG. 2. In the figure, the information storage area 5-2 stores first information regarding characters, ie, "character set identifier", "
Stores information such as ``character code'' and ``character size.'' Therefore, in this embodiment, a basic dot pattern font is generated for each character specified by the font, character code, and character size, and is registered in the cache memory 5 if necessary. On the other hand, in this embodiment, a corresponding basic dot pattern font is not generated depending on the second information regarding characters, that is, information on vertical characters, horizontal characters, and vertically reversed characters.

第4図は実施例の印刷制御処理のフローチャートである
。図において、ステップS1ではページバッファメモリ
6から文字データを入力する。
FIG. 4 is a flowchart of print control processing according to the embodiment. In the figure, character data is input from the page buffer memory 6 in step S1.

ステップS2ではキャッシュ用メモリ5の情報部記憶エ
リア5−2を検索し、同一の文字セットが登録済みか否
かを調べる。登録済みなら更にステップS3で同一文字
コードか否かを調べる。同一文字コードなら更にステッ
プS4で同一の文字サイズか否かを調べる。同一の文字
サイズならステップS5に進み、そのドツトパターンフ
ォントを読み出す。
In step S2, the information section storage area 5-2 of the cache memory 5 is searched to see if the same character set has already been registered. If the characters have been registered, it is further checked in step S3 whether they are the same character code. If the character codes are the same, it is further checked in step S4 whether the characters are of the same size. If the character sizes are the same, the process advances to step S5 and the dot pattern font is read out.

尚、ステップS4の判別で同一の文字サイズでない時は
ステップS3に戻り、他に同一の文字コードが有るか否
かを調べて、有ればその文字サイズを比較する。これを
他の同一の文字コードが無くなるまで繰り返す。
Incidentally, if it is determined in step S4 that the character sizes are not the same, the process returns to step S3, and it is checked whether or not there is another character code with the same character code, and if there is, the character sizes are compared. Repeat this until there are no other identical character codes.

方、ステップS2又はS3の判別で何れかNoの時はス
テップS6に進み、対応するアウトラインフォントを読
み出す。ステップS7では読み出したアウトラインフォ
ントと文字の大きさの情報から第5図に示すような新た
な基本となるドツトパターンフォントを生成する。ステ
ップS8では生成したドツトパターンフォントとその情
報部とをキャッシュ用メモリ5の空きエリアに登録する
On the other hand, if the determination in step S2 or S3 is No, the process advances to step S6 and the corresponding outline font is read out. In step S7, a new basic dot pattern font as shown in FIG. 5 is generated from the read outline font and character size information. In step S8, the generated dot pattern font and its information part are registered in the empty area of the cache memory 5.

次の時点では、上記何れの場合でも、キャッシュ用メモ
リ5に所望の基本となるドツトパターンフォントが存在
することになる。更に、ステップS9では回転文字か否
かを調べる。回転文字ならステップSllに進み、回転
プロセッサ8により第5図に示すような基本となるドツ
トパターンフォントを第6図に示すような回転したドツ
トパターンフォントに変換する。また、回転文字でなけ
ればステップSllの処理をスキップする。
At the next time, in any of the above cases, the desired basic dot pattern font will exist in the cache memory 5. Furthermore, in step S9, it is checked whether the character is a rotated character or not. If it is a rotated character, the process proceeds to step Sll, where the rotation processor 8 converts the basic dot pattern font as shown in FIG. 5 into a rotated dot pattern font as shown in FIG. Further, if the character is not a rotated character, the process of step Sll is skipped.

ステップShoでは最終的に得られたドツトパターンフ
ォントをビットマツプメモリ7の対応位置に展開する。
In step Sho, the finally obtained dot pattern font is developed at a corresponding position in the bitmap memory 7.

ステップS12では1ペ一ジ分の文字データのビットマ
ツプ展開を終了したか否か調べる。終了していなければ
ステップS1に戻り次の文字データを入力する。また終
了していればステップ313で当該1ペ一ジ分のビット
マツプデータを印刷する。
In step S12, it is checked whether bitmap development of one page's worth of character data has been completed. If not completed, the process returns to step S1 and the next character data is input. If the printing has been completed, bitmap data for one page is printed in step 313.

尚、上述実施例では文字に関する第1の情報を文字セッ
ト、文字コード、文字サイズとし、文字に関する第2の
情報を回転としたがこれに限らない。文字に関する情報
についてはこれ以外にも種類(歪み文字、修飾文字等)
があるし、更にそれらをどのように組み合わせ第1及び
第2の情報としても良い。
In the above embodiment, the first information regarding characters is the character set, the character code, and the character size, and the second information regarding the characters is rotation, but the present invention is not limited to this. There are other types of information regarding characters (distorted characters, modified characters, etc.)
Furthermore, they may be combined in any way to form the first and second information.

また、第3図の情報部に更に文字を作成した形態の情報
を入れておき、一方、パターン記憶領域内には基本文字
パターンのみを入れるのではなく、例えば、歪み文字(
イタリック等)等は、歪み文字と判断できる付加情報を
入れておき、基本文字パターンでないもの(歪み文字等
)は、入力の形態情報と格納されている文字入パターン
の形態情報とが一致したときのみそのまま使用できるよ
うにして、基本的には基本文字パターンであるもののみ
を変形処理するようにしても良い。
In addition, information on the form in which characters are created is further stored in the information section of Fig. 3, and on the other hand, instead of storing only basic character patterns in the pattern storage area, for example, distorted characters (
For characters such as italic (such as italics), add additional information that can be used to identify distorted characters, and for characters that are not basic character patterns (such as distorted characters), when the format information of the input matches the format information of the stored character pattern. It is also possible to allow only basic character patterns to be used as they are, and to transform only those that are basically basic character patterns.

[発明の効果] 以上述べた如く本発明によれば、キャッシュ用メモリの
容量を低減でき、全体としての文字発生処理も高速にな
る。
[Effects of the Invention] As described above, according to the present invention, the capacity of the cache memory can be reduced and the overall character generation process can be speeded up.

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

第1図は本発明による実施例を印刷装置に応用したブロ
ック構成図、 第2図は実施例のキャッシュ用メモリ5の記憶構造を説
明する概念図、 第3図は第2図の情報部記憶エリア5−2の詳細を示す
図、 第4図は実施例の印刷制御処理のフローチャート、 第5図は実施例の基本となるドツトパターンフォントの
一例を示す図、 第6図は実施例の回転されたドツトパターンフォントの
一例を示す図である。 図中、1・・・ホストコンピュータ、2・・・受信バッ
ファ、3・・・CPU、4・・・フォントメモリ、5・
・・キャッシュ用メモリ、6・・・ページバッファメモ
リ、7・・・ビットマツプメモリ、8・・・回転プロセ
ッサ、9・・・プリンタエンジンである。 第 1 図 第2図 第3図
FIG. 1 is a block configuration diagram in which an embodiment of the present invention is applied to a printing device, FIG. 2 is a conceptual diagram illustrating the storage structure of the cache memory 5 of the embodiment, and FIG. 3 is the information section memory of FIG. 2. A diagram showing details of area 5-2, Figure 4 is a flowchart of print control processing in the embodiment, Figure 5 is a diagram showing an example of a dot pattern font that is the basis of the embodiment, and Figure 6 is rotation in the embodiment. FIG. 3 is a diagram illustrating an example of a dot pattern font. In the figure, 1... host computer, 2... reception buffer, 3... CPU, 4... font memory, 5...
. . . cache memory, 6 . . page buffer memory, 7 . . . bitmap memory, 8 . . . rotary processor, 9 . . . printer engine. Figure 1 Figure 2 Figure 3

Claims (1)

【特許請求の範囲】 文字に関する情報に従つてアウトラインフォントから対
応するドットパターンフォントを生成する文字処理装置
において、 文字に関する第1の情報部分とこれに対応するドットパ
ターンフォントとを対応付けて記憶する記憶手段と、 入力した文字に関する第1の情報部分を前記記憶手段の
第1の情報部分と比較することにより、一致する時は前
記記憶手段の対応するドットパターンフォントを読み出
し、また一致しない時は該入力した第1の情報部分に従
つてアウトラインフォントから対応するドットパターン
フォントを生成する生成手段と、 前記生成手段からの出力のドットパターンフォントを入
力した文字に関する第2の情報部分に従つて対応するド
ットパターンフォントに変換する変換手段を備えること
を特徴とする文字処理装置。
[Claims] In a character processing device that generates a corresponding dot pattern font from an outline font according to information regarding characters, a first information portion regarding characters and a corresponding dot pattern font are stored in association with each other. a storage means, and by comparing a first information part regarding the inputted character with the first information part of the storage means, if they match, read out the corresponding dot pattern font of the storage means, and if they do not match, read out the corresponding dot pattern font of the storage means; generating means for generating a corresponding dot pattern font from an outline font according to the inputted first information part; and corresponding to the dot pattern font output from the generating means according to a second information part about the input character. A character processing device comprising a conversion means for converting into a dot pattern font.
JP1269230A 1989-10-18 1989-10-18 Character processing device and character processing method Expired - Fee Related JP3054157B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1269230A JP3054157B2 (en) 1989-10-18 1989-10-18 Character processing device and character processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1269230A JP3054157B2 (en) 1989-10-18 1989-10-18 Character processing device and character processing method

Publications (2)

Publication Number Publication Date
JPH03132696A true JPH03132696A (en) 1991-06-06
JP3054157B2 JP3054157B2 (en) 2000-06-19

Family

ID=17469475

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1269230A Expired - Fee Related JP3054157B2 (en) 1989-10-18 1989-10-18 Character processing device and character processing method

Country Status (1)

Country Link
JP (1) JP3054157B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01190465A (en) * 1988-01-26 1989-07-31 Toshiba Corp Character output device by utilizing vector font reproduction
JPH031193A (en) * 1989-05-29 1991-01-07 Brother Ind Ltd Data converter

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01190465A (en) * 1988-01-26 1989-07-31 Toshiba Corp Character output device by utilizing vector font reproduction
JPH031193A (en) * 1989-05-29 1991-01-07 Brother Ind Ltd Data converter

Also Published As

Publication number Publication date
JP3054157B2 (en) 2000-06-19

Similar Documents

Publication Publication Date Title
JPS6214689A (en) Character output controller
US5731800A (en) Output method and apparatus
JPH03132696A (en) Character processor
JP2850979B2 (en) Character processing apparatus and method
JP3072428B2 (en) Character display device
JPH0216068A (en) Image forming device
JPH01190465A (en) Character output device by utilizing vector font reproduction
JPH06274145A (en) Character processor
JP3341048B2 (en) Document printing device
JPH07125390A (en) Image recognition processor
JPH0630927B2 (en) Pattern output method
JPH06183093A (en) Printing equipment
JP2790198B2 (en) Output control method and device
JP2752816B2 (en) Printer device
JPH02241267A (en) Picture information processor
JPS63242561A (en) Font reducing system
JPH04269565A (en) Document preparing device
JPH05181626A (en) Printer
JPH03112668A (en) Printer
JPH02129692A (en) Processing system for font data
JPH10232861A (en) Document output device
JPH07132651A (en) Print processor
JPH05281946A (en) Method and device for character output
JPH06274144A (en) Character processor
JPS62248081A (en) Character recognition method through memory medium

Legal Events

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

Free format text: PAYMENT UNTIL: 20090407

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees