JP2011194859A - Image output device and image output program - Google Patents

Image output device and image output program Download PDF

Info

Publication number
JP2011194859A
JP2011194859A JP2010067360A JP2010067360A JP2011194859A JP 2011194859 A JP2011194859 A JP 2011194859A JP 2010067360 A JP2010067360 A JP 2010067360A JP 2010067360 A JP2010067360 A JP 2010067360A JP 2011194859 A JP2011194859 A JP 2011194859A
Authority
JP
Japan
Prior art keywords
font
basic
cache
deformation
requested
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
JP2010067360A
Other languages
Japanese (ja)
Inventor
Chihiro Ito
千尋 伊藤
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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Mita 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 Kyocera Mita Corp filed Critical Kyocera Mita Corp
Priority to JP2010067360A priority Critical patent/JP2011194859A/en
Publication of JP2011194859A publication Critical patent/JP2011194859A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To suppress reduction in the font number which can be output while reducing the font cache number.SOLUTION: An image output device 1 deploys a requested font, which is requested to be output, to bit map data and outputs it. The image output device 1 is provided with: a cache unit 7 for storing the bit map data of a basic font having a basic point size about the same type of characters, a generating unit 9 for generating a deformation matrix determinant expressing the deformation amount of the requested font with respect to the basic font, a reading unit 11 for reading the requested font and the bit map data of the basic font of the same type of characters from the cache unit 7, and an output unit 13 for deforming the read bit map data by the deformation matrix determinant and outputting that.

Description

本発明は、出力要求された要求フォントをドット形式の画像データに展開して出力する画像出力装置及び画像出力プログラムに関するものである。   The present invention relates to an image output apparatus and an image output program for expanding and outputting a requested font requested to be output into dot-format image data.

プリンターや複合機等の画像形成装置では、従来よりフォントキャッシュが用いられている。   In an image forming apparatus such as a printer or a multifunction peripheral, a font cache is conventionally used.

フォントキャッシュとしては、予めフォントをドット形式の画像データに展開し、この展開画像データをフォントキャッシュメモリーに格納しておく。そして、同一フォントの出力要求がなされた場合には、フォントキャッシュメモリーからフォントキャッシュを読み出すことで処理の迅速化を図ることができる。   As a font cache, a font is developed in advance into dot-format image data, and the developed image data is stored in a font cache memory. When an output request for the same font is made, the processing can be speeded up by reading the font cache from the font cache memory.

このようなフォントキャッシュは、同一文字種且つ同一書体の同種文字に対しても、大きさや回転角毎に複数種類が格納され、且つそれぞれが別のフォントとして取り扱われる。結果として、フォントキャッシュ数が増加してメモリー領域の圧迫や読み出し時の検索速度の低下を招くことになる。   Such a font cache stores a plurality of types for the same character type and the same type of character for each size and rotation angle, and each is handled as a different font. As a result, the number of font caches increases, leading to compression of the memory area and a decrease in search speed during reading.

このため、フォントキャッシュを順に削除するFIFO方式やLRU方式等が一般に採用されている。   For this reason, a FIFO method, an LRU method, or the like that deletes the font cache in order is generally adopted.

しかしながら、これらの方式でも、フォントキャッシュ本来の目的を達成する必要性からフォントキャッシュの格納数自体は依然として多く、メモリー領域の圧迫や読み出し時の検索速度の低下を抑制するには限界があった。   However, even in these methods, the number of stored font caches is still large due to the necessity of achieving the original purpose of the font cache, and there is a limit in suppressing the compression of the memory area and the decrease in the search speed at the time of reading.

これに対し、従来技術としては、未登録フォントに対する処理負担を軽減してフォントキャッシュによる処理の迅速化を図るものがある。   On the other hand, as a conventional technique, there is one that reduces the processing load on an unregistered font and speeds up the processing by the font cache.

このような従来技術には、例えば、出力要求された要求フォントに類似するフォントキャッシュを読み出し、このフォントキャッシュを拡大、縮小して要求フォントに近似させるものがある(特許文献1参照)。   In such a conventional technique, for example, a font cache similar to the requested font requested to be output is read, and the font cache is enlarged or reduced to approximate the requested font (see Patent Document 1).

しかしながら、この技術でも、大きさや回転角度等が相違する多くの類似フォントキャッシュが必要となり、メモリー領域の圧迫や読み出し時の検索速度の低下を抑制するには限界があった。   However, even with this technique, many similar font caches having different sizes and rotation angles are required, and there is a limit in suppressing the compression of the memory area and the decrease in the search speed at the time of reading.

別の従来技術としては、例えば、基本サイズのフォントキャッシュとして所定サイズのフォントとその整数倍のフォントを組として格納しておき、フォントキャッシュを整数倍に拡大して要求フォントに近似させるものがある(特許文献2参照)。   As another conventional technique, for example, a font of a predetermined size and a font of an integer multiple thereof are stored as a set as a basic size font cache, and the font cache is enlarged to an integer multiple to approximate the requested font. (See Patent Document 2).

しかし、この従来技術では、フォントキャッシュ数を減少させることはできるものの、基本サイズの整数倍以外である任意倍率への拡大、縮小や回転等には適応できず、出力可能なフォント数が減少していた。   However, with this conventional technology, although the number of font caches can be reduced, it cannot be applied to enlargement, reduction, rotation, etc. to an arbitrary magnification other than an integral multiple of the basic size, and the number of fonts that can be output decreases. It was.

特開平6−183074号公報JP-A-6-183074 特開平6−274145号公報JP-A-6-274145

解決しようとする問題点は、展開画像データの格納数を減少させると出力可能なフォント数が減少する点である。   The problem to be solved is that the number of fonts that can be output decreases when the number of stored developed image data is reduced.

本発明は、展開画像データの格納数を減少させながら出力可能なフォント数の減少を抑制するため、出力要求された要求フォントをドット形式の画像データに展開して出力する画像出力装置であって、同種文字について基本ポイントサイズを有する基本フォントの展開画像データを格納するキャッシュ部と、前記基本フォントに対する前記要求フォントの変形量を表す変形行列式を生成する生成部と、前記キャッシュ部から前記要求フォントと同種文字の基本フォントの展開画像データを読み出す読出部と、前記読み出した展開画像データを前記変形行列式によって変形して出力する出力部とを備えたことを最も主な特徴とする。   The present invention relates to an image output device that develops and outputs a requested font requested to be output into dot-format image data in order to suppress a decrease in the number of fonts that can be output while reducing the number of stored developed image data. A cache unit that stores developed image data of a basic font having a basic point size for the same type of character, a generation unit that generates a deformation determinant representing a deformation amount of the requested font with respect to the basic font, and the request from the cache unit The main feature is that it includes a reading unit that reads out developed image data of a basic font of the same type as the font, and an output unit that outputs the read out developed image data after being transformed by the modified determinant.

本発明では、基本ポイントサイズを有する基本フォントの展開画像データを格納するので、展開画像データの格納数を大幅に減少させることができる。しかも、本発明では、変形行列式により基本フォントの展開画像データを変形して要求フォントを出力することができ、出力可能なフォント数の減少を抑制することができる。   In the present invention, since the developed image data of the basic font having the basic point size is stored, the number of stored developed image data can be greatly reduced. In addition, in the present invention, the developed font data of the basic font can be transformed by the modified determinant to output the requested font, and the decrease in the number of fonts that can be output can be suppressed.

画像出力装置を示すブロック図である(実施例1)。1 is a block diagram illustrating an image output device (Example 1). FIG. 図1の画像出力装置による画像出力処理の概略を示す説明図である(実施例1)。(Example 1) which is the explanatory drawing which shows the outline of the image output processing by the image output device of FIG. 図1の画像出力装置による画像出力処理の詳細を示すフローチャートである(実施例1)。2 is a flowchart illustrating details of image output processing by the image output apparatus of FIG. 1 (Example 1).

展開画像データの格納数を減少させながら出力可能なフォント数の減少を抑制するという目的を、基本フォントの展開画像データを変形行列式によって変形して出力することで実現した。   The purpose of suppressing the reduction in the number of fonts that can be output while reducing the number of stored developed image data is realized by transforming and outputting the developed image data of the basic font with a modified determinant.

[画像出力装置の構成]
図1は、本発明の実施例1に係る画像出力装置のブロック図である。
[Configuration of image output device]
FIG. 1 is a block diagram of an image output apparatus according to Embodiment 1 of the present invention.

画像出力装置1は、出力要求された要求フォントを、ドット形式の画像データであるビットマップデータに展開して出力するものである。この画像処理装置1は、図1のように、コンピューター3と、記憶部5とを備えている。   The image output apparatus 1 develops and outputs the requested font requested to be output into bitmap data, which is dot-format image data. As shown in FIG. 1, the image processing apparatus 1 includes a computer 3 and a storage unit 5.

コンピューター3は、CPU及びRAMを備え、記憶部5に格納されたソフトウェアプログラムを実行して画像出力装置1の動作を制御する。   The computer 3 includes a CPU and a RAM, and controls the operation of the image output apparatus 1 by executing a software program stored in the storage unit 5.

記憶部5は、一次記憶装置及び二次記憶装置を備えている。一次記憶装置は、例えば半導体記憶装置等からなり、二次記憶装置は、例えば磁気ディスク装置等からなっている。この記憶部5内には、 各種のソフトウェアプログラムやデータ等の他、画像出力プログラムが記憶されている。   The storage unit 5 includes a primary storage device and a secondary storage device. The primary storage device includes, for example, a semiconductor storage device, and the secondary storage device includes, for example, a magnetic disk device. The storage unit 5 stores an image output program in addition to various software programs and data.

この画像出力装置1は、画像出力プログラムをコンピューター3によって実行することで、キャッシュ部7と、生成部9と、読出部11と、出力部13とが構成される。   The image output apparatus 1 includes a cache unit 7, a generation unit 9, a reading unit 11, and an output unit 13 by executing an image output program by the computer 3.

キャッシュ部7は、フォントキャッシュメモリー15、キャッシュ管理部17及びフォント展開部19を備えている。フォントキャッシュメモリー15は、例えばコンピューター3のRAM内に構成されている。このフォントキャッシュメモリー15は、フォントキャッシュとしてフォントのビットマップ展開データを格納するものである。本実施例では、同一文字種且つ同一書体の同種文字について、基本ポイントサイズの基本フォントのビットマップデータのみが格納される。   The cache unit 7 includes a font cache memory 15, a cache management unit 17, and a font development unit 19. The font cache memory 15 is configured in the RAM of the computer 3, for example. The font cache memory 15 stores font bitmap development data as a font cache. In this embodiment, only the basic font bitmap data of the basic point size is stored for the same type of characters of the same character type and the same typeface.

基本フォントは、文字種、書体、基本ポイントサイズを基本情報として備えている。基本ポイントサイズは、任意であり、例えば10ポイント等が設定される。ただし、基本ポイントサイズは、利便性や効率性等を考慮して最も使用頻度が高いポイントサイズを設定することができる。また、基本ポイントサイズは、最小1サイズであり、メモリー容量に応じて複数サイズを設定することも可能である。   The basic font includes character type, typeface, and basic point size as basic information. The basic point size is arbitrary, and is set to 10 points, for example. However, the basic point size can be set to the most frequently used point size in consideration of convenience and efficiency. The basic point size is a minimum of one size, and a plurality of sizes can be set according to the memory capacity.

キャッシュ管理部17は、フォントキャッシュの管理を行う。キャッシュ管理部17は、後述するキャッシュ要求(格納要求)に応じて、フォント展開部19にビットマップ展開処理を行わせる。また、キャッシュ管理部17は、展開されたビットマップデータをフォントキャッシュメモリー15に格納する。なお、キャッシュ管理部17は、フォントキャッシュを格納時刻順に削除するFIFO方式又は使用時刻順に削除してゆくLRU方式等を採用してメモリー領域の有効利用を図るようにしてもよい。   The cache management unit 17 manages the font cache. The cache management unit 17 causes the font expansion unit 19 to perform bitmap expansion processing in response to a cache request (storage request) described later. Further, the cache management unit 17 stores the developed bitmap data in the font cache memory 15. Note that the cache management unit 17 may adopt a FIFO method that deletes the font cache in the order of storage time or an LRU method that deletes the font cache in the order of use time, or the like, so as to effectively use the memory area.

フォント展開部19は、キャッシュ要求に応じた基本フォントのアウトラインデータを読み出し、ビットマップデータに展開する。アウトラインデータは、記憶部5内に構成されたアウトラインデータ格納部21に記憶されている。   The font expansion unit 19 reads out the outline data of the basic font corresponding to the cache request and expands it into bitmap data. The outline data is stored in the outline data storage unit 21 configured in the storage unit 5.

生成部9は、出力要求された要求フォント情報が入力されるようになっている。この生成部9は、基本フォントに対する要求フォントの変形量を表す変形行列式を生成する。   The generation unit 9 receives the requested font information requested to be output. The generation unit 9 generates a deformation determinant representing the deformation amount of the requested font with respect to the basic font.

すなわち、生成部9は、基本フォントに関する共用条件に応じて、要求フォントを基本ポイントサイズまで素数分解する。この素数分解により、要求フォント情報は、基本フォントの基本情報及び基本フォントに対する変形量を表す変形情報に分離される。なお、変形情報は、例えば拡大、縮小、回転角、平行移動量等である。   That is, the generation unit 9 decomposes the requested font to a prime number according to the sharing condition related to the basic font. By this prime number decomposition, the requested font information is separated into basic information of the basic font and deformation information representing the deformation amount with respect to the basic font. The deformation information includes, for example, enlargement / reduction, rotation angle, parallel movement amount, and the like.

変形情報の分離では、その共用条件の上限をユーザーインターフェース等によって任意に設定することができる。この場合は、設定された上限内で変形情報の分離処理が行われる。分離された変形情報は、生成部9によって変形行列式に変換される。変形行列式は、基本情報と共に読出部11に転送される。   In separation of deformation information, the upper limit of the sharing condition can be arbitrarily set by a user interface or the like. In this case, deformation information separation processing is performed within the set upper limit. The separated deformation information is converted into a deformation determinant by the generation unit 9. The modified determinant is transferred to the reading unit 11 together with the basic information.

読出部11は、要求フォントの基本情報に基づき、フォントキャッシュメモリー15内の対応する基本フォントのフォントキャッシュを検索する。対応する基本フォントのフォントキャッシュが存在する場合は、そのフォントキャッシュを読み出して変形行列式と共に出力部13に転送する。   The reading unit 11 searches the font cache of the corresponding basic font in the font cache memory 15 based on the basic information of the requested font. If there is a font cache of the corresponding basic font, the font cache is read out and transferred to the output unit 13 together with the modified determinant.

一方、存在しない場合は、読出部11がキャッシュ管理部17に対してキャッシュ要求を出力する。   On the other hand, if the data does not exist, the reading unit 11 outputs a cache request to the cache management unit 17.

出力部13は、基本フォントのフォントキャッシュを変形行列式によって変形し、記憶部5内のバンドバッファー23に出力する。   The output unit 13 transforms the font cache of the basic font by the transformation determinant and outputs it to the band buffer 23 in the storage unit 5.

すなわち、出力部13は、入力されたフォントキャッシュ及び変形行列式から、描画プリミティブである2値のビットマップデータのビットブリッド用のディスプレイリストを作成する。そして、出力部13は、作成したディスプレイリストを参照しながら要求フォントをバンド単位でバンドバッファー23に描画(出力)する。
[画像出力処理]
図2は、図1の画像出力装置による画像出力処理の概略を示す説明図である。なお、図2では、基本フォントのフォントキャッシュが、10ポイントの文字「愛」である場合について説明する。
In other words, the output unit 13 creates a display list for bit bridging of binary bitmap data that is a drawing primitive from the input font cache and modified determinant. Then, the output unit 13 draws (outputs) the requested font in the band buffer 23 in units of bands while referring to the created display list.
[Image output processing]
FIG. 2 is an explanatory diagram showing an outline of image output processing by the image output apparatus of FIG. FIG. 2 illustrates a case where the font cache of the basic font is a 10-point character “love”.

画像出力装置1では、図2のように、出力要求された要求フォントを、基本フォントのフォントキャッシュを変形することで出力する。変形は、要求フォントと基本フォントとの差分に応じて行われる。   As shown in FIG. 2, the image output apparatus 1 outputs the requested font requested to be output by modifying the font cache of the basic font. The transformation is performed according to the difference between the requested font and the basic font.

例えば、要求フォントが10ポイントの「愛」である場合は、要求フォントと基本フォントとが差分のない同一であるため、基本フォントのフォントキャッシュがそのまま出力される。   For example, if the requested font is “Love” with 10 points, the requested font and the basic font are the same with no difference, so the font cache of the basic font is output as it is.

要求フォントが15ポイントの「愛」である場合は、差分がXY方向への1.5倍であるため、基本フォントのフォントキャッシュをXY方向へ1.5倍に拡大して出力する。   When the requested font is “Love” with 15 points, the difference is 1.5 times in the XY direction, so the font cache of the basic font is enlarged 1.5 times in the XY direction and output.

同様に、20ポイント且つX方向に平行移動した「愛」を出力する場合は、基本フォントのフォントキャッシュをXY方向へ2倍に拡大すると共にX方向の平行移動量を付加し、20ポイント且つX方向に平行移動した下向き「愛」を出力する場合は、基本フォントのフォントキャッシュをXY方向へ2倍に拡大すると共にX方向の平行移動量を付加して180度回転させる。   Similarly, when outputting “love” which is 20 points and translated in the X direction, the font cache of the basic font is doubled in the XY direction and a translation amount in the X direction is added. In the case of outputting downward “love” translated in the direction, the font cache of the basic font is doubled in the XY direction, and the amount of translation in the X direction is added and rotated 180 degrees.

図3は、図1の画像出力装置による画像出力処理の詳細を示すフローチャートである。なお、図3では、基本フォントのフォントキャッシュがCourier5ポイントの文字「A」である場合に、Courier20ポイントの文字「A」をLandscapeで印字する例について説明する。なお、基本フォントに関する共用条件としては、基本ポイントサイズである5ポイント、変形用の共用条件としては、偶数倍の拡大、90度単位の回転が設定されている。   FIG. 3 is a flowchart showing details of image output processing by the image output apparatus of FIG. FIG. 3 illustrates an example in which the character “A” of the Carrier 20 point is printed in Landscape when the font cache of the basic font is the character “A” of the Carrier 5 point. Note that the basic font size is set to 5 points, which is the basic point size, and the transformation shared conditions are set to enlarge even times and rotate in units of 90 degrees.

画像出力処理では、図3のように、出力要求された要求フォント情報が生成部9に入力されるとスタートする。本実施例では、要求フォント情報として「20ポイントの文字「A」をLandscapeで印字」が入力される。スタートした画像出力処理は、ステップS1からの処理を実行する。   The image output process starts when the requested font information requested to be output is input to the generation unit 9 as shown in FIG. In this embodiment, “20-point character“ A ”is printed in Landscape” is input as the requested font information. The started image output processing executes the processing from step S1.

ステップS1では、生成手順の一部として要求フォントの分離処理を実行する。すなわち、生成部9は、共用条件に応じて要求フォント情報を素数分解し、基本情報としての「Courier、5ポイント、文字「A」」及び変形情報としての「XY拡大4倍、回転90度」に分離する。これによりステップS2に移行する。   In step S1, a required font separation process is executed as part of the generation procedure. In other words, the generation unit 9 performs prime number decomposition on the requested font information according to the sharing condition, “Courier, 5 points, character“ A ”” as basic information, and “XY expansion 4 times, rotation 90 degrees” as deformation information. To separate. Thereby, the process proceeds to step S2.

次いで、ステップS2では、生成手順の一部として変形行列式の変換処理を実行する。すなわち、生成部9は、分離した変形情報を3×3の変形行列式に変換する。変形行列式は、基本情報と共に読出部11に転送される。これによりステップS3に移行する。   Next, in step S2, a transformation process of the modified determinant is executed as part of the generation procedure. That is, the generation unit 9 converts the separated deformation information into a 3 × 3 deformation determinant. The modified determinant is transferred to the reading unit 11 together with the basic information. Thereby, the process proceeds to step S3.

ステップS3では、読出手順の一部としてフォントキャッシュ検索処理を実行する。すなわち、読出部11は、入力された要求フォントの基本情報に基づいて、対応する基本フォント「Courier、5ポイント、文字「A」」のフォントキャッシュをフォントキャッシュメモリー15から検索する。
フォントキャッシュが存在する場合は、ステップS5に移行し(YES)、存在しない場合は、ステップS4に移行する(NO)。
In step S3, a font cache search process is executed as part of the reading procedure. That is, the reading unit 11 searches the font cache memory 15 for the font cache of the corresponding basic font “Courier, 5 points, character“ A ”” based on the input basic information of the requested font.
If the font cache exists, the process proceeds to step S5 (YES), and if not, the process proceeds to step S4 (NO).

ステップS4では、キャッシュ手順としてフォントキャッシュの格納処理を実行する。すなわち、読出部11は、キャッシュ管理部17に対してキャッシュ要求を出力する。このキャッシュ要求に応じ、キャッシュ管理部17は、フォント展開部19に対して要求フォントに対応する基本フォント「Courier、5ポイント、文字「A」」のビットマップ展開を行わせる。展開されたビットマップデータは、フォントキャッシュとしてフォントキャッシュメモリー15内に格納される。これによりステップS4が完了してステップS5に移行する。   In step S4, a font cache storage process is executed as a cache procedure. That is, the reading unit 11 outputs a cache request to the cache management unit 17. In response to this cache request, the cache management unit 17 causes the font expansion unit 19 to perform bitmap expansion of the basic font “Courier, 5 points, character“ A ”” corresponding to the requested font. The expanded bitmap data is stored in the font cache memory 15 as a font cache. Thereby, step S4 is completed and the process proceeds to step S5.

ステップS5では、読出手順の一部としてフォントキャッシュ読出処理を実行する。すなわち、読出部11は、フォントキャッシュメモリー15から検索されたフォントキャッシュ又は新たに格納されたフォントキャッシュを読み出す。読み出されたフォントキャッシュは、変形行列式と共に出力部13に転送される。これによりステップS5が完了してステップS6に移行する。   In step S5, a font cache reading process is executed as part of the reading procedure. That is, the reading unit 11 reads the font cache retrieved from the font cache memory 15 or the newly stored font cache. The read font cache is transferred to the output unit 13 together with the modified determinant. Thereby, step S5 is completed and the process proceeds to step S6.

なお、新たに格納されたフォントキャッシュについては、フォント展開部19で展開されたビットマップデータを、フォントキャッシュメモリー15へ格納すると共に読出部11へ転送してもよい。この場合は、読出部11によるフォントキャッシュの読出処理が不要となる。   As for the newly stored font cache, the bitmap data expanded by the font expansion unit 19 may be stored in the font cache memory 15 and transferred to the reading unit 11. In this case, the font cache reading process by the reading unit 11 is not necessary.

ステップS6では、出力手順の一部としてディスプレイリスト作成処理を実行する。すなわち、出力部13は、入力された基本フォントのフォントキャッシュ及び変形行列式からビットブリッド用のディスプレイリストを作成する。これによりステップS7へ移行する。   In step S6, display list creation processing is executed as part of the output procedure. That is, the output unit 13 creates a display list for bit bridging from the font cache and the transformation determinant of the input basic font. Thereby, the process proceeds to step S7.

次いで、ステップS7では、出力手順の一部として描画処理を実行する。すなわち、出力部13は、ディスプレイリストを参照してバンドバッファー23に要求フォントを描画(出力)する。本実施例では、基本フォント「Courier、5ポイント、文字「A」」のフォントキャッシュを、差分である変形情報「XY拡大4倍、回転90度」の変形行列式によってXY方向に4倍すると共に90度回転させて変形出力する。その後は、出力側のディスプレイ等の画像表示装置或いは複合機やプリンター等の画像形成装置での描画が行われる。   Next, in step S7, a drawing process is executed as part of the output procedure. That is, the output unit 13 draws (outputs) the requested font in the band buffer 23 with reference to the display list. In this embodiment, the font cache of the basic font “Courier, 5 points, character“ A ”” is quadrupled in the XY direction by a transformation determinant of the transformation information “XY enlargement 4 times, rotation 90 degrees” as a difference. Rotate 90 degrees and output deformation. Thereafter, drawing is performed by an image display device such as an output-side display or an image forming device such as a multifunction peripheral or a printer.

なお、上記画像出力処理では、フォントキャッシュの共用条件を、例えばプリンターや複合機等の画像形成装置のハードウェア性能に応じて変更することが可能である。また、ハードウェア性能を数値化することで自動的に共用条件を決定することも可能である。   In the image output process, the font cache sharing condition can be changed according to the hardware performance of an image forming apparatus such as a printer or a multifunction peripheral. It is also possible to automatically determine sharing conditions by digitizing hardware performance.

ハードウェア性能が低い場合は、共用条件の倍率を2倍等に制限すれば、処理速度の低下を抑制することができる。   When the hardware performance is low, a reduction in processing speed can be suppressed by limiting the magnification of the sharing condition to 2 times or the like.

また、イメージの拡大、縮小、回転等を専用のハードウェアで処理させれば、拡大、縮小が偶数倍という制限や回転が90度単位の制限もより細かい制御が可能となる。
[実施例1の効果]
本実施例の画像出力装置1は、同種文字について基本ポイントサイズを有する基本フォントのフォントキャッシュを格納するキャッシュ部7と、基本フォントに対する要求フォントの変形量を表す変形行列式を生成する生成部9と、キャッシュ部7から要求フォントと同種文字の基本フォントのフォントキャッシュを読み出す読出部11と、読み出したフォントキャッシュを変形行列式によって変形して出力する出力部13とを備えている。
Further, if the enlargement, reduction, rotation, and the like of the image are processed by dedicated hardware, it is possible to perform finer control such as the restriction that the enlargement and reduction are even times and the restriction that the rotation is in units of 90 degrees.
[Effect of Example 1]
The image output apparatus 1 according to the present embodiment includes a cache unit 7 that stores a font cache of a basic font having a basic point size for the same type of character, and a generation unit 9 that generates a deformation determinant representing a deformation amount of the requested font with respect to the basic font. And a reading unit 11 that reads a font cache of a basic font of the same type as the requested font from the cache unit 7, and an output unit 13 that outputs the font font that has been read out by transforming it using a transformation determinant.

従って、画像出力装置1では、同種文字について基本ポイントサイズを有する基本フォントのフォントキャッシュのみを格納するので、フォントキャッシュ数を大幅に減少させることができる。このため、画像出力装置1では、メモリー領域の圧迫やフォントキャッシュの読み出し時の検索速度の低下を抑制することができる。しかも、フォントキャッシュの格納処理回数も減少するので、全体としての処理の迅速化を図ることができる。   Therefore, since the image output apparatus 1 stores only the font cache of the basic font having the basic point size for the same type of character, the number of font caches can be greatly reduced. For this reason, the image output apparatus 1 can suppress the compression of the memory area and the decrease in the search speed when reading the font cache. In addition, since the number of times the font cache is stored is reduced, the overall processing can be speeded up.

このようにフォントキャッシュ数を減少させても、画像出力装置1では、基本フォントに対する変形量を表す変形行列式によって、基本フォントのフォントキャッシュを変形して要求フォントを出力することができる。   Even when the number of font caches is reduced in this way, the image output apparatus 1 can output the requested font by deforming the font cache of the basic font by the deformation matrix equation representing the deformation amount of the basic font.

このため、画像出力装置1では、任意倍率への拡大、縮小や回転等にも適応することができ、出力可能なフォント数が減少を抑制することができる。   For this reason, the image output apparatus 1 can be applied to enlargement, reduction, rotation, etc. to an arbitrary magnification, and the number of fonts that can be output can be suppressed from decreasing.

また、基本ポイントサイズとして複数サイズが設定されている場合は、フォントキャッシュの変形量を小さくして画像劣化を最小限に抑えることができると共に、フォントキャッシュの検索ヒット率を向上することができる。   When a plurality of sizes are set as the basic point size, the font cache deformation amount can be reduced to minimize image deterioration, and the font cache search hit rate can be improved.

本実施例の画像出力装置1では、生成部9が、要求フォントを素数分解して基本フォントに対応する基本情報及び変形量を表す変形情報に分離し、読出部11が、基本情報からフォントキャッシュを検索して読み出すため、読み出し時のフォントキャッシュの検索ヒット率を向上することができる。   In the image output apparatus 1 of the present embodiment, the generation unit 9 decomposes the requested font into prime numbers and separates into basic information corresponding to the basic font and deformation information representing the deformation amount, and the reading unit 11 reads the font cache from the basic information. Thus, the font cache search hit rate at the time of reading can be improved.

また、画像出力装置1では、素数分解した変形情報から求めた変形行列式を用いるため、確実に基本フォントのフォントキャッシュを変形して要求フォントを出力することができる。   In addition, since the image output apparatus 1 uses the transformation determinant obtained from the transformation information subjected to prime number decomposition, it is possible to reliably transform the font cache of the basic font and output the requested font.

また、本実施例では、読出部11が、要求フォントに対応する基本フォントのフォントキャッシュが未格納である場合にキャッシュ要求を行い、キャッシュ部7が、キャッシュ要求に応じて基本フォントのフォントキャッシュを格納する。   In this embodiment, the reading unit 11 makes a cache request when the font cache of the basic font corresponding to the requested font is not stored, and the cache unit 7 sets the font cache of the basic font in response to the cache request. Store.

このため、フォントキャッシュが未格納である場合でも、確実に基本フォントのフォントキャッシュを変形して要求フォントを出力することができる。   For this reason, even when the font cache is not stored, it is possible to reliably transform the font cache of the basic font and output the requested font.

また、生成部9は、基本フォントに対する変形情報の変形制限を設定し、該変形制限の範囲内で基本情報及び変形情報の分離を行うことができるため、ハードウェアの性能に応じて任意の制限を設定して処理速度の減少を抑制することができる。   Further, since the generation unit 9 can set the deformation restriction of the deformation information for the basic font and can separate the basic information and the deformation information within the range of the deformation restriction, an arbitrary restriction can be made according to the performance of the hardware. Can be set to suppress a decrease in processing speed.

例えば、ハードウェア性能が高い場合は、変形制限の拡大倍率の上限を大きくすることで、基本ポイントサイズ数が少ない場合でもフォントキャッシュ検索のヒット率を向上させることができ、処理の高速化を図ることができる。   For example, when the hardware performance is high, increasing the upper limit of the enlargement ratio of the deformation restriction can improve the font cache search hit rate even when the number of basic point sizes is small, and speed up the processing. be able to.

1 画像出力装置
7 キャッシュ部
9 生成部
11 読出部
13 出力部
DESCRIPTION OF SYMBOLS 1 Image output device 7 Cache part 9 Generating part 11 Reading part 13 Output part

Claims (5)

出力要求された要求フォントをドット形式の画像データに展開して出力する画像出力装置であって、
同種文字について基本ポイントサイズを有する基本フォントの展開画像データを格納するキャッシュ部と、
前記基本フォントに対する前記要求フォントの変形量を表す変形行列式を生成する生成部と、
前記キャッシュ部から前記要求フォントと同種文字の基本フォントの展開画像データを読み出す読出部と、
前記読み出した展開画像データを前記変形行列式によって変形して出力する出力部とを備えた、
ことを特徴とする画像出力装置。
An image output device that outputs and outputs a requested font requested for output into image data in dot format,
A cache unit for storing developed image data of a basic font having a basic point size for the same character;
A generating unit that generates a deformation determinant representing a deformation amount of the required font with respect to the basic font;
A reading unit that reads out the developed image data of a basic font of the same type as the requested font from the cache unit;
An output unit that deforms and outputs the read out developed image data according to the modified determinant,
An image output apparatus characterized by that.
請求項1記載の画像出力装置であって、
前記生成部は、前記要求フォントを素数分解して前記基本フォントに対応する基本情報及び前記変形量を表す変形情報に分離すると共に該変形情報を前記変形行列式に変換し、
前記読出部は、前記基本情報から前記同種文字の展開画像データを検索して読み出す、
ことを特徴とする画像出力装置。
The image output apparatus according to claim 1,
The generating unit decomposes the required font into prime numbers and separates into basic information corresponding to the basic font and deformation information representing the deformation amount, and converts the deformation information into the deformation determinant;
The reading unit retrieves and reads out the developed image data of the same character from the basic information.
An image output apparatus characterized by that.
請求項1又は2記載の画像出力装置であって、
前記読出部は、前記要求フォントに対応する基本フォントの展開画像データが未格納である場合に、該展開画像データの格納要求を行い、
前記キャッシュ部は、前記格納要求に応じて前記展開画像データを格納する、
ことを特徴とする画像出力装置。
The image output device according to claim 1 or 2,
The reading unit, when the development image data of the basic font corresponding to the request font is not stored, makes a storage request for the development image data,
The cache unit stores the developed image data in response to the storage request;
An image output apparatus characterized by that.
請求項1〜3の何れかに記載の画像出力装置であって、
前記生成部は、前記基本フォントに対する変形情報の変形制限を設定し、該変形制限の範囲内で前記基本情報及び変形情報の分離を行う、
ことを特徴とする画像出力装置。
The image output device according to any one of claims 1 to 3,
The generation unit sets a deformation limit of deformation information for the basic font, and separates the basic information and the deformation information within the range of the deformation limit.
An image output apparatus characterized by that.
出力要求された要求フォントをドット形式の画像データに展開して出力するための画像出力プログラムであって、
同種文字について基本ポイントサイズを有する基本フォントの展開画像データを格納するキャッシュ手順と、
前記基本フォントに対する前記要求フォントの変形量を表す変形行列式を生成する生成手順と、
前記要求フォントと同種文字の基本フォントの展開画像データを読み出す読出手順と、
前記読み出した展開画像データを前記変形行列式によって変形して出力する出力手順とをコンピューターに実行させる、
ことを特徴とする画像出力プログラム。
An image output program for expanding and outputting the requested font requested for output into dot format image data,
A cache procedure for storing developed image data of a basic font having a basic point size for the same type of character;
A generation procedure for generating a deformation determinant representing a deformation amount of the required font with respect to the basic font;
A reading procedure for reading out developed image data of a basic font of the same type as the requested font;
Causing the computer to execute an output procedure for transforming and outputting the read out developed image data by the modified determinant,
An image output program characterized by that.
JP2010067360A 2010-03-24 2010-03-24 Image output device and image output program Pending JP2011194859A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010067360A JP2011194859A (en) 2010-03-24 2010-03-24 Image output device and image output program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010067360A JP2011194859A (en) 2010-03-24 2010-03-24 Image output device and image output program

Publications (1)

Publication Number Publication Date
JP2011194859A true JP2011194859A (en) 2011-10-06

Family

ID=44873627

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010067360A Pending JP2011194859A (en) 2010-03-24 2010-03-24 Image output device and image output program

Country Status (1)

Country Link
JP (1) JP2011194859A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0627922A (en) * 1992-07-07 1994-02-04 Toshiba Corp Character pattern display controller
JPH06183074A (en) * 1992-12-16 1994-07-05 Fuji Xerox Co Ltd Character processing device
JPH06236173A (en) * 1993-02-10 1994-08-23 Fuji Xerox Co Ltd Character processor
JPH06274145A (en) * 1993-03-19 1994-09-30 Fuji Xerox Co Ltd Character processor
JPH0930061A (en) * 1995-07-19 1997-02-04 Fuji Xerox Co Ltd Character output device
JPH09171564A (en) * 1995-12-20 1997-06-30 Fuji Xerox Co Ltd Plotting device
JPH1063250A (en) * 1996-08-23 1998-03-06 Fuji Xerox Co Ltd Character processing device
JPH1153351A (en) * 1997-08-08 1999-02-26 Fuji Xerox Co Ltd Method and device for drawing character string, and image forming device
JP2000075849A (en) * 1998-09-02 2000-03-14 Fuji Xerox Co Ltd Character plotting apparatus and character plotting method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0627922A (en) * 1992-07-07 1994-02-04 Toshiba Corp Character pattern display controller
JPH06183074A (en) * 1992-12-16 1994-07-05 Fuji Xerox Co Ltd Character processing device
JPH06236173A (en) * 1993-02-10 1994-08-23 Fuji Xerox Co Ltd Character processor
JPH06274145A (en) * 1993-03-19 1994-09-30 Fuji Xerox Co Ltd Character processor
JPH0930061A (en) * 1995-07-19 1997-02-04 Fuji Xerox Co Ltd Character output device
JPH09171564A (en) * 1995-12-20 1997-06-30 Fuji Xerox Co Ltd Plotting device
JPH1063250A (en) * 1996-08-23 1998-03-06 Fuji Xerox Co Ltd Character processing device
JPH1153351A (en) * 1997-08-08 1999-02-26 Fuji Xerox Co Ltd Method and device for drawing character string, and image forming device
JP2000075849A (en) * 1998-09-02 2000-03-14 Fuji Xerox Co Ltd Character plotting apparatus and character plotting method

Similar Documents

Publication Publication Date Title
US9619440B2 (en) Document conversion apparatus
JP4595789B2 (en) Image processing apparatus, image processing method, and image processing program
US8502830B2 (en) Image processing apparatus, image processing method, and storage medium
JP2010109967A (en) Image processing apparatus, method, and, program
JP5691688B2 (en) Print control apparatus, print control program, and print control method
JP4222401B2 (en) Rasterizing apparatus, program and method
US7170628B2 (en) Efficient processing of images in printers
JP5346883B2 (en) Image output apparatus and image output program
JP2011194859A (en) Image output device and image output program
US20090244622A1 (en) Systems and Methods for Rendering Print Data
JP4775480B2 (en) PDL data processing apparatus and PDL data processing program
JP5574242B2 (en) Print control apparatus, print control program, and print control method
JP2001169120A (en) Method, device, and system for image processing
JP2013174954A (en) Information processing apparatus and program
US8756491B2 (en) PDL data processing device
JP2006350909A (en) Document generation device and file optimization method
US8064073B2 (en) Adaptive rasterizer buffer
JP4116997B2 (en) Image processing device
JP2006031160A (en) Graphic object processing method
JP2001270170A (en) Printer controller
US9501858B2 (en) Display device and computer
JP4711008B2 (en) Image data processing apparatus and image forming apparatus
JP2006260477A (en) Pipeline image processor, image processing method and program
JP2013123116A (en) Image processing device, image processing method, and program
JP4363434B2 (en) Printer system and printer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130108

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130311

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130709