JP2000235383A - Device and method for processing character - Google Patents

Device and method for processing character

Info

Publication number
JP2000235383A
JP2000235383A JP11035384A JP3538499A JP2000235383A JP 2000235383 A JP2000235383 A JP 2000235383A JP 11035384 A JP11035384 A JP 11035384A JP 3538499 A JP3538499 A JP 3538499A JP 2000235383 A JP2000235383 A JP 2000235383A
Authority
JP
Japan
Prior art keywords
data
font
unit
division
outline
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
JP11035384A
Other languages
Japanese (ja)
Inventor
Shigeru Saito
茂 齋藤
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP11035384A priority Critical patent/JP2000235383A/en
Publication of JP2000235383A publication Critical patent/JP2000235383A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a device and a method for processing character by which a high speed expansion processing can be realized by eliminating the process, that discriminates whether a divided processing for plural polygons is necessary or not, in a bit map expansion processing based on outline font data. SOLUTION: A dividing discrimination flag discriminates whether it is necessary to divide character data into plural polygonal data or not in order to conduct a bit map expansion by hardware. The flag is held to be made correspond to individual character data stored in an outline font data storing section and the necessity of the dividing is determined based on the dividing discrimination flags (S1 through S3). By this configuration, a dividing discrimination processing step by means of a conventional scan line operation is eliminated and a high speed expansion processing is realized.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はアウトラインフォン
トデータを読み込み、読み込まれたフォントデータに基
づいてビットマップ展開を行なう文字処理装置及び文字
処理方法に関する。さらに詳しくは、読み込まれたフォ
ントデータに基づいて行われるビットマップ展開におい
てフォントデータを複数の多角形に分割して処理する必
要があるか否かについての判定フラグを個々のアウトラ
インフォントデータに対応させて付加する構成により、
読み込まれたフォントデータについての分割判定処理の
逐次実行を省略可能とし、高速な展開処理を可能とした
文字処理装置及び文字処理方法に関するものである。
[0001] 1. Field of the Invention [0002] The present invention relates to a character processing device and a character processing method for reading outline font data and developing a bitmap based on the read font data. In more detail, in the bitmap expansion performed based on the read font data, a determination flag as to whether or not the font data needs to be divided into a plurality of polygons and processed needs to be associated with each outline font data. Depending on the configuration
The present invention relates to a character processing device and a character processing method that can omit sequential execution of division determination processing for read font data and enable high-speed expansion processing.

【0002】[0002]

【従来の技術】アウトラインフォントデータをビットマ
ップ形式に展開する手順の概略について図1を用いて説
明する。アウトラインフォントデータをビットマップ形
式に展開するためには、まず要求された文字のアウトラ
インフォントデータを2次記憶装置などから読み込む。
読み込まれたアウトラインフォントデータが図1(a)
のようなデータであるとすると、まず、読み込んだアウ
トラインフォントデータを図1(b)のような指定され
たサイズに変換するためマトリクス変換を行う。さら
に、図1(c)のような曲線で表現された部分を直線近
似した多角形データに変換した後、スキャンラインごと
に塗りつぶしの処理を行いビットマップに展開(図1
(d))する。しかし、このような展開処理には時間が
かかるという問題がある。
2. Description of the Related Art An outline of a procedure for developing outline font data into a bitmap format will be described with reference to FIG. To develop the outline font data into a bitmap format, the outline font data of the requested character is first read from a secondary storage device or the like.
The read outline font data is shown in FIG.
First, matrix conversion is performed to convert the read outline font data into a designated size as shown in FIG. 1B. Further, after the portion represented by the curve as shown in FIG. 1C is converted into polygonal data which is approximated by a straight line, a process of filling is performed for each scan line and developed into a bit map (FIG. 1).
(D)). However, there is a problem that such a development process takes time.

【0003】この問題を解決するための従来手法にはい
くつかあるが、例えば、その1つにアウトラインフォン
トデータをビッマップ形式に展開したデータをキャッシ
ュに登録するものがある。この構成は、キャッシュ登録
済みのフォントの種類と文字コードと文字サイズが同じ
ビットマップデータを再度要求された場合、再度ビット
マップ展開処理を行うのではなく、キャッシュに登録し
てあるビットマップデータを利用する構成とすることに
より処理時間を短縮する工夫がなされたものである。
There are several conventional techniques for solving this problem. For example, one of them is to register data obtained by expanding outline font data into a bitmap format in a cache. In this configuration, when bitmap data with the same font type, character code, and character size registered in the cache is requested again, the bitmap data registered in the cache is copied instead of performing bitmap expansion processing again. It is devised to reduce the processing time by adopting a configuration.

【0004】しかしながら、ビットマップデータは一文
字あたりのデータサイズが大きいため、上述のキャッシ
ュ登録方法ではキャッシュに登録できる文字数が限ら
れ、文字のヒット率(キャッシュからの読み込み成功
率)が低下するという問題がある。これを解決するため
の構成として特開平3−287297号公報に記載の文
字発生回路がある。これはアウトラインデータを直線近
似した多角形データをキャッシュに登録するものであ
り、多角形データはデータサイズが小さいため、従来の
ビットマップデータを登録する場合に比べ、より多くの
文字をキャッシュに登録できるようになり、省メモリ
化、高速化が期待できる。
However, since the bitmap data has a large data size per character, the above-described cache registration method limits the number of characters that can be registered in the cache and reduces the character hit rate (the success rate of reading from the cache). There is. As a configuration for solving this, there is a character generation circuit described in Japanese Patent Application Laid-Open No. 3-287297. This is to register polygon data obtained by linearly approximating the outline data in the cache.Since polygon data has a small data size, more characters are registered in the cache than when registering conventional bitmap data. It is possible to save memory and speed up.

【0005】ところで、アウトラインデータを直線近似
した多角形データをビットマップ展開する際の一般的手
法は、まずアウトラインフォントデータの曲線部分を直
線近似し、多角形データを生成し、次に生成された多角
形の各辺と出力デバイスの各スキャンラインとの交点座
標をDDA(Digital Differentia
l Analyzer:デジタル差分アナライザ)など
の手法で計算し、さらに、各スキャンライン毎にX座標
値でソートして塗りつぶしの始点/終点の対応を求め、
その区間に対応したスキャンラインに平行な線分をメモ
リ上に描画していくものである。
[0005] By the way, a general method of developing polygon data obtained by linearly approximating outline data into a bit map is to first linearly approximate the curve portion of the outline font data to generate polygon data, and then generate the polygon data. The coordinates of the intersection between each side of the polygon and each scan line of the output device are represented by DDA (Digital Differentia).
lAnalyzer: digital difference analyzer), and further, sorting by the X coordinate value for each scan line to obtain the correspondence between the start point and the end point of the fill,
A line segment parallel to the scan line corresponding to the section is drawn on the memory.

【0006】このような図形描画処理において、ビット
マップ展開のための動作は、各辺毎のDDAでの交点計
算やソートなどを含んでいるため重い処理となり、全体
の処理速度を落とす大きな要因となる。そこで、専用ハ
ードウエアによる高速処理が図られることが多い。しか
しながら、これらの処理は、例えば図2(a)のように
凸多角形の場合には比較的単純であるが、図2(b)の
ように凹部を含んでいる場合や図2(c)のように辺の
交差を含んでいる場合には、各スキャンラインについて
複数の始点/終点の対が存在することになり、求められ
た各交点をソートして対応を見つける処理が、さらに必
要になる。入力される図形の複雑さに制約が無い場合に
は、発生する交点の個数に制限がなくハードウエアでソ
ート回路を構成することは非常に困難となる。
In such a graphic drawing process, the operation for bitmap development is a heavy process because it involves the calculation of intersections and sorting by DDA for each side, which is a major factor that lowers the overall processing speed. Become. Therefore, high-speed processing by dedicated hardware is often achieved. However, these processes are relatively simple, for example, in the case of a convex polygon as shown in FIG. 2 (a), but in the case of including a concave portion as shown in FIG. In the case where the intersection of the sides is included as in the above, there are a plurality of pairs of the start point / end point for each scan line, and a process of sorting the obtained intersections to find a correspondence is further required. Become. If there is no restriction on the complexity of the input graphic, there is no limit to the number of intersections that occur, and it is very difficult to configure a sort circuit with hardware.

【0007】このような問題を解決する試みとして、図
3のように多角形を底辺がX軸に平行な台形(四角形や
三角形を含む)など、ソートの必要性を生じさせない部
分図形に分割し、それぞれの分割多角形を基本として処
理を実行する手法がある。図3(a)が曲線で表現され
た部分を直線近似した多角形データであり、図3(b)
がこの多角形データを部分図形に分割するための分割ラ
インを示したものである。図3(c)は分割した1つの
部分図形(台形)を示す。個々の部分図形に基づいてビ
ットマップ展開を実行して図3(d)の出力を得る。こ
のような考え方に基づいて処理を行なう構成を示す従来
技術として、特開昭60−74086号公報や特開昭6
1−248176号公報に記載の技術がある。
As an attempt to solve such a problem, as shown in FIG. 3, a polygon is divided into partial figures such as trapezoids (including squares and triangles) whose bases are parallel to the X-axis, which do not require sorting. There is a method of executing processing based on each divided polygon. FIG. 3A shows polygon data obtained by linearly approximating a portion represented by a curve, and FIG.
Shows a division line for dividing the polygon data into partial figures. FIG. 3C shows one divided partial figure (trapezoid). Bitmap expansion is performed based on each partial figure to obtain the output of FIG. As prior art showing a configuration for performing processing based on such a concept, Japanese Patent Application Laid-Open Nos. 60-74086 and
There is a technique described in Japanese Patent Application Laid-Open No. 1-248176.

【0008】さらに、展開処理部に2N個のDDA回路
と、2N個のデータをソート可能なソート回路を持ち、
各スキャンラインでの描画線分数をN本以下に制限した
多角形に分割して処理する構成を示す従来技術として、
特願平9−302403号公報などがある。
Further, the expansion processing unit has 2N DDA circuits and a sort circuit capable of sorting 2N data,
As a prior art showing a configuration in which the number of drawing line segments in each scan line is divided into polygons limited to N or less and processed.
There is Japanese Patent Application No. 9-302403.

【0009】[0009]

【発明が解決しようとする課題】上述のような各種の手
法が考案されているが、アウトラインフォントデータか
ら生成された多角形データについて分割する必要がある
か否かを判定する判定処理は、すべてのスキャンライン
についてエッジの数が2N(DDA回路の個数に相当す
る)を超えているか調べる必要があるため時間がかか
り、従来の処理装置においては、要求されたすべての文
字に対して逐次、分割判定処理を実行することを必要と
する構成であるため全体の処理時間が長引くという問題
は避けられなかった。
Although various techniques as described above have been devised, all of the determination processes for determining whether or not it is necessary to divide polygon data generated from outline font data are performed. It is necessary to check whether the number of edges exceeds 2N (corresponding to the number of DDA circuits) for the scan line of, and it takes time. In the conventional processing device, all the required characters are sequentially divided into Since the configuration requires execution of the determination processing, the problem that the entire processing time is prolonged cannot be avoided.

【0010】本発明はこのような点に鑑みてなされたも
のである。本発明の文字処理装置および文字処理方法
は、文字データの各々に対応させて、その文字データが
各スキャンラインで描画線分数を予め設定された数に制
限した複数の多角形に分割する必要があるか否かを表す
フラグをあらかじめ設定した構成としたものである。こ
の構成により、従来の装置において必須の処理プロセス
であった文字ごとの分割判定処理を省略可能として高速
な展開処理を実現する文字処理装置及び文字処理方法を
提供することを可能とする。
The present invention has been made in view of such a point. According to the character processing device and the character processing method of the present invention, it is necessary to divide the character data into a plurality of polygons in which the number of drawing line segments is limited to a predetermined number in each scan line in correspondence with each of the character data. This is a configuration in which a flag indicating whether or not there is a flag is set in advance. With this configuration, it is possible to provide a character processing apparatus and a character processing method that realize high-speed expansion processing by omitting division determination processing for each character, which is an essential processing process in a conventional apparatus.

【0011】[0011]

【課題を解決するための手段】本発明は、上記の目的を
達成するために成された文字処理装置に関するものであ
る。即ち、本発明は、アウトラインフォントデータをビ
ットマップ展開する文字処理装置において、アウトライ
ンフォントデータを格納し管理するとともに、該アウト
ラインフォントデータに基づくビットマップ展開処理に
際して複数の多角形データへの分割処理が必要か否かを
示す分割判定フラグを個々のアウトラインフォントデー
タに対応させて管理するフォント情報管理部と、フォン
ト情報管理部で読み込んだアウトラインフォントデータ
中の曲線で表現された部分の直線近似を実行することに
より多角形データへの変換を行なう直線ベクタ生成部
と、直線ベクタ生成部で生成した多角形データを必要に
応じて複数の多角形データに分割する分割処理部と、直
線ベクタ生成部または分割処理部いずれかで生成された
1以上の多角形データをビットマップに展開する展開処
理部と、分割処理部で分割された多角形データを格納す
るフォントキャッシュ部とを備えることを特徴とする。
SUMMARY OF THE INVENTION The present invention relates to a character processing apparatus for achieving the above object. That is, according to the present invention, in a character processing device that develops outline font data into a bitmap, the outline font data is stored and managed, and when the outline font data is subjected to a bitmap development process based on the outline font data, division into a plurality of polygon data is performed. A font information management unit that manages the division determination flag indicating whether it is necessary or not according to each outline font data, and executes a linear approximation of the part represented by the curve in the outline font data read by the font information management unit A linear vector generating unit that converts the polygon data into polygon data by dividing the polygon data generated by the linear vector generating unit into a plurality of polygon data as necessary; One or more polygon data generated by any of the division processing units A development processing unit to deploy the bitmaps, characterized in that it comprises a font cache unit for storing polygon data divided by the division processing section.

【0012】さらに、本発明の文字処理装置において、
分割判定フラグは、フォント情報管理部に格納されたア
ウトラインフォントデータの各々に基づいて生成される
直線ベクタのスキャンラインにおける交差辺数が、展開
処理部内に備えられた並列動作可能なデジタル差分アナ
ライザ(DDA)の個数に相当する数2Nを超える場合
に分割要を示すように設定され、交差辺数が2N以下の
場合は分割不要を示すように設定されたフラグであるこ
とを特徴とする。
Further, in the character processing device of the present invention,
The division determination flag indicates whether the number of crossing sides of the scan line of the linear vector generated based on each of the outline font data stored in the font information management unit is equal to the number of parallel sides of the digital difference analyzer ( A flag is set to indicate that division is required when the number exceeds 2N corresponding to the number of DDAs, and is set to indicate that division is unnecessary when the number of intersection sides is 2N or less.

【0013】さらに、本発明の文字処理装置において、
分割処理部は、出力要求のあるアウトラインフォントデ
ータに対応する分割判定フラグが分割要を示す場合に、
処理対象スキャンラインでの直線ベクタの交差辺数をカ
ウントして、該カウントされた交差辺数と展開処理部の
有するDDA部の構成数2Nとを比較して、交差辺数が
2Nを超えている部分のエッジを分割し、すべてのスキ
ャンラインでの交差辺数が2N以下になるまで分割を実
行する構成を有することを特徴とする。
Further, in the character processing device of the present invention,
The division processing unit, when the division determination flag corresponding to the outline font data for which output is requested indicates that division is necessary,
The number of crossing sides of the straight line vector in the scan line to be processed is counted, and the counted number of crossing sides is compared with the number 2N of the configuration of the DDA unit included in the expansion processing unit. The present invention is characterized in that an edge of a portion where the scan line is located is divided, and division is performed until the number of intersection sides in all scan lines becomes 2N or less.

【0014】さらに、本発明の文字処理装置は、アウト
ラインフォントデータをビットマップ展開する文字処理
装置において、アウトラインフォントデータを格納し管
理するとともに、少なくとも一部のアウトラインフォン
トデータについてはあらかじめ複数の多角形データに分
割した分割多角形データを格納し管理するフォント情報
管理部と、フォント情報管理部で読み込んだアウトライ
ンフォントデータ中の曲線で表現された部分の直線近似
を実行することにより多角形データへの変換を行なう直
線ベクタ生成部と、直線ベクタ生成部で生成した多角形
データをビットマップに展開する展開処理部と、直線ベ
クタ生成部で生成した多角形データを格納するフォント
キャッシュ部とを備えることを特徴とする。
Further, according to the character processing device of the present invention, in a character processing device for developing outline font data into a bit map, the outline font data is stored and managed, and at least a part of the outline font data is stored in a plurality of polygons in advance. A font information management unit that stores and manages the divided polygon data divided into data, and a linear approximation of a part represented by a curve in the outline font data read by the font information management unit to execute the polygon data conversion. A straight line vector generation unit for performing conversion, a development processing unit for expanding the polygon data generated by the straight line vector generation unit into a bitmap, and a font cache unit for storing the polygon data generated by the straight line vector generation unit It is characterized by.

【0015】さらに、本発明の文字処理装置は、フォン
ト情報管理部において、あらかじめ複数の多角形データ
に分割した分割多角形データを格納する対象となるアウ
トラインフォントデータは、アウトラインフォントデー
タに基づいて生成される直線ベクタのスキャンラインに
おける交差辺数が前記展開処理部内に備えられた並列動
作可能なデジタル差分アナライザ(DDA)の個数2N
を超えるアウトラインフォントデータであることを特徴
とする。
Further, in the character processing apparatus according to the present invention, the font information management unit generates outline font data for storing divided polygon data previously divided into a plurality of polygon data based on the outline font data. The number of intersecting sides in the scan line of the linear vector to be processed is 2N, the number of parallel-operable digital difference analyzers (DDA) provided in the expansion processing unit.
The outline font data is more than.

【0016】さらに、本発明の文字処理方法は、アウト
ラインフォントデータをビットマップ展開する文字処理
方法において、アウトラインフォントデータ及び該アウ
トラインフォントデータに基づくビットマップ展開処理
に際して複数の多角形データへの分割処理が必要か否か
を示す分割判定フラグをフォント情報管理部において読
み込むステップと、フォント情報管理部において読み込
んだアウトラインフォントデータ中の曲線表現部分を直
線近似することによりアウトラインデータを多角形デー
タに変換する直線ベクタ生成ステップと、分割判定フラ
グが分割要を示す場合に、前記直線ベクタ生成ステップ
において生成した直線ベクタを複数の多角形データに分
割する分割処理ステップと、直線ベクタ生成ステップま
たは前記分割処理ステップで生成された1以上の多角形
データをビットマップに展開する展開処理ステップと、
分割処理ステップにおいて分割された多角形データをフ
ォントキャッシュ部に格納するステップとを有すること
を特徴とする。
Further, the character processing method of the present invention is a character processing method for developing outline font data into a bitmap, wherein the outline font data is divided into a plurality of polygon data in the bitmap development processing based on the outline font data. Reading a division determination flag indicating whether or not the outline data is necessary in the font information management unit, and converting the outline data into polygon data by linearly approximating the curve expression part in the outline font data read in the font information management unit A straight line vector generation step, a division processing step of dividing the straight line vector generated in the straight line vector generation step into a plurality of polygon data when the division determination flag indicates the necessity of division, a straight line vector generation step or the division processing A development processing step of deploying the one or more polygon data generated in steps a bit map,
Storing the polygon data divided in the division processing step in the font cache unit.

【0017】[0017]

【発明の実施の形態】以下、本発明の文字処理装置およ
び文字処理方法の詳細について、複数の実施例を示して
図4以下の図面を参照しながら説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The details of a character processing apparatus and a character processing method according to the present invention will be described below with reference to FIGS.

【0018】[0018]

【実施例】[実施例1]図4は本発明の文字処理装置お
よび文字処理方法における動作原理を説明するブロック
図である。図4に示すように、本発明に係わる文字処理
装置は、入力部1と、制御部2と、フォント情報管理部
3と、直線ベクタ生成部4と、分割処理部5と、フォン
トキャッシュ部6と、展開処理部7と、出力部8とを有
する。以下、本実施例の各構成要素の概要および動作に
ついて説明する。
[Embodiment 1] FIG. 4 is a block diagram for explaining the principle of operation of a character processing apparatus and a character processing method according to the present invention. As shown in FIG. 4, the character processing apparatus according to the present invention includes an input unit 1, a control unit 2, a font information management unit 3, a straight line vector generation unit 4, a division processing unit 5, a font cache unit 6, And an expansion processing unit 7 and an output unit 8. Hereinafter, the outline and operation of each component of the present embodiment will be described.

【0019】図4に示す文字処理装置において、入力部
1はユーザ指示や外部からの入力により、フォントの種
類を表すフォントID、文字コード、文字サイズを1文
字分ずつ制御部に送る。
In the character processing apparatus shown in FIG. 4, the input unit 1 sends a font ID representing a font type, a character code, and a character size to the control unit one by one according to a user's instruction or an external input.

【0020】制御部2は、出力を要求された文字のフォ
ントID、文字コード、文字サイズをフォントキャッシ
ュ部6に転送し、該当する文字データがキャッシュに登
録されている場合は、受け取ったデータを展開処理部7
に転送し、ビットマップ展開する。また、該当する文字
データがキャッシュに登録されていない場合は、まずフ
ォント情報管理部3で該当する文字のアウトラインデー
タおよび、そのアウトラインデータを複数の多角形に分
割する必要があるかを判別するために当該アウトライン
データに対応して付加された分割判定フラグを読み込
み、直線ベクタ生成部4で直線近似を実行する。次に分
割判定フラグによって分割が必要であると判定された場
合は直線ベクタ生成部4で生成されたベクタを分割処理
部5で多角形データに分割し、最後に多角形データをキ
ャッシュに登録すると同時に、展開処理部7でビットマ
ップ展開を行う。
The control unit 2 transfers the font ID, the character code, and the character size of the character requested to be output to the font cache unit 6. If the corresponding character data is registered in the cache, the received data is transferred to the font cache unit 6. Expansion processing unit 7
And expand the bitmap. If the corresponding character data is not registered in the cache, the font information management unit 3 first determines the outline data of the corresponding character and whether the outline data needs to be divided into a plurality of polygons. Then, the division determination flag added corresponding to the outline data is read, and the straight line vector generation unit 4 executes straight line approximation. Next, when it is determined by the division determination flag that division is necessary, the vector generated by the straight line vector generation unit 4 is divided into polygon data by the division processing unit 5, and finally the polygon data is registered in the cache. At the same time, the expansion processing unit 7 performs bitmap expansion.

【0021】フォント情報管理部3は、要求されたフォ
ントIDおよび文字コードに対応するアウトラインデー
タを読み込み、マトリクス変換を行った後、制御部2に
転送する。さらに複数の多角形に分割する必要があるか
判別する分割判定フラグを読み込み、同様に制御部2に
転送する。
The font information management unit 3 reads outline data corresponding to the requested font ID and character code, performs matrix conversion, and transfers the matrix data to the control unit 2. Further, a division determination flag for determining whether it is necessary to divide the polygon into a plurality of polygons is read and transferred to the control unit 2 in the same manner.

【0022】直線ベクタ生成部4は、前記フォント情報
管理部3で読み込んだアウトラインデータに曲線が含ま
れている場合、その曲線部分を微小な直線ベクターで近
似する処理を行う。
When the outline data read by the font information management unit 3 includes a curve, the straight line vector generation unit 4 performs a process of approximating the curve portion with a minute straight line vector.

【0023】分割処理部5は、前記直線ベクタ生成部4
で生成された直線ベクタを、前記フォント情報管理部3
で読み込んだ分割判定フラグ、すなわち読み込んだアウ
トラインデータを複数の多角形に分割する必要があるか
を判別するために個々のアウトラインデータに対応して
付加された分割判定フラグが分割要を示す「true」
であった場合に、各スキャンラインでの描画線分数を制
限した部分多角形に分割する。
The division processing unit 5 includes the linear vector generation unit 4
The straight line vector generated by the font information management unit 3
, The division determination flag added corresponding to each outline data to determine whether it is necessary to divide the read outline data into a plurality of polygons indicates “true”. "
Is satisfied, the image is divided into partial polygons in which the number of drawing line segments in each scan line is limited.

【0024】フォントキャッシュ部6は、前記分割処理
部5で分割したベクタデータをキャッシュに登録する。
次に同じフォントID、文字コード、文字サイズのデー
タが要求されたら、フォントキャッシュから該当するデ
ータを読み込み制御部2に転送する。展開処理部7は、
前記分割処理部5で分割したデータ、あるいは前記フォ
ントキャッシュ部から読み込んだデータをビットマップ
展開し、制御部2に転送する。出力部8は、前記展開処
理部7でビットマップ展開したデータをプリンタやディ
スプレイ装置などの出力デバイスに転送する。これによ
って、印刷や表示が行われる。以上、本発明の文字処理
装置の概要について記述した。
The font cache unit 6 registers the vector data divided by the division processing unit 5 in a cache.
Next, when data of the same font ID, character code, and character size is requested, the corresponding data is read from the font cache and transferred to the control unit 2. The expansion processing unit 7
The data divided by the division processing unit 5 or the data read from the font cache unit is developed into a bitmap and transferred to the control unit 2. The output unit 8 transfers the data that has been bit-mapped by the expansion processing unit 7 to an output device such as a printer or a display device. Thereby, printing and display are performed. The outline of the character processing device of the present invention has been described above.

【0025】次に、本発明の文字処理装置における処理
の流れを図5に示すフローチャートに沿って説明する。
Next, the flow of processing in the character processing apparatus of the present invention will be described with reference to the flowchart shown in FIG.

【0026】図5に示すS1では、図4に示す入力部1
からフォントID、文字コード、文字サイズの情報を取
得する。S2では、該当する文字データがフォントキャ
ッシュ部6に登録されているか調べ、登録されている場
合はS8へ、登録されていない場合はS3に移る。S3
では、要求された文字に対応するデータをフォント情報
管理部3で読み込み、マトリクス変換を行う。S4で
は、マトリクス変換を行ったアウトラインデータの曲線
部分を、直線ベクタ生成部4で直線近似する。S5で
は、S3で読み込んだ分割判定フラグが「true」の
場合はS6へ、「false」の場合はS7に移る。S
6では、直線近似したデータを分割処理部5で、スキャ
ンラインごとにエッジ数を制限したベクタに変換する。
S7では、必要な分割処理を行ったデータと、フォント
ID、文字コード、文字サイズの情報をフォントキャッ
シュ部6に転送し、キャッシュに登録する。S8では、
フォントキャッシュ部6から、要求された文字に該当す
るデータを読み込みS9に移る。S9では、スキャンラ
インごとにエッジ数を制限したベクタを展開処理部7で
ビットマップ展開する。S10では、展開処理部7でビ
ットマップ展開されたデータを出力部へ転送する。この
ような動作を入力される文字の数だけ繰り返し行う。
In S1 shown in FIG. 5, the input unit 1 shown in FIG.
, The information of the font ID, character code, and character size is obtained. In S2, it is checked whether or not the corresponding character data is registered in the font cache unit 6. If the character data is registered, the process proceeds to S8, and if not, the process proceeds to S3. S3
Then, data corresponding to the requested character is read by the font information management unit 3 and matrix conversion is performed. In S4, the straight line vector generation unit 4 linearly approximates the curved portion of the outline data that has been subjected to the matrix conversion. In S5, if the division determination flag read in S3 is "true", the process proceeds to S6, and if "false", the process proceeds to S7. S
In step 6, the linearly approximated data is converted by the division processing unit 5 into a vector having a limited number of edges for each scan line.
In S7, the data subjected to the necessary division processing and the information of the font ID, the character code, and the character size are transferred to the font cache unit 6 and registered in the cache. In S8,
The data corresponding to the requested character is read from the font cache unit 6, and the process proceeds to S9. In S9, the expansion processing unit 7 bitmap-expands the vector in which the number of edges is limited for each scan line. In S10, the data that has been bit-mapped by the expansion processing unit 7 is transferred to the output unit. Such an operation is repeated for the number of input characters.

【0027】次に、本発明における文字処理装置の主要
部の詳細について説明する。はじめに、図4に示すフォ
ント情報管理部3について詳細に説明する。図6にフォ
ント情報管理部3の構成を示す。フォント情報管理部3
は、図6に示すようにアウトラインデータ読込部31
と、アウトラインフォントデータ格納部32と、分割判
定フラグ読み込み部33と、分割判定フラグ格納部34
と、マトリクス変換部35とから構成されている。
Next, the details of the main part of the character processing device according to the present invention will be described. First, the font information management unit 3 shown in FIG. 4 will be described in detail. FIG. 6 shows the configuration of the font information management unit 3. Font information management unit 3
Is the outline data reading unit 31 as shown in FIG.
An outline font data storage unit 32, a division determination flag reading unit 33, and a division determination flag storage unit 34
And a matrix conversion unit 35.

【0028】まず、アウトラインデータ読込部31で、
制御部2から転送されたフォントIDおよび文字コード
に対応するフォントデータをアウトラインフォントデー
タ格納部32から読み込み、読み込んだフォントデータ
をマトリクス変換部35で所定の文字サイズに変換す
る。次に、分割判定フラグ読み込み部33で分割判定フ
ラグ格納部34から分割判定フラグを読み込む。最後に
マトリクス変換を行なったフォントデータと分割判定フ
ラグを制御部2に転送する。
First, in the outline data reading unit 31,
Font data corresponding to the font ID and the character code transferred from the control unit 2 are read from the outline font data storage unit 32, and the read font data is converted into a predetermined character size by the matrix conversion unit 35. Next, the division determination flag reading unit 33 reads the division determination flag from the division determination flag storage unit 34. Finally, the font data subjected to the matrix conversion and the division determination flag are transferred to the control unit 2.

【0029】次にアウトラインフォントデータ格納部3
2の構成例を図7に示す。アウトラインフォントデータ
はフォントの種類を表すフォントIDとフォントデータ
を対応させたものであり、その構造としては例えば、図
7(a)に示すようにフォントの種類を表すフォントI
Dとフォントデータのマップを指定するマップデータ、
さらに図7(a)のマップによって指定される図7
(b)に示すような文字コードと文字データのポインタ
を対応づけたデータ、さらに図7(b)のポインタによ
って指定される図7(c)のような文字データ、これら
のデータ構成を持つ。このような構成によって個々のフ
ォントに対する文字データが対応付けられている。図7
(c)の文字データ中に保持されている描画命令数は一
文字分のデータに含まれる描画命令の数を表す。また、
描画命令はカレントポイントの移動や、直線描画、曲線
描画などの命令を表す。
Next, the outline font data storage unit 3
FIG. 7 shows a configuration example of No. 2. The outline font data is obtained by associating a font ID representing a font type with font data, and has a structure such as a font I representing a font type as shown in FIG.
Map data specifying a map of D and font data,
Further, FIG. 7 designated by the map of FIG.
Data having a character code and character data pointers associated with each other as shown in FIG. 7B, and character data as shown in FIG. 7C designated by the pointer in FIG. With such a configuration, character data for each font is associated with each other. FIG.
The number of drawing commands held in the character data of (c) indicates the number of drawing commands included in data for one character. Also,
The drawing command represents a command for moving the current point, drawing a straight line, drawing a curve, and the like.

【0030】次に分割判定フラグ格納部34の構成例、
すなわち分割判定フラグ格納部34の格納データ構成を
図8に示す。分割判定フラグは、出力要求があり、フォ
ント情報管理部3から読み込んだフォントデータを展開
処理する際に複数の多角形に分割する必要があるか否か
を判別するためのフラグである。読み込んだフォントデ
ータを分割する必要がある場合は「true」、分割の
必要がない場合は「false」のフラグをすべてのフ
ォントデータに対応させて付加する。この分割判定フラ
グは、フォント情報管理部3が管理するフォントデータ
について、あらかじめ分割の必要があるかを調べてお
き、それぞれのフォントに対して図8に示すようなマッ
プを作成して分割判定フラグ格納部34に記憶しておく
ものである。図8にはフォント1、フォント2の2つの
フォントについて、それぞれのフォント中の個々の文字
コードについて分割判定フラグ「true」、「fal
se」が対応付けられた例を示している。
Next, an example of the configuration of the division determination flag storage unit 34,
That is, FIG. 8 shows a configuration of data stored in the division determination flag storage unit 34. The division determination flag is a flag for determining whether or not it is necessary to divide the font data read from the font information management unit 3 into a plurality of polygons when developing the font data. If it is necessary to divide the read font data, a flag of "true" is added, and if it is not necessary to divide the font data, a flag of "false" is added to all the font data. The division determination flag is determined in advance as to whether the font data managed by the font information management unit 3 needs to be divided, and a map as shown in FIG. This is stored in the storage unit 34. FIG. 8 shows the division determination flags “true” and “fal” for each character code in each font for two fonts, font 1 and font 2.
The example in which "se" is associated is shown.

【0031】分割判定フラグ「true」、及び「fa
lse」は、フォント情報管理部3が管理するアウトラ
インフォントデータの各々に対応して付加され、図6に
示す分割判定フラグ格納部34に格納される。分割判定
フラグは、フォント情報管理部3に格納された個々のア
ウトラインフォントデータから生成される直線ベクタの
スキャンラインにおける交差辺数を、展開処理部7内に
備えられた並列動作可能なデジタル差分アナライザ(D
DA)の個数と比較し、この比較に基づいてあらかじめ
設定されたものである。
The division determination flags "true" and "fa"
“lse” is added corresponding to each of the outline font data managed by the font information management unit 3 and stored in the division determination flag storage unit 34 shown in FIG. The division determination flag determines the number of intersecting sides in a scan line of a linear vector generated from individual outline font data stored in the font information management unit 3 by using a digital differential analyzer capable of operating in parallel provided in the expansion processing unit 7. (D
DA), and is set in advance based on the comparison.

【0032】展開処理部7内に備えられた並列動作可能
なデジタル差分アナライザ(DDA)の個数が2Nであ
る場合、フォント情報管理部3が管理するアウトライン
フォントデータから生成される直線ベクタのスキャンラ
インにおける交差辺数が2N以下の場合は分割不要を示
す「false」の分割判定フラグがそのアウトライン
フォントデータに対応付けられ、交差辺数が2Nを超え
る場合は分割要を示す「true」の分割判定フラグが
そのアウトラインフォントデータに対応付けられる。図
8を用いて説明すると、例えばフォント1中の文字コー
ド「0X4270」には分割判定フラグ「true」が
対応づけられている。これは、この文字コード「0X4
270」に対応するアウトラインフォントデータから生
成される直線ベクタのスキャンラインにおける交差辺数
は2Nを超えるものであり分割が必要であるということ
を示すものである。また、同じくフォント1中の文字コ
ード「0X4272」には分割判定フラグ「fals
e」が対応づけられている。これは、この文字コード
「0X4272」に対応するアウトラインフォントデー
タから生成される直線ベクタのスキャンラインにおける
交差辺数は2N以下であり、分割は不要であることを示
すものである。
When the number of digital difference analyzers (DDA) that can be operated in parallel provided in the expansion processing unit 7 is 2N, the scan line of the linear vector generated from the outline font data managed by the font information management unit 3 When the number of intersection sides is 2N or less, a division determination flag of "false" indicating that division is unnecessary is associated with the outline font data, and when the number of intersection sides exceeds 2N, "true" that indicates division is required. A flag is associated with the outline font data. Explaining with reference to FIG. 8, for example, the character code "0X4270" in the font 1 is associated with the division determination flag "true". This is because the character code "0X4
The number of intersecting sides on the scan line of the straight line vector generated from the outline font data corresponding to “270” exceeds 2N, indicating that division is necessary. Similarly, the character code “0X4272” in the font 1 has a division determination flag “falses”.
"e" is associated with it. This indicates that the number of intersecting sides on the scan line of the straight line vector generated from the outline font data corresponding to the character code "0X4272" is 2N or less, and that division is unnecessary.

【0033】このように本発明の文字処理装置は、フォ
ント情報管理部3が管理するアウトラインフォントデー
タの各々について、アウトラインフォントデータから生
成される直線ベクタから構成される多角形の各辺と出力
デバイスの各スキャンラインとの交差辺数と、展開処理
部7において、交点座標を計算するDDA(Digit
al Differential Analyzer:
デジタル差分アナライザ)部の構成数2Nとを比較し、
その比較結果に基づいてアウトラインデータに基づく多
角形データの分割要否を予め決定し、この決定に基づく
分割判定フラグを個々のアウトラインデータに対応させ
て付加しておく構成としている。展開処理部7の構成、
動作については後段でさらに説明する。
As described above, according to the character processing apparatus of the present invention, for each of the outline font data managed by the font information management unit 3, each side of the polygon constituted by the linear vector generated from the outline font data and the output device And the number of intersections with each scan line and the DDA (Digit
al Differential Analyzer:
Digital difference analyzer) part number 2N
Based on the comparison result, the necessity of dividing the polygon data based on the outline data is determined in advance, and a division determination flag based on the determination is added corresponding to each outline data. Configuration of the expansion processing unit 7,
The operation will be further described later.

【0034】次に、直線ベクタ生成部4について詳細に
説明する。直線ベクタ生成部4は、前記フォント情報管
理部3で読み込んだアウトラインフォントデータ中に曲
線が含まれている場合に、その曲線部分を直線ベクタに
近似させる変換処理を行なう。この直線ベクタ生成部4
における変換処理においては、誤差が曲線を直線近似す
る場合の精度を指示するフラットネス(flatnes
s)値で指定された精度以下となるように、微小な直線
ベクタで近似する処理を行う。
Next, the straight line vector generator 4 will be described in detail. When a curve is included in the outline font data read by the font information management unit 3, the straight line vector generation unit 4 performs a conversion process for approximating the curved portion to a straight line vector. This straight line vector generation unit 4
In the conversion processing in, flatness (flatnes) indicating the accuracy when the error approximates the curve with a straight line
s) A process of approximating with a minute straight line vector is performed so that the accuracy is not more than the accuracy specified by the value.

【0035】例えば曲線のベクタには、図9(a)に示
すような4つの制御点で表現されるベジエ曲線が使われ
る。この場合直線ベクタを生成する処理は、図9(b)
に示すように各制御点間の中点を求めていき、4つの制
御点を持つ2つのベクタに分割する。次に、各ベクタに
対してこのような分割を繰り返す。このベジエ曲線のを
再帰的分割により、高さ(距離d)がフラットネス(f
latness)値より小さくなった時点で分割を終了
する。そして分割された各ベジエ曲線の始点と終点を順
番に結ぶことにより、直線ベクタの生成が完了する。こ
のような方法で生成した直線ベクタを制御部2に転送す
る。
For example, a Bezier curve represented by four control points as shown in FIG. 9A is used as a curve vector. In this case, the process of generating a straight line vector is as shown in FIG.
As shown in (1), the midpoint between the control points is obtained, and divided into two vectors having four control points. Next, such division is repeated for each vector. The height (distance d) becomes flatness (f) by recursive division of this Bezier curve.
At this point, the division is completed. Then, the start point and the end point of each of the divided Bezier curves are connected in order, thereby completing the generation of the straight line vector. The straight line vector generated by such a method is transferred to the control unit 2.

【0036】次に、分割処理部5について詳細に説明す
る。分割処理部5はスキャンラインに交差する辺の数が
2N(展開処理部7におけるDDA回路の構成数に相
当)を超えている部分のエッジを分割し、エッジの数を
2N以下にする。ここでは例として特願平9−3024
03号に記載されているアルゴリズムを用いてその概略
を説明する。
Next, the division processing section 5 will be described in detail. The division processing unit 5 divides an edge of a portion where the number of sides intersecting the scan line exceeds 2N (corresponding to the number of DDA circuits in the expansion processing unit 7), and makes the number of edges 2N or less. Here, as an example, Japanese Patent Application No. 9-3024
The outline will be described using the algorithm described in No. 03.

【0037】分割処理部5の動作を、図10に示すフロ
ーチャートに沿って説明する。まず図10に示すS50
1において、処理対象スキャンラインを表わすYcをエ
ッジが存在する範囲の最小値Yminに設定する。次に
S502において、Ycを開始点とするエッジがある場
合はS503へ、無い場合はS506に移る。S503
では、カウント(count)にYcを開始点とするエ
ッジの数を加える。次にS504において、カウント
(count)が2Nを超えているかチェックし、超え
ている場合はS505へ、超えていない場合はS506
に移る。S505では、エッジの数が2N(展開処理部
7におけるDDA回路の構成数に相当)以下になるよう
に分割処理を行なう。次にS506において、Ycを終
点とするエッジが存在する場合はS507へ、存在しな
い場合はS508に移る。S507では、カウント(c
ount)からYcを終点とするエッジの数を引く。次
にS508において、Ycがエッジの存在する範囲の最
大値であるYmaxと等しいかどうかをチェックし、等
しい場合には処理を終了する。異なる場合はS509に
移る。次にS509において、Ycの値を1増加させ
て、S502に戻る。このような方法で、スキャンライ
ンに交差する辺の数が2Nを超えている部分のエッジを
分割する。また、全てのスキャンラインで辺数が2N以
下になるまで分割を繰り返し、分割後のベクタデータを
制御部2に転送する。
The operation of the division processing unit 5 will be described with reference to the flowchart shown in FIG. First, S50 shown in FIG.
In step 1, Yc representing the scan line to be processed is set to the minimum value Ymin of the range where the edge exists. Next, in S502, if there is an edge starting from Yc, the process proceeds to S503; otherwise, the process proceeds to S506. S503
Then, the number of edges starting from Yc is added to the count. Next, in S504, it is checked whether the count (count) exceeds 2N. If the count exceeds 2N, the process proceeds to S505. If the count does not exceed 2N, the process proceeds to S506.
Move on to In S505, the dividing process is performed so that the number of edges is 2N or less (corresponding to the number of DDA circuits in the expansion processing unit 7). Next, in step S506, if there is an edge ending at Yc, the process proceeds to step S507; otherwise, the process proceeds to step S508. In S507, the count (c
subtract the number of edges ending at Yc from (out). Next, in S508, it is checked whether or not Yc is equal to Ymax, which is the maximum value of the range in which the edge exists, and if they are equal, the process ends. If not, the process moves to S509. Next, in step S509, the value of Yc is increased by 1, and the process returns to step S502. In this way, the edge of the portion where the number of sides crossing the scan line exceeds 2N is divided. Further, the division is repeated until the number of sides becomes 2N or less in all the scan lines, and the divided vector data is transferred to the control unit 2.

【0038】図11は、N=4の場合の処理例を説明す
る図である。図11(a)のy座標がy1のスキャンラ
インで辺数が2N(すなわち8)を超えるため、図11
(b)に示すデータと図11(c)に示すデータに分割
する。これによって、すべてのスキャンラインYmin
〜Ymaxで辺数が2N以下となったため分割を終了
し、それぞれのベクタデータを制御部2に転送する。
FIG. 11 is a diagram for explaining an example of processing when N = 4. Since the number of sides exceeds 2N (that is, 8) in the scan line whose y coordinate is y1 in FIG.
The data is divided into the data shown in FIG. 11B and the data shown in FIG. As a result, all scan lines Ymin
Since the number of sides is less than or equal to 2N in .about.Ymax, the division is terminated, and the respective vector data are transferred to the control unit 2.

【0039】本発明の文字処理装置においては、図11
(a)のようにスキャンラインで辺数が2N(すなわち
8)を超える構成を持つベクタデータが生成されるアウ
トラインフォントデータについては先に説明した分割判
定フラグ「true」が対応付けられてフォント情報管
理部3に保持されており、アウトラインフォントデータ
の読み込みの際に分割の要否が判別可能である。
In the character processing device of the present invention, FIG.
As shown in (a), outline font data in which vector data having a configuration in which the number of sides exceeds 2N (that is, 8) on a scan line is generated, the font information is associated with the division determination flag "true" described above. It is stored in the management unit 3 and can determine whether or not division is necessary when reading outline font data.

【0040】一方、すべてのスキャンラインで辺数が2
N(すなわち8)以下の構成を持つベクタデータが生成
されるアウトラインフォントデータについては先に説明
した分割判定フラグ「false」が、そのアウトライ
ンフォントデータに対応付けられてフォント情報管理部
3に保持されているので、図10で説明した分割処理部
5における分割処理は実行されない。
On the other hand, all scan lines have two sides.
For outline font data for which vector data having a configuration of N (ie, 8) or less is generated, the above-described division determination flag “false” is held in the font information management unit 3 in association with the outline font data. Therefore, the division processing in the division processing unit 5 described with reference to FIG. 10 is not performed.

【0041】次に、図4に示すフォントキャッシュ部6
について詳細に説明する。図12にフォントキャッシュ
部6の構成を示す。フォントキャッシュ部6は、図12
に示すように、フォントキャッシュ制御部61と、フォ
ントデータ記憶部62とからなる。
Next, the font cache unit 6 shown in FIG.
Will be described in detail. FIG. 12 shows the configuration of the font cache unit 6. The font cache unit 6 is configured as shown in FIG.
As shown in (1), it comprises a font cache control unit 61 and a font data storage unit 62.

【0042】フォントキャッシュ部6の動作について図
13のフローチャートに沿って説明する。まず、フォン
トキャッシュ部から文字データを読む動作について説明
する。図13に示すS601では、フォントキャッシュ
制御部61が制御部2からフォントID、文字コード、
文字サイズの情報を取得する。S602で、該当するフ
ォントデータがフォントデータ記憶部62に登録されて
いるか調べ、登録されている場合はS603へ、登録さ
れていない場合はS605に移る。S603では、該当
するフォントデータが格納されている先頭アドレスをポ
インタPtに代入する。S604で、キャッシュにヒッ
トした回数を記憶するカウンタの値を1増加させる。S
605では、該当するフォントデータがフォントデータ
記憶部62に登録されていないため、NULLをポイン
タPtに代入する。S606で、ポインタPtを制御部
2に転送する。
The operation of the font cache unit 6 will be described with reference to the flowchart of FIG. First, the operation of reading character data from the font cache unit will be described. In S601 shown in FIG. 13, the font cache control unit 61 sends a font ID, a character code,
Get font size information. In step S602, it is determined whether the corresponding font data is registered in the font data storage unit 62. If registered, the process proceeds to step S603. If not, the process proceeds to step S605. In S603, the start address at which the corresponding font data is stored is assigned to the pointer Pt. In S604, the value of the counter that stores the number of hits to the cache is increased by one. S
At 605, since the corresponding font data is not registered in the font data storage unit 62, NULL is substituted for the pointer Pt. In S606, the pointer Pt is transferred to the control unit 2.

【0043】次に、フォントキャッシュ部に文字データ
を登録する動作について、図14のフローチャートに沿
って説明する。図14に示すS611では、制御部2か
ら、フォントID、文字コード、文字サイズ、文字デー
タを取得する。S612で、文字データのサイズを調
べ、フォントデータ記憶部に十分なメモリの空きがある
か確認し、メモリの空きがある場合はS614へ、ない
場合はS613に移る。S613では、フォントデータ
記憶部62のカウンタの値が小さいデータから削除して
いき、文字データを登録するために十分な空きメモリが
確保できるまで繰り返す。S614では、S611で取
得したフォントID、文字コード、文字サイズの情報を
キーとし、文字データと、0に初期化したカウンタをフ
ォントデータ記憶部に登録する。ここでは、フォントデ
ータ記憶部62に必要な空きメモリがなくなった場合、
キャッシュにヒットした回数が少ないデータから削除す
る方法を示したが、サイズが大きいデータから削除する
方法や、最初に登録したデータから削除する方法など、
本発明の構成を変更しない範囲で各種の方法が可能であ
る。
Next, the operation of registering character data in the font cache unit will be described with reference to the flowchart of FIG. In S611 shown in FIG. 14, a font ID, a character code, a character size, and character data are acquired from the control unit 2. In step S612, the size of the character data is checked to determine whether there is sufficient memory available in the font data storage unit. If there is available memory, the process proceeds to step S614; otherwise, the process proceeds to step S613. In step S <b> 613, the data in the font data storage unit 62 is deleted from the data with the smaller counter value, and the process is repeated until a sufficient free memory for registering the character data can be secured. In step S614, the font data, the character code, and the character size information acquired in step S611 are used as keys to register character data and a counter initialized to 0 in the font data storage unit. Here, when the necessary free memory is exhausted in the font data storage unit 62,
The method of deleting data with the least number of hits in the cache has been described.How to delete from the data with large size, the method of deleting from the data registered first, etc.
Various methods are possible without changing the configuration of the present invention.

【0044】次に、図4に示す展開処理部7について説
明する。展開処理部7は制御部2から受け取ったベクタ
データをビットマップ展開する。ここでは例として特願
平9−302403号に記載されたアルゴリズムに従っ
てその概略を説明する。
Next, the expansion processing section 7 shown in FIG. 4 will be described. The expansion processing unit 7 performs bitmap expansion of the vector data received from the control unit 2. Here, as an example, an outline thereof will be described according to an algorithm described in Japanese Patent Application No. 9-302403.

【0045】図15に示すように、展開処理部7は、多
角形の各辺と出力デバイスの各スキャンラインとの交点
座標を計算する2N個のDDA(Digital Di
fferential Analyzer)部71と、
DDA部71から出力される2N個のデータをX座標値
でソートするソート部72と、ソートされた結果から始
点/終点の対を求め、その間を指定の描画色でメモリに
描画するメモリ描画部73とから構成される。
As shown in FIG. 15, the development processing section 7 calculates 2N DDAs (Digital Di) for calculating coordinates of intersections between each side of the polygon and each scan line of the output device.
(referential Analyzer) unit 71,
A sorting unit 72 for sorting 2N data output from the DDA unit 71 by X coordinate values, and a memory drawing unit for obtaining a start point / end point pair from the sorted result and drawing the interval between them in a memory with a specified drawing color 73.

【0046】展開処理部7の動作について図16に示す
フローチャートに沿って説明する。まずS701におい
て、処理対象スキャンラインを表す変数Ycを、多角形
の存在範囲のY座標の最小値Yminに設定する。次に
S702において、DDA部71を用いて、現スキャン
ラインYcと各辺との交点のX座標値を計算してXcを
更新する。次にS703において、辺が設定されている
DDA部71からXcの値を全てソート部72に出力
し、ソート部72はこれを昇順になるようにソートし、
メモリ描画部73に出力する。次にS704において、
メモリ描画部73でソート済みのX座標値を先頭から2
個づつ取り出して対にし、その対間の水平線分を塗りつ
ぶす。次にS705において、Ycを1だけ増加させ
る。次にS706において、このYc値が多角形の存在
範囲のY座標最大値Ymaxより大きいかどうかをチェ
ックし、もし大きければ処理を終了し、そうでない場合
にはS702に戻ってY=Ycの処理を継続する。ここ
では、Ymin〜Ymaxについて毎回Xcを更新して
ソートするように説明したが、辺の追加/削除/交差が
生じた場合しかソートが必要にならないため、追加/削
除/交差の発生するスキャンラインで多角形を台形に分
割し、ソートを不要にする方法も考えられる。
The operation of the expansion processing unit 7 will be described with reference to the flowchart shown in FIG. First, in step S701, a variable Yc representing a scan line to be processed is set to the minimum value Ymin of the Y coordinate of the polygon existing range. Next, in step S702, the XDA value of the intersection of the current scan line Yc and each side is calculated using the DDA unit 71 to update Xc. Next, in step S703, the DDA unit 71 in which the sides are set outputs all the values of Xc to the sorting unit 72, and the sorting unit 72 sorts them in ascending order.
Output to the memory drawing unit 73. Next, in S704,
The X coordinate values sorted by the memory drawing unit 73 are 2
Take out each one, make a pair, and paint the horizontal line between the pair. Next, in S705, Yc is increased by one. Next, in S706, it is checked whether or not this Yc value is larger than the Y coordinate maximum value Ymax of the polygonal existence range. If it is larger, the process is terminated. If not, the process returns to S702 and the process of Y = Yc is performed. To continue. Here, it has been described that Xc is updated and sorted every time for Ymin to Ymax. However, since it is necessary to sort only when addition / deletion / intersection of a side occurs, a scan line where addition / deletion / intersection occurs occurs. It is also conceivable to divide the polygon into trapezoids by using, and to make sorting unnecessary.

【0047】上述したように、本発明の文字処理装置お
よび文字処理方法は、多角形の各辺と出力デバイスの各
スキャンラインとの交点座標を計算するDDA(Dig
ital Differential Analyze
r)部の構成数2Nに基づいてアウトラインデータに基
づく多角形データの分割要否を予め決定し、この決定に
基づく分割判定フラグを個個のアウトラインデータに対
応させて付加する構成としたので、読み込まれたアウト
ラインデータの分割要否判定処理が不要となり処理速度
の向上が可能となる。
As described above, the character processing apparatus and method according to the present invention provide a DDA (Dig) for calculating the coordinates of the intersection of each side of a polygon with each scan line of the output device.
ital Differential Analyze
r) The necessity of dividing polygon data based on outline data is determined in advance based on the number of components 2N of the part, and a division determination flag based on this determination is added in association with the individual outline data. This eliminates the need for the division necessity determination process for the read outline data, thereby improving the processing speed.

【0048】[実施例2]次に本発明の文字処理装置の
第2の実施例について説明する。第2実施例は実施例1
で述べた文字処理装置のアウトラインフォントデータ格
納部に、各スキャンラインにおける交差辺数が2N以下
となる複数の多角形に分割したデータを記憶しておくこ
とにより、分割判定処理のみでなく、分割処理をも省略
することを可能としてさらに高速な展開処理を可能とし
た文字処理装置である。
Embodiment 2 Next, a second embodiment of the character processing apparatus of the present invention will be described. The second embodiment is the first embodiment.
In the outline font data storage unit of the character processing apparatus described in the above, data divided into a plurality of polygons having the number of intersecting sides of 2N or less in each scan line is stored. This is a character processing device that can omit processing and can perform higher-speed expansion processing.

【0049】図17は本実施例の文字処理装置および文
字処理方法における動作原理を説明するブロック図であ
る。図17に示すように、本実施例の文字処理装置は、
入力部1と、制御部2と、フォント情報管理部3と、直
線ベクタ生成部4と、フォントキャッシュ部6と、展開
処理部7と、出力部8とを有する。制御部2と、フォン
ト情報管理部3以外の各部の構成、動作は実施例1で説
明したものと同様であるので説明を省略する。以下、本
実施例の制御部2と、フォント情報管理部3の構成およ
び動作について説明する。
FIG. 17 is a block diagram for explaining the operation principle of the character processing apparatus and the character processing method according to the present embodiment. As shown in FIG. 17, the character processing device of this embodiment
It has an input unit 1, a control unit 2, a font information management unit 3, a straight line vector generation unit 4, a font cache unit 6, a development processing unit 7, and an output unit 8. The configuration and operation of each unit other than the control unit 2 and the font information management unit 3 are the same as those described in the first embodiment, and a description thereof will be omitted. Hereinafter, the configurations and operations of the control unit 2 and the font information management unit 3 of the present embodiment will be described.

【0050】まず、制御部2の動作について図18のフ
ローチャートに沿って説明する。制御部2は、まず図1
8に示すS221で、入力部からフォントID、文字コ
ード、文字サイズの情報を取得する。S222では、要
求された文字のデータがキャッシュに登録されているか
調べるため、入力部から取得したフォントID、文字コ
ード、文字サイズの情報をフォントキャッシュ部6に転
送する。S223では、該当する文字のデータがキャッ
シュに登録されているか調べる。フォントキャッシュ部
6から取得したポインタPtが「NULL」の場合は、
キャッシュに登録されていないことを意味するものであ
り、S224に移る。また、ポインタPtが「NUL
L」以外の場合はキャッシュに登録されていることを意
味しS227に移る。S224では、要求された文字の
情報をフォント情報管理部3に転送し、該当するアウト
ラインデータをマトリクス変換したデータを取得する。
S225では、S224で取得したアウトラインデータ
を直線ベクタ生成部4に転送し、曲線部分を直線近似し
たデータを取得する。S226では、S225で取得し
たベクタデータと文字情報をフォントキャッシュ部6に
転送し、キャッシユに登録する。S227では、フォン
トキャッシュ部6から要求された文字に対応するデータ
を、ポインタPtが指し示すメモリから読み込む。S2
28では、S225またはS227で取得したベクタデ
ータを展開処理部7に転送し、ビットマップ展開された
データを取得する。S229では、S228で取得した
ビットマップデータを出力部8に転送する。
First, the operation of the control unit 2 will be described with reference to the flowchart of FIG. The control unit 2 first operates as shown in FIG.
In S221 shown in FIG. 8, information on the font ID, character code, and character size is obtained from the input unit. In S222, the information of the font ID, character code, and character size obtained from the input unit is transferred to the font cache unit 6 to check whether the data of the requested character is registered in the cache. In S223, it is checked whether the data of the corresponding character is registered in the cache. When the pointer Pt acquired from the font cache unit 6 is “NULL”,
This means that it is not registered in the cache, and the process proceeds to S224. Also, the pointer Pt indicates “NUL
If the value is other than "L", it means that it is registered in the cache, and the flow shifts to S227. In S224, the requested character information is transferred to the font information management unit 3, and data obtained by matrix conversion of the corresponding outline data is obtained.
In S225, the outline data acquired in S224 is transferred to the straight-line vector generation unit 4, and data obtained by linearly approximating the curved part is acquired. In step S226, the vector data and character information acquired in step S225 are transferred to the font cache unit 6 and registered in the cache. In S227, data corresponding to the character requested from the font cache unit 6 is read from the memory indicated by the pointer Pt. S2
In 28, the vector data acquired in S225 or S227 is transferred to the expansion processing unit 7, and the bitmap expanded data is obtained. In S229, the bitmap data acquired in S228 is transferred to the output unit 8.

【0051】次にフォント情報管理部3について詳細に
説明する。図19にフォント情報管理部3の構成を示
す。フォント情報管理部3は、図19に示すように分割
アウトラインデータ読込部36と、分割アウトラインフ
ォントデータ格納部37と、マトリクス変換部35とか
ら構成されている。
Next, the font information management section 3 will be described in detail. FIG. 19 shows the configuration of the font information management unit 3. As shown in FIG. 19, the font information management unit 3 includes a divided outline data reading unit 36, a divided outline font data storage unit 37, and a matrix conversion unit 35.

【0052】まず、分割アウトラインデータ読込部36
で、制御部2から転送されたフォントIDおよび文字コ
ードに対応するフォントデータを分割アウトラインフォ
ントデータ格納部37から読み込む。次に、読み込んだ
フォントデータをマトリクス変換部35で所定の文字サ
イズに変換する。最後にマトリクス変換を行なったフォ
ントデータを制御部2に転送する。
First, the divided outline data reading unit 36
Then, the font data corresponding to the font ID and the character code transferred from the control unit 2 are read from the divided outline font data storage unit 37. Next, the read font data is converted into a predetermined character size by the matrix conversion unit 35. Finally, the font data subjected to the matrix conversion is transferred to the control unit 2.

【0053】次に分割アウトラインフォントデータ格納
部37の構成を図20に示す。図20に示す図20
(a),(b),(d)は前述の図7と同様の構造であ
る。実施例2における分割アウトラインフォントデータ
格納部37は、実施例1のデータ構造に図20(c)の
分割情報を表すマップを付加した構造のデータを格納す
る。すなわち、予め必要な分割を行なったアウトライン
フォントデータは図20(c)のような分割情報を表す
マップが付加される。図20(c)の分割情報中の分割
数は一文字分のデータの分割数を表し、分割していない
場合は分割数=1、2つに分割した場合は分割数=2と
なる。また、分割した数だけ文字データを指し示すポイ
ンタを持ち、それぞれ図20(d)に示すように文字デ
ータの先頭を指示している。
Next, the configuration of the divided outline font data storage section 37 is shown in FIG. FIG. 20 shown in FIG.
(A), (b), and (d) have the same structure as that of FIG. The divided outline font data storage unit 37 in the second embodiment stores data having a structure in which a map representing the division information in FIG. 20C is added to the data structure in the first embodiment. That is, a map representing the division information as shown in FIG. 20C is added to the outline font data that has been subjected to necessary division in advance. The number of divisions in the division information shown in FIG. 20C represents the number of divisions of data for one character, and the number of divisions is 1 when the data is not divided and 2 when the data is divided into two. Also, pointers indicating character data are provided by the number of divisions, and each point to the beginning of the character data as shown in FIG.

【0054】上述したように、本発明の第2の実施例に
おける文字処理装置および文字処理方法は、アウトライ
ンデータに基づく多角形データをあらかじめ分割して複
数の多角形データとしてキャッシュに登録して記憶する
構成としたため、キャッシュに登録されている分割多角
形データを出力することが可能となる。従って、分割判
定処理のみでなく、アウトラインデータからの分割処理
自体も省略することが可能となり、展開処理速度がさら
に向上する。
As described above, in the character processing device and the character processing method according to the second embodiment of the present invention, polygon data based on outline data is divided in advance and registered in a cache as a plurality of polygon data and stored. With this configuration, the divided polygon data registered in the cache can be output. Therefore, not only the division determination processing but also the division processing itself from the outline data can be omitted, and the development processing speed is further improved.

【0055】[0055]

【発明の効果】以上説明したように本発明の文字処理装
置および文字処理方法は、文字データをハードウェアで
ビットマップ展開するために、アウトラインデータに基
づいて複数の多角形データに分割する処理が必要か否か
を判別するフラグを個々の文字データに対応させて付加
し、このフラグに基づいて分割の要否を決定する構成と
したため、従来のスキャンライン操作による分割判定処
理が不要となり、高速な展開処理が可能となる。
As described above, according to the character processing apparatus and the character processing method of the present invention, a process of dividing character data into a plurality of polygon data based on outline data in order to develop a bitmap by hardware. A flag for determining whether or not it is necessary is added in association with each character data, and the necessity of division is determined based on this flag. Deployment processing can be performed.

【0056】また、本発明の文字処理装置および文字処
理方法は、フォント情報管理部において、分割が必要な
アウトラインフォントデータについてあらかじめ分割し
てキャッシュに登録する構成を持ち、分割判定処理のみ
でなく、アウトラインデータからの分割処理自体も省略
することが可能となり、展開処理速度がさらに向上す
る。
Further, the character processing device and the character processing method of the present invention have a configuration in which outline font data that needs to be divided is preliminarily divided and registered in the cache in the font information management unit. The division processing itself from the outline data can be omitted, and the development processing speed is further improved.

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

【図1】 文字処理装置においてアウトラインデータを
ビットマップ展開する方法の説明図である。
FIG. 1 is an explanatory diagram of a method of developing outline data into a bitmap in a character processing device.

【図2】 各種の多角形を示す図である。FIG. 2 is a diagram showing various polygons.

【図3】 文字処理装置において多角形データからビッ
トマップ展開する方法を説明する図である。
FIG. 3 is a diagram illustrating a method of developing a bitmap from polygon data in the character processing device.

【図4】 本発明の文字処理装置の基本構成を示すブロ
ック図である。
FIG. 4 is a block diagram showing a basic configuration of the character processing device of the present invention.

【図5】 本発明の文字処理装置の全体の処理の流れを
示すフローチャートである。
FIG. 5 is a flowchart showing the overall processing flow of the character processing device of the present invention.

【図6】 本発明の文字処理装置におけるフォント情報
管理部の構成を示すブロック図である。
FIG. 6 is a block diagram illustrating a configuration of a font information management unit in the character processing device of the present invention.

【図7】 本発明の文字処理装置におけるアウトライン
フォントデータ格納部の格納データ構成を示す図であ
る。
FIG. 7 is a diagram showing a configuration of data stored in an outline font data storage unit in the character processing device of the present invention.

【図8】 本発明の文字処理装置における分割判定フラ
グ格納部の格納データ構成を示す図である。
FIG. 8 is a diagram illustrating a configuration of data stored in a division determination flag storage unit in the character processing device of the present invention.

【図9】 文字処理装置におけるベジェ曲線の再帰的な
分割処理を説明する図である。
FIG. 9 is a diagram illustrating recursive division processing of a Bezier curve in the character processing device.

【図10】 本発明の文字処理装置における分割処理部
の動作を説明するフローチャートである。
FIG. 10 is a flowchart illustrating an operation of a division processing unit in the character processing device of the present invention.

【図11】 本発明の文字処理装置における分割処理部
の分割処理の一例を示す図である。
FIG. 11 is a diagram illustrating an example of division processing of a division processing unit in the character processing device of the present invention.

【図12】 本発明の文字処理装置におけるフォントキ
ャッシュ部の構成を示すブロック図である。
FIG. 12 is a block diagram illustrating a configuration of a font cache unit in the character processing device of the present invention.

【図13】 本発明の文字処理装置におけるフォントキ
ャッシュ部からデータを読み込む動作を説明するフロー
チャートである。
FIG. 13 is a flowchart illustrating an operation of reading data from a font cache unit in the character processing device of the present invention.

【図14】 本発明の文字処理装置におけるフォントキ
ャッシュ部にデータを登録する動作を説明するフローチ
ャートである。
FIG. 14 is a flowchart illustrating an operation of registering data in a font cache unit in the character processing device of the present invention.

【図15】 本発明の文字処理装置における展開処理部
の構成を示すブロック図である。
FIG. 15 is a block diagram illustrating a configuration of a development processing unit in the character processing device of the present invention.

【図16】 本発明の文字処理装置における展開処理部
の動作を説明するフローチャートである。
FIG. 16 is a flowchart illustrating an operation of a rasterization processing unit in the character processing device of the present invention.

【図17】 本発明の文字処理装置における構成(実施
例2)を示すブロック図である。
FIG. 17 is a block diagram illustrating a configuration (second embodiment) in the character processing device of the present invention.

【図18】 本発明の文字処理装置における制御部の動
作を説明するフローチャートである。
FIG. 18 is a flowchart illustrating an operation of a control unit in the character processing device of the present invention.

【図19】 本発明の文字処理装置におけるフォント情
報管理部の構成を示すブロック図である。
FIG. 19 is a block diagram illustrating a configuration of a font information management unit in the character processing device of the present invention.

【図20】 本発明の文字処理装置における分割アウト
ラインデータ格納部の格納データ構成を示す図である。
FIG. 20 is a diagram showing a configuration of data stored in a divided outline data storage unit in the character processing device of the present invention.

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

1 入力部 2 制御部 3 フォント情報管理部 4 直線ベクタ生成部 5 分割処理部 6 フォントキャッシュ部 7 展開処理部 8 出力部 31 アウトラインデータ読み込み部 32 アウトラインフォントデータ格納部 33 分割判定フラグ読み込み部 34 分割判定フラグ格納部 35 マトリクス変換部 36 分割アウトラインデータ読み込み部 37 分割アウトラインフォントデータ格納部 61 フォントキャッシュ制御部 62 フォントデータ記憶部 71 DDA部 72 ソート部 73 メモリ描画部 DESCRIPTION OF SYMBOLS 1 Input part 2 Control part 3 Font information management part 4 Straight line vector generation part 5 Division processing part 6 Font cache part 7 Expansion processing part 8 Output part 31 Outline data reading part 32 Outline font data storage part 33 Division judgment flag reading part 34 Division Determination flag storage unit 35 Matrix conversion unit 36 Divided outline data reading unit 37 Divided outline font data storage unit 61 Font cache control unit 62 Font data storage unit 71 DDA unit 72 Sorting unit 73 Memory drawing unit

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 アウトラインフォントデータをビットマ
ップ展開する文字処理装置において、 アウトラインフォントデータを格納し管理するととも
に、該アウトラインフォントデータに基づくビットマッ
プ展開処理に際して複数の多角形データへの分割処理が
必要か否かを示す分割判定フラグを個々のアウトライン
フォントデータに対応させて管理するフォント情報管理
部と、 前記フォント情報管理部で読み込んだアウトラインフォ
ントデータ中の曲線表現部分の直線近似を実行すること
により多角形データへの変換を行なう直線ベクタ生成部
と、 前記直線ベクタ生成部で生成した多角形データを必要に
応じて複数の多角形データに分割する分割処理部と、 前記直線ベクタ生成部または前記分割処理部いずれかで
生成された1以上の多角形データをビットマップに展開
する展開処理部と、 前記分割処理部で分割された多角形データを格納するフ
ォントキャッシュ部とを備えることを特徴とする文字処
理装置。
1. A character processing device for developing outline font data into a bitmap, storing and managing the outline font data, and dividing the font data into a plurality of polygon data when performing the bitmap development process based on the outline font data. A font information management unit that manages a division determination flag indicating whether or not the outline font data is associated with each of the outline font data, and performing a linear approximation of a curve expression portion in the outline font data read by the font information management unit. A straight line vector generation unit that performs conversion to polygon data, a division processing unit that divides the polygon data generated by the straight line vector generation unit into a plurality of polygon data as necessary, One or more polygons generated by any of the division processing units Character processing apparatus comprising: an expansion processing unit to deploy over data in the bit map, a font cache unit for storing polygon data divided by the division unit.
【請求項2】 前記分割判定フラグは、前記フォント情
報管理部に格納されたアウトラインフォントデータの各
々に基づいて生成される直線ベクタのスキャンラインに
おける交差辺数が、前記展開処理部内に備えられた並列
動作可能なデジタル差分アナライザ(DDA)の個数に
相当する数2Nを超える場合に分割要を示し、前記交差
辺数が2N以下の場合は分割不要を示すように設定され
たフラグであることを特徴とする請求項1記載の文字処
理装置。
2. The development processing unit according to claim 1, wherein the division determination flag is provided with the number of intersection sides of a scan line of a straight line vector generated based on each of the outline font data stored in the font information management unit. If the number exceeds 2N corresponding to the number of digital differential analyzers (DDA) that can be operated in parallel, the flag indicates that division is necessary, and if the number of intersection sides is 2N or less, the flag is set to indicate that division is unnecessary. The character processing device according to claim 1, wherein
【請求項3】 前記分割処理部は、出力要求のあるアウ
トラインフォントデータに対応する分割判定フラグが分
割要を示す場合に、処理対象スキャンラインでの前記直
線ベクタの交差辺数をカウントして、該カウントされた
交差辺数と展開処理部の有するDDA部の構成数2Nと
を比較して、交差辺数が2Nを超えている部分のエッジ
を分割し、すべてのスキャンラインでの交差辺数が2N
以下になるまで分割を実行する構成を有することを特徴
とする請求項1または2記載の文字処理装置。
3. The division processing unit counts the number of intersection sides of the straight line vector in a scan line to be processed, when a division determination flag corresponding to outline font data requested to be output indicates division is necessary. By comparing the counted number of intersection sides with the number 2N of constituents of the DDA unit included in the expansion processing unit, an edge of a portion where the number of intersection sides exceeds 2N is divided, and the number of intersection sides in all scan lines is divided. Is 2N
3. The character processing device according to claim 1, wherein the character processing device has a configuration for performing division until the following is achieved.
【請求項4】 アウトラインフォントデータをビットマ
ップ展開する文字処理装置において、 アウトラインフォントデータを格納し管理するととも
に、少なくとも一部のアウトラインフォントデータにつ
いてはあらかじめ複数の多角形データに分割した分割多
角形データを格納し管理するフォント情報管理部と、 前記フォント情報管理部で読み込んだアウトラインフォ
ントデータ中の曲線表現部分の直線近似を実行すること
により多角形データへの変換を行なう直線ベクタ生成部
と、 前記直線ベクタ生成部で生成した多角形データをビット
マップに展開する展開処理部と、 前記直線ベクタ生成部で生成した多角形データを格納す
るフォントキャッシュ部とを備えることを特徴とする文
字処理装置。
4. A character processing apparatus for developing outline font data into a bitmap, wherein the outline font data is stored and managed, and at least a part of the outline font data is divided into a plurality of polygon data in advance. A font information management unit that stores and manages the data, a straight line vector generation unit that performs conversion to polygon data by executing a straight line approximation of a curve expression portion in the outline font data read by the font information management unit, A character processing device comprising: a development processing unit that develops polygon data generated by a straight line vector generation unit into a bitmap; and a font cache unit that stores polygon data generated by the straight line vector generation unit.
【請求項5】 前記フォント情報管理部は、アウトライ
ンフォントデータに基づいて生成される直線ベクタのス
キャンラインにおける交差辺数が前記展開処理部内に備
えられた並列動作可能なデジタル差分アナライザ(DD
A)の個数2Nを超えるアウトラインフォントデータに
ついて、あらかじめ複数の多角形データに分割した分割
多角形データを格納することを特徴とする請求項4記載
の文字処理装置。
5. The parallel information operable digital difference analyzer (DD) provided in the expansion processing unit, wherein the number of crossing sides of a scan line of a linear vector generated based on outline font data is provided in the font information management unit.
5. The character processing apparatus according to claim 4, wherein for the outline font data exceeding the number 2N of A), divided polygon data divided into a plurality of polygon data in advance is stored.
【請求項6】 アウトラインフォントデータをビットマ
ップ展開する文字処理方法において、 アウトラインフォントデータ及び該アウトラインフォン
トデータに基づくビットマップ展開処理に際して複数の
多角形データへの分割処理が必要か否かを示す分割判定
フラグをフォント情報管理部において読み込むステップ
と、 前記フォント情報管理部において読み込んだアウトライ
ンフォントデータ中の曲線表現部分を直線近似すること
によりアウトラインデータを多角形データに変換する直
線ベクタ生成ステップと、 前記分割判定フラグが分割要を示す場合に、前記直線ベ
クタ生成ステップにおいて生成した直線ベクタを複数の
多角形データに分割する分割処理ステップと、 前記直線ベクタ生成ステップまたは前記分割処理ステッ
プで生成された1以上の多角形データをビットマップに
展開する展開処理ステップと、 前記分割処理ステップにおいて分割された多角形データ
をフォントキャッシュ部に格納するステップとを有する
ことを特徴とする文字処理方法。
6. A character processing method for developing outline font data into a bitmap, comprising: a step of dividing the outline font data into a plurality of pieces of polygon data in a bitmap development process based on the outline font data; A step of reading the determination flag in the font information management unit, a step of generating a straight line vector for converting the outline data into polygon data by linearly approximating a curve expression part in the outline font data read in the font information management unit, A division processing step of dividing the straight line vector generated in the straight line vector generation step into a plurality of polygonal data when the division determination flag indicates that the division is necessary; 1 and more expansion processing step of deploying the polygon data in the bitmap, the character processing method characterized by a step of storing the polygon data divided in the dividing process step in the font cache part.
JP11035384A 1999-02-15 1999-02-15 Device and method for processing character Pending JP2000235383A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11035384A JP2000235383A (en) 1999-02-15 1999-02-15 Device and method for processing character

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11035384A JP2000235383A (en) 1999-02-15 1999-02-15 Device and method for processing character

Publications (1)

Publication Number Publication Date
JP2000235383A true JP2000235383A (en) 2000-08-29

Family

ID=12440420

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11035384A Pending JP2000235383A (en) 1999-02-15 1999-02-15 Device and method for processing character

Country Status (1)

Country Link
JP (1) JP2000235383A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009090726A1 (en) * 2008-01-15 2009-07-23 Mitsubishi Electric Corporation Graphic drawing device and graphic drawing method
JP2010515131A (en) * 2006-12-26 2010-05-06 ベイダファンジェンジトゥアンヨウシャンゴンシ Method and system for generating boundaries in the process of rasterizing vector graphics, and method for manufacturing the system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010515131A (en) * 2006-12-26 2010-05-06 ベイダファンジェンジトゥアンヨウシャンゴンシ Method and system for generating boundaries in the process of rasterizing vector graphics, and method for manufacturing the system
WO2009090726A1 (en) * 2008-01-15 2009-07-23 Mitsubishi Electric Corporation Graphic drawing device and graphic drawing method
JP4937359B2 (en) * 2008-01-15 2012-05-23 三菱電機株式会社 Graphic drawing apparatus and graphic drawing method
US8520007B2 (en) 2008-01-15 2013-08-27 Mitsubishi Electronic Corporation Graphic drawing device and graphic drawing method

Similar Documents

Publication Publication Date Title
EP0356103B1 (en) Scan-conversion process and processor
US4845656A (en) System for transferring data between memories in a data-processing apparatus having a bitblt unit
CA1319996C (en) Method and apparatus for decomposing a quadrilateral figure for display and manipulation by a computer system
JP2000235383A (en) Device and method for processing character
EP0250868A2 (en) Method and apparatus for area fill in a raster graphics system
US5274752A (en) Outline data image drawing apparatus applying image drawing direction rules and image drawing rules
JPH05324921A (en) Method and device for forming curve
JP2995984B2 (en) 3D waveform display device
JPH11232473A (en) Printing processor
JP2001331166A (en) Character processor
JP4058197B2 (en) Drawing apparatus, drawing method, and storage medium
JPH06266339A (en) Character output device
JP3065110B2 (en) Graph display device
JP2000214839A (en) Device and method for character processing
JPH11198465A (en) Character output device
JPH06168337A (en) Paint-out processing method
JP2001109454A (en) Character processing device
JP3567728B2 (en) Image processing method and apparatus
JPH02168361A (en) Pattern data preparing device to prepare coordinates data and processor
JP3567727B2 (en) Image processing method and apparatus
JPH05257450A (en) Character generation device
JP3616675B2 (en) Character drawing system
JPH11144066A (en) Graphic processor
JPH0573693A (en) Outline paint out system
JP2001067487A (en) Drawing processor