JP2755224B2 - Character number expansion method - Google Patents

Character number expansion method

Info

Publication number
JP2755224B2
JP2755224B2 JP7242542A JP24254295A JP2755224B2 JP 2755224 B2 JP2755224 B2 JP 2755224B2 JP 7242542 A JP7242542 A JP 7242542A JP 24254295 A JP24254295 A JP 24254295A JP 2755224 B2 JP2755224 B2 JP 2755224B2
Authority
JP
Japan
Prior art keywords
character
graphic
font data
characters
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 - Fee Related
Application number
JP7242542A
Other languages
Japanese (ja)
Other versions
JPH0962664A (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.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP7242542A priority Critical patent/JP2755224B2/en
Publication of JPH0962664A publication Critical patent/JPH0962664A/en
Application granted granted Critical
Publication of JP2755224B2 publication Critical patent/JP2755224B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Machine Translation (AREA)
  • Document Processing Apparatus (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は文字数拡大方式に関
し、特にパーソナルコンピュータ等の情報処理装置で利
用可能な文字数を拡大する文字数拡大方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character number expansion method, and more particularly to a character number expansion method for expanding the number of characters usable in an information processing apparatus such as a personal computer.

【0002】[0002]

【従来の技術】情報処理装置で利用可能な文字として
は、例えば、日本工業規格(以下、JISと略記する)
により「情報交換用文字符号系JIS X 0208−
90」や「情報交換用文字符号系(補助漢字)JIS
X 0212−90」がある。JIS X 0208−
90は、8,836個の図形文字を表現でき、そのうち
約7,000個はJISにより図形文字が決められてい
る。JISでの未定義領域は、利用者が一時的に利用で
きる。JIS X 0212−90も同様に、8,83
6個の図形文字を表現でき、そのうち約6,000個が
JISにより規格化されている。
2. Description of the Related Art Characters that can be used in an information processing apparatus include, for example, Japanese Industrial Standards (hereinafter abbreviated as JIS).
"Character encoding system for information exchange JIS X 0208-
90 "and" Character code system for information exchange (supplementary kanji) JIS
X 0212-90 ". JIS X 0208-
90 can represent 8,836 graphic characters, of which approximately 7,000 graphic characters are determined by JIS. The undefined area in JIS can be used temporarily by the user. Similarly, JIS X 0212-90 also has 8,83
Six graphic characters can be represented, of which about 6,000 are standardized by JIS.

【0003】情報処理装置、特にパーソナルコンピュー
タで日本語を表現するときには、図形文字のコードとし
てパーソナルコンピュータの代表的なオペレーティング
システムである日本語MS−DOS(マイクロソフト社
の登録商標)で採用されたシフトJISコードがよく使
用されている。しかし、シフトJISコードは、最大1
1,280個の図形文字しか表現できないため、前述の
JIS X 0208−90およびJIS X 021
2−90で規定されている図形文字すべてを表現するこ
とはできない。このため、パーソナルコンピュータで
は、通常、JISX 0208−90の図形文字のみ利
用可能であり、JIS X 0212−90の図形文字
は利用できない。
When Japanese is expressed on an information processing apparatus, particularly a personal computer, a shift character employed in Japanese MS-DOS (registered trademark of Microsoft Corporation) which is a representative operating system of a personal computer is used as a graphic character code. JIS code is often used. However, the shift JIS code has a maximum of 1
Since only 1,280 graphic characters can be represented, the aforementioned JIS X 0208-90 and JIS X 021
It is not possible to represent all graphic characters specified in 2-90. For this reason, a personal computer can normally use only JIS X 0208-90 graphic characters and cannot use JIS X 0212-90 graphic characters.

【0004】情報処理装置で利用可能な文字数を拡大す
る方式として、例えば、以下のような方式が提案されて
いる。
As a method for expanding the number of characters that can be used in an information processing apparatus, for example, the following method has been proposed.

【0005】 特開平3−58168号公報に開示さ
れた「文字データ入力装置」は、任意の文字に対して標
準フォントと異なるフォントの文字データを作成してそ
のフォントを該文字に対する標準フォントと同じ文字コ
ードでユーザフォントファイルに格納する。ある文字コ
ードが指定されたとき、ユーザフォントファイルにその
文字コードが存在するかどうかを調べて、もし存在すれ
ばユーザフォントを使用することで利用可能な図形文字
数を拡大している。
A “character data input device” disclosed in Japanese Patent Application Laid-Open No. 3-58168 creates character data of a font different from a standard font for an arbitrary character and sets the font to be the same as the standard font for the character. Store in user font file with character code. When a certain character code is designated, it is checked whether or not the character code exists in the user font file, and if so, the number of usable graphic characters is expanded by using the user font.

【0006】 また、特開平1−16609号公報に
開示された「フォント制御装置」は、複数の文字種のフ
ォントデータを格納したフォントデータファイルと、文
字種の少なくとも1つを選択する文字種選択手段とを持
つ。システム起動時に、文字種選択手段により選択され
た文字種のフォントデータをシステムメモリにダウンロ
ードすることで、その文字種が利用可能となる。別の文
字種を利用する場合は、文字種選択手段で異なる文字種
を選択し、システムを再起動することで利用可能な文字
数を拡大している。
A “font control device” disclosed in Japanese Patent Laid-Open Publication No. Hei 1-16609 includes a font data file storing font data of a plurality of character types, and a character type selection unit for selecting at least one of the character types. Have. By downloading the font data of the character type selected by the character type selection means to the system memory when the system is started, the character type can be used. When another character type is used, a different character type is selected by the character type selection means, and the number of usable characters is increased by restarting the system.

【0007】 さらに、特開昭63−297080号
公報に開示された「文字フォント処理方式」は、JIS
規格のテキストコード中の未使用2ビットのオン・オフ
の組み合わせにより複数種別の文字フォントを同一テキ
ストコードとして制御することで、利用可能な文字数を
拡大している。
Further, a “character font processing method” disclosed in Japanese Patent Application Laid-Open No. 63-297080 is described in JIS.
The number of available characters is expanded by controlling a plurality of types of character fonts as the same text code by combining on / off of unused 2 bits in the standard text code.

【0008】 上記以外にも、「情報交換用符号の拡
張方法JIS X 0202−84」のエスケープシー
ケンスを用いて文字符号系を切り替えることで、利用可
能な文字数を拡大する方法もある。
In addition to the above, there is a method of expanding the number of available characters by switching the character code system using an escape sequence of “Information exchange code expansion method JIS X0202-84”.

【0009】[0009]

【発明が解決しようとする課題】上述した従来の文字数
拡大方式では、以下のような問題点があった。
The above-mentioned conventional character number expansion method has the following problems.

【0010】 特開平3−58168号公報に開示さ
れた「文字データ入力装置」では、ユーザフォントが存
在するときは、標準フォントに優先してユーザフォント
が利用されるため、同じコードを持つ標準フォントとユ
ーザフォントとを同時に利用できない。
In the “character data input device” disclosed in JP-A-3-58168, when a user font exists, the user font is used in preference to the standard font. And user fonts cannot be used at the same time.

【0011】 特開平1−16609号公報に開示さ
れた「フォント制御装置」では、システム起動時に利用
可能な文字種が選択されるため、非選択の文字種を利用
するためには、そのフォントを選択後に再起動すること
が必要であった。また、利用可能な文字コード以上の図
形文字を利用するための手段が提供されていなかった。
In the “font control device” disclosed in Japanese Patent Laid-Open No. 1-1609, a character type that can be used at system startup is selected. Therefore, in order to use a non-selected character type, after selecting the font, It was necessary to restart. Further, no means has been provided for using graphic characters having more character codes than can be used.

【0012】 特開昭63−297080号公報に開
示された「文字フォント処理方式」では、利用可能な文
字数を拡大するために、JISのテキストコード中の未
使用2ビットを利用しているが、シフトJISコードは
16ビットで定義されているため、JISで未使用の2
ビットも文字コードとしてすでに利用しており、この2
ビットを利用した文字数の拡張はできなかった。
In the “character font processing method” disclosed in JP-A-63-297080, two unused bits in a JIS text code are used to expand the number of usable characters. Since the shift JIS code is defined by 16 bits, two unused JIS codes are used.
Bits are already used as character codes.
It was not possible to extend the number of characters using bits.

【0013】 JIS X 0202−84のエスケ
ープシーケンスにより文字符号系を切り替える場合は、
次の問題がある。パーソナルコンピュータでは、図形文
字を入力するためにかな漢字変換手段を使用する。かな
漢字変換手段は、通常図形文字の読みをキーボード等か
ら入力し、候補図形文字を見出し部に表示する。利用者
は、候補図形文字から適切な図形文字を選択する。この
とき、図形文字の読みはひらがな,カタカナまたはロー
マ字で表示するが、これらの図形文字はJISX 02
08−90のみにあり、JIS X 0212−90に
は含まれていない。このため、利用者がJIS X 0
212−90に含まれる図形文字をかな漢字変換手段に
より入力するとき、かな漢字変換手段はキーボード等か
ら入力された図形文字の読みを表示するためにJIS
X 0208−90を選択し、目的の図形文字を見出し
部に表示するためにエスケープシーケンスを発行して文
字符号系を選択し直す必要があった。
When the character code system is switched by the escape sequence of JIS X0202-84,
There are the following problems: In a personal computer, kana-kanji conversion means is used to input graphic characters. The kana-kanji conversion means inputs a reading of a normal graphic character from a keyboard or the like and displays candidate graphic characters in a heading portion. The user selects an appropriate graphic character from the candidate graphic characters. At this time, the reading of the graphic characters is displayed in hiragana, katakana or romaji.
08-90 only and not included in JIS X 0212-90. For this reason, if the user
When the graphic characters included in 212-90 are input by the kana-kanji conversion means, the kana-kanji conversion means uses JIS to display the reading of the graphic characters input from the keyboard or the like.
It was necessary to select X0208-90 and issue an escape sequence to reselect the character code system in order to display the target graphic character in the header.

【0014】本発明の目的は、上述の点に鑑み、情報処
理装置で使用する文字数を容易に拡大することができる
ようにした文字数拡大方式を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a character number enlargement method capable of easily increasing the number of characters used in an information processing apparatus in view of the above points.

【0015】[0015]

【課題を解決するための手段】本発明の文字数拡大方式
は、情報処理装置において、異なる文字符号系の図形文
字の読みと、この読みに対応する図形文字のコードとを
格納する複数のかな漢字辞書ファイルと、異なる文字符
号系の図形文字のフォントデータを、図形文字の読みを
表示する一つの文字符号系の非漢字図形文字を共通の位
置となるように格納している複数のフォントデータファ
イルと、利用者が図形文字の読みを入力したり文字符号
系切換えシーケンスを入力したりする入力手段と、この
入力手段から受け取った読みを前記かな漢字辞書ファイ
ルを参照して図形文字のコードに変換して前記OSに通
知したり文字符号系切換えシーケンスを前記OSに通知
したりするかな漢字変換手段と、複数の文字符号系に属
する図形文字を取り扱うことができる業務処理手段と、
この業務処理手段からの要求に従い図形文字をディスプ
レイおよびプリンタに表示および印刷したり、前記かな
漢字変換手段から図形文字のコードを受け取って前記業
務処理手段に渡したりするOSと、このOSの指示によ
り指定されたフォントデータファイルから必要な図形文
字のフォントデータを読み出して前記OSに渡すフォン
ト処理手段とを有する。
According to the present invention, there is provided a character number expansion system comprising: a plurality of kana-kanji dictionaries for storing, in an information processing apparatus, reading of graphic characters of different character encoding systems and codes of graphic characters corresponding to the readings; A file and a plurality of font data files storing font data of graphic characters of different character encoding systems so that non-Kanji graphic characters of one character encoding system for displaying the reading of graphic characters are located at a common position. An input means for the user to input a reading of a graphic character or a character code system switching sequence, and convert the reading received from this input means into a graphic character code by referring to the kana-kanji dictionary file. Kana-Kanji conversion means for notifying the OS or notifying the OS of the character code switching sequence, and obtaining graphic characters belonging to a plurality of character codes. And business processing means that can be handled,
An OS for displaying and printing graphic characters on a display and a printer in accordance with a request from the business processing means, receiving a graphic character code from the kana-kanji conversion means, and passing the code to the business processing means, and designated by an instruction of the OS Font processing means for reading out font data of necessary graphic characters from the font data file and transferring the font data to the OS.

【0016】[0016]

【発明の実施の形態】次に、本発明について図面を参照
して詳細に説明する。
Next, the present invention will be described in detail with reference to the drawings.

【0017】[0017]

【実施例】図1は、本発明の一実施例に係る文字数拡大
方式を示す機能ブロック図である。本実施例で取り扱う
文字符号系は、シフトJISコードをベースにしてい
る。シフトJISコードは、120の区を持ち、1区あ
たり94文字を格納できる。以下、本実施例で使用する
2種類の文字符号系を、それぞれG0文字符号系および
Gl文字符号系と呼ぶ。
FIG. 1 is a functional block diagram showing a character number expansion method according to an embodiment of the present invention. The character code system handled in this embodiment is based on the shift JIS code. The shift JIS code has 120 sections and can store 94 characters per section. Hereinafter, the two types of character encoding systems used in this embodiment are called a G0 character encoding system and a Gl character encoding system, respectively.

【0018】図1を参照すると、本実施例の文字数拡大
方式は、アプリケーションプログラム(以下、APと略
記する)1と、オペレーティングシステム(以下、OS
と略記する)2と、フォント処理手段3と、G0フォン
トデータファイル4と、G1フォントデータファイル5
と、ディスプレイ6と、プリンタ7と、キーボード11
と、かな漢字変換手段12と、G0かな漢字辞書ファイ
ル13と、G1かな漢字辞書ファイル14とから構成さ
れている。
Referring to FIG. 1, the character number expansion method according to the present embodiment includes an application program (hereinafter abbreviated as AP) 1 and an operating system (hereinafter referred to as an OS).
2, font processing means 3, G0 font data file 4, and G1 font data file 5.
, Display 6, printer 7, keyboard 11
, Kana-Kanji conversion means 12, G0 Kana-kanji dictionary file 13, and G1 Kana-kanji dictionary file 14.

【0019】AP1は、G0文字符号系およびG1文字
符号系の図形文字を取り扱うことができる業務処理手段
である。
AP1 is a business processing means capable of handling graphic characters in the G0 character encoding system and the G1 character encoding system.

【0020】OS2は、AP1の要求に従いディスプレ
イ6およびプリンタ7に図形文字を表示および印刷した
り、かな漢字変換手段12から図形文字のコードを受け
取ってAP1に渡したりする。
The OS 2 displays and prints graphic characters on the display 6 and the printer 7 in accordance with a request from the AP 1 or receives a graphic character code from the kana-kanji conversion means 12 and passes it to the AP 1.

【0021】フォント処理手段3は、OS2の指示によ
り指定されたG0フォントデータファイル4またはG1
フォントデータファイル5から必要な図形文字のフォン
トデータを読み出してOS2に渡す。
The font processing means 3 includes a G0 font data file 4 or G1
The font data of the required graphic character is read from the font data file 5 and passed to the OS 2.

【0022】G0フォントデータフアイル4およびG1
フォントデータフアイル5は、それぞれG0文字符号系
およびG1文字符号系のすべての図形文字のフォントデ
ータを格納している。
G0 font data file 4 and G1
The font data file 5 stores font data of all graphic characters of the G0 character encoding system and the G1 character encoding system, respectively.

【0023】図2(a)は、G0フォントデータフアイ
ル4に格納されたG0文字符号系のフォントデータの配
置を示す図である。G0文字符号系の1区から15区に
は、JIS X 0208−90の1区から15区の非
漢字図形文字のフォントデータが格納されている。16
区から94区には、JIS X 0208−90の16
区から94区の漢字図形文字のフォントデータが格納さ
れている。95区から120区は、予約領域として使用
しない。
FIG. 2A is a diagram showing an arrangement of font data of the G0 character encoding system stored in the G0 font data file 4. In the G0 character encoding system, the 1st to 15th sections store font data of non-Kanji graphic characters in the 1st to 15th sections of JIS X 0208-90. 16
From ward to ward 94, 16 of JIS X 0208-90
The font data of the kanji graphic characters from the ward to the 94th ward are stored. Areas 95 to 120 are not used as reserved areas.

【0024】図2(b)は、G1フォントデータフアイ
ル5に格納されたGl文字符号系のフォントデータの配
置を示す図である。Gl文字符号系の1区から15区に
は、G0文字符号系と同様に、JIS X 0208−
90の1区から15区の非漢字図形文字のフォントデー
タが格納されている。16区から30区には、JISX
0212−90の非漢字図形文字のフォントデータが
格納されている。31区から109区には、JIS X
0212−90の漢字図形文字のフォントデータが格
納されている。110区から120区は、予約領域とし
て使用しない。
FIG. 2B is a diagram showing an arrangement of font data of the Gl character encoding system stored in the G1 font data file 5. As in the G0 character code system, JIS X 0208-
The font data of non-kanji graphic characters in the 90th ward from 1st ward to 15th ward are stored. In the 16th to 30th wards, JISX
Stores font data of non-kanji graphic characters of No. 0212-90. JIS X from 31st ward to 109th ward
Stores font data of 0212-90 kanji graphic characters. Areas 110 to 120 are not used as reserved areas.

【0025】ディスプレイ6およびプリンタ7は、OS
2が出力した図形文字を表示および印刷する。
The display 6 and the printer 7 are controlled by an OS
2 displays and prints the output graphic characters.

【0026】キーボード11は、利用者が図形文字の読
みを入力したり、文字符号系切換えシーケンスを入力し
たりする入力手段である。
The keyboard 11 is an input means for the user to input the reading of graphic characters and the character code switching sequence.

【0027】かな漢字変換手段12は、キーボード11
から受け取った読みをG0かな漢字辞書ファイル13ま
たはG1かな漢字辞書ファイル14を利用して図形文字
のコードに変換する。
The kana-kanji conversion means 12 includes a keyboard 11
Is converted into a graphic character code using the G0 Kana-Kanji dictionary file 13 or the G1 Kana-Kanji dictionary file 14.

【0028】G0かな漢字辞書ファイル13は、G0文
字符号系の図形文字の読みと、この読みに対応する図形
文字のコードとを格納している。
The G0 Kana-Kanji dictionary file 13 stores readings of graphic characters of the G0 character code system and codes of graphic characters corresponding to the readings.

【0029】G1かな漢字辞書ファイル14は、G1文
字符号系の図形文字の読みと、この読みに対応する図形
文字のコードとを格納している。
The G1 kana-kanji dictionary file 14 stores readings of graphic characters in the G1 character code system and codes of graphic characters corresponding to the readings.

【0030】図3を参照すると、かな漢字変換手段12
の特定キーシーケンス入力時の処理は、G0文字符号系
切換えシーケンス判定ステップS101と、G1文字符
号系切換えシーケンス判定ステップS102と、G0文
字符号系使用モード認識ステップS103と、G0文字
符号系使用モード通知ステップS104と、G1文字符
号系使用モード認識ステップS105と、G1文字符号
系使用モード通知ステップS106とからなる。
Referring to FIG. 3, kana-kanji conversion means 12
When the specific key sequence is input, the G0 character encoding system switching sequence determining step S101, the G1 character encoding system switching sequence determining step S102, the G0 character encoding system use mode recognition step S103, and the G0 character encoding system use mode notification It comprises step S104, G1 character encoding system use mode recognition step S105, and G1 character encoding system use mode notification step S106.

【0031】次に、このように構成された本実施例の文
字数拡大方式の動作について説明する。
Next, the operation of the thus-constructed embodiment of the character number expansion system will be described.

【0032】(1) G0文字符号系の図形文字の入力
/表示
(1) Input / display of graphic characters in G0 character code system

【0033】AP1が現在利用可能な文字符号系を管理
する。AP1は、通常G0文字符号系を使用するため、
OS2に対してG0文字符号系を利用する宣言を行う。
例えば、コマンドSELECT FONT G0を実行
することにより宣言を行う。
AP1 manages the currently available character code systems. AP1 normally uses the G0 character encoding system,
The OS2 is declared to use the G0 character encoding system.
For example, the declaration is made by executing the command SELECT FONT G0.

【0034】AP1がこの宣言を行うと、OS2は、フ
ォント処理手段3に対してフォントパターンを生成する
ときにG0フォントデータファイル4を使用するように
通知する。
When the AP 1 makes this declaration, the OS 2 notifies the font processing means 3 to use the G0 font data file 4 when generating the font pattern.

【0035】利用者はキーボード11から入力したい図
形文字の読みを入力する。入力された図形文字の読み
は、通常ひらがな,カタカナまたはローマ字(アルファ
ベット)であるため、JIS X 0208−90の非
漢字図形文字であり、G0文字符号系およびG1文字符
号系の1区から15区の同一の図形文字のフォントデー
タに割り当てられている。
The user inputs the reading of a graphic character to be input from the keyboard 11. Since the input graphic characters are usually read in hiragana, katakana, or romaji (alphabet), they are non-kanji graphic characters according to JIS X 0208-90, and are in the 1st to 15th sections of the G0 character code system and the G1 character code system. Are assigned to the font data of the same graphic character.

【0036】かな漢字変換手段12は、入力された読み
をOS2を介してディスプレイ6に表示するとともに、
G0かな漢字辞書ファイル13を参照して読みに対応し
た候補図形文字のコードを選び、OS2がフォント処理
手段3を使用してG0フォントデータファイル4からフ
ォントデータを取得してディスプレイ6に候補図形文字
を表示する。利用者がキーボード11を操作してディス
プレイ6に表示された候補図形文字の中から適切な図形
文字を選択すると、かな漢字変換手段12は、その図形
文字のコードをOS2を経由してAP1に渡す。
The kana-kanji conversion means 12 displays the input reading on the display 6 via the OS 2,
The OS 2 obtains font data from the G0 font data file 4 using the font processing means 3 and selects the candidate graphic character on the display 6 by referring to the G0 kana kanji dictionary file 13 and selecting the code of the candidate graphic character corresponding to the reading. indicate. When the user operates the keyboard 11 to select an appropriate graphic character from the candidate graphic characters displayed on the display 6, the kana-kanji conversion means 12 passes the code of the graphic character to the AP1 via the OS2.

【0037】(2) G1文字符号系の図形文字の表示(2) Display of graphic characters in G1 character code system

【0038】AP1がG1文字符号系の図形文字を表示
する場合は、AP1は、G1文字符号系の図形文字を表
示または印刷する直前に、OS2に対してG1文字符号
系を使用することを宣言する。例えば、コマンドSEL
ECT FONT G1を実行することにより宣言を行
う。
When AP1 displays a graphic character of the G1 character code system, AP1 declares to OS2 that the G1 character code system is used immediately before displaying or printing the graphic character of the G1 character code system. I do. For example, the command SEL
Declare by executing ECT FONT G1.

【0039】AP1がこの宣言を行うと、OS2は、フ
ォント処理手段3に対してフォントパターンを生成する
ときにG1フォントデータファイル5を使用するように
通知する。この後、AP1により表示および印刷される
図形文字は、すべてG1文字符号系の図形文字として処
理される。
When the AP 1 makes this declaration, the OS 2 notifies the font processing means 3 to use the G1 font data file 5 when generating the font pattern. Thereafter, the graphic characters displayed and printed by AP1 are all processed as graphic characters of the G1 character code system.

【0040】AP1が再びG0文字符号系の図形文字を
表示する場合は、前記(1)のようにG0文字符号系の
使用をOS2に対して宣言する。
When AP1 displays graphic characters of the G0 character encoding system again, the use of the G0 character encoding system is declared to OS2 as described in (1) above.

【0041】(3) Gl文字符号系の図形文字の入力(3) Input of graphic character of Gl character code system

【0042】G1文字符号系の図形文字の入力の場合
は、初めに利用者がキーボード11からG1文字符号系
切換えシーケンスをキー入力することによりG1文字符
号系の図形文字を入力することをOS2に通知する。例
えば、コントロールキーとファンクションキーF2とを
同時にキー入力する。G1文字符号系切換えシーケンス
がキー入力されると(ステップS101でイエス)、か
な漢字変換手段12は、利用者がG1文字符号系の図形
文字の入力を希望していることを知る(ステップS10
3)。
In the case of inputting a graphic character of the G1 character code system, the user first inputs a graphic character of the G1 character code system to the OS 2 by key-inputting the G1 character code system switching sequence from the keyboard 11. Notice. For example, the control key and the function key F2 are simultaneously keyed. When the G1 character code switching sequence is key-input (Yes in step S101), the kana-kanji conversion means 12 knows that the user wants to input a G1 character code graphic character (step S10).
3).

【0043】かな漢字変換手段12は、G1文字符号系
が選択されたことを、OS2を介してAP1に通知する
(ステップS104)。AP1は、この通知を受け取る
と、前記(2)と同様に、OS2に対してG1文字符号
系を使用することを選択する。さらに、以後入力される
図形文字はG1文字符号系であるとして処理する。
The kana-kanji conversion means 12 notifies the AP 1 via the OS 2 that the G1 character code system has been selected (step S104). Upon receiving this notification, AP1 selects to use the G1 character encoding system for OS2, as in (2) above. Further, the graphic characters to be input thereafter are processed as having the G1 character code system.

【0044】前記動作に引き続き、利用者がキーボード
11から図形文字の読みを入力すると、かな漢字変換手
段12は、その読みをOS2を介してディスプレイ6に
表示する。このとき、読みは前述の通り、JIS X
208−90の非漢字図形文字であるが、これはG0文
字符号系と同様に、G1文字符号系の1区から15区に
割り当てられている。このため、従来の「情報交換用符
号の拡張方法JISX 0202−84」のエスケープ
シーケンスによる文字符号系と異なり、文字符号系切り
換え後も、読みを表す図形文字を表示できる。
When the user inputs a reading of a graphic character from the keyboard 11 following the above operation, the kana-kanji conversion means 12 displays the reading on the display 6 via the OS 2. At this time, the reading is JIS X as described above.
The non-Kanji graphic characters 208-90 are assigned to the 1st to 15th wards of the G1 character encoding system, similarly to the G0 character encoding system. For this reason, unlike the conventional character code system based on the escape sequence of the method of extending the code for information exchange JISX0202-84, the graphic character representing the reading can be displayed even after the character code system is switched.

【0045】かな漢字変換手段12は、入力された読み
をOS2を介してディスプレイ6に表示するとともに、
G1かな漢字辞書ファイル14を利用して読みに対応し
た候補図形文字のコードを選び、OS2がフォント処理
手段3を使用してG1フォントデータファイル5からフ
ォントデータを取得してディスプレイ6に候補図形文字
を表示する。利用者がキーボード11を操作してディス
プレイ6に表示された候補図形文字の中から適切な図形
文字を選択すると、かな漢字変換手段12は、その図形
文字のコードをOS2を経由してAP1に渡す。
The kana-kanji conversion means 12 displays the input reading on the display 6 via the OS 2,
Using the G1 kana-kanji dictionary file 14, a candidate graphic character code corresponding to the reading is selected, and the OS 2 acquires font data from the G1 font data file 5 using the font processing means 3 and displays the candidate graphic character on the display 6. indicate. When the user operates the keyboard 11 to select an appropriate graphic character from the candidate graphic characters displayed on the display 6, the kana-kanji conversion means 12 passes the code of the graphic character to the AP1 via the OS2.

【0046】利用者が再びG0文字符号系の図形文字を
入力する場合は、キーボード11からG0文字符号系を
選択するG0文字符号系切換えシーケンスをキー入力す
る。例えば、コントロールキーとファンクションキーF
1とを同時にキー入力する。この操作により、かな漢字
変換手段12は、G0文字符号系の使用をOS2を介し
てAP1に通知する(ステップS106)。
When the user again inputs a graphic character of the G0 character code system, the user inputs from the keyboard 11 a G0 character code system switching sequence for selecting the G0 character code system. For example, control key and function key F
1 and a key input at the same time. By this operation, the kana-kanji conversion means 12 notifies the use of the G0 character encoding system to the AP 1 via the OS 2 (step S106).

【0047】AP1は、この通知を受け取ると、OS2
に対してG0文字符号系を使用することを宣言し、以後
の文字入力はG0文字符号系として処理する。
Upon receiving this notification, AP 1
Is declared to use the G0 character encoding system, and the subsequent character input is processed as the G0 character encoding system.

【0048】このように、本実施例の文字数拡大方式で
は、G0文字符号系とG1文字符号系とを切り替えるこ
とで、シフトJISコードを利用して最大21,150
(=2×11280−15×94)個の図形文字を表現
可能なため、JIS X 0208−90の図形文字と
JIS X 0212−90の図形文字とをすべて表現
できる。
As described above, in the character number expansion system of this embodiment, by switching between the G0 character encoding system and the G1 character encoding system, a maximum of 21,150 characters can be obtained by using the shift JIS code.
Since (= 2 × 11280−15 × 94) graphic characters can be expressed, all of the graphic characters of JIS X 0208-90 and JIS X 0212-90 can be expressed.

【0049】なお、上記実施例では、2種類の文字符号
系を取り扱える場合を例にとって説明したが、3種類以
上の文字符号系を取り扱う場合も、本実施例を拡張する
ことで容易に実現することができる。
In the above embodiment, the case where two types of character code systems can be handled has been described as an example. However, the case where three or more types of character code systems can be handled can be easily realized by expanding this embodiment. be able to.

【0050】[0050]

【発明の効果】以上説明したように本発明は、複数のフ
ォントデータファイルに、異なる文字符号系の図形文字
のフォントデータを、図形文字の読みを表示する一つの
文字符号系の非漢字図形文字を共通の位置となるように
格納したことにより、次のような効果がある。
As described above, according to the present invention, font data of graphic characters of different character encoding systems is stored in a plurality of font data files, and non-kanji graphic characters of one character encoding system for displaying the reading of graphic characters. Are stored at a common position, the following effects can be obtained.

【0051】 複数の文字符号系を切り換えること
で、シフトJISコードを利用して20,000個以上
の図形文字を表現可能なため、JIS X 0208−
90の図形文字とJIS X 0212−90の図形文
字とをすべて表現できる。
By switching a plurality of character code systems, more than 20,000 graphic characters can be expressed by using the shift JIS code, so that JIS X 0208-
90 graphic characters and JIS X 0212-90 graphic characters can all be represented.

【0052】 システム起動時に静的に利用可能な文
字種を選択するのではなく、運用時に文字符号系を特定
の文字符号系切換えシーケンスのキー入力により動的に
切り替えるため、文字符号系の切換え後にシステムの再
起動が必要ない。
Instead of statically selecting a character type that can be used at system startup, the character code system is dynamically switched by key input of a specific character code system switching sequence during operation. Does not require a restart.

【0053】 シフトJISコードをベースにしてい
るため、パーソナルコンピュータシステムに適してい
る。
Since it is based on the shift JIS code, it is suitable for a personal computer system.

【0054】 JIS X 0202−84のエスケ
ープシーケンスにより文字符号系を切り換える場合と異
なり、かな漢字変換手段が読みと候補図形文字とを表示
するときに文字符号系を切り換える必要がない。
Unlike the case where the character encoding system is switched by the escape sequence of JIS X0202-84, it is not necessary for the kana-kanji conversion means to switch the character encoding system when displaying the reading and the candidate graphic character.

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

【図1】本発明の一実施例に係る文字数拡大方式の構成
を示す機能ブロック図である。
FIG. 1 is a functional block diagram showing a configuration of a character number expansion system according to an embodiment of the present invention.

【図2】(a)は図1中のG0フォントデータファイル
に格納されたG0文字符号系のフォントデータの配置を
示す図であり、(b)は図1中のG1フォントデータフ
ァイルに格納されたG1文字符号系のフォントデータの
配置を示す図である。
2A is a diagram showing an arrangement of font data of a G0 character encoding system stored in a G0 font data file in FIG. 1, and FIG. 2B is a diagram showing an arrangement of font data in a G1 font data file in FIG. FIG. 7 is a diagram showing the arrangement of font data of the G1 character encoding system.

【図3】図1中のかな漢字変換手段の処理を示す流れ図
である。
FIG. 3 is a flowchart showing a process of a kana-kanji conversion means in FIG. 1;

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

1 AP(アプリケーションプログラム) 2 OS(オペレーティングシステム) 3 フォント処理手段 4 G0フォントデータファイル 5 G1フォントデータファイル 6 ディスプレイ 7 プリンタ 11 キーボード 12 かな漢字変換手段 13 G0かな漢字辞書ファイル 14 G1かな漢字辞書ファイル Reference Signs List 1 AP (application program) 2 OS (operating system) 3 Font processing means 4 G0 font data file 5 G1 font data file 6 Display 7 Printer 11 Keyboard 12 Kana-Kanji conversion means 13 G0 Kana-kanji dictionary file 14 G1 Kana-kanji dictionary file

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 情報処理装置において、 異なる文字符号系の図形文字の読みと、この読みに対応
する図形文字のコードとを格納する複数のかな漢字辞書
ファイルと、 異なる文字符号系の図形文字のフォントデータを、図形
文字の読みを表示する一つの文字符号系の非漢字図形文
字を共通の位置となるように格納している複数のフォン
トデータファイルと、 利用者が図形文字の読みを入力したり文字符号系切換え
シーケンスを入力したりする入力手段と、 この入力手段から受け取った読みを前記かな漢字辞書フ
ァイルを参照して図形文字のコードに変換して前記OS
に通知したり文字符号系切換えシーケンスを前記OSに
通知したりするかな漢字変換手段と、 複数の文字符号系に属する図形文字を取り扱うことがで
きる業務処理手段と、 この業務処理手段からの要求に従い図形文字をディスプ
レイおよびプリンタに表示および印刷したり、前記かな
漢字変換手段から図形文字のコードを受け取って前記業
務処理手段に渡したりするOSと、 このOSの指示により指定されたフォントデータファイ
ルから必要な図形文字のフォントデータを読み出して前
記OSに渡すフォント処理手段とを有することを特徴と
する文字数拡大方式。
1. An information processing apparatus, comprising: a plurality of kana-kanji dictionary files storing readings of graphic characters of different character encodings and codes of graphic characters corresponding to the readings; fonts of graphic characters of different character encodings The user can input graphic data reading and multiple font data files that store non-Kanji graphic characters of one character encoding system that displays the reading of graphic characters at a common position. An input means for inputting a character code switching sequence, and converting the reading received from the input means into a graphic character code by referring to the kana-kanji dictionary file,
Kana-Kanji conversion means for notifying the OS of a character code system switching sequence, business processing means capable of handling graphic characters belonging to a plurality of character code systems, and graphic processing in accordance with a request from the business processing means. An OS for displaying and printing characters on a display and a printer, receiving a graphic character code from the kana-kanji conversion means, and passing the code to the business processing means, and a required graphic from a font data file designated by the instruction of the OS. A font processing means for reading font data of characters and transferring the data to the OS.
【請求項2】 前記複数のフォントデータファイルが、
シフトJISコードをベースとして、1区から15区に
JIS X 0208−90の1区から15区の非漢字
図形文字のフォントデータが、16区から94区にJI
S X 0208−90の16区から94区の漢字図形
文字のフォントデータが格納されているG0フォントデ
ータファイルと、1区から15区にJIS X 020
8−90の1区から15区の非漢字図形文字のフォント
データが、16区から30区にJIS X 0212−
90の非漢字図形文字のフォントデータが、31区から
109区にJIS X 0212−90の漢字図形文字
のフォントデータが格納されているG1フォントデータ
ファイルとからなる請求項1記載の文字数拡大方式。
2. The method according to claim 1, wherein the plurality of font data files are:
Based on the shift JIS code, the font data of the non-Kanji graphic characters of JIS X 0208-90 in the 1st to 15th wards in the 1st to 15th wards and the JI
A G0 font data file storing font data of kanji graphic characters in the 16th to 94th wards of SX0208-90, and JIS X020 in the 1st to 15th wards
The font data of the non-kanji graphic characters in the 1st to 15th wards of 8-90 is changed to JIS X 0212- in the 16th to 30th wards.
2. The character number enlarging method according to claim 1, wherein the font data of the 90 non-kanji graphic characters is a G1 font data file in which JIS X 0212-90 kanji graphic character font data is stored in 31st to 109th wards.
JP7242542A 1995-08-28 1995-08-28 Character number expansion method Expired - Fee Related JP2755224B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7242542A JP2755224B2 (en) 1995-08-28 1995-08-28 Character number expansion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7242542A JP2755224B2 (en) 1995-08-28 1995-08-28 Character number expansion method

Publications (2)

Publication Number Publication Date
JPH0962664A JPH0962664A (en) 1997-03-07
JP2755224B2 true JP2755224B2 (en) 1998-05-20

Family

ID=17090665

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7242542A Expired - Fee Related JP2755224B2 (en) 1995-08-28 1995-08-28 Character number expansion method

Country Status (1)

Country Link
JP (1) JP2755224B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007264090A (en) * 2006-03-27 2007-10-11 Nec Corp Built-in device provided with font change function, and program thereof
JP5899272B2 (en) * 2014-06-19 2016-04-06 ヤフー株式会社 Calculation device, calculation method, and calculation program

Also Published As

Publication number Publication date
JPH0962664A (en) 1997-03-07

Similar Documents

Publication Publication Date Title
JP2755224B2 (en) Character number expansion method
JPH0916149A (en) Character processor, character processing method, and memory
JPH0616235B2 (en) Foreign language character data simultaneous output control method
JP3552743B2 (en) Computer input method
JPH0823744B2 (en) Character string processor
JP2761622B2 (en) Character converter
JPH0778133A (en) Document preparing device and method for outputting character pattern
JP3042437B2 (en) How to display conversion candidates for reading input character strings
JPH1158U (en) Document input device
JPH0640325B2 (en) Writing device
JP2870524B2 (en) Character conversion processor
JP2003196011A (en) Character input device
JP2870525B2 (en) Character conversion processor
JP2001209368A (en) Message display device
JPH056242A (en) Key input device
JPH08230254A (en) Printer
JPH01229666A (en) Printer
JPH0844472A (en) Document processor
JPH04133165A (en) Kana/kanji converter
JPH0346056A (en) Document generation device
JPH0922412A (en) Document processing method and its device
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
JPH01173094A (en) Image output device having character indicator
JPH0844725A (en) Device and method for document preparation

Legal Events

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

Free format text: PAYMENT UNTIL: 20080306

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090306

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20090306

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20100306

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees