JPH0671945A - Outline font expanding system - Google Patents

Outline font expanding system

Info

Publication number
JPH0671945A
JPH0671945A JP4226719A JP22671992A JPH0671945A JP H0671945 A JPH0671945 A JP H0671945A JP 4226719 A JP4226719 A JP 4226719A JP 22671992 A JP22671992 A JP 22671992A JP H0671945 A JPH0671945 A JP H0671945A
Authority
JP
Japan
Prior art keywords
coordinate
character
origin
coordinate value
point
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
JP4226719A
Other languages
Japanese (ja)
Other versions
JP2812088B2 (en
Inventor
Osamu Mihara
修 三原
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP4226719A priority Critical patent/JP2812088B2/en
Publication of JPH0671945A publication Critical patent/JPH0671945A/en
Application granted granted Critical
Publication of JP2812088B2 publication Critical patent/JP2812088B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To equalize widths of segments constituting a character reduced in conversion by performing coordinate transformation for the reduced character after an origin of coordinate system is moved based on origin information set for each character. CONSTITUTION:After an origin of coordinate of pattern of former character data is moved to a coordinate point of a coordinate value (0, 29) almost at the center of a lower segment 11 and an upper segment 12, reducing processing is performed. As a result, a lower segment 21 passes coordinate points of coordinate values (41, -4), (41, -2), (8, -2) with start point at a coordinate point of a coordinate value (8, -4) and returns to the coordinate point of the coordinate value (8, -4). In the same manner, an upper segment 22 passes coordinate points of coordinate values (41, 3), (41, 5), (8, 5) with start point at a coordinate value (8, 3) and returns to the coordinate point of the coordinate value (8, 3). As for width of each segment at this time, both a lower segment 31 and an upper segment 32 become 2 in coordinate value and the widths of the upper and lower segments become equal.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、プリンタにおける文字
の印字のとき、アウトラインフォントによって印字を行
うために展開するためのアウトラインフォント展開方式
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an outline font expansion system for expanding characters for printing with an outline font when printing characters on a printer.

【0002】[0002]

【従来の技術】プリンタにおける文字の印字のとき、ア
ウトラインフォントによって印字を行うために展開する
ための従来のアウトラインフォント展開方式は、展開を
行うときの各文字の原点を、文字の種類に無関係に、す
べて同一の原点としている。
2. Description of the Related Art When a character is printed by a printer, a conventional outline font expansion method for expanding the character for printing with an outline font is such that the origin of each character when expanding is independent of the character type. , All have the same origin.

【0003】このため、元のデータから縮小印字を行う
とき、座標変換処理における換算計算の小数点以下の数
値を四捨五入するため、文字を構成する各線分の幅が、
元の文字パターンと比較したとき、相対的に比例せずに
ずれた値となることがあり、文字を構成する各線分の太
さが不均一になることがある。
For this reason, when the reduced printing is performed from the original data, the numbers after the decimal point of the conversion calculation in the coordinate conversion process are rounded off.
When compared with the original character pattern, the value may be shifted in a non-proportional manner, and the thickness of each line segment forming the character may be uneven.

【0004】[0004]

【発明が解決しようとする課題】上述したように、従来
のアウトラインフォント展開方式は、展開を行うときの
各文字の原点を、文字の種類に無関係に、すべて同一の
原点としているため、縮小した文字の印字を行うとき、
文字を構成する各線分の太さが不均一となり、例えば、
「=」等の平行な線分から構成される文字の場合、二本
の線分の太さが異るのが特に目立ち、印字された文字の
品質が悪く、文字が読み難いという欠点を有している。
As described above, in the conventional outline font expansion method, the origin of each character when expanding is set to the same origin regardless of the type of the character, and thus the size is reduced. When printing characters,
The thickness of each line segment that makes up a character becomes uneven, for example,
In the case of characters composed of parallel line segments such as "=", it is particularly noticeable that the thicknesses of the two line segments are different, and the quality of the printed characters is poor and the characters are difficult to read. ing.

【0005】[0005]

【課題を解決するための手段】本発明のアウトラインフ
ォント展開方式は、アウトラインフォントに展開処理を
行うときの最適な原点情報を各文字毎に設定し、縮小印
字を行うための座標変換のとき、各文字毎に設定した前
記原点情報に基いて座標系の原点を移動してから縮小文
字のための座標変換処理を行うことを含むものである。
According to the outline font expansion method of the present invention, the optimum origin information for expanding the outline font is set for each character, and the coordinate conversion for reducing printing is performed. This involves moving the origin of the coordinate system based on the origin information set for each character and then performing coordinate conversion processing for the reduced character.

【0006】すなわち、本発明のアウトラインフォント
展開方式は、構成要素の線分中に複数の平行な線分を含
む文字について前記複数の平行な線分の中心に原点情報
を設定し、前記平行な線分を含む文字を縮小してアウト
ラインフォントに展開処理を行うとき、前記原点情報を
設定した点に座標系の原点を移動させてから縮小処理を
行うことを含むものである。
That is, the outline font expansion method of the present invention sets origin information at the center of the plurality of parallel line segments for a character including a plurality of parallel line segments in the line segments of the constituent elements, When a character including a line segment is reduced and expanded into an outline font, the reduction process is performed after moving the origin of the coordinate system to the point where the origin information is set.

【0007】[0007]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0008】図1は、アウトラインフォントの展開を行
った文字のパターンを示すパターン図で、(a)はもと
の大きさの文字データのパターン図、(b)は本実施例
を適用して原点をずらせて4分の3に縮小した文字デー
タのパターン図、(c)は従来の方法によって原点をず
らさないで4分の3に縮小した文字データのパターン図
である。
FIG. 1 is a pattern diagram showing a character pattern in which an outline font has been developed. (A) is a pattern diagram of character data of the original size, and (b) is the embodiment. FIG. 3C is a pattern diagram of character data in which the origin is shifted and reduced to 3/4, and FIG. 7C is a pattern diagram of character data in which the origin is reduced to 3/4 without shifting the origin.

【0009】図1に示した文字は、「=」という文字で
ある。図1(a)に示すように、もとの文字データのパ
ターンは、下側の線分11は、座標値(10,24)の
座標点を出発点とし、線分の輪郭を左回りに描くよう
に、座標値(54,24)・座標値(54,26)・座
標値(10,26)の各座標点を通り、座標値(10,
24)の座標点に戻っている。同様に、上側の線分12
は、座標値(10,33)の座標点を出発点とし、座標
値(54,33)・座標値(54,35)・座標値(1
0,35)の各点を通り、座標値(10,33)の座標
点に戻っている。これらの輪郭に囲まれた内部を塗り潰
すことにより、文字が生成される。
The character shown in FIG. 1 is the character "=". As shown in FIG. 1A, in the original character data pattern, the lower line segment 11 has a coordinate point of coordinate values (10, 24) as a starting point, and the contour of the line segment in a counterclockwise direction. As drawn, the coordinate value (54, 24), the coordinate value (54, 26), the coordinate value (10, 26) is passed through, and the coordinate value (10,
It returns to the coordinate point of 24). Similarly, the upper line segment 12
Takes the coordinate point of the coordinate value (10,33) as the starting point, and sets the coordinate value (54,33) -coordinate value (54,35) -coordinate value (1
0, 35), and returns to the coordinate point of coordinate value (10, 33). A character is generated by filling the inside surrounded by these contours.

【0010】このときの下側の線分11および上側の線
分12の幅は、共に座標値で2である。
The widths of the lower line segment 11 and the upper line segment 12 at this time are both 2 in terms of coordinate values.

【0011】この文字を4分の3に縮小するとき、原点
をずらさないで図1(a)の各座標点の座標値を4分の
3とし、小数点以下を四捨五入した値を新たな座標点の
座標値とすると、図1(c)に示すように、下側の線分
31は、座標値(8,18)の座標点を出発点とし、座
標値(41,18)・座標値(41,20)・座標値
(8,20)の各座標点を通り、座標値(8,18)の
座標点に戻る。同様に、上側の線分32は、座標値
(8,25)の座標点を出発点とし、座標値(41,2
5)・座標値(41,26)・座標値(8,26)の各
座標点を通り、座標値(8,25)の座標点に戻る。
When reducing this character to three quarters, the coordinate value of each coordinate point in FIG. 1 (a) is set to three quarters without shifting the origin, and the value after rounding off the decimal point is a new coordinate point. As shown in FIG. 1C, the lower line segment 31 uses the coordinate point of the coordinate value (8, 18) as a starting point, and the coordinate value (41, 18) 41, 20) and the coordinate point of the coordinate value (8, 20), and returns to the coordinate point of the coordinate value (8, 18). Similarly, the upper line segment 32 uses the coordinate point of the coordinate value (8, 25) as the starting point and the coordinate value (41, 2).
5) -Coordinate value (41, 26) -Coordinate value (8, 26) It passes through each coordinate point and returns to the coordinate point of coordinate value (8, 25).

【0012】このときの各線分の幅は、下側の線分31
は座標値で2であるが、上側の線分32は座標値で1と
なり、上下の線分の幅が異なることになる。これは、縮
小のために各座標点の座標値に4分の3を掛けたとき、
小数点以下を四捨五入することによって生ずる。
The width of each line segment at this time is as follows:
Has a coordinate value of 2, but the upper line segment 32 has a coordinate value of 1, which means that the upper and lower line segments have different widths. This is because when the coordinate value of each coordinate point is multiplied by 3/4 for reduction,
It is generated by rounding off to the nearest whole number.

【0013】本実施例は、「=」という文字が上下方向
に対称であることに着目し、もとの文字データのパター
ン(図1(a))の座標の原点を下側の線分11と上側
の線分12とのほぼ中央の座標値(0,29)の座標点
に移動した後、上述の縮小処理を行う。
In this embodiment, paying attention to the fact that the character "=" is vertically symmetrical, the line segment 11 below the origin of the coordinates of the original character data pattern (FIG. 1A) is used. After moving to a coordinate point having a coordinate value (0, 29) substantially in the center between the line segment 12 and the upper line segment 12, the above-described reduction processing is performed.

【0014】これにより、図1(b)に示すように、下
側の線分21は、座標値(8,−4)の座標点を出発点
とし、座標値(41,−4)・座標値(41,−2)・
座標値(8,−2)の各座標点を通り、座標値(8,−
4)の座標点に戻る。同様に、上側の線分22は、座標
値(8,3)の座標点を出発点とし、座標値(41,
3)・座標値(41,5)・座標値(8,5)の各座標
点を通り、座標値(8,3)の座標点に戻る。
As a result, as shown in FIG. 1B, the line segment 21 on the lower side starts from the coordinate point having the coordinate value (8, -4) and has the coordinate value (41, -4). Value (41, -2)
The coordinate value (8, -2) passes through each coordinate point, and the coordinate value (8,-)
Return to the coordinate point of 4). Similarly, the upper line segment 22 uses the coordinate point of the coordinate value (8, 3) as a starting point and the coordinate value (41,
3) -Coordinate value (41,5) -Coordinate value (8,5) It passes through each coordinate point and returns to the coordinate point of coordinate value (8,3).

【0015】このときの各線分の幅は、下側の線分31
および上側の線分32も共に座標値で2となり、上下の
線分の幅が等しくなる。
The width of each line segment at this time is as follows:
Both the upper line segment 32 and the upper line segment 32 have a coordinate value of 2, and the upper and lower line segments have the same width.

【0016】このように、構成要素の線分中に複数の平
行な線分を含む文字のパターンを縮小するとき、それら
の平行な線分の中心を原点を移動させてから縮小処理を
行うことにより、平行な線分の幅を等しくすることが可
能になる。
As described above, when a character pattern including a plurality of parallel line segments in the line segments of the constituent elements is reduced, the center of the parallel line segments is moved to the origin and then the reduction process is performed. This makes it possible to equalize the widths of parallel line segments.

【0017】[0017]

【発明の効果】以上説明したように、本発明のアウトラ
インフォント展開方式は、アウトラインフォントに展開
処理を行うときの最適な原点情報を各文字毎に設定し、
縮小印字を行うための座標変換のとき、各文字毎に設定
した前記原点情報に基いて座標系の原点を移動してから
縮小文字のための座標変換処理を行うことにより、縮小
変換した文字を構成する各線分の幅を等しくすることが
できるという効果があり、従って、品質の優れた縮小文
字を印字することが可能になるという効果がある。
As described above, according to the outline font expanding method of the present invention, the optimum origin information for expanding the outline font is set for each character,
When performing coordinate conversion to perform reduced printing, move the origin of the coordinate system based on the origin information set for each character and then perform coordinate conversion processing for reduced characters to reduce the reduced converted characters. There is an effect that the widths of the constituent line segments can be made equal, and therefore, it is possible to print reduced characters with excellent quality.

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

【図1】アウトラインフォントの展開を行った文字のパ
ターンを示すパターン図で、(a)はもとの大きさの文
字データのパターン図、(b)は本実施例を適用して原
点をずらせて4分の3に縮小した文字データのパターン
図、(c)は従来の方法によって原点をずらさないで4
分の3に縮小した文字データのパターン図である。
FIG. 1 is a pattern diagram showing a character pattern in which an outline font has been expanded, (a) is a pattern diagram of character data of the original size, and (b) is a diagram in which the present embodiment is applied to shift the origin. The pattern diagram of the character data reduced to three quarters, (c) is the same as the conventional method.
It is a pattern diagram of the character data reduced to 3/3.

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

11・12・21・22・31・32 線分 11, 12, 21, 22, 31, 32 line segments

フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 H04N 1/393 4226−5C Continuation of the front page (51) Int.Cl. 5 Identification code Office reference number FI technical display location H04N 1/393 4226-5C

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 アウトラインフォントに展開処理を行う
ときの最適な原点情報を各文字毎に設定し、縮小印字を
行うための座標変換のとき、各文字毎に設定した前記原
点情報に基いて座標系の原点を移動してから縮小文字の
ための座標変換処理を行うことを含むことを特徴とする
アウトラインフォント展開方式。
1. The optimum origin information when performing expansion processing for an outline font is set for each character, and when performing coordinate conversion for reducing printing, coordinates are set based on the origin information set for each character. An outline font expansion method characterized by including performing coordinate conversion processing for reduced characters after moving the origin of the system.
【請求項2】 構成要素の線分中に複数の平行な線分を
含む文字について前記複数の平行な線分の中心に原点情
報を設定し、前記平行な線分を含む文字を縮小してアウ
トラインフォントに展開処理を行うとき、前記原点情報
を設定した点に座標系の原点を移動させてから縮小処理
を行うことを含むことを特徴とするアウトラインフォン
ト展開方式。
2. With respect to a character including a plurality of parallel line segments in a line segment of a component, origin information is set at the center of the plurality of parallel line segments, and the character including the parallel line segment is reduced. An outline font expansion method comprising: when performing expansion processing on an outline font, moving the origin of the coordinate system to the point where the origin information is set and then performing reduction processing.
JP4226719A 1992-08-26 1992-08-26 Outline font expansion method Expired - Fee Related JP2812088B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4226719A JP2812088B2 (en) 1992-08-26 1992-08-26 Outline font expansion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4226719A JP2812088B2 (en) 1992-08-26 1992-08-26 Outline font expansion method

Publications (2)

Publication Number Publication Date
JPH0671945A true JPH0671945A (en) 1994-03-15
JP2812088B2 JP2812088B2 (en) 1998-10-15

Family

ID=16849558

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4226719A Expired - Fee Related JP2812088B2 (en) 1992-08-26 1992-08-26 Outline font expansion method

Country Status (1)

Country Link
JP (1) JP2812088B2 (en)

Citations (3)

* 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
JPH02236595A (en) * 1989-03-10 1990-09-19 Seiko Epson Corp Character pattern data generator
JPH03290691A (en) * 1990-04-09 1991-12-20 Ricoh Co Ltd Reduction method for vector font

Patent Citations (3)

* 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
JPH02236595A (en) * 1989-03-10 1990-09-19 Seiko Epson Corp Character pattern data generator
JPH03290691A (en) * 1990-04-09 1991-12-20 Ricoh Co Ltd Reduction method for vector font

Also Published As

Publication number Publication date
JP2812088B2 (en) 1998-10-15

Similar Documents

Publication Publication Date Title
JPH0671945A (en) Outline font expanding system
JPH03281362A (en) Printer
JP3082228B2 (en) Data converter
JPH06243261A (en) Picture processor
JPH0713545A (en) Character generating device
JP3085396B2 (en) Vector font development method and device
JPH05216456A (en) Character output device
JP3055306B2 (en) Data output device
JP2740539B2 (en) Enlarged reproduction image information creation method and apparatus
JPH023092A (en) Character interpolating method for facsimile equipment
JPH06127029A (en) Ducument producing device
JPH0479009B2 (en)
JP2738189B2 (en) Coordinate conversion method and coordinate conversion device
JPH11190990A (en) Outline font displaying and printing method
JPH03290691A (en) Reduction method for vector font
JPH0542720A (en) Printing device
JPS5958536A (en) Printer control system
JPH05301411A (en) Method for treating printing of page printer
JPH06168239A (en) Document preparing device
JPH06348699A (en) Document preparing device
JPH02245363A (en) Image output preparation
JPH06110438A (en) Data converting device
JPH0325495A (en) Printer
JPH03256774A (en) Printer
JPH03256449A (en) Facsimile picture enlarging/reducing method

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980707

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070807

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080807

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080807

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090807

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees