JPH03182371A - Character processing method - Google Patents

Character processing method

Info

Publication number
JPH03182371A
JPH03182371A JP1321393A JP32139389A JPH03182371A JP H03182371 A JPH03182371 A JP H03182371A JP 1321393 A JP1321393 A JP 1321393A JP 32139389 A JP32139389 A JP 32139389A JP H03182371 A JPH03182371 A JP H03182371A
Authority
JP
Japan
Prior art keywords
character
characters
code
cursive
font
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1321393A
Other languages
Japanese (ja)
Inventor
Takeshi Someya
染谷 剛
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP1321393A priority Critical patent/JPH03182371A/en
Publication of JPH03182371A publication Critical patent/JPH03182371A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Document Processing Apparatus (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To display and output a character in the longhand font connected by an image line with characters preceding and succeeding the character by determining the font of the character from the relation with the preceding and succeeding characters in a section selected from the whole of a string of characters. CONSTITUTION:A table 6a of a handwriting character code controlling table 6 corresponds to a handwriting character font and a character code related to an English small letter 'a'. Similar tables, that is, 52 tables 6b-6z in addition to the table 6a are prepared for the whole number of English small and capital letters. A first row in the table 6a indicates a code of a next character at the left side of the letter 'a', and a first column indicates a code of a next character at the right side of the letter 'a'. A character code 12 corresponds to a handwriting font of 'a' which is described when the letters 'b', 'a' and 'c' are connected sequentially by image lines. Accordingly, it becomes possible to display a row of handwriting characters having succeeding and preceding characters connected with one another.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、文字を入力・編集・出力する文字処理装置、
特にある文字の前後の文字との関連で、その文字のフォ
ントを決定する文字処理方式に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a character processing device for inputting, editing, and outputting characters;
In particular, it relates to a character processing method that determines the font of a character in relation to the characters before and after the character.

〔従来の技術〕[Conventional technology]

従来、ある文字に対して複数の文字フォントをもつ文字
処理装置は、(株)日立製作所発行製品マニュアル「日
立日本語ワードプロセッサWor記載のように、措置体
の文字フォント以外に、筆記体の文字フォントが用意さ
れ、手書き風の文書を作成することを可能としていた。
Conventionally, character processing devices that have multiple character fonts for a certain character have not only used cursive character fonts in addition to cursive character fonts, as described in the product manual "Hitachi Japanese Word Processor Wor" published by Hitachi, Ltd. was prepared, making it possible to create handwritten documents.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら上記従来技術は、例えば英単語等を筆記体
で表示出力する場合、ある文字の綴りの終点を次の文字
の綴りの始点に滑らかに連続させる文字について配慮さ
れておらず、実際の手書きイメージを引き出すことが望
まれる。
However, when displaying, for example, English words in cursive, the above-mentioned conventional technology does not take into account characters that smoothly connect the ending point of one character's spelling to the starting point of the next character's spelling. It is desirable to bring out the following.

本発明は、ある文字がその前後に位置する文字と画線で
つながった形の筆記体の文字フォントを表示出力するこ
とのできる文字処理方式を提供することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a character processing method capable of displaying and outputting a cursive character font in which a certain character is connected to the characters located before and after it by strokes.

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

上記目的を達成するために、本発明による文字処理方式
では、筆記体の文字フォントに対応する文字コードの管
理テーブルを設け、ある文字の前後に位置する文字をキ
ーとして、適当な筆記体の文字コードをサーチできるよ
うにしたことにより、ある文字を前後の文字と画線で連
続した筆記体で表示するようにしたものである。
In order to achieve the above object, in the character processing method according to the present invention, a character code management table corresponding to a cursive character font is provided, and characters located before and after a certain character are used as keys to select an appropriate cursive character. By making it possible to search for a code, a certain character can be displayed in cursive with continuous strokes from the previous and next characters.

また、入力された文字列全体の内、任意の文字列を筆記
体で表示させるために、筆記体に変換する領域を指定で
きるようにしたものである。
Furthermore, in order to display any character string in cursive out of the entire input character string, it is possible to specify an area to be converted into cursive.

〔作用〕[Effect]

上記文字コードの選択手段によれば、ある文字を綴る場
合の画線の終点と、次の文字を続けて綴る場合の画線の
始点がスムーズにつながるフォントの文字コードが、筆
記体用の文字コード管理テーブルより選定されるので、
前後の文字がつながった筆記体の文字列表示が実現でき
る。
According to the above-mentioned character code selection means, the character code of the font that smoothly connects the end point of a stroke when spelling a certain character and the start point of a stroke when spelling the next character consecutively is selected for cursive characters. Since it is selected from the code management table,
It is possible to display a cursive character string in which the preceding and succeeding characters are connected.

〔実施例〕〔Example〕

以下に、図面に基づいて本発明の一実施例を説明する。 An embodiment of the present invention will be described below based on the drawings.

第1図に、本発明の全体構成図を示す。FIG. 1 shows an overall configuration diagram of the present invention.

第工図において、1は入力手段であってキーボード等の
入力装置より文字を入力する。2は表示手段であって、
文字をデイスプレィ等の出力装置に表示する。3は入出
力制御手段であって、前記入力手段1及び表示手段2を
制御する。4は筆記体変換域指定手段であって、操作者
は、入力された文字列のうち筆記体に変換する領域を指
定する。
In the drawing, 1 is an input means for inputting characters from an input device such as a keyboard. 2 is a display means,
Display characters on an output device such as a display. Reference numeral 3 denotes input/output control means, which controls the input means 1 and the display means 2. Reference numeral 4 denotes a cursive conversion area specifying means, in which the operator specifies an area to be converted into cursive from among the input character strings.

5は筆記体変換手段であり、上記筆記体変換域指定手段
4で指定した領域中の文字列について、筆記体文字コー
ドへの変換を行う。6は筆記体用文字コード管理テーブ
ルであり、上記筆記体変換手段5が筆記体変換を行う際
参照される。7は文字コード制御手段であって、文字コ
ードテーブル8及び文字フォントテーブル9を参照し、
文字コードに対応する文字フォントを取得する。
Reference numeral 5 denotes a cursive writing conversion means, which converts character strings in the area specified by the cursive writing conversion area specifying means 4 into cursive character codes. 6 is a cursive character code management table, which is referred to when the cursive converting means 5 performs cursive conversion. 7 is a character code control means, which refers to a character code table 8 and a character font table 9;
Get the character font corresponding to the character code.

第2図は、本実施例における筆記体用文字コード管理テ
ーブル6を示す図である。
FIG. 2 is a diagram showing the cursive character code management table 6 in this embodiment.

第2図において、テーブル6aは、英字の小文字1a1
 に関する筆記体の文字フォントと文字コードの対応付
けを示す3これと同様のテーブルが英字の小文字及び大
文字の総数分、すなわちテーブル6aの他、6b〜6Z
の52個のテーブルが用意されている。テーブル6aの
第1行は、英字a′の左隣りに位置する文字のコードを
示し、第1列は英字′a′の右隣りに位置する文字のコ
ードを示す。
In FIG. 2, table 6a includes lowercase alphabetic letters 1a1
Tables similar to 3 showing the correspondence between cursive character fonts and character codes are for the total number of lowercase and uppercase letters, that is, in addition to Table 6a, 6b to 6Z
There are 52 tables available. The first row of table 6a shows the code of the character to the left of the alphabetic character a', and the first column shows the code of the character to the right of the alphabetic character 'a'.

テーブル6aにおいて、10は英字1blの文字コード
を指し、11は英字以外の文字コード及び制御コードを
指す。また12は、左隣りの文字がlblで右隣の文字
が′CIの場合の′a′の文字コードである。この文字
コード12は、 ′b′とlaI とrC+ の3文字
が順に画線でつながって綴られる′a′の筆記体フォン
トに対応する。
In Table 6a, 10 refers to the character code of the alphabetic character 1bl, and 11 refers to the character code and control code other than alphabetic characters. 12 is the character code of 'a' when the character on the left is lbl and the character on the right is 'CI'. This character code 12 corresponds to the cursive font 'a' in which the three characters 'b', laI, and rC+ are successively connected by strokes.

第3図(A)は、本実施例における筆記体文字への変換
前の表示例であり、第3図(B)は変換後の表示例であ
る。
FIG. 3(A) is a display example before conversion to cursive characters in this embodiment, and FIG. 3(B) is a display example after conversion.

第3[m (A)において、21は文字列全体のうち筆
記体へ変換することを指定した変換域である。
In the third [m (A), 21 is a conversion area in which conversion of the entire character string to cursive is specified.

変換域21内の英字は、第3図(B)においては筆記体
で表示され、左右の英字と滑らかな画線で連続している
The alphabetic characters within the conversion area 21 are displayed in cursive in FIG. 3(B), and are continuous with the left and right alphabetical characters with smooth stroke lines.

次に、本実施例における処理手順を第4図及び第5図の
フローチャートに示す。
Next, the processing procedure in this embodiment is shown in the flowcharts of FIGS. 4 and 5.

第4図は、全体の処理手順を示す。FIG. 4 shows the entire processing procedure.

第4図において、ステップ31では文字列を入力し、入
力した文字列をデイスプレィに表示する。
In FIG. 4, in step 31 a character string is input and the input character string is displayed on the display.

ステップ32では、入力した文字列を筆記体へ変換する
場合はステップ33へ進み、変換しない場合は第4図の
処理を終了する。ステップ33では、入力した文字列の
うち筆記体へ変換する変換域を指定する。ステップ34
では、変換域内の文字列の文字コードを、対応する筆記
体フォントの文字コードに変換する。ステップ35では
、ステップ34で変換した文字コードに対応する筆記体
の文字を変換域に表示する。この後、第4図の処理を終
了する。
In step 32, if the input character string is to be converted into cursive, the process proceeds to step 33; if not, the process shown in FIG. 4 is ended. In step 33, a conversion range for converting the input character string into cursive is specified. Step 34
Now, convert the character code of the character string in the conversion area to the character code of the corresponding cursive font. In step 35, the cursive characters corresponding to the character codes converted in step 34 are displayed in the conversion area. After this, the process shown in FIG. 4 ends.

第5図は、第4図中に示した文字コード変換手順を示す
FIG. 5 shows the character code conversion procedure shown in FIG.

ステップ341では、筆記体へ変換する変換域内の文字
列の文字コードを取得する。ステップ342では、ステ
ップ36で取得した文字コードによって、その文字が英
字であるか否かの判定を行う。その文字が英字の場合は
ステップ343へ進み、英字でない場合は第5図の処理
を終了する。
In step 341, the character code of the character string within the conversion area to be converted into cursive is obtained. In step 342, based on the character code obtained in step 36, it is determined whether the character is an alphabetic character. If the character is an alphabetic character, the process advances to step 343; if the character is not an alphabetic character, the process of FIG. 5 is ended.

ステップ343では、ステップ341で取得した文字の
前後に位置する文字の文字コードをキーとして、第2図
に示した筆記体用文字コード管理テーブル6をサーチす
る。この結果、その文字が前後の文字と連続するような
筆記体のコードが取得され、このコードで変換域の文字
コードを置き換える。この後、第5図の処理を終了する
In step 343, the cursive character code management table 6 shown in FIG. 2 is searched using the character codes of the characters located before and after the character obtained in step 341 as keys. As a result, a cursive code in which the character is continuous with the preceding and following characters is obtained, and this code replaces the character code in the conversion area. After this, the process shown in FIG. 5 ends.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、1つの文字に対して複数の文字フォン
トが用意されている文字処理装置に関し。
The present invention relates to a character processing device in which a plurality of character fonts are prepared for one character.

ある文字とその前後の文字の関係から、その文字のフォ
ントを決定することができるので1例えば英字を筆記体
で表示する場合、左右に隣合う文字と綴りがつながるよ
うな文字フォントを選択することにより、手書き風のテ
キスト表示を可能とし、文書イメージ向上の効果がある
The font for a certain character can be determined based on the relationship between that character and the characters before and after it.1 For example, when displaying English letters in cursive, choose a font that connects the spelling with the adjacent characters on the left and right. This makes it possible to display handwritten text, which has the effect of improving the document image.

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

第1図は本発明の一実施例を示す全体構成図、第2図は
同実施例の文字コード管理用のテーブルの構成を示す図
、第3図は本実施例の表示画面の各側を示す図、第4図
は同実施例の全体の手順を示すフローチャート、第5図
は文字コード変換の手順を示すフローチャートである。 l・・・入力手段(キーボード等)、2・・・表示手段
(デイスプレィ、プリンタ等)、3・・・入出力制御手
段、4・・・筆記体変換域指定手段、5・・・筆記体変
換手段、6・・・筆記体用文字コード管理テーブル、7
・・・文字コード制御手段、8・・・文字コードテーブ
ル、9・・・文字フォントテーブル(通常フォント及び
筆記体フォント)。
Fig. 1 is an overall configuration diagram showing an embodiment of the present invention, Fig. 2 is a diagram showing the structure of a table for character code management in the embodiment, and Fig. 3 shows each side of the display screen of the embodiment. 4 is a flowchart showing the overall procedure of the same embodiment, and FIG. 5 is a flowchart showing the procedure of character code conversion. l... Input means (keyboard, etc.), 2... Display means (display, printer, etc.), 3... Input/output control means, 4... Cursive conversion area designation means, 5... Cursive Conversion means, 6... Cursive character code management table, 7
...Character code control means, 8.Character code table, 9.Character font table (normal font and cursive font).

Claims (1)

【特許請求の範囲】[Claims] 1、文字を入出力する手段と、1つの文字に対する複数
のフォントと、文字フォントと文字コードの対応付けを
制御する手段とを有する文字処理装置において、文字列
を表示出力する際、文字列全体の内指定した領域中の各
文字に対して、その文字の前後に位置する文字との関係
によって、その文字のフォントを決定することを特徴と
する文字処理方式。
1. In a character processing device that has means for inputting and outputting characters, multiple fonts for one character, and means for controlling the correspondence between character fonts and character codes, when displaying and outputting a character string, the entire character string is A character processing method that determines the font of each character in a specified area based on the relationship with the characters located before and after that character.
JP1321393A 1989-12-13 1989-12-13 Character processing method Pending JPH03182371A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1321393A JPH03182371A (en) 1989-12-13 1989-12-13 Character processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1321393A JPH03182371A (en) 1989-12-13 1989-12-13 Character processing method

Publications (1)

Publication Number Publication Date
JPH03182371A true JPH03182371A (en) 1991-08-08

Family

ID=18132050

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1321393A Pending JPH03182371A (en) 1989-12-13 1989-12-13 Character processing method

Country Status (1)

Country Link
JP (1) JPH03182371A (en)

Similar Documents

Publication Publication Date Title
US5187480A (en) Symbol definition apparatus
JPH05233630A (en) Method for describing japanese and chinese
JP3471854B2 (en) Character processing apparatus and method
WO1990002992A1 (en) Symbol definition apparatus
JPH03182371A (en) Character processing method
JPH0612411A (en) Document processor
JP2590643B2 (en) Document processing method and document processing device
AU665293B2 (en) Apparatus for encoding and defining symbols and assembling text in ideographic languages
JPS61279973A (en) Japanese processor
JP3612352B2 (en) Kana-kanji conversion device
CN118068966A (en) Shape code full spelling input method based on 88 key large keyboard
JPH01213747A (en) Keyboard input device
JPS605318A (en) Input device of sentence composed of kana and kanji
CN118259762A (en) Shape code full spelling input method based on 30 key keyboard
CN118068969A (en) Chinese phonetic simple spelling or shape code simple spelling input method based on 88 key large keyboard
JPS6320677A (en) Document editing device
JP2874815B2 (en) Japanese character reader
JPH0441398Y2 (en)
JPH08335217A (en) Reading converting method and document preparation device
JPH01111267A (en) Character transforming device
JPH07182348A (en) Translation system
JPH0520420A (en) Graphic processor
JPH0636067A (en) Character reader
JPS63106863A (en) Japanese language word processor
JPH01144158A (en) Input system for chinese sentence