JPH0823741B2 - How to process vector characters or graphics - Google Patents

How to process vector characters or graphics

Info

Publication number
JPH0823741B2
JPH0823741B2 JP62139268A JP13926887A JPH0823741B2 JP H0823741 B2 JPH0823741 B2 JP H0823741B2 JP 62139268 A JP62139268 A JP 62139268A JP 13926887 A JP13926887 A JP 13926887A JP H0823741 B2 JPH0823741 B2 JP H0823741B2
Authority
JP
Japan
Prior art keywords
character
polygon
vector
size
graphic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP62139268A
Other languages
Japanese (ja)
Other versions
JPS63303477A (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 JP62139268A priority Critical patent/JPH0823741B2/en
Publication of JPS63303477A publication Critical patent/JPS63303477A/en
Publication of JPH0823741B2 publication Critical patent/JPH0823741B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

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 processing method of vector characters and figures.

[従来の技術] 従来、高品質文字等を発生するには、特開昭50-14230
号に記載のように、文字等の輪郭情報をストローク(ポ
リゴン)データを記憶装置に貯蔵し、索引コード信号を
与えて当該文字データを取出し、目的の文字サイズに線
形に変換して、ディスプレイ等の出力装置にポリゴンぬ
りつぶしアルゴリズムを用いてドット展開して出力して
いた。
[Prior Art] Conventionally, in order to generate high quality characters, etc., Japanese Patent Laid-Open No. 50-14230
As described in No. 4, the stroke information (polygon) of contour information such as characters is stored in a storage device, the index code signal is given to take out the character data, and the character data is linearly converted to a target character size and displayed. 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 linearly proportional to the character size. However, when the character size is small, it is necessary to make the character thickness thinner so that the character does not get crushed, and when the character size is large, it is necessary to make the character thickness thicker so that it is powerful. Technology could not meet this requirement.

本発明の目的は、一つの書体から、種々の線幅の文字
を出力するベクトル文字・図形の処理方式を提供するこ
とにある。
An object of the present invention is to provide a vector character / graphics processing method for outputting characters of various line widths from one typeface.

[問題点を解決するための手段] 上記目的を達成するために、本発明は、第1図に示す
ように、 文字・図形等の輪郭情報をポリゴン(多角形)の頂点
の座標データとして格納する記憶手段と、上記文字・図
形等のデータをドット形式で出力する出力手段とを具備
した情報処理装置のベクトル文字・図形の処理方式にお
いて、 上記ポリゴンの頂点の座標データを、方向性をもって
定義し、 該方向性をもって定義された文字・図形の座標データ
を、入力索引コードに応じて上記記憶手段から取出し、 上記方向性に基いて上記ポリゴンの各辺を移動させる
方向を判断し、上記文字・図形の線幅の指定された変更
量に応じて上記ポリゴンの新たな頂点の座標データを求
める ことを特徴とするものである。
[Means for Solving Problems] In order to achieve the above object, according to the present invention, as shown in FIG. 1, outline information such as characters and figures is stored as coordinate data of vertices of a polygon. In the vector character / graphics processing method of the information processing apparatus having the storage means for storing the data and the output means for outputting the data of the character / graphics in the dot format, the coordinate data of the vertices of the polygon are defined with directionality. Then, the coordinate data of the character / figure defined by the directionality is retrieved from the storage means according to the input index code, and the direction in which each side of the polygon is moved is determined based on the directionality, and the character The feature is that the coordinate data of the new vertex of the polygon is obtained according to the designated change amount of the line width of the figure.

本発明の一実施態様として、上記座標データは、例え
ば、上記ポリゴンの頂点をその定義順序にたどったと
き、上記ポリゴンが構成する文字・図形の内部を常に右
手に(または左手に)みるように定義されるものであ
る。
As one embodiment of the present invention, the coordinate data is such that, for example, when the vertices of the polygon are traced in the definition order, the inside of the character / figure formed by the polygon is always viewed in the right hand (or the left hand). It is defined.

上記ポリゴンの新たな頂点の座標データを求めた後、
該座標データを線形変換することにより、上記文字・図
形を目標のサイズに変換することもできる。
After obtaining the coordinate data of the new vertex of the above polygon,
By linearly converting the coordinate data, the characters / graphics can be converted into a target size.

さらに、上記文字・図形のサイズをグループ分けし、
該各グループ毎に上記線幅の変更量を定めるようにして
もよい。
Furthermore, divide the size of the above characters and figures into groups,
The change amount of the line width may be set for each group.

その際、複数の上記グループのうち最も利用頻度の高
いグループに対しては、上記線幅の変更量を0とすると
よい。
At this time, the change amount of the line width may be set to 0 for the most frequently used group among the plurality of groups.

このようにして線幅の変更された文字・図形の輪郭内
部は任意のパターンで塗りつぶすことができる。ただ
し、この塗りつぶしは、例えば、白抜き文字の場合には
必要なく、そのような場合には輪郭線のみを出力すれば
よい。
In this way, the inside of the outline of the character / graphic whose line width has been changed can be filled with an arbitrary pattern. However, this filling is not necessary, for example, in the case of white characters, and in such a case, only the contour line may be output.

また、本発明は、文字・図形のサイズの変換と併用し
て好適なものであるが、必ずしもサイズの変換を伴う必
要はない。
Further, the present invention is suitable for use in combination with character / graphic size conversion, but the size conversion is not necessarily required.

[作用] 本発明では、輪郭線をどの方向に移動させれば文字・
図形の線幅を太くできるか、あるいは細くできるかは、
上記ポリゴンの頂点座標データの定義順序に方向性をも
たせておくことにより判断できることに着目して、この
方向性に基いて、ベクトル文字・図形の輪郭線を構成す
るポリゴンの頂点の座標データを変更し、所望の変更量
だけ輪郭をずらすことにより線幅を任意に太くし、ある
いは細くすることができるようにした。
[Operation] In the present invention, in which direction the contour line is moved
Whether you can make the line width of the shape thick or thin,
Focusing on the fact that it can be judged by giving directionality to the definition order of the vertex coordinate data of the polygon, based on this directionality, the coordinate data of the vertexes of the polygons forming the outline of the vector character / graphic is changed. The line width can be arbitrarily thickened or thinned by shifting the contour by a desired change amount.

本発明は、文字・図形のサイズを変換、すなわち拡大
/縮小する場合に特に有効であり、文字・図形のサイズ
に応じて最適な文字・図形の線幅を得ることができる。
INDUSTRIAL APPLICABILITY The present invention is particularly effective when converting the size of a character / graphic, that is, enlarging / reducing, and it is possible to obtain the optimum line width of the character / graphic depending on the size of the character / graphic.

線幅の変更値は、文字・図形サイズをグループ化し
て、各グループ毎に別個に定めるようにすれば、すべて
の文字・図形サイズについて変更幅を算出し、または用
意する必要がなくなる。その際、最も利用頻度の高いグ
ループの変更値を0としておけば、線幅変更のための座
標データの変更が不要になる場合が多くなる。
If the change value of the line width is determined by grouping the character and graphic sizes and individually determined for each group, it is not necessary to calculate or prepare the change width for all the character and graphic sizes. At this time, if the change value of the most frequently used group is set to 0, it is often unnecessary to change the coordinate data for changing the line width.

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

第2図は、本発明を実施するために用いる情報処理装
置を示すブロック図である。この情報処理装置は、動作
プログラムやベクトル文字等のデータを格納する記憶装
置101、中心処理装置(以下、CPUと称す)102、文字等
のデータをドット形式で表示するディスプレイ103、文
字等のデータをドット形式で印刷するプリンタ104、お
よびキーボード105を有する。
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 101 for storing data such as operation programs and vector characters, a central processing unit (hereinafter referred to as CPU) 102, a display 103 for displaying data such as characters in a dot format, and data for characters and the like. Has a printer 104 for printing in a dot format and a keyboard 105.

第6A図は、ポリゴン(多角形)で文字「口」の輪郭情
報を模式的に示したものである。以下の説明では、説明
を簡単にするため、輪郭はすべてポリゴンで構成される
ものとする。輪郭の一部をスプライン等の曲線で補間す
る場合も同様に行なうことができる。
FIG. 6A schematically shows the contour information of the character "mouth" in the form of a polygon. In the following description, 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.

第6A図の文字「口」は外側の輪郭1と内側の輪郭2を
有する。輪郭1および2で囲まれた部分は文字のぬりつ
ぶし領域3を示す。外側の輪郭1は順序づけされた頂点
11〜14で構成され、この順序づけは、二つの頂点間を結
ぶベクトルの右側が文字のぬりつぶし領域3となるよう
にする。また、内側の輪郭2は順序づけられた頂点15〜
18で構成され、外側の輪郭1と同様に、この順序づけは
二つの頂点間を結ぶベクトルの右側が文字のぬりつぶし
領域3となるようにする。ベクトルの方向はこの逆に決
めてもよい。
The letter "mouth" in Figure 6A has an outer contour 1 and an inner contour 2. The area surrounded by the contours 1 and 2 shows the solid area 3 of the character. Outer contour 1 is an ordered vertex
It is composed of 11 to 14, and this ordering is such that the right side of the vector connecting the two vertices becomes the character-filled area 3. Also, the inner contour 2 has the ordered vertices 15-
Similar to outer contour 1, this ordering is such that the right side of the vector connecting the two vertices is the filled area 3 of the character. The vector direction may be determined in the opposite direction.

第3図は、第6A図の文字「口」の輪郭情報を記憶装置
101にポリゴンのデータ形式で格納する時のテーブルの
一例を示したものである。索引コードで当該文字データ
を取出すためのインデックス・テーブル201において、
例えば「口」の索引コード202に対応して、文字データ
が格納されている文字輪郭情報テーブル204の当該文字
データがある先頭アドレスを示すポインタ203が格納さ
れる。
FIG. 3 shows a storage device for the contour information of the character “mouth” in FIG. 6A.
101 shows an example of a table for storing in the polygon data format. In the index table 201 for extracting the character data with the index code,
For example, a pointer 203 indicating the start address of the character data in the character contour information table 204 storing the character data is stored corresponding to the index code 202 of “mouth”.

文字輪郭情報テーブル204は、当該文字データの輪郭
を構成するポリゴン数(すなわちループ数)205、外側
の輪郭1を構成する頂点数206、当該ループを構成する
頂点の座標データ207〜210、内側の輪郭2を構成する頂
点数211、当該ループを構成する頂点の座標データ212〜
215、さらに、次の文字データのループ数216、ループ1
の頂点数217等を含む。これらのデータ以外に、文字の
x軸方向の大きさ221とy軸方向の大きさ222のデータが
必要である。これらのデータは文字のボディサイズを表
わすものである。
The character contour information table 204 includes the number of polygons (that is, the number of loops) 205 that configures the contour of the character data, the number of vertices 206 that configures the outer contour 1, the coordinate data 207 to 210 of the vertices that configure the loop, and the inner The number of vertices 211 forming the contour 2 and the coordinate data 212 of the vertices forming the loop
215, the number of loops of the next character data 216, loop 1
Includes 217 vertices of. In addition to these data, data of the size 221 of the character in the x-axis direction and the size 222 of the character in the y-axis direction are required. These data represent the body size of a character.

次に、本発明の中心をなす文字幅を変更する方法を第
4図のフローに従って説明する。
Next, a method of changing the character width, which is the center of the present invention, will be described according to the flow of FIG.

ブロック301で本処理を開始する。キーボード105また
はプログラムから、文字の索引コード202を与えて、記
憶装置101から文字の輪郭情報を取出す(ブロック30
2)。次の指定された目標文字サイズに応じて、文字変
更幅h(hは正だけでなく負または0でもよい)を求め
る(ブロック303)。変更幅hは、目標文字サイズに比
例させてもよく、また目標文字サイズをグループ分けに
して、グループ毎に定めてもよい。
This processing is started in block 301. From the keyboard 105 or a program, a character index code 202 is given to retrieve character outline information from the storage device 101 (block 30).
2). The character change width h (h may be not only positive but also negative or 0) is calculated according to the next designated target character size (block 303). The change width h may be proportional to the target character size, or may be determined for each group by dividing the target character size into groups.

ブロック304では、幅をhだけ変更するよう文字の輪
郭を構成する頂点の座標値を変更する。このアルゴリズ
ムを第5図に用いて説明する。
In block 304, the coordinate values of the vertices forming the outline of the character are changed so that the width is changed by h. This algorithm will be described with reference to FIG.

第5図において、頂点401、402、403の順序で構成さ
れる輪郭が幅hだけ変更されたとき、頂点402の変更点4
21は、頂点401、402から構成されるベクトル411に対し
て、輪郭の外側(ベクトル411の左側)にhだけ離れた
直線431と、頂点402、403から構成されるベクトル412に
対して、輪郭の外側にhだけ離れた直線432との交点で
ある。一般に、直線 ax+by+c=0 (1) からhだけ離れた直線の式は、 である。従って、直線431は方向性を考えて、 直線432は、 となる。頂点421は直線431と直線432の交点であるの
で、座標(xi′,yi′)は、 となる。ただし、 である。他の頂点についても、その頂点の前後の頂点の
座標から同様に、変更点の座標を求めることができる。
In FIG. 5, when the contour composed of the vertices 401, 402, and 403 is changed by the width h, the change point 4 of the apex 402 is changed.
21 is a line 431 that is separated from the vector 411 composed of the vertices 401 and 402 by h outside the contour (left side of the vector 411) and a vector 412 composed of the vertices 402 and 403. Is an intersection with a straight line 432 that is separated by h outside the line. In general, the formula for a straight line that is separated from the straight line ax + by + c = 0 (1) by h is Is. Therefore, considering the directionality of the straight line 431, The straight line 432 is Becomes Since the vertex 421 is the intersection of the straight line 431 and the straight line 432, the coordinates (x i ′, y i ′) are Becomes However, Is. For other vertices, the coordinates of the change point can be similarly obtained from the coordinates of the vertices before and after that vertex.

第4図に戻り、ブロック305で第3図に示す、文字の
x軸およびy軸方向の大きさ221および222のデータにそ
れぞれ2hだけ加える。これは、文字の線幅が増えた分の
2hを加えるものである。
Returning to FIG. 4, in block 305, 2h is added to the data of the sizes 221 and 222 in the x-axis and y-axis directions of the character shown in FIG. 3, respectively. This is because the line width of the character has increased
2h is added.

次に、ブロック306で、目標の文字サイズになるよう
に、それぞれx軸およびy軸方向の大きさ221および222
と、目標文字サイズのx軸方向およびy軸方向との比を
すべての座標データに掛け、線形にサイズを変更(拡大
/縮小)する。
Next, in block 306, the sizes 221 and 222 in the x-axis direction and the y-axis direction, respectively, are set so as to obtain the target character size.
And the ratio of the target character size to the x-axis direction and the y-axis direction are multiplied by all coordinate data to linearly change the size (enlarge / reduce).

最後に、ブロック307において、ブロック306で定義さ
れたポリゴンの内部を指定されたパターンでぬりつぶし
てそのデータを指定したメモリエリア内に出力する。ポ
リゴンをぬりつぶして、ドット形式で出力するには、例
えば、高速でよく知られたアルゴリズム「ポリゴンのス
キャン・コンバージョン」を利用する(詳細は『大野著
「多角形のスキャン・コンバージョン」,PIXEL(No.1
6),pp.136〜141』を参照されたい)。
Finally, in block 307, the inside of the polygon defined in block 306 is filled with the specified pattern and the data is output to the specified memory area. To fill polygons and output them in dot format, for example, use the well-known and fast algorithm "Polygon scan conversion" (For details, see "Ohno" Polygon scan conversion ", PIXEL (No .1
6), pp.136-141 ”).

ブロック308で本処理を終了する。 This processing ends at block 308.

第6B図は第6A図の文字「口」に対して、本処理を行な
って、輪郭1を輪郭501に、輪郭2を輪郭502に変更した
ものである。
FIG. 6B shows that the contour “1” is changed to the contour 501 and the contour 2 is changed to the contour 502 by performing this process on the character “mouth” in FIG. 6A.

[発明の効果] 本発明によれば、一つの書体から任意の線幅の文字を
作り出せるため、小さなサイズの文字に対して、文字が
つぶれない細い書体と同じ文字を得ることができ、ま
た、大きなサイズの文字に対して、迫力のある太い書体
と同じ文字を得ることができるので、多数の書体を開発
するコストならびに、それらを記憶装置に格納するため
の容量を削減することができる。
[Effect of the Invention] According to the present invention, since a character having an arbitrary line width can be created from one typeface, it is possible to obtain the same character as a thin typeface in which the character is not crushed for a small size character. Since it is possible to obtain the same character as a powerful thick typeface for a large size character, it is possible to reduce the cost of developing a large number of typefaces and the capacity for storing them in a storage device.

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

第1図は本発明の構成を示すフローチャート、第2図は
本発明を実施するために用いる文字等の情報処理装置を
示すブロック図、第3図は本発明についての文字の輪郭
情報を貯蔵するためのテーブルを示す模式図、第4図は
処理フローを示すフローチャート、第5図は文字の太さ
を変更するための計算方法を示す模式図、第6A図はポリ
ゴンで表わした文字「口」の輪郭とその向きの情報を模
式的に示した説明図、第6B図は第6A図の文字の線幅を変
更した輪郭情報を示す模式図である。 1…文字の外側の輪郭、2…文字の内側の輪郭、3…ぬ
りつぶし領域、11〜18…頂点、101…記憶装置、102…中
央処理装置、103…ディスプレイ、104…プリンタ、105
…キーボード、201…インデックス・テーブル、202…索
引コード、203…文字輪郭情報テーブルへのポインタ、2
04…文字輪郭情報テーブル、431,432…文字輪郭より幅
hだけ離れた直線、421…変更された頂点。
FIG. 1 is a flow chart showing the configuration 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. 3 stores outline information of characters for the present invention. FIG. 4 is a schematic diagram showing a table for this, FIG. 4 is a flowchart showing a processing flow, FIG. 5 is a schematic diagram showing a calculation method for changing the thickness of characters, and FIG. 6A is the character “mouth” represented by a polygon. And FIG. 6B is a schematic diagram showing outline information obtained by changing the line width of the characters in FIG. 6A. 1 ... Outer contour of character, 2 ... Inner contour of character, 3 ... Filled area, 11-18 ... Vertex, 101 ... Storage device, 102 ... Central processing unit, 103 ... Display, 104 ... Printer, 105
… Keyboard, 201… Index table, 202… Index code, 203… Pointer to character outline information table, 2
04 ... Character contour information table, 431, 432 ... Straight line separated from character contour by width h, 421 ... Changed vertex.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 鈴木 和子 神奈川県横浜市戸塚区吉田町292番地 株 式会社日立製作所マイクロエレクトロニク ス機器開発研究所内 (56)参考文献 特開 昭62−82484(JP,A) 特開 昭61−238086(JP,A) 特開 昭61−51189(JP,A) 特開 昭59−69787(JP,A) 特開 昭59−765(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Kazuko Suzuki 292 Yoshida-cho, Totsuka-ku, Yokohama-shi, Kanagawa Inside the Hitachi, Ltd. microelectronics equipment development laboratory (56) Reference JP-A-62-82484 (JP , A) JP 61-238086 (JP, A) JP 61-51189 (JP, A) JP 59-69787 (JP, A) JP 59-765 (JP, A)

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】特定のサイズの文字もしくは図形の輪郭を
構成するポリゴン(多角形)毎に、当該ポリゴンの各頂
点間を結ぶ各ベクトルを定義したポリゴンデータに基づ
いて、任意のサイズの文字もしくは図形の画像を生成す
るベクトル文字もしくはベクトル図形の処理方法であっ
て、 各ベクトルの方向が、前記文字もしくは図形の輪郭の内
部に対して所定の関係を備えるように、ポリゴンの各頂
点を結ぶ各ベクトルを定義することにより、前記特定の
サイズの文字もしくは図形の輪郭を構成する各ポリゴン
の形状を表すポリゴンデータを予め作成し、 文字もしくは図形のサイズをグループ分けした各グルー
プに対して補正量を予め定義し、 文字もしくは図形の画像を生成する際に、 画像を生成する文字もしくは図形のサイズを受付け、 画像を生成する文字もしくは図形の各ポリゴンデータに
ついて、当該ポリゴンのポリゴンデータによって定義さ
れる各ベクトルによって定まる当該ポリゴンの各頂点
を、受付けたサイズと受付けたサイズの属するグループ
に対して定義された補正量に応じた量、当該頂点と他の
頂点を結ぶ前記ベクトルの方向に応じて定まる方向に、
移動し、移動した後の各頂点を有するポリゴンによって
輪郭が構成される文字もしくは図形の画像を生成するこ
とを特徴とするベクトル文字もしくはベクトル図形の処
理方法。
1. A character or a character of an arbitrary size based on polygon data defining, for each polygon (polygon) forming the outline of a character or graphic of a specific size, each vector connecting the vertices of the polygon. A method of processing a vector character or a vector figure for generating an image of a figure, wherein each vertex of a polygon is connected so that the direction of each vector has a predetermined relationship with the inside of the outline of the character or figure. By defining a vector, polygon data representing the shape of each polygon forming the outline of the character or figure of the specific size is created in advance, and the correction amount is set for each group in which the size of the character or figure is divided into groups. When defining a character or graphic image that is defined in advance, the size of the character or graphic that creates the image is accepted and For each polygon data of the character or figure that generates the, the correction amount defined for the group that the received size and the received size are the vertices of the polygon defined by each vector defined by the polygon data of the polygon. According to the direction of the vector connecting the vertex with another vertex,
A method of processing a vector character or a vector figure, characterized by generating an image of a character or a figure whose contour is composed of polygons having respective vertices after the movement.
【請求項2】特定のサイズの文字もしくは図形の輪郭を
構成するポリゴン(多角形)毎に、当該ポリゴンの各頂
点間を結ぶ各ベクトルを定義したポリゴンデータに基づ
いて、任意のサイズの文字もしくは図形の画像を生成す
るベクトル文字もしくはベクトル図形の処理方法であっ
て、 各ベクトルの方向が、前記文字もしくは図形の輪郭の内
部に対して所定の関係を備えるように、ポリゴンの各頂
点を結ぶ各ベクトルを定義することにより、前記特定の
サイズの文字もしくは図形の輪郭を構成する各ポリゴン
の形状を表すポリゴンデータを予め作成し、 文字もしくは図形のサイズをグループ分けした各グルー
プに対して補正量を予め定義し、 文字もしくは図形の画像を生成する際に、 画像を生成する文字もしくは図形のサイズを受付け、 画像を生成する文字もしくは図形の各ポリゴンデータに
ついて、当該ポリゴンのポリゴンデータによって定義さ
れる各ベクトルによって定まる当該ポリゴンの各頂点
を、当該頂点と他の頂点を結ぶ前記ベクトルの方向に応
じて定まる方向に、受付けたサイズの属するグループに
対して定義された補正量に応じた量移動し、移動した後
の各頂点の座標を定義した座標データを生成し、 画像を生成する文字もしくは図形の各ポリゴンデータに
ついて生成した各座標データによって定義される座標の
頂点を有する各第2のポリゴンを、受付けたサイズに応
じて拡大もしくは縮小した各第3のポリゴンを生成し、
生成した各第3のポリゴンによって輪郭が構成される文
字もしくは図形の画像を生成することを特徴とするベク
トル文字もしくはベクトル図形の処理方法。
2. A character or a character of any size based on polygon data defining, for each polygon (polygon) forming the contour of a character or graphic of a specific size, each vector connecting the vertices of the polygon. A method of processing a vector character or a vector figure for generating an image of a figure, wherein each vertex of a polygon is connected so that the direction of each vector has a predetermined relationship with the inside of the outline of the character or figure. By defining a vector, polygon data representing the shape of each polygon forming the outline of the character or figure of the specific size is created in advance, and the correction amount is set for each group in which the size of the character or figure is divided into groups. When defining a character or graphic image that is defined in advance, the size of the character or graphic that creates the image is accepted and For each polygon data of the character or figure that generates, the vertices of the polygon defined by each vector defined by the polygon data of the polygon are set in the direction determined by the direction of the vector connecting the vertex and another vertex. , The polygon data of the character or figure that generates the image by moving the amount corresponding to the correction amount defined for the group to which the received size belongs and generating the coordinate data that defines the coordinates of each vertex after the movement. Each second polygon having vertices of coordinates defined by each coordinate data generated with respect to, is expanded or reduced according to the received size to generate each third polygon,
A method of processing a vector character or a vector graphic, characterized in that an image of a character or a graphic whose contour is formed by each of the generated third polygons is generated.
【請求項3】属する文字もしくは図形のサイズの利用頻
度が最も大きいグループグループに対して補正量が0と
なるように、前記ポリゴンデータを作成することを特徴
とする特許請求の範囲第1項記載のベクトル文字もしく
はベクトル図形の処理方法。
3. The polygon data is created so that the correction amount becomes 0 for a group in which the size of the belonging character or figure is used most frequently. How to process vector characters or vector graphics of.
JP62139268A 1987-06-03 1987-06-03 How to process vector characters or graphics Expired - Lifetime JPH0823741B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62139268A JPH0823741B2 (en) 1987-06-03 1987-06-03 How to process vector characters or graphics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62139268A JPH0823741B2 (en) 1987-06-03 1987-06-03 How to process vector characters or graphics

Publications (2)

Publication Number Publication Date
JPS63303477A JPS63303477A (en) 1988-12-12
JPH0823741B2 true JPH0823741B2 (en) 1996-03-06

Family

ID=15241327

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62139268A Expired - Lifetime JPH0823741B2 (en) 1987-06-03 1987-06-03 How to process vector characters or graphics

Country Status (1)

Country Link
JP (1) JPH0823741B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2895529B2 (en) * 1989-11-08 1999-05-24 株式会社日立製作所 Character generation method and device, and document creation device
JP6285343B2 (en) * 2014-11-28 2018-02-28 株式会社トヨタマップマスター MAP DATA GENERATION DEVICE, ITS METHOD, ITS PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM
JP7287409B2 (en) 2021-02-26 2023-06-06 セイコーエプソン株式会社 Display method and program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59765A (en) * 1982-02-16 1984-01-05 Nippon Denki Kanji Syst Kk Generating system of character of the like
JPS5969787A (en) * 1982-10-15 1984-04-20 日本電気オフィスシステム株式会社 System of generating character signal or the like
US4675830A (en) * 1984-07-06 1987-06-23 Compugraphic Corporation Method for producing a scaleable typeface data
JPS61238086A (en) * 1985-04-15 1986-10-23 株式会社 写研 Character processing system
JPS6282484A (en) * 1985-10-07 1987-04-15 Canon Inc Method for converting linear graphic form

Also Published As

Publication number Publication date
JPS63303477A (en) 1988-12-12

Similar Documents

Publication Publication Date Title
JP2836086B2 (en) Character pattern data generator
JPH0659665A (en) Image processing device
JP2909273B2 (en) Outline font line width adjusting method and apparatus
US5519412A (en) Pattern processing method
JPH06168334A (en) Plotting device
JPH0823741B2 (en) How to process vector characters or graphics
JP3416489B2 (en) Font processing device and recording medium recording font processing program
JP3055187B2 (en) Contour data processing device
JP3603593B2 (en) Image processing method and apparatus
JP2806679B2 (en) Character generator
JPH01191192A (en) High quality character generating device
JPH0813554B2 (en) Information processing device
JP2886702B2 (en) Outline font processor
JP3268160B2 (en) Character pattern generator
JPH08101675A (en) Font developing device
JP3359166B2 (en) Printer device and line segment division drawing method of printer device
JP2538631B2 (en) How to handle vector characters
JP2633566B2 (en) Image processing method
JP2803746B2 (en) Character processing method and apparatus
JP3573291B2 (en) Character data creation method and character data creation device
JPH0553559A (en) Line width determination system
JPH04215696A (en) Magnification processing method for raster diagram
JPH0772847A (en) Character font output device and character font generating device
JPH09146519A (en) Character composition device
JPH04241390A (en) Enlargement processing system for vector font