JPH0580742A - Character data processing system - Google Patents

Character data processing system

Info

Publication number
JPH0580742A
JPH0580742A JP3245487A JP24548791A JPH0580742A JP H0580742 A JPH0580742 A JP H0580742A JP 3245487 A JP3245487 A JP 3245487A JP 24548791 A JP24548791 A JP 24548791A JP H0580742 A JPH0580742 A JP H0580742A
Authority
JP
Japan
Prior art keywords
character
overlap
reference line
character pattern
attribute information
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
JP3245487A
Other languages
Japanese (ja)
Inventor
Akira Naito
彰 内藤
Ritsuko Hosoya
律子 細谷
Sayuri Ooshima
早由里 大島
Akira Nakajima
晃 中島
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 JP3245487A priority Critical patent/JPH0580742A/en
Publication of JPH0580742A publication Critical patent/JPH0580742A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To improve the operability by providing a means which decides and corrects an overlap of characters in processing for arraying a character string on the screen of a display device. CONSTITUTION:In an image memory development step 109, the character string is developed on an image memory according to setting data of a reference line drawing setting step 101, a character string setting step 102, and an attribute information setting step 103. If the overlap of characters is confirmed in an overlap decision making step 106, the setting data are altered in an overlap correction step 108.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、文字データ処理装置及
び方式に係り、特に、ワードプロセッサ等の文字データ
を表示、印刷する文書作成システムに対して文字列の配
列を効率的に行うことを可能とする文字データ処理方式
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character data processing device and method, and more particularly to efficiently arranging character strings in a document creation system for displaying and printing character data such as a word processor. And the character data processing method.

【0002】[0002]

【従来の技術】文字データ処理において、文字列を表示
装置画面上などに設定された画像領域内に配列する場
合、画像領域に対し水平方向、垂直方向に配列する以外
に、斜め方向、円弧等の曲線に沿った方向に配列する方
法が使用される。この種の文字列の配列は、配列位置の
基準とする直線、円弧等の基準線図形を該画像領域内に
設定し、基準線図形に沿った位置に文字列を構成する文
字パターンを展開する処理により実現できる。
2. Description of the Related Art In character data processing, when character strings are arranged in an image area set on a screen of a display device, in addition to arranging them in the horizontal and vertical directions with respect to the image area, diagonal directions, arcs, etc. The method of arranging in the direction along the curve of is used. In this kind of character string arrangement, a reference line figure such as a straight line or an arc which is a reference of the arrangement position is set in the image area, and a character pattern forming the character string is developed at a position along the reference line figure. It can be realized by processing.

【0003】ところで、これら設定された属性情報と基
準線図形の組合せによっては、文字列を構成する文字パ
ターン間で重なりが生じることがあった。このような文
字パターン間の重なりが発生してしまった場合、従来技
術によって重なりを除去することは可能ではあったが、
操作性に問題があった。以下、問題点について、図2の
文字列の配列例を用いながら説明する。
By the way, depending on the combination of the set attribute information and the reference line figure, the character patterns forming the character string may overlap with each other. When such an overlap between character patterns occurs, it was possible to remove the overlap by the conventional technique,
There was a problem in operability. Hereinafter, the problem will be described with reference to the arrangement example of the character strings in FIG.

【0004】また、文字パターンを定義する二次元ドッ
トマトリクスが、画像メモリに展開された際に占める領
域を、文字パターン枠と定義する。実際の表示において
文字パターン枠は現れないが、本明細書内では説明の都
合上、矩形で表現している。図2(a)〜(d)を通し
て、201は表示装置画面上等に設定された画像領域を
示す。ここで、図2(a)に示されるような円弧状の基
準線図形202に沿って、文字列を配列する場合を想定
する。図2(b)は、三個の文字パターン203〜20
5を、基準線図形202に沿って、且つ、基準図形20
2の両端点間に配列した場合である。この場合のよう
に、文字パターン枠サイズ等の属性情報及び基準線図形
の設定内容によっては、文字パターン枠間の重なりは発
生しない。しかし、図2(c)のように、基準線図形2
02上に四個の文字パターン203〜206を同様に配
列する場合、相対的に隣接する文字パターン枠間の間隔
が狭まった結果、文字パターン枠間の重なりが発生す
る。多くの場合、文字パターン枠間の重なりは、操作者
に意図に反して発生する。
The area occupied by the two-dimensional dot matrix defining the character pattern when developed in the image memory is defined as a character pattern frame. Although the character pattern frame does not appear in the actual display, it is expressed as a rectangle in this specification for convenience of description. 2A to 2D, 201 indicates an image area set on the screen of the display device or the like. Here, it is assumed that the character strings are arranged along the arc-shaped reference line graphic 202 as shown in FIG. FIG. 2B shows three character patterns 203 to 20.
5 along the reference line figure 202 and the reference figure 20
This is the case where they are arranged between the two end points. As in this case, the character pattern frames do not overlap with each other depending on the attribute information such as the character pattern frame size and the setting contents of the reference line graphic. However, as shown in FIG.
When the four character patterns 203 to 206 are similarly arranged on 02, the space between the character pattern frames adjacent to each other is narrowed, and as a result, the character pattern frames overlap each other. In many cases, the overlap between the character pattern frames occurs unintentionally to the operator.

【0005】このような操作者の意図しない文字パター
ン枠間の重なりの発生について、従来の技術では判別を
行なう手段が無かったため、操作者自身が表示装置画面
などに、一旦、表示された配列結果を確認し、重なりの
発生を判別するという作業をしなければならなかった。
Since there is no means for discriminating the occurrence of such an overlap between the character pattern frames which is not intended by the operator in the prior art, the operator himself / herself once displayed the display on the display screen or the like. Had to be checked and the occurrence of overlap had to be determined.

【0006】更に、このような文字パターン枠間の重な
りを除去する場合には、同様に操作者自身が表示された
配列結果を確認しながら、重なりが除去されるまで属性
情報あるいは基準線図形などの設定を変更していた。例
えば、図2(d)は基準線図形202の一端を延長する
ように変更していき、重なりの除去を行っている途中経
過を示している。操作者はこのような途中の配列結果を
確認しながら、変更の度合いの修正を繰り返していた。
Further, in the case of removing the overlap between the character pattern frames, the operator also confirms the displayed array result in the same manner, and until the overlap is removed, the attribute information or the reference line figure is displayed. Had changed the settings. For example, FIG. 2D shows an intermediate process in which one end of the reference line graphic 202 is changed to be extended and the overlap is removed. The operator repeatedly corrected the degree of change while confirming such an array result in the middle.

【0007】以上のように、操作者は文字パターン枠間
の重なりの発生確認及び、重なりの除去のための修正操
作の度に配列結果を確認しなければならず、操作性に問
題があった。
As described above, the operator has to confirm the arrangement result every time the overlap between the character pattern frames is confirmed and the correction operation is performed to remove the overlap, which causes a problem in operability. ..

【0008】[0008]

【発明が解決しようとする課題】本発明の目的は、文字
列の配列処理において、操作性の向上を図ることであ
り、特に、文字パターン枠間の重なりの発生しやすい文
字列の配列、例えば、円弧などの曲線に沿った配列、ま
たは指示した基準線図形内の区間からはみ出さないか、
あるいは、はみ出しを極力抑えた配列などを行う場合に
操作者の負担を軽減し効率的な文字データ処理環境を提
供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to improve operability in character string arrangement processing, and in particular, an arrangement of character strings in which overlapping between character pattern frames easily occurs, for example, Arranged along a curved line such as a circular arc, or not protruding from the section in the designated reference line figure,
Alternatively, another object is to provide an efficient character data processing environment by reducing the burden on the operator when the arrangement such as the protrusion is suppressed as much as possible.

【0009】[0009]

【課題を解決するための手段】上記目的は、隣接する文
字パターン枠間の重なりを判別する手段と、文字パター
ン枠間の重なり補正手段を、従来技術に対して新たに設
けることにより達成することができる。
The above object can be achieved by newly providing a means for discriminating the overlap between adjacent character pattern frames and a means for correcting the overlap between the character pattern frames with respect to the prior art. You can

【0010】[0010]

【作用】隣接する文字パターン枠間の重なりを判別する
手段は、設定された属性情報及び基準線図形データに基
いて、隣接する文字パターン枠間の重なりの発生を判別
する。文字パターン枠間の重なり補正手段は、重なりが
発生した場合のみ、設定された属性情報あるいは基準線
図形データを変更する。
The means for determining the overlap between the adjacent character pattern frames determines the occurrence of the overlap between the adjacent character pattern frames based on the set attribute information and the reference line graphic data. The overlap correction unit between the character pattern frames changes the set attribute information or the reference line graphic data only when the overlap occurs.

【0011】[0011]

【実施例】本発明の実施例について図面を用いて説明す
る。図1は、本方式の一例を示すフローチャートであ
る。ここで、図2で示した円弧202上に文字列を配置
する場合を用いて、図1の処理について説明する。
Embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a flowchart showing an example of this method. Here, the processing of FIG. 1 will be described using the case where a character string is arranged on the arc 202 shown in FIG.

【0012】先ず、基準線設定ステップ101におい
て、図2(a)に示されるように円弧202を設定す
る。この基準線図形の設定に関しては、新規に基準線図
形を従来の図形描画操作によって設定する以外に、既に
描画されている他の図形の一部あるいは全体を指示する
ことにより設定することも可能である。また、原則とし
て文字列はこの基準線が設定された区間内に配列され
る。文字列設定ステップ102において、配列対象とす
る文字列データを入力装置あるいは記憶装置から取り込
む。ここでは、三文字から構成される文字列を設定す
る。属性情報設定ステップ103において、配列する文
字パターン枠のサイズ、隣接文字パターン枠間の間隔及
び、縦書き横書き等の文字向きなどの属性情報を入力装
置あるいは記憶装置から取り込む。隣接文字パターン枠
間の間隔の設定については、直接に間隔量を設定する方
法以外に、基準線図形の長さと文字数から均等間隔にす
るように間接的に算出し設定する方法などがある。展開
位置計算ステップ104で、三ステップの設定情報に基
づき、文字パターンを展開すべき画像メモリ上の位置と
文字パターンの回転角度を算出して設定する。ここで
は、展開する位置として、文字パターン枠の中心が展開
時に対応する位置とする。この位置は、文字パターン枠
の上端点、下端点などに設定することも可能である。
First, in the reference line setting step 101, an arc 202 is set as shown in FIG. Regarding the setting of this reference line figure, in addition to newly setting the reference line figure by the conventional figure drawing operation, it is also possible to set it by instructing part or all of the other figures already drawn. is there. In principle, the character strings are arranged in the section where the reference line is set. In the character string setting step 102, the character string data to be arranged is fetched from the input device or the storage device. Here, a character string consisting of three characters is set. In the attribute information setting step 103, attribute information such as the size of the character pattern frames to be arranged, the interval between adjacent character pattern frames, and the orientation of characters such as vertical writing and horizontal writing is fetched from the input device or the storage device. Regarding the setting of the interval between the adjacent character pattern frames, in addition to the method of directly setting the interval amount, there is a method of indirectly calculating and setting the uniform interval from the length of the reference line figure and the number of characters. In the expansion position calculation step 104, the position on the image memory where the character pattern is to be expanded and the rotation angle of the character pattern are calculated and set based on the setting information of the three steps. Here, the position where the character pattern frame is expanded corresponds to the position where the character pattern frame is expanded. This position can be set to the upper end point, the lower end point, or the like of the character pattern frame.

【0013】もし、操作者が文字列内の文字パターン枠
間の重なりの発生を許可するのであれば、重なり許可判
定ステップ105で判断し、文字パターン枠間の重なり
の発生判定及び補正処理を行わない。その場合、属性情
報設定ステップ103及び文字パターン展開位置設定ス
テップ104で設定された内容に基づき、画像メモリ展
開ステップ109で文字パターンを画像メモリへ展開
し、文字列表示ステップ110で表示装置に表示する。
If the operator permits the occurrence of the overlap between the character pattern frames in the character string, it is determined in the overlap permission determining step 105, and the occurrence determination and the correction processing of the overlap between the character pattern frames are performed. Absent. In that case, based on the contents set in the attribute information setting step 103 and the character pattern development position setting step 104, the character pattern is developed in the image memory in the image memory development step 109 and displayed on the display device in the character string display step 110. ..

【0014】しかし、操作者が本発明に基づく文字パタ
ーン枠間の重なりの発生の判定及び補正処理を行うので
あれば、重なり許可判定ステップ105で判断し、画像
メモリ展開ステップ109で文字パターンを展開する前
に、文字パターン枠間の重なり発生の判定及び補正処理
を行う。
However, if the operator decides and corrects the occurrence of the overlap between the character pattern frames according to the present invention, the decision is made in the overlap permission judgment step 105, and the character pattern is expanded in the image memory expansion step 109. Before this, determination and correction processing of occurrence of overlap between the character pattern frames are performed.

【0015】以下、重なり許可ステップ105で、文字
パターン枠間の重なりの発生の判定及び補正処理を行う
と判定した場合について説明を続ける。
Hereinafter, the case where it is determined in the overlap permission step 105 that the occurrence of the overlap between the character pattern frames and the correction process will be performed will be continued.

【0016】重なり判定ステップ106で、属性情報設
定ステップ103及び文字パターン展開位置設定ステッ
プ104で設定された内容に基づき文字パターンを展開
する場合を仮定し、文字パターン枠間の重なり発生の有
無を判定する。重なり判定ステップ106の処理の一例
を図3のフローチャートを用いて説明する。また、図4
は円弧状の基準線図形に文字列を配列する場合の、隣接
する二個の文字パターン枠間の関係を示している。ここ
で、隣接する文字の基点間隔という量を定義する。文字
基点間隔とは、隣接する二個の文字パターン枠内の指示
した基点、例えば、文字パターン枠の中心点の間隔とす
る。ただし、直線状の基準線図形など一般的な場合、文
字基点間隔の距離を使用するが、図4のように円弧状の
基準線図形の場合、注目する二個の文字パターン枠内の
基点と円中心点のなす角度を使用することも可能であ
る。図4(a)の場合、二個の文字パターン枠403と
404の基点間隔として、二個の文字基点405と40
6及び円中心402のなす角度407を使用する。続い
て処理の説明に入る。先ず、接触間隔計算ステップ30
1において、文字列内の注目する二個の隣接文字パター
ン枠が接触する状態での文字基点間隔を計算する。図4
(b)は、二個の文字パターン枠403と404が接触
する状態を示している。この状態は、あくまでも計算の
都合上仮定したもので、実際に配列した結果ではない。
この状態での文字基点間隔を接触基点間隔と呼ぶことに
する。この場合の接触基点間隔410は、文字基点40
5と円中心402と接触点411のなす角度408、及
び文字基点406と円中心402と接触点411のなす
角度409の和によって与えられる。これらの角度40
8と角度409は、円の半径と二個の文字パターン枠4
03と404のサイズを用いて、幾何学的に計算可能で
ある。続いて、展開間隔計算ステップ302において、
現段階で設定されている属性情報、展開位置のままで文
字パターンを展開する状態を同様に仮定し、その文字基
点間隔を計算する。図4の場合、図4(a)及び(c)
の角度407を、二個の文字基点405と406及び円
中心402の位置から幾何学的に計算する。次に、ステ
ップ301で計算した接触基点間隔と、ステップ302
で計算した文字基点間隔を、基点間隔比較ステップ30
3において比較する。もし、接触基点間隔の方が大きい
場合には重なりが発生すると判定し、また、逆の場合に
は、重なりは発生しないと判定する。例えば、図4
(a)の場合、文字基点間隔407は、図4(b)の接
触基点間隔410より小さいので、重なりが発生すると
判定する。同様に図4(c)の場合、文字基点間隔40
7は、接触基点間隔410より大きいので、重なりは発
生しないと判定する。以上の図3で示した処理を、文字
列内の全ての隣接文字パターン枠間について適用するこ
とにより、文字列に対する文字パターン枠間の重なりの
発生を判定することができる。
In the overlap determination step 106, it is determined whether or not an overlap between the character pattern frames has occurred on the assumption that the character patterns are expanded based on the contents set in the attribute information setting step 103 and the character pattern expansion position setting step 104. To do. An example of the processing of the overlap determination step 106 will be described with reference to the flowchart of FIG. Also, FIG.
Shows the relationship between two adjacent character pattern frames when arranging a character string in an arc-shaped reference line figure. Here, the amount of the base point interval between adjacent characters is defined. The character base point interval is an interval between designated base points in two adjacent character pattern frames, for example, the center points of the character pattern frames. However, in a general case such as a linear reference line figure, the distance of the character base point interval is used, but in the case of an arc-shaped reference line figure as shown in FIG. It is also possible to use the angle formed by the circle center points. In the case of FIG. 4A, two character base points 405 and 40 are set as the base point intervals of the two character pattern frames 403 and 404.
The angle 407 formed by 6 and the circle center 402 is used. Next, the process will be described. First, contact interval calculation step 30
In 1, the character base point interval in the state where the two adjacent character pattern frames of interest in the character string contact each other is calculated. Figure 4
(B) has shown the state which two character pattern frames 403 and 404 contact. This state is assumed for the sake of calculation and is not the result of actual arrangement.
The character base point interval in this state will be referred to as a contact base point interval. The contact base point interval 410 in this case is the character base point 40.
5 and the circle center 402 and the contact point 411 form an angle 408, and the character base point 406, the circle center 402 and the contact point 411 form an angle 409. These angles 40
8 and the angle 409 are the radius of the circle and the two character pattern frames 4
Geometrically calculable using sizes of 03 and 404. Then, in the expansion interval calculation step 302,
Similarly, assuming that the character pattern is developed with the attribute information and the development position set at the present stage, the character base point interval is calculated. In the case of FIG. 4, FIGS. 4 (a) and 4 (c)
407 is geometrically calculated from the positions of the two character base points 405 and 406 and the circle center 402. Next, the contact base point interval calculated in step 301 and step 302
The character base point interval calculated in
Compare in 3. If the distance between the contact base points is larger, it is determined that the overlap occurs, and in the opposite case, it is determined that the overlap does not occur. For example, in FIG.
In the case of (a), the character base point interval 407 is smaller than the contact base point interval 410 of FIG. 4B, so it is determined that an overlap occurs. Similarly, in the case of FIG. 4C, the character base point interval 40
Since No. 7 is larger than the contact base point interval 410, it is determined that no overlap occurs. By applying the processing shown in FIG. 3 to all the adjacent character pattern frames in the character string, it is possible to determine the occurrence of the overlap between the character pattern frames with respect to the character string.

【0017】図1のフローチャートの説明に戻る。重な
り判定ステップ106で文字パターン枠間の重なりが発
生しないと判定された場合には、重なり補正許可ステッ
プ107において、重なり補正処理の必要は無いと判定
される。逆に、文字パターン枠間の重なりが発生すると
判定された場合には、重なり許可判定ステップ107に
おいて、重なり補正処理の必要ありと判定され、重なり
補正ステップ108を実行する。
Returning to the explanation of the flowchart of FIG. When it is determined in the overlap determination step 106 that the character pattern frames do not overlap with each other, it is determined in the overlap correction permission step 107 that the overlap correction process is not necessary. On the contrary, when it is determined that the overlap between the character pattern frames occurs, it is determined that the overlap correction processing is necessary in the overlap permission determination step 107, and the overlap correction step 108 is executed.

【0018】続いて、重なり補正ステップ108を実現
する一例を図5のフローチャートを用いて、簡単に説明
する。先ず、重なり文字列長計算ステップ501におい
て、文字パターン枠間の重なりがある状態での文字列の
基準線図形に沿った長さを計算する。基準線図形の設定
された区間内に文字列を配列すると指定した場合は、基
準線図形の長さに等しい値となることは明らかである。
次に、接触文字列長計算ステップ502において、各文
字パターン枠が接触した状態での文字列の基準線図形に
沿った長さを計算する。そして、補正長計算ステップ5
03において、ステップ501及び502の計算結果の
差を補正長として求める。図6(a)は、実線で示した
基準線図形601の区間内に文字列を配列するはずが、
文字パターン枠間の重なりが発生したため、破線で示さ
れる補正長602が生じることを図形的に表している。
次に、補正の方法として、基準線図形を変更するのか、
属性情報を変更するのかを補正方法選択ステップ504
で選択する。通常は、予め設定されている補正方法が選
択される。先ず、属性情報を変更する方法について説明
する。ここでは、変更する属性情報として、文字パター
ン枠幅を用いた例を説明する。文字縮小率計算ステップ
505で、ステップ502で計算した文字列長に対する
ステップ501で計算した文字列長の比率を計算し、こ
れを文字パターン枠幅の縮小率とする。文字サイズ変更
ステップ506において、比率に従って文字列内の全て
の文字パターン枠幅を縮小する。そして、展開位置変更
ステップ508において、変更した属性情報に基づき、
各文字パターンの画像メモリ内への展開位置を再計算し
変更する。この補正結果を表示すると、図6(b)のよ
うになる。また、基準線図形の延長を認めるのであれ
ば、補正方法選択ステップ504において、基準線図形
の変更による補正方法が選択される。その場合、基準線
図形変更ステップ507で、ステップ503で求めた補
正長分を、基準線図形の一端あるいは両端に対し延長す
る。図6(c)は、基準線図形の両端に対し延長した補
正結果を示す。図6(c)中の基準線図形601の両端
の破線部分603を補正処理で延長している。
Next, an example of realizing the overlap correction step 108 will be briefly described with reference to the flowchart of FIG. First, in the overlapping character string length calculation step 501, the length of the character string along the reference line figure in the state where the character pattern frames overlap each other is calculated. When the character string is specified to be arranged in the set section of the reference line figure, it is obvious that the value becomes equal to the length of the reference line figure.
Next, in a contact character string length calculation step 502, the length of the character string along the reference line figure in a state where each character pattern frame is in contact is calculated. Then, the correction length calculation step 5
In 03, the difference between the calculation results of steps 501 and 502 is obtained as the correction length. In FIG. 6A, the character strings should be arranged in the section of the reference line figure 601 indicated by the solid line,
It is graphically represented that the correction length 602 indicated by the broken line is generated due to the overlap between the character pattern frames.
Next, as a correction method, whether to change the reference line figure,
Correction method selection step 504 whether to change the attribute information
Select with. Usually, a preset correction method is selected. First, a method of changing the attribute information will be described. Here, an example will be described in which a character pattern frame width is used as the attribute information to be changed. In the character reduction ratio calculation step 505, the ratio of the character string length calculated in step 501 to the character string length calculated in step 502 is calculated, and this is set as the reduction ratio of the character pattern frame width. In the character size changing step 506, all character pattern frame widths in the character string are reduced according to the ratio. Then, in the expansion position changing step 508, based on the changed attribute information,
The expansion position of each character pattern in the image memory is recalculated and changed. When this correction result is displayed, it becomes as shown in FIG. Further, if the extension of the reference line figure is recognized, a correction method by changing the reference line figure is selected in the correction method selection step 504. In that case, in the reference line figure changing step 507, the correction length obtained in step 503 is extended to one end or both ends of the reference line figure. FIG. 6C shows the correction result extended to both ends of the reference line figure. The broken line portions 603 at both ends of the reference line figure 601 in FIG. 6C are extended by the correction process.

【0019】重なり補正処理ステップ108の実行後
は、図1のフローチャートに示されるように、画像メモ
リ展開ステップ109及び文字列表示ステップ110を
経て、処理を終了する。
After execution of the overlap correction processing step 108, as shown in the flow chart of FIG. 1, the processing is completed after the image memory developing step 109 and the character string displaying step 110.

【0020】図7は文字列の本発明を適用した配列結果
例を示している。本発明の処理方式によれば、操作者は
文字パターン枠間の重なりの補正操作などを行うこと無
く、以下に示すような文字列の配列が可能となる。図7
(a)に示す四個の文字パターンを、図7(b)に示す
基準線図形701に沿って、同じ文字パターン回転角度
で配列した結果を図7(c)に示す。また、図7(d)
に示す基準線図形702に沿って横書き方向に配列した
結果を図7(e)に示す。以上までは、補正後の文字パ
ターン枠の間隔が0になる、つまり、文字パターン枠が
接触する状態に補正する場合を述べてきたが、この補正
後の文字間隔を0以外の値に設定することも可能であ
る。その場合の配列結果を図7(f)に示す。
FIG. 7 shows an example of the arrangement result of the character string according to the present invention. According to the processing method of the present invention, the operator can arrange the character strings as described below without performing an operation of correcting the overlap between the character pattern frames. Figure 7
FIG. 7C shows the result of arranging the four character patterns shown in FIG. 7A at the same character pattern rotation angle along the reference line graphic 701 shown in FIG. 7B. Also, FIG. 7 (d)
FIG. 7E shows the result of arrangement in the horizontal writing direction along the reference line figure 702 shown in FIG. Up to this point, the case has been described in which the corrected space between the character pattern frames becomes 0, that is, the correction is performed so that the character pattern frames are in contact with each other. However, the corrected character space is set to a value other than 0. It is also possible. The array result in that case is shown in FIG.

【0021】最後に、本発明を実現する機器構成を図8
に従って説明する。機器構成は、配列する文字列データ
の入力、基準線図形データの入力、属性情報の入力及び
操作指示を行うキーボード等による入力装置801、文
字列データ、基準線図形データ及び属性情報等を記憶す
る記憶装置802、画像メモリに展開された文字パター
ンなどを表示するCRT等の表示装置803、及び各部
の制御、その他データ処理を行う制御装置804から構
成される。制御装置804は、入力装置801または記
憶装置802からの文字列データ等あるいは操作指示を
受け付けるデータ入力部805、本発明の処理方式に基
づき文字パターン枠間の重なりの発生を判定する重なり
判定部806、本発明の処理方式に基づき文字パターン
枠間の重なりを除去する重なり補正部807、データ入
力部から受け取った基準線図形データ、属性情報及び文
字列データに基づき、画像メモリ810へ文字パターン
を展開するデータ展開部808、画像メモリ810に展
開された画像データを表示装置803に出力するデータ
表示部809より構成される。
Finally, FIG. 8 shows a device configuration for realizing the present invention.
Follow the instructions below. The device configuration stores an input device 801 such as a keyboard for inputting arrayed character string data, reference line graphic data, attribute information and operating instructions, character string data, reference line graphic data and attribute information. A storage device 802, a display device 803 such as a CRT that displays a character pattern expanded in an image memory, and a control device 804 that controls each part and performs other data processing. The control device 804 includes a data input unit 805 that receives character string data or the like from the input device 801 or the storage device 802 or an operation instruction, and an overlap determination unit 806 that determines the occurrence of an overlap between character pattern frames based on the processing method of the present invention. An overlapping correction unit 807 for removing an overlap between character pattern frames based on the processing method of the present invention, and a character pattern is expanded in the image memory 810 based on the reference line graphic data, the attribute information and the character string data received from the data input unit. And a data display unit 809 for outputting the image data expanded in the image memory 810 to the display device 803.

【0022】[0022]

【発明の効果】本発明によれば、文字列を文字パターン
枠間の重なりが無いように配列する場合、操作者は重な
りの発生を意識せずに文字列の配列を行うことが可能と
なる。
According to the present invention, when the character strings are arranged so that there is no overlap between the character pattern frames, the operator can arrange the character strings without being aware of the occurrence of the overlap. ..

【0023】特に、文字パターン枠間の重なりの発生し
やすい文字列の配列、例えば円弧などの曲線に沿った配
列、または指示した基準線図形内の区間からはみ出さな
いかあるいは、はみ出しを極力抑えた配列、などを行う
場合に操作者の負担を軽減し、操作性を向上させる。
In particular, the arrangement of character strings in which overlapping between character pattern frames is likely to occur, for example, arrangement along a curve such as a circular arc, or not protruding from a designated reference line figure section or suppressing the protruding as much as possible It reduces the burden on the operator and improves the operability when performing such arrangements.

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

【図1】本発明に基づいた処理の一例を示すフローチャ
ート、
FIG. 1 is a flowchart showing an example of processing according to the present invention,

【図2】文字列の配列例を示した説明図、FIG. 2 is an explanatory diagram showing an arrangement example of character strings,

【図3】文字パターン枠間の重なりを判別する処理の一
例のフローチャート、
FIG. 3 is a flowchart of an example of processing for determining overlap between character pattern frames,

【図4】文字パターン枠間の重なりを判別する処理の説
明に用いた説明図、
FIG. 4 is an explanatory diagram used for explaining a process for determining an overlap between character pattern frames,

【図5】文字パターン枠間の重なりを補正する処理の一
例のフローチャート、
FIG. 5 is a flowchart of an example of processing for correcting overlap between character pattern frames,

【図6】文字パターン枠間の重なりを補正する処理の説
明図、
FIG. 6 is an explanatory diagram of a process of correcting overlap between character pattern frames,

【図7】本発明による文字配列の処理例を示した説明
図、
FIG. 7 is an explanatory diagram showing a processing example of a character array according to the present invention;

【図8】本発明を実現する機器構成を示した説明図。FIG. 8 is an explanatory diagram showing a device configuration for implementing the present invention.

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

101…基準線図形設定ステップ,102…文字列設定
ステツプ,103…属性情報設定ステップ、104…展
開位置計算ステップ、105…重なり許可判定ステッ
プ、106…重なり判定ステップ、107…重なり補正
許可判定ステップ、108…重なり補正ステップ、10
9…画像メモリ展開ステップ、110…文字列表示ステ
ップ。
101 ... Reference line figure setting step, 102 ... Character string setting step, 103 ... Attribute information setting step, 104 ... Expansion position calculation step, 105 ... Overlap permission determination step, 106 ... Overlap determination step, 107 ... Overlap correction permission determination step, 108 ... Overlap correction step, 10
9 ... Image memory development step, 110 ... Character string display step.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 大島 早由里 横浜市戸塚区吉田町292番地株式会社日立 製作所マイクロエレクトロニクス機器開発 研究所内 (72)発明者 中島 晃 横浜市戸塚区吉田町292番地株式会社日立 製作所マイクロエレクトロニクス機器開発 研究所内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Sayuri Oshima 292 Yoshida-cho, Totsuka-ku, Yokohama City Hitachi, Ltd. Microelectronics Device Development Laboratory (72) Inventor Akira Nakajima 292 Yoshida-cho, Totsuka-ku, Yokohama Hitachi, Ltd. Microelectronics Device Development Laboratory

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】文字列データもしくは、それに準じる図形
パターン列データなどを入力装置によって入力する手段
と、文字列の配列位置の基準とする基準線図形を入力装
置によって入力する手段と、前記文字列データを画像メ
モリ上に展開する際に参照する、文字パターン枠サイ
ズ、隣接文字パターン枠間の距離などから構成される属
性情報を設定する手段と、文字列を構成する各文字パタ
ーンを前記基準線図形に沿うように、設定された属性情
報に基づき画像メモリ内に展開する手段と、前記画像メ
モリ内データを表示装置に表示する手段をもつ文字デー
タ処理方式において、 前記文字列内の任意の隣接する二個の文字パターン枠に
対して、設定された属性情報に基づいて展開する場合
に、二個の文字パターン枠間の重なりが発生するか否か
を判別する手段と、 前記判別手段により、隣接する文字パターン枠間の重な
りが発生すると判別した場合に限り、前記属性情報ある
いは前記基準線図形を変更する手段をもつことを特徴と
した文字データ処理方式。
1. A means for inputting character string data or graphic pattern string data corresponding thereto by an input device, a means for inputting a reference line graphic which is a reference of an array position of the character string by an input device, and the character string. A means for setting attribute information composed of a character pattern frame size, a distance between adjacent character pattern frames, and the like, which is referred to when data is expanded on an image memory, and each character pattern forming a character string is defined by the reference line. In a character data processing method having means for expanding in the image memory based on the set attribute information so as to follow the figure, and means for displaying the data in the image memory on a display device, an arbitrary adjacency in the character string Whether two character pattern frames will overlap when they are expanded based on the set attribute information. Character data processing characterized in that it has means for discriminating the attribute information or the reference line figure only when it is discriminated by the discriminating means that an overlap between adjacent character pattern frames occurs. method.
【請求項2】請求項1において、 前記属性情報あるいは前記基準線図形を変更する機能と
して、前記文字パターン枠間の重なり状態を除去するよ
うに前記属性情報あるいは前記基準線図形を変更する文
字データ処理方式。
2. The character data for changing the attribute information or the reference line figure so as to remove the overlapping state between the character pattern frames as a function of changing the attribute information or the reference line figure. Processing method.
【請求項3】請求項1において、 前記属性情報あるいは前記基準線図形を変更する手段と
して、前記文字パターン枠間の重なりが発生した文字パ
ターン枠間の最短距離が0になるように、文字列を構成
する文字の文字パターン枠サイズを縮小する文字データ
処理方式。
3. The character string according to claim 1, wherein the character string is used as a means for changing the attribute information or the reference line graphic so that the shortest distance between the character pattern frames in which the character pattern frames are overlapped becomes zero. Character data processing method that reduces the size of the character pattern frame of the characters that make up
【請求項4】請求項1において、 前記属性情報あるいは前記基準線図形を変更する手段と
して、前記パターン枠間の重なりが発生した文字パター
ン枠間の最短距離が0になるように、前記基準線図形の
一端あるいは両端を延長する文字データ処理方式。
4. The reference line according to claim 1, as a means for changing the attribute information or the reference line figure, so that the shortest distance between the character pattern frames in which the pattern frames are overlapped becomes zero. A character data processing method that extends one or both ends of a figure.
JP3245487A 1991-09-25 1991-09-25 Character data processing system Pending JPH0580742A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3245487A JPH0580742A (en) 1991-09-25 1991-09-25 Character data processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3245487A JPH0580742A (en) 1991-09-25 1991-09-25 Character data processing system

Publications (1)

Publication Number Publication Date
JPH0580742A true JPH0580742A (en) 1993-04-02

Family

ID=17134395

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3245487A Pending JPH0580742A (en) 1991-09-25 1991-09-25 Character data processing system

Country Status (1)

Country Link
JP (1) JPH0580742A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2013024505A1 (en) * 2011-08-15 2015-03-05 三菱電機株式会社 String arrangement device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2013024505A1 (en) * 2011-08-15 2015-03-05 三菱電機株式会社 String arrangement device
US9418461B2 (en) 2011-08-15 2016-08-16 Mitsubishi Electric Corporation Character string placement device

Similar Documents

Publication Publication Date Title
JPH07114548A (en) Label generating device
JPH0580742A (en) Character data processing system
JPH08123973A (en) Image display device
JPH0760308B2 (en) Image display magnification setting device
JPH08221589A (en) Device and method for preparing graphic frame
JP3177359B2 (en) Graphic drawing device
JPH05143706A (en) Method and device for correcting graphic
JPH07320077A (en) Area specifying device
JP3100218B2 (en) Output data item separation method
JP3072949B2 (en) Document editing system
JP2683114B2 (en) Curve control device
JP3807052B2 (en) Graphic drawing apparatus and storage medium
JPH02130690A (en) Graphic processor
JPH0651743A (en) Inclined character display system
JP2595196B2 (en) Table setting method
JP3103919B2 (en) Animation creation method and apparatus
JP2575636B2 (en) Graphic display device
JPH05135034A (en) Document processing method
JPH06110442A (en) Character and figure processor and method for deforming character of figure
JPH06236365A (en) Word processor and format setting method
JPH05143053A (en) Word processor provided with enlarging and smoothing function
JPH11109940A (en) Countour editing device for image data and countour editing method for the image data and recording medium
JPH07334341A (en) Window controller
JPH0477788A (en) Character font enlarging and displaying device
JPH06259525A (en) Character arranging system