JPH11232276A - Character processor, processing method of character data and storage medium - Google Patents

Character processor, processing method of character data and storage medium

Info

Publication number
JPH11232276A
JPH11232276A JP10050002A JP5000298A JPH11232276A JP H11232276 A JPH11232276 A JP H11232276A JP 10050002 A JP10050002 A JP 10050002A JP 5000298 A JP5000298 A JP 5000298A JP H11232276 A JPH11232276 A JP H11232276A
Authority
JP
Japan
Prior art keywords
character
specific
glyph
data
processing
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
JP10050002A
Other languages
Japanese (ja)
Inventor
Tsuneaki Kimita
恒昭 来見田
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 JP10050002A priority Critical patent/JPH11232276A/en
Publication of JPH11232276A publication Critical patent/JPH11232276A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Machine Translation (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PROBLEM TO BE SOLVED: To perform a desired character processing by discriminating difference of glyphs which are similar to each other to be used between countries and districts even when a document is prepared by using unified character codes. SOLUTION: Data is read (S1) and the read data is judged whether it is the data of the character code or not (S2). When its answer is negative (No), the read data is judged whether it is glyph switching data or not (S3), when the data is the glyph switching data, Chinese is discriminated whether it is specified or not (S5), when Chinese is specified, a Chinese glyph is selected (S6). Specified glyphs (Chinese (Taiwanese), Korean, Japanese) are selected in the similar process afterward (S7 to S11).

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, a method for processing character data, and a storage medium, and more particularly, to a character processing apparatus such as a display apparatus for displaying character data or a printing apparatus for printing out, and the character processing apparatus. The present invention relates to a method of processing character data using a processing device, and a storage medium storing a program processed by the character processing device.

【0002】[0002]

【従来の技術】文字処理装置を使用して複数の国や地域
に対応した文字で文書を作成する場合、これらの国や地
域で使用されている文字でもって表示・印刷(以下、こ
の両者を単に「表示」と記す)する必要がある。
2. Description of the Related Art When a document is prepared using characters corresponding to a plurality of countries and regions using a character processing device, display and printing are performed using characters used in those countries and regions (hereinafter, both of these are referred to as "characters"). It is necessary to simply write “display”).

【0003】そこで、従来の文字処理装置においては、
IS02022に準拠して日本語や中国語等のコードセ
ット毎に文字コードを切り替えることが行なわれてい
た。すなわち、例えば日本語で文書を作成する場合はコ
ードセットを日本語専用のコード体系に設定して日本語
による文書作成を行い、また中国語で文書を作成する場
合はコードセットを中国語専用のコード体系に設定して
中国語による文書作成を行なっていた。
Therefore, in a conventional character processing device,
In accordance with IS02022, a character code is switched for each code set such as Japanese or Chinese. That is, for example, when creating a document in Japanese, set the code set to a Japanese-only code system and create a document in Japanese. Documents were written in Chinese with the code system set.

【0004】さらに、最近では、ISO10646やユ
ニコードと呼称される統一文字コード体系を利用するこ
とにより、コードセットの切り替えを行なうことなく文
書作成を行なうことも可能になってきている。すなわ
ち、上記統一文字コード体系は世界中の全ての文字に対
して特定の文字コードを割り振ったものであり、該統一
文字コード体系を使用して文字を表示することにより、
コードセットの切り替えを行なうことなく文書作成を行
なうことができる。
Further, recently, it has become possible to create a document without switching code sets by using a unified character code system called ISO10646 or Unicode. That is, the above-mentioned unified character code system assigns specific character codes to all characters in the world, and by displaying characters using the unified character code system,
Document creation can be performed without switching code sets.

【0005】また、日本国や中国等、アジアの一部地域
では一般的に広く漢字を使用して文字表記を行うことが
行なわれているが、上記統一文字コード体系において
は、同一の国内・地域内で同一の意義に使用される簡体
(簡略化された漢字の字形)や繁体(伝統的な漢字の字
形)も異なる文字コードに割り振られているため、これ
ら簡体や繁体をも区別して所望の漢字を使用した文書を
作成することが可能である。
In some parts of Asia, such as Japan and China, character notation is generally widely used using kanji. However, in the unified character code system, the same domestic and Simplified characters (simplified kanji characters) and traditional characters (traditional kanji characters) used for the same meaning in the region are also assigned to different character codes. It is possible to create a document using Chinese characters.

【0006】[0006]

【発明が解決しようとする課題】ところで、複数の国や
地域向けにこれらの国や地域に対応した文書を作成する
場合、国や地域により異なるが互いに類似した文字字形
(以下、この文字字形を「グリフ」という)が使用され
ることがある。
By the way, when a document corresponding to a plurality of countries and regions is created for a plurality of countries and regions, character forms different from each other in the countries and regions but similar to each other (hereinafter referred to as character forms). "Glyphs").

【0007】しかしながら、上記統一文字コード体系で
は、類似したグリフが同一コードに割り振られているた
め、これら類似したグリフを互いに区別することができ
ない。すなわち、例えば、図13(a)に示すように、
日本国で使用されている「骨」という文字と類似した文
字が中国本土や台湾でも使用されており、また、図13
(b)に示すように、日本国で使用されている「刃」と
いう文字と類似した文字が中国本土や台湾、更には韓国
でも使用されているが、上記統一文字コード体系では、
これら類似したグリフが同一コードに割り振られている
ため、これら類似したグリフの区別をすることができな
い。
However, in the unified character code system, since similar glyphs are assigned to the same code, these similar glyphs cannot be distinguished from each other. That is, for example, as shown in FIG.
Characters similar to the character "bone" used in Japan are also used in mainland China and Taiwan.
As shown in (b), a character similar to the character "blade" used in Japan is also used in mainland China, Taiwan, and even South Korea.
Since these similar glyphs are allocated to the same code, these similar glyphs cannot be distinguished.

【0008】このように従来の文字処理装置において
は、上記統一文字コードに基づき漢字を使用して文書を
作成する場合、特定の国や地域でのみ使用され他の国や
地域では使用されない互いに類似した文字が同一コード
に割り振られているため、これら類似した文字の区別が
できず、その結果所望の漢字を使用した文字表記をする
のに繁雑な操作が必要になる場合があるという問題点が
あった。
As described above, in the conventional character processing apparatus, when a document is created using kanji based on the unified character code, similar characters are used only in a specific country or region and not used in other countries or regions. Character is assigned to the same code, it is not possible to distinguish these similar characters, and as a result, complicated operations may be required to perform character notation using the desired kanji. there were.

【0009】本発明はこのような問題点に鑑みなされた
ものであって、統一文字コードを使用して文書作成をす
る場合であっても国や地域間で使用される互いに類似し
たグリフの相違を判別して所望の文字処理を行なうこと
ができる文字処理装置と文字データの処理方法、及び記
憶媒体を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of such a problem, and even when a document is created using a unified character code, differences in similar glyphs used between countries or regions are used. It is an object of the present invention to provide a character processing device, a character data processing method, and a storage medium that can perform desired character processing by determining the character processing.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するため
に本発明に係る文字処理装置は、互いに類似した複数の
文字字形が所定のコード体系により規定される特定コー
ドに格納された記憶手段を有し、該特定コードに割り振
られた文字字形を使用して文字処理を行う文字処理装置
であって、前記特定コードに属する文字字形の切り替え
を行なうべきか否かを判別する判別手段と、該判別手段
により前記文字字形を切り替えるべきと判別されたとき
は前記前記特定コードに属する複数の文字字形の中から
特定文字字形を選択する文字字形選択手段と、該文字字
形選択手段により選択された特定文字字形を出力する出
力手段とを備えていることを特徴としている。
In order to achieve the above object, a character processing apparatus according to the present invention comprises a storage means in which a plurality of character shapes similar to each other are stored in a specific code defined by a predetermined code system. A character processing device that performs character processing using a character glyph assigned to the specific code, and a determination unit that determines whether or not to switch a character glyph belonging to the specific code; When the determining unit determines that the character form should be switched, a character form selecting unit that selects a specific character form from among the plurality of character forms belonging to the specific code, and a character form selected by the character form selecting unit. Output means for outputting a character shape.

【0011】また、本発明に係る文字データの処理方法
は、互いに類似した複数の文字字形が所定のコード体系
により規定される特定コードに格納し、該特定コードに
割り振られた文字字形を使用して文字処理を行う文字デ
ータの処理方法であって、前記特定コードに属する文字
字形の切り替えを行なうべきか否かを判別し、前記文字
字形を切り替えるべきと判別されたときは前記特定コー
ドに属する複数の文字字形の中から特定文字字形を選択
し、該選択された特定文字字形を出力することを特徴と
している。
In the character data processing method according to the present invention, a plurality of character forms similar to each other are stored in a specific code defined by a predetermined code system, and the character form allocated to the specific code is used. A character data processing method for performing character processing by determining whether or not to switch the character shape belonging to the specific code, and belonging to the specific code when it is determined that the character shape should be switched. It is characterized in that a specific character shape is selected from a plurality of character shapes, and the selected specific character shape is output.

【0012】さらに、本発明に係る記憶媒体は、特定コ
ードに属する複数の文字字形について文字字形の切り替
えを行なうべきか否かを判別する判別手順と、該判別手
順により前記文字字形を切り替えるべきと判別されたと
きは前記特定コードに属する複数の文字字形の中から特
定文字字形を選択する文字字形選択手順と、該文字字形
選択手順により選択された特定文字字形を出力する出力
手順を実行するプログラムを記憶したことを特徴として
いる。
Further, the storage medium according to the present invention is characterized in that a discrimination procedure for discriminating whether or not to switch the character form for a plurality of character forms belonging to a specific code, and that the character form is to be switched by the discrimination procedure. A program for executing a character glyph selection procedure for selecting a specific character glyph from among the plurality of character glyphs belonging to the specific code, and an output procedure for outputting the specific glyph selected by the character glyph selection Is stored.

【0013】尚、本発明のその他の特徴は、下記の発明
の実施の形態の記載により明らかとなろう。
The other features of the present invention will become apparent from the following description of embodiments of the present invention.

【0014】[0014]

【発明の実施の形態】以下、本発明の実施の形態を図面
に基づいて詳説する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0015】図1は本発明に係る文字処理装置の一実施
の形態としてのワークステーションのシステム構成図で
あって、該ワークステーションは、所定のキー入力がな
されるキーボード(KB)1と、所定の入力操作を行な
うためのマウス2と、入力データの表示を行うCRTデ
ィスプレイ3と、装置本体4と、該装置本体4に接続さ
れた外部記憶装置としてのフロッピー・ディスク・ドラ
イブ(FDD)5と、所定の制御プログラムや統一文字
コード体系等が記憶されて該FDD5に着脱自在に装着
されるフロッピー・ディスク(FD)6とを備えてい
る。
FIG. 1 is a system configuration diagram of a workstation as an embodiment of a character processing apparatus according to the present invention. The workstation includes a keyboard (KB) 1 for inputting predetermined keys, and a predetermined key input. A mouse 2 for performing an input operation of the device, a CRT display 3 for displaying input data, an apparatus main body 4, and a floppy disk drive (FDD) 5 as an external storage device connected to the apparatus main body 4. And a floppy disk (FD) 6 in which a predetermined control program, a unified character code system, and the like are stored and which is detachably mounted on the FDD 5.

【0016】また、装置本体4は、具体的には図2に示
すように、本ワークステーションに接続されるホストコ
ンピュータ等の情報処理装置(不図示)との間でインタ
ーフェース動作を司る入力インターフェース(入力I
F)7と、印刷装置等の出力装置(不図示)との間でイ
ンターフェース動作を司る出力インターフェース(出力
IF)8と、前記キーボード1に入力された入力データ
を制御するキーボード制御部(KBC)9と、CRTデ
ィスプレイ3への表示を制御するビデオインターフェー
ス(ビデオI/F)10と、マウス2を制御するマウス
制御部(MC)11と、FDD5を制御するFDD制御
部(FDDC)12と、所定の制御プログラムや統一文
字コード体系、さらには後述する文字処理に必要な各種
データ類が記憶された読み出し専用のROM13と、F
DDC12を介してFDD5に記憶されている前記所定
の制御プログラムがロードされて一時的に格納されると
共に、後述するCPUのワークエリアとして使用される
書き換え可能なRAM14と、装置全体の制御や各種演
算処理を行うCPU15と、上記各構成要素を互いに接
続するシステムバス16とから構成されている。
Further, as shown in FIG. 2, the apparatus main body 4 has an input interface (not shown) for performing an interface operation with an information processing apparatus (not shown) such as a host computer connected to the workstation. Input I
F) an output interface (output IF) 8 for controlling an interface operation between an output device (not shown) such as a printing device, and a keyboard control unit (KBC) for controlling input data input to the keyboard 1. 9, a video interface (video I / F) 10 for controlling display on the CRT display 3, a mouse control unit (MC) 11 for controlling the mouse 2, an FDD control unit (FDDC) 12 for controlling the FDD 5, A read-only ROM 13 storing a predetermined control program, a unified character code system, and various data necessary for character processing described later;
The predetermined control program stored in the FDD 5 via the DDC 12 is loaded and temporarily stored, and a rewritable RAM 14 used as a work area of a CPU, which will be described later. It comprises a CPU 15 that performs processing and a system bus 16 that connects the above-mentioned components to each other.

【0017】図3はFD6に格納されているプログラム
モジュールの内容を示す図であって、該FD6は、グリ
フを記憶したグリフデータ6aと、切り替えるべきグリ
フの指定を行う指定モジュール6bと、該指定モジュー
ル6bにより指定されたグリフデータを選択する選択モ
ジュール6cと、該選択モジュール6cで選択されたグ
リフデータの表示を行う表示モジュール6dとが格納さ
れている。
FIG. 3 is a diagram showing the contents of the program modules stored in the FD 6. The FD 6 includes glyph data 6a storing glyphs, a specification module 6b for specifying a glyph to be switched, and the specification module 6b. A selection module 6c for selecting the glyph data specified by the module 6b and a display module 6d for displaying the glyph data selected by the selection module 6c are stored.

【0018】図4はROM13に格納されるデータフォ
ーマット図であって、本実施の形態では、共通文字グリ
フ格納領域17、日本語グリフ格納領域18、中国語グ
リフ格納領域19、中国語(台湾地域)グリフ格納領域
20、韓国語グリフ格納領域21が設けられている。日
本語グリフ格納領域18、中国語グリフ格納領域19、
中国語(台湾地域)グリフ格納領域20、韓国語グリフ
格納領域21には、これらの国や地域で使用されるデー
タのみが格納されており、また共通文字グリフ格納領域
17には、上述した国や地域の内、二以上の国や地域で
共通に使用されるデータが国や地域毎に格納されてい
る。
FIG. 4 is a diagram showing a data format stored in the ROM 13. In this embodiment, the common character glyph storage area 17, the Japanese glyph storage area 18, the Chinese glyph storage area 19, and the Chinese (Taiwan area) ) A glyph storage area 20 and a Korean glyph storage area 21 are provided. Japanese glyph storage area 18, Chinese glyph storage area 19,
The Chinese (Taiwan region) glyph storage area 20 and the Korean glyph storage area 21 store only data used in these countries and regions, and the common character glyph storage area 17 stores Data commonly used in two or more countries and regions among the countries and regions are stored for each country and region.

【0019】また、各格納領域17〜21は、図5に示
すように、統一文字コードのコード番号格納領域22
と、グリフ使用地域を判別するフラグエリア23と、C
RT表示又は印字に必要なグリフ情報やピッチ等が格納
されるグリフデータ格納領域24とを有している。
As shown in FIG. 5, each of the storage areas 17 to 21 has a code number storage area 22 for the unified character code.
And a flag area 23 for determining a glyph usage area,
A glyph data storage area 24 for storing glyph information, pitches, and the like necessary for RT display or printing.

【0020】さらに、フラグエリア23は、具体的には
図6に示すように、上記各国又は地域に対応して4個の
ビット格納領域23a〜23dが設けられている。そし
て、例えば、日本語グリフ格納領域18のフラグエリア
23においてはビット格納領域23aがオン状態とさ
れ、同様に中国語グリフ格納領域19、中国語(台湾)
グリフ格納領域20、韓国語グリフ格納領域21では、
フラグエリア23の夫々のビット格納領域23b〜23
dがオン状態とされている。また、共通文字グリフ格納
領域17のフラグエリア23には、共用できるグリフの
国や地域に応じて少なくとも二以上のビット格納領域2
3a〜23dがオン状態とされている。
Further, as shown in FIG. 6, the flag area 23 is provided with four bit storage areas 23a to 23d corresponding to the respective countries or regions. Then, for example, in the flag area 23 of the Japanese glyph storage area 18, the bit storage area 23a is turned on, and similarly, the Chinese glyph storage area 19, Chinese (Taiwan)
In the glyph storage area 20 and the Korean glyph storage area 21,
Each bit storage area 23b-23 of the flag area 23
d is turned on. The flag area 23 of the common character glyph storage area 17 has at least two or more bit storage areas 2 according to the glyph countries and regions that can be shared.
3a to 23d are turned on.

【0021】尚、〔従来の技術〕の項でも述べたよう
に、統一文字コード体系においては、同一の国内・地域
内で同一の意義に使用される簡体や繁体は異なる文字コ
ードに割り振られており、したがって各国又は地域の格
納領域に格納されるグリフデータはこれらの国又は地域
のみで使用され、或いは二以上の国又は地域で共用され
ているグリフデータが格納される。
As described in [Prior Art], in the unified character code system, simplified and traditional characters used for the same meaning in the same country or region are assigned to different character codes. Therefore, the glyph data stored in the storage area of each country or region is used only in those countries or regions, or glyph data shared by two or more countries or regions is stored.

【0022】また、国又は地域によって区別されない文
字は全ての国又は地域のフラグがオン状態となる。例え
ば図7の文字(こざとへんに日。陽の簡体)は中国本土
でのみ用いられる文字であるが、日本語、中国語(台
湾)、韓国語の同一文字コードにはその国又は地域で用
いられる文字がないため、全ての国又は地域のフラグが
オン状態になる。特定の国又は地域では用いられない文
字(独自の規格に無い文字)を指す文字コードであって
も、他の国又は地域で使われる1種類以上のグリフがあ
る場合、そのグリフの中の一つはフラグがオン状態にな
っている。
Further, for characters that are not distinguished by country or region, the flags of all the countries or regions are turned on. For example, the characters in FIG. 7 (Kozato-Hen-Ni, Simplified Yang) are characters used only in mainland China, but the same character code in Japanese, Chinese (Taiwan), and Korean is used in that country or region. Since there is no character, flags of all countries or regions are turned on. Even if a character code indicates a character that is not used in a specific country or region (a character that is not in the original standard), if there is one or more glyphs that are used in another country or region, one of the glyphs will be used. First, the flag is turned on.

【0023】図8は日本語、中国語、中国語(台湾)、
韓国語のいずれかで印字処理をする場合のグリフ切替手
順を示したフローチャートであって、本プログラムはC
PU15で実行される。
FIG. 8 shows Japanese, Chinese, Chinese (Taiwan),
FIG. 6 is a flowchart showing a glyph switching procedure in a case where printing processing is performed in any of Korean languages.
This is executed by the PU 15.

【0024】まず、データの読み込みを行い(ステップ
S1)、次いで読み込んだデータが文字コードのデータ
か否かを判断する(ステップS2)。そして、文字コー
ドのデータでない場合はグリフ切替データか否かを判別
し(ステップS3)、グリフ切替データでもない場合は
ステップS1で編集処理等の制御データを読み込んだと
判断し、ステップS4に進んで所定の制御処理を実行す
る。
First, data is read (step S1), and then it is determined whether or not the read data is character code data (step S2). If the data is not character code data, it is determined whether or not the data is glyph switching data (step S3). If the data is not glyph switching data, it is determined in step S1 that control data for editing processing is read, and the process proceeds to step S4. Performs a predetermined control process.

【0025】一方、ステップS3でグリフ切替データで
あると判別されたときはステップS5に進んで中国語が
指定されたか否かを判別する。そして、中国語が指定さ
れている場合はROMデータ(図4)から中国語グリフ
を選択し、中国語が指定されていない場合は中国語(台
湾)が指定されたか否かを判別する(ステップS7)。
そして、中国語(台湾)が指定されている場合はROM
データ(図4)から中国語(台湾)グリフを選択し(ス
テップS8)、中国語(台湾)が指定されていない場合
は韓国語が指定されたか否かを判別する(ステップS
9)。そして、韓国語が指定されている場合はROMデ
ータ(図4)から韓国語グリフを選択し(ステップS1
0)、韓国語が指定されていない場合は日本語グリフを
選択する(ステップS11)。
On the other hand, if it is determined in step S3 that the data is glyph switching data, the flow advances to step S5 to determine whether Chinese is designated. Then, if Chinese is specified, a Chinese glyph is selected from the ROM data (FIG. 4), and if Chinese is not specified, it is determined whether Chinese (Taiwan) is specified (step). S7).
And if Chinese (Taiwan) is specified, ROM
A Chinese (Taiwan) glyph is selected from the data (FIG. 4) (step S8), and if Chinese (Taiwan) is not specified, it is determined whether or not Korean is specified (step S8).
9). If Korean is specified, a Korean glyph is selected from the ROM data (FIG. 4) (step S1).
0), if Korean is not specified, a Japanese glyph is selected (step S11).

【0026】また、ステップS2の答が肯定(YES)
の場合、すなわち、文字コードのデータが入力された場
合はステップS12に進み印字処理を実行する。
The answer to step S2 is affirmative (YES).
In other words, when the character code data is input, the process proceeds to step S12 to execute the printing process.

【0027】図10はステップS12で実行される印字
処理手順のフローチャートである。
FIG. 10 is a flowchart of the print processing procedure executed in step S12.

【0028】ステップS21で文字コードを取り出した
後、当該文字コードについて国又は地域による相違があ
るか否かを判断し(ステップS22)、国又は地域によ
って相違がないと判断したときはステップS29に進
み、日本語グリフで印字を行う。すなわち、例えば、
「一」、「二」、「十」等の漢数字はいずれの国におい
ても常用されており、国又は地域間での相違がないため
斯かる場合は日本語グリフで印字する。
After the character codes are extracted in step S21, it is determined whether or not the character codes differ by country or region (step S22). If it is determined that there is no difference by country or region, the process proceeds to step S29. Go ahead and print with Japanese glyphs. That is, for example,
Chinese numerals such as "one", "two", "ten", etc. are commonly used in any country and there is no difference between countries or regions. In such a case, the characters are printed with Japanese glyphs.

【0029】ここで、日本語グリフは、日本独自の規格
にある文字だけでなく、図9(登におおざと)のように
日本語では通常使われないが他の国でも区別されていな
いグリフも含まれる。日本の独自規格になく、他国又は
他地域で区別される文字については、そのグリフのうち
のどれか一つが日本語グリフとして定義される。
Here, Japanese glyphs include not only characters in the Japanese standard but also glyphs that are not normally used in Japanese but are not distinguished in other countries as shown in FIG. included. For characters that are not in Japan's proprietary standard and are distinguished in other countries or regions, one of the glyphs is defined as a Japanese glyph.

【0030】一方、国又は地域による相違があると判断
された場合はステップS23に進み、現在選択されてい
るグリフは中国語か否かを判別する。すなわち、図8の
ステップS6で中国語グリフが選択されているか否かを
判断する。そして、その答が肯定(YES)の場合は中
国語グリフで印字処理を行う(ステップS24)。ま
た、ステップS23で中国語グリフが選択されていない
と判断した場合は選択されているグリフは中国語(台
湾)か否かを判断する(ステップS25)。そして、そ
の答が肯定(YES)の場合は中国語(台湾)グリフで
印字処理を行う(ステップS26)。また、ステップS
25で中国語(台湾)グリフが選択されていないと判断
した場合は選択されているグリフが韓国語か否かを判断
する(ステップS27)。そして、その答が肯定(YE
S)の場合は韓国語グリフで印字処理を行い(ステップ
S28)、その答が否定(NO)の場合はステップS2
9に進み日本語グリフで印刷処理を行う。
On the other hand, if it is determined that there is a difference depending on the country or region, the flow advances to step S23 to determine whether the currently selected glyph is Chinese. That is, it is determined whether or not the Chinese glyph has been selected in step S6 of FIG. If the answer is affirmative (YES), printing processing is performed using Chinese glyphs (step S24). If it is determined in step S23 that the Chinese glyph has not been selected, it is determined whether the selected glyph is Chinese (Taiwan) (step S25). If the answer is affirmative (YES), printing is performed using Chinese (Taiwan) glyphs (step S26). Step S
If it is determined in 25 that the Chinese (Taiwan) glyph has not been selected, it is determined whether the selected glyph is Korean (step S27). And the answer is affirmative (YE
In the case of S), print processing is performed using Korean glyphs (step S28), and if the answer is negative (NO), the process proceeds to step S2.
Proceed to 9 to perform print processing using Japanese glyphs.

【0031】このように本実施の形態では国別又は地域
別に使用されるグリフを選択し、該選択されたグリフを
使用して印字処理を実行することができるので、統一文
字コードを使用して文書作成を行う場合であっても所望
の漢字を使用した文書を容易に作成することができる。
As described above, in the present embodiment, glyphs used for each country or region can be selected, and printing processing can be performed using the selected glyphs. Even when creating a document, a document using desired kanji can be easily created.

【0032】図11は他の実施の形態を示す文字処理装
置としての印刷装置に設けられた作パネルの要部正面図
であって、該操作パネルには国別又は地域別のグリフを
選択するグリフ選択部25が設けられている。すなわ
ち、グリフ選択部25は、複数の選択ボタン(第1〜第
3の25a〜25c)を有し、これら第1〜第3の選択
ボタン25a〜25cのうちのいずれか一の選択ボタン
を押下することによりグリフの選択がなされる。この図
11では第2の選択ボタン25bが押下され、したがっ
て中国語グリフに設定されている場合を示している。
FIG. 11 is a front view of a main part of a work panel provided in a printing apparatus as a character processing apparatus according to another embodiment. A glyph for each country or region is selected on the operation panel. A glyph selection unit 25 is provided. That is, the glyph selection unit 25 has a plurality of selection buttons (first to third 25a to 25c), and presses any one of the first to third selection buttons 25a to 25c. By doing so, the glyph is selected. FIG. 11 shows a case where the second selection button 25b is pressed down, and is therefore set to the Chinese glyph.

【0033】図12は本他の実施の形態のグリフ切替手
順を示すフローチャートである。
FIG. 12 is a flowchart showing a glyph switching procedure according to another embodiment.

【0034】まず、データの読み込みを行い(ステップ
S31)、次いで読み込んだデータが文字コードのデー
タか否かを判断する(ステップS32)。そして文字コ
ードのデータでない場合は制御データと判断し、所定の
制御処理を実行する(ステップS33)。一方、文字コ
ードデータの場合はステップS34に進み、現在の設定
グリフは中国語グリフか否かを判断する。そして、図1
1のように中国語グリフに設定されている場合は中国語
グリフで印字処理を行う(ステップS35)。
First, data is read (step S31), and it is determined whether the read data is character code data (step S32). If the data is not character code data, it is determined to be control data, and a predetermined control process is executed (step S33). On the other hand, if it is character code data, the process proceeds to step S34, and it is determined whether or not the currently set glyph is a Chinese glyph. And FIG.
If it is set to Chinese glyph as in 1, print processing is performed using Chinese glyphs (step S35).

【0035】また、中国語グリフに設定されていない場
合は現在の設定グリフは中国語(台湾)グリフか否かを
判断する(ステップS36)。そして、中国語(台湾)
グリフに設定されている場合は中国語(台湾)グリフで
印字処理を行い(ステップS37)、中国語グリフに設
定されておらず、中国語(台湾)グリフにも設定されて
いない場合は日本語グリフに設定されていると判断して
日本語グリフで印字処理を行う(ステップS38)。
If the glyph is not set as a Chinese glyph, it is determined whether or not the currently set glyph is a Chinese (Taiwan) glyph (step S36). And Chinese (Taiwan)
If the glyph is set, the printing process is performed using the Chinese (Taiwan) glyph (step S37). If the glyph is not set and the Chinese (Taiwan) glyph is not set, Japanese is set. It is determined that the glyph is set, and the printing process is performed with the Japanese glyph (step S38).

【0036】このように国又は地域をユーザ側で選択・
指定することにより、先の実施の形態と同様、統一文字
コード体系を使用する場合であっても所望の漢字を使用
した文書作成を容易に行うことができる。
As described above, the user selects the country or region.
By designating, it is possible to easily create a document using a desired kanji even in the case of using the unified character code system, as in the previous embodiment.

【0037】尚、本発明は上記実施の形態に限定される
ものではない。上記実施の形態ではフォントデータをR
OM13に格納しているが、該フォントデータを不図示
のハードディスクに格納してもよい。また、本実施の形
態では日本語、中国語、中国語(台湾地域)、韓国語に
ついて区別する場合について説明したが、香港地域やシ
ンガポール、ベトナム等他の漢字を使用する地域につい
ても同様に適用できるのはいうまでもない。また、上記
実施の形態では文字を印字する場合について説明した
が、文字をCRTディスプレイ3に表示する場合につい
ても同様に適用できる。
The present invention is not limited to the above embodiment. In the above embodiment, the font data is
Although the font data is stored in the OM 13, the font data may be stored in a hard disk (not shown). Also, in the present embodiment, the case where Japanese, Chinese, Chinese (Taiwan region), and Korean are distinguished has been described. However, the same applies to other regions using Chinese characters such as Hong Kong region, Singapore, and Vietnam. It goes without saying that you can do it. Further, in the above-described embodiment, the case where characters are printed has been described. However, the case where characters are displayed on the CRT display 3 can be similarly applied.

【0038】[0038]

【発明の効果】以上詳述したように本発明に係る文字処
理装置と文字データの処理方法、及び記憶媒体によれ
ば、統一文字コード体系を使用して文字処理を行う場合
であっても、国や地域毎に相違する類似したグリフを区
別することができ、特定の国や地域に対し所望のグリフ
を使用した文書作成を容易に行なうことができる。
As described in detail above, according to the character processing apparatus, the character data processing method, and the storage medium of the present invention, even when character processing is performed using a unified character code system, Similar glyphs that differ for each country or region can be distinguished, and a document can be easily created using a desired glyph for a specific country or region.

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

【図1】本発明に係る文字処理装置の一実施の形態とし
てのワークステーションのシステム構成図である。
FIG. 1 is a system configuration diagram of a workstation as an embodiment of a character processing device according to the present invention.

【図2】図1に示すワークステーションのブロック構成
図である。
FIG. 2 is a block diagram of the workstation shown in FIG. 1;

【図3】FDに格納されているモジュールを示す図であ
る。
FIG. 3 is a diagram showing modules stored in an FD.

【図4】ROMに格納されるデータフォーマット図であ
る。
FIG. 4 is a data format diagram stored in a ROM.

【図5】フォントデータに含まれるグリフデータのデー
タ構造図である。
FIG. 5 is a data structure diagram of glyph data included in font data.

【図6】グリフデータに含まれるフラグエリアの状態を
説明するための図である。
FIG. 6 is a diagram for explaining a state of a flag area included in glyph data.

【図7】中国本土でのみ用いられている簡体の一例を示
す図である。
FIG. 7 is a diagram showing an example of a simplified body used only in mainland China.

【図8】グリフ切替処理の処理手順を示すフローチャー
トである。
FIG. 8 is a flowchart illustrating a processing procedure of glyph switching processing.

【図9】日本語で通常使われておらず且つ他の国でも区
別されていないグリフを示す一例である。
FIG. 9 is an example showing glyphs that are not commonly used in Japanese and are not distinguished in other countries.

【図10】印字処理の処理手順を示すフローチャートで
ある。
FIG. 10 is a flowchart illustrating a processing procedure of a printing process.

【図11】本発明の他の実施の形態で使用される文字処
理装置としての印刷装置の操作パネルの要部正面図であ
る。
FIG. 11 is a front view of a main part of an operation panel of a printing apparatus as a character processing apparatus used in another embodiment of the present invention.

【図12】グリフ切替処理の処理手順の他の実施の形態
を示すフローチャートである。
FIG. 12 is a flowchart showing another embodiment of the processing procedure of the glyph switching processing.

【図13】本発明の解決課題を説明する統一文字コード
体系の一例を示す図である。
FIG. 13 is a diagram showing an example of a unified character code system for explaining a problem to be solved by the present invention.

【符号の説明】 1 選択パネル(文字字形指定手段) 6 FD(記憶手段) 8 出力I/F(出力手段) 13 ROM(記憶手段) 15 CPU(判別手段、文字字形選択手段)[Description of Signs] 1 Selection panel (character / character shape designation means) 6 FD (storage means) 8 Output I / F (output means) 13 ROM (storage means) 15 CPU (discrimination means, character / character shape selection means)

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 互いに類似した複数の文字字形が所定の
コード体系により規定される特定コードに格納された記
憶手段を有し、前記特定コードに割り振られた文字字形
を使用して文字処理を行う文字処理装置であって、 前記特定コードに属する文字字形の切り替えを行なうべ
きか否かを判別する判別手段と、該判別手段により前記
文字字形を切り替えるべきと判別されたときは前記前記
特定コードに属する複数の文字字形の中から特定文字字
形を選択する文字字形選択手段と、該文字字形選択手段
により選択された特定文字字形を出力する出力手段とを
備えていることを特徴とする文字処理装置。
1. A storage device in which a plurality of character shapes similar to each other are stored in a specific code defined by a predetermined code system, and character processing is performed using the character shape allocated to the specific code. A character processing device, comprising: determining means for determining whether or not to switch a character shape belonging to the specific code; and determining that the character shape should be switched by the determining means, A character processing apparatus comprising: a character character shape selecting means for selecting a specific character character shape from a plurality of belonging character character shapes; and an output means for outputting the specific character character shape selected by the character character shape selecting means. .
【請求項2】 互いに類似した複数の文字字形が所定の
コード体系により規定される特定コードに格納された記
憶手段を有し、該特定コードに割り振られた割り振られ
た文字字形を使用して文字処理を行う文字処理装置であ
って、 前記特定コードに属する特定文字字形を指定する文字字
形指定手段と、該文字字形指定手段により指定された特
定文字字形を出力する出力手段とを備えていることを特
徴とする文字処理装置。
2. A storage device in which a plurality of character shapes similar to each other are stored in a specific code defined by a predetermined code system, and a character is formed by using the allocated character shape allocated to the specific code. A character processing device for performing processing, comprising: a character shape designation unit that designates a specific character shape belonging to the specific code; and an output unit that outputs the specific character shape designated by the character shape designation unit. Character processing device characterized by the above-mentioned.
【請求項3】 前記記憶手段は、複数の国又は地域で使
用される互いに類似した文字字形が格納されていること
を特徴とする請求項1又は請求項2記載の文字処理装
置。
3. The character processing apparatus according to claim 1, wherein said storage means stores character shapes similar to each other used in a plurality of countries or regions.
【請求項4】 前記複数の国又は地域は、少なくとも日
本国、中国本土、台湾、韓国を含むこと特徴とする請求
項3記載の文字処理装置。
4. The character processing device according to claim 3, wherein the plurality of countries or regions include at least Japan, mainland China, Taiwan, and Korea.
【請求項5】 互いに類似した複数の文字字形が所定の
コード体系により規定される特定コードに格納し、該特
定コードに割り振られた文字字形を使用して文字処理を
行う文字データの処理方法であって、 前記特定コードに属する文字字形の切り替えを行なうべ
きか否かを判別し、前記文字字形を切り替えるべきと判
別されたときは前記特定コードに属する複数の文字字形
の中から特定文字字形を選択し、該選択された特定文字
字形を出力することを特徴とする文字データの処理方
法。
5. A character data processing method in which a plurality of character forms similar to each other are stored in a specific code defined by a predetermined code system, and character processing is performed using the character form allocated to the specific code. It is determined whether or not to switch the character form belonging to the specific code, and when it is determined that the character form should be switched, the specific character form is selected from the plurality of character forms belonging to the specific code. A method of processing character data, comprising selecting and outputting the selected specific character shape.
【請求項6】 互いに類似した複数の文字字形が所定の
コード体系により規定される特定コードに格納し、該特
定コードに割り振られた文字字形を使用して文字処理を
行う文字データの処理方法であって、 前記特定コードに属する特定文字字形を指定し、該指定
した特定文字字形を出力することを特徴とする文字デー
タの処理方法。
6. A character data processing method in which a plurality of character forms similar to each other are stored in a specific code defined by a predetermined code system, and character processing is performed using the character form allocated to the specific code. A method of processing character data, wherein a specific character shape belonging to the specific code is specified, and the specified specific character shape is output.
【請求項7】 前記複数の文字字形は、複数の国又は地
域で使用される互いに類似した文字字形であることを特
徴とする請求項5又は請求項6記載の文字データの処理
方法。
7. The character data processing method according to claim 5, wherein the plurality of character shapes are similar character shapes used in a plurality of countries or regions.
【請求項8】 前記複数の国又は地域は、少なくとも日
本国、中国本土、台湾、韓国を含むこと特徴とする請求
項7記載の文字データの処理方法。
8. The method according to claim 7, wherein the plurality of countries or regions include at least Japan, mainland China, Taiwan, and Korea.
【請求項9】 特定コードに属する複数の文字字形につ
いて文字字形の切り替えを行なうべきか否かを判別する
判別手順と、該判別手順により前記文字字形を切り替え
るべきと判別されたときは前記特定コードに属する複数
の文字字形の中から特定文字字形を選択する文字字形選
択手順と、該文字字形選択手順により選択された特定文
字字形を出力する出力手順を実行するプログラムを記憶
したことを特徴とする記憶媒体。
9. A discriminating procedure for judging whether or not to switch character glyphs for a plurality of character glyphs belonging to a specific code, and, when it is determined that the character glyph is to be switched by the discrimination procedure, the specific code A program for executing a character glyph selection procedure for selecting a specific glyph from among a plurality of glyphs belonging to and a outputting procedure for outputting the specific glyph selected by the character glyph selection. Storage medium.
【請求項10】 前記複数の文字字形は、複数の国又は
地域で使用される互いに類似した文字字形であることを
特徴とする請求項9記載の記憶媒体。
10. The storage medium according to claim 9, wherein the plurality of character shapes are similar character shapes used in a plurality of countries or regions.
【請求項11】 前記複数の国又は地域は、少なくとも
日本国、中国本土、台湾、韓国を含むこと特徴とする請
求項10記載の記憶媒体。
11. The storage medium according to claim 10, wherein said plurality of countries or regions include at least Japan, mainland China, Taiwan, and Korea.
JP10050002A 1998-02-17 1998-02-17 Character processor, processing method of character data and storage medium Pending JPH11232276A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10050002A JPH11232276A (en) 1998-02-17 1998-02-17 Character processor, processing method of character data and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10050002A JPH11232276A (en) 1998-02-17 1998-02-17 Character processor, processing method of character data and storage medium

Publications (1)

Publication Number Publication Date
JPH11232276A true JPH11232276A (en) 1999-08-27

Family

ID=12846805

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10050002A Pending JPH11232276A (en) 1998-02-17 1998-02-17 Character processor, processing method of character data and storage medium

Country Status (1)

Country Link
JP (1) JPH11232276A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009005019A1 (en) * 2007-06-29 2009-01-08 Canon Kabushiki Kaisha Image processing apparatus, image processing method, and computer program
WO2009028555A1 (en) * 2007-08-30 2009-03-05 Nec Corporation Electronic apparatus, character sequence display method, multiple character sequence sorting method and character sequence display/sort program
US7629976B2 (en) 2004-12-03 2009-12-08 Sony Computer Entertainment Inc. Display device, control method for the same, and information storage medium
US8077971B2 (en) 2007-06-29 2011-12-13 Canon Kabushiki Kaisha Image processing apparatus, image processing method, and computer program
US8913255B2 (en) 2011-12-07 2014-12-16 Brother Kogyo Kabushiki Kaisha Recording medium
JP2018034348A (en) * 2016-08-30 2018-03-08 京セラドキュメントソリューションズ株式会社 Image formation apparatus and character drawing program
JP2018034347A (en) * 2016-08-30 2018-03-08 京セラドキュメントソリューションズ株式会社 Image formation apparatus and character drawing program

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7629976B2 (en) 2004-12-03 2009-12-08 Sony Computer Entertainment Inc. Display device, control method for the same, and information storage medium
US7773089B2 (en) 2004-12-03 2010-08-10 Sony Computer Entertainment Inc. Displaying character strings based on font information
WO2009005019A1 (en) * 2007-06-29 2009-01-08 Canon Kabushiki Kaisha Image processing apparatus, image processing method, and computer program
JP2009009527A (en) * 2007-06-29 2009-01-15 Canon Inc Image processor, image processing method, and computer program
US8077971B2 (en) 2007-06-29 2011-12-13 Canon Kabushiki Kaisha Image processing apparatus, image processing method, and computer program
US8503773B2 (en) 2007-06-29 2013-08-06 Canon Kabushiki Kaisha Glyph selection and electronic document generation
US8532388B2 (en) 2007-06-29 2013-09-10 Canon Kabushiki Kaisha Image processing apparatus, image processing method, and computer program
WO2009028555A1 (en) * 2007-08-30 2009-03-05 Nec Corporation Electronic apparatus, character sequence display method, multiple character sequence sorting method and character sequence display/sort program
JPWO2009028555A1 (en) * 2007-08-30 2010-12-02 日本電気株式会社 Electronic device, character string display method, multiple character string sort method, and character string display / sort program
US8913255B2 (en) 2011-12-07 2014-12-16 Brother Kogyo Kabushiki Kaisha Recording medium
JP2018034348A (en) * 2016-08-30 2018-03-08 京セラドキュメントソリューションズ株式会社 Image formation apparatus and character drawing program
JP2018034347A (en) * 2016-08-30 2018-03-08 京セラドキュメントソリューションズ株式会社 Image formation apparatus and character drawing program

Similar Documents

Publication Publication Date Title
JPH11232276A (en) Character processor, processing method of character data and storage medium
JPH07248755A (en) Character display method
JP3181409B2 (en) Information processing apparatus and information processing method
JPH08211860A (en) Display color changing device
JPH08286881A (en) Document generation device having image presentation function and image presentation method
JP2000227790A (en) Display device, and recording medium where the program is recorded
JPH11282595A (en) Inputting device and storage medium
JPH0823744B2 (en) Character string processor
JPS6315287A (en) Pattern generator
JP2607044B2 (en) Document creation device and display output control method in document creation device
JP2939150B2 (en) Information processing method
JPH1069479A (en) Document preparation method and medium recording document preparat ton program
JP3371435B2 (en) Input mode automatic setting method or input mode automatic setting device
JPH07141330A (en) Document preparation device having multi-lingual function
JPH1074193A (en) Character processing device and method and storage medium storing character processing program
JPH1074199A (en) Character processing device and method and storage medium storing character processing program
JPH02301862A (en) Document preparing device
JPS63128424A (en) Data processing system
JPH02223989A (en) Character processor
JPS62266652A (en) Word processor
KR20050096390A (en) Method and apparatus for producing graphic image embedded font
JPH09160906A (en) Method for inputting character
JPS59157742A (en) Input sentence display system
JPH1173281A (en) Printer system and printing method therefor
JPH0749850A (en) Word processor