JPH01318177A - Processing system for vector character - Google Patents

Processing system for vector character

Info

Publication number
JPH01318177A
JPH01318177A JP15025688A JP15025688A JPH01318177A JP H01318177 A JPH01318177 A JP H01318177A JP 15025688 A JP15025688 A JP 15025688A JP 15025688 A JP15025688 A JP 15025688A JP H01318177 A JPH01318177 A JP H01318177A
Authority
JP
Japan
Prior art keywords
character
coordinate data
vectors
vertices
vector
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP15025688A
Other languages
Japanese (ja)
Inventor
Yukie Yamazaki
山崎 雪絵
Tetsuo Iwamoto
岩本 哲夫
Kazuko Suzuki
和子 鈴木
Tsukasa Yamauchi
司 山内
Michihiro Mese
目瀬 道弘
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP15025688A priority Critical patent/JPH01318177A/en
Publication of JPH01318177A publication Critical patent/JPH01318177A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)

Abstract

PURPOSE:To output characters having high quality and different line width from the outline information of a character by furthermore changing coordinate data based upon directiveness when vectors intersect with each other. CONSTITUTION:Coordinate data previously defined with directiveness are extracted from a keyboard 205 or a program in a storage device 201 and the coordinate values of vertexes constituting the outline of a character are changed to contract or expand the line width of the character. Then, the changed coordinate data are checked and the coordinate data of the intersecting vectors are changed again so as not to intersect. The current size is linearly changed to an objective character size by using the coordinate data and character dots are developed in a memory area specifying the data and outputted. Since a character having no void part can be outputted at the time of painting out the character, characters having high quality and different line width can be outputted from the outline information of one character.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、マルチサイズ高品質文字を含む文書を作成す
る情報処理装置に係り、特に、文字を拡大・縮小して文
書を作成する場合に好適なベクトル文字の処理方式に関
する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an information processing device that creates a document containing multi-sized high-quality characters, and particularly relates to an information processing device that creates a document by enlarging or reducing characters. This invention relates to a suitable vector character processing method.

〔従来の技術〕[Conventional technology]

従来、高品質文字等を発生するには、特開昭50−14
230号公報に記載のように、文字等の輪郭情報をスト
ローク(ポリゴン)データで記憶装置に貯蔵し、索引コ
ードを与えて当該文字データを取出し、デイスプレィ等
の出力装置にポリゴン塗潰しアルゴリズムを用いてドツ
ト展開して出力していた。
Conventionally, in order to generate high-quality characters, etc., it was necessary to
As described in Publication No. 230, contour information of characters etc. is stored in a storage device as stroke (polygon) data, the character data is retrieved by giving an index code, and a polygon filling algorithm is used on an output device such as a display. I expanded it to dots and output it.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来技術において、文字のサイズを変更する場合に
、文字の太さ、すなわち線幅を文字サイズに比例させる
だけでは、高品質文字が得られなかった。特に、明朝体
の場合には水平方向の線の幅が細く、かつ縦方向の線の
幅が太くなっているため、文字サイズを漸次小さくして
いくと、縦方向の線が早く接近して、いわゆる“つぶれ
°という現象が起き、逆に、文字サイズを漸次大きくし
ていくと、文字が弱々しく見えてしまうという現象が起
きる。
In the above-mentioned prior art, when changing the size of a character, high-quality characters cannot be obtained simply by making the thickness of the character, that is, the line width, proportional to the character size. In particular, in the case of the Mincho font, the width of the horizontal lines is thin and the width of the vertical lines is thick, so as you gradually reduce the font size, the vertical lines approach quickly. As a result, a so-called "collapse" phenomenon occurs, and conversely, as the font size is gradually increased, the fonts appear weaker.

このような点に鑑み、本発明者等は先に特願昭62−1
39268号及び同65−18741号において、一つ
の文字の輪郭情報から文字の線幅の異なる種々の文字を
発生するための方式として、文字の輪郭情報としてのポ
リゴン(多角形)の頂点の座標データを方向性をもって
定義しておき、文字幅の変更のために座標データを変更
するに際して、前記方向性に基づいて、ポリゴンの一辺
を構成するベクトルを移動させるべき方向を自動的に定
めるものを提案した。
In view of these points, the inventors of the present invention first filed a patent application in 1986-1.
No. 39268 and No. 65-18741 disclose coordinate data of vertices of polygons as character outline information as a method for generating various characters with different line widths from outline information of one character. is defined with directionality, and when changing the coordinate data to change the character width, we propose a method that automatically determines the direction in which the vectors forming one side of the polygon should be moved based on the directionality. did.

ところで、これら先行発明では、元の座標データにおい
てベクトル同士が接近していた場合、あるいは文字の線
幅の変更量が大きい場合等に、座標データを変更するこ
とにより文字の線幅を変更後、ベクトル同士が交差して
しまうという現象が生じる場合がある。このようなベク
トル同士の交差が生じた場合、文字のポリゴン内部の塗
り潰しを行う際、例えば、水平方向に1ラインごとにス
キャンしてそのラインがベクトルと交差する交点から次
のベクトルとの交点までを塗り潰すという方法をとると
、ベクトルの交差により生じた文字の重なりの部分が塗
り潰されなくて白抜きになってし−iう。この問題に対
する対処法を前記先行発明では開示していなかった。
By the way, in these prior inventions, when the vectors are close to each other in the original coordinate data, or when the amount of change in the line width of the character is large, after changing the line width of the character by changing the coordinate data, A phenomenon in which vectors intersect may occur. When such intersections between vectors occur, when filling inside the polygon of a character, for example, scan each line in the horizontal direction from the intersection where that line intersects the vector to the intersection with the next vector. If you take the method of filling out the characters, the overlapping parts of the characters caused by the intersection of the vectors will not be filled out and will become white. The prior invention did not disclose a solution to this problem.

本発明の目的は、一つの文字の輪郭情報から品位の高い
文字の線幅の異なる文字を出力するベクトル文字の処理
方式を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a vector character processing method that outputs high-quality characters with different line widths from outline information of a single character.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的を達成するために、本発明によるベクトル文字
の処理方式は、文字の輪郭情報としてポリゴン(多角形
)の頂点の座標データを用いる情報処理装置におけるベ
クトル文字の処理方式であって、予め上記頂点の座標デ
ータを方向性をもって定義しておき、文字の線幅を変更
する際に、前記方向性に基づいて上記頂点の座標データ
を変更し、該変更後の座標データについて、連続した二
つの頂点が構成するベクトルが他のベクトル同士差する
か否かを判断し、ベクトルが交差する場合、上記方向性
に基づいて座標データをさらに変更することにより、ベ
クトルの交差が生じない座標データを作成するようにし
たものである。
In order to achieve the above object, a vector character processing method according to the present invention is a vector character processing method in an information processing apparatus that uses coordinate data of vertices of a polygon (polygon) as character outline information, The coordinate data of the vertices is defined with directionality, and when changing the line width of the character, the coordinate data of the apex is changed based on the directionality, and the coordinate data after the change is divided into two consecutive Determine whether the vectors that the vertices make up differ from other vectors, and if the vectors intersect, create coordinate data that does not cause vectors to intersect by further changing the coordinate data based on the above direction. It was designed to do so.

前記ベクトルの交差が生じない座標データを作成するた
めの座標データの変更は、例えば、前記ベクトル同士の
交点を求め、該交点を新たな頂点として当該座標データ
を追加するとともに、前記方向性により不要となる頂点
を判断し、該不要と判断された頂点の座標データを除去
することにより行うことができる。
Changing the coordinate data to create coordinate data in which the vectors do not intersect is, for example, finding the intersection point of the vectors and adding the coordinate data with the intersection point as a new vertex, which is unnecessary due to the directionality. This can be done by determining the vertices that are determined to be unnecessary and removing the coordinate data of the vertices that are determined to be unnecessary.

なお、本明細書において、「文字」なる語は、狭義の文
字に限らず、図形等も含むものとする。
Note that in this specification, the word "character" is not limited to characters in a narrow sense, but also includes figures and the like.

〔作用〕[Effect]

本発明の前提として、ベクトル文字の輪郭線を近似する
ポリゴンの頂点の座標を、方向性をもって定義する。す
なわち、ポリゴン内部を常に一方向(例えは右側)にみ
るような順序で定義する。
As a premise of the present invention, the coordinates of the vertices of a polygon that approximates the outline of a vector character are defined with directionality. That is, the polygons are defined in such an order that the interior of the polygon is always viewed in one direction (for example, to the right).

これにより、文字の線幅を増加させる場合、または減少
させる場合、いずれの方向にポリゴンの各辺すなわちペ
クrルを移動させればよいかが自動的に判断される。
As a result, when increasing or decreasing the line width of a character, it is automatically determined in which direction each side of the polygon, that is, the curve, should be moved.

本発明では文字の線幅の増減に際し、ベクトルの移動に
よる座標変更後に、ベクトル同士の交差が生じるか否か
を検知し、交差が生じた場合には、例えば、その交差の
交点を新たな頂点として採用し、かつ、座標上記方向性
に基づいて不要になる頂点を判断し、この不要と判断さ
れた頂点を除去する。このようにして決定された新たな
ポリゴンの頂点の座標データを、前記方向性をもたせて
新たなポリゴンの座標データとする、 本発明によれば、これらの新たな頂点のうち、連続する
二つの頂点が構成するいずれのベクトルも他のベクトル
と交差することがなく、文字の塗潰しによる前記のよう
な不都合は解消される。
In the present invention, when increasing or decreasing the line width of a character, it is detected whether the vectors intersect with each other after the coordinates are changed by moving the vectors, and if an intersection occurs, the intersection point of the intersection is set as a new vertex. , and determine unnecessary vertices based on the above-mentioned coordinate direction, and remove the vertices determined to be unnecessary. According to the present invention, the coordinate data of the vertices of the new polygon determined in this way is given the directionality and is used as the coordinate data of the new polygon. None of the vectors formed by the vertices intersects with any other vector, and the above-mentioned inconvenience caused by filling out characters is eliminated.

〔実施例〕〔Example〕

以下、本発明の実施例を図面により説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第2図は、本発明を実施するために用いる情報処理装置
を示すブロック図である。この情報処理装置は、動作プ
ログラムやベクトル文字等のデータを格納する記憶装置
201、中央処理装置(以下CPUと称す) 202 
、文字等のデータを表示するデイスプレィ205、文字
等のデータを印刷するプリンタ204、および文字検索
コード等を入力するキーボード205を有する。
FIG. 2 is a block diagram showing an information processing device used to implement the present invention. This information processing device includes a storage device 201 that stores data such as operating programs and vector characters, and a central processing unit (hereinafter referred to as CPU) 202.
, a display 205 for displaying data such as characters, a printer 204 for printing data such as characters, and a keyboard 205 for inputting character search codes and the like.

第3図は、ベクトル文字の輪郭情報を記憶装置201に
例えばポリゴンのデータ形式で格納するときのテーブル
の一例を示したものである。検索コードで当該文字デー
タを取り出すためのインデックステーブル301には、
例えば「ア」の検索コード302に対応して、文字デー
タが格納されている文字輪郭情報テーブル304への、
当該文字データの先頭アドレスを示すポインタ303が
格納されている。
FIG. 3 shows an example of a table used when vector character outline information is stored in the storage device 201 in, for example, polygon data format. The index table 301 for extracting the character data using the search code includes:
For example, in response to the search code 302 for “A”, the character outline information table 304 in which character data is stored is
A pointer 303 indicating the start address of the character data is stored.

文字輪郭情報テーブル304は、当該文字データの輪郭
を構成するポリゴン数(すなわちループ数)505、一
番目の輪郭(ループ1)を構成する頂点数306、当該
ループを構成する頂点の座標データ307〜309、さ
らに次のループ2の頂点数310゜次の文字のループ数
311等を含む。
The character contour information table 304 includes the number of polygons (i.e., the number of loops) 505 that constitute the contour of the character data, the number of vertices 306 that constitute the first contour (loop 1), and the coordinate data 307 of the vertices that constitute the loop. 309, and further includes the number of vertices of the next loop 2, 310°, the number of loops of the next character, 311, and so on.

文字は、順序づけされた頂点で定義されたいくつかの輪
郭から構成されている。ここでの順序づけは、二つの頂
点間を結ぶベクトルの右側が文字゛のぬりつぶし領域と
なるような方向性をもってなされる。ベクトルの方向は
、この逆に決めてもよいが、全文字で統一しておくこと
が必要である。
A character is made up of several contours defined by ordered vertices. The ordering here is done in such a way that the right side of the vector connecting the two vertices is the filled area of the character . The direction of the vector may be determined in the opposite direction, but it is necessary to keep it the same for all characters.

次に、ベクトル同士が交差することのないように1文字
の線幅を変更する方法を第1図のフローに従って説明す
る≦ キーボード205またはプログラムから、予め方向性を
もって定義された座標データを取り出しくブロック10
1)、前記先行発明と同じ方法に従って、文字の輪郭を
構成する頂点の座標値を変更し、文字の線幅を縮小、あ
るいは拡大する(ブロック102)。次に、変更された
座標データを調べ交差するベクトルの座標データを、交
差しないように再び変更する(ブロック1o3)。
Next, we will explain how to change the line width of one character so that the vectors do not intersect with each other, following the flow shown in Figure 1. block 10
1) According to the same method as in the prior invention, the coordinate values of the vertices constituting the outline of the character are changed, and the line width of the character is reduced or expanded (block 102). Next, the changed coordinate data is checked and the coordinate data of intersecting vectors is changed again so that they do not intersect (block 1o3).

この座標データを用い、目標文字サイズに線形にサイズ
を変更し、そのデータを指定したメモリエリア内に、文
字をドツト展開し、出力すればよい。
Using this coordinate data, change the size linearly to the target character size, develop the character into dots in the memory area specified by the data, and output.

また、この手順とは逆に、まず文字サイズを線形に変更
した後、線幅の変更を行なうようにしてもよい。
Further, in the reverse of this procedure, the character size may be changed linearly first, and then the line width may be changed.

次ニ、ブロック105の変更後の座標ブータラ、ベクト
ルが交差しないように変更する方法について、第9図の
フローを用いて説明する。
Next, a method of changing the coordinates of block 105 so that the changed coordinates and vectors do not intersect will be explained using the flowchart of FIG.

ifブロック901で、ベクトル同士が交差しているベ
クトルを検知し、そのようなベクトルがあった場合には
、以下のような処理をする。
An if block 901 detects vectors that intersect with each other, and if such a vector is found, the following processing is performed.

ブロック902で、一つのベクトルに、ある一つのルー
プの二つのベクトルが交さしているかを判断し、この場
合には以下に記述する処理1を行う(ブロック905)
。それ以外の場合、すなわち、ある一つのループと他の
一つのループが交差している場合には、後述の処理2を
行う(ブロック904)。
In block 902, it is determined whether one vector intersects with two vectors in one loop, and in this case, processing 1 described below is performed (block 905).
. In other cases, that is, when one loop intersects with another loop, processing 2, which will be described later, is performed (block 904).

次に処理1を、第4図、第6図、第10図のフローを使
って説明する。処理1を行う場合を第4図に示した。頂
点401と頂点402を結ぶベクトル(以下、ベクトル
401 、402のように略記)から見て、ベクトル4
03,404が、ベクトル401 、402の左側から
右側にはいっており、この二つのベクトルの交点は、4
08である。ひき続き、同じループのベクトル406,
407が、ベクトル401 、402の右側から左側に
ぬけており、この時の交点は、409である。この時、
交点408と交点409をベクトル401゜402には
いり込んでいるループの新頂点とし、座標データに加え
る(ブロック1001)6次に、このループの頂点40
4、頂点4o5、頂点406を座標データからとり除く
が、このとり除く頂点は、座標データの方向性により判
断する。すなわち、ベクトル40i 、 402の右側
が文字のぬりつぶし領域であるから、このベクトル40
1 、402の左側から右側にはいり込んだ頂点から、
右側から左側へ出ていくまでの頂点をとり除く(ブロッ
ク1002 )。その結果、第6図に示すように、ベク
トル401,402にはいり込んでいるループの頂点は
、頂点4o3.、頂点408、頂点409、頂点407
になる。
Next, Process 1 will be explained using the flows shown in FIGS. 4, 6, and 10. FIG. 4 shows the case where Process 1 is performed. Viewed from the vector connecting the vertices 401 and 402 (hereinafter abbreviated as vectors 401 and 402), vector 4
03 and 404 enter from the left side to the right side of vectors 401 and 402, and the intersection of these two vectors is 4
It is 08. Continuing with the same loop vector 406,
407 passes from the right side to the left side of the vectors 401 and 402, and the intersection point at this time is 409. At this time,
The intersection point 408 and the intersection point 409 are set as new vertices of the loop inserted into the vectors 401 and 402, and added to the coordinate data (block 1001).6 Next, the apex 40 of this loop is
4. The vertices 4o5 and 406 are removed from the coordinate data, and the vertices to be removed are determined based on the directionality of the coordinate data. In other words, since the right side of the vectors 40i and 402 is the character filling area, this vector 40
1. From the vertex that entered from the left side of 402 to the right side,
Vertices extending from the right side to the left side are removed (block 1002). As a result, as shown in FIG. 6, the vertices of the loop that enters the vectors 401 and 402 are the vertices 4o3. , vertex 408, vertex 409, vertex 407
become.

この座標においては、第6図の頂点408と頂点409
を結ぶ線分は、ベクトル401 、402からの線分と
、このベクトルにはいり込んでいたループからの線分を
含むことになる。この情報を用いれば、例えば前記の水
平方向の1スキヤンライン毎に、ベクトルとの交点から
、次のベクトルとの交点までをぬりつぶすという方法を
とった場合には、この頂点408と頂点409を結ぶ線
分上では、同時に二つの交点を持つことになる。一つめ
の交点はぬりつぶしの終了、二つめの交点はぬりつぶし
の開始を示すことになり、不必要な白ぬき部分のない、
完全にぬりつぶされた文字を出力することができる。
At this coordinate, apex 408 and apex 409 in FIG.
The line segment connecting the vectors includes the line segments from the vectors 401 and 402, and the line segment from the loop that entered this vector. Using this information, for example, if a method is used to fill in each horizontal scan line from the point of intersection with the vector to the point of intersection with the next vector, it is possible to connect the vertices 408 and 409. On a line segment, there are two points of intersection at the same time. The first intersection indicates the end of filling, and the second intersection indicates the beginning of filling, so there are no unnecessary white areas.
It is possible to output completely filled characters.

以下の例でも、文字のぬりつぶしは同様に行うものとす
る。
In the following examples, the text is filled in in the same way.

次に処理2を、第5図、第7図、第8図、第11図、第
12図のフローに従って説明する。処理2を行う場合を
第5図に示した。ループA320に、ループB521が
交差しており、その交点は、交点510と交点511で
ある。このループAとループBは同じループであること
もある。この場合も、処理1と同様に処理を行っていく
が、交差している二つのループともに頂点を置きかえる
か、一つのループのみ頂点を置きかえるかにより、二つ
の方法がある。どちらの方法を選んでもよい。まず。
Next, Process 2 will be explained according to the flows shown in FIGS. 5, 7, 8, 11, and 12. FIG. 5 shows the case where Process 2 is performed. Loop B521 intersects with loop A320, and the intersection points are intersection point 510 and intersection point 511. Loop A and loop B may be the same loop. In this case as well, the process is performed in the same way as process 1, but there are two methods depending on whether the vertices of both intersecting loops are replaced or the vertices of only one loop are replaced. You can choose either method. first.

二つのループともに頂点を置きかえる方法について述べ
る。
We will explain how to replace the vertices in both loops.

ブロック1101で、二つの交点をループA320、ル
ープB521の座標データにそれぞれ加える。次にブロ
ック1102で、それぞれのループについて不要な頂点
を座標データからとり除く。とり除く頂点は、座標デー
タの方向性により判断する。それぞれのループについて
、ベクトルの右側が、ぬりつぶし領域であるから、ルー
プAのベクトルの左側から右側にはいり込んでいるルー
プBの頂点502から、右側から左側に出ていくまでの
頂点504−jでをとり除く。ループAについても同様
に頂点507から頂点508をとり除く。その結果、第
7図に示すように、ループAの頂点は、頂点506、頂
点510、頂点511、頂点509になり、ループBの
頂点は、頂点5o1、頂点511、頂点51o、頂点5
05になる。
In block 1101, two intersection points are added to the coordinate data of loop A320 and loop B521, respectively. Next, in block 1102, unnecessary vertices are removed from the coordinate data for each loop. The vertices to be removed are determined based on the directionality of the coordinate data. For each loop, the right side of the vector is the fill area, so from the vertex 502 of loop B that enters from the left side of the vector of loop A to the right side, to the vertex 504-j of the vector that goes out from the right side to the left side. remove. Similarly for loop A, vertices 507 to 508 are removed. As a result, as shown in FIG. 7, the vertices of loop A are vertex 506, vertex 510, vertex 511, and vertex 509, and the vertices of loop B are vertex 5o1, vertex 511, vertex 51o, and vertex 5.
It will be 05.

次に、処理2の別の方法について説明する。プoyり1
201で、二つの交点510,511をループBにのみ
座標データに加える。ブロック12o2で、不要な頂点
をループBの座標データからとり除く。とり除く頂点は
、座標データの方向性により判断し、ループAのベクト
ルの左側から右側にはいり込んでいるループBの頂点5
02から、右側から左側に出ていくまでの頂点504ま
でである。次にブロック1203で、新しい頂点をルー
プBに加える。この新しい頂点は、ループBにはいり込
んできたループAの頂点で、頂点507と頂点508で
ある。この頂点も、座標データの方向性により判断する
。この新1−い頂点は、ループBにはいり込んできた順
序とは逆の順序でループBに加え、ループBの新しい頂
点は、第8図に示すように頂点501 、11点511
、頂点5o8、頂点5o7、頂点51o、頂点505に
なる。
Next, another method of process 2 will be explained. Poyri 1
At step 201, two intersection points 510 and 511 are added to the coordinate data only in loop B. In block 12o2, unnecessary vertices are removed from the coordinate data of loop B. The vertices to be removed are determined based on the directionality of the coordinate data, and are the vertices 5 of loop B that are included from the left side to the right side of the vector of loop A.
02 to the vertex 504 from the right side to the left side. Next, at block 1203, a new vertex is added to loop B. These new vertices are the vertices of loop A that entered loop B, and are vertices 507 and 508. This vertex is also determined based on the directionality of the coordinate data. This new vertex is added to loop B in the reverse order of its entry into loop B, and the new vertices of loop B are vertex 501 and 11 points 511 as shown in FIG.
, vertex 5o8, vertex 5o7, vertex 51o, and vertex 505.

以上ではループBの座標のみを変更したが、これと同様
にループAの座標のみを変更してもよい。
In the above, only the coordinates of loop B have been changed, but similarly, only the coordinates of loop A may be changed.

(第13図)。(Figure 13).

以上のような処理を、交差しているすべてのベクトルに
ついて行う。
The above processing is performed for all intersecting vectors.

このように交差している二つのベクトルを含んでいるそ
れぞれのループと、ベクトルの向きに注目することによ
り、新(−い座標データを求めベクトル同士が交差する
ことがない座標データを作る。
By paying attention to each loop containing two intersecting vectors and the direction of the vectors, new (-) coordinate data is found and coordinate data in which the vectors do not intersect is created.

上記の二つの場合の交差が、組み合わされている場合、
例えば、一つのベクトルに他の3本のベクトルが交差し
ているような場合にも、上記のようにそのベクトルを含
んでいるループに注目することにより、正しく座標デー
タを変更することができる。
If the intersections of the above two cases are combined,
For example, even if one vector intersects with three other vectors, coordinate data can be changed correctly by paying attention to the loop that includes the vector as described above.

以上の実施例では、文字の輪郭はすべてポリゴンで構成
されるものとしたが、輪郭の一部をスプライン等の曲線
で補間する場合にも、第14図〜第17図に示すような
処理を行えばよい。第4図は、曲線同士の重なりである
が、曲線と直線の重なりであってもよい。第15図は1
重なる両ループとも座標データを変更した場合、第16
図は、ループ1403のみ座標データを変更した場合、
第17図は、ループ1404のみ座標を変更した場合で
ある。
In the above embodiment, the outline of the character is entirely composed of polygons, but even when a part of the outline is interpolated with a curved line such as a spline, the processing shown in Figs. 14 to 17 can be performed. Just go. Although FIG. 4 shows an overlap between curved lines, it may also be an overlap between a curved line and a straight line. Figure 15 is 1
If the coordinate data is changed in both overlapping loops, the 16th
The figure shows that when only the coordinate data in loop 1403 is changed,
FIG. 17 shows a case where only the coordinates of loop 1404 are changed.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、ベクトル文字の線幅を変更する際、ベ
クトル同士が交差することのない座標データを作ること
ができるので、文字のぬりつぶしの際、白ぬきになって
しまう部分がない文字を出力することができ、一つの文
字の輪郭情報から品位の高い、文字の線幅の異なる文字
を出力することができる。
According to the present invention, when changing the line width of vector characters, it is possible to create coordinate data in which vectors do not intersect with each other, so when filling in characters, characters without white areas can be created. It is possible to output high quality characters with different line widths from the outline information of one character.

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

第1図は本発明の一実施例の座標データ変更のフローチ
ャート、第2図は本発明を実施するために用いる文字等
の情報処理装置を示すブロック図第3図は本発明の文字
の輪郭情報を貯蔵するためのテーブルを示す模式図、第
4図〜第8図は本発明の詳細な説明図、第9図〜第12
図は本発明の処理フローを表わすフローチャート、第1
3図〜第17図は本発明の詳細な説明図である、 201・・・・・・記憶装置 202・・・・・・中央処理装置 203・・・・・・デイスプレィ 204・・・・・・プリンタ 205・・・・・・キーボード 501・・・・・・インデックステーブル502・・・
・・・検索コード 503・・・・・・文字輪郭情報テーブルへのポインタ
304・・・・・・文字輪郭情報テーブル代理人 弁理
士 小 川 勝 男 〒1図 イ2図 力5図 菅4閃         〒1胃マ 閉○圓 飛10図 竿11図        ffi+2図勤の
FIG. 1 is a flowchart for changing coordinate data according to an embodiment of the present invention. FIG. 2 is a block diagram showing an information processing device for characters, etc. used to implement the present invention. FIG. 3 is a block diagram showing character contour information according to the present invention. 4 to 8 are detailed explanatory views of the present invention, and Figures 9 to 12 are schematic diagrams showing a table for storing
The figure is a flowchart showing the processing flow of the present invention.
3 to 17 are detailed explanatory diagrams of the present invention. 201...Storage device 202...Central processing unit 203...Display 204... -Printer 205...Keyboard 501...Index table 502...
...Search code 503...Pointer to character contour information table 304...Character contour information table agent Patent attorney Masaru Ogawa 〒1 Stomach closed ○ Enbi 10 figure rod 11 figure ffi + 2 figure shift

Claims (1)

【特許請求の範囲】 1、文字の輪郭情報としてポリゴンの頂点の座標データ
を用いる情報処理装置におけるベクトル文字の処理方式
であって、 予め上記頂点の座標データを方向性をもつて定義してお
き、文字の線幅を変更する際に、前記方向性に基づいて
上記頂点の座標データを変更し、 該変更後の座標データについて、連続した二つの頂点が
構成するベクトルが他のベクトルと交差するか否かを判
断し、 ベクトルが交差する場合、上記方向性に基づいて座標デ
ータをさらに変更することにより、ベクトルの交差が生
じない座標データを作成することを特徴とするベクトル
文字の処理方式。 2、前記ベクトルの交差が生じない座標データを作成す
るための座標データの変更は、前記ベクトル同士の交点
を求め、該交点を新たな頂点として当該座標データを追
加するとともに、前記方向性により不要となる頂点を判
断し、該不要と判断された頂点の座標データを除去する
ことにより行う請求項1記載のベクトル処理方式。
[Claims] 1. A vector character processing method in an information processing device that uses coordinate data of the vertices of a polygon as character outline information, wherein the coordinate data of the vertices is defined in advance with directionality. , when changing the line width of a character, change the coordinate data of the vertices based on the directionality, and with respect to the changed coordinate data, a vector constituted by two consecutive vertices intersects another vector. A method for processing vector characters characterized by determining whether or not the vectors intersect, and further changing the coordinate data based on the directionality when the vectors intersect, thereby creating coordinate data in which the vectors do not intersect. 2. Changing the coordinate data to create coordinate data in which the vectors do not intersect is not necessary due to the directionality, by finding the intersection between the vectors and adding the coordinate data with the intersection as a new vertex. 2. The vector processing method according to claim 1, wherein the vector processing method is performed by determining a vertex that is determined to be unnecessary and removing coordinate data of the vertex that is determined to be unnecessary.
JP15025688A 1988-06-20 1988-06-20 Processing system for vector character Pending JPH01318177A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15025688A JPH01318177A (en) 1988-06-20 1988-06-20 Processing system for vector character

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15025688A JPH01318177A (en) 1988-06-20 1988-06-20 Processing system for vector character

Publications (1)

Publication Number Publication Date
JPH01318177A true JPH01318177A (en) 1989-12-22

Family

ID=15492967

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15025688A Pending JPH01318177A (en) 1988-06-20 1988-06-20 Processing system for vector character

Country Status (1)

Country Link
JP (1) JPH01318177A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002077965A1 (en) * 2001-03-23 2002-10-03 Rise Kabushiki Kaisha Character processing method based on outline font information, and computer software program product for allowing computer system to execute the method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002077965A1 (en) * 2001-03-23 2002-10-03 Rise Kabushiki Kaisha Character processing method based on outline font information, and computer software program product for allowing computer system to execute the method
CN100454386C (en) * 2001-03-23 2009-01-21 瑞资有限公司 Character processing method based on outline font information and computer software program product for allowing computer system to execute the method

Similar Documents

Publication Publication Date Title
EP0537030A2 (en) Character or graphic processing method
US5208904A (en) Data processing apparatus and method for preparing data representative of supplemental figure attached to basic figure reproduced on output medium
JP3344188B2 (en) Character generator
US5388166A (en) Image drawing apparatus
EP0461811B1 (en) Pattern processing method
JPH01318177A (en) Processing system for vector character
JPH0263854A (en) Output device
JP2806679B2 (en) Character generator
JPH0280267A (en) Processing of system of vector characters
JPH08101675A (en) Font developing device
JP2782904B2 (en) Polygon fill method
JPS63303477A (en) Vector character and graphic processing system
JP2538631B2 (en) How to handle vector characters
JP2613653B2 (en) Image processing device
JP3452049B2 (en) Drawing apparatus and drawing method
JP2666552B2 (en) Line width control method for outline characters
JPH0271374A (en) Computer method and device for forming display picture
JPH05188911A (en) Outline font generation device
JPH0668247A (en) Method and device for varying power of digital image data
JPH08171379A (en) Forming method for bit map image
JPH03127097A (en) Drawing method for vector font
JPH04194899A (en) Character pattern forming device
JPH08286655A (en) Character pattern generator
JPH04184393A (en) Plotting system and data expressing system for vector font
JPH05313630A (en) Character symbol generating device