JPH05313638A - Character boldfacing system - Google Patents

Character boldfacing system

Info

Publication number
JPH05313638A
JPH05313638A JP4144817A JP14481792A JPH05313638A JP H05313638 A JPH05313638 A JP H05313638A JP 4144817 A JP4144817 A JP 4144817A JP 14481792 A JP14481792 A JP 14481792A JP H05313638 A JPH05313638 A JP H05313638A
Authority
JP
Japan
Prior art keywords
gap
thick line
path
outline
character
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
JP4144817A
Other languages
Japanese (ja)
Inventor
Akira Ichikawa
明 市川
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP4144817A priority Critical patent/JPH05313638A/en
Publication of JPH05313638A publication Critical patent/JPH05313638A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To prevent a character from becoming disordered by filling a gap between thick line ends, which is generated at a connection part between paths constituting the outline of characters with appropriate shapes such as rectangle a triangle. CONSTITUTION:An outline drawn on the basis of outline data is converted to requested size and inclination. Namely, the outline is enlarged, reduced, deformed, or slanted by a certain angle so as to obtain a character as requested. Then, the 1st path among the paths constituting the outline is plotted thickly. Then, the connection part between the path which is plotted thickly last and the path which is plotted thickly this time, is processed. Namely, the process for filling the gap between the thick line ends is performed. In this case, there are a method 5 for filling the gap into a rectangular shape, a method 6 for filling the gap in the triangular shape, a method 7 for filling the gap into a sectorial shape, etc. Consequently, no thick line gap is left at the connection part.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、文字を太線化する場合
に、文字のアウトラインを構成するパスとパスとの接続
部分に生ずる隙間を埋めるようにした文字太線化方式に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character thickening system for thickening a character so as to fill a gap formed at a connecting portion between paths forming a character outline.

【0002】[0002]

【従来の技術】アウトラインデータより文字を形成する
方法の1つに、アウトラインデータの両側に、或る幅を
とり、その幅内を塗りつぶすことにより、アウトライン
を太線化した文字を形成する方法がある。
2. Description of the Related Art One of methods for forming a character from outline data is a method for forming a character in which an outline is thickened by taking a certain width on both sides of the outline data and filling the width. ..

【0003】図5は、文字太線化の意味を説明する図で
ある。図5(イ)は太線化する前の状態を示し、図5
(ロ)は太線化した後の状態を示している。パスLは、
アウトラインデータの一部であり、これは文字のアウト
ラインを構成する幾つかのパスの1つである。この両側
に、所望の太線化幅Wを取る。太線化ラインF1 ,F2
は、太線化幅Wだけ離れた位置に、パスLと同じ長さだ
け引いた線である。太線化は、太線化ラインF1 と太線
化ラインF2 との間を塗りつぶすことにより行われる。
図5(ロ)の斜線は、塗りつぶしたことを示している。
太線端Eは、太線化した場合の、パスLの長手方向の端
部である。
FIG. 5 is a diagram for explaining the meaning of thickening characters. FIG. 5A shows a state before the bold line is formed, and FIG.
(B) shows the state after the bold line. Path L is
Part of the outline data, which is one of several paths that make up the outline of the character. A desired thick line width W is set on both sides of this. Bold lines F 1 , F 2
Is a line drawn at the position separated by the thickening width W by the same length as the path L. The thickening is performed by filling between the thickening line F 1 and the thickening line F 2 .
The shaded area in FIG. 5B indicates that the area is filled.
The thick line end E is the end of the path L in the longitudinal direction when it is thickened.

【0004】図6は、従来の文字太線化方式の実施例を
示す図である。これは、記号文字の「□」に似たような
アウトラインを太線化する場合を、例にとったものであ
る。図6(イ)はアウトラインを示し、図6(ロ)は、
それを太線化した後の状況を示したものである。
FIG. 6 is a diagram showing an embodiment of a conventional character thickening method. This is an example in which an outline similar to the symbol “□” is thickened. FIG. 6A shows an outline, and FIG. 6B shows
It shows the situation after making it bold.

【0005】図6(イ)のアウトラインは、4つの輪郭
点A〜Dを有し、4つのパス1〜4から構成されてい
る。これら4つのパスに対して、図5に示したような太
線化の処理を施すと、図6(ロ)のようになる。斜線部
は、太線化により塗りつぶした部分である。
The outline of FIG. 6 (a) has four contour points A to D and is composed of four paths 1 to 4. When the thickening processing as shown in FIG. 5 is applied to these four paths, the result is as shown in FIG. The shaded area is the area filled with thick lines.

【0006】すると、パスとパスとの接続部分におい
て、パスの太線端間に隙間が生ずる。なぜなら、パスの
接続部である輪郭点のところでアウトラインは折れ曲が
るから、太線端の半分は相手の太線化領域内(斜線部)
に入り込むが、残り半分は相手の太線化領域から離れる
ためである。パス1とパス4との接続部分を例にとって
みると、パス1の太線端E1 の内、輪郭点Aより右方の
部分はパス4の太線化領域内に入り込んでいる。しか
し、輪郭点Aより左方の部分は、パス4の太線化領域か
ら離れている。パス4の太線端E4 に注目した場合も、
同様なことが言える。そのため、太線端E1 と太線端E
4 との間には、太線端間隙間S1 が生ずることになる。
As a result, a gap is formed between the thick line ends of the paths at the connecting portions between the paths. Because the outline is bent at the contour point that is the connection part of the path, half of the thick line end is in the thickened area of the other party (hatched part)
This is because the other half goes away from the thick area of the opponent. Taking the connecting portion between the path 1 and the path 4 as an example, a portion of the thick line end E 1 of the path 1 on the right side of the contour point A enters the thick line region of the path 4. However, the portion on the left side of the contour point A is separated from the thick-lined area of the path 4. Even if you pay attention to the thick line end E 4 of pass 4,
The same can be said. Therefore, thick line end E 1 and thick line end E
A thick line end gap S 1 is formed between the two and 4 .

【0007】なお、図6(ロ)において、E2 はパス2
の太線端、E3 はパス3の太線端、E4 はパス4の太線
端、S2 は太線端E1 ,E2 間の太線端間隙間、S3
太線端E2 ,E3 間の太線端間隙間、S4 は太線端
3 ,E4 間の太線端間隙間を表している。
In FIG. 6B, E 2 is the path 2
Thick line end, E 3 is the thick line end of pass 3, E 4 is the thick line end of pass 4, S 2 is the gap between the thick line ends between E 1 and E 2 , S 3 is between the thick line ends E 2 and E 3. Of the thick line ends, and S 4 represents a gap between the thick line ends of the thick line ends E 3 and E 4 .

【0008】[0008]

【発明が解決しようとする課題】しかしながら、前記し
た従来の文字太線化方式では、太線化幅Wを大にする
と、パスの接続部分に生ずる太線端間隙間が大きくなっ
て目立ち、文字が見苦しくなるという問題点があった。
本発明は、このような問題点を解決することを課題とす
るものである。
However, in the above-mentioned conventional character thickening method, when the thickening width W is increased, the gap between the thick line ends generated at the connecting portion of the path becomes conspicuous and the characters become unsightly. There was a problem.
An object of the present invention is to solve such a problem.

【0009】[0009]

【課題を解決するための手段】前記課題を解決するた
め、本発明の文字太線化方式では、文字の輪郭を形成す
るパスを太線化した際にパス接続部に生ずる太線端間隙
間を埋めて、文字の一部とすることとした。
In order to solve the above-mentioned problems, in the character thickening method of the present invention, when the path forming the outline of the character is thickened, the gap between the thick line ends generated in the path connecting portion is filled. , Decided to be part of the character.

【0010】[0010]

【作 用】複数個のパスから成る文字のアウトライン
を太線化する際、パスとパスとの接続部に生ずる太線端
間隙間を、4角形,3角形,扇形等適宜の形状で埋め
る。それにより、太線化した文字が見苦しくなるのを防
ぐことが可能となる。
[Operation] When thickening the outline of a character consisting of multiple paths, fill the gaps between the ends of the thick lines that occur at the connection between the paths with an appropriate shape such as a quadrangle, triangle, or fan. Thereby, it becomes possible to prevent the bolded characters from being unsightly.

【0011】[0011]

【実施例】以下、本発明の実施例を図面に基づいて詳細
に説明する。図4は、4角形で太線端間隙間を埋める接
続処理を説明する図である。符号は、図6のものに対応
している。1F1 ,1F2 ,4F1 ,4F2 は太線化ラ
イン、Pは太線端間隙間S1 に面している太線化ライン
1F1 の端点、Qは太線端間隙間S1 に面している太線
化ライン4F1 の端点である。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 4 is a diagram illustrating a connecting process for filling a gap between thick line ends with a quadrangle. The reference numerals correspond to those in FIG. 1F 1, 1F 2, 4F 1 , 4F 2 is thickening line, P is the end point of the thickened line 1F 1 facing the thick line between end gap S 1, Q faces between thick line end gap S 1 This is the end point of the thick line 4F 1 .

【0012】この例では、太線端間隙間S1 を、4角形
で埋める。その4角形は、輪郭点Aと端点P,Qと、太
線化ライン1F1 と太線化ライン4F1 の延長線の交点
Rとで出来る4角形である。それには、この4角形がど
の位置にある4角形であるかを特定する必要がある。4
角形を特定するには、4角形の頂点の座標を求めればよ
い。
In this example, the gap S 1 between the thick line ends is filled with a quadrangle. The quadrangle is a quadrangle formed by the contour point A, the end points P and Q, and the intersection R of the extension lines of the thick line 1F 1 and the thick line 4F 1 . To do so, it is necessary to specify the position of this quadrangle. Four
In order to specify the polygon, the coordinates of the vertices of the rectangle may be obtained.

【0013】輪郭点Aの座標は、与えられている。端点
Pの座標は、輪郭点Aの座標を、パス1に対して直角方
向に太線化幅Wだけシフトすることにより、求めること
が出来る。同様に、端点Qの座標は、輪郭点Aの座標
を、パス4に対して直角方向に太線化幅Wだけシフトす
ることにより、求めることが出来る。交点Rは、パス1
を太線化幅Wだけシフトした太線化ライン1F1 と、パ
ス4を太線化幅Wだけシフトした太線化ライン4F1
の交点として、求めることが出来る。
The coordinates of the contour point A are given. The coordinates of the end point P can be obtained by shifting the coordinates of the contour point A in the direction perpendicular to the path 1 by the thickening width W. Similarly, the coordinates of the end point Q can be obtained by shifting the coordinates of the contour point A by a thickening width W in the direction perpendicular to the path 4. Intersection R is path 1
Can be obtained as the intersection of the thickening line 1F 1 shifted by the thickening width W and the thickening line 4F 1 shifting the path 4 by the thickening width W.

【0014】図3は、本発明の文字太線化方式を適用し
た太線化の例を示す図である。5は接続部分である。こ
の例では、図4で説明した4角形で太線端間隙間を埋め
て、接続部分を処理している。このようにすれば、接続
部分に、太線端間隙間が出来ず、太線化幅を大にしたと
しても、見苦しくなることがない。
FIG. 3 is a diagram showing an example of thickening of characters using the character thickening method of the present invention. 5 is a connection part. In this example, the connecting portion is processed by filling the gap between the thick line ends with the quadrangle described in FIG. With this configuration, a gap between the thick line ends is not formed in the connection portion, and even if the thickening width is increased, it does not become unsightly.

【0015】図2は、太線端間隙間を埋める種々の方法
を示す図であり、5〜7は接続部分である。図2(イ)
は、既に説明した4角形で埋める方法を示している。図
2(ロ)は、三角形で埋める方法を示している。図2
(ハ)は、扇形で埋める方法を示している。この他の方
法で埋めることも、勿論可能であり、必要に応じて適宜
採用することが出来る。
FIG. 2 is a diagram showing various methods for filling the gap between the ends of the thick line, and 5 to 7 are connection portions. Figure 2 (a)
Shows the method of filling with the quadrangle already explained. FIG. 2B shows a method of filling with triangles. Figure 2
(C) shows a method of filling with a fan shape. Of course, it is also possible to fill it by other methods, and it can be appropriately adopted as needed.

【0016】図1は、本発明の文字太線化方式を説明す
るフローチャートである。 ステップ1…まず、太線端間隙間をどのような方法で埋
めるか、その接続方法を指定する。例えば、4角形で接
続すると指定する(図2(イ)参照)。 ステップ2…アウトラインデータを基にして描いたアウ
トラインを、求められている大きさや傾きとなるように
変換する(これを「アフィン変換」という)。即ち、要
求通りの文字となるよう、拡大したり,縮小したり,変
形したり、あるいは或る角度だけ傾けたりする。
FIG. 1 is a flow chart for explaining the character thickening method of the present invention. Step 1 ... First, how to fill the gap between the ends of the thick line and the connection method are specified. For example, the connection is specified as a quadrangle (see FIG. 2A). Step 2: The outline drawn based on the outline data is converted to have the required size and inclination (this is called "affine transformation"). That is, the characters are enlarged, reduced, deformed, or tilted by a certain angle so that the desired characters can be obtained.

【0017】ステップ3…アウトラインを構成するパス
の内の、第1番目のパスに対して、図5に示したような
太線描画を行う。 ステップ4…太線描画し終わったパス数を表すパラメー
タをNとし、N=1とする。 ステップ5…Nの値が、太線化しようとしている文字の
アウトラインを構成する全パス数に達したか否か判断す
る。達したら、もはや、太線描画するパスはなくなった
ことになるから、ステップ9に進む。
Step 3: The thick line as shown in FIG. 5 is drawn on the first path of the paths forming the outline. Step 4 ... Let N be a parameter indicating the number of passes for which bold line drawing has been completed. Step 5 ... It is judged whether or not the value of N has reached the total number of passes forming the outline of the character to be thickened. When it reaches, it means that there are no more paths for thick line drawing, so the process proceeds to step 9.

【0018】ステップ6…太線描画を行うパスとして次
のパスを選ぶため、N=N+1とする。 ステップ7…前回太線描画したパスと、今回太線描画す
るパスとの接続部を処理する。つまり、ここで、太線端
間隙間を埋める処理をする。 ステップ8…今回太線描画の対象として選んだN番目の
パスに対して、太線描画を実行する。これを終えれば、
ステップ5に戻り、全てのパスについての処理が終了し
たかを判断する。 ステップ9…最終パスと第1番目のパスとの間の接続処
理をする。これで、全ての太線端間隙間は、埋められる
ことになる。
Step 6 ... N = N + 1 in order to select the next path as a path for drawing a thick line. Step 7 ... Processes the connection between the path previously drawn by the bold line and the path drawn by the thick line this time. That is, here, the process of filling the gap between the thick line ends is performed. Step 8: The thick line drawing is executed for the Nth path selected as the target of the thick line drawing this time. If you finish this,
Returning to step 5, it is judged whether the processing for all the paths is completed. Step 9 ... Perform connection processing between the final path and the first path. With this, all the gaps between the ends of the thick lines are filled.

【0019】[0019]

【発明の効果】以上述べた如く、本発明の文字太線化方
式によれば、文字のアウトラインを構成するパスとパス
との接続部に生じていた太線端間隙間を、3角形や4角
形といった適宜の形状で埋めるので、文字が見苦しくな
るのを防ぐことが出来る。
As described above, according to the character thickening method of the present invention, the gap between the thick line ends, which is generated at the connecting portion between the paths forming the character outline, is set to be a triangle or a quadrangle. Since it is filled with an appropriate shape, it is possible to prevent the characters from being unsightly.

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

【図1】 本発明の文字太線化方式を説明するフローチ
ャート
FIG. 1 is a flowchart illustrating a character thickening method according to the present invention.

【図2】 太線端間隙間を埋める種々の方法を示す図FIG. 2 is a diagram showing various methods for filling a gap between thick line ends.

【図3】 本発明の文字太線化方式を適用した太線化の
例を示す図
FIG. 3 is a diagram showing an example of thickening to which a character thickening method of the present invention is applied.

【図4】 4角形で太線端間隙間を埋める接続処理を説
明する図
FIG. 4 is a diagram illustrating a connection process for filling a gap between thick line ends with a quadrangle.

【図5】 文字太線化の意味を説明する図FIG. 5 is a diagram illustrating the meaning of thickening characters.

【図6】 従来の文字太線化方式の実施例を示す図FIG. 6 is a diagram showing an embodiment of a conventional character thickening method.

【符号の説明】[Explanation of symbols]

1〜4…パス、5〜7…接続部分、P…パス、E…太線
端、F1 ,F2 …太線化ライン、W…太線化幅、S1
4 …太線端間隙間
1-4 ... path, 5-7 ... connecting portion, P ... path, E ... thick line end, F 1, F 2 ... thickening line, W ... thickening width, S 1 ~
S 4 … Gap between thick line ends

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 文字の輪郭を形成するパスを太線化した
際にパス接続部に生ずる太線端間隙間を埋めて、文字の
一部とすることを特徴とする文字太線化方式。
1. A character thickening method, characterized in that when a path forming a contour of a character is thickened, a gap between thick line ends generated in a path connecting portion is filled to form a part of the character.
JP4144817A 1992-05-11 1992-05-11 Character boldfacing system Pending JPH05313638A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4144817A JPH05313638A (en) 1992-05-11 1992-05-11 Character boldfacing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4144817A JPH05313638A (en) 1992-05-11 1992-05-11 Character boldfacing system

Publications (1)

Publication Number Publication Date
JPH05313638A true JPH05313638A (en) 1993-11-26

Family

ID=15371155

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4144817A Pending JPH05313638A (en) 1992-05-11 1992-05-11 Character boldfacing system

Country Status (1)

Country Link
JP (1) JPH05313638A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015121962A1 (en) * 2014-02-14 2015-08-20 三菱電機株式会社 Character rendering device, character rendering method, and character rendering program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015121962A1 (en) * 2014-02-14 2015-08-20 三菱電機株式会社 Character rendering device, character rendering method, and character rendering program

Similar Documents

Publication Publication Date Title
US7142224B2 (en) Polygon drawing apparatus and method, and storage medium for implementing the same method
JPH05313638A (en) Character boldfacing system
JPH11175740A (en) Method and device for drawing thin line
JP2516361B2 (en) Enlarged character smoothing method
JPH07200664A (en) Drawing paint-out method
US5404429A (en) Figure processing apparatus
JPH06100906B2 (en) Character processing method
JP3236410B2 (en) Contour line forming method
JP2841870B2 (en) Drawing method of cubic Bezier curve
JP3179383B2 (en) Circle drawing method
JPH0687261B2 (en) Image reduction method
JPH0350686A (en) Graphic processing system
JP3454150B2 (en) Clipping drawing device
JP3727148B2 (en) Skinning curved surface generation method and apparatus, and recording medium recording a program for generating the curved surface
JP3334989B2 (en) Figure creation apparatus and method
JP2784591B2 (en) Drawing method
JP3700810B2 (en) Data conversion method and apparatus
JP3359166B2 (en) Printer device and line segment division drawing method of printer device
JPH06274308A (en) Uniform modeling generation processing method for bezier curve
JPS63256988A (en) Spline interpolation
JPH0584520B2 (en)
JPH05189535A (en) Control system for graphic movement on display screen
JPS59181871A (en) System for correcting magnified character
JP3085396B2 (en) Vector font development method and device
JP2634906B2 (en) Image processing method