JP3224138B2 - Kanji font generation method - Google Patents

Kanji font generation method

Info

Publication number
JP3224138B2
JP3224138B2 JP35363991A JP35363991A JP3224138B2 JP 3224138 B2 JP3224138 B2 JP 3224138B2 JP 35363991 A JP35363991 A JP 35363991A JP 35363991 A JP35363991 A JP 35363991A JP 3224138 B2 JP3224138 B2 JP 3224138B2
Authority
JP
Japan
Prior art keywords
stroke
edge
outline
image
pattern
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
Application number
JP35363991A
Other languages
Japanese (ja)
Other versions
JPH05165457A (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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP35363991A priority Critical patent/JP3224138B2/en
Publication of JPH05165457A publication Critical patent/JPH05165457A/en
Application granted granted Critical
Publication of JP3224138B2 publication Critical patent/JP3224138B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、漢字フォントの生成方
式に係り、より詳しくは、画(カク)の幾何的パラメー
タを与えることによって画のアウトラインを関数的に生
成し、画アウトラインの集合として漢字フォントを生成
する方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for generating a kanji font, and more particularly, to generate a drawing outline functionally by giving a drawing (kaku) geometric parameter, and as a set of drawing outlines. It relates to a method for generating a kanji font.

【0002】[0002]

【従来の技術】漢字は、膨大な文字種があるうえに複雑
なパターンを持つので、そのデザインの作業量が極めて
大きく、また漢字のパターンをビットマップデータとし
て記憶しようとすると極めて大きなメモリ量を必要とす
る。特に、高品質の漢字フォントを得ようとすると、必
要なメモリ量は膨大となる。
2. Description of the Related Art Kanji has an enormous character type and has a complicated pattern, so the design work is extremely large, and an extremely large amount of memory is required to store the kanji pattern as bitmap data. And In particular, in order to obtain high-quality kanji fonts, the amount of required memory is enormous.

【0003】そこで従来、高品質の漢字フォントを必要
とする場合には、漢字の原字をビットマップ化したの
ち、一般的な2値画像処理によって輪郭ベクトル化する
アウトライン方式が用いられている。
Conventionally, when a high-quality kanji font is required, an outline method is used in which the original kanji character is converted into a bitmap and then converted into an outline vector by general binary image processing.

【0004】[0004]

【発明が解決しようとする課題】しかし、従来のアウト
ライン方式は、ビットマップデータの記憶に必要な非現
実的なメモリ量を削減するための次善的手段に過ぎない
ものであって、改善の余地が多い。
However, the conventional outline method is only a sub-optimal means for reducing the amount of unrealistic memory required for storing bitmap data. There is much room.

【0005】漢字のパターンは、画と呼ばれる単位要素
の集合として表現されるという特徴があるが、従来のア
ウトライン方式では、輪郭ベクトル化の際に、画相互の
干渉(交差、接触)によって線分が細分化されることに
より、アウトラインデータに冗長、有害なベクトルを多
く含んでおり、データ量及びメモリ量の削減にも限度が
あった。また、従来のアウトライン方式は、漢字フォン
トの部分的修正が実際上不可能で、編集性に欠けてい
た。
A characteristic of a kanji pattern is that it is expressed as a set of unit elements called an image. In the conventional outline method, when a contour vector is formed, a line segment is generated due to interference (intersection, contact) between the images. , The outline data contains many redundant and harmful vectors, and there is a limit to the reduction of the data amount and the memory amount. In the conventional outline method, partial correction of a kanji font was practically impossible, and lacked editability.

【0006】よって本発明の一つの目的は、漢字フォン
ト生成のためのデータ量を大幅に削減でき、かつ編集性
に優れた漢字フォント生成方式を提供することにある。
SUMMARY OF THE INVENTION It is therefore an object of the present invention to provide a kanji font generation method capable of greatly reducing the amount of data for kanji font generation and having excellent editability.

【0007】漢字は単なる画の集合ではなく、画の部分
集合である偏旁要素を単位として構成される。この偏旁
−画の階層構造を利用することによって、大幅なメモリ
削減とフォント編集の操作性向上を期待できる。しか
し、偏旁と画を単位としてフォントを構成する方式にも
問題がある。例えば、漢字を合成する場合にパターンの
要素のアフィン変換が必要となるが、偏旁に単純にアフ
ィン変換を施すと、垂直、水平度による歪みが生じ、バ
ランスの良好な自然なフォントを合成できないという問
題がある。
A kanji is not simply a set of strokes, but is constructed in units of neighboring elements, which are subsets of strokes. By utilizing the hierarchical structure of the side-by-side picture, a great reduction in memory and improvement in operability of font editing can be expected. However, there is also a problem in a method of composing a font in units of sidelines and pictures. For example, when combining kanji, affine transformation of pattern elements is necessary, but if affine transformation is simply applied side by side, distortion due to vertical and horizontality occurs, and it is not possible to combine well-balanced natural fonts There's a problem.

【0008】図19は、偏旁の「我」を用いて「義」を
合成する例を示している。400はもとになる「我」の
パターン、401はパターン400の全体に単純にアフ
ィン変換を行なったパターン、402は目標とすべき
「義」のパターンである。401のパターンでは、「た
すき」に見られるように、上が太く下が細く、というよ
うように水平、垂直度による歪みが生じる。
FIG. 19 shows an example of synthesizing "righteousness" using "I" which is adjacent. Reference numeral 400 denotes an original “I” pattern, reference numeral 401 denotes a pattern obtained by simply performing an affine transformation on the entire pattern 400, and reference numeral 402 denotes a target “righteousness” pattern. In the pattern 401, distortion is caused by horizontal and vertical degrees, such as a thick top and a narrow bottom, as seen in the "crossing".

【0009】このようなパターンの歪みを減らし402
のようなフォントパターンを合成するためには、「我」
の個々の画のアウトラインを独立に修正できればよい。
しかし、従来のアウトライン方式では、このような修正
は困難である。したがって、従来のアウトライン方式
は、全ての漢字の原字をデザインしなければならないの
が実情である。
[0009] Such pattern distortion is reduced 402.
To synthesize a font pattern like
It is only necessary that the outline of each image can be independently corrected.
However, such correction is difficult with the conventional outline method. Therefore, in the conventional outline method, it is a fact that the original characters of all kanji must be designed.

【0010】本発明の他の目的は、偏旁−画の階層構造
を効果的に利用できる漢字フォント生成方式を提供する
こと、漢字フォントのパラメトリックな編集が可能な漢
字フォント生成方式を提供することである。本発明のも
う一つの目的は、基準書体のデータを用いて、様々なス
タイル、書体、サイズの漢字フォントパターンを容易に
生成できる漢字フォント生成方式を提供することにあ
る。
[0010] Another object of the present invention is to provide a kanji font generation system capable of effectively utilizing a hierarchical structure of side-by-side images, and to provide a kanji font generation system capable of parametric editing of a kanji font. is there. It is another object of the present invention to provide a kanji font generation method that can easily generate kanji font patterns of various styles, fonts, and sizes using data of a reference font.

【0011】[0011]

【課題を解決するための手段】請求項1の発明の特徴
は、画のアウトラインを1個の閉ループとして、4種の
幾何的パラメータ、すなわち、運筆上の始点、屈曲点ま
たは終点に対応するストローク端点の位置、運筆上の力
点のアウトライン部分に対応するアクセントエッジ、ア
クセントエッジを除いた運筆上の軌跡に対応するアウト
ライン部分であるストロークエッジ、及び、ストローク
エッジの始端及び終端における間隔に対応する線径によ
り定義し、これら4種の幾何的パラメータに基づき関数
的に画のアウトラインを生成し、画のアウトラインの集
合として漢字のフォントを得ることである。
A feature of the present invention resides in that the outline of an image is defined as one closed loop, and four types of geometric parameters, that is, strokes corresponding to a starting point, a bending point, or an ending point on a stroke. The position of the end point, the accent edge corresponding to the outline part of the emphasis point on the stroke, the stroke edge which is the outline part corresponding to the trajectory on the stroke excluding the accent edge, and the line corresponding to the interval at the beginning and end of the stroke edge It is defined by the diameter, the outline of the image is generated functionally based on these four types of geometric parameters, and a kanji font is obtained as a set of outlines of the image.

【0012】請求項2の発明の特徴は、請求項1の発明
による漢字フォント生成方式において、一定種類のアク
セントエッジのパターンを用意し、それぞれに付与され
たインデックス番号によりアクセントエッジを指定する
ことである。
A feature of the second aspect of the present invention is that, in the kanji font generation method according to the first aspect of the present invention, a certain type of accent edge pattern is prepared, and the accent edge is designated by an index number assigned to each pattern. is there.

【0013】請求項3の発明の特徴は、請求項1の発明
による漢字フォント生成方式において、一定種類のスト
ロークエッジのパターンを用意し、それぞれに付与され
たインデックス番号によりストロークエッジを指定する
ことである。
A feature of the third aspect of the present invention is that, in the kanji font generation method according to the first aspect of the present invention, a certain type of stroke edge pattern is prepared and the stroke edge is designated by an index number assigned to each. is there.

【0014】請求項4の発明の特徴は、請求項1の発明
による漢字フォント生成方式において、ストロークエッ
ジの一方のエッジを他方のエッジから関数的に生成する
ことである。
According to a fourth aspect of the present invention, in the kanji font generating method according to the first aspect of the present invention, one of the stroke edges is generated functionally from the other edge.

【0015】請求項5の発明の特徴は、請求項1の発明
による漢字フォント生成方式において、基準書体につい
てのみストローク端点の座標を定義し、この座標に対す
る変位ベクトルとして他の書体のストローク端点の座標
を定義することである。
According to a fifth aspect of the present invention, in the kanji font generation system according to the first aspect of the present invention, the coordinates of the stroke end point are defined only for the reference typeface, and the coordinates of the stroke end point of another typeface are defined as a displacement vector with respect to the coordinates. Is to define

【0016】請求項6の発明の特徴は、請求項1の発明
による漢字フォント生成方式において、画のアウトライ
ンの集合として偏旁要素を合成し、この合成の際に、画
アウトラインのストローク端点のみにアフイン変換を施
すことである。
According to a sixth aspect of the present invention, in the kanji font generation system according to the first aspect of the present invention, a side element is synthesized as a set of outlines of an image, and at the time of this synthesis, only the stroke end points of the outline of the image are added. To perform the conversion.

【0017】[0017]

【作用】請求項1の発明 画アウトラインのパラメトリックな生成が可能になる。
そして、画を定義する4種の幾何的パラメータはそれぞ
れ独立しているので、あるパラメータを他のパラメータ
と相互干渉を起こさせずに修正できるため、例えば、ス
トロークの位置、大きさを変えずに、線径のみを修正す
るというようなことが可能であり、漢字フォントの編
集、加工が容易である。これに対し、ストロークループ
を幾何学的な点列と曲線種で表わすようなノンパラメト
リックな方式では、ストロークの位置の変更を行なうべ
き点列を特定することが困難である。
According to the first aspect of the present invention, it is possible to generate a parametric outline.
Since the four types of geometric parameters defining an image are independent of each other, a certain parameter can be corrected without causing mutual interference with other parameters. For example, without changing the position and size of a stroke, It is possible to correct only the wire diameter, and the kanji font can be easily edited and processed. On the other hand, in a non-parametric method in which a stroke loop is represented by a geometric point sequence and a curve type, it is difficult to specify a point sequence at which the position of a stroke should be changed.

【0018】また、1個の画を1個のデータセットと1
個の描画ルーチンの組み合わせで表現することができる
が、これは描画ルーチンによって書体を設定できること
を意味する。そして、4種の幾何的パラメータのそれぞ
れの意味は、書体の違いに拘らず共通である。したがっ
て、パラメータの解釈、すなわち画の関数を変更するこ
とによって、パラメータを変更することなく、図20に
例示するようなスタイルの異なる漢字フォントを生成す
ることができる。
Further, one image is divided into one data set and one data set.
It can be expressed by a combination of individual drawing routines, which means that the font can be set by the drawing routine. The meanings of the four types of geometric parameters are common regardless of the typeface. Therefore, by interpreting the parameters, that is, changing the function of the image, it is possible to generate a kanji font having a different style as illustrated in FIG. 20 without changing the parameters.

【0019】請求項2,3の発明 画アウトラインのアクセントエッジは、毛筆の運筆上に
おける端点、節点における紙に垂直な動きの痕跡の様式
化であり、ストロークエッジのように大きな動作範囲
(大きな分解能)を要せず、エッジを形成するベクトル
のビット数を減らすことができる。さらに、同タイプの
アクセント(例えば横線のウロコ)は、すべての文字の
すべてのパターンで定量的に近似しているので、少数の
ランクのパターンを用意し、その中から必要なパターン
を選択して用いることができる。よって、予め用意した
パターンのインデックス番号によってアクセントエッジ
を指定する方式によれば、アクセントエッジに関するデ
ータ量を効果的に削減できる。
The accent edges of the drawing outline are stylized traces of movement perpendicular to the paper at the end points and nodes on the brush stroke, and have a large operating range (large resolution) like stroke edges. ) Is not required, and the number of bits of a vector forming an edge can be reduced. Furthermore, since the same type of accent (for example, horizontal scale) is quantitatively approximated for all patterns of all characters, prepare patterns with a small number of ranks and select the required pattern from among them. Can be used. Therefore, according to the method of designating the accent edge by the index number of the pattern prepared in advance, the data amount regarding the accent edge can be effectively reduced.

【0020】ストロークエッジについても同様で、予め
用意した一定種類のパターンからインデックス番号によ
ってパターンを選び、ストローク端点の位置を基準にし
て選択されたパターンのストロークエッジを関数的に生
成することができる。これによって、ストロークエッジ
に関するデータ量を削減できる。
The same applies to stroke edges. A pattern can be selected from predetermined types of patterns by an index number, and a stroke edge of the selected pattern can be functionally generated based on the position of the stroke end point. As a result, the data amount related to the stroke edge can be reduced.

【0021】請求項4の発明 画アウトラインのストロークエッジは、リアルな運筆の
軌跡を表現するもので、そのベクトルの分解能も全領域
をカバーできる必要がある。しかし、ストロークエッジ
は、筆の上下運動を伴わない水平運動の様式化であり、
一様な間隔の、つまり間隔が一定または、なだらなに変
化する2本のエッジで表現できる。したがって、ストロ
ークエッジの一方のエッジを実ベクトルで定義し、他方
のエッジを関数的に生成することは容易である。
The stroke edge of the image outline represents a real stroke of the stroke, and the resolution of the vector must be able to cover the entire area. However, the stroke edge is a stylization of horizontal movement without vertical movement of the brush,
It can be represented by two edges having a uniform interval, that is, a constant interval or a gradual change. Therefore, it is easy to define one of the stroke edges as a real vector and generate the other edge functionally.

【0022】このようにストロークエッジの一方を他方
のエッジより関数的に生成する方式によれば、データ量
を削減できるとともに、2本のエッジの双方を実ベクト
ルで定義した場合に心配されるような両エッジの一様性
を損なう危険も排除できる。
According to the method in which one of the stroke edges is generated functionally from the other edge, the amount of data can be reduced, and when both of the two edges are defined by a real vector, there is a concern. The risk of damaging the uniformity of both edges can also be eliminated.

【0023】請求項5の発明 1個の文字種は1個の定性的な画の構造で定義される。
スタイルの違いは、この画構造についての定量化の相違
にすぎない。ストローク端点パラメータのように画構造
を表現するパラメータを持てば、ある文字のある画の1
個のストローク端点の位置は、異なるスタイルの文字間
で限られた範囲内に分散する。図21は、このストロー
ク端点位置の分散の様子を示している。
According to the fifth aspect of the present invention, one character type is defined by one qualitative image structure.
Differences in style are only quantification differences for this image structure. If there is a parameter that expresses the image structure like the stroke end point parameter, one
The positions of the stroke endpoints are distributed within a limited range between characters of different styles. FIG. 21 shows how the stroke end points are dispersed.

【0024】したがって、基準となるある書体について
ストローク端点を実ベクトルで定義すれば、他の書体の
ストローク端点を、基準書体のストローク端点に対する
変位ベクトルで定義できる。この変位ベクトルの分解能
は実ベクトルに比べ分解能は小さくでよい。よって、多
くの種類の書体のフォントを必要とする場合にも、デー
タ量及びメモリ量をかなり少なくできる。
Therefore, if the stroke end point of a certain typeface as a reference is defined by a real vector, the stroke end point of another typeface can be defined by a displacement vector with respect to the stroke end point of the reference typeface. The resolution of the displacement vector may be smaller than that of the real vector. Therefore, even when many types of fonts are required, the data amount and the memory amount can be considerably reduced.

【0025】請求項6の発明 漢字が偏旁−画の階層構造を持つので、画のアウトライ
ンの集合として偏旁要素を合成することができる。この
場合、例えば図7〜図9に示すような28種の画アウト
ラインを組み合わせることにより、一般的な漢字を全て
合成可能と考えられる。
Since the kanji has a side-by-side hierarchical structure, the side by side elements can be combined as a set of outlines of the stroke. In this case, it is considered that all common Chinese characters can be combined by combining 28 types of image outlines as shown in FIGS.

【0026】具体的には、この28種の画アウトライン
を拡張し、すべての偏旁(120種程度)を用意し、こ
れにサイズと位置を指定してフォントを構成すれば、デ
ータ量、メモリ量は劇的に減少する。そして、この合成
の際に、画アウトラインの全体にアフィン変換を施さ
ず、ストローク端点のみにアフィン変換を施すことによ
って、図19により説明したようなフォント品質上無視
できないようなパターンの歪みを除去できる。
More specifically, by expanding these 28 types of image outlines, preparing all of the sidelines (about 120 types), and specifying a size and a position in these fonts, a data amount and a memory amount can be obtained. Decreases dramatically. By performing affine transformation only on stroke end points without performing affine transformation on the entire image outline at the time of this synthesis, pattern distortion that cannot be ignored in font quality as described with reference to FIG. 19 can be removed. .

【0027】なお、アフィン変換をストローク端点のみ
に限定することにより形状の自由度が制限される(例え
ば、すべての言偏は位置、サイズの自由度があるが、す
べて相似形となる)。しかし、これをデザイン・アイテ
ムの一種と考えれば、格別の不利益となるものではな
く、むしろフォント作成の手間やメモリ量を激減できる
利益が大きい。
The degree of freedom of the shape is limited by limiting the affine transformation to only the end points of the stroke (for example, all words have a degree of freedom in position and size, but all have similar shapes). However, if this is considered as a kind of design item, it is not particularly disadvantageous, but rather has a great advantage that the labor and the amount of memory for font creation can be drastically reduced.

【0028】[0028]

【実施例】以下、図面を用い、本発明を実施例により具
体的に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to the drawings.

【0029】まず、画アウトラインの構造と用語につい
て、図1により具体的に説明する。 (a)に示す「左払い」の画のアウトラインは、一対の
ストロークエッジ100,101と、一つのアクセント
エッジ102から構成される。100をストロークエッ
ジの主辺と呼び、101を副辺と呼ぶ。103と104
はストローク端点の始点と終点である。105は主辺1
00及びアクセントエッジ102の始点、106はアク
セントエッジ102の終点であるが、同時に副辺101
の始点でもある。wは線径である。
First, the structure and terms of the image outline will be specifically described with reference to FIG. The outline of the image of “left pay” shown in (a) is composed of a pair of stroke edges 100 and 101 and one accent edge 102. 100 is called the main side of the stroke edge, and 101 is called the sub-side. 103 and 104
Are the start and end points of the stroke end points. 105 is the main edge 1
00 and the start point 106 of the accent edge 102 are the end points of the accent edge 102, but at the same time
It is also the starting point of w is a wire diameter.

【0030】(b)に示す「縦線」の画のアウトライン
は、アクセントエッジの主辺110及び副辺111と、
アクセントエッジ112からなる。113と114はス
トローク端点たる始点と終点、115は主辺110及び
アクセントエッジ112の始点、116は副辺の始点で
あると同時にアクセントエッジ112の終点である。
The outline of the "vertical line" image shown in FIG. 3B is composed of the main side 110 and the sub-side 111 of the accent edge,
Consists of accent edges 112. Reference numerals 113 and 114 denote start and end points which are stroke end points, reference numeral 115 denotes a start point of the main side 110 and the accent edge 112, and reference numeral 116 denotes a start point of the sub-side and an end point of the accent edge 112.

【0031】(c)に示す「かぎ」の画のアウトライン
は、第1のストロークエッジの主辺120と副辺12
1、第2のストロークエッジの主辺122と副辺12
3、第1のアクセントエッジ124及び第2のアクセン
トエッジ125から構成される。この場合、ストローク
端点として、始点126と終点127のほかに中点(屈
曲点)128がある。
The outline of the "key" image shown in (c) is composed of the main side 120 and the sub-side 12 of the first stroke edge.
1. Major side 122 and minor side 12 of second stroke edge
3. It is composed of a first accent edge 124 and a second accent edge 125. In this case, the stroke end point includes a middle point (bending point) 128 in addition to the start point 126 and the end point 127.

【0032】次に、図2に示した「議」に用いられてい
る「左払い」の画(黒塗りされたもの)を例にして、画
パラメータについて説明する。図2から理解されるよう
に、同じ「左払い」であっても、その傾き、長さ、太さ
等が微妙に異なっているため、本発明では、次に説明す
るような4種の幾何的パラメータを用いて、画アウトラ
インを定義する。図3、図4はその説明図である。
Next, the image parameters will be described with reference to the "left-payment" image (black-painted) used in "gi" shown in FIG. As can be understood from FIG. 2, even if the same “leftward payment” is used, the inclination, length, thickness, and the like are slightly different. The image outline is defined using the dynamic parameters. 3 and 4 are explanatory diagrams thereof.

【0033】図3において、P0はストローク始点、P
2はストローク終点、P1は主辺及びアクセントエッジ
の始点、P3は副辺の始点及びアクセントエッジの終点
であることは、上述の通りである。CはP0,P2を結
ぶ直線の中点から時計回り方向に延ばした垂線が主辺と
交わるまでの距離で、これは主辺の曲率に相当する。w
は線径である。
In FIG. 3, P0 is the stroke start point, P
2 is the stroke end point, P1 is the start point of the main side and the accent edge, and P3 is the start point of the sub side and the end point of the accent edge, as described above. C is the distance from the midpoint of the straight line connecting P0 and P2 to the point at which the perpendicular extending in the clockwise direction intersects the main side, which corresponds to the curvature of the main side. w
Is the wire diameter.

【0034】実際的には後述のように、ストロークエッ
ジのパターン(関数)を一定種類用意しておき、そのパ
ターンを指定し、また曲率Cを指定することによって
(曲率Cの指定を省くことも可能)、別に指定されたス
トローク端点P0,P2及びアクセントエッジの高さ
(下記)より、主辺を関数的に生成することができる。
また副辺は、主辺及び別に指定された線径wから関数的
に生成することができる。
Actually, as described later, a certain type of stroke edge pattern (function) is prepared, the pattern is designated, and the curvature C is designated (the designation of the curvature C may be omitted). Possible), the main side can be generated functionally from the stroke end points P0 and P2 and the height of the accent edge (described below) specified separately.
The sub-side can be functionally generated from the main side and a separately specified wire diameter w.

【0035】そのような予め用意されるストロークエッ
ジパターンの例を図5に示す。ここに示すS1〜S8の
パターンを用いることによって、一般的な漢字に用いら
れる画のほぼ全てのストロークエッジ(主辺)を生成で
きると考えられる。
FIG. 5 shows an example of such a previously prepared stroke edge pattern. By using the patterns S1 to S8 shown here, it is considered that almost all stroke edges (main sides) of an image used for a general kanji can be generated.

【0036】また、図4はアクセントエッジのパターン
を示しているが、その向きを正規化してある。P0とP
3はアクセントエッジの始点と終点であり、これは図3
のP1,P3に対応する。また、P1は図3のP0に対
応する。P2はアクセントエッジの始点P1から最も遠
い点である。
FIG. 4 shows an accent edge pattern, in which the direction is normalized. P0 and P
3 is the start and end points of the accent edge, which is shown in FIG.
P1 and P3. P1 corresponds to P0 in FIG. P2 is a point farthest from the start point P1 of the accent edge.

【0037】アクセントパターンに高度の自由度を認め
る場合、アクセントエッジの高さm、線径w、P3から
P2へのベクトルv(dx,dy)の3個の数値パラメ
ータでアクセントエッジのパターンを定義する。
When a high degree of freedom is recognized in the accent pattern, the accent edge pattern is defined by three numerical parameters of the height m of the accent edge, the line diameter w, and the vector v (dx, dy) from P3 to P2. I do.

【0038】実際的には後述のように、アクセントエッ
ジのパターン(関数)を予め一定種類用意しておき、パ
ターンを選択し、ストロークエッジと正しく連続するよ
うにパターンの拡大縮小と回転を行なうことにより、必
要なアクセントエッジを生成することができる。
Actually, as will be described later, a certain type of accent edge pattern (function) is prepared in advance, a pattern is selected, and the pattern is scaled and rotated so as to be correctly continued to the stroke edge. Thus, a necessary accent edge can be generated.

【0039】そのような予め用意されるアクセントエッ
ジパターンの例を図6に示す。ここに示すA1〜A8の
パターンを用いることによって、一般的な漢字に用いら
れる画のほぼ全てのアクセントエッジを生成できると考
えられる。
FIG. 6 shows an example of such an accent edge pattern prepared in advance. By using the patterns A1 to A8 shown here, it is considered that almost all accent edges of an image used for a general kanji can be generated.

【0040】図5の8種のストロークエッジパターンと
図6に示すアクセントエッジパターンの組み合わせによ
り生成できる28種の画アウトラインを、図7〜図9に
示す。図中のSi,Aiは図5または図6のパターン番
号(名)と同じである。Kiは画パターン番号(名)で
ある。また、破線はストロークエッジのうちの副辺であ
る。あるフォントの場合、上記28種の画アウトライン
パターンによって全ての漢字フォントを生成できる。
FIGS. 7 to 9 show 28 image outlines that can be generated by combining the eight stroke edge patterns shown in FIG. 5 and the accent edge patterns shown in FIG. Si and Ai in the figure are the same as the pattern numbers (names) in FIG. 5 or FIG. Ki is an image pattern number (name). The broken line is a sub-side of the stroke edge. In the case of a certain font, all the kanji fonts can be generated by the above 28 types of image outline patterns.

【0041】本発明により画アウトラインを生成するア
ウトラインジェネレータの例を図10に示す。200は
ストロークジェネレータ、201はアクセントジェネレ
ータ、203はアフィン変換部である。
FIG. 10 shows an example of an outline generator for generating an image outline according to the present invention. 200 is a stroke generator, 201 is an accent generator, and 203 is an affine transformation unit.

【0042】ストロークジェネレータ200は、図5に
示す8種のストロークエッジ(線分ベクトル)を関数的
に生成するルーチンの集合である。これは、ストローク
エッジの主辺より副辺を関数的に生成する際に参照する
太さ関数表204(内容は後述する)を持つ。
The stroke generator 200 is a set of routines for functionally generating eight types of stroke edges (line segment vectors) shown in FIG. It has a thickness function table 204 (the contents will be described later) which is referred to when a sub-edge is functionally generated from a main edge of a stroke edge.

【0043】アクセントジェネレータ201は、図6に
示す8種のアクセントエッジ(線分ベクトル)を関数的
に生成するルーチンの集合である。
The accent generator 201 is a set of routines for functionally generating eight types of accent edges (line segment vectors) shown in FIG.

【0044】各ジェネレータ200,201により生成
されるパターンは、アウトラインパターンを描くのに必
要な点の集合で、例えば図11のP0〜P4の5点また
は、これらをスプライン曲線で補間した結果の点群であ
る。重要な点は、これらのアウトライン配列は文字座標
から独立した座標系を持ち、始点(図11のP0)を原
点(0,0)とし、与えられたパラメータ(ストローク
端点、アクセント、線径)によって、回転、拡大縮小
(縦横)、位置の移動というアフィン変換を経て、画の
パターンを描くことである。
The pattern generated by each of the generators 200 and 201 is a set of points required to draw an outline pattern, for example, five points P0 to P4 in FIG. 11 or points obtained by interpolating these points with spline curves. Group. The important point is that these outline arrays have a coordinate system independent of the character coordinates, the starting point (P0 in FIG. 11) is the origin (0, 0), and the given parameters (stroke end point, accent, line diameter) , Rotation, enlargement / reduction (vertical / horizontal), and position movement, and drawing an image pattern.

【0045】各ジェネレータ200,201のルーチン
(パターン)の選択は、目的の画に応じて外部より指定
する。例えば、「縦止め」(k1)のアウトラインを生
成する場合、アクセントエッジについてはA1,A4
ルーチンを、ストロークエッジとしてS3のルーチンを
それぞれ選択させる。
The selection of the routine (pattern) of each of the generators 200 and 201 is designated externally according to the target image. For example, when generating the outline of "vertical stop" (k1), the routine of A1 and A4 is selected for the accent edge, and the routine of S3 is selected as the stroke edge.

【0046】アフィン変換部203は、画アウトライン
より偏旁または文字を合成する際に、必要に応じてスト
ローク端点の位置についてアフィン変換を行なうために
用意されている。
The affine transformation unit 203 is provided for performing affine transformation on the position of the stroke end point as required when combining a character or a character from an image outline.

【0047】次に、「左払い」(K20)を例として、
画アウトラインの生成プロセスについて具体的に説明す
る。図12はその説明図である。
Next, "left payment" (K20) is taken as an example.
The process of generating an image outline will be specifically described. FIG. 12 is an explanatory diagram thereof.

【0048】この画アウトラインは、図9から分かるよ
うに、S5のストロークエッジパターンとA1のアクセ
ントエッジパターンより構成されるので、以下のような
パラメータが外部より指定される。
As can be seen from FIG. 9, this picture outline is composed of the stroke edge pattern of S5 and the accent edge pattern of A1, and the following parameters are designated externally.

【0049】まずストローク生成に関するパラメータと
して、パターン番号(名)すなわちルーチン番号(名)
S5と、図12に示すP0,P1の位置(ストローク端
点)がある。この位置は文字座標(例えば256×25
6)上の絶対座標として指定される。また曲率Cが指定
される。ただし、ストロークエッジの形状の自由度、自
然さを犠牲にしても構わない場合は、Cをデフォルトと
し、外部から指定しないことも不可能ではない。
First, a pattern number (name), that is, a routine number (name) is used as a parameter related to stroke generation.
There are S5 and P0 and P1 positions (stroke end points) shown in FIG. This position is a character coordinate (for example, 256 × 25
6) Specified as absolute coordinates above. Also, the curvature C is specified. However, if it is acceptable to sacrifice the degree of freedom and naturalness of the shape of the stroke edge, it is not impossible to set C as a default and not specify it from the outside.

【0050】アクセントエッジ生成に関するパラメータ
として、パターン番号(名)すなわちルーチン番号
(名)A1と、パターンの高さm、終点から最遠近点へ
のベクトルvがある。なお、曲率と同様に、mとvをデ
フォルトとすることも不可能ではない。線径wはアクセ
ントエッジ生成にも用いられるので、アクセントジェネ
レータ201にも入力する。アウトラインの生成は、次
のようにして行なわれる。
The parameters related to accent edge generation include a pattern number (name), that is, a routine number (name) A1, a pattern height m, and a vector v from the end point to the farthest point. Note that, similarly to the curvature, it is not impossible to set m and v as defaults. Since the wire diameter w is also used for generating an accent edge, it is also input to the accent generator 201. The generation of the outline is performed as follows.

【0051】S5のストロークパターンを選ぶ。図12
(a)に示されるように、P0,P1を結ぶ直線の中点
P2の位置を計算する。次に、P2から時計回り方向に
垂線を出し、曲率Cだけ離れた点P2’を計算する。そ
して、P0,P2’,P1の3点についてスプライン補
間を行ない、P0−P1の点群を生成する。この点群
は、アクセントエッジの一部と主辺を構成するものであ
る。
The stroke pattern of S5 is selected. FIG.
As shown in (a), the position of the midpoint P2 of the straight line connecting P0 and P1 is calculated. Next, a perpendicular line is drawn in a clockwise direction from P2, and a point P2 ′ separated by the curvature C is calculated. Then, spline interpolation is performed for three points P0, P2 ', and P1 to generate a point group P0-P1. This point group constitutes a part of the accent edge and the main side.

【0052】A1のアクセントエッジパターンを選ぶ。
図12(b)に示すように、高さがm、始点P3と終点
P4の間隔が線径wと一致するようにA1のパターンの
大きさを調節する。パターンの膨らみの程度は、ベクト
ルvによって決められる。
Select the accent edge pattern of A1.
As shown in FIG. 12B, the size of the pattern A1 is adjusted so that the height is m and the interval between the start point P3 and the end point P4 is equal to the wire diameter w. The degree of the bulge of the pattern is determined by the vector v.

【0053】次に、図12(c)に示すように、(a)
で得られた点列上のP0からmだけ離れた点P0’を主
辺の始点とし、P0,P0’の水平、垂直方向の差分d
x,dyから主辺の傾きを計算する。(d)に示すよう
に、アクセントエッジパターンを、主辺の傾きと同量だ
傾かせる。次に(e)に示すように、アクセントエッ
ジパターンの始点P3を主辺の始点P0’に移動させ、
アクセントエッジパターンと主辺を接続する。
Next, as shown in FIG.
The point P0 ′ on the point sequence obtained by the step P, which is separated from P0 by m, is set as the starting point of the main side, and the difference d in the horizontal and vertical directions between P0 and P0 ′
The inclination of the main side is calculated from x and dy. (D), the accent edge pattern, tilts by the tilt and the same amount of primary edges. Next, as shown in (e), the start point P3 of the accent edge pattern is moved to the start point P0 ′ of the main side,
Connect the accent edge pattern to the main edge.

【0054】次に、図12(f)に示すように、主辺P
0’−P1までの間を4等分(あるいは3等分)し、各
分割点から時計回り方向に垂線を出す。各垂線の長さw
1,w2,w3は、パターンS5に対応した太さ関数表
(図13参照)に従って計算する。そして、各垂線の先
端位置、アクセントエッジの終点P4(副辺の始点)、
主辺の終点P1(副辺の終点)を結ぶ点群をスプライン
補間によって求めることによって、副辺を生成する。
Next, as shown in FIG.
The interval from 0'-P1 is divided into four equal parts (or three equal parts), and a vertical line is drawn clockwise from each division point. Length w of each perpendicular
1, w2 and w3 are calculated according to the thickness function table corresponding to the pattern S5 (see FIG. 13). Then, the tip position of each perpendicular, the end point P4 of the accent edge (the start point of the sub-side),
The sub-side is generated by obtaining a point group connecting the end point P1 of the main side (the end point of the sub-side) by spline interpolation.

【0055】ここで太さ関数表は、ストロークエッジ上
の各点における太さを、線径Wに対する比として表わし
た数列である。ここで例に挙げた「左払い」や、「右払
い」、「右留め」等の太さは、ストローク進行に沿って
非線形的に変化する。したがって、デザインアイテムに
適した「太さ関数表」を作成することによって、太さを
容易にコントロールできる。また、関数により太さを定
義する方法に比べ、太さコントロールの自由度がある。
Here, the thickness function table is a numerical sequence representing the thickness at each point on the stroke edge as a ratio to the wire diameter W. The thickness such as “pay-left”, “pay-right”, “clamp-right”, etc., as described above, changes non-linearly along the stroke progression. Therefore, by creating a “thickness function table” suitable for the design item, the thickness can be easily controlled. Also, there is a greater degree of freedom in thickness control as compared to the method of defining the thickness with a function.

【0056】以上のように画のアウトラインを生成する
ことができるので、これを一つの文字座標上に合成する
ことによって偏旁または漢字のアウトラインを得ること
ができる。この場合に、画アウトラインジェネレータを
用いて漢字フォントを生成するためのデータの形式とし
て二つのタイプが考えられる。
As described above, the outline of the image can be generated. By combining the outline on one character coordinate, the outline of the sideways or Chinese character can be obtained. In this case, there are two types of data formats for generating a kanji font using the image outline generator.

【0057】第1の形式は、個々の文字を、それを構成
する一連の画の集合として表現する形式である。この場
合、例えば「我」についてのデータは、図14に示すよ
うな内容となる。この形式は、個々の文字を単位とし
て、それぞれの画のパラメータを指定できるので、アウ
トラインの微妙な相違を表現できる。しかし、データ保
存のためのメモリ量の削減という見地からは、次に述べ
る第2の形式に比べ不利である。
The first format is a format in which each character is represented as a set of a series of strokes constituting the character. In this case, for example, the data for “I” has the content as shown in FIG. In this format, the parameters of each image can be specified in units of individual characters, so that subtle differences in outlines can be expressed. However, from the viewpoint of reducing the amount of memory for storing data, it is disadvantageous compared to the second format described below.

【0058】第2の形式は、予め選んだ偏旁または文字
を単位とし、画の集合として定義しておき、目的の文字
を構成する偏旁または文字をアフィン変換して組み合わ
せ、目的のアウトラインを得るものである。このデータ
形式は、既定義の偏旁または文字の画配列と、アフィン
変換パラメータ(位置及びサイズ)を読み出して画アウ
トラインジェネレータに与えればよいから、データ保存
に必要なメモリ量は極めて少なくできる。
The second format is to define a set of strokes in units of preselected collaterals or characters, and to obtain the desired outline by combining the collaterals or characters constituting the target character by affine transformation. It is. In this data format, it is sufficient to read out the predefined array or the character arrangement and the affine transformation parameters (position and size) and provide them to the image outline generator, so that the amount of memory required for data storage can be extremely reduced.

【0059】図7〜図9に示した画を拡張した例えば1
20種程度の「偏旁」を用意しておけば、実用的には全
ての漢字のフォントを生成することができるようにな
る。
For example, the image shown in FIGS.
By preparing about 20 kinds of “nearby”, practically all kanji fonts can be generated.

【0060】図15(a)は、「義」を生成するための
第2の形式によるデータを示す。アフィンパラメータと
しては、図15(b)に示すように、各偏旁の位置P、
高さV、幅Hが指定される。
FIG. 15A shows data in the second format for generating "right". As the affine parameters, as shown in FIG.
A height V and a width H are specified.

【0061】第2の形式による場合、画アウトラインジ
ェネレータに対し、目的の漢字の一部たる偏旁または文
字の画パラメータとともにアフィンパラメータが入力さ
れる。画アウトラインジェネレータにおいては、アフィ
ン変換部203により、アフィンパラメータに従い画の
パラメータ中のストローク端点にアフィン変換を施し、
この変換後のストローク端点をストロークジェネレータ
200で用いる。これ以外は前述の通りである。
In the case of the second format, an affine parameter is input to a picture outline generator together with a picture parameter of a side or a character which is a part of a target kanji. In the image outline generator, the affine transformation unit 203 performs affine transformation on stroke end points in the image parameters according to the affine parameters,
The stroke end point after the conversion is used by the stroke generator 200. Other than this is as described above.

【0062】このようにストローク端点にのみアフィン
変換が適用され、他のパラメータは影響されないため、
図19により前述したようなストロークの水平度、垂直
度による歪みの発生を回避できる。すなわち、図19の
「我」のパターン400の画ストロークの端点のみにア
フィン変換を施すことによって、目標とするパターン4
02に非常に近い歪みのないパターンを得られるという
ことである。
As described above, since the affine transformation is applied only to the stroke end point and other parameters are not affected,
19, it is possible to avoid the occurrence of distortion due to the horizontality and verticality of the stroke as described above. That is, the affine transformation is applied only to the end point of the image stroke of the “I” pattern 400 in FIG.
That is, a distortion-free pattern very close to 02 can be obtained.

【0063】次に、漢字の階層構造に基づいた具体的な
階層データ構造の例を説明する。図16は、このデータ
構造の説明図である。このデータ構造にあっては、文字
表300、偏旁表301、画(カク)表302によって
データが階層化されている。
Next, an example of a specific hierarchical data structure based on the hierarchical structure of Chinese characters will be described. FIG. 16 is an explanatory diagram of this data structure. In this data structure, data is hierarchized by a character table 300, a side table 301, and an image (kaku) table 302.

【0064】画表302は、個々の偏旁(または文字)
を構成する画の集合であって、階層の最下層に位置する
ものである。偏旁表301は、文字を構成する偏旁の集
合で、階層の中間層に位置するものである。文字も、他
の文字の要素と成りえるので、偏旁表301から文字表
300を参照することもできる。文字表300は階層の
最上層に位置し、外部から選択された文字に対応する偏
旁集合または画集合を指し示す表である。
The drawing table 302 is composed of individual subordinates (or characters).
Are set at the bottom of the hierarchy. The sidelines table 301 is a set of sidelines constituting a character, and is located in the middle layer of the hierarchy. Since a character can be an element of another character, the character table 300 can be referred to from the side table 301. The character table 300 is located at the top of the hierarchy, and is a table indicating a by-side set or a stroke set corresponding to a character selected from outside.

【0065】各表の内容を、「言」、「義」、「議」、
「我」の4文字を例に図17に示す。(a)は文字表3
00の内容、(b)は偏旁表301の内容、(c)は画
表302の内容である。
The contents of each table are described as "word", "right", "gi",
FIG. 17 shows the four characters "I" as an example. (A) Character table 3
00B, (b) shows the contents of the side table 301, and (c) shows the contents of the image table 302.

【0066】文字表300と偏旁表301の一つのレコ
ードは2バイト長で、図18に示す構造を持ち、その下
位13ビットは、上位3ビットで示された種類の表に対
するインデックスである。画表302の一つのレコード
は1バイト長で、一つの画の番号を表わす。
One record of the character table 300 and the side table 301 has a length of 2 bytes and has a structure shown in FIG. 18, and the lower 13 bits are an index for a table of the type indicated by the upper 3 bits. One record of the picture table 302 is 1 byte long and represents the number of one picture.

【0067】「我」のフォントを生成する場合、文字表
300の対応したアドレス89E4のレコードは画表3
02のアドレスrを指し示している。したがって、画表
301のアドレスrからNULLレコードの前までのレ
コードの内容に従って「我」を構成する各画のパラメー
タ(アフィンパラメータも含む)をパラメータメモリか
ら順次読み出して画アウトラインジェネレータへ入力
し、それぞれのアウトラインを生成し、これを同じ文字
座標上に合成することによって、目的のフォントを得る
ことができる。
When the font of “I” is generated, the record of the address 89E4 corresponding to the character table 300 is the image table 3
02 indicates an address r. Therefore, the parameters (including affine parameters) of each image constituting "I" are sequentially read from the parameter memory according to the contents of the records from the address r of the image table 301 to the position before the NULL record, and input to the image outline generator. By generating an outline of the above and synthesizing the outline on the same character coordinates, a desired font can be obtained.

【0068】「言」の場合も同様で、文字表300の対
応したアドレス8CBEのレコードが指し示す画表30
2のアドレスpからNULLレコードの前までの各レコ
ードの内容に従い画のパラメータを読み出し、アウトラ
インの生成を行なうことになる。
The same applies to the case of “word”, and the image table 30 indicated by the record of the corresponding address 8CBE of the character table 300 is displayed.
The image parameters are read in accordance with the contents of each record from the address p to the position before the NULL record, and an outline is generated.

【0069】「義」の場合、文字表300の対応したア
ドレス8B60のレコードが指し示す偏旁表301のア
ドレスmからNULLレコードの前までのレコードを参
照する。まず、偏旁表301のアドレスmのレコードが
指す画表302のアドレスq以下のレコードの内容によ
って、上側の偏旁を構成する画のパラメータをパラメー
タメモリより読み出し画アウトラインジェネレータに与
え、そのアウトラインを生成する。次に、偏旁表301
のアドレスm+1のレコードが指し示す文字表300の
アドレス89E4のレコードを参照する。このレコード
は画表302のアドレスrを指しているので、このアド
レス以下のレコードの内容によって画のパラメータを読
み出し、画アウトラインジェネレータに与えることによ
って、「義」の下側の偏旁を構成する画のアウトライン
を生成する。「議」の場合も同様である。
In the case of “right”, the records from the address m of the side table 301 indicated by the corresponding record of the address 8B60 in the character table 300 to the position before the NULL record are referred to. First, based on the contents of the record below address q of the image table 302 pointed to by the record at address m of the side table 301, the parameters of the image forming the upper side are read from the parameter memory and given to the image outline generator, and the outline is generated. . Next, the side table 301
Of the character table 300 indicated by the record of the address m + 1 of the address 89E4. Since this record points to the address r of the picture table 302, the parameters of the picture are read out according to the contents of the record below this address and given to the picture outline generator, whereby the picture of Generate an outline. The same applies to "gi".

【0070】なお、各ジェネレータ200,201の描
画ルーチンを変更することにより、同じ画パラメータを
用いて、図12に示すような書体の違った漢字フォント
を生成できることは前述のとおりである。
As described above, by changing the drawing routine of each of the generators 200 and 201, a kanji font having a different typeface as shown in FIG. 12 can be generated using the same image parameters.

【0071】また、基準書体についてストローク端点を
実ベクトルとして用意しておき、他の書体については、
基準書体のストローク端点に対する変位ベクトルを用意
しておき、この変位ベクトルと基準書体のストローク端
点とから他書体のストローク端点の実ベクトルを求め、
これを画アウトラインジェネレータに与えることによっ
て、その画アウトラインを生成できることは、ここまで
の説明から理解できるであろう。そして、このようにす
るとメモリ量を減らす上で効果があることは、図21に
より既に述べたとおりである。
Also, the stroke end point is prepared as a real vector for the reference font, and for the other fonts,
A displacement vector with respect to the stroke end point of the reference typeface is prepared, and the actual vector of the stroke end point of another typeface is obtained from the displacement vector and the stroke end point of the reference typeface.
It will be understood from the above description that the image outline can be generated by giving this to the image outline generator. As described above with reference to FIG. 21, this is effective in reducing the amount of memory.

【0072】[0072]

【発明の効果】請求項1の発明によれば、画アウトライ
ンのパラメトリックな生成が可能になり、ストロークの
位置、大きさを変えずに、線径のみを修正するというよ
うなことが可能で、漢字フォントの編集、加工が容易と
なるとともに、パラメータを変更することなくスタイル
の異なる漢字フォントを容易に生成できるという効果を
得られる。
According to the first aspect of the present invention, it is possible to parametrically generate an image outline, and to correct only the line diameter without changing the position and size of a stroke. Editing and processing of kanji fonts are facilitated, and kanji fonts having different styles can be easily generated without changing parameters.

【0073】請求項2,3の発明によれば、画アウトラ
インのアクセントエッジ,ストロークエッジに関するデ
ータ量を効果的に削減できる。
According to the second and third aspects of the present invention, it is possible to effectively reduce the amount of data relating to accent edges and stroke edges in an image outline.

【0074】請求項4の発明によれば、ストロークエッ
ジに関するデータ量を削減できる効果を得られるととも
に、ペアをなす2本のストロークエッジの一様性を損な
う危険を排除できるという効果を得られる。
According to the fourth aspect of the present invention, it is possible to obtain the effect of reducing the amount of data related to the stroke edge and to eliminate the risk of impairing the uniformity of the two stroke edges forming a pair.

【0075】請求項5の発明によれば、多くの種類の書
体のフォントを必要とする場合にも、書体別に独立にデ
ータを容易する方式に比較し、データ量及びメモリ量を
かなり少なくできる。
According to the fifth aspect of the present invention, even when many types of fonts are required, the amount of data and the amount of memory can be considerably reduced as compared with the method of facilitating data independently for each typeface.

【0076】請求項6の発明によれば、漢字の偏旁−画
の階層構造を利用しデータ量を減らす場合に必要なアフ
ィン変換によるアウトラインの歪みを減らすことができ
る。
According to the invention of claim 6, it is possible to reduce the distortion of the outline due to the affine transformation required when the data amount is reduced by utilizing the hierarchical structure of the kanji sidelines and strokes.

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

【図1】(a)「左払い」のアウトラインの説明図であ
る。(b)「縦線」のアウトラインの説明図である。
(c)「かぎ」のアウトラインの説明図である。
FIG. 1A is an explanatory diagram of an outline of “left payment”. (B) It is explanatory drawing of the outline of a "vertical line."
(C) It is explanatory drawing of the outline of "key."

【図2】「議」に用いられている「左払い」の示す図で
ある。
FIG. 2 is a diagram showing “left-payment” used in “giken”;

【図3】「左払い」のストロークパラメータの説明図で
ある。
FIG. 3 is an explanatory diagram of a stroke parameter of “pay left”;

【図4】「左払い」のアクセントパラメータの説明図で
ある。
FIG. 4 is an explanatory diagram of an accent parameter of “left payment”.

【図5】ストロークパターンを示す図である。FIG. 5 is a diagram showing a stroke pattern.

【図6】アクセントパターンを示す図である。FIG. 6 is a diagram showing an accent pattern.

【図7】図5,図6のパターンを組み合わせた画アウト
ラインを示す。
FIG. 7 shows an image outline obtained by combining the patterns of FIGS. 5 and 6;

【図8】図5,図6のパターンを組み合わせた画アウト
ラインを示す。
FIG. 8 shows an image outline obtained by combining the patterns of FIGS. 5 and 6;

【図9】図5,図6のパターンを組み合わせた画アウト
ラインを示す。
FIG. 9 shows an image outline obtained by combining the patterns of FIGS. 5 and 6;

【図10】画アウトラインジェネレータの例を示すブロ
ック図である。
FIG. 10 is a block diagram illustrating an example of an image outline generator.

【図11】ジェネレータの説明のためのパターンを示
す。
FIG. 11 shows an explanatory pattern of a generator.

【図12】(a)主辺と生成の説明図である。(b)ア
クセントエッジパターンの大きさ調整の説明図である。
(c)主辺の始点での傾きの説明図である。(d)アク
セントエッジパターンの回転の説明図である。(e)ア
クセントエッジの主辺への接続を示す図である。(f)
副辺の生成の説明図である。
FIG. 12A is an explanatory diagram of a main edge and generation. (B) It is explanatory drawing of size adjustment of an accent edge pattern.
(C) It is explanatory drawing of the inclination in the starting point of a main side. (D) It is explanatory drawing of rotation of an accent edge pattern. (E) is a diagram showing the connection of the accent edge to the main side. (F)
It is explanatory drawing of generation of a sub-edge.

【図13】太さ関数表の説明図である。FIG. 13 is an explanatory diagram of a thickness function table.

【図14】「我」を生成するためのデータの一形式を示
す。
FIG. 14 shows one format of data for generating “I”.

【図15】(a)「義」を生成するためのデータの一形
式を示す。(b)アフィンパラメータの説明図である。
FIG. 15A shows one format of data for generating “right”. (B) It is explanatory drawing of an affine parameter.

【図16】階層データ構造の説明図である。FIG. 16 is an explanatory diagram of a hierarchical data structure.

【図17】(a)文字表の内容を示す。(b)偏旁表の
内容を示す。(c)画表の内容を示す。
FIG. 17A shows the contents of a character table. (B) Shows the contents of the side table. (C) Shows the contents of the image table.

【図18】文字表及び偏旁表のデータ構造を示す図であ
る。
FIG. 18 is a diagram showing a data structure of a character table and a side table.

【図19】アフィン変換によるパターンの歪みを説明す
るための図である。
FIG. 19 is a diagram for explaining pattern distortion due to affine transformation.

【図20】画関数による書体変換例を示す図である。FIG. 20 is a diagram illustrating an example of typeface conversion using an image function.

【図21】スタイルの違いによるストローク端点の位置
の分散を示す図である。
FIG. 21 is a diagram illustrating dispersion of stroke end point positions due to differences in style.

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

200 ストロークジェネレータ 201 アクセントジェネレータ 203 アフィン変換部 204 太さ関数表 300 文字表 301 偏旁表 302 画表 200 Stroke generator 201 Accent generator 203 Affine conversion unit 204 Thickness function table 300 Character table 301 Sideline table 302 Picture table

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 画のアウトラインを1個の閉ループとし
て、運筆上の始点、屈曲点または終点に対応するストロ
ーク端点、運筆上の力点のアウトライン部分に対応する
アクセントエッジ、アクセントエッジを除いた運筆上の
軌跡に対応するアウトライン部分であるストロークエッ
ジ、及び、ストロークエッジの始端または終端における
間隔に対応する線径、という4種の幾何的パラメータに
より定義し、これら4種の幾何的パラメータに基づき関
数的に画のアウトラインを関数的に生成し、画のアウト
ラインの集合として漢字のフォントを得ることを特徴と
する漢字フォント生成方式。
An outline of an image is defined as one closed loop, and stroke ends corresponding to a start point, a bending point or an end point on the stroke, an accent edge corresponding to an outline portion of a power point on the stroke, and a stroke on the stroke excluding the accent edge are removed. Are defined by four geometric parameters: a stroke edge, which is an outline part corresponding to the trajectory, and a line diameter corresponding to the interval at the start or end of the stroke edge. Based on these four geometric parameters, a functional A kanji font generation method characterized by generating an outline of a picture functionally and obtaining a kanji font as a set of outlines of the picture.
【請求項2】 一定種類のアクセントエッジのパターン
を用意し、それぞれに付与されたインデックス番号によ
りアクセントエッジを指定することを特徴とする請求項
1記載の漢字フォント生成方式。
2. The kanji font generation method according to claim 1, wherein a certain type of accent edge pattern is prepared, and an accent edge is specified by an index number assigned to each pattern.
【請求項3】 一定種類のストロークエッジのパターン
を用意し、それぞれに付与されたインデックス番号によ
りストロークエッジを指定することを特徴とする請求項
1記載の漢字フォント生成方式。
3. The kanji font generation method according to claim 1, wherein a predetermined type of stroke edge pattern is prepared, and the stroke edge is designated by an index number assigned to each.
【請求項4】 ストロークエッジの一方のエッジを他方
のエッジから関数的に生成することを特徴とする請求項
1記載の漢字フォント生成方式。
4. The kanji font generation method according to claim 1, wherein one of the stroke edges is generated functionally from the other edge.
【請求項5】 基準書体についてストローク端点の座標
を定義し、この座標に対する変位ベクトルとして他の書
体のストローク端点の座標を定義することを特徴とする
請求項1記載の漢字フォント生成方式。
5. The kanji font generation method according to claim 1, wherein coordinates of a stroke end point are defined for a reference typeface, and coordinates of a stroke end point of another typeface are defined as a displacement vector with respect to the coordinates.
【請求項6】 画のアウトラインの集合として偏旁要素
を合成し、この合成の際に、画のアウトラインのストロ
ーク端点のみにアフイン変換を施すことを特徴とする請
求項1記載の漢字フォント生成方式。
6. The kanji font generation method according to claim 1, wherein bye components are synthesized as a set of outlines of the image, and in this synthesis, affine transformation is performed only on stroke end points of the outline of the image.
JP35363991A 1991-12-18 1991-12-18 Kanji font generation method Expired - Fee Related JP3224138B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35363991A JP3224138B2 (en) 1991-12-18 1991-12-18 Kanji font generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35363991A JP3224138B2 (en) 1991-12-18 1991-12-18 Kanji font generation method

Publications (2)

Publication Number Publication Date
JPH05165457A JPH05165457A (en) 1993-07-02
JP3224138B2 true JP3224138B2 (en) 2001-10-29

Family

ID=18432211

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35363991A Expired - Fee Related JP3224138B2 (en) 1991-12-18 1991-12-18 Kanji font generation method

Country Status (1)

Country Link
JP (1) JP3224138B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3889961B2 (en) * 2001-12-13 2007-03-07 セイコーエプソン株式会社 Character processing device and character processing method of character processing device
JP2007240848A (en) * 2006-03-08 2007-09-20 Seiko Epson Corp Display program, data structure and display device
CN112732943B (en) * 2021-01-20 2023-09-22 北京大学 Chinese character library automatic generation method and system based on reinforcement learning

Also Published As

Publication number Publication date
JPH05165457A (en) 1993-07-02

Similar Documents

Publication Publication Date Title
US4897638A (en) Method for generating character patterns with controlled size and thickness
JPS63271290A (en) Character pattern generation system
JPH0916146A (en) Character and symbol pattern generating device
KR100227585B1 (en) Character generation device
JP3224138B2 (en) Kanji font generation method
US5519412A (en) Pattern processing method
JPH0687217B2 (en) Character pattern generation display device
JP2999019B2 (en) Character and graphic transformation processor
JP3479282B2 (en) Character and graphic transformation processor
JP3344538B2 (en) Character generator
JP3274850B2 (en) Character / graphic deformation processing apparatus and processing method
US5995674A (en) Image processing apparatus with shape-correction of a contour-specified figure
JP3037023B2 (en) Character generator
JP2785929B2 (en) Character processor
JPH10124033A (en) Character processor, character processing method and memory medium
JP3032417B2 (en) Character generator
JPH07137222A (en) Interval between character-adjusting method
JP3376072B2 (en) Character processing apparatus and method
JPS6081683A (en) Expanding and contracting method of dot pattern
JP2737845B2 (en) Character processing method and apparatus
JPS60242492A (en) Character generator
JP3443840B2 (en) Ruled line output method and ruled line output device
JPS63210885A (en) Graphic generation system for character shape
JP2965429B2 (en) Character output device
JPS62157089A (en) Generation of vector character

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080824

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080824

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090824

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees