Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2901742B2 - Kanji font generation method - Google Patents
[go: Go Back, main page]

JP2901742B2 - Kanji font generation method - Google Patents

Kanji font generation method

Info

Publication number
JP2901742B2
JP2901742B2 JP2298195A JP29819590A JP2901742B2 JP 2901742 B2 JP2901742 B2 JP 2901742B2 JP 2298195 A JP2298195 A JP 2298195A JP 29819590 A JP29819590 A JP 29819590A JP 2901742 B2 JP2901742 B2 JP 2901742B2
Authority
JP
Japan
Prior art keywords
stroke
font
data
kanji
image
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
JP2298195A
Other languages
Japanese (ja)
Other versions
JPH04171488A (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 JP2298195A priority Critical patent/JP2901742B2/en
Publication of JPH04171488A publication Critical patent/JPH04171488A/en
Application granted granted Critical
Publication of JP2901742B2 publication Critical patent/JP2901742B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Input From Keyboards Or The Like (AREA)
  • Image Generation (AREA)
  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、漢字フォントの生成方式に関する。Description: TECHNICAL FIELD The present invention relates to a kanji font generation method.

〔従来の技術〕[Conventional technology]

従来、DTP(デスクトップパブリッング)システム等
の高品質、多種字体を要求される分野では、アナログフ
ォントのスキャンデータを機械的に処理し、輪郭ベクト
ル化した所謂アウトラインフォントが一般に用いられて
いる。
2. Description of the Related Art Conventionally, in a field requiring high quality and various types of characters such as a DTP (desktop publishing) system, a so-called outline font obtained by mechanically processing scan data of an analog font and converting the data into an outline vector is generally used.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

しかし、このアウトラインフォントは、次のような問
題点がある。
However, this outline font has the following problems.

第1に、従来のアウトラインフォントは、漢字の本質
的特徴である“扁”や“旁”の階層性、その構成単位で
ある“画”ストロークの共通性を利用できず、また
“画”ストロークの交差による交点ベクトルの発生やア
ウトラインの連続性の切断によって冗長データが多量に
発生してしまうため、フォントデータ量が多く、その記
憶のためのメモリ量が大きい。
First, conventional outline fonts cannot utilize the essential characteristics of Chinese characters, such as the “hi” and “next” hierarchies, and the commonality of the “stroke” stroke that is a constituent unit thereof, and A large amount of redundant data is generated due to the generation of an intersection vector due to the intersection of and the continuity of the outline. Therefore, the amount of font data is large and the amount of memory for storing the font data is large.

第2に、従来のアウトラインフォントは文字変形に対
するインデクスを持たないため、フォントデザイン修正
が容易でない。すなわち、フォントデザインの修正は、
文字のスケルトンの修正、“画”ストローク単位のパタ
ーン修正、“扁旁”要素のパターン単位の修正、線径
(筆の太さ)の修正の各レベルがあり、そのためには例
えばCRT画面上で修正単位のアウトラインを切り出す必
要があるが、従来のアウトラインフォントはそのような
切り出しはできないため、文字単位での修正以外は実際
上不可能である。
Second, since the conventional outline font does not have an index for character deformation, it is not easy to modify the font design. In other words, font design modifications
There are various levels of character skeleton correction, "drawing" stroke unit pattern correction, "bystander" element pattern unit correction, and line diameter (brush thickness) correction. For example, on the CRT screen, Although it is necessary to cut out the outline of the correction unit, such a conventional outline font cannot cut out the outline, so that it is practically impossible except for correction in units of characters.

本発明の目的は、上記問題点を解消できる新規な漢字
フォント生成方式を提供することにある。
An object of the present invention is to provide a new kanji font generation method capable of solving the above-mentioned problems.

〔課題を解決するための手段〕[Means for solving the problem]

本発明の漢字フォント生成方式は、“画”ストローク
のノーマライズされた構造データである“画”ストロー
クプリミティブと、“画”ストロークの線径のデータ
と、“画”ストロークの大きさ、角度及び位置を定義す
るアフィン変換マトリクスのパラメータ値と、“画”ス
トロークよりなる“扁旁”要素の大きさ、角度及び位置
を定義するアフィン変換マトリクスのパラメータ値とを
用い、漢字フォントを生成することを特徴とする。
According to the kanji font generation method of the present invention, the "stroke" stroke primitive, which is the normalized structure data of the "stroke" stroke, the line diameter data of the "stroke" stroke, the size, angle and position of the "stroke" stroke A kanji font is generated by using parameter values of an affine transformation matrix that defines a character, and parameter values of an affine transformation matrix that defines the size, angle, and position of a “parallel” element composed of an “image” stroke And

〔作 用〕(Operation)

漢字フォントパターンは交差、接触を含んだ複数の
“画”ストロークパターンの射像であるが、本発明によ
れば、“画”ストロークプリミティブ、線径、“画”ス
トロークのアフィン変換(拡大/縮小、回転、変位)と
いう3種の独立パラメータによって、漢字フォントのデ
ザインの自由度を確保でき、また、その修正が極めて容
易になる。また、“画”ストロークプリミティブは多数
の文字に共通するので、従来のアウトラインフォントに
比べデータ量を、したがってフォントメモリ量を大幅に
減らすことができる。
The kanji font pattern is a projection of a plurality of “drawing” stroke patterns including intersections and touches. According to the present invention, “drawing” stroke primitives, line diameters, and affine transformations of “drawing” strokes (enlargement / reduction) , Rotation, and displacement), the degree of freedom in the design of the kanji font can be ensured, and its correction is extremely easy. Also, since the "image" stroke primitive is common to many characters, the amount of data, and thus the amount of font memory, can be significantly reduced as compared to conventional outline fonts.

なお、“画”ストロークプリミティブに関しては、ア
ウトラインをストロークの進行(仮想中心線)に対しリ
ニアな部分と、“セリフ”、“跳ね”、“留め”等のノ
ンリニアな部分に分離し、ノンリニア部分をそのままデ
ータ化し、リニア部分は仮想中心線及び線径(線幅)で
データ化してもよい。このようにすると、データ量を一
層削減でき、また線径指定による線径可変ができる。
As for the stroke stroke primitive, the outline is separated into a linear part with respect to the stroke progression (virtual center line) and non-linear parts such as "line", "bounce", and "clasp". The data may be directly converted into data, and the linear portion may be converted into data using the virtual center line and the line diameter (line width). By doing so, the data amount can be further reduced, and the wire diameter can be varied by specifying the wire diameter.

また、漢字は“扁”、“旁”等と呼ばれる固有の
“画”ストロークの組み合わせよりなる単位要素(“扁
旁”要素)を有し、本発明によれば、この“扁旁”要素
を単位としたアフィン変換を行う。この“扁旁”要素単
位では文字デザインの自由度の点で多少の制約がある
が、殆どの場合、文字デザインの自由度は十分であり、
十分な品質の文字デザインが可能であり、むしろデータ
量を大幅に削減できるメリットが大きい。
Further, the kanji has a unit element (“parallel” element) composed of a combination of unique “drawing” strokes called “pan”, “parallel”, etc. According to the present invention, this “parallel” element is Perform affine transformation with unit. Although there are some restrictions on the degree of freedom in character design in this “side by side” element unit, in most cases, the degree of freedom in character design is sufficient,
Character designs of sufficient quality are possible, and the merit that the data amount can be significantly reduced is great.

なお、“扁旁”要素パターンを、フォント品質上の支
障がなければプリミティブとして複数文字で共用し、デ
ータ量を一層削減することも可能である。
It should be noted that, if there is no hindrance in font quality, the “byspan” element pattern can be shared by a plurality of characters as a primitive, and the data amount can be further reduced.

〔実施例〕〔Example〕

第1図は本発明の一実施例の機能的構成の概略を示す
ブロック図である。1はフォントデータを例えば“文
字”、“画”、“扁旁”要素の別毎に階層的に編成され
たテーブルとして格納するデータメモリ、2は文字コー
ド等を入力する入力部、3は入力された文字コードに対
応した文字の描画に必要なフォントデータをデータメモ
リ1より読出しフォントを描画(生成)する描画部、4
は描画部3によって生成されたフォントパターンを表示
または印刷し、あるいは記憶する出力部である。第3図
にデータメモリ1に格納されるフォントデータの構成例
を示す。
FIG. 1 is a block diagram schematically showing a functional configuration of an embodiment of the present invention. Reference numeral 1 denotes a data memory for storing font data as a table organized hierarchically for each of, for example, "character", "drawing", and "parallel"elements; 2, an input unit for inputting character codes and the like; A drawing unit for reading font data necessary for drawing a character corresponding to the generated character code from the data memory 1 and drawing (generating) a font;
Reference numeral denotes an output unit that displays, prints, or stores the font pattern generated by the drawing unit 3. FIG. 3 shows a configuration example of the font data stored in the data memory 1.

第2図は、描画部3によるフォント生成(描画)処理
を、漢字の“杉”と“松”を例にして具体的に示してい
る。この処理は基本的に4つのプロセス,,,
からなる。
FIG. 2 specifically shows the font generation (drawing) processing by the drawing unit 3 by taking the Chinese characters “cedar” and “matsu” as examples. This process basically consists of four processes:
Consists of

プロセスは、指定された漢字を構成する“画”スト
ロークプリミティブを定義する処理部分である。具体的
には、入力部2より文字コードを入力し、該文字コード
に対応するフォントデータの内容をデータメモリ1から
読み込むことで得られる。ここで、“画”ストロークプ
リミティブは、漢字の最小単位要素である“画”のスト
ロークのアウトラインデータであって、ノーマライズさ
れた単位座標上にプロットされ、概念的に単位長であ
る。
The process is a processing part that defines an “image” stroke primitive that constitutes a designated kanji. Specifically, a character code is input from the input unit 2 and the content of the font data corresponding to the character code is read from the data memory 1. Here, the stroke stroke primitive is outline data of the stroke of the stroke, which is the minimum unit element of the kanji, and is plotted on normalized unit coordinates, and is conceptually a unit length.

“杉”の例では、S1(横線)、S2(縦線)、S3(左払
い)、S4(右留め)という4個の“画”ストロークプリ
ミティブが定義される。“松”の例では、S1〜S4に加え
て“旁”に必要なS5という“画”ストロークプリミティ
ブが定義される。
In the example of “cedar”, four “drawing” stroke primitives, S1 (horizontal line), S2 (vertical line), S3 (leftward payment), and S4 (rightward), are defined. In the example of “pine”, an “image” stroke primitive called S5 required “beside” is defined in addition to S1 to S4.

プロセスは、前プロセスで定義された“画”ストロ
ークのリニア部分(セリフ、跳ね、留め等のストローク
骨格の始点、中点、終点のパターン部分等を除く)につ
いて、線径(筆の太さ)wiを定義する処理部分である。
具体的には、フォントデータに含まれる“画”ストロー
クプリミティブの線径パラメータを用いて太さ処理(定
量化)を行う。
The process is based on the line diameter (thickness of the brush) of the linear part (excluding the pattern part at the start point, middle point, and end point of the stroke skeleton such as serif, bouncing, and closing) defined in the previous process. This is the processing part that defines wi.
Specifically, the thickness processing (quantification) is performed using the line diameter parameter of the “image” stroke primitive included in the font data.

プロセスは、プロセス,を経た“画”ストロー
クに対するアフィン変換マトリクスの定義(マトリクス
のパラメータの定量化)を行う処理部分である。このア
フィン変換マトリクスは同次マトリクス の6個のパラメータMmnによってノーマイズされた“扁
旁”要素平面上に“画”ストロークの占める大きさ、角
度、位置を決定する。具体的には、フォントデータに含
まれる“画”マトリクスパラメータを用いて行う。
The process is a processing part for defining an affine transformation matrix (quantifying the parameters of the matrix) for the “image” stroke that has passed through the process. This affine transformation matrix is a homogeneous matrix The size, the angle, and the position occupied by the “image” stroke on the “nearby” element plane normalized by the six parameters Mmn are determined. Specifically, this is performed using the “image” matrix parameter included in the font data.

プロセスは“扁旁”要素に対するアフィン変換マト
リクスMXiを定義する処理部分で、プロセスと同概念
でノーマライズされた“文字”平面上にプロセスを経
た“扁旁”要素の各ストロークの占める大きさ、角度、
位置を決定する。具体的には、同じくフォントデータに
含まれる“扁旁”マトリクスパラメータを用いて行う。
The process is the processing part that defines the affine transformation matrix MXi for the “bystander” element. The size and angle occupied by each stroke of the “bystander” element that has been processed on the “character” plane that has been normalized in the same concept as the process ,
Determine the position. Specifically, this is performed using the “parallel” matrix parameter also included in the font data.

以上の生成過程は、漢字フォントのデザインアイテム
すなわち 1) 個々の文字における“画”ストロークの定性的な
共通性(例えば全ての横線のアウトラインは同数のプロ
ット点と同種の線種を持つこと)と同時に定量的な非共
通性(例えば全ての横線のアウトラインは異なる点位置
をもつこと)を有する。
The above generation process is based on the design items of the kanji font, ie, 1) the qualitative commonality of the “stroke” stroke in each character (for example, all horizontal outlines have the same number of plot points and the same line type) and At the same time, there is quantitative non-commonality (eg, all horizontal outlines have different point locations).

2) ストロークプリミティブのパターン(例えばセリ
フ・パターン)を変えれば、同じストロークプリミティ
ブを用いる全ての文字のパターンが変わるという階層性
を有する。
2) When the pattern of the stroke primitive (for example, a serif pattern) is changed, the pattern has a hierarchical structure in which the pattern of all characters using the same stroke primitive is changed.

を満足する。また、ストロークの交差・接触の干渉がな
いのでフォントメモリは大幅に削減される。
To be satisfied. Further, since there is no interference of stroke intersection and contact, the font memory is greatly reduced.

〔発明の効果〕〔The invention's effect〕

以上説明した如く、本発明によれば、漢字フォントの
データ量を大幅に減らしてフォントメモリの要領削減が
可能となり、また漢字フォントのデザイン修正が容易に
なる等の効果が得られる。
As described above, according to the present invention, it is possible to greatly reduce the amount of data of a kanji font, reduce the size of a font memory, and easily modify the design of a kanji font.

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

第1図は本発明の一実施例の機能的構成を示すブロック
図、第2図は漢字フォント生成過程の説明図、第3図は
データメモリ内のフォントデータの構成例を示す図であ
る。 1……データメモリ、2……入力部、3……描画部、4
……出力部。
FIG. 1 is a block diagram showing a functional configuration of an embodiment of the present invention, FIG. 2 is an explanatory diagram of a kanji font generation process, and FIG. 3 is a diagram showing a configuration example of font data in a data memory. 1 data memory, 2 input unit, 3 drawing unit, 4
... Output section.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】“画”ストロークのノーマライズされた構
造データである“画”ストロークプリミティブと、
“画”ストロークの線径のデータと、“画”ストローク
の大きさ、角度及び位置を定義するアフィン変換マトリ
クスのパラメータ値と、“画”ストロークよりなる“扁
旁”要素の大きさ、角度及び位置を定義するアフィン変
換マトリクスのパラメータ値とを用い、漢字フォントを
生成することを特徴とする漢字フォント生成方式。
1. An "image" stroke primitive which is normalized structure data of an "image"stroke;
The data of the line diameter of the “image” stroke, the parameter values of the affine transformation matrix that defines the size, angle, and position of the “image” stroke, and the size, angle, and A kanji font generation method for generating a kanji font using a parameter value of an affine transformation matrix that defines a position.
JP2298195A 1990-11-02 1990-11-02 Kanji font generation method Expired - Fee Related JP2901742B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2298195A JP2901742B2 (en) 1990-11-02 1990-11-02 Kanji font generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2298195A JP2901742B2 (en) 1990-11-02 1990-11-02 Kanji font generation method

Publications (2)

Publication Number Publication Date
JPH04171488A JPH04171488A (en) 1992-06-18
JP2901742B2 true JP2901742B2 (en) 1999-06-07

Family

ID=17856449

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2298195A Expired - Fee Related JP2901742B2 (en) 1990-11-02 1990-11-02 Kanji font generation method

Country Status (1)

Country Link
JP (1) JP2901742B2 (en)

Also Published As

Publication number Publication date
JPH04171488A (en) 1992-06-18

Similar Documents

Publication Publication Date Title
US4897638A (en) Method for generating character patterns with controlled size and thickness
US5929862A (en) Antialiasing system and method that minimize memory requirements and memory accesses by storing a reduced set of subsample information
US5489920A (en) Method for determining the optimum angle for displaying a line on raster output devices
JP3145509B2 (en) Character generation method and device
JP2964841B2 (en) Data converter
JPH1063249A (en) Character pattern generator
KR100212412B1 (en) Character pattern generator
DE68923412T2 (en) Image processing device.
JP2901742B2 (en) Kanji font generation method
JP2956784B2 (en) Kanji font data conversion method
JP3315861B2 (en) Character generator
US5544296A (en) Document output method
GB2196769A (en) Method and apparatus for high resolution character generation
JP2965429B2 (en) Character output device
JPS63217394A (en) Character outline generation method
JP3283762B2 (en) Character pattern generator
JPH06124076A (en) Outline data processor
JPH01262149A (en) Document output device with dot character font generation function
JPS6132676B2 (en)
JP3324831B2 (en) CAD equipment
JPH04177294A (en) Vector font expansion device
JP2697328B2 (en) Contour data processing device
JP2889760B2 (en) An electronic typesetting device that combines characters and figures
JPH06175343A (en) Allotment processor
JP3087463B2 (en) Character symbol generator

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees