JPH0580741A - System and device for character font generation - Google Patents

System and device for character font generation

Info

Publication number
JPH0580741A
JPH0580741A JP3268374A JP26837491A JPH0580741A JP H0580741 A JPH0580741 A JP H0580741A JP 3268374 A JP3268374 A JP 3268374A JP 26837491 A JP26837491 A JP 26837491A JP H0580741 A JPH0580741 A JP H0580741A
Authority
JP
Japan
Prior art keywords
vector
character
end point
font
line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3268374A
Other languages
Japanese (ja)
Inventor
Hiroki Kubozono
浩喜 久保園
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 JP3268374A priority Critical patent/JPH0580741A/en
Publication of JPH0580741A publication Critical patent/JPH0580741A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Digital Computer Display Output (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To generate characters with a small amount of data even if the font is different by determining the thickness of a line and the kind of modification of the end point part of a core vector according to core vector correction information, the start point and end point lengths of the core vector, and the angle of the core vector to a horizontal line. CONSTITUTION:A character font is generated according to the core vector (step 24). Namely, the distance of the two start and end points of each of the strokes of a character and its angle to the horizontal direction are found (step 241) from the coordinate points of the character font vector and the vector is corrected (step 242) by a predetermined method for each character font according to the found angle. After the correction, the thickness of the character is determined (step 243) according to the distance and angle found in the step 241 and the outline font curve of the character is generated according to the vector found corresponding to the character and information on the thickness of the character to generate the necessary character (step 244).

Description

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

【0001】[0001]

【産業上の利用分野】本発明は文字生成方式及びその装
置に関し、詳細には回転制御容易であり且つぎざぎざの
少ない曲線により文字を表示することが可能なアウトラ
イン・フォント生成手段において、記憶しておくデータ
量が極めて少なくて済み、従ってメモリ容量が小さくコ
スト低減上有利な文字生成方法とそのための装置に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character generating system and its device, and more particularly, to a character storing method in an outline font generating means capable of easily controlling a rotation and displaying a character with a curve having less jaggedness. The present invention relates to a character generation method and an apparatus therefor, which requires a very small amount of data to be stored and therefore has a small memory capacity and is advantageous in cost reduction.

【0002】[0002]

【従来技術】従来からワ−ドプロセッサやコンピュ−タ
システムの画像表示又はそのプリンタにおいては、文字
の拡大縮小又は回転を容易にすると共に曲線部分のぎざ
ぎざを少なくしスム−ズな画像を出力する手段としてア
ウトライン・フォント・データを記憶しておく方法が知
られている。しかし、このためのアウトライン・フォン
ト・データは極めて多くのデータ量を必要とし、そのた
めに記憶素子増化によるコストアップが避けられなかっ
た。
2. Description of the Related Art Conventionally, in an image display of a word processor or a computer system or a printer thereof, means for facilitating the enlargement / reduction or rotation of characters and reducing the jaggedness of a curved portion to output a smooth image. There is known a method of storing outline font data. However, the outline font data for this purpose requires an extremely large amount of data, which inevitably leads to an increase in cost due to an increase in storage elements.

【0003】一般的なデータ圧縮手段としてはADCT
方式やハフマン符号化といったものが知られているが、
かかる手法を使用したとしてもデータ圧縮には限度があ
った。従来アウトライン・フォント・データを圧縮する
方法としては、制御点の座標情報を相対値にすることが
提案されていたが、字体が異なれば異なるフォント・デ
ータが必要であることから、依然として多くの記憶素子
を要することには違いがなかった。
ADCT is used as a general data compression means.
Although methods such as Huffman coding are known,
Even if such a method is used, there is a limit to data compression. Conventionally, it has been proposed to make the coordinate information of control points relative values as a method of compressing outline font data, but since different font data requires different font data, much memory is still required. There was no difference in the need for elements.

【0004】特に漢字文字のように画数の多いものでは
記憶すべきフォント・データが極端に多くなり更なるデ
ータ圧縮手段が望まれており、このような要請は、近年
のデスクトップ・パブリッシング(DTP)の普及に伴
いより一層高まってきた。
Particularly, in the case of a large number of strokes such as Kanji characters, the font data to be stored becomes extremely large, and further data compression means are desired, and such a request is made in recent years by desktop publishing (DTP). Has become even higher with the spread of.

【0005】[0005]

【発明の目的】本発明は上述したような事情に鑑みてな
されたものであって、従来のデータ圧縮方法とは基本的
にことなった手段によって、字体が異なっても共通の極
めて少ないデータに基づいて文字を生成することができ
る方法と、そのための装置を提供することを目的として
いる。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned circumstances, and by means that is basically different from the conventional data compression method, it is possible to convert extremely small amount of common data even if the font is different. It is an object of the present invention to provide a method capable of generating a character based on the method and an apparatus therefor.

【0006】[0006]

【発明の構成】この目的を達成するために本発明では、
文字を構成する画に対応して設定した所要数の芯線ベク
トルと、その芯線ベクトルの始点又は終点を修飾する芯
線ベクトル補正情報と、前記芯線ベクトルの始点と終点
長及び該芯線ベクトルの水平線と成す角とから線の太
さ、芯線ベクトルの終点部の修飾種類を決定したことを
特徴とし、また更には上記手段に書体毎に夫々上記芯線
ベクトルの始点や終点を補正する補正情報を予め設定す
ることによって、前記芯線ベクトルの始点と終点長及び
該芯線ベクトルの水平線と成す角とから線の太さと芯線
ベクトルの終点部の修飾種類を決定したことを特徴とし
ている。また上記方式を実現する装置として文字を構成
する画に対応して設定した所要数の芯線ベクトルを記憶
する手段と、各書体毎に設定したその芯線ベクトルの始
点又は終点を修飾する芯線ベクトル補正情報を記憶する
手段と、前記芯線ベクトルの始点と終点長及び該芯線ベ
クトルの水平線と成す角とから線の太さと芯線ベクトル
の終点部の修飾種類を決定する演算手段を備えたことを
特徴とする文字フォント生成装置である。
To achieve this object, the present invention provides:
Consists of a required number of core line vectors set corresponding to the image forming the character, core line vector correction information that modifies the start point or end point of the core line vector, the start point and end point length of the core line vector, and the horizontal line of the core line vector. It is characterized in that the thickness of the line and the type of modification of the end point of the core vector are determined from the angle, and further, correction information for correcting the start point and the end point of the core vector is preset for each typeface in the above means. Accordingly, the thickness of the line and the modification type of the end point of the core vector are determined from the start and end lengths of the core vector and the angle formed by the horizontal line of the core vector. Further, as a device for realizing the above method, means for storing a required number of core line vectors set corresponding to images forming characters, and core line vector correction information for modifying the start point or end point of the core line vector set for each typeface. And a calculation means for determining the modification thickness of the end point portion of the core line vector from the start point and end point length of the core line vector and the angle formed by the horizontal line of the core line vector. It is a character font generation device.

【0007】以下、図示した実施例に基づき、本発明の
文字生成方式とそのための装置について詳細に説明す
る。
The character generation system of the present invention and the apparatus therefor will be described in detail below with reference to the illustrated embodiments.

【0008】図1は本発明基本的な制御手順を示すフロ
−チャ−ト図であり、ステップ1ではコ−ド入力手段に
よって文字コ−ドを読み込み、ステップ2ではフォント
辞書から文字を生成させ、第三のステップ3では文字出
力手段を介して生成した文字をプリンタやCRT等に出
力する過程からなる。
FIG. 1 is a flowchart showing the basic control procedure of the present invention. In step 1, a character code is read by a code input means, and in step 2, a character is generated from a font dictionary. The third step 3 is a step of outputting the character generated through the character output means to a printer, a CRT or the like.

【0009】このうちステップ1の文字コ−ド入力過程
はキ−ボ−ドの操作或はコンピュ−タ内部で発生した文
字コ−ドを、当該文字生成装置に入力する動作で、アス
キ−コ−ドやJISコ−ドが一般的である。
Among them, the character code input process of step 1 is an operation of inputting the character code generated in the operation of the keyboard or the computer inside the computer. Code and JIS code are common.

【0010】次のステップ2のフォント生成手段は例え
ば図2に示すフロ−チャ−トに従った手順で行なう。こ
のフロ−チャ−トでは第一のステップ21においては予
め作成された書体辞書全体をワ−キングメモリに読み込
み、キ−ボ−ド等の操作によって入力された文字コ−ド
を読み込むと(ステップ22)EOF判定を行ない、Y
ESの場合はENDで終了し、NOの場合はステップ2
3において上述するように予め各文字毎に設定した骨組
み情報(芯ベクトル)を記憶したフォント辞書から入力
された文字に該当する文字フォントベクトルの読み込み
を行なう。
The font generating means in the next step 2, for example, carries out the procedure according to the flowchart shown in FIG. In this flowchart, in the first step 21, the entire typeface dictionary created in advance is read into the working memory, and the character code input by the operation of the keyboard or the like is read (step 22) EOF judgment is made, and Y
If ES, end with END; if NO, step 2
In 3, the character font vector corresponding to the input character is read from the font dictionary in which the frame information (core vector) preset for each character is stored.

【0011】次に上記芯ベクトルに基づいて文字フォン
トを生成する(ステップ24)。この制御を入力された
文字が無くなるまで繰り返し実行し順次所要の文字を生
成するものである。
Next, a character font is generated based on the core vector (step 24). This control is repeatedly executed until there are no input characters, and the required characters are sequentially generated.

【0012】図3は図2のステップ24の文字フォント
生成の手順を示すフロ−チャ−ト図であり、第一のステ
ップ241では前のステップ23で読み込んだ文字フォ
ントベクトルの座標点に基づき文字の画一つ一つの始点
と終点の2点間の距離と水平方向からの角度を求め、次
のステップ242にて上記の角度に応じて文字の書体毎
に予め定められた方法によりベクトルの補正を行なう。
この補正が終了すると次のステップ243では求めた距
離と角度とに応じて文字の太さを決定し、ステップ24
4にて上記文字に対応して求めたベクトルと文字の太さ
の情報とに基づき文字のアウトライン曲線はを生成する
ことによって所要の文字を生成する。
FIG. 3 is a flow chart showing the procedure for generating the character font in step 24 of FIG. 2. In the first step 241, characters are generated based on the coordinate points of the character font vector read in the previous step 23. The distance between the start point and the end point of each image and the angle from the horizontal direction are obtained, and in the next step 242, the vector is corrected according to the above angle according to a predetermined method for each typeface of the character. Do.
When this correction is completed, in the next step 243, the thickness of the character is determined according to the obtained distance and angle, and in step 24
In step 4, the required character is generated by generating the outline curve of the character based on the vector obtained corresponding to the character and the information on the character thickness.

【0013】図4は以上の手順によって文字を発生する
ための文字生成装置の一実施例を示すブロック図であっ
て、この例では制御の中心となるCPU30に各種信号
線を介して以下のブロックが接続されている。即ち、キ
−ボ−ド等の文字入力装置31と、文字毎に設定した文
字フォント芯線ベクトルを登録したフォントベクトル辞
書32と、該フォントベクトル辞書に接続された文字生
成処理部33と、ゴシック体或は明朝体等の文字書体毎
にフォントベクトル補正情報を登録した書体辞書34
と、生成した文字データを記憶し出力するVRAM35
と、出力手段の一例としてのCRT或はプリンタ36
と、制御途中に生成した各種データや制御信号を一時的
に記憶するRAM37と、前記CPUを制御するプログ
ラム等を記憶したROM38とを備えている。
FIG. 4 is a block diagram showing an embodiment of a character generator for generating a character by the above procedure. In this example, the CPU 30 which is the center of control is connected to the following blocks via various signal lines. Are connected. That is, a character input device 31 such as a keyboard, a font vector dictionary 32 in which a character font core line vector set for each character is registered, a character generation processing unit 33 connected to the font vector dictionary, and a Gothic font Alternatively, a font dictionary 34 in which font vector correction information is registered for each character font such as Mincho font
And a VRAM 35 for storing and outputting the generated character data
And a CRT or printer 36 as an example of output means.
And a RAM 37 for temporarily storing various data and control signals generated during control, and a ROM 38 for storing programs for controlling the CPU.

【0014】次に、文字の芯線ベクトルとその補正方法
について具体的な例を参照しながら詳細に説明する。
Next, the core vector of a character and its correction method will be described in detail with reference to a concrete example.

【0015】図5は明朝体の文字についての芯線ベクト
ルとその補正方法を示した図である。同図(a)は基本
的な横一線の画を示し、このとき51は始点で52は終
点であり始点と終点間の距離Lが長さ、またこの線と水
平線との成す角θは0となる。明朝体では横一線の場合
は図に示すように毛筆書きの雰囲気を出すように終点5
2の膨らみをもたせた書体となっているので、フォント
ベクトル終点に飾りを付ける法制を行なう。この飾り補
正情報は明朝体を選択し、且横一線の場合は同図のよう
になるように予め登録されており、選択する書体と文字
フォント芯線ベクトルの組み合わせから自動的に補正情
報が選択される。
FIG. 5 is a diagram showing a core line vector for Mincho characters and its correction method. FIG. 11A shows a basic horizontal line image, in which 51 is a start point and 52 is an end point, the distance L between the start point and the end point is long, and the angle θ formed by this line and the horizontal line is 0. Becomes In Mincho type, in the case of a horizontal line, end point 5 to create a writing-writing atmosphere as shown in the figure.
Since it is a typeface with a bulge of 2, the legislation is added to the end point of the font vector. This decoration correction information is registered in advance so that Mincho font is selected and horizontal line is as shown in the figure, and the correction information is automatically selected from the combination of the selected font and character font core line vector. To be done.

【0016】同図5の(b)乃至(d),図6(a)乃
至(d),図7(a)乃至(d)は同様に明朝体におけ
る各種の画描写夫々について選定すべきフォントベクト
ルと補正情報を示したもので、これらの補正規則を登録
することによって全ての文字を極めて少ない記憶情報か
ら生成するものである。以下順次説明すると、同図5
(b)は縦一線の場合を示しており始点51と終点52
との長さLに応じて太さを決定すると共に、終点部分に
は文字に応じて流し、止め、跳ね等の飾りを付ける。こ
の時の角度θは90度となる。
5 (b) to 5 (d), 6 (a) to 6 (d), and 7 (a) to 7 (d) in FIG. The font vector and the correction information are shown. By registering these correction rules, all the characters are generated from very little stored information. The explanation will be given below in sequence, referring to FIG.
(B) shows a case of a vertical straight line, where a start point 51 and an end point 52
The thickness is determined in accordance with the length L of, and the end point portion is made to flow according to the character, and decorations such as stop and splash are attached. The angle θ at this time is 90 degrees.

【0017】図5(c)は垂直線の終点部が左下に反り
返る場合で、芯線ベクトルを左下側に反るように補足す
るもので、始点51と終点52との線の成す角θは90
度<θ<135度の関係となり、この角度θの値に応じ
て終点の反り具合を決定する。また線長Lとθとから文
字の太さを決定すると共に終点に近付く程先細りに補正
する。
FIG. 5 (c) shows a case where the end point of the vertical line warps to the lower left, which is supplemented so that the core vector is warped to the lower left, and the angle θ formed by the line between the start point 51 and the end point 52 is 90.
The relationship of degree <θ <135 degrees is established, and the warp condition of the end point is determined according to the value of the angle θ. Further, the thickness of the character is determined from the line lengths L and θ, and the taper is corrected as it approaches the end point.

【0018】図5(d)は同様に明朝体における左下が
り画を示し、この場合は90度<θ<185度で殆ど直
線部分を含まず全体的に左下に反り返るような芯線ベク
トルの補正を行なう。
FIG. 5 (d) similarly shows a left-down image in Mincho type. In this case, 90.degree. <. Theta. <185.degree. Do.

【0019】図6(a)は反対に垂直線の終点付近が右
下に先細りに反り返る場合で、このときの角度θは45
度<θ<90となる。また(b)はθが0度<θ<90
度の場合であって全体的に下側に膨らみ、且終点部分が
右上に流れる場合を示しており、このときの芯線ベクト
ル補正は図に示すように先太りに修飾する補正を行な
う。
On the contrary, FIG. 6 (a) shows the case where the vicinity of the end point of the vertical line is warped downward to the lower right, and the angle θ at this time is 45.
Degree <θ <90. Also, in (b), θ is 0 degree <θ <90.
In the case of degrees, it shows a case where it bulges downward as a whole, and the end point portion flows to the upper right. At this time, the core line vector correction is performed by correcting to thicken as shown in the figure.

【0020】図6(c)は同様に0度<θ<90度であ
るが(b)と異なるところは全体的に上方に膨らみをも
ったもので、このときは先太りすると共に終点部分は止
めるような飾りを施す。
Similarly, in FIG. 6 (c), 0 ° <θ <90 °, but the difference from (b) is that it has a bulge upward as a whole. Give a decoration to stop.

【0021】図6(d)は右上がりの画を示し、角度θ
は−45度<θ<0度のときは先細りとなる補正を行な
うのが明朝体における一般的な補正規則である。
FIG. 6 (d) shows an image rising to the right, with an angle θ.
It is a general correction rule in Mincho type that the taper correction is made when -45 degrees <θ <0 degrees.

【0022】更に図7(a)、(b)は共にθが135
度の垂直線であるが、夫々終点を止める補正、先細りに
流す補正を施す場合を示している。ままた図7(c)と
(d)は水平又は垂直の基本の芯線ベクトルの終点部に
θが135度の跳ねを付す飾りをもたせたものでる。
Further, in FIGS. 7A and 7B, θ is 135
This is a vertical line of degrees, but shows the case where the correction for stopping the end point and the correction for flowing the taper are performed. 7 (c) and 7 (d), the end point of the horizontal or vertical basic core line vector is provided with a decoration having a θ of 135 degrees.

【0023】以上、明朝体についての芯線ベクトルとそ
の補正例について説明したが、ゴシック体の場合もゴシ
ック体の特徴を規則化して芯線ベクトル補正を行なうこ
とで明朝体の場合と同様に少ないデータによって文字フ
ォントを生成することができる。
The core line vector for the Mincho typeface and its correction example have been described above. However, in the case of the Gothic typeface as well, by performing the core line vector correction by regularizing the characteristics of the Gothic type, the number is as small as that of the Mincho typeface. A character font can be generated from the data.

【0024】即ち、図8はゴシック体に関する芯線ベク
トルとその補正情報例(修飾補正規則)を示したもの
で、(a)は横一線、(b)は縦一線、(c)は垂直線
の終点が左下に僅かに反り返る場合、(d)はθが90
度<θ<180度の場合で全体に左下に反り返る場合、
図9(a)はθが45度<θ<90度であって垂直線の
終点部が僅かに右に反り返る場合で、このときは先細り
に流す補正を行なう。又(b)はθが0度<θ<90度
で右下に全体的に反り返るもの、(c)は逆に僅かに右
上に膨らみを持つもの、(d)は右上に跳ねるもの夫々
示しており、このように上記明朝体に比べて太さがほぼ
均一で、流し、跳ねが比較的少ないのがゴシック体の特
徴である。
That is, FIG. 8 shows a core line vector relating to a Gothic body and an example of its correction information (modification correction rule). (A) is a horizontal line, (b) is a vertical line, and (c) is a vertical line. If the end point slightly bends to the lower left, θ is 90 in (d).
In the case of degrees <θ <180 degrees, when the whole body is bent back to the lower left,
FIG. 9A shows a case where θ is 45 ° <θ <90 ° and the end point of the vertical line is slightly curved to the right. In addition, (b) shows that the angle θ is 0 ° <θ <90 °, and the image is generally warped to the lower right, (c) is a bulge slightly to the upper right, and (d) is bounced to the upper right. As described above, the Gothic body is characterized in that the thickness is almost uniform as compared with the Mincho body and the sinking and the bouncing are relatively small.

【0025】次に上述した芯線ベクトルと補正情報に基
づいて文字を生成する具体例を説明する。図10は漢字
の永を例にしたもので文字コ−ドが入力されるとフォン
ト辞書から同図(a)に示す該当する文字の文字フォン
ト芯線ベクトルが読み出されると共に、書体指定に基づ
き書体辞書に登録された芯線ベクトル補正情報(b)が
読み出され、上記両者の情報に基づき文字生成処理装置
(図4の33)において上述した手順と修飾規則に従っ
て芯線ベクトルを修正し夫々の書体に応じた文字を生成
する。
Next, a specific example of generating a character based on the above-described core line vector and correction information will be described. FIG. 10 shows an example of Kanji, and when a character code is input, the character font core line vector of the corresponding character shown in FIG. 10A is read from the font dictionary, and the typeface dictionary is specified based on the typeface designation. The skeleton vector correction information (b) registered in is read out, and the skeleton vector is corrected in accordance with the above-described procedure and the modification rule in the character generation processing device (33 in FIG. 4) based on the information of both of them, and is adjusted according to each typeface. Generated characters.

【0026】即ち、この例の場合は(1) から(7) までの
7つの画についての芯線ベクトルの組が文字コ−ド入力
に対応して選択され、上述したように芯線ベクトルの角
度θの値と、線の長さLから明朝体の書体辞書に登録さ
れた修飾情報に基づき線の太さと修飾種類を選択実行す
ることによって同図10(c)に示すような明朝体の漢
字「永」のアウトラインフォントを生成する。尚、この
例の図(a)、(b)に示した芯線ベクトルと書体辞書
は夫々の文字に対応して予め登録し記憶したものであ
る。漢字「永」の各芯線ベクトルとその修飾情報を上記
説明に対応させると、図10の(1) は図6の(c)に示
した規則に基づくもので、(2) と(4) は図5の(a)
に、(3) は図5の(c)、 (5)と (6)は図6の(b)、
(7) は図6の(b)に示した規則に従って芯線ベクトル
の修飾補正を行なうことにより明朝体の文字「永」を生
成するものである。
That is, in the case of this example, a set of core line vectors for the seven images (1) to (7) is selected in response to the character code input, and the angle θ of the core line vector is selected as described above. Of the Mincho typeface as shown in FIG. 10C by selecting and executing the line thickness and the type of the line based on the value of the line and the decoration information registered in the Mincho typeface dictionary from the line length L. Generates an outline font for the Chinese character "Naga". The core line vector and the typeface dictionary shown in FIGS. 7A and 7B in this example are registered and stored in advance corresponding to each character. Corresponding the respective core line vectors of the Chinese character “Naga” and the modification information to the above description, (1) of FIG. 10 is based on the rule shown in (c) of FIG. 6, and (2) and (4) are FIG. 5 (a)
In addition, (3) is (c) of FIG. 5, (5) and (6) is (b) of FIG.
(7) is to generate the Mincho character "Naga" by modifying the core vector according to the rule shown in FIG. 6 (b).

【0027】本発明は以上説明したように漢字の表記方
法には特定の規則があることに着目し、この規則を汎用
的に利用することによって極力少ないフォントデータに
よって各種の書体の文字フォントを生成することを可能
にしたものである。
As described above, the present invention pays attention to the fact that the Kanji notation method has a specific rule, and by using this rule universally, character fonts of various typefaces can be generated with as little font data as possible. It is possible to do.

【0028】上述した実施例に習って他の文字全てにつ
いて同様に文字フォントデータに関する辞書を作成する
と共に、上記各制御手順を含んだプログラムを備えるこ
とによって、極めて少ないデータにより従来通りの夫々
の書式に応じたアイウトライン文字フォントを生成する
ことができる。
By creating a dictionary for character font data for all other characters in the same manner as in the above-described embodiment, and by providing a program including the above-mentioned control procedures, it is possible to use each format as in the conventional case with very little data. It is possible to generate an eye-out line character font corresponding to.

【0029】[0029]

【発明の効果】本発明は以上説明したように文字の表記
上の特徴を抽出し、この特徴に基づいて一つ一つの文字
構成上夫々の画に対応した基本となる芯線べくトルの組
と、書体別に設定した前記芯線ベクトルの修正変更情報
とを記憶しておくことによって文字毎のアウトライン・
フォントを生成するようにしたので、従来の漢字のアウ
トライン・フォント・データに比べ極めて少ないデータ
量で済み、これらの記憶に要するメモリ容量を大幅に削
減することができる。
As described above, the present invention extracts the notational characteristics of characters, and based on these characteristics, sets of cores to form a basic core line corresponding to each image in character composition. , The outline of each character by storing the correction and change information of the core line vector set for each typeface.
Since the font is generated, the amount of data required is extremely smaller than the conventional outline font data of Chinese characters, and the memory capacity required for storing these can be greatly reduced.

【0030】更に、漢字の書体が異なるものについても
基本的な部分は同一で、書体辞書のみを追加すればよ
く、それぞれの書体のフォント・データを作成すること
なく多数の書体に対応可能でありフォントデータ作成に
要する時間を少なくすることもできる。
Further, the basic parts are the same for different kanji typefaces, and only a typeface dictionary needs to be added, and a large number of typefaces can be supported without creating font data for each typeface. It is also possible to reduce the time required to create font data.

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

【図1】本発明の全体の処理手順を示すフロ−チャ−ト
図である。
FIG. 1 is a flowchart showing the overall processing procedure of the present invention.

【図2】本発明のフォント生成手段を説明するフロ−チ
ャ−ト図である。
FIG. 2 is a flowchart for explaining the font generating means of the present invention.

【図3】本発明のアウトライン・フォント生成手順を説
明するフロ−チャ−ト例を示す図である。
FIG. 3 is a diagram showing an example of a flowchart for explaining an outline font generation procedure of the present invention.

【図4】本発明に係るフォント生成装置の一実施例を示
すブロック構成図である。
FIG. 4 is a block diagram showing an embodiment of a font generation device according to the present invention.

【図5】明朝体の基本的芯線ベクトルとその修飾補正の
規則を説明する図であり、(a)は横一線の画に対する
芯線ベクトルと修飾方法を示す図、(b)は縦線の画に
対する芯線ベクトルと修飾方法を示す図、(c)は縦線
の終点部が左下に僅かに反る画に対する芯線ベクトルと
修飾方法を示す図、(d)は全体に左に反り返る画に対
する芯線ベクトルと修飾方法を示す図である。
5A and 5B are diagrams illustrating a basic skeleton vector of the Mincho typeface and a rule of modification correction thereof. FIG. 5A is a diagram showing a skeleton vector and a modification method for a horizontal single-line image, and FIG. The figure which shows the skeleton vector and the modification method for the image, (c) the figure which shows the skeleton vector and the modification method for the picture where the end point of the vertical line is slightly curved to the lower left, and (d) is the skeleton for the picture which is entirely curved to the left It is a figure which shows a vector and a modification method.

【図6】明朝体の基本的芯線ベクトルとその修飾補正の
規則を説明する図であり、(a)は縦線の終点部が僅か
に右下に反る画に対する芯線ベクトルと修飾方法を示す
図であり、(b)は全体が右下に反り返る画に対する芯
線ベクトルと修飾方法を示す図、(c)は全体に右上に
反り、終点を止めた画に対する芯線ベクトルと修飾方法
を示す図、(d)は右上に跳ねる画に対する芯線ベクト
ルと修飾方法を示す図。
FIG. 6 is a diagram illustrating a basic skeleton vector of Mincho typeface and a rule for modification correction thereof. FIG. 6A shows a skeleton vector and a modification method for an image in which an end point of a vertical line is slightly curved to the lower right. It is a figure which shows (b) the core line vector and the modification method with respect to the image which whole curls back to the lower right, (c) shows the center line vector and the modification method with respect to the picture which curved the whole upper right and stopped the end point. , (D) are diagrams showing a core line vector and a modification method for an image that bounces to the upper right.

【図7】明朝体の基本的芯線ベクトルとその修飾補正の
規則を説明する図であり、(a)は縦直線で終点を止め
る画に対する芯線ベクトルと修飾方法を示す図、(b)
は縦直線で終点を芯の軸に沿って先細りにする画に対す
る芯線ベクトルと修飾方法を示す図、(c)は縦線の終
点部を左上に跳ねる画に対する芯線ベクトルと修飾方法
を示す図、(d)は横線の終点部を左下に跳ねる画に対
する芯線ベクトルと修飾方法を示す図である。
7A and 7B are diagrams illustrating a basic skeleton vector of Mincho typeface and a rule of modification correction thereof, FIG. 7A is a diagram showing a skeleton vector and a modification method for an image in which an end point is a vertical straight line;
Is a diagram showing a core line vector and a modification method for an image in which the end point is a vertical straight line along the axis of the core, and (c) is a diagram showing a core line vector and a modification method for an image in which the end point part of the vertical line is jumped to the upper left. (D) is a figure which shows the core line vector and the modification method with respect to the image which bounces the end point part of a horizontal line to the lower left.

【図8】ゴシック体における芯線ベクトルとその修飾補
正規則を示した図であり、(a)は横一線の画に対する
芯線ベクトルと修飾方法を示す図、(b)は縦線の画に
対する芯線ベクトルと修飾方法を示す図、(c)は縦線
の終点部が左下に僅かに反る画に対する芯線ベクトルと
修飾方法を示す図、(d)は全体に左に反り返る画に対
する芯線ベクトルと修飾方法を示す図である。
8A and 8B are diagrams showing a skeleton vector in a Gothic font and a modification correction rule thereof. FIG. 8A is a diagram showing a skeleton vector for a horizontal single line image and a modification method, and FIG. 8B is a skeleton vector for a vertical line image. And a modification method, (c) shows a skeleton vector and a modification method for an image in which the end point of a vertical line is slightly warped to the lower left, and (d) is a skeleton vector and modification method for an image that is entirely warped to the left. FIG.

【図9】ゴシック体における芯線ベクトルとその修飾補
正規則を示した図であり、(a)は縦線の終点部が僅か
に右下に反る画に対する芯線ベクトルと修飾方法を示す
図、(b)は全体が右下に反り返る画に対する芯線ベク
トルと修飾方法を示す図、(c)は全体に右上に反り、
終点を止めた画に対する芯線ベクトルと修飾方法を示す
図、(d)は右上に跳ねる画に対する芯線ベクトルと修
飾方法を示す図である。
FIG. 9 is a diagram showing a skeleton vector in a Gothic font and a modification correction rule therefor. FIG. 9A is a diagram showing a skeleton vector and a modification method for an image in which the end point of a vertical line is slightly curved to the lower right, (b) is a diagram showing a core line vector and a modification method for an image in which the whole is curled to the lower right, and (c) is curled to the upper right as a whole,
FIG. 6 is a diagram showing a core line vector and a modifying method for an image in which the end point is stopped, and (d) is a diagram showing a core line vector and a modifying method for an image jumping to the upper right.

【図10】(a)(b)及び(c)は漢字の永を例にし
た説明図。
10 (a), (b), and (c) are explanatory diagrams exemplifying Chinese characters.

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

30 CPU、31 文字入力装置、32 フォントベ
クトル辞書、33 文字生成処理部、34 書体辞書、
35 VRAM、36 CRT又はプリンタ、37 R
AM、38 ROM、51 ベクトルの始点、52 ベ
クトルの終点、θ ベクトルの水平線との成す角、
30 CPU, 31 character input device, 32 font vector dictionary, 33 character generation processing unit, 34 typeface dictionary,
35 VRAM, 36 CRT or printer, 37 R
AM, 38 ROM, 51 start point of vector, end point of 52 vector, angle formed with horizontal line of θ vector,

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 文字を構成する画に対応して設定した所
要数の芯線ベクトルと、その芯線ベクトルの始点又は終
点を修飾する芯線ベクトル補正情報と、前記芯線ベクト
ルの始点と終点長及び該芯線ベクトルの水平線と成す角
とから線の太さ、芯線ベクトルの終点部の修飾種類を決
定したことを特徴とする文字フォント生成方式。
1. A required number of skeleton vectors set corresponding to an image forming a character, skeleton vector correction information for modifying a start point or an end point of the skeleton vector, a start point and an end point length of the skeleton vector, and the skeleton lines. A character font generation method characterized in that the thickness of the line and the type of modification at the end point of the core vector are determined from the horizontal line and the angle formed by the vector.
【請求項2】 文字を構成する画に対応して設定した所
要数の芯線ベクトルと、各書体毎に設定したその芯線ベ
クトルの始点又は終点を修飾する芯線ベクトル補正情報
と、前記芯線ベクトルの始点と終点長及び該芯線ベクト
ルの水平線と成す角とから線の太さと芯線ベクトルの終
点部の修飾種類を決定したことを特徴とする文字フォン
ト生成方式。
2. A required number of core line vectors set corresponding to an image forming a character, core line vector correction information for modifying the start point or end point of the core line vector set for each typeface, and the start point of the core line vector. A character font generation method characterized in that the line thickness and the modification type of the end point portion of the core line vector are determined from the end point length and the angle formed by the horizontal line of the core line vector.
【請求項3】 文字を構成する画に対応して設定した所
要数の芯線ベクトルを記憶する手段と、各書体毎に設定
したその芯線ベクトルの始点又は終点を修飾する芯線ベ
クトル補正情報を記憶する手段と、前記芯線ベクトルの
始点と終点長及び該芯線ベクトルの水平線と成す角とか
ら線の太さと芯線ベクトルの終点部の修飾種類を決定す
る演算手段を具えたことを特徴とする文字フォント生成
装置。
3. A means for storing a required number of core line vectors set corresponding to an image forming a character, and core line vector correction information for modifying the start point or end point of the core line vector set for each typeface. A character font generation comprising: means for determining the thickness of the line and the modification type of the end point of the core line vector from the starting point and the end point length of the core line vector and the angle formed by the horizontal line of the core line vector. apparatus.
JP3268374A 1991-09-19 1991-09-19 System and device for character font generation Pending JPH0580741A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3268374A JPH0580741A (en) 1991-09-19 1991-09-19 System and device for character font generation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3268374A JPH0580741A (en) 1991-09-19 1991-09-19 System and device for character font generation

Publications (1)

Publication Number Publication Date
JPH0580741A true JPH0580741A (en) 1993-04-02

Family

ID=17457610

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3268374A Pending JPH0580741A (en) 1991-09-19 1991-09-19 System and device for character font generation

Country Status (1)

Country Link
JP (1) JPH0580741A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006048180A (en) * 2004-07-30 2006-02-16 Tkc Corp Image processor, image processing method and image processing program
US7676104B2 (en) 2005-09-29 2010-03-09 Fujitsu Limited Outline font compression method
US20170169798A1 (en) * 2015-12-15 2017-06-15 Canon Kabushiki Kaisha Method, System and Apparatus for Modifying a Font Character

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006048180A (en) * 2004-07-30 2006-02-16 Tkc Corp Image processor, image processing method and image processing program
US7676104B2 (en) 2005-09-29 2010-03-09 Fujitsu Limited Outline font compression method
US20170169798A1 (en) * 2015-12-15 2017-06-15 Canon Kabushiki Kaisha Method, System and Apparatus for Modifying a Font Character
US10395621B2 (en) * 2015-12-15 2019-08-27 Canon Kabushiki Kaisha Method, system and apparatus for modifying a font character

Similar Documents

Publication Publication Date Title
JP2909273B2 (en) Outline font line width adjusting method and apparatus
US5519412A (en) Pattern processing method
JP2903917B2 (en) Image editing processor
JPH0580741A (en) System and device for character font generation
JP3055187B2 (en) Contour data processing device
JPH10143134A (en) Method for forming and storing characters and apparatus therefor
JP2833101B2 (en) Pattern deformation method
JP2726951B2 (en) Character / graphic drawing device
JPH0281657A (en) Character font formation
JP3352563B2 (en) Character output device
JP3057959B2 (en) Data converter
JPH0392897A (en) Pattern generating device
JPH09179542A (en) Output method and device for character image data
JP3055306B2 (en) Data output device
JP2800865B2 (en) Character processor
JPH02287394A (en) Letter-form forming system
JPS60242492A (en) Character generator
JPH06110444A (en) Character processor and character output method
JPH0627929A (en) Outline font coordinate transforming method
JP2018072569A (en) Character generation device, character generation program, and character generation method
JPH05188911A (en) Outline font generation device
JPS63196987A (en) Graphic processor
JPH05173532A (en) Contour data processor
JPH0784739A (en) Data converter
JPH08297482A (en) Character processing device and method