JPH07105196A - Character data management device and character output device including the same - Google Patents
Character data management device and character output device including the sameInfo
- Publication number
- JPH07105196A JPH07105196A JP5249194A JP24919493A JPH07105196A JP H07105196 A JPH07105196 A JP H07105196A JP 5249194 A JP5249194 A JP 5249194A JP 24919493 A JP24919493 A JP 24919493A JP H07105196 A JPH07105196 A JP H07105196A
- Authority
- JP
- Japan
- Prior art keywords
- character
- code
- data
- glyph
- concept
- 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.)
- Granted
Links
- 238000013523 data management Methods 0.000 title claims abstract description 31
- 238000013500 data storage Methods 0.000 claims description 15
- 230000015654 memory Effects 0.000 abstract description 20
- 238000000034 method Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 4
- 230000003936 working memory Effects 0.000 description 4
- 238000006467 substitution reaction Methods 0.000 description 2
- 101100027969 Caenorhabditis elegans old-1 gene Proteins 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000002194 synthesizing effect Effects 0.000 description 1
Landscapes
- Document Processing Apparatus (AREA)
Abstract
(57)【要約】
【目的】 異機種間のデータ交換における障害を軽減さ
せる手段を備えた字形データ管理装置及びそれを備える
文字出力装置を提供すること。
【構成】 本字形データ管理装置におけるキャラクタメ
モリ16は、キャラクタの形状を規定する字形データ
を、文字概念を指定する文字概念コードと、同一の文字
概念コードが割り当てられた少なくとも2つ以上の異体
字をその種類で選択的に規定する種類コードとにより指
定可能なように記憶し、入力手段18は、文字概念コー
ドと種類コードを入力し、読み出し手段は、入力手段1
8で入力した文字概念コードと種類コードに対応した字
形データをキャラクタメモリ16より読み出す。また、
本文字出力装置におけるコード指定手段は、字形データ
管理装置に対して文字概念コード及び種類コードを指定
し、出力手段は字形データ管理装置で出力された字形デ
ータを表示、或いは印字する。
(57) [Abstract] [Purpose] To provide a character shape data management device having means for reducing obstacles in data exchange between different models and a character output device having the same. A character memory 16 in the present character shape data management device stores character shape data defining a character shape, a character concept code designating a character concept, and at least two or more variant characters to which the same character concept code is assigned. Is stored so that it can be designated by a type code selectively defined by the type, the input means 18 inputs the character concept code and the type code, and the reading means is the input means 1.
The character shape data corresponding to the character concept code and the type code input in 8 are read from the character memory 16. Also,
The code designating means in the character output device designates the character concept code and the type code to the character shape data management device, and the output means displays or prints the character shape data outputted by the character shape data management device.
Description
【0001】[0001]
【産業上の利用分野】本発明は、一般に日本語の漢字を
取り扱い、特に異体字漢字を取り扱うことが可能な字形
データ管理装置及びそれを備える文字出力装置に関す
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention generally relates to Japanese kanji, and more particularly to a glyph data management device capable of handling variant kanji 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, a unique code is assigned to each font due to the spread of digital computers, and data can be exchanged between different models by referring to the code. It was being appreciated. And for such a code system, JIS
A JIS code kanji table based on a code system commonly known as a code is widely used. This JIS code kanji table, like the common kanji table, is arranged based on the social conventions of the times, and has been revised several times to date.
【0003】字体は時代とともに変遷を繰り返してお
り、古来中国より伝来した字体の中には、現在では人名
や地名などの固有名称にのみ使用され、それ以外の通常
文章の場合には変化した字体が使われる、いわゆる新、
旧字体と呼ばれ区別される字体が数多く存在する。ま
た、字体の区別をするのに、正字、略字、俗字と呼称さ
れる場合もあり、それらを混同して使用する場合もある
ようであるが、用語の定義を明確にしようとすると漢字
の文化論的要素が強くなり本論の主旨を大きく逸脱する
ため、各用語は社会的通念に基づく定義とする。The typeface has been changing over time, and among the typefaces that have been introduced from China since ancient times, it is now used only for proper names such as personal names and place names, and in the case of other ordinary sentences, the typeface has changed. Is used, so-called new,
There are many distinctive fonts that are called old fonts. In addition, in distinguishing the fonts, they are sometimes called regular characters, abbreviations, and slang characters, and it seems that they may be confused and used, but when trying to clarify the definition of terms, the culture of kanji Since the theoretical element becomes stronger and deviates from the main point of this paper, each term is defined based on social convention.
【0004】さて、上述のJISコード漢字表である
が、字体の中には旧JISコード漢字表と新JISコー
ド漢字表の何れか一方にしか含まれないものがある。た
とえば、図6(a)、(b)、(c)で示した文字など
がその例であるが、これらはJIS 規格においては同
値として取り扱われ、同一のJISコードが割り振られ
ることになっている。また人名については、戸籍業務の
コンピュータ化により、「平成2年10月20日 法務
省民二第5200号 民事局長通達」により訂正されな
い俗字、略字が示されている。たとえば、図7に示した
ような場合である。これらの字体の多くはJISコード
漢字表に含まれていない。In the JIS code Chinese character table described above, some fonts are included in only one of the old JIS code Chinese character table and the new JIS code Chinese character table. For example, the characters shown in FIGS. 6A, 6B, and 6C are examples, but these are treated as the same value in the JIS standard, and the same JIS code is assigned. . Regarding personal names, slang and abbreviations that are not corrected by "Ministry of Justice Citizen No. 5200 No. 5200 Civil Affairs Bureau Notification October 20, 1990" due to computerization of family register work are shown. For example, this is the case as shown in FIG. Many of these fonts are not included in the JIS code kanji table.
【0005】ところで、通常の文章においては、文字の
使用は使用者の文化的背景に基づいて使用されるべきも
のであり、選択の余地のある場合、それぞれの好みで使
用されることとなる。しかし、地名や人名においては、
公文書の要素が強くなればなるほど定義された字体その
ものが使用されなくてはならない。By the way, in ordinary sentences, the use of characters should be based on the cultural background of the user, and if there is a choice, it will be used according to each preference. However, in place name and person name,
The stronger the elements of the official document, the more the defined font itself must be used.
【0006】従って、従来、図6に示すような1つの漢
字に対して複数の異体字が存在する場合には、一方の字
体にJISコード表内のコードを割り振り、他方の字体
にいわゆる外字領域のコードを割り振ることが行われて
いた。Therefore, conventionally, when there are a plurality of variants for one Chinese character as shown in FIG. 6, one of the characters is assigned a code in the JIS code table, and the other character has a so-called external character area. The code was allocated.
【0007】[0007]
【発明が解決しようとする課題】しかしながら、上述し
たような従来の日本語の漢字を取り扱うシステムにおい
ては、外字領域のコードの割り振り方について特に規定
がなく、システムの製造当事者の自由裁量に任されてい
るため、異機種間において同一コードに対して異なる字
体が割り振られたり、あるいは字体が定義されていなか
ったりすることがあり、データ交換において障害となっ
ていた。However, in the above-described conventional system for handling Japanese kanji, there is no particular regulation on how to allocate codes in the external character area, and it is left to the discretion of the person who manufactures the system. Therefore, different fonts may be assigned to the same code between different models, or the font may not be defined, which is an obstacle to data exchange.
【0008】本発明は、上述した問題点を鑑みてなされ
たものであり、異機種間のデータ交換における障害を軽
減させる手段を備えた字形データ管理装置及びそれを備
える文字出力装置を提供することを目的としている。The present invention has been made in view of the above-mentioned problems, and provides a character shape data management device having means for reducing a trouble in data exchange between different models and a character output device having the character shape data management device. It is an object.
【0009】[0009]
【課題を解決するための手段】この目的を達成するため
に本発明の字形データ管理装置は、キャラクタの形状を
規定するデータである字形データを記憶する手段であっ
て、前記字形データを、文字概念を指定する文字概念コ
ードと、同一の文字概念コードが割り当てられた少なく
とも2つ以上の異体字をその種類で選択的に規定する種
類コードとにより指定可能なように記憶するフォントデ
ータ記憶手段と、前記文字概念コードと前記種類コード
を入力するコード入力手段と、そのコード入力手段で入
力した前記文字概念コードと前記種類コードに対応する
字形データを前記フォントデータ記憶手段より読み出す
読み出し手段とを有している。In order to achieve this object, a glyph data management apparatus of the present invention is a means for storing glyph data which is data defining the shape of a character. A font data storage means for storing a character concept code designating a concept and a type code selectively defining at least two variant characters to which the same character concept code is assigned by the type; A code input means for inputting the character concept code and the type code, and a reading means for reading the glyph data corresponding to the character concept code and the type code input by the code input means from the font data storage means. is doing.
【0010】また、前記字形データ管理装置が、前記文
字概念コードと種類コードに対応する字形データが前記
フォントデータ記憶手段内に記憶されているか否かを判
定する字形データ存在判定手段更に備え、前記コード入
力手段が前記字形データ存在判定手段で字形データがな
いと判定された場合には、入力を行わないものであって
もよい。The glyph data management device further comprises glyph data existence determining means for determining whether or not glyph data corresponding to the character concept code and the type code is stored in the font data storage means. When the code input means determines that there is no character shape data by the character shape data existence determining means, no input may be made.
【0011】或いは、前記字形データ管理装置が、前記
コード入力手段で入力された文字概念コードに対する種
類コードで指示された異体字の字形データが、前記フォ
ントデータ記憶手段にあるか否かを判定する異体字デー
タ存在判定手段と、その異体字データ判定手段で字形デ
ータがないと判定された場合に、前記文字概念コードに
対応する正字、或いは他の異体字の字形データを代用文
字として前記フォントデータ記憶手段より読み出す代用
文字読み出し手段とを更に備え、前記代用文字読み出し
手段が前記異体字データ判定手段で字形データがあると
判定された場合にその字形データの読み出しを行うもの
であってもよい。Alternatively, the glyph data management device determines whether or not the glyph data of the variant character designated by the type code corresponding to the character concept code input by the code input means is in the font data storage means. If there is no glyph data by the glyph data existence determining means and the glyph data determining means, the font data using the glyph data of the normal character or another glyph corresponding to the character concept code as a substitute character. The substitute character reading means for reading from the storage means may be further provided, and when the substitute character reading means determines that there is glyph data by the variant character data judging means, the glyph data may be read.
【0012】更には、前記代用文字の字形データをその
字形が代用文字であることを表したデータに変換する代
用文字変換手段を備え、前記代用文字読み出し手段が前
記代用文字変換手段で得られたデータを出力するもので
あってもよい。Further, a substitute character converting means for converting the glyph data of the substitute character into data representing that the glyph is a substitute character is provided, 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 configuration of the character shape data management device, and code specifying means for specifying the character concept code and the type code to the character shape data management device, An output unit is provided for displaying or printing the character shape data output by the character shape data management device.
【0014】また、前記文字出力装置が前記コード指定
手段で指定した種類コードに応じた説明を前記出力手段
で出力した文字に対して付与する異体字説明付与手段を
備えていてもよい。Further, the character output device may be provided with variant character explanation giving means for giving the explanation according to the type code designated by the code designation means to the character outputted by the output means.
【0015】[0015]
【作用】上記の構成を有する本発明の字形データ管理装
置におけるフォントデータ記憶手段は、キャラクタの形
状を規定するデータである字形データを記憶する手段で
あって、前記字形データを、文字概念を指定する文字概
念コードと、同一の文字概念コードが割り当てられた少
なくとも2つ以上の異体字をその種類で選択的に規定す
る種類コードとにより指定可能なように記憶し、コード
入力手段は、前記文字概念コードと種類コードを入力
し、読み出し手段は、前記コード入力手段で入力した文
字概念コードと種類コードに対応した字形データを前記
フォントデータ記憶手段より読み出す。The font data storage means in the character shape data management device of the present invention having the above structure is means for storing character shape data which is data defining the shape of a character, and the character shape data is designated by a character concept. The character input code is stored so that it can be designated by a character concept code and a type code selectively defining at least two variant characters to which the same character concept code is assigned. 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 shape data existence determining means determines whether character shape data corresponding to the character concept code and the type code is stored in the font data storage means, and the code input means determines the character shape data. If the presence determining means determines that there is no glyph data, no input is made.
【0017】更には、異体字データ存在判定手段は、前
記コード入力手段で入力された文字概念コードに対する
種類コードで指示された異体字の字形データが、前記フ
ォントデータ記憶手段にあるか否かを判定し、代用文字
読み出し手段は、前記異体字データ判定手段で字形デー
タがないと判定された場合には、前記文字概念コードに
対応する正字、或いは他の異体字の字形データを代用文
字として前記フォントデータ記憶手段より読み出し、前
記異体字データ判定手段で字形データがあると判定され
た場合にはその字形データの読み出しを行う。Further, the variant character data existence determining means determines whether or not the character shape data of the variant character designated by the type code corresponding to the character concept code input by the code input means is in the font data storage means. If it is determined that the variant character data determining unit determines that there is no character shape data, the substitute character reading unit uses the normal character corresponding to the character concept code or the character form data of another variant character as the substitute character. When the glyph data is read from the font data storage means and the glyph data is determined by the glyph data determination means, the glyph data is read.
【0018】また、代用文字変換手段は、前記代用文字
の字形データをその字形が代用文字であることを表した
データに変換し、前記代用文字読み出し手段は前記代用
文字変換手段で得られたデータを出力する。Further, the substitute character converting means converts the glyph data of the substitute character into data representing that the glyph is a substitute character, and the substitute character reading means obtains the data obtained by the substitute character converting means. Is output.
【0019】次に、本発明の文字出力装置におけるコー
ド指定手段は、前記字形データ管理装置に対して、前記
文字概念コード及び種類コードを指定し、出力手段は前
記字形データ管理装置で出力された字形データを表示、
或いは印字する。Next, the code designating means in the character output device of the present invention designates the character concept code and the type code to the character shape data management device, and the output means outputs the character shape data management device. Display glyph data,
Or print it.
【0020】また異体字説明付与手段は、前記文字出力
装置が前記コード指定手段で指定した種類コードに応じ
た説明を前記出力手段で出力した文字に対して付与す
る。The variant character explanation imparting means imparts an explanation according to the type code designated by the character designating means by the character output device to the character output by the output means.
【0021】[0021]
【実施例】以下、本発明を具体化した一実施例を図面を
参照して説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An 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 shape data management device of the present invention is preferably applied to a Japanese document creation device.
FIG. 3 is a block diagram mainly showing a portion of a glyph data management device in the control circuit of the Japanese document creation device of this embodiment.
【0023】この制御回路の主体を成すマイクロコンピ
ュータ部10は、CPU12、プログラムメモリ13、
ワーキングメモリ14、コードメモリ15及びキャラク
タメモリ16を備えている。そして、これらCPU12
等は、バス17により接続されており、バス17には入
力部18及び出力部19が接続されている。The microcomputer unit 10, which is the main body of this 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 CPU12
Etc. 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, the outline of the configuration of each of the above parts will be described.
The CPU 12 performs processing for implementing 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 glyph data of the present embodiment. is there. Further, the working memory 14 temporarily stores data necessary for executing the program, and the code memory 15 stores information associating the character code for instructing the character shape with the character shape data. The details will be described later. Character memory 1
Reference numeral 6 stores character shape data.
【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 glyph code of the present embodiment is a new character type code that indicates the character concept, with new types of JIS punctuation point code and variants.
It consists of the type code part shown in old. For example, in FIG.
The characters shown in (b) are originally the same characters, but the new JIS
The character shape of (a) is defined by and the character shape of (b) is defined by the old JIS. Therefore, these are the same JIS ward code 2
710 characters. When these character shape data are stored together, since the types (a) and (b) cannot be classified only by the character concept code, information for distinguishing new characters / old characters is added. This is the type code. That is, since (a) is a new character, glyph code 2710-new, and (b) is an old character, glyph code 2710-old. Code memory 1
Reference numeral 5 stores such a glyph code and the address of the glyph data of the glyph indicated by the glyph code in the character memory 16 in association with each other.
【0026】尚、この種類データは新/旧のみでなく、
例えば、正字/略字/俗字等の種類を示すデータでも、
単に異体字であることを示すデータでも、又、各々の場
合が複数ある場合は旧−1、旧−2等の同一種の中の識
別情報を加えたデータであっても良いが、本実施例では
説明を容易にするために新/旧のみの種別データで説明
する。又、特に種類データが指定されなかった場合はデ
フォルトとして新が指定されたものとして扱う。Incidentally, this kind of data is not only new / old,
For example, even data showing the type of regular / abbreviated / slang,
This may be data that simply indicates a variant, or data that includes identification information of the same type such as old-1, old-2, etc. if there are multiple cases in each case. In the example, only the new / old type data will be described for ease of explanation. If no kind data is specified, new is specified as the default.
【0027】更に、入力部18および出力部19はマイ
クロコンピュータ部10にデータを入出力するものであ
り、入力部18からはJIS区点コードと種類コードを
入力し、出力部19には読み出した字形データを出力す
るようになっている。Further, the input section 18 and the output section 19 are for inputting / outputting data to / from the microcomputer section 10. The JIS division code and the type code are inputted from the input section 18 and read out to the output section 19. It is designed to output glyph data.
【0028】以下に本実施例の字形データ管理装置が行
う処理について詳細に説明する。The processing performed by the character shape data management device of this embodiment will be described in detail below.
【0029】先ず、字形の読み出し処理について図3に
示すフローチャートを用いて、以下に説明すると、始め
に、S31で入力されたJIS区点コードと種類コード
を字形コードに変換する。例えば、JIS区点コードが
2710で種類コードが「旧」と入力された場合は、こ
こで2710−旧と変換される。尚、種類コードが入力
されなかった場合には、デフォルトである「新」が入力
されたとして扱う。次に、S32でその字形コードの登
録があるか否かをコードメモリ15を参照して判定す
る。ここで、ない(NO)と判定された場合はS33、
S34を実行してS35に移行し、ある(YES)と判
定された場合は、S35に移行する。First, the glyph reading process will be described below with reference to the flowchart shown in FIG. 3. First, the JIS division point code and the type code input in S31 are converted into glyph codes. For example, when 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 as if the default "new" is input. Next, in S32, it is determined whether or not the glyph code is registered by referring to the code memory 15. Here, if it is determined that there is no (NO), S33,
When S34 is executed and the process proceeds to S35, and it is determined that there is (YES), the process proceeds to S35.
【0030】S32でNOとなった場合は以下の処理を
実行する。先ず、S33で代用文字の字形コードを作成
する。本実施例では代用文字として、指定された文字概
念コードであるJISコードと種類コードのデフォルト
である「新」で指示される字形データに変換する。従っ
て、ここで2710−旧は2710−新と変換される。
又、字形が入力部から指定されたキャラクタのものでは
ないことを示すため、デフォルトの字形コードに対応す
る字形データにある形状を合成した形状を出力する。本
実施例では文字全体を囲む四角い形状を出力する。S3
4ではこの合成する形状をキャラクタメモリ16から読
み出してワーキングメモリ14内の図示しない字形バッ
ファに格納する。If NO in S32, the following process is executed. First, in S33, a glyph code of a substitute character is created. In the present embodiment, the substitute character is converted into the glyph data designated by the JIS code which is the designated character concept code and "new" which is the default of the type code. Therefore, here 2710-old is converted to 2710-new.
Further, in order to show that the glyph does not belong to the character designated by the input unit, a shape obtained by combining the shapes in the glyph data corresponding to the default glyph code is output. In this embodiment, a square shape that surrounds the entire character is output. S3
In 4, the synthesized 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 glyph data is read from the address of the glyph data corresponding to the specified glyph code and stored in a glyph buffer (not shown) in the working memory 14. If there is a shape stored in the glyph buffer in S34, it is combined with the shape and stored. For example, when the character as shown in FIG. 2A is registered as the character shape data and the character shape code is registered as 2710-new, but the old character corresponding thereto is not registered, the shape of FIG. 2C is created. ,Output.
【0032】以上のような処理で、字形データの読み出
しは行われるが、字形コードに対応するキャラクタの字
形データがない場合、すなわち、S32でNOの場合
は、字形データを出力しないことにすることも可能であ
るし、又、特に入力された字形コードに対応する字形デ
ータではないことを示す形状を合成しないで、その字形
データに対するデフォルトの字形コードに対応した字形
データを出力することも可能である。更には、種類コー
ドが旧字の他に多数定義されている場合には、その種別
に応じて、合成する形状をかえることも可能である。例
えば、種別コードが正字/略字/俗字で定義してある場
合、略字の登録がない場合には四角を合成し、俗字の登
録がない場合には丸い形状を合成したりすることも可能
である。又、S32の判定を行わずに、S31、S35
の処理のみの構成にもできる。Although the glyph data is read by the above-described processing, if there is no glyph data of the character corresponding to the glyph code, that is, if NO in S32, the glyph data is not output. It is also possible to output the glyph data corresponding to the default glyph code for that glyph data without synthesizing the shape that indicates that it is not the glyph data corresponding to the input glyph code. is there. Furthermore, 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 by regular characters / abbreviated characters / slang characters, it is possible to synthesize a square if there is no registered abbreviation, and to synthesize a round shape if there is no registered slang character. . Further, without performing the determination of S32, S31, S35
It is also possible to configure only the processing of.
【0033】以下に本実施例の字形データ管理装置のク
ライアント部となる文字表示/印字部について説明す
る。The character display / printing unit serving as the client unit of the character shape data management apparatus of this embodiment will be described below.
【0034】この文字表示/印字部は、S41で1文字
のキャラクタコードとその文字に異体字の説明を加える
か否かを示す情報を読み出す。次にS42でそのキャラ
クタコードをJIS区点コードに変換し、新/旧の指示
のあるキャラクタにはその種別を、又、指示のないキャ
ラクタには種別としてデフォルトの新を種別データとし
て求める。次にS43で字形データ管理装置の入力部1
8にわたして、字形データを読み出して出力部19より
得る。次にS44でS43で読み出した字形データを表
示部/印字部にわたして出力する。又、S45でS41
で入力した文字に異体字の説明を加えるか否かの情報を
判定し、説明を加える場合は、S46で、指定された種
別コードが「旧」の場合には「旧字」であることを示す
説明を、例えば、出力した字形に下線を付したり、「こ
の文字は旧字です。」というメッセージを出力する等し
て行うために表示部/印字部に情報をわたして出力す
る。この処理は文字/表示部が仮名漢字変換等から文字
の出力要求を受けた場合や、文書作成装置に漢字の属性
等を調べる機能があった場合等に有効である。これらの
処理をS47で終了と判断されるまで行う。In step S41, the character display / printing section reads out the character code of one character and the information indicating whether or not the description of the variant character is added to the character code. Next, in step S42, the character code is converted into a JIS division code, and the type is obtained for characters with new / old instructions, and the default new is used as type data for characters without instructions. Next, in S43, the input unit 1 of the character shape data management device.
8, the character shape data is read and obtained from the output unit 19. Next, in step S44, the character shape data read in step S43 is sent to the display unit / printing unit and output. In addition, in S45, S41
It is determined whether or not the description of the variant character is added to the character input in step S4, and if the description is added, in S46, if the specified type code is "old", it is "old character". In order to perform the explanation given, for example, by underlining the output character shape or by outputting a message such as "This character is an old character.", The information is output to the display unit / printing unit. This processing is effective when the character / display unit receives a character output request from kana-kanji conversion or the like, or when the document creation apparatus has a function of checking the attributes of kanji. These processes are repeated until it is determined in S47 that the process is completed.
【0035】又、S43の読み出し処理の前に予め読み
出そうとした文字がキャラクタメモリ16にあるか否か
を判定する構成に変更することもできる。すなわち、S
43とS44の間に図5に示すようなS51を設け、S
51でコードメモリ15を参照して指定された字形コー
ドが登録されているかを調べ、あればYES、なければ
NOとなる。YESの場合はS44以降を実施し、NO
であれば、(1)に移行する。It is also possible to change to a configuration for determining whether or not the character to be read in advance exists in the character memory 16 before the reading process of S43. That is, S
Between S43 and S44, S51 as shown in FIG.
At 51, it is checked with reference to the code memory 15 whether or not the designated glyph code is registered. If YES, S44 and subsequent steps are executed, and NO
If so, the process proceeds to (1).
【0036】本実施例は、日本語文書作成装置を例に挙
げて説明したが、漢字の字形を出力する装置であればど
のようなものにも応用可能である。Although the present embodiment has been described by taking the Japanese document creation device as an example, it can be applied to any device that outputs the kanji character shape.
【0037】又、本実施例ではキャラクタメモリ16と
コードメモリ15を別々の構成の例を示したが、これに
限らず、同一メモリ内に置くこともできる。In the present embodiment, the character memory 16 and the code memory 15 are shown as separate structures, but the present invention is not limited to this, and they may be arranged in the same memory.
【0038】又、本実施例ではフォントデータの形式に
ついては、特に説明していないが、ビットマップフォン
トであろうとアウトラインフォントであろうと、又、そ
の他の形式であろうとどの様な形式であっても良い。Although the font data format is not particularly described in the present embodiment, it may be any format such as 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 spirit of the present invention.
【0040】[0040]
【発明の効果】以上説明したことから明かなように、本
発明の字形データ管理装置及びそれを備える文字出力装
置によれば、既存の字形コードの体系を崩すことなく異
体字の字形データを管理でき、異機種間のデータ交換に
おける障害を軽減させたフォントデータ群を用いて文字
の表示、或いは印字を行うことが可能となる。As is apparent from the above description, according to the glyph data management device and the character output device having the same of the present invention, glyph data of different characters can be managed without breaking the existing glyph code system. Therefore, it is possible to display or print characters using a font data group in which obstacles in data exchange between different models are reduced.
【図1】本発明の字形データ管理装置の構成を具体化し
た一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment embodying a configuration of a character shape data management device of the present invention.
【図2】異体字の出力例を示す図である。FIG. 2 is a diagram showing an output example of variant characters.
【図3】本実施例の字形データ読み出し処理を表すフロ
ーチャートである。FIG. 3 is a flowchart showing a glyph data reading process of the present embodiment.
【図4】本実施例の文字表示/印字処理を表すフローチ
ャートである。FIG. 4 is a flowchart showing a character display / printing process of this embodiment.
【図5】本実施例の文字表示/印字処理に付加される応
用部分のフローチャートである。FIG. 5 is a flowchart of an application part added to the character display / printing process of the present embodiment.
【図6】異体字の例を示す図である。FIG. 6 is a diagram showing an example of variant characters.
【図7】異体字の例を示す図である。FIG. 7 is a diagram showing an example of variant characters.
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 Existence Determining Means S32 Variant data existence determination means S33 Substitute character glyph code creation processing (substitution character reading means) S34 Synthetic shape reading processing (substitution character conversion means) S41 Code reading processing (code designation means) S42 Code conversion processing (code designation means) S44 Display / Print processing (output means) S46 Explanation output processing (variant character explanation giving means)
Claims (6)
る字形データを記憶する手段であって、前記字形データ
を、文字概念を指定する文字概念コードと、同一の文字
概念コードが割り当てられた少なくとも2つ以上の異体
字をその種類で選択的に規定する種類コードとにより指
定可能なように記憶するフォントデータ記憶手段と前記
文字概念コードと前記種類コードを入力するコード入力
手段と、 そのコード入力手段で入力した前記文字概念コードと前
記種類コードに対応する字形データを前記フォントデー
タ記憶手段より読み出す読み出し手段とを有することを
特徴とする字形データ管理装置。1. A means for storing glyph data which is data defining a shape of a character, wherein the glyph data is assigned at least two character concept codes designating a character concept and the same character concept code. Font data storage means for storing one or more variant characters so that they can be designated by a type code selectively defining the type, code input means for inputting the character concept code and the type code, and the code input means 2. A glyph data management apparatus comprising: a reading unit that reads the glyph data corresponding to the character concept code and the type code input in 1. from the font data storage unit.
する字形データが前記フォントデータ記憶手段内に記憶
されているか否かを判定する字形データ存在判定手段を
備え、 前記コード入力手段が前記字形データ存在判定手段で字
形データがないと判定された場合には、入力を行わない
ものであることを特徴とする請求項1記載の字形データ
管理装置。2. A glyph data existence determining unit that determines whether or not glyph data corresponding to the character concept code and the type code is stored in the font data storage unit, and the code input unit has the glyph data. 2. The glyph data management device according to claim 1, wherein when the presence judging means judges that there is no glyph data, no input is made.
念コードに対する種類コードで指示された異体字の字形
データが、前記フォントデータ記憶手段にあるか否かを
判定する異体字データ存在判定手段と、 その異体字データ判定手段で字形データがないと判定さ
れた場合に、前記文字概念コードに対応する正字、或い
は他の異体字の字形データを代用文字として前記フォン
トデータ記憶手段より読み出す代用文字読み出し手段と
を備え、 前記代用文字読み出し手段が前記異体字データ判定手段
で字形データがあると判定された場合にその字形データ
の読み出しを行うものであることを特徴する請求項1記
載の字形データ管理装置。3. Glyph data existence determining means for determining whether or not the glyph data of the glyph designated by the type code corresponding to the character concept code input by the code inputting means exists in the font data storing means. If the variant data determination means determines that there is no glyph data, the normal character corresponding to the character concept code or glyph data of another variant is read from the font data storage means as a substitute character, and the substitute character reading is performed. The glyph data management according to claim 1, further comprising: means for reading the glyph data when the substitute character reading means determines that the glyph data is present by the glyph data determining means. apparatus.
代用文字であることを表したデータに変換する代用文字
変換手段を備え、 前記代用文字読み出し手段が前記代用文字変換手段で得
られたデータを出力するものであることを特徴する請求
項3記載の字形データ管理装置。4. The substitute character converting means for converting the glyph data of the substitute character into data representing that the glyph is a substitute character, wherein the substitute character reading means is data obtained by the substitute character converting means. The character shape data management device according to claim 3, wherein
ータ管理装置を備え、キャラクタの形状を表示、或いは
印字する文字出力装置において、 前記字形データ管理装置に対して、前記文字概念コード
及び種類コードを指定するコード指定手段と、 前記字形データ管理装置で出力された字形データを表
示、或いは印字する出力手段とを備えたことを特徴とす
る文字出力装置。5. A character output device comprising the character shape data management device according to claim 1 for displaying or printing the shape of a character, wherein the character concept code and the character concept code are supplied to the character shape data management device. A character output device comprising: a code designating device for designating a type code; and an output device for displaying or printing the character shape data output by the character shape data management device.
ドに応じた説明を前記出力手段で出力した文字に対して
付与する異体字説明付与手段を備えたことを特徴とする
請求項5記載の文字出力装置。6. The character according to claim 5, further comprising variant description giving means for giving a description according to the type code designated by said code designating means to the character outputted by said output means. Output device.
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 true JPH07105196A (en) | 1995-04-21 |
| JP3147613B2 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) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6522330B2 (en) | 1997-02-17 | 2003-02-18 | Justsystem Corporation | Character processing system and method |
-
1993
- 1993-10-05 JP JP24919493A patent/JP3147613B2/en not_active Expired - Fee Related
Cited By (1)
| 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 |
|---|---|
| JP3147613B2 (en) | 2001-03-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3147613B2 (en) | Character data management device and character output device provided with the same | |
| JP2584973B2 (en) | Recognition result output method in character recognition device | |
| JP2845380B2 (en) | Printing apparatus and control method thereof | |
| JPH09223181A (en) | Ruled line preparing device, matrix data recognizing device and character recognizing device provided with these devices | |
| JPH02280195A (en) | Character processing device and method | |
| JP2644778B2 (en) | Character generator | |
| JPH0746352B2 (en) | Font conversion method | |
| JPH07105195A (en) | Character data management device and external character registration device including the same | |
| JP3464056B2 (en) | Document information editing device | |
| JPS5827232A (en) | Printer | |
| JP2942107B2 (en) | Character code converter | |
| JP3525714B2 (en) | Character data output device and computer readable recording medium recording character data output program | |
| JPS60109888A (en) | Character processor | |
| JPH08241304A (en) | Document processing device | |
| JPH07105205A (en) | Data converter | |
| JP2903516B2 (en) | Document processing device | |
| KR20050005550A (en) | Display device, display method, display program, and recording medium containing the display program | |
| JP4080218B2 (en) | Image forming apparatus | |
| JPH07295541A (en) | Document creation device | |
| JPH11110372A (en) | Document editing apparatus, document editing method, and recording medium | |
| JP2556488B2 (en) | Character processor | |
| JP3220437B2 (en) | Output control device and method | |
| JPH08115313A (en) | Character shape output device | |
| JPH07101114A (en) | Printer device | |
| JPH09114439A (en) | Information output 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 |