JPH08160936A - Character string output device - Google Patents

Character string output device

Info

Publication number
JPH08160936A
JPH08160936A JP6331026A JP33102694A JPH08160936A JP H08160936 A JPH08160936 A JP H08160936A JP 6331026 A JP6331026 A JP 6331026A JP 33102694 A JP33102694 A JP 33102694A JP H08160936 A JPH08160936 A JP H08160936A
Authority
JP
Japan
Prior art keywords
character string
character
information
line segment
graphic
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
JP6331026A
Other languages
Japanese (ja)
Other versions
JP3486788B2 (en
Inventor
Shin Mikuni
伸 三国
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 JP33102694A priority Critical patent/JP3486788B2/en
Publication of JPH08160936A publication Critical patent/JPH08160936A/en
Application granted granted Critical
Publication of JP3486788B2 publication Critical patent/JP3486788B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE: To provide a character string which is rich in variation and expressing power through easy operation by specifying an optional figure and arranging a character string to be outputted along the segments constituting the figure. CONSTITUTION: A character and figure information conversion part 10 has a character string storage part 10-1, a figure information storage part 10-2, and an arrangement information generation part 10-3 and generate a character string with arrangement information on the basis of a character string and figure information in the character string storage part 10-1 and figure information storage part 10-2. The obtained character string with the arrangement information is temporarily stored in a data buffer 10-4 and then written in a hyper-outline memory 5-2. Namely, a prepared figure is merely specified and then the arrangement information defining a character arrangement area in the same shape with the segments constituting the figure is generated, segment by segment, and added to the character string to be outputted, so that the character string can be arranged and outputted along the segments constituting the figure.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、ワードプロセッサ等
の文書処理装置において、図形を構成する線分に沿って
出力対象の文字列を配置出力する文字列出力装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character string output device for arranging and outputting a character string to be output along a line segment forming a figure in a document processing device such as a word processor.

【0002】[0002]

【従来の技術】従来、ワードプロセッサ等の文書処理装
置において、任意の文字列を強調出力する場合、反転、
回転、斜体等によって所望する文字列に修飾をかけて強
調する方法が知られているが、このようにして文字列を
強調する方法では、予め決められた形態でしか修飾する
ことができず、極めて自由度が低く、ユーザの要望に十
分応じきれないという問題があった。そこで、本出願人
は、2本の線分で挟まれた領域を文字配置領域とし、こ
の配置領域内に文字列を配置出力することにより、直
線、円弧、ベジェール曲線等に沿わせて任意の場所に文
字列を配置する技術として例えば、特願平4−2553
72号、発明の名称:文字列出力装置、特願平3−25
5925号、発明の名称:装飾文字出力装置を提案し
た。
2. Description of the Related Art Conventionally, in a document processing device such as a word processor, when an arbitrary character string is emphasized and output, inversion,
A method of emphasizing a desired character string by rotation, italics, etc. is known, but in the method of emphasizing a character string in this way, it can be modified only in a predetermined form, There is a problem that the degree of freedom is extremely low and the user's request cannot be fully satisfied. Therefore, the present applicant defines an area sandwiched by two line segments as a character arrangement area, and arranges and outputs a character string in this arrangement area, so that an arbitrary line can be formed along a straight line, an arc, a Bezier curve, or the like. As a technique for arranging a character string in a place, for example, Japanese Patent Application No. 4-2553
No. 72, Title of invention: Character string output device, Japanese Patent Application No. 3-25
No. 5925, Title of the invention: A decorative character output device was proposed.

【0003】[0003]

【発明が解決しようとする課題】これによって文字列全
体を円弧状、波形状等に変形配置することができ、極め
て変化に富んだ文字列を得ることが可能となるが、この
種のものにおいては、文字配置領域等を予め入力作成し
ておくことを前提とするものあり、その作成は初心者に
とって必ずしも容易なものとは言えず、その改善が要望
されていた。この発明の課題は、単に任意の図形を指定
するだけでその図形を構成する線分に沿って出力対象文
字列を配置できるようにすることである。
As a result, the entire character string can be deformed and arranged in an arc shape, a wavy shape, etc., and it is possible to obtain an extremely varied character string. Is based on the premise that a character arrangement area and the like are input and created in advance, and the creation is not necessarily easy for a beginner, and improvement thereof has been demanded. An object of the present invention is to make it possible to arrange an output target character string along a line segment that constitutes a graphic by simply designating an arbitrary graphic.

【0004】[0004]

【課題を解決するための手段】この発明の手段は次の通
りである。2本の線分で挾まれた領域を文字配置領域と
すると共に、出力対象として指定された文字列をこの文
字配置領域内にその線分に沿って配置出力する文字列出
力装置において、 (1)、図形記憶手段は図形情報を記憶するもので、入
力作成された図形情報あるいは予め用意されている図形
情報を記憶する図形メモリである。 (2)、図形指定手段は図形を指定するキー入力装置等
である。 (3)、読出手段はこの図形指定手段によって指定され
た図形情報を前記図形記憶手段から読み出す。 (4)、生成手段はこの読出手段によって読み出された
図形情報に基づいて当該図形を構成する各線分毎に、そ
の線分と同一形状の前記文字配置領域を定義すると共に
図形情報と同一の座標系で表現した配置情報を生成す
る。 (5)、付加手段はこの生成手段によって生成された配
置情報を、予め出力対象として指定された文字列に付加
する。 (6)、出力手段はこの付加手段によって配置情報が付
加された文字列を出力する際に、この配置情報によって
示される各文字配置領域内に文字列を配置出力する。 なお、前記生成手段は図形を構成する各線分毎に、前記
文字配置領域を示す配置情報を生成する際、図形を構成
する各線分毎に、対向する新たな線分をそれぞれ生成
し、図形を構成する線分とそれに対向して新たに生成さ
れた線分とによって挾まれた領域を文字配置領域とする
配置情報を生成するようにしてもよい。また、前記生成
手段は図形を構成する各線分毎に対向する新たな線分を
それぞれ生成する際に、文字配置領域と文字列の文字数
とに基づいて文字の高さを決定し、この文字の高さに応
じて新たな線分を生成するようにしてもよい。また、前
記付加手段は図形を構成する線分毎に前記生成手段によ
って生成された配置情報を出力対象文字列に付加する際
に、出力対象文字列を各線分の文字配置領域に応じて分
割すると共に分割した各文字列に、対応する線分の配置
情報をそれぞれ付加するようにしてもよい。
The means of the present invention are as follows. In a character string output device that sets a region sandwiched by two line segments as a character arrangement region and arranges and outputs a character string designated as an output target along the line segment in the character arrangement region, (1 ), The graphic storage means is for storing graphic information, and is a graphic memory for storing graphic information that has been input and created or that is prepared in advance. (2) The graphic designating means is a key input device for designating a graphic. (3) The reading means reads the graphic information designated by the graphic designating means from the graphic storing means. (4) Based on the graphic information read by the reading means, the generating means defines, for each line segment forming the graphic, the character arrangement area having the same shape as the line segment and the same as the graphic information. The arrangement information expressed in the coordinate system is generated. (5), the adding means adds the arrangement information generated by the generating means to the character string designated as an output target in advance. (6) When outputting the character string to which the arrangement information is added by the adding means, the output means arranges and outputs the character string in each character arrangement area indicated by the arrangement information. In addition, when generating the arrangement information indicating the character arrangement area for each line segment forming the figure, the generating unit generates new line segments facing each other for each line segment forming the figure, and Arrangement information may be generated in which an area sandwiched between the constituent line segments and a line segment newly generated in opposition thereto is used as the character arrangement area. In addition, the generation means determines the height of a character based on the character arrangement area and the number of characters in the character string when generating a new line segment that opposes each line segment that constitutes a figure, A new line segment may be generated according to the height. Further, the adding means divides the output target character string according to the character arrangement area of each line segment when adding the layout information generated by the generating means to the output target character string for each line segment forming the figure. The arrangement information of the corresponding line segment may be added to each of the divided character strings.

【0005】[0005]

【作用】この発明の手段の作用は次の通りである。い
ま、図形指定手段によって任意の図形を指定すると、読
出手段は指定された図形情報を図形記憶手段から読み出
す。すると、生成手段はこの図形情報に基づいて当該図
形を構成する各線分毎に、その線分と同一形状の文字配
置領域を定義すると共に図形情報と同一座標系で表現し
た配置情報を生成する。この配置情報は出力対象として
指定された文字列に付加される。出力手段はこの配置情
報が付加された文字列を出力する際に、図形を構成する
線分に沿ってこの配置情報によって示される各文字配置
領域内に文字列を配置出力する。これによって出力対象
文字列は図形を構成する線分に沿って順次配置出力され
る。したがって、単に任意の図形を指定するだけでその
図形を構成する線分に沿って出力対象文字列を配置する
ことができる。
The operation of the means of the present invention is as follows. Now, when an arbitrary figure is designated by the figure designating means, the reading means reads the designated figure information from the figure storing means. Then, the generation means defines, for each line segment forming the figure, a character arrangement area having the same shape as the line segment based on the figure information, and also generates arrangement information expressed in the same coordinate system as the figure information. This placement information is added to the character string designated as the output target. When outputting the character string to which the arrangement information is added, the output means arranges and outputs the character string in each character arrangement area indicated by the arrangement information along the line segment forming the figure. As a result, the character strings to be output are sequentially arranged and output along the line segments forming the figure. Therefore, by simply designating an arbitrary figure, the output target character string can be arranged along the line segment forming the figure.

【0006】[0006]

【実施例】以下、図1〜図7を参照して一実施例を説明
する。図1はワードプロセッサにおける文字列出力装置
の全体構成を示したブロック図である。主制御部1は各
種プログラムにしたがってこの文字列出力装置の全体動
作を制御する中央演算処理装置であり、キー操作部2か
ら文字列データや図形データが入力されると、主制御部
1はそれを取り込んで表示制御部3に与え、表示装置4
から表示出力させたり、文書メモリ5を構成する図形メ
モリ5−1に図形データを格納したり、テキストメモリ
5−3に文字列データを格納する。また、主制御部1は
キー操作部2から印刷指令が入力されると、文書メモリ
5の内容を印字制御部6に与え、印刷装置7から印字出
力させ、また、キー操作部2から保存指令が入力される
と、文書メモリ5の内容を外部記憶制御部8に与え、外
部記憶装置9に登録保存させる。また、主制御部1は外
部記憶装置9から文字列データや図形データを外部記憶
制御部8を介して取り込み、文書メモリ5に格納する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment will be described below with reference to FIGS. FIG. 1 is a block diagram showing the overall configuration of a character string output device in a word processor. The main control unit 1 is a central processing unit that controls the overall operation of the character string output device according to various programs. When character string data or graphic data is input from the key operation unit 2, the main control unit 1 Captured to the display control unit 3, and the display device 4
To display output, store graphic data in the graphic memory 5-1 constituting the document memory 5, and store character string data in the text memory 5-3. When a print command is input from the key operation unit 2, the main control unit 1 gives the content of the document memory 5 to the print control unit 6 so that the printing device 7 prints it out, and the key operation unit 2 issues a save command. When is input, the contents of the document memory 5 are given to the external storage control unit 8 to be registered and stored in the external storage device 9. Further, the main control unit 1 takes in character string data and graphic data from the external storage device 9 via the external storage control unit 8 and stores them in the document memory 5.

【0007】文書メモリ5は図形メモリ5−1、ハイパ
ーアウトラインメモリ5−2、テキストメモリ5−3を
有する構成で、図形メモリ5−1は図形情報としてその
図形種や図形を表現する座標列データを記憶するもの
で、例えば矩形図形、円形図形、星形図形等を記憶す
る。ハイパーアウトラインメモリ5−2は2本の線で挟
まれた領域を文字配置領域とし、この文字配置領域内に
その線分に沿って配置される文字列を図形要素+文字列
というデータ構造、つまり、図形要素である文字配置領
域を定義する配置情報が付加された文字列を記憶する本
実施例固有のメモリで、その内容は文字図形情報変換部
10によって生成される。なお、文字配置領域を定義す
る配置情報は図形と同一の座標系によって表現される。
テキストメモリ5−3は文字列データを記憶するもの
で、主制御部1は出力対象として指定された文字列デー
タをテキストメモリ5−3から読み出す。
The document memory 5 has a graphic memory 5-1, a hyper-outline memory 5-2, and a text memory 5-3. The graphic memory 5-1 has coordinate sequence data representing the graphic type and the graphic as graphic information. For storing a rectangular figure, a circular figure, a star figure, and the like. The hyperoutline memory 5-2 defines a region between two lines as a character arrangement region, and a character string arranged along the line segment in the character arrangement region is a data structure of graphic element + character string, that is, A memory unique to the present embodiment that stores a character string to which layout information that defines a character layout area that is a graphic element is stored, and its content is generated by the character / graphic information conversion unit 10. The layout information that defines the character layout area is represented by the same coordinate system as the graphic.
The text memory 5-3 stores character string data, and the main control unit 1 reads the character string data designated as an output target from the text memory 5-3.

【0008】文字図形情報変換部10は文字列格納部1
0−1、図形情報格納部10−2、配置情報作成部10
−3を有し、図形メモリ5−1、テキストメモリ5−3
の内容に基づいて上述した配置情報付き文字列を生成す
るもので、キー操作部2から出力対象図形が指定される
と、主制御部1は指定された図形情報を文字図形情報変
換部10内の図形情報格納部10−2にセットし、また
キー操作部2から出力対象の文字列が指定されると、主
制御部1は指定された文字列を文字図形情報変換部10
内の文字列格納部10−1にセットする。
The character / graphic information conversion unit 10 is a character string storage unit 1.
0-1, graphic information storage unit 10-2, arrangement information creation unit 10
-3, a graphic memory 5-1, a text memory 5-3
The above-mentioned character string with layout information is generated based on the contents of the above. When the output target graphic is designated by the key operation unit 2, the main control unit 1 transfers the designated graphic information to the character graphic information conversion unit 10. When the character string to be output is specified by the key operation unit 2, the main control unit 1 sets the specified character string to the character / graphic information conversion unit 10-2.
In the character string storage unit 10-1.

【0009】配置情報作成部10−3はこの文字列格納
部10−1、図形情報格納部10−2内の文字列と図形
情報とに基づいて配置情報付き文字列を生成するが、そ
の際、図形情報解析部10−3A、文字情報解析部10
−3Bによって図形情報や文字列の解析が行われ、それ
に基づいて図形/配置変換部10−3Cは図形情報を配
置情報に変換する。これによって得られた配置情報付き
文字列はデータバッファ10−4に一時記憶されたの
ち、ハイパーアウトラインメモリ5−2に書き込まれ
る。
The layout information creating unit 10-3 creates a character string with layout information based on the character string in the character string storage unit 10-1 and the graphic information storage unit 10-2 and the graphic information. , Graphic information analysis unit 10-3A, character information analysis unit 10
-3B analyzes the graphic information and the character string, and the graphic / arrangement conversion unit 10-3C converts the graphic information into the layout information based on the analysis. The character string with the layout information thus obtained is temporarily stored in the data buffer 10-4 and then written in the hyperoutline memory 5-2.

【0010】ここで、図2、図3を参照して本実施例の
前提となる技術、つまり、文字列を任意の場所に配置す
る技術の動作原理について簡単に説明しておく。任意の
場所に配置される文字列は図2に示すようなデータ構造
を成している。すなわち、この文字列のデータ構造は上
述した様に図形要素+文字列という形を成し、図形要素
を定義する「パターンコード」は2本の線がどのような
線分の組み合せによって構成されているかを示すもの
で、パターンコード「0」は2本の線が「直線+直線」
の組み合せから文字配置領域が構成されていることを示
している。また、パターンコード「1」は「直線+ベジ
ェール曲線」の組み合せ、「2」は「ベジェール曲線+
ベジェール曲線」の組み合せ、「3」は「円弧+円弧」
の組み合せから文字配置領域が構成されていることを示
している。また「桁ピッチ」は文字幅をn/32で表わ
したnの値で、文字間ピッチを定義する。なお、「3
2」は文字幅の最大値を示している。また、「座標デー
タ」は文字配置領域を定義する座標列で、直線部分につ
いてはその開始点と終了点、ベジェール曲線部分につい
ては開始点、制御点、終了点、円弧部分については中
心、開始角度、終了角度、半径から成る。「文字列デー
タ」は文字配置領域内にその線分に沿って配置される文
字列で、その文字数と共に文字列データが定義されてい
る。
Here, the operating principle of the technique that is the premise of this embodiment, that is, the technique of arranging a character string at an arbitrary place will be briefly described with reference to FIGS. 2 and 3. The character string arranged at an arbitrary location has a data structure as shown in FIG. That is, the data structure of this character string is in the form of graphic element + character string as described above, and the "pattern code" that defines the graphic element is formed by combining any two line segments. The pattern code "0" indicates that two lines are "straight line + straight line".
It indicates that the character arrangement area is composed of the combination of. The pattern code "1" is a combination of "straight line + bezier curve", and "2" is "bezier curve +
"Bézier curve" combination, "3" is "arc + arc"
It indicates that the character arrangement area is composed of the combination of. The "digit pitch" is a value of n representing the character width in n / 32, and defines the character pitch. In addition, "3
"2" indicates the maximum character width. In addition, "coordinate data" is a sequence of coordinates that defines the character arrangement area. The start and end points of a straight line part, the start point, control point and end point of a bezier curve part, the center and start angle of an arc part. , End angle, radius. The "character string data" is a character string arranged along the line segment in the character arrangement area, and the character string data is defined together with the number of characters.

【0011】このように構成された配置情報付き文字列
データは図形情報と配置情報とが同一座標系であるため
に、文字列を図形に追従させることができるものであ
り、この配置情報付き文字列データに基づいて文字列を
配置出力すると図3に示す如くとなる。つまり、図3
(A)はパターンコードが「0」の場合の配置例を示
し、文字配置領域を構成する上の直線は開始点(1)、
終了点(1)によって定義され、また、下の線は開始点
(2)、終了点(2)によって定義されたもので、両方
の直線は平行せず、その間隔は開始点から終了点に向か
って徐々に広くなっている。このような2本の直線によ
って挟まれて成る文字配置領域内に文字列を配置出力す
る際に、文字配置領域は文字列の文字数によって均等分
割され、その文字数分の文字枠内に対応する文字が配置
される。これによって文字列の先頭から徐々に文字の大
きさが大きくなり、自然な奥行き感を持った文字列が得
られる。
Since the character string data with the layout information constructed in this way has the same coordinate system for the graphic information and the layout information, the character string can be made to follow the graphic. When a character string is arranged and output based on the column data, it becomes as shown in FIG. That is, FIG.
(A) shows an arrangement example when the pattern code is "0", and the upper straight line forming the character arrangement area is the start point (1),
It is defined by the end point (1) and the lower line is defined by the start point (2) and the end point (2), both straight lines are not parallel and the spacing is from the start point to the end point. It is getting wider gradually. When arranging and outputting a character string in a character arranging area sandwiched by two such straight lines, the character arranging area is equally divided by the number of characters in the character string, and the corresponding characters are placed in the character frame corresponding to the number of characters. Are placed. As a result, the character size gradually increases from the beginning of the character string, and a character string with a natural sense of depth can be obtained.

【0012】図3(B)はパターンコードが「2」の場
合の配置例、図3(C)はパターンコードが「3」の場
合の配置例であり、文字列はベジェール曲線や円弧に沿
って配置され、変化に富んだ文字列が得られる。なお、
図3(B)において、2本のベジェール曲線を描画する
のに開始点(1)、(2)、制御点(1a)、(1
b)、(2a)、(2b)、終了点(1)、(2)を必
要とし、図3(C)において、2本の円弧を描画するの
に半径(1)、(2)、中心座標、開始角度、終了角度
を必要とする。
FIG. 3B shows an arrangement example when the pattern code is "2", and FIG. 3C shows an arrangement example when the pattern code is "3". The character string is along a Bezier curve or an arc. The character strings are arranged in a wide variety and can be varied. In addition,
In FIG. 3B, starting points (1) and (2), control points (1a), and (1) are used to draw two Bezier curves.
b), (2a), (2b), end points (1), (2) are required, and in FIG. 3 (C), to draw two arcs, radii (1), (2), center Requires coordinates, start angle, and end angle.

【0013】このように本実施例の前提となる技術は2
本の直線あるいは曲線を定義しておけば、その間に文字
が収まる形で文字列が配置される技術であり、直線の場
合には2つの開始点と終了点とによって文字配置領域が
特定され、その直線を文字数で均等分割して1文字を収
める文字枠を決定し、その中に文字を収める。なお、2
本の直線がベジェール曲線であっても、円弧であっても
同様に応用可能なものである。
As described above, the technique which is the premise of this embodiment is 2
This is a technology in which if a straight line or a curved line of a book is defined, the character string is arranged in such a way that the characters fit between them. In the case of a straight line, the character arrangement area is specified by two start points and end points. The straight line is equally divided by the number of characters to determine a character frame in which one character can be stored, and the character is stored in it. In addition, 2
Even if the straight line of the book is a Bezier curve or a circular arc, it can be similarly applied.

【0014】ここで、本実施例においては、文字配置領
域を特定するために、予め2本の線分を入力指定する方
法を採用するのではなく、予め用意されている図形を図
形メモリ5−1から読み出し、その座標列から文字配置
領域を定義する配置情報を自動生成して出力対象文字列
に付加することにより、配置情報付き文字列を得るよう
にしたものである。つまり、任意の図形を指定するだけ
で、その図形を構成する線分に沿って文字列を自動配置
するようにしたものであり、図4は指定図形の線分に沿
って文字列が配置された状態を具体的に示し、また、図
5は本実施例における配置情報付き文字列のデータ構造
を示した図である。
Here, in the present embodiment, in order to specify the character arrangement area, a method of inputting and designating two line segments in advance is not adopted, but a graphic prepared in advance is used as the graphic memory 5-. The character string with the layout information is obtained by reading the data from No. 1 and automatically generating the layout information defining the character layout area from the coordinate string and adding the layout information to the output target character string. That is, by simply designating an arbitrary figure, the character string is automatically arranged along the line segment forming the figure. In FIG. 4, the character string is arranged along the line segment of the designated figure. FIG. 5 is a diagram showing the data structure of the character string with arrangement information in this embodiment.

【0015】そこで、本実施例では図形メモリ5−1内
に既に格納されている図形情報(座標列データ等)を取
り込み、これを文字配置領域を構成する1本の線分とし
てそのまま配置情報として複写すれば、文字列を挟む上
部あるいは下部の線は図形を構成する線分と一致するこ
とになる。図4はいずれも図形を構成する線分を文字列
の上部に位置する線として複写した場合を示し、円は図
形情報をそのまま複写し、文字の高さを考慮して下部の
線を自動生成する。また、指定図形が矩形の場合は、対
角座標によって図形が定義されているので、これをその
まま複写することができないため、矩形をこの対角座標
に基づいて4本の直線に分解し、4本の線に対向する下
部の線を自動生成する。
Therefore, in the present embodiment, the graphic information (coordinate sequence data, etc.) already stored in the graphic memory 5-1 is fetched and used as the layout information as it is as one line segment forming the character layout area. If copied, the upper or lower lines that sandwich the character string will coincide with the line segments that make up the figure. Fig. 4 shows the case where the line segments that make up the figure are copied as lines located at the top of the character string. For circles, the figure information is copied as it is, and the lower line is automatically generated considering the height of the characters. To do. If the designated figure is a rectangle, the figure cannot be copied as it is because the figure is defined by diagonal coordinates. Therefore, the rectangle is decomposed into four straight lines based on the diagonal coordinates. The lower line opposite to the line of the book is automatically generated.

【0016】このように文字列を配置する際、文字図形
情報変換部10は図形の座標情報を複写等のために取り
込むだけではなく、文字を挟むためのもう1本の線を発
生する機能と、図形を構成する各線分毎に文字列を分割
配置する機能を有し、これらの機能に基づいて図5
(B)に示すような配置情報付き文字列データが生成さ
れてハイパーアウトラインメモリ5−2にセットされ
る。
When arranging a character string in this way, the character / graphic information conversion unit 10 not only takes in the coordinate information of the graphic for copying, but also has the function of generating another line for sandwiching the character. , Has a function of dividing and arranging a character string for each line segment forming a figure, and FIG.
The character string data with the arrangement information as shown in (B) is generated and set in the hyper outline memory 5-2.

【0017】次に、本実施例の動作を図6に示すフロー
チャートにしたがって説明する。図6は図5に示す配置
情報付き文字列データを生成する過程の一例を示したフ
ローチャートである。ここで、図4に示す配置例を参照
して図6に示すフローチャートを具体的に説明する。い
ま、図形メモリ5−1内に格納されている任意の図形を
キー操作部2から指定すると共に、テキストメモリ5−
3内に格納されている任意の文字列を出力対象文字列と
して指定しておく。ここで、キー操作部2から図形に文
字列を沿わせる処理の実行命令が入力されると、主制御
部1は出力対象として指定された図形情報を図形メモリ
5−1から読み出して文字図形情報変換部10内の図形
情報格納部10−2にセットすると共に、出力対象とし
て指定された文字列をテキストメモリ5−3から読み出
して文字図形情報変換部10内の文字列格納部10−1
にセットする。この状態において、主制御部1は文字図
形情報変換部10を起動させる。すると、文字図形情報
変換部10は図6に示すフローチャートにしたがって動
作する。なお、図6は文字図形情報変換部10の動作の
一例を示している。
Next, the operation of this embodiment will be described with reference to the flowchart shown in FIG. FIG. 6 is a flow chart showing an example of a process of generating the character string data with arrangement information shown in FIG. Here, the flowchart shown in FIG. 6 will be specifically described with reference to the arrangement example shown in FIG. Now, an arbitrary figure stored in the figure memory 5-1 can be designated from the key operation unit 2 and the text memory 5-
An arbitrary character string stored in 3 is designated as the output target character string. Here, when the execution instruction of the process of arranging the character string along the graphic is input from the key operation unit 2, the main control unit 1 reads the graphic information designated as the output target from the graphic memory 5-1 and outputs the character graphic information. The character string specified as an output target is read from the text memory 5-3 while being set in the graphic information storage unit 10-2 in the conversion unit 10, and the character string storage unit 10-1 in the character / graphic information conversion unit 10 is read.
Set to. In this state, the main control unit 1 activates the character / graphic information conversion unit 10. Then, the character / graphic information conversion unit 10 operates according to the flowchart shown in FIG. Note that FIG. 6 shows an example of the operation of the character / graphic information conversion unit 10.

【0018】先ず、配置情報作成部10−3は図形情報
格納部10−2をアクセスし、その図形情報内に含まれ
ているパターンコードにしたがって図形種を判別する
(ステップS1)。ここで、各図形種に共通する処理と
して配置する文字列の高さを決定する処理が行われる。
この場合、基本的には図形を構成する線分の長さを文字
数で割った値が文字の高さとして決定され、これによっ
て1文字を収める文字枠の形は正方形に近いものとな
る。ただし、矩形の場合には4隅での文字の重なり合い
を防ぐために、文字数に「8」を加える。
First, the layout information creating unit 10-3 accesses the graphic information storage unit 10-2, and determines the graphic type according to the pattern code included in the graphic information (step S1). Here, a process of determining the height of the character string to be arranged is performed as a process common to each figure type.
In this case, basically, a value obtained by dividing the length of a line segment forming a figure by the number of characters is determined as the height of the character, and thus the shape of the character frame for accommodating one character is close to a square. However, in the case of a rectangle, “8” is added to the number of characters in order to prevent the characters from overlapping at the four corners.

【0019】すなわち、図形種が矩形の場合にはステッ
プS2に進み、図形の座標列情報(対角座標)から矩形
を構成する4辺の直線の長さを求める。そして、配置情
報作成部10−3は文字数に「8」を加算し、4辺の長
さをこの文字数+8の値で割ることにより文字の高さを
決定する(ステップS3)。このように文字の高さを決
定するのは文字列を挟むのにもう1本の線を生成するた
めである。なお、矩形のように対角座標によって定義さ
れた図形ではなく、連続直線によって定義された多角形
等においてもその隅部での文字の重なり合いを防ぐため
の処理を行う必要がある。また、矩形等のように文字の
重なりを考慮する図形においては、文字列を各辺に応じ
て分割する処理が必要となる。
That is, when the figure type is a rectangle, the process proceeds to step S2, and the lengths of the straight lines of the four sides forming the rectangle are obtained from the coordinate sequence information (diagonal coordinates) of the figure. Then, the arrangement information creating unit 10-3 adds "8" to the number of characters and divides the length of the four sides by the value of the number of characters + 8 to determine the height of the character (step S3). The reason for determining the height of the character in this way is to generate another line to sandwich the character string. It should be noted that it is necessary to perform processing for preventing overlapping of characters at the corners of a polygon defined by continuous straight lines instead of a figure defined by diagonal coordinates such as a rectangle. Further, in a figure such as a rectangle in which overlapping of characters is considered, it is necessary to divide the character string according to each side.

【0020】ここで、矩形の場合にはステップS4に進
み、配置情報作成部10−3は文字数に8を加算し、そ
の文字数を矩形の線分に沿わせるべき文字数とし、各辺
の長さによって全体の文字数を分割する。このとき、相
対向する辺に沿う文字列の文字数が等しくならない場合
など不都合が生じたときには、全体の文字数を1文字づ
つ増やしてゆき(増やした部分が空白となる)、相対向
する辺の文字数を合わせるようにすればよい。いま、図
4(A)に示す例では長辺が8文字、短辺が6文字と決
定された場合を示している。次にステップS5に進み、
配置情報作成部10−3は矩形の4辺に対応付けて分割
した各文字列の両端に空白コードをそれぞれ付加する。
これは各辺の両側での文字の重なり合いを防ぐためであ
り、図4(A)において、その第1辺に沿う文字列とし
て「□矩形の内側に□」(□は空白を表わす)が当ては
められることになる。また、第2辺に沿う文字列は「□
文字列を□」となり、第3辺に沿う文字列は「□沿わせ
る場合□」となる。
Here, in the case of a rectangle, the process proceeds to step S4, where the layout information creating unit 10-3 adds 8 to the number of characters, and sets the number of characters to the number of characters that should follow the line segment of the rectangle, and the length of each side. Divide the total number of characters by. At this time, when inconvenience occurs, such as when the number of characters in the character strings along opposite sides is not equal, the total number of characters is increased by one character (the increased part becomes a blank), and the number of characters on opposite sides is increased. Should be matched. In the example shown in FIG. 4A, the long side is determined to be 8 characters and the short side is determined to be 6 characters. Then go to step S5
The arrangement information creation unit 10-3 adds blank codes to both ends of each character string divided in association with the four sides of the rectangle.
This is to prevent overlapping of characters on both sides of each side. In FIG. 4 (A), "□ inside a rectangle" (□ indicates a blank space) is applied as a character string along the first side. Will be done. Also, the character string along the second side is "□
The character string becomes “□”, and the character string along the third side becomes “when it is aligned with □”.

【0021】次に、矩形を構成する4辺の直線に対応し
てその開始点(1)、終了点(2)を生成すると共に
(ステップS6)、この4辺の直線と平行し、矩形の内
側に位置するもう1本の線を生成するために、ステップ
S3で求めた文字の高さに基づいて矩形の4辺の開始点
と終了点を文字の高さ分平行移動させた座標位置をもう
1本の線の開始点(2)、終了点(2)とする(ステッ
プS7)。そして、配置情報作成部10−3は矩形の4
辺を構成する開始点(1)、終了点(1)と、これらに
平行する線の開始点(2)、終了点(2)、および各辺
に対応して割り当てられる各文字列等を文字図形情報変
換部10内のデータバッファ10−4に格納する(ステ
ップS16)。
Next, the start point (1) and the end point (2) are generated corresponding to the straight lines of the four sides forming the rectangle (step S6), and at the same time, parallel to the straight lines of the four sides, In order to generate another line located inside, based on the height of the character obtained in step S3, the coordinate position obtained by translating the start and end points of the four sides of the rectangle by the height of the character is set. The start point (2) and the end point (2) of the other line are set (step S7). Then, the arrangement information creating unit 10-3 has a rectangular shape 4.
The start point (1) and the end point (1) that form the side, the start point (2) and the end point (2) of the line parallel to these, and the character strings and the like assigned to each side are written. The data is stored in the data buffer 10-4 in the graphic information conversion unit 10 (step S16).

【0022】すると、主制御部1はこのデータバッファ
10−4の内容を文書メモリ5に書き込む際に、配置情
報付き文字列であることを示す識別子を付加してハイパ
ーアウトラインメモリ5−2に格納する。図5は図4
(A)に示す具体例に対応したハイパーアウトラインメ
モリ5−2内のデータ構造を示し、図5(A)は図形情
報として既に円と矩形の情報が図形メモリ5−1に格納
されている状態を示し、また図5(B)は図形情報とし
て矩形および円を指定することによって生成されたハイ
パーアウトラインメモリ5−2内の配置情報付き文字列
を示している。この場合、ハイパーアウトラインメモリ
5−2内には配置情報付き文字列識別子としてそれぞれ
「1」がセットされる。ここで、矩形の場合、パターン
コードは「直線+直線」を示す「0」がセットされる。
また矩形の上辺を構成する座標データは開始点が「0、
0」、終了点が「16.0」となり、文字の高さを考慮
して生成された上辺に平行する線の開始点は「0、
2」、終了点は「16、2」となる。そして、両端に空
白が付加された文字列データ「□矩形の内側に□」が矩
形の上辺に対応付けられてセットされる。同様に、他の
3辺に対応してそれぞれパターンコード、座標データ、
文字列データがハイパーアウトラインメモリ5−2にセ
ットされる。このとき、最後の1辺は上述した配置文字
数の増加によって文字数よりも格納場所(文字枠)の数
が多くなる場合があるが、このような場合には増加させ
た文字数分の空白コードを文字列の最後に付加するよう
にしている。
Then, when writing the contents of the data buffer 10-4 to the document memory 5, the main control unit 1 adds an identifier indicating that it is a character string with arrangement information and stores it in the hyperoutline memory 5-2. To do. FIG. 5 is FIG.
FIG. 5A shows a data structure in the hyper-outline memory 5-2 corresponding to the specific example shown in FIG. 5A, and FIG. 5A shows a state where circle and rectangle information has already been stored in the graphic memory 5-1 as graphic information. FIG. 5B shows a character string with arrangement information in the hyperoutline memory 5-2 generated by designating a rectangle and a circle as graphic information. In this case, "1" is set in the hyper outline memory 5-2 as a character string identifier with arrangement information. Here, in the case of a rectangle, “0” indicating “straight line + straight line” is set as the pattern code.
In addition, the start point of the coordinate data forming the upper side of the rectangle is "0,
0 ", the end point is" 16.0 ", and the start point of the line parallel to the upper side generated in consideration of the height of the character is" 0,
2 "and the end point is" 16, 2 ". Then, the character string data “□ inside the rectangle □” with blanks added at both ends is set in association with the upper side of the rectangle. Similarly, the pattern code, coordinate data, and
The character string data is set in the hyper outline memory 5-2. At this time, the number of storage locations (character frames) on the last one side may become larger than the number of characters due to the increase in the number of arranged characters described above. In such a case, the blank code for the increased number of characters is used as the character. I am trying to add it at the end of the row.

【0023】一方、図形種が円系の場合にはステップS
8〜S11、S16の処理が行われる。すなわち、配置
情報作成部10−3は円周(円弧)の全体の長さを求め
(ステップS8)、この長さを文字数で割ることにより
文字の高さを決定する(ステップS9)。そして、図形
情報の座標列データ、つまり中心座標、開始および終了
角度を文字配置領域を構成する上部の曲線としてそのま
まコピーし(ステップS10)、また半径は半径(1)
としてそのままコピーし、半径(2)は半径(1)から
文字の高さを引いた値として円系図形の内側に沿うもう
1本の曲線、つまり、文字配置領域を構成する下部の曲
線として生成する(ステップS11)。そして、これら
の座標列データをデータバッファ10−4内に文字列と
共に格納する(ステップS16)。図4(B)は図形情
報として円を指定した場合で、円の内側にその線分に沿
って文字列が均等に配置出力された状態を示している。
なお、円の場合、文字列の文字数としては7文字以上を
条件とすることによってバランスの取れた文字列配置と
なる。
On the other hand, if the graphic type is a circle system, step S
The processes of 8 to S11 and S16 are performed. That is, the arrangement information creating unit 10-3 obtains the entire length of the circumference (arc) (step S8), and divides this length by the number of characters to determine the height of the character (step S9). Then, the coordinate sequence data of the graphic information, that is, the center coordinates, the start and end angles are copied as they are as the upper curve forming the character arrangement area (step S10), and the radius is the radius (1).
As it is, the radius (2) is generated as a value obtained by subtracting the height of the character from the radius (1) and another curve along the inside of the circle-shaped figure, that is, the lower curve forming the character arrangement area. Yes (step S11). Then, these coordinate string data are stored in the data buffer 10-4 together with the character string (step S16). FIG. 4B shows a case where a circle is designated as the graphic information and the character strings are evenly arranged and output inside the circle along the line segment.
In the case of a circle, if the number of characters in the character string is 7 or more, a well-balanced character string arrangement is obtained.

【0024】また、図形種がベジェール曲線などの場合
にはステップS12〜S16の処理が行われる。すなわ
ち、配置情報作成部10−3は図形の曲線に沿わせる長
さを求めると共に(ステップS12)、この長さを文字
数で割ることにより文字の高さを決定する(ステップS
13)。そして、配置情報作成部10−3は図形を構成
するパラメータを文字配置領域を構成する上部の曲線と
してそのままコピーし(ステップS14)、また、この
曲線を文字の高さ分平行移動したものとして文字配置領
域を構成する下部の曲線を生成する(ステップS1
5)。そして、これらの座標列データをデータバッファ
10−4内に文字列と共に格納する(ステップS1
6)。
If the figure type is a Bezier curve or the like, steps S12 to S16 are performed. That is, the arrangement information creation unit 10-3 finds the length along the curve of the figure (step S12), and determines the height of the character by dividing this length by the number of characters (step S12).
13). Then, the arrangement information creating unit 10-3 copies the parameters forming the figure as it is as the upper curve forming the character arrangement area (step S14), and the curve is translated by the height of the character. A lower curve forming the arrangement area is generated (step S1).
5). Then, these coordinate string data are stored in the data buffer 10-4 together with the character string (step S1).
6).

【0025】これによって文字図形情報変換部10の動
作が終了すると、主制御部1は文字図形情報変換部10
内のデータバッファ10−4から配置情報付き文字列を
取り込んでハイパーアウトラインメモリ5−2に格納す
る。このハイパーアウトラインメモリ5−2の内容はそ
の出力指令に応答して読み出され、その文字列は図形を
構成する線分に沿って配置出力される。
When the operation of the character / graphic information conversion unit 10 is completed by this, the main control unit 1 causes the character / graphic information conversion unit 10 to operate.
The character string with arrangement information is fetched from the internal data buffer 10-4 and stored in the hyperoutline memory 5-2. The contents of the hyper-outline memory 5-2 are read in response to the output command, and the character string is arranged and output along the line segments forming the figure.

【0026】なお、上述の図4、図6は図形を構成する
線分に文字列の上部を沿わせる場合を示したが、文字列
の上部に沿わせるか、下部に沿わせるかはユーザが任意
に選択可能であり、その選択をキー操作部2から指示す
ると、それに応じた処理が行われる。図7は図形を構成
する線分に文字列の下部を沿わせた場合の具体例を示し
ている。ここで、図7(A)に示すように直線やベジェ
ール曲線をアンダーラインとして予め入力しておくと、
図7(B)に示すようにそれに文字列を沿わせたアンダ
ーライン付きの文字列が得られる。この場合においても
上述と同様の処理によって実現可能である。
Although FIGS. 4 and 6 described above show the case where the upper portion of the character string is placed along the line segment forming the figure, the user determines whether the line segment is placed along the upper portion or the lower portion of the character string. It can be arbitrarily selected, and when the selection is instructed from the key operation unit 2, the corresponding processing is performed. FIG. 7 shows a specific example in which the lower portion of the character string is placed along the line segment forming the figure. Here, if a straight line or a Bezier curve is input as an underline in advance as shown in FIG.
As shown in FIG. 7B, an underlined character string along which the character string is placed is obtained. Even in this case, the same processing as described above can be realized.

【0027】以上のように本実施例においては、予め用
意されている図形を単に指定するだけで、当該図形を構
成する各線分毎にその線分と同一形状の文字配置領域を
定義する配置情報を生成し、この配置情報を出力対象文
字列に付加するようにしたから、この図形を構成する線
分に沿って文字列を配置出力することができる。この場
合、配置情報付き文字列は図形情報と配置情報とが同一
座標系であるために、文字列を図形に追従させることが
できる。また、文字数と図形を構成する線分の長さとに
基づいて文字の高さが決定されるので、文字数が多けれ
ば文字サイズは小さくなり、文字数が少なければ、文字
サイズは大きくなる。更に、矩形等のように直線が折り
曲がる図形の場合には、その折り曲がり部分での文字の
重なり合いを防止することができると共に、各辺にバラ
ンス良く文字列を分割配置することができる。また、図
形を構成する線分に文字列の上部を沿わせるか、下部を
沿わせるかを任意に選択することができる。ここで、下
部を沿わせることを選択した場合、アンダーラインとな
る線を図形情報として入力しておけば、変化に富んだア
ンダーライン付き文字列を得ることができる。
As described above, in the present embodiment, by simply designating a graphic prepared in advance, for each line segment forming the graphic, layout information defining a character layout area having the same shape as the line segment is arranged. Since this is generated and this arrangement information is added to the output target character string, the character string can be arranged and output along the line segment that constitutes this graphic. In this case, since the graphic information and the layout information of the character string with the layout information have the same coordinate system, the character string can be made to follow the graphic. Further, since the height of the character is determined based on the number of characters and the length of the line segment forming the figure, the larger the number of characters, the smaller the character size, and the smaller the number of characters, the larger the character size. Further, in the case of a figure in which a straight line is bent, such as a rectangle, it is possible to prevent overlapping of characters at the bent portion and to divide and arrange the character strings in good balance on each side. Further, it is possible to arbitrarily select whether the upper portion of the character string or the lower portion of the character string is arranged along the line segment forming the figure. Here, in the case where the lower part is selected, if a line to be an underline is input as graphic information, a character string with an underline rich in variation can be obtained.

【0028】なお、上記実施例は図形と共にその線分に
沿って文字列を配置出力するようにしたが、図形を出力
せずに単に文字列だけを出力するようにしてもよい。ま
た、上記実施例は矩形や円の線分に沿ってその内側に文
字列を配置する場合を示したが、例えば、矩形の内に更
に小さな矩形や円が存在している場合、外側の図形と内
側の図形にその線分に沿って文字列を配置するようにし
てもよい。
In the above embodiment, the character string is arranged and output along with the graphic along with the line, but it is also possible to output only the character string without outputting the graphic. In the above embodiment, the case where the character string is arranged inside the rectangle or the line segment of the circle is shown. For example, when a smaller rectangle or circle exists in the rectangle, the outer shape A character string may be arranged on the inside figure along the line segment.

【0029】[0029]

【発明の効果】この発明によれば、単に任意の図形を指
定するだけでその図形を構成する線分に沿って出力対象
文字列を配置することができるので、極めて簡単な操作
によって変化に富んだ表現力豊かな文字列を得ることが
可能となる。
According to the present invention, the character string to be output can be arranged along the line segment which constitutes the graphic by simply designating an arbitrary graphic, so that it is possible to change the character string by an extremely simple operation. It is possible to obtain expressive character strings.

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

【図1】一実施例に係るワードプロセッサの文字列出力
装置を示したブロック構成図。
FIG. 1 is a block diagram showing a character string output device of a word processor according to an embodiment.

【図2】本実施例の前提となる基本原理を説明するため
の図で、配置情報付き文字列のデータ構造例を示した
図。
FIG. 2 is a diagram for explaining a basic principle on which the present embodiment is based, showing an example of a data structure of a character string with arrangement information.

【図3】本実施例の前提となる基本原理を説明するため
の図で、図2に示すような配置情報付き文字列がこの配
置情報にしたがって配置された状態を具体的に示した
図。
FIG. 3 is a diagram for explaining a basic principle on which the present embodiment is based, specifically showing a state in which a character string with arrangement information as shown in FIG. 2 is arranged according to this arrangement information.

【図4】本実施例における文字配置例を示し、(A)は
図形として矩形が指定された場合の配置例、(B)は円
が指定された場合の配置例を示した図。
4A and 4B are diagrams showing an example of character arrangement in the present embodiment, FIG. 4A showing an example of arrangement when a rectangle is specified as a figure, and FIG. 4B showing an example of arrangement when a circle is specified.

【図5】文書メモリ5を構成する図形メモリ5−1、ハ
イパーアウトラインメモリ5−2のデータ格納例を示
し、(A)は図形メモリ5−1に円と矩形の図形情報が
格納され、ハイパーアウトラインメモリ5−2にはデー
タが格納されていない状態、(B)は予め指定された出
力対象文字列を図形メモリ5−1内の図形に沿わせるた
めに生成された配置情報が付加された文字列がハイパー
アウトラインメモリ5−2に格納された状態を示した
図。
FIG. 5 shows an example of data storage in a graphic memory 5-1 and a hyper outline memory 5-2 which form the document memory 5, and FIG. 5A shows a case where circle and rectangle graphic information is stored in the graphic memory 5-1. No data is stored in the outline memory 5-2, and (B) is added with the layout information generated for aligning the predesignated output target character string with the graphic in the graphic memory 5-1. The figure showing the state where a character string was stored in hyper outline memory 5-2.

【図6】本実施例における文字図形情報変換部10の動
作を示したフローチャート。
FIG. 6 is a flowchart showing the operation of the character / graphic information conversion unit 10 in the present embodiment.

【図7】入力されたアンダーラインに文字列を沿わせて
アンダーライン付きの文字列を配置するようにした応用
例を示した図。
FIG. 7 is a diagram showing an application example in which a character string with an underline is arranged along an input underline.

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

1 主制御部 2 キー操作部 3 表示制御部 4 表示装置 5 文書メモリ 5−1 図形メモリ 5−2 ハイパーアウトラインメモリ 5−3 テキストメモリ 6 印字制御部 7 印刷装置 10 文字図形情報変換部 10−1 文字列格納部 10−2 図形情報格納部 10−3 配置情報作成部 10−3A 図形情報解析部 10−3B 文字情報解析部 10−3C 図形/配置変換部 10−4 データバッファ 1 Main Control Section 2 Key Operation Section 3 Display Control Section 4 Display Device 5 Document Memory 5-1 Graphic Memory 5-2 Hyper Outline Memory 5-3 Text Memory 6 Print Control Section 7 Printing Device 10 Character Graphic Information Conversion Section 10-1 Character string storage unit 10-2 Graphic information storage unit 10-3 Layout information creation unit 10-3A Graphic information analysis unit 10-3B Character information analysis unit 10-3C Graphic / location conversion unit 10-4 Data buffer

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】2本の線分で挾まれた領域を文字配置領域
とすると共に、出力対象として指定された文字列をこの
文字配置領域内にその線分に沿って配置出力する文字列
出力装置において、 図形情報を記憶する図形記憶手段と、 図形を指定する図形指定手段と、 この図形指定手段によって指定された図形情報を前記図
形記憶手段から読み出す読出手段と、 この読出手段によって読み出された図形情報に基づいて
当該図形を構成する各線分毎に、その線分と同一形状の
前記文字配置領域を定義すると共に図形情報と同一の座
標系で表現した配置情報を生成する生成手段と、 この生成手段によって生成された配置情報を、予め出力
対象として指定された文字列に付加する付加手段と、 この付加手段によって配置情報が付加された文字列を出
力する際に、この配置情報によって示される各文字配置
領域内に文字列を配置出力する出力手段と、 を具備し、出力対象文字列を図形を構成する線分に沿っ
て順次配置して出力するようにしたことを特徴とする文
字列出力装置。
1. A character string output in which a region sandwiched by two line segments is used as a character arrangement region and a character string designated as an output target is arranged and output in the character arrangement region along the line segment. In the apparatus, a graphic storage means for storing graphic information, a graphic designating means for designating a graphic, a reading means for reading the graphic information designated by the graphic designating means from the graphic storing means, and a read means for reading the graphic information. Generating means for each line segment forming the figure based on the figure information, defining the character arrangement area having the same shape as the line segment, and generating arrangement information expressed in the same coordinate system as the figure information; Addition means for adding the arrangement information generated by the generation means to a character string designated in advance as an output target, and a character string to which the arrangement information is added by the addition means are output. In this case, an output means for arranging and outputting the character string is arranged in each character arrangement area indicated by the arrangement information, and the output target character string is sequentially arranged and output along the line segments forming the figure. A character string output device characterized in that
【請求項2】前記生成手段は図形を構成する各線分毎
に、前記文字配置領域を示す配置情報を生成する際、図
形を構成する各線分毎に、対向する新たな線分をそれぞ
れ生成し、図形を構成する線分とそれに対向して新たに
生成された線分とによって挾まれた領域を文字配置領域
とする配置情報を生成するようにしたことを特徴とする
請求項(1)記載の文字列出力装置。
2. The generating means, when generating the arrangement information indicating the character arrangement area for each line segment forming a figure, generates a new line segment facing each other for each line segment forming the figure. The arrangement information is generated such that an area sandwiched between a line segment forming a figure and a line segment newly generated opposite thereto is set as a character arrangement area. String output device.
【請求項3】前記生成手段は図形を構成する各線分毎に
対向する新たな線分をそれぞれ生成する際に、文字配置
領域と文字列の文字数とに基づいて文字の高さを決定
し、この文字の高さに応じて新たな線分を生成するよう
にしたことを特徴とする請求項(1)および(2)記載
の文字列出力装置。
3. The generating means determines the height of a character based on the character arrangement area and the number of characters in a character string when generating a new line segment facing each line segment forming a figure, The character string output device according to claim 1, wherein a new line segment is generated according to the height of the character.
【請求項4】前記付加手段は図形を構成する線分毎に前
記生成手段によって生成された配置情報を出力対象文字
列に付加する際に、出力対象文字列を各線分の文字配置
領域に応じて分割すると共に分割した各文字列に、対応
する線分の配置情報をそれぞれ付加するようにしたこと
を特徴とする請求項(1)記載の文字列出力装置。
4. The adding means adds an output target character string to a character arrangement area of each line segment when adding the layout information generated by the generating means to the output target character string for each line segment forming a figure. The character string output device according to claim 1, wherein the character string output device further divides the character string and adds the arrangement information of the corresponding line segment to each of the divided character strings.
JP33102694A 1994-12-09 1994-12-09 String output device Expired - Fee Related JP3486788B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33102694A JP3486788B2 (en) 1994-12-09 1994-12-09 String output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33102694A JP3486788B2 (en) 1994-12-09 1994-12-09 String output device

Publications (2)

Publication Number Publication Date
JPH08160936A true JPH08160936A (en) 1996-06-21
JP3486788B2 JP3486788B2 (en) 2004-01-13

Family

ID=18238999

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33102694A Expired - Fee Related JP3486788B2 (en) 1994-12-09 1994-12-09 String output device

Country Status (1)

Country Link
JP (1) JP3486788B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004025803A (en) * 2002-06-28 2004-01-29 Casio Comput Co Ltd Printer and method of printing
JP2004255760A (en) * 2003-02-27 2004-09-16 Canon Inc Information processor, its control method and program
JP2005025283A (en) * 2003-06-30 2005-01-27 Canon Inc Image processing device and method, and recording medium and program thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004025803A (en) * 2002-06-28 2004-01-29 Casio Comput Co Ltd Printer and method of printing
JP2004255760A (en) * 2003-02-27 2004-09-16 Canon Inc Information processor, its control method and program
JP2005025283A (en) * 2003-06-30 2005-01-27 Canon Inc Image processing device and method, and recording medium and program thereof

Also Published As

Publication number Publication date
JP3486788B2 (en) 2004-01-13

Similar Documents

Publication Publication Date Title
JPH0776958B2 (en) Document shaping device
JPH08160936A (en) Character string output device
JP2887603B2 (en) Figure registration control method
JPH0827843B2 (en) How to edit a character string in a figure
JP3817747B2 (en) Typeface information setting device
JPH08161332A (en) Character string output device
JPH0896153A (en) Layout processor
JPH08161333A (en) Character string output device
JP3412203B2 (en) String output device
JP3412202B2 (en) String output device
JP3404770B2 (en) Document processing device
JPH08314927A (en) Character string arrangement device
JPH05314174A (en) Document preparing method and device therefor
JP3348480B2 (en) Graphic output device
JP2757367B2 (en) Character processor
JPH02257260A (en) Document editing processor
JPH04268956A (en) Document preparing device
JPH07219931A (en) Information processor
JPH08171555A (en) Word processor
JPH0258158A (en) Documentation device
JPH04282757A (en) Word processor
JPH04128963A (en) Out-of-text area printing system
JPH03259373A (en) Document processor
JPS60104373A (en) Character processor
JPH07105189A (en) Table processor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071031

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20081031

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20081031

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20091031

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20091031

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20101031

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20101031

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20111031

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20111031

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20121031

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20121031

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20131031

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees