JPH10124033A - Character processor, character processing method and memory medium - Google Patents

Character processor, character processing method and memory medium

Info

Publication number
JPH10124033A
JPH10124033A JP9171927A JP17192797A JPH10124033A JP H10124033 A JPH10124033 A JP H10124033A JP 9171927 A JP9171927 A JP 9171927A JP 17192797 A JP17192797 A JP 17192797A JP H10124033 A JPH10124033 A JP H10124033A
Authority
JP
Japan
Prior art keywords
character
line
developing
designation
end 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.)
Withdrawn
Application number
JP9171927A
Other languages
Japanese (ja)
Inventor
Tetsushi Watanabe
哲史 渡邊
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP9171927A priority Critical patent/JPH10124033A/en
Publication of JPH10124033A publication Critical patent/JPH10124033A/en
Withdrawn legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To expand characters by various systems along lines by having an assigning means for assigning in what ways the characters are to be expanded and expanding means for expanding the characters along the lines in accordance with the assignment of this assigning means. SOLUTION: A CPU 6 controls the respective sections of this device in accordance with the control programs (not only the programs relating to document edition and error processing programs but the programs relating to a flow chart as well are stored) stored in a ROM 7. At the time of expanding the characters along the lines, whether the characters are expanded from the beginning points of the lines to the left side toward the end points of the lines or the characters are expanded to the left side is assigned and the characters are expanded along the lines in accordance with this assignment. Whether the characters are expanded from the beginning points of the lines toward the end points or the characters are expanded from the end points to the beginning points is assigned and the characters are expanded along the lines in accordance with this assignment.

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 device, method, and storage medium for developing characters along a line.

【0002】[0002]

【従来の技術】図形作成装置などを用いて文字を表示す
る場合に、文書作成装置を用いた文字表示で実現してい
た。文書作成装置においては文字列を配置する際、指定
された矩形領域内に納まるよう組版する。したがって、
図形作成装置などで作成できる文字データはすべて矩形
領域内に組版された状態となっていた。矩形以外の図形
データに対応付けられた文字データを配置する場合は、
対象図形の外接矩形によって文字データを配置してい
た。
2. Description of the Related Art When a character is displayed by using a graphic creating device or the like, it is realized by character display using a document creating device. When arranging a character string in the document creating apparatus, the document is formatted so as to fit within a specified rectangular area. Therefore,
All character data that can be created by a figure creating device or the like are in a typeset in a rectangular area. When arranging character data associated with graphic data other than rectangles,
Character data is arranged by the circumscribed rectangle of the target graphic.

【0003】[0003]

【発明が解決しようとする課題】図形作成装置上での文
字データはすでに作成された図形と関連付けられること
がある。例えば、ある四角形を作成しその中に納まるよ
うな文字データを配置する場合などは、従来の組版を用
いて実現可能であった。しかしながら、図形作成装置で
は矩形以外にも曲線・円弧のような任意の形状をした図
形が存在し、それらと対応付けられた文字データの作成
が不可能という問題点があった。更に、曲線に沿って展
開される場合、展開方向が左回り、もしくは、右回りに
固定であるという問題点があった。例えば、展開方向が
右回りに固定されている場合、下に凸の円弧上に文字列
を展開する場合、文字の並びが右から左となり、不自然
な表示方法になっていた。
The character data on the graphic generating device may be associated with a graphic that has already been generated. For example, in the case where a certain rectangle is created and character data that fits in the rectangle is arranged, this can be realized using a conventional typesetting. However, there is a problem in the graphic creation apparatus that graphics other than rectangles have arbitrary shapes such as curves and arcs, and it is impossible to create character data associated with them. Furthermore, when the image is developed along a curve, there is a problem that the development direction is fixed in a counterclockwise or clockwise direction. For example, when the development direction is fixed clockwise, and when a character string is developed on a downwardly convex arc, the arrangement of characters changes from right to left, which is an unnatural display method.

【0004】更に、曲線に沿って展開される場合、展開
位置が曲線始点から曲線終点に向かって左側、もしく
は、右側に固定であるという問題点があった。
Further, when the image is developed along the curve, there is a problem that the development position is fixed to the left or right from the start point of the curve toward the end point of the curve.

【0005】本発明は、前述したような図形作成装置の
現状に鑑みてなされたものであって、その目的は、線に
沿って様々な方式で文字を展開することにあたる。
[0005] The present invention has been made in view of the current state of the above-described figure creating apparatus, and its purpose is to develop characters in various ways along a line.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に、本発明の文字処理装置は、線に沿って文字を展開す
る際に、線の始点から終点に向かって右側に文字を展開
するか左側に文字を展開するかを指定する指定手段と、
前記指定手段の指定に基づき文字を線に沿って展開する
展開手段とを有することを特徴とする。
In order to achieve the above object, a character processing apparatus according to the present invention develops a character to the right from the start point to the end point of the line when developing the character along the line. And a specification means for specifying whether to expand characters to the left or
Expanding means for expanding characters along a line based on the designation by the designation means.

【0007】また、本発明の文字処理装置は、線に沿っ
て文字を展開する際に、線の始点から終点に向かって文
字を展開するか終点から始点に向かって文字を展開する
かを指定する指定手段と、前記指定手段の指定に基づき
文字を線に沿って展開する展開手段とを有することを特
徴とする。
Further, when the character processing device of the present invention develops a character along a line, it designates whether to develop the character from the start point to the end point of the line or to develop the character from the end point to the start point. And a developing means for developing characters along a line based on the specification of the specifying means.

【0008】また、本発明の文字処理方法は、線に沿っ
て文字を展開する際に、線の始点から終点に向かって右
側に文字を展開するか左側に文字を展開するかを指定す
る指定工程と、前記指定工程の指定に基づき文字を線に
沿って展開する展開工程とを有することを特徴とする。
In the character processing method of the present invention, when a character is developed along a line, a designation is made to specify whether the character is developed to the right or to the left from the start point to the end point of the line. And a developing step of developing characters along a line based on the designation of the designation step.

【0009】また、本発明の文字処理方法は、線に沿っ
て文字を展開する際に、線の始点から終点に向かって文
字を展開するか終点から始点に向かって文字を展開する
かを指定する指定工程と、前記指定工程の指定に基づき
文字を線に沿って展開する展開工程とを有することを特
徴とする。
In the character processing method according to the present invention, when a character is developed along a line, it is specified whether the character is developed from a start point of the line to the end point or a character is developed from the end point to the start point. And a developing step of developing a character along a line based on the specification of the specifying step.

【0010】また、本発明の記憶媒体は、線に沿って文
字を展開する際に、線の始点から終点に向かって右側に
文字を展開するか左側に文字を展開するかを指定する指
定手段と、前記指定手順の指定に基づき文字を線に沿っ
て展開する展開手順とをコンピュータに実行させるため
のプログラムを記憶することを特徴とする。
In the storage medium of the present invention, when a character is developed along a line, designating means for designating whether the character is developed to the right or to the left from the start point to the end point of the line. And a program for causing a computer to execute a developing procedure for developing a character along a line based on the designation of the designation procedure.

【0011】また、本発明の記憶媒体は、線に沿って文
字を展開する際に、線の始点から終点に向かって文字を
展開するか終点から始点に向かって文字を展開するかを
指定する指定手順と、前記指定手順の指定に基づき文字
を線に沿って展開する展開手順とをコンピュータに実行
させるためのプログラムを記憶することを特徴とする。
In the storage medium of the present invention, when a character is developed along a line, it is specified whether the character is developed from a start point to an end point of the line or a character is developed from the end point to the start point. A program for causing a computer to execute a designation procedure and a development procedure for developing characters along a line based on the designation of the designation procedure is stored.

【0012】[0012]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

〈装置の説明〉図1は本発明の一実施の形態を示す文書
処理装置の構成を説明するブロック図である。
<Description of Apparatus> FIG. 1 is a block diagram illustrating the configuration of a document processing apparatus according to an embodiment of the present invention.

【0013】図1において、1はCRT表示装置で、編
集中の文書、各種メッセージメニューなどを表示する。
2はビデオRAM(VRAM)で、CRT表示装置1の
画面に表示されるイメージを展開記憶する。3はビット
ムーブユニット(BMU)で、メモリ間あるいはメモリ
と各デバイス間のデータ転送をコントロールする。4は
文書編集などを行うための各種キーを備えたキーボード
であり、5は画面上のアイコンなどを指し示すためなど
に用いられるポインティングデバイス(PD)、6はC
PUで、ROM7に記憶された制御プログラム(文書編
集に係るプログラムやエラー処理プログラムをはじめ、
後述する本発明の処理を実現するためのフローチャート
にかかわるプログラムも記憶されている)に基づいて本
装置の各部を制御する。
In FIG. 1, reference numeral 1 denotes a CRT display device which displays a document being edited, various message menus, and the like.
Reference numeral 2 denotes a video RAM (VRAM) which expands and stores an image displayed on the screen of the CRT display device 1. A bit move unit (BMU) 3 controls data transfer between memories or between a memory and each device. Reference numeral 4 denotes a keyboard provided with various keys for performing document editing and the like; 5, a pointing device (PD) used to indicate an icon or the like on a screen;
In the PU, control programs (including a program relating to document editing, an error processing program,
Each part of the apparatus is controlled based on a program relating to a flowchart for realizing the processing of the present invention described later.

【0014】8は上述した各種プログラムをCPU6が
実行する時にワークエリア、エラー処理時の一時退避エ
リアとして用いられるRAM、9はハードディスクドラ
イブ(HDD)、10はフロッピーディスクドライブ
(FDD)をそれぞれ示し、各ディスクには後述するフ
ローチャートに係るアプリケーションプログラムやデー
タ、ライブラリなどの保存用に用いられる。11はネッ
トワークインターフエイス(Net−I/F)を示し、
他の文書処理装置との間でネットワークを経由してデー
タ転送を行うためにネットワーク上のデータ制御、診断
を行う。12は上述した各ユニット間を接続するI/O
バス(アドレスバス、データバス及び制御バスからな
る)である。
Reference numeral 8 denotes a RAM used as a work area when the above-mentioned various programs are executed by the CPU 6 and a temporary save area for error processing, 9 denotes a hard disk drive (HDD), and 10 denotes a floppy disk drive (FDD). Each disk is used for storing application programs, data, libraries, and the like according to flowcharts described later. Numeral 11 denotes a network interface (Net-I / F),
Data control and diagnosis on the network are performed to transfer data to and from another document processing apparatus via the network. Reference numeral 12 denotes an I / O for connecting the units described above.
Bus (consisting of an address bus, a data bus, and a control bus).

【0015】なお、本実施例でROMに記憶しているプ
ログラムは、装置に直接接続されているハードディスク
(HD)やフロッピーディスク(FD)などの記憶媒体
にも記憶されていてもよい。さらに、ネットワークで接
続されている他の装置上に記憶されていてもよい。
The program stored in the ROM in this embodiment may be stored in a storage medium such as a hard disk (HD) or a floppy disk (FD) directly connected to the apparatus. Further, it may be stored on another device connected by a network.

【0016】また、本発明のプログラムは、FDやHD
などの記憶媒体やネットワークを介してシステムや装置
に供給できる。
[0016] The program of the present invention can be used for FD or HD.
It can be supplied to a system or an apparatus via a storage medium such as the above or a network.

【0017】本実施の形態では図2に示したような任意
の曲線に沿って文字列を表示する方法について説明す
る。
In this embodiment, a method of displaying a character string along an arbitrary curve as shown in FIG. 2 will be described.

【0018】〈文字の入力編集方式〉本発明における文
字の入力編集方式は、図17に示すように、従来のワー
ドプロセッサ等で実現されている方法と同様で、ある矩
形内(作成方法は後述)に従来の組版技術、例えば自然
改行、強制改行等により文字を配置することによって実
現する。
<Character Input / Editing Method> The character input / editing method according to the present invention is, as shown in FIG. 17, similar to a method realized by a conventional word processor or the like, and is within a certain rectangle (the method of creation will be described later). This is realized by arranging characters using a conventional typesetting technique, for example, natural line feed, forced line feed, or the like.

【0019】〈フォント属性〉図3は文字を表示するた
めのフォント属性を示すものである。フォント種別3a
は表示に使用するフォントの種類(例えばゴシックな
ど)を表し、フォントサイズ3bは表示に使用するフォ
ントの大きさを表すものである(図8参照)。
<Font Attributes> FIG. 3 shows font attributes for displaying characters. Font type 3a
Represents the type of font used for display (for example, Gothic, etc.), and the font size 3b represents the size of the font used for display (see FIG. 8).

【0020】〈基準文字表示属性〉図4は基準となる文
字表示情報を表す基準文字表示属性を示すものである。
表示位置のx座標4aは文字表示系と取り決めた文字の
左端を指し、表示位置のy座標4bは文字表示系と取り
決めた文字のベースラインを指す。文字コード4cは文
字表示系と取り決めた文字のコードを指し、フォント属
性4dは前述の通りである。修飾情報4eとアンダーラ
インなどの従来の組版技術で生成される文字を修飾する
任意の属性を表す。
<Reference Character Display Attribute> FIG. 4 shows a reference character display attribute representing character display information serving as a reference.
The x coordinate 4a of the display position indicates the left end of the character determined as the character display system, and the y coordinate 4b of the display position indicates the baseline of the character determined as the character display system. The character code 4c indicates a character code determined as a character display system, and the font attribute 4d is as described above. It represents an arbitrary attribute for modifying characters generated by the conventional typesetting technology, such as the decoration information 4e and an underline.

【0021】〈展開属性〉図24は文字列を展開する方
向属性と展開する位置属性を示すものである。展開方向
tenkai_dirは、「曲線始点→曲線終点」か
「曲線終点→曲線始点」を指定する。例えば図2では、
「曲線に文字を展開する」という文字列を「曲線始点→
曲線終点」の方向で展開している。展開位置tenka
i_posは、曲線始点から曲線終点に向かって「左
側」か「右側」を指定する。例えば図2では、「曲線に
文字を展開する」という文字列を曲線始点から曲線終点
に向かって「右側」に展開している。
<Expansion Attribute> FIG. 24 shows a direction attribute for expanding a character string and a position attribute for expanding the character string. The development direction tenkai_dir specifies “curve start point → curve end point” or “curve end point → curve start point”. For example, in FIG.
Change the character string "Expand characters to curve" to "Curve start point →
It develops in the direction of the end point of the curve. Deployment position tenka
i_pos designates “left side” or “right side” from the curve start point toward the curve end point. For example, in FIG. 2, a character string “expand a character on a curve” is developed “rightward” from a curve start point toward a curve end point.

【0022】〈寄せ属性〉図5は従来の組版技術により
基準文字表示属性の表示位置のx座標4aとy座標4b
を決定するための矩形内の基本的な配置方法を表す寄せ
属性を示すものである。一行内の文字寄せ種別5aは一
行内に文字を配置する時の文字の寄せ方を示すもので、
例えば左寄せ、右寄せ、センタリング、均等割付などあ
る。矩形内の行寄せ種別5bは矩形内の行単位の寄せ方
を示すもので、例えば上寄せ、下寄せ、センタリング、
均等割付などがある。
<Adjustment attribute> FIG. 5 shows the x-coordinate 4a and the y-coordinate 4b of the display position of the reference character display attribute by the conventional typesetting technique.
Indicates an alignment attribute indicating a basic arrangement method in a rectangle for determining the position. Character alignment type 5a in one line indicates how characters are aligned when characters are arranged in one line.
For example, there are left alignment, right alignment, centering, and even allocation. The line alignment type 5b in the rectangle indicates how to align each line in the rectangle, and includes, for example, top alignment, bottom alignment, centering,
There is even allocation.

【0023】〈曲線の定義方法〉展開する曲線を定義す
るための方法はスプラインなどの補間曲線や、ベジェ曲
線やBスプライン曲線などの近似曲線が、例えば、日本
地図学会編「CGハンドブック」(1989−5−2
0)北森出版P.84〜P.90に紹介されており、そ
れらは複数の点列から曲線を定義している。
<Curve definition method> As a method for defining a curve to be developed, an interpolation curve such as a spline, or an approximate curve such as a Bezier curve or a B-spline curve can be defined by, for example, "CG Handbook" edited by the Cartographic Society of Japan (1989). −5-2
0) Kitamori Publishing P. 84-P. 90, which define a curve from a sequence of points.

【0024】〈曲線定義属性〉図6は展開する曲線を表
す点列の一つを表現するための曲線定義属性pを示すも
のである。今後、i番目の点の属性piと明記する。
<Curve Definition Attribute> FIG. 6 shows a curve definition attribute p for expressing one of a series of points representing a developed curve. From now on, it is specified as the attribute pi of the ith point.

【0025】x座標6aは一つの点のx座標を表し、i
番目のx座標はpxi と明記される。
The x coordinate 6a represents the x coordinate of one point, i.
The x-th coordinate is specified as px i .

【0026】y座標6bは一つの点のy座標を表し、i
番目のy座標はpyi と明記される。
The y coordinate 6b represents the y coordinate of one point, i.
The y-th coordinate is specified as py i .

【0027】i番目の直前のx座標との座標差6cは、 pdxi =pxi −pxi-1 で求められる。The coordinate difference 6c of the i-th of the previous x-coordinate is calculated by pdx i = px i -px i- 1.

【0028】i番目の直前のy座標との座標差6dは、 pdyi =pyi −pyi で求められる。The coordinate difference 6d from the i -th immediately preceding y coordinate is obtained by pdy i = py i -py i .

【0029】i番目の直前の点との距離差6eは、 pdi =sqrt(pdxi 2+pdyi 2) で求められる。The distance difference 6e from the i -th immediately preceding point is obtained by pd i = sqrt (pdx i 2 + pdy i 2 ).

【0030】i番目の直前のy座標との座標差の和6f
は、 pli =Σpdi で求められる。
The sum 6f of the coordinate difference from the i-th immediately preceding y coordinate
Is obtained by pl i = Σpd i.

【0031】〈曲線定義属性の計算〉曲線の構成点P
は、 P=f(t) で計算される。tは曲線の両端を結ぶ直線の距離を1と
し、直線を分割したときの単位で、曲線定義属性はこの
計算により求めることが可能である。f(t)の具体的
な解法は前述した補間曲線、近似曲線によるものであ
る。
<Calculation of Curve Definition Attribute> Constituent point P of curve
Is calculated as P = f (t). “t” is a unit obtained by dividing a straight line connecting both ends of the curve to 1 and dividing the straight line. The curve definition attribute can be obtained by this calculation. The specific solution of f (t) is based on the above-described interpolation curve and approximate curve.

【0032】〈展開文字表示属性〉図7は曲線に展開さ
れる文字の属性を表す展開文字表示属性情報である。表
示位置のx座標7aは文字表示系と取り決めた文字の左
側を指し、表示位置のy座標7bは文字表示系と取り決
めた文字のベースラインを指す。表示角度7cは文字表
示系と取り決めた角度である。7a、7b、7cは具体
的には図8に示すような値である。文字コード7d、フ
ォント属性7e、修飾情報7fはそれぞれ前述の基準文
字表示属性と同様である。
<Developed Character Display Attribute> FIG. 7 shows developed character display attribute information indicating the attribute of a character developed into a curve. The x coordinate 7a of the display position indicates the left side of the character determined as the character display system, and the y coordinate 7b of the display position indicates the baseline of the character determined as the character display system. The display angle 7c is an angle agreed with the character display system. Specifically, 7a, 7b, and 7c are values as shown in FIG. The character code 7d, font attribute 7e, and modification information 7f are the same as the above-described reference character display attributes.

【0033】〈基準文字表示属性の決定〉次に基準文字
表示属性の決定方法について図9のフローチャートを使
用して説明する。
<Determination of Reference Character Display Attribute> Next, a method of determining the reference character display attribute will be described with reference to the flowchart of FIG.

【0034】まずステップs1にてPD5によって曲線
を入力する。
First, in step s1, a curve is input by the PD5.

【0035】次にステップs2にてs1にて入力した曲
線の点列より外接矩形を求める。
Next, at step s2, a circumscribed rectangle is obtained from the point sequence of the curve input at s1.

【0036】次にステップs3にてs2にて求められた
外接矩形の幅を持った矩形を生成する。
Next, in step s3, a rectangle having the width of the circumscribed rectangle obtained in s2 is generated.

【0037】次にステップs4にてs3にて求められた
矩形で使用する寄せ属性(例えば左寄せ、センタリン
グ、右寄せ)を設定する。
Next, in step s4, the alignment attributes (for example, left alignment, centering, right alignment) to be used in the rectangle obtained in s3 are set.

【0038】次にステップs5にてs3にて求められた
矩形で使用するフォント属性を設定する。
Next, in step s5, the font attribute used for the rectangle obtained in s3 is set.

【0039】次にステップs6にてs3にて求められた
矩形中にキーボード4にて文字列を入力する。
Next, in step s6, a character string is input from the keyboard 4 into the rectangle obtained in s3.

【0040】次にステップs7にてs3にて求められた
矩形中に従来の組版技術によってs4にて設定された寄
せ属性、s5にて設定されたフォント属性をもとに基準
文字表示属性を決定する。
Next, in step s7, a reference character display attribute is determined in the rectangle obtained in s3 based on the alignment attribute set in s4 and the font attribute set in s5 by the conventional typesetting technique. I do.

【0041】このとき組版の属性として、任意の使用フ
ォント属性、寄せ属性を与えることができる。更に、配
置された文字列に対して通常文字編集に使用する修飾を
施すことも可能である。
At this time, arbitrary font attributes and alignment attributes can be given as typesetting attributes. Furthermore, it is also possible to apply a modification used for normal character editing to the arranged character string.

【0042】〈曲線への展開方法〉曲線定義属性と基準
文字表示属性から展開文字表示属性を求める方法を図1
0、図11、及び図12のフローチャートを用いて説明
する。
<Developing Method to Curve> FIG. 1 shows a method for obtaining a developed character display attribute from a curve definition attribute and a reference character display attribute.
0, FIG. 11 and FIG. 12 will be described.

【0043】図11における曲線は3次のベジェ曲線を
表し、(x0 ,y0 )は始点、(x3,3 )は終点を表
す。
The curve in FIG. 11 represents a cubic Bezier curve, wherein (x 0 , y 0 ) represents a start point and (x 3, y 3 ) represents an end point.

【0044】「表示位置、表示角度」まずステップs8
において式(1)によってstandard_xとfo
nt_sizeにより図10における文字の中心点のx
座標standard_x2を求める。 standard_x2=standard_x+font_size/2…( 1) 次にステップs9において式(2)を満たすようなst
andard_2xにもっとも近いpxを持つ曲線定義
属性pi を求める。 pli+1 ≦standard_2x≦pli …(2)
"Display position, display angle" First, step s8
In equation (1), standard_x and fo
By the nt_size, x of the center point of the character in FIG.
Find coordinates standard_x2. standard_x2 = standard_x + font_size / 2 (1) Next, in step s9, st is such that expression (2) is satisfied.
determine the curve defined attributes p i with the closest px to andard_2x. pl i + 1 ≤ standard_2x ≤ pl i (2)

【0045】ただし、式(2)におけるpli は式
(3)によって求められる。 pli =Σpdi …(3)
However, pl i in equation (2) is obtained by equation (3). pl i = Σpd i (3)

【0046】次にステップs10において式(4)、式
(5)によってstandard_x2、standa
rdy、及び、曲線定義属性pi、piの諸属性よりp
x、pyを求める。 px=pxi-1 +pdxi ×(standard_x−pli-1 )/pdi …(4) py=pyi-1 +pdyi ×(standard_y−pli-1 )/pdi …(5)
Next, in step s10, standard_x2 and standard_x2 are calculated according to equations (4) and (5).
rdy and the curve definition attributes pi, p
Find x and py. px = px i−1 + pd i × (standard_x−p i−1 ) / pd i (4) py = py i−1 + pdy i × (standard_y−p i−1 ) / pd i (5)

【0047】ただし、式(4)、式(5)におけるpd
i 、pdyi は式(6)、式(7)によって求められ
る。 pdxi =pxi −pxi-1 …(6) pdyi =pyi −pyi-1 …(7)
Where pd in equations (4) and (5)
x i and pdy i are obtained by Expressions (6) and (7). pdx i = px i -px i- 1 ... (6) pdy i = py i -py i-1 ... (7)

【0048】次にステップs11において式(8)によ
ってsinθを求める。 sinθ=(y3 −y0 )/sqrt((x3 −x02 +(y3 −y02 ) …(8)
Next, in step s11, sin θ is obtained from equation (8). sin θ = (y 3 −y 0 ) / sqrt ((x 3 −x 0 ) 2 + (y 3 −y 0 ) 2 ) (8)

【0049】次にステップs13において式(10)、
式(11)によってdisplay_x、displa
y_yを求める。 display_x=px−stabdard_y×sinθ…(10) display_y=py+standard_y×cosθ…(11)
Next, in step s13, equation (10)
Display_x, display by expression (11)
Find y_y. display_x = px−stabard_y × sin θ (10) display_y = py + standard_y × cos θ (11)

【0050】次にステップs14において式(12)に
よって表示角度display_angleを求める。 display_angle=arctan(display_y/displ ay_x) …(12)
Next, in step s14, the display angle display_angle is obtained by equation (12). display_angle = arctan (display_y / display_x) (12)

【0051】「文字コード」文字コード7dは基準文字
表示属性の文字コード4cから複写される。
"Character code" The character code 7d is copied from the character code 4c of the reference character display attribute.

【0052】「フォント属性」フォント属性7eは基準
文字表示属性フォント属性4dから複写される。
The "font attribute" font attribute 7e is copied from the reference character display attribute font attribute 4d.

【0053】「修飾情報」修飾情報7fは基準文字表示
属性の修飾情報4eから複写される。
[Modification Information] The modification information 7f is copied from the modification information 4e of the reference character display attribute.

【0054】〈表示方法〉生成された展開文字表示属性
を表示角度指定可能な文字表示ルーチンに渡すことによ
り表示する。
<Display Method> The generated expanded character display attribute is displayed by being passed to a character display routine capable of specifying a display angle.

【0055】〈曲線に沿った文字の作成〉図16、図1
7、図18、及び図21のフローチャートを用いて曲線
に沿った文字の作成方法について説明する。
<Creation of Characters Along Curves> FIGS. 16 and 1
A method of creating a character along a curve will be described with reference to the flowcharts of FIGS. 7, 18 and 21.

【0056】まずs25において、従来の図形編集の技
術によりポインティングデバイス16bを用いて任意の
曲線16aを作成し表示する。
First, in s25, an arbitrary curve 16a is created and displayed by using the pointing device 16b by the conventional graphic editing technique.

【0057】次にs26において、前述(s3)の方法
により求められた外接矩形17aを表示する。
Next, in s26, the circumscribed rectangle 17a obtained by the method (s3) is displayed.

【0058】次にs27において、従来の文字編集技術
により外接矩形17a内に文字を入力する。ここで17
bは文字カーソルである。
Next, in s27, a character is input into the circumscribed rectangle 17a by a conventional character editing technique. Where 17
b is a character cursor.

【0059】次にs28において、前述の計算によって
求められた展開文字表示属性を用いて図18のように表
示される。
Next, in s28, the image is displayed as shown in FIG. 18 using the expanded character display attribute obtained by the above-described calculation.

【0060】〈曲線の変更による文字の再展開〉図1
9、図20、及び図22のフローチャートを用いて曲線
の変更による文字の再展開方法について説明する。
<Character Redevelopment by Changing Curve> FIG. 1
A method of re-expanding a character by changing a curve will be described with reference to the flowcharts of FIGS. 9, 20, and 22.

【0061】まずs29において、従来の図形編集技術
によりポインティングデバイス16bを用いて曲線16
aを曲線19aのように変更する。
First, at step s29, the curve 16 is formed using the pointing device 16b by the conventional graphic editing technique.
a is changed to a curve 19a.

【0062】次にs30において、曲線19aに対して
展開文字表示属性を作成し、図20のように表示され
る。
Next, in s30, a developed character display attribute is created for the curve 19a and displayed as shown in FIG.

【0063】〈展開された文字の再編集〉図16、図1
7、図18、及び図23のフローチャートを用いて展開
された文字の再編集の方法について説明する。
<Reediting Expanded Characters> FIGS. 16 and 1
A method of re-editing the developed characters will be described with reference to the flowcharts of FIG. 7, FIG. 18, and FIG.

【0064】まずs31において、ポインティングデバ
イス16bによって指示された場所が曲線16aの外接
矩形17a内に含まれているかどうか判断する。
First, in s31, it is determined whether or not the location specified by the pointing device 16b is included in the circumscribed rectangle 17a of the curve 16a.

【0065】s31にて外接矩形内17aに含まれてい
ないと判断された場合には処理を終了する。
If it is determined in s31 that the circumscribed rectangle 17a is not included, the processing is terminated.

【0066】s31にて外接矩形内17aに含まれてい
ると判断された場合には、s32にて図17に示す文字
編集画面を表示する。
If it is determined in s31 that the character is included in the circumscribed rectangle 17a, a character editing screen shown in FIG. 17 is displayed in s32.

【0067】次にs33にて従来の文字編集技術により
文字列を編集する。
Next, at s33, the character string is edited by the conventional character editing technique.

【0068】次にs34にて曲線16aに対して展開文
字表示属性を作成し、図18のように表示される。
Next, in step s34, a developed character display attribute is created for the curve 16a, and displayed as shown in FIG.

【0069】〈発明の実施の形態2〉本実施の形態は従
来の組版技術により横組に配置された基準文字表示属性
を展開する場合について記述した。組版技術では、横組
に配置する代わりに縦組に配置することも可能である。
そこで、図13のフローチャートにより、縦組の基準文
字表示属性を元に展開文字表示属性を生成する方法を説
明する。
<Embodiment 2> This embodiment has described the case where the reference character display attributes arranged in horizontal composition by the conventional typesetting technique are developed. In the typesetting technology, it is also possible to arrange vertically instead of horizontally.
Accordingly, a method of generating a developed character display attribute based on a vertical reference character display attribute will be described with reference to the flowchart of FIG.

【0070】まずステップs15において式(13)、
式(14)によって曲線定義属性pのx座標6a、y座
標6bを描画基準点を中心に反時計回りに90度回転さ
せ曲線定義属性p′を生成する。 px′=py…(13) py′=px…(14)
First, in step s15, equation (13)
According to equation (14), the x-coordinate 6a and the y-coordinate 6b of the curve definition attribute p are rotated counterclockwise by 90 degrees around the drawing reference point to generate the curve definition attribute p '. px '= py ... (13) py' = px ... (14)

【0071】次にステップs16にて縦組の基準文字表
示属性vを生成する。
Next, in step s16, a vertical-set reference character display attribute v is generated.

【0072】次にステップs17にて基準文字表示属性
vと曲線定義属性p′を用いて、図12のフローチャー
トで示した処理を行うことにより展開文字表示属性dを
生成する。
Next, in step s17, the expanded character display attribute d is generated by performing the processing shown in the flowchart of FIG. 12 using the reference character display attribute v and the curve definition attribute p '.

【0073】次にステップs18にてs17にて生成さ
れた展開文字表示属性dの表示位置のx座標7aと表示
位置のy座標7bを式(15)、式(16)によって時
計回りに90度回転させ展開文字表示属性d′を生成す
る。 dx′=dy…(15) dy′=dx…(16)
Next, at step s18, the x-coordinate 7a of the display position and the y-coordinate 7b of the display position of the expanded character display attribute d generated at s17 are 90 degrees clockwise by the equations (15) and (16). Rotate to generate expanded character display attribute d '. dx '= dy ... (15) dy' = dx ... (16)

【0074】以上の過程で得られた展開文字表示属性
d′を用いて、前述の表示方法によって表示すれば、縦
組に配置された基準文字表示属性を展開することが可能
となる。
By using the expanded character display attribute d 'obtained in the above process and displaying the image by the above-described display method, it is possible to expand the reference character display attributes arranged vertically.

【0075】〈発明の実施の形態3〉本実施の形態で使
用した基準文字表示属性は表示位置のx座標4a、表示
位置のy座標4bの1点の位置情報で表現されている。
これを2点以上の点列で表現される任意の図形を対象と
することも可能である。
<Third Embodiment of the Invention> The reference character display attribute used in the present embodiment is represented by position information of one point of the x coordinate 4a of the display position and the y coordinate 4b of the display position.
This can be applied to an arbitrary figure represented by a sequence of two or more points.

【0076】「図形表示属性」図14は基準となる図形
情報を表す図形表示属性を示すものである。表示位置の
x座標14a、y座標14bは図形表示系と取り決めた
図形の一点を指す。連結情報14cは文字表示系と取り
決めた直前の図形表示属性のx座標、y座標との連結の
方法を表す。この連結情報14cは、 y=f(x) なる関数で定義され、例えば「直線」などを表す場合は
yはxの一次関数で表現される。
[Graphic Display Attribute] FIG. 14 shows a graphic display attribute representing graphic information serving as a reference. The x-coordinate 14a and the y-coordinate 14b of the display position indicate one point of the figure agreed with the figure display system. The connection information 14c indicates a method of connection between the character display system and the x-coordinate and y-coordinate of the graphic display attribute immediately before the arrangement. The connection information 14c is defined by a function of y = f (x). For example, when representing a “straight line”, y is represented by a linear function of x.

【0077】ただし、これら表示位置のx座標14a、
表示位置のy座標14b、連結情報14cは従来の図形
作成装置にて生成されることは既知である。
However, the x coordinates 14a of these display positions,
It is known that the y coordinate 14b and the connection information 14c of the display position are generated by a conventional graphic creation device.

【0078】図10、図11、および図15のフローチ
ャートにより、複数の図形表示属性を持った点列からな
る図形を曲線に展開する方法を説明する。
A method of developing a graphic consisting of a sequence of points having a plurality of graphic display attributes into a curve will be described with reference to the flowcharts of FIGS. 10, 11, and 15.

【0079】まずステップs19において式(17)を
満たすようなvec_xにもっとも近いpxを持つ曲線
定義属性pi を求める。 pli-1 vec_xpli …(17)
[0079] First Request curve defined attributes p i with closest px in vec_x satisfying the equation (17) in step s19. pl i-1 < vec_x < pl i (17)

【0080】ただし、式(17)におけるpli は式
(3)によって求められる。
Here, pl i in equation (17) is obtained by equation (3).

【0081】次にステップs20において式(18)、
式(19)によってvec_x、vec_y、及び、曲
線定義属性pi 、pi の諸属性よりpx、pyを求め
る。 px=pxi-1 +pdxi ×(vec_x−pli-1 )/pdi …(18) py=pyi-1 +pdyi ×(vec_y−pli-1 )/pdi …(19)
Next, in step s20, equation (18)
From equation (19), px and py are obtained from vec_x, vec_y, and various attributes of the curve definition attributes p i and p i . px = px i-1 + pdx i × (vec_x-pl i-1) / pd i ... (18) py = py i-1 + pdy i × (vec_y-pl i-1) / pd i ... (19)

【0082】ただし、式(18)、式(19)における
pdxi 、pdyi は式(6)、式(7)によって求め
られる。
However, pdx i and pdy i in the equations (18) and (19) are obtained by the equations (6) and (7).

【0083】次にステップs21において式(8)によ
ってsinθを求める。
Next, in step s21, sin θ is obtained from equation (8).

【0084】次にステップs22において式(9)によ
ってcosθを求める。
Next, in step s22, cos θ is obtained by equation (9).

【0085】次にステップs23において式(20)、
式(21)によってvec_x′、vec_y′を求め
る。 vec_x′=px−vec_y×sinθ…(20) vec_y′=py−vec_y×cosθ…(21)
Next, in step s23, equation (20)
Vec_x 'and vec_y' are obtained by equation (21). vec_x ′ = px−vec_y × sin θ (20) vec_y ′ = py−vec_y × cos θ (21)

【0086】次にステップs24にて図形表示属性ve
cの連結情報vec_fを図形表示属性vec′の連結
情報vec_f′に複写する。
Next, at step s24, the graphic display attribute ve
The connection information vec_f of c is copied to the connection information vec_f 'of the graphic display attribute vec'.

【0087】以上の過程で得られた図形表示属性ve
c′を用いて、既存の図形表示方法によって表示すれ
ば、2点以上の点列で表現される任意の図形を曲線に展
開することが可能となる。
The graphic display attribute ve obtained in the above process
If c 'is used to display by an existing graphic display method, an arbitrary graphic represented by a sequence of two or more points can be developed into a curve.

【0088】以上の過程は例えばアウトラインフォント
のような文字情報にも適用することが可能となり、文字
の位置だけでなくその形状も曲線に沿って表示すること
が可能となる。
The above process can be applied to character information such as, for example, an outline font, so that not only the position of a character but also its shape can be displayed along a curve.

【0089】〈発明の実施の形態4〉本実施の形態の要
領で、表示するすべてのn文字に関して展開文字表示属
性を求める際に、図24の展開属性の24aの展開方向
tenkai_dirの指定により、文字列の展開方向
を変更することが可能である。tenkai_dirが
「曲線始点→曲線終点」を指定している場合は、図10
の(px,py)を求める際に、式(2)、(3)、
(4)、(5)、(6)、(7)において、m番目の文
字をi=mとして対応させれば良い。この場合、図18
のように展開される。
<Embodiment 4 of the Invention> In the manner of the present embodiment, when the expansion character display attribute is obtained for all n characters to be displayed, the expansion direction tenkai_dir of the expansion attribute 24a in FIG. It is possible to change the expansion direction of the character string. When tenkai_dir designates “curve start point → curve end point”, FIG.
When calculating (px, py) of Equations (2), (3),
In (4), (5), (6), and (7), the m-th character may be associated with i = m. In this case, FIG.
Will be expanded like.

【0090】また、tenkai_dirが「曲線終点
→曲線始点」を指定している場合は、図10の(px,
py)を求める際に、式(2)、(3)、(4)、
(5)、(6)、(7)において、m番目の文字をi=
n−m+1として対応させれば良い。ただし、「曲線終
点→曲線始点」の場合は、文字列が基準となる外接矩形
10a内の一行に収まることが条件となる。この場合、
図25のように展開される。
If tenkai_dir specifies “curve end point → curve start point”, (px,
py), the equations (2), (3), (4),
In (5), (6) and (7), the m-th character is represented by i =
What is necessary is just to make it correspond as nm-1. However, in the case of “curve end point → curve start point”, the condition is that the character string fits in one line in the circumscribed rectangle 10a as a reference. in this case,
It is developed as shown in FIG.

【0091】〈発明の実施の形態5〉次に、図24の展
開属性の24bの展開位置tenkai_posの指定
により、曲線に対する文字列の展開位置を指定する方法
について、図11、図12、図18、図26を用いて説
明する。
<Fifth Embodiment of the Invention> Next, a method of designating the expansion position of a character string with respect to a curve by specifying the expansion position tenkai_pos of the expansion attribute 24b in FIG. 24 will be described with reference to FIGS. 11, 12, and 18. This will be described with reference to FIG.

【0092】本実施の形態の展開結果である図18はt
enkai_posが「曲線始点から曲線終点に向かっ
て右側」と指定されている例である。tenkai_p
osを「曲線始点から曲線終点に向かって左側」と指定
した場合の展開処理は次のようになる。本実施の形態の
図12の要領で、図11における文字の表示角度dis
play_angleを求めた後、(px,py)を表
示位置、display_angleを表示角度とする
ことによって、図26のように文字列を曲線始点から曲
線終点に向かって左側に展開することが可能となる。
FIG. 18 showing the development result of this embodiment is t
This is an example in which enkai_pos is specified as “right side from the curve start point toward the curve end point”. tenkai_p
The expansion processing when os is designated as “left side from the curve start point toward the curve end point” is as follows. The display angle dis of the characters in FIG.
After determining the play_angle, by setting (px, py) to the display position and display_angle to the display angle, the character string can be expanded to the left from the curve start point to the curve end point as shown in FIG.

【0093】なお、発明の実施の形態4と発明の実施の
形態5とを組み合わせることにより、図27のように右
回りに(図18の左回りに対する)出力することもでき
る。
By combining the fourth embodiment of the present invention with the fifth embodiment of the present invention, it is also possible to output clockwise (as opposed to counterclockwise in FIG. 18) as shown in FIG.

【0094】また、図27のように出力する場合、発明
の実施の形態4で説明したアルゴリズムに基づき出力さ
れる図25の文字を、1文字毎に180度回転させて出
力することにより実現できる。
Also, the output as shown in FIG. 27 can be realized by rotating the characters of FIG. 25 output based on the algorithm described in the fourth embodiment of the present invention by 180 degrees for each character and outputting them. .

【0095】また、展開位置を決める際の曲線は、文字
と同時に出力しても出力しなくてもよい。
The curve for determining the development position may or may not be output simultaneously with the character.

【0096】また、本発明の実施の形態では曲線に沿っ
て文字を展開したが、直線に沿って文字を展開させる際
にも応用できる。
In the embodiment of the present invention, characters are developed along a curved line. However, the present invention can also be applied to developing characters along a straight line.

【0097】なお、本発明の実施の形態では、曲線及び
曲線に沿って展開される文字はCRT1に表示させてい
たが、不図示のインクジェットプリンタやレーザビーム
プリンタ等に印刷させることによっても実現できる。
In the embodiment of the present invention, the curved lines and the characters developed along the curved lines are displayed on the CRT 1, but they can also be realized by printing on an ink jet printer or a laser beam printer (not shown). .

【0098】本発明の実施の形態によって、第1に、従
来不可能であった複数の点列からなる曲線図形データに
沿った文字データの表示ができるようになるという効果
が導かれる。
First, according to the embodiment of the present invention, there is an effect that character data can be displayed along curve graphic data composed of a plurality of dot strings, which was impossible in the past.

【0099】第2に、対象図形データの外接矩形に文字
を入力するため、利用者が容易に文字の形状、サイズ、
寄せを指定でき、所望する文字表示を得ることが可能と
なる。
Second, since characters are input to the circumscribed rectangle of the target graphic data, the user can easily determine the shape, size,
The alignment can be designated, and a desired character display can be obtained.

【0100】第3に、従来の座標計算技術、組版技術、
文字表示技術の組み合わせにより実現可能であり、新た
な装置を導入する必要なく実現できるという効果が導か
れる。
Third, conventional coordinate calculation technology, typesetting technology,
This can be realized by a combination of character display technologies, and the effect is realized that it can be realized without introducing a new device.

【0101】第4に、基準文字表示属性の生成過程(文
字作成装置の分野)と展開文字表示属性の生成過程(図
形作成装置の分野)とを分離したことにより、図形作成
装置が文字作成装置をブラックボックスのように使用で
き、図形作成装置は具体的な文字情報を知ることなく単
なる座標計算のみを行えば良いという効果が導かれる。
Fourth, by separating the process of generating the reference character display attribute (field of the character creation device) and the process of generating the expanded character display attribute (field of the graphic creation device), Can be used like a black box, and the graphic creation device only has to perform simple coordinate calculation without knowing specific character information.

【0102】第5に、基準文字表示属性を生成するにあ
たって、従来の組版技術を変更することなく応用できる
という効果が導かれる。
Fifth, there is an advantage that the conventional typesetting technique can be applied without any change in generating the reference character display attribute.

【0103】第6に、利用者の所望する曲線の変形を元
に容易に文字列をも再展開できるという効果が導かれ
る。
Sixth, there is an effect that a character string can be easily redeployed based on a curve deformation desired by the user.

【0104】第7に、展開されている文字列を利用者の
所望する文字列へ容易に編集できるという効果が導かれ
る。
Seventh, there is an effect that the expanded character string can be easily edited into a character string desired by the user.

【0105】第8に、組版処理で編集した文字列をその
まま曲線に沿って表示できる効果が導かれる。
Eighth, an effect that the character string edited by the typesetting process can be displayed as it is along the curve is derived.

【0106】第9に、組版処理と図形処理に基づき処理
が行われるため、文字データの変更、図形データ(曲
線)の変更が容易にできる効果が導かれる。
Ninth, since the processing is performed based on the typesetting processing and the graphic processing, it is possible to easily change character data and graphic data (curves).

【0107】第10に、展開方向の変更が容易に行える
ため、曲線の形状(凹凸)に合わせて、自然な語順で文
字列を展開することが可能となる効果が導かれる。
Tenth, since the development direction can be easily changed, it is possible to obtain the effect that the character string can be developed in a natural word order according to the shape of the curve (concavities and convexities).

【0108】第11に、曲線始点から曲線終点に向かっ
て展開位置を「左側」か「右側」に指定できるため、対
象となる曲線に対する文字列の位置を容易に変更できる
という効果が導かれる。
Eleventh, since the development position can be designated as “left” or “right” from the curve start point to the curve end point, an effect is obtained that the position of the character string with respect to the target curve can be easily changed.

【0109】第12に、展開方向、及び展開位置を逆に
指定したものを出力できる効果がある。
Twelfth, there is an effect that an output in which the developing direction and the developing position are specified in reverse is output.

【0110】[0110]

【発明の効果】以上、詳述したように本発明によれば、
線に沿って様々な方式で文字を出力できる効果がある。
As described in detail above, according to the present invention,
There is an effect that characters can be output in various ways along the line.

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

【図1】本発明の一実施の形態による図形作成装置の概
略構成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of a figure creating apparatus according to an embodiment of the present invention.

【図2】本発明の一実施の形態による表示例を示した図
である。
FIG. 2 is a diagram showing a display example according to an embodiment of the present invention.

【図3】フォント属性を示す図である。FIG. 3 is a diagram illustrating font attributes.

【図4】基準文字表示属性を示す図である。FIG. 4 is a diagram showing a reference character display attribute.

【図5】寄せ属性を示す図である。FIG. 5 is a diagram illustrating an alignment attribute.

【図6】曲線定義属性を示す図である。FIG. 6 is a diagram showing a curve definition attribute.

【図7】展開文字表示属性を示す図である。FIG. 7 is a diagram showing a developed character display attribute.

【図8】フォント属性、展開文字表示属性と表示結果と
の対応を示す図である。
FIG. 8 is a diagram showing correspondence between font attributes, expanded character display attributes, and display results.

【図9】基準文字表示属性の決定方法を示すフローチャ
ートである。
FIG. 9 is a flowchart illustrating a method for determining a reference character display attribute.

【図10】基準文字表示位置に対応した曲線上の点を示
す図である。
FIG. 10 is a diagram showing points on a curve corresponding to a reference character display position.

【図11】展開文字表示位置、展開文字表示角度を説明
する図である。
FIG. 11 is a diagram illustrating a developed character display position and a developed character display angle.

【図12】展開文字表示属性の表示位置、表示角度の決
定方法を示すフローチャートである。
FIG. 12 is a flowchart illustrating a method for determining a display position and a display angle of a developed character display attribute.

【図13】縦組の基準文字表示属性から展開文字表示属
性を決定するフローチャートである。
FIG. 13 is a flowchart for determining an expanded character display attribute from a vertical reference character display attribute.

【図14】図形表示属性を示す図である。FIG. 14 is a diagram showing graphic display attributes.

【図15】図形表示属性を曲線に展開する方法を示すフ
ローチャートである。
FIG. 15 is a flowchart illustrating a method of developing a graphic display attribute into a curve.

【図16】曲線の作成過程を示す図である。FIG. 16 is a diagram showing a process of creating a curve.

【図17】曲線に展開される文字の編集画面を示す図で
ある。
FIG. 17 is a diagram showing an edit screen of a character developed into a curve.

【図18】曲線と展開された文字列を示す図である。FIG. 18 is a diagram showing a curve and an expanded character string.

【図19】曲線の変更過程を示す図である。FIG. 19 is a diagram showing a process of changing a curve.

【図20】曲線への最展開の結果を示す図である。FIG. 20 is a diagram showing the result of the most expansion into a curve.

【図21】曲線に沿った文字の作成方法を示すフローチ
ャートである。
FIG. 21 is a flowchart illustrating a method of creating a character along a curve.

【図22】曲線の変更による文字の最展開方法を示すフ
ローチャートである。
FIG. 22 is a flowchart showing a method of re-expanding a character by changing a curve.

【図23】展開された文字の再編集方法を示すフローチ
ャートである。
FIG. 23 is a flowchart showing a method of re-editing a developed character.

【図24】展開属性を示す図である。FIG. 24 is a diagram showing a development attribute.

【図25】展開方向を曲線終点→曲線始点として展開さ
れた文字列を示す図である。
FIG. 25 is a diagram showing a character string developed by changing the development direction from a curve end point to a curve start point.

【図26】展開位置を曲線始点から曲線終点に向かって
左側として展開された文字列を示す図である。
FIG. 26 is a diagram illustrating a character string that is developed with the development position leftward from the curve start point toward the curve end point.

【図27】展開方向及び展開位置を図18の場合と逆に
指定した場合に展開される文字列を示す図である。
FIG. 27 is a diagram illustrating a character string that is expanded when the expansion direction and expansion position are specified in the opposite manner to the case of FIG. 18;

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

1 CRT 2 ビデオRAM 3 BMU 4 キーボード 5 ポインティングデバイス 6 CPU 7 ROM 8 作業用のRAM 9 ハードディスク 10 フロッピィディスク 11 ネットワークインターフェース 12 I/Oバス DESCRIPTION OF SYMBOLS 1 CRT 2 Video RAM 3 BMU 4 Keyboard 5 Pointing device 6 CPU 7 ROM 8 Working RAM 9 Hard disk 10 Floppy disk 11 Network interface 12 I / O bus

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI G09G 5/00 510 G09G 5/22 670P 5/22 670 G06F 15/20 534P ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 6 Identification code FI G09G 5/00 510 G09G 5/22 670P 5/22 670 G06F 15/20 534P

Claims (48)

【特許請求の範囲】[Claims] 【請求項1】 線に沿って文字を展開する際に、線の始
点から終点に向かって右側に文字を展開するか左側に文
字を展開するかを指定する指定手段と、 前記指定手段の指定に基づき文字を線に沿って展開する
展開手段とを有することを特徴とする文字処理装置。
1. A designating means for designating whether a character is developed rightward or leftward from a start point to an end point of a line when a character is developed along a line, and a designation of the designating means. And a developing means for developing a character along a line based on a character string.
【請求項2】 線に沿って文字を展開する際に、線の始
点から終点に向かって文字を展開するか終点から始点に
向かって文字を展開するか指定する第2指定手段を有
し、 前記展開手段は、前記指定手段と第2指定手段による指
定に基づき文字を展開することを特徴とする請求項1記
載の文字処理装置。
2. When a character is developed along a line, a second designating means for designating whether the character is developed from a start point to an end point of the line or a character is developed from the end point to the start point, 2. The character processing apparatus according to claim 1, wherein said developing means develops a character based on the designation by the designation means and the second designation means.
【請求項3】 前記展開手段は、線を表す線データに基
づき、展開位置、展開角度を導出する手段を含むことを
特徴とする請求項1、または、2記載の文字処理装置。
3. The character processing apparatus according to claim 1, wherein said developing means includes means for deriving a developing position and a developing angle based on line data representing a line.
【請求項4】 前記展開手段により展開された文字を出
力する出力手段を有することを特徴とする請求項1、
2、または、3記載の文字処理装置。
4. An apparatus according to claim 1, further comprising output means for outputting characters expanded by said expansion means.
2. The character processing device according to 2 or 3.
【請求項5】 前記出力手段は、表示装置であることを
特徴とする請求項4記載の文字処理装置。
5. The character processing device according to claim 4, wherein said output means is a display device.
【請求項6】 前記出力手段は、プリンタであることを
特徴とする請求項4記載の文字処理装置。
6. The character processing device according to claim 4, wherein said output means is a printer.
【請求項7】 線を入力する線入力手段と、 線の外接矩形を導出する手段と、 導出された外接矩形に文字を入力する文字入力手段とを
有することを特徴とする請求項1、2、3、4、5、ま
たは、6記載の文字処理装置。
7. The apparatus according to claim 1, further comprising: line input means for inputting a line; means for deriving a circumscribed rectangle of the line; and character input means for inputting a character in the derived circumscribed rectangle. 7. The character processing device according to 3, 4, 5, or 6.
【請求項8】 前記線は曲線であることを特徴とする請
求項1、2、3、4、5、6または、7記載の文字処理
装置。
8. The character processing device according to claim 1, wherein the line is a curved line.
【請求項9】 線に沿って文字を展開する際に、線の始
点から終点に向かって文字を展開するか終点から始点に
向かって文字を展開するか指定するかを指定する指定手
段と、 前記指定手段の指定に基づき文字を線に沿って展開する
展開手段とを有することを特徴とする文字処理装置。
9. A designating means for designating whether to develop a character from a start point to an end point of a line or to develop a character from an end point to a start point when developing a character along a line; Expansion means for expanding characters along a line based on the designation of the designation means.
【請求項10】 前記展開手段は、終点から始点に向か
って展開される文字を回転して展開することを特徴とす
る請求項9記載の文字処理装置。
10. The character processing apparatus according to claim 9, wherein said developing means rotates and develops a character developed from an end point toward a start point.
【請求項11】 前記展開手段は、線を表す線データに
基づき、展開位置、展開角度を導出する手段を含むこと
を特徴とする請求項9、または、10記載の文字処理装
置。
11. The character processing apparatus according to claim 9, wherein said developing means includes means for deriving a developing position and a developing angle based on line data representing a line.
【請求項12】 前記展開手段により展開された文字を
出力する出力手段を有することを特徴とする請求項9、
10、または、11記載の文字処理装置。
12. The image processing apparatus according to claim 9, further comprising output means for outputting characters expanded by said expansion means.
10. The character processing device according to 10 or 11.
【請求項13】 前記出力手段は、表示装置であること
を特徴とする請求項12記載の文字処理装置。
13. The character processing device according to claim 12, wherein said output means is a display device.
【請求項14】 前記出力手段は、プリンタであること
を特徴とする請求項12記載の文字処理装置。
14. The character processing apparatus according to claim 12, wherein said output means is a printer.
【請求項15】 線を入力する線入力手段と、 線の外接矩形を導出する手段と、 導出された外接矩形に文字を入力する文字入力手段とを
有することを特徴とする請求項9、10、11、12、
13、または、14記載の文字処理装置。
15. The apparatus according to claim 9, further comprising: line input means for inputting a line; means for deriving a circumscribed rectangle of the line; and character input means for inputting a character in the derived circumscribed rectangle. , 11, 12,
13. The character processing device according to 13 or 14.
【請求項16】 前記線は曲線であることを特徴とする
請求項9、10、11、12、13、14、または、1
5記載の文字処理装置。
16. The method as claimed in claim 9, wherein the line is a curve.
5. The character processing device according to 5.
【請求項17】 線に沿って文字を展開する際に、線の
始点から終点に向かって右側に文字を展開するか左側に
文字を展開するかを指定する指定工程と、 前記指定工程の指定に基づき文字を線に沿って展開する
展開工程とを有することを特徴とする文字処理方法。
17. A designating step for designating whether a character is developed rightward or leftward from the start point to the end point of the line when the character is developed along the line; And a developing step of developing characters along a line based on the character processing method.
【請求項18】 線に沿って文字を展開する際に、線の
始点から終点に向かって文字を展開するか終点から始点
に向かって文字を展開するか指定する第2指定工程を有
し、 前記展開工程は、前記指定工程と第2指定工程による指
定に基づき文字を展開することを特徴とする請求項17
記載の文字処理方法。
18. When a character is developed along a line, the method further includes a second designation step of designating whether the character is developed from a start point to an end point of the line or a character is developed from the end point to the start point. 18. The method according to claim 17, wherein the expanding step expands a character based on the designation by the designation step and the second designation step.
The character processing method described.
【請求項19】 前記展開工程は、線を表す線データに
基づき、展開位置、展開角度を導出する工程を含むこと
を特徴とする請求項17、または、18記載の文字処理
方法。
19. The character processing method according to claim 17, wherein the developing step includes a step of deriving a developing position and a developing angle based on line data representing a line.
【請求項20】 前記展開工程により展開された文字を
出力手段により出力する出力工程を有することを特徴と
する請求項17、18、または、19記載の文字処理方
法。
20. The character processing method according to claim 17, further comprising an output step of outputting, by an output unit, the character expanded in the expansion step.
【請求項21】 前記出力手段は、表示装置であること
を特徴とする請求項20記載の文字処理方法。
21. The character processing method according to claim 20, wherein said output means is a display device.
【請求項22】 前記出力手段は、プリンタであること
を特徴とする請求項20記載の文字処理方法。
22. A character processing method according to claim 20, wherein said output means is a printer.
【請求項23】 線を入力する線入力工程と、 線の外接矩形を導出する工程と、 導出された外接矩形に文字を入力する文字入力工程とを
有することを特徴とする請求項17、18、19、2
0、21、または、22記載の文字処理方法。
23. The method according to claim 17, further comprising a line input step of inputting a line, a step of deriving a circumscribed rectangle of the line, and a character input step of inputting a character into the derived circumscribed rectangle. , 19,2
The character processing method described in 0, 21, or 22.
【請求項24】 前記線は曲線であることを特徴とする
請求項17、18、19、20、21、22または、2
3記載の文字処理方法。
24. The method of claim 17, wherein the line is a curve.
3. The character processing method according to 3.
【請求項25】 線に沿って文字を展開する際に、線の
始点から終点に向かって文字を展開するか終点から始点
に向かって文字を展開するか指定するかを指定する指定
工程と、 前記指定工程の指定に基づき文字を線に沿って展開する
展開工程とを有することを特徴とする文字処理方法。
25. A designating step for designating whether to develop a character from a start point to an end point of a line or to develop a character from an end point to a start point when developing a character along a line; Developing a character along a line based on the designation in the designation step.
【請求項26】 前記展開工程は、終点から始点に向か
って展開される文字を回転して展開することを特徴とす
る請求項25記載の文字処理方法。
26. The character processing method according to claim 25, wherein in the expanding step, the character expanded from the end point toward the start point is rotated and expanded.
【請求項27】 前記展開工程は、線を表す線データに
基づき、展開位置、展開角度を導出する工程を含むこと
を特徴とする請求項25、または、26記載の文字処理
方法。
27. The character processing method according to claim 25, wherein the developing step includes a step of deriving a developing position and a developing angle based on line data representing a line.
【請求項28】 前記展開工程により展開された文字を
出力手段により出力する出力工程を有することを特徴と
する請求項25、26、または、27記載の文字処理方
法。
28. The character processing method according to claim 25, further comprising an output step of outputting characters expanded in the expansion step by an output unit.
【請求項29】 前記出力工程は、表示装置であること
を特徴とする請求項28記載の文字処理方法。
29. The character processing method according to claim 28, wherein said output step is a display device.
【請求項30】 前記出力工程は、プリンタであること
を特徴とする請求項28記載の文字処理方法。
30. The character processing method according to claim 28, wherein said output step is a printer.
【請求項31】 線を入力する線入力工程と、 線の外接矩形を導出する工程と、 導出された外接矩形に文字を入力する文字入力工程とを
有することを特徴とする請求項25、26、27、2
8、29、または、30記載の文字処理方法。
31. A line input step of inputting a line, a step of deriving a circumscribed rectangle of the line, and a character input step of inputting a character into the derived circumscribed rectangle. , 27, 2
The character processing method according to 8, 29 or 30.
【請求項32】 前記線は曲線であることを特徴とする
請求項25、26、27、28、29、30、または、
31記載の文字処理方法。
32. The method of claim 25, 26, 27, 28, 29, 30, or wherein the line is a curve.
31. The character processing method according to item 31.
【請求項33】 線に沿って文字を展開する際に、線の
始点から終点に向かって右側に文字を展開するか左側に
文字を展開するかを指定する指定手順と、 前記指定手順の指定に基づき文字を線に沿って展開する
展開手順とをコンピュータに実行させるためのプログラ
ムを記憶した記憶媒体。
33. A designating procedure for designating whether a character is developed rightward or leftward from a start point to an end point of a line when a character is developed along a line, and designation of the specification step. A storage medium storing a program for causing a computer to execute a developing procedure for developing a character along a line based on the program.
【請求項34】 線に沿って文字を展開する際に、線の
始点から終点に向かって文字を展開するか終点から始点
に向かって文字を展開するか指定する第2指定手順を有
し、 前記展開手順は、前記指定手順と第2指定手順による指
定に基づき文字を展開することを特徴とする請求項33
記載の記憶媒体。
34. A method for developing a character along a line, the method comprising: specifying whether to expand the character from the start point to the end point of the line or to expand the character from the end point to the start point. 34. The expansion procedure according to claim 33, wherein the expansion is performed based on the designation by the designation procedure and the second designation procedure.
The storage medium according to the above.
【請求項35】 前記展開手順は、線を表す線データに
基づき、展開位置、展開角度を導出する手順を含むこと
を特徴とする請求項33、または、34記載の記憶媒
体。
35. The storage medium according to claim 33, wherein said developing step includes a step of deriving a developing position and a developing angle based on line data representing a line.
【請求項36】 前記展開手順により展開された文字を
出力手段により出力する出力手順を有することを特徴と
する請求項33、34、または、35記載の記憶媒体。
36. The storage medium according to claim 33, further comprising an output step of outputting, by an output unit, characters expanded by the expansion procedure.
【請求項37】 前記出力手段は、表示装置であること
を特徴とする請求項36記載の記憶媒体。
37. The storage medium according to claim 36, wherein said output means is a display device.
【請求項38】 前記出力手段は、プリンタであること
を特徴とする請求項36記載の記憶媒体。
38. The storage medium according to claim 36, wherein said output means is a printer.
【請求項39】 線を入力する線入力手順と、 線の外接矩形を導出する手順と、 導出された外接矩形に文字を入力する文字入力手順とを
有することを特徴とする請求項33、34、35、3
6、37、または、38記載の記憶媒体。
39. The method according to claim 33, further comprising a line input procedure for inputting a line, a procedure for deriving a circumscribed rectangle of the line, and a character input procedure for inputting a character in the derived circumscribed rectangle. , 35,3
The storage medium according to 6, 37, or 38.
【請求項40】 前記線は曲線であることを特徴とする
請求項33、34、35、36、37、38、または、
39記載の記憶媒体。
40. The method of claim 33, wherein the line is a curve.
39. The storage medium according to 39.
【請求項41】 線に沿って文字を展開する際に、線の
始点から終点に向かって文字を展開するか終点から始点
に向かって文字を展開するか指定するかを指定する指定
手順と、 前記指定手順の指定に基づき文字を線に沿って展開する
展開手順とをコンピュータに実行させるためのプログラ
ムを記憶した記憶媒体。
41. A specification procedure for specifying whether to expand a character from the start point of the line to the end point or to expand the character from the end point to the start point when expanding the character along the line; A storage medium storing a program for causing a computer to execute a development procedure for developing characters along a line based on the designation of the designation procedure.
【請求項42】 前記展開手順は、終点から始点に向か
って展開される文字を回転して展開することを特徴とす
る請求項41記載の記憶媒体。
42. The storage medium according to claim 41, wherein said expanding step rotates and expands a character expanded from an end point toward a start point.
【請求項43】 前記展開手順は、線を表す線データに
基づき、展開位置、展開角度を導出する手順を含むこと
を特徴とする請求項41、または、42記載の記憶媒
体。
43. The storage medium according to claim 41, wherein said developing step includes a step of deriving a developing position and a developing angle based on line data representing a line.
【請求項44】 前記展開手順により展開された文字を
出力手段により出力する出力手順を有することを特徴と
する請求項41、42、または、43記載の記憶媒体。
44. The storage medium according to claim 41, further comprising an output step of outputting characters expanded by said expansion procedure by an output unit.
【請求項45】 前記出力手段は、表示装置であること
を特徴とする請求項44記載の記憶媒体。
45. The storage medium according to claim 44, wherein said output means is a display device.
【請求項46】 前記出力手段は、プリンタであること
を特徴とする請求項44記載の記憶媒体。
46. The storage medium according to claim 44, wherein said output means is a printer.
【請求項47】 線を入力する線入力手順と、 線の外接矩形を導出する手順と、 導出された外接矩形に文字を入力する文字入力手順とを
有することを特徴とする請求項41、42、43、4
4、45、または、46記載の記憶媒体。
47. A line input procedure for inputting a line, a procedure for deriving a circumscribed rectangle of the line, and a character input procedure for inputting a character in the derived circumscribed rectangle. , 43, 4
47. The storage medium according to 4, 45, or 46.
【請求項48】 前記線は曲線であることを特徴とする
請求項41、42、43、44、45、46、または、
47記載の記憶媒体。
48. The method as claimed in claim 41, wherein the line is a curve.
47. The storage medium according to 47.
JP9171927A 1996-08-30 1997-06-27 Character processor, character processing method and memory medium Withdrawn JPH10124033A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9171927A JPH10124033A (en) 1996-08-30 1997-06-27 Character processor, character processing method and memory medium

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP8-230239 1996-08-30
JP23023996 1996-08-30
JP9171927A JPH10124033A (en) 1996-08-30 1997-06-27 Character processor, character processing method and memory medium

Publications (1)

Publication Number Publication Date
JPH10124033A true JPH10124033A (en) 1998-05-15

Family

ID=26494484

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9171927A Withdrawn JPH10124033A (en) 1996-08-30 1997-06-27 Character processor, character processing method and memory medium

Country Status (1)

Country Link
JP (1) JPH10124033A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002251280A (en) * 2001-02-22 2002-09-06 Canon Inc Electronic blackboard device and method for controlling the same
JP2009291993A (en) * 2008-06-03 2009-12-17 Kyocera Mita Corp Image forming apparatus and image forming program
JP2012088969A (en) * 2010-10-20 2012-05-10 Sharp Corp Input display apparatus, input display method, computer program, and recording medium
WO2016189735A1 (en) * 2015-05-28 2016-12-01 三菱電機株式会社 Input display device and input display method
KR20180098681A (en) 2016-02-08 2018-09-04 미쓰비시덴키 가부시키가이샤 Input display control device, input display control method, and input display system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002251280A (en) * 2001-02-22 2002-09-06 Canon Inc Electronic blackboard device and method for controlling the same
JP4632389B2 (en) * 2001-02-22 2011-02-16 キヤノン株式会社 Electronic blackboard apparatus and control method thereof
JP2009291993A (en) * 2008-06-03 2009-12-17 Kyocera Mita Corp Image forming apparatus and image forming program
JP2012088969A (en) * 2010-10-20 2012-05-10 Sharp Corp Input display apparatus, input display method, computer program, and recording medium
WO2016189735A1 (en) * 2015-05-28 2016-12-01 三菱電機株式会社 Input display device and input display method
JPWO2016189735A1 (en) * 2015-05-28 2017-07-13 三菱電機株式会社 Input display device, input display method, and input display program
US10510322B2 (en) 2015-05-28 2019-12-17 Mitsubishi Electric Corporation Input display device, input display method, and computer-readable medium
US10748506B2 (en) 2015-05-28 2020-08-18 Mitsubishi Electric Corporation Input display device and input display method
KR20180098681A (en) 2016-02-08 2018-09-04 미쓰비시덴키 가부시키가이샤 Input display control device, input display control method, and input display system
US10884612B2 (en) 2016-02-08 2021-01-05 Mitsubishi Electric Corporation Input display control device, input display control method, and input display system

Similar Documents

Publication Publication Date Title
JPH07334144A (en) Method for change of thickness of raster output character
KR970008546B1 (en) Character or graphic processing method
JP2904673B2 (en) Image creation device
JPH10124033A (en) Character processor, character processing method and memory medium
JP3376072B2 (en) Character processing apparatus and method
JP2791014B2 (en) Character processor
JPH06215074A (en) Graphic processor
JP2004004153A (en) Character and character string generation display device
JP2635311B2 (en) Document processing device
JP3679484B2 (en) Graphic processing apparatus and method
JPH04373084A (en) Character/graphic deformation processing device
JP3035126B2 (en) Information processing device
JPH04326478A (en) Graphic preparing device
JP3040624B2 (en) Pattern generator
JP3267364B2 (en) Graphic processing apparatus and method
JP2737845B2 (en) Character processing method and apparatus
JP2798688B2 (en) Character processing apparatus and method
JPH05143053A (en) Word processor provided with enlarging and smoothing function
JP2908551B2 (en) Image processing apparatus and image processing method
JP2967861B2 (en) Output device
JP2803746B2 (en) Character processing method and apparatus
Panchyk et al. A Brief Guide to AutoCAD for Managers
JPH067386B2 (en) Graphic editing device
JPH06110442A (en) Character and figure processor and method for deforming character of figure
JPH10293569A (en) Character processor and method therefor

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20040907