JPH04139496A - Line width control system for outline character - Google Patents

Line width control system for outline character

Info

Publication number
JPH04139496A
JPH04139496A JP2263369A JP26336990A JPH04139496A JP H04139496 A JPH04139496 A JP H04139496A JP 2263369 A JP2263369 A JP 2263369A JP 26336990 A JP26336990 A JP 26336990A JP H04139496 A JPH04139496 A JP H04139496A
Authority
JP
Japan
Prior art keywords
line width
line
outline
vector
character
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
JP2263369A
Other languages
Japanese (ja)
Other versions
JP2666552B2 (en
Inventor
Tadashi Kagesawa
正 影沢
Toru Kanamori
金盛 亨
Masahiro Kurishima
正博 栗島
Shigeki Furuta
茂樹 古田
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2263369A priority Critical patent/JP2666552B2/en
Publication of JPH04139496A publication Critical patent/JPH04139496A/en
Application granted granted Critical
Publication of JP2666552B2 publication Critical patent/JP2666552B2/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)
  • Image Processing (AREA)
  • Image Generation (AREA)

Abstract

PURPOSE:To obtain a beautiful output of good quality by performing a correspondence process for an upper and a lower vector regarding the same stroke of the outline character and setting line width at the time of enlargement or reduction to minimum line width determined by the font of the outline character and its output size. CONSTITUTION:When the outline character whose external contour and internal contour are different in generation direction is enlarged or reduced and outputted, minimum line length 1, maximum line width 2, and minimum line width 3 which are determined by the font of an outline vector are prepared as parameters for line width control and the minimum line width 3 is varied and prescribed corresponding to the output size of the outline character. Then the enlarge/reduced character is developed into vectors and one of a couple of vectors which constitute the same character line while the overlap between the vectors is longer than the minimum line length 1 determined by the font of the outline character and shorter than the minimum line width 3 is moved to equalize the line width. Consequently, when the outline character is enlarged or reduce and displayed, a beautiful character of good quality can be outputted.

Description

【発明の詳細な説明】 [概要] ワードプロセッサにおいて、アウトライン文字を拡大/
縮小して出力する際の、線幅制御方式に関し、 アウトライン文字を拡大/縮小して出力する際に、線幅
を均一に揃えて、品質のよいアウトライン文字を出力す
ることを目的とし、 外輪郭と内輪郭とで作成方向が異なるアウトライン文字
を拡大/縮小して出力する際、線幅制御用のパラメータ
として、該アウトラインベクトルの書体によって定まる
最小線長■、最大線幅■。
[Detailed Description of the Invention] [Summary] Enlarging/enlarging outline characters in a word processor
Regarding the line width control method when reducing and outputting outline characters, the purpose of outputting high-quality outline characters by making the line width uniform when enlarging/reducing outline characters and outputting them is to When enlarging/reducing and outputting an outline character whose creation direction differs between the inner contour and the inner contour, the minimum line length (■) and maximum line width (■) determined by the font of the outline vector are used as line width control parameters.

最小線幅■を用意し、且つ、該最小線幅■を該アウトラ
イン文字の出力サイズに対応して変化させて規定してお
き、該拡大/縮小した文字をベクトルに展開して、水平
線/垂直線ベクトルの検出を行い、同一文字線を構成し
ている上下、又は、左右方向のベクトル対を抽出し、該
抽出したベクトル対の重なりが、該アウトライン文字の
書体によって定まる最小線長0以上で、且つ、上記ベク
トル対の線幅が上記最小線幅■以下であるベクトル対に
対して、該ベクトル対の一方のベクトルの線幅方向の座
標を、必ず、上記出力サイズによって定まる最小線幅■
となるように移動して、該線幅を決定するように構成す
る。
Prepare the minimum line width ■, and specify the minimum line width ■ by changing it according to the output size of the outline character, expand the enlarged/reduced characters into vectors, and create horizontal/vertical lines. Detect line vectors, extract pairs of vertical or horizontal vectors that make up the same character line, and determine if the overlap of the extracted vector pairs is greater than or equal to the minimum line length 0 determined by the font of the outline character. , and for a pair of vectors whose line width is less than or equal to the minimum line width ■, be sure to set the coordinates in the line width direction of one vector of the vector pair to the minimum line width ■ determined by the output size.
The configuration is such that the line width is determined by moving the line width so that the line width is determined.

〔産業上の利用分野〕[Industrial application field]

本発明は、ワードプロセッサにおいて、アウトライン文
字を拡大/縮小して出力する際の、線幅制御方式に関す
る。
The present invention relates to a line width control method for enlarging/reducing outline characters and outputting them in a word processor.

近年、オフィスオートメーション(〇八)の進歩と共に
、ワードプロセッサが急速に普及してきた。
In recent years, with advances in office automation (08), word processors have rapidly become popular.

それと共に、美しい文書を作成する為に、文字の拡大/
縮小を行っても、形の崩れないアウトライン文字を使用
する要求が高まっている。
At the same time, in order to create beautiful documents, you can enlarge/enlarge the characters.
There is an increasing demand for the use of outline characters that maintain their shape even when reduced.

然しながら、該アウトライン文字を使用して、文字の出
力、例えば、表示を行う場合、元の作成サイズに比較し
て、整数倍に拡大されたり、約数倍の大きさに縮小され
るとは、必ずしも限らないことから、該拡大/縮小時の
座標の計算誤差の為に、線幅が、例えば、1 ドツト大
きくなったり、小さくなったりし、特に、該アウトライ
ン文字の線幅が細い場合には、このずれが目立ち、例え
ば、表示文字の品質を低下させてしまう問題があり、該
拡大/縮小によって、表示品質が低下することのない線
幅制御方式が必要とされる。
However, when outputting, for example displaying, characters using the outline characters, it is not possible to enlarge the characters to an integral number of times or reduce them to several times the size of the original creation size. However, due to calculation errors in the coordinates during the enlargement/reduction, the line width may become larger or smaller by one dot, for example, and especially if the line width of the outline character is thin. This shift is noticeable and, for example, has the problem of degrading the quality of displayed characters, and there is a need for a line width control method that does not cause deterioration in display quality due to the enlargement/reduction.

〔従来の技術と発明が解決しようとする課題]第3図は
アウトライン文字の従来の線幅制御方式を説明する図で
あり、(al) 、 (a2)はアウトライン文字の構
成例を示し、(b)はアウトライン文字を縮小した場合
の問題点を示している。
[Prior art and problems to be solved by the invention] Fig. 3 is a diagram explaining the conventional line width control method for outline characters, (al) and (a2) show examples of outline character configurations, and ( b) shows a problem when outline characters are reduced.

先ず、アウトライン文字が、例えば、(al)図に示し
たものとすると、該アウトライン文字を構成しているベ
クトル(1−2) 、 (2−3) 、・−、(12−
1)に対応して、(a2)図に示したように、該ベクト
ルの端点座標(Yl 、 Xi) 、 (Y2. X2
) 、−、(Yl2. X12) ノ列が、各アウトラ
イン文字に対応して形成され、対応するメモリ傾城に格
納されている。
First, if the outline character is, for example, shown in figure (al), then the vectors (1-2), (2-3), ·-, (12-) that constitute the outline character are
Corresponding to 1), as shown in figure (a2), the end point coordinates of the vector (Yl, Xi), (Y2.X2
), -, (Yl2.X12) columns are formed corresponding to each outline character and stored in the corresponding memory block.

ここで、(b)図に、例として示した、該アウトライン
文字の、例えば、水平方向のストローク(斜線で示す)
を形成するベクトルを、例えば、Y方向に1/4に縮小
したとすると、該Y方向の座標は、図示されている如く
に、整数化されるので、同じ線幅の2つのストロークが
、該縮小により、異なる線幅となってしまい、線幅が不
揃いで、きれいな縮小文字として見えなくなるという問
題があった。
Here, for example, the horizontal stroke (indicated by diagonal lines) of the outline character shown as an example in FIG.
For example, if the vector forming the Due to the reduction, the line widths become different and the line widths are uneven, causing the problem that the reduced characters cannot be seen as clean.

本発明は上記従来の欠点に鑑み、ワードプロセッサにお
いて、アウトライン文字を拡大/縮小して出力する際の
、線幅を均一に揃えて、品質のよいアウトライン文字を
出力することができる線幅制御方式を提供するこkを目
的とするものである。
In view of the above-mentioned conventional drawbacks, the present invention provides a line width control method for outputting high-quality outline characters by making the line widths uniform when enlarging/reducing outline characters and outputting them in a word processor. The purpose is to provide this information.

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

第1図は本発明の原理説明図である。 FIG. 1 is a diagram explaining the principle of the present invention.

上記の問題点は下記の如くに構成したアウトライン文字
の線幅制御方式によって解決される。
The above problem can be solved by a line width control method for outline characters configured as follows.

外輪郭と内輪郭とによって作成方向が異なるアウトライ
ン文字を、拡大/縮小して出力する際の線幅制御方式で
あって、 線幅制御用パラメータとして、該アウトライン文字の書
体によって定まる最小線長■と、最大線幅■と、最小線
幅■を用意し、且つ、該最小線幅■を出力サイズに対応
して変化させて規定しておき、 上記アウトライン文字を構成している各ベクトルデータ
について、水平方向/垂直方向部分を、上記方向別に分
けて抽出し、 一方向の水平線/垂直線ベクトルに対して、他の方向の
水平線/垂直線ベクトルが対応するものとして、 対応するベクトルの座標の幅方向の差が、上記最大線幅
■に対して、最大線幅×拡大/縮小率の値以下であり、
対応する水平線/垂直線ベクトルの水平方向/垂直方向
の重なりが、上記最小線長■に対して、最小線長×拡大
/縮小率の値以上であるベクトルの組合わせを、該拡大
/縮小されたアウトライン文字を構成するベクトルとし
、上記水平線/垂直線ベクトルの対応付けを、線幅方向
の差の小さいものの順に行って、該対応付けが認識され
たとき、 該線幅方向の差が、上記出力サイズによって規定された
最小線幅■以下のものについて、必ず、上記最小線幅■
になるように、一方の水平線/垂直線ベクトルの座標を
ずらして、該拡大/縮小されたアウトライン文字の線幅
を決定するように構成する。
This is a line width control method when enlarging/reducing and outputting outline characters whose creation directions differ depending on the outer and inner contours.The minimum line length determined by the font of the outline character is used as a line width control parameter. , a maximum line width ■, and a minimum line width ■, and specify the minimum line width ■ by changing it according to the output size. , extract the horizontal/vertical parts separately according to the above directions, and assuming that the horizontal/vertical line vector in one direction corresponds to the horizontal/vertical line vector in the other direction, calculate the coordinates of the corresponding vector. The difference in the width direction is less than or equal to the value of maximum line width × enlargement/reduction ratio with respect to the maximum line width ■ above,
The combination of vectors in which the horizontal/vertical overlap of corresponding horizontal line/vertical line vectors is greater than or equal to the value of minimum line length x expansion/reduction ratio with respect to the above minimum line length is The above horizontal line/vertical line vectors are associated with each other in the order of the smallest difference in the line width direction, and when this association is recognized, the difference in the line width direction is Minimum line width specified by output size ■ For items below, be sure to meet the minimum line width specified above ■
The line width of the enlarged/reduced outline character is determined by shifting the coordinates of one horizontal line/vertical line vector so that

〔作用] アウトライン文字を構成してきるベクトルデータの外輪
郭は、例えば、時計回りで、内輪郭は、例えば、反時計
回りというように、外輪郭と内輪郭とで作成方向が異な
るように構成されている。
[Function] The outer contour and the inner contour of the vector data constituting the outline character are constructed in different directions, such as clockwise for example, and counterclockwise for the inner contour. ing.

このように構成されていると、一つの水平な文字線をみ
た場合、上側の輪郭、例えば、外輪郭は右方向、下側の
輪郭、例えば、内輪郭は左方向となる。
With this configuration, when one horizontal character line is viewed, the upper contour, for example, the outer contour, is to the right, and the lower contour, for example, the inner contour, is to the left.

本発明の線幅制御においては、該線幅制御用のパラメー
タとして、最小線長■、最大線幅■、最小線幅■の3種
類を用意する。
In the line width control of the present invention, three types of parameters are prepared for the line width control: minimum line length (2), maximum line width (2), and minimum line width (2).

第1図に示した文字の水平線のストロークを例として、
本発明の作用動作を以下に説明する。
Taking the horizontal line stroke of the character shown in Figure 1 as an example,
The operation of the present invention will be explained below.

該アウトライン文字を構成しているベクトルデータの水
平線分を左方向d、 e、 aと、右方向す、 f、 
g。
The horizontal line segments of the vector data constituting the outline character are divided into left directions d, e, and a, and right directions s, f,
g.

b、cに分けて抽出し、該右方向の水平線分(ベクトル
)に対して、左方向の水平線分(ベクトル)の対応を考
え、その座標の幅方向のずれ、即ち、差が、該アウトラ
イン文字の書体によって定まる最大線幅■に対して、最
大線幅×拡大(縮小)率の値以下であり、両水平線分(
ベクトル)の水平方向の重なりが、該アウトライン文字
の書体によって定まる、最小線長■に対して、最小線長
×拡大(縮小)率の値以上である線分(ベクトル)の組
合わせベクトルが、該文字の水平線を作るものとする。
b and c, and consider the correspondence of the horizontal line segment (vector) in the left direction to the horizontal line segment (vector) in the right direction, and the deviation in the width direction of the coordinates, that is, the difference, is the outline The maximum line width determined by the font of the character ■ is less than or equal to the value of maximum line width x enlargement (reduction) rate, and both horizontal line segments (
A combination vector of line segments (vectors) whose horizontal overlap of vectors is equal to or greater than the minimum line length x enlargement (reduction) rate with respect to the minimum line length ■ determined by the font of the outline character. A horizontal line of the character shall be created.

この対応付けを、該幅方向の差が小さいものから順に行
っていく。
This correspondence is performed in order from the smallest difference in the width direction.

第1図に示した例では、例えば、右方向の水平線分(ベ
クトル)fに対して、d、e、aがあるが、上記の条件
を満たす対応ベクトルは、水平線分(ベクトル)dであ
ることが分かる。同様にして、水平線分くベクトル)g
に対しては水平線分(ベクトル)eが対応し、水平線分
(ベクトル)b、又は、Cに対しては、水平線分(ベク
トル)aが対応することになる。それ以外のものは、当
該アウトライン文字を構成するベクトルの対象外として
除外される。
In the example shown in FIG. 1, for example, for a horizontal line segment (vector) f in the right direction, there are d, e, and a, but the corresponding vector that satisfies the above conditions is the horizontal line segment (vector) d. I understand that. Similarly, the horizontal line segment vector)g
The horizontal line segment (vector) e corresponds to the horizontal line segment (vector) e, and the horizontal line segment (vector) a corresponds to the horizontal line segment (vector) b or C. Anything else is excluded from the vectors that make up the outline character.

このようにして、抽出された対応ベクトルデータ対に対
して、幅方向、本例では、Y方向の差が、上記最小線幅
■以下のものに対しては、必ず、最小線幅■となるよう
に、片方の水平線の座標をずらせるようにする。
In this way, for the extracted corresponding vector data pair, if the difference in the width direction (in this example, the Y direction) is less than or equal to the above minimum line width ■, the minimum line width will always be ■. Shift the coordinates of one horizontal line so that

上記の例では、水平方向のストロークについて説明した
が、垂直方向に対しても、同様に行うことができる。
In the above example, strokes in the horizontal direction have been described, but the strokes can be performed in the same way in the vertical direction as well.

尚、上記最小線幅■は、該アウトライン文字の拡大/縮
小率に対応する文字の出力(表示)サイズに対応して変
化させて、規定しておくようにすることで、任意の拡大
/縮小に対して、上記の如き、線幅制御を行うことがで
きる。
The above minimum line width (■) can be changed and specified according to the output (display) size of the character corresponding to the enlargement/reduction ratio of the outline character, so that it can be enlarged/reduced arbitrarily. However, the line width can be controlled as described above.

従って、本発明によれば、アウトライン文字を拡大/縮
小して出力(表示)するときに、該拡大/縮小時の座標
の計算誤差によって生じる線幅の不揃いを、それぞれの
出力(表示)サイズによって決まる、最小線幅■に揃え
ることができ、品質のよい、きれいな出力(表示)を得
ることができる効果がある。
Therefore, according to the present invention, when an outline character is enlarged/reduced and output (displayed), irregularities in line width caused by calculation errors in coordinates at the time of enlargement/reduction can be corrected by adjusting the respective output (display) sizes. This has the effect of making it possible to align the line width to the determined minimum line width (■), resulting in a high-quality, clear output (display).

〔実施例〕〔Example〕

以下本発明の実施例を図面によって詳述する。 Embodiments of the present invention will be described in detail below with reference to the drawings.

前述の第1図は、本発明の原理説明図であり、第2図は
本発明の一実施例を示した図であって、(a>は文字表
示システムの構成例を示し、(b)は、線幅制御部での
動作フロー(但し、水平方向)の例を示している。
The above-mentioned FIG. 1 is a diagram explaining the principle of the present invention, and FIG. 2 is a diagram showing an embodiment of the present invention, in which (a> shows an example of the configuration of a character display system, and (b) shows an example of the operation flow (in the horizontal direction) in the line width control section.

本発明においては、ワードプロセッサにおいて、例えば
、外輪郭と内輪郭とで作成方向が異なるアウトライン文
字を拡大/縮小して出力5表示する際、線幅制御用のパ
ラメータとして、該アウトラインベクトルの書体によっ
て定まる最小線長■。
In the present invention, in a word processor, for example, when an outline character whose outer outline and inner outline are created in different directions is enlarged/reduced and displayed in the output 5, the line width control parameter is determined by the font of the outline vector. Minimum line length■.

最大線幅■、最小線幅■を用意し、且つ、該最小線幅■
を該アウトライン文字の出力サイズに対応して変化させ
て規定しておき、該拡大/縮小した文字をベクトルに展
開して、水平線/垂直線ベクトルの検出を行い、同一文
字線を構成している上下、又は、左右方向のベクトル対
を抽出し、該抽出したベクトル対の重なりが、該アウト
ライン文字の書体によって定まる最小線長0以上で、且
つ、上記ベクトル対の線幅が上記最小線幅■以下である
ベクトル対に対して、該ベクトル対の一方のベクトルの
線幅方向の座標を、必ず、上記出力サイズによって定ま
る上記最小線幅■となるようにに移動して、該線幅を同
一とするようにする手段が、本発明を実施するのに必要
な手段である。尚、全図を通して同じ符号は同じ対象物
を示している。
Prepare the maximum line width ■ and the minimum line width ■, and set the minimum line width ■
is defined by changing it according to the output size of the outline character, and the enlarged/reduced character is developed into a vector to detect horizontal line/vertical line vectors to form the same character line. A pair of vectors in the vertical or horizontal direction is extracted, and the overlap of the extracted vector pair has a minimum line length of 0 or more determined by the font of the outline character, and the line width of the vector pair is the minimum line width ■ For the following pair of vectors, move the coordinates in the line width direction of one vector of the pair so that the line width is the minimum line width determined by the output size, and make the line width the same. Means for achieving this are necessary means for carrying out the present invention. Note that the same reference numerals indicate the same objects throughout the figures.

以下、第1図を参照しながら、第2図によって、本発明
のアウトライン文字の線幅制御方式を説明する。
Hereinafter, with reference to FIG. 1 and FIG. 2, a line width control method for outline characters according to the present invention will be explained.

先ず、第2図(a)に示した当該文字表示システムにお
ける座標変換部20において、表示したい各アウトライ
ン文字フォント内の座標を、該文字を表示する座標系の
座標に変換した後、拡大/縮小部21において、該アウ
トライン文字を構成している各ベクトルデータの端点の
座標に対して、拡大/縮小率を掛けて、出力(表示)す
べき座標を整数化して作成する。
First, the coordinate conversion section 20 in the character display system shown in FIG. In section 21, the coordinates of the end points of each vector data constituting the outline character are multiplied by the enlargement/reduction ratio, and the coordinates to be output (displayed) are converted into integers and created.

この座標に対して、次の線幅制御部22において、第2
図(b)の動作フローに示した線幅制御を行う。
With respect to these coordinates, the next line width control unit 22 performs a second
The line width control shown in the operation flow of FIG. 2(b) is performed.

先ず、例えば、左方向の水平ベクトルd、e。First, for example, horizontal vectors d and e in the left direction.

aを抽出し、Y座標の小さい順、即ち、水平ベクトルe
、d、aのようにソートする。(処理ステップ100.
101参照) 次に、同じようにして、右方向の水平ベクトルh、f、
g、b、cを抽出し、Y座標の小さい順、即ち、水平ベ
クトルh、f、g、b、cのようにソートする。(処理
ステップ102,103参照)次に、上記抽出した左方
向の水平ベクトルと。
a, and extract it in descending order of Y coordinate, that is, the horizontal vector e
, d, a. (Processing step 100.
101) Next, in the same way, rightward horizontal vectors h, f,
g, b, and c are extracted and sorted in ascending order of Y coordinate, that is, horizontal vectors h, f, g, b, and c. (See processing steps 102 and 103) Next, the extracted leftward horizontal vector.

右方向の水平ベクトルとで、Y座標の差が、本アウトラ
イン文字の書体によって定まる最大線幅■以下の組合わ
せを抽出する。
Extract combinations in which the difference in Y coordinate with the horizontal vector in the right direction is less than or equal to the maximum line width (■) determined by the font of the main outline character.

このとき、左方向の水平ベクトルのY座標は、右方向の
水平ベクトルのY座標より大きいものを選択する。この
選択は、例えば、該Y座標の小さいものから順に行って
いく。このように選択することで、該アウトライン文字
を構成しているベクトル以外の、雑音的なベクトルを除
外することができる。
At this time, the Y coordinate of the horizontal vector in the left direction is selected to be larger than the Y coordinate of the horizontal vector in the right direction. This selection is performed, for example, in descending order of Y coordinate. By selecting in this way, it is possible to exclude noise-like vectors other than the vectors forming the outline character.

上記の処理は、同一ストロークの上下のベクトルを抽出
する処理である。 (処理ステップ104参照) 上記抽出した同一ストロークの上下のベクトルに対して
、例えば、左方向水平ベクトルのY座標を、右方向の水
平ベクトルに、上記アウトライン文字の書体によって定
まる最小線幅■を加算した線幅に合わせるように調整す
る。
The above process is a process of extracting the upper and lower vectors of the same stroke. (See processing step 104) For the above-mentioned extracted upper and lower vectors of the same stroke, for example, add the Y coordinate of the left horizontal vector, add the minimum line width ■ determined by the font of the outline character to the right horizontal vector. Adjust to match the line width.

この最小線幅■は、文字の出力(表示)サイズによって
、予め、定めた線幅としておくことにより、拡大/縮小
のいずれの場合にも、上記の手順を適合させることがで
きる。 (処理ステップ105参照) このように、本発明は、文字の線幅は、同一ストローク
の上下のベクトルの座標の差によって決定されるもので
あることに着目し、アウトライン文字の同一ストローク
に関連する上下のベクトルの対応付けを行い、該対応付
けができたところで、例えば、該ストロークの下側/上
側にあたるベクトルの移動を、該拡大/縮小時の線幅が
、該アウトライン文字の書体と、その出力(表示)サイ
ズによって決まる最小線幅■となるように行うところに
特徴がある。
By setting the minimum line width {circle around (2)} to a predetermined line width depending on the output (display) size of characters, the above procedure can be applied to both enlargement and reduction. (See processing step 105) In this way, the present invention focuses on the fact that the line width of a character is determined by the difference in the coordinates of the upper and lower vectors of the same stroke, and Once the upper and lower vectors have been associated, for example, the movement of the vectors on the lower/upper side of the stroke can be changed depending on the line width when expanding/reducing the font of the outline character and the font of the outline character. The feature is that it is performed so that the minimum line width is determined by the output (display) size.

〔発明の効果〕〔Effect of the invention〕

以上、詳細に説明したように、本発明のアウトライン文
字の線幅制御方式は、ワードプロセッサ等において、外
輪郭と内輪郭とで作成方向が異なるアウトライン文字を
拡大/縮小して出力する際、線幅制御用のパラメータと
して、該アウトラインベクトルの書体によって定まる最
小線長■、最大線幅■、最小線幅■を用意し、且つ、該
最小線幅■を該アウトライン文字の出力サイズに対応し
て変化させて規定しておき、該拡大/縮小した文字をベ
クトルに展開して、水平線/垂直線ベクトルの検出を行
い、同一文字線を構成している上下。
As explained above in detail, the line width control method for outline characters of the present invention allows the line width As control parameters, the minimum line length (■), maximum line width (■), and minimum line width (■) determined by the font of the outline vector are prepared, and the minimum line width (■) is changed in accordance with the output size of the outline character. The enlarged/reduced characters are expanded into vectors, horizontal line/vertical line vectors are detected, and the upper and lower portions of the same character line are determined.

又は、左右方向のベクトル対を抽出し、該抽出したベク
トル対の重なりが、該アウトライン文字の書体によって
定まる最小線長0以上で、且つ、上記ベクトル対の線幅
が、上記最小線幅■以下であるベクトルに対して、該ベ
クトル対の一方のベクトルの線幅方向の座標を、必ず、
上記出力サイズによって定まる最小線幅■となるように
移動して、該線幅を同一とするようにしたものであるの
で、該アウトライン文字を拡大/縮小して表示するとき
の座標の計算誤差によって生じる線幅の不揃いを防ぎ、
品質のよい、きれいな文字の出力(表示)を得ることが
できる効果がある。
Alternatively, a pair of vectors in the left and right direction is extracted, and the overlap of the extracted pair of vectors is a minimum line length of 0 or more determined by the font of the outline character, and the line width of the vector pair is less than or equal to the minimum line width ■. For a vector, the coordinate in the line width direction of one vector of the pair of vectors must be
The line width is moved to the minimum line width determined by the output size above, and the line width remains the same. Therefore, due to the calculation error of the coordinates when the outline character is enlarged/reduced and displayed. Prevents uneven line widths,
This has the effect of being able to output (display) high-quality, clean characters.

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

第1図は本発明の原理説明図。 第2図は本発明の一実施例を示した図。 第3図はアウトライン文字の従来の線幅制御方式を説明
する図。 である。 図面において、 1〜12はアウトライン文字のベクトルの端点。 20は座標変換部、21は拡大/縮小部。 22は線幅制御部。 100〜105は処理ステップ。 ■は最小線長、    ■は最大線幅。 ■は最小線幅。 a〜hはベクトル。 をそれぞれ示す。 第 図 第 図 (その1) 第 図 (その2) アウトライ゛ (b) 第 図 る図
FIG. 1 is a diagram explaining the principle of the present invention. FIG. 2 is a diagram showing an embodiment of the present invention. FIG. 3 is a diagram illustrating a conventional line width control method for outline characters. It is. In the drawing, 1 to 12 are the end points of the outline character vector. 20 is a coordinate conversion section, and 21 is an enlargement/reduction section. 22 is a line width control section. 100 to 105 are processing steps. ■ is the minimum line length, ■ is the maximum line width. ■ is the minimum line width. a to h are vectors. are shown respectively. Figure Figure (Part 1) Figure (Part 2) Outline (b) Figure Figure (Part 2)

Claims (1)

【特許請求の範囲】 外輪郭と内輪郭とによって作成方向が異なるアウトライ
ン文字を、拡大/縮小して出力する際の線幅制御方式で
あって、 線幅制御用パラメータとして、該アウトライン文字の書
体によって定まる最小線長([1])と、最大線幅([
2])と、最小線幅([3])を用意し、且つ、該最小
線幅([3])を出力サイズに対応して変化させて規定
しておき、 上記アウトライン文字を構成している各ベクトルデータ
について、水平方向/垂直方向部分を、上記方向別に分
けて抽出し、 一方向の水平線/垂直線ベクトルに対して、他の方向の
水平線/垂直線のベクトルが対応するものとして、 対応するベクトルの座標の幅方向の差が、上記最大線幅
([2])に対して、最大線幅×拡大/縮小率の値以下
であり、対応する水平線/垂直線ベクトルの水平方向/
垂直方向の重なりが、上記最小線長([1])に対して
、最小線長×拡大/縮小率の値以上であるベクトルの組
合わせを、該拡大/縮小されたアウトライン文字を構成
するベクトルとし、 上記水平線/垂直線ベクトルの対応付けを、線幅方向の
差の小さいものの順に行って、該対応付けが認識された
とき、 該線幅方向の差が、上記出力サイズによって規定された
最小線幅([3])以下のものについて、必ず、上記最
小線幅([3])になるように、一方の水平線/垂直線
ベクトルの座標をずらして、該拡大/縮小されたアウト
ライン文字の線幅を決定することを特徴とするアウトラ
イン文字における線幅制御方式。
[Scope of Claims] A line width control method when enlarging/reducing and outputting an outline character whose creation direction differs depending on the outer outline and inner outline, the method comprising: a font of the outline character as a line width control parameter The minimum line length ([1]) determined by and the maximum line width ([
2]) and a minimum line width ([3]), and specify the minimum line width ([3]) by changing it according to the output size, and configure the above outline characters. For each vector data, extract the horizontal/vertical parts separately according to the above directions, and assume that the horizontal/vertical line vector in one direction corresponds to the horizontal/vertical line vector in the other direction. The difference in the width direction of the coordinates of the corresponding vector is less than or equal to the value of maximum line width x enlargement/reduction ratio with respect to the maximum line width ([2]), and the difference in the width direction of the corresponding horizontal line/vertical line vector is
A combination of vectors whose vertical overlap is greater than or equal to the minimum line length x enlargement/reduction ratio with respect to the minimum line length ([1]) is the vector that constitutes the enlarged/reduced outline character. Then, the horizontal line/vertical line vectors are correlated in the order of the smallest difference in the line width direction, and when the correspondence is recognized, the difference in the line width direction is the minimum specified by the output size. For items with a line width ([3]) or less, shift the coordinates of one horizontal line/vertical line vector so that the line width ([3]) or less is always the above minimum line width ([3]), and then change the enlarged/reduced outline character. A line width control method for outline characters characterized by determining the line width.
JP2263369A 1990-10-01 1990-10-01 Line width control method for outline characters Expired - Fee Related JP2666552B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2263369A JP2666552B2 (en) 1990-10-01 1990-10-01 Line width control method for outline characters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2263369A JP2666552B2 (en) 1990-10-01 1990-10-01 Line width control method for outline characters

Publications (2)

Publication Number Publication Date
JPH04139496A true JPH04139496A (en) 1992-05-13
JP2666552B2 JP2666552B2 (en) 1997-10-22

Family

ID=17388536

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2263369A Expired - Fee Related JP2666552B2 (en) 1990-10-01 1990-10-01 Line width control method for outline characters

Country Status (1)

Country Link
JP (1) JP2666552B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01303489A (en) * 1988-06-01 1989-12-07 Hitachi Ltd Character output system
JPH02158363A (en) * 1988-12-13 1990-06-18 Nec Off Syst Ltd Character generator
JPH02234195A (en) * 1989-03-07 1990-09-17 Brother Ind Ltd Data converter
JPH02236595A (en) * 1989-03-10 1990-09-19 Seiko Epson Corp Character pattern data generator

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01303489A (en) * 1988-06-01 1989-12-07 Hitachi Ltd Character output system
JPH02158363A (en) * 1988-12-13 1990-06-18 Nec Off Syst Ltd Character generator
JPH02234195A (en) * 1989-03-07 1990-09-17 Brother Ind Ltd Data converter
JPH02236595A (en) * 1989-03-10 1990-09-19 Seiko Epson Corp Character pattern data generator

Also Published As

Publication number Publication date
JP2666552B2 (en) 1997-10-22

Similar Documents

Publication Publication Date Title
JP4209599B2 (en) Two-dimensional nonlinear interpolation system and interpolation method, and two-dimensional mixed interpolation system and mixed interpolation method
JP3164617B2 (en) Apparatus and method for deforming character / graphics
JP3238580B2 (en) Thicker text generator
US5388166A (en) Image drawing apparatus
JP2876942B2 (en) Data converter
JPH04139496A (en) Line width control system for outline character
JPH0263854A (en) Output device
JP2806679B2 (en) Character generator
JP4273219B2 (en) Modified curved surface display device
JP3479282B2 (en) Character and graphic transformation processor
US5995674A (en) Image processing apparatus with shape-correction of a contour-specified figure
JP2570954B2 (en) Straight line shape judgment method at the time of three-dimensional spline dimension conversion
JP2646437B2 (en) Jagi correction device for data expansion
JPH0493992A (en) Character and graphic plotter device
JP3170249B2 (en) Apparatus and method for deforming character / graphics
JPH0816145A (en) Character processing device
JP2841829B2 (en) Data converter
JPH0823741B2 (en) How to process vector characters or graphics
JPH03122774A (en) Linear interpolation magnification device
JPS62243076A (en) Enlarging/reducing method for character font
JPH09282450A (en) Method and device for correcting image border
JPH06110442A (en) Character and figure processor and method for deforming character of figure
JPH0535864A (en) Graphic data processor
JPH0816146A (en) Character image generating device
JPH02184913A (en) Curve generating system and outline font forming device applying the same system

Legal Events

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