JPH02201535A - Character pattern generating system - Google Patents
Character pattern generating systemInfo
- Publication number
- JPH02201535A JPH02201535A JP1019569A JP1956989A JPH02201535A JP H02201535 A JPH02201535 A JP H02201535A JP 1019569 A JP1019569 A JP 1019569A JP 1956989 A JP1956989 A JP 1956989A JP H02201535 A JPH02201535 A JP H02201535A
- Authority
- JP
- Japan
- Prior art keywords
- vector
- character pattern
- line
- circles
- stroke
- 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
Links
Landscapes
- Digital Computer Display Output (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
【発明の詳細な説明】
〔概 要〕
画ごとの骨格を表わすベクトルデータ上の適宜の間隔を
おいた点に中心を有するとともに属性データによって定
められる半径の円を設定し、これら複数の円が上記ベク
トルの進行方向と直角に交わる点を結んだ線を輪郭とし
て文字パターンを生成するようにした。[Detailed Description of the Invention] [Summary] Circles having centers at appropriately spaced points on vector data representing the skeleton of each stroke and radii determined by attribute data are set, and these circles are A character pattern is generated using a line connecting points perpendicular to the traveling direction of the vector as an outline.
デイスプレィあるいはプリントなどの表示を行なう際に
用いられる文字パターンの生成方式に関する。This field relates to a method for generating character patterns used for displaying, printing, etc.
上記のような文字パターンの生成方式として従来からド
ツトフォントあるいは輪郭線ベクトルフォントが用いら
れている。Conventionally, dot fonts or outline vector fonts have been used as a method for generating character patterns such as those described above.
しかしながら、ドツトフォントを用いる文字パターン生
成方式においては表示すべき文字を拡大・縮小あるいは
回転して表示するような変形処理が困難であり、また、
輪郭線ベクトルフォントでは文字当りのデータ量が非常
に大きくなるという問題があった。However, in character pattern generation methods using dot fonts, it is difficult to perform transformation processing such as enlarging, reducing, or rotating characters to be displayed.
Contour vector fonts have a problem in that the amount of data per character becomes extremely large.
本発明は、データ量を輪郭線ベクトルフォントを用いる
場合に比して著しく少なくしながら変形処理にも適した
ベクトルフォントを得ることを目的とする。SUMMARY OF THE INVENTION An object of the present invention is to obtain a vector font that is suitable for transformation processing while significantly reducing the amount of data compared to the case where an outline vector font is used.
表示すべき文字を画ごとに分解して、この画ごとの骨格
を表わすベクトルデータと、この画の属性を示す属性デ
ータとを対応させて格納しておき、このベクトルデータ
によって定められる線上の適宜の間隔をおいた点に中心
を有するとともに属性データによって定められる半径の
円を設定し、これら複数の円が上記ベクトルの進行方向
と直角に交わる点を結んだ線を輪郭として文字パターン
生成するようにした。Characters to be displayed are broken down into strokes, vector data representing the skeleton of each stroke and attribute data representing the attributes of this stroke are stored in correspondence, and appropriate positions on the line defined by this vector data are stored. Set circles with centers at points spaced apart from each other and a radius determined by the attribute data, and generate a character pattern with a line connecting the points where these circles intersect perpendicularly to the direction of travel of the vector as an outline. I made it.
文字には各種の字体があるが、例えば明朝体の漢字にお
いては幾何学的な比較的太い垂直線および細い水平線と
、筆圧に比例して幅が増減する毛筆的な軌跡である点、
打込み、払い、折れおよび曲がりなどがその特徴であり
、カタカナはやや直線的ではあるが比較的太い垂直線お
よび細い水平線からなる幾何学的な部分がなく、ひらが
なでは直線的な部分がない。また、英数字・記号などに
おいては直線、弧、セリフなどからなるペン学的な軌跡
であり、筆圧に比例してほぼ水平方向の幅が変化する。There are various types of fonts, but for example, Mincho kanji has relatively thick vertical lines and thin horizontal lines that are geometric, and a brush-like trajectory that increases or decreases in width in proportion to the pressure of the pen.
It is characterized by strokes, strokes, folds, and bends, and while katakana is somewhat straight, it does not have geometric parts consisting of relatively thick vertical lines and thin horizontal lines, and hiragana does not have straight parts. In addition, for alphanumeric characters and symbols, it is a pen-like trajectory consisting of straight lines, arcs, serifs, etc., and the width in the horizontal direction changes in proportion to the pressure of the pen.
ところで、文字は一般に画と呼ばれる線分の組合せによ
って構成されており、この画はその中心線である線分の
形状とこの線分の各位置における幅とによって形状が定
まる。By the way, characters are generally composed of a combination of line segments called a stroke, and the shape of this stroke is determined by the shape of the line segment that is the center line of the stroke and the width of the line segment at each position.
この中心線である線分の形状であるストロークデータは
文字パターンの作成者によって定められるものであるが
、線分の各位置における幅は点、打込み、払い、折れお
よび曲がりなどの画の属性によって関数的に定めること
ができる。Stroke data, which is the shape of the line segment that is the center line, is determined by the creator of the character pattern, but the width at each position of the line segment is determined by stroke attributes such as points, strokes, strokes, folds, and curves. It can be defined functionally.
第1図は画の属性の種類を例示したもので、左欄には画
の種類を8種類に分類してあり、右欄にはこれらの種類
に該当する画の形状を骨格のベクトルとして示しである
。なお、点として示したのはこれらのベクトルの始端で
ある。Figure 1 shows examples of the types of picture attributes; the left column classifies the picture types into eight types, and the right column shows the shapes of pictures corresponding to these types as skeleton vectors. It is. Note that the points shown are the starting ends of these vectors.
第2図は前述の幾何学的軌跡、毛筆的軌跡およびペン学
的軌跡を示したものであり、(a)図に示す幾何学的軌
跡においては図示のような末端処理が行われ、fb1図
に示す毛筆的軌跡においては筆の圧力に対応した太さの
画となり、また、+01図に示すペン学的軌跡において
は筆圧に比例したほぼ水平方向の幅を有する軌跡となる
。Figure 2 shows the aforementioned geometric locus, calligraphy locus, and pen-like locus. In the geometric locus shown in figure (a), the end processing as shown is performed, and the fb1 figure In the brush-like trajectory shown in Figure 1, the thickness of the stroke corresponds to the pressure of the brush, and in the pen-like trajectory shown in Figure +01, the width is approximately horizontal in proportion to the pressure of the brush.
そして、これらの画を構成する軌跡の幅は、画ごとのベ
クトルの起点からの距離の関数として指定することがで
きるから、ベクトルと画の属性とを対応させて記憶して
おけば文字パターンを得ることができる。The width of the trajectory that makes up these strokes can be specified as a function of the distance from the origin of the vector for each stroke, so if you remember the vectors and stroke attributes in correspondence, you can easily create character patterns. Obtainable.
本発明ではこの軌跡の幅を得るために、上記ベクトルに
よって定められる線上の適宜の間隔をおいた点に中心を
有するとともに、このベクトルの起点からの距離の関数
として求められる半径の円を設定し、これら複数の円が
上記ベクトルの進行方向と直角に交わる点を結んだ線を
輪郭として文字パターンを生成するようにした。In the present invention, in order to obtain the width of this locus, circles are set whose centers are at appropriately spaced points on the line defined by the above vector and whose radius is determined as a function of the distance from the origin of this vector. , a character pattern is generated using a line connecting the points where these plurality of circles intersect at right angles to the traveling direction of the vector as an outline.
なお、上記属性データによって定められる関数は、幾何
学的軌跡、毛筆的軌跡およびベン学的軌跡などの表示す
べき字体ごとに予め定めておくものである。Note that the function determined by the above attribute data is determined in advance for each font to be displayed, such as a geometric trajectory, a calligraphy trajectory, and a Vennian trajectory.
下表は第3図に示す“泳”という文字を本発明によって
格納したデータテーブルの例を示すものである。The table below shows an example of a data table in which the character "sui" shown in FIG. 3 is stored according to the present invention.
はいうまでもない。Needless to say.
また、前述の幾何学的軌跡、毛筆的軌跡およびペン学的
軌跡などを区別するためには、これらを識別するための
符号をデータ中に挿入したり、上記の両種を示す符号な
どをこれら軌跡ごとに異なる符号とすればよい。In addition, in order to distinguish between the aforementioned geometric trajectories, brush-like trajectories, pen-like trajectories, etc., it is necessary to insert codes to identify them into the data, or to insert codes indicating the above two types into the data. A different code may be used for each trajectory.
ここで、ストロークデータのS1〜S1゜は画の番号で
あり、次にこの画の始点の座標、画の骨格のベクトルを
構成する座標が順次並べられたものであり、両種は第1
図に示した画の種類で、実際にテーブルに格納する際に
は適宜の符号、例えば第1図に数字で示した番号などを
用いることができる。なお、上記座標は当該文字を表示
すべき文字パターン領域を基準として作成されるべきこ
と〔発明の効果〕
本発明の文字パターン生成方式によれば、文字パターン
の周囲の輪郭をすべてベクトルとして格納しておく輪郭
線ベクトルフォントを用いる従来技術に比べて、格納し
ておくべきデータ量がほぼ半分になることは前記の表か
らも明らかであり、また、従来のドツトフォントを用い
る場合の比して格段の品質の文字パターンが得られると
いう格別の効果が達成される。Here, S1 to S1° of the stroke data is the number of the stroke, and then the coordinates of the starting point of this stroke and the coordinates that constitute the vector of the skeleton of the stroke are arranged in order.
When the types of images shown in the figure are actually stored in the table, appropriate symbols such as the numbers shown in FIG. 1 can be used. Note that the above coordinates should be created based on the character pattern area where the character is to be displayed. [Effects of the Invention] According to the character pattern generation method of the present invention, all the contours around the character pattern are stored as vectors. It is clear from the table above that the amount of data that needs to be stored is approximately half that of the conventional technology that uses contour vector fonts. A special effect is achieved in that character patterns of exceptional quality are obtained.
第1図は画の属性の種類を例示した図、第2図は幾何学
的軌跡、毛筆的軌跡およびペン学的軌跡を示した図、
第3図は本発明によって“泳”という文字パターンを生
成した例を示す図である。Figure 1 is a diagram illustrating the types of attributes of strokes, Figure 2 is a diagram showing geometric locus, calligraphy locus, and pen-like locus, and Figure 3 is a diagram illustrating the character pattern "Ei" according to the present invention. It is a figure which shows the generated example.
Claims (1)
を表わすベクトルデータと、この画の属性を示す属性デ
ータとを対応させて格納しておき、このベクトルデータ
によって定められる線上の適宜の間隔をおいた点に中心
を有するとともに属性データによって定められる半径の
円を設定し、これら複数の円が上記ベクトルの進行方向
と直角に交わる点を結んだ線を輪郭として文字パターン
を生成するようにしたことを特徴とする文字パターン生
成方式。Characters to be displayed are broken down into strokes, vector data representing the skeleton of each stroke and attribute data representing the attributes of this stroke are stored in correspondence, and appropriate positions on the line defined by this vector data are stored. A character pattern is generated with a line connecting the points where these multiple circles intersect perpendicularly to the direction of travel of the vector as an outline. A character pattern generation method characterized by:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1019569A JPH02201535A (en) | 1989-01-31 | 1989-01-31 | Character pattern generating system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1019569A JPH02201535A (en) | 1989-01-31 | 1989-01-31 | Character pattern generating system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02201535A true JPH02201535A (en) | 1990-08-09 |
Family
ID=12002923
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1019569A Pending JPH02201535A (en) | 1989-01-31 | 1989-01-31 | Character pattern generating system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02201535A (en) |
-
1989
- 1989-01-31 JP JP1019569A patent/JPH02201535A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR920001697B1 (en) | How to create a character pattern | |
| KR100216614B1 (en) | Character pattern generating device | |
| JPH07282276A (en) | Device and method for graphic data generation | |
| JP2017003987A (en) | Font transformation method by changing the size of at least one section of a frame surrounding a character | |
| KR100212412B1 (en) | Character pattern generator | |
| JPH02201535A (en) | Character pattern generating system | |
| JPS59210482A (en) | Character pattern generator | |
| JP2833101B2 (en) | Pattern deformation method | |
| CN115690376A (en) | Method for creating airborne control panel character three-dimensional model | |
| JPH0736433A (en) | Character database creation device | |
| JP2538631B2 (en) | How to handle vector characters | |
| JP2757411B2 (en) | Data converter | |
| Gossling | Beyond Hershey: A Representation of Fonts for Computer Graphics | |
| JP2771981B2 (en) | High quality character pattern generation method | |
| KR100273334B1 (en) | How to Implement Vector Fonts in CAD Systems | |
| JP2835056B2 (en) | High quality character pattern generation method | |
| JPS629390A (en) | Character pattern generator | |
| JPS63303477A (en) | Vector character and graphic processing system | |
| JP3347756B2 (en) | Character generation method and device | |
| JP2776887B2 (en) | Font pattern processing method | |
| JPH01166967A (en) | Pattern data forming method and pattern generator containing said pattern data | |
| JPH0380294A (en) | Formation of character pattern | |
| Nishikawa et al. | High-quality character-generation method using contour representation | |
| JPH0375973A (en) | Trimming generating device | |
| JPH02173695A (en) | Generating method for round end part and round corner part of round gothic letter |