JPH08202333A - Character processor - Google Patents

Character processor

Info

Publication number
JPH08202333A
JPH08202333A JP7028796A JP2879695A JPH08202333A JP H08202333 A JPH08202333 A JP H08202333A JP 7028796 A JP7028796 A JP 7028796A JP 2879695 A JP2879695 A JP 2879695A JP H08202333 A JPH08202333 A JP H08202333A
Authority
JP
Japan
Prior art keywords
character
replacement
data
string
information
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
JP7028796A
Other languages
Japanese (ja)
Inventor
Masao Yamada
政雄 山田
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 JP7028796A priority Critical patent/JPH08202333A/en
Publication of JPH08202333A publication Critical patent/JPH08202333A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE: To make it possible to easy add or change the character strings to be replaced or the characters to be replaced by constituting a character processor of a document formation system in such a manner that the replacement of the character strings can be independently executed. CONSTITUTION: The replacement information having the character codes of a succeeding list and the character codes of the replacement characters is added to the character data to be stored in a character data storage means 12. The character data is read out by the inputted character codes and the replacement is determined by a replacement processing means 14 from the succeeding list. The character data of the replacement characters is read out of the character data storage means 12. The character data of the replacement characters is stored in a character data temporary storage means 13 and is delivered to a character pattern forming means 16. The character patterns of the replacement characters are formed by a character pattern forming means 16.

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 apparatus which receives a character code and outputs a character pattern in a document preparation system such as a word processor.

【0002】[0002]

【従来の技術】ワードプロセッサなどの文書作成システ
ムにおいては、オペレータのキー入力操作によって辞書
メモリから文字コードが得られ、その文字コードから文
字処理装置において文字パターンが生成され、その文字
パターンが文字処理装置から出力バッファに出力され
て、ディスプレイ上に文字が表示される。
2. Description of the Related Art In a document preparation system such as a word processor, a character code is obtained from a dictionary memory by an operator's key input operation, a character pattern is generated in the character processing device from the character code, and the character pattern is generated by the character processing device. Is output to the output buffer and the characters are displayed on the display.

【0003】このようなワードプロセッサなどの文書作
成システムは、従来一般に、図13に概念的に示すよう
に、文字コードを受けて文字パターンを出力する文字処
理装置1が、その文字処理装置1に対して文字コードを
発生する部分や文字処理装置1からの文字パターンによ
ってディスプレイ上に文字を表示する部分などからなる
上位処理装置2に対して一体的・従属的に制御されるよ
うに構成されている。
In a document creating system such as a word processor, a character processing device 1 that receives a character code and outputs a character pattern is generally used by the character processing device 1 as shown in FIG. Is configured to be integrally and subordinately controlled with respect to the higher-level processing device 2 including a part that generates a character code and a part that displays a character on the display by a character pattern from the character processing device 1. .

【0004】ところで、このような文書作成システム
で、リガチャ処理や合字処理がなされることが多々あ
る。リガチャ処理とは、特定の文字列をデザイン上一文
字で構成される文字に、例えば英単語「differ」
中の図5(A)に示すような文字列「ff」を図5
(B)に示すような置き換え文字(置き換え後の文字)
に、置き換えることである。また、合字処理とは、欧文
の作成などにあたって複数の文字(記号や図形を含む)
を組み合わせて図12のそれぞれに示すような一つの文
字を形成することである。
By the way, in such a document creating system, ligature processing and ligature processing are often performed. The ligature process is a process of converting a specific character string into a character composed of one character by design, for example, the English word "differ".
The character string "ff" as shown in FIG.
Replacement character (character after replacement) as shown in (B)
To replace. In addition, ligature processing is the process of creating multiple characters (including symbols and figures) when creating European languages.
Is combined to form one character as shown in each of FIG.

【0005】さらに、ハングル文字などのように、もと
もと各々の文字が多数の文字要素から選択された複数の
文字要素から構成される場合には、選択された複数の文
字要素を組み合わせることによって各々の文字を形成す
る処理がなされることが多い。
Furthermore, when each character is originally composed of a plurality of character elements selected from a large number of character elements such as Hangul characters, each of the selected character elements is combined to form each character element. The process of forming characters is often done.

【0006】そして、従来の文書作成システムにおいて
は、上述した文字処理装置1に文字フォントデータとは
別にリガチャ処理情報が書き込まれたリガチャテーブル
を用意し、その文字処理装置1を上位処理装置2によっ
て制御することによりリガチャ処理をするようにしてい
る。合字処理についても同様である。
In the conventional document creating system, a ligature table in which ligature processing information is written is prepared separately from the character font data in the character processing apparatus 1 described above, and the character processing apparatus 1 is operated by the host processing apparatus 2. The ligature process is performed by controlling. The same applies to ligature processing.

【0007】また、ハングル文字につき上記のように複
数の文字要素を組み合わせることによって各々の文字を
形成する処理をする場合には、文字を構成する文字要素
がすべて揃うまでは文字の特定ができないことから、特
開昭56−65282号公報では、順次入力された文字
要素コードを格納する入力バッファを設けて、これに格
納された文字要素コードの入力順序および内容から文字
を特定し、文字パターンを形成する方法が開示されてい
る。
Further, in the case of processing for forming each character by combining a plurality of character elements for Hangul characters as described above, it is impossible to specify the character until all the character elements constituting the character are prepared. Therefore, in JP-A-56-65282, an input buffer for storing sequentially input character element codes is provided, and a character is specified based on the input order and contents of the character element codes stored therein, and a character pattern is determined. A method of forming is disclosed.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、上述し
た従来の文書作成システムは、文字コードを受けて文字
パターンを出力する文字処理装置1が上位処理装置2に
対して一体的・従属的に制御されるように構成され、リ
ガチャ処理や合字処理にあたっても文字処理装置1が上
位処理装置2によって制御されるので、文字処理装置1
にリガチャ処理や合字処理の処理情報を用意しても、上
位処理装置2の構成ないし制御情報によってはリガチャ
処理や合字処理がなされず、同一文書であるにもかかわ
らず得られる文書が異なることがある欠点がある。
However, in the above-described conventional document creating system, the character processing device 1 which receives a character code and outputs a character pattern is controlled integrally and subordinately to the upper processing device 2. Since the character processing device 1 is controlled by the higher-level processing device 2 even in the ligature process and the ligature process, the character processing device 1
Even if the processing information of the ligature processing or the ligature processing is prepared, the ligature processing or the ligature processing is not performed depending on the configuration or control information of the higher-level processing device 2, and the obtained document is different even though it is the same document. There are some drawbacks.

【0009】また、ハングル文字につき特開昭56−6
5282号公報に示された方法も、上位処理装置2が文
字要素のすべての組み合わせに対応したものでなければ
ならず、文字を追加または変更しようとするときは上位
処理装置2の構成ないし制御情報を変更しなければなら
ず、上位処理装置2の完成後の文字の追加または変更が
困難になる不都合がある。
[0009] Hangul characters are disclosed in Japanese Patent Laid-Open No. 56-6.
Also in the method disclosed in Japanese Patent No. 5282, the upper processing device 2 must be compatible with all combinations of character elements, and when adding or changing a character, the configuration or control information of the upper processing device 2 is required. Has to be changed, which makes it difficult to add or change characters after the high-order processing device 2 is completed.

【0010】しかし、最近は、ワードプロセッサなどの
文書作成システムとして、図14に概念的に示すよう
に、文字コードを受けて文字パターンを出力する文字処
理装置1が上位処理装置2に対して独立的に機能するよ
うに構成されたものが考えられており、リガチャ処理な
どについても、このように文字処理装置1に上位処理装
置2に対して独立的な機能を持たせることによって、上
記の欠点ないし不都合を回避することが可能となる。
However, recently, as a document creating system such as a word processor, as conceptually shown in FIG. 14, a character processing device 1 which receives a character code and outputs a character pattern is independent of a host processing device 2. It is considered that the character processing device 1 has an independent function with respect to the higher-level processing device 2 in the ligature process and the like. It is possible to avoid inconvenience.

【0011】そこで、この発明は、文書作成システムの
文字処理装置で独立的にリガチャ処理などを行うことが
でき、これにより、上位処理装置の構成ないし制御情報
にかかわらず、確実にリガチャ処理などがなされ、かつ
同一品質の文字出力を得ることができるとともに、リガ
チャ処理などの対象となる文字列または文字要素列、な
いし置き換え文字を容易に追加または変更することがで
きるようにしたものである。
Therefore, according to the present invention, the character processing device of the document creation system can independently perform the ligature process and the like, so that the ligature process and the like can be reliably performed regardless of the configuration or control information of the upper processing device. In addition to being able to obtain a character output of the same quality, it is possible to easily add or change a character string or character element string to be subjected to ligature processing or a replacement character.

【0012】[0012]

【課題を解決するための手段】請求項1の発明では、図
1に示して後述する実施例の参照符号を対応させると、
文字コードを受けて文字パターンを出力する文字処理装
置において、当該文字または当該文字要素とこれに続く
特定の一つもしくは複数の後続文字または後続文字要素
からなる文字列または文字要素列を置き換え文字に置き
換える場合における置き換えのための情報として少なく
とも、その特定の後続文字または後続文字要素を示す後
続リストを有する文字データが格納される文字データ格
納手段12と、順次入力された文字コードによって上記
文字データ格納手段12から文字データを順次読み出す
文字データ読出手段11と、その順次読み出された文字
データ中の上記置き換え情報から、上記順次入力された
文字コードによって指示される文字列または文字要素列
が置き換え文字に置き換えるべきものであるか否かを判
断し、置き換え文字に置き換えるべきものであるときに
は、その置き換え文字の文字パターンを出力する置き換
え処理パターン生成手段14,13,16と、を設け
る。
According to the invention of claim 1, when the reference numerals of the embodiment shown in FIG. 1 and described later are made to correspond,
In a character processing device that receives a character code and outputs a character pattern, a character string consisting of the character or the character element and one or more specific succeeding characters or a subsequent character element or a character element string is used as a replacement character. As the information for replacement in the case of replacement, at least character data storage means 12 in which character data having a subsequent list indicating the specific subsequent character or subsequent specific character element is stored, and the character data storage by the character code sequentially input. From the character data reading means 11 for sequentially reading the character data from the means 12, and the replacement information in the sequentially read character data, a character string or a character element string designated by the sequentially input character code is a replacement character. It is judged whether it should be replaced with When you should replace the provided a replacement processing pattern generating means 14,13,16 to output the character pattern of the replacement character, a.

【0013】請求項2の発明では、同様に図1に示して
後述する実際例の参照符号を対応させると、文字コード
を受けて文字パターンを出力する文字処理装置におい
て、当該文字または当該文字要素とこれに続く特定の一
つもしくは複数の後続文字または後続文字要素からなる
文字列または文字要素列を疑似置き換え文字に置き換え
る場合における置き換えのための情報として、その特定
の後続文字または後続文字要素を示す後続リストと、座
標変換マトリクスまたはその他の変換用情報とを有する
文字データが格納される文字データ格納手段12と、順
次入力された文字コードによって上記文字データ格納手
段12から文字データを順次読み出す文字データ読出手
段11と、その順次読み出された文字データ中の上記置
き換え情報から、上記順次入力された文字コードによっ
て指示される文字列または文字要素列が疑似置き換え文
字に置き換えるべきものであるか否かを判断し、疑似置
き換え文字に置き換えるべきものであるときには、上記
変換用情報を用いて、その疑似置き換え文字の文字パタ
ーンを出力する置き換え処理パターン生成手段14,1
3,15,16と、を設ける。
According to the second aspect of the present invention, similarly, when the reference symbols of the actual example shown in FIG. 1 and described later are made to correspond, in the character processing device which receives the character code and outputs the character pattern, the character or the character element concerned. And the specific succeeding character or subsequent succeeding character or character string consisting of the succeeding character element or the string of character elements that replaces the specific succeeding character or succeeding character element as information for replacement when replacing with a pseudo replacement character. A character data storage means 12 for storing character data having a subsequent list shown and a coordinate conversion matrix or other conversion information, and a character for sequentially reading the character data from the character data storage means 12 by a character code sequentially input. From the data reading means 11 and the replacement information in the sequentially read character data, Determine whether the character string or character element string indicated by the sequentially input character code should be replaced with the pseudo replacement character, and if it is to be replaced with the pseudo replacement character, use the above conversion information. And the replacement process pattern generation means 14, 1 for outputting the character pattern of the pseudo replacement character.
3, 15, 16 are provided.

【0014】請求項3の発明では、同様に図1に示して
後述する実施例の参照符号を対応させると、文字コード
を受けて文字パターンを出力する文字処理装置におい
て、当該文字または当該文字要素とこれに続く特定の一
つもしくは複数の後続文字または後続文字要素からなる
文字列または文字要素列を置き換え文字または疑似置き
換え文字に置き換える場合における置き換えのための情
報として、その特定の後続文字または後続文字要素を示
す後続リスト、上記文字列または文字要素列を置き換え
文字に置き換える場合における、その置き換え文字の情
報、および上記文字列または文字要素列を疑似置き換え
文字に置き換える場合における座標変換マトリクスまた
はその他の変換用情報とを有する文字データが格納され
る文字データ格納手段12と、順次入力された文字コー
ドによって上記文字データ格納手段12から文字データ
を順次読み出す文字データ読出手段11と、その順次読
み出された文字データ中の上記後続リストから、上記順
次入力された文字コードによって指示される文字列また
は文字要素列が置き換え文字または疑似置き換え文字に
置き換えるべきものであるか否かを判断し、置き換え文
字または疑似置き換え文字に置き換えるべきものである
場合で、上記置き換え情報として上記置き換え文字情報
を有するときには、その置き換え文字情報を用いて最終
的に置き換え文字の文字パターンを出力し、上記置き換
え情報として上記置き換え文字情報を持たず、上記変換
用情報を有するときには、その変換用情報を用いて最終
的に疑似置き換え文字の文字パターンを出力する置き換
え処理パターン生成手段14,13,15,16と、を
設ける。
According to the third aspect of the present invention, similarly, when the reference symbols of the embodiment shown in FIG. 1 and described later are made to correspond, in the character processing device which receives the character code and outputs the character pattern, the character or the character element concerned. And a specific succeeding character or character string consisting of one or more specific succeeding characters or subsequent character elements or a character element string as replacement information when replacing the character string or character element string with a replacement character or a pseudo replacement character. Subsequent list showing character elements, information about the replacement character when replacing the above character string or character element string with a replacement character, and coordinate conversion matrix or other when replacing the above character string or character element string with a pseudo replacement character Character data storage for storing character data having conversion information 12, the character data reading means 11 for sequentially reading the character data from the character data storage means 12 according to the sequentially input character code, and the sequentially input characters from the subsequent list in the sequentially read character data. It is determined whether the character string or character element string indicated by the code should be replaced with the replacement character or the pseudo replacement character, and if it is the replacement character or the pseudo replacement character, the above replacement information is used. When it has the replacement character information, it finally outputs the character pattern of the replacement character using the replacement character information, does not have the replacement character information as the replacement information, and has the conversion information when it has the conversion information. Character pattern of pseudo replacement character finally using information And replacement processing pattern generating means 14,13,15,16 for outputting the provided.

【0015】ここで、「疑似置き換え文字」とは、文字
列または文字要素列を構成する特定の複数の文字または
文字要素のデータから変換用情報を用いて疑似的に一文
字のパターンを生成するときの、その疑似的な一文字の
ことである。
Here, the "pseudo replacement character" means when a pattern of one character is pseudo-generated by using conversion information from data of a plurality of specific characters or character elements forming a character string or character element string. , That pseudo-single character.

【0016】[0016]

【作用】上記のように構成した各請求項の発明の文字処
理装置においては、文字データとして、文字パターンを
生成するための文字フォントデータに対して、少なくと
も特定の後続文字または後続文字要素を示す後続リスト
を有する置き換え情報が付加されたものが文字データ格
納手段12に格納され、文字処理装置に入力された文字
コードによって、その文字データ格納手段12から文字
フォントデータが読み出される際には同時に、その置き
換え情報が読み出され、その読み出された置き換え情報
にもとづいて、順次入力された文字コードによって指示
される文字列または文字要素列が置き換え文字または疑
似置き換え文字に置き換えるべきものであるときには置
き換え文字または疑似置き換え文字の文字パターンが生
成され、出力されるので、文書作成システムの文字処理
装置で独立的にリガチャ処理などを行うことができ、上
位処理装置の構成ないし制御情報にかかわらず、確実に
リガチャ処理などがなされるとともに、同一品質の文字
出力を得ることができる。
In the character processing device according to the invention of each claim configured as described above, as character data, at least a specific succeeding character or a succeeding character element is shown with respect to character font data for generating a character pattern. At the same time when the character font data is read from the character data storage means 12 according to the character code input to the character processing device, the character data storage means 12 is stored with the replacement information having the subsequent list. The replacement information is read, and based on the read replacement information, when the character string or character element string indicated by the character code sequentially input is to be replaced with a replacement character or a pseudo replacement character, replacement is performed. A character pattern of characters or pseudo replacement characters is generated and output. Therefore, the character processing device of the document creation system can independently perform ligature processing, etc., and regardless of the configuration or control information of the higher-level processing device, ligature processing can be reliably performed and character output of the same quality can be performed. Obtainable.

【0017】また、文字フォントデータに付加される置
き換え情報を追加し、または書き換えることによって、
上位処理装置の構成ないし制御情報にかかわらず、リガ
チャ処理などの対象となる文字列または文字要素列、な
いし置き換え文字を容易に追加または変更することがで
きる。
Further, by adding or rewriting the replacement information added to the character font data,
It is possible to easily add or change a character string or a character element string to be subjected to ligature processing or a replacement character regardless of the configuration or control information of the upper processing device.

【0018】[0018]

【実施例】図1は、この発明の文字処理装置の一例を有
する文字作成システムの一例を示し、文字処理装置10
は、文書作成システムの上位処理装置20から文字コー
ドを受けて上位処理装置20に文字パターンを出力する
もので、この例では、文字データ読出手段11、文字デ
ータ格納手段12、文字データ一時格納手段13、置き
換え処理手段14、疑似文字データ生成手段15、およ
び文字パターン生成手段16を備える。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows an example of a character creating system having an example of a character processing device according to the present invention.
Is to receive a character code from the upper processing device 20 of the document creation system and output a character pattern to the upper processing device 20. In this example, the character data reading means 11, the character data storage means 12, and the character data temporary storage means are provided. 13, a replacement processing unit 14, a pseudo character data generation unit 15, and a character pattern generation unit 16.

【0019】上位処理装置20では、解釈編集手段21
が入力手段22でのキー操作を解釈して文字コード格納
手段23から文字コードを読み出し、編集処理をした上
で文字処理装置10に文字コードを順次出力する。
In the host processor 20, the interpretation / editing means 21
Interprets a key operation on the input means 22, reads the character code from the character code storage means 23, performs an editing process, and sequentially outputs the character code to the character processing device 10.

【0020】文字処理装置10の文字データ読出手段1
1は、この上位処理装置20の解釈編集手段21からの
文字コードによって、文字データ格納手段12から、こ
れに格納された以下に示すような文字データを読み出
す。
Character data reading means 1 of the character processing device 10
1 reads out the following character data stored in the character data storage unit 12 from the character data storage unit 12 according to the character code from the interpretation / editing unit 21 of the upper processing unit 20.

【0021】すなわち、文字データ格納手段12には、
あらかじめ文字コードに対応する文字データが格納され
る。ただし、文字データは、当該文字単独で処理される
文字についてのものと、当該文字に特定の一つまたは複
数の文字が続く場合に、その文字列が特定の一文字であ
る置き換え文字または疑似的な一文字である疑似置き換
え文字に置き換えられるときの文字についてのものに、
二分される。そして、当該文字単独で処理される文字に
ついては、後続リストを持たない文字として、その文字
の文字パターンを生成するための文字フォントデータの
みを有するものとされるのに対して、当該文字に特定の
文字が続く場合に、その文字列が置き換え文字または疑
似置き換え文字に置き換えられるときの文字について
は、後続リストを有する文字として、文字フォントデー
タに対して特定の置き換え情報が付加される。
That is, in the character data storage means 12,
Character data corresponding to the character code is stored in advance. However, character data refers to a character that is processed by the character alone, and a replacement character or a pseudo character whose character string is a specific character when the character is followed by a specific character or characters. About the character when it is replaced with a pseudo replacement character that is one character,
Divided into two. For a character that is processed by itself, as a character that does not have a subsequent list, it is assumed that it has only character font data for generating the character pattern of that character. When the character string is replaced with a replacement character or a pseudo replacement character, specific replacement information is added to the character font data as a character having a subsequent list.

【0022】図4は、その文字データの例を示し、図4
(A)は、後続リストを持たない文字である「d」につ
いての文字データで、「d」のアウトラインフォントデ
ータO(d)に対して、後続リストの文字コード、置き
換え文字の文字コード、および疑似置き換え文字生成用
の座標変換マトリクスが、タグフィールドとして付加さ
れたものである。これに対して、図4(B)は、後続リ
ストを有する文字である「f」についての文字データ
で、「f」のアウトラインフォントデータO(f)に対
して、後続リストの文字コード、置き換え文字の文字コ
ード、および疑似置き換え文字生成用の座標変換マトリ
クスが付加されたものである。
FIG. 4 shows an example of the character data.
(A) is character data for "d", which is a character that does not have a subsequent list. For the outline font data O (d) of "d", the character code of the subsequent list, the character code of the replacement character, and The coordinate conversion matrix for generating the pseudo replacement character is added as a tag field. On the other hand, FIG. 4B shows the character data of "f" which is a character having a succeeding list. The outline font data O (f) of "f" is replaced with the character code of the succeeding list. The character code of the character and the coordinate conversion matrix for generating the pseudo replacement character are added.

【0023】ただし、この例は、当該文字である「f」
にそれぞれ後続文字として「f」「fi」「fl」
「i」「l」が続くときに、その図5(A)〜図9
(A)に示すような文字列「ff」「ffi」「ff
l」「fi」「fl」がそれぞれ最終的には図5(B)
〜図9(B)に示すような置き換え文字に置き換えられ
る場合で、そのため文字「f」の文字データは、文字列
「ff」「ffi」「ffl」「fi」「fl」のそれ
ぞれにつき、後続リストの文字コード、置き換え文字の
文字コード、および疑似置き換え文字生成用の座標変換
マトリクスを有するものとされる。C(f),C
(i),C(l)は、それぞれ文字「f」「i」「l」
の文字コードであり、C(ff),C(ffi),C
(ffl),C(fi),C(fl)は、それぞれ図5
(B)〜図9(B)に示すような置き換え文字の文字コ
ードである。
However, in this example, the character is "f".
"F", "fi", "fl" as the subsequent characters respectively
When “i” and “l” are continued, the FIG.
Character strings "ff", "ffi", and "ff" as shown in (A)
Finally, “l”, “fi”, and “fl” are respectively shown in FIG.
~ When replaced with a replacement character as shown in Fig. 9B, the character data of the character "f" is therefore replaced by the character string "ff", "ffi", "ffl", "fi", "fl". The character code of the list, the character code of the replacement character, and the coordinate conversion matrix for generating the pseudo replacement character are included. C (f), C
(I) and C (l) are the characters "f", "i", and "l", respectively.
Is a character code of C (ff), C (ffi), C
(Ffl), C (fi), and C (fl) are shown in FIG.
It is the character code of the replacement character as shown in (B) to FIG. 9 (B).

【0024】座標変換マトリクスM1およびM2は、そ
れぞれ、文字列のそれぞれの文字についての文字データ
に座標変換を施して疑似置き換え文字についての文字デ
ータを生成するための座標変換行列で、例えばx方向お
よびy方向の座標値に関係する係数とx方向およびy方
向の移動量からなる3×3の行列である。
The coordinate conversion matrices M1 and M2 are coordinate conversion matrices for performing coordinate conversion on the character data of each character of the character string to generate character data of the pseudo replacement character, for example, in the x direction and It is a 3 × 3 matrix composed of coefficients related to coordinate values in the y direction and movement amounts in the x direction and the y direction.

【0025】例えば、座標変換マトリクスM1は、図1
0(A)に示すように、y方向の座標値はそのままでx
方向の座標値を1/2とし、x方向およびy方向の移動
量をゼロとするもので、この座標変換マトリクスM1に
よる図10(B)に示す式で表される座標変換によっ
て、例えば図11(A)に示すような文字列「ff」の
最初の文字「f」が図11(B)の左半分で示すように
x方向に1/2に圧縮される。また、座標変換マトリク
スM2は、図10(C)に示すように、y方向の座標値
はそのままでx方向の座標値を1/2とし、y方向の移
動量はゼロでx方向の移動量を単位幅の1/2とするも
ので、この座標変換マトリクスM2による図10(D)
に示す式で表される座標変換によって、例えば図11
(A)に示すような文字列「ff」のあとの文字「f」
が図11(B)の右半分で示すようにx方向に単位幅の
1/2だけオフセットされた位置においてx方向に1/
2に圧縮される。
For example, the coordinate transformation matrix M1 is as shown in FIG.
As shown in 0 (A), the coordinate value in the y direction remains unchanged and x
The coordinate value in the direction is set to 1/2 and the amount of movement in the x direction and the direction in the y direction is set to zero. By the coordinate conversion represented by the formula shown in FIG. The first character "f" of the character string "ff" as shown in (A) is compressed to 1/2 in the x direction as shown in the left half of FIG. 11 (B). Further, in the coordinate conversion matrix M2, as shown in FIG. 10 (C), the coordinate values in the y direction are unchanged, the coordinate values in the x direction are halved, the amount of movement in the y direction is zero, and the amount of movement in the x direction is zero. Is set to ½ of the unit width, and the coordinate conversion matrix M2 shown in FIG.
By the coordinate conversion represented by the formula shown in FIG.
The character "f" after the character string "ff" as shown in (A)
Is 1 / x in the x direction at a position offset by 1/2 of the unit width in the x direction as shown in the right half of FIG.
Compressed to 2.

【0026】図4には示していないが、文字データ格納
手段12には、図5(B)〜図9(B)に示すような置
き換え文字の文字データとして、それぞれのアウトライ
ンフォントデータも格納される。
Although not shown in FIG. 4, each outline font data is also stored in the character data storage means 12 as the character data of the replacement character as shown in FIGS. 5 (B) to 9 (B). It

【0027】文字データ一時格納手段13、置き換え処
理手段14、疑似文字データ生成手段15および文字パ
ターン生成手段16の構成ないし機能は、以下において
図2および図3を用いて示す。なお、図1において太い
矢印で示したラインは制御ラインである。
The configurations and functions of the character data temporary storage means 13, the replacement processing means 14, the pseudo character data generation means 15 and the character pattern generation means 16 will be described below with reference to FIGS. 2 and 3. The line indicated by a thick arrow in FIG. 1 is a control line.

【0028】上位処理装置20の文字パターン一時格納
手段24は、文字処理装置10の文字パターン生成手段
16から得られる文字パターン(文字パターンデータ)
を保持する出力バッファであり、表示手段25は、その
文字パターン一時格納手段24からの文字パターンによ
って文字を表示するCRTディスプレイなどのディスプ
レイである。
The character pattern temporary storage means 24 of the upper processing device 20 is a character pattern (character pattern data) obtained from the character pattern generating means 16 of the character processing device 10.
The display means 25 is a display such as a CRT display for displaying characters according to the character pattern from the character pattern temporary storage means 24.

【0029】以下、具体的に文字列「bull」「di
ffer」および「difficult」の文字コード
が上位処理装置20から文字処理装置10に入力される
場合を例に挙げて、上述した文字処理装置10の動作
を、図2および図3を用いて示す。
Hereinafter, the character strings "bull" and "di" will be specifically described.
The operation of the above-described character processing device 10 will be described with reference to FIGS. 2 and 3, taking as an example the case where the character codes “ffer” and “difficult” are input from the higher-level processing device 20 to the character processing device 10.

【0030】まず、文字列「bull」の文字コードが
文字処理装置10に入力される場合を示す。ただし、こ
の例は文字「b」「u」「l」がいずれも後続リストを
持たない場合である。
First, the case where the character code of the character string "bull" is input to the character processing device 10 will be described. However, this example is a case where none of the characters "b", "u", and "l" has a subsequent list.

【0031】文字「b」の文字コードが文字データ読出
手段11に入力されると、文字データ格納手段12から
文字「b」の文字データが読み出され(ステップS
1)、その文字データが文字データ一時格納手段13に
格納される(ステップS2)。
When the character code of the character "b" is input to the character data reading means 11, the character data of the character "b" is read from the character data storage means 12 (step S
1) The character data is stored in the character data temporary storage means 13 (step S2).

【0032】次に、置き換え処理手段14に置き換え情
報が格納されているか否かが判断される(ステップS
3)。しかし、文字「b」は文字列「bull」の最初
の文字で、後述するところから明らかなように、このと
き置き換え処理手段14には置き換え情報が格納されて
いないので、さらに文字「b」が後続リストを有する文
字であるか否かが判断される(ステップS15)。
Next, it is judged whether or not replacement information is stored in the replacement processing means 14 (step S).
3). However, the character "b" is the first character of the character string "bull", and as will be apparent from the later description, since the replacement information is not stored in the replacement processing means 14 at this time, the character "b" is further changed. It is determined whether or not the character has a subsequent list (step S15).

【0033】文字「b」は後続リストを持たない文字で
あるので、次に、文字データ一時格納手段13から文字
パターン生成手段16に文字「b」の文字データ(アウ
トラインフォントデータ)が送出され、文字パターン生
成手段16において文字「b」の文字パターン(文字パ
ターンデータ)が生成されて上位処理装置20に出力さ
れる(ステップS10)。上位処理装置20では、その
文字パターンが文字パターン一時格納手段24に格納さ
れ、文字パターン一時格納手段24から表示手段25に
送出されて、表示手段25上に文字「b」が表示され
る。
Since the character "b" is a character having no subsequent list, the character data temporary storage means 13 sends the character data (outline font data) of the character "b" to the character pattern generation means 16 next. The character pattern generation means 16 generates a character pattern (character pattern data) of the character "b" and outputs it to the higher-level processing device 20 (step S10). In the host processor 20, the character pattern is stored in the character pattern temporary storage means 24, is sent from the character pattern temporary storage means 24 to the display means 25, and the character “b” is displayed on the display means 25.

【0034】文字列「bull」の残りの文字「u」
「l」「l」も文字「b」と同様に後続リストを持たな
いので、残りの文字「u」「l」「l」の文字コードが
文字データ読出手段11に順次入力されたときも、それ
ぞれの文字ごとに、文字データ格納手段12からの文字
データの読み出し(ステップS1)、その文字データの
文字データ一時格納手段13への格納(ステップS
2)、および文字パターン生成手段16での文字パター
ンの生成出力(ステップS10)が順次なされる。この
ように、文字列「bull」は何ら置き換えがなされる
ことなく表示手段25上に表示される。
The remaining characters "u" of the character string "bul"
Since "l" and "l" do not have a trailing list like the character "b", even when the character codes of the remaining characters "u", "l" and "l" are sequentially input to the character data reading means 11, For each character, the character data is read from the character data storage means 12 (step S1), and the character data is stored in the character data temporary storage means 13 (step S1).
2), and the character pattern generation means 16 sequentially generates and outputs a character pattern (step S10). In this way, the character string "bull" is displayed on the display unit 25 without any replacement.

【0035】次に、文字列「differ」の文字コー
ドが文字処理装置10に入力される場合を示す。文字
「d」「i」はいずれも後続リストを持たないので、文
字「d」「i」の文字コードが文字データ読出手段11
に順次入力されたときは、それぞれの文字ごとに、文字
データ格納手段12からの文字データの読み出し(ステ
ップS1)、その文字データの文字データ一時格納手段
13への格納(ステップS2)、および文字パターン生
成手段16での文字パターンの生成出力(ステップS1
0)が順次なされ、表示手段25上に文字列「di」が
表示される。
Next, the case where the character code of the character string "differ" is input to the character processing device 10 is shown. Since the characters "d" and "i" have no subsequent list, the character code of the characters "d" and "i" is the character data reading means 11
When the characters are sequentially input to, the character data is read from the character data storage means 12 for each character (step S1), the character data is stored in the character data temporary storage means 13 (step S2), and the character is stored. Generation and output of a character pattern by the pattern generation means 16 (step S1
0) is sequentially performed, and the character string "di" is displayed on the display unit 25.

【0036】文字列「di」の後の文字「f」は後続リ
ストを有するので、置き換え処理がなされる。すなわ
ち、文字「f」の文字コードが文字データ読出手段11
に入力されると、まず、文字データ格納手段12から文
字「f」の文字データが読み出され(ステップS1)、
その文字データが文字データ一時格納手段13に格納さ
れ(ステップS2)、置き換え処理手段14に置き換え
情報が格納されているか否かが判断される(ステップS
3)。文字「f」の前の文字「i」は後続リストを持た
ない文字で、このとき置き換え処理手段14には置き換
え情報が格納されていないので、さらに文字「f」が後
続リストを有する文字であるか否かが判断される(ステ
ップS15)。
The character "f" after the character string "di" has a successor list and is therefore replaced. That is, the character code of the character “f” is the character data reading means 11
When first input is, the character data of the character "f" is read from the character data storage means 12 (step S1),
The character data is stored in the character data temporary storage means 13 (step S2), and it is determined whether or not the replacement information is stored in the replacement processing means 14 (step S).
3). The character "i" before the character "f" is a character that does not have a subsequent list, and since the replacement information is not stored in the replacement processing means 14 at this time, the character "f" is a character that has a subsequent list. It is determined whether or not (step S15).

【0037】文字「f」は後続リストを有する文字であ
るので、次に、文字「f」の文字データ中の図4(B)
に示したような置き換え情報、すなわち後続リストの文
字コード、置き換え文字の文字コードおよび疑似置き換
え文字生成用の座標変換マトリクスが置き換え処理手段
14に格納される(ステップS16)。
Since the character "f" is a character having a subsequent list, the character data of the character "f" in FIG.
The replacement information as shown in, that is, the character code of the subsequent list, the character code of the replacement character, and the coordinate conversion matrix for generating the pseudo replacement character is stored in the replacement processing unit 14 (step S16).

【0038】次に、文字データ一時格納手段13から疑
似文字データ生成手段15に文字「f」のアウトライン
フォントデータO(f)および座標変換マトリクスM1
が送出されて、疑似文字データ生成手段15において図
10(B)に示した式で表される座標変換によって文字
「f」についての疑似文字データが生成され(ステップ
S17)、その疑似文字データが文字パターン生成手段
16に供給されて、文字パターン生成手段16において
文字「f」を図11(B)の左半分のパターンで表示す
るような文字パターン(文字パターンデータ)が生成さ
れて上位処理装置20に出力される(ステップS1
0)。
Next, the outline character font data O (f) of the character "f" and the coordinate conversion matrix M1 are transferred from the character data temporary storage means 13 to the pseudo character data generation means 15.
Is transmitted, the pseudo character data generation means 15 generates pseudo character data for the character “f” by coordinate conversion represented by the formula shown in FIG. 10B (step S17), and the pseudo character data is It is supplied to the character pattern generation means 16, and the character pattern generation means 16 generates a character pattern (character pattern data) such that the character “f” is displayed in the pattern on the left half of FIG. 20 (step S1)
0).

【0039】以上で、文字列「di」の直後の文字
「f」についての処理がいったん終了する。次に、文字
列「dif」の後の文字「f」の文字コードが文字デー
タ読出手段11に入力されると、まず、文字データ格納
手段12から文字「f」の文字データが読み出され(ス
テップS1)、その文字データが文字データ一時格納手
段13に格納され(ステップS2)、置き換え処理手段
14に置き換え情報が格納されているか否かが判断され
る(ステップS3)。
With the above, the process for the character "f" immediately after the character string "di" is once completed. Next, when the character code of the character "f" after the character string "dif" is input to the character data reading means 11, first, the character data of the character "f" is read from the character data storage means 12 ( In step S1), the character data is stored in the character data temporary storage means 13 (step S2), and it is determined whether or not the replacement information is stored in the replacement processing means 14 (step S3).

【0040】この文字「f」の前の文字も後続リストを
有する文字「f」で、このとき置き換え処理手段14に
は置き換え情報が格納されているので、次に当該文字で
ある文字「f」がその置き換え処理手段14に格納され
ている後続リストにある文字か否かが判断され(ステッ
プS4)、文字「f」は前の文字である文字「f」の後
続リストにあるので、さらに置き換え文字が決まるか否
かが判断される(ステップS13)。
The character before this character "f" is also a character "f" having a succeeding list. At this time, since the replacement information is stored in the replacement processing means 14, the character "f" which is the next character is next. Is determined to be a character in the subsequent list stored in the replacement processing means 14 (step S4). Since the character "f" is in the subsequent list of the previous character "f", it is further replaced. It is determined whether the character is determined (step S13).

【0041】図4(B)から明らかなように文字列「f
f」の後にいかなる文字が続くかによって置き換え文字
が変わるので、このときいまだ置き換え文字は決まらな
い。したがって、次に疑似文字データの更新がなされる
(ステップS14)。すなわち、文字データ一時格納手
段13から疑似文字データ生成手段15に文字「f」の
アウトラインフォントデータO(f)および座標変換マ
トリクスM2が送出されて、疑似文字データ生成手段1
5において図10(D)に示した式で表される座標変換
によって前の文字「f」についての疑似文字データと合
わせて文字列「ff」についての疑似文字データが生成
される。
As is clear from FIG. 4B, the character string "f
Since the replacement character changes depending on what character follows "f", the replacement character is not yet determined at this time. Therefore, the pseudo character data is updated next (step S14). That is, the outline font data O (f) of the character “f” and the coordinate conversion matrix M2 are sent from the character data temporary storage means 13 to the pseudo character data generation means 15, and the pseudo character data generation means 1 is sent.
In FIG. 5, pseudo character data for the character string “ff” is generated together with the pseudo character data for the previous character “f” by the coordinate conversion represented by the formula shown in FIG.

【0042】次に、その疑似文字データが文字パターン
生成手段16に供給されて、文字パターン生成手段16
において文字列「ff」を図11(B)のパターンで表
示するような文字パターン(文字パターンデータ)が生
成されて上位処理装置20に出力される(ステップS1
0)。以上で、文字列「di」の後の文字列「ff」に
ついての処理がいったん終了する。
Next, the pseudo character data is supplied to the character pattern generating means 16 and the character pattern generating means 16 is supplied.
In FIG. 11, a character pattern (character pattern data) that displays the character string “ff” in the pattern of FIG. 11B is generated and output to the upper processing device 20 (step S1).
0). With the above, the process for the character string “ff” after the character string “di” is once ended.

【0043】この場合、疑似文字データの送り幅はゼロ
にされ、これによって、以下に述べるように置き換え決
定後に文字列「ff」が置き換え文字または疑似置き換
え文字に置き換えられるときにはデータが上書きされる
ように置き換えがなされ、置き換え決定後の置き換えが
容易になされる。
In this case, the feed width of the pseudo character data is set to zero so that the data is overwritten when the character string "ff" is replaced with the replacement character or the pseudo replacement character after the replacement is determined as described below. The replacement is made, and the replacement is easily performed after the replacement is determined.

【0044】次に、文字列「diff」の後の文字
「e」の文字コードが文字データ読出手段11に入力さ
れると、まず、文字データ格納手段12から文字「e」
の文字データが読み出され(ステップS1)、その文字
データが文字データ一時格納手段13に格納され(ステ
ップS2)、置き換え処理手段14に置き換え情報が格
納されているか否かが判断される(ステップS3)。
Next, when the character code of the character "e" after the character string "diff" is input to the character data reading means 11, first, the character "e" is read from the character data storage means 12.
Is read (step S1), the character data is stored in the character data temporary storage means 13 (step S2), and it is determined whether or not replacement information is stored in the replacement processing means 14 (step). S3).

【0045】文字「e」の前の文字「f」は後続リスト
を有する文字で、このとき置き換え処理手段14には置
き換え情報が格納されているので、次に文字「e」がそ
の置き換え処理手段14に格納されている後続リストに
ある文字か否かが判断され(ステップS4)、文字
「e」は文字「f」の後続リストにないので、次に文字
列「ff」の置き換えが決定される(ステップS5)。
The character "f" before the character "e" is a character having a subsequent list. At this time, since the replacement information is stored in the replacement processing means 14, the character "e" is replaced by the replacement processing means. It is determined whether or not the character is in the subsequent list stored in 14 (step S4). Since the character "e" is not in the subsequent list of the character "f", replacement of the character string "ff" is determined next. (Step S5).

【0046】次に、置き換え処理手段14に格納されて
いる置き換え情報中に文字列「ff」の置き換え文字の
文字コードが存在するか否かが判断される(ステップS
6)。この例は、図4(B)に示したように文字「f」
の置き換え情報中に文字列「ff」の置き換え文字の文
字コードC(ff)が存在する場合である。
Next, it is judged whether or not there is a character code of the replacement character of the character string "ff" in the replacement information stored in the replacement processing means 14 (step S).
6). In this example, the character "f" is displayed as shown in FIG.
This is a case where the character code C (ff) of the replacement character of the character string "ff" exists in the replacement information of.

【0047】したがって、次に、その文字コードC(f
f)が置き換え処理手段14から文字データ読出手段1
1に入力されて、文字データ格納手段12から文字列
「ff」の置き換え文字の文字データが読み出され(ス
テップS7)、さらに、その文字データが文字「f」の
文字データと置き換えられて文字データ一時格納手段1
3に格納される(ステップS8)。
Therefore, next, the character code C (f
f) is the character data reading means 1 from the replacement processing means 14.
1 is input, the character data of the replacement character of the character string "ff" is read from the character data storage means 12 (step S7), and the character data is replaced with the character data of the character "f". Data temporary storage means 1
3 (step S8).

【0048】次に、置き換え処理手段14から置き換え
情報が消去され(ステップS9)、その後、文字データ
一時格納手段13から文字パターン生成手段16に文字
列「ff」の置き換え文字の文字データ(アウトライン
フォントデータ)および文字「e」の文字データ(アウ
トラインフォントデータ)が順次送出され、文字パター
ン生成手段16において文字列「ff」の図5(B)に
示すような置き換え文字の文字パターンおよび文字
「e」の文字パターンが順次生成されて上位処理装置2
0に順次出力される(ステップS10)。このとき、上
述したように文字列「ff」はデータが上書きされるよ
うに置き換え文字に置き換えられる。
Next, the replacement information is erased from the replacement processing means 14 (step S9), and thereafter, the character data of the replacement character of the character string "ff" (outline font) is sent from the character data temporary storage means 13 to the character pattern generation means 16. Data) and the character data (outline font data) of the character "e" are sequentially transmitted, and the character pattern generating means 16 replaces the character pattern of the character string "ff" and the character "e" as shown in FIG. The character pattern “” is sequentially generated and the upper processing device 2
It is sequentially output to 0 (step S10). At this time, as described above, the character string “ff” is replaced with the replacement character so that the data is overwritten.

【0049】文字列「differ」の最後の文字
「r」は後続リストを持たず、かつ上記のように置き換
え処理手段14では置き換え情報が消去されるので、次
に文字「r」の文字コードが文字データ読出手段11に
入力されたときは、文字データ格納手段12からの文字
データの読み出し(ステップS1)、その文字データの
文字データ一時格納手段13への格納(ステップS
2)、および文字パターン生成手段16での文字パター
ンの生成出力(ステップS10)が順次なされる。
Since the last character "r" of the character string "differ" has no succeeding list and the replacement information is deleted by the replacement processing means 14 as described above, the character code of the character "r" is next. When input to the character data reading means 11, the character data is read from the character data storage means 12 (step S1), and the character data is stored in the character data temporary storage means 13 (step S).
2), and the character pattern generation means 16 sequentially generates and outputs a character pattern (step S10).

【0050】このようにして、文字列「differ」
は、その文字列「ff」が一文字の置き換え文字に置き
換えられて表示される。
In this way, the character string "differ"
Is displayed with its character string "ff" replaced with a single replacement character.

【0051】次に、文字列「difficult」を構
成する各文字の文字コードが文字処理装置10に順次入
力される場合を示す。文字「d」「i」「f」「f」の
文字コードが文字データ読出手段11に順次入力された
ときまでは、上述した文字列「differ」の場合と
同じである。
Next, the case where the character code of each character forming the character string "difficult" is sequentially input to the character processing device 10 will be described. Until the character codes of the characters “d”, “i”, “f”, and “f” are sequentially input to the character data reading unit 11, the same as in the case of the character string “differ” described above.

【0052】文字列「diff」の後の文字「i」の文
字コードが文字データ読出手段11に入力されると、ま
ず、文字データ格納手段12から文字「i」の文字デー
タが読み出され(ステップS1)、その文字データが文
字データ一時格納手段13に格納され(ステップS
2)、置き換え処理手段14に置き換え情報が格納され
ているか否かが判断される(ステップS3)。
When the character code of the character "i" after the character string "diff" is input to the character data reading means 11, first, the character data of the character "i" is read from the character data storage means 12 ( In step S1, the character data is stored in the character data temporary storage means 13 (step S1).
2) It is determined whether or not replacement information is stored in the replacement processing means 14 (step S3).

【0053】このとき置き換え処理手段14には置き換
え情報が格納されているので、次に文字「i」がその置
き換え処理手段14に格納されている後続リストにある
文字か否かが判断され(ステップS4)、文字「i」は
文字「f」の後続リストにあるので、さらに置き換え文
字が決まるか否かが判断される(ステップS13)。
At this time, since the replacement information is stored in the replacement processing means 14, it is next judged whether or not the character "i" is a character in the subsequent list stored in the replacement processing means 14 (step S4), since the character "i" is in the subsequent list of the character "f", it is further determined whether the replacement character is determined (step S13).

【0054】図4(B)から明らかなように、このとき
置き換え文字が決まる。したがって、次に疑似文字デー
タの更新がなされることなく、ただちに文字列「ff
i」の置き換えが決定される(ステップS5)。
As is clear from FIG. 4B, the replacement character is determined at this time. Therefore, immediately after the pseudo character data is not updated, the character string "ff
The replacement of "i" is determined (step S5).

【0055】次に、置き換え処理手段14に格納されて
いる置き換え情報中に文字列「ffi」の置き換え文字
の文字コードが存在するか否かが判断される(ステップ
S6)。この例は、図4(B)に示したように文字
「f」の置き換え情報中に文字列「ffi」の置き換え
文字の文字コードC(ffi)が存在する場合である。
Next, it is judged whether or not the replacement information stored in the replacement processing means 14 contains the character code of the replacement character of the character string "ffi" (step S6). In this example, as shown in FIG. 4B, the character code C (ffi) of the replacement character of the character string “ffi” exists in the replacement information of the character “f”.

【0056】したがって、次に、その文字コードC(f
fi)が置き換え処理手段14から文字データ読出手段
11に入力されて、文字データ格納手段12から文字列
「ffi」の置き換え文字の文字データが読み出され
(ステップS7)、さらに、その文字データが文字
「f」の文字データと置き換えられて文字データ一時格
納手段13に格納される(ステップS8)。
Therefore, next, the character code C (f
fi) is input from the replacement processing unit 14 to the character data reading unit 11, the character data of the replacement character of the character string “ffi” is read from the character data storage unit 12 (step S7), and the character data is further read. It is replaced with the character data of the character "f" and stored in the character data temporary storage means 13 (step S8).

【0057】次に、置き換え処理手段14から置き換え
情報が消去され(ステップS9)、その後、文字データ
一時格納手段13から文字パターン生成手段16に文字
列「ffi」の置き換え文字の文字データ(アウトライ
ンフォントデータ)が送出され、文字パターン生成手段
16において文字列「ffi」の図6(B)に示すよう
な置き換え文字の文字パターンが生成されて上位処理装
置20に出力される(ステップ(S10)。
Next, the replacement information is erased from the replacement processing means 14 (step S9), and thereafter, the character data of the replacement character of the character string "ffi" (outline font) is sent from the character data temporary storage means 13 to the character pattern generation means 16. Data) is transmitted, and the character pattern generation means 16 generates a character pattern of the replacement character as shown in FIG. 6B of the character string “ffi” and outputs it to the upper processing device 20 (step (S10)).

【0058】文字列「difficult」の以後の文
字「c」「u」「l」「t」はいずれも後続リストを持
たず、かつ上記のように置き換え処理手段14では置き
換え情報が消去されるので、次に文字「c」「u」
「l」「t」の文字コードが文字データ読出手段11に
順次入力されたときは、それぞれの文字ごとに、文字デ
ータ格納手段12からの文字データの読み出し(ステッ
プS1)、その文字データの文字データ一時格納手段1
3への格納(ステップS2)、および文字パターン生成
手段16での文字パターンの生成出力(ステップS1
0)が順次なされる。
The characters "c", "u", "l" and "t" after the character string "difficult" have no successor list, and the replacement information is erased by the replacement processing means 14 as described above. , Then the letters "c" and "u"
When the character codes "l" and "t" are sequentially input to the character data reading means 11, the character data is read from the character data storage means 12 for each character (step S1), and the character of the character data is read. Data temporary storage means 1
3 (step S2), and the character pattern generation means 16 generates and outputs a character pattern (step S1).
0) is sequentially performed.

【0059】このようにして、文字列「difficu
lt」は、その文字列「ffi」が一文字の置き換え文
字に置き換えられて表示される。
In this way, the character string "difficu
"lt" is displayed by replacing the character string "ffi" with a single replacement character.

【0060】上述した例は、文字列「ff」「ffi」
「ffl」「fi」「fl」のそれぞれにつき図5
(B)〜図9(B)に示したような置き換え文字が存在
する場合であるが、このような置き換え文字が存在しな
い場合には、座標変換マトリクスによる座標変換によっ
て当該文字列は疑似置き換え文字に置き換えられる。
In the above example, the character strings "ff" and "ffi"
FIG. 5 for each of “ffl”, “fi”, and “fl”
(B) to FIG. 9B, there is a replacement character, but if such a replacement character does not exist, the character string is a pseudo replacement character by coordinate conversion by the coordinate conversion matrix. Is replaced by

【0061】例えば、文字列「ff」の置き換え文字が
存在しない場合で、文字列「differ」の文字コー
ドが文字処理装置10に入力される場合には、文字列
「diff」の後の文字「e」の文字コードが文字デー
タ読出手段11に入力されて、上記のステップS6で置
き換え処理手段14に格納されている置き換え情報中に
文字列「ff」の置き換え文字の文字コードが存在しな
いと判断されたとき、次に、文字データ一時格納手段1
3から疑似文字データ生成手段15に文字「f」のアウ
トラインフォントデータO(f)および座標変換マトリ
クスM1,M2が送出されて、疑似文字データ生成手段
15において図10(B)(D)に示した式で表される
座標変換によって文字列「ff」の疑似置き換え文字に
ついての文字データが生成される(ステップS12)。
For example, when the replacement character of the character string “ff” does not exist and the character code of the character string “differ” is input to the character processing device 10, the character “diff” after the character string “diff” is input. The character code "e" is input to the character data reading means 11, and it is determined that the character code of the replacement character of the character string "ff" does not exist in the replacement information stored in the replacement processing means 14 in step S6. Next, the character data temporary storage means 1
3 sends the outline font data O (f) of the character "f" and the coordinate conversion matrices M1 and M2 to the pseudo character data generation means 15, and the pseudo character data generation means 15 shows them in FIGS. Character data for the pseudo replacement character of the character string "ff" is generated by the coordinate conversion represented by the equation (step S12).

【0062】次に、置き換え処理手段14から置き換え
情報が消去され(ステップS9)、その後、疑似文字デ
ータ生成手段15から文字パターン生成手段16に文字
列「ff」の疑似置き換え文字の文字データが送出さ
れ、文字パターン生成手段16において文字列「ff」
の疑似置き換え文字についての文字パターンが生成され
て上位処理装置20に出力される(ステップS10)。
Next, the replacement information is erased from the replacement processing means 14 (step S9), and thereafter the character data of the pseudo replacement character of the character string "ff" is sent from the pseudo character data generation means 15 to the character pattern generation means 16. Then, the character string “ff” is generated in the character pattern generation means 16.
A character pattern for the pseudo replacement character is generated and output to the upper processing device 20 (step S10).

【0063】ただし、文字列「ffi」「ffl」のよ
うな3文字からなる文字列につき置き換え文字が存在し
ない場合には、それら3文字に対する3つの座標変換マ
トリクスが用意され、かつそれら3つの座標変換マトリ
クスは3文字からなる文字列を一文字幅の疑似置き換え
文字に置き換えるように3文字のアウトラインフォント
データを座標変換するものとされる。
However, when there is no replacement character for a character string consisting of three characters such as the character strings “ffi” and “ffl”, three coordinate conversion matrices for the three characters are prepared and the three coordinates are set. The conversion matrix is designed to coordinate-convert the three-character outline font data so that a character string consisting of three characters is replaced with a pseudo replacement character having a width of one character.

【0064】なお、表示手段25上に文字を表示すると
ともに用紙上に文字を印刷する場合には、例えば、表示
用の文字パターン一時格納手段24とともに印刷用の文
字パターン一時格納手段が設けられ、その印刷用の文字
パターン一時格納手段には文字パターン生成手段16か
ら置き換え決定後の置き換え文字または疑似置き換え文
字の文字パターンが格納され、その印刷用の文字パター
ン一時格納手段から印刷手段に文字パターンが送出され
るようにすればよい。
When displaying a character on the display means 25 and printing the character on the paper, for example, a character pattern temporary storage means for display 24 and a character pattern temporary storage means for printing are provided. The character pattern of the replacement character or the pseudo replacement character after the replacement is determined is stored in the character pattern temporary storage means for printing from the character pattern generation means 16, and the character pattern is stored in the printing means from the character pattern temporary storage means for printing. It may be sent out.

【0065】上述した例によれば、文書作成システムの
文字処理装置10で独立的に文字列の置き換えを行うこ
とができ、上位処理装置20の構成ないし制御情報にか
かわらず、確実に文字列の置き換えがなされるととも
に、同一品質の文字出力を得ることができる。また、文
字フォントデータに付加される置き換え情報を追加し、
または書き換えることによって、上位処理装置20の構
成ないし制御情報にかかわらず、置き換えの対象となる
文字列ないし置き換え文字を容易に追加または変更する
ことができる。
According to the above-described example, the character string can be independently replaced by the character processing device 10 of the document creating system, and the character string can be reliably written regardless of the configuration or control information of the upper processing device 20. With the replacement, the same quality character output can be obtained. Also, add the replacement information added to the character font data,
Alternatively, by rewriting, the character string or the replacement character to be replaced can be easily added or changed regardless of the configuration or control information of the higher-level processing device 20.

【0066】さらに、上述した例によれば、置き換え決
定後に置き換え文字または疑似置き換え文字が表示され
るまでの間でも置き換え対象の文字列を構成する各文字
がオペレータの入力操作に従って順次表示されるので、
オペレータは自己の入力操作を表示画面上で逐次確認す
ることができる。
Further, according to the above-mentioned example, each character constituting the character string to be replaced is sequentially displayed according to the operator's input operation until the replacement character or the pseudo replacement character is displayed after the replacement is determined. ,
The operator can successively confirm his / her input operation on the display screen.

【0067】なお、置き換え文字の文字データは、文字
データ格納手段12に格納されて、これから読み出され
る代わりに、置き換え情報中の置き換え文字の文字コー
ドなどの置き換え文字情報によって内部的に生成される
ようにすることもできる。また、特定の文字列を疑似置
き換え文字ではなく常に置き換え文字に置き換えるよう
にする場合には、後続リストそのものを置き換え文字情
報とすることができる。
The character data of the replacement character is stored in the character data storage means 12, and instead of being read from this, it is internally generated by the replacement character information such as the character code of the replacement character in the replacement information. You can also Further, when the specific character string is always replaced with the replacement character instead of the pseudo replacement character, the subsequent list itself can be used as the replacement character information.

【0068】文字フォントデータとしては、アウトライ
ンフォントデータの代わりにビットマップフォントデー
タを用いることもできる。
As the character font data, bitmap font data may be used instead of the outline font data.

【0069】なお、この発明は、リガチャ処理に限ら
ず、複数の文字を組み合わせて図12のそれぞれに示す
ような一つの文字を形成する合字処理や、ハングル文字
などのように複数の文字要素を組み合わせて一つの文字
を形成する組み合わせ処理にも適用することができる。
The present invention is not limited to the ligature process, but includes a ligature process for combining a plurality of characters to form one character as shown in FIG. 12, and a plurality of character elements such as Hangul characters. The present invention can also be applied to a combination process of forming a single character by combining.

【0070】[0070]

【発明の効果】上述したように、この発明によれば、文
書作成システムの文字処理装置で独立的にリガチャ処理
などを行うことができ、これにより、上位処理装置の構
成ないし制御情報にかかわらず、確実にリガチャ処理な
どがなされ、かつ同一品質の文字出力を得ることができ
るとともに、リガチャ処理などの対象となる文字列また
は文字要素列、ないし置き換え文字を容易に追加または
変更することができる。
As described above, according to the present invention, it is possible to independently perform ligature processing or the like in the character processing device of the document creation system, and thereby, regardless of the configuration or control information of the host processing device. As a result, the ligature process is surely performed, and the character output of the same quality can be obtained, and the target character string or character element string for the ligature process or the replacement character can be easily added or changed.

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

【図1】この発明の文字処理装置の一例を示す機能ブロ
ック図である。
FIG. 1 is a functional block diagram showing an example of a character processing device of the present invention.

【図2】その処理手順の一部を示すフローチャートであ
る。
FIG. 2 is a flowchart showing a part of the processing procedure.

【図3】その処理手順の残部を示すフローチャートであ
る。
FIG. 3 is a flowchart showing the rest of the processing procedure.

【図4】文字データの一例を示す図である。FIG. 4 is a diagram showing an example of character data.

【図5】文字列とその置き換え文字の例を示す図であ
る。
FIG. 5 is a diagram showing an example of a character string and its replacement character.

【図6】文字列とその置き換え文字の例を示す図であ
る。
FIG. 6 is a diagram showing an example of a character string and its replacement character.

【図7】文字列とその置き換え文字の例を示す図であ
る。
FIG. 7 is a diagram showing an example of a character string and its replacement character.

【図8】文字列とその置き換え文字の例を示す図であ
る。
FIG. 8 is a diagram showing an example of a character string and its replacement character.

【図9】文字列とその置き換え文字の例を示す図であ
る。
FIG. 9 is a diagram showing an example of a character string and its replacement character.

【図10】座標変換マトリクスと座標変換式の例を示す
図である。
FIG. 10 is a diagram showing an example of a coordinate conversion matrix and a coordinate conversion formula.

【図11】文字列とその疑似置き換え文字の例を示す図
である。
FIG. 11 is a diagram showing an example of a character string and its pseudo replacement character.

【図12】合字の例を示す図である。FIG. 12 is a diagram showing an example of a ligature.

【図13】従来の文書作成システムの構成を概念的に示
す図である。
FIG. 13 is a diagram conceptually showing the structure of a conventional document creation system.

【図14】文書作成システムの考えられる構成を概念的
に示す図である。
FIG. 14 is a diagram conceptually showing a possible configuration of the document creation system.

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

10 文字処理装置 11 文字データ読出手段 12 文字データ格納手段 13 文字データ一時格納手段 14 置き換え処理手段 15 疑似文字データ生成手段 16 文字パターン生成手段 10 character processing device 11 character data reading means 12 character data storing means 13 character data temporary storing means 14 replacement processing means 15 pseudo character data generating means 16 character pattern generating means

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06F 17/21 9288−5L G06F 15/20 562 Z ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical display location G06F 17/21 9288-5L G06F 15/20 562 Z

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】文字コードを受けて文字パターンを出力す
る文字処理装置において、 当該文字または当該文字要素とこれに続く特定の一つも
しくは複数の後続文字または後続文字要素からなる文字
列または文字要素列を置き換え文字に置き換える場合に
おける置き換えのための情報として少なくとも、その特
定の後続文字または後続文字要素を示す後続リストを有
する文字データが格納される文字データ格納手段と、 順次入力された文字コードによって上記文字データ格納
手段から文字データを順次読み出す文字データ読出手段
と、 その順次読み出された文字データ中の上記置き換え情報
から、上記順次入力された文字コードによって指示され
る文字列または文字要素列が置き換え文字に置き換える
べきものであるか否かを判断し、置き換え文字に置き換
えるべきものであるときには、その置き換え文字の文字
パターンを出力する置き換え処理パターン生成手段と、 を備えることを特徴とする文字処理装置。
1. A character processing device for receiving a character code and outputting a character pattern, wherein a character string or a character element comprising the character or the character element and one or more specific succeeding characters or subsequent character elements. Character information storing means for storing character data having at least a specific succeeding character or a succeeding list indicating the succeeding character as information for replacement when replacing a column with a replacement character, and a character code sequentially input. Character data reading means for sequentially reading character data from the character data storage means, and the replacement information in the sequentially read character data are used to determine a character string or a character element string indicated by the sequentially input character code. Judge whether it should be replaced with the replacement character and replace it When it should replace the character, the character processing apparatus comprising: the replacement processing pattern generating means for outputting a character pattern of the replacement character, a.
【請求項2】文字コードを受けて文字パターンを出力す
る文字処理装置において、 当該文字または当該文字要素とこれに続く特定の一つも
しくは複数の後続文字または後続文字要素からなる文字
列または文字要素列を疑似置き換え文字に置き換える場
合における置き換えのための情報として、その特定の後
続文字または後続文字要素を示す後続リストと、座標変
換マトリクスまたはその他の変換用情報とを有する文字
データが格納される文字データ格納手段と、 順次入力された文字コードによって上記文字データ格納
手段から文字データを順次読み出す文字データ読出手段
と、 その順次読み出された文字データ中の上記置き換え情報
から、上記順次入力された文字コードによって指示され
る文字列または文字要素列が疑似置き換え文字に置き換
えるべきものであるか否かを判断し、疑似置き換え文字
に置き換えるべきものであるときには、上記変換用情報
を用いて、その疑似置き換え文字の文字パターンを出力
する置き換え処理パターン生成手段と、 を備えることを特徴とする文字処理装置。
2. A character processing device for receiving a character code and outputting a character pattern, wherein the character or the character element and a character string or character element consisting of a specific one or more subsequent characters or subsequent character elements. Characters in which character data having a subsequent list indicating a specific subsequent character or a subsequent character element and a coordinate conversion matrix or other conversion information are stored as information for replacement when a column is replaced with pseudo replacement characters The data storage means, the character data reading means for sequentially reading the character data from the character data storage means according to the sequentially input character code, and the sequentially input characters from the replacement information in the sequentially read character data. The character string or character element string indicated by the code is placed in the pseudo replacement character. A replacement processing pattern generating means for determining whether or not to replace the pseudo-replacement character and outputting the character pattern of the pseudo-replacement character by using the conversion information when it is to be replaced with the pseudo-replacement character. A character processing device characterized by the above.
【請求項3】文字コードを受けて文字パターンを出力す
る文字処理装置において、 当該文字または当該文字要素とこれに続く特定の一つも
しくは複数の後続文字または後続文字要素からなる文字
列または文字要素列を置き換え文字または疑似置き換え
文字に置き換える場合における置き換えのための情報と
して、その特定の後続文字または後続文字要素を示す後
続リスト、上記文字列または文字要素列を置き換え文字
に置き換える場合における、その置き換え文字の情報、
および上記文字列または文字要素列を疑似置き換え文字
に置き換える場合における座標変換マトリクスまたはそ
の他の変換用情報とを有する文字データが格納される文
字データ格納手段と、 順次入力された文字コードによって上記文字データ格納
手段から文字データを順次読み出す文字データ読出手段
と、 その順次読み出された文字データ中の上記後続リストか
ら、上記順次入力された文字コードによって指示される
文字列または文字要素列が置き換え文字または疑似置き
換え文字に置き換えるべきものであるか否かを判断し、
置き換え文字または疑似置き換え文字に置き換えるべき
ものである場合で、上記置き換え情報として上記置き換
え文字情報を有するときには、その置き換え文字情報を
用いて最終的に置き換え文字の文字パターンを出力し、
上記置き換え情報として上記置き換え文字情報を持た
ず、上記変換用情報を有するときには、その変換用情報
を用いて最終的に疑似置き換え文字の文字パターンを出
力する置き換え処理パターン生成手段と、 を備えることを特徴とする文字処理装置。
3. A character processing device for receiving a character code and outputting a character pattern, wherein the character or the character element and a character string or character element consisting of a specific one or more subsequent characters or subsequent character elements following the character or the character element. Subsequent list indicating the specific subsequent character or subsequent character element, or replacement when replacing the above character string or character element string with the replacement character, as information for replacement when replacing the column with the replacement character or pseudo replacement character Character information,
And character data storage means for storing character data having a coordinate conversion matrix or other conversion information in the case of replacing the character string or the character element string with a pseudo replacement character, and the character data according to sequentially input character codes. Character data reading means for sequentially reading character data from the storing means, and a character string or a character element string designated by the sequentially input character code from the subsequent list in the sequentially read character data is replaced with a character or Judge whether it should be replaced with the pseudo replacement character,
When the replacement character or the pseudo replacement character is to be replaced, and when the replacement information has the replacement character information, the replacement character information is used to finally output a character pattern of the replacement character,
When the replacement information does not have the replacement character information but the conversion information, the replacement processing pattern generation means for finally outputting the character pattern of the pseudo replacement character using the conversion information is provided. Characterized character processing device.
JP7028796A 1995-01-25 1995-01-25 Character processor Pending JPH08202333A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7028796A JPH08202333A (en) 1995-01-25 1995-01-25 Character processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7028796A JPH08202333A (en) 1995-01-25 1995-01-25 Character processor

Publications (1)

Publication Number Publication Date
JPH08202333A true JPH08202333A (en) 1996-08-09

Family

ID=12258396

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7028796A Pending JPH08202333A (en) 1995-01-25 1995-01-25 Character processor

Country Status (1)

Country Link
JP (1) JPH08202333A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020086405A (en) * 2018-11-30 2020-06-04 株式会社リコー Information processor, information processing system and information processing program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020086405A (en) * 2018-11-30 2020-06-04 株式会社リコー Information processor, information processing system and information processing program

Similar Documents

Publication Publication Date Title
US5878198A (en) Information processing apparatus and method and memory medium storing information processing program
US4717911A (en) Technique for chaining lines of a document together to facilitate editing or proofreading
JPH08202333A (en) Character processor
GB2233800A (en) Text processing with framing
JP3246142B2 (en) Printing control device
JP2561000B2 (en) String output method
JP3267223B2 (en) Message editing method
JPH0666066B2 (en) Document processor with furigana addition function
JPS59123046A (en) Display system of document processor
JPH05158757A (en) Dump output method
JP2612402B2 (en) Display control method
JP2606579B2 (en) Character display device
JPH10324039A (en) Method for changing print format interactively, and printer emulator
JPS605470B2 (en) typesetting system
JPH0793319A (en) Document processor
JPH05307550A (en) Document preparing device
JPH0764981A (en) Document processor
JPH04268600A (en) Document preparing device
JPH06301672A (en) Document preparing device
JPH07152737A (en) Document preparing device
JPH08147277A (en) Document printing processor
JPH0696070A (en) Document input system
JPH06270374A (en) Composition system
JPH0728452A (en) Crt line feed width controller
JPH05289647A (en) Character drawing control method

Legal Events

Date Code Title Description
A977 Report on retrieval

Effective date: 20050216

Free format text: JAPANESE INTERMEDIATE CODE: A971007

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050223

A521 Written amendment

Effective date: 20050412

Free format text: JAPANESE INTERMEDIATE CODE: A523

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20050412

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050608

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050621

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080708

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090708

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090708

Year of fee payment: 4

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

Year of fee payment: 5

Free format text: PAYMENT UNTIL: 20100708

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

Year of fee payment: 5

Free format text: PAYMENT UNTIL: 20100708

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

Year of fee payment: 6

Free format text: PAYMENT UNTIL: 20110708

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

Year of fee payment: 7

Free format text: PAYMENT UNTIL: 20120708

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

Free format text: PAYMENT UNTIL: 20130708

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20140708

Year of fee payment: 9