JPH01191192A - High quality character generating device - Google Patents
High quality character generating deviceInfo
- Publication number
- JPH01191192A JPH01191192A JP63014640A JP1464088A JPH01191192A JP H01191192 A JPH01191192 A JP H01191192A JP 63014640 A JP63014640 A JP 63014640A JP 1464088 A JP1464088 A JP 1464088A JP H01191192 A JPH01191192 A JP H01191192A
- Authority
- JP
- Japan
- Prior art keywords
- logic
- character
- outline
- memory
- coordinates
- 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.)
- Pending
Links
- 230000004048 modification Effects 0.000 claims abstract description 11
- 238000012986 modification Methods 0.000 claims abstract description 11
- 238000004364 calculation method Methods 0.000 claims abstract description 6
- 230000006870 function Effects 0.000 claims description 3
- 238000006243 chemical reaction Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 238000000034 method Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 1
- 238000012886 linear function Methods 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔発明の目的〕
(産業上の利用分野)
本発明は、ワードプロセッサ、卓上出版等のシステムに
用いて好適な高品質文字発生装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Field of Industrial Application) The present invention relates to a high-quality character generating device suitable for use in systems such as word processors and desktop publishing.
(従来の技術)
ワードプロセッサ、卓上出版等のシステムにおいて各種
の文字・記号の高品質化が要求される。(Prior Art) High quality of various characters and symbols is required in systems such as word processors and desktop publishing.
それらのシステムでは、いろいろなサイズで高品質の文
字を発生させるため、従来のフルドツト方式の文字フォ
ントでは文字フォントの量が膨大になる。そこで文字フ
ォントの記憶容量が少なくてすむストローク方式(特許
登録第956645号)がある。Since these systems generate high-quality characters in a variety of sizes, traditional full-dot character fonts result in a huge amount of character fonts. Therefore, there is a stroke method (Patent Registration No. 956645) that requires less storage capacity for character fonts.
ストローク方式とは、文字等の輪郭をストローク情報(
ベクトル)として記憶し、これを出力装置ヘアウドプツ
トする際にグラフィックパターンジェネレータによりド
ツト情報に変換するもので、塗りつぶしの理論により輪
郭内をドツトで埋めて出力する。The stroke method uses stroke information (
This is stored as a vector) and converted to dot information by a graphic pattern generator when uploaded to the output device, and the outline is filled with dots according to the theory of filling and output.
(発明が解決しようとする問題点)
しかしながらこの方法では、文字の輪郭情報を一次関数
(直線)で表わしている為、拡大すると文字・記号の曲
線部分にがたつきが生じ、見た目に不自然になる。この
欠点をなくする為、文字の輪郭情報を二次以上の関数で
表わす方法がある。(Problem to be solved by the invention) However, in this method, the outline information of characters is expressed as a linear function (straight line), so when enlarged, the curved parts of characters/symbols become jittery, making them look unnatural. become. In order to eliminate this drawback, there is a method of expressing character contour information using a function of quadratic or higher order.
代表的なものとしてベジュ曲線やスプライン曲線が使わ
れる。以降、この方式で表現したフォントをアウトライ
ンフォントと呼ぶ。Beige curves and spline curves are typically used. Hereinafter, fonts expressed using this method will be referred to as outline fonts.
従来は、第4図に示す様に、特別なハードウェアを持た
ず、ソフトウェア処理により、アウトラインフォントか
らドツトパターンへの変換を行なっていた。図中、41
はCPU、42は記憶装置、43は出力装置、44はシ
ステムバスである。しかし、複雑な文字・記号、特に漢
字のアウトラインフォントからドツトパターンへ変換し
ようとすると曲線部分が多いため計算量が多くなり、表
示速度が低下するという欠点があった。Conventionally, as shown in FIG. 4, conversion from an outline font to a dot pattern was performed by software processing without any special hardware. In the figure, 41
42 is a storage device, 43 is an output device, and 44 is a system bus. However, when trying to convert complex characters and symbols, especially kanji, from an outline font to a dot pattern, there are many curved parts, which increases the amount of calculations and reduces the display speed.
本発明は上記欠点を鑑みてなされたものであり、アウト
ラインフォントからドツトパターンへの変換のために専
用のハードウェアを用いることにより、ソフトウェアの
負荷を軽減し、システムの高速化をはかる高品質文字発
生装置を提供することを目的とする。The present invention was made in view of the above drawbacks, and uses dedicated hardware to convert outline fonts to dot patterns, thereby reducing the software load and speeding up the system. The purpose is to provide a generator.
(問題点を解決するための手段)
本発明の高品質文字発生装置は、文字等の輪郭情報を二
次以上の関数で表現し、これを記憶するメモリと、メモ
リからデータを得曲線部の座標を算出する曲線座標演算
ロジックと、読出されたフォントデータに対して拡大・
縮小等の修飾演算を行なう修飾演算ロジックと、曲線部
の座標と直線座標により文字の輪郭をメモリに書込む描
画ロジックと、描画ロジックから得られる輪郭の内部を
塗りつぶしドツトパターンデータに変換する塗りつぶし
ロジックで構成される。(Means for Solving the Problems) The high-quality character generating device of the present invention expresses outline information of characters etc. using a function of quadratic or higher order, and includes a memory for storing this information, and a memory for obtaining data from the memory to generate curved parts. Curve coordinate calculation logic that calculates coordinates and magnification and
Modification operation logic that performs modification operations such as reduction, drawing logic that writes the outline of a character into memory using the coordinates of curved parts and linear coordinates, and fill logic that converts the inside of the outline obtained from the drawing logic into fill dot pattern data. Consists of.
(作用)
上記構成において、CPUからスタート要求がくるとそ
の文字コードに対応する文字のアウトラインフォントを
メモリから得、修飾演算ロジックにて文字修飾を行なう
。そして曲線座標演算ロジックにて曲線部の座標計算を
行なってなめらかな曲線を生成し、描画ロジックにて文
字のアウトラインを描き、塗りつぶしロジックにて文字
の内部を塗りつぶす。(Operation) In the above configuration, when a start request is received from the CPU, the outline font of the character corresponding to the character code is obtained from the memory, and the character is modified using the modification operation logic. Then, the curve coordinate calculation logic calculates the coordinates of the curved part to generate a smooth curve, the drawing logic draws the outline of the character, and the filling logic fills in the inside of the character.
このことにより、曲線部の座標演算を行ないながらアウ
トラインフォントからドツトパターンへ変換し、ソフト
ウェアの負担軽減がはかれる。As a result, the outline font is converted into a dot pattern while calculating the coordinates of the curved portion, thereby reducing the burden on the software.
(実施例)
以下、図面を使用して本発明実施例について詳細に説明
する。第1図は本発明の実施例を示すブロック図である
。図において、11はシステムの制御中枢となるCPU
である。12はプログラム・データを記憶する記憶装置
、13はCRT。(Example) Hereinafter, an example of the present invention will be described in detail using the drawings. FIG. 1 is a block diagram showing an embodiment of the present invention. In the figure, 11 is the CPU that is the control center of the system.
It is. 12 is a storage device for storing program data, and 13 is a CRT.
プリンタ等の出力装置である。15はアウトラインフォ
ントから曲線の座標計算を行ない、ドツトパターンを行
なう変換装置であり、詳細は第2図に示されている。1
4はこれら装置11〜13゜15を接続するシステムバ
スであり、アドレス・データ・コントロールのためのラ
インが複数本から成る。尚、16は変換装置15から出
力装置13へデータ信号を渡す信号ラインである。This is an output device such as a printer. Reference numeral 15 denotes a conversion device that calculates the coordinates of a curved line from an outline font and creates a dot pattern, the details of which are shown in FIG. 1
A system bus 4 connects these devices 11 to 13 and 15, and is composed of a plurality of lines for address/data control. Note that 16 is a signal line that passes a data signal from the conversion device 15 to the output device 13.
第2図は、第1図に示す変換装置15の内部構成を示す
図である。図において、151はアウトラインフォント
が入っている記憶装置、152はアウトラインフォント
に対して拡大・縮小、回転等修飾演算を行なうロジック
部、153は曲線部の座標計算を行なうロジックであり
、直線部はそのまま描画ロジック154へ供給される。FIG. 2 is a diagram showing the internal configuration of the conversion device 15 shown in FIG. 1. In the figure, 151 is a storage device containing outline fonts, 152 is a logic unit that performs modification operations such as enlarging/reducing and rotating the outline fonts, 153 is logic that calculates the coordinates of curved parts, and straight parts are It is supplied to the drawing logic 154 as is.
154は文字の輪郭を作る描画ロジックであり、155
は輪郭の内部を塗りつぶす塗りつぶしロジックである。154 is the drawing logic that creates the outline of the character, and 155
is the filling logic that fills the inside of the outline.
第3図は本発明実施例の動作を示すフローチャートであ
る。FIG. 3 is a flowchart showing the operation of the embodiment of the present invention.
以下、本発明実施例の動作について詳述する。The operation of the embodiment of the present invention will be described in detail below.
まず、第1図を用いて概略説明から行なう。文字・記号
を表示する場合、CPUI 1は変換装置15に対して
文字コード、表示位置情報等送り、スタート要求を出す
。変換装置15は文字コード・表示位置情報等を使用し
てアウトラインフォントから曲線の座標計算等を行ない
ドツトパターンに展開して出力装置13へ送る。終了す
ると割込みまたはスティタスによって、CPU11に終
了を知らせる。First, a general explanation will be given using FIG. 1. When displaying characters and symbols, the CPU 1 sends character codes, display position information, etc. to the conversion device 15, and issues a start request. The conversion device 15 uses the character code, display position information, etc. to calculate the coordinates of a curved line from the outline font, develops it into a dot pattern, and sends it to the output device 13. Upon completion, the CPU 11 is notified of the completion by an interrupt or status.
第2図・第3図を用い詳細説明を行なう。A detailed explanation will be given using FIGS. 2 and 3.
CPUI 1からスタート要求がくると、その文字コー
ドに対応する文字のアウトラインフォントをメモリ15
1により読み出し、修飾演算ロジック152で文字修飾
を行なう。修飾の種類はあらかじめCPUIIより与え
られてくる。次に曲線座標演算ロジック153で曲線部
の座標計算を行なって、なめらかな曲線を作成し、又、
直線部はそのまま描画ロジック154へ供給される。輪
郭描画ロジック154では文字のアウトラインを描き、
塗りつぶしロジック155で文字内部を塗りつぶす。When a start request is received from CPU 1, the outline font of the character corresponding to that character code is stored in memory 15.
1 is read out, and the modification operation logic 152 performs character modification. The type of modification is given in advance by CPU II. Next, the curve coordinate calculation logic 153 calculates the coordinates of the curved part to create a smooth curve, and
The straight line portion is directly supplied to the drawing logic 154. The outline drawing logic 154 draws the outline of the character,
The inside of the character is filled with fill logic 155.
以上説明の様に本発明に従えば、曲線部の座標演算を行
ないながら、アウトラインフォントからドツトパターン
へ変換することが出来、このことにより、ソフトウェア
の負担を減らし、表示速度の高速化ができる。As described above, according to the present invention, it is possible to convert an outline font to a dot pattern while calculating the coordinates of a curved portion, thereby reducing the burden on software and increasing the display speed.
第1図は本発明の実施例を示すブロック図、第2図は第
1図に示した変換装置の内部構成を示すブロック図、第
3図は本発明実施例の動作を示すフローチャート、第4
図は従来例の構成を示すブロック図である。
11・・・CPU、12・・・記憶装置、13・・・出
力装置、14・・・システムバス、15・・・変換装置
、151・・・メモリ、152・・・修飾演算ロジック
、153・・・曲線座標ロジック、154・・・輪郭描
画ロジック、155・・・塗りつぶしロジック。
出願人代理人 弁理士 鈴江武彦
第1図
第4図
第2図
第3図FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a block diagram showing the internal configuration of the conversion device shown in FIG. 1, FIG. 3 is a flowchart showing the operation of the embodiment of the present invention, and FIG.
The figure is a block diagram showing the configuration of a conventional example. DESCRIPTION OF SYMBOLS 11... CPU, 12... Storage device, 13... Output device, 14... System bus, 15... Conversion device, 151... Memory, 152... Modification operation logic, 153... ...Curve coordinate logic, 154...Outline drawing logic, 155...Filling logic. Applicant's representative Patent attorney Takehiko Suzue Figure 1 Figure 4 Figure 2 Figure 3
Claims (1)
グラフィックパターンジェネレータによりドット情報に
変換する文字発生装置において、上記メモリからデータ
を得曲線部の座標を算出する曲線座標演算ロジックと、
読出されたフォントデータに対して拡大・縮小等の修飾
演算を行なう修飾演算ロジックと、曲線部の座標と直線
座標により文字の輪郭をメモリに書込む描画ロジックと
、描画ロジックから得られる輪郭の内部を塗りつぶしド
ットパターンデータに変換する塗りつぶしロジックを具
備することを特徴とする高品質文字発生装置。Stores outline information of characters, etc. in memory using a function of quadratic or higher order,
In a character generation device that converts into dot information using a graphic pattern generator, a curve coordinate calculation logic that obtains data from the memory and calculates coordinates of a curved portion;
A modification operation logic that performs modification operations such as enlargement and reduction on the read font data, a drawing logic that writes the outline of a character in memory using the coordinates of curved parts and linear coordinates, and an internal part of the outline obtained from the drawing logic. A high-quality character generator characterized in that it is equipped with a fill logic that converts the data into fill dot pattern data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63014640A JPH01191192A (en) | 1988-01-27 | 1988-01-27 | High quality character generating device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63014640A JPH01191192A (en) | 1988-01-27 | 1988-01-27 | High quality character generating device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01191192A true JPH01191192A (en) | 1989-08-01 |
Family
ID=11866798
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63014640A Pending JPH01191192A (en) | 1988-01-27 | 1988-01-27 | High quality character generating device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01191192A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03150594A (en) * | 1989-11-08 | 1991-06-26 | Hitachi Ltd | System and device for character generation and document printer |
WO1991013427A1 (en) * | 1990-02-27 | 1991-09-05 | Seiko Epson Corporation | Method of generating dot signal corresponding to character pattern and device therefor |
EP0481787A2 (en) * | 1990-10-19 | 1992-04-22 | Canon Kabushiki Kaisha | Output method and apparatus |
JPH06315062A (en) * | 1993-04-30 | 1994-11-08 | Nec Corp | Facsimile transmission equipment |
-
1988
- 1988-01-27 JP JP63014640A patent/JPH01191192A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03150594A (en) * | 1989-11-08 | 1991-06-26 | Hitachi Ltd | System and device for character generation and document printer |
WO1991013427A1 (en) * | 1990-02-27 | 1991-09-05 | Seiko Epson Corporation | Method of generating dot signal corresponding to character pattern and device therefor |
US5355448A (en) * | 1990-02-27 | 1994-10-11 | Seiko Epson Corporation | Method of generating dot signals corresponding to character pattern and the system therefor |
EP0481787A2 (en) * | 1990-10-19 | 1992-04-22 | Canon Kabushiki Kaisha | Output method and apparatus |
US5731800A (en) * | 1990-10-19 | 1998-03-24 | Canon Kabushiki Kaisha | Output method and apparatus |
JPH06315062A (en) * | 1993-04-30 | 1994-11-08 | Nec Corp | Facsimile transmission equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5519412A (en) | Pattern processing method | |
JPH01191192A (en) | High quality character generating device | |
JP2634851B2 (en) | Image processing device | |
JPH05120441A (en) | Vector picture plotting device | |
JP2757614B2 (en) | Figure filling device | |
JPS62211692A (en) | Preparation system for character of varied size | |
JP2893836B2 (en) | Document creation device and document creation method | |
JPH0823741B2 (en) | How to process vector characters or graphics | |
JPH01257995A (en) | Character pattern generating device | |
JP2771629B2 (en) | Character processor | |
JPH0772847A (en) | Character font output device and character font generating device | |
JPS6370890A (en) | Graphic processor | |
JP2603322B2 (en) | Character processing apparatus and method | |
JP3573291B2 (en) | Character data creation method and character data creation device | |
JP3099556B2 (en) | Data converter | |
JP3457336B2 (en) | Outline data processing device | |
JP2782904B2 (en) | Polygon fill method | |
JP2881884B2 (en) | Document creation device | |
JP3214722B2 (en) | Stroke character generator | |
JPH06301367A (en) | Character generator | |
JPH0553559A (en) | Line width determination system | |
JPH07160242A (en) | Character generator | |
JPS62175794A (en) | Character generator | |
JPH0950272A (en) | Method and device for outline font generation | |
JPH02205892A (en) | Character generator |