JPH056164A - Character processing device - Google Patents

Character processing device

Info

Publication number
JPH056164A
JPH056164A JP3188914A JP18891491A JPH056164A JP H056164 A JPH056164 A JP H056164A JP 3188914 A JP3188914 A JP 3188914A JP 18891491 A JP18891491 A JP 18891491A JP H056164 A JPH056164 A JP H056164A
Authority
JP
Japan
Prior art keywords
outline
character
conversion
reduced
integer
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
JP3188914A
Other languages
Japanese (ja)
Other versions
JP3039015B2 (en
Inventor
Masaya Takenaka
昌也 竹中
Susumu Haga
進 芳賀
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP3188914A priority Critical patent/JP3039015B2/en
Publication of JPH056164A publication Critical patent/JPH056164A/en
Application granted granted Critical
Publication of JP3039015B2 publication Critical patent/JP3039015B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Dot-Matrix Printers And Others (AREA)

Abstract

PURPOSE:To provide a letter processing device capable of contracting or expanding a letter pattern without deteriorating the quality, even at containing a curve part and the like in the original letter pattern. CONSTITUTION:Data for a style of type 1 contains the outline of a letter pattern. An extraction part 2 extracts the outline of a letter pattern from the data for a style of type 1, and memorizes the outline in a memory part 3. A conversion part 5 contracts for example the outline in the memory part 3, and hence obtains the contracted outline in the memory part 3. A boundary position calculation part 6 converts respective boundary positions of the contracted outline into integers, and a changed quantity calculation part 7 obtains changed quantities from the respective boundary positions of the contracted outline to the respective integers concerning the respective boundary positions. A correction part 8 corrects respective control points shaping the contracted outline based on the changed quantities obtained in the changed quantity calculation party. A development part 9 develops the outline shaped with the respective corrected control points on the bit map in the memory part 3, and hence generates the contracted letter pattern.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は文字、記号等を示すパタ
ーンのアウトラインを拡大および縮小するための文字処
理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character processing apparatus for enlarging and reducing the outline of a pattern showing characters, symbols and the like.

【0002】[0002]

【従来の技術】周知のように、デスクトップパブリッシ
ング(パソコンによる電子出版)においては、ラスタ文
字データばかりでなく、アウトライン文字データを使用
することが一般的になりつつある。これは、縮小または
拡大された文字や、装飾された文字を形成する場合、所
望の文字をラスタ文字データから導き出すよりも、アウ
トライン文字データから導き出した方が、所望の文字を
高品質かつ低データ量で得ることができるためである。
また、このアウトライン文字データは必要に応じてラス
タ文字データに変換され、このラスタ文字データをプリ
ンタ、CRT等に出力する。
2. Description of the Related Art As is well known, in desktop publishing (electronic publishing by a personal computer), not only raster character data but also outline character data is generally used. This is because when forming reduced or enlarged characters or decorated characters, it is better to derive the desired character from the outline character data than to derive the desired character from the raster character data. This is because it can be obtained in quantity.
Further, this outline character data is converted into raster character data as needed, and this raster character data is output to a printer, CRT or the like.

【0003】しかしながら、従来はアウトライン文字デ
ータに対して縮小または拡大処理を施す場合、アウトラ
イン文字データによって示される文字パターンのアウト
ラインを単純に縮小または拡大していたので、縮小また
は拡大されたアウトラインをラスタ文字データに変換し
た場合、このラスタ文字データによって示されるビット
マップ上の文字パターンの品質が落ちることがあった。
However, conventionally, when the outline character data is subjected to the reduction or enlargement processing, the outline of the character pattern indicated by the outline character data is simply reduced or expanded. Therefore, the reduced or enlarged outline is rasterized. When converted to character data, the quality of the character pattern on the bitmap indicated by this raster character data may deteriorate.

【0004】例えば、アウトライン文字データが第17
図に示すような文字パターンのアウトラインであって、
このアウトライン文字データに対して1/10倍の縮小
処理を単純に施すと、第18図に示すようなアウトライ
ンが得られる。このアウトラインをラスタ文字データに
変換した場合、このアウトライン内に中心点が位置する
画素を「黒」とするので、結果として得られるビットマ
ップ上の文字パターンは第19図に示すようなものとな
る。この第19図に示す文字パターンにおける各線幅1
91,192と、第18図に示すアウトラインにおける
各線幅181,182を比較すると明らかなように、第
19図に示す各線幅191,192が不揃いになってい
る。これは第18図に示す各線幅181,182が1.
2画素分に相当し、ここには2つの画素の中心点が入る
場合と、1つの画素の中心点のみが入る場合とがあるか
らであり、前者の場合にはビットマップ上で2画素分の
幅となり、後者の場合には1画素分の幅となる。
For example, the outline character data is the 17th
It is an outline of the character pattern as shown in the figure,
If the outline character data is simply reduced by a factor of 1/10, an outline as shown in FIG. 18 is obtained. When this outline is converted into raster character data, the pixel in which the center point is located in this outline is "black", and the resulting character pattern on the bitmap is as shown in FIG. . Each line width 1 in the character pattern shown in FIG.
As is clear from comparison between the line widths 91 and 192 and the line widths 181 and 182 in the outline shown in FIG. 18, the line widths 191 and 192 shown in FIG. 19 are not uniform. This is because the line widths 181 and 182 shown in FIG.
This is because it corresponds to two pixels, and there are a case where the center point of two pixels enters here and a case where only the center point of one pixel enters. In the former case, two pixels on the bitmap are included. And the latter case has a width of one pixel.

【0005】そこで、希望するサイズに変換されたアウ
トラインを形付けるそれぞれの座標を一旦整数化(まる
めこみ)してからラスタ文字データに変換する方法があ
るが、四捨五入のような単純な整数化を施すと、第18
図に示すアウトラインは第20図に示すようなアウトラ
インとなってしまうので、ビットマップ上に展開する以
前に第19図に示す文字パターンと同様な結果を招くこ
ととなった。
Therefore, there is a method in which the coordinates forming the outline converted to the desired size are first converted into integers (rounded in) and then converted into raster character data. However, simple integerization such as rounding is used. 18th
Since the outline shown in the figure becomes an outline as shown in FIG. 20, the result similar to that of the character pattern shown in FIG. 19 is brought before the development on the bitmap.

【0006】このような文字パターンの線幅の不揃いを
解決するものとして、例えば特開平1−303489号
公報には文字出力方式が提案されている。ここでは文字
パターンの輪郭である対向する1対の線分のうち、一方
を基準線分、他方を補正対象線分とするとともに、対向
する1対の線分の間隔を基準幅としおき、文字パターン
を縮小するに際し、基準線分については縮小して整数化
することにより位置を定め、また補正対象線分について
は、まず基準幅を縮小して整数化することによりその値
を求め、基準線分に基づいて導かれた先の位置から基準
幅に基づいて導かれた先の値分だけ離れた位置に定める
ようにしている。このようにすれば、1対の線分を縮小
して整数化することにより得られる1対の線分の間隔が
不揃いになるようなことはなく、よって文字パターンの
線幅の不揃いを解決することができる。
As a means for solving such a nonuniformity of the line width of the character pattern, for example, Japanese Patent Laid-Open No. 1-303489 proposes a character output method. Here, of the pair of opposing line segments that are the contours of the character pattern, one is set as the reference line segment and the other is set as the correction target line segment, and the interval between the pair of opposing line segments is set as the reference width. When reducing the pattern, the reference line segment is reduced and integerized to determine the position, and for the line segment to be corrected, the reference width is first reduced and integerized to obtain its value. The position is set at a position separated from the previous position derived based on the minute by the previous value derived based on the reference width. In this way, the intervals between the pair of line segments obtained by reducing the pair of line segments and converting them into integers do not become irregular, and thus the irregular line width of the character pattern is solved. be able to.

【0007】しかしながら、上記特開平1−30348
9号公報に記載の文字出力方式では、元の文字パターン
を展開する2次元座標系の座標軸に平行な一対の線分の
みを対象としているので、曲線等を含む文字パターンの
場合は、その文字パターンを必ずしも良好に縮小するこ
とはできない。例えば、第21図に示すようなパターン
のアウトラインを1/10倍に縮小すると、第22図に
示すようなアウトラインが得られる。さらに、第22図
に示すアウトラインを整数化すると、第23図に示すよ
うなアウトラインが得られる。第23図において、それ
ぞれの対向する1対の線分は均等な幅を保ってそれぞれ
整数化されているが、この幅は整数化のときに第22図
での幅よりも広くなってしまうことがある。この場合、
中央に位置する円は整数化に際して補正を受けることが
ないので、回りの線分に接してしまう。ここで、第23
図に示すアウトラインと、第21図に示す元のアウトラ
インを比較すると明らかなように、縮小された文字パタ
ーンの品質が悪化している。
However, the above-mentioned Japanese Patent Laid-Open No. 1-30348.
In the character output method described in Japanese Patent Publication No. 9, only a pair of line segments parallel to the coordinate axes of the two-dimensional coordinate system that develops the original character pattern is targeted, so in the case of a character pattern that includes a curve or the like, the character The pattern cannot always be reduced well. For example, if the outline of the pattern as shown in FIG. 21 is reduced to 1/10, the outline as shown in FIG. 22 is obtained. Furthermore, if the outline shown in FIG. 22 is converted into an integer, the outline shown in FIG. 23 is obtained. In FIG. 23, each pair of opposing line segments is made an integer while maintaining a uniform width, but this width becomes wider than that in FIG. 22 when it is made an integer. There is. in this case,
Since the circle located in the center is not corrected when it is converted into an integer, it touches the surrounding line segment. Where the 23rd
As is clear from a comparison between the outline shown in the figure and the original outline shown in FIG. 21, the quality of the reduced character pattern deteriorates.

【0008】[0008]

【発明が解決しようとする課題】このように従来例によ
れば、アウトライン文字データによって示される文字パ
ターンが対向する1対の線分を組合せてなるものであれ
ば、文字パターンの縮小または拡大を良好になしうるも
のの、その文字パターンに曲線等の部分が含まれている
場合は、その部分に対する適切な補正を施さなかったの
で、縮小または拡大された文字パターンの品質が悪化す
るという問題点があった。
As described above, according to the conventional example, if the character pattern indicated by the outline character data is a combination of a pair of opposing line segments, the character pattern can be reduced or enlarged. Although it can be done satisfactorily, if the character pattern includes a portion such as a curve, the quality of the reduced or enlarged character pattern deteriorates because the appropriate correction was not performed for that portion. there were.

【0009】そこで、本発明は文字パターンのアウトラ
インに曲線等の部分が含まれていても、このアウトライ
ンを文字パターンの品質を悪化させることなく縮小また
は拡大することが可能な文字処理装置を提供することを
目的とする。
Therefore, the present invention provides a character processing apparatus capable of reducing or enlarging an outline of a character pattern even if the outline includes a curved line or the like without deteriorating the quality of the character pattern. The purpose is to

【0010】さらに、別の本発明は文字パターンのアウ
トラインを複数の部分アウトラインに分割し、これらの
部分アウトライン毎に処理を施すようにしており、これ
によりアウトライン全体が複雑であっても、このアウト
ラインを文字パターンの品質を悪化させることなく縮小
または拡大することが可能な文字処理装置を提供するこ
とを目的とする。
Further, according to another aspect of the present invention, the outline of the character pattern is divided into a plurality of partial outlines, and the processing is performed for each of these partial outlines, whereby even if the entire outline is complicated, this outline can be processed. It is an object of the present invention to provide a character processing device capable of reducing or enlarging the character pattern without deteriorating the quality of the character pattern.

【0011】[0011]

【課題を解決するための手段】本発明において、変換手
段は元のパターンのアウトラインの境界を示す一対の境
界位置と、該アウトラインを形付ける制御点を縮小また
は拡大して、一対の変換境界位置と、変換制御点を求
め、整数化手段は前記一対の変換境界位置のうちの一方
の変換境界位置を整数化し、かつ該一対の変換境界位置
間の距離を整数化するとともに、前記一方の変換境界位
置に係わる整数および該一対の変換境界位置間の距離に
係わる整数に基づいて他方の変換境界位置を整数化し、
補正手段は前記一対の変換境界位置から前記一対の変換
境界位置に係わるそれぞれの整数への変化量に基づい
て、前記変換制御点を補正し、生成手段は前記アウトラ
インに係わる補正されたそれぞれの変換制御点に基づい
て、縮小または拡大されたパターンを生成するようにし
ている。
In the present invention, the conversion means reduces the size of the pair of boundary positions indicating the boundaries of the outline of the original pattern and the control points forming the outline to enlarge or reduce the pair of conversion boundary positions. And a conversion control point, and the integer conversion unit converts one conversion boundary position of the pair of conversion boundary positions into an integer, and the distance between the pair of conversion boundary positions into an integer. The other conversion boundary position is converted into an integer based on an integer related to the boundary position and an integer related to the distance between the pair of conversion boundary positions,
The correction means corrects the conversion control point based on the amount of change from the pair of conversion boundary positions to the respective integers related to the pair of conversion boundary positions, and the generation means corrects each of the corrected conversion points of the outline. A reduced or enlarged pattern is generated based on the control points.

【0012】また、別の本発明では元のパターンのアウ
トラインが複数の部分アウトラインに分割されており、
変換手段は前記各部分アウトライン毎に、部分アウトラ
インの境界を示す一対の境界位置と、該部分アウトライ
ンを形付ける制御点を縮小または拡大して、一対の変換
境界位置と、変換制御点を求め、整数化手段は前記一対
の変換境界位置のうちの一方の変換境界位置を整数化
し、かつ該一対の変換境界位置間の距離を整数化すると
ともに、前記一方の変換境界位置に係わる整数および該
一対の変換境界位置間の距離に係わる整数に基づいて他
方の変換境界位置を整数化し、補正手段は前記一対の変
換境界位置から前記一対の変換境界位置に係わるそれぞ
れの整数への変化量に基づいて、前記変換制御点を補正
し、生成手段は前記各部分アウトラインに係わる補正さ
れたそれぞれの変換制御点に基づいて、縮小または拡大
されたパターンを生成するようにしている。
According to another aspect of the invention, the outline of the original pattern is divided into a plurality of partial outlines,
The conversion means, for each of the partial outlines, contracts or expands a pair of boundary positions indicating boundaries of the partial outlines and control points that shape the partial outlines to obtain a pair of conversion boundary positions and conversion control points, The integer converting means converts one of the pair of conversion boundary positions into an integer, and also the distance between the pair of conversion boundary positions into an integer, and the integer of the one of the conversion boundary positions and the pair of conversion boundary positions. Based on the integer related to the distance between the conversion boundary positions, the other conversion boundary position is converted into an integer, and the correction means is based on the change amount from the pair of conversion boundary positions to the respective integers related to the pair of conversion boundary positions. , The conversion control points are corrected, and the generation means produces a reduced or enlarged pattern based on the corrected conversion control points associated with the respective partial outlines. It is way.

【0013】[0013]

【作用】本発明によれば、元のパターンのアウトライン
は該アウトラインの境界を示す一対の境界位置と、該ア
ウトラインを形付ける制御点により表される。このアウ
トラインの一対の境界位置と制御点は変換手段で縮小ま
たは拡大され、これにより一対の変換境界位置と、変換
制御点が求まる。前記一対の変換境界位置は縮小または
拡大されたアウトラインの境界を示しており、また前記
変換制御点は縮小または拡大されたアウトラインを形付
けるものである。前記一対の変換境界位置は整数化手段
で整数化され、前記変換制御点は前記一対の変換境界位
置から前記一対の変換境界位置に係わるそれぞれの整数
への変化量に基づいて補正手段で補正される。縮小また
は拡大されたアウトラインに係わる補正されたそれぞれ
の変換制御点が求められると、これらの変換制御点に基
づいて縮小または拡大されたパターンが生成手段にて生
成される。ここで、縮小または拡大されたアウトライン
を形付ける変換制御点が複数であるとすると、これらの
変換制御点は前記一対の変換境界位置から前記一対の変
換境界位置に係わるそれぞれの整数への変化量に基づい
て、一律に補正される。これにより、補正された各変換
制御点は前後および上下の相対関係を保つことができ
る。すなわち、元々は接したり重ならない部位が、縮小
または拡大されたアウトラインにおいて接したり重なっ
てしまうようなことがない。
According to the present invention, the outline of the original pattern is represented by a pair of boundary positions indicating the boundaries of the outline and control points that shape the outline. The pair of boundary positions and the control points of this outline are reduced or expanded by the conversion means, whereby the pair of conversion boundary positions and the conversion control points are obtained. The pair of transformation boundary positions indicate the boundaries of the reduced or enlarged outline, and the transformation control points shape the reduced or enlarged outline. The pair of conversion boundary positions is converted into an integer by an integer conversion unit, and the conversion control point is corrected by a correction unit based on an amount of change from the pair of conversion boundary positions to respective integers related to the pair of conversion boundary positions. It When the corrected conversion control points related to the reduced or expanded outline are obtained, the reduced or expanded pattern is generated by the generation means based on these conversion control points. Here, if there are a plurality of conversion control points that form a reduced or enlarged outline, these conversion control points change from the pair of conversion boundary positions to respective integers related to the pair of conversion boundary positions. It is corrected uniformly based on. As a result, the corrected conversion control points can maintain the front-back and top-bottom relative relationships. That is, the parts that originally do not touch or overlap do not touch or overlap in the reduced or enlarged outline.

【0014】また、別の本発明によれば、元のアウトラ
インを複数の部分アウトラインに分割しており、この部
分アウトラインは該部分アウトラインの境界を示す一対
の境界位置と、該部分アウトラインを形付ける制御点に
より表される。部分アウトラインの一対の境界位置と制
御点は変換手段で縮小または拡大され、これにより一対
の変換境界位置と、変換制御点が求まる。前記一対の変
換境界位置は縮小または拡大された部分アウトラインの
境界を示しており、また前記変換制御点は縮小または拡
大された部分アウトラインを形付けるものである。前記
一対の変換境界位置は整数化手段で整数化され、前記変
換制御点は前記一対の変換境界位置から前記一対の変換
境界位置に係わるそれぞれの整数への変化量に基づいて
補正手段で補正される。前記各部分アウトラインに係わ
る補正されたそれぞれの変換制御点が求められると、こ
れらの変換制御点に基づいて該各部分アウトラインを縮
小または拡大して組合せてなるパターンが生成手段にて
生成される。すなわち、元のアウトラインを分割した複
数の部分アウトライン毎に縮小または拡大、整数化およ
び補正の処理を施している。このため、元のアウトライ
ンが複雑であっても、元のアウトライン全体の複雑さが
該各部分アウトラインに影響して、縮小または拡大され
た各部分アウトラインに変形を生じるようなことはな
い。
According to another aspect of the present invention, the original outline is divided into a plurality of partial outlines, and the partial outline forms a pair of boundary positions indicating boundaries of the partial outline and the partial outline. Represented by control points. The pair of boundary positions and the control points of the partial outline are reduced or expanded by the conversion means, and thereby the pair of conversion boundary positions and the conversion control points are obtained. The pair of transformation boundary positions indicate the boundaries of the reduced or enlarged partial outline, and the transformation control points shape the reduced or enlarged partial outline. The pair of conversion boundary positions is converted into an integer by an integer conversion unit, and the conversion control point is corrected by a correction unit based on an amount of change from the pair of conversion boundary positions to respective integers related to the pair of conversion boundary positions. It When the corrected respective conversion control points relating to the respective partial outlines are obtained, the generation means generates a pattern in which the partial outlines are reduced or enlarged and combined based on the conversion control points. That is, the process of reducing or enlarging, integerizing, and correcting is performed for each of a plurality of partial outlines obtained by dividing the original outline. Therefore, even if the original outline is complicated, the complexity of the entire original outline does not affect the partial outlines and cause deformation of the reduced or enlarged partial outlines.

【0015】[0015]

【実施例】以下、本発明の実施例を添付図面を参照して
詳細に説明する。
Embodiments of the present invention will now be described in detail with reference to the accompanying drawings.

【0016】まず、本発明の基本原理を述べる。なお、
ここでは第21図に示すアウトラインを縮小して整数化
する場合を例にして説明を行う。
First, the basic principle of the present invention will be described. In addition,
Here, the case where the outline shown in FIG. 21 is reduced to be an integer will be described as an example.

【0017】第21図に示すアウトラインはアウトライ
ン文字データとして第24図に示すような形態で格納さ
れている。第24図において、アウトライン文字情報部
220には3つの各ポインタP1 ,P2 ,P3 、および
文字幅情報221が格納されている。文字幅情報221
は第21図に示すアウトラインの送り幅を示しおり、そ
の幅の値が“90”である。各ポインタP1,P2 ,P3
は制御点情報部222、縦方向境界位置情報部22
3、および横方向境界位置情報部224をそれぞれ指示
している。
The outline shown in FIG. 21 is stored as outline character data in the form shown in FIG. In FIG. 24, the outline character information section 220 stores three pointers P1, P2, P3 and character width information 221. Character width information 221
Indicates the feed width of the outline shown in FIG. 21, and the value of the width is "90". Each pointer P1, P2, P3
Is a control point information section 222 and a vertical boundary position information section 22.
3 and the lateral boundary position information section 224 are designated respectively.

【0018】制御点情報部222は輪郭線種データ22
5と、制御点データ226との対によって表されてい
る。輪郭線種データ225の値“0”は閉曲線の開始点
を示し、同データの値“1”は直線を示し、同データの
値“2”は3次ベジェ曲線を示している。制御点情報部
222における輪郭線種データ225の最初の値
“0”、引続く各値“1”に対応する制御点データ22
6は第21図に示す座標系における制御点座標(5,
5)から制御点座標(5,84)までの直線、制御点座
標(5,84)から制御点座標(84,84)までの直
線、制御点座標(84,84)から制御点座標(84,
5)までの直線、制御点座標(84,5)から制御点座
標(5,5)までの直線を示すものであり、よってアウ
トラインの外側の矩形21−1を示している。また、輪
郭線種データ225の2番目の値“0”、引続く各値
“1”に対応する制御点データ226は同座標系におけ
る制御点座標(20,20)から制御点座標(20,6
9)までの直線、制御点座標(20,69)から制御点
座標(69,69)までの直線、制御点座標(69,6
9)から制御点座標(69,20)までの直線、制御点
座標(69,20)から制御点座標(20,20)まで
の直線を示すものであり、よってアウトラインの内側の
矩形21−2を示している。さらに、輪郭線種データ2
25の3番目の値“0”、引続く各値“2”に対応する
制御点データ226は同座標系における制御点座標(3
0,45)から制御点座標(45,60)までの3次ベ
ジェ曲線、制御点座標(45,60)から制御点座標
(60,45)までの3次ベジェ曲線、制御点座標(6
0,45)から制御点座標(45,30)までの3次ベ
ジェ曲線、および制御点座標(45,30)から制御点
座標(30,45)までの3次ベジェ曲線を示してお
り、よって中央の円形21−3を示している。なお、3
次ベジェ曲線の場合は、3次ベジェ曲線が終了する制御
点の他に、更に2つの制御点を必要とするが、ここでは
簡略化のために直線と同様に終了の制御点しか表してい
ない。
The control point information section 222 is used for the contour line type data 22.
5 and the control point data 226. The value "0" of the contour line type data 225 indicates the start point of the closed curve, the value "1" of the data indicates a straight line, and the value "2" of the data indicates a cubic Bezier curve. The control point data 22 corresponding to the first value “0” of the contour line type data 225 in the control point information section 222 and each subsequent value “1”
6 is the control point coordinates (5, 5 in the coordinate system shown in FIG.
5) to a control point coordinate (5, 84), a control point coordinate (5, 84) to a control point coordinate (84, 84), a control point coordinate (84, 84) to a control point coordinate (84 ,
The straight line from 5) to the control point coordinate (84, 5) to the control point coordinate (5, 5) is shown, and thus the rectangle 21-1 outside the outline is shown. In addition, the control point data 226 corresponding to the second value “0” of the contour line type data 225 and each subsequent value “1” is converted from the control point coordinates (20, 20) in the same coordinate system to the control point coordinates (20, 6
9) Straight line, control point coordinates (20,69) to control point coordinates (69,69), control point coordinates (69,6)
9) to the control point coordinates (69, 20), and the control point coordinates (69, 20) to the control point coordinates (20, 20). Therefore, the rectangle 21-2 inside the outline is shown. Is shown. Furthermore, the contour line data 2
The control point data 226 corresponding to the third value “0” of 25 and each subsequent value “2” is the control point coordinates (3
0,45) to control point coordinates (45,60) cubic Bezier curve, control point coordinates (45,60) to control point coordinates (60,45) cubic Bezier curve, control point coordinates (6
0,45) to the control point coordinate (45,30) and the cubic Bezier curve from the control point coordinate (45,30) to the control point coordinate (30,45). A central circle 21-3 is shown. 3
In the case of the second-order Bezier curve, two more control points are required in addition to the control point at which the third-order Bezier curve ends, but here, for simplification, only the end control point is shown like a straight line. .

【0019】縦方向境界位置情報部223は第21図に
示すアウトラインにおける縦方向の境界位置を表してお
り、第21図に示す座標系のx軸上の値で表される。こ
こでは4つの各値“5”,“20”,“69”,“8
4”であり、これらの値はアウトラインの左方で対向す
る外側境界位置および内側境界位置を示す1組の各値
“5”および“20”と、右方で対向する外側境界位置
および内側境界位置を示す1組の各値“84”および
“69”とに分類される。
The vertical boundary position information section 223 represents the vertical boundary position in the outline shown in FIG. 21, and is represented by a value on the x-axis of the coordinate system shown in FIG. Here, each of the four values "5", "20", "69", "8"
4 ", and these values are a set of respective values" 5 "and" 20 "indicating the outer boundary position and the inner boundary position that are opposed to each other on the left side of the outline, and the outer boundary position and the inner boundary that are opposed to each other on the right side. It is classified into a set of values "84" and "69" indicating the position.

【0020】横方向境界位置情報部224はアウトライ
ンにおける横方向の境界位置を表しており、座標系のy
軸上の値で表される。ここでは4つの各値“5”,“2
0”,“69”,“84”であり、これらの値はアウト
ラインの下方で対向する外側境界位置および内側境界位
置を示す1組の各値“5”および“20”と、上方で対
向する外側境界位置および内側境界位置を示す1組の各
値“84”および“69”とに分類されている。
The horizontal boundary position information section 224 represents the horizontal boundary position in the outline, and is y in the coordinate system.
It is represented by the value on the axis. Here, each of the four values "5" and "2"
0 "," 69 "," 84 ", these values oppose with a set of respective values" 5 "and" 20 "indicating the outer boundary position and the inner boundary position that face each other below the outline. It is classified into a set of respective values “84” and “69” indicating the outer boundary position and the inner boundary position.

【0021】さて、例えば第21図に示すアウトライン
を1/10倍に縮小する場合は、第24図に示すデータ
に対して1/10倍の縮小処理を施すこととなり、これ
により第25図に示すような縮小アウトライン文字デー
タが得られる。この縮小アウトライン文字データは第2
4図に示すデータと同様な構成であり、縮小アウトライ
ン文字情報部230には3つの各ポインタP1',P2',
P3'、および縮小文字幅情報231が格納されている。
縮小文字幅情報231は1/10倍に縮小されたアウト
ラインの送り幅を示し、各ポインタP1',P2',P3'は
縮小制御点情報部232、縮小縦方向境界位置情報部2
33、および縮小横方向境界位置情報部234をそれぞ
れ指示している。縮小文字幅情報231内の数値、縮小
制御点情報部232内の各数値、縮小縦方向境界位置情
報部233内の各数値、および縮小横方向境界位置情報
部234内の各数値は、第24図に示すデータにおける
それぞれの数値を1/10倍にすることにより得られた
ものである。
Now, for example, when the outline shown in FIG. 21 is reduced by a factor of 1/10, the data shown in FIG. 24 is reduced by a factor of 1/10. The reduced outline character data as shown is obtained. This reduced outline character data is the second
It has the same structure as the data shown in FIG. 4, and the reduced outline character information section 230 has three pointers P1 ', P2',
P3 'and reduced character width information 231 are stored.
The reduced character width information 231 indicates the feed width of the outline reduced to 1/10, and the pointers P1 ', P2' and P3 'are the reduced control point information section 232 and the reduced vertical boundary position information section 2 respectively.
33 and the reduced lateral boundary position information section 234 are designated respectively. The numerical value in the reduced character width information 231, each numerical value in the reduced control point information section 232, each numerical value in the reduced vertical direction boundary position information section 233, and each numerical value in the reduced horizontal direction boundary position information section 234 are the 24th. It is obtained by multiplying each numerical value in the data shown in the figure by 1/10.

【0022】第25図に示すデータにおけるそれぞれの
数値に基づいて形成される縮小アウトラインは、第22
図に示すようなものとなる。
The reduced outline formed based on the respective numerical values in the data shown in FIG.
It will be as shown in the figure.

【0023】次に、第25図に示すデータが得られる
と、縮小縦方向境界位置情報部233内の各数値、およ
び縮小横方向境界位置情報部234内の各数値を整数化
する。縮小縦方向境界位置情報部233内の各数値は、
第22図に示す縮小アウトラインの左方で対向する外側
境界位置および内側境界位置を示す1組の各値“0.
5”および“2.0”と、右方で対向する外側境界位置
および内側境界位置を示す1組の各値“8.4”および
“6.9”とに分類されており、各組毎にそれぞれ整数
化される。同様に、縮小横方向境界位置情報部234内
の各数値は、第22図に示す縮小アウトラインの下方で
対向する外側境界位置および内側境界位置を示す1組の
各値“0.5”および“2.0”と、上方で対向する外
側境界位置および内側境界位置を示す1組の各値“8.
4”および“6.9”とに分類されており、各組毎にそ
れぞれ整数化される。
Next, when the data shown in FIG. 25 is obtained, each numerical value in the reduced vertical direction boundary position information section 233 and each numerical value in the reduced horizontal direction boundary position information section 234 are converted into integers. Each numerical value in the reduced vertical boundary position information section 233 is
A set of respective values "0.
5 "and" 2.0 "and one set of respective values" 8.4 "and" 6.9 "indicating the outer boundary position and the inner boundary position facing each other on the right side are classified into each set. Similarly, each numerical value in the reduced lateral direction boundary position information section 234 is a set of respective values indicating the outer boundary position and the inner boundary position which face each other below the reduced outline shown in FIG. “0.5” and “2.0”, and a set of respective values “8.
4 "and" 6.9 ", and each set is converted into an integer.

【0024】各組毎の整数化は、まず外側境界位置を示
す値を例えば四捨五入により整数化する。この後、外側
境界位置と内側境界位置間の距離を整数化し、この距離
に係わる整数と、先に求められた外側境界位置に係わる
整数に基づいて、内側境界位置を示す値を整数化する。
内側境界位置を示す値の整数化処理を次式(1)に示
す。
In converting each set into an integer, the value indicating the outer boundary position is first converted into an integer by, for example, rounding. After that, the distance between the outer boundary position and the inner boundary position is converted into an integer, and the value indicating the inner boundary position is converted into an integer based on the integer related to this distance and the integer related to the outer boundary position obtained previously.
The integer expression processing of the value indicating the inner boundary position is shown in the following expression (1).

【0025】 内側境界位置に係わる整数= (外側境界位置に係わる整数)+FIX (外側境界位置と内側境界 位置間の距離) …(1) ただし、FIX ()は整数化を行う関数であって、例えば
四捨五入を行うための関数である。
Integer related to inner boundary position = (integer related to outer boundary position) + FIX (distance between outer boundary position and inner boundary position) (1) where FIX () is a function for converting to an integer, For example, it is a function for rounding off.

【0026】ここで、縮小アウトラインの左方または下
方で対向する外側境界位置および内側境界位置を示す1
組の各値“0.5”および“2.0”を整数化する場
合、まず外側境界位置を示す値“0.5”を四捨五入に
より整数化して、外側境界位置に係わる整数値“1.
0”を求める。この後、内側境界位置に係わる整数値
“3.0”を上式(1)に基づく次のような計算式
(2)で求める。
Here, 1 indicating an outer boundary position and an inner boundary position which face each other on the left side or the lower side of the reduced outline is shown.
When converting each value “0.5” and “2.0” of the set into an integer, first, the value “0.5” indicating the outer boundary position is rounded to an integer, and the integer value “1.
0 "is obtained. Thereafter, the integer value" 3.0 "relating to the inner boundary position is obtained by the following calculation formula (2) based on the above formula (1).

【0027】 3.0=1.0+FIX (2.0−0.5) …(2) 同様に、縮小アウトラインの右方または上方で対向する
外側境界位置および内側境界位置を示す1組の各値
“8.4”および“6.9”を整数化する場合、まず外
側境界位置を示す値“8.4”を四捨五入により整数化
して、外側境界位置に係わる整数値“8.0”を求め
る。この後、内側境界位置に係わる整数値“6.0”を
上式(1)に基づく次のような計算式(3)で求める。
3.0 = 1.0 + FIX (2.0−0.5) (2) Similarly, a set of respective values indicating the outer boundary position and the inner boundary position that face each other on the right side or above the reduced outline. When converting "8.4" and "6.9" into integers, the value "8.4" indicating the outer boundary position is first rounded to an integer to obtain an integer value "8.0" related to the outer boundary position. . After that, the integer value “6.0” related to the inner boundary position is obtained by the following calculation formula (3) based on the above formula (1).

【0028】 6.0=8.0+FIX (6.9−8.4) …(3) 次に、縦方向の各境界位置および横方向の各境界位置毎
に、各境界位置から該各境界位置に係わるそれぞれの整
数への変化量を求める。ここでは縦方向の各境界位置の
変化量と横方向の各境界位置の変化量が同一であって、
これらの変化量は第26図に示すグラフで表される。
6.0 = 8.0 + FIX (6.9-8.4) (3) Next, for each boundary position in the vertical direction and each boundary position in the horizontal direction, from each boundary position to each boundary position. The amount of change to each integer related to is calculated. Here, the change amount of each boundary position in the vertical direction and the change amount of each boundary position in the horizontal direction are the same,
These changes are represented by the graph shown in FIG.

【0029】第26図に示すグラフにおいて、横軸xは
境界位置の値を示すとともに、縦軸yは境界位置に係わ
る整数値を示し、折れ線241は境界位置から該境界位
置に係わる整数への変化量を示す。この折れ線241上
において、点S1 は境界位置を示す値“0.5”と、該
値を整数化した整数値“1.0”とに対応し、点S2は
境界位置を示す値“2.0”と、該値を整数化した整数
値“3.0”とに対応し、点S3 は境界位置を示す値
“6.9”と、該値を整数化した整数値“6.0”とに
対応し、点S4 は境界位置を示す値“8.4”と、該値
を整数化した整数値“8.0”とに対応する。
In the graph shown in FIG. 26, the horizontal axis x represents the value of the boundary position, the vertical axis y represents the integer value related to the boundary position, and the polygonal line 241 represents the integer position related to the boundary position. Indicates the amount of change. On the polygonal line 241, the point S1 corresponds to a value "0.5" indicating the boundary position and an integer value "1.0" obtained by converting the value into an integer, and the point S2 corresponds to the value "2. 0 "and an integer value" 3.0 "obtained by converting the value into an integer, and the point S3 is a value" 6.9 "indicating a boundary position and an integer value" 6.0 "obtained by converting the value into an integer. The point S4 corresponds to a value "8.4" indicating the boundary position and an integer value "8.0" obtained by converting the value into an integer.

【0030】このような縦方向の各境界位置の変化量と
横方向の各境界位置の変化量は、実際には折れ線の傾き
aと、折れ線のy切片bとで表される。例えば、点S1
から点S2 までの線分の傾きaとy切片bは次の様な各
計算式(4),(5)に従ってそれぞれ求められる。
The amount of change in each boundary position in the vertical direction and the amount of change in each boundary position in the horizontal direction are actually represented by the slope a of the polygonal line and the y intercept b of the polygonal line. For example, point S1
The slope a and the y intercept b from the line segment to the point S2 are obtained according to the following equations (4) and (5), respectively.

【0031】 傾きa= (3.0−1.0)/(2.0−0.5)=1.33 …(4) y切片b= 1.0−0.5×1.33=0.33 …(5) 同様の計算が繰返され、点S2 から点S3 までの線分の
傾きa(=0.61)とy切片b(=1.78)が求め
られ、点S3 から点S4 までの線分の傾きa(=1.3
3)とy切片b(=−3.2)が求められる。
Gradient a = (3.0-1.0) / (2.0-0.5) = 1.33 (4) y intercept b = 1.0-0.5 × 1.33 = 0 .33 (5) The same calculation is repeated to obtain the slope a (= 0.61) and the y-intercept b (= 1.78) of the line segment from the point S2 to the point S3, and the point S3 to the point S4. The slope a of the line segment up to (= 1.3
3) and y intercept b (= -3.2) are calculated.

【0032】なお、第26図に示すグラフにおける点S
4 よりも右側、つまり次の点が存在しない場合は、次の
ような各計算式(6),(7)に示すように、点S4 よ
りも右側の線の傾きaを値“1.0”と仮定し、この線
のy切片bを求めることとなる。
The point S in the graph shown in FIG.
If there is no next point on the right side of point 4, that is, if the next point does not exist, the slope a of the line on the right side of point S4 is set to the value "1.0" as shown in the following equations (6) and (7). ", The y-intercept b of this line is obtained.

【0033】 傾きa=1.0 …(6) y切片b= 8.0−1.0×8.4=−0.4 …(7) これまでの処理手順を表現すると、第27図に示すよう
になる。同図において、ステップ251は1/10倍の
縮小処理を施すことにより得られた縮小縦方向境界位置
情報部233および縮小横方向境界位置情報部234を
表している。ステップ252は縦方向の2つの各外側境
界位置を整数化するとともに、横方向の2つの各外側境
界位置を整数化したときの縮小縦方向境界位置情報部2
33および縮小横方向境界位置情報部234を表してい
る。ステップ253は縦方向の2つの各内側境界位置を
整数化するとともに、横方向の2つの各内側境界位置を
整数化したときの縮小縦方向境界位置情報部233およ
び縮小横方向境界位置情報部234を表している。ステ
ップ254は縦方向の各境界位置毎に折れ線の傾きaと
y切片bを求めるとともに、横方向の各境界位置毎に折
れ線の傾きaとy切片bを求めたときの縮小縦方向境界
位置情報部233および縮小横方向境界位置情報部23
4を表している。
Gradient a = 1.0 (6) y intercept b = 8.0-1.0 × 8.4 = -0.4 (7) When the processing procedure up to now is expressed, it is shown in FIG. As shown. In the figure, step 251 represents the reduced vertical direction boundary position information portion 233 and the reduced horizontal direction boundary position information portion 234 obtained by performing the reduction processing of 1/10 times. In step 252, each of the two outer boundary positions in the vertical direction is converted into an integer, and the reduced vertical boundary position information section 2 is obtained when the two outer boundary positions in the horizontal direction are converted into an integer.
33 and the reduced horizontal direction boundary position information part 234. In step 253, the two vertical inner boundary positions are integerized, and the two horizontal inner boundary positions are integerized, and the reduced vertical boundary position information section 233 and the reduced horizontal boundary position information section 234 are obtained. Is represented. In step 254, the reduced vertical boundary position information is obtained when the polygonal line slope a and y intercept b are obtained for each vertical direction boundary position, and the polygonal line inclination a and y intercept b are obtained for each horizontal direction boundary position. 233 and reduced horizontal boundary position information section 23
4 is represented.

【0034】こうして第27図に示すステップ254に
おける縮小縦方向境界位置情報部233および縮小横方
向境界位置情報部234を導出すと、縮小縦方向境界位
置情報部233内の情報に基づき、第25図に示す縮小
制御点情報部232内の各縮小制御点座標に係わるx軸
上の各値を補正するとともに、縮小横方向境界位置情報
部234内の情報に基づき、縮小制御点情報部232内
の各縮小制御点座標に係わるy軸上の各値を補正する。
In this way, when the reduced vertical direction boundary position information section 233 and the reduced horizontal direction boundary position information section 234 in step 254 shown in FIG. 27 are derived, the 25th based on the information in the reduced vertical direction boundary position information section 233. In the reduction control point information section 232, the values on the x-axis relating to the respective reduction control point coordinates in the reduction control point information section 232 are corrected, and based on the information in the reduction horizontal boundary position information section 234, Each value on the y-axis related to each reduction control point coordinate of is corrected.

【0035】すなわち、縮小制御点情報部232内の各
縮小制御点座標に係わるx軸上の各値としては、“0.
5”,“2.0”,“3.0”,“4.5”,“6.
0”,“6.9”,“8.4”がある。これらの値のう
ちの値“0.5”を補正する場合は、縮小縦方向境界位
置情報部233内の整数値“1.0”に対応する傾きa
(=1.33)およびy切片b(=0.33)に基づ
き、(a×0.5+b)という計算を行って、補正値
“1.0”(=1.33×0.5+0.33)を求め
る。また、値“2.0”を補正する場合は、縮小縦方向
境界位置情報部233内の整数値“1.0”に対応する
傾きa(=1.33)およびy切片b(=0.33)に
基づき、(a×2.0+b)という計算を行って、補正
値“3.0”を求める。さらに、値“3.0”を補正す
る場合は、縮小縦方向境界位置情報部233内の整数値
“3.0”に対応する傾きa(=0.61)およびy切
片b(=1.78)に基づき、(a×3.0+b)とい
う計算を行って、補正値“3.6”を求める。以降同様
に、値“4.5”を補正する場合は縮小縦方向境界位置
情報部233内の整数値“3.0”に対応する傾きaお
よびy切片bに基づいて補正値“4.5”を求め、値
“6.0”を補正する場合は縮小縦方向境界位置情報部
233内の整数値“6.0”に対応する傾きaおよびy
切片bに基づいて補正値“5.4”を求め、値“6.
9”を補正する場合は縮小縦方向境界位置情報部233
内の整数値“6.0”に対応する傾きaおよびy切片b
に基づいて補正値“6.0”を求め、値“8.4”を補
正する場合は縮小縦方向境界位置情報部233内の整数
値“8.0”に対応する傾きaおよびy切片bに基づい
て補正値“8.0”を求める。したがって、補正される
以前の各値“0.5”,“2.0”,“3.0”,
“4.5”,“6.0”,“6.9”,“8.4”と、
補正された後の各値“1.0”,“3.0”,“3.
6”,“4.5”,“5.4”,“6.0”,“8.
0”とのそれぞれの関係は第26図に示すグラフの折れ
線241上で表される。
That is, each value on the x-axis relating to each reduction control point coordinate in the reduction control point information section 232 is "0.
5 ”,“ 2.0 ”,“ 3.0 ”,“ 4.5 ”,“ 6.
0 ”,“ 6.9 ”,“ 8.4 ”. When correcting the value“ 0.5 ”among these values, the integer value“ 1. Slope a corresponding to 0 "
Based on (= 1.33) and the y-intercept b (= 0.33), a calculation of (a × 0.5 + b) is performed to obtain a correction value “1.0” (= 1.33 × 0.5 + 0.33). ). When correcting the value “2.0”, the slope a (= 1.33) and y intercept b (= 0. 0) corresponding to the integer value “1.0” in the reduced vertical boundary position information unit 233. Based on 33), the calculation of (a × 2.0 + b) is performed to obtain the correction value “3.0”. Further, when correcting the value “3.0”, the slope a (= 0.61) and the y-intercept b (= 1.1.0) corresponding to the integer value “3.0” in the reduced vertical boundary position information unit 233. Based on 78), the calculation of (a × 3.0 + b) is performed to obtain the correction value “3.6”. Similarly, when correcting the value “4.5”, the correction value “4.5” is calculated based on the slope a and the y intercept b corresponding to the integer value “3.0” in the reduced vertical boundary position information unit 233. In the case of obtaining "" and correcting the value "6.0", the slopes a and y corresponding to the integer value "6.0" in the reduced vertical boundary position information section 233 are obtained.
A correction value “5.4” is calculated based on the intercept b, and the value “6.
When correcting 9 ", the reduced vertical boundary position information section 233
Slope a and y intercept b corresponding to the integer value "6.0" in
When the correction value “6.0” is obtained based on the above, and the value “8.4” is corrected, the slope a and the y intercept b corresponding to the integer value “8.0” in the reduced vertical boundary position information unit 233 are obtained. The correction value “8.0” is calculated based on Therefore, each value before being corrected is “0.5”, “2.0”, “3.0”,
"4.5", "6.0", "6.9", "8.4",
The corrected values “1.0”, “3.0”, “3.
6 ”,“ 4.5 ”,“ 5.4 ”,“ 6.0 ”,“ 8.
The respective relations with 0 "are shown on the broken line 241 of the graph shown in FIG.

【0036】また、縮小制御点情報部232内の各縮小
制御点座標に係わるy軸上の各値“0.5”,“2.
0”,“3.0”,“4.5”,“6.0”,“6.
9”,“8.4”は該各縮小制御点座標に係わるx軸上
の各値と同様に補正されるのであって、縮小横方向境界
位置情報部234から傾きaおよびy切片bが適宜に選
択されて補正される。もちろん、ここでは補正される以
前の各値と、補正された後の各値との関係は第26図に
示すグラフの折れ線241上で表される。
Further, the values "0.5", "2 ...." on the y-axis relating to the respective reduction control point coordinates in the reduction control point information section 232.
0 ”,“ 3.0 ”,“ 4.5 ”,“ 6.0 ”,“ 6.
9 "and" 8.4 "are corrected in the same manner as the respective values on the x-axis relating to the respective reduction control point coordinates, and the inclination a and the y intercept b are appropriately calculated from the reduction horizontal direction boundary position information section 234. Of course, the relationship between each value before being corrected and each value after being corrected is represented by a broken line 241 in the graph shown in FIG.

【0037】このような補正の結果、縮小制御点情報部
232内の各縮小制御点座標の値は第28図に示すよう
なものとなる。
As a result of such correction, the value of each reduction control point coordinate in the reduction control point information section 232 becomes as shown in FIG.

【0038】この第28図に示す縮小制御点情報部23
2内の各縮小制御点座標に基づいてアウトラインを形成
すると、第29図に示すような補正された縮小アウトラ
インが得られる。この補正された縮小アウトラインから
明らかなように、平行な1対のライン間の距離は第21
図に示す元のアウトラインと同様に一定しており、不揃
いにはなっていない。また、中央の円形は縮小アウトラ
イン全体に対して適宜な位置および大きさに設定されて
いる。したがって、この補正された縮小アウトラインを
ビットマップ上に展開すると、平行な1対のラインによ
って形成される線幅は一定となり、かつ中央の円形は適
宜な位置および大きさに設定される。すなわち、縮小さ
れた文字パターンは元の文字パターンの特徴を保持して
おり、品質が著しく悪化しない。
Reduction control point information section 23 shown in FIG. 28.
When the outline is formed based on the coordinates of each reduction control point in 2, a corrected reduced outline as shown in FIG. 29 is obtained. As is apparent from this corrected reduced outline, the distance between a pair of parallel lines is
Like the original outline shown in the figure, it is constant and not ragged. Also, the center circle is set at an appropriate position and size with respect to the entire reduced outline. Therefore, when this corrected reduced outline is developed on the bitmap, the line width formed by a pair of parallel lines becomes constant, and the center circle is set at an appropriate position and size. That is, the reduced character pattern retains the characteristics of the original character pattern, and the quality does not significantly deteriorate.

【0039】このように第21図に示す元のアウトライ
ンにおける縦方向の各境界位置、横方向の各境界位置、
および各制御点座標を縮小して、縮小された縦方向の各
境界位置を整数化するとともに、縮小された横方向の各
境界位置を整数化し、縮小された縦方向の各境界位置か
ら該各境界位置に係わるそれぞれの整数への変化量に基
づいて縮小された各制御点座標のx軸上のそれぞれの値
を補正し、また縮小された横方向の各境界位置から該各
境界位置に係わるそれぞれの整数への変化量に基づいて
縮小された各制御点座標のy軸上のそれぞれの値を補正
し、補正された各制御点座標に基づいて縮小アウトライ
ンを形成するようにしている。ここで、縮小された各制
御点座標を補正するということは、境界位置の整数化に
よる境界位置の左右並びに上下の移動に伴って制御点座
標を同じ様に移動させるということである。このため、
補正された各制御点座標は適宜な位置をそれぞれ指示す
ることとなる。これにより、縮小された文字パターンの
品質が著しく悪化することを防止することできるのであ
る。
As described above, the boundary positions in the vertical direction and the boundary positions in the horizontal direction in the original outline shown in FIG.
And each control point coordinate is reduced to make each reduced vertical boundary position an integer, and each reduced horizontal boundary position is made an integer, and each reduced vertical boundary position is converted to an integer. Correct each value on the x-axis of each reduced control point coordinate based on the amount of change to each integer relating to the boundary position, and also relate to each boundary position from each reduced horizontal boundary position. The respective values on the y-axis of the reduced control point coordinates are corrected based on the amount of change to the respective integers, and the reduced outline is formed based on the corrected control point coordinates. Here, to correct each reduced control point coordinate is to move the control point coordinate in the same manner as the boundary position is moved left and right and up and down by the integerization of the boundary position. For this reason,
The corrected coordinates of each control point respectively indicate an appropriate position. This makes it possible to prevent the quality of the reduced character pattern from significantly deteriorating.

【0040】なお、各境界位置から該各境界位置に係わ
るそれぞれの整数への変化量を第26図に示すグラフに
おける折れ線で表しているが、これに限定されるもので
なく、各点S1 ,S2 ,S3 ,S4 を通る直線もしくは
曲線を求めれば、その変化量を直線もしくは曲線で表す
ことができる。また、各点S1 ,S2 ,S3 ,S4 を必
ず通る必要はなく、該各点に沿った変化を近似的に表す
関数があれば、その関数に基づく特性曲線で変化量を表
すことができる。例えば、折れ線を形成する各線分の傾
きaから傾きの平均値を求めるとともに、該各線分のy
切片bからy切片の平均値を求め、傾きが各傾きaの平
均値であって、かつy切片が各y切片bの平均値である
直線を第26図に示すグラフ上で求め、この直線を変化
量としてもよい。いずれにしろ、補正される以前の各縮
小制御点座標の値と、補正された後の各縮小点座標の値
との関係を直線もしくは曲線で表すこととなる。
The amount of change from each boundary position to each integer associated with each boundary position is shown by a broken line in the graph shown in FIG. 26, but the invention is not limited to this, and each point S1, If a straight line or curve passing through S2, S3, S4 is obtained, the amount of change can be represented by a straight line or curve. Further, it is not always necessary to pass each point S1, S2, S3, S4, and if there is a function that approximately represents the change along each point, the amount of change can be expressed by a characteristic curve based on that function. For example, an average value of the inclinations is obtained from the inclinations a of the respective line segments forming the polygonal line, and y
The average value of the y-intercepts is calculated from the intercepts b, and the straight line in which the slope is the average value of the respective slopes a and the y-intercept is the average value of the respective y-intercepts b is obtained on the graph shown in FIG. May be used as the amount of change. In any case, the relationship between the value of each reduction control point coordinate before correction and the value of each reduction point coordinate after correction is represented by a straight line or a curve.

【0041】第1図は本発明に係わる文字処理装置の一
実施例を示すブロック図である。同図において、書体デ
ータ1は後述するように文字パターンのアウトラインを
示すアウトライン文字データを含んでいる。
FIG. 1 is a block diagram showing an embodiment of a character processing device according to the present invention. In the figure, typeface data 1 includes outline character data indicating an outline of a character pattern as described later.

【0042】抽出部2は書体データ1を入力し、この書
体データ1から所定の文字パターンのアウトラインを示
すアウトライン文字データを抽出し、このアウトライン
文字データを記憶部3に記憶する。
The extraction unit 2 inputs the typeface data 1, extracts outline character data indicating an outline of a predetermined character pattern from the typeface data 1, and stores the outline character data in the storage unit 3.

【0043】変換部5は記憶部3内のアウトライン文字
データに対して例えば縮小処理を施し、これにより縮小
アウトラインを示す縮小アウトライン文字データを記憶
部3内で求める。
The conversion unit 5 performs, for example, a reduction process on the outline character data in the storage unit 3 to obtain the reduced outline character data indicating the reduced outline in the storage unit 3.

【0044】境界位置算出部6は縮小アウトライン文字
データによって示される各境界位置、つまり縮小アウト
ラインの各境界位置を整数化する。
The boundary position calculator 6 converts each boundary position indicated by the reduced outline character data, that is, each boundary position of the reduced outline into an integer.

【0045】変化量算出部7は縮小アウトラインの各境
界位置から該各境界位置に係わる整数への変化量を求め
る。
The change amount calculation unit 7 obtains the change amount from each boundary position of the reduced outline to an integer relating to each boundary position.

【0046】補正部8は変化量算出部7で求められた変
化量に基づいて縮小アウトライン文字データによって示
される各制御点、つまり縮小アウトラインを形付ける各
制御点を補正する。
The correction unit 8 corrects each control point indicated by the reduced outline character data, that is, each control point forming the reduced outline, based on the change amount obtained by the change amount calculation unit 7.

【0047】展開部9は補正された各制御点により形付
けられるアウトラインを記憶部3内のビットマップ上に
展開し、これにより縮小された文字パターンを生成す
る。
The expansion unit 9 expands the outline shaped by each corrected control point on the bitmap in the storage unit 3 to generate a reduced character pattern.

【0048】第2図は、本実施例装置が適用される具体
的なシステムを示すブロック図である。同図において、
ランダムアクセスメモリ21は記憶部3(第1図に示
す)に対応しており、文字を加工するための作業領域と
して使用されるほか、このシステムを動作させるための
プログラムを一時的に格納したり、各種データを一時的
に格納するためのメモリである。また、このメモリ21
はビットマップに対応する画像メモリを備えており、文
字をビットマップ上に展開するに際しても利用される。
FIG. 2 is a block diagram showing a concrete system to which the apparatus of this embodiment is applied. In the figure,
The random access memory 21 corresponds to the storage unit 3 (shown in FIG. 1), is used as a work area for processing characters, and temporarily stores a program for operating this system. A memory for temporarily storing various data. In addition, this memory 21
Has an image memory corresponding to a bitmap, and is also used when expanding characters on a bitmap.

【0049】磁気ディスク装置22はこのシステムの基
本的な制御を行うためのプログラムや、書体データ1
(第1図に示す)をフォントファイルとして格納してい
るほか、必要に応じて保存用のデータを格納する外部記
憶装置である。
The magnetic disk device 22 is a program for performing basic control of this system and typeface data 1
It is an external storage device that stores (as shown in FIG. 1) as a font file and also stores data for saving as needed.

【0050】通信制御部23はケーブル24を介して外
部の電話回線網やローカルネットワーク等に接続され、
これらの網を通じて他の端末と通信するためのものであ
る。キーボード25はこのシステムの操作を行うために
各種データを入力するものであり、ポインティングデバ
イスとしてのマウス26が付設されている。このキーボ
ード25から、印字のためのデータ等を直接入力するこ
ともできる。
The communication control unit 23 is connected to an external telephone line network, a local network or the like via a cable 24,
It is for communicating with other terminals through these networks. The keyboard 25 is for inputting various data to operate the system, and is provided with a mouse 26 as a pointing device. Data for printing or the like can be directly input from the keyboard 25.

【0051】CRT制御部27はグラフィックディスプ
レイとしてのCRT28と接続されており、このCRT
28に対して各種データを可視表示するための制御を行
う。プリンタ制御部29はレーザプリンタ30の印刷制
御を行うためのものであり、この印刷制御により各種デ
ータが記録紙に記録される。
The CRT control section 27 is connected to a CRT 28 as a graphic display.
The control for visually displaying various data is performed on 28. The printer control unit 29 is for performing print control of the laser printer 30, and various data is recorded on the recording paper by this print control.

【0052】プロセッサ部31はバス32を通じて当該
システムを統合的に制御しており、各種のコマンドに基
づく演算を実行する。また、プロセッサ部31は第1図
に示す抽出部2、変換部5、境界位置算出部6、変化量
算出部7、補正部8、展開部9に対応しており、文字パ
ターンに対する各種の処理を行う。なお、このプロセッ
サ部31は中央処理装置(CPU)を主要構成要素とす
る周辺回路により構成される。
The processor unit 31 comprehensively controls the system through the bus 32, and executes operations based on various commands. The processor unit 31 corresponds to the extraction unit 2, the conversion unit 5, the boundary position calculation unit 6, the change amount calculation unit 7, the correction unit 8 and the expansion unit 9 shown in FIG. I do. The processor unit 31 is composed of a peripheral circuit having a central processing unit (CPU) as a main component.

【0053】このような構成のシステムにおける基本的
な処理手順を第3図に示すフローチャートに従って述べ
る。
A basic processing procedure in the system having such a configuration will be described with reference to the flowchart shown in FIG.

【0054】このシステムでは、まず印字を行うための
入力データが読込まれる(ステップ101)。この入力
データはコマンド形式になっており、プロセッサ部31
は入力データのコマンドの解釈を行う。そして、このコ
マンドが文字処理のコマンドかどうかを判断し(ステッ
プ102)、文字処理のコマンドであれば文字処理を行
う(ステップ103)。また、文字処理のコマンドでな
いときには、画像処理のコマンドかどうかを判断する
(ステップ104)。ここで、画像処理のコマンドであ
れば、CRT28の画面上の画像を処理する(ステップ
105)。さらに、画像処理のコマンドでなければ、そ
の他の処理を行う(ステップ106)。以上の処理を全
ての入力データについて終了するまで繰返し(ステップ
107)、入力データの処理が終了したときには、ラン
ダムアクセスメモリ21内の画像メモリに展開されてい
る文字を出力装置であるCRT28またはレーザプリン
タ30に出力し(ステップ108)、印字を行う。
In this system, first, input data for printing is read (step 101). This input data is in the command format, and the processor unit 31
Interprets the command of the input data. Then, it is determined whether this command is a character processing command (step 102), and if it is a character processing command, character processing is performed (step 103). If the command is not a character processing command, it is determined whether the command is an image processing command (step 104). If the command is an image processing command, the image on the screen of the CRT 28 is processed (step 105). Further, if it is not an image processing command, other processing is performed (step 106). The above processing is repeated until all input data is processed (step 107). When the processing of the input data is completed, the characters developed in the image memory in the random access memory 21 are output to the CRT 28 or the laser printer. It is output to 30 (step 108) and printing is performed.

【0055】次に、第3図に示すフローチャートにおけ
るステップ103でなされる文字処理に必要な書体デー
タ1(第1図に示す)について説明する。
Next, the typeface data 1 (shown in FIG. 1) necessary for the character processing performed in step 103 in the flow chart shown in FIG. 3 will be described.

【0056】まず、書体データ1を格納しているフォン
トファイルの構成を第4図に示す。このフォントファイ
ルに格納されている書体データ1は1種の書体で描かれ
た複数の文字を示すものであり、1書体1ファイルとな
っている。この書体データ1はラスタ文字情報領域41
と、アウトライン文字情報領域51とを有する。
First, FIG. 4 shows the structure of the font file storing the typeface data 1. The typeface data 1 stored in this font file indicates a plurality of characters drawn in one typeface, and is one typeface 1 file. This typeface data 1 has a raster character information area 41.
And an outline character information area 51.

【0057】ラスタ文字情報領域41は複数の文字パタ
ーンに対応するそれぞれのラスタ文字データ42を配列
してなり、1つのラスタ文字データ42は例えば第21
図に示すアウトラインを所定のサイズでビットマップ上
に展開することにより得られる文字パターンを示すラス
タデータ43と、この文字パターンの送り幅を示す文字
幅情報44とからなる。
The raster character information area 41 is an array of raster character data 42 corresponding to a plurality of character patterns, and one raster character data 42 is, for example, the 21st character.
It is composed of raster data 43 showing a character pattern obtained by expanding the outline shown in the figure on a bitmap with a predetermined size, and character width information 44 showing the feed width of this character pattern.

【0058】また、アウトライン文字情報領域51は複
数の文字パターンのアウトラインに対応するそれぞれの
アウトライン文字データ52を配列してなり、それぞれ
のアウトライン文字データ52は先に述べた第24図に
示すような構成である。
The outline character information area 51 is formed by arranging respective outline character data 52 corresponding to outlines of a plurality of character patterns, and each outline character data 52 is as shown in FIG. 24 described above. It is a composition.

【0059】なお、書体データ1におけるラスタ文字情
報領域41には既に登録されている複数の文字に対応す
るそれぞれの文字コード、および該各文字のサイズが含
まれているので、所望の文字コードとサイズを指定すれ
ば、必要とするラスタ文字データを検索することができ
る。また、書体データ1におけるアウトライン文字情報
領域51には既に登録されている複数の文字に対応する
それぞれの文字コードが含まれているので、所望の文字
コードを指定すれば、必要とする各アウトライン文字デ
ータを検索することができる。
Since the raster character information area 41 in the typeface data 1 includes the respective character codes corresponding to a plurality of already registered characters and the size of each character, the desired character code is By specifying the size, you can retrieve the required raster character data. Further, since the outline character information area 51 in the typeface data 1 includes respective character codes corresponding to a plurality of already registered characters, if the desired character code is designated, each required outline character You can search the data.

【0060】さて、このような構成の書体データ1は第
3図に示すフローチャートにおけるステップ103の文
字処理で利用されるが、この文字処理を第5図に示すフ
ローチャートに従って更に詳しく述べる。
The typeface data 1 having such a structure is used in the character processing of step 103 in the flowchart shown in FIG. 3, and this character processing will be described in more detail with reference to the flowchart shown in FIG.

【0061】まず、プロセッサ部31は磁気ディスク装
置22内のフォントファイルをアクセスして、このフォ
ントファイルに格納されている書体データ1のラスタ文
字情報領域41を検索し(ステップ201)、ここに必
要とする文字に対応する文字コードおよび文字サイズが
登録されているか否かを判定する(ステップ202)。
ここで、これらの文字コードおよび文字サイズが登録さ
れているならば(ステップ202,YES )、該当するラ
スタ文字データ42を読出して、このラスタ文字データ
42をランダムアクセスメモリ21に転送する(ステッ
プ203)。これにより、ランダムアクセスメモリ21
内のビットマップ上で該当する文字パターンが該当する
サイズで形成される。この後、この文字パターンをCR
T28またはレーザプリンタ30に出力することとな
る。
First, the processor section 31 accesses the font file in the magnetic disk device 22 and searches the raster character information area 41 of the typeface data 1 stored in this font file (step 201). It is determined whether or not the character code and the character size corresponding to the character are registered (step 202).
If these character codes and character sizes are registered (step 202, YES), the corresponding raster character data 42 is read and this raster character data 42 is transferred to the random access memory 21 (step 203). ). As a result, the random access memory 21
A corresponding character pattern is formed in a corresponding size on the bitmap inside. After this, CR this character pattern
It will be output to T28 or the laser printer 30.

【0062】一方、必要とする文字に対応する文字コー
ドおよび文字サイズがラスタ文字情報領域41に登録さ
れていなければ(ステップ202,NO)、書体データ1
のアウトライン文字情報領域51を検索し(ステップ2
04)、その文字コードが登録されているか否かを判定
する(ステップ205)。ここで、この文字コードが登
録されていなければ(ステップ205,NO)、エラー処
理を行って(ステップ206)、終了となる。
On the other hand, if the character code and the character size corresponding to the required character are not registered in the raster character information area 41 (step 202, NO), the font data 1
The outline character information area 51 is searched (step 2
04), it is determined whether or not the character code is registered (step 205). If this character code is not registered (NO in step 205), error processing is performed (step 206), and the process ends.

【0063】また、その文字コードがアウトライン文字
情報領域51に登録されていれば(ステップ205,YE
S )、プロセッサ部31における抽出部2が起動される
こととなる。この抽出部2はアウトライン文字情報領域
51から該当するアウトライン文字データ52を読出し
て、このアウトライン文字データ52を記憶部3(ラン
ダムアクセスメモリ21)に転送する(ステップ20
7)。
If the character code is registered in the outline character information area 51 (step 205, YE
S), the extraction unit 2 in the processor unit 31 is activated. The extraction unit 2 reads the corresponding outline character data 52 from the outline character information area 51 and transfers the outline character data 52 to the storage unit 3 (random access memory 21) (step 20).
7).

【0064】ここで、例えば記憶部3内のアウトライン
文字データが第24図に示すようなものであるとする
と、変換部5はこのアウトライン文字データに対して1
/10倍の縮小処理を施し、第25図に示す縮小アウト
ライン文字データをメモリ21内で形成する(ステップ
208)。この縮小アウトライン文字データによって示
されるアウトラインは第22図に示すようなものであ
る。
Here, for example, if the outline character data in the storage unit 3 is as shown in FIG. 24, the conversion unit 5 outputs 1 to the outline character data.
/ 10 times reduction processing is performed to form the reduced outline character data shown in FIG. 25 in the memory 21 (step 208). The outline shown by the reduced outline character data is as shown in FIG.

【0065】境界位置算出部6は縮小アウトライン文字
データの外側境界位置および内側境界位置を縦方向と横
方向で共に整数化し、これにより第27図に示すステッ
プ253のデータを得る(ステップ209)。引続き、
変化量算出部7は縦方向の各境界位置毎に折れ線の傾き
aとy切片bを求めるとともに、横方向の各境界位置毎
に折れ線の傾きaとy切片bを求め、これにより第27
図に示すステップ254のデータを得る。
The boundary position calculation unit 6 converts the outer boundary position and the inner boundary position of the reduced outline character data into integers in both the vertical and horizontal directions, thereby obtaining the data of step 253 shown in FIG. 27 (step 209). Continued,
The change amount calculation unit 7 obtains the slope a and the y-intercept b of the polygonal line for each boundary position in the vertical direction, and also obtains the slope a and the y-intercept b of the polygonal line for each boundary position in the horizontal direction.
The data of step 254 shown in the figure is obtained.

【0066】この後、補正部8はアウトラインの各境界
位置に対応するそれぞれの傾きaとy切片bに基づい
て、縮小アウトライン文字データの各縮小制御点座標を
補正し、これにより第28図に示すデータを得る(ステ
ップ210)。
Thereafter, the correction unit 8 corrects the coordinates of each reduction control point of the reduced outline character data on the basis of the respective inclinations a and y intercepts b corresponding to the respective boundary positions of the outline. Obtain the indicated data (step 210).

【0067】展開部9は第28図に示すデータに基づい
て第29図に示す補正された縮小アウトラインを記憶部
3内のビットマップ上で展開し、これにより縮小され補
正された文字パターンを形成する(ステップ211)。
この後、この文字パターンをCRT28またはレーザプ
リンタ30に出力することとなる。
The expanding unit 9 expands the corrected reduced outline shown in FIG. 29 on the bitmap in the storage unit 3 based on the data shown in FIG. 28, thereby forming a reduced and corrected character pattern. (Step 211).
After that, this character pattern is output to the CRT 28 or the laser printer 30.

【0068】なお、前記ステップ210で補正されたア
ウトラインは前記ステップ211で記憶部3内のビット
マップ上で展開され、これにより縮小され補正された文
字パターンが形成されるが、この文字パターンは出力装
置に出力されるだけでなく、その文字の文字コードとサ
イズが書体データ1のラスタ文字情報領域41に登録さ
れるとともに、この文字パターンおよび幅がラスタ文字
データ42として登録される。このため、再度同一の文
字コードとサイズを指定した場合は、該当する文字パタ
ーンをラスタ文字情報領域41から読出して形成するこ
とができる。すなわち、所望のサイズの文字パターンを
アウトラインに基づき一旦形成すれば、この文字パター
ンが登録されるので、アウトラインに基づく同一サイズ
の文字パターンの形成処理を繰返す必要はない。
The outline corrected in step 210 is expanded on the bitmap in the storage unit 3 in step 211, and a reduced and corrected character pattern is formed by this, and this character pattern is output. In addition to being output to the device, the character code and size of the character are registered in the raster character information area 41 of the typeface data 1, and this character pattern and width are registered as the raster character data 42. Therefore, when the same character code and size are designated again, the corresponding character pattern can be read from the raster character information area 41 and formed. That is, once a character pattern of a desired size is formed based on the outline, this character pattern is registered, so it is not necessary to repeat the process of forming the character pattern of the same size based on the outline.

【0069】ところで、上記本発明に係わる実施例によ
れば、第21図に示すアウトラインを文字パターンの品
質を悪化させることなく縮小することができたが、この
アウトラインの文字パターンよりも更に複雑な文字パタ
ーンを縮小する場合、複雑なアウトラインの部位に対す
る補正が他の部位に影響し、この他の部位に対して余分
な補正が施されることがある。
By the way, according to the embodiment of the present invention, the outline shown in FIG. 21 can be reduced without deteriorating the quality of the character pattern, but it is more complicated than the outline character pattern. When the character pattern is reduced, correction of a complicated outline portion may affect other portions, and extra correction may be performed on the other portions.

【0070】例えば、第30図に示すような既に縮小さ
れているアウトラインを補正すると、第31図に示すよ
うなアウトラインとなる。すなわち、第30図に示すア
ウトラインにおける縦方向の各境界位置はx軸上の各値
“6.6”,“7.2”,“9.8”,“10.4”で
表され、これらの値を整数化すると、第31図に示すx
軸上の各値“7.0”,“8.0”,“9.0”,“1
0.0”が求まる。このときの縦方向の各境界位置の変
化量に基づいて、第30図に示す各制御点座標A,B,
C,Dにおけるx軸上のそれぞれの値を補正すると、第
31図に示す各制御点座標A´,B´,C´,D´が得
られ、その部位が変形していることは明らかである。
For example, if the already reduced outline shown in FIG. 30 is corrected, the outline shown in FIG. 31 is obtained. That is, each vertical boundary position in the outline shown in FIG. 30 is represented by each value “6.6”, “7.2”, “9.8”, “10.4” on the x-axis. When the value of is converted to an integer, x shown in FIG.
Each value on the axis "7.0", "8.0", "9.0", "1"
0.0 "is obtained. Based on the change amount of each boundary position in the vertical direction at this time, each control point coordinate A, B, shown in FIG.
When the respective values on the x-axis in C and D are corrected, the respective control point coordinates A ', B', C ', D'shown in FIG. 31 are obtained, and it is clear that the parts are deformed. is there.

【0071】なお、第32図は縦方向の各境界位置を示
すx軸上の各値“6.6”,“7.2”,“9.8”,
“10.4”を整数化し、各境界位置に対応するそれぞ
れの変化量を求めるまでの処理過程を示しており、第3
3図は補正される以前の各制御点座標A,B,C,Dに
おけるx軸上のそれぞれの値と、補正後の各制御点座標
A´,B´,C´,D´におけるx軸上のそれぞれの値
とを対比させている。また、第34図は補正される以前
の各制御点座標A,B,C,Dと、補正された後の各制
御点座標A´,B´,C´,D´とを拡大して示してお
り、制御点座標A´が右方向に移動し過ぎていることが
明らかである。
Incidentally, FIG. 32 shows the values "6.6", "7.2", "9.8", and "x" on the x-axis showing the respective boundary positions in the vertical direction.
The processing steps until "10.4" is converted into an integer and the respective variation amounts corresponding to the respective boundary positions are obtained are shown.
Fig. 3 shows each value on the x-axis at each control point coordinate A, B, C, D before correction and each x-axis at each control point coordinate A ', B', C ', D'after correction. The above values are compared. Further, FIG. 34 shows the control point coordinates A, B, C, D before correction and the control point coordinates A ', B', C ', D'after correction in an enlarged manner. It is clear that the control point coordinates A ′ have moved too far to the right.

【0072】このように変形する部位が生じるのは、こ
の部位を形付ける制御点座標を該部位から離れている境
界位置に係わる変化量に基づいて補正しているためであ
る。そこで、別の本発明ではアウトラインを複数の部分
アウトラインに分割し、これらの部分アウトライン毎に
上記方法による縮小処理を施すようにしている。
The deformed portion is generated because the control point coordinates that shape this portion are corrected on the basis of the amount of change related to the boundary position distant from the portion. Therefore, in another aspect of the present invention, the outline is divided into a plurality of partial outlines, and the reduction processing by the above method is performed for each of these partial outlines.

【0073】第6図は別の本発明に係わる文字処理装置
の一実施例を示すブロック図である。同図において、書
体データ1は後述するように文字パターンのアウトライ
ンを分割した複数の部分アウトラインを含んでいる。
FIG. 6 is a block diagram showing another embodiment of the character processing apparatus according to the present invention. In the figure, the typeface data 1 includes a plurality of partial outlines obtained by dividing the outline of the character pattern as described later.

【0074】抽出部62は書体データ61を入力し、こ
の書体データ61から所定の文字パターンについての各
部分アウトラインを抽出し、これらの部分アウトライン
を記憶部63に記憶する。
The extraction unit 62 inputs the typeface data 61, extracts each partial outline for a predetermined character pattern from the typeface data 61, and stores these partial outlines in the storage unit 63.

【0075】変換部65は記憶部63内の各部分アウト
ライン毎に、部分アウトラインを例えば縮小し、これに
より該各部分アウトラインに対応するそれぞれの縮小部
分アウトラインを記憶部63内で求める。
The converting section 65 reduces, for example, the partial outline for each partial outline in the storage section 63, and thereby obtains the respective reduced partial outlines corresponding to the respective partial outlines in the storage section 63.

【0076】アウトラインデータ演算部66は整数化部
66−1と補正部66−2を備えており、整数化部66
−1は各縮小部分アウトラインの境界位置を整数化し、
補正部66−2は各縮小部分アウトラインの制御点座標
を補正する。
The outline data calculation unit 66 includes an integer conversion unit 66-1 and a correction unit 66-2.
-1 converts the boundary position of each reduced partial outline into an integer,
The correction unit 66-2 corrects the control point coordinates of each reduced portion outline.

【0077】展開部67は補正された各縮小部分アウト
ラインからなる縮小アウトライン、つまり縮小された文
字パターンの縮小アウトラインを記憶部63内のビット
マップ上に展開し、これにより縮小された文字パターン
を生成する。
The expansion unit 67 expands a reduced outline consisting of the corrected reduced partial outlines, that is, a reduced outline of the reduced character pattern on the bitmap in the storage unit 63, thereby generating a reduced character pattern. To do.

【0078】第7図は本実施例装置が適用される具体的
なシステムを示すブロック図である。なお、同図におい
て、第2図に示すシステムと同様の作用を果たす部位に
は説明の便宜上同じ符号を付す。
FIG. 7 is a block diagram showing a concrete system to which the apparatus of this embodiment is applied. In the figure, parts having the same functions as those of the system shown in FIG. 2 are designated by the same reference numerals for convenience of description.

【0079】このシステムは第2図に示すシステムと同
様にランダムアクセスメモリ21、磁気ディスク装置2
2、通信制御部23、ケーブル24、キーボード25、
マウス26、CRT制御部27、CRT28、プリンタ
制御部29、レーザプリンタ30、バス32を備えて構
成される。
This system is similar to the system shown in FIG. 2 in that the random access memory 21 and the magnetic disk device 2 are used.
2, communication control unit 23, cable 24, keyboard 25,
A mouse 26, a CRT controller 27, a CRT 28, a printer controller 29, a laser printer 30, and a bus 32 are provided.

【0080】また、プロセッサ部71は当該システムを
統合的に制御しており、第6図に示す抽出部62、変換
部65、アウトラインデータ演算部66および展開部6
7を内蔵する。
The processor section 71 controls the system in an integrated manner, and the extracting section 62, the converting section 65, the outline data calculating section 66, and the expanding section 6 shown in FIG.
Built-in 7.

【0081】さらに、このシステムでは第2図に示すシ
ステムと同様の基本的な処理手順が行われるのであっ
て、その処理手順は第3図に示すフローチャートに従っ
て行われる。よって、この処理手順についての説明は省
略する。
Further, in this system, the same basic processing procedure as in the system shown in FIG. 2 is carried out, and the processing procedure is carried out according to the flow chart shown in FIG. Therefore, description of this processing procedure is omitted.

【0082】次に、文字処理に必要な書体データ61
(第6図に示す)は第8図に示すような構成であって、
磁気ディスク装置22内に1書体1ファイルで格納され
ている。この書体データ61はラスタ文字情報領域81
と、アウトライン文字情報領域91とを有する。さら
に、ラスタ文字情報領域81はラスタ文字情報部82
と、ラスタコンポーネント情報部83とを有し、アウト
ライン文字情報領域91はアウトライン文字情報部92
と、アウトラインコンポーネント情報部93とを有す
る。
Next, typeface data 61 necessary for character processing
(Shown in FIG. 6) has the structure shown in FIG.
One typeface and one file are stored in the magnetic disk device 22. This typeface data 61 is a raster character information area 81.
And an outline character information area 91. Further, the raster character information area 81 has a raster character information section 82.
And a raster component information section 83, and the outline character information area 91 has an outline character information section 92.
And an outline component information section 93.

【0083】ラスタ文字情報領域81におけるラスタ文
字情報部82とラスタコンポーネント情報部83は、第
9図に示すように構成されている。すなわち、ラスタ文
字情報部82は1つの文字パターンに対応して各コンポ
ーネント化ラスタ文字データ84−1〜84−nを配列
してなり、各コンポーネント化ラスタ文字データ84−
1〜84−nは1つの文字パターンを分割した各部分パ
ターンをそれぞれ示す。また、ラスタコンポーネント情
報部83は各コンポーネント化ラスタ文字データ84−
1〜84−nに対応するそれぞれのコンポーネント位置
データ85−1〜85−nを配列してなり、1つのコン
ポーネント位置データは対応するコンポーネント化ラス
タ文字データの位置を示す。このような各コンポーネン
ト化ラスタ文字データおよび各コンポーネント位置デー
タは複数の文字パターン毎に、ラスタ文字情報部82お
よびラスタコンポーネント情報部83にそれぞれ配列さ
れる。ここで、1つの文字パターンに対応する各コンポ
ーネント位置データ85−1〜85−nに基づいて各コ
ンポーネント化ラスタ文字データ84−1〜84−nを
読出し、各コンポーネント化ラスタ文字データ84−1
〜84−nによって示されるそれぞれの部分パターンを
組立てると、1つの文字パターンが形成されることとな
る。
The raster character information section 82 and the raster component information section 83 in the raster character information area 81 are constructed as shown in FIG. That is, the raster character information section 82 is formed by arranging the componentized raster character data 84-1 to 84-n corresponding to one character pattern, and the componentized raster character data 84-1.
1 to 84-n represent each partial pattern obtained by dividing one character pattern. Further, the raster component information section 83 is configured to convert each componentized raster character data 84-
Each of the component position data 85-1 to 85-n corresponding to 1 to 84-n is arranged, and one component position data indicates the position of the corresponding componentized raster character data. Such componentized raster character data and component position data are arranged in the raster character information section 82 and the raster component information section 83 for each character pattern. Here, each componentized raster character data 84-1 to 84-n is read out based on each component position data 85-1 to 85-n corresponding to one character pattern, and each componentized raster character data 84-1 is read.
Assembling each of the sub-patterns represented by ~ 84-n results in the formation of one character pattern.

【0084】一方、アウトライン文字情報領域91にお
けるアウトライン文字情報部92とアウトラインコンポ
ーネント情報部93は、第10図に示すように構成され
ている。すなわち、アウトライン文字情報部92は1つ
の文字パターンのアウトラインに対応して各コンポーネ
ント化アウトライン文字データ94−1〜94−nを配
列してなり、各コンポーネント化アウトライン文字デー
タ94−1〜94−nは1つの文字パターンのアウトラ
インを分割した各部分アウトラインをそれぞれ示す。つ
まり、各コンポーネント化アウトライン文字データ94
−1〜94−nは第24図に示す構成のアウトラインデ
ータをそれぞれ有しており、これらのアウトラインデー
タは1つの文字パターンを示すアウトラインを分割した
各部分アウトラインをそれぞれ示している。また、アウ
トラインコンポーネント情報部93は各コンポーネント
化アウトライン文字データ94−1〜94−nに対応す
るそれぞれのコンポーネント位置データ95−1〜95
−nを配列してなり、1つのコンポーネント位置データ
は対応するコンポーネント化アウトライン文字データの
位置を示す。このような各コンポーネント化アウトライ
ン文字データおよび各コンポーネント位置データは複数
の文字パターンのアウトライン毎に、アウトライン文字
情報部92およびアウトラインコンポーネント情報部9
3にそれぞれ配列される。ここで、1つの文字パターン
のアウトラインに対応する各コンポーネント位置データ
95−1〜95−nに基づいて各コンポーネント化アウ
トライン文字データ94−1〜94−nを読出し、各コ
ンポーネント化アウトライン文字データ94−1〜94
−nによって示される複数の部分アウトラインを組立て
ると、1つの文字パターンのアウトラインが形成される
こととなる。
On the other hand, the outline character information section 92 and the outline component information section 93 in the outline character information area 91 are constructed as shown in FIG. That is, the outline character information section 92 is formed by arranging the componentized outline character data 94-1 to 94-n corresponding to the outline of one character pattern, and the componentized outline character data 94-1 to 94-n. Indicates each partial outline obtained by dividing the outline of one character pattern. That is, each componentized outline character data 94
-1 to 94-n respectively have outline data having the configuration shown in FIG. 24, and these outline data respectively show partial outlines obtained by dividing the outline showing one character pattern. In addition, the outline component information section 93 includes component position data 95-1 to 95 corresponding to the componentized outline character data 94-1 to 94-n.
-N is arranged and one component position data indicates the position of the corresponding componentized outline character data. Such componentized outline character data and each component position data are outlined character information part 92 and outline component information part 9 for each outline of a plurality of character patterns.
3 are arranged respectively. Here, each componentized outline character data 94-1 to 94-n is read based on each component position data 95-1 to 95-n corresponding to the outline of one character pattern, and each componentized outline character data 94- 1-94
Assembling a plurality of partial outlines indicated by -n will result in the outline of one character pattern.

【0085】なお、書体データ61におけるラスタ文字
情報領域81には既に登録されている複数の文字に対応
するそれぞれの文字コード、および該各文字のサイズが
含まれているので、所望の文字コードとサイズを指定す
れば、該当する文字に対応する各コンポーネント位置デ
ータを検索し、これらのコンポーネント位置データに基
づいて必要とする各コンポーネント化ラスタ文字データ
を検索することができる。また、書体データ61におけ
るアウトライン文字情報領域91には既に登録されてい
る複数の文字に対応するそれぞれの文字コードが含まれ
ているので、所望の文字コードを指定すれば、該当する
文字に対応する各コンポーネント位置データを検索し、
これらのコンポーネント位置データに基づいて必要とす
る各コンポーネント化アウトライン文字データを検索す
ることができる。
Since the raster character information area 81 in the typeface data 61 includes the respective character codes corresponding to a plurality of already registered characters and the size of each character, the desired character code is If the size is specified, it is possible to search each component position data corresponding to the corresponding character, and search each componentized raster character data required based on these component position data. Further, since the outline character information area 91 in the typeface data 61 includes respective character codes corresponding to a plurality of already registered characters, if a desired character code is designated, it corresponds to the corresponding character. Search each component position data,
Each required componentized outline character data can be searched based on these component position data.

【0086】さて、このような構成の書体データ61は
システムでなされる文字処理で利用されるが、この文字
処理を第11図に示すフローチャートに従って更に詳し
く述べる。
The typeface data 61 having such a structure is used in the character processing performed by the system. This character processing will be described in more detail with reference to the flowchart shown in FIG.

【0087】まず、プロセッサ部71は磁気ディスク装
置22内のフォントファイルをアクセスして、このフォ
ントファイルに格納されている書体データ61のラスタ
文字情報領域81を検索し(ステップ301)、ここに
必要とする文字に対応する文字コードおよび文字サイズ
が登録されているか否かを判定する(ステップ30
2)。ここで、これらの文字コードおよび文字サイズが
登録されているならば(ステップ302,YES )、ラス
タコンポーネント情報部83内の該当する各コンポーネ
ント位置データに基づいてラスタ文字情報部82から該
当する各コンポーネント化ラスタ文字データを逐次読出
して、これらのコンポーネント化ラスタ文字データをラ
ンダムアクセスメモリ21に順次転送する(ステップ3
03)。このとき、プロセッサ部71は各コンポーネン
ト化ラスタ文字データによって示されるそれぞれの部分
パターンを組立て、これによりランダムアクセスメモリ
21内のビットマップ上で文字パターンを形成する。こ
の後、この文字パターンをCRT28またはレーザプリ
ンタ30に出力することとなる。
First, the processor unit 71 accesses the font file in the magnetic disk device 22 and searches the raster character information area 81 of the typeface data 61 stored in this font file (step 301). It is determined whether the character code and the character size corresponding to the character to be registered are registered (step 30).
2). Here, if these character codes and character sizes are registered (step 302, YES), each corresponding component from the raster character information section 82 is based on the corresponding component position data in the raster component information section 83. The rasterized raster character data are sequentially read out, and these componentized raster character data are sequentially transferred to the random access memory 21 (step 3).
03). At this time, the processor unit 71 assembles each partial pattern indicated by each componentized raster character data, thereby forming a character pattern on the bitmap in the random access memory 21. After that, this character pattern is output to the CRT 28 or the laser printer 30.

【0088】一方、必要とする文字に対応する文字コー
ドおよび文字サイズがラスタ文字情報領域81に登録さ
れていなければ(ステップ302,NO)、書体データ6
1のアウトライン文字情報領域91を検索し(ステップ
304)、その文字コードが登録されているか否かを判
定する(ステップ305)。ここで、この文字コードが
登録されていなければ(ステップ305,NO)、エラー
処理を行って(ステップ306)、終了となる。
On the other hand, if the character code and the character size corresponding to the required character are not registered in the raster character information area 81 (step 302, NO), the typeface data 6
The outline character information area 91 of No. 1 is searched (step 304) and it is determined whether the character code is registered (step 305). Here, if this character code is not registered (step 305, NO), error processing is performed (step 306) and the process ends.

【0089】また、その文字コードがアウトライン文字
情報領域91に登録されていれば(ステップ305,YE
S )、プロセッサ部71における抽出部62が起動され
ることとなる。この抽出部62はアウトラインコンポー
ネント情報部93内の該当する各コンポーネント位置デ
ータに基づいてアウトライン文字情報部92から該当す
る各コンポーネント化アウトライン文字データを逐次読
出して、これらのコンポーネント化アウトライン文字デ
ータを記憶部63(ランダムアクセスメモリ21)に順
次転送する(ステップ307)。これらのコンポーネン
ト化アウトライン文字データは先に述べたように第24
図に示すような構成のアウトライン文字データである。
If the character code is registered in the outline character information area 91 (step 305, YE
S), the extraction unit 62 in the processor unit 71 is activated. The extraction unit 62 sequentially reads the corresponding componentized outline character data from the outline character information unit 92 based on the corresponding component position data in the outline component information unit 93, and stores the componentized outline character data in the storage unit. The data is sequentially transferred to the 63 (random access memory 21) (step 307). As described above, these componentized outline character data are
It is outline character data having a configuration as shown in the figure.

【0090】ここで、例えば記憶部63内の各コンポー
ネント化アウトライン文字データによって第12図の上
側部分アウトライン121と下側部分アウトライン12
2がそれぞれ示されているとし、これらの上側部分アウ
トライン121と下側部分アウトライン122からなる
アウトラインを必要とされる文字サイズ、つまり1/1
0倍に縮小するものとする。
Here, for example, according to each componentized outline character data in the storage unit 63, the upper partial outline 121 and the lower partial outline 12 of FIG.
2 is shown, the outline consisting of the upper partial outline 121 and the lower partial outline 122 is the required character size, that is, 1/1
It shall be reduced to 0 times.

【0091】この場合、変換部65は上側部分アウトラ
イン121および下側部分アウトライン122を示すそ
れぞれのコンポーネント化アウトライン文字データに対
して1/10倍の縮小処理を施し、それぞれの縮小コン
ポーネント化アウトライン文字データを記憶部63内で
形成する(ステップ308)。これらの縮小コンポーネ
ント化アウトライン文字データによって示されるアウト
ラインは第13図に示すようなものであり、縮小上側部
分アウトライン131および縮小下側部分アウトライン
132からなる。
In this case, the conversion unit 65 performs a reduction process of 1/10 times on each of the componentized outline character data indicating the upper partial outline 121 and the lower partial outline 122 to obtain each reduced componentized outline character data. Are formed in the storage unit 63 (step 308). The outline represented by these reduced componentized outline character data is as shown in FIG. 13, and comprises a reduced upper partial outline 131 and a reduced lower partial outline 132.

【0092】アウトラインデータ演算部66における整
数化部66−1は縮小上側部分アウトライン131を示
す縮小コンポーネント化アウトライン文字データの外側
境界位置および内側境界位置を整数化するとともに、縮
小下側部分アウトライン132を示す縮小コンポーネン
ト化アウトライン文字データの外側境界位置および内側
境界位置を整数化する。さらに、整数化部66−1は整
数化に伴う各境界位置の変化量、つまり縮小上側部分ア
ウトライン131の各境界位置に対応するそれぞれの傾
きaとy切片bを求めるとともに、縮小下側部分アウト
ライン132の各境界位置に対応するそれぞれの傾きa
とy切片bを求める。引続き、アウトラインデータ演算
部66における補正部66−2は縮小上側部分アウトラ
イン131の各境界位置に対応するそれぞれの傾きaと
y切片bに基づいて、縮小上側部分アウトライン131
を示す縮小コンポーネント化アウトライン文字データの
各縮小制御点座標を補正する。同様に、補正部66−2
は縮小下側部分アウトライン132の各境界位置に対応
するそれぞれの傾きaとy切片bに基づいて、縮小下側
部分アウトライン132を示す縮小コンポーネント化ア
ウトライン文字データの各縮小制御点座標を補正する
(ステップ309)。こうして補正された縮小上側部分
アウトライン131に係わる各縮小制御点座標および縮
小下側部分アウトライン132に係わる各縮小制御点座
標に基づいてアウトラインを形成すると、第14図に示
すような補正上側部分アウトライン141および補正下
側部分アウトライン142を得ることができる。
The integerizing unit 66-1 in the outline data computing unit 66 converts the reduced lower partial outline 132 into the integer while converting the outer boundary position and the inner boundary position of the reduced componentized outline character data indicating the reduced upper partial outline 131 into integers. The outer boundary position and the inner boundary position of the reduced componentized outline character data shown are converted into integers. Further, the integer conversion unit 66-1 obtains the amount of change in each boundary position due to the integer conversion, that is, the respective slopes a and y intercepts b corresponding to each boundary position of the reduced upper partial outline 131, and the reduced lower partial outline. Each inclination a corresponding to each boundary position of 132
And y-intercept b. Subsequently, the correction unit 66-2 in the outline data calculation unit 66 determines the reduced upper partial outline 131 based on the respective slopes a and y intercepts corresponding to the boundary positions of the reduced upper partial outline 131.
The reduction control point coordinates of the reduced componentized outline character data indicating is corrected. Similarly, the correction unit 66-2
Corrects the reduction control point coordinates of the reduced componentized outline character data indicating the reduced lower partial outline 132 based on the respective slopes a and y intercepts b corresponding to the respective boundary positions of the reduced lower partial outline 132 ( Step 309). When an outline is formed on the basis of the reduced control point coordinates associated with the reduced upper partial outline 131 and the reduced control point coordinates associated with the reduced lower partial outline 132 thus corrected, the corrected upper partial outline 141 as shown in FIG. And the corrected lower partial outline 142 can be obtained.

【0093】展開部67は第14図に示す補正上側部分
アウトライン141および補正下側部分アウトライン1
42を記憶部63内のビットマップ上で展開し、これに
より縮小され補正された文字パターンを形成する(ステ
ップ310)。この後、この文字パターンをCRT28
またはレーザプリンタ30に出力することとなる。
The expanding portion 67 is composed of the corrected upper partial outline 141 and the corrected lower partial outline 1 shown in FIG.
42 is expanded on the bitmap in the storage unit 63, and a character pattern reduced and corrected by this is formed (step 310). After this, this character pattern is CRT28
Alternatively, it is output to the laser printer 30.

【0094】ここで、第13図と第14図を比較すると
明らかなように、文字の品質は良好に保たれている。例
えば第13図に示す縮小上側部分アウトライン131の
各制御点A1 ,B1 ,C1 ,D1 からなる部位と、第1
4図に示す補正上側部分アウトライン141の各制御点
A1',B1',C1',D1'からなる部位とは同様の形状で
あり、ここに変形を生じていない。
Here, as is clear from comparison between FIG. 13 and FIG. 14, the character quality is kept good. For example, a portion composed of the control points A1, B1, C1, and D1 of the reduced upper partial outline 131 shown in FIG.
The portion composed of the control points A1 ', B1', C1 ', D1' of the corrected upper partial outline 141 shown in FIG. 4 has the same shape, and no deformation is generated here.

【0095】次に、アウトラインデータ演算部66によ
る補正処理を第13図に示す縮小上側部分アウトライン
131の各制御点A1 ,B1 ,C1 ,D1 からなる部位
を例にして具体的に述べる。
Next, the correction process by the outline data calculation unit 66 will be specifically described by taking as an example the portion consisting of the control points A1, B1, C1, and D1 of the reduced upper partial outline 131 shown in FIG.

【0096】まず、第13図に示す縮小上側部分アウト
ライン131はx軸上の値で表される縦方向の境界位置
が定義されておらず、このため境界位置の整数化は行わ
れない。この場合、変化量は第15図に示すように傾き
a=1.0、およびy切片b=0.0で表される。すな
わち、この変化量は補正される以前の制御点座標に係わ
るx軸上の値と、補正された後の制御点座標に係わるx
軸上の値とが等しいことを表している。したがって、第
13図に示す各制御点A1 ,B1 ,C1 ,D1に係わる
x軸上の各値と、第14図に示す各制御点A1',B1',
C1',D1'に係わるx軸上の各値とは、第16図に示す
ようにそれぞれ等しい。よって、その部位に変形を生じ
ていない。
First, in the reduced upper partial outline 131 shown in FIG. 13, the vertical boundary position represented by the value on the x-axis is not defined, and therefore the boundary position is not converted into an integer. In this case, the change amount is represented by a slope a = 1.0 and a y-intercept b = 0.0, as shown in FIG. That is, this change amount is a value on the x-axis related to the control point coordinates before being corrected and an x value related to the control point coordinates after being corrected.
It indicates that the values on the axis are equal. Therefore, each value on the x-axis relating to each control point A1, B1, C1, D1 shown in FIG. 13 and each control point A1 ', B1', shown in FIG.
The respective values on the x-axis relating to C1 'and D1' are equal as shown in FIG. Therefore, there is no deformation in that part.

【0097】なお、第13図に示す縮小下側部分アウト
ライン132における縦方向の境界位置は、x軸上の各
値“6.6”,“7.2”,“9.8”,“10.4”
で少なくとも表されるので、これらの値から該各値を整
数化したそれぞれの整数への変化量を求め、この変化量
に基づいて縮小下側部分アウトライン132の各制御点
座標に係わるx軸上の各値をそれぞれ補正する。この結
果、第14図に示す補正下側部分アウトライン142が
形成されることとなる。
The boundary position in the vertical direction in the reduced lower partial outline 132 shown in FIG. 13 has the values "6.6", "7.2", "9.8", "10" on the x-axis. .4 "
At least, the amount of change from each of these values to an integer is obtained, and based on this amount of change, on the x-axis related to each control point coordinate of the reduced lower partial outline 132. Correct each value of. As a result, the corrected lower partial outline 142 shown in FIG. 14 is formed.

【0098】ところで、前記ステップ309で補正され
た各部分アウトラインからなるアウトラインは前記ステ
ップ310で記憶部63内のビットマップ上で展開さ
れ、これにより縮小され補正された文字パターンが形成
されるが、この文字パターンは出力装置に出力されるだ
けでなく、その文字の文字コードとサイズが書体データ
61のラスタ文字情報領域81に登録されるとともに、
この文字パターンを構成する各部分パターンがそれぞれ
のコンポーネント化ラスタ文字データとしてラスタ文字
情報部82に登録され、これらのコンポーネント化ラス
タ文字データの位置を示すそれぞれのコンポーネント位
置データがラスタコンポーネント情報部83に登録され
る。このため、再度同一の文字コードとサイズを指定し
た場合は、該当する文字パターンを分割した各部分パタ
ーンをラスタ文字情報領域81から読出して、これらの
部分パターンからなる文字パターンを形成することがで
きる。すなわち、所望のサイズの文字パターンをアウト
ラインに基づき一旦形成すれば、この文字パターンが登
録されるので、アウトラインに基づく同一サイズの文字
パターンの形成処理を繰返す必要はない。
By the way, the outline consisting of the partial outlines corrected in the step 309 is developed on the bitmap in the storage section 63 in the step 310, and thereby the reduced and corrected character pattern is formed. This character pattern is not only output to the output device, but the character code and size of the character are registered in the raster character information area 81 of the typeface data 61, and
Each partial pattern forming this character pattern is registered in the raster character information section 82 as each componentized raster character data, and each component position data indicating the position of these componentized raster character data is registered in the raster component information section 83. be registered. Therefore, when the same character code and size are designated again, each partial pattern obtained by dividing the corresponding character pattern can be read from the raster character information area 81, and a character pattern composed of these partial patterns can be formed. . That is, once a character pattern of a desired size is formed based on the outline, this character pattern is registered, so it is not necessary to repeat the process of forming the character pattern of the same size based on the outline.

【0099】このように別の本発明に係わる実施例では
1つの文字パターンのアウトラインを分割した各部分ア
ウトライン毎に、部分アウトラインの境界位置を整数化
し、この境界位置から該境界位置に係わる整数への変化
量に基づいて部分アウトラインの制御点座標を補正して
いる。そして、補正を受けた各部分アウトラインからな
るアウトラインをビットマップ上に展開し、これにより
所望のサイズの文字パターンを形成している。このた
め、各部分アウトラインの1つ1つが余分な補正を受け
ずに済み、縮小された文字パターンの品質が著しく悪化
するようなことはない。
As described above, in another embodiment according to the present invention, the boundary position of the partial outline is converted into an integer for each partial outline obtained by dividing the outline of one character pattern, and this boundary position is converted into an integer related to the boundary position. The control point coordinates of the partial outline are corrected based on the change amount of. Then, an outline composed of the corrected partial outlines is developed on the bitmap to form a character pattern of a desired size. Therefore, each of the partial outlines does not have to be subjected to extra correction, and the quality of the reduced character pattern does not significantly deteriorate.

【0100】なお、上記各実施例ではアウトラインの縮
小を例にして述べているが、アウトラインを拡大すると
きにも本発明を適用しうる。例えば、4/3倍に拡大す
る場合は、拡大処理を施されたアウトラインの境界位置
および制御点座標が整数で表されないので、この境界位
置を整数化し、この境界位置から該境界位置に係わる整
数への変化量に基づいて制御点座標を補正する。もちろ
ん、このような処理は各部分アウトライン毎にも行いう
る。
In each of the above embodiments, the outline is reduced, but the present invention can be applied to the case of enlarging the outline. For example, when expanding to 4/3 times, since the boundary position and control point coordinates of the outline subjected to the expansion processing are not represented by integers, this boundary position is converted into an integer, and an integer relating to the boundary position from this boundary position. The control point coordinates are corrected based on the amount of change to. Of course, such processing can be performed for each partial outline.

【0101】[0101]

【発明の効果】以上説明したように本発明によれば、拡
大または縮小されたアウトラインの境界位置を整数化
し、この境界位置から該境界位置に係わる整数への変化
量に基づいてアウトラインを形付ける制御点を補正し、
補正された制御点に基づいて拡大または縮小された文字
パターンを形成するようにしている。このため、元の文
字パターンに曲線等の部分が含まれていても、この文字
パターンをその品質を悪化させることなく縮小または拡
大することができる。さらに、アウトラインを分割した
複数の部分アウトライン毎に、拡大または縮小、整数
化、並びに補正を施すようにしているので、該各部分ア
ウトラインの1つ1つが余分な補正を受けることはな
く、拡大または縮小された文字パターンの品質が著しく
悪化することを防止できる。
As described above, according to the present invention, the boundary position of the enlarged or reduced outline is converted into an integer, and the outline is shaped based on the amount of change from this boundary position to an integer relating to the boundary position. Correct the control points,
An enlarged or reduced character pattern is formed based on the corrected control points. Therefore, even if the original character pattern includes a portion such as a curve, the character pattern can be reduced or enlarged without deteriorating its quality. Further, since enlargement or reduction, integerization, and correction are performed for each of a plurality of partial outlines obtained by dividing the outline, each of the partial outlines is not subjected to an extra correction and is enlarged or reduced. It is possible to prevent the quality of the reduced character pattern from significantly deteriorating.

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

【図1】 本発明に係わる文字処理装置の一実施例を示
すブロック図。
FIG. 1 is a block diagram showing an embodiment of a character processing device according to the present invention.

【図2】 本実施例装置が適用される具体的なシステム
を示すブロック図。
FIG. 2 is a block diagram showing a specific system to which the device of this embodiment is applied.

【図3】 第2図に示すシステムにおける基本的な処理
手順を示すフローチャート。
3 is a flowchart showing a basic processing procedure in the system shown in FIG.

【図4】 本実施例における書体データの構成を示す
図。
FIG. 4 is a diagram showing a structure of typeface data in the present embodiment.

【図5】 本実施例における文字処理の手順を示すフロ
ーチャート。
FIG. 5 is a flowchart showing a procedure of character processing according to the present embodiment.

【図6】 別の本発明に係わる文字処理装置の一実施例
を示すブロック図。
FIG. 6 is a block diagram showing another embodiment of the character processing device according to the present invention.

【図7】 別の本発明に係わる実施例装置が適用される
具体的なシステムを示すブロック図。
FIG. 7 is a block diagram showing a specific system to which another embodiment device according to the present invention is applied.

【図8】 別の本発明に係わる実施例における書体デー
タの構成を示す図。
FIG. 8 is a diagram showing the structure of typeface data in another embodiment according to the present invention.

【図9】 第8図に示す書体データにおけるラスタ文字
情報領域の構成を示す図。
9 is a diagram showing the configuration of a raster character information area in the font data shown in FIG.

【図10】 第8図に示す書体データにおけるアウトラ
イン文字情報領域の構成を示す図。
10 is a diagram showing the configuration of an outline character information area in the typeface data shown in FIG.

【図11】 別の本発明に係わる実施例における文字処
理の手順を示すフローチャート。
FIG. 11 is a flowchart showing a procedure of character processing in another embodiment according to the present invention.

【図12】 別の本発明に係わる実施例におけるアウト
ラインを例示する図。
FIG. 12 is a diagram illustrating an outline in another embodiment according to the present invention.

【図13】 第12図に示すアウトラインに対して縮小
処理を施すことにより得られる縮小アウトラインを示す
図。
13 is a diagram showing a reduced outline obtained by performing a reduction process on the outline shown in FIG.

【図14】 第13図に示す縮小アウトラインに対して
補正処理を施すことにより得られるアウトラインを示す
図。
14 is a diagram showing an outline obtained by performing a correction process on the reduced outline shown in FIG.

【図15】 第13図に示す縮小上側部分アウトライン
の境界位置に対応する変化量を示す図。
FIG. 15 is a diagram showing the amount of change corresponding to the boundary position of the reduced upper partial outline shown in FIG.

【図16】 第13図に示す縮小上側部分アウトライン
の各制御点と第14図に示す縮小上側部分アウトライン
の各制御点とを対比して示す図。
16 is a diagram showing the control points of the reduced upper partial outline shown in FIG. 13 in comparison with the control points of the reduced upper partial outline shown in FIG. 14;

【図17】 文字パターンのアウトラインを例示する
図。
FIG. 17 is a diagram illustrating an outline of a character pattern.

【図18】 第17図に示すアウトラインに対して1/
10倍の縮小処理を施して得られる縮小アウトラインを
示す図。
FIG. 18: 1 / for the outline shown in FIG.
The figure which shows the reduced outline obtained by performing a reduction process of 10 times.

【図19】 第18図に示す縮小アウトラインをビット
マップ上に展開して得られる文字パターンを示す図。
19 is a diagram showing a character pattern obtained by expanding the reduced outline shown in FIG. 18 on a bitmap.

【図20】 第18図に示す縮小アウトラインに対して
整数化処理を施すことにより得られるアウトラインを示
す図。
20 is a diagram showing an outline obtained by performing an integerizing process on the reduced outline shown in FIG.

【図21】 文字パターンのアウトラインを例示する
図。
FIG. 21 is a diagram illustrating an outline of a character pattern.

【図22】 第21図に示すアウトラインに対して1/
10倍の縮小処理を施して得られる縮小アウトラインを
示す図。
FIG. 22 is 1 / for the outline shown in FIG.
The figure which shows the reduced outline obtained by performing a reduction process of 10 times.

【図23】 第22図に示す縮小アウトラインに対して
従来方式の整数化処理を施すことにより得られるアウト
ラインを示す図。
23 is a diagram showing an outline obtained by subjecting the reduced outline shown in FIG. 22 to conventional integer conversion processing.

【図24】 本発明に係わるアウトライン文字データを
例示する図。
FIG. 24 is a diagram showing an example of outline character data according to the present invention.

【図25】 第24図に示すアウトライン文字データに
対して1/10倍の縮小処理を施すことにより得られる
アウトライン文字データを示す図。
FIG. 25 is a diagram showing outline character data obtained by subjecting the outline character data shown in FIG. 24 to reduction processing of 1/10 times.

【図26】 第25図に示す縮小アウトライン文字デー
タにおける各境界位置から該各境界位置に係わるそれぞ
れの整数への変化量を示すグラフ。
26 is a graph showing the amount of change from each boundary position in the reduced outline character data shown in FIG. 25 to each integer associated with each boundary position.

【図27】 第25図に示す縮小アウトライン文字デー
タにおける各境界位置から該各境界位置に係わるそれぞ
れの整数への変化量を求めるときの処理過程を示す図。
FIG. 27 is a diagram showing a process of obtaining the amount of change from each boundary position in the reduced outline character data shown in FIG. 25 to each integer associated with each boundary position.

【図28】 第25図に示す縮小アウトライン文字デー
タにおける各縮小制御点座標を補正した結果を示す図。
28 is a diagram showing the result of correcting each reduction control point coordinate in the reduced outline character data shown in FIG. 25.

【図29】 第28図に示す補正された各縮小制御点座
標に基づいて形成される縮小アウトラインを示す図。
29 is a diagram showing a reduction outline formed based on the corrected reduction control point coordinates shown in FIG. 28. FIG.

【図30】 既に縮小されているアウトラインを例示す
る図。
FIG. 30 is a diagram illustrating an outline that has already been reduced.

【図31】 第30図に示すアウトラインに対して補正
処理を施すことにより得られるアウトラインを示す図。
31 is a diagram showing an outline obtained by performing a correction process on the outline shown in FIG. 30. FIG.

【図32】 第30図に示すアウトラインの各境界位置
から該各境界位置に係わるそれぞれの整数への変化量を
求めるときの処理過程を示す図。
FIG. 32 is a diagram showing a process of obtaining a change amount from each boundary position of the outline shown in FIG. 30 to each integer relating to each boundary position.

【図33】 補正される以前の各制御点と補正後の各制
御点を対比させて示す図。
FIG. 33 is a diagram showing control points before being corrected and control points after being corrected in comparison.

【図34】 第31図に示す補正されたアウトラインの
部分拡大図。
34 is a partially enlarged view of the corrected outline shown in FIG. 31. FIG.

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

1,61…書体データ、2,62…抽出部、3,63…
記憶部、5,65…変換部、6…境界位置算出部、7…
変化量算出部、8…補正部、9,67…展開部、21…
ランダムアクセスメモリ、22…磁気ディスク装置、2
3…通信制御部、24…ケーブル、25…キーボード、
26…マウス、27…CRT制御部、28…CRT、2
9…プリンタ制御部、30…レーザプリンタ、31,7
1…プロセッサ部、32…バス、66…アウトラインデ
ータ演算部、66−1…整数化部、66−2…補正部。
1, 61 ... Typeface data, 2,62 ... Extraction unit, 3,63 ...
Storage unit, 5, 65 ... Conversion unit, 6 ... Boundary position calculation unit, 7 ...
Change amount calculation unit, 8 ... Correction unit, 9, 67 ... Development unit, 21 ...
Random access memory, 22 ... Magnetic disk device, 2
3 ... communication control unit, 24 ... cable, 25 ... keyboard,
26 ... Mouse, 27 ... CRT control unit, 28 ... CRT, 2
9 ... Printer control unit, 30 ... Laser printer, 31, 7
1 ... Processor part, 32 ... Bus, 66 ... Outline data calculation part, 66-1 ... Integer conversion part, 66-2 ... Correction part.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】パターンのアウトラインを拡大または縮小
する文字処理装置において、前記アウトラインの境界を
示す一対の境界位置と、該アウトラインを形付ける制御
点を縮小または拡大して、一対の変換境界位置と、変換
制御点を求める変換手段と、前記一対の変換境界位置の
うちの一方の変換境界位置を整数化し、かつ該一対の変
換境界位置間の距離を整数化するとともに、前記一方の
変換境界位置に係わる整数および該一対の変換境界位置
間の距離に係わる整数に基づいて他方の変換境界位置を
整数化する整数化手段と、前記一対の変換境界位置から
前記一対の変換境界位置に係わるそれぞれの整数への変
化量に基づいて、前記変換制御点を補正する補正手段
と、前記アウトラインに係わる補正されたそれぞれの変
換制御点に基づいて、縮小または拡大されたパターンを
生成する生成手段とを備えたことを特徴とする文字処理
装置。
1. A character processing device for enlarging or reducing an outline of a pattern, wherein a pair of boundary positions indicating boundaries of the outline and control points forming the outline are contracted or enlarged to form a pair of conversion boundary positions. A conversion means for obtaining a conversion control point, one conversion boundary position of the pair of conversion boundary positions is made an integer, and a distance between the pair of conversion boundary positions is made an integer, and the one conversion boundary position is made And an integer unit for converting the other conversion boundary position into an integer based on an integer related to the distance between the pair of conversion boundary positions and each of the pair of conversion boundary positions from the pair of conversion boundary positions. Correction means for correcting the conversion control points based on the amount of change to an integer, and based on the corrected conversion control points related to the outline Character processing apparatus characterized by comprising a generating means for generating a reduced or enlarged pattern.
【請求項2】パターンのアウトラインを拡大または縮小
する文字処理装置において、前記アウトラインを分割す
ることにより得られる複数の部分アウトラインと、前記
各部分アウトライン毎に、部分アウトラインの境界を示
す一対の境界位置と、該部分アウトラインを形付ける制
御点を縮小または拡大して、一対の変換境界位置と、変
換制御点を求める変換手段と、前記一対の変換境界位置
のうちの一方の変換境界位置を整数化し、かつ該一対の
変換境界位置間の距離を整数化するとともに、前記一方
の変換境界位置に係わる整数および該一対の変換境界位
置間の距離に係わる整数に基づいて他方の変換境界位置
を整数化する整数化手段と、前記一対の変換境界位置か
ら前記一対の変換境界位置に係わるそれぞれの整数への
変化量に基づいて、前記変換制御点を補正する補正手段
と、前記各部分アウトラインに係わる補正されたそれぞ
れの変換制御点に基づいて、縮小または拡大されたパタ
ーンを生成する生成手段とを備えたことを特徴とする文
字処理装置。
2. A character processing device for enlarging or reducing an outline of a pattern, wherein a plurality of partial outlines obtained by dividing the outline, and a pair of boundary positions indicating boundaries of the partial outlines for each partial outline. And reducing or enlarging the control points forming the partial outline to convert a pair of conversion boundary positions, conversion means for obtaining conversion control points, and converting one of the pair of conversion boundary positions into an integer. And converting the distance between the pair of conversion boundary positions into an integer, and converting the other conversion boundary position into an integer based on the integer related to the one conversion boundary position and the integer related to the distance between the pair of conversion boundary positions. Based on the amount of change from the pair of conversion boundary positions to respective integers related to the pair of conversion boundary positions. Character comprising: a correction unit that corrects the conversion control point; and a generation unit that generates a reduced or enlarged pattern based on the corrected conversion control points related to the partial outlines. Processing equipment.
JP3188914A 1990-09-14 1991-07-29 Character processor Expired - Fee Related JP3039015B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3188914A JP3039015B2 (en) 1990-09-14 1991-07-29 Character processor

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2-245203 1990-09-14
JP24520390 1990-09-14
JP3188914A JP3039015B2 (en) 1990-09-14 1991-07-29 Character processor

Publications (2)

Publication Number Publication Date
JPH056164A true JPH056164A (en) 1993-01-14
JP3039015B2 JP3039015B2 (en) 2000-05-08

Family

ID=26505217

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3188914A Expired - Fee Related JP3039015B2 (en) 1990-09-14 1991-07-29 Character processor

Country Status (1)

Country Link
JP (1) JP3039015B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5537131A (en) * 1993-05-24 1996-07-16 Fujitsu Limited Character generating method and apparatus
CN1071976C (en) * 1993-07-13 2001-09-26 富士通株式会社 Character generating method and apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5537131A (en) * 1993-05-24 1996-07-16 Fujitsu Limited Character generating method and apparatus
CN1071976C (en) * 1993-07-13 2001-09-26 富士通株式会社 Character generating method and apparatus

Also Published As

Publication number Publication date
JP3039015B2 (en) 2000-05-08

Similar Documents

Publication Publication Date Title
US5241653A (en) Apparatus and method for adjusting and displaying scaled, rasterized characters
US4779081A (en) Graphics in display unit
JP3437037B2 (en) Character pattern generator
US6753862B1 (en) Outline smoothing method and system
JP3037854B2 (en) Character generation method and device
US5920324A (en) Character pattern producing apparatus capable of producing character pattern having connected character elements
JPH056164A (en) Character processing device
JP3146771B2 (en) Font rasterizing apparatus and method
KR100227178B1 (en) Character generation device
JP3280160B2 (en) Document processing apparatus and document processing method
KR940001106B1 (en) Image processing method and apparatus therefor
JPH0493992A (en) Character and graphic plotter device
JP2886702B2 (en) Outline font processor
JP3082228B2 (en) Data converter
JPH08254973A (en) Character output device and its method
JPH04104296A (en) Character/graphic plotter
JP3055306B2 (en) Data output device
JP3072756B2 (en) Drawing equipment
JP2749858B2 (en) Character processor
JP2908194B2 (en) Character transformation control method
JPH06324667A (en) Data converting device
JPS62157089A (en) Generation of vector character
JPH05189575A (en) Bit map expansion system
JPH0511734A (en) Character pattern generating device
JP2003029735A (en) Character pattern generator

Legal Events

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