JPH04240695A - Gradational character generating method - Google Patents

Gradational character generating method

Info

Publication number
JPH04240695A
JPH04240695A JP3085455A JP8545591A JPH04240695A JP H04240695 A JPH04240695 A JP H04240695A JP 3085455 A JP3085455 A JP 3085455A JP 8545591 A JP8545591 A JP 8545591A JP H04240695 A JPH04240695 A JP H04240695A
Authority
JP
Japan
Prior art keywords
pattern
dots
enlarged
gradation
character
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3085455A
Other languages
Japanese (ja)
Inventor
Hiroyuki Shibata
博之 芝田
Yasuyuki Matsubara
松原 康之
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.)
Shaken Co Ltd
Photo Composing Machine Manufacturing Co Ltd
Original Assignee
Shaken Co Ltd
Photo Composing Machine Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shaken Co Ltd, Photo Composing Machine Manufacturing Co Ltd filed Critical Shaken Co Ltd
Priority to JP3085455A priority Critical patent/JPH04240695A/en
Publication of JPH04240695A publication Critical patent/JPH04240695A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To generate gradational characters which varies in density from linear threshold value patterns and density information on the characters. CONSTITUTION:Character pattern data is constituted of position information on a skeleton point Pi, line width information at the skeleton point Pi, and density information at the skeleton point Pi. Further, a linear threshold value matrix for generating a basic pattern is generated and stored. The linear basic pattern is generated first from the density information on the skeleton point and the threshold value matrix. At this time, when the size of the threshold value matrix and the line width are different, an enlarging or reducing process is performed. Thus, basic patterns which are generated by skeleton points are put together to generate a pseudo gradation pattern. This is sectioned into areas of optional size and gradational character data is generated according to the number of black dots in each area.

Description

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

【0001】0001

【産業上の利用分野】本発明は表示装置等に濃淡のある
文字を発生する階調文字発生方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for generating gradation characters on a display device or the like.

【0002】0002

【従来の技術】表示装置等に1文字の中で濃淡変化のあ
る階調文字を表示するためには、従来、階調のある文字
パターンを各画素ごとの多値データとして記憶し、それ
から文字を再生する以外に方法がなかった。
[Prior Art] In order to display gradation characters with gradation changes within one character on a display device, etc., conventionally, a character pattern with gradation is stored as multi-value data for each pixel, and then the character pattern is There was no other way but to play it.

【0003】0003

【発明が解決しようとする課題】しかしこの方法では、
a.メモリ容量が莫大となるb.変倍等の処理に対応で
きないなどの問題があった。
[Problem to be solved by the invention] However, with this method,
a. Memory capacity becomes huge b. There were problems such as the inability to handle processing such as scaling.

【0004】0004

【課題を解決するための手段】本発明は以上の点から成
したものであり、少ないデータ量で濃淡のある文字を発
生する階調文字発生方法を提供することであり、その特
徴とするところは、階調情報を1次元にmドット配列し
た閾値パターンと文字パターンデータの複数の濃度情報
Di(i=1,2,…,n)とに基づいて疑似階調パタ
ーンを作成し、
[Means for Solving the Problems] The present invention has been made in view of the above points, and it is an object of the present invention to provide a gradation character generation method that generates characters with shading with a small amount of data. creates a pseudo gradation pattern based on a threshold pattern in which gradation information is arranged one-dimensionally in m dots and a plurality of density information Di (i=1, 2,..., n) of character pattern data,

【0005】前記疑似階調パターンを任意の大きさの領
域に区分し、各領域の黒ドットの数に基づいて2次元の
階調文字データを作成して濃淡のある文字を発生するこ
とである。
[0005] The pseudo gradation pattern is divided into regions of arbitrary size, and two-dimensional gradation character data is created based on the number of black dots in each region to generate characters with shading. .

【0006】[0006]

【実施例】図1は本発明の実施例を示す処理フローであ
る。図2は本発明を実施するに好適な装置の一例を示す
図である。図2において、21はCPU、22はシステ
ムバス、23は文字パターンのデータを記憶する文字パ
ターン記憶部である。本実施例では文字パターンのデー
タを、例えば図3に例示する情報で構成する。
Embodiment FIG. 1 is a processing flow showing an embodiment of the present invention. FIG. 2 is a diagram showing an example of a device suitable for carrying out the present invention. In FIG. 2, 21 is a CPU, 22 is a system bus, and 23 is a character pattern storage section that stores character pattern data. In this embodiment, the character pattern data is composed of information illustrated in FIG. 3, for example.

【0007】図3は文字パターンデータを例示する図で
ある。先頭にはデータの全体の長さを示すデータ長31
が来る。それに続き骨格点情報1,2,…,nと続き、
最後に終了コード32が来る。
FIG. 3 is a diagram illustrating character pattern data. At the beginning, data length 31 indicates the entire length of the data.
is coming. This is followed by skeleton point information 1, 2, ..., n,
Finally, the exit code 32 comes.

【0008】各骨格点情報は、基本的には、(1).骨
格点PiのX座標値Xi (2).骨格点PiのY座標値Yi (3).骨格点Piにおける線幅情報Wi(4).骨格
点Piにおける濃度情報Diで構成される。濃度情報D
iは、後述する閾値パターンに基づいて基本パターンを
作成したとき、好適な状態となるように各骨格点ごとに
考慮して定める。
Each skeleton point information basically consists of (1). X coordinate value Xi of skeleton point Pi (2). Y coordinate value Yi of skeleton point Pi (3). Line width information Wi(4) at skeleton point Pi. It is composed of density information Di at the skeleton point Pi. Concentration information D
i is determined for each skeleton point so that it will be in a suitable state when a basic pattern is created based on a threshold pattern to be described later.

【0009】24は階調文字発生部で、文字パターン記
憶部23に記憶している文字パターンデータを使用して
階調文字を発生する処理を行う。
Reference numeral 24 denotes a gradation character generation section which generates gradation characters using the character pattern data stored in the character pattern storage section 23.

【0010】25は閾値パターン記憶部で、前記濃度情
報Diと比較して基本パターンを作成するための、図4
(1)のような1次元の閾値パターン41の情報を記憶
している。図4(1)は16階調の閾値42で構成した
例である。この閾値パターン41は図4(1)のものだ
けに限定されず、階調数、閾値の配置等は任意に定める
ことができる。
Reference numeral 25 denotes a threshold pattern storage unit, which is used to compare the density information Di with the density information Di to create a basic pattern.
Information on a one-dimensional threshold pattern 41 such as (1) is stored. FIG. 4(1) is an example configured with threshold values 42 of 16 gradations. This threshold value pattern 41 is not limited to that shown in FIG. 4(1), and the number of gradations, arrangement of threshold values, etc. can be arbitrarily determined.

【0011】図4(2)は、図4(1)の閾値パターン
41に従って作成した、濃度が“7”のときの基本パタ
ーンを示す。図4(3)は、濃度が“12”から“7”
まで変化したときのそれぞれの基本パターンを合成した
例である。
FIG. 4(2) shows a basic pattern created according to the threshold pattern 41 of FIG. 4(1) when the density is "7". In Figure 4 (3), the density is from “12” to “7”.
This is an example of a composite of each basic pattern when it changes to.

【0012】26は拡大変換テーブルで、その詳細は後
述する。27は階調文字発生部24で発生した基本パタ
ーンをビット展開するビットマップメモリ、28は階調
文字等を表示する表示部である。
Reference numeral 26 denotes an enlarged conversion table, the details of which will be described later. Reference numeral 27 denotes a bitmap memory for bit-expanding the basic pattern generated by the gradation character generation section 24, and 28 a display section for displaying gradation characters and the like.

【0013】次に、図1,図2を使用して本発明の実施
例を説明する。はじめにCPU21は閾値パターン記憶
部25から図4(1)のような閾値パターン41の情報
を読出し、システムバス22を介して階調文字発生部2
4へ送る(図1S1)。本実施例では閾値パターン41
の幅(サイズ)を図4(1)のように16ドットで構成
した場合について説明する。
Next, an embodiment of the present invention will be explained using FIGS. 1 and 2. First, the CPU 21 reads out the information of the threshold pattern 41 as shown in FIG.
4 (Fig. 1S1). In this embodiment, the threshold pattern 41
A case will be described in which the width (size) of is configured with 16 dots as shown in FIG. 4(1).

【0014】階調文字発生部24は、文字パターン記憶
部23から階調文字を作成する文字パターンの1つの骨
格点情報iを読み出す(S2)。
The gradation character generation unit 24 reads out one skeleton point information i of a character pattern for creating a gradation character from the character pattern storage unit 23 (S2).

【0015】次に階調文字発生部24は、閾値パターン
41の各閾値42と骨格点情報iの濃度情報Diを比較
し、濃度情報Diの方が大きいビットを“1”とした、
図4(2)に例示する16ドットの基本パターン43を
作成する(S3)。
Next, the gradation character generation unit 24 compares each threshold value 42 of the threshold value pattern 41 with the density information Di of the skeleton point information i, and sets the bit where the density information Di is larger to "1".
A basic pattern 43 of 16 dots illustrated in FIG. 4(2) is created (S3).

【0016】次に階調文字発生部24は、基本パターン
43のサイズと骨格点情報iの線幅Wiとを比較する(
S4)。
Next, the gradation character generation unit 24 compares the size of the basic pattern 43 and the line width Wi of the skeleton point information i (
S4).

【0017】比較の結果、両者が一致するときは、基本
パターン43をビットマップメモリ27の骨格点情報i
の骨格点PiのX座標Xi,Y座標Yiが示す位置にそ
のまま出力する(S7)。
As a result of the comparison, if the two match, the basic pattern 43 is transferred to the skeleton point information i in the bitmap memory 27.
is output as is to the position indicated by the X coordinate Xi and Y coordinate Yi of the skeleton point Pi (S7).

【0018】一方、基本パターン43のサイズと骨格点
情報iの線幅Wiとを比較した結果、線幅Wiの方が基
本パターン43のサイズより小さいときは、基本パター
ン43に対して縮小処理を行って縮小パターンを作成す
る(S5)。
On the other hand, as a result of comparing the size of the basic pattern 43 and the line width Wi of the skeleton point information i, if the line width Wi is smaller than the size of the basic pattern 43, the reduction process is performed on the basic pattern 43. Then, a reduced pattern is created (S5).

【0019】反対に線幅Wiの方が大きいときは、基本
パターン43に対して拡大処理を行って拡大パターンを
作成する(S6)。
On the other hand, when the line width Wi is larger, the basic pattern 43 is enlarged to create an enlarged pattern (S6).

【0020】ここでS5における縮小処理について説明
する。
The reduction process in S5 will now be explained.

【0021】図5はS5における縮小処理を詳細に示す
処理フローである。ここで基本パターン43のサイズを
A,線幅WiのサイズをB,AとBの最小公倍数をCと
し、16ドットの基本パターンを12ドットの縮小パタ
ーンに縮小する場合を例に以下の説明を行う。
FIG. 5 is a processing flow showing the reduction processing in S5 in detail. Here, let the size of the basic pattern 43 be A, the size of the line width Wi be B, and the least common multiple of A and B be C, and the following explanation will be based on an example in which a 16-dot basic pattern is reduced to a 12-dot reduced pattern. conduct.

【0022】はじめに階調文字発生部24は、基本パタ
ーン43の1ドットをそれぞれ(C/A)倍した、図6
に61として示すような暫定パターン61を作成する(
図5S51)。本実施例の場合C/A=3なので、図6
のように基本パターン43の1ドットをそれぞれ3倍し
た、48ドットの暫定パターン61を作成する。
First, the gradation character generating section 24 multiplies each dot of the basic pattern 43 by (C/A), as shown in FIG.
Create a temporary pattern 61 as shown in (
Figure 5S51). In this example, C/A=3, so Figure 6
A temporary pattern 61 of 48 dots is created by multiplying each dot of the basic pattern 43 by three as shown in FIG.

【0023】次に暫定パターン61から(C/B)ドッ
トを読出す(S52)。本実施例の場合C/B=4なの
で、図6のように暫定パターン61から4ドットを読出
す。
Next, (C/B) dots are read out from the temporary pattern 61 (S52). In this embodiment, since C/B=4, four dots are read out from the provisional pattern 61 as shown in FIG.

【0024】次に読出した(C/B)ドットの白ドット
と黒ドットの比率を判定し(S53)、黒ドットが50
%以上であれば縮小パターンの当該ドットを黒ドットと
し(S54)、50%未満であれば当該ドットを白ドッ
トとする(S55)。
Next, the ratio of white dots to black dots of the read (C/B) dots is determined (S53), and the number of black dots is 50.
% or more, the dot in the reduced pattern is set as a black dot (S54), and if it is less than 50%, the dot is set as a white dot (S55).

【0025】上記S52〜S55の処理を繰り返して行
い(S56)、図6に62として示すような12ドット
の縮小パターン62を作成する。
The processes of S52 to S55 are repeated (S56) to create a 12-dot reduced pattern 62 as shown as 62 in FIG.

【0026】次に図1S6の拡大処理について説明する
Next, the enlargement process shown in FIG. 1S6 will be explained.

【0027】図7は拡大処理を詳細に示す処理フローで
ある。ここで基本パターン43のサイズをA,線幅Wi
のサイズをBとし、16ドットの基本パターンを24ド
ットの拡大パターンに拡大する場合を例に以下の説明を
行う。
FIG. 7 is a processing flow showing the enlargement processing in detail. Here, the size of the basic pattern 43 is A, the line width Wi
The following explanation will be given by taking as an example a case in which the size of the pattern is B and a basic pattern of 16 dots is enlarged to an enlarged pattern of 24 dots.

【0028】はじめに階調文字発生部24は、拡大パタ
ーンを作成するために、基本パターン43を何倍にする
かを算出する(図7S61)。即ち(B/A)を計算し
、商の整数部をCとする。16ドットから24ドットに
拡大するときは、C=1となる。
First, the gradation character generation unit 24 calculates how many times the basic pattern 43 should be multiplied in order to create an enlarged pattern (S61 in FIG. 7). That is, calculate (B/A) and let C be the integer part of the quotient. When expanding from 16 dots to 24 dots, C=1.

【0029】次に、(B/A)の余りのドット数Dを求
める(S62)。24ドットに拡大するときは、(B−
A×C)=D(=8)となる。
Next, the number D of dots remaining from (B/A) is determined (S62). When enlarging to 24 dots, (B-
A×C)=D(=8).

【0030】次に図8に例示する拡大変換テーブル26
aの、余りのドット数Dが示すアドレスから割り振りビ
ットを1ビット読出す(S63)。図8の拡大変換テー
ブル26aは、上述した(B/A)の余りのドット数D
をアドレス81とし、基本パターン43と同一サイズ、
即ち本実施例の場合は16ビットの割り振りビット82
をデータとする。この割り振りビットのk番目のビット
が“1”であれば、基本パターン43のk番目のドット
を(C+1)ドットに、“0”であれば、Cドットにそ
れぞれ拡大して拡大パターンを作成することを意味する
Next, the enlarged conversion table 26 illustrated in FIG.
One allocated bit is read from the address indicated by the remaining number of dots D in a (S63). The enlargement conversion table 26a in FIG.
is the address 81, the same size as the basic pattern 43,
That is, in the case of this embodiment, 16 bits of allocated bits 82
Let be the data. If the k-th bit of this allocated bit is "1", the k-th dot of the basic pattern 43 is expanded to (C+1) dots, and if it is "0", it is expanded to C dots to create an enlarged pattern. It means that.

【0031】階調文字発生部24は、拡大変換テーブル
26aから読出したk番目のビットが“1”か否かを判
断する(S64)。本実施例の場合はD=8なので、拡
大変換テーブル26aのアドレス8からk番目の1ビッ
トを読出して判断する。
The gradation character generation unit 24 determines whether the k-th bit read from the enlarged conversion table 26a is "1" (S64). In the case of this embodiment, since D=8, the kth 1 bit from address 8 of the enlarged conversion table 26a is read out for determination.

【0032】読出したビットが“1”であれば、基本パ
ターン43のk番目のドットを(C+1)ドットに拡大
して拡大パターンを作成する(S65)。即ち本実施例
であれば、基本パターン43のk番目のドットを2倍し
て拡大パターンの2ドットを作成する。
If the read bit is "1", the k-th dot of the basic pattern 43 is enlarged to (C+1) dots to create an enlarged pattern (S65). That is, in this embodiment, the k-th dot of the basic pattern 43 is doubled to create two dots of the enlarged pattern.

【0033】一方、読出したビットが“0”であれば、
基本パターン43の当該ドットをCドットに拡大して拡
大パターンを作成する(S66)。即ち本実施例であれ
ば、基本パターン43の当該ドット1ドットをそのまま
拡大パターンの1ドットとする。
On the other hand, if the read bit is “0”,
The dot of the basic pattern 43 is enlarged to a C dot to create an enlarged pattern (S66). That is, in this embodiment, one dot of the basic pattern 43 is directly used as one dot of the enlarged pattern.

【0034】上記S63〜S66の処理が終了したら、
拡大変換テーブル26aのアドレスDの割り振りビット
82から次のk+1番目の1ビットを読出して同様の処
理を繰り返して行い(S67)、図9のような拡大パタ
ーン91を作成する。
[0034] When the above processing of S63 to S66 is completed,
The next (k+1)th 1 bit is read from the allocation bit 82 of address D of the enlargement conversion table 26a and the same process is repeated (S67) to create an enlarged pattern 91 as shown in FIG.

【0035】次に、拡大処理の他の実施例を説明する。 本実施例では拡大変換テーブル26に、図8に示したテ
ーブル26aのほかに、図10に示す拡大ビットテーブ
ル26bを備える。
Next, another embodiment of the enlarging process will be described. In this embodiment, the expansion conversion table 26 includes an expansion bit table 26b shown in FIG. 10 in addition to the table 26a shown in FIG.

【0036】図10に示す拡大ビットテーブル26bは
、8ビットのアドレス101を持つ。8ビットのうち、
上位2ビットは基本パターン43の拡大するドットjと
その次のドットj+1であり、下位6ビットは基本パタ
ーン1ドットが対応する拡大パターンのドット数(拡大
率)である。
The expanded bit table 26b shown in FIG. 10 has an 8-bit address 101. Of the 8 bits,
The upper two bits are the enlarged dot j and the next dot j+1 of the basic pattern 43, and the lower six bits are the number of dots (enlargement rate) of the enlarged pattern to which one dot of the basic pattern corresponds.

【0037】拡大ビットテーブル26bは、上記アドレ
ス101に対応させてアドレスの下位6ビットが示すド
ット数の拡大パターン102を図10のように記憶して
いる。
The enlarged bit table 26b stores an enlarged pattern 102 of the number of dots indicated by the lower six bits of the address in correspondence with the address 101, as shown in FIG.

【0038】本実施例は、図7S65,S66における
拡大パターンを発生する処理を次のようにして行う点で
前実施例と異なる。
This embodiment differs from the previous embodiment in that the processing for generating enlarged patterns in S65 and S66 of FIG. 7 is performed as follows.

【0039】まず基本パターン43から拡大するドット
jと次のドットj+1を読出す。基本パターンのドット
jが最後のドットのときは、j+1のドットとして基本
パターンの先頭のドットを選択する。
First, the dot j to be enlarged and the next dot j+1 are read out from the basic pattern 43. When dot j of the basic pattern is the last dot, the first dot of the basic pattern is selected as the j+1 dot.

【0040】その2ドットを上位2ビットに、拡大パタ
ーンのドット数(拡大率)を下位6ビットとする計8ビ
ットのアドレスに対応する拡大パターンを、図10の拡
大ビットテーブル26bから読出す。
An enlarged pattern corresponding to a total of 8 bits of address, with the 2 dots as the upper 2 bits and the number of dots (enlargement rate) of the enlarged pattern as the lower 6 bits, is read from the enlarged bit table 26b in FIG.

【0041】例えば基本パターンから読出したドットj
,j+1が“10”で拡大パターンのドット数が2ドッ
トの場合、アドレス“10000010”から当該ドッ
ト“1”の拡大パターンとして“10”が読出される。
For example, dot j read from the basic pattern
, j+1 are "10" and the number of dots in the enlarged pattern is 2 dots, "10" is read out from the address "10000010" as the enlarged pattern for the dot "1".

【0042】以上のように、基本パターンのドットjを
拡大する際、当該ドットjと次のドットj+1を読出し
、拡大ビットテーブル26bに従って拡大する。
As described above, when enlarging dot j of the basic pattern, the dot j and the next dot j+1 are read out and enlarged according to the enlargement bit table 26b.

【0043】このように前実施例は拡大する際、単純に
基本パターンの当該ドットを拡大していたのに対し、本
実施例ではその次のビットの状態を反映させて拡大して
いる。そのため特に大きな倍率に拡大したとき(即ち線
幅が太いとき)、その大きさ(線幅)に依存することな
く、図11に16ドットの基本パターン43から48ド
ットの拡大パターン111を作成した場合を例示するよ
うに、絶対的な黒ドットと白ドットの間隔がほぼ一定の
細かさの拡大パターンを発生することができる。
As described above, when enlarging in the previous embodiment, the corresponding dot of the basic pattern was simply enlarged, whereas in this embodiment, the state of the next bit is reflected in the enlargement. Therefore, when enlarged to a particularly large magnification (that is, when the line width is thick), the enlarged pattern 111 of 48 dots is created from the basic pattern 43 of 16 dots in FIG. 11 without depending on the size (line width). As illustrated in the following, it is possible to generate an enlarged pattern with a fineness in which the absolute interval between black dots and white dots is almost constant.

【0044】以上のようにして図1S5,S6で作成し
た縮小パターン、拡大パターンをビットマップメモリ2
7の骨格点情報iの骨格点PiのX座標Xi,Y座標Y
iが示す位置に出力する(S7)。
The reduced pattern and enlarged pattern created in S5 and S6 of FIG. 1 as described above are stored in the bitmap memory 2.
X coordinate Xi, Y coordinate Y of skeleton point Pi of skeleton point information i of 7
It is output to the position indicated by i (S7).

【0045】上記S2〜S7の処理によって1つの骨格
点Piにおける基本パターン(以下縮小パターン、拡大
パターンを含めて基本パターンという)を作成する処理
が終了したら、次は骨格点Pi+1における処理を行う
。この処理を1つの文字の全骨格点について行う(S8
)。
When the process of creating a basic pattern (hereinafter referred to as basic pattern including reduced pattern and enlarged pattern) at one skeleton point Pi is completed through the processes of S2 to S7 described above, the process at skeleton point Pi+1 is next performed. This process is performed for all skeleton points of one character (S8
).

【0046】以上のようにして、1文字分の基本パター
ンを図12のようにビット展開する。以下、図12のよ
うに展開したパターンを疑似階調パターンという。
As described above, the basic pattern for one character is bit-developed as shown in FIG. Hereinafter, the pattern developed as shown in FIG. 12 will be referred to as a pseudo gradation pattern.

【0047】次にその疑似階調パターンから階調文字デ
ータを作成する(S9)。
Next, gradation character data is created from the pseudo gradation pattern (S9).

【0048】図13は階調文字データを作成する手順を
示す処理フローである。
FIG. 13 is a processing flow showing the procedure for creating gradation character data.

【0049】まず、図12の疑似階調パターンを、図1
4(1)のように複数のドットからなる2次元の領域に
区分する(S91)。このときの領域の大きさは任意で
、例えば発生したい文字の階調数に応じて定める。図1
4(1)の例では、8×8ドットの領域に区分した。
First, the pseudo gradation pattern in FIG.
The area is divided into two-dimensional areas each consisting of a plurality of dots as shown in 4(1) (S91). The size of the area at this time is arbitrary, and is determined, for example, depending on the number of gradations of characters desired to be generated. Figure 1
In the example of 4(1), the area is divided into 8×8 dots.

【0050】次に、領域内の黒ドットの数をカウントし
(S92)、それを百分率で表した階調文字データを作
成する(S93)。尚、階調文字データは必ずしも百分
率で表したものでなくても良く、例えば黒ドットの数そ
のものでも良い。
Next, the number of black dots within the area is counted (S92), and gradation character data representing the number of black dots as a percentage is created (S93). Note that the gradation character data does not necessarily have to be expressed as a percentage, and may be, for example, the number of black dots itself.

【0051】そしてS92,S93の処理を全領域につ
いて行い(S94)、図14(2)のような文字の2次
元の階調文字データを作成する。
Then, the processes of S92 and S93 are performed for the entire area (S94), and two-dimensional gradation character data of a character as shown in FIG. 14(2) is created.

【0052】以上のようにして作成した図14(2)の
階調文字データに従って表示部28の輝度を制御するな
どして文字を発生すれば、濃淡のある階調文字を表示す
ることができる。
If characters are generated by controlling the brightness of the display section 28 in accordance with the gradation character data shown in FIG. 14(2) created as described above, it is possible to display gradation characters with shading. .

【0053】[0053]

【発明の効果】以上説明したように、本発明によれば、
記憶する文字のデータを莫大なものとすることなしに、
2次元的に濃淡のある階調文字を簡単に発生することが
できる。しかも閾値パターンを適当に変更することによ
り、濃淡を多様に変化させることができる。また文字の
線幅の変化にも柔軟に対応できる等の効果を有する。
[Effects of the Invention] As explained above, according to the present invention,
Without increasing the amount of character data to be memorized,
To easily generate gradation characters with two-dimensional shading. Moreover, by appropriately changing the threshold pattern, the shading can be varied in a variety of ways. It also has the advantage of being able to flexibly respond to changes in the line width of characters.

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

【図1】  本発明の実施例を示す処理フロー[Figure 1] Processing flow showing an embodiment of the present invention

【図2】
  本発明を実施するに好適な装置の一例を示す図
[Figure 2]
A diagram showing an example of a device suitable for implementing the present invention

【図3】  文字パターンデータを例示する図[Figure 3] Diagram illustrating character pattern data

【図4】
  閾値パターンなどを例示する図
[Figure 4]
Diagram illustrating threshold patterns etc.

【図5】  縮小処
理を詳細に示す処理フロー
[Figure 5] Processing flow showing detailed reduction processing

【図6】  縮小処理の説明
[Figure 6] Explanatory diagram of reduction processing

【図7】  拡大処理を詳細に示す処理フロー[Figure 7] Process flow showing enlargement processing in detail

【図8】
  拡大変換テーブルの一実施例を示す図
[Figure 8]
A diagram showing an example of an enlarged conversion table

【図9】  
拡大パターンを例示する図
[Figure 9]
Diagram illustrating an enlarged pattern

【図10】拡大ビットテーブ
ルを示す図
[Figure 10] Diagram showing an expanded bit table

【図11】拡大処理の説明図[Fig. 11] Explanatory diagram of enlargement processing

【図12】基本パターンを複数展開した状態を例示する
[Figure 12] Diagram illustrating a state in which multiple basic patterns are developed

【図13】階調文字データ作成の処理フロー[Figure 13] Processing flow for creating gradation character data

【図14】
階調文字データ作成の説明図
[Figure 14]
Explanatory diagram for creating gradation character data

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

23  文字パターン記憶部 24  階調文字発生部 25  閾値パターン記憶部 26  拡大変換テーブル 27  ビットマップメモリ 23 Character pattern storage section 24 Gradation character generation part 25 Threshold pattern storage unit 26 Enlargement conversion table 27 Bitmap memory

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】階調情報を1次元にmドット配列した閾値
パターンと文字パターンデータの複数の濃度情報Di(
i=1,2,…,n)とに基づいて疑似階調パターンを
作成し、前記疑似階調パターンを任意の大きさの領域に
区分し、各領域の黒ドットの数に基づいて2次元の階調
文字データを作成して濃淡のある文字を発生することを
特徴とする階調文字発生方法。
1. A threshold pattern in which gradation information is arranged one-dimensionally in m dots and a plurality of density information Di(
A pseudo gradation pattern is created based on A gradation character generation method characterized in that gradation character data is created to generate characters with shading.
JP3085455A 1991-01-23 1991-01-23 Gradational character generating method Pending JPH04240695A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3085455A JPH04240695A (en) 1991-01-23 1991-01-23 Gradational character generating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3085455A JPH04240695A (en) 1991-01-23 1991-01-23 Gradational character generating method

Publications (1)

Publication Number Publication Date
JPH04240695A true JPH04240695A (en) 1992-08-27

Family

ID=13859358

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3085455A Pending JPH04240695A (en) 1991-01-23 1991-01-23 Gradational character generating method

Country Status (1)

Country Link
JP (1) JPH04240695A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8780391B2 (en) 2010-09-09 2014-07-15 Ricoh Company, Ltd. Image processing apparatus and image processing system with processability determining unit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8780391B2 (en) 2010-09-09 2014-07-15 Ricoh Company, Ltd. Image processing apparatus and image processing system with processability determining unit

Similar Documents

Publication Publication Date Title
US4484347A (en) Method of image transformation in a display device
US4447882A (en) Method and apparatus for reducing graphic patterns
JPH05127654A (en) Character and figure deformation processing device
US5371840A (en) Polygon tiling engine
JPH05244402A (en) Method for reducing amount of required storage device
US5625772A (en) Gray-scale font generating apparatus utilizing a blend ratio
US5287442A (en) Serpentine rendering of antialiased vectors in a computer graphics system
JPH04240695A (en) Gradational character generating method
JPH04235594A (en) Character generation
JPH022039A (en) Address printing apparatus
JPS5950070B2 (en) Character pattern generation method
JP2806679B2 (en) Character generator
JPH04188192A (en) Method and device for producing multigradation character
CA2038506C (en) Polygon tiling engine
JP2891318B2 (en) How to create a bitmap font
JPH0227486A (en) Picture enlarging/reducing device
JP3122168B2 (en) Test pattern creation device
JPS63136278A (en) Production system for repetitive pattern
JPH11149561A (en) Method and device for generating non-fractal scalar place
JP3077319B2 (en) Data processing device
JPS63210885A (en) Graphic generation system for character shape
JPH05188914A (en) Character font scale conversion device
JPH01286860A (en) Character pattern enlargement device
JPS6326782A (en) Smoothing processing method for enlarging binary character pattern
JPH0752466B2 (en) Raster operation device and method