JPH05127656A - Character processor - Google Patents

Character processor

Info

Publication number
JPH05127656A
JPH05127656A JP3315260A JP31526091A JPH05127656A JP H05127656 A JPH05127656 A JP H05127656A JP 3315260 A JP3315260 A JP 3315260A JP 31526091 A JP31526091 A JP 31526091A JP H05127656 A JPH05127656 A JP H05127656A
Authority
JP
Japan
Prior art keywords
circuit
contour
data
conversion circuit
processing
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
Application number
JP3315260A
Other languages
Japanese (ja)
Inventor
Kuniaki Ueki
国明 植木
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP3315260A priority Critical patent/JPH05127656A/en
Publication of JPH05127656A publication Critical patent/JPH05127656A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Digital Computer Display Output (AREA)
  • Image Generation (AREA)
  • Document Processing Apparatus (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To obtain the character processor which processes characters at a high speed. CONSTITUTION:The character processor is provided with buffer memories 12 and 24 stored with data sent from a coordinate converting circuit 3 to a raster converting circuit 4 or data sent from a contour generation preprocessing circuit 21 to a contour generation postprocessing circuit 22 and also provided with a write inhibiting circuit which inhibits data on scanning-directional segments generated as a result of a painting-out process on contours from being written in the memories 12 and 24. The process time difference between the coordinate converting circuit 3 and raster converting circuit 4 or contour generation preprocessing circuit 21 and contour generation postprocessing circuit 22 is absorbed and the write/read time of the memories 12 and 24 is shortened to speed up character information processing and improve the use efficiency of the memories 12 and 24.

Description

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

【0001】[0001]

【産業上の利用分野】この発明はアウトラインフォント
よりドットフォントを生成する文字処理装置、特にその
処理速度の向上に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character processing apparatus for generating a dot font from an outline font, and more particularly to improving the processing speed thereof.

【0002】[0002]

【従来の技術】図6は例えば「日経エレクトロニクス」
1988年7月25日号の116頁〜177頁に記載さ
れた従来の文字処理装置を示すブロック図である。図に
おいて、1は当該文字処理装置の外部バスの制御を行な
うバス制御回路であり、2は外部バスよりアウトライン
フォントデータ等を読み込み、データ内容の解読を行な
うフェッチ/デコード回路である。
2. Description of the Related Art FIG. 6 shows, for example, "Nikkei Electronics".
It is a block diagram which shows the conventional character processing apparatus described in pages 116-177 of the July 25, 1988 issue. In the figure, 1 is a bus control circuit for controlling the external bus of the character processing device, and 2 is a fetch / decode circuit for reading outline font data and the like from the external bus and decoding the data contents.

【0003】3はアウトラインフォントの座標データに
拡大・縮小などの座標変換を行なう座標変換回路であ
り、4はこの座標変換されたデータより輪郭内部をドッ
トで塗り潰したドットフォントを発生させる機能を備え
たラスタ変換回路である。5はこのように発生されたド
ットフォントを外部バスに接続されたビットマップメモ
リに書き込むビットマップ・アクセス回路である。
Reference numeral 3 denotes a coordinate conversion circuit for performing coordinate conversion such as enlargement / reduction on outline font coordinate data, and 4 has a function of generating a dot font in which the inside of the contour is filled with dots from the coordinate-converted data. It is a raster conversion circuit. Reference numeral 5 is a bit map access circuit for writing the dot font generated in this way into a bit map memory connected to an external bus.

【0004】次に動作について説明する。フェッチ/デ
コード回路2はアウトラインフォントを記憶したアウト
ラインフォント記憶装置(図示省略)より、外部バス制
御回路1を通してアウトラインフォントデータを読み込
む。読み込まれたアウトラインフォントデータは装置に
あらかじめ設定された値により座標変換回路3で、下記
の式1による拡大・縮小・回転等のための座標変換がほ
どこされる。
Next, the operation will be described. The fetch / decode circuit 2 reads outline font data from the outline font storage device (not shown) that stores outline fonts through the external bus control circuit 1. The read outline font data is subjected to coordinate conversion for enlargement / reduction / rotation, etc. according to the following equation 1 by a coordinate conversion circuit 3 according to a value preset in the device.

【0005】 x′=ax・x+bx・y+cx y′=ay・x+by・y+cy …………………………(1)X ′ = ax · x + bx · y + cx y ′ = ay · x + by · y + cy (1)

【0006】ここで、ax〜cyは拡大・縮小等のため
の係数であり、x,yはアウトラインフォントデータの
示す輪郭上の点の座標値、x′,y′は座標変換後の輪
郭上の点の座標値である。
Here, ax to cy are coefficients for enlargement / reduction, etc., x and y are coordinate values of points on the contour indicated by the outline font data, and x'and y'are on the contour after coordinate conversion. Is the coordinate value of the point.

【0007】次にラスタ変換回路4は輪郭内部を塗り潰
したデータを発生し、ビットマップアクセス回路5によ
り外部バス制御回路1を通じてビットマップ上にその輪
郭内部がドットで塗り潰されたドットフォントを書き込
む。
Next, the raster conversion circuit 4 generates data in which the inside of the outline is filled, and the bitmap access circuit 5 writes a dot font in which the inside of the outline is filled with dots on the bitmap through the external bus control circuit 1.

【0008】なお、アウトラインフォント記憶装置は輪
郭を構成する点全てを記憶してはおらず、直線等で輪郭
に近似した際の線分の端点などの座標値のみを記憶して
いるものであるため、前記ラスタ変換回路4は、前述の
輪郭内部をドットで塗り潰す機能の外に、アウトライン
フォントデータで与えられた点より、その間を補間する
点の座標値を発生する輪郭発生処理の機能も備えてい
る。
The outline font storage device does not store all the points forming the contour, but only the coordinate values of the end points of the line segment when the contour is approximated by a straight line or the like. In addition to the above-described function of filling the inside of the contour with dots, the raster conversion circuit 4 also has a function of contour generation processing for generating coordinate values of points interpolated between the points given by the outline font data. ing.

【0009】ここで、前述の式1からも明らかなよう
に、座標変換回路3による座標変換処理時間は座標点数
に比例して文字サイズには依存せず、アウトラインフォ
ントデータの読み出しに従って一定の速度で発生するこ
とができる。
As is clear from the above equation 1, the coordinate conversion processing time by the coordinate conversion circuit 3 does not depend on the character size in proportion to the number of coordinate points, but at a constant speed as the outline font data is read. Can occur in.

【0010】一方、輪郭発生処理時間は輪郭線の長さに
比例するため、文字サイズに比例する。また、輪郭線の
長さは一定ではなく、文字の輪郭の水平部・垂直部のよ
うに長い部分もあれば、斜め線のように短い部分もある
ため、その処理速度はバラバラとなる。
On the other hand, since the contour generation processing time is proportional to the length of the contour line, it is proportional to the character size. Further, the length of the contour line is not constant, and there are long portions such as horizontal and vertical portions of the character contour and short portions such as diagonal lines, so that the processing speed becomes uneven.

【0011】[0011]

【発明が解決しようとする課題】従来の文字処理装置は
以上のように構成されているので、座標変換回路3の出
力するデータが、輪郭発生処理の機能を有するラスタ変
換回路4にダイレクトに入力されるものであるため輪郭
線が長い場合にはラスタ変換回路4の処理時間が長くな
って座標変換回路3が待ち状態となり、逆に輪郭線が短
い場合にはラスタ変換回路4の処理時間が短くなって座
標変換回路3の処理速度が追従できなくなってラスタ変
換回路4が待たされるというように、処理速度を向上す
る上での問題点があった。
Since the conventional character processing device is configured as described above, the data output from the coordinate conversion circuit 3 is directly input to the raster conversion circuit 4 having the function of contour generation processing. Therefore, when the contour line is long, the processing time of the raster conversion circuit 4 becomes long and the coordinate conversion circuit 3 waits. On the contrary, when the contour line is short, the processing time of the raster conversion circuit 4 becomes long. There is a problem in improving the processing speed such that the processing speed of the coordinate conversion circuit 3 becomes shorter and the raster conversion circuit 4 has to wait because it becomes shorter.

【0012】この発明は上記のような問題点を解消する
ためになされたもので、高速な文字処理ができる文字処
理装置を得ることを目的とする。
The present invention has been made to solve the above problems, and an object thereof is to obtain a character processing device capable of high-speed character processing.

【0013】[0013]

【課題を解決するための手段】請求項1に記載の発明に
係る文字処理装置は、アウトラインフォントデータに拡
大,縮小などの座標変換を行う座標変換回路と、座標変
換されたデータによって形成される輪郭で囲まれた領域
をドットで塗り潰したドットフォントを発生させる機能
を有するラスタ変換回路との間に、座標変換回路の出力
するデータを一旦蓄えた後、それをラスタ変換回路に送
るメモリを設けたものである。
According to a first aspect of the present invention, there is provided a character processing device including a coordinate conversion circuit for performing coordinate conversion such as enlargement or reduction of outline font data, and a coordinate conversion data. A memory that temporarily stores the data output from the coordinate conversion circuit and then sends it to the raster conversion circuit is provided between it and the raster conversion circuit that has the function of generating a dot font in which the area surrounded by the contour is filled with dots. It is a thing.

【0014】また、請求項2に記載の発明に係る文字処
理装置は、座標変換されたデータによって形成される輪
郭を発生するために、当該輪郭を補間するためのデータ
を生成する輪郭発生前処理回路と、この輪郭を補間する
ためのデータに基づいて輪郭を形成するドットを発生す
る輪郭発生後処理回路との間に、輪郭発生前処理回路の
出力するデータを一旦蓄えた後、それを輪郭発生後処理
回路に送るメモリを設けたものである。
In the character processing device according to the second aspect of the present invention, in order to generate the contour formed by the coordinate-converted data, the contour generation preprocessing for generating data for interpolating the contour. The data output from the contour generation pre-processing circuit is temporarily stored between the circuit and the contour generation post-processing circuit that generates dots that form the contour based on the data for interpolating the contour A memory is provided for sending to the post-generation processing circuit.

【0015】さらに、請求項3に記載の発明に係る文字
処理装置は、請求項1におけるラスタ変換回路、もしく
は請求項2における塗り潰し回路による塗り潰し処理を
走査形式で行い、輪郭上のドットデータが当該走査形式
の塗り潰し処理によって発生される場合には、そのドッ
トデータのメモリへの書き込みを禁止する書き込み禁止
回路を設けたものである。
Further, in the character processing device according to the present invention as defined in claim 3, the raster conversion circuit according to claim 1 or the filling circuit according to claim 2 performs the filling process in a scanning format, and the dot data on the contour is concerned. A write inhibit circuit is provided to inhibit the writing of the dot data to the memory when it is generated by the scanning type filling process.

【0016】[0016]

【作用】請求項1に記載の発明におけるメモリは、座標
変換回路からラスタ変換回路へ送られるデータをバッフ
ァリングすることにより、座標変換回路とラスタ変換回
路が独立に並列動作できるようにして相互の処理時間差
を吸収し、高速で文字処理を行うことができる文字処理
装置を実現する。
According to the first aspect of the invention, the memory buffers the data sent from the coordinate conversion circuit to the raster conversion circuit so that the coordinate conversion circuit and the raster conversion circuit can operate independently in parallel. A character processing device that absorbs a processing time difference and can perform character processing at high speed is realized.

【0017】また、請求項2に記載の発明におけるメモ
リは、輪郭発生前処理回路から輪郭発生後処理回路へ送
られるデータをバッファリングすることにより、輪郭発
生前処理回路と輪郭発生後処理回路が独立に並列動作で
きるようにして相互の処理時間差を吸収し、高速で文字
処理を行うことができる文字処理装置を実現する。
In the memory according to the second aspect of the present invention, the contour generation pre-processing circuit and the contour generation post-processing circuit are buffered by the data sent from the contour generation pre-processing circuit to the contour generation post-processing circuit. (EN) A character processing device capable of performing parallel operations independently, absorbing a processing time difference between them, and performing character processing at high speed is realized.

【0018】請求項3に記載の発明における書き込み禁
止回路は、輪郭上の塗り潰しによって発生される走査方
向の線分のデータを、メモリに書き込むことを禁止する
ことにより、メモリの使用効率を向上させるとともに、
メモリの書き込み時間、読み出し時間を短縮して、高速
な文字処理が可能な文字処理装置を実現する。
According to the third aspect of the invention, the write prohibition circuit improves the efficiency of use of the memory by prohibiting the writing of the line segment data in the scanning direction generated by the filling of the contour into the memory. With
A character processing device capable of high-speed character processing is realized by shortening the memory writing time and reading time.

【0019】[0019]

【実施例】【Example】

実施例1.以下、この発明の実施例1を図に基づいて説
明する。図1は請求項1に記載の発明の一実施例を示す
ブロック図である。図において、3は座標変換回路、4
はラスタ変換回路であり、図6に同一符号を付した従来
のそれらと同一、あるいは相当部分であるため詳細な説
明は省略する。
Example 1. Embodiment 1 of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the invention described in claim 1. In the figure, 3 is a coordinate conversion circuit, 4
Is a raster conversion circuit, which is the same as or equivalent to those of the conventional one denoted by the same reference numeral in FIG. 6, and therefore detailed description thereof will be omitted.

【0020】11は複数の文字を、各々の輪郭で表現し
たアウトラインフォントデータで記憶したアウトライン
フォント記憶装置である。12は座標変換回路3とラス
タ変換回路4の間に配置され、座標変換回路3の出力す
るデータを一旦蓄えた後、ラスタ変換回路4に送るメモ
リで、FIFO(ファーストイン・ファストアウト)メ
モリやデュアルポートメモリのような、書き込みおよび
読み出しが非同期で行える構成となっている。
An outline font storage device 11 stores a plurality of characters as outline font data expressed by respective contours. A memory 12 is arranged between the coordinate conversion circuit 3 and the raster conversion circuit 4, and temporarily stores the data output from the coordinate conversion circuit 3 and then sends the data to the raster conversion circuit 4, such as a FIFO (first in / fast out) memory or It has a configuration such that writing and reading can be performed asynchronously like a dual port memory.

【0021】次に動作について説明する。アウトライン
フォント記憶装置11より読み出されたアウトラインフ
ォントデータは、座標変換回路3に送られて、前述の式
1による演算などがほどこされて、拡大あるいは縮小な
どの座標変換が行われた後、メモリ12に書き込まれ
る。ラスタ変換回路4はメモリ12に一旦蓄えられたデ
ータを順番に読み出し、その輪郭内部をドットで塗り潰
してドットフォントを発生する。
Next, the operation will be described. The outline font data read from the outline font storage device 11 is sent to the coordinate conversion circuit 3 to be subjected to the calculation by the above-described Expression 1 and the like, and after the coordinate conversion such as enlargement or reduction is performed, the memory is stored. Written in 12. The raster conversion circuit 4 sequentially reads the data once stored in the memory 12 and fills the inside of the contour with dots to generate a dot font.

【0022】ここで、前述のように、このメモリ12は
非同期で読み出しおよび書き込みが可能であるため、例
えばFIFOメモリであればメモリフルでなければ、座
標変換回路3はラスタ変換回路4の動作の完了を待つこ
となく、座標変換されたデータをメモリ12に書き込む
ことができる。またラスタ変換回路4は短い線分が連続
した場合であっても、それまでにメモリ12に蓄えられ
ているデータを順番に読み出すことにより、座標変換回
路3の処理を待つことなく処理が可能である。
As described above, since the memory 12 can read and write asynchronously, for example, if the memory is not full in the case of a FIFO memory, the coordinate conversion circuit 3 operates in the raster conversion circuit 4. The coordinate-converted data can be written in the memory 12 without waiting for the completion. Further, the raster conversion circuit 4 can perform processing without waiting for the processing of the coordinate conversion circuit 3 by sequentially reading the data stored in the memory 12 up to then even if short line segments are continuous. is there.

【0023】図2(a)はその動作タイミングを示すタ
イミング図であり、参考として従来の文字処理装置の動
作タイミングを同図(b)に示す。さらに各図中の上方
が座標変換回路3の処理時間を下がラスタ変換回路4の
処理時間を示し、枠内の数字はその時点で処理されてい
る輪郭線に付けた番号を示す。
FIG. 2A is a timing chart showing the operation timing, and FIG. 2B shows the operation timing of the conventional character processing device for reference. Further, in each figure, the upper part shows the processing time of the coordinate conversion circuit 3 and the lower part shows the processing time of the raster conversion circuit 4, and the numbers in the frames show the numbers given to the contour lines being processed at that time.

【0024】従来の文字処理装置では、前の/次の輪郭
線の処理が終わらなければそのデータを渡せ/受け取れ
ないので、図2(b)中にハッチングを施した部分のよ
うなムダな時間が発生する。
In the conventional character processing device, the data cannot be passed / received unless the processing of the previous / next contour line is completed, so that a wasteful time such as the hatched portion in FIG. Occurs.

【0025】一方、この実施例によれば、図2(a)に
示すように座標変換回路3はラスタ変換回路4の処理を
待たずに処理結果をメモリ12に書き込めるため、一定
速度で処理が継続でき、ラスタ変換回路4も処理時間の
短い、短い輪郭線が続くときも、それまでの処理時間の
長い、長い輪郭線を処理している間に座標変換回路3に
よりメモリ12に蓄えられたデータを読み出すことによ
り、処理時間のムダがなくなり、図2に示すごとく、従
来に比べて処理時間が短縮される。
On the other hand, according to this embodiment, as shown in FIG. 2A, the coordinate conversion circuit 3 writes the processing result in the memory 12 without waiting for the processing of the raster conversion circuit 4, so that the processing can be performed at a constant speed. Even if the raster conversion circuit 4 can be continued and the processing time is short and the short contour line continues, the coordinate conversion circuit 3 stores the long contour line in the memory 12 while processing the long contour line. By reading the data, there is no waste of processing time, and as shown in FIG. 2, the processing time is shortened compared to the conventional case.

【0026】なお、メモリ12は図2で示されるよう
に、数個(具体的には4〜8個)のデータが蓄えられれ
ば充分であり、メモリ12としては小規模のものでよい
ことになる。即ち、必要なメモリの深さは、ある時点で
の座標変換回路3の処理中の輪郭番号とラスタ変換回路
4の処理中の輪郭番号の差となるが、図2(a)に示す
例ではこれは3となっている。
As shown in FIG. 2, it is sufficient for the memory 12 to store several pieces of data (specifically, 4 to 8 pieces of data), and the memory 12 may be a small one. Become. That is, the required memory depth is the difference between the contour number being processed by the coordinate conversion circuit 3 and the contour number being processed by the raster conversion circuit 4 at a certain time, but in the example shown in FIG. This is 3.

【0027】実施例2.次に、この発明の実施例2を図
に基づいて説明する。図3は請求項2に記載の発明の一
実施例を示すブロック図で、図1と同一の部分には同一
符号を付して説明の重複をさけている。
Example 2. Next, a second embodiment of the present invention will be described with reference to the drawings. FIG. 3 is a block diagram showing an embodiment of the invention described in claim 2, and the same parts as those in FIG.

【0028】図において、21は座標変換回路3にて座
標変換されたデータによって形成される輪郭を発生する
ために、当該輪郭を補間するためのデータを生成する輪
郭発生前処理回路であり、22はその輪郭を補間するた
めのデータに基づいて輪郭を形成するドットを発生する
輪郭発生後処理回路である。
In the figure, reference numeral 21 denotes a contour generation preprocessing circuit for generating data for interpolating the contour in order to generate the contour formed by the coordinate-converted data in the coordinate conversion circuit 3, and 22 Is a contour generation post-processing circuit that generates dots that form the contour based on the data for interpolating the contour.

【0029】23は輪郭発生後処理回路22の発生した
ドットによる輪郭で囲まれた領域をドットで塗り潰した
ドットフォントを発生させる塗り潰し回路であり、24
は輪郭発生前処理回路21と輪郭発生後処理回路22と
の間に配置され、輪郭発生前処理回路21の出力するデ
ータを一旦蓄えた後、それを輪郭発生後処理回路22に
送るメモリである。
Reference numeral 23 denotes a filling circuit for generating a dot font in which the area surrounded by the dots generated by the contour generation post-processing circuit 22 is filled with dots.
Is a memory which is arranged between the contour generation pre-processing circuit 21 and the contour generation post-processing circuit 22, temporarily stores the data output from the contour generation pre-processing circuit 21, and then sends it to the contour generation post-processing circuit 22. ..

【0030】なお、この実施例においては、輪郭発生前
処理回路21、メモリ24、輪郭発生後処理回路22、
および塗り潰し回路23にてラスタ変換回路4が構成さ
れている。
In this embodiment, the contour generation pre-processing circuit 21, the memory 24, the contour generation post-processing circuit 22,
The raster conversion circuit 4 is configured by the filling circuit 23.

【0031】次に動作について説明する。なお、座標変
換までの動作は実施例1の場合と同一であるのでその説
明は省略する。ここで、座標変換されたデータより輪郭
を発生する動作は大きく次の2段階に分けられる。
Next, the operation will be described. The operation up to coordinate conversion is the same as that in the first embodiment, and therefore its explanation is omitted. Here, the operation of generating a contour from the coordinate-converted data is roughly divided into the following two stages.

【0032】(1)輪郭データより輪郭発生に必要な情
報を生成する。具体的には、線分を発生する場合傾きで
あるとか、あるいは線分を発生するアルゴリズムとして
広く知られているブレゼンハム(Bresenham )のアルゴ
リズムであれば、線分のx,y方向の差分や誤差項の値
を求めることである。 (2)輪郭発生に必要な情報より実際に輪郭を発生す
る。
(1) Information necessary for contour generation is generated from contour data. Specifically, when a line segment is generated, it is an inclination, or in the case of Bresenham's algorithm, which is widely known as an algorithm for generating a line segment, the difference or error in the x and y directions of the line segment To find the value of a term. (2) The contour is actually generated from the information necessary for generating the contour.

【0033】このうち(1)項の処理は座標変換と同様
にその処理時間が座標数に比例し、(2)項の処理は輪
郭の長さにより処理時間がバラツクことになる。従っ
て、この(1)項の処理を実行する回路を座標変換回路
3に直結し、(1)項を処理する回路と(2)項を処理
する回路との間にメモリを設けても実施例1と同様の効
果を得ることができる。図3において輪郭発生前処理回
路21は(1)項を処理する回路に相当し輪郭発生後回
路22は(2)項を処理する回路に相当する。
Of these, the processing time of the item (1) is proportional to the number of coordinates as in the coordinate conversion, and the processing time of the process (2) varies depending on the length of the contour. Therefore, even if the circuit for executing the processing of the item (1) is directly connected to the coordinate conversion circuit 3 and a memory is provided between the circuit for processing the item (1) and the circuit for processing the item (2), The same effect as that of 1 can be obtained. In FIG. 3, the contour generation preprocessing circuit 21 corresponds to a circuit for processing the item (1), and the post-contour generation circuit 22 corresponds to a circuit for processing the item (2).

【0034】座標変換回路3で発生された輪郭データよ
り輪郭発生前処理回路21は輪郭発生に必要な傾き等の
データを発生し、メモリ24に書き込む。このメモリ2
4は実施例1におけるメモリ12と同様の、読み出しお
よび書き込みを非同期で実行可能なFIFOメモリ、あ
るいはデュアルポートメモリである。
From the contour data generated by the coordinate conversion circuit 3, the contour generation preprocessing circuit 21 generates data such as the inclination necessary for contour generation and writes it in the memory 24. This memory 2
Reference numeral 4 is a FIFO memory or a dual port memory capable of asynchronously executing reading and writing, similar to the memory 12 in the first embodiment.

【0035】輪郭発生後処理回路22はメモリ24より
輪郭発生に必要な情報を読み出して、実際に輪郭を発生
する。塗り潰し回路23は発生された輪郭より、その内
部をドットで塗り潰したドットフォントを生成して出力
する。
The contour generation post-processing circuit 22 reads information necessary for contour generation from the memory 24 and actually generates the contour. The filling circuit 23 generates and outputs a dot font whose inside is filled with dots from the generated contour.

【0036】なお、座標変換速度よりラスタ変換速度が
遅い場合には、ラスタ変換の処理の一部を座標変換処理
側へ移せるため、実施例1の場合よりさらに高速化が可
能となる。
When the raster conversion speed is slower than the coordinate conversion speed, a part of the raster conversion processing can be transferred to the coordinate conversion processing side, so that the speed can be further increased as compared with the first embodiment.

【0037】実施例3.さらに、この発明の実施例3を
図に基づいて説明する。図4は請求項3に記載の発明の
一実施例を示すブロック図で、図2と同一の部分には同
一符号を付して説明の重複をさけている。
Example 3. Further, a third embodiment of the present invention will be described with reference to the drawings. FIG. 4 is a block diagram showing an embodiment of the invention described in claim 3, and the same parts as those in FIG. 2 are designated by the same reference numerals to avoid duplicated description.

【0038】図において、31は輪郭発生前処理回路2
1によって発生された輪郭上のドットデータが、塗り潰
し回路23の塗り潰し処理によって発生される場合に
は、そのドットデータを書き込むことを禁止する信号を
発生してメモリ24に送出する書き込み禁止回路であ
る。なお、この場合、塗り潰し回路23は走査形式の塗
り潰し処理を実行する。
In the figure, 31 is a contour generation preprocessing circuit 2
When the dot data on the contour generated by No. 1 is generated by the filling processing of the filling circuit 23, a write prohibition circuit that generates a signal for prohibiting writing of the dot data and sends it to the memory 24. .. In this case, the filling circuit 23 executes scanning type filling processing.

【0039】次に動作について説明する。ここで、基本
的な動作は実施例2の場合と同様であるため、その説明
は省略する。また、図5はアウトラインフォントデータ
からドットフォントを生成する過程を示す説明図であ
る。
Next, the operation will be described. Here, since the basic operation is the same as that of the second embodiment, the description thereof will be omitted. FIG. 5 is an explanatory diagram showing a process of generating a dot font from outline font data.

【0040】塗り潰し回路23による走査形の塗り潰し
は、例えば図5の最下部に矢印で示すように、左から右
に走査を行ない、ドットがあればそれ以降のドットをオ
ンとし、その後次のドットがあれば以降のドットをオフ
として塗り潰しを完成する。このため走査ライン上の輪
郭を発生すると、このような走査形の塗り潰しが正しく
行なわれなくなるため、図5に示すように輪郭発生の
際、走査方向の輪郭は発生しない。
Scan type filling by the filling circuit 23 is performed, for example, by scanning from left to right as shown by an arrow at the bottom of FIG. 5, and if there is a dot, turns the subsequent dots on, and then the next dot. If there is, the subsequent dots are turned off and the filling is completed. For this reason, when the contour on the scanning line is generated, such scanning type filling is not correctly performed. Therefore, as shown in FIG. 5, when the contour is generated, the contour in the scanning direction is not generated.

【0041】このように、走査方向の輪郭は描画されな
いため、走査方向の輪郭発生のための情報もメモリ24
に蓄えるということは、それを読み出した輪郭発生後処
理回路22で描画の必要性の有無を判断するという処理
が必要となるため、処理速度の低下をまねき、メモリ2
4の使用効率も低下することになる。
As described above, since the contour in the scanning direction is not drawn, the information for generating the contour in the scanning direction is also stored in the memory 24.
Storing in the memory 2 requires processing for determining whether or not there is a need for drawing in the contour generation post-processing circuit 22 that has read it out, which leads to a decrease in processing speed, and the
The usage efficiency of No. 4 is also reduced.

【0042】そのため、書き込み禁止回路31は輪郭発
生前処理回路21の発生した情報が輪郭の描画の不要な
ものであれば、当該情報のメモリ24への書き込みを禁
止する信号を発生するように動作する。
Therefore, if the information generated by the contour generation preprocessing circuit 21 does not require contour drawing, the write inhibit circuit 31 operates to generate a signal that inhibits writing of the information into the memory 24. To do.

【0043】[0043]

【発明の効果】以上のように、請求項1に記載の発明に
よれば、座標変換回路とラスタ変換回路の間にメモリを
設け、座標変換回路からラスタ変換回路へ送られるデー
タをバッファリングするように構成したので、座標変換
回路とラスタ変換回路とが独立して並列に動作可能とな
り、相互の処理時間差が吸収されて文字処理を高速に行
える文字処理装置が得られる効果がある。
As described above, according to the first aspect of the invention, the memory is provided between the coordinate conversion circuit and the raster conversion circuit to buffer the data sent from the coordinate conversion circuit to the raster conversion circuit. With this configuration, the coordinate conversion circuit and the raster conversion circuit can operate independently and in parallel, and there is an effect that a character processing device capable of performing character processing at high speed is obtained by absorbing a processing time difference between them.

【0044】また、請求項2に記載の発明によれば、輪
郭発生前処理回路と輪郭発生後処理回路の間にメモリを
設け、輪郭発生前処理回路から輪郭発生後処理回路へ送
られるデータをバッファリングするように構成したの
で、輪郭発生前処理回路と輪郭発生後処理回路とが独立
して並列に動作可能となり、相互の処理時間差が吸収さ
れて文字処理を高速に行える文字処理装置が得られる効
果がある。
According to the second aspect of the invention, a memory is provided between the contour generation pre-processing circuit and the contour generation post-processing circuit, and data sent from the contour generation pre-processing circuit to the contour generation post-processing circuit is stored. Since it is configured to perform buffering, the contour generation pre-processing circuit and the contour generation post-processing circuit can operate independently and in parallel, the difference in processing time is absorbed, and a character processing device capable of high-speed character processing is obtained. It is effective.

【0045】また、請求項3に記載の発明によれば、輪
郭上の塗り潰しで発生される走査方向の線分のデータ
を、メモリへ書き込むことを禁止するように構成したの
で、メモリの書き込み時間、および読み出し時間が短縮
されて文字処理のより高速化が可能となり、メモリの使
用効率も高い文字処理装置が得られる効果がある。
According to the third aspect of the invention, the writing of the line segment data in the scanning direction, which is generated by the filling of the outline in the scanning direction, is prohibited. , And the reading time is shortened, the character processing can be speeded up, and a character processing device with high memory usage efficiency can be obtained.

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

【図1】この発明の実施例1を示すブロック図である。FIG. 1 is a block diagram showing a first embodiment of the present invention.

【図2】上記実施例の動作タイミングを、従来の文字処
理装置の動作タイミングとともに示すタイミング図であ
る。
FIG. 2 is a timing chart showing the operation timing of the above-described embodiment together with the operation timing of a conventional character processing device.

【図3】この発明の実施例2を示すブロック図である。FIG. 3 is a block diagram showing a second embodiment of the present invention.

【図4】この発明の実施例3を示すブロック図である。FIG. 4 is a block diagram showing a third embodiment of the present invention.

【図5】上記実施例におけるアウトラインフォントデー
タからドットフォントを生成する過程を示す説明図であ
る。
FIG. 5 is an explanatory diagram showing a process of generating a dot font from outline font data in the above embodiment.

【図6】従来の文字処理装置を示すブロック図である。FIG. 6 is a block diagram showing a conventional character processing device.

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

3 座標変換回路 4 ラスタ変換回路 11 アウトラインフォント記憶装置 12 メモリ 21 輪郭発生前処理回路 22 輪郭発生後処理回路 23 塗り潰し回路 24 メモリ 31 書き込み禁止回路 3 Coordinate conversion circuit 4 Raster conversion circuit 11 Outline font storage device 12 Memory 21 Contour generation pre-processing circuit 22 Contour generation post-processing circuit 23 Filling circuit 24 Memory 31 Write inhibit circuit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 G06F 15/66 355 K 8420−5L 15/72 355 U 9192−5L 400 9192−5L ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification code Internal reference number FI Technical display location G06F 15/66 355 K 8420-5L 15/72 355 U 9192-5L 400 9192-5L

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 複数の文字を、それぞれの輪郭で表現し
たアウトラインフォントデータで記憶しているアウトラ
インフォント記憶装置と、前記アウトラインフォントデ
ータに拡大,縮小などの座標変換を行う座標変換回路
と、前記座標変換されたデータによって形成される輪郭
で囲まれた領域をドットで塗り潰したドットフォントを
発生させる機能を有するラスタ変換回路とを備えた文字
処理装置において、前記座標変換回路とラスタ変換回路
との間に、前記座標変換回路の出力するデータを一旦蓄
えた後、それを前記ラスタ変換回路に送るメモリを設け
たことを特徴とする文字処理装置。
1. An outline font storage device for storing a plurality of characters as outline font data expressed by respective contours, a coordinate conversion circuit for performing coordinate conversion such as enlargement or reduction to the outline font data, In a character processing device having a raster conversion circuit having a function of generating a dot font in which a region surrounded by a contour formed by coordinate-converted data is filled with dots, a coordinate conversion circuit and a raster conversion circuit are provided. A character processing device provided with a memory for temporarily storing data output from the coordinate conversion circuit and then sending the data to the raster conversion circuit.
【請求項2】 複数の文字を、それぞれの輪郭で表現し
たアウトラインフォントデータで記憶しているアウトラ
インフォント記憶装置と、前記アウトラインフォントデ
ータに拡大,縮小などの座標変換を行う座標変換回路
と、前記座標変換されたデータによって形成される輪郭
を発生するために、当該輪郭を補間するためのデータを
生成する輪郭発生前処理回路と、前記輪郭を補間するた
めのデータに基づいて輪郭を形成するドットを発生する
輪郭発生後処理回路と、発生した前記ドットによる輪郭
で囲まれた領域をドットで塗り潰したドットフォントを
発生させる塗り潰し回路とを備えた文字処理装置におい
て、前記輪郭発生前処理回路と輪郭発生後処理回路との
間に、前記輪郭発生前処理回路の出力するデータを一旦
蓄えた後、それを前記輪郭発生後処理回路に送るメモリ
を設けたことを特徴とする文字処理装置。
2. An outline font storage device for storing a plurality of characters as outline font data represented by respective outlines, a coordinate conversion circuit for performing coordinate conversion such as enlargement or reduction to the outline font data, A contour generation preprocessing circuit that generates data for interpolating the contour to generate the contour formed by the coordinate-converted data, and a dot that forms the contour based on the data for interpolating the contour. A contour generation post-processing circuit for generating a contour generation post-processing circuit, and a filling circuit for generating a dot font in which a region surrounded by the contour of the generated dots is filled with dots. After the data output from the contour generation preprocessing circuit is temporarily stored between the post-generation processing circuit and A character processing device comprising a memory for sending to a post-contour generation processing circuit.
【請求項3】 前記ラスタ変換回路もしくは前記塗り潰
し回路が、走査形の塗り潰し処理を実行する回路であ
り、前記ラスタ変換回路もしくは前記塗り潰し回路によ
る前記塗り潰し処理によって塗り潰される輪郭上のドッ
トデータの、前記メモリへの書き込みを禁止する書き込
み禁止回路を設けたことを特徴とする、請求項1または
2に記載の文字処理装置。
3. The raster conversion circuit or the filling circuit is a circuit that executes a scan-type filling process, and the dot data on the contour that is filled by the filling process by the raster conversion circuit or the filling circuit, The character processing device according to claim 1 or 2, further comprising a write prohibition circuit that prohibits writing to the memory.
JP3315260A 1991-11-05 1991-11-05 Character processor Pending JPH05127656A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3315260A JPH05127656A (en) 1991-11-05 1991-11-05 Character processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3315260A JPH05127656A (en) 1991-11-05 1991-11-05 Character processor

Publications (1)

Publication Number Publication Date
JPH05127656A true JPH05127656A (en) 1993-05-25

Family

ID=18063294

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3315260A Pending JPH05127656A (en) 1991-11-05 1991-11-05 Character processor

Country Status (1)

Country Link
JP (1) JPH05127656A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007293546A (en) * 2006-04-24 2007-11-08 Matsushita Electric Works Ltd Image processing device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6326773A (en) * 1986-07-19 1988-02-04 Sanyo Electric Co Ltd Display processing method for graphic information
JPH03242694A (en) * 1990-02-21 1991-10-29 Hitachi Ltd System and device for calculating affine transformation and dot memory address for character generation

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6326773A (en) * 1986-07-19 1988-02-04 Sanyo Electric Co Ltd Display processing method for graphic information
JPH03242694A (en) * 1990-02-21 1991-10-29 Hitachi Ltd System and device for calculating affine transformation and dot memory address for character generation

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007293546A (en) * 2006-04-24 2007-11-08 Matsushita Electric Works Ltd Image processing device
JP4670722B2 (en) * 2006-04-24 2011-04-13 パナソニック電工株式会社 Image processing device

Similar Documents

Publication Publication Date Title
US7142213B2 (en) Graphics drawing device and method
JPS5995669A (en) Graphic processor
US5526474A (en) Image drawing with improved process for area ratio of pixel
KR100302163B1 (en) Character generating method and apparatus
JPH05127656A (en) Character processor
JPH11224331A (en) Raster image generation device and raster image generation method
JP4022014B2 (en) Image data management method
JP2910154B2 (en) Character generator
JP2523213B2 (en) Page printer print control method
JP2630843B2 (en) Straight line drawing method and apparatus
JPH01191192A (en) High quality character generating device
JPH08174921A (en) Apparatus for controlling page printer
JP3242435B2 (en) Image drawing device
JPH10198333A (en) Outline character drawing device
JP4058197B2 (en) Drawing apparatus, drawing method, and storage medium
JP2773458B2 (en) Vector controller
JP2006031160A (en) Graphic object processing method
JP2002236917A (en) Image data processor
JPH02196296A (en) Character generator
JPH03281363A (en) Document output device
JP2002361946A (en) Image processing unit and processing method therefor
JPH05119760A (en) Character pattern generating device
JPH11198465A (en) Character output device
JPH05127662A (en) Display device of information equipment
JPH0341583A (en) Method and device for painting out