JP3147613B2 - Character data management device and character output device provided with the same - Google Patents

Character data management device and character output device provided with the same

Info

Publication number
JP3147613B2
JP3147613B2 JP24919493A JP24919493A JP3147613B2 JP 3147613 B2 JP3147613 B2 JP 3147613B2 JP 24919493 A JP24919493 A JP 24919493A JP 24919493 A JP24919493 A JP 24919493A JP 3147613 B2 JP3147613 B2 JP 3147613B2
Authority
JP
Japan
Prior art keywords
character
data
code
concept
substitute
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
JP24919493A
Other languages
Japanese (ja)
Other versions
JPH07105196A (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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP24919493A priority Critical patent/JP3147613B2/en
Publication of JPH07105196A publication Critical patent/JPH07105196A/en
Application granted granted Critical
Publication of JP3147613B2 publication Critical patent/JP3147613B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (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 data management device which can generally handle Japanese kanji, and in particular, can handle variant Chinese characters, and a character output device having the same.

【0002】[0002]

【従来の技術】従来、日本語の漢字を取り扱うシステム
においては、ディジタルコンピュータの普及に伴い、字
体ごとに固有のコードが割り振られ、そのコードを参照
することによって、異機種間におけるデータ交換が行わ
れていた。そして、そのようなコード体系には、JIS
コードと通称されるコード体系に基づくJISコード漢
字表が広く用いられている。このJISコード漢字表
は、常用漢字表などと同様に、その時代時代での社会的
通念にもとづいて取り決められており、現在までに数度
の改正が加えられている。
2. Description of the Related Art Conventionally, in a system for handling Japanese kanji, with the spread of digital computers, a unique code is assigned to each font and data is exchanged between different models by referring to the code. Had been And such code systems include JIS
A JIS code kanji table based on a code system commonly called a code is widely used. This JIS code kanji table, like the common use kanji table, is decided based on social wisdom in the era and has been revised several times so far.

【0003】字体は時代とともに変遷を繰り返してお
り、古来中国より伝来した字体の中には、現在では人名
や地名などの固有名称にのみ使用され、それ以外の通常
文章の場合には変化した字体が使われる、いわゆる新、
旧字体と呼ばれ区別される字体が数多く存在する。ま
た、字体の区別をするのに、正字、略字、俗字と呼称さ
れる場合もあり、それらを混同して使用する場合もある
ようであるが、用語の定義を明確にしようとすると漢字
の文化論的要素が強くなり本論の主旨を大きく逸脱する
ため、各用語は社会的通念に基づく定義とする。
[0003] Fonts have been changing with the times, and some of the fonts that have been introduced from China since ancient times are currently used only for unique names such as personal names and place names, and in the case of other ordinary text, the fonts have changed. Is used, so-called new,
There are many distinguished fonts called old fonts. Also, in order to distinguish fonts, they are sometimes called orthographic characters, abbreviations, and slang characters, and they seem to be confused with them. Each term is defined based on social wisdom because the theoretical elements become stronger and deviate significantly from the gist of this paper.

【0004】さて、上述のJISコード漢字表である
が、字体の中には旧JISコード漢字表と新JISコー
ド漢字表の何れか一方にしか含まれないものがある。た
とえば、図6(a)、(b)、(c)で示した文字など
がその例であるが、これらはJIS 規格においては同
値として取り扱われ、同一のJISコードが割り振られ
ることになっている。また人名については、戸籍業務の
コンピュータ化により、「平成2年10月20日 法務
省民二第5200号 民事局長通達」により訂正されな
い俗字、略字が示されている。たとえば、図7に示した
ような場合である。これらの字体の多くはJISコード
漢字表に含まれていない。
The JIS code kanji table described above includes some fonts that are included in only one of the old JIS code kanji table and the new JIS code kanji table. For example, the characters shown in FIGS. 6 (a), 6 (b) and 6 (c) are examples thereof. These are treated as equivalent values in the JIS standard and the same JIS code is allocated. . Regarding personal names, spellings and abbreviations that are not corrected by the “Certificate of Civil Affairs Bureau, No. 5200, Ministry of Justice on October 20, 1990” are shown due to the computerization of family register business. For example, this is the case as shown in FIG. Many of these fonts are not included in the JIS code Kanji table.

【0005】ところで、通常の文章においては、文字の
使用は使用者の文化的背景に基づいて使用されるべきも
のであり、選択の余地のある場合、それぞれの好みで使
用されることとなる。しかし、地名や人名においては、
公文書の要素が強くなればなるほど定義された字体その
ものが使用されなくてはならない。
[0005] By the way, in ordinary sentences, the use of characters should be used based on the cultural background of the user, and if there is room for selection, the characters are used according to their preferences. However, in place names and personal names,
The stronger the elements of the official document, the more the defined fonts must be used.

【0006】従って、従来、図6に示すような1つの漢
字に対して複数の異体字が存在する場合には、一方の字
体にJISコード表内のコードを割り振り、他方の字体
にいわゆる外字領域のコードを割り振ることが行われて
いた。
Conventionally, when a plurality of variant characters exist for one kanji as shown in FIG. 6, a code in the JIS code table is assigned to one character and a so-called external character area is assigned to the other character. Allocating code was done.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、上述し
たような従来の日本語の漢字を取り扱うシステムにおい
ては、外字領域のコードの割り振り方について特に規定
がなく、システムの製造当事者の自由裁量に任されてい
るため、異機種間において同一コードに対して異なる字
体が割り振られたり、あるいは字体が定義されていなか
ったりすることがあり、データ交換において障害となっ
ていた。
However, in the conventional system for handling Japanese kanji as described above, there is no particular rule on how to assign codes for the external character area, and it is left to the discretion of the system manufacturer. Therefore, different fonts may be assigned to the same code between different models, or the fonts may not be defined, which has been an obstacle in data exchange.

【0008】本発明は、上述した問題点を鑑みてなされ
たものであり、異機種間のデータ交換における障害を軽
減させる手段を備えた字形データ管理装置及びそれを備
える文字出力装置を提供することを目的としている。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems, and provides a character data management device having means for reducing obstacles in data exchange between different models and a character output device having the same. It is an object.

【0009】[0009]

【課題を解決するための手段】この目的を達成するため
に本発明の字形データ管理装置は、キャラクタの形状を
規定するデータである字形データを記憶する手段であっ
て、前記字形データを、文字概念を指定する文字概念コ
ードと、同一の文字概念コードが割り当てられた少なく
とも2つ以上の異体字をその種類で選択的に規定する種
類コードとにより指定可能なように記憶するフォントデ
ータ記憶手段と、前記文字概念コードと前記種類コード
を入力するコード入力手段と、そのコード入力手段で入
力した前記文字概念コードと前記種類コードに対応する
字形データを前記フォントデータ記憶手段より読み出す
読み出し手段とを有している。
In order to achieve this object, a character data management apparatus according to the present invention is a means for storing character data which is data defining the shape of a character. A font data storage means for storing a character concept code for designating a concept and a type code for selectively defining at least two or more variant characters to which the same character concept code is assigned according to the type; Code input means for inputting the character concept code and the type code, and reading means for reading out from the font data storage means character data corresponding to the character concept code and the type code input by the code input means. are doing.

【0010】また、前記字形データ管理装置が、前記文
字概念コードと種類コードに対応する字形データが前記
フォントデータ記憶手段内に記憶されているか否かを判
定する字形データ存在判定手段更に備え、前記コード入
力手段が前記字形データ存在判定手段で字形データがな
いと判定された場合には、入力を行わないものであって
もよい。
The character data management device further includes character data existence determining means for determining whether character data corresponding to the character concept code and the type code are stored in the font data storage means. When the code input means determines that there is no character data by the character data existence determining means, no input may be performed.

【0011】或いは、前記字形データ管理装置が、前記
コード入力手段で入力された文字概念コードに対する種
類コードで指示された異体字の字形データが、前記フォ
ントデータ記憶手段にあるか否かを判定する異体字デー
タ存在判定手段と、その異体字データ判定手段で字形デ
ータがないと判定された場合に、前記文字概念コードに
対応する正字、或いは他の異体字の字形データを代用文
字として前記フォントデータ記憶手段より読み出す代用
文字読み出し手段とを更に備え、前記代用文字読み出し
手段が前記異体字データ判定手段で字形データがあると
判定された場合にその字形データの読み出しを行うもの
であってもよい。
Alternatively, the glyph data management device determines whether or not glyph data of a variant character designated by a type code corresponding to the character concept code input by the code input means is present in the font data storage means. When the variant data existence determining unit and the variant data determining unit determine that there is no character data, the font data is used as a substitute character using a regular character corresponding to the character concept code or character data of another variant character. The apparatus may further include a substitute character reading unit that reads from the storage unit, and the substitute character reading unit reads the character data when the variant character data determining unit determines that there is character data.

【0012】更には、前記代用文字の字形データをその
字形が代用文字であることを表したデータに変換する代
用文字変換手段を備え、前記代用文字読み出し手段が前
記代用文字変換手段で得られたデータを出力するもので
あってもよい。
[0012] Further, there is provided a substitute character converting means for converting the character form data of the substitute character into data representing that the character form is a substitute character, and the substitute character reading means is obtained by the substitute character converting means. It may output data.

【0013】また、本発明の文字出力装置は前記字形デ
ータ管理装置の何れかの構成を有するとともに、前記字
形データ管理装置に対して、前記文字概念コード及び種
類コードを指定するコード指定手段と、前記字形データ
管理装置で出力された字形データを表示、或いは印字す
る出力手段とを備えている。
Further, the character output device of the present invention has any one of the configurations of the glyph data management device, and a code designating means for designating the character concept code and the type code to the glyph data management device; Output means for displaying or printing the character data output by the character data management device.

【0014】また、前記文字出力装置が前記コード指定
手段で指定した種類コードに応じた説明を前記出力手段
で出力した文字に対して付与する異体字説明付与手段を
備えていてもよい。
The character output device may further include a variant character description giving means for giving a description corresponding to the type code designated by the code designating means to the character outputted by the output means.

【0015】[0015]

【作用】上記の構成を有する本発明の字形データ管理装
置におけるフォントデータ記憶手段は、キャラクタの形
状を規定するデータである字形データを記憶する手段で
あって、前記字形データを、文字概念を指定する文字概
念コードと、同一の文字概念コードが割り当てられた少
なくとも2つ以上の異体字をその種類で選択的に規定す
る種類コードとにより指定可能なように記憶し、コード
入力手段は、前記文字概念コードと種類コードを入力
し、読み出し手段は、前記コード入力手段で入力した文
字概念コードと種類コードに対応した字形データを前記
フォントデータ記憶手段より読み出す。
The font data storage means in the character data management apparatus of the present invention having the above-described structure is means for storing character data which is data for defining the shape of a character, wherein the character data specifies a character concept. A character concept code to be specified and at least two or more variant characters to which the same character concept code is assigned are stored so as to be specified by a type code selectively defining the type of the character concept code. The concept code and the type code are input, and the reading means reads the character shape data corresponding to the character concept code and the type code input by the code input means from the font data storage means.

【0016】また、字形データ存在判定手段は、前記文
字概念コードと種類コードに対応する字形データが前記
フォントデータ記憶手段内に記憶されているか否かを判
定し、前記コード入力手段は前記字形データ存在判定手
段で字形データがないと判定された場合には、入力を行
わない。
The character data existence determining means determines whether character data corresponding to the character concept code and the type code are stored in the font data storage means, and the code input means determines whether the character data is the character data. If the presence determining means determines that there is no character data, no input is made.

【0017】更には、異体字データ存在判定手段は、前
記コード入力手段で入力された文字概念コードに対する
種類コードで指示された異体字の字形データが、前記フ
ォントデータ記憶手段にあるか否かを判定し、代用文字
読み出し手段は、前記異体字データ判定手段で字形デー
タがないと判定された場合には、前記文字概念コードに
対応する正字、或いは他の異体字の字形データを代用文
字として前記フォントデータ記憶手段より読み出し、前
記異体字データ判定手段で字形データがあると判定され
た場合にはその字形データの読み出しを行う。
Further, the variant character data existence determining means determines whether or not the character data of the variant character designated by the type code corresponding to the character concept code input by the code input means exists in the font data storage means. When the variant character data determining unit determines that there is no character shape data, the substitute character reading unit determines, as a substitute character, the regular character corresponding to the character concept code or the character shape data of another variant character. The character data is read from the font data storage means, and when the variant data determination means determines that there is character data, the character data is read.

【0018】また、代用文字変換手段は、前記代用文字
の字形データをその字形が代用文字であることを表した
データに変換し、前記代用文字読み出し手段は前記代用
文字変換手段で得られたデータを出力する。
The substitute character converting means converts the character data of the substitute character into data representing that the character shape is a substitute character, and the substitute character reading means outputs the data obtained by the substitute character converting means. Is output.

【0019】次に、本発明の文字出力装置におけるコー
ド指定手段は、前記字形データ管理装置に対して、前記
文字概念コード及び種類コードを指定し、出力手段は前
記字形データ管理装置で出力された字形データを表示、
或いは印字する。
Next, the code designating means of the character output device of the present invention designates the character concept code and the type code to the character data management device, and the output means outputs the character concept data and the type code by the character data management device. Display glyph data,
Or print.

【0020】また異体字説明付与手段は、前記文字出力
装置が前記コード指定手段で指定した種類コードに応じ
た説明を前記出力手段で出力した文字に対して付与す
る。
Further, the variant character description giving means gives the character output device a description corresponding to the type code designated by the code designating means to the character outputted by the output means.

【0021】[0021]

【実施例】以下、本発明を具体化した一実施例を図面を
参照して説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings.

【0022】本実施例は、本発明の字形データ管理装置
を日本語文書作成装置に好適に適用した例であり、図1
は本実施例の日本語文書作成装置の制御回路のうち、主
として字形データ管理装置の部分を示すブロック図であ
る。
This embodiment is an example in which the character data management device of the present invention is suitably applied to a Japanese document creation device.
FIG. 3 is a block diagram mainly showing a character data management device in the control circuit of the Japanese document creation device of the present embodiment.

【0023】この制御回路の主体を成すマイクロコンピ
ュータ部10は、CPU12、プログラムメモリ13、
ワーキングメモリ14、コードメモリ15及びキャラク
タメモリ16を備えている。そして、これらCPU12
等は、バス17により接続されており、バス17には入
力部18及び出力部19が接続されている。
The microcomputer section 10 which forms the main part of the control circuit includes a CPU 12, a program memory 13,
A working memory 14, a code memory 15, and a character memory 16 are provided. And these CPUs 12
And the like are connected by a bus 17, and an input unit 18 and an output unit 19 are connected to the bus 17.

【0024】次に上記各部の構成の概要を説明すると、
CPU12は本実施例を実現するための処理を与えられ
たプログラムに従って行うものであり、プログラムメモ
リ13は本実施例の字形データの読み出し、登録に関わ
る一連の処理手続きを行うプログラムを記憶するもので
ある。また、ワーキングメモリ14はプログラム実行時
に必要なデータを一時的に記憶するものであり、コード
メモリ15はキャラクタの字形を指示する字体コードと
キャラクタの字形データとを関連づける情報を記憶する
ものである。尚、詳細は後述する。キャラクタメモリ1
6はキャラクタの字形データを記憶するものである。
Next, an outline of the configuration of each of the above units will be described.
The CPU 12 performs processing for realizing the present embodiment according to a given program, and the program memory 13 stores a program for performing a series of processing procedures related to reading and registration of the character data of the present embodiment. is there. The working memory 14 temporarily stores data necessary for executing the program, and the code memory 15 stores information for associating a character code indicating a character shape with character shape data. The details will be described later. Character memory 1
Numeral 6 stores character shape data of the character.

【0025】コードメモリ15について以下に説明を加
える。本実施例の字形コードは文字概念を示す文字概念
コードとしてJIS区点コード部と異体字の種類を新/
旧で示す種類コード部から成る。例えば図2(a)、
(b)に示す文字は元来同一の文字であるが、新JIS
では(a)の字形が、旧JISでは(b)の字形が定義
されている。従って、これらは同じJIS区点コード2
710の文字である。これらの字形データを共に記憶し
た場合、文字概念コードのみでは(a)、(b)の種別
ができないため新字/旧字の区別をする情報を付す。こ
れが、種類コードである。すなわち、(a)は新字であ
るため字形コード2710−新とし、(b)は旧字であ
るため字形コード2710−旧とする。コードメモリ1
5はこのような字形コードとキャラクタメモリ16内の
その字形コードの指示する字形の字形データのアドレス
を関連づけて記憶したものである。
The code memory 15 will be described below. The character code according to the present embodiment is a character concept code indicating a character concept.
It consists of the type code part shown in the old. For example, FIG.
Although the characters shown in (b) are originally the same characters, the new JIS
In (a), the character shape of (b) is defined in the old JIS. Therefore, they have the same JIS Kuten code 2
710 characters. When these character shape data are stored together, the character (a) and (b) cannot be classified only by the character concept code, so that information for distinguishing new characters / old characters is added. This is the type code. That is, (a) is a character code 2710-new because it is a new character, and (b) is a character code 2710-old because it is an old character. Code memory 1
Numeral 5 stores such a character code and the address of the character data of the character shape indicated by the character code in the character memory 16 in association with each other.

【0026】尚、この種類データは新/旧のみでなく、
例えば、正字/略字/俗字等の種類を示すデータでも、
単に異体字であることを示すデータでも、又、各々の場
合が複数ある場合は旧−1、旧−2等の同一種の中の識
別情報を加えたデータであっても良いが、本実施例では
説明を容易にするために新/旧のみの種別データで説明
する。又、特に種類データが指定されなかった場合はデ
フォルトとして新が指定されたものとして扱う。
The type data is not only new / old data,
For example, even if the data indicates the type of regular characters / abbreviated characters / slang characters,
The data may simply indicate that the character is a variant, or if there are a plurality of cases, data to which identification information of the same type such as old-1 and old-2 may be added. In the example, for simplicity of description, description will be made using only new / old type data. If no type data is specified, it is assumed that new is specified as a default.

【0027】更に、入力部18および出力部19はマイ
クロコンピュータ部10にデータを入出力するものであ
り、入力部18からはJIS区点コードと種類コードを
入力し、出力部19には読み出した字形データを出力す
るようになっている。
Further, the input unit 18 and the output unit 19 are for inputting and outputting data to and from the microcomputer unit 10. It outputs glyph data.

【0028】以下に本実施例の字形データ管理装置が行
う処理について詳細に説明する。
The processing performed by the character data management apparatus according to the present embodiment will be described below in detail.

【0029】先ず、字形の読み出し処理について図3に
示すフローチャートを用いて、以下に説明すると、始め
に、S31で入力されたJIS区点コードと種類コード
を字形コードに変換する。例えば、JIS区点コードが
2710で種類コードが「旧」と入力された場合は、こ
こで2710−旧と変換される。尚、種類コードが入力
されなかった場合には、デフォルトである「新」が入力
されたとして扱う。次に、S32でその字形コードの登
録があるか否かをコードメモリ15を参照して判定す
る。ここで、ない(NO)と判定された場合はS33、
S34を実行してS35に移行し、ある(YES)と判
定された場合は、S35に移行する。
First, the character shape reading process will be described below with reference to the flowchart shown in FIG. 3. First, the JIS Kuten code and type code input in S31 are converted into character shape codes. For example, if the JIS ward code is 2710 and the type code is "old", it is converted to 2710-old here. If the type code is not input, it is treated that “new”, which is the default, is input. Next, in S32, it is determined whether or not the character code is registered by referring to the code memory 15. Here, if it is determined that there is no (NO), S33,
The process proceeds to S35 after executing S34, and proceeds to S35 if it is determined that there is any (YES).

【0030】S32でNOとなった場合は以下の処理を
実行する。先ず、S33で代用文字の字形コードを作成
する。本実施例では代用文字として、指定された文字概
念コードであるJISコードと種類コードのデフォルト
である「新」で指示される字形データに変換する。従っ
て、ここで2710−旧は2710−新と変換される。
又、字形が入力部から指定されたキャラクタのものでは
ないことを示すため、デフォルトの字形コードに対応す
る字形データにある形状を合成した形状を出力する。本
実施例では文字全体を囲む四角い形状を出力する。S3
4ではこの合成する形状をキャラクタメモリ16から読
み出してワーキングメモリ14内の図示しない字形バッ
ファに格納する。
If the answer is NO in S32, the following processing is executed. First, in S33, a character code of a substitute character is created. In this embodiment, as substitute characters, JIS code which is a designated character concept code and character shape data designated by "new" which is the default of type code are converted. Thus, here 2710-old is converted to 2710-new.
Also, in order to indicate that the character shape is not that of the character specified from the input unit, a shape obtained by synthesizing the shape in the character shape data corresponding to the default character shape code is output. In this embodiment, a square shape surrounding the entire character is output. S3
In step 4, the combined shape is read from the character memory 16 and stored in a character buffer (not shown) in the working memory 14.

【0031】S35は、指定された字形コードに対応し
た字形データのアドレスから字形データを読み出してワ
ーキングメモリ14内の図示しない字形バッファに格納
する。尚、S34で字形バッファに格納した形状があれ
ば、その形状と合成して格納する。例えば、字形データ
が図2(a)のような文字が字形コードが2710−新
で登録されているが、それに対する旧字が登録されてい
ない場合は、図2(c)の形状を作成し、出力する。
In step S35, the character data is read from the address of the character data corresponding to the designated character code, and is stored in a character buffer (not shown) in the working memory 14. If there is a shape stored in the character buffer in S34, the shape is combined with the shape and stored. For example, in the case where the character data as shown in FIG. 2A is registered as the character code 2710-new, but the old character corresponding thereto is not registered, the shape shown in FIG. 2C is created. ,Output.

【0032】以上のような処理で、字形データの読み出
しは行われるが、字形コードに対応するキャラクタの字
形データがない場合、すなわち、S32でNOの場合
は、字形データを出力しないことにすることも可能であ
るし、又、特に入力された字形コードに対応する字形デ
ータではないことを示す形状を合成しないで、その字形
データに対するデフォルトの字形コードに対応した字形
データを出力することも可能である。更には、種類コー
ドが旧字の他に多数定義されている場合には、その種別
に応じて、合成する形状をかえることも可能である。例
えば、種別コードが正字/略字/俗字で定義してある場
合、略字の登録がない場合には四角を合成し、俗字の登
録がない場合には丸い形状を合成したりすることも可能
である。又、S32の判定を行わずに、S31、S35
の処理のみの構成にもできる。
In the above processing, the character data is read out, but if there is no character data of the character corresponding to the character code, that is, if NO in S32, character data is not output. It is also possible to output the character data corresponding to the default character code for the character data without synthesizing a shape indicating that the character data is not the character data corresponding to the input character code. is there. Further, when a large number of type codes are defined in addition to the old characters, the shape to be combined can be changed according to the type. For example, when the type code is defined as a regular character / abbreviation / slang character, it is also possible to combine a square when no abbreviation is registered, and to combine a round shape when there is no spelling registered. . Further, without performing the determination of S32, S31, S35
It is also possible to adopt a configuration of only the processing of

【0033】以下に本実施例の字形データ管理装置のク
ライアント部となる文字表示/印字部について説明す
る。
Hereinafter, a character display / printing unit serving as a client unit of the character data management apparatus according to the present embodiment will be described.

【0034】この文字表示/印字部は、S41で1文字
のキャラクタコードとその文字に異体字の説明を加える
か否かを示す情報を読み出す。次にS42でそのキャラ
クタコードをJIS区点コードに変換し、新/旧の指示
のあるキャラクタにはその種別を、又、指示のないキャ
ラクタには種別としてデフォルトの新を種別データとし
て求める。次にS43で字形データ管理装置の入力部1
8にわたして、字形データを読み出して出力部19より
得る。次にS44でS43で読み出した字形データを表
示部/印字部にわたして出力する。又、S45でS41
で入力した文字に異体字の説明を加えるか否かの情報を
判定し、説明を加える場合は、S46で、指定された種
別コードが「旧」の場合には「旧字」であることを示す
説明を、例えば、出力した字形に下線を付したり、「こ
の文字は旧字です。」というメッセージを出力する等し
て行うために表示部/印字部に情報をわたして出力す
る。この処理は文字/表示部が仮名漢字変換等から文字
の出力要求を受けた場合や、文書作成装置に漢字の属性
等を調べる機能があった場合等に有効である。これらの
処理をS47で終了と判断されるまで行う。
The character display / printing unit reads out a character code of one character and information indicating whether or not to add a description of a variant character to the character in S41. Next, in S42, the character code is converted into a JIS Ku-point code, and the type of the character having a new / old instruction is obtained, and the default new character is obtained as the type of a character having no instruction. Next, in S43, the input unit 1 of the character data management device
8, the character data is read and obtained from the output unit 19. Next, in S44, the character shape data read in S43 is output to the display / printing unit. In S45, S41
It is determined whether or not to add a description of a variant character to the character input in step S46. If a description is to be added, the process proceeds to step S46. Information is output to the display / printing unit in order to provide an explanation such as underlining the output character shape or outputting a message "This character is an old character." This process is effective when the character / display unit receives a character output request from kana-kanji conversion or the like, or when the document creation device has a function to check the attributes of kanji and the like. These processes are performed until it is determined that the process is completed in S47.

【0035】又、S43の読み出し処理の前に予め読み
出そうとした文字がキャラクタメモリ16にあるか否か
を判定する構成に変更することもできる。すなわち、S
43とS44の間に図5に示すようなS51を設け、S
51でコードメモリ15を参照して指定された字形コー
ドが登録されているかを調べ、あればYES、なければ
NOとなる。YESの場合はS44以降を実施し、NO
であれば、(1)に移行する。
It is also possible to change the configuration to determine whether the character to be read beforehand is present in the character memory 16 before the reading process in S43. That is, S
S51 as shown in FIG. 5 is provided between 43 and S44,
At 51, it is checked whether or not the designated character code is registered by referring to the code memory 15, and if it is, YES, if not, NO. If YES, execute S44 and subsequent steps, and NO
If so, proceed to (1).

【0036】本実施例は、日本語文書作成装置を例に挙
げて説明したが、漢字の字形を出力する装置であればど
のようなものにも応用可能である。
Although the present embodiment has been described with reference to a Japanese document creating apparatus as an example, the present invention can be applied to any apparatus that outputs kanji character shapes.

【0037】又、本実施例ではキャラクタメモリ16と
コードメモリ15を別々の構成の例を示したが、これに
限らず、同一メモリ内に置くこともできる。
In this embodiment, the character memory 16 and the code memory 15 have been described as having different configurations. However, the present invention is not limited to this.

【0038】又、本実施例ではフォントデータの形式に
ついては、特に説明していないが、ビットマップフォン
トであろうとアウトラインフォントであろうと、又、そ
の他の形式であろうとどの様な形式であっても良い。
In this embodiment, the format of the font data is not specifically described, but any format may be used, whether it is a bitmap font, an outline font, or any other format. Is also good.

【0039】その他、本実施例は本発明の趣旨を逸脱し
ない範囲で種々の応用が可能である。
In addition, the present embodiment can be variously applied without departing from the gist of the present invention.

【0040】[0040]

【発明の効果】以上説明したことから明かなように、本
発明の字形データ管理装置及びそれを備える文字出力装
置によれば、既存の字形コードの体系を崩すことなく異
体字の字形データを管理でき、異機種間のデータ交換に
おける障害を軽減させたフォントデータ群を用いて文字
の表示、或いは印字を行うことが可能となる。
As is apparent from the above description, according to the character data management device of the present invention and the character output device including the same, the character data of the variant character is managed without breaking the existing character code system. This makes it possible to display or print characters using a font data group in which obstacles in data exchange between different models are reduced.

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

【図1】本発明の字形データ管理装置の構成を具体化し
た一実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment embodying the configuration of a character data management device according to the present invention.

【図2】異体字の出力例を示す図である。FIG. 2 is a diagram illustrating an output example of a variant character.

【図3】本実施例の字形データ読み出し処理を表すフロ
ーチャートである。
FIG. 3 is a flowchart illustrating a character shape data reading process according to the present embodiment.

【図4】本実施例の文字表示/印字処理を表すフローチ
ャートである。
FIG. 4 is a flowchart illustrating a character display / printing process according to the embodiment.

【図5】本実施例の文字表示/印字処理に付加される応
用部分のフローチャートである。
FIG. 5 is a flowchart of an applied portion added to the character display / print processing of the embodiment.

【図6】異体字の例を示す図である。FIG. 6 is a diagram illustrating an example of a variant character.

【図7】異体字の例を示す図である。FIG. 7 is a diagram illustrating an example of a variant character.

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

15 コードメモリ(フォントデータ記憶手段) 16 キャラクタメモリ(フォントデータ記憶手段) 18 入力手段(コード入力手段) S35 読み出し処理(読み出し手段、代用文字読み出
し手段、代用文字変換手段) S51 字形データ存在判定手段 S32 異体字データ存在判定手段 S33 代用文字字形コード作成処理(代用文字読み出
し手段) S34 合成形状読み出し処理(代用文字変換手段) S41 コード読み出し処理(コード指定手段) S42 コード変換処理(コード指定手段) S44 表示/印字処理(出力手段) S46 説明出力処理(異体字説明付与手段)
15 Code memory (font data storage means) 16 Character memory (font data storage means) 18 Input means (code input means) S35 Read processing (read means, substitute character read means, substitute character conversion means) S51 Character shape data existence determination means S32 Variant character data existence determination means S33 Substitute character character shape code creation processing (substitution character reading means) S34 Synthetic shape reading processing (substitution character conversion means) S41 Code reading processing (code specification means) S42 Code conversion processing (code specification means) S44 Display / Print processing (output means) S46 Explanation output processing (variant character explanation giving means)

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 17/21 - 17/26 ──────────────────────────────────────────────────続 き Continuation of front page (58) Field surveyed (Int.Cl. 7 , DB name) G06F 17/21-17/26

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 キャラクタの形状を規定するデータであ
る字形データを記憶する手段であって、前記字形データ
を、文字概念を指定する文字概念コードと、同一の文字
概念コードが割り当てられた少なくとも2つ以上の異体
字をその種類で選択的に規定する種類コードとにより指
定可能なように記憶するフォントデータ記憶手段と前記
文字概念コードと前記種類コードを入力するコード入力
手段と、 そのコード入力手段で入力した前記文字概念コードと前
記種類コードに対応する字形データを前記フォントデー
タ記憶手段より読み出す読み出し手段とを有することを
特徴とする字形データ管理装置。
1. A means for storing glyph data which is data defining a shape of a character, wherein said glyph data is at least two characters to which a same character concept code as a character concept code specifying a character concept is assigned. Font data storage means for storing at least one variant character so as to be specified by a type code selectively defining the type; code input means for inputting the character concept code and the type code; And a reading means for reading, from the font data storage means, character data corresponding to the character concept code and the type code inputted in the step (a).
【請求項2】 前記文字概念コードと種類コードに対応
する字形データが前記フォントデータ記憶手段内に記憶
されているか否かを判定する字形データ存在判定手段を
備え、 前記コード入力手段が前記字形データ存在判定手段で字
形データがないと判定された場合には、入力を行わない
ものであることを特徴とする請求項1記載の字形データ
管理装置。
2. A character data existence determining means for determining whether character data corresponding to the character concept code and the type code are stored in the font data storage means, and wherein the code input means comprises the character data. 2. The character data management device according to claim 1, wherein the input is not performed when the presence determining means determines that there is no character data.
【請求項3】 前記コード入力手段で入力された文字概
念コードに対する種類コードで指示された異体字の字形
データが、前記フォントデータ記憶手段にあるか否かを
判定する異体字データ存在判定手段と、 その異体字データ判定手段で字形データがないと判定さ
れた場合に、前記文字概念コードに対応する正字、或い
は他の異体字の字形データを代用文字として前記フォン
トデータ記憶手段より読み出す代用文字読み出し手段と
を備え、 前記代用文字読み出し手段が前記異体字データ判定手段
で字形データがあると判定された場合にその字形データ
の読み出しを行うものであることを特徴する請求項1記
載の字形データ管理装置。
3. A variant character data existence determining means for determining whether or not character data of a variant character designated by a type code corresponding to the character concept code input by the code input means is present in the font data storage means. When the variant data determining unit determines that there is no character data, substitute character reading that reads from the font data storage unit the substitute character corresponding to the character concept code or character data of another variant character as a substitute character. 2. The glyph data management according to claim 1, wherein said glyph data reading means reads the glyph data when said variant character data judging means determines that there is glyph data. apparatus.
【請求項4】 前記代用文字の字形データをその字形が
代用文字であることを表したデータに変換する代用文字
変換手段を備え、 前記代用文字読み出し手段が前記代用文字変換手段で得
られたデータを出力するものであることを特徴する請求
項3記載の字形データ管理装置。
4. A substitute character converting unit for converting the character shape data of the substitute character into data representing that the character shape is a substitute character, wherein the substitute character reading unit obtains data obtained by the substitute character converting unit. 4. The character data management device according to claim 3, wherein the character data management device outputs the character data.
【請求項5】 前記請求項1乃至4に記載される字形デ
ータ管理装置を備え、キャラクタの形状を表示、或いは
印字する文字出力装置において、 前記字形データ管理装置に対して、前記文字概念コード
及び種類コードを指定するコード指定手段と、 前記字形データ管理装置で出力された字形データを表
示、或いは印字する出力手段とを備えたことを特徴とす
る文字出力装置。
5. A character output device comprising the character data management device according to claim 1 and displaying or printing the shape of a character, wherein the character concept code and the character concept code are provided to the character data management device. A character output device comprising: code designation means for designating a type code; and output means for displaying or printing the character data output by the character data management device.
【請求項6】 前記コード指定手段で指定した種類コー
ドに応じた説明を前記出力手段で出力した文字に対して
付与する異体字説明付与手段を備えたことを特徴とする
請求項5記載の文字出力装置。
6. A character according to claim 5, further comprising a variant character description giving means for giving a description corresponding to the type code designated by said code designating means to the character outputted by said output means. Output device.
JP24919493A 1993-10-05 1993-10-05 Character data management device and character output device provided with the same Expired - Fee Related JP3147613B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24919493A JP3147613B2 (en) 1993-10-05 1993-10-05 Character data management device and character output device provided with the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24919493A JP3147613B2 (en) 1993-10-05 1993-10-05 Character data management device and character output device provided with the same

Publications (2)

Publication Number Publication Date
JPH07105196A JPH07105196A (en) 1995-04-21
JP3147613B2 true JP3147613B2 (en) 2001-03-19

Family

ID=17189307

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24919493A Expired - Fee Related JP3147613B2 (en) 1993-10-05 1993-10-05 Character data management device and character output device provided with the same

Country Status (1)

Country Link
JP (1) JP3147613B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6522330B2 (en) 1997-02-17 2003-02-18 Justsystem Corporation Character processing system and method

Also Published As

Publication number Publication date
JPH07105196A (en) 1995-04-21

Similar Documents

Publication Publication Date Title
JP2003058528A (en) Character processor, character processing method and program
JP3147613B2 (en) Character data management device and character output device provided with the same
JP2006163651A (en) Display device, control method of display device, program and font data
JPH02280195A (en) Character generator
JP3309084B2 (en) How to digitize shapes
JP2001255867A (en) Character string plotting device and method capable of performing plotting character string using font data having arbitrary data structure
JP3464056B2 (en) Document information editing device
JPH07105195A (en) Font data management device and external character registration device equipped with the same
JP2005250690A (en) Information display system, information display device and identification information allocation device
JP4190487B2 (en) Display device, display device control method, program, and data structure of font data
JP4287815B2 (en) Display device, display device control method, and program
JPH11202851A (en) Character data output device
JP2674887B2 (en) Word processor
JP2940140B2 (en) Document data processing device
JP2556488B2 (en) Character processor
JP2942107B2 (en) Character code converter
JPH08241304A (en) Document processor
JPH11110372A (en) Document editing device, document editing method and storage medium
JPH08202693A (en) Character data processor
JPH08115071A (en) Character information processor
JPH11328162A (en) Device and method for character information processing and storage medium where character information processing program is recorded
JPH0830597A (en) Method and device for laying out character string
JPH07101115A (en) Printer
JPH11195013A (en) Document processor
JPH09288664A (en) Character code conversion device

Legal Events

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

Free format text: PAYMENT UNTIL: 20080112

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090112

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090112

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100112

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100112

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110112

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120112

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20120112

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20130112

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees