JPH03209499A - Forming method for outline font and drawing device for the same - Google Patents

Forming method for outline font and drawing device for the same

Info

Publication number
JPH03209499A
JPH03209499A JP2005501A JP550190A JPH03209499A JP H03209499 A JPH03209499 A JP H03209499A JP 2005501 A JP2005501 A JP 2005501A JP 550190 A JP550190 A JP 550190A JP H03209499 A JPH03209499 A JP H03209499A
Authority
JP
Japan
Prior art keywords
data
character
points
outline
font
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
JP2005501A
Other languages
Japanese (ja)
Inventor
Toshiaki Kitsuki
橘木 俊明
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2005501A priority Critical patent/JPH03209499A/en
Publication of JPH03209499A publication Critical patent/JPH03209499A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To simplify a circuit and accelerate speed by using triangular element data with its character devided by a triangle in addition to the vector data of a contour line and generating the character by integrating these element data. CONSTITUTION:The contour line of a character D is composed of straight lines connecting points P0, P1-Pn and the character D is divided by triangles T0, T1-Tm with the three points as apexes. The contour line data are arranged while storing the coordinate values of the points P0, P1-Pn and the triangular data are arranged while designating the three apexes of the triangles T0, T1-Tm. A coordinate transforma tion part 13 calculates the coordinate values of the points, for which coordinate trans formation is executed to the apexes of the triangles for drawing the triangles, and investigates whether the coordinate values of the points are stored in a work data preservation part 16 or not, and the coordinate values of the points, to which the coordinate transformation is executed, are calculated and stored in the work data storage part 16. The coordinate transformation part 13 outputs the coordinate values of the points to a triangle drawing part 14 and the triangles are drawn in a frame buffer 17. Thus, the speed can be accelerated and the drawing part can be realized by the simple circuit.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、文字フォントを形成するアウトライン・フォ
ントの形成方法およびその描画装置に関し、特に文字の
輪郭をデータとして持つアウトライン・フォントに関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for forming an outline font for forming a character font and a drawing device therefor, and particularly to an outline font having character outlines as data.

〔従来の技術〕[Conventional technology]

従来の技術について、第7図のフォント外形図及び第8
図の流れ図により説明する。
Regarding the conventional technology, the font outline diagram in Fig. 7 and the font outline diagram in Fig. 8
This will be explained with reference to the flowchart in the figure.

従来のアウトライン・フォントの輪郭線は、第7図(a
)に示すように、直線と円弧、ベジェ曲線。
The outline of the conventional outline font is shown in Figure 7 (a
), straight lines, arcs, and Bezier curves.

Cスプライン曲線などの曲線の組合せで表現されていて
、フォントデータは、点U、、U!、−−−[Jtsの
それぞれの座標と、線の種類などを判別するための属性
から構成される。
It is expressed by a combination of curves such as C-spline curves, and the font data is composed of points U,, U! , --- [Consists of coordinates of each Jts and attributes for determining line type, etc.

このアットライン・7オントの印字処理では、第7図(
a)の示すような点U、、U、、−−−,U、、の座標
を、第8図のステップ41で読込み、次にステ、プ42
で、第7図(b)で示すように、文字を望みの大きさで
印字、時には回転、傾斜などの加工した印字するために
、点tJo t [J、 l −−−* U13の座標
を算出する。文字の7レームパ、ファへの描画は、スキ
ャンライン人のy座標値の大きい方からか、又は小さい
方からスキャンライン毎に、ステ、ブ44とステ、プ4
5の処理によって行われる。
In this at-line 7-ont printing process, Figure 7 (
The coordinates of the points U, , U, , U, , as shown in a) are read in step 41 of FIG. 8, and then in step 42.
Then, as shown in Fig. 7(b), in order to print the characters in the desired size, and sometimes with rotation, tilt, etc., the coordinates of the point tJo t [J, l ---* U13 are determined. calculate. Characters are drawn on the 7 frames P and F for each scan line, either from the larger y-coordinate value of the scan line person or from the smaller one.
This is performed by the process in step 5.

ステ、プ44では、第7図(C)で示すように、スキャ
ンライン人と輪郭線との交点20.2m、2.。
In step 44, as shown in FIG. 7(C), the intersection of the scan line person and the contour line is 20.2 m, 2. .

zsを求め、スキャン2イン上の描画セグメント2.2
..2雪2.  を算出する。ステ、プ45では、ステ
、プ44で得られた描画セグメン)Z、Z、。
Find zs and draw segment 2.2 on scan 2 in
.. .. 2 snow 2. Calculate. In Step 45, the drawing segments obtained in Step 44 are drawn (Z, Z, .

2.2.  上のドツトに対応するフレームバッファ内
のドツトに書き込む。これらステ、プ44,45の処理
をスキャンライ/毎に行うことによって、第7図(d)
の示すように、文字が形成されていく。
2.2. Write to the dot in the frame buffer that corresponds to the dot above. By performing steps 44 and 45 for each scan line, the process shown in FIG.
Characters are formed as shown.

なお、ステ、プ43では、文字と交わる全スキャンライ
ンに対して描画セグメントの描画が終了したか否かを判
断し、終了している時は文字形状の全体が描画されたこ
ととなシ、文字描画は終了する。
In addition, in step 43, it is determined whether or not drawing of the drawing segment has been completed for all scan lines that intersect with the character, and if it has been completed, it is assumed that the entire character shape has been drawn. Character drawing ends.

この従来のアウトライン・7オントを用いて文字を描画
する場合、文字形状の内部判定をスキャンライン毎に、
ステ、プ44において、スキャンライン上の描画セグメ
ントを求めることに上って行うのが一般的であるが、こ
の内部判定のためには、すべての輪郭線データが、ステ
ップ42で座標変換されている必要がある。
When drawing characters using this conventional outline/7 ont, internal determination of character shape is performed for each scan line.
Steps 44 are generally performed by determining drawing segments on the scan line, but for this internal determination, all outline data is coordinate-transformed in step 42. I need to be there.

このアウトライン・7オントを描画する描画装置は、第
9図のプロ、り図に示される。この装置ハ、コントo−
111bと外部メモリ12とから構成され、コントロー
ラllbは、座標変換部13bと描画部14bとに分け
られ、座標変換部13bは、第8図のステ、グ41とス
テップ42の処理全行い、描画部14bはステ、プ43
と、ステップ44と、ステップ45の処理を行う。また
、外部メモリ12は、フォントデータ格納部15゜加工
データ保存部16およびフレームバッファ17から構成
される。
A drawing device for drawing this outline/7 ont is shown in the professional diagram of FIG. This device, control o-
111b and an external memory 12, the controller llb is divided into a coordinate conversion section 13b and a drawing section 14b, and the coordinate conversion section 13b performs all the processing in steps 41 and 42 in FIG. Part 14b is step 43
Then, the processes of step 44 and step 45 are performed. The external memory 12 also includes a font data storage section 15, a processed data storage section 16, and a frame buffer 17.

前述のように、内部判定でスキャンライン上の描画セグ
メントを算出するためには、すべての輪郭線データが座
標変換されている必要があるので、このコントローラ1
2bでは、先ず座標変換部13bが7オントデ一タ格納
部15に格納された輪郭線データの全てを座標変換し、
加工データ保存部16に格納していく。この座標変換部
13bの処理が全て終わっ九後、始めて描画部14bは
動作可能となり、加工データ格納部16のデータを基に
描画セグメントを算出し、フレームバッファ17に描画
してゆく。
As mentioned above, in order to calculate the drawing segment on the scan line by internal determination, all contour data must be coordinate transformed, so this controller 1
In step 2b, first, the coordinate transformation unit 13b coordinately transforms all of the contour line data stored in the 7-ontodata storage unit 15,
The processed data is stored in the processed data storage unit 16. After all the processing by the coordinate conversion section 13b is completed, the drawing section 14b becomes operational for the first time, calculates a drawing segment based on the data in the processed data storage section 16, and draws it on the frame buffer 17.

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

上述した従来のアウトライン・フォントによる文字描画
では、文字形状の内部判定をスキャンライン毎に行うが
、この内部判定のために全ての輪郭線データがステップ
42で座標変換されている必要があることや、スキャン
2イン上にステップ44で求める輪郭線との交点の個数
がスキャンラインの位置や、文字によって大きく異なっ
ていることがあるために、このアウトライン・フォント
の文字描画をハードウェアで実現しようとした時に、あ
まり高速化が図れないと共に、複雑な回路になるという
欠点がある。
In character drawing using the conventional outline font described above, internal determination of the character shape is performed for each scan line, but this internal determination requires that all outline data be coordinate-transformed in step 42. , the number of intersections with the contour line obtained in step 44 on the scan 2 input may vary greatly depending on the position of the scan line and the character, so it is difficult to draw characters using this outline font using hardware. When doing so, the disadvantage is that the speed cannot be increased very much and the circuit becomes complicated.

すなわち、第9図のようにハードウェア化した時に、座
標変換部13bと描画部14bを同時に動作させるとい
うパイプラインによる処理を行うことができないため、
ハードウェア化してもあまり高速化できない。iた描画
部における処理は、スキャンライン毎に輪郭線との交点
の数が異なるなどかなシ複雑な処理であり、回路もそれ
に応じて複雑な回路となってしまう。
That is, when implemented as hardware as shown in FIG. 9, it is not possible to perform pipeline processing in which the coordinate transformation section 13b and the drawing section 14b operate at the same time.
Even if it is made into hardware, it cannot be made much faster. The processing in the drawing section is complicated because the number of intersections with the contour line differs for each scan line, and the circuit becomes accordingly complex.

本発明の目的は、このような問題を解決し、三角形に分
割したデータとフォントデータとを用いて文字を描画す
るので、文字形成がそれぞれの三角形を描画していくだ
けで良く、ハードウェア化した時に比較的単純な回路で
できると共VC1その文字描画が高速化できるアウトラ
イン・フォントの形成方法およびその描画装置を提供す
ることにある。
The purpose of the present invention is to solve such problems and draw characters using data divided into triangles and font data, so character formation only requires drawing each triangle, and it is possible to create a character using hardware. An object of the present invention is to provide a method for forming an outline font and a drawing device thereof, which can be performed using a relatively simple circuit and which can speed up character drawing.

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

本発明の構成は、文字の形状を、この文字の輪郭線のベ
クタデータで表現したアウトライン・フォントの形成方
法において、前記輪郭線のベクタデータの他に前記文字
を三角形で分割した三角形のエレメントデータを用い、
これらエレメントデータを集積して前記文字を形成する
ことを特徴とする。
The configuration of the present invention is to provide a method for forming an outline font in which the shape of a character is expressed by vector data of the outline of the character, in addition to the vector data of the outline, triangular element data obtained by dividing the character into triangles. using
The character is characterized in that the character is formed by accumulating these element data.

また、本発明のアウトライン・フォントの描画装置の構
成は、文字の外形を表わすフォントデータを三角形デー
タとして格納するフォントデータ格納部と、このフォン
トデータ格納部からのデータを座標変換する座標変換部
と、この座標変換部の出力を格納すると共にその座標変
換部に出力する加工データ格納部と、前記座標変換部か
らの各三角形の座標値に従ってこれらを集積し描画する
三角形描画部と、この三角形描画部からの出力画像を記
憶するフレームバッファとを備えることを特徴とする。
Further, the outline font drawing device of the present invention has a configuration including a font data storage unit that stores font data representing the outer shape of a character as triangular data, and a coordinate transformation unit that coordinates transforms data from the font data storage unit. , a processing data storage section that stores the output of the coordinate transformation section and outputs it to the coordinate transformation section; a triangle drawing section that accumulates and draws the output of each triangle according to the coordinate values of each triangle from the coordinate transformation section; The apparatus is characterized by comprising a frame buffer for storing an output image from the unit.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の第1の実施例のアウトライン・フォン
ト描画装置のブロック図、第2図は第1図のアウトライ
ン・フォントの描画処理の流れ図、第3図(a)〜(C
)は第1図に用いられるアウトライン・フォントの形成
状態を説明する外形図である。
FIG. 1 is a block diagram of an outline font drawing device according to a first embodiment of the present invention, FIG. 2 is a flowchart of the outline font drawing process of FIG. 1, and FIGS.
) is an outline diagram illustrating the formation state of the outline font used in FIG. 1.

本実施例に用いるアウトライン・フォント社、第3図(
a)で示すように、文字rDJの輪郭線が点P Oe 
Pl m −−−e Pnを結ぶ直線で構成され、点P
OtPt p −−−、P nのうちの3点を頂点とす
る三角形T 6 # Tl e −−−e Tinによ
って文字rDJが三角形分割されるようにしている。
Outline Font Co., Ltd. used in this example, Figure 3 (
As shown in a), the outline of the character rDJ is at the point P Oe
Pl m ---e Consists of a straight line connecting Pn, and points P
The character rDJ is triangulated by a triangle T 6 # Tl e ---e Tin having three points among OtPt p --- and P n as vertices.

このフォントデータは、輪郭線データBと三角形データ
Cとからなり、第1表に示すように輪郭線データBは、
点P・e Plt +++ I pnの座標値が格納さ
れた配列であシ、三角形データCは三角形’r、 t 
T 1 m −−−s Tmの3頂点を指定する配列で
ある。ここでは、三角形Toの三項点がFlitP、◎
+P!Bであることを示している。
This font data consists of outline data B and triangle data C, and as shown in Table 1, outline data B is
This is an array in which the coordinate values of the point P・e Plt +++ I pn are stored, and the triangle data C is the triangle 'r, t
T 1 m ---s This is an array specifying the three vertices of Tm. Here, the trinomial point of triangle To is FlitP, ◎
+P! It shows that it is B.

第1表 三角形データC 三角形T/が点Pl e PJ e Pkを3頂点とす
る三角形とすると、この配列の第1番目の要素には、i
とjとkの値が格納されている。
Table 1 Triangle Data C If triangle T/ is a triangle whose three vertices are points Pl e PJ e Pk, the first element of this array has i
The values of j and k are stored.

次に、本実施例のアウトライン・フォントの描画処理例
について説明する。
Next, an example of the outline font drawing process of this embodiment will be described.

フォントデータ格納部15は、第1表に示すようなフォ
ントデータが格納されている。座標変換部13は、第2
図のステ、プ21.ステ、プ22とステップ23の処理
を行い、ステ、プ21では、フォントデータ格納部15
に格納されている三角形データCの三角形の中に、まだ
描画されていない三角形があるか否かを調べる。ここで
全ての三角形が描画されていた時は、すてに文字全体が
描画されているので、印字処理は完了する。まだ描画さ
れてない三角形がある時は、その中の1つの三角形を描
画するため、ステップ22に移る。便宜上、その三角形
をT/とし、その頂点がPiPj 、 PH(であると
し、また点Pl s PJ * Pkを座標変換した点
Qi*Qj、Qkとする。ステ、プ22は、三角形デー
タCから三角形T/の頂点のインデックス”aJekを
読み込む。
The font data storage section 15 stores font data as shown in Table 1. The coordinate transformation unit 13
Step 21 of the figure. Steps 22 and 23 are performed, and in step 21, the font data storage section 15 is
It is checked whether there are any triangles that have not yet been drawn among the triangles of the triangle data C stored in the . If all the triangles have been drawn, the entire character has been drawn, and the printing process is complete. If there are triangles that have not yet been drawn, the process moves to step 22 in order to draw one of the triangles. For convenience, assume that the triangle is T/, that its vertices are PiPj, PH(, and that the coordinates of the point Pl s PJ * Pk are converted to points Qi*Qj, Qk. Step 22 is based on the triangle data C. Read the index "aJek" of the vertex of triangle T/.

ステ、プ23では、三角形T/の頂点PlsPJsPk
が座標変換された点Qi 、Qj 、Qkの座標値を求
める。この処理は、加工データ保存部16に、既に点Q
i 、Qj =Qkの座標値が格納されているか否かを
調べ、格納されている点では、その座標値を読み込み、
格納されていない点では、輪郭線データBに格納されて
いる座標値に対し、座標変換の計算を行ない座標変換さ
れた点の座標値を算出し、その値を加工データ格納部1
6に格納する。
In Step 23, the vertices PlsPJsPk of triangle T/
Find the coordinate values of points Qi, Qj, and Qk whose coordinates have been transformed. This process has already been performed at the point Q in the processing data storage unit 16.
Check whether the coordinate values of i, Qj = Qk are stored, and if stored, read the coordinate values,
For points that are not stored, a coordinate transformation is calculated for the coordinate values stored in the contour data B, and the coordinate values of the transformed points are calculated, and the values are stored in the processing data storage unit 1.
6.

座標変換部13は、ステップ23の処理で得られた点Q
i−Qj−Q/の座標値を三角形描画部14に出力する
。三角形描画部14は、ステ、プ23の三角形描画処理
を行なうが、この三角形描画部14は座標変換部13か
ら入力された点Qi e Qj#Q/を頂点とする三角
形S/を7レームバツフア17に描画する。このように
ステップ22,23゜24の処理によって文字の中の三
角形T/の部分が描画される。
The coordinate transformation unit 13 converts the point Q obtained in the process of step 23
The coordinate values of i-Qj-Q/ are output to the triangle drawing section 14. The triangle drawing unit 14 performs the triangle drawing process in step 23, and this triangle drawing unit 14 converts the triangle S/ whose apex is the point Qi e Qj#Q/ input from the coordinate conversion unit 13 into a 7 frame buffer 17. to draw. In this way, the triangular T/ portion of the character is drawn by the processing of steps 22, 23 and 24.

この処理を三角形T o、T、、−−−、Tmに対し続
けることにより、第3図(C)のように文字が描画され
ていくことになる。
By continuing this process for the triangles T o, T, . . . , Tm, characters are drawn as shown in FIG. 3(C).

以上の描画処理の説明では、第2図の流れに従って述べ
てきたが、第1図の描画装置では、座標変換部13は、
三角形Sl!の頂点Qi yQj 、Qkのデータを三
角形描画部14に出力すると、続けてすぐに、次に描画
すべき三角形に対する処理を開始することにより、座標
変換処理と描画処理は同時に行うことができる。
In the above description of the drawing process, it has been described according to the flow shown in FIG. 2, but in the drawing device shown in FIG.
Triangle Sl! When the data of the vertices Qi yQj and Qk are outputted to the triangle drawing unit 14, the processing for the next triangle to be drawn is immediately started, so that the coordinate conversion process and the drawing process can be performed simultaneously.

第4図は本発明の第2の実施例のアウトライン・フォン
ト描画装置のブロック図、第5図は第4図のフォントの
描画処理例の流れ図、第6図(a)〜(C)は本実施例
のアウトライン・フォントの構成を説明する外形図であ
る。
FIG. 4 is a block diagram of an outline font drawing device according to a second embodiment of the present invention, FIG. 5 is a flowchart of an example of the font drawing process of FIG. 4, and FIGS. FIG. 2 is an outline diagram illustrating the configuration of an outline font according to an embodiment.

本実施例のフォントは、第6図(a)で示すように、そ
の輪郭線が点KO,に、、−−−、Knを結ぶ直線又は
曲線で構成され、文字はニレメン)X、、Xl。
As shown in FIG. 6(a), the font of this embodiment has an outline composed of straight lines or curved lines connecting points KO, , ..., Kn, and the characters are .

−−−SXmによって分割されているものとする。---Assume that it is divided by SXm.

各エレメントは、点K O,に、、−−−、に、の中の
3点を頂点とする三角形であるか、又は輪郭線上の1つ
の曲線の始点、終点と点KO,Kl、−−−Kaの中の
1点とを結んだ2直線と、その曲線とによって凹まれた
部分である。前者を三角形エレメント、後者を扇形エレ
メントとし、この扇形エレメントの:噛合、曲線の始点
、終点及び2直線の角の点を頂点ということにする。こ
のフォントデータは、第2表に示すように、輪郭線デー
タDと三角形データEとからなり、輪郭線データDは、
点KO,に、、−−−、に、の座標1直と、その点が輪
郭線の中のどのような点であるかを表す属性とが格納さ
れた配列である。ここでエレメントXoの頂点かに、 
、 K、 、 K1゜であることを示す。
Each element is either a triangle with vertices at three points among the points KO, ..., or the starting point, end point and point KO, Kl, -- of one curve on the contour line. - It is a part concave by two straight lines connecting one point in Ka and the curved line. The former is assumed to be a triangular element, and the latter is assumed to be a fan-shaped element, and the points of the sector-shaped element such as the interlocking point, the starting point and end point of a curve, and the corner points of two straight lines are called vertices. As shown in Table 2, this font data consists of outline data D and triangle data E, and the outline data D is
This is an array in which the coordinates of the points KO, , , , , and an attribute indicating what kind of point in the outline the point is are stored. Here, at the top of element Xo,
, K, , K1°.

第2表 輪郭線データD エレメントデータE この属性は、例えば直線の終点か、曲線の終点かの判別
、直線の始点か曲線の始点かの判別、輪郭線の中の閉曲
線の開始点か、途中の点か、終了点かの判別などを行う
。また、三角形エレメントデータEは、エレメントX、
、Xl、−−−、Xmの3頂点を指定する配列で、ニレ
メン)X/が点Ki、Kj、Kkを3頂点とする三角形
とすると、この配列の第1番目の要素には、iとjとk
の値が格納されている。
Table 2 Contour line data D Element data E This attribute can be used, for example, to determine whether the end point is a straight line or a curved line, whether it is a straight line starting point or a curved starting point, whether it is the starting point of a closed curve in a contour, or if it is in the middle. , or the end point. In addition, the triangular element data E includes elements X,
, j and k
The value of is stored.

次に本実施例のアウトライン・7オントの描画処理につ
いて説明する。このフォントの第1の実施例のフォント
との相違点は、輪郭線に曲線が含まれ、文字が三角形だ
けでなく、三角形エレメントと扇形エレメントによって
分割されている点である。
Next, the outline/7-ont drawing process of this embodiment will be explained. The difference between this font and the font of the first embodiment is that the outline includes a curved line and the characters are divided not only by triangles but also by triangular elements and fan-shaped elements.

以下、その拡張によって生じた描画処理の相違点につい
て説明する。
The differences in drawing processing caused by this expansion will be explained below.

具体的な相違点としては、第5図では第2図のフローに
対しステップ31とステ、プ32が追加され、第4図で
は、第1図に対し直線近似部18が追加された点にある
。ステ、プ31の判定は、座標変換部13aで行い、こ
れが三角形エレメントの時は、第1の実施例と同様に三
角形描画部14aに変換された頂点の座標を出力する。
The specific differences are that in Fig. 5, Step 31 and Step 32 are added to the flow in Fig. 2, and in Fig. 4, a linear approximation section 18 is added to Fig. 1. be. The determination in steps 31 and 31 is performed by the coordinate conversion unit 13a, and when this is a triangular element, the converted coordinates of the vertices are output to the triangle drawing unit 14a as in the first embodiment.

エレメントが扇形エレメントの時は、座標変換部13a
は、変換された頂点の座標を直線近似部18に出力する
。直線近似部18は、扇形エレメントの曲線の部分を折
れ線で近似することで、第6図(C)のように扇形エレ
メントを数個の三角形に分割し、それぞれの三角形の頂
点の座標値を三角形描画部14aに出力する。他の処理
及び印字装置の動作は、第1の実施例と同様である。
When the element is a fan-shaped element, the coordinate conversion unit 13a
outputs the transformed coordinates of the vertex to the linear approximation unit 18. The linear approximation unit 18 divides the sector element into several triangles as shown in FIG. It is output to the drawing section 14a. Other processing and operation of the printing device are the same as in the first embodiment.

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

以上説明したように本発明は、アウトライン・フォント
のデータとして、文字形状を表現する輪郭線のデータだ
けでなく、文字を三角形分割するためのデータを付加す
ることにより、文字描画において描画処理が三角形描画
処理という簡単な処理で可能になると共に、ノ1−ドウ
エア化した時に、座標変換処理と描画処理が同時にパイ
プラインで実行でさることで高速化が図られ、さらに描
画処理が藺単になったことにより、描画部が簡単な回路
で実現可能であるという効果が期待できる。
As explained above, the present invention adds not only outline data expressing the character shape but also data for triangulating the character as outline font data, so that the drawing process in character drawing can be performed in a triangular manner. Not only is this possible through a simple process called drawing processing, but when it is made into a single hardware, coordinate conversion processing and drawing processing can be executed at the same time in a pipeline, which speeds up the process and further simplifies the drawing process. As a result, the effect that the drawing section can be realized with a simple circuit can be expected.

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

第1図は本発明の第1の実施例のプロ、り図、第2図は
第1図のアウトライン・フォントの描画処理の流れ図、
第3図(a) 、 (b) 、 (C)は第1図のアウ
トツイン・フォントの構成を説明する平面図、第4図は
本発明の第2の実施例のブロック図、第5図榊;(6)
はアウトライン・フォントの描画処理の流れ図、第6図
(a)〜(C)は第4図の79トライン・7オントの構
成を説明する平面図、第7図(a)〜(d)は従来例の
アウトライン・フォントの構造を説明する外形図、第8
図は第7図のアウトライン・フォントの描画処理の流れ
図、第9図は従来のアウトライン・フォントの描画装置
のプロ、り図である。 A・・・・・・スキャンライン、B、D・・・・・・輪
郭線データ、C、E −・−・・−三角形データ、ll
、lla、11b・・・・・・コントローラ、12・・
・・・・外部メモリ、13゜13 a 、 13 b・
−・・座標変換部、14,14a°°。 ・・・三角形描画部、14b・・・・・・描画部、15
・・・・・・フォントデータ格納部、16・・・・・・
加工データ保存部、17・・・・・・フレームバッファ
、18・・・・・・is近似部、21〜24,31,3
2.41〜45・・・・・・処理ステップ。
FIG. 1 is a professional diagram of the first embodiment of the present invention, and FIG. 2 is a flowchart of the outline font drawing process of FIG. 1.
3(a), (b), and (C) are plan views explaining the structure of the out-twin font shown in FIG. 1, FIG. 4 is a block diagram of the second embodiment of the present invention, and FIG. 5 Sakaki; (6)
is a flowchart of the outline font drawing process, Figures 6(a) to (C) are plan views explaining the configuration of 79 trines and 7 onts in Figure 4, and Figures 7(a) to (d) are conventional diagrams. Outline drawing explaining the structure of an example outline font, No. 8
The drawings are a flowchart of the outline font drawing process shown in FIG. 7, and FIG. 9 is a professional diagram of a conventional outline font drawing device. A: Scan line, B, D: Contour data, C, E - Triangle data, ll
, lla, 11b...controller, 12...
...external memory, 13゜13a, 13b・
---Coordinate conversion section, 14, 14a°°. ...Triangle drawing section, 14b...Drawing section, 15
......Font data storage section, 16...
Processed data storage unit, 17... Frame buffer, 18... is approximation unit, 21 to 24, 31, 3
2.41-45...Processing steps.

Claims (2)

【特許請求の範囲】[Claims] (1)文字の形状を、この文字の輪郭線のベクタデータ
で表現したアウトライン・フォントの形成方法において
、前記輪郭線のベクタデータの他に前記文字を三角形で
分割した三角形のエレメントデータを用い、これらエレ
メントデータを集積して前記文字を形成することを特徴
とするアウトライン・フォントの形成方法。
(1) A method for forming an outline font in which the shape of a character is expressed by vector data of the outline of the character, using triangular element data obtained by dividing the character into triangles in addition to the vector data of the outline, A method for forming an outline font, characterized in that the characters are formed by accumulating these element data.
(2)文字の外形を表わすフォントデータを三角形デー
タとして格納するフォントデータ格納部と、このフォン
トデータ格納部からのデータを座標変換する座標変換部
と、この座標変換部の出力を格納すると共にその座標変
換部に出力する加工データ格納部と、前記座標変換部か
らの各三角形の座標値に従ってこれらを集積し描画する
三角形描画部と、この三角形描画部からの出力画線を記
憶するフレームバッファとを備えることを特徴とするア
ウトライン・フォントの描画装置。
(2) A font data storage unit that stores font data representing the outer shape of a character as triangular data, a coordinate conversion unit that converts the coordinates of data from this font data storage unit, and stores the output of this coordinate conversion unit and A processed data storage unit that outputs to the coordinate conversion unit, a triangle drawing unit that accumulates and draws the triangles according to the coordinate values of each triangle from the coordinate conversion unit, and a frame buffer that stores output drawing lines from the triangle drawing unit. An outline font drawing device comprising:
JP2005501A 1990-01-12 1990-01-12 Forming method for outline font and drawing device for the same Pending JPH03209499A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005501A JPH03209499A (en) 1990-01-12 1990-01-12 Forming method for outline font and drawing device for the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005501A JPH03209499A (en) 1990-01-12 1990-01-12 Forming method for outline font and drawing device for the same

Publications (1)

Publication Number Publication Date
JPH03209499A true JPH03209499A (en) 1991-09-12

Family

ID=11612965

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005501A Pending JPH03209499A (en) 1990-01-12 1990-01-12 Forming method for outline font and drawing device for the same

Country Status (1)

Country Link
JP (1) JPH03209499A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006106705A (en) * 2004-08-27 2006-04-20 Microsoft Corp Rendering outline font
US7893151B2 (en) 2007-11-08 2011-02-22 Rohm And Haas Company Liquid-applied sound damping
US7893149B2 (en) 2006-12-20 2011-02-22 Rohm And Haas Company Liquid-applied sound dampening
JP2016520920A (en) * 2013-04-30 2016-07-14 マイクロソフト テクノロジー ライセンシング,エルエルシー 2D curve tessellation using graphics pipeline

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006106705A (en) * 2004-08-27 2006-04-20 Microsoft Corp Rendering outline font
US7893149B2 (en) 2006-12-20 2011-02-22 Rohm And Haas Company Liquid-applied sound dampening
US7893151B2 (en) 2007-11-08 2011-02-22 Rohm And Haas Company Liquid-applied sound damping
JP2016520920A (en) * 2013-04-30 2016-07-14 マイクロソフト テクノロジー ライセンシング,エルエルシー 2D curve tessellation using graphics pipeline

Similar Documents

Publication Publication Date Title
JP3030206B2 (en) Method and apparatus for clipping a graphic polygon to a clipping area
GB2259432A (en) Three dimensional graphics processing
JPH0251786A (en) Scan converting system
JP3391864B2 (en) Image data processing method and apparatus and graphic system
KR0180253B1 (en) Device and method for plotting graphic
JPH04246790A (en) Vector/conic section/area file primitive generator
JPH07311856A (en) Method and device for picture data processing
JPH03209499A (en) Forming method for outline font and drawing device for the same
JPH09325750A (en) Picture processor and its method
JPH06274622A (en) Area calculator
JP3059739B2 (en) Information processing apparatus with curve drawing function and processing method
JPS63137378A (en) Graphics processing system
JP2000148126A (en) Image display device and method
JP2004348708A (en) Polygon creation method for geographical information system, and its device
JPH06259507A (en) Graphic dividing device
JP3088297B2 (en) Graphic processing unit
JPS61196375A (en) Method of reconstructing three-dimensional image
JPH05342311A (en) Space division system for curved surface
JPH02309452A (en) Graphic data control system for display device
JPH03209580A (en) Method and device for drawing graphic
JPS63140383A (en) Continuous segment drawing method
JPS63118890A (en) System for processing polygonal image with painting surface
JPH02219094A (en) Reduction system for vector font character
JPH03235995A (en) Qualified solid character generation system
JPH0281179A (en) Picking circuit