JPS6325693A - String layout apparatus - Google Patents

String layout apparatus

Info

Publication number
JPS6325693A
JPS6325693A JP61168013A JP16801386A JPS6325693A JP S6325693 A JPS6325693 A JP S6325693A JP 61168013 A JP61168013 A JP 61168013A JP 16801386 A JP16801386 A JP 16801386A JP S6325693 A JPS6325693 A JP S6325693A
Authority
JP
Japan
Prior art keywords
character string
character
frame
area
attribute
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP61168013A
Other languages
Japanese (ja)
Other versions
JP2575658B2 (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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP61168013A priority Critical patent/JP2575658B2/en
Publication of JPS6325693A publication Critical patent/JPS6325693A/en
Application granted granted Critical
Publication of JP2575658B2 publication Critical patent/JP2575658B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)
  • Document Processing Apparatus (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Abstract] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は文字列のレイアウト装置、特に、グラフィッ
クのイメージ上に文字列をレイアウトする技術に関する
もので、各種グラフィック装着に利用することができる
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a character string layout device, and particularly to a technique for laying out character strings on a graphic image, and can be used for mounting various types of graphics.

[発明の概要] この発明は、オペレータからのレイアウト要求に応答し
て、入力文字列をその属性に従ってイメージ化し、それ
を位ご指定手段の指定する位置情報に従って、・イメー
ジ表示媒体上に設定することによって文字列のレイアウ
トを行う装置において、 属性に従ってイメージ化される文字列が占める占イー1
領域を求め、この丘域を指定された位2?情報に従って
イメージ表示媒体上に設定するとともに、指示される位
置が更新されるのに従い、イメージ表示媒体上における
文字列占有領域を移動することとしたので、 グラフィ、りのイメージにマツチした文字列のレイアウ
トを時車な入力操作により、容易にしかも確実に得るこ
とができる。
[Summary of the Invention] This invention, in response to a layout request from an operator, converts an input character string into an image according to its attributes, and sets it on an image display medium according to positional information specified by a place specifying means. In a device that layouts character strings by
Find the area and specify this hill area 2? In addition to setting the character string on the image display medium according to the information, the area occupied by the character string on the image display medium is moved as the indicated position is updated. The layout can be easily and reliably obtained through quick input operations.

[従来の技術] 文字列をグラフィックのイメージ中にレイアウトする代
表的な従来装置においては、入力手段を介して文字列を
入力し、属性(例えば文字のサイズ、文字の角度、文字
列の方向、文字間ピッチ等)を設定し、ポインティング
デバ・fス(カーソル、マウス等)を介して文字列の位
置を指定し、しかる後、グラフィックのイメージ中(画
面上)への文字列のレイアウトを指示すると、その属性
に従ってずメージ化された文字列が指定位置を基準とし
て画面上に展開される。
[Prior Art] In a typical conventional device for laying out a character string in a graphic image, a character string is input through an input means, and attributes (such as character size, character angle, character string direction, (character pitch, etc.), specify the position of the character string using a pointing device (cursor, mouse, etc.), and then instruct the layout of the character string in the graphic image (on the screen). Then, the imaged character string is expanded on the screen based on the specified position according to the attribute.

こ完」が解決しようとするゼI題点] しかしながら、この従来方式では、画面上にグラフィッ
クとともにレイアウトされた文字夕曜が、グラフィック
を構成する線と交差して飛び出したり、あるいは、そこ
まで不都合ではないにしてもグラフィックのイメージと
しっくり合わなかったりすることが少なくない、また、
グラフィックの線との交差を許していないような機種に
あっては、長すざる文字列を無理やりグラフィックの閉
鎖域内に収めるために1文字同士が重なったりすること
がある。
However, with this conventional method, the characters ``Yuyou'' laid out with graphics on the screen may intersect with the lines that make up the graphics and jump out, or there may be other problems that are inconvenient to that extent. Even if it is not, it often does not fit well with the graphic image, and
On models that do not allow lines to intersect with lines in the graphic, characters may overlap in order to force a long character string to fit within the closed area of the graphic.

上記の従来装置はグラフィック中への文字列のし・fア
ウトに関して、一方向の処理に留まっており、したがっ
て、希望するし・fアウトが行われないときは、再度、
入力をやり直す必要があり、グラフィックにマツチする
であろう文字列の位置や属性をその都度頭の中で再考す
る必要があり、操作上大変不便であった。
The above-mentioned conventional device only performs one-way processing regarding inserting and f-out of character strings into graphics. Therefore, if the desired input/f-out is not performed, the process is performed again.
It was necessary to re-enter the input, and each time it was necessary to reconsider in my head the position and attributes of the character string that would match the graphic, which was very inconvenient in terms of operation.

この発明はこのような問題点を解決するためになされた
もので、グラフィック中における文字列のレイアウトに
関し、表示側とインターラクティブであり、簡単な操作
だけで所望のレイアウトを確実に得ることができる文字
列のレイアウト装置を提供することを主たる課題とする
This invention was made in order to solve these problems.The present invention was made in order to solve these problems, and it is designed to be interactive with the display side and to ensure that the desired layout can be obtained with simple operations regarding the layout of character strings in graphics. The main problem is to provide a column layout device.

副次的な課題はし・fアウト装置の処理速度、処理量を
少なくして応答を速めることである。
A secondary problem is to reduce the processing speed and amount of processing of the output device and to speed up the response.

[問題点を解決するための手段コ 第1図に」二記の問題点を解決するための手段の機1近
ブロック図を示す0本図において、Aはイメージを表示
回前な・イメージ表示媒体、Bは文字列を入力する文字
列入力手段、Cは文字列の属性を設定する属性設定手段
、Dは文字列の位置を指定する位置指定手段、Eはレイ
アウト要求に応答して、設定された属性に従って文字列
をイメージ化し、それを位ご指定手段の指定する位置に
従ってイメージ表示媒体上に設定する文字列イメージ作
成手段、Fは属性設定手段により設定された属性に従っ
てイメージ化される文字列が占める占有領域を求め、こ
の領域を位置指定手段により指定された位置に従ってイ
メージ表示媒体上に識別可1駈に設定する領域設定手段
、Gは位置指定手段を介して文字列の位置が更新された
場合、その更新位置に従ってイメージ表示媒体上におけ
る文字列の占有領域を移動する領域移動手段である。
[Means for solving the problem Figure 1] Shows a block diagram of the means for solving the problem described in Figure 1. In this figure, A indicates an image.Previous image display A medium, B is a character string input means for inputting a character string, C is an attribute setting means for setting attributes of a character string, D is a position specifying means for specifying the position of a character string, and E is a setting means in response to a layout request. A character string image creation means that images a character string according to the specified attribute and sets it on the image display medium according to the position specified by the position specifying means; F is a character to be imaged according to the attribute set by the attribute setting means; Area setting means for determining the occupied area occupied by the column and setting this area in one discernible space on the image display medium according to the position specified by the position specifying means; G is the position of the character string updated via the position specifying means; When the character string is updated, the region moving means moves the occupied region of the character string on the image display medium according to the updated position.

[作 用] いま、第1図において、イメージ表示媒体A上にあるグ
ラフィックのイメージが表示されているとし、これから
そのグラフィックによくフィツトする文字列を設定する
場合を考えてみる。
[Operation] Now, in FIG. 1, it is assumed that a graphic image on the image display medium A is being displayed, and now let us consider the case where a character string that fits well with the graphic is to be set.

まず、オペレータは文字列入力手段B、底屈性設定手段
0位置指定手段りを用いることにより。
First, the operator uses the character string input means B, the plantar flexion setting means 0 position specifying means.

文字列とその属性とその表示位置を指示入力する。これ
に対し、領域設定手段Fが起動し、属性に従ってイメー
ジ化される文字列が占める占有領域(例えば1文字列枠
)を求め、その領域を位置指定手段りにより指定される
位置に従いイメージ表示媒体A上に識別可店に表示設定
する。
Input the character string, its attributes, and its display position. In response, the area setting means F is activated, determines the occupied area (for example, one character string frame) occupied by the character string to be imaged according to the attribute, and sets the area on the image display medium according to the position specified by the position specifying means. Set to display an identifiable store on A.

これに対し不ベレータは、イメージ表示媒体A上の表示
結果を通し、文字列がこがれるべきさらによい場所を選
ぶため、位置指定手段りを介して位置の更新を指示入力
する。
On the other hand, the inverter inputs an instruction to update the position through the position specifying means in order to select a better place for the character string to be placed, based on the display result on the image display medium A.

すると、領域移動手段Gが起動し、イメージ表示媒体A
上における文字列の占有領域を、位置指定手段りからの
更新位置が示す位置に移動する。
Then, the area moving means G starts and the image display medium A
The area occupied by the character string above is moved to the position indicated by the updated position from the position specifying means.

移動結果が最適でなければ、オペレータはさらに場所の
移動を指示し、これをくり返すことにより、グラフィッ
クと最も良くマツチする文字列の占有領域を見つけ出す
If the result of the movement is not optimal, the operator instructs to move the area further, and by repeating this process, finds the area occupied by the character string that best matches the graphic.

希望する状態になったら、オペレータはレイアウトの要
求を出す、これを受けて文字列イメージ作成媒体Eが起
動し、そのときの文字列、属性、位置に従ってイメージ
表示媒体A上にイメージ化された文字列を設定する。
When the desired state is achieved, the operator issues a layout request. In response, the character string image creation medium E is activated, and the characters imaged on the image display medium A according to the character string, attributes, and positions at that time are Set columns.

このように、この発明によれば、装置側の表示とオペレ
ータとのインターアクティブな関係を通じて、オペレー
タの希望するグチ7、ツタ対文字列のレイアウトを効率
よく、しかも確実に得ることができる。
As described above, according to the present invention, through the interactive relationship between the display on the device side and the operator, it is possible to efficiently and reliably obtain the layout of the grooves 7 and ivy versus character strings desired by the operator.

また、文字列のそれぞれの文字をイメージ化(7オント
化)してイメージ表示媒体Aに設定する代りに、文字列
の占有領域を求め、それを同イメージ表示媒体Aに設定
し、位置の更新に従って同占扁領域を移動させているの
で、更新の都度文字ダダを構成する各文字をひとつずつ
フォント変換し直す必要がなく、イメージ表示媒体Aの
内容の更新処理を簡単に行うことができる。
Also, instead of converting each character of a character string into an image (converting it to 7 onts) and setting it on the image display medium A, the occupied area of the character string is determined, and it is set on the same image display medium A, and the position is updated. Since the same font area is moved according to the above, it is not necessary to re-convert the font of each character constituting the character dada one by one each time the font is updated, and the content of the image display medium A can be easily updated.

この発明の発展形慝もしくは実施の態様として、イメー
ジ表示媒体A上での表示中に1位置の更新の代りに、も
しくは位置とともに、属性の更新が行なえるa tfl
、を組み込むことかでざる。すなわち、グラフィック中
にある属性の文字列が表示されている状態で、属性設定
手段Cを通して、属性の変更が指示された場合、変更に
係る属性に従ってイメージ化される文字列の占有領域を
新たに求め、その領域をイメージ表示媒体A上に新たに
設定する。
As a further development or embodiment of the present invention, an attribute can be updated during display on the image display medium A, instead of updating one position, or in addition to the position.
, it is necessary to incorporate . That is, when an instruction is given to change the attribute through the attribute setting means C while a character string of a certain attribute is displayed in a graphic, the area occupied by the character string to be imaged is changed according to the changed attribute. Then, the area is newly set on the image display medium A.

また、上記領域設定手段Fが作成する文字列の占有領域
は種々の表示形式をとることができ、例えば、境界表示
形式としての枠や枠のブリンキング、塗りつぶし表示形
式、文字別の領誠衷示形式、領域内にイメージ化された
文字列を表示する形式、などがある。
Furthermore, the area occupied by the character string created by the area setting means F can be displayed in various formats, such as a frame as a boundary display format, a blinking frame, a filled display format, and a display format for each character. There are two formats: a display format, a format that displays an imaged character string within an area, and so on.

イメージ化された文字列を表示する場合であっても1文
字列の占有領域の概念は存在する0例えば、文字列の占
有領域は、フォント変換された文字同士を、に性に従っ
てリンクしたデータ構造の形式をとり、いわば、・イメ
ージ化された文字列を描いた一枚の用紙として保管し、
指示位置が変化した場合に、別の大きな用紙(イメージ
表示媒体の7チロジイ)上を位置の変化分だけ並行移動
させて張り付ける。
Even when displaying an imaged character string, there is a concept of the occupied area of one character string.For example, the occupied area of a character string is a data structure in which font-converted characters are linked according to their gender. It is stored as a sheet of paper on which an imaged character string is drawn, so to speak.
When the indicated position changes, another large sheet of paper (7 sheets of image display medium) is moved in parallel by the change in position and pasted.

ε実施例コ 以下、この発明の一実施例について説明する。ε Example An embodiment of the present invention will be described below.

本実施例の全体構成を第1図に示す、第1図において、
1は入力部であり、本実施例の目的のため、文字列を入
力する機土(文字キー等により)、文字列の属性を入力
する機能(属性については後で詳述する)、文字列の基
準となる位置を指定する機能(例えば、カーソル、マウ
ス等により)、レイアウトその他の実行を要求する機能
(リターンキー等により)を備えている。
The overall configuration of this embodiment is shown in FIG. 1. In FIG.
Reference numeral 1 denotes an input section, and for the purpose of this embodiment, there are functions for inputting character strings (using character keys, etc.), a function for inputting attributes of character strings (attributes will be explained in detail later), and character strings. It has a function for specifying a reference position (for example, using a cursor, a mouse, etc.), and a function for requesting execution of layout and other operations (by using a return key, etc.).

2は装置全体の制御部であり、入力された文字列、属性
5位置等をRAM3を介して管理するとともに、文字列
の占有領域の設定や、位置の移動の際には所要の情報を
文字列枠描画部4に渡して同描画部4を起動し、また、
最終的なレイアウト要求があった場合には、かな漢字変
換部5を介して文字列を属性に従ってかな漢字のフォン
トに変換させ、その結果得たイメージ化された文字列を
そのときの文字列位置(カーソル位7i)を使ってフレ
ームメモリ6上に設定スル。
2 is a control unit for the entire device, which manages input character strings, attribute 5 positions, etc. via RAM 3, and also inputs required information into characters when setting the area occupied by the character string or moving the position. Pass it to the column frame drawing unit 4 to start the same drawing unit 4, and
When there is a final layout request, the character string is converted to a kana-kanji font according to the attributes via the kana-kanji conversion unit 5, and the resulting imaged character string is placed at the current character string position (cursor 7i) to set it on the frame memory 6.

フレームメモリ6の内容は制御部2、文字夕q枠描tj
部4による更新完了後、表示装置7に読み出され、その
画面上に表示される。
The contents of the frame memory 6 are controlled by the control unit 2, character q frame drawing tj
After the update by the unit 4 is completed, the information is read out to the display device 7 and displayed on its screen.

7に実施例においては、表示!j;、ZF 7のグラフ
ィック画面上に文字列を表示した状態の下で、入力部1
を介して1文字列の表示位置や属性の変更を指示するこ
とができ、文字列枠描画部4によって。
In the example shown in 7! j;, With the character string displayed on the graphic screen of ZF 7, input section 1
It is possible to instruct changes in the display position and attributes of one character string through the character string frame drawing unit 4.

変更に係る属性に従ってイメージ化される文字列の枠が
新たに作成され、あるいは、文字列の枠の位ごが動かさ
れてフレームメモリ6上に3き込まれる。
A new frame for the character string to be imaged is created in accordance with the changed attributes, or the position of the character string frame is moved and stored three times in the frame memory 6.

第3図に文字列の属性について示しであるので説明する
。変更可1針、2属性は機種に依存するものであるが1
本実施例では1文字のサイズ、文字の角度、文字列の方
向、文字間ビーフ千の4!!類の属性が変更呵責であり
、文字サイズについては1倍〜16倍の16種、角度に
ついてはOo、90″、180°、270c′の4!!
、文字列ノ方向については横と縦の2種のなかから選択
することができる1文字列の方向が「横」というのは、
文字の横方向が文字列の長さ方向と一致する場合であり
、「縦」というのは文字の縦方向が文字列の長さ方向と
一致する還様である。
The attributes of character strings are shown in FIG. 3 and will be explained below. 1 stitch, 2 attributes can be changed depending on the model, but 1
In this example, the size of one character, the angle of the character, the direction of the character string, and the spacing between characters are 4! ! There are 16 types of font sizes from 1x to 16x, and 4 types of angles: Oo, 90'', 180°, and 270c'!!
, the direction of a character string can be selected from two types: horizontal and vertical.The direction of a character string is "horizontal".
This is when the horizontal direction of the characters matches the length direction of the character string, and "vertical" means that the vertical direction of the characters matches the length direction of the character string.

次に、第4]、第5図、第6図を参照して本実施例の動
作について説明する。
Next, the operation of this embodiment will be explained with reference to FIG. 4, FIG. 5, and FIG. 6.

まず第4図(1)に示すように図形、ここでは3角形を
描く、これは、例えば、3対のベクトル(始点と終点)
を入力部1を介して指定し、実行を要求することで行な
われる。この結果、表示装置7の画面上(グラフィック
エリア)に三角形が表示される。
First, as shown in Figure 4 (1), draw a figure, here a triangle. This is, for example, three pairs of vectors (starting point and ending point).
This is done by specifying via the input unit 1 and requesting execution. As a result, a triangle is displayed on the screen (graphic area) of the display device 7.

ここで、属性を指定する0例えば、サイズは3倍、角度
はOo、方向は横、ピッチはゼロと指定する。
Here, 0 specifies the attributes, for example, the size is 3 times, the angle is Oo, the direction is horizontal, and the pitch is zero.

次に文字列、ここでは「三角形」を入力する。Next, enter the character string, in this case "triangle".

「三角形」は、表示装置の画面上の文字列作成城(モニ
ター領域)に表示される(第4図(2) ) 。
The "triangle" is displayed in the character string creation area (monitor area) on the screen of the display device (FIG. 4 (2)).

ここでの文字列は単なる確認のためであり、先に設定し
た属性とは関係なく、サイズ1、角度O1方向横、ピッ
チゼロで表示される。
The character string here is simply for confirmation, and is displayed with a size of 1, an angle of 01 (horizontal), and a pitch of 0, regardless of the previously set attributes.

次に文字列終了の意味でリターンキーを押すと、第4図
(3)に示すように、指定した属性にあった文字列枠が
グラフィックカーソル位置を基準として自動的に作成さ
れ表示される。
Next, when the return key is pressed to indicate the end of the character string, a character string frame matching the specified attribute is automatically created and displayed based on the position of the graphic cursor, as shown in FIG. 4(3).

以降、カーソルキーでスクリーン上のグラフィックカー
ソル位置の移動を行うことにより、文字列枠がグラフィ
ックカーソルに追従して移動する(第4ズ(4)、C7
) ) 。
From then on, by moving the graphic cursor position on the screen using the cursor keys, the character string frame will move following the graphic cursor (4th screen (4), C7
)).

二角形の図形に対する文字列枠のレイアウトが所望の関
係に達したところでリターンキーを押すと、文字列が属
性に従ってフォント変換されて表示される(第4図(5
)、(a) ) 。
If you press the return key when the layout of the character string frame with respect to the diagonal shape has reached the desired relationship, the character string will be converted into a font according to its attributes and displayed (see Figure 4 (5).
), (a) ).

また、図形中に文字列枠が表示されている状悪で文字列
の属性を変更することもできる。変更後の表示の一例を
第4図(8)に示す。
Furthermore, the attributes of a character string can be changed depending on the condition in which a character string frame is displayed within a figure. An example of the display after the change is shown in FIG. 4 (8).

第6図に文字列枠の作成、変更のフローを示す、第4図
(:)、 (4)、 (8)、 (7)に示す表示を実
行するためのものである。制御部2と文字列枠描画部4
によって実行される。
Figure 6 shows the flow of creating and changing character string frames, and is used to execute the displays shown in Figures 4 (:), (4), (8), and (7). Control unit 2 and character string frame drawing unit 4
executed by

文字列枠の初期設定の場合は、文字列の読了合図として
のリターンキーに応答し、入力文字列の文字数を算出し
く51)、Lかる後、算出結果である文字数と、与えら
れている属性、すなわち文字サイズ、文字間ビー7チ、
文字角度、文字列方向を使って文字1枠の大きさを算出
する(S2)。
In the case of the initial setting of the character string frame, respond to the return key as a signal that the character string has been read, calculate the number of characters in the input character string51), and then calculate the number of characters that is the calculation result and the given attribute. , i.e. font size, character spacing Beach 7,
The size of one character frame is calculated using the character angle and character string direction (S2).

例えば、xy座標系における4つのベクトルを求めるご
とで文字列枠を定義する。
For example, a character string frame is defined every time four vectors in the xy coordinate system are obtained.

次に、享えられているグラフィックカーソル位置のとこ
ろに文字列枠を記述する4つのベクトルを並行移動する
(33)、最後に、制御部2は、求めた4つのベクトル
を文字列枠描画部4に渡す(S4)、これに対し、文字
列枠描画部4は、与えられた4つのベクトルを夫々走査
変換してフレームメモリ6上に文字列枠を描画する。こ
れは。
Next, the four vectors describing the character string frame are moved in parallel to the current graphic cursor position (33).Finally, the control unit 2 moves the four vectors obtained to the character string frame drawing unit. In response, the character string frame drawing unit 4 scan-converts each of the four given vectors and draws a character string frame on the frame memory 6 (S4). this is.

例えば、フレームメモリ6上において文字夕曙枠を構成
するそれぞれの点格納位ごを求めては、フレームメモリ
6から読み出し、それを反転してフレームメモリ6に戻
すことで実行される。この場合、フレームメモリ6上に
おける内容の変更量はこぐわずかであり、非常に速く処
理できる。
For example, the determination of each dot storage position constituting the character twilight frame on the frame memory 6 is carried out by reading it from the frame memory 6, inverting it, and returning it to the frame memory 6. In this case, the amount of change in the contents on the frame memory 6 is very small, and processing can be performed very quickly.

表示中に、属性変更の指示があったとyは、その属性を
読み込んだ後、S2に示す文字枠記述処理に入る。また
、表示中に、カーソル位置の変更入力があったときは、
S3に示す文字枠シフト処理に入る。このような属性変
更やカーソル位置の変更に対する文字列枠描画部4での
描画処理には、従前の文字列枠消去処理が先行する。す
なわち、文字列枠描画部44士新しい文字枠を描く前に
前の文字枠をフレームメモリ6上から消し去る。
If an instruction to change an attribute is received during display, y reads the attribute and then enters the character frame description process shown in S2. Also, if there is an input to change the cursor position while displaying,
The character frame shift process shown in S3 begins. The drawing process in the character string frame drawing unit 4 for such attribute changes and cursor position changes is preceded by the previous character string frame erasing process. That is, the character string frame drawing section 44 erases the previous character frame from the frame memory 6 before drawing a new character frame.

これは、前の文字枠を記述する4つのベクトルを走査変
換し、求めたそれぞれの点格納位置の内容を再度ブ転し
て元に戻すことで実行できる。
This can be done by scan-converting the four vectors describing the previous character frame, and converting the contents of each determined point storage location back to the original.

第5図に示すのは、属性別の文字枠とグラフィックカー
ソルとの関係である。この図かられかるように、本実施
例では、文字の角度と文字列の方向とにより8つの組合
せがあり、それぞれの狙合せに応じて、文字列枠が異な
る悪様をもってグラフィックカーソルと組み合わされて
設定、表示される0本例では、文字列の先頭の文字の左
下座標を文字列の原点、したがってグラフィックカーソ
ル座標に置いている0例えば、角度ゼロ、方向横の属性
をもつ文字列の枠は水平方向に描画され、その左下の原
点がグチフィックカーソル位置と一致する(第4ス(3
〕 も参照のこと)。
FIG. 5 shows the relationship between character frames and graphic cursors for each attribute. As can be seen from this figure, in this example, there are eight combinations depending on the angle of the character and the direction of the character string, and the character string frame is combined with the graphic cursor in different ways depending on the aiming. In this example, the lower left coordinates of the first character of the string are placed at the origin of the string, and therefore the graphics cursor coordinates.For example, a frame of a string with attributes of zero angle and horizontal direction is drawn in the horizontal direction, and its lower left origin coincides with the graphic cursor position (4th line (3rd line)).
] (see also).

なお、上記実施例では、文字列枠を定義するだけでなく
、それを走査変換してフレームメモリ6に設定し、表示
装こ7を介して表示も行っているが、イメージ上への表
示等は7オント変換された文字列をもって換えることが
できる。これは、例えば次のようにして実行できる。ま
ず1文字りq枠内にフォント変換した文字を並べた枠内
イメージを用意する6次にフレームメモリ6より、文字
列枠内にある図形部分を他メモリにセーブする。最後に
、フレームメモリδ上の切り欠かれた文字列枠内に枠内
イメージを転写する。属性や位lの変更があった場合に
は、上記の処理に、従前の枠内イメージ消去処理が先行
する。すなわち、フレームメモリ6上における従前の文
字列枠の内部をクリアし、クリアした領域に、セーブし
てあったX形の部分イメージを戻す、この変形例の場合
にも、文字列枠ないし文字列の占有領域の概念は存在し
ており、ただそれがオペレータには見えないということ
である。つまり、見えない枠によって「管FIJされて
いるイメージ化された文字列を勘案するわけである。
In the above embodiment, the character string frame is not only defined, but also scan-converted and set in the frame memory 6, and displayed via the display device 7. can be replaced with a string converted to 7 onts. This can be done, for example, as follows. First, prepare a frame image in which font-converted characters are lined up in a one-character frame.Next, from the frame memory 6, the graphic part within the character string frame is saved to another memory. Finally, the frame image is transferred into the cut-out character string frame on the frame memory δ. If there is a change in the attribute or position, the previous frame image deletion process precedes the above process. In other words, even in the case of this modified example in which the interior of the previous character string frame on the frame memory 6 is cleared and the saved X-shaped partial image is returned to the cleared area, the character string frame or character string The concept of occupied space exists, only that it is invisible to the operator. In other words, it takes into account the imaged character string that is "controlled FIJ" by the invisible frame.

[発明の効果] 以上の説明から明らかなように、この発明では、グラフ
ィック中に文字列をレイアウトする場合において、属性
に従ってイメージ化される文字列が占める占有領域の概
念を使用し、この占有領域をグラフィック中に識別表示
するとともに移動可能に構成しているので、オペレータ
は容易かつ確実に最適の文字列のレイアウトを得ること
ができる。さらに、表示処理上も、文字列の占有領域を
使用することで処理量を節約でさ応答速度の向上に寄与
する。
[Effects of the Invention] As is clear from the above description, in this invention, when laying out character strings in a graphic, the concept of an occupied area occupied by a character string imaged according to an attribute is used, and this occupied area is is displayed in the graphic and is configured to be movable, allowing the operator to easily and reliably obtain the optimal character string layout. Furthermore, in display processing, by using the area occupied by the character string, the amount of processing can be saved and the response speed can be improved.

広面の面早q!Q切The wide side is quick! Q cut

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

第1図はこの発明のa詣ブロック図、第2図はこの発明
の一実施例の全体構成図、第3図は文字列の属性説明図
、第4図は文字列のレイアウトの手順の概要を示す図、
第5図はイメージ上における文字列枠の配置を属性別に
例示する図、第6図は実施例の動作の要部のフローチャ
ートである。 1・・・・・・入力部、2・・・・・・制御部、3・・
・・・・RA M、4・・・・・・文字列枠描画部、5
・・・・・・フレームメモリ。 7・・・・・・表示装ご。 特許出願人  カシ丁計算機a式会社 −1−−−コ 代理人 弁理士  町 1)俊 正く  ::7−Hi −−〜−−一−」 (b)P慶 (C)  ジタイ司 (d)  し°ノラ′ 第3図 第6図 第5 □m−p、t  □□−$  9 (ffi−pt  
間−278’’A A −−−f3’     M 4
−−−9e’   A K−180’(n−一一憚 図
Fig. 1 is a block diagram of the present invention, Fig. 2 is an overall configuration diagram of an embodiment of the invention, Fig. 3 is an explanatory diagram of character string attributes, and Fig. 4 is an outline of the procedure for character string layout. A diagram showing
FIG. 5 is a diagram illustrating the arrangement of character string frames on an image by attribute, and FIG. 6 is a flowchart of the main part of the operation of the embodiment. 1...Input section, 2...Control section, 3...
...RAM, 4...Character string frame drawing section, 5
...Frame memory. 7... Display device. Patent Applicant Kashicho Calculator Type A Company-1---Ko Agent Patent Attorney Machi 1) Shun Masako::7-Hi ------1-'' (b) P Kei (C) Jitai Tsukasa (d ) Shi°Nora' Figure 3 Figure 6 Figure 5 □m-p,t □□-$9 (ffi-pt
Between -278''A A ---f3' M 4
---9e' A K-180' (n-11

Claims (1)

【特許請求の範囲】 イメージを表示可能なイメージ表示媒体と、文字列を入
力する文字列入力手段と、文字列の属性を設定する属性
設定手段と、文字列の位置を指定する位置指定手段と、
レイアウト要求に応答して、設定された属性に従って文
字列をイメージ化し、それを指定された位置に従ってイ
メージ表示媒体上に設定する文字列イメージ作成手段と
を備える文字列のレイアウト装置において、 設定された属性に従ってイメージ化される文字列が占め
る占有領域を求め、この領域を指定された位置に従って
イメージ表示媒体上に識別可能に設定する領域設定手段
と、 上記位置指定手段を介して文字列の位置が更新されたと
き、その更新位置に従ってイメージ表示媒体上における
文字列の占有領域を移動する領域移動手段と、 を有することを特徴とする文字列のレイアウト装置。
[Claims] An image display medium capable of displaying an image, a character string input means for inputting a character string, an attribute setting means for setting attributes of the character string, and a position specifying means for specifying the position of the character string. ,
A character string layout device comprising: a character string image creation means for creating an image of a character string according to a set attribute in response to a layout request, and setting the character string on an image display medium according to a specified position; an area setting means for determining an occupied area occupied by a character string to be imaged according to an attribute, and setting this area in an identifiable manner on an image display medium according to a specified position; A character string layout device comprising: area moving means for moving an occupied area of a character string on an image display medium according to the updated position when the character string is updated.
JP61168013A 1986-07-18 1986-07-18 String layout device Expired - Fee Related JP2575658B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61168013A JP2575658B2 (en) 1986-07-18 1986-07-18 String layout device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61168013A JP2575658B2 (en) 1986-07-18 1986-07-18 String layout device

Related Child Applications (3)

Application Number Title Priority Date Filing Date
JP6018838A Division JP2616426B2 (en) 1994-01-20 1994-01-20 String display device
JP6018842A Division JP2616427B2 (en) 1994-01-20 1994-01-20 String display device
JP6018841A Division JPH06342277A (en) 1994-01-20 1994-01-20 Character display device

Publications (2)

Publication Number Publication Date
JPS6325693A true JPS6325693A (en) 1988-02-03
JP2575658B2 JP2575658B2 (en) 1997-01-29

Family

ID=15860186

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61168013A Expired - Fee Related JP2575658B2 (en) 1986-07-18 1986-07-18 String layout device

Country Status (1)

Country Link
JP (1) JP2575658B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57150880A (en) * 1981-03-14 1982-09-17 Tokyo Shibaura Electric Co Picture information display unit
JPS60154994U (en) * 1984-03-26 1985-10-16 横河電機株式会社 graphic display device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57150880A (en) * 1981-03-14 1982-09-17 Tokyo Shibaura Electric Co Picture information display unit
JPS60154994U (en) * 1984-03-26 1985-10-16 横河電機株式会社 graphic display device

Also Published As

Publication number Publication date
JP2575658B2 (en) 1997-01-29

Similar Documents

Publication Publication Date Title
JPH0363756A (en) Document editor
JPH06251007A (en) Table data input device
JP3388451B2 (en) Handwriting input device
JPS644189B2 (en)
JPS6325693A (en) String layout apparatus
JPH03103897A (en) Screen scroll system
JP2616427B2 (en) String display device
JP2616426B2 (en) String display device
JPH0357079A (en) Graphic register control system
JPH09259295A (en) Cad system
JPS63131261A (en) Document processor
JPS61241866A (en) Documentation device
JPS59225480A (en) Document editing device
JP2751212B2 (en) Document creation device
JPH0554114A (en) Image display device
JPH03287195A (en) Portable information processor
JPS63165852A (en) Magazine editing system
JP2721348B2 (en) Image processing device
JP2831318B2 (en) Editing device
JPH0384659A (en) Document editing device
JPH06342277A (en) Character display device
JPS6080897A (en) Display unit
JPH11212968A (en) Document processor and document processing method
JPH06266706A (en) Word processor with character size changing function
JP2860024B2 (en) Text editing device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees