[go: up one dir, main page]

JP2538631B2 - How to handle vector characters - Google Patents

How to handle vector characters

Info

Publication number
JP2538631B2
JP2538631B2 JP63018741A JP1874188A JP2538631B2 JP 2538631 B2 JP2538631 B2 JP 2538631B2 JP 63018741 A JP63018741 A JP 63018741A JP 1874188 A JP1874188 A JP 1874188A JP 2538631 B2 JP2538631 B2 JP 2538631B2
Authority
JP
Japan
Prior art keywords
character
vertices
vertex
line width
coordinate data
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 - Lifetime
Application number
JP63018741A
Other languages
Japanese (ja)
Other versions
JPH01193891A (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.)
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 JP63018741A priority Critical patent/JP2538631B2/en
Publication of JPH01193891A publication Critical patent/JPH01193891A/en
Application granted granted Critical
Publication of JP2538631B2 publication Critical patent/JP2538631B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Image Generation (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、マルチサイズ高品質文字を含む文書を作成
する情報処理装置に係り、特に大きなまたは小さな文字
を含む文書を作成する場合に好適なベクトル文字の処理
方式に関するものである。
Description: TECHNICAL FIELD The present invention relates to an information processing apparatus that creates a document including multi-size high quality characters, and is particularly suitable for creating a document including large or small characters. The present invention relates to a vector character processing method.

[従来の技術] 従来、高品質文字等を発生するには、特開昭50−1423
0号に記載のように、文字等の輪郭情報をストローク
(ポリゴン)データで記憶装置に貯蔵し、検索コードを
与えて当該文字データを取出し、目的の文字サイズに線
形に変換して、ディスプレイ等の出力装置にポリゴンぬ
りつぶしアルゴリズムを用いてドット展開して出力して
いた。
[Prior Art] Conventionally, in order to generate high quality characters, etc., Japanese Patent Laid-Open No. 50-1423
As described in No. 0, outline information such as characters is stored in a storage device as stroke (polygon) data, a search code is given to extract the character data, and the character size is linearly converted to a display etc. The output device was developed using the polygon fill algorithm to output dots.

[発明が解決しようとする課題] 上記従来技術では、文字の太さ、すなわち線幅は文字
サイズに比例するだけであった。しかし、一般に、文字
サイズが小さい場合には文字がつぶれないように線幅を
より細くし、大きい場合には迫力がでるように線幅をよ
り太くする必要がある。
[Problems to be Solved by the Invention] In the above conventional technique, the thickness of a character, that is, the line width is only proportional to the character size. However, in general, when the character size is small, it is necessary to make the line width thinner so that the character is not crushed, and when the character size is large, it is necessary to make the line width thicker so that the character is powerful.

ところで、一般に明朝体の場合には、水平方向の線の
幅が細く、縦方向の線の幅が太くなっている。したがっ
て、文字サイズを漸次小さくしていくと、縦方向の線が
早く接近して、いわゆる“つぶれ”という現象が起き
る。逆に、文字サイズを漸次大きくしていくと、文字が
弱々しく見えてしまう、という現象が起きる。以上のよ
うに、一つの文字の輪郭情報から、異なるサイズの文字
を発生させる場合に、大きさによって文字の品位が損な
われるという不都合があった。
By the way, generally, in the case of the Mincho type, the width of the horizontal line is thin and the width of the vertical line is thick. Therefore, when the character size is gradually reduced, the vertical lines come closer to each other, and a so-called "blurred" phenomenon occurs. On the contrary, when the character size is gradually increased, the character looks weak. As described above, when characters of different sizes are generated from the contour information of one character, there is a disadvantage that the quality of the character is impaired due to the size.

本発明の目的は、一つの文字の輪郭情報から、品位の
高い、サイズの異なる種々の文字を出力するベクトル文
字の処理方式を提供することにある。
It is an object of the present invention to provide a vector character processing method that outputs various characters of high quality and different sizes from the outline information of one character.

[課題を解決するための手段] 上記目的を達成するために、本発明は、第1図に示す
ように、 文字の輪郭情報としてポリゴン(多角形)の頂点の座
標データを用いる情報処理装置におけるベクトル文字の
処理方式であって、 文字の線幅を変更するために頂点の座標データを変更
するに際し、 予め上記頂点の座標データを方向性をもって定義して
おき、 上記頂点で定義される各辺が1軸方向に指定された変
更量だけ並行移動するよう上記座標データを変更するこ
ととし、その場合に上記1軸上の移動の向きは上記方向
性に基づいて決定するようにしたものである。
[Means for Solving the Problem] In order to achieve the above object, the present invention is directed to an information processing apparatus that uses coordinate data of the vertices of a polygon (polygon) as contour information of a character, as shown in FIG. This is a vector character processing method, and when changing the coordinate data of the vertices to change the line width of the character, the coordinate data of the vertices is defined in advance with directionality, and each side defined by the vertices is defined. Changes the coordinate data so as to move in parallel in the 1-axis direction by a specified change amount, and in that case, the direction of movement on the 1-axis is determined based on the directionality. .

線幅を拡大する場合、変更前の上記頂点の座標が接近
している頂点については、変更後の座標データにおいて
も接近した頂点として保存するようにすることが望まし
い。
When the line width is enlarged, it is desirable to save the vertices whose coordinates before the change are close to each other in the coordinate data after the change as close vertices.

上記頂点の各々の変更後の座標データは、当該頂点お
よびその前後の頂点の変更前の座標データを用いて求め
ることができる。
The coordinate data after the change of each vertex can be obtained using the coordinate data before the change of the vertex and the vertices before and after the vertex.

上記文字の線幅を上記1軸方向に変更した後、例え
ば、x,y座標データを交換して、再度、文字の線幅を変
更し、x,y座標データを元に戻すことにより、上記1軸
方向と直交する方向にも上記文字の線幅を変更すること
も可能である。
After changing the line width of the character in the 1-axis direction, for example, exchanging x, y coordinate data, changing the line width of the character again, and returning the x, y coordinate data to the original, It is also possible to change the line width of the character in the direction orthogonal to the uniaxial direction.

なお、本発明の「文字」なる語は、狭義の文字に限ら
ず図形等も含むものとする。
The word "character" in the present invention is not limited to a character in a narrow sense, but includes a figure and the like.

[作用] 本発明では、ベクトル文字の輪郭線を近似するするも
のとしてポリゴンの頂点の座標データを、方向性をもっ
て定義する。すなわち、ポリゴン内部を常に一方向(例
えば右側)にみるような順序で定義する。これにより、
文字の線幅を増加させる場合、または減少させる場合、
いずれの方向にポリゴンの各辺を移動させればよいかが
自動的に判断される。
[Operation] In the present invention, the coordinate data of the vertices of the polygon are defined with directionality to approximate the contour line of the vector character. That is, the inside of the polygon is defined in such an order as to always look in one direction (for example, the right side). This allows
To increase or decrease the line width of characters,
It is automatically determined in which direction each side of the polygon should be moved.

また、本発明では文字の線幅の増減に際し、ポリゴン
の各辺を1軸方向にのみ、指定された変更量だけ平行移
動させる。したがって、ベクトルの角度により実際の線
幅の変化量は異なることになる。例えば、上記1軸方向
をx軸方向とすると、実際の線幅の変化量はy軸に平行
なベクトルについて最も大きく、x軸に平行なベクトル
については0となる。
Further, according to the present invention, when the line width of a character is increased or decreased, each side of the polygon is moved in parallel only in the uniaxial direction by the designated change amount. Therefore, the amount of change in the actual line width varies depending on the angle of the vector. For example, when the 1-axis direction is the x-axis direction, the actual amount of change in the line width is the largest for the vector parallel to the y-axis and 0 for the vector parallel to the x-axis.

このように本発明によれば、1軸方向にのみ文字の線
幅を変更できるので、特に明朝体の文字のベクトルデー
タを元にして種々の文字サイズのデータを求めるのに好
適である。また各軸方向に別個に線幅を変更することも
可能になる。
As described above, according to the present invention, since the line width of a character can be changed only in one axis direction, it is particularly suitable for obtaining data of various character sizes based on vector data of Mincho type characters. It is also possible to change the line width separately in each axial direction.

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

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

第12図は、文字「イ」を例としてその輪郭情報を、ポ
リゴン(多角形)1201で、定義したものである。以下の
実施例では、説明を簡単にするため、輪郭はすべてポリ
ゴンで構成されるものとする。輪郭の一部をスプライン
等の曲線で補間する場合も同様に行なうことができる。
In FIG. 12, the contour information is defined by a polygon (polygon) 1201 using the character “a” as an example. In the following embodiments, for simplicity of explanation, it is assumed that the contours are all polygons. The same can be done when a part of the contour is interpolated by a curve such as a spline.

第12図の文字「イ」は、順序づけされた頂点1202〜12
12で定義された一つの輪郭1201から構成されている。こ
こでの順序づけでは、二つの頂点間を結ぶベクトルの右
側が文字のぬりつぶし領域となるようになっている。ベ
クトルの方向は、この逆に決めてもよいが、全文字で統
一しておくことが必要である。
The letter “a” in FIG. 12 is the ordered vertices 1202-12.
It is composed of one contour 1201 defined in 12. In the ordering here, the right side of the vector connecting the two vertices is the area where the characters are filled. The direction of the vector may be determined in the opposite way, but it is necessary to make it uniform for all characters.

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

文字輪郭情報テーブル304は、当該文字データの輪郭
を構成するポリゴン数(すなわちループ数)305、輪郭
(ループ)1を構成する頂点数306、当該ループを構成
する頂点の座標データ307〜309、さらに次の文字データ
のループ数310、ループ1の頂点数311等を含む。
The character outline information table 304 includes the number of polygons (that is, the number of loops) 305 that form the outline of the character data, the number of vertices 306 that form the outline (loop) 1, the coordinate data 307 to 309 of the vertices that form the loop, and The number of loops of the next character data 310, the number of vertices of loop 1 311 and the like are included.

次に文字の線幅を変更する方法を第1図のフローに従
って説明する。
Next, a method of changing the line width of a character will be described according to the flow of FIG.

キーボード205またはプログラムから、文字の輪郭情
報と取り出す(ブロック102)。
Character contour information is retrieved from the keyboard 205 or program (block 102).

ブロック103では、幅を1軸方向(例えばx軸方向)
にだけ変更するよう文字の輪郭を構成する頂点の座標値
を変更する。
In block 103, the width is set in one axis direction (for example, x axis direction).
Change the coordinate values of the vertices that make up the outline of the character so that it changes only to.

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

この手順とは逆に、ブロック102で取り出した輪郭情
報について、まず文字サイズを線形に変更した後、線幅
の変更を行なうようにしてもよい。
Contrary to this procedure, regarding the contour information extracted in block 102, the character size may first be changed linearly, and then the line width may be changed.

次に、ブロック103の、線幅を1軸方向に広げるよう
に座標データを変更するアルゴリズムを第4図のフロー
を用い説明する。
Next, the algorithm of block 103 for changing the coordinate data so as to widen the line width in the direction of one axis will be described using the flow of FIG.

頂点(xi,yi)の新座標(xi′,yi′)を決めるものと
すると、頂点(xi,yi)とその前後の頂点(xi-1,yi-1
および(xi+1,yi+1)とをとりだす(ブロック402)。こ
の2点が(xi,yi)に接近していなければ、(xi-1,
yi-1),(xi,yi),(xi+1,yi+1)の3点を用い、後で
説明するように新座標を計算し、(xi′,yi′)を求め
る(ブロック404)。
Vertex (x i, y i) new coordinates (x i ', y i' ) assuming that determines the vertex (x i, y i) and before and after the vertex (x i-1, y i -1)
And (x i + 1 , y i + 1 ) are fetched (block 402). If these two points are not close to (x i , y i ), (x i-1 ,
y i−1 ), (x i , y i ), and (x i + 1 , y i + 1 ) are used to calculate new coordinates as described later, and (x i ′, y i ′) Is obtained (block 404).

ところが、線幅を広げる場合、(xi-1,yi-1)(また
は(xi+1,yi+1))が(xi,yi)に接近しているとき(す
なわち文字の尖った部分等の場合)、以上のままで処理
すると、接近している頂点が離れてしまうために、尖っ
た部分が尖って見えなくなるなど、文字の質が変わって
しまう不都合が生じる。そこで接近している頂点につい
ては、下記のような処置を別に行なう。
However, when increasing the line width, when (x i-1 , y i-1 ) (or (x i + 1 , y i + 1 )) is close to (x i , y i ) (that is, characters If the processing is performed as it is, the vertices that are close to each other will be separated, so that there is a problem that the quality of the characters is changed such that the pointed part cannot be seen sharply. For vertices approaching there, the following treatment is performed separately.

(xi-1,yi-1)(または(xi+1,yi+1))が(xi,yi
に接近している場合は、接近していない点(xi-2,
yi-2)(または(xi+2,yi+2))を、(xi-1,yi-1)(ま
たは(xi+1,yi+1)とする(ブロック405)。例えば、第
10図のような場合、(xi,yi)1002と次の頂点1003が接
近しているので、頂点1003の次の頂点1004を、(xi+1,y
i+1)とする。頂点1004も接近している場合には、その
次の頂点を(xi+1,yi+1)とする。ブロック406では、今
求めた3点を用い、ブロック404と同様に新座標を計算
し、(xi′,yi′)を求める。次に、この(xi′,yi′)
が(xi,yi)から離れすぎた場合には、(xi′,yi′)を
修正する(ブロック407)。第11図の点1109は、(xi-1,
yi-1)1101,(xi,yi)1103,(xi+1,yi+1)1104から求め
た新座標であるが、点1109と(xi,yi)1103の距離が、
予め決めておくWよりも大きいので、(xi,yi)1103か
らの距離がWの点1010を(xi′,yi′)とする。
(X i-1 ,, y i-1 ) (or (x i + 1 , y i + 1 )) becomes (x i , y i )
Is close to the point (x i-2 ,
Let y i-2 ) (or (x i + 2 , y i + 2 )) be (x i-1 ,, y i-1 ) (or (x i + 1 , y i + 1 ) (block 405 ). For example,
In the case of FIG. 10, since (x i , y i ) 1002 and the next vertex 1003 are close to each other, the vertex 1004 next to the vertex 1003 is (x i + 1 , y
i + 1 ). If the vertex 1004 is also close, the next vertex is set to (x i + 1 , y i + 1 ). In block 406, the new coordinates are calculated in the same manner as in block 404 using the three points thus obtained, and (x i ′, y i ′) is calculated. Then, this (x i ′, y i ′)
If is too far from (x i , y i ), then (x i ′, y i ′) is modified (block 407). The point 1109 in FIG. 11 is (x i−1 ,
y i-1 ) 1101, (x i , y i ) 1103, (x i + 1 , y i + 1 ) 1104 is the new coordinates, but the distance between point 1109 and (x i , y i ) 1103 But,
Since it is larger than W determined in advance, a point 1010 having a distance W from (x i , y i ) 1103 is defined as (x i ′, y i ′).

以上のように、すべての頂点について、その頂点の前
後の接近していない頂点の座標から、変更点の座標を求
める。
As described above, for all vertices, the coordinates of the change point are obtained from the coordinates of the vertices before and after the vertex that are not close to each other.

次に、新座標の計算を、第5図を用いて説明する。こ
の例ではx軸方向のみに広げる場合を想定し、かつ、広
げる幅はhとし、ベクトルの向きの右側を文字のぬりつ
ぶし領域とする。なお、値hは、文字のサイズに応じて
自動的に可変とすることができる。近接した文字サイズ
をグループ化し、各グループにhの代表値を定めるよう
にしてよい。また、値hをユーザが自由に指定できるよ
うにしてもよい。
Next, calculation of new coordinates will be described with reference to FIG. In this example, it is assumed that the character is widened only in the x-axis direction, the width to be widened is h, and the right side of the vector direction is the solid area of the character. The value h can be automatically changed according to the size of the character. Character sizes that are close to each other may be grouped, and a representative value of h may be set for each group. Alternatively, the value h may be freely specified by the user.

(xi-1,yi-1)(xi,yi)(xi+1,yi+1)の3点を使っ
て、(xi,yi)の新座標(xi′,yi′)の計算を行なう
が、ブロック502〜504で3点のy座標の変化の態様を判
断することにより、ブロック505からブロック508の四つ
の処理に分かれる。ブロック505は3点のy座標が同じ
場合の処理で、この場合は(xi,yi)と同じ座標を、(x
i′,yi′)とする(第7図)。ブロック506は3点のう
ちの連続する2点のy座標が同じ場合の処理で、このと
きは、y座標が変化している2点を結ぶベクトルの左側
に向かってx座標をhずらす(第6図)。ブロック507
は、上記の二つの場合を除く、単調増加または単調減少
の場合の処理で、このときは、x座標を、ベクトルの左
側にhだけずらす(第8図)。ブロック508は、それ以
外の場合の処理で、第9図に示すように、(xi-1,
yi-1)と(xi,yi)を通る直線905を、右側にx軸に沿っ
てhだけ平行移動した直線906と、(xi,yi)と(xi+1,y
i+1)を通る直線907を左側に、x軸に沿ってhだけ平行
移動した直線908の交点904を(xi′,yi′)とする。こ
のような処理を行なうことにより、ベクトルの傾き(向
き)が保存される。
Using the three points (x i-1 ,, y i-1 ) (x i , y i ) (x i + 1 , y i + 1 ), the new coordinate (x i ′) of (x i , y i ) , y i ′) is calculated, but the blocks 502-504 are divided into four processes from block 505 to block 508 by judging the manner of change of the y-coordinate of three points. Block 505 is a process when the y coordinates of three points are the same. In this case, the same coordinates as (x i , y i ) are converted into (x
i ′, y i ′) (FIG. 7). Block 506 is processing when two consecutive y-coordinates have the same y-coordinate. At this time, the x-coordinate is shifted h toward the left side of the vector connecting the two points whose y-coordinates have changed (first (Fig. 6). Block 507
Is a process in the case of monotonous increase or monotonic decrease except the above two cases, in which case the x coordinate is shifted to the left side of the vector by h (FIG. 8). A block 508 is a process for other cases, and as shown in FIG. 9, (x i-1 ,
A straight line 905 obtained by translating a straight line 905 passing through y i-1 ) and (x i , y i ) by h along the x-axis to the right, and (x i , y i ) and (x i + 1 , y
The i + 1) linear 907 through the left side, to the intersection 904 of the straight line 908 parallel translated by h along the x-axis and (x i ', y i' ). By performing such processing, the inclination (direction) of the vector is saved.

第12図の文字「イ」に対して、本処理を行なった結果
を第13図の破線に示す。
The result of performing this process for the character "a" in FIG. 12 is shown by the broken line in FIG.

以上、線幅を拡大する具体例のみを示したが、線幅を
縮小する場合には輪郭線をずらす方向を逆向きにして同
様の処理を行なうことができる。
In the above, only a specific example of enlarging the line width is shown, but in the case of reducing the line width, the same process can be performed by reversing the direction of shifting the contour line.

また、上記実施例においては、一方向(x軸方向)の
みの線幅変更の方式について説明したが、より印刷文字
に忠実に対応するためには、該方向と直交する方向に対
しても若干の線幅変更を行なう必要がある。このような
場合、上記実施例で得られた頂点のx座標とy座標を入
れ替えた後、上記と同様の処理を施し、再び、x座標と
y座標を入れ替えることにより、容易に対応できる。
Further, in the above embodiment, the method of changing the line width in only one direction (x-axis direction) has been described, but in order to more faithfully correspond to the printed characters, the line width may be slightly changed in the direction orthogonal to the direction. It is necessary to change the line width of. In such a case, it can be easily dealt with by exchanging the x-coordinate and the y-coordinate of the vertices obtained in the above embodiment, performing the same processing as above, and exchanging the x-coordinate and the y-coordinate again.

[発明の効果] 本発明によれば、一つの文字の輪郭情報から1軸方向
の線幅を任意に変更した文字を作り出せるため、小さな
文字に対して、文字がつぶれない細い書体と同じ文字を
得ることができ、また、大きなサイズの文字に対して、
迫力のある太い書体と同じ文字を得ることができる。
EFFECTS OF THE INVENTION According to the present invention, it is possible to create a character whose line width in the uniaxial direction is arbitrarily changed from the contour information of one character. Can be obtained, and for large size characters,
You can get the same characters as a bold bold typeface.

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

第1図は本発明の一実施例の線幅の変更のフローチャー
ト、第2図は本発明を実施するために用いる文字等の情
報処理装置を示すブロック図、第3図は本発明の文字の
輪郭情報を貯蔵するためのテーブルを示す模式図、第4
図,第5図は本発明の処理フローを表わすフローチャー
ト、第6〜11図は新座標の求め方を示す説明図、第12図
は文字「イ」の輪郭情報をポリゴンで示した説明図、第
13図は文字の線幅を変更した後の輪郭情報をポリゴンで
示した説明図である。 201……記憶装置 202……中央処理装置 203……ディスプレイ 204……プリンタ 205……キーボード 301……インデックステーブル 302……検索コード 303……文字輪郭情報テーブルへのポインタ 304……文字輪郭情報テーブル 1201……文字の輪郭 1301……線幅を変更した後の文字の輪郭
FIG. 1 is a flow chart for changing a line width according to an embodiment of the present invention, FIG. 2 is a block diagram showing an information processing device for characters and the like used for implementing the present invention, and FIG. Schematic diagram showing a table for storing contour information, fourth
5 and 5 are flowcharts showing the processing flow of the present invention, FIGS. 6 to 11 are explanatory diagrams showing how to obtain new coordinates, and FIG. 12 is an explanatory diagram showing contour information of the character "a" by polygons. First
FIG. 13 is an explanatory view showing the contour information after changing the line width of the characters by polygons. 201 …… Storage device 202 …… Central processing unit 203 …… Display 204 …… Printer 205 …… Keyboard 301 …… Index table 302 …… Search code 303 …… Pointer to character outline information table 304 …… Character outline information table 1201 …… Character contour 1301 …… Character contour after changing line width

───────────────────────────────────────────────────── フロントページの続き (72)発明者 目瀬 道弘 神奈川県横浜市戸塚区吉田町292番地 株式会社日立製作所マイクロエレクトロ ニクス機器開発研究所内 (72)発明者 鈴木 和子 神奈川県横浜市戸塚区吉田町292番地 株式会社日立製作所マイクロエレクトロ ニクス機器開発研究所内 (72)発明者 山内 司 神奈川県横浜市戸塚区吉田町292番地 株式会社日立製作所マイクロエレクトロ ニクス機器開発研究所内 (72)発明者 松田 泰昌 神奈川県横浜市戸塚区吉田町292番地 株式会社日立製作所マイクロエレクトロ ニクス機器開発研究所内 (56)参考文献 特開 昭61−246877(JP,A) 特開 昭62−82484(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Michihiro Maze 292 Yoshida-cho, Totsuka-ku, Yokohama-shi, Kanagawa Inside Microelectronics Development Laboratory, Hitachi, Ltd. (72) Inventor Kazuko Suzuki Yoshida, Totsuka-ku, Yokohama-shi, Kanagawa 292, Machi, Hitachi, Ltd., Microelectronics Device Development Laboratory (72) Inventor, Tsukasa Yamauchi, 292, Yoshida-cho, Totsuka-ku, Yokohama, Kanagawa Prefecture, Japan, Hitachi, Ltd., Microelectronics Device Development Laboratory (72) Inventor, Yasumasa Matsuda, Kanagawa Address: 292 Yoshida-cho, Totsuka-ku, Yokohama-shi, Japan Inside Hitachi, Ltd. Microelectronics Device Development Laboratory (56) References JP-A-61-246877 (JP, A) JP-A-62-82484 (JP, A)

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】文字の輪郭情報としてポリゴン(多角形)
の頂点の座標データを用いる情報処理装置における処理
方法であって、 文字の線幅を変更するために頂点の座標データを変更す
るに際し、予め上記頂点の座標データを方向性をもって
定義しておき、上記頂点で定義される複数の辺のうちの
一部の辺が1軸方向に指定された変更量だけ並行移動す
るよう上記座標データを変更することとし、その場合に
上記1軸上の移動の向きは上記方向性に基づいて決定す
るベクトル文字の処理方法において、 前記文字の標準的な線幅よりも小さい間隔で隣合う2つ
の頂点の座標を変更する際に、 変更前の2つの頂点の間に定義される辺と、変更後の2
つの頂点の間に定義される辺とが略平行になり、かつ、
変更後の2つの頂点の間隔が、線幅の変更を受けた前記
文字の標準的な線幅よりも小さい間隔になるように、変
更後の2つの頂点の座標を設定することを特徴とするベ
クトル文字の処理方法。
1. A polygon as contour information of a character.
In the processing method in the information processing device using the coordinate data of the vertices, when changing the coordinate data of the vertices to change the line width of the character, the coordinate data of the vertices is defined in advance with directionality, The coordinate data is changed so that a part of the plurality of sides defined by the apex moves in parallel in the specified amount in the 1-axis direction. In the vector character processing method in which the orientation is determined based on the above-mentioned directionality, when changing the coordinates of two adjacent vertices with an interval smaller than the standard line width of the character, The edge defined between and the modified 2
The sides defined between the two vertices are almost parallel, and
The coordinates of the two vertices after the change are set so that the distance between the two vertices after the change becomes smaller than the standard line width of the character whose line width has been changed. How to handle vector characters.
【請求項2】文字の輪郭情報としてポリゴン(多角形)
の頂点の座標データを用いる情報処理装置における処理
方法であって、 文字の線幅を変更するために頂点の座標データを変更す
るに際し、予め上記頂点の座標データを方向性をもって
定義しておき、上記頂点で定義される複数の辺のうちの
一部の辺が1軸方向に指定された変更量だけ並行移動す
るよう上記座標データを変更することとし、その場合に
上記1軸上の移動の向きは上記方向性に基づいて決定す
るベクトル文字の処理方法において、 前記文字の標準的な線幅よりも小さい間隔で隣合う2つ
の頂点A、Bの座標を変更する際に、 前記頂点Bと共に辺BDを定義する頂点Dと、前記頂点A
とを通る直線を、前記方向性に基づく前記一軸上の向き
で前記変更量だけ移動させ、前記頂点Aを端点とする辺
ACを含む直線を、前記方向性に基づく前記一軸上の向き
で前記変更量だけ移動させた場合に得られる、移動後の
2つの直線の交点と、前記頂点Aとの間に、変更後の頂
点Aの座標を設定し、 前記頂点Aと共に辺ACを定義する頂点Cと、前記頂点B
とを通る直線を、前記方向性に基づく前記一軸上の向き
で前記変更量だけ移動させ、前記頂点Bを端点とする辺
BDを通る直線を、前記方向性に基づく前記一軸上の向き
で前記変更量だけ移動させた場合に得られる、移動後の
2つの直線の交点と、前記頂点Bとの間に、変更後の頂
点Bの座標を設定することを特徴とするベクトル文字の
処理方法。
2. A polygon as the contour information of a character.
In the processing method in the information processing device using the coordinate data of the vertices, when changing the coordinate data of the vertices to change the line width of the character, the coordinate data of the vertices is defined in advance with directionality, The coordinate data is changed so that a part of the plurality of sides defined by the apex moves in parallel in the specified amount in the 1-axis direction. In the method of processing a vector character whose orientation is determined based on the above-mentioned directionality, when changing the coordinates of two adjacent vertices A and B at intervals smaller than the standard line width of the character, together with the vertex B, Vertex D defining side BD, and vertex A
A side having a vertex A as an end point by moving a straight line passing through and in the direction on the one axis based on the directionality by the change amount.
Between the intersection point of the two straight lines after movement, which is obtained when the straight line including AC is moved in the direction on the one axis based on the directionality by the change amount, and the apex A after the change, The coordinates of the vertex A are set, the vertex C defining the side AC together with the vertex A, and the vertex B
A side having the vertex B as an end point is moved by moving the straight line passing through and in the direction on the one axis based on the directionality by the change amount.
Between the intersection point of the two straight lines after the movement obtained by moving the straight line passing through BD by the change amount in the direction on the one axis based on the directionality and the vertex B, A method for processing vector characters, characterized in that the coordinates of vertex B are set.
JP63018741A 1988-01-29 1988-01-29 How to handle vector characters Expired - Lifetime JP2538631B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63018741A JP2538631B2 (en) 1988-01-29 1988-01-29 How to handle vector characters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63018741A JP2538631B2 (en) 1988-01-29 1988-01-29 How to handle vector characters

Publications (2)

Publication Number Publication Date
JPH01193891A JPH01193891A (en) 1989-08-03
JP2538631B2 true JP2538631B2 (en) 1996-09-25

Family

ID=11980084

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63018741A Expired - Lifetime JP2538631B2 (en) 1988-01-29 1988-01-29 How to handle vector characters

Country Status (1)

Country Link
JP (1) JP2538631B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61246877A (en) * 1985-04-25 1986-11-04 Canon Inc Method for converting linear graphic
JPS6282484A (en) * 1985-10-07 1987-04-15 Canon Inc Method for converting linear graphic form

Also Published As

Publication number Publication date
JPH01193891A (en) 1989-08-03

Similar Documents

Publication Publication Date Title
JP3641283B2 (en) Graphic data generator
KR970008546B1 (en) How to handle text or figures
JP2538631B2 (en) How to handle vector characters
JPH0725068A (en) Character generation method and apparatus
JPH09258712A (en) Character pattern forming device
JP3034140B2 (en) Character generation method and device
JPH02270019A (en) Generation system for high quality character pattern
JPS59210482A (en) Character pattern generator
JPH05258073A (en) Graphic painting-out device
JPH0330188B2 (en)
JP2806679B2 (en) Character generator
JPH0723997B2 (en) Character / graphic drawing device
EP0454125B1 (en) Method of producing characters and figures using computer
JP2666552B2 (en) Line width control method for outline characters
JPH0823741B2 (en) How to process vector characters or graphics
WO2002077965A1 (en) Character processing method based on outline font information, and computer software program product for allowing computer system to execute the method
JP2811684B2 (en) Character data processing device
JP2740539B2 (en) Enlarged reproduction image information creation method and apparatus
JP2835056B2 (en) High quality character pattern generation method
JP3347756B2 (en) Character generation method and device
JPH024549A (en) Character processing system
JP2757411B2 (en) Data converter
JPH08279051A (en) Character generating method
JPH04153786A (en) Quadrilateral area filling device
KR20020095262A (en) Character processing method based on outline font information, and computer soft-ware program product for allowing computer system to execute the method