JP2856235B2 - Character processing device and character output method - Google Patents

Character processing device and character output method

Info

Publication number
JP2856235B2
JP2856235B2 JP4259392A JP25939292A JP2856235B2 JP 2856235 B2 JP2856235 B2 JP 2856235B2 JP 4259392 A JP4259392 A JP 4259392A JP 25939292 A JP25939292 A JP 25939292A JP 2856235 B2 JP2856235 B2 JP 2856235B2
Authority
JP
Japan
Prior art keywords
character
outline data
stroke order
information
start point
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
JP4259392A
Other languages
Japanese (ja)
Other versions
JPH06110444A (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.)
Hitachi Information Systems Ltd
Original Assignee
Hitachi Information Systems 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 Information Systems Ltd filed Critical Hitachi Information Systems Ltd
Priority to JP4259392A priority Critical patent/JP2856235B2/en
Publication of JPH06110444A publication Critical patent/JPH06110444A/en
Application granted granted Critical
Publication of JP2856235B2 publication Critical patent/JP2856235B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)
  • Image Generation (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Processing Or Creating Images (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 processing apparatus and a character processing apparatus capable of correcting the shape of a character using positional information of the characters before and after the character to output a character having a shape close to a human handwriting. Output method.

【0002】[0002]

【従来の技術】文字出力装置では、従来のドット・フォ
ント方式に代ってアウトライン・フォント方式が主流に
なりつつある。アウトライン・フォント方式は、文字の
形状を輪郭線で表現したフォントであり、輪郭を構成す
る要所要所の点を座標デ−タとして持ち、各点をスプラ
イン曲線やベジェ曲線で補間しながら結ぶことにより、
文字の形状を表現するものである。従来のドット・フォ
ント方式に比較すると、文字を拡大、縮小してもギザギ
ザが生じないという大きな利点があり、その結果、輪郭
線の拡大や縮小等の補正を文字の品質を落すことなく可
能にする(なお、アウトライン・フォントについては、
例えば、『情報・通信新語辞典』日経BP社1990年1月3
0日発行、pp.1に記載されている)。また、従来の文字
出力装置には、各文字をシステムから与えられている大
きさで印刷するプロポ−ショナル処理の機能が備えられ
ていた。この機能が具備されていない通常の出力装置で
は、48×48ドットの中に漢字とひらがなを同一のサ
イズで印刷するが、この機能が具備されている出力装置
では、漢字は24ドット、ひらがなは12ドットで表示
され、印刷される。すなわち、書体システムの文字は縦
横48ドット構成で定義されるが、実際には各文字毎に
12〜48ドットの範囲でプロポ−ショナル処理時の固
有の有効幅を持っている。印刷する際には、有効幅の枠
内の大きさで印刷されるが、画面表示の際には、24〜
48ドットで印刷される文字は24ドットで表示され、
12〜23ドットで印刷される文字は12ドットで表示
される。
2. Description of the Related Art In character output devices, an outline font system is becoming mainstream in place of the conventional dot font system. The outline font method is a font in which the shape of a character is represented by a contour line.Points that make up the contour are required as coordinate data, and each point is connected while interpolating with a spline curve or Bezier curve. By
It represents the shape of a character. Compared to the conventional dot font method, there is a big advantage that jaggedness does not occur even if characters are enlarged or reduced, and as a result, it is possible to correct outline enlargement or reduction without deteriorating character quality. (Note that for outline fonts,
For example, "Information and Communication New Language Dictionary" Nikkei BP January 3, 1990
Issued on day 0, described in pp.1). Further, the conventional character output device has a function of proportional processing for printing each character in a size given by the system. A normal output device not equipped with this function prints kanji and hiragana in the same size in 48 × 48 dots, but an output device equipped with this function uses 24 dots kanji and hiragana Displayed in 12 dots and printed. That is, the characters of the typeface system are defined by a configuration of 48 dots in length and width, but each character has a unique effective width in the range of 12 to 48 dots in proportional processing. When printing, it is printed in the size within the frame of the effective width.
Characters printed in 48 dots are displayed in 24 dots,
Characters printed with 12 to 23 dots are displayed with 12 dots.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、前述の
アウトライン・フォント方式は、固定的なものであるた
め、アウトライン・フォントを持った文書では、実際に
書く行書のように、前後の文字により文字の形が変化す
ることがない。そのため、実際に印刷された文書は、人
間が筆で書いた文書に比べて自然ではなく、やはり印刷
した文書という感じは免れなかった。本発明の目的は、
このような従来の課題を解決し、前後の文字によりその
文字の形を補正して、より自然な文字出力を得ることが
できる文字処理装置および文字出力方法を提供すること
にある。
However, since the outline font method described above is fixed, in a document having an outline font, characters such as a line and a letter written in front and behind are actually used as in a written book. The shape does not change. Therefore, the actually printed document is not as natural as a document written by a human, and the feeling of being a printed document was inevitable. The purpose of the present invention is
It is an object of the present invention to provide a character processing device and a character output method that can solve such a conventional problem and correct the shape of the character by using preceding and succeeding characters to obtain a more natural character output.

【0004】[0004]

【課題を解決するための手段】上記目的を達成するた
め、本発明の文字処理装置は、(イ)文字入力手段と、
入力された文字あるいは記憶された文字を表示する表示
装置と、入力された文字あるいは記憶された文字を出力
するプリンタ装置と、文字フォント情報を記憶する記憶
装置とを備えた文字処理装置において、文字フォント情
報として、アウトライン・デ−タ、アウトライン・デ−
タの文字毎の筆順始点および筆順終点の位置情報、およ
び補正したアウトライン・デ−タに個々のアウトライン
・デ−タを表示するか否かの情報を記憶装置に登録する
文字フォント登録手段と、文字フォント情報を読み出す
文字フォント読出し手段と、読み出した文字フォント情
報からアウトライン・デ−タを加工して文字の形を補正
するアウトライン・デ−タ加工手段と、補正したアウト
ライン・デ−タからビットマップに展開するビットマッ
プ展開手段とを具備したことを特徴としている。また、
本発明の文字出力方法は、(ロ)文字フォント情報とし
て、アウトライン・デ−タと、アウトライン・デ−タの
文字毎の筆順始点および筆順終点の位置情報と、筆順始
点側および筆順終点側の双方の変形を開始する位置情報
と、個々のアウトライン・デ−タを補正するか否かの情
報と、筆順始点側および筆順終点側の双方にアウトライ
ン・デ−タをどのくらい加工するかの変形率とを、記憶
装置に登録しておき、記憶装置から文字フォント情報を
読み出して、アウトライン・デ−タを筆順始点側および
筆順終点側毎に変形率に従って加工し、加工された点を
更新した後、補正されたアウトライン・デ−タからビッ
トマップに展開し、プリンタまたは表示出力とすること
を特徴としている。
In order to achieve the above object, a character processing apparatus according to the present invention comprises (a) character input means;
In a character processing device including a display device that displays input characters or stored characters, a printer device that outputs input characters or stored characters, and a storage device that stores character font information, As font information, outline data, outline data
Character font registration means for registering, in a storage device, positional information of a stroke order start point and a stroke order end point for each character of the data, and information as to whether or not individual outline data is to be displayed in the corrected outline data; Character font reading means for reading character font information; outline data processing means for processing outline data from the read character font information to correct the character shape; and bits from the corrected outline data Bitmap developing means for developing into a map. Also,
According to the character output method of the present invention, (b) outline data, position information of a stroke order start point and a stroke order end point for each character of the outline data, and a stroke order start point and a stroke order end point are used as character font information. Position information for starting both transformations, information on whether or not individual outline data is to be corrected, and the deformation rate of how much outline data is processed on both the stroke order start point and the stroke order end point Are registered in a storage device, character font information is read from the storage device, outline data is processed according to a deformation ratio for each of the stroke order start point side and the stroke order end point side, and the processed points are updated. The corrected outline data is developed into a bit map from the corrected outline data, and is output to a printer or display output.

【0005】[0005]

【作用】本発明においては、文字フォント情報としてア
ウトライン・デ−タと、筆順始点および筆順終点の位置
情報と、筆順始点側および筆順終点側の双方の変形を開
始する位置情報と、個々のアウトライン・デ−タを補正
するか否かの情報と、筆順始点側および筆順終点側の双
方にアウトライン・デ−タをどのくらい加工するかの変
形率とを登録しておき、それらを読み出して、その情報
に従って補正したアウトライン・デ−タからビットマッ
プに展開する。本発明では、毛筆書体で大きく縦書きし
たときに、特に顕著に効果が現われるもので、英文字の
表示にも応用することができる。従来の方法では、前の
文字のフォント全体と次の文字のフォント全体を単純に
近づける方法であったが、本発明では、文字フォント情
報に筆順始点と筆順終点の位置情報等を持たせ、前後の
文字のその位置情報等により、文字の形を補正すること
によって、筆運びに近い形の文字を出力させることがで
きる。
According to the present invention, outline data as character font information, position information of a stroke order start point and a stroke order end point, position information for starting transformation of both a stroke order start point and a stroke order end point, and individual outlines・ Registration information of whether to correct the data and the deformation rate of how much the outline data is processed are registered at both the stroke order starting point side and the stroke order end point side. The outline data corrected according to the information is developed into a bit map. In the present invention, the effect is particularly remarkable when a large vertical writing is performed with a brush typeface, and the present invention can be applied to the display of English characters. In the conventional method, the entire font of the previous character and the entire font of the next character were simply brought close to each other.In the present invention, however, the character font information is provided with the position information of the stroke order start point and the stroke order end point, etc. By correcting the shape of the character based on the position information of the character, etc., it is possible to output a character having a shape close to a brush stroke.

【0006】[0006]

【実施例】以下、本発明の実施例を、図面により詳細に
説明する。図1は、本発明の一実施例を示す文字処理装
置のブロック構成図である。図1において、1は各種デ
−タを装置に入力するためのキ−ボ−ド、2は同じく各
種デ−タを装置に入力するためのマウス、3はビットマ
ップメモリを具備したCRT表示装置、4はレ−ザ−ビ
−ムプリンタ、5はアウトライン・デ−タ等のフォント
情報をフォントファイルとして格納するための記憶装
置、6はアウトライン・デ−タを一時的に蓄えるメモリ
領域として、またプロセッサ部の作業領域として使用さ
れるRAM、7は装置における各種機能を実行するため
の制御プログラムや、文字フォント登録プログラム、文
字フォント読出しプログラム、アウトラインデ−タ加工
プログラム等を格納するためのROM、8はROM7に
取り込んだプログラムの制御および演算を実行するCP
U、9はROM7に格納されているプログラムを読み込
んで、アウトライン・デ−タに対する各種処理を実行す
るプロセッサ部、10は装置全体の制御を行う制御手
段、11は文字フォント情報に、筆順始点と筆順終点の
位置情報と、筆順始点側および筆順終点側の双方の変形
を開始する位置情報と、個々のアウトライン・デ−タを
補正するか否かの情報と、筆順始点側および筆順終点側
の双方にアウトライン・デ−タをどのくらい加工するか
の変形率とを登録する文字フォント登録手段、12は登
録された文字フォント情報を読み出す文字フォント読み
出し手段、13は読み出した文字フォント情報からアウ
トライン・デ−タを加工し、文字の形を補正するアウト
ライン・デ−タ加工手段、14は補正したアウトライン
・デ−タからビットマップに展開するビットマップ展開
手段である。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a block diagram of a character processing apparatus according to an embodiment of the present invention. In FIG. 1, 1 is a keyboard for inputting various data to the device, 2 is a mouse for inputting various data to the device, and 3 is a CRT display device having a bitmap memory. 4 is a laser beam printer, 5 is a storage device for storing font data such as outline data as a font file, and 6 is a memory area for temporarily storing outline data. A RAM 7 used as a work area of the processor unit is a ROM for storing a control program for executing various functions in the apparatus, a character font registration program, a character font reading program, an outline data processing program, and the like. , 8 are CPs for executing control and calculation of the program loaded in the ROM 7.
U and 9 are processors for reading programs stored in the ROM 7 and executing various processes for outline data, 10 is a control means for controlling the entire apparatus, 11 is character font information, and a stroke order starting point. The position information of the stroke order end point, the position information for starting the transformation on both the stroke order start point side and the stroke order end point side, the information on whether or not to correct each outline data, the stroke order start point side and the stroke order end point side Character font registering means for registering the deformation rate of how much outline data is to be processed on both sides, character font reading means 12 for reading registered character font information, and 13 for outline data from the read character font information. An outline data processing means for processing data and correcting the shape of a character; Tsu is a bit map development means for developing in-flops.

【0007】図2は、図1における文字処理装置の動作
フロ−チャ−トである。先ず、プロセッサ部9の制御手
段10の制御の元に、文字フォント登録手段11はアウ
トライン・デ−タや筆順始点および筆順終点の位置情報
等の文字フォント情報を記憶装置5に登録しておく(ス
テップ201)。次に、文字フォント読み出し手段12
は、文書出力時等に必要に応じてその文字フォント情報
を記憶装置5から読み出す(ステップ202)。次に、
アウトライン・デ−タ加工手段13は、読み出した文字
フォント情報からアウトライン・デ−タを加工して、文
字の形を補正する(ステップ203)。次に、ビットマ
ップ展開手段14は、補正されたアウトライン・デ−タ
からRAM6あるいはCRT表示装置3内のビットマッ
プメモリにビットマップに展開する(ステップ20
4)。以上の処理のうち、文字フォントの登録処理と、
アウトライン・デ−タの加工処理の詳細動作について、
図3〜図6により説明する。図3は、図2における文字
フォント登録処理の詳細フロ−チャ−トである。登録す
る文字フォント情報を作成するために、先ずアウトライ
ン・デ−タ作成装置が、文字のアウトライン・デ−タを
文字の変形を開始する地点がアウトライン・デ−タの端
点となるように作成する(ステップ301)。次に、筆
順始点と筆順終点の位置情報を文字フォント情報に加え
る(ステップ302)。筆順始点側および筆順終点側の
双方の変形を開始する位置情報を文字フォント情報に加
える(ステップ303)。次に、個々のアウトライン・
デ−タを補正するか否かの情報を文字フォント情報に加
える(ステップ304)。文字フォント情報の筆順始点
側および筆順終点側の双方にアウトライン・デ−タをど
のくらい加工するかの変形率を加える(ステップ30
5)。以上の文字フォント情報を記憶装置5に登録する
(ステップ306)。
FIG. 2 is an operation flowchart of the character processing apparatus in FIG. First, under the control of the control unit 10 of the processor unit 9, the character font registration unit 11 registers character font information such as outline data and position information of a stroke order start point and a stroke order end point in the storage device 5 ( Step 201). Next, the character font reading means 12
Reads out the character font information from the storage device 5 as needed at the time of document output or the like (step 202). next,
The outline data processing means 13 processes the outline data from the read character font information to correct the character shape (step 203). Next, the bitmap developing means 14 develops the corrected outline data into a bitmap in the RAM 6 or a bit map memory in the CRT display 3 (step 20).
4). Of the above processing, the registration processing of the character font,
About the detailed operation of outline data processing,
This will be described with reference to FIGS. FIG. 3 is a detailed flowchart of the character font registration process in FIG. In order to create character font information to be registered, first, an outline data creation device creates outline data of a character such that the point at which the transformation of the character is started is the end point of the outline data. (Step 301). Next, the position information of the stroke order start point and the stroke order end point is added to the character font information (step 302). Position information for starting the transformation on both the stroke order start point side and the stroke order end point side is added to the character font information (step 303). Next, individual outlines
Information on whether to correct the data is added to the character font information (step 304). The deformation rate of how much outline data is processed is added to both the stroke order start point and the stroke order end point of the character font information (step 30).
5). The above character font information is registered in the storage device 5 (step 306).

【0008】図4、図5および図6は、一文字のアウト
ライン・デ−タを加工する処理の詳細手順を示すフロ−
チャ−トであり、図7〜図14は本発明の文字出力方法
を説明する説明図である。なお、ここでは、縦書きの文
書の例を説明する。図7の実線で示されているx1,x
2を輪郭線と呼ぶ。この輪郭線は、Bezier3次曲線、
直線、およびそれらの組み合わせで構成されるものであ
る。Bezier3次曲線は、図8に示すように、4つの制
御点y1,y2,y3,y4を指定することにより定義
することができる。アウトライン・デ−タは、Bezier
3次曲線の制御点と直線の端点と、そのいずれの線を使
用するかの情報からなる。筆順始点とは、人が実際に文
字を書くときの書き始めの点、例えば図9における
『う』の文字の点c21である。また、筆順終点とは、
人が実際に文字を書くときの書き終りの点、例えば図9
における点r21である。また、筆順始点側の変形率と
は、筆順始点側で文字の形の補正をどのくらい行うかの
割合であって、(図10における補正後の筆順始点e2
1と補正前の筆順始点c21の距離)/(図10におけ
る筆順始点c21と点d21の距離)で表わされる。ま
た、筆順終点側の変形率とは、筆順終点側で文字の形の
補正をどのくらい行うかの割合であって、(図12にお
ける筆順終点t21と補正前の筆順終点r21の距離)
/(筆順終点r21と点s21の距離)で表わされる。
FIGS. 4, 5 and 6 are flow charts showing a detailed procedure of processing for processing outline data of one character.
7 to 14 are explanatory diagrams for explaining the character output method of the present invention. Here, an example of a vertically written document will be described. X1, x shown by solid lines in FIG.
2 is called a contour line. This contour is a Bezier cubic curve,
It is composed of straight lines and combinations thereof. As shown in FIG. 8, the Bezier cubic curve can be defined by designating four control points y1, y2, y3, and y4. Outline data is Bezier
It consists of the control point of the cubic curve, the end point of the straight line, and information on which line to use. The stroke order starting point is a writing start point when a person actually writes a character, for example, a point c21 of the character "U" in FIG. Also, the stroke end point is
End of writing when a person actually writes a character, for example, FIG.
At point r21. Further, the deformation ratio on the stroke order start point side is a ratio of how much the shape of the character is corrected on the stroke order start point side, and is (the stroke order start point e2 after correction in FIG. 10).
1 and the distance between the stroke order starting point c21 and the stroke order starting point c21 before correction / (the distance between the stroke order starting point c21 and the point d21 in FIG. 10). Also, the deformation ratio on the stroke order end point side is a ratio of how much the shape of the character is corrected on the stroke order end point side, and is (the distance between the stroke order end point t21 and the stroke order end point r21 before correction in FIG. 12).
/ (Distance between stroke end point r21 and point s21).

【0009】図4において、先ず、表示画面上でその上
に文字があるか否かを判別する(ステップ401)。上
に文字があれば、筆順始点側の変形率を調べる(ステッ
プ402)。ここで、変形率が0であれば図5に移り、
変形率が0でなければ、図9における筆順始点側の変形
開始点a21と変形開始点b21の中点をd21とする
(ステップ403)。ベクトル(d21,c21)を筆
順始点側の文字の傾きとする(ステップ404)。次
に、図9における前の文字の筆順終点側の変形開始点p
11と変形開始点q11の中点をs11とする(ステッ
プ405)。ベクトル(s11,d21)を筆順始点側
の筆運びとする(ステップ406)。図10に示すよう
に、ベクトル(d21,c21)の傾きがベクトル(d
21,s11)に近づくように、点d21を中心に筆順
始点側変形率だけ筆順始点c21を回転させ、点e21
とする(ステップ407)。角(c21,d21,e2
1)を求める(ステップ408)。次に、図5におい
て、表示画面上で下に文字があるか否かを判定する(ス
テップ409)。下に文字があれば、筆順終点側の変形
率を調べる(ステップ410)。変形率が0であれば、
図6に移る。変形率が0でなければ、図9に示すよう
に、筆順終点側の変形開始点p21と変形開始点q21
の中心をs21とする(ステップ411)。ベクトル
(s21,r21)を筆順終点側の文字の傾きとする
(ステップ412)。次の文字の筆順始点側の変形開始
点a31と変形開始点b31の中点をd31とする(ス
テップ413)。ベクトル(s21,d31)を筆順終
点側の筆運びとする(ステップ414)。図12に示す
ように、ベクトル(s21,r21)の傾きがベクトル
(s21,d31)に近づくように、点s21を中心に
筆順終点側変形率だけ筆順終点r21を回転させ、点t
21とする(ステップ415)。角(r21,s21,
t21)を求める(ステップ416)。
In FIG. 4, first, it is determined whether or not there is a character on the display screen (step 401). If there is a character above, the deformation ratio on the stroke order starting point side is checked (step 402). Here, if the deformation rate is 0, the process moves to FIG.
If the deformation rate is not 0, the middle point of the deformation start point a21 and the deformation start point b21 on the stroke order start point side in FIG. 9 is set to d21 (step 403). The vector (d21, c21) is set as the inclination of the character on the stroke starting point side (step 404). Next, the transformation start point p on the stroke order end point side of the previous character in FIG.
The middle point between the point 11 and the deformation start point q11 is set to s11 (step 405). The vector (s11, d21) is set as the brush stroke on the stroke order start point side (step 406). As shown in FIG. 10, the inclination of the vector (d21, c21) is
21, s11), the stroke order starting point c21 is rotated around the point d21 by the stroke order starting point side deformation rate to obtain a point e21.
(Step 407). Angle (c21, d21, e2
1) is obtained (step 408). Next, in FIG. 5, it is determined whether or not there is a character below the display screen (step 409). If there is a character underneath, the deformation ratio at the stroke end point is checked (step 410). If the deformation rate is 0,
Turning to FIG. If the transformation rate is not 0, as shown in FIG. 9, the transformation start point p21 and the transformation start point q21
Is set to s21 (step 411). The vector (s21, r21) is set as the inclination of the character on the stroke order end point side (step 412). The middle point between the deformation start point a31 and the deformation start point b31 on the stroke order start point side of the next character is d31 (step 413). The vector (s21, d31) is set as the brush stroke on the stroke end point side (step 414). As shown in FIG. 12, the stroke order end point r21 is rotated by the stroke order end point side deformation rate around the point s21 so that the inclination of the vector (s21, r21) approaches the vector (s21, d31), and the point t
21 (step 415). Angles (r21, s21,
t21) is obtained (step 416).

【0010】次に、図6において、文字のアウトライン
・デ−タから1点を取り出す(ステップ417)。点が
取り出せたか否かを判定する(ステップ418)。点が
取り出せたならば、その点のアウトライン・デ−タを補
正するか否かの情報を判定する(ステップ419)。そ
の情報が筆順始点側での補正をするというものであれ
ば、図11に示すように、変形開始点a21、またはそ
れに隣接するそのアウトライン・デ−タの制御点am2
1、または変形開始点b21、またはそれに隣接するそ
のアウトライン・デ−タの制御点bm21の4点かを調
べる(ステップ420)。その4点のどれでもなけれ
ば、図10に示すように、その点を角度(c21,d2
1,e21)だけd21を中心に回転し、その点を更新
する(ステップ421)。また、ステップ419で、そ
の情報が筆順終点側での補正をするというものであれ
ば、図13に示すように、変形開始点p21、またはそ
れに隣接するそのアウトライン・デ−タの制御点pm2
1、または変形開始点q21、またはそれに隣接するそ
のアウトライン・デ−タの制御点qm21の4点かを調
べる(ステップ422)。その4点のどれでもなけれ
ば、図12に示すように、その点を角度(r21,s2
1,t21)だけs21を中心に回転し、その点を更新
する(ステップ423)。以上の動作をステップ417
に戻って、繰り返し行う。
Next, in FIG. 6, one point is extracted from the outline data of the character (step 417). It is determined whether a point has been extracted (step 418). If a point can be extracted, it is determined whether or not the outline data of the point is to be corrected (step 419). If the information indicates that the correction is to be made on the stroke order start point side, as shown in FIG. 11, the deformation start point a21 or the control point am2 of the outline data adjacent thereto is displayed.
It is checked whether the number is 1, or the transformation start point b21 or four control points bm21 of the outline data adjacent thereto (step 420). If none of the four points is present, the point is angled (c21, d2) as shown in FIG.
(1, e21) is rotated about d21, and the point is updated (step 421). If it is determined in step 419 that the information is to be corrected on the ending point of the stroke order, as shown in FIG. 13, the transformation start point p21 or the control point pm2 of the outline data adjacent to the transformation start point p21.
It is checked whether the number is 1, or the transformation start point q21 or the control point qm21 of the outline data adjacent thereto (step 422). If none of the four points is present, the point is angled (r21, s2), as shown in FIG.
(1, t21), the rotation is made around s21, and the point is updated (step 423). The above operation is performed in step 417
Return to and repeat.

【0011】図14は、本発明における文字出力方法で
出力した結果の文字パタ−ンの図である。次に、本発明
の他の実施例を示す文字出力方法について説明する。文
字処理装置の構成は、図1に示すブロックと同じであ
る。そして、この文字処理装置の動作フロ−チャ−ト
も、図2と全く同じである。本実施例では、詳細動作に
おいて異なっている。図15は、本発明の他の実施例を
示す文字フォント情報登録動作の処理手順フロ−チャ−
トである。文字フォント情報を登録するため、アウトラ
イン・デ−タ作成装置は、先ず文字のアウトライン・デ
−タを文字の変形を開始する地点がアウトライン・デ−
タの端点となるように作成する(ステップ1301)。
次に、筆順始点と筆順終点の位置情報を文字フォント情
報に加える(ステップ1302)。次に、上の文字の筆
順終点が左右方向の左・中・右にある時のために補正し
たアウトライン・デ−タ、および下の文字の筆順始点が
左右方向の左・中・右にある時のために補正したアウト
ライン・デ−タをアウトライン・デ−タ作成装置により
作成して、文字フォント情報に加える(ステップ130
3)。次に、個々のアウトライン・デ−タに、常に表示
するものであるか、上の文字の筆順終点が左右方向の左
・中・右のどのとき表示するものであるか、下の文字の
筆順始点が左右方向の左・中・右のどのとき表示するも
のであるか、の情報を加える(ステップ1304)。そ
して、以上の文字フォント情報を記憶装置5に保存する
(ステップ1305)。
FIG. 14 is a diagram showing a character pattern as a result output by the character output method according to the present invention. Next, a description will be given of a character output method according to another embodiment of the present invention. The configuration of the character processing device is the same as that of the block shown in FIG. The operation flowchart of this character processing apparatus is exactly the same as that of FIG. This embodiment is different in the detailed operation. FIG. 15 is a flowchart showing a procedure for registering character font information according to another embodiment of the present invention.
It is. In order to register the character font information, the outline data creating device firstly converts the outline data of the character into the outline data at the point where the transformation of the character is started.
(Step 1301).
Next, the position information of the stroke order start point and the stroke order end point is added to the character font information (step 1302). Next, the outline data corrected for when the stroke order end point of the upper character is left, middle, and right in the left and right direction, and the stroke order start point of the lower character is left, center, and right in the left and right direction Outline data corrected for time is created by the outline data creating device and added to the character font information (step 130).
3). Next, whether the outline data is to be displayed at all times, whether the stroke end point of the upper character is to be displayed at the left, middle, or right in the horizontal direction, the stroke order of the lower character Information is added as to whether the start point is to be displayed in the left, right, left or right direction (step 1304). Then, the above character font information is stored in the storage device 5 (step 1305).

【0012】図16は、本発明の他の実施例を示す1文
字のアウトライン・デ−タの加工処理手順のフロ−チャ
−トである。先ず、表示画面上で上に文字があるか否か
を判定する(ステップ1401)。上に文字があれば、
上の文字の筆順終点が左右方向の左・中・右のどこにあ
るかを調べる(ステップ1402)。次に、表示画面上
で下に文字があるか否かを判定する(ステップ140
3)。下に文字があれば、下の文字の筆順始点が左右方
向の左・中・右のどこにあるかを調べる(ステップ14
04)。その文字のアウトライン・デ−タを1つ取り出
す(ステップ1405)。アウトライン・デ−タが取り
出せたか否かを調べる(ステップ1406)。取り出せ
なかったならば、処理は終了する。取り出せたときに
は、取り出したアウトライン・デ−タは必ず表示するも
のか、または上の文字の筆順終点が先ほど調べたものの
時に表示するものか、または下の文字の筆順始点が先ほ
ど調べたものの時に表示するものか、を判定する(ステ
ップ1407)。もしそうであれば、新しいアウトライ
ン・デ−タに加える(ステップ1408)。以上の処理
をステップ1405に戻って繰り返し行う。
FIG. 16 is a flowchart of a procedure for processing outline data of one character according to another embodiment of the present invention. First, it is determined whether there is a character on the display screen (step 1401). If there is a letter above,
It is checked where the stroke end point of the upper character is located on the left, middle, and right in the left-right direction (step 1402). Next, it is determined whether or not there is a character below the display screen (step 140).
3). If there is a character below, it is checked where the stroke order starting point of the lower character is located on the left, middle, and right in the horizontal direction (step 14).
04). One outline data of the character is extracted (step 1405). It is checked whether or not outline data has been extracted (step 1406). If not, the process ends. When it can be taken out, the taken out outline data must be displayed, or displayed when the stroke order end point of the upper character has been examined earlier, or displayed when the stroke order start point of the lower character has been examined earlier. (Step 1407). If so, add it to the new outline data (step 1408). The above processing returns to step 1405 and is repeated.

【0013】[0013]

【発明の効果】以上説明したように、本発明によれば、
前後の文字によってその文字の形を補正することによ
り、より自然な文字出力を得ることができるので、特に
毛筆書体で縦書きのときに、人が書く筆運びに近い文字
を出力することが可能である。
As described above, according to the present invention,
By correcting the shape of the character with the surrounding characters, more natural character output can be obtained, so it is possible to output characters that are close to the strokes of people writing, especially in vertical writing with brush typeface It is.

【0014】[0014]

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

【図1】本発明の一実施例を示す文字処理装置の構成図
である。
FIG. 1 is a configuration diagram of a character processing apparatus according to an embodiment of the present invention.

【図2】図1における文字処理装置の動作フロ−チャ−
トである。
FIG. 2 is an operation flowchart of the character processing apparatus in FIG. 1;
It is.

【図3】図2における文字フォント情報登録処理手順を
示すフロ−チャ−トである。
FIG. 3 is a flowchart showing a character font information registration processing procedure in FIG. 2;

【図4】図2におけるアウトライン・デ−タを加工する
処理手順を示すフロ−チャ−トの一部である。
FIG. 4 is a part of a flowchart showing a processing procedure for processing outline data in FIG. 2;

【図5】同じく図2におけるアウトライン・デ−タの加
工処理のフロ−チャ−トの他の一部である。
FIG. 5 is another part of the flowchart of the outline data processing shown in FIG. 2;

【図6】同じく図2におけるアウトライン・デ−タの加
工処理のフロ−チャ−トの他の一部である。
6 is another part of the flowchart of the outline data processing shown in FIG. 2;

【図7】文字の輪郭線を説明する図である。FIG. 7 is a diagram illustrating the outline of a character.

【図8】Bezier3次曲線の制御点を説明する図であ
る。
FIG. 8 is a diagram illustrating control points of a Bezier cubic curve.

【図9】本実施例におけるアウトライン・デ−タを加工
する処理の説明図である。
FIG. 9 is an explanatory diagram of processing for processing outline data in the present embodiment.

【図10】補正後の筆順開始点e21を説明する図であ
る。
FIG. 10 is a diagram illustrating a corrected stroke order start point e21.

【図11】筆順始点側のアウトライン・デ−タの各点を
説明する図である。
FIG. 11 is a diagram illustrating each point of outline data on the stroke order start point side.

【図12】補正後の筆順終点t21を説明するための図
である。
FIG. 12 is a diagram for explaining a stroke order end point t21 after correction.

【図13】筆順終点側のアウトライン・デ−タの各点を
説明する図である。
FIG. 13 is a diagram illustrating each point of outline data on the stroke order end point side.

【図14】本発明に関する文字出力方法で出力した結果
を示す文字パタ−ン図である。
FIG. 14 is a character pattern diagram showing a result output by a character output method according to the present invention.

【図15】本発明の他の実施例を示す文字フォント情報
登録処理手順のフロ−チャ−トである。
FIG. 15 is a flowchart of a character font information registration processing procedure according to another embodiment of the present invention.

【図16】本発明の他の実施例を示すアウトライン・デ
−タを加工する処理手順のフロ−チャ−トである。
FIG. 16 is a flowchart of a processing procedure for processing outline data according to another embodiment of the present invention.

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

1 キ−ボ−ド 2 マウス 3 CRT表示装置 4 レ−ザ−ビ−ムプリンタ 5 記憶装置 6 RAM 7 ROM 8 CPU 9 プロセッサ部 10 制御手段 11 文字フォント登録手段 12 文字フォント読み出し手段 13 アウトライン・デ−タ加工手段 14 ビットマップ展開手段 REFERENCE SIGNS LIST 1 keyboard 2 mouse 3 CRT display device 4 laser beam printer 5 storage device 6 RAM 7 ROM 8 CPU 9 processor unit 10 control means 11 character font registration means 12 character font readout means 13 outline data -Data processing means 14 Bitmap development means

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 文字入力手段と、入力された文字あるい
は記憶された文字を表示する表示装置と、入力された文
字あるいは記憶された文字を出力するプリンタ装置と、
文字フォント情報を記憶する記憶装置とを備えた文字処
理装置において、文字フォント情報として、アウトライ
ン・デ−タ、該アウトライン・デ−タの文字毎の筆順始
点および筆順終点の位置情報、および補正したアウトラ
イン・デ−タに個々のアウトライン・デ−タを表示する
か否かの情報を記憶装置に登録する文字フォント登録手
段と、上記文字フォント情報を読み出す文字フォント読
出し手段と、読み出した文字フォント情報からアウトラ
イン・デ−タを加工して文字の形を補正するアウトライ
ン・デ−タ加工手段と、補正したアウトライン・デ−タ
からビットマップに展開するビットマップ展開手段とを
具備したことを特徴とする文字処理装置。
1. A character input means, a display device for displaying input characters or stored characters, and a printer device for outputting input characters or stored characters.
In a character processing apparatus provided with a storage device for storing character font information, outline data, stroke order start point and stroke order end point position information for each character of the outline data, and character font information are corrected as character font information. Character font registration means for registering information as to whether or not individual outline data is to be displayed in the outline data in a storage device, character font reading means for reading the character font information, and read character font information And an outline data processing means for processing outline data to correct the shape of a character, and a bitmap developing means for developing the corrected outline data into a bitmap. Character processor.
【請求項2】 文字フォント情報として、アウトライン
・デ−タと、該アウトライン・デ−タの文字毎の筆順始
点および筆順終点の位置情報と、筆順始点側および筆順
終点側の双方の変形を開始する位置情報と、個々のアウ
トライン・デ−タを補正するか否かの情報と、筆順始点
側および筆順終点側の双方にアウトライン・デ−タをど
のくらい加工するかの変形率とを、記憶装置に登録して
おき、該記憶装置から上記文字フォント情報を読み出し
て、アウトライン・デ−タを上記筆順始点側および筆順
終点側毎に変形率に従って加工し、加工された点を更新
した後、補正されたアウトライン・デ−タからビットマ
ップに展開し、プリンタまたは表示出力とすることを特
徴とする文字出力方法。
2. As character font information, outline data, positional information of a stroke order start point and a stroke order end point for each character of the outline data, and transformation of both a stroke order start point and a stroke order end point are started. Storage information, information on whether or not individual outline data is to be corrected, and a deformation rate of how much outline data is to be processed on both the stroke order start point side and the stroke order end point side. The character font information is read from the storage device, the outline data is processed according to the deformation ratio for each of the stroke order start point side and the stroke order end point side, and the processed points are updated and corrected. A character output method for developing the outline data into a bit map and outputting it to a printer or a display output.
JP4259392A 1992-09-29 1992-09-29 Character processing device and character output method Expired - Lifetime JP2856235B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4259392A JP2856235B2 (en) 1992-09-29 1992-09-29 Character processing device and character output method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4259392A JP2856235B2 (en) 1992-09-29 1992-09-29 Character processing device and character output method

Publications (2)

Publication Number Publication Date
JPH06110444A JPH06110444A (en) 1994-04-22
JP2856235B2 true JP2856235B2 (en) 1999-02-10

Family

ID=17333503

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4259392A Expired - Lifetime JP2856235B2 (en) 1992-09-29 1992-09-29 Character processing device and character output method

Country Status (1)

Country Link
JP (1) JP2856235B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050152600A1 (en) * 2004-01-14 2005-07-14 International Business Machines Corporation Method and apparatus for performing handwriting recognition by analysis of stroke start and end points
JP7171145B2 (en) * 2019-02-13 2022-11-15 株式会社ワコム Character data generator, method and program

Also Published As

Publication number Publication date
JPH06110444A (en) 1994-04-22

Similar Documents

Publication Publication Date Title
US5404431A (en) Image drawing with improved area ratio approximation process
JP2856235B2 (en) Character processing device and character output method
JP3189345B2 (en) Character display processing method
JPH11109943A (en) Font processor and recording medium recorded with font processing program
JPH0877324A (en) Electronic filing device
JPS62105266A (en) Character processor
JPH1031667A (en) Word processor
JP2893836B2 (en) Document creation device and document creation method
JP2782752B2 (en) Character pattern output device
JPH03184182A (en) Character output layout determination system
JPH0333896A (en) Font plotting device
JP3033152B2 (en) Outline data processing device
JP2958784B2 (en) Image processing device
JP3035973B2 (en) Character output device
JPH0333895A (en) Font plotting device
JPH03107897A (en) Pattern generator
JPH06175637A (en) Method for generating character
JPH07141336A (en) Character producing device
JPH11110150A (en) Image processing system, method therefor and computer-readable recording medium recording image processing control program
JPH02288985A (en) Information processor equipped with data reducing / enlarging function and developing function
JPH05216456A (en) Character output device
JPH0272357A (en) Layout simulation device
EP0477122A2 (en) Method of utilizing fixed font metrics in a device using relative font metrics
JPH06324667A (en) Data converting device
JPH06231237A (en) Method for reducing picture

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R370 Written measure of declining of transfer procedure

Free format text: JAPANESE INTERMEDIATE CODE: R370

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20081127

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20091127

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20091127

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20101127

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20101127

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20111127

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20121127

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20121127

Year of fee payment: 14

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20121127

Year of fee payment: 14

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term