JPH0746352B2 - Font conversion method - Google Patents

Font conversion method

Info

Publication number
JPH0746352B2
JPH0746352B2 JP59182814A JP18281484A JPH0746352B2 JP H0746352 B2 JPH0746352 B2 JP H0746352B2 JP 59182814 A JP59182814 A JP 59182814A JP 18281484 A JP18281484 A JP 18281484A JP H0746352 B2 JPH0746352 B2 JP H0746352B2
Authority
JP
Japan
Prior art keywords
character
information
font
conversion
kanji
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP59182814A
Other languages
Japanese (ja)
Other versions
JPS6162165A (en
Inventor
展子 佐藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP59182814A priority Critical patent/JPH0746352B2/en
Publication of JPS6162165A publication Critical patent/JPS6162165A/en
Publication of JPH0746352B2 publication Critical patent/JPH0746352B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 [発明の技術分野] 本発明は、日本語文書作成装置によって文書を作成する
際の漢字の字体を指定の字体に変換する字体変換方式に
関する。
Description: TECHNICAL FIELD OF THE INVENTION The present invention relates to a font conversion method for converting a font of a Chinese character when a document is created by a Japanese document creator into a specified font.

[発明の技術的背景とその問題点] 従来から、日本語文書作成装置を用いて文書を作成する
際に、使用される漢字はJIS漢字コードに記載されてい
る漢字の字体(常用漢字の字体)を全て使用して文書を
作成していた。従って、康煕字典(清の聖祖の康煕55
年、張玉書等勅を奉じて撰した古い字典)に記載されて
いる漢字の字体を含んだ文書を作成する場合、特に漢字
使用制限のない時はそのまま前記文書を印字して使用し
ていた。しかし、例えば常用漢字のみ使用可という漢字
使用制限があった場合は、文書中の康煕字典の漢字の字
体をJIS漢字コードに記載されている漢字の字体に1つ
ずつ訂正した後、文書を印字しなければならず文書作成
に手間及び時間がかかるという欠点があった。
[Technical background of the invention and its problems] Traditionally, when a document is created using a Japanese document creation device, the kanji used is the kanji character described in the JIS kanji code (common kanji character form). ) Was used to create the document. Therefore, the Kangxi scripture (Kanhee 55
In the past, when creating a document containing the fonts of the kanji described in the Chinese encyclopedia, such as Zhang Jingyo, etc., the above document was printed and used as it was, unless there were restrictions on the use of kanji. However, for example, if there is a Kanji usage restriction that only regular Kanji can be used, correct the Kanji characters in the Kanji character list in the document to the Kanji characters listed in the JIS Kanji code, and then print the document. However, there is a drawback that it takes time and effort to create a document.

[発明の目的] 本発明の目的は、上記の欠点に鑑み、文書作成に際して
漢字の字体を自動的に指定された字体に変換して印字す
ることができる日本語文書作成装置の字体変換方式を採
用することにある。
[Object of the Invention] In view of the above-mentioned drawbacks, an object of the present invention is to provide a font conversion method for a Japanese document creation apparatus capable of automatically converting the font of a Chinese character into a specified font when creating a document. To hire.

[発明の概要] 本発明は、入力された文書情報に対応して展開された文
字コード情報を文字パターンデータに変換し、この文字
パターンデータに従って出力表示を行うものに於いて、
出力表示する前記文字パターンデータに対応する字体情
報の使用制限を指定する字体変換指定手段と、前記字体
情報の文字コード情報を前記字体変換指定手段によって
指定された字体情報の出力表示の使用制限に応じて使用
を許された字体情報の文字コード情報に変換するための
字体変換情報が格納された字体変換情報記憶部と、入力
された文字情報を文字コード情報に展開する文字制御部
とを設け、この文字制御部に前記字体変換指定手段から
字体情報の使用制限が指定されると、前記字体変換情報
に基づき予め設定された字体情報の文字コード情報を参
照した後、対応する文字パターンデータに変換して出力
表示動作に移行制御するようにし、又前記字体変換情報
記憶部内の字体変換情報は所定の入力情報に基づき任意
に書き換えられるよう制御する方式を採用することによ
り、上記目的を達成するものである。
[Summary of the Invention] The present invention relates to one in which character code information expanded corresponding to input document information is converted into character pattern data and output is displayed according to the character pattern data.
A font conversion designating means for designating a usage restriction of font information corresponding to the character pattern data to be output and displayed, and a character code information of the font information as a usage restriction for output display of the font information specified by the font conversion designating means. Provided is a character conversion information storage unit that stores character conversion information for converting the character code information of the character information that is allowed to be used, and a character control unit that expands the input character information into character code information. When the use restriction of the font information is designated by the font conversion designating means in the character control unit, the character code information of the font information preset based on the font conversion information is referred to, and then the corresponding character pattern data is created. The conversion is performed so as to control the transition to the output display operation, and the font conversion information in the font conversion information storage unit can be arbitrarily rewritten based on predetermined input information. By adopting the method of cormorants control it is intended to achieve the above object.

[発明の実施例] 以下本発明の一実施例を図面を参照しつつ説明する。第
1図は本発明の字体変換方式を適用した日本語文書作成
装置の一実施例を示したブロック図である。符号1は文
字制御部であり、入力文書を文字コードに展開し、後述
する文字データ記憶部5から前記文字コードに対応した
文字パターンを読み出して印字できるようにするもので
ある。符号2は入力装置であり、文書をキー入力したり
漢字使用制限の指定を行なうものである。符号3は文書
を保存するフロッピーディスク装置等の外部記憶装置
で、文字制御部1によってアクセスされるものである。
印字部4は文字制御部1から送られてくる文字パターン
データに従って文書を印字するものである。符号5は文
字データ記憶部で文字制御部1により展開される文字コ
ードに対応した文字パターンデータが格納されている。
符号6は字体変換コードテーブル記憶部で、字体を変換
する漢字(常用漢字)のコードが格納されている。
[Embodiment of the Invention] An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a Japanese document creating apparatus to which the font conversion method of the present invention is applied. Reference numeral 1 denotes a character control unit, which develops an input document into character codes and enables a character pattern corresponding to the character codes to be read out and printed from a character data storage unit 5 described later. Reference numeral 2 is an input device, which is used for key input of a document and designation of use of Chinese characters. Reference numeral 3 is an external storage device such as a floppy disk device for storing a document, which is accessed by the character control unit 1.
The printing unit 4 prints a document in accordance with the character pattern data sent from the character control unit 1. Reference numeral 5 is a character data storage unit in which character pattern data corresponding to a character code developed by the character control unit 1 is stored.
Reference numeral 6 is a font conversion code table storage unit, which stores codes of kanji (common kanji) for converting fonts.

次に本実施例の動作について説明する。先ず、文字制御
部1は外部記憶装置3より文書を読み込み、読み込んだ
文書を文字コードに展開する。ここで、読み込んだ文書
は康煕字典の漢字(字体)とJIS漢字コードに記載され
ている漢字(字体)を含んでいるものとする。通常、文
字制御部1は文字パターンデータ記憶部5から前記文字
コードに対応する文字パターンデータを読み出し、これ
を印字部4に出力する。印字部4では入力された文字パ
ターンデータに従って印字が行なわれる。この際、入力
装置2により、康煕字典の字体を使用してはいけないと
いう漢字使用制限指定を受けると、上記の如く入力文書
を文字コードに展開した後、展開した文字コードに対応
する字体コードを字体変換コードテーブル記憶部6から
読み出し前記展開した全ての文字コードを字体変換コー
ドテーブル記憶部6から読み出した常用漢字の字体のみ
を含む文字コードに置換する。その後、新たに形成され
た文字コード列に対応した文字パターンデータを文字パ
ターンデータ記憶部5から読み出して、これを印字部4
に出力する。印字部4は入力された文字パターンデータ
に従って印字を行なう。このため、印字された文書の漢
字の字体はJIS漢字コードに記載されている漢字(常用
漢字)の字体のみを含むことになる。
Next, the operation of this embodiment will be described. First, the character control unit 1 reads a document from the external storage device 3 and develops the read document into a character code. Here, it is assumed that the read document includes the kanji (letter) of the Kangxi dictionary and the kanji (letter) described in the JIS kanji code. Normally, the character control unit 1 reads the character pattern data corresponding to the character code from the character pattern data storage unit 5, and outputs this to the printing unit 4. The printing unit 4 prints according to the input character pattern data. At this time, if the input device 2 receives a Kanji usage restriction designation that the font of the Kangxi alphabet should not be used, after the input document is expanded into character codes as described above, the character code corresponding to the expanded character code is changed. All the developed character codes read from the font conversion code table storage unit 6 are replaced with the character codes including only the fonts of the common Kanji characters read from the character conversion code table storage unit 6. Thereafter, the character pattern data corresponding to the newly formed character code string is read from the character pattern data storage unit 5, and this is read by the printing unit 4.
Output to. The printing unit 4 prints according to the input character pattern data. Therefore, the kanji character of the printed document includes only the kanji character (common kanji) described in the JIS kanji code.

ここで、上記文書中に康煕字典の字体「暁」が含まれて
いたとする。この「暁」はJISコード点58区92の文字コ
ードに文字制御部1により展開される。その後、文字制
御部1は字体変換コードテーブルのコード点58区92の内
容を読みに行き、この内容であるコード点22区39を読み
込んで、前記文書中のコード点58区92と置き換える。こ
のコード点22区39は常用漢字の暁であるため、康煕字典
の暁が常用漢字の暁に変換されたことになる。このた
め、印字部4により印字される文書中の暁は常用漢字の
字体となる。
Here, it is assumed that the above-mentioned document includes the font "Akatsuki" of the Kangxi character book. This "Akatsuki" is expanded by the character control unit 1 to the character code of JIS code point 58 ward 92. After that, the character control unit 1 reads the contents of the code point 58 section 92 of the font conversion code table, reads the code point 22 section 39 having this content, and replaces it with the code point 58 section 92 in the document. Since this code point 22 ward 39 is an Akatsuki of common Kanji, it means that the Akatsuki of Kangxi dictionary has been converted to the Akatsuki of common Kanji. For this reason, Akatsuki in the document printed by the printing unit 4 becomes the font of the commonly used Kanji.

ところで、上記文書中に字体変換をする必要のない常用
漢字の暁が含まれている場合、これも文字制御部1によ
り先ずコード点22区39に展開され、その後文字制御部1
はこのコード点22区39の漢字変換コードテーブルを読み
に行くが、そこには同じコード点22区39が書かれている
ため、これを読み出して前記コード点22区39と置換して
も、結局コード点22区39が残り、常用漢字暁は字体変換
されないことになる。
By the way, when the above-mentioned document contains the akaka of the common kanji which does not need to be converted into a font, this is also expanded by the character control unit 1 into the code point 22 ward 39 first, and then the character control unit 1
Goes to read the Kanji conversion code table of this code point 22 ward 39, but since the same code point 22 ward 39 is written there, even if this is read and replaced with the code point 22 ward 39, After all, the code point 22 ward 39 remains, and the regular Kanji Akatsuki is not converted.

第2図はJIS漢字コード例を示したもので、常用漢字の
暁はコード点22区39であり、康煕字典の暁はコード点58
区92である。
Fig. 2 shows an example of JIS Kanji code. Akatsuki of common Kanji is code point 22 ward 39, and Akatsuki of Kangxi dictionary is code point 58.
It is ward 92.

第3図は、字体変換コードテーブル記憶部6の字体変換
コードテーブル例を示した図である。この例では、康煕
字典の字体暁に対応するコード点58区92には常用漢字の
暁に対応するコード点22区39がかかれており、常用漢字
の暁に対応するコード点22区39にはやはり常用漢字の暁
に対応するコード点22区39が書かれている。
FIG. 3 is a diagram showing an example of a character style conversion code table in the character style conversion code table storage unit 6. In this example, the code point 58 ward 92 corresponding to the Kanji character's Akatsuki has the code point 22 ward 39 corresponding to the common Chinese character's akatsuki, and the code point 22 ward 39 corresponding to the common Chinese character's akatsuki is After all, the code point 22 ward 39 corresponding to Akatsuki of common kanji is written.

なお、字体変換コードテーブルの内容は入力装置2を用
いて任意に書き換えられるものとする。従って、逆に常
用漢字の字体を康煕字典の字体に変換することも可能と
なる。
The contents of the font conversion code table are arbitrarily rewritten using the input device 2. Therefore, on the contrary, it is possible to convert the fonts of common Kanji into the fonts of Kangxi.

したがって、上記実施例では文書中の使用漢字(字体)
に制限があるような場合、オペレータが1つずつ漢字の
字体を変換して文書を作り直す必要がなく、使用可能な
漢字の字体を指定するだけで、後は自動的に字体を指定
字体に変換して文書を印字することができる。このため
文書入力が迅速且つ短時間となると共に、ミスをなくす
ことができる。しかも、字体変換情報コードテーブル記
憶部内のデータは任意に書き換えられるよう制御するよ
うにしたので、使用漢字の選択の幅が広がり、オペレー
タのニーズに合致した使い勝手の向上も図れるものであ
る。
Therefore, in the above embodiment, the used Kanji (character style) in the document is used.
If there is a limit to the number of characters, it is not necessary for the operator to convert the kanji characters one by one to recreate the document. All you have to do is specify the kanji characters that can be used. Then, the document can be printed. Therefore, the document input can be performed quickly and in a short time, and mistakes can be eliminated. Moreover, since the data in the font conversion information code table storage unit is controlled so that it can be rewritten arbitrarily, the range of selection of the kanji used can be widened, and the usability that meets the needs of the operator can be improved.

なお、上記実施例の字体変換方式は、文書制御部1が展
開した文字コードを全て字体変換コードテーブルの内容
と置き換える方式について述べたが、字体を変換する必
要のない文字コードに対応する変換テーブルの内容に、
例えば○○○○を書き込んでおき、文字コードに展開し
た文書中の各文字コードに対応する漢字変換コードテー
ブルの内容を遂一チエックし、この内容が○○○○でな
い場合にのみ変換コードテーブルに書かれた文字コード
と置き換える動作を行ない、○○○○であった場合は変
換しないで当初展開した文字コードをそのまま印字部に
出力するという方式を採用しても同様の効果がある。ま
た、本発明は日本語文書作成装置のみだけでなく、漢字
システムを使用できる情報処理装置全般に亙って適用す
ることができる。
Although the font conversion method of the above-described embodiment has been described as a method in which all the character codes expanded by the document control unit 1 are replaced with the contents of the character conversion code table, the conversion table corresponding to the character code that does not need to convert the character. In the contents of
For example, write ○○○○, check the contents of the Kanji conversion code table corresponding to each character code in the document expanded into character codes, and check the conversion code table only if this content is not ○○○○. The same effect can be obtained by adopting a method in which the character code written in the above is replaced, and when it is XX, the character code initially developed is directly output to the printing unit without conversion. Further, the present invention can be applied not only to the Japanese document creation device but also to all information processing devices that can use the kanji system.

[発明の効果] 以上記述した如く本発明の字体変換方式によれば、被字
体変換文字コード情報に対応する変換すべき字体の文字
コード情報を一覧とした字体変換情報記憶部を設け、文
字制御部は、字体変換の指定を受けると、入力文書の展
開文字コード情報の1つずつを前記字体変換情報に対照
して、該当の文字コード情報を読み出し、これを前記展
開文字コード情報に置き換える制御を行なった後、文書
を出力表示する方式を採用することにより、文書作成に
際して漢字の字体を自動時に指定された字体に変換して
印字し得る効果がある。しかも、字体変換情報記憶部内
のデータは任意に書き換えられるよう制御するようにし
たので、使用漢字の選択の幅が広がり、オペレータの種
々ニーズに合致し、使い勝手の向上を図れるものであ
る。
[Effects of the Invention] As described above, according to the font conversion method of the present invention, the character conversion information storage unit that lists the character code information of the character to be converted corresponding to the character conversion character code information is provided, and character control is performed. Upon receiving the designation of character style conversion, the section compares the developed character code information of the input document with the character style conversion information one by one, reads the corresponding character code information, and replaces it with the expanded character code information. By adopting a method of outputting and displaying the document after performing the above, there is an effect that the character style of the Chinese character can be converted into the specified character style at the time of document creation and printed automatically. In addition, since the data in the character style conversion information storage unit is controlled so that it can be arbitrarily rewritten, the range of selection of the used Chinese characters is expanded, the operator's various needs are met, and the usability is improved.

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

第1図は本発明の字体変換方式を適用した日本語文書作
成装置の一実施例を示すブロック図、第2図はJIS漢字
コード例を示した図、第3図は第1図に示した漢字変換
コードテーブル例を示した図である。 1……文字制御部、2……入力装置 3……外部記憶装置、4……印字部 5……文字データ記憶部 6……字体変換コードテーブル記憶部
FIG. 1 is a block diagram showing an embodiment of a Japanese document creating apparatus to which the font conversion method of the present invention is applied, FIG. 2 is a diagram showing an example of JIS Kanji code, and FIG. 3 is shown in FIG. It is the figure which showed the kanji conversion code table example. 1 ... Character control unit, 2 ... Input device 3 ... External storage device, 4 ... Printing unit 5 ... Character data storage unit 6 ... Character conversion code table storage unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】入力された文書情報に対応して展開された
文字コード情報を文字パターンデータに変換し、この文
字パターンデータに従って出力表示を行うものに於い
て、 出力表示する前記文字パターンデータに対応する字体情
報の使用制限を指定する字体変換指定手段と、 前記字体情報の文字コード情報を前記字体変換指定手段
によって指定された字体情報の出力表示の使用制限に応
じて使用を許された字体情報の文字コード情報に変換す
るための字体変換情報が格納された字体変換情報記憶部
と、 入力された文字情報を文字コード情報に展開する文字制
御部とを設け、 この文字制御部に前記字体変換指定手段から字体情報の
使用制限が指定されると、前記字体変換情報に基づき予
め設定された字体情報の文字コード情報を参照した後、 対応する文字パターンデータに変換して出力表示動作に
移行制御するようにし、 又前記字体変換情報記憶部内の字体変換情報は所定の入
力情報に基づき任意に書き換えられるよう制御するよう
にしたことを特徴とする字体変換方法。
1. A method for converting character code information expanded corresponding to input document information into character pattern data and performing output display according to the character pattern data, wherein the character pattern data to be output and displayed is A font conversion designating means for designating a usage restriction of the corresponding font information, and a font allowed to be used in accordance with the usage restriction of the output display of the font information designated by the font conversion designating means for the character code information of the font information. The character conversion information storage unit that stores the character conversion information for converting the character code information of the information, and the character control unit that expands the input character information into the character code information are provided, and the character control unit includes When the use restriction of the font information is designated by the conversion designating means, after referring to the character code information of the font information preset based on the font conversion information, The character pattern data is converted into the corresponding character pattern data, and the transition to the output display operation is controlled, and the character conversion information in the character conversion information storage unit is controlled to be arbitrarily rewritten based on predetermined input information. Font conversion method.
JP59182814A 1984-09-03 1984-09-03 Font conversion method Expired - Lifetime JPH0746352B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59182814A JPH0746352B2 (en) 1984-09-03 1984-09-03 Font conversion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59182814A JPH0746352B2 (en) 1984-09-03 1984-09-03 Font conversion method

Publications (2)

Publication Number Publication Date
JPS6162165A JPS6162165A (en) 1986-03-31
JPH0746352B2 true JPH0746352B2 (en) 1995-05-17

Family

ID=16124906

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59182814A Expired - Lifetime JPH0746352B2 (en) 1984-09-03 1984-09-03 Font conversion method

Country Status (1)

Country Link
JP (1) JPH0746352B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01116874A (en) * 1987-10-30 1989-05-09 Fujitsu Ltd Kanji code processing system
JPH01207868A (en) * 1988-02-16 1989-08-21 Fujitsu Ltd System for processing sentence in japanese
JPH028955A (en) * 1988-06-28 1990-01-12 Canon Inc Document processor
JPH0370066A (en) * 1989-08-09 1991-03-26 Sharp Corp Character processor
JPH0477283U (en) * 1990-11-19 1992-07-06
JPH0793312A (en) * 1993-08-30 1995-04-07 Arukadeia:Kk Method and device for chinese character retrieval

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0630107B2 (en) * 1984-02-15 1994-04-20 シャープ株式会社 Document processor

Also Published As

Publication number Publication date
JPS6162165A (en) 1986-03-31

Similar Documents

Publication Publication Date Title
EP0075732A2 (en) Method and apparatus for merge processing in a text processing system
JPH04128970A (en) Document processing system
JPH0746352B2 (en) Font conversion method
JPH05135025A (en) Document editor
JP2547719B2 (en) Document processing device
JP2644778B2 (en) Character generator
JPH10123924A (en) Memorization learning supporting system and medium storing memorization learning supporting system controlling program
JPH038063A (en) Document processor
JPH0823744B2 (en) Character string processor
JP2554225B2 (en) Text output device
JPS605469B2 (en) galley printing system
JPH07168836A (en) Document processing system
JP2813191B2 (en) Typeface automatic conversion method
JPH0666066B2 (en) Document processor with furigana addition function
JPH0572270B2 (en)
JP2995630B2 (en) Document data processing device
JPH0721189A (en) Translation assisting system
JPH0778133A (en) Document preparing device and method for outputting character pattern
JPH0123192Y2 (en)
JP2837497B2 (en) Output control device and output control method
JP2549629B2 (en) Document creation device
JPS62293286A (en) Word processor
JPH0666065B2 (en) Document processor with furigana addition function
JPH0751374B2 (en) Document processor
JPS63185638A (en) Document output device