JP2013218258A - Method for generating stroke - Google Patents

Method for generating stroke Download PDF

Info

Publication number
JP2013218258A
JP2013218258A JP2012182031A JP2012182031A JP2013218258A JP 2013218258 A JP2013218258 A JP 2013218258A JP 2012182031 A JP2012182031 A JP 2012182031A JP 2012182031 A JP2012182031 A JP 2012182031A JP 2013218258 A JP2013218258 A JP 2013218258A
Authority
JP
Japan
Prior art keywords
stroke
target
coordinates
width
value
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.)
Granted
Application number
JP2012182031A
Other languages
Japanese (ja)
Other versions
JP5726824B2 (en
Inventor
Fu-Sheng Wu
福生 呉
Yi-Hui Huang
▲い▼輝 黄
Hsieh-Chih Huang
學智 黄
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.)
Arphic Tech Co Ltd
Original Assignee
Arphic Tech 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 Arphic Tech Co Ltd filed Critical Arphic Tech Co Ltd
Publication of JP2013218258A publication Critical patent/JP2013218258A/en
Application granted granted Critical
Publication of JP5726824B2 publication Critical patent/JP5726824B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a method for generating a stroke.SOLUTION: A method for generating a stroke includes the steps of: reading the coordinates of a plurality of key points and the value of at least one width of a boldfaced stroke corresponding to a target stroke; reading the coordinates of a plurality of key points and the value of at least one width of a lightfaced stroke corresponding to the target stroke; generating the target stroke in accordance with the coordinates of the plurality of key points and the value of at least one width of the boldfaced stroke, the coordinates of the plurality of key points and the value of at least one width of the lightfaced stroke and at least one scaling ratio of the target stroke; and displaying the target stroke on a display.

Description

本発明は、ストロークの生成方法に関し、特に肉太活字のストロークのセット及び肉細活字のストロークのセットに従って更新されたストロークを生成する方法に関する。   The present invention relates to a method for generating a stroke, and more particularly, to a method for generating a stroke that is updated according to a set of strokes of thick type and a set of strokes of thin type.

今日、漢字入力方法が広く用いられている。フォントを生成するとき、一般的には、フォント生成装置からデータをロードし、次にそのフォントの関連パラメータに従ってフォントを生成する。   Today, kanji input methods are widely used. When generating a font, typically data is loaded from a font generator and then the font is generated according to the relevant parameters of the font.

フォントの関連パラメータは、各ストロークの複数のキーポイント及び幅の値を含む。図1を参照する。図1は、ストロークの複数のキーポイント及び幅の値を示す。漢字「凸」のストローク
[外1]

Figure 2013218258
を図1に示す。ストローク
[外2]
Figure 2013218258
は、5個のキーポイントK1乃至K5、4個の幅の値W1乃至W4を含む。幅の値は、それぞれ2つのキーポイントの間に設定される。例えば、キーポイントK2及びK3により形成される部分的ストロークの幅の値は、W2である。 The relevant parameters of the font include multiple keypoint and width values for each stroke. Please refer to FIG. FIG. 1 shows a number of stroke keypoints and width values. Stroke of kanji "convex" [outside 1]
Figure 2013218258
Is shown in FIG. Stroke [Outside 2]
Figure 2013218258
Includes five key points K1 to K5 and four width values W1 to W4. Each width value is set between two key points. For example, the value of the width of the partial stroke formed by the key points K2 and K3 is W2.

しかしながら、従来の方法では、種々の幅を有するフォントが必要な場合、設計技術者又は製造業者は、新しいフォントのセットを設計する必要があった。さらに、フォントの幅の値を直接に広く又は狭くすることによりフォントの幅を調整すると、フォントの元の構造は劣化してしまう。つまり、フォントの構造は、ワイヤを張ったように見え、幾つかのフォントはその境界を越えてしまう。したがって、従来の方法は、フォントを再設計及び繰り返し設計しない限り、フォントの構造を劣化することなく種々のフォントを生成することができない。   However, in the conventional method, when a font having various widths is required, the design engineer or manufacturer has to design a new set of fonts. Furthermore, if the font width is adjusted by directly increasing or decreasing the font width value, the original structure of the font is degraded. In other words, the font structure looks like a wire, and some fonts cross the border. Therefore, the conventional method cannot generate various fonts without deteriorating the font structure unless the fonts are redesigned and repeatedly designed.

ストロークを生成する方法は、目的のストロークに対応する肉太ストロークの複数のキーポイントの座標及び少なくとも1つの幅の値を読み取るステップ、前記目的のストロークに対応する肉細ストロークの複数のキーポイントの座標及び少なくとも1つの幅の値を読み取るステップ、前記肉太ストロークの前記複数のキーポイントの座標及び前記少なくとも1つの幅の値、前記肉細ストロークの前記複数のキーポイントの座標及び前記少なくとも1つの幅の値、並びに前記目的のストロークの少なくとも1つのスケーリング比に従って、前記目的のストロークを生成するステップ、前記目的のストロークをディスプレイに表示するステップ、を有する。   A method for generating a stroke includes the step of reading coordinates and at least one width value of a plurality of key points of a thick stroke corresponding to a target stroke, and a step of reading a plurality of key points of a thin stroke corresponding to the target stroke. Reading coordinates and at least one width value, coordinates of the plurality of key points of the thick stroke and values of the at least one width, coordinates of the plurality of key points of the thin stroke, and the at least one Generating the target stroke according to a width value and at least one scaling ratio of the target stroke; and displaying the target stroke on a display.

第1の実施形態で提供された方法を第4の実施形態で用いることにより、フォントの構造を劣化することなく、フォントの幅を変更できる。したがって、新しいフォントのセットを生成する必要があるとき、元のフォントに基づき新しいフォントのセットを生成するだけでよく、新たなフォントを再設計する必要がない。   By using the method provided in the first embodiment in the fourth embodiment, the font width can be changed without degrading the structure of the font. Thus, when a new set of fonts needs to be generated, it is only necessary to generate a new set of fonts based on the original font, and there is no need to redesign the new font.

本発明のこれらの及び他の目的は、以下の、種々の図面に示された好適な実施形態の詳細な説明を読んだ後に当業者に明らかになるだろう。   These and other objects of the present invention will become apparent to those skilled in the art after reading the following detailed description of the preferred embodiment shown in the various drawings.

ストロークの複数のキーポイント及び幅の値を示す。Indicates multiple keypoint and width values for the stroke. 本発明の第1の実施形態による目的のストロークの生成のフローチャートである。4 is a flowchart of generating a target stroke according to the first embodiment of the present invention. 本発明の第2の実施形態による目的のストロークの生成のフローチャートである。It is a flowchart of the production | generation of the target stroke by the 2nd Embodiment of this invention. 本発明の第3の実施形態による目的のストロークの生成のフローチャートである。It is a flowchart of the production | generation of the target stroke by the 3rd Embodiment of this invention. 本発明の第4の実施形態による目的のフォントの生成のフローチャートである。It is a flowchart of the production | generation of the target font by the 4th Embodiment of this invention. 文字の肉細のストロークを示す。Indicates a thin stroke of a character. 文字の肉太のストロークを示す。Indicates the thick stroke of the character. 25個の例示的な目的のフォントを示す。25 illustrates exemplary fonts for purposes of illustration.

幾つかの語句は、本願明細書及び特許請求の範囲の特定の要素を参照するが、製造者は同一の要素を参照するために異なる用語を用い得ることに留意する。しかしながら、要素間の定義は、それらの名称ではなくそれらの機能に基づく。さらに、本願明細書及び特許請求の範囲では、用語「有する」は広義であり、「から成る」と見なされるべきではない。   Although some terms refer to specific elements in the specification and claims, it is noted that a manufacturer may use different terms to refer to the same element. However, the definition between elements is based on their function rather than their names. Further, in the specification and claims, the term “comprising” is broad and should not be considered “consisting of”.

実施形態及び図は、本発明を詳細に説明するために以下に提供されるが、本発明の請求の範囲は、提供された実施形態及び図に限定されないことに留意する。   While embodiments and figures are provided below to describe the present invention in detail, it is noted that the scope of the present invention is not limited to the provided embodiments and figures.

図2は、本発明の第1の実施形態による目的のストロークの生成のフローチャートを示す。説明は、以下の通りである。
ステップ202:目的のストロークに対応する肉太ストロークの複数のキーポイントの座標及び少なくとも1つの幅の値を読み取る。
ステップ204:目的のストロークに対応する肉細ストロークの複数のキーポイントの座標及び少なくとも1つの幅の値を読み取る。
ステップ206:肉太ストロークの複数のキーポイントの座標及び少なくとも1つの幅の値、肉細ストロークの複数のキーポイントの座標及び少なくとも1つの幅の値、並びに目的のストロークの少なくとも1つのスケーリング比に従って、目的のストロークを生成する。
ステップ208:目的のストロークをディスプレイに表示する。
FIG. 2 shows a flowchart of generating a target stroke according to the first embodiment of the present invention. The explanation is as follows.
Step 202: Read the coordinates and at least one width value of a plurality of key points of the thick stroke corresponding to the target stroke.
Step 204: Read the coordinates and the value of at least one width of the plurality of key points of the thin stroke corresponding to the target stroke.
Step 206: According to the coordinates and at least one width value of the plurality of key points of the thick stroke, the coordinates and at least one width value of the plurality of key points of the thin stroke, and at least one scaling ratio of the target stroke. Generate the desired stroke.
Step 208: The target stroke is displayed on the display.

ストロークの幅の値は、水平ストローク、垂直ストローク及び傾斜ストロークの幅の値を含む。ステップ204で、肉細ストロークの少なくとも1つの幅の値は、肉細ストロークの水平ストローク、垂直ストローク及び傾斜ストロークの幅の値を表す。肉太ストロークの複数のキーポイント及び少なくとも1つの幅の値は、読み出しのためにコンピュータ装置のメモリのデータベースに格納され得る。さらに、肉太及び肉細ストロークの複数のキーポイント及び少なくとも1つの幅の値は、目的のストロークの識別コードに従って読み出すことができ、フォントの各ストロークは、それ自体の識別コードを有する。   Stroke width values include horizontal stroke, vertical stroke and tilt stroke width values. In step 204, the width value of at least one of the thin strokes represents the width value of the horizontal, vertical and inclined strokes of the thin stroke. Multiple key points and at least one width value of the thick stroke may be stored in a database in a memory of the computing device for reading. Further, the key points and at least one width value of the thick and thin strokes can be read according to the identification code of the target stroke, and each stroke of the font has its own identification code.

ステップ206で、目的のストロークを生成するとき、目的のストロークの複数のキーポイントを生成するために、肉細ストロークの複数のキーポイント及び肉太ストロークの複数のキーポイントに対して中間値の推定(interpolation)が実行される。また、目的のストロークの少なくとも1つの幅の値を生成するために、肉細ストロークの少なくとも1つの幅の値及び肉太ストロークの少なくとも1つの幅の値に対して中間値の推定(interpolation)が実行される。目的のストロークのスケーリング比は、更に広い又は狭い目的のストロークを生成するために、ユーザ設定に従って変更できる。さらに、目的のストロークの水平ストローク、垂直ストローク及び傾斜ストロークは、同一のスケーリング比又は異なるスケーリング比を有することができるので、フォントを新たに設計することなく、置換及び組合せにより種々のフォントが生成できる。つまり、新しいフォントは、元のフォントの水平ストローク、垂直ストローク及び傾斜ストロークのスケーリング比を個々に設定することにより生成できる。これは、データベースに格納する必要のあるフォントを削減する。   In step 206, when generating the target stroke, in order to generate a plurality of key points of the target stroke, an intermediate value is estimated for the plurality of key points of the thin stroke and the plurality of key points of the thick stroke. (Interpolation) is executed. Also, in order to generate at least one width value for the target stroke, an interpolation of at least one width value for the thin stroke and at least one width value for the thick stroke is performed. Executed. The scaling ratio of the target stroke can be changed according to user settings to produce a wider or narrower target stroke. Furthermore, the horizontal stroke, vertical stroke, and inclined stroke of the target stroke can have the same scaling ratio or different scaling ratios, so that various fonts can be generated by replacement and combination without newly designing the font. . That is, a new font can be generated by individually setting the scaling ratio of the horizontal stroke, vertical stroke and slant stroke of the original font. This reduces the fonts that need to be stored in the database.

従来の方法では、フォントをより肉太に又はより肉細になるように調整するとき、フォントのキーポイントは不変のままなので、フォントの全体的な構造が劣化してしまう。これは、フォントの外観を望ましくないものにし、これらの構造の劣化により、近隣の漢字は互いに重なり合ってしまう。つまり、従来の方法は、ストロークの全体の幅を調整することにより新しいフォントを生成できるだけで、各ストロークを個々に調整することができない。   In the conventional method, when the font is adjusted to be thicker or thinner, the key points of the font remain unchanged, so that the overall structure of the font is deteriorated. This makes the font look undesirable, and the deterioration of these structures causes neighboring Chinese characters to overlap each other. That is, the conventional method can only generate a new font by adjusting the overall width of the stroke, but cannot adjust each stroke individually.

本発明のステップ206で、目的のストロークの複数のキーポイントを生成するために、肉細ストロークの複数のキーポイント及び肉太ストロークの複数のキーポイントに対して中間値の推定が実行される。また、目的のストロークの少なくとも1つの幅の値を生成するために、肉細ストロークの少なくとも1つの幅の値及び肉太ストロークの少なくとも1つの幅の値に対して中間値の推定が実行される。つまり、生成された目的のストロークのキーポイン及び少なくとも1つの幅の値の範囲は、肉細ストロークと肉太ストロークのキーポイン及び少なくとも1つの幅の値の間に限られるので、生成された目的のストロークの構造は、劣化せず、他のストローク又は文字と重なり合わない。ステップ208で、生成されたストロークは、LCD、プロジェクタ又はノード型PCのようなディスプレイ装置に表示できる。   In step 206 of the present invention, intermediate value estimation is performed for the key points of the fine stroke and the key points of the thick stroke to generate the key points of the target stroke. Also, an intermediate value estimate is performed for at least one width value of the thin stroke and at least one width value of the thick stroke to generate at least one width value of the target stroke. . That is, the range of the generated target stroke keypoint and at least one width value is limited to between the thin stroke and thick stroke keypoint and at least one width value, so the generated target stroke The structure does not deteriorate and does not overlap with other strokes or characters. In step 208, the generated stroke can be displayed on a display device such as an LCD, projector, or node PC.

第1の実施形態は、肉細ストローク及び肉太ストロークに対して中間値の推定を実行することにより目的のストロークを生成するが、目的のストロークを生成する方法は、中間値の推定を用いることだけに限定されない。つまり、第1の実施形態で実行される中間値の推定は、特に、相加平均、二乗平均平方根及び重み付けされた後の平均で置き換えることもできる。目的のストロークのセットを生成する2つの異なるフォントのセットの組合せを適用する任意の方法が、本発明の特許請求の範囲に属する。   In the first embodiment, the target stroke is generated by executing the estimation of the intermediate value with respect to the thin stroke and the thick stroke, but the method of generating the target stroke uses the estimation of the intermediate value. It is not limited to only. In other words, the estimation of the intermediate value performed in the first embodiment can be replaced with an arithmetic mean, a root mean square, and a weighted average, in particular. Any method that applies a combination of two different sets of fonts to produce the desired set of strokes is within the scope of the claims of the present invention.

図3は、本発明の第2の実施形態による目的のストロークの生成のフローチャートを示す。説明は、以下の通りである。
ステップ302:目的のストロークに対応する肉細ストロークの複数のキーポイントの座標及び少なくとも1つの幅の値を読み取る。
ステップ304:肉太ストロークを形成するために、肉細ストロークの少なくとも1つの幅の値に従って、肉太ストロークの少なくとも1つの幅の値を生成する。
ステップ306:肉太ストロークの複数のキーポイントの座標及び少なくとも1つの幅の値、肉細ストロークの複数のキーポイントの座標及び少なくとも1つの幅の値、並びに少なくとも1つのスケーリング比に従って、目的のストロークを生成する。
ステップ308:目的のストロークをディスプレイに表示する。
FIG. 3 shows a flow chart of generating a target stroke according to the second embodiment of the present invention. The explanation is as follows.
Step 302: Read the coordinates and at least one width value of the plurality of key points of the thin stroke corresponding to the target stroke.
Step 304: Generate at least one width value of the thick stroke according to at least one width value of the thin stroke to form a thick stroke.
Step 306: The target stroke according to the coordinates and at least one width value of the plurality of key points of the thick stroke, the coordinates and at least one width value of the plurality of key points of the thin stroke, and at least one scaling ratio. Is generated.
Step 308: The target stroke is displayed on the display.

第1の実施形態と第2の実施形態との間の相違は、第2の実施形態における目的のストロークを生成する方法が、肉細ストロークを適用することから開始し、次に肉太ストロークを生成するために肉細ストロークを用いる点である。ステップ304で、肉太ストロークのキーポイントは、肉細ストロークのキ―ポイントに従って生成される。例えば、肉細ストロークのキ―ポイントの位置を内側の位置へ縮小させることにより肉太ストロークのキーポイントを生成すると、生成された肉太ストロークが文字の境界を越えてしまうという状況を回避できる。さらに、肉太ストロークの幅の値は肉細ストロークの幅の値に従って生成される。例えば、対応する肉太フォントは、同一のスケーリング比又は異なるスケーリング比で肉細フォントの水平、垂直及び傾斜ストロークを調整することにより、生成できる。肉太ストロークが生成された後に、肉細ストローク及び肉細ストロークから生成された肉太ストロークに対して中間値の推定が実行され、中間値の推定が行われた目的のストロークが生成される。ステップ308で、生成された目的のストロークは、ディスプレイに表示される。   The difference between the first embodiment and the second embodiment is that the method for generating a target stroke in the second embodiment starts by applying a thin stroke, and then a thick stroke. The point is to use fine strokes to generate. At step 304, a thick stroke key point is generated according to a thin stroke key point. For example, if the key point of the thick stroke is generated by reducing the key point position of the thin stroke to the inner position, the situation where the generated thick stroke exceeds the boundary of the character can be avoided. Further, the width value of the thick stroke is generated according to the width value of the thin stroke. For example, the corresponding thick font can be generated by adjusting the horizontal, vertical and slant strokes of the thin font with the same or different scaling ratios. After the thick stroke is generated, the intermediate value is estimated for the thin stroke and the thick stroke generated from the thin stroke, and the target stroke for which the intermediate value is estimated is generated. In step 308, the generated target stroke is displayed on the display.

図4は、本発明の第3の実施形態による目的のストロークの生成のフローチャートを示す。説明は、以下の通りである。
ステップ402:目的のストロークに対応する肉太ストロークの複数のキーポイントの座標及び少なくとも1つの幅の値を読み取る。
ステップ404:肉細ストロークを形成するために、肉太ストロークの少なくとも1つの幅の値に従って、肉細ストロークの少なくとも1つの幅の値を生成する。
ステップ406:肉太ストロークの複数のキーポイントの座標及び少なくとも1つの幅の値、肉細ストロークの複数のキーポイントの座標及び少なくとも1つの幅の値、並びに少なくとも1つのスケーリング比に従って、目的のストロークを生成する。
ステップ408:目的のストロークをディスプレイに表示する。
FIG. 4 shows a flowchart of generating a target stroke according to the third embodiment of the present invention. The explanation is as follows.
Step 402: Read the coordinates and the value of at least one width of a plurality of key points of the thick stroke corresponding to the target stroke.
Step 404: Generate at least one width value of the thin stroke according to at least one width value of the thick stroke to form a thin stroke.
Step 406: The target stroke according to the coordinates and at least one width value of the key points of the thick stroke, the coordinates and at least one width value of the key points of the thin stroke, and at least one scaling ratio. Is generated.
Step 408: The target stroke is displayed on the display.

第1の実施形態と第3の実施形態との間の相違は、第3の実施形態における目的のストロークを生成する方法が、肉太ストロークを適用することから開始し、次に肉細ストロークを生成するために肉太ストロークを用いる点である。ステップ404で、肉細ストロークのキーポイントは、肉太ストロークのキーポイントに従って生成される。例えば、肉細ストロークのキーポイントは、肉太ストロークのキーポイントの位置を外側の位置へと外側に移動させることにより生成できる。しかしながら、移動された位置は、境界を越えてはならない。さらに、肉細ストロークの幅の値は肉太ストロークの幅の値に従って生成される。例えば、対応する肉細フォントは、同一のスケーリング比又は異なるスケーリング比で肉太フォントの水平、垂直及び傾斜ストロークを調整することにより、生成できる。肉細ストロークが生成された後に、肉太ストローク及び肉太ストロークから生成された肉細ストロークに対して中間値の推定が実行され、中間値の推定が行われた目的のストロークが生成される。ステップ408で、生成された目的のストロークは、ディスプレイに表示される。   The difference between the first embodiment and the third embodiment is that the method for generating a target stroke in the third embodiment starts by applying a thick stroke, and then a thin stroke. The point is to use a thick stroke to generate. At step 404, a thin stroke keypoint is generated according to the thick stroke keypoint. For example, the key point of the thin stroke can be generated by moving the position of the key point of the thick stroke outward to the outer position. However, the moved position must not cross the boundary. Further, the width value of the thin stroke is generated according to the width value of the thick stroke. For example, the corresponding flesh font can be generated by adjusting the horizontal, vertical and slant strokes of the flesh font with the same scaling ratio or different scaling ratios. After the thin stroke is generated, the intermediate value is estimated for the thick stroke and the thin stroke generated from the thick stroke, and the target stroke for which the intermediate value is estimated is generated. In step 408, the generated target stroke is displayed on the display.

図5は、本発明の第4の実施形態による目的のストロークの生成のフローチャートを示す。説明は、以下の通りである。
ステップ502:目的のフォントの目的のストロークの各々に対応する肉太ストロークの複数のキーポイントの座標及び少なくとも1つの幅の値を読み取る。
ステップ504:目的のフォントの目的のストロークの各々に対応する肉細ストロークの複数のキーポイントの座標及び少なくとも1つの幅の値を読み取る。
ステップ506:肉太ストロークの複数のキーポイントの座標及び少なくとも1つの幅の値、肉細ストロークの複数のキーポイントの座標及び少なくとも1つの幅の値、並びに少なくとも1つのスケーリング比に従って、目的のストロークの各々を生成する。
ステップ508:生成された目的のストロークに従って、目的のフォントを生成する。
ステップ510:目的のストロークをディスプレイに表示する。
FIG. 5 shows a flowchart of generating a target stroke according to the fourth embodiment of the present invention. The explanation is as follows.
Step 502: Read the coordinates of at least one width and at least one width value of a thick stroke corresponding to each target stroke of the target font.
Step 504: Read the coordinates of at least one width and the value of at least one width of the fine stroke corresponding to each of the target strokes of the target font.
Step 506: The target stroke according to the coordinates and at least one width value of the plurality of key points of the thick stroke, the coordinates and at least one width value of the plurality of key points of the thin stroke, and at least one scaling ratio. Generate each of
Step 508: Generate a target font according to the generated target stroke.
Step 510: Display the target stroke on the display.

第4の実施形態では、目的のフォントの生成は、第1の実施形態における目的のストロークを生成するステップに基づく。したがって、第4の実施形態を用いることにより、種々のフォントが必要なときに、新しいフォントは、元のフォントの水平ストローク、垂直ストローク及び傾斜ストロークのスケーリング比を個々に設定することにより生成できる。これは、データベースに格納する必要のあるフォントを削減する。   In the fourth embodiment, the generation of the target font is based on the step of generating the target stroke in the first embodiment. Therefore, by using the fourth embodiment, when various fonts are needed, a new font can be generated by individually setting the scaling ratio of the horizontal stroke, the vertical stroke and the slant stroke of the original font. This reduces the fonts that need to be stored in the database.

図6A乃至6Cを参照する。図6Aは文字「茅」の肉細ストロークを示し、図6Bは文字「茅」の肉太ストロークを示す。図6A及び6Bでは、肉細ストロークのキーポイント及び肉太ストロークのキーポイントに対して中間値の推定が実行され、肉細ストロークの幅の値及び肉太ストロークの幅の値に対しても中間値の推定が実行され、目的のフォントA1―A25が生成される。目的のフォントA1―A25のキーポイント及び幅の値は、図6Aの肉細ストローク及び図6Bの肉太ストロークに対して中間値の推定を実行することにより生成されるので、目的のフォントA1―A25の構造は、境界を越えない。   Please refer to FIGS. 6A to 6C. 6A shows a thin stroke of the character “茅”, and FIG. 6B shows a thick stroke of the character “茅”. In FIGS. 6A and 6B, an intermediate value is estimated for the key point of the thin stroke and the key point of the thick stroke, and is also intermediate for the width value of the thin stroke and the width value of the thick stroke. Value estimation is performed, and the target fonts A1-A25 are generated. Since the key point and width values of the target font A1-A25 are generated by performing intermediate value estimation on the thin stroke of FIG. 6A and the thick stroke of FIG. 6B, the target font A1- The structure of A25 does not cross the boundary.

図6Cは、25個の例示的な目的のフォントA1―A25を示す。図6Cでは、目的のフォントA1―A25の水平、垂直及び傾斜ストロークは、異なるスケーリング比を有し得る。例えば、図6Cの目的のフォントA1、A7、A13、A19及びA25に関し、A1からA7に沿ってA13、A19、そしてA25へと向かう方向に、水平、垂直及び傾斜ストロークの幅の値は同時に大きくなっていることが分かる。図6Cの目的のフォントA1、A6、A11、A16及びA21に関し、A1からA6に沿ってA11、A16、そしてA21へと向かう方向に、水平及び傾斜ストロークの幅の値は同時に大きくなっているが、垂直ストロークの幅の値は増大していないことが分かる。図6Cの目的のフォントA1、A2、A3、A4及びA5に関し、A1からA2に沿ってA3、A4、そしてA5へと向かう方向に、垂直及び傾斜ストロークの幅の値は同時に大きくなっているが、水平ストロークの幅の値は増大していないことが分かる。したがって、図6A−6Cから、本発明の第4の実施形態は、水平、垂直及び傾斜ストロークに異なるスケーリング比を設定できるので、目的のフォントの構造を劣化させることなく、任意の幅のストロークを有する目的のフォントを生成することが分かる。本発明を容易に理解する当業者は、25個の目的のフォントのみが示されたが、本発明は25個の目的のフォントのみを生成することに限定されず、本発明はより多くのフォントを生成でき、種々の方法で水平、垂直及び傾斜ストロークを個々に調整できる。本発明のストローク及びフォントを生成する方法の任意の適用及び組合せが、本発明の特許請求の範囲に属する。   FIG. 6C shows 25 exemplary purpose fonts A1-A25. In FIG. 6C, the horizontal, vertical and slant strokes of the target font A1-A25 may have different scaling ratios. For example, for the target fonts A1, A7, A13, A19, and A25 in FIG. 6C, the horizontal, vertical, and inclined stroke width values are increased simultaneously in the direction from A1 to A13, along A13, A19, and A25. You can see that With respect to the target fonts A1, A6, A11, A16 and A21 in FIG. 6C, the horizontal and inclined stroke width values increase simultaneously in the direction from A1 to A11 along A11, A16 and A21. It can be seen that the value of the width of the vertical stroke has not increased. For the target fonts A1, A2, A3, A4 and A5 in FIG. 6C, the vertical and slant stroke width values increase simultaneously in the direction from A1 to A3, A4, and A5 along A1. It can be seen that the value of the width of the horizontal stroke has not increased. Therefore, from FIGS. 6A-6C, the fourth embodiment of the present invention can set different scaling ratios for horizontal, vertical and inclined strokes, so that strokes of arbitrary width can be set without degrading the structure of the target font. It can be seen that the desired font is generated. Those of ordinary skill in the art who readily understand the present invention have shown only 25 target fonts, but the present invention is not limited to generating only 25 target fonts, and the present invention does not include more fonts. The horizontal, vertical and tilt strokes can be individually adjusted in various ways. Any application and combination of the method of generating strokes and fonts of the present invention is within the scope of the claims of the present invention.

以上より、第1の実施形態で提供された方法を第4の実施形態で用いることにより、フォントの構造を劣化することなく、フォントの幅を変更できる。したがって、新しいフォントのセットが必要なとき、元のフォントに基づき新しいフォントのセットを生成するだけでよく、再設計する必要がない。   As described above, by using the method provided in the first embodiment in the fourth embodiment, the font width can be changed without degrading the font structure. Thus, when a new set of fonts is needed, it is only necessary to generate a new set of fonts based on the original font, and no redesign is required.

当業者は、本発明の教示を守りつつ、装置及び方法の多くの変更及び代替に直ちに気付くだろう。したがって、上述の開示は、添付の請求の範囲の境界によってのみ限定されると考えられるべきである。   Those skilled in the art will immediately recognize many variations and alternatives to the apparatus and method while adhering to the teachings of the present invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.

K1〜K5 キーポイント
W1〜W4 幅の値
A1〜A25 目的のフォント
K1 to K5 Key points W1 to W4 Width value A1 to A25 Target font

Claims (10)

ストロークを生成する方法であって、
目的のストロークに対応する肉太ストロークの複数のキーポイントの座標及び少なくとも1つの幅の値を読み取るステップ、
前記目的のストロークに対応する肉細ストロークの複数のキーポイントの座標及び少なくとも1つの幅の値を読み取るステップ、
前記肉太ストロークの前記複数のキーポイントの座標及び前記少なくとも1つの幅の値、前記肉細ストロークの前記複数のキーポイントの座標及び前記少なくとも1つの幅の値、並びに前記目的のストロークの少なくとも1つのスケーリング比に従って、前記目的のストロークを生成するステップ、
前記目的のストロークをディスプレイに表示するステップ、
を有する方法。
A method for generating a stroke, comprising:
Reading a plurality of keypoint coordinates and at least one width value of a thick stroke corresponding to a target stroke;
Reading a plurality of keypoint coordinates and at least one width value of a fine stroke corresponding to the target stroke;
The coordinates and the at least one width value of the plurality of key points of the thick stroke, the coordinates and the at least one width value of the plurality of key points of the thin stroke, and at least one of the target strokes Generating the target stroke according to two scaling ratios;
Displaying the target stroke on a display;
Having a method.
前記肉太ストロークの前記少なくとも1つの幅の値は、前記肉太ストロークの水平、垂直又は傾斜ストロークの幅の値であり、前記肉細ストロークの前記少なくとも1つの幅の値は、前記肉細ストロークの水平、垂直又は傾斜ストロークの幅の値であり、前記目的のストロークの前記少なくとも1つの幅の値は、前記目的のストロークの水平、垂直又は傾斜ストロークの幅の値である、請求項1に記載の方法。   The at least one width value of the thick stroke is a horizontal, vertical or inclined stroke width value of the thick stroke, and the at least one width value of the thin stroke is the thin stroke. The horizontal, vertical or inclined stroke width value of the target stroke, and the at least one width value of the target stroke is a horizontal, vertical or inclined stroke width value of the target stroke. The method described. 前記目的のストロークを生成するステップは、中間値の推定により前記目的のストロークを生成するステップである、請求項1に記載の方法。   The method of claim 1, wherein generating the target stroke is generating the target stroke by estimating an intermediate value. 前記肉太ストロークの前記複数のキーポイントの座標及び前記少なくとも1つの幅の値を読み取るステップは、前記肉太ストロークの前記複数のキーポイントの座標及び前記少なくとも1つの幅の値をデータベースから読み取るステップであり、前記肉細ストロークの前記複数のキーポイントの座標及び前記少なくとも1つの幅の値を読み取るステップは、前記肉細ストロークの前記複数のキーポイントの座標及び前記少なくとも1つの幅の値を前記データベースから読み取るステップである、請求項1に記載の方法。   The step of reading the coordinates of the plurality of key points and the value of the at least one width of the thick stroke is a step of reading the coordinates of the plurality of key points and the value of the at least one width of the thick stroke from a database. And reading the coordinates of the plurality of key points of the thin stroke and the value of at least one width includes the coordinates of the plurality of key points of the thin stroke and the value of at least one width. The method of claim 1, wherein the method is a step of reading from a database. 前記肉太ストロークの前記複数のキーポイントの座標及び前記少なくとも1つの幅の値を読み取るステップは、前記肉太ストロークの前記複数のキーポイントの座標及び前記少なくとも1つの幅の値を前記目的のストロークの識別コードに従って読み取るステップであり、前記肉細ストロークの前記複数のキーポイントの座標及び前記少なくとも1つの幅の値を読み取るステップは、前記肉細ストロークの前記複数のキーポイントの座標及び前記少なくとも1つの幅の値を前記目的のストロークの前記識別コードに従って読み取るステップである、請求項1乃至4のいずれか一項に記載の方法。   The step of reading the coordinates of the plurality of key points of the thick stroke and the value of the at least one width includes the coordinates of the plurality of key points of the thick stroke and the value of the at least one width as the target stroke. Reading the coordinates of the plurality of key points of the thin stroke and the value of the at least one width comprises reading the coordinates of the plurality of key points of the thin stroke and the at least one of the thin strokes 5. A method according to any one of the preceding claims, wherein the method reads one width value according to the identification code of the target stroke. 前記肉細ストロークの少なくとも1つの幅の値に従って、前記肉太ストロークの少なくとも1つの幅の値を生成するステップ、を更に有する請求項1に記載の方法。   The method of claim 1, further comprising generating at least one width value of the thick stroke according to at least one width value of the thin stroke. 前記肉太ストロークの少なくとも1つの幅の値に従って、前記肉細ストロークの少なくとも1つの幅の値を生成するステップ、を更に有する請求項1に記載の方法。   The method of claim 1, further comprising generating at least one width value of the thin stroke according to at least one width value of the thick stroke. 前記肉細ストロークの複数のキーポイントの座標に従って、前記肉太ストロークの複数のキーポイントの座標を生成するステップ、を更に有する請求項1に記載の方法。   The method according to claim 1, further comprising generating coordinates of a plurality of key points of the thick stroke according to coordinates of the key points of the thin stroke. 前記肉太ストロークの複数のキーポイントの座標に従って、前記肉細ストロークの複数のキーポイントの座標を生成するステップ、を更に有する請求項1に記載の方法。   The method of claim 1, further comprising generating coordinates of a plurality of key points of the thin stroke according to coordinates of a plurality of key points of the thick stroke. フォントを生成する方法であって、
複数の目的のストロークを生成するステップ、
前記目的のストロークに従って前記フォントを生成するステップ、
を有し、
前記目的のストロークの各々を生成するステップは、
目的のストロークに対応する肉太ストロークの複数のキーポイントの座標及び少なくとも1つの幅の値を読み取るステップ、
前記目的のストロークに対応する肉細ストロークの複数のキーポイントの座標及び少なくとも1つの幅の値を読み取るステップ、
前記肉太ストロークの前記複数のキーポイントの座標及び前記少なくとも1つの幅の値、前記肉細ストロークの前記複数のキーポイントの座標及び前記少なくとも1つの幅の値、並びに前記目的のストロークの少なくとも1つのスケーリング比に従って、前記目的のストロークを生成するステップ、
を有する、方法。
A method of generating a font,
Generating multiple desired strokes;
Generating the font according to the target stroke;
Have
Generating each of the target strokes comprises:
Reading a plurality of keypoint coordinates and at least one width value of a thick stroke corresponding to a target stroke;
Reading a plurality of keypoint coordinates and at least one width value of a fine stroke corresponding to the target stroke;
The coordinates and the at least one width value of the plurality of key points of the thick stroke, the coordinates and the at least one width value of the plurality of key points of the thin stroke, and at least one of the target strokes Generating the target stroke according to two scaling ratios;
Having a method.
JP2012182031A 2012-04-10 2012-08-21 How to generate strokes Active JP5726824B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
TW101112597A TWI482101B (en) 2012-04-10 2012-04-10 Method of generating strokes
TW101112597 2012-04-10

Publications (2)

Publication Number Publication Date
JP2013218258A true JP2013218258A (en) 2013-10-24
JP5726824B2 JP5726824B2 (en) 2015-06-03

Family

ID=49590383

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012182031A Active JP5726824B2 (en) 2012-04-10 2012-08-21 How to generate strokes

Country Status (2)

Country Link
JP (1) JP5726824B2 (en)
TW (1) TWI482101B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11237874A (en) * 1997-12-05 1999-08-31 Adobe Syst Inc Method for generating multi-master type face including chinese character
JP2000242260A (en) * 1999-02-23 2000-09-08 Huakang Science & Technol Dev Co Ltd Formation of font
JP2006171675A (en) * 2004-12-13 2006-06-29 Dynacomware Taiwan Inc Method of generating silhouette-oriented gray font
JP2007011733A (en) * 2005-06-30 2007-01-18 Dynacomware Taiwan Inc Method, device and system for preparing asian web font document
JP2008046622A (en) * 2006-08-11 2008-02-28 Arphic Technology Co Ltd Method for creating fonts
JP2010055048A (en) * 2008-08-29 2010-03-11 Dynacomware Taiwan Inc Method for generating stroke-based font character for low-resolution display

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0981108A (en) * 1995-07-12 1997-03-28 Canon Inc Character pattern generating device and method therefor
TWI231457B (en) * 2001-11-30 2005-04-21 Dynacomware Taiwan Inc System and method for converting an outline font into a glyph-based font
TWI352298B (en) * 2008-07-24 2011-11-11 Arphic Technology Co Ltd Method for generating center-lined font from outli

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11237874A (en) * 1997-12-05 1999-08-31 Adobe Syst Inc Method for generating multi-master type face including chinese character
JP2000242260A (en) * 1999-02-23 2000-09-08 Huakang Science & Technol Dev Co Ltd Formation of font
JP2006171675A (en) * 2004-12-13 2006-06-29 Dynacomware Taiwan Inc Method of generating silhouette-oriented gray font
JP2007011733A (en) * 2005-06-30 2007-01-18 Dynacomware Taiwan Inc Method, device and system for preparing asian web font document
JP2008046622A (en) * 2006-08-11 2008-02-28 Arphic Technology Co Ltd Method for creating fonts
JP2010055048A (en) * 2008-08-29 2010-03-11 Dynacomware Taiwan Inc Method for generating stroke-based font character for low-resolution display

Also Published As

Publication number Publication date
TWI482101B (en) 2015-04-21
TW201342256A (en) 2013-10-16
JP5726824B2 (en) 2015-06-03

Similar Documents

Publication Publication Date Title
JP6274746B2 (en) Projection type image display apparatus, projection image display method, and computer program
CN109919847B (en) Method for improving quality of amplified image
JP6485068B2 (en) Image processing method and image processing apparatus
US9870638B2 (en) Appearance transfer techniques
JP4866013B2 (en) Character image generation program, system thereof, and method thereof
JP4370438B2 (en) Vector image drawing apparatus, vector image drawing method and program
US9852523B2 (en) Appearance transfer techniques maintaining temporal coherence
JP5726824B2 (en) How to generate strokes
JP2006139727A (en) Three-dimensional figure drawing processor, image display device, three-dimensional figure drawing processing method, control program for executing the method by computer, and computer readable recording medium recorded with the program
JP2014071448A (en) Font generation system and method of display unit
JP4977243B2 (en) Image processing apparatus, method, and program
JP4480476B2 (en) Image processing apparatus and image processing method
JP4361118B2 (en) Information processing apparatus, information processing method, and program
JP4055908B2 (en) Wipe pattern generator
JP3827318B2 (en) Character / graphic display device, program, and recording medium
JP2015064761A (en) Matching processing apparatus and matching method
JP2005107871A (en) Image display method and device, program by the same method and recording medium with its program stored
JP2015106318A (en) Image processor and image processing method
CN107492342B (en) Driving method for real-time sense of display panel and display device
JP2015064869A (en) Image processing method and image processing apparatus
JP3243293B2 (en) Contour correction method
JP6122322B2 (en) Image processing apparatus, program, and integrated circuit
JP2013246824A (en) Drawing code generation system and method
JP6326914B2 (en) Interpolation apparatus and interpolation method
JP5499727B2 (en) Image processing apparatus, image processing method, image processing program, and seal manufacturing system

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140107

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141007

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141209

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150317

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150401

R150 Certificate of patent or registration of utility model

Ref document number: 5726824

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250