[go: up one dir, main page]

JPH05249945A - Character generating method - Google Patents

Character generating method

Info

Publication number
JPH05249945A
JPH05249945A JP4050242A JP5024292A JPH05249945A JP H05249945 A JPH05249945 A JP H05249945A JP 4050242 A JP4050242 A JP 4050242A JP 5024292 A JP5024292 A JP 5024292A JP H05249945 A JPH05249945 A JP H05249945A
Authority
JP
Japan
Prior art keywords
stroke
line width
correction
negative
pattern
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.)
Withdrawn
Application number
JP4050242A
Other languages
Japanese (ja)
Inventor
Tadashi Toyoda
正 豊田
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 Office Systems Ltd
Original Assignee
NEC Office Systems 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 NEC Office Systems Ltd filed Critical NEC Office Systems Ltd
Priority to JP4050242A priority Critical patent/JPH05249945A/en
Publication of JPH05249945A publication Critical patent/JPH05249945A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To prevent the occurrence of a phenomenon where one part of a character is lost owing to the recovery shortage of a line width caused by the relationship between a reduction rate and a dot size, when a character is generated in a stroke dot method. CONSTITUTION:A negative width compensation flag, showing a reversely stored stroke because of the narrower line width than a standard value, is added to the pattern data of a pattern memory 1, and a negative line width compensating device 11 is interposed between a compensating adder-subtractor 6 and a stroke dot operating device 7. Even if the stroke, which is reduced by a multiplier 5 and is reversed to a negative line width recovery treated output by the compensating adder-subtractor 6, is left as it is, the negative line width compensator 11 detects the stroke referring to a negative width compensation graph, and forms a state existing no reversed stroke by performing a compensating processing for the left reversed stroke so as to send the stroke to the stroke operating device 7 after offsetting the stroke through a following stroke. The output is converted to a full dot signal by a converter 9 so as to be printed out through a printer 10.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は文字発生方式に関し、特
に情報処理システム等の出力装置として使われる印字装
置や表示装置における文字発生方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character generation method, and more particularly to a character generation method in a printing device or a display device used as an output device of an information processing system or the like.

【0002】[0002]

【従来の技術】この種の文字発生方式としては、一般的
なドットマトリックス方式のほかに、従来から、文字や
記号を構成する輪郭線の情報を利用したストロークドッ
ト方式が使用されている。
2. Description of the Related Art As a character generation method of this kind, in addition to a general dot matrix method, a stroke dot method utilizing information on contour lines forming characters and symbols has been conventionally used.

【0003】図7は、情報処理システムに使用されてい
るストロークドット方式による従来の文字発生装置の一
構成例を示すブロック図である。
FIG. 7 is a block diagram showing an example of the configuration of a conventional character generating device of the stroke dot system used in an information processing system.

【0004】パターン記憶装置1aには、写植文字の輪
郭を必要な長さのストロークに分割して表示した図8の
輪郭線パターンの情報が、図10に示すパターンデータ
(種別フラグ,ストロークデータ,線幅相対補正フラ
グ)の形式で格納されている。このうちのストロークデ
ータは、図8に示す輪郭線パターンを始点座標と各スト
ロークのX,Y軸成分の長さとで表示した図10中に示
す標準輪郭情報から、文字デザインの横線および縦線幅
の設計標準値である線幅基準値(a及びd)を差し引い
てできる図9の骨格パターンを表している。線幅相対補
正フラグは、この際に補正を行った箇所と方向(符号)
とを示したもので、文字を復元する際に線幅調整を行う
箇所を示す情報として付加されている。なお、図10の
ストロークP11→Oの欄に示す*印を付したものは、
始点への収束ストロークであるので省略できることを示
している。
In the pattern storage device 1a, the contour line pattern information shown in FIG. 8 in which the contours of the typesetting characters are divided into strokes of a required length and displayed is shown in the pattern data (type flag, stroke data, The line width relative correction flag) is stored. The stroke data among these is based on the standard contour information shown in FIG. 10 in which the contour line pattern shown in FIG. 8 is displayed with the starting point coordinates and the lengths of the X and Y axis components of each stroke. 10 shows the skeleton pattern of FIG. 9 formed by subtracting the line width reference values (a and d) which are the design standard values of FIG. The line width relative correction flag indicates the location and direction (sign) where the correction was performed at this time.
And is added as information indicating a portion where the line width is adjusted when the character is restored. Those marked with * in the stroke P11 → O column in FIG.
It indicates that the stroke can be omitted because it is a convergence stroke to the start point.

【0005】制御装置2aは、文字等を指定する文字コ
ード信号Aを受信すると、パターン記憶装置1aから該
当する文字のパターンデータを読み出し、その中のスト
ロークデータの情報をパターンストローク信号Cとして
乗算装置5に送り出し、対応する線幅相対補正フラグの
情報を線幅補正コード信号Dとして補正加減算装置6に
送出する。すなわち、図8の輪郭線イメージに対応する
文字コードを受信すると、図9の骨格パターンを表す図
10に示すストロークデータが乗算装置5に、線幅相対
補正フラグが補正加減算装置6に転送される。
When the control device 2a receives the character code signal A designating a character or the like, it reads the pattern data of the corresponding character from the pattern storage device 1a, and the information of the stroke data therein is used as the pattern stroke signal C in the multiplication device. Then, the information of the corresponding line width relative correction flag is sent to the correction addition / subtraction device 6 as the line width correction code signal D. That is, when the character code corresponding to the contour image of FIG. 8 is received, the stroke data shown in FIG. 10 representing the skeleton pattern of FIG. 9 is transferred to the multiplication device 5, and the line width relative correction flag is transferred to the correction addition / subtraction device 6. ..

【0006】乗算値記憶装置3には、文字等の大きさを
指定する倍率コードに対応しパターン記憶装置1aに記
憶されている標準サイズ文字に対する縦および横方向の
倍率が格納されており、倍率コード信号Bを受信すると
対応する倍率を乗算値信号Eとして乗算装置5に送出す
る。同様に線幅補正記憶装置4には、倍率コードに対応
して線幅を復元するために必要な線幅相対補正値が格納
されており、倍率コード信号Bを受信すると対応する線
幅相対補正値が線幅相対補正値信号Fとして補正加減算
装置6に送出される。
The multiplication value storage device 3 stores vertical and horizontal magnifications for standard size characters stored in the pattern storage device 1a corresponding to a magnification code designating the size of a character or the like. When the code signal B is received, the corresponding multiplication factor is sent to the multiplication device 5 as the multiplication value signal E. Similarly, the line width correction storage device 4 stores a line width relative correction value required to restore the line width corresponding to the magnification code, and when the magnification code signal B is received, the corresponding line width relative correction value is stored. The value is sent to the correction addition / subtraction device 6 as a line width relative correction value signal F.

【0007】乗算装置5は、乗算値記憶装置3から受け
取った乗算値信号Eに相当する倍率だけ、入力されたパ
ターンストローク信号Cの拡大・縮小を行い、パターン
ストローク信号C1として補正加減算装置6に送出する。
The multiplication device 5 enlarges / reduces the input pattern stroke signal C by a magnification corresponding to the multiplication value signal E received from the multiplication value storage device 3, and supplies it to the correction addition / subtraction device 6 as the pattern stroke signal C1. Send out.

【0008】補正加減算装置6は、線幅補正コード信号
Dと線幅相対補正値信号Fとに対応してパターンストロ
ーク信号C1に線幅相対補正値分の加算または減算を行っ
てパターンストローク信号C2を発生し、ストロークドッ
ト演算装置7に送る。
The correction addition / subtraction device 6 adds or subtracts the line width relative correction value to or from the pattern stroke signal C1 in accordance with the line width correction code signal D and the line width relative correction value signal F to obtain the pattern stroke signal C2. Is generated and sent to the stroke dot computing device 7.

【0009】ストロークドット演算装置7は、補正加減
算装置6で得られた文字等のパターンの各輪郭線ストロ
ークの両端座標の情報のみから成るパターンストローク
信号C2から、パターンの輪郭をすべてドットでなぞった
ストロークドット信号Gを作成し、バッファ装置8に記
憶する。
The stroke dot computing device 7 traces all the contours of the pattern with dots from the pattern stroke signal C2, which is obtained by the correction adding / subtracting device 6 and consists only of the information of the coordinates of both ends of each contour stroke of the pattern of the character or the like. The stroke dot signal G is created and stored in the buffer device 8.

【0010】このストロークドット信号Gは、変換装置
9によりバッファ装置8から読み出され、左側のYプラ
ス(↑)方向の輪郭線ストロークと右側のYマイナス
(↓)方向の輪郭線ストロークとに挟まれている輪郭線
内領域をドットで塗り潰したフルドット信号Hに変換さ
れ、印字装置10に送られて印字されるか、又は表示装
置に送られて画面に表示される。
The stroke dot signal G is read from the buffer device 8 by the conversion device 9 and sandwiched between the contour stroke in the left Y plus (↑) direction and the contour stroke in the right Y minus (↓) direction. It is converted into a full dot signal H in which the inside area of the contour line is filled with dots and sent to the printing device 10 for printing, or sent to the display device and displayed on the screen.

【0011】[0011]

【発明が解決しようとする課題】上述した従来の文字発
生方式においては、図2に示す輪郭線パターンのように
線幅基準値よりも細い部分のある文字イメージの場合、
パターン記憶装置1aには、図3のように“P6→P
7”のストロークの向きが逆転した状態で記憶される。
しかし、文字等の大きさを指定する倍率コード信号Bに
対応した線幅相対補正値を用いて線幅調整の加減算を行
えば、逆転していても元の向きのストロークに復元さ
れ、実用的に問題はないという判断に立っていた。
In the conventional character generation method described above, in the case of a character image having a portion thinner than the line width reference value as in the contour pattern shown in FIG.
In the pattern storage device 1a, as shown in FIG.
It is stored in the state in which the direction of the 7 "stroke is reversed.
However, if addition / subtraction of the line width adjustment is performed using the line width relative correction value corresponding to the magnification code signal B designating the size of a character or the like, the stroke in the original direction is restored even if it is reversed, which is practical. I was determined that there was no problem with.

【0012】しかしながら、印字装置の発達により、ド
ット密度が高く縮小率の範囲が広い印字装置が実用化さ
れるに及び、特に線幅の細い部分のある文字で縮小率の
大きい場合には、図3のように逆転しているストローク
の向きが線幅調整後もそのまま残り、そのため印字装置
に出力される文字が図5のようにならずに図6のように
文字の構成要素が欠けた状態となり、文字として本来の
形をとどめないことが起こるという問題点がでてきた。
However, due to the development of the printing device, a printing device having a high dot density and a wide range of reduction ratio has been put into practical use. Especially, when a character having a thin line width has a large reduction ratio, The direction of the reversed stroke as shown in 3 remains as it is after the line width adjustment, so that the character output to the printing device does not look like FIG. 5, but the constituent elements of the character are missing as in FIG. Then, there was a problem in that the original shape of the characters could not be retained.

【0013】本発明の目的は、上述の問題点を除去し、
線幅の細い部分のある文字で縮小率の大きい場合でも、
文字を構成する部分が欠けることなく本来の形の文字等
を発生する文字発生方式を提供することにある。
The object of the present invention is to eliminate the above-mentioned problems,
Even if a character with a thin line width has a large reduction ratio,
An object of the present invention is to provide a character generation method for generating characters in the original shape without missing the parts forming the characters.

【0014】[0014]

【課題を解決するための手段】本発明の文字発生方式
は、(A)文字や記号を構成する輪郭線を閉鎖したスト
ローク列として表した標準輪郭情報から線幅の設計基準
値を差し引いたストロークデータと、線幅調整の箇所と
方向とを指示する線幅相対補正フラグと、前記ストロー
クデータのストロークの向きが前記標準輪郭情報のスト
ロークの向きと逆転したことを示す負幅補正フラグとを
文字等のパターンデータとして記憶させてあるパターン
記憶装置と、(B)文字等の大きさを指定する倍率コー
ド信号を受け、あらかじめ格納されている拡大または縮
小のための倍率を示す乗算値を送出する乗算値記憶装置
と、(C)前記倍率コード信号を受け、あらかじめ格納
されている線幅調整のための線幅相対補正値を送出する
線幅補正記憶装置と、(D)入力された前記ストローク
データを前記乗算値記憶装置からの乗算値により拡大ま
たは縮小する乗算装置と、(E)前記乗算装置からの出
力に対し、前記線幅相対補正フラグを参照して前記線幅
補正記憶装置からの線幅相対補正値で線幅調整を行い、
線幅を復元したパターンストローク信号を出力する補正
加減算装置と、(F)前記線幅相対補正フラグ及び前記
負幅補正フラグを参照して前記パターンストローク信号
に残存する逆転成分を検出し、逆転成分を零に補正する
と共にその補正分を後続の同一方向のストロークから相
殺する負線幅補正装置と、(G)文字等を指定する文字
コード信号を受け前記パターン記憶装置から前記パター
ンデータを読み出して前記ストロークデータを前記乗算
装置に、前記線幅相対補正フラグの情報を前記補正加減
算装置および負線幅補正装置に、前記負幅補正フラグの
情報を前記負線幅補正装置に送出する制御装置と、
(H)前記負線幅補正装置からの出力を連続したドット
信号列に変換するストロークドット演算装置と、(I)
前記ストロークドット演算装置の出力信号から輪郭内を
ドットで塗り潰したフルドット信号を発生する変換装置
とを備えて構成されている。
According to the character generation method of the present invention, a stroke (A) is obtained by subtracting a design reference value of a line width from standard contour information in which a contour line forming a character or a symbol is represented as a closed stroke sequence. The data, a line width relative correction flag that indicates the location and direction of the line width adjustment, and a negative width correction flag that indicates that the stroke direction of the stroke data is the reverse of the stroke direction of the standard contour information are written. And a pattern storage device stored as pattern data, and (B) receives a magnification code signal designating the size of a character or the like, and outputs a prestored multiplication value indicating a magnification for enlargement or reduction. A multiplication value storage device, and (C) a line width correction storage device that receives the magnification code signal and sends out a pre-stored line width relative correction value for line width adjustment. (D) A multiplication device for enlarging or reducing the input stroke data by a multiplication value from the multiplication value storage device, and (E) referring to the line width relative correction flag for the output from the multiplication device. Performs line width adjustment with the line width relative correction value from the line width correction storage device,
A correction addition / subtraction device that outputs a pattern stroke signal in which the line width is restored, and (F) a reverse component remaining in the pattern stroke signal is detected by referring to the line width relative correction flag and the negative width correction flag, and a reverse component Is corrected to zero and the correction amount is canceled from the subsequent stroke in the same direction, and (G) a character code signal for designating a character or the like is received to read the pattern data from the pattern storage device. A control device for sending the stroke data to the multiplication device, information for the line width relative correction flag to the correction addition / subtraction device and the negative line width correction device, and information for the negative width correction flag to the negative line width correction device. ,
(H) A stroke dot calculation device for converting the output from the negative line width correction device into a continuous dot signal sequence, and (I)
And a conversion device for generating a full dot signal in which the contour is filled with dots from the output signal of the stroke dot calculation device.

【0015】[0015]

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

【0016】図1は本発明の文字発生方式の一実施例の
構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of the character generation system of the present invention.

【0017】本実施例の文字発生方式は、図1に示すよ
うに、パターン記憶装置1と、制御装置2と、乗算値記
憶装置3と、線幅補正記憶装置4と、乗算装置5と、補
正加減算装置6と、ストロークドット演算装置7と、バ
ッファ装置8と、変換装置9と、負線幅補正装置11と
で構成されている。以上の構成は、図7の従来の文字発
生方式に対し、パターン記憶装置1a及び制御装置2a
をそれぞれパターン記憶装置1及び制御装置2に変更
し、補正加減算装置6とストロークドット演算装置7と
の間に負線幅補正装置11を付加したものである。
As shown in FIG. 1, the character generation system of this embodiment has a pattern storage device 1, a control device 2, a multiplication value storage device 3, a line width correction storage device 4, and a multiplication device 5. It is composed of a correction addition / subtraction device 6, a stroke dot calculation device 7, a buffer device 8, a conversion device 9, and a negative line width correction device 11. The above-mentioned configuration is different from the conventional character generation method shown in FIG.
To the pattern storage device 1 and the control device 2, respectively, and a negative line width correction device 11 is added between the correction addition / subtraction device 6 and the stroke dot calculation device 7.

【0018】パターン記憶装置1には、図4に示すよう
に、図10に示した従来方式と同様なストロークデータ
と線幅相対補正フラグに加え、基準値より細い線幅を含
む文字(図2)の標準輪郭情報から線幅基準値を差し引
いて骨格パターン(図3)のストロークデータとする際
に生じた逆向きのストロークに対して、逆向きのストロ
ークであることを示す負幅補正フラグを付加したものが
文字等のパターンデータとして記憶されている。
In the pattern storage device 1, as shown in FIG. 4, in addition to the stroke data and the line width relative correction flag similar to those in the conventional system shown in FIG. 10, characters including a line width narrower than the reference value (see FIG. 2). ), The negative width correction flag indicating that the stroke is the opposite direction to the opposite stroke generated when the stroke width of the skeleton pattern (FIG. 3) is obtained by subtracting the line width reference value from the standard contour information. The added data is stored as pattern data such as characters.

【0019】制御装置2は、文字コード信号Aを受ける
とパターン記憶装置1から該当文字のパターンデータを
読み出し、従来方式と同様にストロークデータをパター
ンストローク信号Cとして乗算装置5に送出するが、線
幅相対補正フラグの情報は線幅相対補正コード信号Dと
して補正加減算装置6と負線幅補正装置11とに送出
し、負幅補正フラグの情報を負幅補正コード信号Jとし
て負線幅補正装置11に送出している。
When the control device 2 receives the character code signal A, it reads the pattern data of the corresponding character from the pattern storage device 1 and sends the stroke data to the multiplication device 5 as the pattern stroke signal C as in the conventional system. The information of the width relative correction flag is sent to the correction addition / subtraction device 6 and the negative line width correction device 11 as the line width relative correction code signal D, and the information of the negative width correction flag is given as the negative width correction code signal J. It is sent to 11.

【0020】乗算値記憶装置3,線幅補正記憶装置4,
乗算装置5,補正加減算装置6は従来方式と同様であ
り、倍率コード信号Bに対応する乗算値信号E,線幅相
対補正値信号Fにより、拡大・縮小および線幅相対補正
値の加算または減算を行ってパターンストローク信号C2
を発生する。発生されたパターンストローク信号C2は線
幅補正装置11に送出される。
Multiply value storage device 3, line width correction storage device 4,
The multiplying device 5 and the correction adding / subtracting device 6 are the same as those in the conventional system, and enlargement / reduction and addition or subtraction of the line width relative correction value are performed by the multiplication value signal E corresponding to the magnification code signal B and the line width relative correction value signal F. Pattern stroke signal C2
To occur. The generated pattern stroke signal C2 is sent to the line width correction device 11.

【0021】負線幅補正装置11は、線幅相対補正コー
ド信号Dと負幅補正コード信号Jに対応して次に述べる
動作をし、パターンストローク信号C2をパターンストロ
ーク信号C3に変換し、ストロークドット演算装置7に送
出する。ストロークドット演算装置7以降の動作は図7
の従来方式の場合と同じ処理となる。
The negative line width correction device 11 performs the following operation in response to the line width relative correction code signal D and the negative width correction code signal J, converts the pattern stroke signal C2 into the pattern stroke signal C3, and strokes. It is sent to the dot arithmetic unit 7. The operation after the stroke dot computing device 7 is shown in FIG.
The processing is the same as that of the conventional method.

【0022】次に、負線幅補正装置11の動作を図4の
例により詳細に説明する。
Next, the operation of the negative line width correction device 11 will be described in detail with reference to the example of FIG.

【0023】制御装置2から送られてくる線幅相対補正
コード信号D(図4の線幅相対補正フラグに対応)と負
幅補正コード信号J(図4の負幅補正フラグに対応)を
記憶しておき、補正加減算装置6から送られてくるパタ
ーンストローク信号C2の各ストローク(図4のO,O→
P1,P1→P2,……)に対し、負幅補正コード信号
Jでマークされたストロークかどうかをチェックする。
The line width relative correction code signal D (corresponding to the line width relative correction flag in FIG. 4) and the negative width correction code signal J (corresponding to the negative width correction flag in FIG. 4) sent from the control device 2 are stored. Incidentally, each stroke of the pattern stroke signal C2 sent from the correction addition / subtraction device 6 (O, O →
For P1, P1 → P2, ...), it is checked whether or not the stroke is marked by the negative width correction code signal J.

【0024】負幅補正コード信号Jでマークされたスト
ローク(図4のYmに「−」が記入されている)P6→
P7が送られてきたとき、そのY方向成分の値が0でな
くてYr(Yr>0)であったとすると、そのストロー
クはまだ逆転したままの状態(正常な状態ではYr≦0
となる)であるので、その値に「−Yr」を加えて0に
補正し、これに続くストロークP7→P8,P8→P
9,P9→P10……のうち、0に補正したストローク
P6→P7の本来の方向(Ymにマークされている
「−」の方向)と同じ方向の最初のストローク(本例で
はP8→P9)のY方向成分に対して「+Yr」を加え
て上の補正による歪を逆補正して吸収する。なお、ここ
で逆補正の対象となるストロークP8→P9のY方向成
分は、そのストロークデータのYs成分{−(g+
a)}に縮小倍率を掛け更にその倍率の線幅補正値を加
算したものである。
Stroke marked by the negative width correction code signal J ("-" is entered in Ym in FIG. 4) P6 →
If the value of the Y-direction component is not 0 but Yr (Yr> 0) when P7 is sent, the stroke is still reversed (Yr ≦ 0 in the normal state).
Therefore, "-Yr" is added to the value to correct it to 0, and the subsequent strokes P7 → P8, P8 → P
9, P9 → P10 ... The first stroke (P8 → P9 in this example) in the same direction as the original direction of the stroke P6 → P7 corrected to 0 (the “−” direction marked in Ym) “+ Yr” is added to the Y-direction component of (1) to reversely correct and absorb the distortion due to the above correction. The Y-direction component of the stroke P8 → P9 that is the target of the reverse correction is the Ys component of the stroke data {− (g +
a)} is multiplied by the reduction scale factor and the line width correction value of the scale factor is added.

【0025】図4の例では負幅補正フラグが「−」マー
クの場合についてのみ説明したが、「+」マークの場合
も同様である。又、負幅補正フラグのXm成分には何の
マークもなく、従ってX方向成分には逆転ストロークが
ない場合であるが、X方向成分に対しても逆転ストロー
クがあれば同様の処理を行う。
In the example of FIG. 4, only the case where the negative width correction flag is the "-" mark has been described, but the same applies to the case where the negative width correction flag is the "+" mark. Also, there is no mark in the Xm component of the negative width correction flag, and therefore there is no reverse stroke in the X direction component, but if there is a reverse stroke in the X direction component, the same processing is performed.

【0026】以上説明したように本発明によれば、線幅
相対補正処理を加え後になお図3のP6→P7のように
向きが逆転したままの場合でも、負線幅補正装置11に
おいて向きが逆転しているストローク(P6→P7)の
その方向成分を0に補正し、以降の同方向成分が0でな
い最初のストローク(P8→P9)で上のP6→P7で
の補正分を調整する(この場合はP8→P9の大きさを
小さくする)ので、図3のような逆転ストロークを含ま
ない整形されたパターンストローク信号C3がストローク
ドット演算装置7に送られ、図5のような欠損部のない
出力イメージが得られる。
As described above, according to the present invention, even after the line width relative correction processing is added and the direction is still reversed as shown in P6 → P7 in FIG. The direction component of the reverse stroke (P6 → P7) is corrected to 0, and the correction amount in the above P6 → P7 is adjusted in the subsequent first stroke (P8 → P9) in which the same direction component is not 0 ( In this case, the size of P8 → P9 is reduced). Therefore, the shaped pattern stroke signal C3 that does not include the reverse stroke as shown in FIG. 3 is sent to the stroke dot computing device 7 and the defective portion as shown in FIG. No output image is obtained.

【0027】[0027]

【発明の効果】以上説明したように、本発明の文字発生
方式は、ストロークドット方式の印字装置等の印字また
は表示に際し、線幅相対補正処理を加えた後も向きが逆
転したままのストロークが残った場合、逆転ストローク
の大きさを0にしてその分を以降に続くストロークにお
いて調整する負幅補正装置を設けたことにより、使われ
ているドットの大きさや出力する文字の縮小条件によ
り、標準値より細い文字要素が欠落し文字の形が変化す
る現象の発生を防止することができ、いかなる場合でも
文字の構成要素が欠落することなく正しい文字が発生で
きる効果がある。
As described above, according to the character generation method of the present invention, when printing or displaying on a stroke dot type printing device or the like, a stroke whose direction is reversed even after the line width relative correction processing is applied is performed. If there is any left-over stroke, the size of the reverse stroke is set to 0 and a negative width correction device that adjusts that amount in the subsequent strokes is provided. It is possible to prevent a phenomenon in which a character element thinner than a value is missing and the shape of the character is changed, and in any case, a correct character can be generated without missing a constituent element of the character.

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

【図1】本発明の一実施例の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing a configuration of an exemplary embodiment of the present invention.

【図2】線幅基準値より小さい線幅がある文字の輪郭線
パターンの説明図である。
FIG. 2 is an explanatory diagram of a contour line pattern of a character having a line width smaller than a line width reference value.

【図3】図2の文字のストロークデータに対応する骨格
パターンの説明図である。
3 is an explanatory diagram of a skeleton pattern corresponding to the stroke data of the character in FIG.

【図4】本実施例のパターンデータの構成を示す説明図
である。
FIG. 4 is an explanatory diagram showing a structure of pattern data according to the present embodiment.

【図5】図9の骨格パターンをフルドット変換した出力
イメージの説明図である。
5 is an explanatory diagram of an output image obtained by performing full dot conversion on the skeleton pattern of FIG. 9.

【図6】図3の骨格パターンをフルドット変換した出力
イメージの説明図である。
FIG. 6 is an explanatory diagram of an output image obtained by performing full dot conversion on the skeleton pattern of FIG.

【図7】従来の文字発生方式の一例の構成を示すブロッ
ク図である。
FIG. 7 is a block diagram showing a configuration of an example of a conventional character generation method.

【図8】線幅基準値に等しい線幅の文字の輪郭線パター
ンの説明図である。
FIG. 8 is an explanatory diagram of a contour line pattern of a character having a line width equal to a line width reference value.

【図9】図8の文字のストロークデータに対応する骨格
パターンの説明図である。
9 is an explanatory diagram of a skeleton pattern corresponding to the stroke data of the characters in FIG.

【図10】従来のパターンデータの構成を示す説明図で
ある。
FIG. 10 is an explanatory diagram showing a structure of conventional pattern data.

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

1,1a パターン記憶装置 2,2a 制御装置 3 乗算値記憶装置 4 線幅補正記憶装置 5 乗算装置 6 補正加減算装置 7 ストロークドット演算装置 8 バッファ装置 9 変換装置 10 印字装置 11 負線幅補正装置 1, 1a pattern storage device 2, 2a control device 3 multiplication value storage device 4 line width correction storage device 5 multiplication device 6 correction addition / subtraction device 7 stroke dot calculation device 8 buffer device 9 conversion device 10 printing device 11 negative line width correction device

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 文字や記号を構成する輪郭線を閉鎖した
ストローク列として表した標準輪郭情報から線幅の設計
基準値を差し引いたストロークデータと、線幅調整の箇
所と方向とを指示する線幅相対補正フラグと、前記スト
ロークデータのストロークの向きが前記標準輪郭情報の
ストロークの向きと逆転したことを示す負幅補正フラグ
とを文字等のパターンデータとして記憶させてあるパタ
ーン記憶装置と、 文字等の大きさを指定する倍率コード信号を受け、あら
かじめ格納されている拡大または縮小のための倍率を示
す乗算値を送出する乗算値記憶装置と、 前記倍率コード信号を受け、あらかじめ格納されている
線幅調整のための線幅相対補正値を送出する線幅補正記
憶装置と、 入力された前記ストロークデータを前記乗算値記憶装置
からの乗算値により拡大または縮小する乗算装置と、 前記乗算装置からの出力に対し、前記線幅相対補正フラ
グを参照して前記線幅補正記憶装置からの線幅相対補正
値で線幅調整を行い、線幅を復元したパターンストロー
ク信号を出力する補正加減算装置と、 前記線幅相対補正フラグ及び前記負幅補正フラグを参照
して前記パターンストローク信号に残存する逆転成分を
検出し、逆転成分を零に補正すると共にその補正分を後
続の同一方向のストロークから相殺する負線幅補正装置
と、 文字等を指定する文字コード信号を受け前記パターン記
憶装置から前記パターンデータを読み出して前記ストロ
ークデータを前記乗算装置に、前記線幅相対補正フラグ
の情報を前記補正加減算装置および負線幅補正装置に、
前記負幅補正フラグの情報を前記負線幅補正装置に送出
する制御装置と、 前記負線幅補正装置からの出力を連続したドット信号列
に変換するストロークドット演算装置と、 前記ストロークドット演算装置の出力信号から輪郭内を
ドットで塗り潰したフルドット信号を発生する変換装置
とを備えたことを特徴とする文字発生方式。
1. Stroke data obtained by subtracting a design reference value of a line width from standard contour information in which a contour line forming a character or a symbol is represented as a closed stroke string, and a line indicating a position and a direction of line width adjustment. A pattern storage device in which a width relative correction flag and a negative width correction flag indicating that the stroke direction of the stroke data is reversed from the stroke direction of the standard contour information are stored as pattern data such as characters; A multiplying value storage device for receiving a magnification code signal designating a magnitude and outputting a prestored multiplication value indicating a magnification for enlargement or reduction; A line width correction storage device that sends a line width relative correction value for line width adjustment, and the stroke data input from the multiplication value storage device. A multiplication device that expands or contracts according to the multiplication value of, and performs line width adjustment on the output from the multiplication device with the line width relative correction value from the line width correction storage device with reference to the line width relative correction flag. A correction addition / subtraction device that outputs a pattern stroke signal in which the line width is restored; And a negative line width correction device that corrects the corrected amount from the subsequent stroke in the same direction, and a character code signal that specifies a character or the like is received, and the pattern data is read from the pattern storage device to obtain the stroke data. A multiplication device, the information of the line width relative correction flag to the correction addition and subtraction device and the negative line width correction device,
A control device that sends information on the negative width correction flag to the negative line width correction device, a stroke dot calculation device that converts the output from the negative line width correction device into a continuous dot signal sequence, and the stroke dot calculation device And a conversion device for generating a full-dot signal in which the contour is filled with dots from the output signal of 1.
JP4050242A 1992-03-09 1992-03-09 Character generating method Withdrawn JPH05249945A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4050242A JPH05249945A (en) 1992-03-09 1992-03-09 Character generating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4050242A JPH05249945A (en) 1992-03-09 1992-03-09 Character generating method

Publications (1)

Publication Number Publication Date
JPH05249945A true JPH05249945A (en) 1993-09-28

Family

ID=12853527

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4050242A Withdrawn JPH05249945A (en) 1992-03-09 1992-03-09 Character generating method

Country Status (1)

Country Link
JP (1) JPH05249945A (en)

Similar Documents

Publication Publication Date Title
US4837847A (en) Image processing apparatus
JPH02236595A (en) Character pattern data generator
JP2909273B2 (en) Outline font line width adjusting method and apparatus
JPS5969787A (en) System of generating character signal or the like
JP3009525B2 (en) Vector image drawing equipment
JPH05249945A (en) Character generating method
JP3212873B2 (en) Tone image generation method
KR100227178B1 (en) Character generator
JPS6356693A (en) Character dot conversion system
JP2910101B2 (en) Vector font data component point correction device
JP2896097B2 (en) Method and apparatus for filling outline font in which characters are configured for each element
JP2841829B2 (en) Data converter
JP3057959B2 (en) Data converter
JP2738189B2 (en) Coordinate conversion method and coordinate conversion device
JP3024479B2 (en) Data converter
JP2861201B2 (en) Data converter
JP3114289B2 (en) Character pattern generator
JP3092172B2 (en) Data converter
JP3055306B2 (en) Data output device
JP3072756B2 (en) Drawing equipment
JPH0863143A (en) Character symbol generator
JPH04223495A (en) Character signal generator
JPH03278189A (en) Graphic processor
JPH0511736A (en) Character pattern output device
JPH03246595A (en) Character pattern generating device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990518