JPH1115458A - Character forming device - Google Patents
Character forming deviceInfo
- Publication number
- JPH1115458A JPH1115458A JP9162498A JP16249897A JPH1115458A JP H1115458 A JPH1115458 A JP H1115458A JP 9162498 A JP9162498 A JP 9162498A JP 16249897 A JP16249897 A JP 16249897A JP H1115458 A JPH1115458 A JP H1115458A
- Authority
- JP
- Japan
- Prior art keywords
- character
- memory
- pattern
- information
- characters
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 description 7
- 230000015572 biosynthetic process Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 239000004927 clay Substances 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 239000003973 paint Substances 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
Landscapes
- Dot-Matrix Printers And Others (AREA)
- Image Generation (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、文字をラスタ走査
により印刷又は表示する出力装置に使用する文字形成装
置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character forming apparatus used for an output device for printing or displaying characters by raster scanning.
【0002】[0002]
【従来の技術】この種の文字形成装置としては、例え
ば、特開平7−64527号公報が知られている。これ
は、カラー文字形成装置であって、文字単位でビットパ
ターンに展開された文字を記憶し、ページ単位でカラー
文字を記憶し、この記憶した文字を指示コマンドに従う
色で塗りつぶし、ページ単位のカラー文字を出力するこ
とでカラー文字形成の高速化を図っている。2. Description of the Related Art As a character forming apparatus of this kind, for example, Japanese Patent Application Laid-Open No. 7-64527 is known. This is a color character forming apparatus that stores characters developed in a bit pattern in character units, stores color characters in page units, fills the stored characters with a color according to an instruction command, and sets a color in page units. By outputting characters, the speed of color character formation is increased.
【0003】[0003]
【発明が解決しようとする課題】この従来装置は、カラ
ー文字の発生について述べているが、クレースケール文
字やパターン文字のような文字のアウトラインの内側を
ある種のパターンで塗りつぶす文字の発生については考
慮していない。また、発生した文字を表示あるいは印刷
するのにカラー出力が可能な出力装置に最適化している
ため、表示あるいは印刷における頻度の高い黒文字に対
しても疑似中間調処理を行ってしまい充分な高速化を図
ることができなかった。Although this conventional apparatus describes the generation of color characters, the generation of characters that fill the outline of characters such as clay scale characters and pattern characters with a certain pattern is not described. Not considered. In addition, since it is optimized for an output device that can output color in order to display or print the generated characters, pseudo halftone processing is performed even for black characters that are frequently displayed or printed, and sufficient speed is achieved. Could not be planned.
【0004】そこで、請求項1記載の発明は、モノクロ
出力の表示装置や印刷装置に適し、グレースケール文字
やパターン文字の形成の高速化を図ることができ、しか
も、黒文字のような疑似中間調処理の必要の無い文字に
対してはさらに高速化を図ることができる文字発生装置
を提供する。Therefore, the invention according to claim 1 is suitable for a display device or a printing device for monochrome output, can speed up the formation of grayscale characters and pattern characters, and furthermore, can provide pseudo halftones such as black characters. Provided is a character generator capable of further increasing the speed of characters that do not require processing.
【0005】[0005]
【課題を解決するための手段】請求項1記載の発明は、
文字のアウトライン情報を格納したベクトルフォントメ
モリと、表示あるいは印刷すべきデータをページ単位で
ドット情報として格納するページメモリと、ベクトルフ
ォントメモリのアウトライン情報と指定した文字属性情
報に基づいて文字をページメモリ上にドットイメージと
して生成する文字形成手段とからなり、文字形成手段
は、ベクトルフォントメモリのアウトライン情報に基づ
いて1文字単位でドットイメージに展開された文字を格
納するキャラクタメモリと、文字属性情報に対応する各
種のパターンデータを格納したパターンテーブルと、ベ
クトルフォントメモリのアウトライン情報に基づいてキ
ャラクタメモリ上に文字をドットイメージで展開するベ
クトルフォントラスタライザと、パターンテーブルから
指定した文字属性情報に対応したパターンデータを読出
すパターン読出し手段と、このパターン読出し手段によ
り読出したパターンデータとキャラクタメモリに格納し
た文字のドットイメージとの論理積演算を行う論理積演
算手段と、この論理積演算手段による論理積演算結果と
ページメモリの所定のメモリ領域との論理和演算及びキ
ャラクタメモリに格納した文字のドットイメージとペー
ジメモリの所定のメモリ領域との論理和演算を行う論理
和演算手段と、指定した文字属性情報を解析し、グレー
スケール文字やパターン文字の生成が必要か否かを判定
する文字属性判定手段と、この文字属性判定手段がグレ
ースケール文字やパターン文字の生成が必要であると判
定したとき論理和演算手段に論理積演算手段による論理
積演算結果とページメモリの所定のメモリ領域との論理
和演算を行わせるように切替え制御し、文字属性判定手
段がグレースケール文字やパターン文字の生成が必要で
ないと判定したとき論理和演算手段にキャラクタメモリ
に格納した文字のドットイメージとページメモリの所定
のメモリ領域との論理和演算を行わせるように切替え制
御する切替え制御手段とを備えたことにある。According to the first aspect of the present invention,
A vector font memory that stores character outline information, a page memory that stores data to be displayed or printed as dot information in page units, and a page memory that stores characters based on vector font memory outline information and specified character attribute information. A character forming means for generating a dot image on the basis of the outline information of the vector font memory. A pattern table storing various corresponding pattern data, a vector font rasterizer for developing characters in a dot image on the character memory based on outline information of the vector font memory, and a character attribute information designated from the pattern table. Pattern reading means for reading pattern data corresponding to the pattern data, AND operation means for performing an AND operation of the pattern data read by the pattern reading means and the dot image of the character stored in the character memory, and the AND operation means AND operation means for performing a logical sum operation of a result of a logical product operation by a predetermined memory area of a page memory and a logical sum operation of a dot image of a character stored in a character memory and a predetermined memory area of a page memory. Character attribute information for analyzing whether or not grayscale characters or pattern characters need to be generated, and the character attribute determination means determining that grayscale characters or pattern characters need to be generated. Then, the result of the logical product operation by the logical product operation means and the predetermined memory of the page memory are stored in the logical sum operation means. The switching control is performed so that the logical sum operation with the memory area is performed, and when the character attribute determining unit determines that generation of a grayscale character or a pattern character is not necessary, the dot image of the character stored in the character memory is stored in the logical OR calculating unit. Switching control means for performing switching control so as to perform a logical OR operation with a predetermined memory area of the page memory.
【0006】[0006]
【発明の実施の形態】本発明の実施の形態を図面を参照
して説明する。図1は全体の構成を示すブロック図で、
1はシステム全体の制御及び管理を行うCPU(中央処
理装置)、2は文字のアウトライン情報をベクトル情報
として格納したベクトルフォントメモリ、3は前記CP
U1が実行するプログラムの保持及びデータ処理のため
のワークエリアとして使用するワークメモリ、4は文字
を形成処理する文字形成手段で、これらはバスライン5
によって電気的に接続している。6は印刷すべきドット
イメージデータを1ページ分格納するページメモリ、7
は前記ページメモリ6のデータを順次読出し、同期を取
りながらモノクロの印刷装置8にデータを転送する印刷
制御部である。Embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the overall configuration.
1 is a CPU (central processing unit) for controlling and managing the entire system, 2 is a vector font memory storing character outline information as vector information, and 3 is the CP
U1 is a work memory used as a work area for holding a program executed and data processing, and 4 is a character forming means for forming and processing characters.
Are electrically connected. 6, a page memory for storing one page of dot image data to be printed;
Reference numeral denotes a print control unit for sequentially reading data from the page memory 6 and transferring the data to the monochrome printing device 8 while maintaining synchronization.
【0007】前記文字形成手段4は、図3に示すよう
に、前記ベクトルフォントメモリ2のアウトライン情報
に基づいて1文字単位でドットイメージに展開された文
字を格納するキャラクタメモリ41、前記ベクトルフォ
ントメモリ2のアウトライン情報に基づいて前記キャラ
クタメモリ41上に指定された文字をドットイメージで
展開するベクトルフォントラスタライズ42、文字属性
情報に対応する各種のパターンデータを格納したパター
ンテーブル43、このパターンテーブル43から指定し
た文字属性情報に対応したパターンデータを読出すパタ
ーン読出し手段44を設けている。前記パターンテーブ
ル43には、カラー用とハッチ用の2種類のパターンテ
ーブルが用意され、各パターンテーブルにおける1つの
エントリーには16ビット×16ビット(32バイト)
のデータが格納されている。なお、1つのエントリーの
大きさは前記印刷装置8の解像度や印刷方式により変更
される。As shown in FIG. 3, the character forming means 4 includes a character memory 41 for storing characters developed into dot images in units of one character based on outline information of the vector font memory 2; 2, a vector font rasterize 42 for developing a character designated on the character memory 41 as a dot image based on the outline information 2; a pattern table 43 storing various pattern data corresponding to character attribute information; A pattern reading means 44 for reading pattern data corresponding to the designated character attribute information is provided. In the pattern table 43, two types of pattern tables for color and hatch are prepared. One entry in each pattern table has 16 bits × 16 bits (32 bytes).
Is stored. The size of one entry is changed according to the resolution of the printing device 8 and the printing method.
【0008】また、前記パターン読出し手段44により
読出したパターンデータと前記キャラクタメモリ41に
格納した文字のドットイメージとの論理積演算を行い、
演算結果を前記キャラクタメモリ41に格納する論理積
演算手段45、前記キャラクタメモリ41に格納した前
記論理積演算手段45の演算結果の文字と前記ページメ
モリ6上のこの演算結果の文字が書込まれる所定のメモ
リ領域との論理和演算及び前記キャラクタメモリ41に
格納した前記ベクトルフォントラスタライズ42により
展開された文字と前記ページメモリ6上のこの演算結果
の文字が書込まれる所定のメモリ領域との論理和演算を
行う論理和演算手段46を設けている。さらに、指定し
た文字属性情報を解析し、グレースケール文字やパター
ン文字の生成が必要か否かを判定する文字属性判定手段
47、この文字属性判定手段47がグレースケール文字
やパターン文字の生成が必要であると判定したとき前記
論理和演算手段46に前記論理積演算手段45による論
理積演算結果と前記ページメモリ6の所定のメモリ領域
との論理和演算を行わせるように切替スイッチ48を接
点48a側に切替え制御し、前記文字属性判定手段47
がグレースケール文字やパターン文字の生成が必要でな
いと判定したとき前記論理和演算手段46に、前記キャ
ラクタメモリ41に格納した前記ベクトルフォントラス
タライズ42により展開された文字と前記ページメモリ
6の所定のメモリ領域との論理和演算を行わせるように
前記切替スイッチ48を接点48b側に切替制御する切
替え制御手段49を設けている。The logical AND operation of the pattern data read by the pattern reading means 44 and the dot image of the character stored in the character memory 41 is performed.
The AND operation means 45 for storing the operation result in the character memory 41, the character of the operation result of the AND operation means 45 stored in the character memory 41 and the character of this operation result on the page memory 6 are written. Logical OR operation with a predetermined memory area and logic between a character expanded by the vector font rasterization 42 stored in the character memory 41 and a predetermined memory area in the page memory 6 where the character of this operation result is written A logical sum operation means 46 for performing a sum operation is provided. Further, a character attribute determining unit 47 that analyzes the designated character attribute information and determines whether or not a grayscale character or a pattern character needs to be generated. The character attribute determining unit 47 needs to generate a grayscale character or a pattern character. When the determination is made, the changeover switch 48 is set to the contact 48a so that the logical sum operation means 46 performs the logical sum operation of the logical product operation result by the logical product operation means 45 and a predetermined memory area of the page memory 6. Side, and the character attribute determining means 47 is controlled.
Determines that it is not necessary to generate a grayscale character or a pattern character, the logical sum operation means 46 determines whether the character expanded by the vector font rasterization 42 stored in the character memory 41 and the predetermined memory in the page memory 6 Switching control means 49 is provided for switching the changeover switch 48 to the contact 48b side so as to perform a logical OR operation with the area.
【0009】ここで文字属性情報について述べると、図
2は文字属性情報を格納するメモリ構成を示し、メモリ
領域51には文字属性の指定によりカラー、ハッチ、ユ
ーザパターンの3種類の塗りつぶしスタイル情報のいず
れかが格納され、メモリ領域52には塗りつぶしスタイ
ル情報がカラーのときにカラー値情報が格納され、メモ
リ領域53には塗りつぶしスタイル情報がハッチのとき
にハッチパターンID情報が格納され、メモリ領域54
には塗りつぶしスタイル情報がユーザパターンのときに
指定パターンデータが格納されるようになっている。Referring to character attribute information, FIG. 2 shows a memory configuration for storing character attribute information. A memory area 51 stores three types of fill style information of color, hatch, and user pattern by designating character attributes. Either is stored, color value information is stored in the memory area 52 when the fill style information is color, and hatch pattern ID information is stored in the memory area 53 when the fill style information is hatch.
When the fill style information is a user pattern, designated pattern data is stored.
【0010】塗りつぶしスタイル情報としてカラーが指
定された場合には、描画される文字は前記メモリ領域5
2に格納されているカラー値に対応したパターンで文字
の輪郭線の内側を塗りつぶすことになる。また、塗りつ
ぶしスタイル情報としてハッチが指定された場合には、
描画される文字は前記メモリ領域53に格納されている
ハッチパターンIDの値に対応したパターンで文字の輪
郭の内側を塗りつぶすことになる。また、塗りつぶしス
タイル情報としてユーザパターンが指定された場合に
は、描画される文字は前記メモリ領域54に格納されて
いる指定パターンデータのビットパターンで文字の輪郭
の内側を塗りつぶすことになる。When a color is designated as the fill style information, the character to be drawn is stored in the memory area 5.
2, the inside of the outline of the character is painted with a pattern corresponding to the color value stored in 2. If a hatch is specified as the fill style information,
The character to be drawn fills the inside of the outline of the character with a pattern corresponding to the value of the hatch pattern ID stored in the memory area 53. When a user pattern is specified as the fill style information, the character to be drawn fills the inside of the outline of the character with the bit pattern of the specified pattern data stored in the memory area 54.
【0011】前記メモリ領域52のフィールドは3つに
分割され、それぞれ原色の輝度を示している。すなわ
ち、赤色の情報、緑色の情報、青色の情報を示すRGB
値を格納している。RGB値においては、値0は最低輝
度、値255は最高輝度を示している。そして、このR
GB値から輝度計算を行い、対応するパターンデータを
前記パターンテーブル43から読出すことになる。The field of the memory area 52 is divided into three, each of which indicates the luminance of a primary color. That is, RGB indicating red information, green information, and blue information
Stores the value. In the RGB values, the value 0 indicates the lowest luminance, and the value 255 indicates the highest luminance. And this R
The luminance is calculated from the GB value, and the corresponding pattern data is read from the pattern table 43.
【0012】前記メモリ領域53のハッチパターンID
は、例えば、「1」は横のハッチ、「2」は縦のハッ
チ、「3」は45度右上がりのハッチ、「4」は45度
右下がりのハッチ、「5」は縦横のクロスハッチのよう
に定義している。図4は前記文字形成手段4による文字
形成処理を示す流れ図で、この処理は先ず、ステップS
1にて、展開する文字コードを前記ベクトルフォントラ
スタライザ42へ渡し、続いて、ステップS2にて、前
記ベクトルフォントラスタライザ42が指定された文字
をビットマップデータに展開するのに必要なキャラクタ
メモリサイズを算出し前記ワークメモリ3からキャラク
タメモリ41を確保する。次に、ステップS3にて、前
記ベクトルフォントラスタライズ42は前記ベクトルフ
ォントメモリ2から、指定された文字のアウトライン情
報を得て、これをステップS2で確保したキャラクタメ
モリ41上にビットマップ展開し、文字のアウトライン
の内側を塗りつぶす。なお、塗りつぶしはデータ「1」
を書込むことで実行する。The hatch pattern ID of the memory area 53
For example, "1" is a horizontal hatch, "2" is a vertical hatch, "3" is a hatch rising 45 degrees to the right, "4" is a hatch falling 45 degrees to the right, and "5" is a vertical and horizontal cross hatch. It is defined as follows. FIG. 4 is a flow chart showing a character forming process by the character forming means 4, and this process is performed first in step S.
At step 1, the character code to be expanded is passed to the vector font rasterizer 42. Subsequently, at step S2, the character memory size required for the vector font rasterizer 42 to expand the designated character into bitmap data is determined. Calculate and secure the character memory 41 from the work memory 3. Next, in step S3, the vector font rasterize 42 obtains the outline information of the designated character from the vector font memory 2, and develops the bitmap on the character memory 41 secured in step S2. Fill the inside of the outline of. Note that the fill is data "1"
Execute by writing.
【0013】次に、ステップS4にて、前記文字属性判
定手段47によりグレースケール文字あるいはパターン
文字の生成が必要か否かを判定し、この判定結果を前記
切替え制御手段49に渡す。そして、グレースケール文
字あるいはパターン文字の生成が必要であると判定され
ると、前記切替え制御手段49は切替スイッチ48を接
点48a側に切替える。そして、ステップS5にて、文
字属性情報の中の塗りつぶしスタイル情報を調べ、その
結果に基づいて前記パターン読出し手段44がパターン
テーブル43から該当するパターンデータを読出す。Next, at step S4, the character attribute determining means 47 determines whether or not a grayscale character or a pattern character needs to be generated, and passes the determination result to the switching control means 49. When it is determined that grayscale characters or pattern characters need to be generated, the switching control means 49 switches the switch 48 to the contact 48a side. Then, in step S5, the filling style information in the character attribute information is checked, and based on the result, the pattern reading means 44 reads the corresponding pattern data from the pattern table 43.
【0014】ここで、前記パターン読出し手段44によ
るパターンテーブル43からのパターンデータの読出し
処理について述べる。図5は、塗りつぶしスタイル情報
がカラーのときにパターン読出し手段44によって参照
されるパターンテーブルの例を示すもので、塗りつぶし
スタイル情報がカラーのときにはエントリー数が256
のパターンテーブルが用意される。各エントリーは16
ビット×16ビットのデータである。Here, the process of reading pattern data from the pattern table 43 by the pattern reading means 44 will be described. FIG. 5 shows an example of a pattern table referred to by the pattern reading means 44 when the fill style information is color. When the fill style information is color, the number of entries is 256.
Is prepared. Each entry is 16
It is data of bits × 16 bits.
【0015】今、文字属性情報の塗りつぶしスタイル情
報がカラーでカラー値が赤色値Rが「31」、緑色値G
が「17」、青色値Bが「80」であったとすると、下
記式にこの数値を代入して数値を求める。 (9×G+5×R+2×B)/16 すなわち、(9×17+5×31+2×80)/16で
29になる。Now, the paint style information of the character attribute information is color, the color value is red value R is "31", and the green value G is
Is "17" and the blue value B is "80", the numerical value is obtained by substituting this numerical value into the following equation. (9 × G + 5 × R + 2 × B) / 16 That is, (9 × 17 + 5 × 31 + 2 × 80) / 16 is 29.
【0016】この式は輝度計算と呼ばれ、算出した値は
0から255の値になる。この計算式によって得られた
数値はパターンテーブルのインデクスとなり、図5のパ
ターンテーブルにおいては、 1011000010000100 : : 0000100001000111 また、塗りつぶしスタイル情報がハッチの場合もカラー
スタイルの時と同様にパターンテーブルの各エントリー
は16ビット×16ビットのデータが格納されている。
そして、文字属性情報のハッチパターンIDとして格納
された数値がパターンテーブルのインデクスとなる。ま
た、塗りつぶしスタイル情報がユーザパターンの場合は
パターンデータとして文字属性情報の指定パターンデー
タとして格納されたデータがパターンデータとなる。This equation is called luminance calculation, and the calculated value is a value from 0 to 255. The numerical value obtained by this formula becomes the index of the pattern table. In the pattern table of FIG. 5, 10110000100000100 :: 000000100001000111 Even when the fill style information is a hatch, each entry of the pattern table is the same as in the color style. 16 bits × 16 bits of data are stored.
Then, the numerical value stored as the hatch pattern ID of the character attribute information becomes the index of the pattern table. When the fill style information is a user pattern, the data stored as the specified pattern data of the character attribute information as the pattern data is the pattern data.
【0017】続いて、ステップS6にて、論理積演算手
段45によりキャラクタメモリ41に格納した1文字分
のビットマップデータと前記パターン読出し手段44が
読出したパターンデータとの論理積演算を行い、その結
果を前記キャラクタメモリ41に格納する。そして、ス
テップS7にて、キャラクタメモリ41の全てのビット
マップデータとパターンデータの論理積演算が終了した
か否かを判断し、終了するまでステップS6の処理を繰
り返す。Subsequently, in step S6, the AND operation of the one-character bitmap data stored in the character memory 41 by the AND operation unit 45 and the pattern data read by the pattern reading unit 44 is performed. The result is stored in the character memory 41. Then, in step S7, it is determined whether the logical product operation of all the bitmap data and the pattern data in the character memory 41 has been completed, and the process of step S6 is repeated until the operation is completed.
【0018】キャラクタメモリ41の全てのビットマッ
プデータとパターンデータの論理積演算が終了すると、
ステップS8にて、前記論理和演算手段46により、前
記キャラクタメモリ41に格納された論理積演算後のビ
ットマップデータと前記ページメモリ6上のキャラクタ
メモリ41の内容が書込まれる所定のメモリ領域との論
理和演算を行い、結果を前記ページメモリ6の所定のメ
モリ領域に格納する。また、前記ステップS4にて、グ
レースケール文字あるいはパターン文字の生成が必要で
無いと判定されると、前記切替え制御手段49は切替ス
イッチ48を接点48b側に切替える。このときには、
パターン読出し手段44によるパターンテーブル43か
らのパターンデータの読出し処理や論理積演算手段45
による論理積演算処理を行わず、ステップS8にて、論
理和演算手段46は、前記ベクトルフォントラスタライ
ズ42により前記キャラクタメモリ41に展開したその
ままのビットマップデータと前記ページメモリ6上のキ
ャラクタメモリ41の内容が書込まれる所定のメモリ領
域との論理和演算を行い、結果を前記ページメモリ6の
所定のメモリ領域に格納する。When the logical AND operation of all the bitmap data and the pattern data in the character memory 41 is completed,
In step S8, the logical sum operation means 46 stores the bitmap data after the logical product operation stored in the character memory 41 and a predetermined memory area on the page memory 6 where the contents of the character memory 41 are written. And the result is stored in a predetermined memory area of the page memory 6. If it is determined in step S4 that the generation of grayscale characters or pattern characters is not necessary, the switching control means 49 switches the changeover switch 48 to the contact 48b. At this time,
A process of reading pattern data from the pattern table 43 by the pattern reading means 44 and a logical product operation means 45
In step S8, the logical sum operation means 46 performs the logical sum operation processing on the character memory 41 on the page memory 6 with the bitmap data directly expanded on the character memory 41 by the vector font rasterizing 42. A logical OR operation is performed with a predetermined memory area where the contents are written, and the result is stored in a predetermined memory area of the page memory 6.
【0019】このように、グレースケール文字あるいは
パターン文字の生成が必要な時には、ベクトルフォント
ラスタライズ42がキャラクタメモリ41に展開したビ
ットマップデータとパターン読出し手段44がパターン
テーブル43から読出したパターンデータとの論理積演
算を行った後に、この論理積演算結果とページメモリ6
上のキャラクタメモリ41の内容が書込まれる所定のメ
モリ領域との論理和演算を行って文字の生成を行うこと
で、グレースケール文字あるいはパターン文字の生成処
理が簡単になり、高速化を図ることができる。As described above, when it is necessary to generate a grayscale character or a pattern character, the vector font rasterizing 42 compares the bitmap data developed in the character memory 41 with the pattern data read from the pattern table 43 by the pattern reading means 44. After performing the logical product operation, the logical product calculation result and the page memory 6
By performing a logical sum operation with a predetermined memory area in which the contents of the character memory 41 are written to generate characters, grayscale characters or pattern character generation processing is simplified and speeded up. Can be.
【0020】また、グレースケール文字あるいはパター
ン文字の生成が必要の無い、黒文字のような時には、パ
ターン読出し手段44によるパターンテーブル43から
のパターンデータの読出し処理や論理積演算手段45に
よる論理積演算処理を不要とし、ベクトルフォントラス
タライズ42によりキャラクタメモリ41に展開したそ
のままのビットマップデータとページメモリ6上のキャ
ラクタメモリ41の内容が書込まれる所定のメモリ領域
との論理和演算のみを行って文字の生成を行うので、文
字の生成処理がさらに簡単になり、さらなる高速化を図
ることができる。When it is not necessary to generate grayscale characters or pattern characters, such as black characters, the pattern reading means 44 reads pattern data from the pattern table 43 and the logical product operation means 45 performs logical product operation. Is performed, and only the logical sum operation of the bitmap data developed in the character memory 41 by the vector font rasterization 42 and the predetermined memory area in the page memory 6 where the contents of the character memory 41 are written is performed, and Since the generation is performed, the character generation processing is further simplified, and the speed can be further increased.
【0021】なお、前述した実施の形態では出力装置と
してモノクロの印刷装置を使用した場合について述べた
が必ずしもこれに限定するものでは無く、モノクロの表
示装置を使用した場合にも適用できるものである。In the above-described embodiment, a case where a monochrome printing device is used as an output device has been described. However, the present invention is not necessarily limited to this, and can be applied to a case where a monochrome display device is used. .
【0022】[0022]
【発明の効果】請求項1記載の発明によれば、モノクロ
出力の表示装置や印刷装置に適し、グレースケール文字
やパターン文字の形成の高速化を図ることができ、しか
も、黒文字のような疑似中間調処理の必要の無い文字に
対してはさらに高速化を図ることができる。According to the first aspect of the present invention, it is suitable for a display device or a printing device for monochrome output, and can speed up the formation of grayscale characters and pattern characters. The speed can be further increased for characters that do not require halftone processing.
【図1】本発明の実施の形態を示す全体構成のブロック
図。FIG. 1 is a block diagram of an overall configuration showing an embodiment of the present invention.
【図2】同実施の形態における文字属性情報を格納する
メモリ構成を示す図。FIG. 2 is a diagram showing a memory configuration for storing character attribute information according to the embodiment;
【図3】同実施の形態における文字形成手段の構成を示
すブロック図。FIG. 3 is a block diagram showing a configuration of a character forming unit in the embodiment.
【図4】同実施の形態における文字形成手段による文字
形成処理を示す流れ図。FIG. 4 is a flowchart showing a character forming process by a character forming unit in the embodiment.
【図5】同実施の形態におけるパターンテーブルからの
パターンデータの読出し処理を説明するための図。FIG. 5 is an exemplary view for explaining processing of reading pattern data from a pattern table in the embodiment.
1…CPU(中央処理装置) 2…ベクトルフォントメモリ 4…文字形成手段 6…ページメモリ 41…キャラクタメモリ 42…ベクトルフォントラスタライザ 43…パターンテーブル 44…パターン読出し手段 45…論理積演算手段 46…論理和演算手段 47…文字属性判定手段 48…切替スイッチ 49…切替え制御手段 DESCRIPTION OF SYMBOLS 1 ... CPU (Central processing unit) 2 ... Vector font memory 4 ... Character formation means 6 ... Page memory 41 ... Character memory 42 ... Vector font rasterizer 43 ... Pattern table 44 ... Pattern reading means 45 ... Logical product operation means 46 ... Logical sum Calculation means 47 ... Character attribute determination means 48 ... Changeover switch 49 ... Switching control means
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI G09G 5/00 520 B41J 3/12 G 5/30 610 G06F 15/72 355U ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 6 Identification code FI G09G 5/00 520 B41J 3/12 G 5/30 610 G06F 15/72 355U
Claims (1)
トルフォントメモリと、表示あるいは印刷すべきデータ
をページ単位でドット情報として格納するページメモリ
と、前記ベクトルフォントメモリのアウトライン情報と
指定した文字属性情報に基づいて文字を前記ページメモ
リ上にドットイメージとして生成する文字形成手段とか
らなり、 前記文字形成手段は、前記ベクトルフォントメモリのア
ウトライン情報に基づいて1文字単位でドットイメージ
に展開された文字を格納するキャラクタメモリと、文字
属性情報に対応する各種のパターンデータを格納したパ
ターンテーブルと、前記ベクトルフォントメモリのアウ
トライン情報に基づいて前記キャラクタメモリ上に文字
をドットイメージで展開するベクトルフォントラスタラ
イザと、前記パターンテーブルから指定した文字属性情
報に対応したパターンデータを読出すパターン読出し手
段と、このパターン読出し手段により読出したパターン
データと前記キャラクタメモリに格納した文字のドット
イメージとの論理積演算を行う論理積演算手段と、この
論理積演算手段による論理積演算結果と前記ページメモ
リの所定のメモリ領域との論理和演算及び前記キャラク
タメモリに格納した文字のドットイメージと前記ページ
メモリの所定のメモリ領域との論理和演算を行う論理和
演算手段と、指定した文字属性情報を解析し、グレース
ケール文字やパターン文字の生成が必要か否かを判定す
る文字属性判定手段と、この文字属性判定手段がグレー
スケール文字やパターン文字の生成が必要であると判定
したとき前記論理和演算手段に前記論理積演算手段によ
る論理積演算結果と前記ページメモリの所定のメモリ領
域との論理和演算を行わせるように切替え制御し、前記
文字属性判定手段がグレースケール文字やパターン文字
の生成が必要でないと判定したとき前記論理和演算手段
に前記キャラクタメモリに格納した文字のドットイメー
ジと前記ページメモリの所定のメモリ領域との論理和演
算を行わせるように切替え制御する切替え制御手段とを
備えたことを特徴とする文字形成装置。1. A vector font memory that stores character outline information, a page memory that stores data to be displayed or printed as dot information in page units, and a vector font memory that stores outline information and specified character attribute information of the vector font memory. Character forming means for generating a character as a dot image on the page memory based on the character information. The character forming means stores a character developed into a dot image in character units based on outline information of the vector font memory. A character memory, a pattern table storing various pattern data corresponding to character attribute information, and a vector font rasterizer that develops a character in a dot image on the character memory based on outline information of the vector font memory, Pattern reading means for reading pattern data corresponding to the designated character attribute information from the pattern table, and logic for performing an AND operation on the pattern data read by the pattern reading means and the dot image of the character stored in the character memory. AND operation means, AND operation of the AND operation result by the AND operation means with a predetermined memory area of the page memory, and a dot image of a character stored in the character memory and a predetermined memory area of the page memory. OR operation means for performing an OR operation of the above, character attribute determination means for analyzing designated character attribute information and determining whether or not generation of grayscale characters and pattern characters is necessary, and this character attribute determination means The logical sum operation means when it is determined that generation of a scale character or a pattern character is necessary Control to perform a logical sum operation between the logical product operation result by the logical product operation means and a predetermined memory area of the page memory, and the character attribute determination means needs to generate grayscale characters and pattern characters. Switching control means for controlling the logical sum operation means to perform a logical sum operation between the dot image of the character stored in the character memory and a predetermined memory area of the page memory when it is determined that the logical sum operation is not performed. A character forming device characterized by the above.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9162498A JPH1115458A (en) | 1997-06-19 | 1997-06-19 | Character forming device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9162498A JPH1115458A (en) | 1997-06-19 | 1997-06-19 | Character forming device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH1115458A true JPH1115458A (en) | 1999-01-22 |
Family
ID=15755770
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9162498A Pending JPH1115458A (en) | 1997-06-19 | 1997-06-19 | Character forming device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH1115458A (en) |
-
1997
- 1997-06-19 JP JP9162498A patent/JPH1115458A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0396661B1 (en) | Page memory control in a raster color image processor | |
| US5146554A (en) | Page memory control in a raster image processor employed for digital halftoning | |
| JP4063918B2 (en) | Apparatus and method for creating an image containing graphics information for display | |
| EP0983859B1 (en) | Information processing apparatus and recording medium with pattern generation programs recorded thereon | |
| JPH1115458A (en) | Character forming device | |
| JPH08212362A (en) | Character and figure generator | |
| JP3443243B2 (en) | Character output device | |
| JPH05324931A (en) | Color printer and color display device | |
| JP2000013601A (en) | Print information processor and device and method for generating intermediate data | |
| JP2000066658A (en) | Image processor and recording medium | |
| JPH03169655A (en) | Color image output/display system | |
| JP2771629B2 (en) | Character processor | |
| JP3129717B2 (en) | Image processing apparatus and image processing method | |
| JP2630792B2 (en) | Data converter | |
| JP3070822B2 (en) | Contour data converter | |
| JP2005038084A (en) | Method and apparatus for converting drawing data | |
| JP2710350B2 (en) | Image processing apparatus and image processing method of image processing apparatus | |
| JP3209359B2 (en) | Image output device | |
| JP2619931B2 (en) | Character processing device and character processing method | |
| JPH0950272A (en) | Outline font generation method and outline font generation device | |
| JPS62175794A (en) | Character generator | |
| JPH0339792A (en) | Character outputting device | |
| JPH11110150A (en) | Image processing system, image processing method, and computer-readable recording medium on which image processing control program is recorded | |
| JPH04345866A (en) | Printer and display thereof | |
| JPH0450896A (en) | Plotting circuit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040615 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040812 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20051025 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20051215 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20060314 |