JP2749858B2 - Character processor - Google Patents

Character processor

Info

Publication number
JP2749858B2
JP2749858B2 JP1045702A JP4570289A JP2749858B2 JP 2749858 B2 JP2749858 B2 JP 2749858B2 JP 1045702 A JP1045702 A JP 1045702A JP 4570289 A JP4570289 A JP 4570289A JP 2749858 B2 JP2749858 B2 JP 2749858B2
Authority
JP
Japan
Prior art keywords
character
contour
data
pattern
discriminant
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
JP1045702A
Other languages
Japanese (ja)
Other versions
JPH02223988A (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP1045702A priority Critical patent/JP2749858B2/en
Publication of JPH02223988A publication Critical patent/JPH02223988A/en
Application granted granted Critical
Publication of JP2749858B2 publication Critical patent/JP2749858B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、文字の輪郭データを補正する文字処理装置
に関する。
Description: TECHNICAL FIELD The present invention relates to a character processing device for correcting contour data of a character.

[従来の技術] 従来より、文字、図形等の2次元パターンの輪郭形状
を表現する方法として、その輪郭形状を輪郭座標データ
の並びによって表現する手法が提案されている。
2. Description of the Related Art Conventionally, as a method of expressing a contour shape of a two-dimensional pattern such as a character or a figure, a method of expressing the contour shape by an arrangement of contour coordinate data has been proposed.

パターンの形状データを、輪郭形状座標値で保持する
ことにより、各パターンに対して座標変換、平滑化等の
処理を容易に施すことができる。
By holding the shape data of the pattern as the outline shape coordinate value, it is possible to easily perform processing such as coordinate conversion and smoothing on each pattern.

[発明が解決しようとしている問題点] しかし、あるパターンの輪郭を表現する近似多角形に
対して平滑化処理を施す場合、そのパターンの文字種、
書体、図形種によって輪郭中に含まれる線分及び曲線の
成分が異なるため、従来からある手法のように全てのパ
ターンに対して同一の平滑化処理を施す方法では、平滑
化結果の中に不自然なパターンが生ずる場合がままあっ
た。
[Problems to be Solved by the Invention] However, when a smoothing process is performed on an approximate polygon representing the contour of a certain pattern, the character type of the pattern,
Since the components of the line segments and curves included in the outline differ depending on the typeface and figure type, the same smoothing process is applied to all the patterns as in the conventional method. Natural patterns sometimes occurred.

上記問題点を解決するため、本発明の目的は、文字の
分類に対応して輪郭データを補正できる文字処理装置を
提供することにある。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a character processing device capable of correcting contour data according to character classification.

[問題点を解決するための手段(及び作用)] 上記目的を達成するために本発明の文字処理装置は、
複数の文字の分類に対応したパラメータを記憶するパラ
メータ記憶手段と、 前記記憶手段に記憶されているパラメータの中から補
正すべき輪郭データの文字の分類に対応したパラメータ
を設定する設定手段と、 前記設定手段により設定されたパラメータに基づいて
輪郭データの補正を行う補正手段とを有することを特徴
とする。
[Means for Solving the Problem (and Action)] In order to achieve the above object, the character processing device of the present invention comprises:
Parameter storage means for storing parameters corresponding to a plurality of character classifications; setting means for setting parameters corresponding to character classifications of contour data to be corrected from parameters stored in the storage means; Correction means for correcting the contour data based on the parameters set by the setting means.

上記構成により、文字の分類に応じた最適な輪郭デー
タの補正を行うことができる。
With the above configuration, it is possible to perform optimal contour data correction according to the character classification.

[実施例] 以下図面に基づいて、本発明の実施例を詳細に、か
つ、具体的に説明する。第1−1図は、本発明を適用し
得るデータ処理の概略説明図である。既存の文字処理装
置、プリンタに設けられているドットフォントデータ10
0からパターン認識等の手法を用いて、輪郭データ101を
抽出する。このデータは、リストデータとして、文字コ
ード等に対応づけられて、保存される。次に、曲線抽
出、平滑化、座標変換等、本発明の実施例を含む処理を
行うフィルタ群102を介して最終的に高品位なアウトラ
インフォント・データ103を得ることができる。この様
に、本発明はドットフォントから高品位なアウトライン
フォントを得る処理に適用できる。
Example An example of the present invention will be described below in detail and specifically with reference to the drawings. FIG. 1-1 is a schematic explanatory diagram of data processing to which the present invention can be applied. Dot font data 10 provided in existing character processing devices and printers
The contour data 101 is extracted from 0 using a technique such as pattern recognition. This data is stored as list data in association with a character code or the like. Next, high-quality outline font data 103 can be finally obtained through a filter group 102 that performs processing including an embodiment of the present invention such as curve extraction, smoothing, and coordinate conversion. As described above, the present invention can be applied to a process for obtaining a high-quality outline font from a dot font.

第1−2図は、本発明の特徴を最もよく表わす図面で
ある。同図において、1は中央演算処理装置(CPU)で
あり、2は読み出し専用メモリ(ROM)であり、3は読
み書き可能なメモリ(RAM)であり、4は外部に増設さ
れた読み出し専用メモリ(外部ROM)であり、5はキー
ボード制御装置(KBC)であり、6はキーボード(KB)
であり、7は表示装置制御装置(CRTC)であり、8は表
示装置(CRT)であり、9は周辺装置制御装置(PKC)で
あり、10は外部記憶装置(FDおよびHD)であり、11は印
刷装置(PRT)であり、12はこれらの装置間のデータの
送受信を行なうためのシステムバスである。
FIG. 1-2 is a drawing that best illustrates the features of the present invention. In the figure, 1 is a central processing unit (CPU), 2 is a read only memory (ROM), 3 is a readable / writable memory (RAM), and 4 is a read only memory ( External ROM), 5 is a keyboard controller (KBC), 6 is a keyboard (KB)
7 is a display device controller (CRTC), 8 is a display device (CRT), 9 is a peripheral device controller (PKC), 10 is an external storage device (FD and HD), Reference numeral 11 denotes a printing device (PRT), and reference numeral 12 denotes a system bus for transmitting and receiving data between these devices.

本装置のプログラム(第1−3図、第2図等)はROM2
あるいはRAM3上に存在し、CPU1がシステムバスを通じて
逐次プログラムをROM2あるいはRAM3から読み出しつつ、
目的の処理を行なう。第1−3図は、本発明を文字処理
装置に適用した場合の全体のフローチャートを示してい
る。
The program (Fig. 1-3, Fig. 2, etc.) of this device is ROM2
Or, it exists on the RAM3, and the CPU1 reads the program from the ROM2 or the RAM3 sequentially through the system bus,
Perform desired processing. FIG. 1-3 shows an overall flowchart when the present invention is applied to a character processing device.

第1−3図のS1では、まず、アウトラインフォントに
基づく出力指示があるか否かを判別する。これは、例え
ば第1−2図KB6から「アウトライン」のコマンドの入
力があるか否かで判定される。Noの場合は、S2に進み、
通常の文字編集処理に基づいて、表示或いは印刷をドッ
トフォントに基づいて行う。
In S1 of FIG. 1-3, first, it is determined whether or not there is an output instruction based on the outline font. This is determined by, for example, whether or not an “outline” command has been input from FIG. If No, go to S2
Display or printing is performed based on a dot font based on a normal character editing process.

S1で、Yesであれば、S3,S4に進む。これらのステップ
ではまず、入力コードをとり込む。これはKB6からの入
力或いは既に入力され、文字群或いはそれらの内の所望
の範囲を指定することにより、得られたコード情報をRA
M3に取り込むのである。そして、対応するドットパター
ンをROM2から読み出し、輪郭データ101を得る。この輪
郭データは、例えば、ドットフォントパターンを上、
下、左、右にそれぞれ1ドットシフトしたパターンのOR
パターンと元のパターンとのex−ORをとることでも得ら
れる。又、他の種々の方法が考えられ、これに限るもの
ではない。S4で、得られた輪郭データは、第3図に示す
リスト形式のデータとして得られ、そのデータに基づき
S5で、座標変換、曲線抽出、平滑化処理(第2図)等の
フィルタ群と称する処理を通過して、S6で高品位にドッ
トによる出力ができるアウトラインフォントを生成する
ことができる。更に、S7で出力(表示或いは印刷)を行
うことができる。
If YES in S1, the process proceeds to S3 and S4. In these steps, first, an input code is captured. This is done by inputting from KB6 or already input, and specifying the character group or a desired range within them, and converting the obtained code information into RA.
Incorporate it into M3. Then, the corresponding dot pattern is read from the ROM 2, and the outline data 101 is obtained. This contour data is, for example, above the dot font pattern,
OR of patterns shifted one dot down, left, and right respectively
It can also be obtained by taking the ex-OR of the pattern and the original pattern. Various other methods are conceivable, and the method is not limited to this. In S4, the obtained contour data is obtained as data in a list format shown in FIG. 3, and based on the data,
In S5, an outline font that can be output with high-quality dots can be generated in S6 through a process called a filter group such as coordinate conversion, curve extraction, and smoothing (FIG. 2). Further, output (display or printing) can be performed in S7.

第2図は、本実施例の制御手順の一例を示すフローチ
ャートである。かかるフローチャートを使用して、本装
置の動作を、以下順をおって説明する。
FIG. 2 is a flowchart illustrating an example of a control procedure according to the present embodiment. Using this flowchart, the operation of the present apparatus will be described in the following order.

まずステップS1において、文字、図形等の2次元パタ
ーンを表現する輪郭近似多角形データ及びそのパターン
データに付属する文字コードあるいは図形コードが、キ
ーボードKB6あるいは外部記憶装置FDあるいはHD10など
の入力装置から入力され、装置のRAM内に記憶される。
入力データは、輪郭を表現するために、各輪郭点の絶対
座標値あるいは基準点からの相対座標値、あるいは次の
輪郭点への方向を表現する値、あるいは前の輪郭点と次
の輪郭点の関係から決定される輪郭の方向変化を表現す
る値、等の表現形式によって配列形式、あるいはリスト
形式で、RAM3内に保持されているものとする。これら
は、第1−1図の輪郭データ101のことである。
First, in step S1, outline approximate polygon data representing a two-dimensional pattern such as characters and figures, and character codes or figure codes attached to the pattern data are input from an input device such as a keyboard KB6 or an external storage device FD or HD10. And stored in the device RAM.
The input data may be an absolute coordinate value of each contour point, a relative coordinate value from a reference point, a value representing a direction to a next contour point, or a previous contour point and a next contour point in order to represent the contour. Are stored in the RAM 3 in an array format or a list format according to an expression format such as a value expressing a change in the direction of the contour determined from the relationship. These are the outline data 101 in FIG.

第3図は、前述のリスト形式でRAM3内に格納された輪
郭データの詳細なデータ構造の一例である。21は輪郭デ
ータを表現するリストの先頭を保持するポインタ(ROO
T)である。また、22は次の輪郭要素を指すポインタ(N
EXT)で、これらのポインタに沿ってリストを順にたど
ることで、輪郭リストの輪郭点を次々と追跡することが
できる。
FIG. 3 shows an example of a detailed data structure of the outline data stored in the RAM 3 in the above-mentioned list format. 21 is a pointer (ROO) that holds the top of the list representing the contour data.
T). 22 is a pointer (N
EXT), by sequentially following the list along these pointers, the contour points of the contour list can be tracked one after another.

リスト要素23はそれぞれ1つの輪郭点に対応し、24は
対応する輪郭点のX座標値(xi)を表わし、25は輪郭点
のY座標値(yi)を表わし、26は輪郭点の属性値(fi)
を表わす。
Each list element 23 corresponds to one contour point, 24 represents the X coordinate value (xi) of the corresponding contour point, 25 represents the Y coordinate value (yi) of the contour point, and 26 represents the attribute value of the contour point. (Fi)
Represents

また、本実施例では、輪郭多角形の平滑化処理の一環
として、各輪郭点が平滑化の対象となる点なのか否かを
分類するために、属性値として0及び1を定義し、fi=
1の場合には、その輪郭点がBスプライン補間用の曲線
中間点であることを表わし、fi=0の場合にはその点が
平滑化処理を行なわない輪郭点であるとし、初期値は0
としている。その分類方法、理由に関しては後述する。
In the present embodiment, as part of the contour polygon smoothing process, 0 and 1 are defined as attribute values to classify whether each contour point is a point to be smoothed, and fi =
1 indicates that the contour point is an intermediate point of the curve for B-spline interpolation. If fi = 0, the point is a contour point on which no smoothing process is performed, and the initial value is 0.
And The classification method and the reason will be described later.

次に、RAM3内に記録された輪郭データを読み出し平滑
化処理に進む。
Next, the contour data recorded in the RAM 3 is read and the process proceeds to a smoothing process.

ここで、第4図に輪郭パターン解析及び平滑化処理の
際にRAM3内に設定される記憶領域の詳細図を示す。
Here, FIG. 4 shows a detailed view of the storage area set in the RAM 3 during the contour pattern analysis and the smoothing processing.

41、42、43、44、45は形式23の連続した5つの輪郭点
データを保持するためのレジスタ(R1、R2、R3、R4、R
5)である。
41, 42, 43, 44, and 45 are registers (R1, R2, R3, R4, R
5).

次に第2図のステップS2において、CPU1はROM2あるい
は外部ROM2あるいは外部記憶装置(10)のFDあるいはHD
からパターンの付属情報を得て、それをRAM3内に格納す
る。本実施例における付属情報とは、与えられた文字パ
ターンに付属する文字コードや、文字パターンの文字種
や、文字パターンの書体情報等である。
Next, in step S2 of FIG. 2, the CPU 1 reads the FD or HD of the ROM
And obtains the attached information of the pattern from and stores it in the RAM3. The additional information in this embodiment is a character code attached to a given character pattern, a character type of the character pattern, typeface information of the character pattern, and the like.

次に第2図のステップS3において、第3図に示した輪
郭データに基づいて、その先頭から、連続した5つの輪
郭点データをレジスタR1、R2、R3、R4、R5に読み込む。
読み込まれたデータは、第3図のリスト要素23の形式で
レジスタ内に保持される。
Next, in step S3 in FIG. 2, based on the contour data shown in FIG. 3, five consecutive contour point data are read into the registers R1, R2, R3, R4 and R5 from the beginning.
The read data is held in a register in the form of a list element 23 in FIG.

次に第2図のステップS4において、分類条件がROM2あ
るいはRAM3あるいは外部記憶装置(10)FDあるいはHDか
らRAM3に読み込まれる。RAMからRAMの場合でも、例え
ば、処理の為に、別の領域をとる場合があっても良い。
Next, in step S4 of FIG. 2, the classification conditions are read from the ROM 2 or RAM 3 or the external storage device (10) FD or HD into the RAM 3. Even in the case of RAM to RAM, for example, another area may be taken for processing.

本実施例における分類条件とは、注目する輪郭点が曲
線中間点なのかあるいは平滑化を行なわない輪郭点なの
かを判別するための属性判別式内に現われる変数の総称
である。例えば、条件式と共に、第6図に示すT1〜T6
変数を含むものである。
The classification condition in the present embodiment is a general term for variables appearing in an attribute discriminant for determining whether a contour point of interest is a curve midpoint or a contour point on which smoothing is not performed. For example, together with the conditional expression is intended to include variable T 1 through T 6 shown in Figure 6.

本実施例における属性判別式とはRAM3の内部にあらか
じめ記憶されている手続きである。本発明では文字パタ
ーンや図形パターンを文字コード、図形コード等の付加
情報に応じて、分類できる様にRAM3上に分類テーブルを
設けており、そのテーブルに各分類に対応する平滑化処
理のためのパラメータ及び手続を予め登録してある。具
体的には第5図にあるように、輪郭近似多角形の注目す
る点の周囲にある辺の長さと、それらの成す角度の関係
式として記述され、それぞれの式に、第5図において白
丸で示された注目する輪郭点51の座標値と、黒丸で示さ
れたその周囲の輪郭点52の座標値を代入して、その条件
式を満たした場合、注目する輪郭点の属性を1即ち曲線
中間点とする処理方式を取っている。ここで、属性判別
式内のTiは辺の長さの単位を持った変数であり、これら
の値を変化させることで、属性判別式の判別条件を柔軟
に変化させることを可能としている。即ち、ステップS4
において読み込まれる分類条件とは、変数Tiの値の並び
であり、分類条件はステップS2において読み込まれた内
部情報によって選択されることから、本実施例では、様
々な書体の様々な文字種における様々な文字パターンに
対して、最適な平滑化処理を施すことを可能としてい
る。第6図であれば、例えば、T1〜T6は、図に示す17…
77の値を用いている。
The attribute discriminant in the present embodiment is a procedure stored in the RAM 3 in advance. In the present invention, a classification table is provided on the RAM 3 so that a character pattern or a graphic pattern can be classified according to additional information such as a character code and a graphic code, and the table is used for smoothing processing corresponding to each classification. Parameters and procedures are registered in advance. Specifically, as shown in FIG. 5, a relational expression between the length of a side around a point of interest of the contour approximated polygon and the angle formed by the sides is described. When the coordinate value of the contour point 51 of interest and the coordinate value of the surrounding contour point 52 indicated by a black circle are substituted and the conditional expression is satisfied, the attribute of the contour point of interest is set to 1, ie, The processing method is set as the midpoint of the curve. Here, Ti in the attribute discriminant is a variable having a unit of the length of a side, and by changing these values, it is possible to flexibly change the discriminating condition of the attribute discriminant. That is, step S4
The classification condition read in is a sequence of values of the variable Ti, and the classification condition is selected based on the internal information read in step S2. It is possible to perform optimal smoothing processing on a character pattern. In the case of FIG. 6, for example, T 1 to T 6 correspond to 17 shown in FIG.
A value of 77 is used.

次に第2図のステップS5において、ステップ4によっ
て、読み込まれた判別式に基づいて、RAM3内のレジスタ
R1、R2、R3、R4、R5に保持されている座標値を選択した
属性判別式(例えば第5図の条件1〜6の内の1つ)に
代入し、ステップ6で判別式を満足するかどうか判定
し、満足しない場合にはステップS7において別の属性判
別式を選択し、ステップS5へ戻る。また、ステップ6で
判別式を満足した場合には、ステップS8において、その
属性判別式に対応する平滑化処理手続きをROM2あるいは
RAM3あるいは外部記憶装置FDあるいはHD10からRAM3に読
込み、ステップS9においてその平滑化手続きによって、
注目する輪郭点の属性を曲線中間点とする。
Next, in step S5 of FIG. 2, the register in the RAM 3 is determined based on the discriminant read in step 4.
The coordinate values held in R1, R2, R3, R4, and R5 are substituted into the selected attribute discriminant (for example, one of conditions 1 to 6 in FIG. 5), and the discriminant is satisfied in step 6. It is determined whether it is not satisfied, and if not satisfied, another attribute discriminant is selected in step S7, and the process returns to step S5. If the discriminant is satisfied in step 6, the smoothing process corresponding to the attribute discriminant is performed in step S8 using the ROM2 or the
The data is read from the RAM 3 or the external storage device FD or the HD 10 into the RAM 3, and in step S9, by the smoothing procedure,
The attribute of the contour point of interest is a curve midpoint.

次に第2図のステップS10では、平滑化処理後の輪郭
データを一時的にRAM3に書込む。
Next, in step S10 of FIG. 2, the contour data after the smoothing process is temporarily written into the RAM 3.

次に第2図のステップS11では、属性判別式において
注目する輪郭点となっていない輪郭点の有無を判別し、
あるならばステップS12において次の連続した5つの輪
郭点データをレジスタR1、R2、R3、R4、R5に読込み、ス
テップS4へ戻り、以降、前述と同様の処理を行なう。そ
のような輪郭点がないならば、ステップS13においてCPU
は、平滑化処理後の輪郭データ並びをシステムバスを介
してRAMあるいは表示装置制御装置CRTCあるいは外部記
憶装置FDあるいはHDへ出力する。
Next, in step S11 of FIG. 2, the presence or absence of a contour point that is not the contour point of interest in the attribute discriminant is determined.
If there is, in step S12, the next five consecutive contour point data are read into the registers R1, R2, R3, R4, and R5, and the process returns to step S4. Thereafter, the same processing as described above is performed. If there is no such contour point, in step S13 the CPU
Outputs the contour data sequence after the smoothing process to the RAM, the display device control device CRTC, the external storage device FD, or the HD via the system bus.

以上の手順によって、パターンの平滑化を行なった例
を第6図に示す。この例で用いた文字は明朝体の‘緑’
で、ここで使用した属性判別式は第5図に示したものと
同様で、分類条件は第6図に示した値を用いた。具体的
に第6図における平滑化前の文字の部分A,B,C,Dについ
て説明する。平滑化後は、部分Aは、第5図の条件判別
式1に適合したため平滑化処理が施されているが、部分
Bは、条件判別式に適合しなかったため、平滑化処理か
ら除外されている。又、部分Cは、条件判別式2に適合
し、部分Dは、条件判別式6と適合し、平滑化処理が行
われている。
FIG. 6 shows an example in which the pattern is smoothed by the above procedure. The character used in this example is Mincho style 'green'
The attribute discriminant used here is the same as that shown in FIG. 5, and the classification conditions used are the values shown in FIG. Specifically, character portions A, B, C, and D before smoothing in FIG. 6 will be described. After the smoothing, the part A has been subjected to the smoothing processing because it conformed to the condition discriminant 1 in FIG. 5, but the part B was excluded from the smoothing processing because it did not conform to the condition discriminant. I have. Further, the part C conforms to the condition discriminant 2, and the part D conforms to the condition discriminant 6, and a smoothing process is performed.

このような一連の処理によって、輪郭近似多角形の平
滑化を自動的に行なうことができる。これは、例えばB
−スプラインを描くことで行われる。
Through such a series of processes, the contour approximated polygon can be automatically smoothed. This is, for example, B
-It is done by drawing splines.

本実施例では、連続した最大5つの輪郭点間の辺の長
さとそれらの成す角度の関係から、属性判別式を設定し
たが、この判別式は扱うパターンの種類によって辺の長
さを変えたり、角度の大きさを変えるなどして自由に設
定することができる。
In the present embodiment, the attribute discriminant is set based on the relationship between the lengths of the sides between a maximum of five consecutive contour points and the angle formed by them. However, this discriminant changes the side length depending on the type of the pattern to be handled. The angle can be freely set by changing the angle.

また本実施例では、扱うパターンとして文字パターン
を考慮したが、分類条件およびそれを含んだ属性判別式
を別途設定することで、図形パターンに対しても応用可
能である。
In the present embodiment, a character pattern is considered as a pattern to be handled. However, the present invention can be applied to a graphic pattern by separately setting a classification condition and an attribute discriminant including the classification condition.

[効果] 以上詳述した様に、本発明によれば、文字の分類に応
じた最適な輪郭データの補正を行うことができる。
[Effects] As described above in detail, according to the present invention, it is possible to perform optimal correction of contour data according to character classification.

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

第1−1図は、本発明を適用し得るデータ処理の概略説
明図である。 第1−2図は、本発明の装置の全体図である。 第1−3図は、本発明を文字処理装置に適用した場合の
全体フローチャートである。 第2図は、本実施例の制御手段を表わすフローチャート
である。 第3図は、本実施例で用いる輪郭データの詳細なデータ
構造の一例を示す図である。 第4図はRAM内の記憶領域の詳細図である。 第5図は、属性判別式と輪郭近似多角形の関係を示す図
である。 第6図は、本手法によって平滑化処理を施した例を示す
図である。 1はCPU 2はRAM 100はドットフォントデータ 103はアウトラインフォントデータ 102はフィルタ群
FIG. 1-1 is a schematic explanatory diagram of data processing to which the present invention can be applied. FIG. 1-2 is an overall view of the apparatus of the present invention. FIG. 1-3 is an overall flowchart when the present invention is applied to a character processing device. FIG. 2 is a flowchart showing the control means of this embodiment. FIG. 3 is a diagram showing an example of a detailed data structure of contour data used in the present embodiment. FIG. 4 is a detailed view of a storage area in the RAM. FIG. 5 is a diagram showing a relationship between an attribute discriminant and an outline approximate polygon. FIG. 6 is a diagram showing an example in which a smoothing process is performed by the present method. 1 is CPU 2 is RAM 100 is dot font data 103 is outline font data 102 is filter group

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数の文字の分類に対応したパラメータを
記憶するパラメータ記憶手段と、 前記記憶手段に記憶されているパラメータの中から補正
すべき輪郭データの文字の分類に対応したパラメータを
設定する設定手段と、 前記設定手段により設定されたパラメータに基づいて輪
郭データの補正を行う補正手段とを有することを特徴と
する文字処理装置。
1. A parameter storage means for storing parameters corresponding to a plurality of character classifications, and a parameter corresponding to a character classification of contour data to be corrected is set from parameters stored in the storage means. A character processing apparatus comprising: setting means; and correcting means for correcting contour data based on parameters set by the setting means.
【請求項2】前記補正手段は、前記輪郭データの連続す
る複数の輪郭点間の辺の長さ及び角度が前記設定手段に
より設定されたパラメータの条件を満たす場合、前記輪
郭データの輪郭点の属性を曲線の中間点に補正すること
を特徴とする特許請求の範囲第1項記載の文字処理装
置。
2. The method according to claim 1, wherein the length and angle of a side between a plurality of continuous contour points of the contour data satisfy a condition of a parameter set by the setting means. 2. The character processing device according to claim 1, wherein the attribute is corrected to a middle point of the curve.
【請求項3】前記分類は、書体、または、文字種である
ことであることを特徴とする特許請求の範囲第1項記載
の文字処理装置。
3. The character processing apparatus according to claim 1, wherein said classification is a typeface or a character type.
JP1045702A 1989-02-27 1989-02-27 Character processor Expired - Fee Related JP2749858B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1045702A JP2749858B2 (en) 1989-02-27 1989-02-27 Character processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1045702A JP2749858B2 (en) 1989-02-27 1989-02-27 Character processor

Publications (2)

Publication Number Publication Date
JPH02223988A JPH02223988A (en) 1990-09-06
JP2749858B2 true JP2749858B2 (en) 1998-05-13

Family

ID=12726702

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1045702A Expired - Fee Related JP2749858B2 (en) 1989-02-27 1989-02-27 Character processor

Country Status (1)

Country Link
JP (1) JP2749858B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007192752A (en) * 2006-01-20 2007-08-02 Horon:Kk Method and apparatus for edge detection

Also Published As

Publication number Publication date
JPH02223988A (en) 1990-09-06

Similar Documents

Publication Publication Date Title
JP2749858B2 (en) Character processor
GB2224913A (en) Converting image outline data into image representative dots
US5519412A (en) Pattern processing method
JP3207336B2 (en) Character pattern generator
JP2655729B2 (en) Image processing apparatus and method
JP2845380B2 (en) Printing apparatus and control method thereof
JP2801246B2 (en) Character processing apparatus and method
JPH02280195A (en) Character generator
JP2899012B2 (en) Character processing apparatus and method
JP2633567B2 (en) Image processing method
JPH06100906B2 (en) Character processing method
JPH05298305A (en) Document forming device
JP3280160B2 (en) Document processing apparatus and document processing method
JPH01128843A (en) Document processing apparatus
JP3236410B2 (en) Contour line forming method
JP2675363B2 (en) Character processor
JPH11102177A (en) Font data creation device and method thereof, and storage medium
JP2886702B2 (en) Outline font processor
JP3444726B2 (en) Character processor
JP2603322B2 (en) Character processing apparatus and method
JP3341048B2 (en) Document printing device
JPH056164A (en) Character processing device
JP3352563B2 (en) Character output device
JP3359166B2 (en) Printer device and line segment division drawing method of printer device
JP2840281B2 (en) Character processing apparatus and method

Legal Events

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