JP3527595B2 - Electronic typesetting method and apparatus - Google Patents

Electronic typesetting method and apparatus

Info

Publication number
JP3527595B2
JP3527595B2 JP27744396A JP27744396A JP3527595B2 JP 3527595 B2 JP3527595 B2 JP 3527595B2 JP 27744396 A JP27744396 A JP 27744396A JP 27744396 A JP27744396 A JP 27744396A JP 3527595 B2 JP3527595 B2 JP 3527595B2
Authority
JP
Japan
Prior art keywords
region
area
pouring
flow
character
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP27744396A
Other languages
Japanese (ja)
Other versions
JPH10105725A (en
Inventor
秀樹 中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Screen Holdings Co Ltd
Dainippon Screen Manufacturing Co Ltd
Original Assignee
Screen Holdings Co Ltd
Dainippon Screen Manufacturing 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 Screen Holdings Co Ltd, Dainippon Screen Manufacturing Co Ltd filed Critical Screen Holdings Co Ltd
Priority to JP27744396A priority Critical patent/JP3527595B2/en
Publication of JPH10105725A publication Critical patent/JPH10105725A/en
Application granted granted Critical
Publication of JP3527595B2 publication Critical patent/JP3527595B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、電子組版方法お
よび電子組版装置に関し、特に、複雑な形状の領域に文
字を流し込む電子組版技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic typesetting method and an electronic typesetting apparatus, and more particularly to an electronic typesetting technique for pouring characters into a region having a complicated shape.

【0002】[0002]

【従来の技術】電子製版プロセスにおいては、採字装置
によって採字された文字群を版下原稿に配置するための
電子組版装置が用いられる。電子組版装置の例として
は、特開平5−261884号公報に記載された電子組
版装置がある。文字群を版下原稿に配置する処理は、一
般に「流し込み」と呼ばれている。版下には、文字を配
置する領域(流し込み領域)と写真や図形を配置する領
域とが指示されている。図1(a)は、版下における文
字の流し込み領域CR1,CR2と、写真領域RR(流
し込み禁止領域)の一例を示す概念図である。前述した
従来の技術では、流し込み領域CR1,CR2の形状
を、オペレータが指定した流し込み領域CRと流し込み
禁止領域RRから自動的に計算し、流し込み領域CRの
なかの流し込み可能領域CR1、CR2として、流し込
みを行う。従って、流し込み禁止領域RRの形状を変え
た場合にも、それに応じて流し込み領域CR1,CR2
の形状を自動的に決定し直して、流し込みを実行するこ
とが可能である。また、2つの流し込み可能領域CR
1,CR2にわたって一続きの文章を流し込むことが可
能である。
2. Description of the Related Art In an electronic plate making process, an electronic typesetting device is used for arranging a group of characters typed by a typesetting device on a block original. An example of the electronic typesetting device is an electronic typesetting device described in Japanese Patent Laid-Open No. 5-261884. The process of arranging a character group on a block copy document is generally called "flowing". An area for arranging characters (flowing area) and an area for arranging photographs and figures are designated in the block copy. FIG. 1A is a conceptual diagram showing an example of character flow areas CR1 and CR2 and a photo area RR (flow prohibition area) in a block copy. In the above-mentioned conventional technique, the shapes of the pouring areas CR1 and CR2 are automatically calculated from the pouring area CR and the pouring prohibition area RR designated by the operator, and the pouring areas CR1 and CR2 in the pouring area CR are set as pouring areas. I do. Therefore, even when the shape of the pouring prohibited area RR is changed, the pouring areas CR1 and CR2 are correspondingly changed.
It is possible to automatically redetermine the shape of and to perform the pouring. Also, two pourable areas CR
It is possible to pour a series of sentences over 1 and CR2.

【0003】[0003]

【発明が解決しようとする課題】従来は、流し込み領域
図形も流し込み禁止領域図形もそれぞれ1つの閉図形を
前提としており、流し込み領域の中で流し込み禁止領域
の外側の領域を流し込み可能領域として認識して、流し
込みを行っていた。ところで、図1(b)に示すよう
に、流し込み禁止領域PRとして、2つの閉図形PR
1、PR2で構成される中抜けの図形を使用したい場合
がある。しかし、従来の技術では、流し込み禁止図形P
Rの外側に存在する流し込み領域CR1、CR2にしか
文字を流し込むことができなかった。
Conventionally, both the pouring area figure and the pouring prohibited area figure are premised on one closed figure, and the area outside the pouring prohibited area is recognized as the pourable area in the pouring area. I was pouring. By the way, as shown in FIG. 1B, two closed figures PR are set as the flow-in prohibited area PR.
There are cases where it is desired to use a hollow figure composed of 1 and PR2. However, in the conventional technique, the pouring prohibited figure P
Characters could only be poured into the pouring areas CR1 and CR2 existing outside R.

【0004】この発明は、従来技術における上述の課題
を解決するためになされたものであり、複雑な形状の領
域への文字群の流し込みを容易に指定することのできる
電子組版技術を提供することを目的とする。
The present invention has been made in order to solve the above-mentioned problems in the prior art, and provides an electronic typesetting technique capable of easily specifying the flow of a character group into a region having a complicated shape. With the goal.

【0005】[0005]

【課題を解決するための手段およびその作用・効果】上
述の課題の少なくとも一部を解決するため、第1の発明
は、文字組版を電子的に行う電子組版方法であって、
ンピュータを用いて文字組版を電子的に行う電子組版方
法であって、 (1)文字群を配置する領域を流し込み領域として指定
するとともに、文字群の配置を禁止する領域を流し込み
禁止領域として指定する工程と、 (2)流し込む文字群を入力する工程と、 (3)前記コンピュータに含まれるCPUが、前記流し
込み領域の中で前記流し込み禁止領域以外の領域を流し
込み可能領域として認識する工程と、 (4)前記CPUが、前記流し込み可能領域に、前記入
力された文字群を配置する工程と、を備え、前記工程
(3)では、前記流し込み領域の中で、1行分に相当す
る領域について、前記流し込み禁止領域の外周の輪郭の
外側に存在する第1種の流し込み可能領域と、前記流し
込み領域の中で前記流し込み禁止領域に周囲を取り囲ま
れた第2種の流し込み可能領域と、を認識し、前記工程
(4)では、前記工程(3)で認識された前記1行分に
相当する領域中の流し込み可能領域に、前記入力された
文字群を配置する、ことを特徴とする。
Means and operation for solving the problems and effects] In order to attain at least part of the above problem, a first invention is an electronic typesetting method for performing typesetting electronically, co
An electronic typesetting method for electronically typesetting characters using a computer . (1) The area in which the character groups are arranged is designated as the flow area, and the area in which the arrangement of the character groups is prohibited is designated as the flow prohibited area. And (2) inputting a character group to be flowed in, (3) a CPU included in the computer recognizes an area other than the flow-inhibited area in the flow-in area as a flowable area. 4) the CPU is, in the pouring region, the entering
Arranging the pressed character group, and in the step (3) , it corresponds to one line in the flow area .
For that region, and the first type of pourable region existing outside the periphery of the contour of the pouring prohibited area, and a second type of pourable region surrounded in the casting forbidden region in the pouring region Recognize the above steps
In (4), for the one line recognized in the step (3),
In the pourable area in the corresponding area, the input
Characterized by arranging a character group .

【0006】第1の発明によれば、流し込み禁止領域が
中抜け図形により指定された場合に、その中抜け領域を
第2種の流し込み可能領域として認識することができ、
流し込み禁止領域の外側の第1種の流し込み可能領域と
併せて文字群の流し込みが可能な領域を構成することが
できる。従って、複雑な形状の領域への文字群の流し込
みを容易に指定することのできる電子組版技術を提供す
ることができる。
According to the first aspect of the invention, when the flow-inhibited area is designated by the hollow graphic, the hollow area can be recognized as the second-type pourable area.
It is possible to configure an area in which the character group can be flown together with the first-type flowable area outside the flow-inhibited area. Therefore, it is possible to provide an electronic typesetting technique capable of easily specifying the pouring of a character group into a region having a complicated shape.

【0007】第2の発明は、文字組版を電子的に行う電
子組版装置であって、文字群を配置する領域を流し込み
領域として指定するとともに、文字群の配置を禁止する
領域を流し込み禁止領域として指定するための領域指定
手段と、流し込む文字群を入力するための採字手段と、
前記流し込み領域の中で前記流し込み禁止領域以外の領
域を流し込み可能領域として認識するための可能領域認
識手段と、前記流し込み可能領域に、前記採字手段に入
力された文字群を配置する流し込み実行手段と、を備
え、前記可能領域認識手段では、前記流し込み領域の中
で、1行分に相当する領域について、前記流し込み禁止
領域の外周の輪郭の外側に存在する第1種の流し込み可
能領域と、前記流し込み領域の中で前記流し込み禁止領
域に周囲を取り囲まれた第2種の流し込み可能領域と、
を認識し、前記流し込み実行手段では、前記可能領域認
識手段で認識された前記1行分に相当する領域中の流し
込み可能領域に、前記採字手段に入力された文字群を配
置する、ことを特徴とする。
A second aspect of the present invention is an electronic typesetting apparatus for electronically performing character typesetting, wherein an area in which a character group is arranged is designated as a flow area, and an area in which the character group is prohibited is set as a flow prohibition area. A region specifying means for specifying, a character type means for inputting a character group to be poured,
And area recognition means for recognizing a region pouring region other than the pouring forbidden region in the pouring region, the pouring area, executing means pouring to arranged a character group input to the adoption shaped means In the flowable area, in the flowable area recognizing means , for a region corresponding to one row , a first type flowable area existing outside the contour of the outer periphery of the flow-inhibited area, A second type pourable region surrounded by the pouring prohibited region in the pouring region;
And the flow execution means recognizes the feasible area.
Sink in the area corresponding to the one line recognized by the recognition means
The character group input to the above-mentioned character writing means is placed in the embeddable area.
It is characterized by placing .

【0008】第2の発明も、上記第1の発明と同様な作
用・効果を有しており、複雑な形状の領域への文字群の
流し込みを容易に指定することのできる電子組版技術を
提供することができる。
The second invention also has an operation and effect similar to those of the first invention, and provides an electronic typesetting technique which makes it possible to easily specify the flow of a character group into an area having a complicated shape. can do.

【0009】[0009]

【発明の他の態様】この発明は、以下のような他の態様
も含んでいる。第1の態様は、コンピュータシステムの
マイクロプロセッサによって実行されることによって、
上記の発明の各工程または各手段を実現するソフトウエ
アプログラムを格納した携帯型記憶媒体である。
Other Embodiments of the Invention The present invention also includes the following other embodiments. The first aspect is by being executed by a microprocessor of a computer system,
The portable storage medium stores a software program that realizes each step or each means of the above invention.

【0010】[0010]

【発明の実施の形態】図2はこの発明の一実施例として
の電子組版装置を示すブロック図である。この電子組版
装置は、CPU10と、バスライン12とを備えてお
り、バスライン12には、図形データメモリ14と、採
字データメモリ16と、組版情報メモリ18と、領域取
出し演算装置20と、組版装置22と、組版済データメ
モリ24とが接続されている。また、バスライン12に
は、入力装置としてキーボード30とマウス32とが接
続されており、また、出力装置としてカラーCRT36
が接続されている。さらに、外部記憶装置としては磁気
ディスク38が接続されている。なお、この発明におけ
る領域指定手段はマウス32によって実現されている。
また、採字手段はキーボード30によって、可能領域認
識手段は領域取出し演算装置20によって、流し込み実
行手段は組版装置22によって実現されている。
FIG. 2 is a block diagram showing an electronic typesetting device as an embodiment of the present invention. The electronic typesetting device includes a CPU 10 and a bus line 12, and the bus line 12 includes a graphic data memory 14, a character writing data memory 16, a typesetting information memory 18, an area extraction computing device 20, The typesetting device 22 and the typeset data memory 24 are connected. A keyboard 30 and a mouse 32 are connected to the bus line 12 as input devices, and a color CRT 36 is output as an output device.
Are connected. Further, a magnetic disk 38 is connected as an external storage device. The area designating means in the present invention is realized by the mouse 32.
The keyboard 30 is used as the character-writing means, the area extraction arithmetic unit 20 is used as the feasible area recognition means, and the typesetting apparatus 22 is used as the flow-in execution means.

【0011】図3は、この実施例における組版作業の手
順を示すフローチャートである。ステップS1では、オ
ペレータがマウス32を用いて流し込み領域の図形を指
定する。図4(a)は、版下BC上に流し込み領域CR
が指定された状態を示す説明図である。流し込み領域C
Rの位置と大きさは、対角線上の2点U1,U2の位置
と流し込み領域CRの角度θを指定することによって指
定する。この流し込み領域CRは、幅Wr、長さLrの
矩形である。
FIG. 3 is a flow chart showing the procedure of the typesetting work in this embodiment. In step S1, the operator uses the mouse 32 to specify a figure in the pouring area. FIG. 4 (a) shows a pouring area CR on the block BC.
It is explanatory drawing which shows the state in which was designated. Pour area C
The position and size of R are specified by specifying the positions of two points U1 and U2 on the diagonal line and the angle θ of the pouring region CR. The pouring region CR is a rectangle having a width Wr and a length Lr.

【0012】ステップS2では、オペレータがマウス3
2を用いて流し込み禁止領域PRの図形(「ブロック図
形」とも呼ばれる)を指定する。図4(b)は、版下B
C上に流し込み禁止領域図形(PR1およびPR2の混
合図形)が指定された状態を示す説明図である。閉図形
PR1およびPR2の位置と大きさは、その輪郭上の頂
点V1〜V8の位置を指定することによって特定され
る。なお、頂点V2とV3の間およびV6とV7の間の
円弧に関しては、その径も指定する。
In step S2, the operator operates the mouse 3
2 is used to specify a figure (also called a “block figure”) in the flow-in prohibition region PR. Figure 4 (b) shows a block copy B
FIG. 6 is an explanatory diagram showing a state in which a flow-inhibited area graphic (mixed graphic of PR1 and PR2) is designated on C. The positions and sizes of the closed figures PR1 and PR2 are specified by designating the positions of the vertices V1 to V8 on their contours. The diameters of the arcs between the vertices V2 and V3 and between V6 and V7 are also specified.

【0013】流し込み禁止領域PRの輪郭を規定する2
つの閉図形PR1、PR2の中で、第2の閉図形PR2
は第1の閉図形PR1に包含されている。このように、
複数の閉図形の組み合わせで構成されている図形(領
域)であって、一部の閉図形が他の閉図形に包含されて
いる図形を、「混合図形」と呼ぶ。後述するように、流
し込みが禁止されるのは、2つの閉図形PR1、PR2
で囲まれた領域(すなわち流し込み禁止領域PR)であ
る。第1の閉図形PR1の外側の領域や、第2の閉図形
PR2の内側の領域は、流し込みが禁止されていない。
2 for defining the contour of the flow-inhibited area PR
Of the two closed figures PR1 and PR2, the second closed figure PR2
Is included in the first closed figure PR1. in this way,
A figure (area) composed of a combination of a plurality of closed figures, and a figure in which some closed figures are included in other closed figures is called a "mixed figure". As will be described later, the pouring is prohibited by the two closed figures PR1 and PR2.
It is a region surrounded by (that is, a flow-in prohibition region PR). The pouring is not prohibited in the area outside the first closed figure PR1 and the area inside the second closed figure PR2.

【0014】流し込み領域CRと、閉図形PR1および
PR2で構成される流し込み禁止領域PR(混合図形)
を特定するデータは、図形データメモリ14に記憶され
る。図5は、図形データメモリ14に記憶されたデータ
を示す説明図である。図形データメモリ14には、各図
形ごとに図形のサイズと、図形の種類(矩形、円形、楕
円形、混合図形など)と、図形用途(流し込み領域の図
形、流し込み禁止領域の図形など)と、図形データ(頂
点座標と円弧の径など)が記憶される。
A flow-in prohibited region PR (mixed pattern) composed of a flow-in region CR and closed patterns PR1 and PR2
The data for specifying is stored in the graphic data memory 14. FIG. 5 is an explanatory diagram showing data stored in the graphic data memory 14. In the graphic data memory 14, the size of each graphic, the type of the graphic (rectangular, circular, elliptical, mixed graphic, etc.), graphic usage (the graphic of the pouring area, the graphic of the pouring prohibited area, etc.), Graphic data (vertex coordinates, arc diameter, etc.) is stored.

【0015】ステップS3では、予め採字されていた文
字群の内の何文字目から流し込みを行うかをオペレータ
が指定する。図6は、採字データメモリ16に記憶され
ている文字群を示す説明図である。各文字は2バイトコ
ードで登録されている。ここでは、1文字目から流し込
むこととする。なお、予め採字作業を行っていない場合
には、ステップS3においてキーボード30から文字を
入力することによって採字作業を行ってもよい。採字作
業を行うと、図7に示す組版情報が組版情報メモリ18
に登録される。組版情報は、文字の大きさと、字間と、
1行文字数と、行数と、段数とを含んでいる。ステップ
S4では、オペレータが組版開始ボタンを押す。このボ
タンは、キーボード30上の所定のキーや、カラーCR
T36上に表示された選択枝として実現される。
In step S3, the operator designates from which character of the previously selected character group the character is to be poured. FIG. 6 is an explanatory diagram showing a character group stored in the character collection data memory 16. Each character is registered as a 2-byte code. Here, it is assumed that the first character is poured. In addition, when the character collection work is not performed in advance, the character collection work may be performed by inputting a character from the keyboard 30 in step S3. When the typesetting work is performed, the typesetting information shown in FIG.
Be registered with. The typesetting information includes the size of characters, the space between characters,
It includes the number of characters per line, the number of lines, and the number of columns. In step S4, the operator presses the typesetting start button. This button is used to select a certain key on the keyboard 30 or color CR
It is realized as a selection branch displayed on T36.

【0016】ステップS5〜S9は、電子組版装置が自
動的に行う作業である。まず、ステップS5では、領域
取出し演算装置20が流し込み領域CRから1行分の矩
形を取り出す。図8は、ステップS5の詳細手順を示す
フローチャートであり、また、図9は一行分の流し込み
領域CRaを示す説明図である。ステップS51では、
組版情報メモリ18に記憶されている文字の大きさか
ら、一行分の幅W1(文字の高さに相当する)を決定す
る。ステップS52では、文字の幅と、字間と、一行分
の文字数とから一行の長さLsを算出する。一行の長さ
Lsは、流し込み領域CRの長さLr(図4(a)参
照)以下である。なお、組版情報によってN段の横組が
指定されている場合には、N×Ls≦Lrとなる。ここ
では簡単のため、段組を行わない場合について説明す
る。
Steps S5 to S9 are operations automatically performed by the electronic typesetting device. First, in step S5, the area extraction arithmetic unit 20 extracts one row of rectangles from the flow area CR. FIG. 8 is a flowchart showing the detailed procedure of step S5, and FIG. 9 is an explanatory diagram showing the flow-in area CRa for one line. In step S51,
The width W1 of one line (corresponding to the height of the character) is determined from the size of the character stored in the typesetting information memory 18. In step S52, the line length Ls is calculated from the character width, the character space, and the number of characters in one line. The length Ls of one line is equal to or less than the length Lr (see FIG. 4A) of the casting region CR. If N type horizontal writing is designated by the typesetting information, N × Ls ≦ Lr. Here, for simplicity, a case where no columns are formed will be described.

【0017】図3に戻り、ステップS6では、領域取出
し演算装置20が一行分の流し込み可能領域を取り出
し、ステップS7では、組版装置22が1行分の流し込
み可能領域に採字文字群の流し込みを行う。図10は、
ステップS6の詳細手順を示すフローチャートである。
ステップS61では、流し込み領域CRの回転角が0度
になるように、すべての図形をθ度回転する。図11
は、回転後の一行分の流し込み領域CRaと流し込み禁
止領域PRとを示す説明図である。
Returning to FIG. 3, in step S6, the area extraction arithmetic unit 20 extracts one line of the flowable area, and in step S7, the typesetting device 22 flows in the one line of the flowable area of the set character group. To do. Figure 10
It is a flowchart which shows the detailed procedure of step S6.
In step S61, all the figures are rotated by θ degrees so that the rotation angle of the pouring area CR becomes 0 degree. Figure 11
FIG. 6 is an explanatory diagram showing a flow-in area CRa and a flow-in prohibition area PR for one line after rotation.

【0018】ステップS62では、流し込み禁止領域P
Rが混合図形であるか否か、および混合図形であるなら
ば中抜け図形であるか否かを判別する。図4(b)の例
では、右回りのベクトル図形PR1は塗りつぶし(流し
込み禁止)であり、左回りのベクトル図形PR2はその
内部中抜け(流し込みを禁止しない)と規定されてい
る。従って、流し込み禁止領域PRを構成するベクトル
図形PR1、PR2のベクトルの方向を調べることによ
り、混合図形で中抜け図形であるか否かを判別すること
ができる。
In step S62, the pouring prohibited area P
It is determined whether R is a mixed figure and, if it is a mixed figure, whether it is a hollow figure. In the example of FIG. 4B, the clockwise vector graphic PR1 is defined as being filled (pouring is prohibited), and the counterclockwise vector graphic PR2 is being defined as an internal void (do not prohibit pouring). Therefore, by examining the vector directions of the vector figures PR1 and PR2 that form the pouring prohibited area PR, it is possible to determine whether or not the mixed figure is a hollow figure.

【0019】ステップS63では、混合図形を構成する
複数の閉図形のうちの1図形を取り出す。図4(b)に
おいては、閉図形PR1またはPR2のどちらかを取り
出す。ステップS64aでは、図11に示すように一行
分の流し込み領域CRaの上端の線分L1と、流し込み
禁止領域PRを構成する閉図形PR1の輪郭との交点P
1、P4のx座標を求める。このとき、線分L1は無限
長の直線と仮定している。ステップS65では、混合図
形のすべてについてステップS64aの処理を終了した
か否かが判断さる。すべての混合図形について終了して
いなければ、ステップS63に戻ってステップS63お
よびS64aの処理を繰り返し、終了していればステッ
プS66の処理へ移行する。従って、ここでは、閉図形
PR2の輪郭との交点P2、P3のx座標を求める。ま
た、ステップS62で混合図形でないと判断された場合
は、ステップS64bにおいてステップS64aと全く
同じ処理を行い、ステップS66の処理へ移行する。
In step S63, one figure out of a plurality of closed figures forming the mixed figure is taken out. In FIG. 4B, either closed figure PR1 or PR2 is taken out. In step S64a, as shown in FIG. 11, the intersection point P between the line segment L1 at the upper end of the flow-in area CRa for one line and the contour of the closed figure PR1 forming the flow-in prohibition area PR.
1. Calculate the x coordinate of P4. At this time, the line segment L1 is assumed to be a straight line of infinite length. In step S65, it is determined whether or not the process of step S64a has been completed for all the mixed figures. If not completed for all the mixed figures, the process returns to step S63 to repeat the processes of steps S63 and S64a, and if completed, the process proceeds to step S66. Therefore, here, the x-coordinates of the intersection points P2 and P3 with the contour of the closed figure PR2 are obtained. If it is determined in step S62 that the figure is not a mixed figure, the same process as step S64a is performed in step S64b, and the process proceeds to step S66.

【0020】ステップS66では、交点P1〜P4のx
座標を小さい順に並びかえる。ステップS67では、n
番目の交点と(n+1)番目の交点との間を流し込み禁
止とする。ここで、nは1以上の奇数である。
In step S66, x at intersections P1 to P4
Rearrange the coordinates in ascending order. In step S67, n
No pouring is allowed between the (n + 1) th intersection and the (n + 1) th intersection. Here, n is an odd number of 1 or more.

【0021】ステップS68では、一行分の流し込み領
域CRaの下端の線分L2に対してステップS62〜S
67と同じ処理を行い、交点Q1〜Q4と流し込み禁止
の範囲を求める。そして、ステップS69では、一行分
の流し込み可能領域を決定する。流し込み可能領域FR
1a,FR1b,FR2は、図11の下部に示すよう
に、流し込み領域Lrの長さLrの中で、流し込み禁止
とされていない部分である。
In step S68, steps S62 to S62 are performed for the line segment L2 at the lower end of the flow-in region CRa for one line.
The same processing as 67 is performed to obtain intersections Q1 to Q4 and the range of pouring prohibition. Then, in step S69, the pourable region for one line is determined. Pourable area FR
As shown in the lower part of FIG. 11, 1a, FR1b, and FR2 are portions that are not prohibited to be poured in the length Lr of the casting region Lr.

【0022】図3に戻り、ステップS7では、ステップ
S6において取り出された1行分の流し込み可能領域F
R1a,FR1b,FR2内に、組版装置22が組版の
流し込みを行う。すなわち、採字データメモリ16に記
憶されている文字群が流し込み可能領域FR1a,FR
1b,FR2内に配置される。ステップS8では、流し
込み領域CR内の次の行の開始点に処理を移行する。ス
テップS9では、すべての採字を流し込んだか否かが判
断され、終了していなければ、ステップS5に戻ってス
テップS5〜S8の処理を繰り返す。
Returning to FIG. 3, in step S7, the flowable area F for one row extracted in step S6 is fetched.
The typesetting device 22 pours the typesetting into the R1a, FR1b, and FR2. That is, the character groups stored in the character writing data memory 16 can be filled into the areas FR1a and FR1.
It is arranged in 1b and FR2. In step S8, the process moves to the start point of the next line in the flow-in region CR. In step S9, it is determined whether or not all the characters have been poured, and if not completed, the process returns to step S5 and the processes of steps S5 to S8 are repeated.

【0023】図12は、領域取出し演算装置20によっ
て決定された流し込み可能領域FR(斜線を付す)を示
す図である。流し込み可能領域としては、流し込み領域
CRの中で、流し込み禁止領域PRの外周の輪郭の外側
に存在する第1種の流し込み可能領域FR1と、流し込
み禁止領域PRに周囲を取り囲まれた第2種の流し込み
可能領域FR2とが認識される。
FIG. 12 is a diagram showing the flowable area FR (hatched) which is determined by the area extraction calculation device 20. As the pourable region, in the pouring region CR, the first type pourable region FR1 that exists outside the outer peripheral contour of the pouring prohibited region PR and the second type that is surrounded by the pouring prohibited region PR are included. The flowable area FR2 is recognized.

【0024】図13は、2種類の流し込み可能領域FR
1、FR2に文字群の一部が連続して流し込まれた状態
を示す図である。このように、2種類の流し込み可能領
域FR1、FR2を連続した領域のように取り扱って、
文字群を連続して流し込むことが可能である。
FIG. 13 shows two types of pourable areas FR.
It is a figure which shows the state which a part of character group was continuously poured in 1, FR2. In this way, the two types of pourable regions FR1 and FR2 are handled as continuous regions,
It is possible to pour characters continuously.

【0025】なお、第1種の流し込み可能領域FR1と
第2種の流し込み可能領域FR2の少なくとも一方をユ
ーザが選択し、選択された流し込み可能領域のみに文字
群を流し込むようにすることも可能である。図14は、
第2種の流し込み領域FR2のみに選択的に文字群を流
し込んだ例を示している。このように、2種類の流し込
み可能領域FR1、FR2の少なくとも一方を選択でき
るようにすれば、ユーザの好みに応じて種々の態様で文
字の流し込みを行うことができるという利点がある。
It is also possible that the user selects at least one of the first-type flowable area FR1 and the second-type flowable area FR2 so that the character group is flowed into only the selected flowable area. is there. Figure 14
An example is shown in which the character group is selectively poured only into the second type flowing area FR2. As described above, by making it possible to select at least one of the two types of flowable regions FR1 and FR2, there is an advantage that the characters can be flowed in various modes according to the preference of the user.

【0026】以上説明したように流し込み可能領域を算
出すれば、混合図形により形成された複雑な形状の流し
込み禁止領域であっても、容易に組版を実行することが
できる。
By calculating the pourable area as described above, it is possible to easily carry out the typesetting even for the pouring prohibited area having a complicated shape formed by the mixed figure.

【0027】なお、この発明は上記実施例に限られるも
のではなく、その要旨を逸脱しない範囲において種々の
態様において実施することが可能である。
The present invention is not limited to the above embodiments, but can be implemented in various modes without departing from the scope of the invention.

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

【図1】従来の流し込み可能領域と流し込み禁止領域を
示す概念図。
FIG. 1 is a conceptual diagram showing a conventional pourable region and a conventional pouring prohibited region.

【図2】この発明の一実施例としての電子組版装置を示
すブロック図。
FIG. 2 is a block diagram showing an electronic typesetting device as an embodiment of the present invention.

【図3】実施例における組版作業の手順を示すフローチ
ャート。
FIG. 3 is a flowchart showing a procedure of typesetting work in the embodiment.

【図4】版下に流し込み領域と流し込み禁止領域が指定
された状態を示す説明図。
FIG. 4 is an explanatory view showing a state in which a flow-in area and a flow-inhibited area are specified in a block.

【図5】図形データメモリに記憶されたデータを示す説
明図。
FIG. 5 is an explanatory diagram showing data stored in a graphic data memory.

【図6】採字データメモリに記憶されている文字群を示
す説明図。
FIG. 6 is an explanatory diagram showing a character group stored in a character-writing data memory.

【図7】組版情報メモリの登録内容を示す説明図。FIG. 7 is an explanatory diagram showing registered contents of a typesetting information memory.

【図8】ステップS5の詳細手順を示すフローチャー
ト。
FIG. 8 is a flowchart showing a detailed procedure of step S5.

【図9】一行分の流し込み領域を示す説明図。FIG. 9 is an explanatory view showing a flow-in area for one line.

【図10】ステップS6の詳細手順を示すフローチャー
ト。
FIG. 10 is a flowchart showing a detailed procedure of step S6.

【図11】回転後の一行分の流し込み領域と流し込み禁
止領域とを示す説明図。
FIG. 11 is an explanatory diagram showing a flow-in area and a flow-in prohibition area for one row after rotation.

【図12】領域取出し演算装置によって決定された流し
込み可能領域FRを示す図。
FIG. 12 is a diagram showing a pourable region FR determined by a region extraction calculation device.

【図13】流し込み可能領域に文字群の一部が流し込ま
れた状態を示す図。
FIG. 13 is a diagram showing a state where a part of a character group is poured into a pourable area.

【図14】第2種の流し込み領域FR2のみに選択的に
文字群を流し込んだ例を示す図。
FIG. 14 is a diagram showing an example in which a character group is selectively poured into only a second type of filling area FR2.

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

10…CPU 12…バスライン 14…図形データメモリ 16…採字データメモリ 18…組版情報メモリ 20…演算装置 22…組版装置 24…組版済データメモリ 30…キーボード 32…マウス 38…磁気ディスク BC…版下 CR…流し込み領域 FR…流し込み可能領域 FR1…流し込み可能領域 FR1a…流し込み可能領域 FR1b…流し込み可能領域 FR2…流し込み可能領域 PR…流し込み禁止領域 PR1…閉図形 PR2…閉図形 RR… 写真領域 10 ... CPU 12 ... Bus line 14 ... Graphic data memory 16 ... Character data memory 18 ... Typesetting information memory 20 ... Arithmetic device 22 ... Typesetting device 24 ... Formatted data memory 30 ... Keyboard 32 ... Mouse 38 ... Magnetic disk BC ... artwork CR: Pour area FR: Pourable area FR1 ... Pourable area FR1a ... Pourable area FR1b ... Pourable area FR2: Pourable area PR: Areas where pouring is prohibited PR1 ... Closed figure PR2 ... Closed figure RR ... Photo area

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06T 1/00 G06T 11/60 - 17/50 G06F 17/20 - 17/26 B41B 13/00 - 27/50 ─────────────────────────────────────────────────── ─── Continuation of front page (58) Fields surveyed (Int.Cl. 7 , DB name) G06T 1/00 G06T 11/60-17/50 G06F 17/20-17/26 B41B 13/00-27 / 50

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 コンピュータを用いて文字組版を電子的
に行う電子組版方法であって、 (1)文字群を配置する領域を流し込み領域として指定
するとともに、文字群の配置を禁止する領域を流し込み
禁止領域として指定する工程と、 (2)流し込む文字群を入力する工程と、 (3)前記コンピュータに含まれるCPUが、前記流し
込み領域の中で前記流し込み禁止領域以外の領域を流し
込み可能領域として認識する工程と、 (4)前記CPUが、前記流し込み可能領域に、前記入
力された文字群を配置する工程と、 を備え、 前記工程(3)では、 前記流し込み領域の中で、1行分に相当する領域につい
て、前記流し込み禁止領域の外周の輪郭の外側に存在す
る第1種の流し込み可能領域と、前記流し込み領域の中
で前記流し込み禁止領域に周囲を取り囲まれた第2種の
流し込み可能領域と、を認識し、 前記工程(4)では、 前記工程(3)で認識された前記1行分に相当する領域
中の流し込み可能領域に、前記入力された文字群を配置
する、 ことを特徴とする電子組版方法。
1. An electronic typesetting method for electronically performing character typesetting using a computer, comprising : (1) designating an area in which a character group is to be arranged as a flow area, and flowing an area in which the arrangement of character groups is prohibited. (2) Inputting a group of characters to be flowed in; (3) The CPU included in the computer recognizes a region other than the region for which flow is prohibited as a flowable region in the flow-in region. (4) The CPU causes the CPU to enter the pouring area.
Arranging the pressed character group, and, in the step (3) , regarding the region corresponding to one line in the flow-in region,
And a first-type pourable region existing outside the contour of the outer periphery of the pouring-prohibited region, and a second-type pourable region surrounded by the pouring-prohibited region in the pouring region. recognized, the step (4), corresponding to the one line, which is recognized in the step (3) regions
Place the input character group in the pourable area inside
An electronic typesetting method characterized by:
【請求項2】 文字組版を電子的に行う電子組版装置で
あって、 文字群を配置する領域を流し込み領域として指定すると
ともに、文字群の配置を禁止する領域を流し込み禁止領
域として指定するための領域指定手段と、 流し込む文字群を入力するための採字手段と、 前記流し込み領域の中で前記流し込み禁止領域以外の領
域を流し込み可能領域として認識するための可能領域認
識手段と、前記 流し込み可能領域に、前記採字手段に入力された文
字群を配置する流し込み実行手段と、 を備え、 前記可能領域認識手段では、 前記流し込み領域の中で、1行分に相当する領域につい
て、前記流し込み禁止領域の外周の輪郭の外側に存在す
る第1種の流し込み可能領域と、前記流し込み領域の中
で前記流し込み禁止領域に周囲を取り囲まれた第2種の
流し込み可能領域と、を認識し、 前記流し込み実行手段では、 前記可能領域認識手段で認識された前記1行分に相当す
る領域中の流し込み可能領域に、前記採字手段に入力さ
れた文字群を配置する、 ことを特徴とする電子組版装置。
2. An electronic typesetting device for electronically performing character typesetting, wherein an area for arranging a character group is designated as a flow-in area, and an area in which character grouping is prohibited is designated as a flow-inhibited area. and area specifying means, and closed means for inputting a character group pouring, the area recognizing means for recognizing a region pouring region other than the pouring forbidden region in the pouring region, the pourable region And a flow execution means for arranging the character group input to the character writing means, and the feasible area recognition means includes a region corresponding to one line in the flow area.
And a first-type pourable region existing outside the contour of the outer periphery of the pouring-prohibited region, and a second-type pourable region surrounded by the pouring-prohibited region in the pouring region. recognized, in the pouring execution means, to correspond to the one line, which is recognized by the region recognizing means
Input into the pouring area in the area
An electronic typesetting device , characterized by arranging a group of written characters .
JP27744396A 1996-09-27 1996-09-27 Electronic typesetting method and apparatus Expired - Fee Related JP3527595B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27744396A JP3527595B2 (en) 1996-09-27 1996-09-27 Electronic typesetting method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27744396A JP3527595B2 (en) 1996-09-27 1996-09-27 Electronic typesetting method and apparatus

Publications (2)

Publication Number Publication Date
JPH10105725A JPH10105725A (en) 1998-04-24
JP3527595B2 true JP3527595B2 (en) 2004-05-17

Family

ID=17583651

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27744396A Expired - Fee Related JP3527595B2 (en) 1996-09-27 1996-09-27 Electronic typesetting method and apparatus

Country Status (1)

Country Link
JP (1) JP3527595B2 (en)

Also Published As

Publication number Publication date
JPH10105725A (en) 1998-04-24

Similar Documents

Publication Publication Date Title
JP3396404B2 (en) Automatic string editing system
US5208904A (en) Data processing apparatus and method for preparing data representative of supplemental figure attached to basic figure reproduced on output medium
JP2666750B2 (en) Figure placement device
JP3527595B2 (en) Electronic typesetting method and apparatus
JP2868666B2 (en) Electronic typesetting device for typesetting along any line
JPH10283492A (en) Layout typesetting method
JP3210940B2 (en) Electronic typesetting device
JPH0827843B2 (en) How to edit a character string in a figure
JPH0687204A (en) Electronic composing equipment for calculating number of character
JP2889760B2 (en) An electronic typesetting device that combines characters and figures
JP3673547B2 (en) Image processing method and apparatus
JPH06933A (en) Electronic composing method
JPH0896153A (en) Layout processor
JPH08184952A (en) Plate composing processor
JP3254286B2 (en) Plate mask making equipment
JP4618746B2 (en) Graphic object allocation device
JPH0524553B2 (en)
JPH0721397A (en) Paint-out plotting method for polygon
JPH07200579A (en) Document processor, graphic processor and graphic processing method
JPH06162012A (en) Document preparing device
JPH0573659A (en) Method and device for generating map data
JPH06223061A (en) Word processor
JPH03194649A (en) Table structure control system
JPH06266708A (en) Word processing method/device
JPH0728999A (en) Picture processing method

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20031212

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040217

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040220

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20080227

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090227

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees