JPH04277791A - System and device for character output - Google Patents

System and device for character output

Info

Publication number
JPH04277791A
JPH04277791A JP3040151A JP4015191A JPH04277791A JP H04277791 A JPH04277791 A JP H04277791A JP 3040151 A JP3040151 A JP 3040151A JP 4015191 A JP4015191 A JP 4015191A JP H04277791 A JPH04277791 A JP H04277791A
Authority
JP
Japan
Prior art keywords
character
data
display
correction
dots
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.)
Granted
Application number
JP3040151A
Other languages
Japanese (ja)
Other versions
JP3009747B2 (en
Inventor
Kazuko Hasegawa
和子 長谷川
Norio Tanaka
紀夫 田中
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP3040151A priority Critical patent/JP3009747B2/en
Publication of JPH04277791A publication Critical patent/JPH04277791A/en
Application granted granted Critical
Publication of JP3009747B2 publication Critical patent/JP3009747B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To output characters of high quality by generating correction data which give an intermediate color or intermediate brightness between a character and its background to non-character constitution dots contacting the slanting-line parts of the character and correcting the output character. CONSTITUTION:A transfer device 7 transfers the character data from a character font ROM 8 to a corresponding display plane among display planes 2-4 corresponding to a display color. The transferred character data is character data stored in a character font ROM 8 or/and character interpolation data generated by a character output device 6. Display data stored in the respective display planes 2-4 are sent to the display device in order by a display driver 5 and displayed on a display device 1. According to the character data, the correction data for giving the intermediate color or intermediate brightness between the character and its background to the non-character constitution dots contacting the slating-line parts of the character are generated and the output character is corrected with the correction data.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、液晶ディスプレイ等の
マトリクス構成の表示装置における高品質文字の出力方
式および装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and apparatus for outputting high-quality characters in a matrix-structured display device such as a liquid crystal display.

【0002】0002

【従来の技術】従来のCRT等のディスプレイやワイヤ
ドット等のプリンタでは、一画素をあらわすドットの輝
度が正規分布状に構成されていたため、ドット境界が明
確でなく、その結果、文字の斜線部の滑らかさが保証さ
れていた。
[Prior Art] In conventional displays such as CRTs and printers such as wire dots, the brightness of the dots representing one pixel was arranged in a normal distribution, so the dot boundaries were not clear, and as a result, the diagonal areas of characters smoothness was guaranteed.

【0003】ところが、最近ラップトップパソコン等に
利用されつつある液晶ディスプレイ等では、一ドットを
表す輝度の立上りがシャープで画素境界が明確であるた
め、水平線垂直線は従来の出力装置より高品質に出力さ
れるものの、斜線部を示すドットの階段上が目立ち、結
果として文字品質の低下を招いていた。
[0003] However, in liquid crystal displays, which are recently being used in laptop computers, etc., the rise in brightness representing one dot is sharp and the pixel boundaries are clear, so the quality of horizontal and vertical lines is higher than that of conventional output devices. Although the output was output, the stairway of dots indicating the diagonal line was noticeable, resulting in a deterioration in character quality.

【0004】このような問題に対して、特開平2−21
3891号公報には、マトリックス状の画素の並びと平
行でない表示画素を有する文字について、該画素に隣接
した他の画素を階調表示するパターンとして予め記憶し
たパターンメモリを用意しておき、該パターンを文字と
共に表示する表示装置を開示している。
[0004] To solve this problem, Japanese Patent Laid-Open No. 2-21
Publication No. 3891 discloses that for a character having a display pixel that is not parallel to the arrangement of pixels in a matrix, a pattern memory is prepared in advance as a pattern for displaying other pixels adjacent to the pixel in gradation. This disclosure discloses a display device that displays a text along with characters.

【0005】[0005]

【発明が解決しようとする課題】しかし、上記従来の技
術においては、斜線部を有するすべての文字についてパ
ターンメモリを用意するとメモリ容量が増大するという
欠点がある。特に、拡大・縮小文字の品質まで考慮すれ
ば、文字サイズごとに前記パターンメモリを備えること
が必要となり、パターンメモリに要するメモリ容量は膨
大なものとなる。
However, the above-mentioned conventional technique has the disadvantage that if pattern memories are prepared for all characters having diagonal lines, the memory capacity increases. In particular, if the quality of enlarged/reduced characters is considered, it is necessary to provide the pattern memory for each character size, and the memory capacity required for the pattern memory becomes enormous.

【0006】本発明では、従来のような各文字対応のパ
ターンメモリを備えることなく、画素境界の明確な出力
装置においても高品質な文字を出力することを可能とす
る文字出力方式および装置を提供することにある。
The present invention provides a character output method and device that makes it possible to output high-quality characters even on an output device with clear pixel boundaries without having a pattern memory corresponding to each character as in the past. It's about doing.

【0007】[0007]

【課題を解決するための手段】上記課題を解決するため
に、本発明による文字出力方式は、ドットマトリクス構
成の文字を出力する文字出力方式において、文字データ
に基づき、当該文字の斜線部に接する非文字構成ドット
に対して文字と文字背景との中間色または中間輝度を与
える補正データを生成し、該補正データにより出力文字
を補正するようにしたものである。
[Means for Solving the Problems] In order to solve the above problems, a character output method according to the present invention is a character output method that outputs characters in a dot matrix configuration, and a character output method that outputs characters having a dot matrix structure, based on character data, Correction data that gives non-character constituent dots an intermediate color or intermediate brightness between the character and the character background is generated, and output characters are corrected using the correction data.

【0008】中間色または中間輝度の度合は一定であっ
てもよいが、文字の斜線部の斜線角度に対応して、中間
色または中間輝度の度合いを決定するようにしてもよい
[0008] The degree of intermediate color or intermediate brightness may be constant, or the degree of intermediate color or intermediate brightness may be determined depending on the diagonal angle of the diagonal line portion of the character.

【0009】具体的には、出力文字がビットマップ形式
で表された文字であった場合、出力ビットマップデータ
のうち、文字を構成するドットでなく、かつ、水平方向
に隣合わせのドットの一つと垂直方向に隣合わせのドッ
トの一つが文字を構成するドットであるという条件を満
たすドットを文字補正データとして中間色または中間輝
度で表示する。
Specifically, when the output character is a character expressed in a bitmap format, one of the dots adjacent to each other in the horizontal direction is not a dot that constitutes the character in the output bitmap data. Dots that satisfy the condition that one of the vertically adjacent dots constitutes a character are displayed as character correction data in an intermediate color or intermediate brightness.

【0010】この際、好ましくは、前記文字補正データ
の条件を満たすドットのうち、文字の水平線と垂直線の
交点の隣接ドットであると判断されるドットについては
、文字補正の対象としない。ここで、例えば、文字の水
平線は水平方向に連続する2個以上のドットにより構成
され、前記文字の垂直線は垂直方向に連続する2個以上
のドットにより構成されるものとする。
At this time, preferably, among the dots that satisfy the conditions of the character correction data, dots that are determined to be adjacent to the intersection of the horizontal line and the vertical line of the character are not subjected to character correction. Here, for example, a horizontal line of a character is composed of two or more horizontally continuous dots, and a vertical line of the character is composed of two or more vertically continuous dots.

【0011】本発明による文字出力装置は、ドットマト
リクス構成の文字を出力する文字出力装置において、表
示データを格納する複数枚のプレーンと、文字データを
格納する文字データ格納手段と、前記文字出力方式によ
って、文字補正データを生成する文字補正データ生成手
段と、前記複数枚のプレーンに書き込まれる前または後
の段階で、前記文字データまたは該文字データにより生
成される表示データを前記文字補正データにより補正す
る表示データ補正手段とを備えたものである。
A character output device according to the present invention is a character output device that outputs characters in a dot matrix configuration, and includes a plurality of planes for storing display data, a character data storage means for storing character data, and a character output method. a character correction data generating means for generating character correction data; and correcting the character data or display data generated by the character data with the character correction data before or after being written on the plurality of planes. and display data correction means.

【0012】この文字出力装置において、複数枚のプレ
ーンのうちの1枚を前記文字補正データの格納用に用い
るようにしてもよい。
[0012] In this character output device, one of the plurality of planes may be used for storing the character correction data.

【0013】[0013]

【作用】文字補正データ生成手段は、文字データに基づ
き、当該文字の斜線部に接する非文字構成ドットに対し
て文字と文字背景との中間色または中間輝度を与える補
正データを生成する。表示データ補正手段は、表示複数
枚のプレーンに書き込まれる前または後の段階で、前記
文字データまたは該文字データにより生成される表示デ
ータを前記文字補正データにより補正する。これによっ
て、文字の斜線部に接するドットを文字色と文字背景色
の中間色または中間輝度で表示できるため、階段状に見
える斜線部を補間し、文字の品質を向上させることがで
きる。補正データは文字毎に予め用意するのではなく、
各文字データに基づいて生成するので、補正パターン用
メモリは必要ない。
[Operation] Based on the character data, the character correction data generation means generates correction data that gives an intermediate color or intermediate brightness between the character and the character background to the non-character constituent dots that touch the diagonally lined portion of the character. The display data correction means corrects the character data or display data generated from the character data using the character correction data before or after the character data is written on the plurality of display planes. As a result, the dots touching the hatched portions of characters can be displayed in a color or intermediate brightness between the character color and the character background color, so that the stepped hatched portions can be interpolated and the quality of the characters can be improved. Rather than preparing correction data for each character in advance,
Since it is generated based on each character data, no correction pattern memory is required.

【0014】[0014]

【実施例】本発明を実施するための表示装置の構成例を
図1に示す。1は文字や図形を表示するLCD等のモノ
クロ表示装置、2〜4は赤・緑・青の各表示色毎の表示
データを格納する表示プレーン、5は表示データを表示
装置に転送する表示ドライバ、6は本発明の補間データ
を作成する文字出力装置、7は文字データを転送する転
送装置、8は文字データを格納する文字フォントROM
である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows an example of the configuration of a display device for carrying out the present invention. 1 is a monochrome display device such as an LCD that displays characters and figures; 2 to 4 are display planes that store display data for each display color of red, green, and blue; and 5 is a display driver that transfers display data to the display device. , 6 is a character output device that creates interpolated data of the present invention, 7 is a transfer device that transfers character data, and 8 is a character font ROM that stores character data.
It is.

【0015】通常の文字出力方式では、転送装置7は、
文字フォントROM8から、表示色に応じて、表示プレ
ーン2〜4のうち対応する表示プレーンに文字データを
転送する。本発明の文字表示装置では、同様に、対応す
るプレーンに文字データを転送するが、転送する文字デ
ータは、文字フォントROM8に格納される文字データ
または文字フォントROM8に格納されるデータから文
字出力装置6によって作成された文字補間データのどち
らかまたは両方となる。文字補間データの表示プレーン
2〜4への転送および文字フォントROM8から文字出
力装置6への文字データ転送は、文字出力装置6および
転送装置7のいずれが行なっても良い。各表示プレーン
2〜4に格納されている表示データは表示ドライバ5に
よって、順次表示装置に送られて、表示装置1上に表示
される。この際、表示ドライバ5は、図7に示すように
、濃度の順番で、3プレーンで表現される8色の表示色
を8階調のモノクロ階調データに変換する。これにより
、表示装置1は8階調のモノクロ表示を行なう。
In the normal character output method, the transfer device 7
Character data is transferred from the character font ROM 8 to a corresponding display plane among the display planes 2 to 4 according to the display color. In the character display device of the present invention, character data is similarly transferred to the corresponding plane, but the character data to be transferred is transferred from the character data stored in the character font ROM 8 or the data stored in the character font ROM 8 to the character output device. This becomes either or both of the character interpolation data created in step 6. The transfer of character interpolation data to the display planes 2 to 4 and the transfer of character data from the character font ROM 8 to the character output device 6 may be performed by either the character output device 6 or the transfer device 7. The display data stored in each of the display planes 2 to 4 is sequentially sent to the display device by the display driver 5 and displayed on the display device 1. At this time, the display driver 5 converts the eight display colors expressed in three planes into monochrome gradation data of eight gradations in the order of density, as shown in FIG. As a result, the display device 1 performs 8-gradation monochrome display.

【0016】第1にこのような表示装置を用いて、文字
背景色が黒の画面上に、単一の中間色を用いて、斜線部
の補正を行なう方法について説明する。
First, a method will be described in which, using such a display device, a single intermediate color is used on a screen with a black text background color to correct diagonal lines.

【0017】まず、各文字表示色に対して、表示プレー
ン2〜4のどの表示プレーンにどのような表示データを
転送するべきかを図8に示す。図8中で、“F”は文字
出力装置6が発生する補正データ、“FC”は補正デー
タと文字フォントROM8に格納されている文字データ
の論理和データ、“C”は文字フォントROM8に格納
されている文字データ、“0”はオール0データである
。それぞれ、文字色21が設定された場合、文字部分で
はRGBデータ22に示すようなデータが表示プレーン
上に表示されるが、背景色を黒とした文字の補正部分で
はRGBデータ23のようなデータが設定される。すな
わち、指定された文字色の半分以下の輝度を持つ色を補
正色とする。ここでは補正色24に示す色をそれぞれの
補正色としている。この補正色は、図8に示すように表
示文字色毎に換えても良いし、すべての文字色で同一の
色であっても良い。さらに、文字背景色が黒でない場合
には、文字背景色を文字色に応じて変更しても良い。 この場合、文字色と背景色の中間調を補正色とすると良
い。
First, FIG. 8 shows which display data should be transferred to which display plane among display planes 2 to 4 for each character display color. In FIG. 8, "F" is correction data generated by the character output device 6, "FC" is logical sum data of the correction data and character data stored in the character font ROM 8, and "C" is stored in the character font ROM 8. The character data "0" shown is all 0 data. When the text color 21 is set, data such as RGB data 22 is displayed on the display plane in the text part, but data such as RGB data 23 is displayed in the correction part of the text with a black background color. is set. That is, a color having a luminance less than half of the specified character color is set as a correction color. Here, the colors shown in the correction colors 24 are used as respective correction colors. This correction color may be changed for each display character color as shown in FIG. 8, or may be the same color for all character colors. Furthermore, if the character background color is not black, the character background color may be changed depending on the character color. In this case, it is preferable to use the intermediate tone between the text color and the background color as the correction color.

【0018】図11に、図7に示したようなモノクロ8
階調の場合の補正色の決定処理のフローチャートを示す
。まず、予め表示色を階調順に対応させて“0”〜“7
”の数値を割当てておく(301)。次に、文字表示色
および背景色をユーザの指定に基づいて決定する(30
2)。そこで、(文字階調+背景色階調)×(1/2)
で算出される階調値に近い色を補正色と決定する(30
3)。このようにして、図8に示した、各文字色に対す
る補正色が決定される。
FIG. 11 shows a monochrome image 8 as shown in FIG.
A flowchart of correction color determination processing in the case of gradation is shown. First, the display colors are matched in gradation order in advance, and
” is assigned (301).Next, the character display color and background color are determined based on the user's specifications (30
2). Therefore, (character gradation + background color gradation) x (1/2)
A color close to the gradation value calculated in is determined as the correction color (30
3). In this way, the correction colors for each character color shown in FIG. 8 are determined.

【0019】文字表示の一例として、表示文字色が“白
”だった場合に“5”という文字を表示する処理を考え
る。このとき補正色は図8からマゼンタであるため、文
字部分は“白”で、補正部分は“マゼンタ”となるよう
に表示データを転送する。従って、転送装置7は文字フ
ォントROM8中の図2(1)に示すような“5”の文
字データを表示プレーン2〜4へそれぞれ転送し、かつ
、文字出力装置6は、図2(2)に示す補正データを表
示プレーン2と4へ転送する。この際、本実施例では文
字データと補正データは、論理和をとって転送されるも
のとする。その結果、表示画面上に図2(3)で示され
るような文字が表示される。なお、文字データを転送し
た後、補正データを転送し、表示プレーン上で論理和を
とるようにしてもよい。
As an example of character display, consider the process of displaying the character "5" when the displayed character color is "white". At this time, since the correction color is magenta from FIG. 8, the display data is transferred so that the character part is "white" and the correction part is "magenta". Therefore, the transfer device 7 transfers the character data of "5" as shown in FIG. 2(1) in the character font ROM 8 to the display planes 2 to 4, and the character output device 6 The correction data shown in is transferred to display planes 2 and 4. At this time, in this embodiment, character data and correction data are logically summed and transferred. As a result, characters as shown in FIG. 2(3) are displayed on the display screen. Note that after transferring the character data, the correction data may be transferred and the logical sum may be calculated on the display plane.

【0020】次に、補正データの生成方式について図3
および図9を用いて説明する。図3(1)〜(4)に示
すような状態の場合、すなわち、文字でない部位(背景
画素)が文字の斜線部を補間する位置にある場合、その
画素31〜34について補正データを生成する。このよ
うな補正データの生成を含む表示データ生成処理のフロ
ーチャートを図9に示す。まず、判断の対象となるドッ
ト(画素)について、文字フォントデータに基づきその
画素が文字の一部(“1”とする)であるか、背景画素
(“0”とする)であるかを調べる(101)。対象ド
ットが文字の一部(“1”)であれば、そのドットを当
該文字色で表示する(109)。ここで、「表示」は表
示プレーン2〜4へ表示データを書き込むことに相当す
る。以下の場合も同様である。対象ドットが背景画素(
“0”)であれば、左となりのドットを調べる(102
)。このドットが“0”であればステップ105へ移行
し、“1”であれば上となりのドットおよび下となりの
ドットを調べる(103,104)。両ドットのいずれ
かが“1”であれば、その対象ドットを補正色で表示す
る(108)。両ドットとも“0”であれば、右となり
のドットを調べる(105)。このドットが“0”であ
れば処理を終了し、“1”であれば、上となり及び下と
なりのドットを調べる(106,107)。両ドットの
いずれかが“1”であれば、その対象ドットを補正色で
表示する(108)。両ドットとも“0”であれば処理
を終了する。
Next, FIG. 3 shows the correction data generation method.
This will be explained using FIG. In the case of the states shown in FIGS. 3 (1) to (4), that is, when a non-character part (background pixel) is located at a position where the diagonal line part of the character is interpolated, correction data is generated for the pixels 31 to 34. . FIG. 9 shows a flowchart of display data generation processing including generation of such correction data. First, regarding the dot (pixel) to be judged, check whether the pixel is part of the character (set as "1") or a background pixel (set as "0") based on the character font data. (101). If the target dot is part of a character (“1”), the dot is displayed in the corresponding character color (109). Here, "display" corresponds to writing display data to display planes 2 to 4. The same applies to the following cases. The target dot is a background pixel (
If it is “0”), check the dot to the left (102
). If this dot is "0", the process moves to step 105, and if it is "1", the dots above and below are checked (103, 104). If either of the dots is "1", the target dot is displayed in the corrected color (108). If both dots are "0", the dot to the right is checked (105). If this dot is "0", the process ends, and if it is "1", the dots above and below are checked (106, 107). If either of the dots is "1", the target dot is displayed in the corrected color (108). If both dots are "0", the process ends.

【0021】図3の処理は1ドット毎に表示を行なって
いるが、判定部分(101〜107)を表示のアクセス
単位(1バイト、1ワード等)分、繰り返した後に表示
を行なうようにしてもよい。
In the process shown in FIG. 3, each dot is displayed, but the judgment part (101 to 107) is repeated for the display access unit (1 byte, 1 word, etc.) before displaying. Good too.

【0022】なお、図3のフローチャートに示したよう
な補正データの生成条件にあてはまる全ての点について
補正データを生成とすると、斜線部だけでなく水平垂直
線の交点についても補正データを発生させてしまう。そ
こで、図4(1)〜(4)に示すような条件にあてはま
る場合、すなわち、長さ2ドット以上の水平線と垂直線
との交点に隣接する背景画素であると判断される41〜
44の点の場合には、補正データの生成を行なわないよ
うにする。このための表示データ生成処理のフローチャ
ートを図10(a)に示す。このフローは図9のフロー
における判定部分(ステップ102〜107)を新たな
判定部分201〜204で置き換えたものである。ここ
では、図10(b)で示すように対象ドットの周囲の各
ドットをA〜Hで表わす。対象ドットが“1”のときは
、図9の場合と同様対象ドットを指定の文字色で表示す
る(109)。対象ドットが“0”のとき、その「B=
1かつD=1かつかつC=0かつF=0」であれば(2
01)、対象ドットを補正色で表示する(108)。あ
るいは、「B=1かつE=1かつA=0かつH=0」で
あれば(202)、対象ドットを補正色で表示する(1
08)。あるいは、「E=1かつG=1かつC=0かつ
F=0」であれば(203)、対象ドットを補正色で表
示する(108)。あるいは、「G=1かつD=1かつ
A=0かつH=0」であれば(204)対象ドットを補
正色で表示する(108)。
Note that if correction data is generated for all points that meet the correction data generation conditions as shown in the flowchart of FIG. Put it away. Therefore, when the conditions shown in FIGS. 4 (1) to (4) are met, that is, the background pixel is determined to be adjacent to the intersection of a horizontal line and a vertical line with a length of 2 dots or more.
In the case of 44 points, no correction data is generated. A flowchart of display data generation processing for this purpose is shown in FIG. 10(a). In this flow, the determination portion (steps 102 to 107) in the flow of FIG. 9 is replaced with new determination portions 201 to 204. Here, as shown in FIG. 10(b), dots around the target dot are represented by A to H. When the target dot is "1", the target dot is displayed in the specified character color as in the case of FIG. 9 (109). When the target dot is “0”, its “B=
1 and D=1 and C=0 and F=0'', then (2
01), the target dot is displayed in the corrected color (108). Alternatively, if "B=1, E=1, A=0, and H=0" (202), display the target dot in the corrected color (1
08). Alternatively, if "E=1, G=1, C=0, and F=0" (203), the target dot is displayed in the corrected color (108). Alternatively, if "G=1, D=1, A=0 and H=0" (204), the target dot is displayed in the corrected color (108).

【0023】すなわち、図10の判定部分101および
201〜204は、出力ビットマップデータのうち、文
字を構成するドットでなく、かつ、水平方向に隣合わせ
のドットの一つと垂直方向に隣合わせのドットの一つが
文字を構成するドットであるというドット文字補正デー
タの条件を満たすドットのうち、水平線と垂直線の交点
に隣接していると判断されるドットの場合には、文字補
正データとしないという条件を規定している。本実施例
では、垂直線とは垂直方向に連続した2ドット以上が文
字を構成している場合に相当し、水平線とは水平方向に
連続した2ドット以上が文字を構成している場合に相当
する。
In other words, the determination parts 101 and 201 to 204 in FIG. 10 are based on whether the output bitmap data is a dot that is not a character, and one of the horizontally adjacent dots and one of the vertically adjacent dots. Among the dots that satisfy the dot character correction data condition that one dot constitutes a character, if the dot is determined to be adjacent to the intersection of a horizontal line and a vertical line, it is not considered character correction data. stipulates. In this example, a vertical line corresponds to a character consisting of two or more consecutive dots in the vertical direction, and a horizontal line corresponds to a character consisting of two or more consecutive dots in the horizontal direction. do.

【0024】文字出力装置6は、文字でない部位につい
て以上のような判定を繰り返すことにより、図2(2)
に示すような補正データを作成することができる。
The character output device 6 repeats the above-described determination for non-character parts, thereby producing the image shown in FIG. 2(2).
Correction data as shown in can be created.

【0025】以上は、モノクロ表示装置に文字出力する
場合を考えてきたが、カラー表示装置においても実現可
能である。例えば、RGBIの4つの表示プレーンを持
ち、16色の表示が可能なカラー表示装置では、輝度を
表すIプレーンを補正用プレーンとし、表示文字色をR
GB3プレーンで表現できる8色から選択できるような
構成とする。このような構成の表示装置では、文字デー
タを指定された表示文字色に対応するRGBのプレーン
のどれかとIプレーンとに転送し、補正データは対応す
るRGBのプレーンのどれかのみに転送すれば良い。こ
れにより、文字部分は明るい色で表示され、補正部分は
暗い色で表示される。
[0025] In the above, the case where characters are output to a monochrome display device has been considered, but it is also possible to output characters to a color display device. For example, in a color display device that has four RGBI display planes and can display 16 colors, the I plane representing brightness is used as the correction plane, and the display character color is set to R.
The configuration allows selection from eight colors that can be expressed in GB3 planes. In a display device with such a configuration, character data is transferred to one of the RGB planes corresponding to the specified display character color and the I plane, and correction data is transferred only to one of the corresponding RGB planes. good. As a result, the text portion is displayed in a bright color, and the correction portion is displayed in a dark color.

【0026】次に、文字を構成する斜線部の角度により
、補正色を変更する方式について説明する。例として、
前記図1の表示装置を用い、文字背景色“黒”、文字色
“白”で、“イ”という文字を出力することを考える。 図5(1)に基になる文字データを示す。この文字の斜
線部は図6(1),(2)に示すような2つの角度に分
類できる。
Next, a method of changing the correction color depending on the angle of the diagonally lined portion forming the character will be explained. As an example,
Consider using the display device of FIG. 1 to output the character "i" with the character background color "black" and the character color "white". Figure 5(1) shows the underlying character data. The hatched portion of this character can be classified into two angles as shown in FIGS. 6(1) and (2).

【0027】まず、図6(1)の角度の場合を考える。 点線61で示すような角度の斜線が理想的な文字輪郭で
あるとすると、画素62及び63は、それぞれ画素面積
の1/3及び3/2が文字として描画されるべきである
。そこで、この描画面積を輝度と対応させるものとし、
黒と白の中間で1/3及び2/3の輝度を持つ色をそれ
ぞれの補正色として選択する。すなわち、図7から画素
62の場合は、白の約1/3の輝度を持つ“赤”を補正
色に、画素63の場合には白の約2/3の輝度を持つ“
緑”を補正色とする。
First, consider the case of the angle shown in FIG. 6(1). Assuming that a diagonal line with an angle as shown by dotted line 61 is an ideal character outline, pixels 62 and 63 should be drawn as characters in 1/3 and 3/2 of the pixel area, respectively. Therefore, this drawing area is made to correspond to the brightness,
Colors with luminance of 1/3 and 2/3 between black and white are selected as the respective correction colors. That is, from FIG. 7, in the case of pixel 62, the correction color is "red", which has about 1/3 of the brightness of white, and in the case of pixel 63, "red", which has about 2/3 of the brightness of white, is used as the correction color.
"Green" is the correction color.

【0028】図6(2)の場合には、同様に描画される
べき面積が1/2であるため、白の約1/2の輝度を持
つマゼンタを補正色とする。このように斜線角度によっ
て補正色を変更することにより、図5(2)に示すよう
な表示が得られる。
In the case of FIG. 6(2), similarly, since the area to be drawn is 1/2, magenta, which has about 1/2 the brightness of white, is used as the correction color. By changing the correction color according to the diagonal angle in this way, a display as shown in FIG. 5(2) can be obtained.

【0029】また、アウトラインフォント等、文字フォ
ントROMの情報をそのまま表示プレーンに転送せずに
文字出力装置で加工して出力する場合でも、文字出力装
置内に標準文字の出力モードと、文字補正データの出力
モードを設けることにより、同様な補正文字を出力する
ことができる。
[0029] Furthermore, even when information in a character font ROM such as an outline font is processed and output on a character output device without being transferred to the display plane as is, the standard character output mode and character correction data are stored in the character output device. By providing this output mode, similar corrected characters can be output.

【0030】以上、LCD等のデイスプレイにおいて高
品質文字を出力する方式について説明してきたが、ドッ
トマトリクス構成の出力装置であれば、例えば、プラズ
マディスプレイや各種プリンタにも高品質文字を出力で
きる。
The method for outputting high-quality characters on a display such as an LCD has been described above, but if the output device has a dot matrix configuration, high-quality characters can also be output on, for example, a plasma display or various printers.

【0031】プリンタにおいては、カラープリンタの場
合には、ディスプレイの“赤緑青”を“シアン、マゼン
タ、イエロー”に置き換えることにより、モノクロのプ
リンタの場合には、中間調をディザパタン等を用いて実
現することにより、ディスプレイと同様の処理が可能で
ある。
[0031] In the printer, in the case of a color printer, the "red, green, and blue" on the display is replaced with "cyan, magenta, and yellow", and in the case of a monochrome printer, halftones are realized by using a dither pattern, etc. By doing so, processing similar to that of a display is possible.

【0032】以上述べた実施例によれば、文字の斜線部
の外側に、文字色と文字背景色の中間色または中間輝度
(階調)の補間データが表示されるため、ドットマトリ
クス構成の液晶ディスプレイのように画素境界の鮮明な
表示装置でも、斜線部が滑らかに見える。また、水平垂
直線部は表示装置の特性が活かされて、鮮明な境界が維
持でき結果として切れの良い高品質な文字を表示するこ
とができる。
According to the embodiment described above, interpolated data of the intermediate color or intermediate luminance (gradation) between the character color and the character background color is displayed outside the diagonally shaded area of the character, so that the liquid crystal display with the dot matrix configuration is Even on a display device with clear pixel boundaries like this, the shaded areas appear smooth. In addition, the characteristics of the display device are utilized in the horizontal and vertical line portions, and clear boundaries can be maintained, resulting in the display of sharp, high-quality characters.

【0033】また、解像度が低い表示装置においても、
中間調を表示装置の中間輝度出力でなく、表示/非表示
の高速な繰返しにより疑似的に表示しているような表示
装置においても、面積の比較的小さな補正データのみに
中間調を施すので、画面全体のちらつき等を及ぼすおそ
れはない。
[0033] Also, even in display devices with low resolution,
Even in display devices where halftones are displayed in a pseudo manner by high-speed repetition of display/non-display rather than by the intermediate luminance output of the display device, since halftones are applied only to correction data with a relatively small area, There is no possibility that the entire screen will flicker.

【0034】[0034]

【発明の効果】本発明によれば、補正データは文字デー
タから前述の処理によって生成されるため、特別な補正
データ用パターンメモリを必要とせず、文字フォント容
量を増加させることはない。
According to the present invention, since correction data is generated from character data by the above-described processing, a special pattern memory for correction data is not required, and the character font capacity does not increase.

【0035】また、ドットフォント、アウトラインフォ
ント等どのような種類のフォントにも適用できる。特に
、アウトラインフォントにおいては、ベクトルデータに
よって文字輪郭が規定されているため、良好な補正デー
タ及び補正色データを得ることができ、高品質な文字を
出力することができる。
Furthermore, the present invention can be applied to any type of font, such as dot fonts and outline fonts. In particular, in outline fonts, character contours are defined by vector data, so good correction data and correction color data can be obtained, and high-quality characters can be output.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明の一実施例を実現するための表示装置の
構成のブロック図である。
FIG. 1 is a block diagram of the configuration of a display device for realizing an embodiment of the present invention.

【図2】本発明の一実施例により“5”を表す文字デー
タ、その補正データ及び表示データ例を示す摸式図であ
る。
FIG. 2 is a schematic diagram showing an example of character data representing "5", its correction data, and display data according to an embodiment of the present invention.

【図3】本発明による補正データ生成の条件を説明する
ための摸式図である。
FIG. 3 is a schematic diagram for explaining conditions for generating correction data according to the present invention.

【図4】図3の補正データ生成条件の除外条件を説明す
るための摸式図である。
FIG. 4 is a schematic diagram for explaining exclusion conditions of the correction data generation conditions of FIG. 3;

【図5】本発明の他の実施例により文字“イ”を表す文
字データ及び表示データ例を表す摸式図である。
FIG. 5 is a schematic diagram showing an example of character data and display data representing the character “i” according to another embodiment of the present invention.

【図6】図5の実施例における補正色の選択条件を説明
するための摸式図である。
6 is a schematic diagram for explaining selection conditions for correction colors in the embodiment of FIG. 5; FIG.

【図7】表示ドライバの色階調変換を表す説明図である
FIG. 7 is an explanatory diagram showing color gradation conversion of a display driver.

【図8】本発明の一実施例により各表示プレーンに転送
されるデータ種を示す説明図である。
FIG. 8 is an explanatory diagram showing data types transferred to each display plane according to an embodiment of the present invention.

【図9】本発明による表示データ生成処理のフローチャ
ートである。
FIG. 9 is a flowchart of display data generation processing according to the present invention.

【図10】本発明による他の表示データ生成処理のフロ
ーチャートである。
FIG. 10 is a flowchart of another display data generation process according to the present invention.

【図11】図8に示したような補正色を決定するための
処理のフローチャートである。
FIG. 11 is a flowchart of a process for determining a correction color as shown in FIG. 8;

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

1…モノクロ表示装置、2〜4…表示プレーン、5…表
示ドライバ、6…文字出力装置、7…転送装置、8…文
字フォントROM、23…本発明の表示データ種、24
…本発明の補正色を示す例、31〜34…補正データ、
41〜44…補正データから除外される点。
DESCRIPTION OF SYMBOLS 1... Monochrome display device, 2-4... Display plane, 5... Display driver, 6... Character output device, 7... Transfer device, 8... Character font ROM, 23... Display data type of the present invention, 24
...Examples showing correction colors of the present invention, 31 to 34...Correction data,
41-44...Points excluded from correction data.

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】ドットマトリクス構成の文字を出力する文
字出力方式において、文字データに基づき、当該文字の
斜線部に接する非文字構成ドットに対して文字と文字背
景との中間色または中間輝度を与える補正データを生成
し、該補正データにより出力文字を補正することを特徴
とする文字出力方式。
Claim 1: In a character output method that outputs characters in a dot matrix configuration, correction that gives an intermediate color or intermediate brightness between the character and the character background to non-character-constituting dots that touch the diagonally shaded part of the character, based on character data. A character output method characterized by generating data and correcting output characters using the correction data.
【請求項2】前記文字の斜線部の斜線角度に対応して、
中間色または中間輝度の度合いを決定することを特徴と
する請求項1記載の文字出力方式。
2. Corresponding to the diagonal angle of the diagonal part of the character,
2. The character output method according to claim 1, wherein the degree of intermediate color or intermediate brightness is determined.
【請求項3】出力文字がビットマップ形式で表された文
字であった場合、出力ビットマップデータのうち、文字
を構成するドットでなく、かつ、水平方向に隣合わせの
ドットの一つと垂直方向に隣合わせのドットの一つが文
字を構成するドットであるという条件を満たすドットを
文字補正データとして中間色または中間輝度で表示する
ことを特徴とする請求項1記載の文字出力方式。
Claim 3: When the output character is a character expressed in a bitmap format, the output bitmap data is not a dot that constitutes the character, and is vertically adjacent to one of the dots that are adjacent to each other in the horizontal direction. 2. The character output method according to claim 1, wherein dots that satisfy the condition that one of the adjacent dots is a dot constituting a character are displayed as character correction data in an intermediate color or intermediate brightness.
【請求項4】前記文字補正データの条件を満たすドット
のうち、文字の水平線と垂直線の交点の隣接ドットであ
ると判断されるドットについては、文字補正の対象とし
ないことを特徴とする請求項3記載の文字出力方式。
4. A claim characterized in that among the dots that satisfy the conditions of the character correction data, dots that are determined to be adjacent dots at the intersection of the horizontal line and the vertical line of the character are not subject to character correction. Character output method described in Section 3.
【請求項5】前記文字の水平線は水平方向に連続する2
個以上のドットにより構成され、前記文字の垂直線は垂
直方向に連続する2個以上のドットにより構成されるこ
とを特徴とする請求項4記載の文字出力方式。
5. The horizontal lines of the characters are two consecutive horizontal lines.
5. The character output method according to claim 4, wherein the vertical line of the character is comprised of two or more dots that are continuous in the vertical direction.
【請求項6】ドットマトリクス構成の文字を出力する文
字出力装置において、表示データを格納する複数枚のプ
レーンと、文字データを格納する文字データ格納手段と
、請求項1、2、3、4または5に記載の文字出力方式
によって、文字補正データを生成する文字補正データ生
成手段と、前記複数枚のプレーンに書き込まれる前また
は後の段階で、前記文字データまたは該文字データによ
り生成される表示データを前記文字補正データにより補
正する表示データ補正手段とを備えたことを特徴とする
文字出力装置。
6. A character output device for outputting characters in a dot matrix configuration, comprising: a plurality of planes for storing display data; and character data storage means for storing character data. Character correction data generation means for generating character correction data by the character output method according to item 5, and the character data or display data generated from the character data at a stage before or after being written on the plurality of planes. a display data correction means for correcting the display data using the character correction data.
【請求項7】前記複数枚のプレーンのうちの1枚を前記
文字補正データの格納用に用いることを特徴とする請求
項6記載の文字出力装置。
7. The character output device according to claim 6, wherein one of the plurality of planes is used for storing the character correction data.
JP3040151A 1991-03-06 1991-03-06 Character output method and device Expired - Lifetime JP3009747B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3040151A JP3009747B2 (en) 1991-03-06 1991-03-06 Character output method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3040151A JP3009747B2 (en) 1991-03-06 1991-03-06 Character output method and device

Publications (2)

Publication Number Publication Date
JPH04277791A true JPH04277791A (en) 1992-10-02
JP3009747B2 JP3009747B2 (en) 2000-02-14

Family

ID=12572768

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3040151A Expired - Lifetime JP3009747B2 (en) 1991-03-06 1991-03-06 Character output method and device

Country Status (1)

Country Link
JP (1) JP3009747B2 (en)

Also Published As

Publication number Publication date
JP3009747B2 (en) 2000-02-14

Similar Documents

Publication Publication Date Title
JP2780193B2 (en) Dither device
JP3102805B2 (en) Graphic output device
JP3406934B2 (en) Parallel error diffusion method
US20020070948A1 (en) Image processing method, image processing apparatus, electronic device, image processing program, and recording medium on which the same program recorded
JPH08166778A (en) Method and equipment for liquid crystal display
JP3564118B2 (en) Method and apparatus for filling object-based rasterized images
EP0709824B1 (en) Display control method and apparatus
US5559530A (en) Image data processing apparatus
JP2002091369A (en) Display device and computer-readable recording medium with recorded program for generating character image
US7518610B2 (en) Display apparatus, display control apparatus, display method, and computer-readable recording medium recording display control program
JPH01321578A (en) Picture display system
JP2856420B2 (en) Character pattern data generation method
KR20000070092A (en) Method and apparatus for using interpolation line buffers as pixel look up tables
US5542029A (en) System and method for halftoning using an overlapping threshold array
JP3009747B2 (en) Character output method and device
JPH04139589A (en) Graphic processor
JPH0782315B2 (en) Image processing device
JP2589953B2 (en) Character and image data generation apparatus and method
JP3114561B2 (en) Image processing device
JP2004226679A (en) Character display method and system
JP3000855B2 (en) Character graphic processing device and information processing device
JP3815514B2 (en) High-speed pixel interpolation method and image processing apparatus for enlarged image
JPH0415771A (en) Graphic processor
JP2008191317A (en) Image processor, image processing method, image processing program and recording medium with image processing program recorded thereon, and image display device
US7348983B1 (en) Method and apparatus for text image stretching