JP2547704Y2 - Data processing device - Google Patents

Data processing device

Info

Publication number
JP2547704Y2
JP2547704Y2 JP1990077512U JP7751290U JP2547704Y2 JP 2547704 Y2 JP2547704 Y2 JP 2547704Y2 JP 1990077512 U JP1990077512 U JP 1990077512U JP 7751290 U JP7751290 U JP 7751290U JP 2547704 Y2 JP2547704 Y2 JP 2547704Y2
Authority
JP
Japan
Prior art keywords
character
width
full
pattern
characters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP1990077512U
Other languages
Japanese (ja)
Other versions
JPH0436642U (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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP1990077512U priority Critical patent/JP2547704Y2/en
Publication of JPH0436642U publication Critical patent/JPH0436642U/ja
Application granted granted Critical
Publication of JP2547704Y2 publication Critical patent/JP2547704Y2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【考案の詳細な説明】 〔産業上の利用分野〕 本考案は、ワードプロセッサやデスクトップパブリッ
シング等のデータ処理装置に関し、特に、全角文字と半
角文字の2つのサイズの文字情報を処理可能なデータ処
理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a data processing device such as a word processor or a desktop publishing, and more particularly, to a data processing device capable of processing character information of two sizes of full-width characters and half-width characters. About.

〔従来の技術〕[Conventional technology]

一般に、ワードプロセッサ等では、所定の文字につい
て全角文字と半角文字の2つのサイズの文字情報を取扱
うことができるよう、2つのサイズの文字情報を保持し
ている。
Generally, a word processor or the like holds character information of two sizes so that two sizes of character information of a predetermined character, that is, a full-width character and a half-width character, can be handled.

ところで、全角文字と半角文字の2つのサイズの文字
情報をもつ文字としては、第8図(a),(b),また
は第9図(a),(b),または第10図(a),
(b),または第11図(a),(b)に示すように、半
角文字の形状(第8図(b),第9図(b),第10図
(b),第11図(b))が全角文字の形状(第8図
(a),第9図(a),第10図(a),第11図(a))
とほぼ同じである所謂共用可能文字があるが、従来のデ
ータ処理装置では、このような共用可能文字についても
他の文字と同様に、全角文字と半角文字の2つのサイズ
の文字情報をそれぞれ別個のものとして保持していた。
FIGS. 8 (a) and (b), or FIGS. 9 (a) and (b), or FIGS. 10 (a) and 10 (a) are characters having character information of two sizes, full-width characters and half-width characters. ,
(B), or as shown in FIGS. 11 (a) and (b), the shape of the half-width character (FIGS. 8 (b), 9 (b), 10 (b), 11 ( b)) is the shape of a full-width character (FIGS. 8 (a), 9 (a), 10 (a), 11 (a)).
Although there is a so-called sharable character which is almost the same as that of the conventional data processing apparatus, character information of two sizes of a full-width character and a half-width character is separately separated for such a sharable character similarly to other characters. Was held as things.

〔考案が解決しようとする課題〕[Problems to be solved by the invention]

このように従来のデータ処理装置では、共用可能文字
についても全角文字と半角文字の2つのサイズの文字情
報をそれぞれ別個のものとして保持していたので、文字
情報の保持量が多いという欠点があった。また、全角文
字と半角文字とでフォントパタンが食違うなどの場合が
生じるという欠点があった。
As described above, in the conventional data processing apparatus, the sharable characters also store character information of two sizes, that is, full-width characters and half-width characters, respectively, so that there is a disadvantage that the amount of stored character information is large. Was. In addition, there is a disadvantage that the font pattern may be different between full-width characters and half-width characters.

本考案は、従来に比べて文字情報(文字パターンデー
タ)の保持量を減少させることができ、また全角文字の
フォントパターンと半角文字のフォントパターンとの食
違いを防止することの可能なデータ処理装置を提供する
ことを目的としていた。
The present invention can reduce the amount of retained character information (character pattern data) as compared with the related art, and can prevent a difference between a full-width character font pattern and a half-width character font pattern. It was intended to provide a device.

〔課題を解決するための手段〕[Means for solving the problem]

上記目的を達成するために本考案は、全角文字と半角
文字との2つのサイズの文字パターンを処理可能なデー
タ処理装置であって、所定の全角文字の文字パターンの
一部に、該全角文字に対応する半角文字の文字パターン
が含まれている場合に、該半角文字の文字パターンの処
理を該半角文字に対応する前記所定の全角文字の文字パ
ターンを共用して行なうことが可能に構成されており、
文字として全角文字または半角文字を入力可能な入力手
段と、入力手段から半角文字が入力されたとき、入力さ
れた半角文字の文字パターンが、該半角文字に対応する
全角文字の文字パターンを共用可能であるかを判定する
判定手段と、入力された半角文字の文字パターンが該半
角文字に対応する全角文字の文字パターンを共用可能で
あると判定されたときには、該全角文字の文字パターン
から該全角文字の文字パターンに含まれている半角文字
の文字パターンを抽出して出力する出力手段とを備えて
いることを特徴としている。
In order to achieve the above object, the present invention is a data processing apparatus capable of processing a character pattern of two sizes, a full-width character and a half-width character, wherein a part of a predetermined full-width character character pattern includes the full-width character. When a character pattern of a half-width character corresponding to is included, the processing of the character pattern of the half-width character can be performed by sharing the character pattern of the predetermined full-width character corresponding to the half-width character. And
Input means capable of entering full-width or half-width characters as characters, and when a half-width character is input from the input means, the character pattern of the input half-width character can share the character pattern of the full-width character corresponding to the half-width character Determination means for determining whether the input half-width character pattern can share the full-width character character pattern corresponding to the half-width character. Output means for extracting and outputting a half-width character pattern included in the character pattern of the character.

〔作用〕[Action]

上記のような構成のデータ処理装置では、入力手段か
ら半角文字が入力されたとき、入力された半角文字の文
字パターンが、該半角文字に対応する全角文字の文字パ
ターンを共用可能であるかを判定し、入力された半角文
字の文字パターンが該半角文字に対応する全角文字の文
字パターンを共用可能であると判定されたときには、該
全角文字の文字パターンから該全角文字の文字パターン
に含まれている半角文字の文字パターンを抽出して出力
する。
In the data processing device having the above configuration, when a half-width character is input from the input unit, it is determined whether the input half-width character pattern can share the full-width character pattern corresponding to the half-width character. When it is determined that the input half-width character character pattern can share the full-width character character pattern corresponding to the half-width character, the character pattern of the full-width character is included in the full-width character character pattern. The character pattern of the half-width character is extracted and output.

〔実施例〕〔Example〕

以下、本考案の一実施例を図面に基づいて説明する。 Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

第1図は本考案に係るデータ処理装置の一実施例の構
成図である。第1図を参照すると、本実施例のデータ処
理装置は、プロセッサ1と、仮名漢字変換,文書編集な
どのプログラムや、入力データ,編集データ等が記憶さ
れるメモリ2と、仮名入力,ローマ字入力等が可能なJI
S仮名A/Nキーボード,新JISキーボードなどの入力装置
3と、入力された文字列や編集対象文書等の表示を行な
うCRTディスプレイ,液晶ディスプレイなどの表示装置
4と、仮名漢字変換,文書編集などのプログラムや、文
書データなどが格納されるハードディスク5と、文書デ
ータ等が格納されるフロッピィディスク6とを有してい
る。
FIG. 1 is a configuration diagram of an embodiment of a data processing device according to the present invention. Referring to FIG. 1, a data processing apparatus according to the present embodiment includes a processor 1, a memory 2 for storing programs such as kana-kanji conversion and document editing, input data, edited data, and the like, kana input, and romaji input. JI that can be used
Input device 3 such as S kana A / N keyboard and new JIS keyboard, display device 4 such as CRT display and liquid crystal display for displaying input character strings and documents to be edited, kana-kanji conversion, document editing, etc. And a hard disk 5 for storing document data and the like, and a floppy disk 6 for storing document data and the like.

第2図は第1図のデータ処理装置のブロック図であ
る。第2図を参照すると、本実施例のデータ処理装置は
全角文字,半角文字の文字情報を処理するために、入力
装置3から入力された文字が全角文字か半角文字かを判
定する全角/半角判定部7と、入力された文字が半角文
字であってこれが共用可能文字であるときには、全角文
字の文字情報から半角文字分の情報を抽出する文字抽出
部8と、文字情報を出力する文字出力部9とを備えてお
り、上記文字抽出部8には、入力された文字が共用可能
文字か否かを判定する共用可能文字判定部10と、共用不
可能文字アドレス設定部11と、全角文字の文字情報から
半角文字分の情報を抽出するための制御テーブル12が設
定された共用可能文字アドレス設定部13とが設けられて
いる。なお、全角/半角判定部7,共用可能文字判定部10
などは第1図のプロセッサ1によって実現され、また制
御テーブル12などは例えばメモリ2上に展開される。
FIG. 2 is a block diagram of the data processing device of FIG. Referring to FIG. 2, the data processing apparatus of this embodiment determines whether a character input from the input device 3 is a full-width character or a half-width character in order to process character information of a full-width character and a half-width character. A determination unit 7, a character extracting unit 8 for extracting half-width character information from character information of full-width characters when the input character is a half-width character and this is a sharable character, and a character output for outputting character information The character extracting unit 8 includes a sharable character determination unit 10 that determines whether the input character is a sharable character, a non-sharable character address setting unit 11, and a double-byte character. And a sharable character address setting unit 13 in which a control table 12 for extracting half-width character information from the character information is set. The full-width / half-width determination unit 7 and the sharable character determination unit 10
Are realized by the processor 1 of FIG. 1, and the control table 12 and the like are developed on the memory 2, for example.

第3図は共用可能文字アドレス設定部13に設定されて
いる制御テーブル12の一例を示す図である。第3図の制
御テーブル12は第8図(a),第9図(a),第10図
(a),第11図(a)に示すような全角文字の文字情報
(文字パターンデータ)から第8図(b),第9図
(b),第10図(b),第11図(b)に示すような半角
文字の文字情報(文字パターンデータ)をそれぞれ抽出
しうるように構成されており、全角文字が縦横“24×2
4"のサイズをもち、半角文字が縦横“24×12"のサイズ
をもつ場合が示されている。
FIG. 3 is a diagram showing an example of the control table 12 set in the shareable character address setting unit 13. The control table 12 in FIG. 3 is based on character information (character pattern data) of full-width characters as shown in FIGS. 8 (a), 9 (a), 10 (a), and 11 (a). 8 (b), 9 (b), 10 (b) and 11 (b) are configured to be able to extract character information (character pattern data) of half-width characters, respectively. And full-width characters are 24 x 2
The figure shows a case where the character has a size of 4 "and half-width characters have a size of 24 × 12".

次にこのような構成のデータ処理装置において半角文
字のキー入力があった場合の動作を第4図のフローチャ
ートを用いて説明する。
Next, the operation of the data processing device having such a configuration when a half-width character is input will be described with reference to the flowchart of FIG.

入力装置3から半角文字の入力があり、その文字コー
ドを受け取ると(ステップS1)、全角/半角判定部7で
は、これが半角文字と判定し、次いで、文字抽出部8の
共用可能文字判定部10ではこれが共用可能文字であるか
否かを判定する(ステップS2)。この判定の結果、共用
可能文字でないときには、共用不可能文字アドレス設定
部11において、この文字コードに対応したアドレス位置
からこの文字コードに対応した文字情報(文字パターン
データ)を取得し(ステップS3)、文字出力部9では、
この文字情報(文字パターンデータ)を表示装置4等に
出力する(ステップS4)。
When a half-width character is input from the input device 3 and its character code is received (step S1), the full-width / half-width determination unit 7 determines that this is a half-width character, and then determines the sharable character determination unit 10 of the character extraction unit 8 Then, it is determined whether or not this is a sharable character (step S2). If the result of this determination is that the character is not a sharable character, the non-sharable character address setting unit 11 acquires character information (character pattern data) corresponding to the character code from the address position corresponding to the character code (step S3). In the character output unit 9,
This character information (character pattern data) is output to the display device 4 or the like (step S4).

これに対し、ステップS2において、入力された文字が
共用可能文字であると判定されたときには、共用可能文
字アドレス設定部13において、第3図の制御テーブル12
を参照して、その文字コードの文字の全角文字の文字情
報(文字パターンデータ)から半角文字分の文字情報
(文字パターンデータ)を抽出し(ステップS5)、文字
出力部9では、抽出した半角文字分の文字情報(文字パ
ターンデータ)を表示装置4等に出力する(ステップS
4)。
On the other hand, when it is determined in step S2 that the input character is a sharable character, the sharable character address setting unit 13 causes the control table 12 shown in FIG.
, Character information (character pattern data) for half-width characters is extracted from the character information (character pattern data) of full-width characters of the character of the character code (step S5), and the character output unit 9 extracts the half-width characters. The character information (character pattern data) for the characters is output to the display device 4 or the like (step S
Four).

例えば、文字“〔”(文字コード“F06A")が半角文
字として入力されたときには、これが共用可能文字であ
ることから、第3図の制御テーブル12が参照され、第5
図に示すように、全角文字アドレス“100680H"に基づく
始点SXを“12"だけ歩進してSX′とし、第5図に示す全
角文字の文字情報(文字パターンデータ)のうち始点S
X′から横サイズ“12"までの右半分の情報(パターンデ
ータ)を半角文字の情報(パターンデータ)として抽出
することができる。また、文字“,"(文字コード“F44
C")が半角文字として入力されたときには、第6図に示
すように、全角文字アドレス“87780H"に基づく始点SX
から横サイズ“12"までの左半分の情報(パターンデー
タ)を半角文字の情報(パターンデータ)として抽出す
ることができる。また、文字“."(文字コード“F4A
4")が半角文字として入力されたときには、第7図に示
すように、全角文字アドレス“87B40H"に基づく始点SX
を“6"だけ歩進してSX′とし、第7図に示す全角文字の
文字情報(文字パターンデータ)のうち始点SX′から横
サイズ“12"までの中心の情報(パターンデータ)を半
角文字の情報(パターンデータ)として抽出することが
できる。
For example, when the character "[" (character code "F06A") is input as a half-width character, since this is a sharable character, the control table 12 of FIG.
As shown in the figure, the starting point SX based on the full-width character address "100680H" is advanced by "12" to SX ', and the starting point S of the full-width character information (character pattern data) shown in FIG.
The right half information (pattern data) from X 'to the horizontal size "12" can be extracted as half-width character information (pattern data). The character "," (character code "F44
C ") is input as a half-width character, as shown in FIG. 6, the starting point SX based on the full-width character address" 87780H "
The information (pattern data) in the left half of the width from "1" to the horizontal size "12" can be extracted as half-width character information (pattern data). The character "." (Character code "F4A
4 ") is input as a half-width character, as shown in FIG. 7, the starting point SX based on the full-width character address" 87B40H "
Is advanced by "6" to SX ', and the center information (pattern data) from the starting point SX' to the horizontal size "12" of the full-width character information (character pattern data) shown in FIG. It can be extracted as character information (pattern data).

このように本実施例では、共用可能文字については、
第8図(a),第9図(a),第10図(a),第11図
(a)のような全角文字の文字情報(文字パターンデー
タ)だけを保持するだけで良く、これらの全角文字の文
字情報(文字パターンデータ)から第8図(b),第9
図(b),第10図(b),第11図(b)に示すような半
角文字の文字情報(文字パターンデータ)を抽出し、こ
れを出力することができる。すなわち、本実施例では、
共用可能文字については、従来のように第8図(b),
第9図(b),第10図(b),第11図(b)のような半
角文字の文字情報(文字パターンデータ)を第8図
(a),第9図(a),第10図(a),第11図(a)の
ような全角文字の文字情報(文字パターンデータ)と別
個に保持する必要がないので、その分、文字情報(文字
パターンデータ)の保持量を減少させることができる。
また、全角文字の文字情報(文字パターンデータ)を抽
出して半角文字の文字情報(文字パターンデータ)とし
ているので、全角文字のフォントパターンと半角文字の
フォントパターンとを完全に同じものにすることができ
る。
Thus, in this embodiment, the sharable characters are
Only the character information (character pattern data) of full-width characters as shown in FIGS. 8 (a), 9 (a), 10 (a) and 11 (a) needs to be held. From the character information (character pattern data) of full-width characters, FIG.
Character information (character pattern data) of half-width characters as shown in FIGS. 10 (b), 10 (b) and 11 (b) can be extracted and output. That is, in this embodiment,
As for the sharable characters, as shown in FIG.
The half-width character information (character pattern data) as shown in FIGS. 9 (b), 10 (b), and 11 (b) is stored in FIG. 8 (a), FIG. 9 (a), FIG. Since it is not necessary to hold the character information (character pattern data) of full-width characters as shown in FIGS. 11A and 11A, the amount of holding character information (character pattern data) is reduced accordingly. be able to.
In addition, since character information (character pattern data) of full-width characters is extracted and used as character information (character pattern data) of half-width characters, the font pattern of full-width characters and the font pattern of half-width characters must be completely the same. Can be.

〔考案の効果〕[Effect of the invention]

以上に説明したように本考案によれば、入力された半
角文字が共用可能文字であるときには、全角文字の文字
情報(文字パターンデータ)から半角文字分の情報(パ
ターンデータ)を抽出して、これを半角文字の文字情報
(文字パターンデータ)としているので、共用可能文字
について半角文字の文字情報を(文字パターンデータ)
を別個に保持せずとも良い分だけ文字情報(文字パター
ンデータ)の保持量を減少させることができ、またこれ
に伴なって、全角文字のフォントパターンと半角文字の
フォントパターンとを同じものにすることができる。
As described above, according to the present invention, when the input half-width character is a sharable character, the half-width character information (pattern data) is extracted from the full-width character information (character pattern data). Since this is character information of half-width characters (character pattern data), character information of half-width characters for sharable characters (character pattern data)
Character information (character pattern data) can be reduced by the amount that does not need to be stored separately, and accordingly, the font pattern of full-width characters and the font pattern of half-width characters are made the same. can do.

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

第1図は本考案に係るデータ処理装置の一実施例の構成
図、第2図は第1図のデータ処理装置のブロック図、第
3図は制御テーブルの一例を示す図、第4図は第1図,
第2図に示したデータ処理装置の動作を説明するための
フローチャート、第5図乃至第7図は半角文字の文字情
報の抽出処理の具体例を説明するための図、第8図
(a),(b),第9図(a),(b),第10図
(a),(b),第11図(a),(b)は共用可能文字
の具体例を示す図である。 1……プロセッサ、2……メモリ、3……入力装置、4
……表示装置、5……ハードディスク、6……フロッピ
ィディスク、7……全角/半角判定部、8……文字抽出
部、10……共用可能文字判定部、11……共用不可能文字
アドレス設定部、12……制御テーブル、13……共用可能
文字アドレス設定部
FIG. 1 is a block diagram of one embodiment of a data processing device according to the present invention, FIG. 2 is a block diagram of the data processing device of FIG. 1, FIG. 3 is a diagram showing an example of a control table, and FIG. Fig. 1,
FIG. 5 is a flowchart for explaining the operation of the data processing apparatus shown in FIG. 2, and FIGS. 5 to 7 are diagrams for explaining a specific example of a process of extracting character information of half-width characters, and FIG. , (B), FIGS. 9 (a) and (b), FIGS. 10 (a) and (b), FIGS. 11 (a) and (b) are diagrams showing specific examples of sharable characters. 1. Processor 2. Memory 3. Input device 4.
... Display device, 5 ... Hard disk, 6 ... Floppy disk, 7 ... Full-width / half-width determination unit, 8 ... Character extraction unit, 10 ... Shareable character determination unit, 11 ... Unsharable character address setting Unit, 12 Control table, 13 Shared character address setting unit

Claims (1)

(57)【実用新案登録請求の範囲】(57) [Scope of request for utility model registration] 【請求項1】全角文字と半角文字との2つのサイズの文
字パターンを処理可能なデータ処理装置であって、所定
の全角文字の文字パターンの一部に、該全角文字に対応
する半角文字の文字パターンが含まれている場合に、該
半角文字の文字パターンの処理を該半角文字に対応する
前記所定の全角文字の文字パターンを共用して行なうこ
とが可能に構成されており、文字として全角文字または
半角文字を入力可能な入力手段と、入力手段から半角文
字が入力されたとき、入力された半角文字の文字パター
ンが、該半角文字に対応する全角文字の文字パターンを
共用可能であるかを判定する判定手段と、入力された半
角文字の文字パターンが該半角文字に対応する全角文字
の文字パターンを共用可能であると判定されたときに
は、該全角文字の文字パターンから該全角文字の文字パ
ターンに含まれている半角文字の文字パターンを抽出し
て出力する出力手段とを備えていることを特徴とするデ
ータ処理装置。
1. A data processing apparatus capable of processing character patterns of two sizes, a full-width character and a half-width character, wherein a part of a predetermined full-width character character pattern includes a half-width character corresponding to the full-width character. When a character pattern is included, the processing of the character pattern of the half-width character can be performed by sharing the character pattern of the predetermined full-width character corresponding to the half-width character. An input unit capable of inputting a character or a half-width character, and when a half-width character is input from the input unit, whether the input half-width character pattern can share a full-width character pattern corresponding to the half-width character And determining that the input half-width character pattern can share the full-width character pattern corresponding to the half-width character. The data processing apparatus characterized by comprising an output means for extracting a single-byte character pattern included from the pattern in the character pattern of 該全 angle characters.
JP1990077512U 1990-07-20 1990-07-20 Data processing device Expired - Lifetime JP2547704Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1990077512U JP2547704Y2 (en) 1990-07-20 1990-07-20 Data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1990077512U JP2547704Y2 (en) 1990-07-20 1990-07-20 Data processing device

Publications (2)

Publication Number Publication Date
JPH0436642U JPH0436642U (en) 1992-03-27
JP2547704Y2 true JP2547704Y2 (en) 1997-09-17

Family

ID=31619971

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1990077512U Expired - Lifetime JP2547704Y2 (en) 1990-07-20 1990-07-20 Data processing device

Country Status (1)

Country Link
JP (1) JP2547704Y2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5928190A (en) * 1982-08-09 1984-02-14 富士通株式会社 Character pattern generation system

Also Published As

Publication number Publication date
JPH0436642U (en) 1992-03-27

Similar Documents

Publication Publication Date Title
JPS62278073A (en) Handwritten manuscript forming device
JP2547704Y2 (en) Data processing device
RU2626657C1 (en) Determination of text outcome sequence in pdf documents
JPS63142460A (en) Processing system for moving and copying ruled line in document processing system
JP2000276125A (en) Document display method and display device
JP2994387B2 (en) Document input device
JPS62295169A (en) Character display system based upon image processor
JPH04148370A (en) Document processor
JP3160436B2 (en) Target information display device
JPH11191112A (en) Character extracting method by template
JP3067083B2 (en) Document input device
JPS62263567A (en) Input system using pointing device and key
JP2760638B2 (en) Data processing device
JPH0997253A (en) Handwritten input device
JPH02136970A (en) English word retrieving device
JPS6376055A (en) Original word/translated word display system in document forming device
JPS6151264A (en) Document processing device
JPH05216877A (en) Document preparation device
JPS62288966A (en) Kanji radical selecting system
JPS61198279A (en) Cursor display system
JPH03255572A (en) Document preparation device
JPH01189691A (en) Image processor
JPS63100526A (en) Character code presenting system
JPH04133165A (en) Kana/kanji converter
JPH06131397A (en) Document preparing device