JP2636742B2 - Outline font development circuit - Google Patents
Outline font development circuitInfo
- Publication number
- JP2636742B2 JP2636742B2 JP6182119A JP18211994A JP2636742B2 JP 2636742 B2 JP2636742 B2 JP 2636742B2 JP 6182119 A JP6182119 A JP 6182119A JP 18211994 A JP18211994 A JP 18211994A JP 2636742 B2 JP2636742 B2 JP 2636742B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- coordinate data
- reduced
- coordinate
- 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.)
- Expired - Fee Related
Links
Landscapes
- Dot-Matrix Printers And Others (AREA)
- Record Information Processing For Printing (AREA)
- Image Processing (AREA)
- Image Generation (AREA)
- Controls And Circuits For Display Device (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明はアウトラインフォント展
開回路に関し、特にショートベクタデータによるアウト
ラインフォントの展開アルゴリズムに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an outline font development circuit, and more particularly to an outline font development algorithm using short vector data.
【0002】[0002]
【従来の技術】従来、この種のアウトラインフォント展
開回路においては、ショートベクタデータによるアウト
ラインフォント展開において、基データの各座標データ
に対して指定サイズの縮小演算を行って出力している。2. Description of the Related Art Conventionally, in an outline font developing circuit of this kind, in an outline font developing using short vector data, a reduction operation of a designated size is performed on each coordinate data of the base data, and then output.
【0003】すなわち、従来のアウトラインフォント展
開回路では、図3に示すように、基データ格納部1から
読出した基データに対して縮小演算部2で指定サイズの
縮小演算を行ってから縮小後データ記憶部3に記憶して
いる。That is, in the conventional outline font development circuit, as shown in FIG. 3, a reduction operation of a designated size is performed by a reduction operation unit 2 on base data read from a base data storage unit 1 and then the reduced data is processed. It is stored in the storage unit 3.
【0004】塗りつぶし部6は縮小後データ記憶部3に
記憶された縮小後の座標データに基づいて形成された輪
郭内の塗りつぶしを行い、出力部7から図示せぬプリン
タ等に出力するようになっている。The filling section 6 fills the outline formed based on the reduced coordinate data stored in the reduced data storage section 3 and outputs the result from the output section 7 to a printer (not shown) or the like. ing.
【0005】[0005]
【発明が解決しようとする課題】上述した従来のアウト
ラインフォント展開回路では、基データの各座標データ
に対して指定サイズの縮小演算を行って出力しているの
で、その縮小演算の際に生ずる演算誤差によって縮小後
の図形が基データの図形に対して歪んでしまう。In the above-described conventional outline font developing circuit, a reduction operation of a designated size is performed on each coordinate data of the base data and output. Therefore, the operation generated at the time of the reduction operation is performed. The reduced figure is distorted by the error with respect to the figure of the base data.
【0006】そこで、本発明の目的は上記の問題点を解
消し、縮小後の図形を基データの図形に近似させること
ができるアウトラインフォント展開回路を提供すること
にある。SUMMARY OF THE INVENTION It is an object of the present invention to solve the above-mentioned problems and to provide an outline font expanding circuit which can approximate a reduced figure to a figure of base data.
【0007】[0007]
【課題を解決するための手段】本発明によるアウトライ
ンフォント展開回路は、ショートベクタデータによるア
ウトラインフォント展開において基データの座標データ
を指定サイズに縮小して出力するアウトラインフォント
展開回路であって、前記基データの座標データと縮小後
の座標データとを比較する比較手段と、前記比較手段の
比較結果に応じて前記縮小後の座標データからその比較
結果に対応する座標データを間引く間引き手段とを備え
ている。An outline font developing circuit according to the present invention is an outline font developing circuit for reducing the coordinate data of base data to a designated size and outputting the data in an outline font developing based on short vector data. Comparing means for comparing coordinate data of data with coordinate data after reduction, and thinning means for thinning out coordinate data corresponding to the comparison result from the coordinate data after reduction according to the comparison result of the comparison means. I have.
【0008】[0008]
【作用】データ比較部で縮小演算結果の各点の座標デー
タにおける前後のベクトルのx/yの増分と、基データ
の各点の座標データにおける前後のベクトルのx/yの
増分とを比較し、その比較結果に応じて縮小演算結果の
各点の座標データに対して間引き処理を行う。The data comparing section compares the x / y increment of the preceding and succeeding vector in the coordinate data of each point of the reduction operation result with the x / y increment of the preceding and succeeding vector in the coordinate data of each point of the base data. The thinning process is performed on the coordinate data of each point of the reduction operation result according to the comparison result.
【0009】これによって、縮小演算の際に生ずる演算
誤差による縮小後の図形の歪みが除去可能となり、縮小
後の図形が基データの図形に近似可能となる。[0009] This makes it possible to remove the distortion of the reduced figure due to an operation error generated during the reduction operation, and the reduced figure can be approximated to the figure of the original data.
【0010】[0010]
【実施例】次に、本発明の一実施例について図面を参照
して説明する。Next, an embodiment of the present invention will be described with reference to the drawings.
【0011】図1は本発明の一実施例の構成を示すブロ
ック図である。図において、本発明の一実施例によるア
ウトラインフォント展開回路は基データ格納部1と、縮
小演算部2と、縮小後データ記憶部3と、データ比較部
4と、間引き処理部5と、塗りつぶし部6と、出力部7
とから構成されている。FIG. 1 is a block diagram showing the configuration of one embodiment of the present invention. In the figure, an outline font developing circuit according to one embodiment of the present invention includes a base data storage unit 1, a reduction operation unit 2, a reduced data storage unit 3, a data comparison unit 4, a thinning-out processing unit 5, a filling unit. 6 and output unit 7
It is composed of
【0012】基データ格納部1には基データである座標
データが格納されており、縮小演算部2は基データ格納
部1から読出した各座標データに対して指定サイズの縮
小演算を行い、縮小演算の結果を縮小後データ記憶部3
に出力する。The base data storage unit 1 stores coordinate data as base data, and the reduction operation unit 2 performs a reduction operation of a designated size on each coordinate data read from the base data storage unit 1 to reduce the size. Data storage unit 3 after reducing the result of the operation
Output to
【0013】縮小後データ記憶部3は縮小演算部2で縮
小演算された各座標データ、または間引き処理部5で間
引き処理が施された各座標データを記憶する。The reduced data storage unit 3 stores each coordinate data subjected to the reduction operation by the reduction operation unit 2 or each coordinate data subjected to the thinning processing by the thinning processing unit 5.
【0014】データ比較部4は縮小後データ記憶部3に
記憶された縮小後の座標データ各々における前後のベク
トルのx/yの増分、つまり各座標点に接続される前後
の線分の傾きと基データの各座標点に接続される前後の
線分の傾きとを比較する。The data comparison unit 4 calculates the increment of x / y of the preceding and succeeding vectors in each of the reduced coordinate data stored in the reduced data storage unit 3, that is, the inclination of the line segment before and after connected to each coordinate point. The inclination of the line segment before and after the line segment connected to each coordinate point of the base data is compared.
【0015】間引き処理部5はデータ比較部4の比較結
果を基に縮小後の座標データに対して間引き処理を行
い、間引き処理が施された各座標データを縮小後データ
記憶部3に出力する。The thinning-out section 5 performs thinning-out processing on the reduced coordinate data based on the comparison result of the data comparing section 4, and outputs the thinned-out coordinate data to the reduced data storage section 3. .
【0016】塗りつぶし部6は縮小後データ記憶部3に
記憶された縮小後データに基づいて形成された輪郭内の
塗りつぶしを行い、輪郭内を塗りつぶしたデータを出力
部7から図示せぬプリンタ等に出力する。The painting unit 6 paints the outline formed based on the reduced data stored in the reduced data storage unit 3 and sends the filled data to the printer (not shown) from the output unit 7. Output.
【0017】図2は本発明の一実施例によるショートベ
クタデータによるアウトラインフォントの展開を示す図
である。図2(a)は図1の基データ格納部1に格納さ
れたショートベクタ基データを示す図であり、図2
(b)は図1の縮小演算部2による縮小演算の結果を示
す図であり、図2(c)は図1の間引き処理部5による
間引き処理の結果を示す図である。FIG. 2 is a diagram showing the development of an outline font using short vector data according to one embodiment of the present invention. FIG. 2A is a diagram showing short vector base data stored in the base data storage unit 1 of FIG.
FIG. 2B is a diagram illustrating a result of the reduction operation by the reduction operation unit 2 in FIG. 1, and FIG. 2C is a diagram illustrating a result of the thinning processing by the thinning processing unit 5 in FIG. 1.
【0018】これら図1及び図2を用いて本発明の一実
施例によるアウトラインフォントの展開処理について説
明する。Referring to FIGS. 1 and 2, the outline font developing process according to one embodiment of the present invention will be described.
【0019】基データ格納部1には図2(a)に示すよ
うな各点a1〜a4の座標データが、縮小後データ記憶
部3には図2(b)に示すような縮小演算部2の縮小演
算結果である各点b1〜b4の座標データが夫々格納さ
れているものとする。The base data storage unit 1 stores the coordinate data of each of the points a1 to a4 as shown in FIG. 2A, and the reduced data storage unit 3 stores the reduced arithmetic unit 2 as shown in FIG. It is assumed that coordinate data of each of the points b1 to b4, which are the result of the reduction operation, are stored.
【0020】データ比較部4は縮小後データ記憶部3に
記憶された縮小後の各点b1〜b4の座標データにおけ
る前後のベクトルのx/yの増分Δx/Δyと、基デー
タの各点a1〜a4の座標データにおける前後のベクト
ルのx/yの増分Δx/Δyとを比較する。The data comparing section 4 calculates the increment Δx / Δy of x / y of the preceding and succeeding vectors in the coordinate data of each of the reduced points b1 to b4 stored in the reduced data storage section 3 and each point a1 of the base data. Compare the x / y increments Δx / Δy of the preceding and succeeding vectors in the coordinate data of a4.
【0021】ここで、基データの点a1の座標データに
おける前ベクトルの増分Δx/ΔyはΔx=0,Δy=
+であり、後ベクトルの増分Δx/ΔyはΔx=+,Δ
y=+である。Here, the increment Δx / Δy of the previous vector in the coordinate data of the point a1 of the base data is Δx = 0, Δy =
+, And the increment of the subsequent vector Δx / Δy is Δx = +, Δ
y = +.
【0022】また、基データの点a2の座標データにお
ける前ベクトルの増分Δx/ΔyはΔx=+,Δy=+
であり、後ベクトルの増分Δx/ΔyはΔx=+,Δy
=+である。In addition, the increment Δx / Δy of the previous vector in the coordinate data of the point a2 of the base data is Δx = +, Δy = +
And the increment Δx / Δy of the post-vector is Δx = +, Δy
= +.
【0023】さらに、基データの点a3の座標データに
おける前ベクトルの増分Δx/ΔyはΔx=+,Δy=
+であり、後ベクトルの増分Δx/ΔyはΔx=+,Δ
y=−である。Further, the increment Δx / Δy of the previous vector in the coordinate data of the point a3 of the base data is Δx = +, Δy =
+, And the increment of the subsequent vector Δx / Δy is Δx = +, Δ
y = −.
【0024】さらにまた、基データの点a4の座標デー
タにおける前ベクトルの増分Δx/ΔyはΔx=+,Δ
y=−であり、後ベクトルの増分Δx/ΔyはΔx=
0,Δy=−である。Furthermore, the increment Δx / Δy of the previous vector in the coordinate data of the point a4 of the base data is Δx = +, Δx
y = −, and the increment of the post-vector Δx / Δy is Δx =
0, Δy = −.
【0025】一方、縮小後の点b1の座標データにおけ
る前ベクトルの増分Δx/ΔyはΔx=0,Δy=+で
あり、後ベクトルの増分Δx/ΔyはΔx=+,Δy=
+である。On the other hand, the increment Δx / Δy of the front vector in the coordinate data of the reduced point b1 is Δx = 0, Δy = +, and the increment Δx / Δy of the rear vector is Δx = +, Δy =
+.
【0026】また、縮小後の点b2の座標データにおけ
る前ベクトルの増分Δx/ΔyはΔx=+,Δy=+で
あり、後ベクトルの増分Δx/ΔyはΔx=+,Δy=
0である。The increment Δx / Δy of the front vector in the coordinate data of the reduced point b2 is Δx = +, Δy = +, and the increment Δx / Δy of the rear vector is Δx = +, Δy =
0.
【0027】さらに、縮小後の点b3の座標データにお
ける前ベクトルの増分Δx/ΔyはΔx=+,Δy=0
であり、後ベクトルの増分Δx/ΔyはΔx=0,Δy
=−である。Further, the increment Δx / Δy of the previous vector in the coordinate data of the reduced point b3 is Δx = +, Δy = 0
And the increment of the subsequent vector Δx / Δy is Δx = 0, Δy
= −.
【0028】さらにまた、縮小後の点b4の座標データ
における前ベクトルの増分Δx/ΔyはΔx=0,Δy
=−であり、後ベクトルの増分Δx/ΔyはΔx=0,
Δy=−である。Further, the increment Δx / Δy of the previous vector in the coordinate data of the reduced point b4 is Δx = 0, Δy
= −, And the increment of the subsequent vector Δx / Δy is Δx = 0,
Δy = −.
【0029】よって、データ比較部4は基データの点a
3の座標データにおける前後のベクトルの増分Δx/Δ
yと縮小後の点b3の座標データにおける前後のベクト
ルの増分Δx/Δyとがともに異なることを検出し、そ
の旨を間引き処理部5に通知する。Therefore, the data comparing section 4 determines the point a of the base data.
Increment Δx / Δ of vector before and after in coordinate data 3
It detects that both y and the increment Δx / Δy of the preceding and following vectors in the coordinate data of the reduced point b3 are different, and notifies the thinning processing unit 5 of that fact.
【0030】間引き処理部5はデータ比較部4の比較結
果を基に縮小後の点b3の座標データに対して間引き処
理を行い、点b3の座標データを間引いた縮小後の各点
の座標データを縮小後データ記憶部3に出力する[図2
(c)参照]。The thinning-out section 5 thins out the coordinate data of the reduced point b3 based on the comparison result of the data comparing section 4, and thins out the coordinate data of each point obtained by thinning out the coordinate data of the point b3. Is output to the data storage unit 3 after reduction [FIG.
(C)].
【0031】塗りつぶし部6は縮小後データ記憶部3に
記憶された縮小後データに基づいて形成された輪郭内の
塗りつぶしを行い、輪郭内を塗りつぶしたデータを出力
部7からプリンタ等に出力する。The painting section 6 paints the outline formed based on the reduced data stored in the reduced data storage section 3, and outputs the data filled with the outline from the output section 7 to a printer or the like.
【0032】このように、データ比較部4で縮小後デー
タ記憶部3に記憶された縮小後の各点b1〜b4の座標
データにおける前後のベクトルのx/yの増分Δx/Δ
yと、基データの各点a1〜a4の座標データにおける
前後のベクトルのx/yの増分Δx/Δyとの比較を行
い、その比較結果に応じて間引き処理部5で縮小後の各
点の座標データに対して間引き処理を行うことによっ
て、縮小後の図形を基データの図形に近似させることが
できる。As described above, the x / y increment Δx / Δ of the preceding and succeeding vectors in the coordinate data of each of the reduced points b1 to b4 stored in the reduced data storage section 3 by the data comparing section 4.
y is compared with the increment Δx / Δy of x / y of the preceding and succeeding vectors in the coordinate data of each of the points a1 to a4 of the base data, and the thinning processing unit 5 compares the reduced points according to the comparison result. By performing the thinning process on the coordinate data, the reduced figure can be approximated to the figure of the base data.
【0033】[0033]
【発明の効果】以上説明したように本発明によれば、シ
ョートベクタデータによるアウトラインフォント展開に
おいて基データの座標データと縮小後の座標データとを
比較し、その比較結果に応じて縮小後の座標データから
その比較結果に対応する座標データを間引くことによっ
て、縮小後の図形を基データの図形に近似させることが
できるという効果がある。As described above, according to the present invention, the coordinate data of the base data and the coordinate data after the reduction are compared in the outline font expansion based on the short vector data, and the coordinate data after the reduction according to the comparison result. By thinning out the coordinate data corresponding to the comparison result from the data, there is an effect that the reduced figure can be approximated to the figure of the base data.
【図1】本発明の一実施例の構成を示すブロック図であ
る。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.
【図2】(a)は図1の基データ格納部に格納されたシ
ョートベクタ基データを示す図、(b)は図1の縮小演
算部による縮小演算の結果を示す図、(c)は図1の間
引き処理部による間引き処理の結果を示す図である。2A is a diagram showing short vector base data stored in a base data storage unit in FIG. 1, FIG. 2B is a diagram showing a result of a reduction operation by a reduction operation unit in FIG. 1, and FIG. FIG. 2 is a diagram illustrating a result of a thinning process performed by a thinning processing unit in FIG. 1.
【図3】従来例の構成を示すブロック図である。FIG. 3 is a block diagram showing a configuration of a conventional example.
1 基データ格納部 2 縮小演算部 3 縮小後データ記憶部 4 データ比較部 5 間引き処理部 6 塗りつぶし部 REFERENCE SIGNS LIST 1 base data storage unit 2 reduction operation unit 3 reduced data storage unit 4 data comparison unit 5 thinning-out processing unit 6 painting unit
Claims (3)
ンフォント展開において基データの座標データを指定サ
イズに縮小して出力するアウトラインフォント展開回路
であって、前記基データの座標データと縮小後の座標デ
ータとを比較する比較手段と、前記比較手段の比較結果
に応じて前記縮小後の座標データからその比較結果に対
応する座標データを間引く間引き手段とを有することを
特徴とするアウトラインフォント展開回路。1. An outline font developing circuit for reducing the coordinate data of base data to a designated size in outline font expansion using short vector data, and comparing the coordinate data of the base data with the coordinate data after reduction. And a thinning means for thinning out coordinate data corresponding to the comparison result from the reduced coordinate data in accordance with the comparison result of the comparison means.
ータの各座標に夫々接続される前後の線分の傾きと前記
縮小後の座標データの各座標に夫々接続される前後の線
分の傾きとを比較するよう構成されたことを特徴とする
請求項1記載のアウトラインフォント展開回路。2. The method according to claim 1, wherein the comparing unit is configured to determine a gradient of a line segment before and after each line connected to each coordinate of the coordinate data of the base data and a line segment before and after each line connected to each coordinate of the coordinate data after the reduction. 2. The outline font developing circuit according to claim 1, wherein the outline font developing circuit is configured to compare with the inclination.
データ及び前記縮小後の座標データにおける前記前後の
線分の傾きがともに異なるときにその座標データを前記
縮小後の座標データから間引くよう構成されたことを特
徴とする請求項2記載のアウトラインフォント展開回
路。3. The thinning means is configured to thin out the coordinate data from the reduced coordinate data when the inclination of the front and rear line segments in the coordinate data of the base data and the reduced coordinate data are different from each other. 3. The outline font developing circuit according to claim 2, wherein
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6182119A JP2636742B2 (en) | 1994-08-03 | 1994-08-03 | Outline font development circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6182119A JP2636742B2 (en) | 1994-08-03 | 1994-08-03 | Outline font development circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH0844336A JPH0844336A (en) | 1996-02-16 |
JP2636742B2 true JP2636742B2 (en) | 1997-07-30 |
Family
ID=16112668
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP6182119A Expired - Fee Related JP2636742B2 (en) | 1994-08-03 | 1994-08-03 | Outline font development circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2636742B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5759128B2 (en) * | 2009-09-18 | 2015-08-05 | キヤノン株式会社 | Information processing apparatus, information processing system, information processing method, and program |
-
1994
- 1994-08-03 JP JP6182119A patent/JP2636742B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH0844336A (en) | 1996-02-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2636742B2 (en) | Outline font development circuit | |
JP2000232384A (en) | Data processor and data processing method | |
JP2876942B2 (en) | Data converter | |
JP4910254B2 (en) | Image processing apparatus and method | |
JP2910101B2 (en) | Vector font data component point correction device | |
JPH07118002B2 (en) | Image processing device | |
JPS6219973A (en) | Data compression method | |
JP2806679B2 (en) | Character generator | |
JPH10198333A (en) | Outline character drawing device | |
JPH06100906B2 (en) | Character processing method | |
JP3039015B2 (en) | Character processor | |
JP2971765B2 (en) | Polygon drawing method and polygon drawing device | |
JPH04329483A (en) | Image processor | |
JPH1132209A (en) | Resolution converting method | |
JPH07210669A (en) | Image processor and its control method | |
JP3085396B2 (en) | Vector font development method and device | |
JPH1196351A (en) | Device and method for processing image | |
JPH10275239A (en) | Thick line corner coordinate calculation system and thick line forming system | |
JP2521756B2 (en) | Pattern data generator | |
JPH06243261A (en) | Picture processor | |
JP2812088B2 (en) | Outline font expansion method | |
JP3869982B2 (en) | Image processing method | |
JPH096940A (en) | Image processor and method therefor | |
JP2001209821A (en) | Device and method for processing three-dimensional graphics | |
JPH0566754A (en) | Character generator |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080425 Year of fee payment: 11 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090425 Year of fee payment: 12 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100425 Year of fee payment: 13 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110425 Year of fee payment: 14 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120425 Year of fee payment: 15 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120425 Year of fee payment: 15 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130425 Year of fee payment: 16 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130425 Year of fee payment: 16 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140425 Year of fee payment: 17 |
|
LAPS | Cancellation because of no payment of annual fees |