Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3030862B2 - Display control device - Google Patents
[go: Go Back, main page]

JP3030862B2 - Display control device - Google Patents

Display control device

Info

Publication number
JP3030862B2
JP3030862B2 JP2405185A JP40518590A JP3030862B2 JP 3030862 B2 JP3030862 B2 JP 3030862B2 JP 2405185 A JP2405185 A JP 2405185A JP 40518590 A JP40518590 A JP 40518590A JP 3030862 B2 JP3030862 B2 JP 3030862B2
Authority
JP
Japan
Prior art keywords
color
bit
pattern
bit pattern
monochrome
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.)
Expired - Fee Related
Application number
JP2405185A
Other languages
Japanese (ja)
Other versions
JPH04220694A (en
Inventor
剛 清水
直幸 三谷
福島  学
修 中村
正樹 薮
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
Fujifilm Business Innovation 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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2405185A priority Critical patent/JP3030862B2/en
Publication of JPH04220694A publication Critical patent/JPH04220694A/en
Application granted granted Critical
Publication of JP3030862B2 publication Critical patent/JP3030862B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、カラービットマップデ
ィスプレイへのカラー表示を制御する表示制御装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a display control device for controlling color display on a color bit map display.

【0002】[0002]

【従来の技術】従来、この種の装置においては、カラー
文字をカラービットマップディスプレイへ表示する場合
は、次に示す2通りの方法で実施されてきた。
2. Description of the Related Art Conventionally, in this type of apparatus, when displaying color characters on a color bit map display, the following two methods have been used.

【0003】1:各文字毎に、文字色、背景色に基づき
カラー表現ビット数へと展開したカラービットパターン
を予め保持し、文字表示に際しては、指定された文字コ
ードに相当するカラービットパターンを、予め保持され
ているカラービットパターン群の中から選択して、カラ
ーディスプレイフレームバッファへとイメージ転送す
る。
1: For each character, a color bit pattern developed into a color expression bit number based on a character color and a background color is held in advance, and when displaying a character, a color bit pattern corresponding to a designated character code is stored. , From a group of color bit patterns stored in advance, and transfers the image to a color display frame buffer.

【0004】2:文字フォントイメージはモノクロフォ
ントイメージ、つまり1画素1ビットで保持し、文字表
示の際、該モノクロフォントイメージの各ビットデータ
を1画素毎に、文字色、背景色に基づきカラービットパ
ターンへと展開し、これをカラーディスプレイフレーム
バッファへとイメージ転送する。
2: A character font image is stored as a monochrome font image, that is, one bit per pixel, and at the time of displaying a character, each bit data of the monochrome font image is converted into a color bit based on a character color and a background color for each pixel. Develop into a pattern and transfer this to the color display frame buffer.

【0005】このようにしてカラーディスプレイフレー
ムバッファにイメージ転送されたカラービットパターン
に基づいて、カラービットマップディスプレイにカラー
文字を表示するようにしていた。
[0005] Color characters are displayed on a color bit map display based on the color bit pattern transferred to the color display frame buffer in this manner.

【0006】[0006]

【発明が解決しようとする課題】ところが、上記従来の
表示制御装置では、上記方法1にあっては、高速にカラ
ー文字表示が行えるが、各文字毎に、フォントイメージ
をカラーフォントイメージで保持しなければならず、多
くのストレージ領域を必要としていた。特に、マルチフ
ォントや日本語のように文字数が膨大な場合は、非常に
多くのストレージ領域を必要としていた。さらには、文
字色、背景色の組合わせ毎にカラーフォントイメージを
保持しなければならないので、多くのストレージ領域を
必要としていた。このようにカラー文字表示を行うに
は、多くのストレージ領域を必要とすることになり、メ
モリ資源を有効に利用することができなかった。
However, in the above conventional display control device, in the above method 1, color character display can be performed at a high speed, but the font image is stored as a color font image for each character. And required a lot of storage space. In particular, when the number of characters is enormous, such as in a multi-font or Japanese language, an extremely large storage area is required. Furthermore, since a color font image must be held for each combination of a character color and a background color, a large storage area is required. In order to perform color character display in this manner, a large amount of storage area is required, and memory resources cannot be used effectively.

【0007】一方、上記方法2にあっては、フォントイ
メージをモノクロフォントイメージで保持するために、
上記方法1に比べて、少いストレージ領域で済むという
利点があるものの、文字表示要求が発生する毎に、文字
色、背景色に基づき、モノクロビットパターンを画素毎
にカラービットパターンへと展開しなければならず、処
理速度が遅くなるという欠点があった。
On the other hand, in the above method 2, in order to hold a font image as a monochrome font image,
Although there is an advantage that a smaller storage area is required as compared with the above method 1, every time a character display request is generated, a monochrome bit pattern is developed into a color bit pattern for each pixel based on a character color and a background color. And the processing speed is slow.

【0008】本発明は、上記実情に鑑みてなされたもの
であり、メモリ資源の有効利用及び処理速度を向上する
ことのできる表示制御装置を提供することを目的とす
る。
The present invention has been made in view of the above circumstances, and has as its object to provide a display control device capable of improving the effective use of memory resources and improving the processing speed.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するた
め、この発明は、表示手段へのカラー表示を制御する表
示制御装置において、1画素1ビットで表現される所定
の複数画素のビットパターンの取り得る全ての組合わせ
にそれぞれ対応し、前景色の色情報と背景色の色情報と
を反映したパターンを示すカラービットパターン群を作
成する作成手段と、この作成手段によって作成されたカ
ラービットパターン群を記憶する記憶手段と、2値のパ
ターンデータを前記複数画素単位で読出す読出し手段
と、この読出し手段によって読出された複数画素のビッ
トパターンに対応するカラービットパターンを、前記カ
ラービットパターン群の中から選択する選択手段とを具
えている。
In order to achieve the above object, the present invention relates to a display control device for controlling color display on a display means, wherein a bit pattern of a predetermined plurality of pixels represented by one bit per pixel is provided. Creating means for creating a color bit pattern group corresponding to all possible combinations and indicating a pattern reflecting the color information of the foreground color and the color information of the background color, and the color bit pattern created by the creating means Storage means for storing groups; read means for reading binary pattern data in units of the plurality of pixels; and color bit patterns corresponding to the bit patterns of the plurality of pixels read by the read means. And selecting means for selecting from among the following.

【0010】[0010]

【作用】この発明に係る表示制御装置では、1画素1ビ
ットで表現される所定の複数画素のビットパターンの取
り得る全ての組合わせにそれぞれ対応し、前景色の色情
報と背景色の色情報とを反映したパターンを示すカラー
ビットパターン群を記憶手段に記憶しておく。
According to the display control device of the present invention, color information of a foreground color and color information of a background color correspond to all possible combinations of bit patterns of a plurality of predetermined pixels represented by one bit per pixel. Is stored in the storage means.

【0011】そして、2値のパターンデータを、前景色
の色情報及び背景色の色情報とに応じたカラービットパ
ターンへ展開する際には、当該2値のパターンデータを
前記所定の複数画素単位で読出し、該読出した各複数画
素のビットパターンに対応するカラービットパターン
を、前記カラービットパターン群の中から選択する。こ
れにより、2値のパターンデータを、複数画素単位でカ
ラービットパターンへ展開することができる。
When the binary pattern data is developed into a color bit pattern corresponding to the color information of the foreground color and the color information of the background color, the binary pattern data is converted into a predetermined pixel unit. And selects a color bit pattern corresponding to the read bit pattern of each of the plurality of pixels from the color bit pattern group. Thereby, the binary pattern data can be developed into a color bit pattern in units of a plurality of pixels.

【0012】[0012]

【実施例】以下、本発明の実施例を添付図面を参照して
説明する。図1は、本発明に係る表示制御装置の一実施
例をブロック図で示したものである。
Embodiments of the present invention will be described below with reference to the accompanying drawings. FIG. 1 is a block diagram showing one embodiment of a display control device according to the present invention.

【0013】同図において、表示制御装置は、モノクロ
ビットパターン処理部1、カラービットパターン処理部
2、カラーディスプレイフレームバッファメモリ3、カ
ラービデオ信号発生部4、カラールックアップテーブル
5、カラーCRT6を備えている。
In FIG. 1, the display control device includes a monochrome bit pattern processing section 1, a color bit pattern processing section 2, a color display frame buffer memory 3, a color video signal generation section 4, a color lookup table 5, and a color CRT 6. ing.

【0014】モノクロビットパターン処理部1において
は、文字コード判定部11が文字に対応する文字コード
を指定すると、モノクロフォントイメージ選択部12
は、その文字コードに対応する2値の文字フォント(モ
ノクロフォントイメージ)が格納されている領域を示す
アドレス情報を決定して、モノクロフォントイメージ読
出し部13に通知する。
In the monochrome bit pattern processing section 1, when the character code determination section 11 specifies a character code corresponding to a character, the monochrome font image selection section 12
Determines address information indicating an area in which a binary character font (monochrome font image) corresponding to the character code is stored, and notifies the monochrome font image reading unit 13 of the address information.

【0015】すると、上述した読出し手段の機能を果た
すモノクロフォントイメージ読出し部13では、モノク
ロフォントイメージ保持部14から、通知されたアドレ
ス情報に基づく1画素1ビットで表現されているモノク
ロフォントイメージ(2値のパターンデータ)を、所定
のビット単位で読出す。
Then, in the monochrome font image reading section 13 which functions as the above-described reading means, the monochrome font image holding section 14 outputs the monochrome font image (2 bits) represented by 1 bit per pixel based on the notified address information. (Value pattern data) is read out in a predetermined bit unit.

【0016】カラービットパターン処理部2において
は、前景色背景色指定部21が前景色の色情報及び背景
色の色情報を指定すると、キャッシュ有効性判定部22
は、その指定された前景色及び背景色の色情報が、前回
指定された前景色及び背景色の色情報と一致するかどう
かを判定して、キャッシュパターン作成部23に通知す
る。
In the color bit pattern processing unit 2, when the foreground / background color designating unit 21 designates foreground color information and background color information, the cache validity judging unit 22
Determines whether the color information of the designated foreground and background colors matches the color information of the previously designated foreground and background colors, and notifies the cache pattern creation unit 23.

【0017】すると、上述した作成手段の機能を果たす
キャッシュパターン作成部23では、通知された判定結
果が一致していない旨の情報であった場合は、1画素1
ビットで表現される所定の複数画素のビットパターンの
取り得る全ての組合わせにそれぞれ対応し、前景色の色
情報と背景色の色情報とを反映したパターンを示すカラ
ービットパターン群(詳細は後述する)を作成する。一
方、一致している旨の情報であった場合は、カラービッ
トパターン群の作成は行わない。
Then, in the cache pattern creating section 23 which performs the function of the creating means described above, if the notified determination result indicates that the information does not match, one pixel per pixel
A color bit pattern group corresponding to all possible combinations of bit patterns of a predetermined plurality of pixels represented by bits and indicating a pattern reflecting the color information of the foreground color and the color information of the background color (details will be described later). Create). On the other hand, if the information indicates that they match, the color bit pattern group is not created.

【0018】作成されたカラービットパターン群は、キ
ャッシュメモリで構成されている上述した記憶手段の機
能を果たすカラーラインキャッシュパターン保持部24
に保持される。
The created color bit pattern group is stored in a color line cache pattern holding unit 24 which functions as the above-mentioned storage means constituted by a cache memory.
Is held.

【0019】カラーラインキャッシュパターン保持部2
4に対するアクセスは、所定のビット単位で読み出され
たモノクロビットパターンを正数とみなし、該正数値を
オフセットとして行う。
Color line cache pattern holding unit 2
The access to 4 is performed by regarding the monochrome bit pattern read in a predetermined bit unit as a positive number and using the positive value as an offset.

【0020】すなわち、モノクロフォントイメージ読出
し部13によって複数画素に対応するビットパターン
(モノクロビットパターン)が読み出されると、上述し
た選択手段の機能を果たすカラーラインキャッシュパタ
ーン選択部25は、そのビットパターンで示されるビッ
トデータを正数とみなし、この値をカラーラインパター
ン転送部26に通知する。このことは、複数画素に対応
するモノクロビットパターンに対応するカラービットパ
ターンを、カラービットパターン群の中から選択してい
ることを意味している。
That is, when a bit pattern (monochrome bit pattern) corresponding to a plurality of pixels is read by the monochrome font image reading unit 13, the color line cache pattern selecting unit 25 which functions as the above-described selecting means is used by the bit pattern. The indicated bit data is regarded as a positive number, and this value is notified to the color line pattern transfer unit 26. This means that a color bit pattern corresponding to a monochrome bit pattern corresponding to a plurality of pixels is selected from a color bit pattern group.

【0021】カラーラインパターン転送部26では、通
知された正数値をオフセットとして、カラーラインキャ
ッシュパターン保持部24にアクセスし、該当するカラ
ービットパターンをカラーディスプレイフレームバッフ
ァメモリ3へ転送する。
The color line pattern transfer unit 26 accesses the color line cache pattern holding unit 24 using the notified positive value as an offset, and transfers the corresponding color bit pattern to the color display frame buffer memory 3.

【0022】このようにしてカラービットパターンがカ
ラーディスプレイフレームバッファメモリ3に転送され
てくると、カラービデオ信号発生部4は、定期的にカラ
ーディスプレイフレームバッファメモリ3から画素デー
タを読出した後、カラールックアップテーブル5を参照
して、当該画素データに相当するカラービデオ信号を発
生しする。このカラービデオ信号はカラー情報として、
カラービットマップディスプレイであるカラーCRT6
に表示される。
When the color bit pattern is transferred to the color display frame buffer memory 3 as described above, the color video signal generator 4 periodically reads out pixel data from the color display With reference to the look-up table 5, a color video signal corresponding to the pixel data is generated. This color video signal is used as color information.
Color CRT6 which is a color bitmap display
Will be displayed.

【0023】次に、上述したカラービットパターン群に
ついて説明する。この実施例では、カラーラインキャッ
シュパターン保持部24には、モノクロフォントイメー
ジ読出し部13の読出し単位を例えば4ビットとした場
合に、2の4乗(16)エントリが設けられ、該各エン
トリにはモノクロ4ビットパターン(4画素に対応する
4ビットのビットパターン)が1画素8ビットのカラー
ビットパターンへと展開された結果が保持される。その
展開されたカラービットパターン群の一例を図2に示し
ている。
Next, the above-described color bit pattern group will be described. In this embodiment, when the reading unit of the monochrome font image reading unit 13 is, for example, 4 bits, the color line cache pattern holding unit 24 is provided with 2 to the fourth power (16) entries. A result obtained by developing a monochrome 4-bit pattern (a 4-bit bit pattern corresponding to 4 pixels) into an 8-bit color bit pattern per pixel is held. FIG. 2 shows an example of the developed color bit pattern group.

【0024】図2において、241はモノクロフォント
イメージ読出し部13の読出し単位4ビットで表現され
るモノクロビットパターンの全ての組合わせを示してい
るモノクロビットパターンMP0〜MP15からなるモ
ノクロビットパターン群、242は色情報として8ビッ
トの前景色(10110101)、背景色(10100010)とした場
合の各モノクロビットパターンMP0〜MP15にそれ
ぞれ対応した、1画素8ビットで、かつ、4×8=32
ビットのカラービットパターン(32ビットカラーライ
ンパターン)CP0〜CP15からなるカラービットパ
ターン群を示している。なお、カラービットパターンC
P0〜CP15は、それぞれインデクス0〜15に対応
する領域に格納されている。
In FIG. 2, reference numeral 241 denotes a monochrome bit pattern group consisting of monochrome bit patterns MP0 to MP15 indicating all combinations of monochrome bit patterns expressed by the read unit 4 bits of the monochrome font image reading unit 13; Is 8 bits per pixel, corresponding to each of the monochrome bit patterns MP0 to MP15 when the foreground color (10110101) and the background color (10100010) are 8 bits as color information, and 4 × 8 = 32
A color bit pattern group including bit color bit patterns (32-bit color line patterns) CP0 to CP15 is shown. Note that the color bit pattern C
P0 to CP15 are stored in areas corresponding to indexes 0 to 15, respectively.

【0025】なお、図2の図中、モノクロビットパター
ン群241、カラービットパターン群242において、
矩形はビットデータに対応しており、塗り潰しされた矩
形(左斜線、右斜線、横線が施された矩形)がビットが
ONつまり“1”のビットデータに相当し、それ以外の
矩形が“0”のビットデータに相当する。
In FIG. 2, the monochrome bit pattern group 241 and the color bit pattern group 242
A rectangle corresponds to bit data, and a filled rectangle (a rectangle with left diagonal lines, right diagonal lines, and horizontal lines) corresponds to bit data whose bit is ON, that is, “1”, and the other rectangles are “0”. "Bit data.

【0026】ここで、キャッシュパターン作成部23に
よるカラービットパターンの作成時における、モノクロ
ビットパターンからカラービットパターンへの展開に際
しては、図2に示されているように、モノクロビットパ
ターンのビットデータが、“0”の場合は8ビットの
“10100010”(背景色)とし、一方、“1”の場合は8
ビットの“10110101”(前景色)として、4ビットのモ
ノクロビットパターンが、4ビット×8ビット=32ビ
ットのカラービットパターン(32ビットカラーライン
パターン)へと展開される。
Here, at the time of creating a color bit pattern by the cache pattern creating unit 23, when developing from a monochrome bit pattern to a color bit pattern, as shown in FIG. , “0” is 8-bit “10100010” (background color), while “1” is 8 bits
As the bit “10110101” (foreground color), a 4-bit monochrome bit pattern is developed into a 4-bit × 8-bit = 32-bit color bit pattern (32-bit color line pattern).

【0027】例えば、図2に示されるモノクロビットパ
ターンMP1は“0001”のビットパターンであるので、
そのパターンに対応するカラービットパターンCP1
は、モノクロビットパターンの左から3画素目までにつ
いては“10100010”(背景色)に展開されており、また
モノクロビットパターンの一番右の画素については“10
110101”(前景色)に展開されている。また、他のモノ
クロビットパターンについても同様な展開が施されてい
る。
For example, since the monochrome bit pattern MP1 shown in FIG. 2 is a bit pattern of "0001",
Color bit pattern CP1 corresponding to the pattern
Is expanded to “10100010” (background color) for the third pixel from the left of the monochrome bit pattern, and “10100010” for the rightmost pixel of the monochrome bit pattern.
110101 "(foreground color). Similar development is performed for other monochrome bit patterns.

【0028】このようにして展開されたカラービットパ
ターン群は、カラーラインキャッシュパターン保持部2
4に保持された際の前景色及び背景色の色情報と、前景
色背景色指定部21から指定された色情報とが同一の期
間中、カラーラインキャッシュパターン保持部24に保
持されている。
The color bit pattern group thus developed is stored in the color line cache pattern holding unit 2.
4, the color information of the foreground and background colors and the color information specified by the foreground / background color specifying unit 21 are held in the color line cache pattern holding unit 24 during the same period.

【0029】次に、上述した構成において、表示制御装
置の基本的な展開処理を、図3のフローチャートを参照
しながら説明する。
Next, basic expansion processing of the display control device in the above configuration will be described with reference to the flowchart of FIG.

【0030】ここでは、表示すべきパターンを文字情報
とし、その文字表示(文字コード、文字色、背景色)の
処理単位を4ビットとして、1画素当たり1ビットで表
現されている例えば文字“R”のモノクロフォントイメ
ージを、1画素当たり8ビットで表現されるカラーディ
スプレイフレームバッファメモリ3へと展開する場合の
展開処理について説明する。
Here, the pattern to be displayed is character information, and the processing unit of the character display (character code, character color, background color) is 4 bits, for example, the character "R" expressed by 1 bit per pixel. A description will be given of a developing process in which a monochrome font image of "" is developed into a color display frame buffer memory 3 expressed by 8 bits per pixel.

【0031】なお、前景色は文字の色とし、背景色は文
字の背景の色とし、さらに、文字“R”のモノクロフォ
ントイメージは、例えば図4に示されるように、8ビッ
ト×8ビットの内容でメモリ内に保持されているものと
する。なお、図4の図中、矩形はビットデータに対応し
ており、左斜線で塗り潰された矩形がビットがON、つ
まり“1”のビットデータに相当し、それ以外の矩形が
“0”のビットデータに相当する。
The foreground color is the color of the character, the background color is the color of the background of the character, and the monochrome font image of the character "R" is, for example, as shown in FIG. It is assumed that the content is held in the memory. In FIG. 4, rectangles correspond to bit data, and rectangles filled with oblique lines on the left correspond to bit data whose bits are ON, that is, “1”, and other rectangles correspond to bit data of “0”. It corresponds to bit data.

【0032】最初に、カラー文字“R”を表示する場合
には、モノクロフォントイメージ選択部12に文字コー
ド判定部11から文字“R”の文字コード“82”が指
定され、同時に、キャッシュ有効性判定部22に前景色
背景色指定部21から文字色及び背景色の色情報が指定
される。ここで、文字色(10110101)、背景色(101000
10)が指定されたとする。
First, when the color character "R" is displayed, the character code "82" of the character "R" is designated from the character code determination unit 11 to the monochrome font image selection unit 12, and at the same time, the cache validity is determined. The color information of the character color and the background color is designated from the foreground / background color designation unit 21 to the judgment unit 22. Here, text color (10110101), background color (101000
Suppose that 10) is specified.

【0033】すると、図3に示すように、色情報が指定
されたキャッシュ有効性判定部22は、今回指定された
色情報が、カラーラインキャッシュパターン保持部24
に保持されている文字色と背景色の色情報に有効である
かを判断する(ステップ101)。
Then, as shown in FIG. 3, the cache validity determination unit 22 to which the color information has been specified is transferred to the color line cache pattern holding unit 24 by the color information which is specified this time.
It is determined whether the color information is valid for the color information of the character color and the background color held in (step 101).

【0034】ここで、指定された文字色、背景色が、図
2に示されている文字色、背景色(キャッシュ作成時の
色)と同一の場合、つまりキャッシュされている色情報
が有効であった場合は(ステップ101:YES)、モ
ノクロフォントイメージ選択部12では、文字コード判
定部11から指定された文字コード“82”に基づい
て、このコードに相当するモノクロフォントイメージが
格納されている領域を示すアドレス情報を決定して、モ
ノクロフォントイメージ読出し部13に通知する(ステ
ップ102)。
Here, when the designated character color and background color are the same as the character color and background color (color at the time of creating the cache) shown in FIG. 2, that is, the cached color information is valid. If there is (step 101: YES), the monochrome font image selection unit 12 stores the monochrome font image corresponding to this code based on the character code “82” specified by the character code determination unit 11. The address information indicating the area is determined and notified to the monochrome font image reading unit 13 (step 102).

【0035】モノクロフォントイメージ読出し部13
は、モノクロフォントイメージ保持部14から、通知さ
れたアドレス情報に基づく図4で示されるモノクロフォ
ントイメージを、例えば4ビット単位で読み出す(ステ
ップ103)。
Monochrome font image reading section 13
Reads the monochrome font image shown in FIG. 4 based on the notified address information from the monochrome font image holding unit 14, for example, in units of 4 bits (step 103).

【0036】いま、図5に示されるように、モノクロフ
ォントイメージのパターン51が読み出されたとする
と、カラーラインキャッシュパターン選択部25は、読
み出された4ビット単位のデータつまりモノクロビット
パターン51の内容(“0111”)を正数とみなして、そ
の値をカラーラインキャッシュパターン保持部24内の
ColorCash[INDEX ]へ格納する(ステップ1
04)。
Now, as shown in FIG. 5, when the pattern 51 of the monochrome font image is read, the color line cache pattern selecting section 25 reads out the data of the read 4-bit unit, that is, the monochrome bit pattern 51. The content ("0111") is regarded as a positive number, and the value is stored in ColorCash [INDEX] in the color line cache pattern holding unit 24 (step 1).
04).

【0037】すると、カラーラインパターン転送部26
は、そのColorCash[INDEX]の値をオフセッ
トとして、カラーラインキャッシュパターン保持部24
にアクセスし、該当するカラービットパターン(32ビ
ットカラーラインパターン)を読み出して、さらにカラ
ーディスプレイフレームバッファ3へ転送する(ステッ
プ105)。
Then, the color line pattern transfer section 26
The color line cache pattern holding unit 24 uses the value of the ColorCash [INDEX] as an offset.
And reads out the corresponding color bit pattern (32-bit color line pattern) and transfers it to the color display frame buffer 3 (step 105).

【0038】この例では、“0111”の正数値は“7”と
なるので、ColorCash[INDEX]はColor
Cash[7]となる。従って、図2に示されるカラー
ビットパターン群においては、ColorCash
[7]に該当するインデクス7に対応する領域に格納さ
れているカラービットパターンCP7が読み出されて、
カラーラインキャッシュパターン保持部24からカラー
ディスプレイフレームバッファメモリ3の所定の位置へ
転送されることとなる。因みに、カラービットパターン
CP7は(10100010101101011011010110110101)であ
る。
In this example, the positive value of “0111” is “7”, so that ColorCash [INDEX] is Color
Cash [7]. Therefore, in the color bit pattern group shown in FIG.
The color bit pattern CP7 stored in the area corresponding to the index 7 corresponding to [7] is read,
The data is transferred from the color line cache pattern holding unit 24 to a predetermined position in the color display frame buffer memory 3. Incidentally, the color bit pattern CP7 is (10100010101101011011010110110101101).

【0039】次に、上記ステップ105終了後、モノク
ロフォントイメージ読出し部13では、フォントパター
ン全体の読出し処理が終了したか否かを判断する(ステ
ップ106)。
Next, after the end of step 105, the monochrome font image reading section 13 determines whether or not the reading process of the entire font pattern has been completed (step 106).

【0040】ここで、終了していない場合には上記ステ
ップ103に戻りこのステップ以降が実行され、一方、
終了した場合は1文字分の展開処理が終了される。例え
ば、文字“R”の展開処理が終了すると、表示すべき文
字“R”のカラーフォントイメージを得ることができ
る。そのカラーフォントイメージを図6に示している。
同図において、太枠で囲まれたカラービットパターン
(横線の塗り潰しが施されている矩形を含んでいる領
域)が文字色のカラービットパターンに相当し、そうで
ない部分(右斜線の塗り潰しが施されている矩形を含ん
でいる領域)は背景色のカラービットパターンに相当す
る。
Here, if the processing has not been completed, the process returns to the step 103 and the steps after this step are executed.
When the processing is completed, the expansion processing for one character is completed. For example, when the development process of the character “R” is completed, a color font image of the character “R” to be displayed can be obtained. FIG. 6 shows the color font image.
In the figure, the color bit pattern surrounded by a bold frame (the area including the rectangle in which the horizontal line is painted) corresponds to the color bit pattern of the character color, and the portion other than that (the shaded area in the right diagonal line is painted). The area including the rectangle that is shown) corresponds to the color bit pattern of the background color.

【0041】次に、上記ステップ101で文字色、背景
色の指定がキャッシュ作成時の色と同一でない場合、つ
まりキャッシュされている色情報が無効の場合(ステッ
プ101:NO)、キャッシュパターン作成部23は、
前景色背景色指定部21からの色指定に従って新たなカ
ラービットパターン群を作成して、カラーラインキャッ
シュパターン保持部24に格納する。
Next, if the designation of the character color and the background color is not the same as the color at the time of creating the cache in step 101, that is, if the cached color information is invalid (step 101: NO), the cache pattern creating unit 23 is
A new color bit pattern group is created according to the color specification from the foreground / background color specification unit 21 and stored in the color line cache pattern holding unit 24.

【0042】すなわち、キャッシュパターン作成部23
は、「CNT=0」と定義し(ステップ107)、その
後、「CNT>15」の式が成立するか否かを判断する
(ステップ108)。
That is, the cache pattern creation unit 23
Defines “CNT = 0” (step 107), and then determines whether or not the expression “CNT> 15” holds (step 108).

【0043】ここで、上記式が不成立の場合は、CNT
を2進法で表現し、その2進法で表現されたパターンか
ら、図2に示したカラービットパターン群の様に、
“1”のところを文字色パターンで、一方、“0”のと
ころを背景色パターンで表現されたカラービットパター
ン(32ビットカラーラインパターン)を作成し、この
パターンをColorCash[CNT ]に該当するイン
デクスに対応する領域へ格納し(ステップ109)、そ
の後、CNTに1を加えた後(ステップ110)、上記
ステップ108に戻りこのステップ以降を実行する。
Here, if the above equation is not satisfied, the CNT
Is expressed in a binary system, and from the pattern expressed in the binary system, as shown in a color bit pattern group shown in FIG.
A color bit pattern (32-bit color line pattern) represented by a character color pattern at "1" and a background color pattern at "0" is created, and this pattern corresponds to ColorCash [CNT]. The data is stored in the area corresponding to the index (step 109), and then 1 is added to the CNT (step 110).

【0044】その作成されたカラービットパターンの格
納に際しては、例えば、CNT=1の場合はColor
Cash[1]なので、その値に該当するインデクス1
に対応する領域に、2進法で表現された“0001”の
モノクロビットパターン(例えば、図2のモノクロビッ
トパターンMP1)に対応する32ビットのカラービッ
トパターン(例えば、図2のカラービットパターンCP
1)が格納されることとなる。同様な処理によって、C
NTが0、2〜15の場合についてのカラービットパタ
ーンが格納される。
When storing the created color bit pattern, for example, when CNT = 1, Color
Since it is Cash [1], the index 1 corresponding to that value
In a region corresponding to the binary bit pattern (for example, the color bit pattern CP in FIG. 2) corresponding to the monochrome bit pattern of “0001” (for example, the monochrome bit pattern MP1 in FIG. 2) expressed in a binary system.
1) will be stored. By similar processing, C
A color bit pattern for the case where NT is 0, 2 to 15 is stored.

【0045】すなわち、今回の色情報の指定が、文字色
(10110101)、背景色(10100010)で、前回の色情報
(すなわち、カラーラインキャッシュパターン保持部2
4に保持されている文字色及び背景色の色情報)とは異
なっていた場合、キャッシュパターン作成部23は、モ
ノクロフォントイメージ読出し部13の読出し単位であ
る4ビットで表現されるモノクロビットパターンの全て
の組合わせ、すなわち“0000”、“0001”、
…、“1111”で表現される16通りのモノクロビッ
トパターンに対し、“1”のビットデータに対応して文
字色(10110101)、一方、“0”のビットデータに対応
して背景色(10100010)を展開して、4×8=32ビッ
トカラーラインパターンを作成し、さらにカラーライン
キャッシュパターン保持部24に格納する。
That is, the specification of the current color information is the character color (10110101), the background color (10100010), and the previous color information (ie, the color line cache pattern holding unit 2).
4 is different from the color information of the character color and the background color stored in the monochrome font image reading unit 13, the cache pattern creation unit 23 outputs the monochrome bit pattern represented by 4 bits, which is the reading unit of the monochrome font image reading unit 13. All combinations, ie, “0000”, “0001”,
.., For the 16 monochrome bit patterns represented by “1111”, the character color (10110101) corresponding to the bit data of “1”, and the background color (10100010) corresponding to the bit data of “0” ) Is developed to create a 4 × 8 = 32-bit color line pattern and further stored in the color line cache pattern holding unit 24.

【0046】またステップ108において「CNT>1
5」の式が成立する場合は、ステップ102に移行す
る。このとき、カラーラインキャッシュパターン保持部
24には、新たな文字色と背景色との組み合わせに応じ
たカラービットパターン群が保持されていることにな
る。そのカラービットパターン(32ビットカラーライ
ンパターン)群は、上記のキャッシュされた色情報が有
効の場合と同様に処理されて、文字“R”のカラー表示
が行われる。
In step 108, "CNT> 1
If the expression of “5” is satisfied, the process proceeds to step 102. At this time, the color line cache pattern holding unit 24 holds a color bit pattern group corresponding to a new combination of the character color and the background color. The color bit pattern (32-bit color line pattern) group is processed in the same manner as when the cached color information is valid, and the color display of the character “R” is performed.

【0047】上記実施例では、例えば4ビット単位で処
理した場合には、16回の繰り返しで“R”のカラー文
字展開、表示が行えるるので、文字色、背景色を反映し
た文字展開が高速に行える。
In the above embodiment, when processing is performed in units of 4 bits, for example, the color character development and display of "R" can be performed 16 times, so that the character development reflecting the character color and the background color can be performed at high speed. Can be done.

【0048】また上記実施例によれば、キャッシュ有効
性判定部22によりキャッシュされているカラービット
パターン群が有効か否かが判定され、有効の場合には、
カラーラインキャッシュパターン保持部24にキャッシ
ュされているカラービットパターン群の中から、該当す
るカラービットパターンが選択され、一方、無効の場合
は、キャッシュパターン作成部23によって作成され、
カラーラインキャッシュパターン保持部24にキャッシ
ュされた新たなカラービットパターン群の中から、該当
するカラービットパターンが選択されることとなり、キ
ャッシュされているカラービットパターン群を使用する
ことができる。
According to the above embodiment, the cache validity determining unit 22 determines whether or not the cached color bit pattern group is valid.
From the group of color bit patterns cached in the color line cache pattern holding unit 24, a corresponding color bit pattern is selected. On the other hand, if the color bit pattern is invalid, it is created by the cache pattern creation unit 23.
From the new color bit pattern group cached in the color line cache pattern holding unit 24, the corresponding color bit pattern is selected, and the cached color bit pattern group can be used.

【0049】以上説明したように本実施例によれば、い
かなる文字色、背景色の組合わせが指定されても、1文
字書体に対し1モノクロフォントイメージを保持するだ
けで良いこととなり、メモリ資源を有効に使用すること
ができる。また文字色、背景色の指定は連続して同一組
合わせのことが多いため、同一の文字色、背景色が指定
されている限り、キャッシュされているカラービットパ
ターン群を使用することができることとなり、高速なカ
ラー文字表示を行うことができる。
As described above, according to the present embodiment, no matter what combination of character color and background color is specified, it is only necessary to hold one monochrome font image for one character font. Can be used effectively. In addition, since the designation of the character color and the background color is often the same combination in succession, the cached color bit pattern group can be used as long as the same character color and the background color are designated. , High-speed color character display can be performed.

【0050】なお、上記実施例では、文字のモノクロイ
メージをカラー表示する場合の表示処理について説明し
たが、図形のモノクロイメージをカラー表示する場合に
も適用することができる。
In the above embodiment, the display processing in the case of displaying a monochrome image of a character in color has been described. However, the present invention can be applied to the case of displaying a monochrome image of a figure in color.

【0051】この場合、図1で示されるモノクロビット
パターン処理部1を、図形のモノクロイメージを、所定
の複数画素に対応する複数ビット単位で読み出すような
構成に変更し、モノクロイメージの読み出し後の処理
を、文字表示の場合と同様に行うことにより実現でき
る。
In this case, the monochrome bit pattern processing section 1 shown in FIG. 1 is changed to a configuration in which a monochrome image of a figure is read in units of a plurality of bits corresponding to a plurality of predetermined pixels. The processing can be realized by performing the same processing as in the case of displaying characters.

【0052】[0052]

【発明の効果】以上説明したように本発明によれば、指
定された前景色及び背景色に応じたカラービットパター
ン群を予め作成し、今回の前景色及び背景色と前回の前
景色及び背景色とが一致している場合は、前記カラービ
ットパターン群から、該当する特定のカラービットパタ
ーンを選択するようにしたため、2値のパターンデータ
からカラービットパターンへの展開処理を迅速に行うこ
とができる。
As described above, according to the present invention, a color bit pattern group corresponding to a designated foreground color and background color is created in advance, and the current foreground color and background color and the previous foreground color and background color are prepared. When the colors match, the corresponding specific color bit pattern is selected from the color bit pattern group, so that the development process from binary pattern data to the color bit pattern can be performed quickly. it can.

【0053】また表示すべきパターンを2値のパターン
データで保持しておくことができるので、メモリ資源を
有効に利用することが可能となる。
Further, since the pattern to be displayed can be stored as binary pattern data, it is possible to effectively use memory resources.

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

【図1】本発明に係る表示制御装置の一実施例を示すブ
ロック図。
FIG. 1 is a block diagram showing one embodiment of a display control device according to the present invention.

【図2】カラーラインキャッシュパターン保持部に保持
されるカラービットパターン群の一例を示す図。
FIG. 2 is a diagram showing an example of a color bit pattern group held in a color line cache pattern holding unit.

【図3】モノクロフォントイメージからカラービットパ
ターンへの展開処理動作を示すフローチャート。
FIG. 3 is a flowchart showing an operation of developing a monochrome font image into a color bit pattern.

【図4】モノクロフォントイメージ保持部に保持される
モノクロフォントイメージの一例を示す図。
FIG. 4 is a diagram illustrating an example of a monochrome font image held in a monochrome font image holding unit.

【図5】モノクロフォントイメージの読み出し処理を説
明するための説明図。
FIG. 5 is an explanatory diagram for explaining a monochrome font image reading process.

【図6】カラーディスプレイフレームバッファメモリに
格納されるカラービットパターンの一例を示す図。
FIG. 6 is a diagram showing an example of a color bit pattern stored in a color display frame buffer memory.

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

1…モノクロビットパターン処理部 2…カラービットパターン処理部 3…カラーディスプレイフレームバッファメモリ 4…カラービデオ信号発生部 5…カラールックアップテーブル 6…カラーCRT 11…文字コード判定部 12…モノクロフォントイメージ選択部 13…モノクロフォントイメージ読出し部 14…モノクロフォントイメージ保持部 21…前景色背景色指定部 22…キャッシュ有効性判定部 23…キャッシュパターン作成部 24…カラーラインキャッシュパターン保持部 25…カラーラインキャッシュパターン選択部 26…カラーラインパターン転送部 DESCRIPTION OF SYMBOLS 1 ... Monochrome bit pattern processing part 2 ... Color bit pattern processing part 3 ... Color display frame buffer memory 4 ... Color video signal generation part 5 ... Color lookup table 6 ... Color CRT 11 ... Character code judgment part 12 ... Monochrome font image selection Unit 13: Monochrome font image reading unit 14: Monochrome font image holding unit 21: Foreground background color designation unit 22 ... Cache validity judgment unit 23 ... Cache pattern creation unit 24 ... Color line cache pattern holding unit 25 ... Color line cache pattern Selection unit 26 ... Color line pattern transfer unit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI G09G 5/36 G06F 15/68 (72)発明者 福島 学 神奈川県川崎市高津区坂戸100番1号 KSP R&D ビジネスパークビル 富士ゼロックス株式会社内 (72)発明者 中村 修 神奈川県川崎市高津区坂戸100番1号 KSP R&D ビジネスパークビル 富士ゼロックス株式会社内 (72)発明者 薮 正樹 神奈川県川崎市高津区坂戸100番1号 KSP R&D ビジネスパークビル 富士ゼロックス株式会社内 (56)参考文献 特開 昭61−283970(JP,A) 特開 昭61−283968(JP,A) 特開 昭61−284799(JP,A) 特開 昭62−123492(JP,A) 特開 昭62−215996(JP,A) 特開 昭62−255996(JP,A) 特開 昭63−21694(JP,A) 特開 昭64−53271(JP,A) 特開 平1−106281(JP,A) 特公 昭64−3273(JP,B2) (58)調査した分野(Int.Cl.7,DB名) G09G 1/00 G09G 3/00 G09G 5/00 G06F 3/00 G06T 5/00 ────────────────────────────────────────────────── ─── Continued on the front page (51) Int.Cl. 7 Identification symbol FI G09G 5/36 G06F 15/68 (72) Inventor Manabu Fukushima 100-1 Sakado, Takatsu-ku, Kawasaki-shi, Kanagawa KSP R & D Business Park Building Fuji Xerox (72) Inventor Osamu Nakamura 100-1 Sakado, Takatsu-ku, Kawasaki, Kanagawa Prefecture KSP R & D Business Park Building Fuji Xerox Co., Ltd. (72) Inventor Masaki Yabu 100-1, Sakado, Takatsu-ku, Kawasaki, Kanagawa KSP R & D Business Park Building Fuji Xerox Co., Ltd. (56) References JP-A-61-283970 (JP, A) JP-A-61-283968 (JP, A) JP-A-61-284799 (JP, A) JP-A-62 123492 (JP, A) JP-A-62-215996 (JP, A) JP-A-62-255996 (JP, A) JP-A-63-21 694 (JP, A) JP-A-64-53271 (JP, A) JP-A-1-106281 (JP, A) JP-B 64-3273 (JP, B2) (58) Fields investigated (Int. Cl. 7, DB name) G09G 1/00 G09G 3/00 G09G 5/00 G06F 3/00 G06T 5/00

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】表示手段へのカラー表示を制御する表示制
御装置において、1画素1ビットで表現される所定の複
数画素のビットパターンの取り得る全ての組合わせにそ
れぞれ対応し、前景色の色情報と背景色の色情報とを反
映したパターンを示すカラービットパターン群を作成す
る作成手段と、この作成手段によって作成されたカラー
ビットパターン群を記憶する記憶手段と、2値のパター
ンデータを前記複数画素単位で読出す読出し手段と、こ
の読出し手段によって読出された複数画素のビットパタ
ーンに対応するカラービットパターンを、前記カラービ
ットパターン群の中から選択する選択手段とを具えたこ
とを特徴とする表示制御装置。
1. A display control device for controlling a color display on a display means, wherein the foreground color corresponds to all possible combinations of bit patterns of a predetermined plurality of pixels expressed by one bit per pixel. Creating means for creating a color bit pattern group indicating a pattern reflecting the information and the color information of the background color; storing means for storing the color bit pattern group created by the creating means; Reading means for reading in units of a plurality of pixels; and selecting means for selecting a color bit pattern corresponding to the bit pattern of the plurality of pixels read by the reading means from the color bit pattern group. Display control device.
JP2405185A 1990-12-21 1990-12-21 Display control device Expired - Fee Related JP3030862B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2405185A JP3030862B2 (en) 1990-12-21 1990-12-21 Display control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2405185A JP3030862B2 (en) 1990-12-21 1990-12-21 Display control device

Publications (2)

Publication Number Publication Date
JPH04220694A JPH04220694A (en) 1992-08-11
JP3030862B2 true JP3030862B2 (en) 2000-04-10

Family

ID=18514812

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2405185A Expired - Fee Related JP3030862B2 (en) 1990-12-21 1990-12-21 Display control device

Country Status (1)

Country Link
JP (1) JP3030862B2 (en)

Also Published As

Publication number Publication date
JPH04220694A (en) 1992-08-11

Similar Documents

Publication Publication Date Title
JP2007058868A (en) Method and system for providing substitute computer font
JPH0126072B2 (en)
CA2075411C (en) Gray-scale font generating apparatus
JP2911470B2 (en) Character processing apparatus and method
JP3030862B2 (en) Display control device
US4924432A (en) Display information processing apparatus
JP2688417B2 (en) Image processing system
JP3314443B2 (en) Character output device
JPH0782315B2 (en) Image processing device
JP3450869B2 (en) Bit image data generation device and bit image data generation method
JP2647348B2 (en) Clipping plane data storage system and method
JP2710140B2 (en) Output control device
JPH0728444A (en) How to change the color tone of image data
JPH0456317B2 (en)
JPH0777969A (en) Font rasterising device and method thereof
JP3059577B2 (en) Print data generation method, printer controller and printer
JP3695831B2 (en) Rectangular image drawing device, character image drawing device, and character image display device
JP2000181397A (en) Crt/lcd display converting circuit and converting method
JPH0493994A (en) Character processor
JPH0365988A (en) Word cache system
JPH04323782A (en) Graphic display device
JPH0880639A (en) Printer font selection method
JPS59188723A (en) Character processor
JPH06332436A (en) Transfer device for bit map data
JPH03282496A (en) character pattern generator

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees