JPS60159886A - Character pattern generation system - Google Patents

Character pattern generation system

Info

Publication number
JPS60159886A
JPS60159886A JP59016752A JP1675284A JPS60159886A JP S60159886 A JPS60159886 A JP S60159886A JP 59016752 A JP59016752 A JP 59016752A JP 1675284 A JP1675284 A JP 1675284A JP S60159886 A JPS60159886 A JP S60159886A
Authority
JP
Japan
Prior art keywords
pattern
sub
character
rows
columns
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
JP59016752A
Other languages
Japanese (ja)
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.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP59016752A priority Critical patent/JPS60159886A/en
Publication of JPS60159886A publication Critical patent/JPS60159886A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 技術分野 本発明は文字パターン発生方式に関し、特に漢字プリン
タや漢字ディスプレイ装置等における多数の文字パター
ンの格納及びその再生をなす文字パターン発生方式に関
する。
TECHNICAL FIELD The present invention relates to a character pattern generation method, and more particularly to a character pattern generation method for storing and reproducing a large number of character patterns in a kanji printer, a kanji display device, or the like.

従来技術 従来、この種の印字装置であるプリンタやディスプレイ
装置では、文字パターンを点の集合(以下ドツトマトリ
ックスと称す)にて表現しく第1図参照)、各々のドツ
トを文字パターンメモリの1ビツトに対応させて格納す
る方式を採っている。
BACKGROUND TECHNOLOGY Conventionally, in printers and display devices, which are printing devices of this type, character patterns are expressed as a set of dots (hereinafter referred to as a dot matrix) (see Figure 1), and each dot is stored as one bit in a character pattern memory. We have adopted a method of storing data in accordance with the following.

しかしながら、漢字文字種は約4000字〜soo。However, the number of kanji character types is approximately 4000 characters ~ soo.

字以上を必要とし更には各種サイズの文字パターンをも
考え合せると、文字パターンメモリは膨大な容量を必要
とすることになる。
If more characters are required and character patterns of various sizes are considered, the character pattern memory will require an enormous capacity.

発明の目的 本発明は、文字パターンのドツトマトリックスでは文字
の画数が少ないものやけい線文字パターン及び記号等で
は白の部分が多いものが多数存在するという事実に鑑み
てなされたものであって、文字パターンマトリックス上
の空白部分を省略可能として文字パターンメモリに格納
される文字パターン情報の空白部の冗長度を低減して文
字パターンメモリの容量を削減した文字パターン発生方
式を提供することを目的としている。
OBJECTS OF THE INVENTION The present invention has been made in view of the fact that there are many character patterns with a small number of strokes in dot matrix character patterns, and many line character patterns and symbols with many white parts, The purpose of the present invention is to provide a character pattern generation method that reduces the redundancy of the blank parts of character pattern information stored in the character pattern memory by making it possible to omit the blank parts on the character pattern matrix, thereby reducing the capacity of the character pattern memory. There is.

発明の構成 本発明による文字パターン発生方式は、N行M列(N、
Mは正の整数)の文字ドツトパターンを各々がn行m列
(n、mは1 <n、< / 2 、1 <m<lvI
/2を満足する整数)からなる複数のサブパターンに分
解してこの各サブパターンの内容が全て空白の場合及び
1ビツト以上黒が存在する場合に、夫々これら各場合に
対応する2値情報信号(例えば前者の場合を「0」とし
、後者の場合を「1」とする)索引テーブルを記憶する
サブパターン索引テーブル記憶手段と、これらサブパタ
ーンのうち1ビツト以上黒が存在するサブパターンのみ
のドツトパターン情報を記憶するドツトパターン記憶手
段と、サブパターン索引テーブル記憶手段の情報信号を
参照して、これが全て空白を示す場合には全ての内容が
空白に対応する信号を有するn行m列のサブパターンを
発生し、当該情報信号が1ビツト以上黒が存在すること
を示す場合にはドツトパターン記憶手段の対応するn行
m列のサブパターンを読出す手段とを設け、これらn行
m列のサブパターンをすべて合成してN行M列のドツト
パターンマトリックスを出力するようにしたことを特徴
としている。
Structure of the Invention The character pattern generation method according to the present invention has N rows and M columns (N,
M is a positive integer) character dot patterns each having n rows and m columns (n, m are 1 < n, < / 2, 1 < m < lvI
/2), and when the contents of each sub-pattern are all blank or when one or more bits are black, a binary information signal corresponding to each of these cases is generated. (For example, the former case is set to ``0'' and the latter case is set to ``1.'') A sub-pattern index table storage means for storing an index table; By referring to the information signals of the dot pattern storage means for storing dot pattern information and the subpattern index table storage means, if all of the information signals indicate blanks, the n rows and m columns whose contents all have signals corresponding to blanks are selected. When a sub-pattern is generated and the information signal indicates that one bit or more is black, means for reading out the corresponding sub-pattern in n rows and m columns of the dot pattern storage means is provided, and these n rows and m columns are read out. The present invention is characterized in that all of the sub-patterns are combined to output a dot pattern matrix with N rows and M columns.

実施例 以下に、図面を用いて本発明の詳細な説明する。Example The present invention will be described in detail below using the drawings.

第1図は漢字文字パターンを32行32列すなわち32
 X 32のドツトマトリックスにて表現する場合の1
例を示しており、例えば「子」なる文字の場合が示され
ている。この32 X 32のドツトマトリックス10
が、更に4行4列すなわち4交4のサブパターン11に
分割されるようになっておシ、この4×4を1単位とす
る8X8=64個のサブパターンに分解される。これ等
64個のサブパターンによって第1図に示したドツトマ
トリックスを表わせば、第2図に示す如くなり、各サブ
パターン(11)は第3図に示す様に4×4のドツトマ
トリックス構成となっているのである。
Figure 1 shows the Kanji character pattern in 32 rows and 32 columns, or 32
1 when expressed in a dot matrix of x32
An example is shown, for example, the case of the character "child". This 32 x 32 dot matrix 10
is further divided into 4 rows and 4 columns, that is, 4×4 subpatterns 11, and is decomposed into 8×8=64 subpatterns with 4×4 as one unit. If the dot matrix shown in Fig. 1 is represented by these 64 sub-patterns, it will become as shown in Fig. 2, and each sub-pattern (11) will have a 4 x 4 dot matrix configuration as shown in Fig. 3. It has become.

当該第2図に示すサブパターンマトリックスがサブパタ
ーン索引テーブルとして用いられることになシ、各構成
要素であるサブパターン情報信号Pijが、後述するよ
うに、夫々情報内容に応じて「0」若しくは「1」にて
表わされる1ビット情報信号とされる。よって、サブパ
ターン索引テーブルは8×8−64ビツト必要となる。
Since the sub-pattern matrix shown in FIG. 2 is not used as a sub-pattern index table, the sub-pattern information signal Pij, which is each component, is set to "0" or "0" depending on the information content, as described later. This is a 1-bit information signal represented by "1". Therefore, the subpattern index table requires 8×8-64 bits.

第4図は、第4図の32 X 32の文字パターンマト
リックスlOを4×4ドツトにサブパターン化した場合
に、各サブパターンに記号を付与して表現したものであ
り、Sl。+ SI2 +・・・、888は夫々4×4
ドツトのサブパターンを示し、各サブパターンは第3図
に示したdIf + d12 +・・・、d44の記号
で表現さ゛れた16ビツトを含む。
FIG. 4 shows a representation of the 32×32 character pattern matrix IO in FIG. 4 when it is converted into 4×4 dot subpatterns by assigning symbols to each subpattern. + SI2 +..., 888 are each 4x4
3 shows subpatterns of dots, each subpattern including 16 bits represented by the symbols dIf + d12 + . . . , d44 shown in FIG.

第5図は、第1図に示した文字「子」の例のサブパター
ン索引テーブル(第2図に相当)の実際を示すもので、
各サブパターンを構成する4×4ドツト(第3図参照)
がすべて空白である場合にはPijが「0」なる記号と
され、4×4ドツトのうち1ビツト以上黒が存在する場
合にはPijが「1」なる信号とされている。すなわち
、「1」を示す個所は、p、、 、 p、□、 p23
. p24. p2. 、・・・、P3゜の合計34個
所であシ、これに対応する34個のサブれ、他のサブパ
ターン情報は冗長情報であっ・て不要であシ記憶されな
いのである。
Figure 5 shows the actual sub-pattern index table (corresponding to Figure 2) for the example of the character "child" shown in Figure 1.
4x4 dots forming each sub-pattern (see Figure 3)
If all of the dots are blank, Pij is a symbol of "0", and if one or more bits of 4×4 dots are black, Pij is a signal of "1". In other words, the locations that indicate "1" are p, , p, □, p23
.. p24. p2. , . . , P3°, and the corresponding 34 subpattern information and other subpattern information are redundant information and are unnecessary and are not stored.

この「1」に相用するサブパターン情報の直前には、第
6図に示す如く、第2図(「子」の例では第5図)に示
したサブパターン索引テーブルがPII + PI3 
+ PI3 +・・・、P88まですべて「0」又は「
1」情報にて記憶されている。この場合の文字パターン
メモリは、1ワード当シ16ビツトの一次元メモリで構
成されているものとしている。
Immediately before the subpattern information compatible with this "1", as shown in FIG. 6, the subpattern index table shown in FIG.
+ PI3 +..., all up to P88 are "0" or "
1” information is stored. The character pattern memory in this case is assumed to be composed of a one-dimensional memory with 16 bits per word.

−文字分の文字パターン情報は、第6図に示されるよう
に、サブパターン索引テーブル(第2図)と4×4ドツ
トのサブパターン(第3図)とからなり、文字パターン
メモリをアクセスする場合には、文字毎にサブパターン
索引テーブルの先頭アドレスが与えられるようになって
いる。
- As shown in Figure 6, the character pattern information for a character consists of a subpattern index table (Figure 2) and a 4x4 dot subpattern (Figure 3), and the character pattern memory is accessed. In this case, the start address of the subpattern index table is given for each character.

以上の説明を基に、第7図に示す本発明の実施例のブロ
ックにつき述べる。文字コードが文字ノシターンアドレ
ステーブルを含む文字パターンメモリアドレス発生部l
に入力される。この文字ノくターンメモリアドレステー
ブルには、文字コードに対応する文字パターンが予め格
納されており、よって入力された文字コードに対応する
文字パターンメモリの文字情報の先頭アドレスが出力さ
れて文字パターンメモリ2へ入力される。
Based on the above explanation, the blocks of the embodiment of the present invention shown in FIG. 7 will be described. Character pattern memory address generation unit l whose character code includes a character nosit turn address table
is input. The character pattern corresponding to the character code is stored in advance in this character turn memory address table. Therefore, the start address of the character information in the character pattern memory corresponding to the input character code is output and stored in the character pattern memory. 2.

この文字パターンメモリ2には上述した第6図のパター
ンが記憶されているから、このメモリ2からは先ずサブ
パターン索引テーブルが読出される。このサブパターン
索引テーブルはサブパターン索引情報判定回路3へ供給
される。次に、サブパターン情報がサブパターン索引テ
ーブルの「1」の数だけ順次読出されて1文字ドツトマ
トリックスメモリ5へ送出されるが、この時、サブパタ
ーン索引テーブルの内容が「1」の場合は、文字パター
ンメモリ2からのサブパターン情報が選択回路4を経て
1文字ドツトマトリックスメモリ5へ転送される。サブ
パターン索引テーブルの内容が「0」の場合は、文字パ
ターンメモリ2からの読出しはなされず、別に設けられ
ているメモリ6からの情報が選択回路4によシ選択して
1文字ドツトメモリ5へ転送される。このメモリ6には
、図示する様に「0」の4×4のサブパターン情報が格
納され、全て空白であることを示す情報信号となってい
る。
Since this character pattern memory 2 stores the pattern shown in FIG. 6 described above, the sub-pattern index table is first read out from this memory 2. This sub-pattern index table is supplied to the sub-pattern index information determination circuit 3. Next, the subpattern information is sequentially read by the number of "1" in the subpattern index table and sent to the one character dot matrix memory 5. At this time, if the content of the subpattern index table is "1", , sub-pattern information from the character pattern memory 2 is transferred to the one-character dot matrix memory 5 via the selection circuit 4. When the content of the sub-pattern index table is "0", the character pattern memory 2 is not read out, and the information from the separately provided memory 6 is selected by the selection circuit 4 and sent to the one-character dot memory 5. be transferred. As shown in the figure, this memory 6 stores 4×4 sub-pattern information of "0", and serves as an information signal indicating that all the sub-patterns are blank.

以上述べた様に、一般には、32×32の原文字パター
ンを格納するに必要なメモリは、1024ビツト64ワ
ードの容量となるが、本実施例では「子」の文字の場合
サブパターン索引メモリ4ワードとサブパターン34ワ
ードの計38ワードとなシ、約l/2 の容量に低減さ
れることになる。但し、本方式によると文字パターン内
に空白サブパターンが存在しない場合や少ない場合は、
サブパターン索引テーブルの4だけ文字パターンメモリ
の増加となるが、サブパターン索引テーブルを参照する
かしないかの識別ビットテーブルを文字単位で有する様
にすれば、上記問題は回避できることになる。
As mentioned above, the memory required to store a 32 x 32 original character pattern generally has a capacity of 1024 bits and 64 words, but in this example, in the case of a "child" character, the subpattern index memory There are 4 words and 34 subpattern words, totaling 38 words, which reduces the capacity to about 1/2. However, according to this method, if there are no or few blank subpatterns in the character pattern,
Although the character pattern memory is increased by 4 in the sub-pattern index table, the above problem can be avoided if each character has an identification bit table indicating whether or not to refer to the sub-pattern index table.

尚、本実施例では、32×32のドツトマトリックスを
4×4のサブパターンに分割しているが、サブパターン
の大きさであるnxmは、文字マトリックスの大きさN
xMに対して、1≦n < ’/2゜1 <tn≦4〉
′2の範囲で最適値を選定し得る。
In this example, the 32x32 dot matrix is divided into 4x4 subpatterns, and the subpattern size nxm is equal to the character matrix size N.
For xM, 1≦n<'/2゜1 <tn≦4>
The optimum value can be selected within the range of '2.

発明の効果 叙上の如く、本発明によれば、文字パターン情報のメモ
リへの格納を、サブパターンとサブパターン索引テーブ
ルの2つに分割して文字パターンの空白部の情報を省略
しているので、文字パターンメモリ容量の削減が可能と
なる。
Effects of the Invention As described above, according to the present invention, the storage of character pattern information in memory is divided into two parts, a subpattern and a subpattern index table, and information in blank parts of character patterns is omitted. Therefore, it is possible to reduce the character pattern memory capacity.

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

第1図は本発明の実施例による漢字文字パターンを32
 X 32のドツトマトリックスにて示しだ図、第2図
は第1図の文字パターンマトリックスを4×4のサブパ
ターンに分割した場合のサブパターン索引テーブルを示
す図、第3図は第2図のサブパターンの構成を示す図、
第4図は第1図のパターンマトリックスをサブパターン
化した場合の文字パターンマトリックスを示す図、第5
図は第1図の「子」の文字パターンマトリックスをサブ
パターン化した場合の空白サブパターンを示す図、第6
図は文字パターンメモリ内におけるサブパターン及びサ
ブパターン索引テーブルの格納状態を示す図、第7図は
本発明の1実施例のブロック図である。 主要部分の符号の説明 2・・・文字ハターンメモリ 3・・サブパターン索引情報判定回路 4・・・選択回路 5・・1文字ドツトマトリックスメモリ10・・・文字
ハターンマトリックス 11・・サブパターン 出願人 日本電気株式会社 L/図 奉2図 奉3凹 0 #4図 #ろ関
FIG. 1 shows 32 Kanji character patterns according to an embodiment of the present invention.
Figure 2 shows the subpattern index table when the character pattern matrix in Figure 1 is divided into 4 x 4 subpatterns, Figure 3 shows the subpattern index table in Figure 2. A diagram showing the configuration of a sub-pattern,
Figure 4 is a diagram showing a character pattern matrix when the pattern matrix in Figure 1 is made into sub-patterns.
The figure shows the blank sub-pattern when the "child" character pattern matrix in Figure 1 is made into a sub-pattern, and
The figure shows the storage state of subpatterns and subpattern index tables in the character pattern memory, and FIG. 7 is a block diagram of one embodiment of the present invention. Explanation of symbols of main parts 2...Character pattern memory 3...Sub pattern index information judgment circuit 4...Selection circuit 5...1 character dot matrix memory 10...Character pattern matrix 11...Sub pattern applicant NEC Corporation L/Picture 2 Diagram 3 Diagram 0 #4 Diagram #Roseki

Claims (1)

【特許請求の範囲】[Claims] 8行M列(N、Mは正の整数)のドツトパターンにより
文字パターンを発生する文字パターン発生方式であって
、前記8行M列のドツトパターンを各々がn行m列(n
、mは1くnくを2,1りm<’/2を満足する整数)
75−らなる複数のサブパターンに分解してこの各サブ
パターンの内容が全て空白の場合及び1ビツト以上黒が
存在する場合に、夫々これら各場合に対応する情報信号
テーブルを記憶するサブパターン索引テーブル記憶手段
と、前記サブパターンのうち1ビツト以上黒が存在する
サブパターンのみのドツトパターン情報を記憶するドツ
トパターン記憶手段と、前記サブパターン索引テーブル
記憶手段の情報信号を参照して、これが全て空白を示す
場合には全ての内容が空白に対応する信号を有するn行
m列のサブパターンを発生し、前記情報信号が1ビツト
以上黒が存在することを示す場合には前記ドツトパター
ン記憶手段の対応するn行m列のサブパターンを読出す
手段とを備え、これらn行m列のサブパターンをすべて
合成して8行M列のドツトパターンマトリックスを出力
するようにしたことを特徴とする文字パターン発生方式
This is a character pattern generation method that generates a character pattern using a dot pattern of 8 rows and M columns (N and M are positive integers), in which each of the 8 rows and M columns of dot patterns is divided into n rows and m columns (n
, m is an integer that satisfies 1 times n times 2,1 times m <'/2)
75-, and when the contents of each sub-pattern are all blank or when one or more bits are black, a sub-pattern index stores an information signal table corresponding to each of these cases. By referring to the information signals of the table storage means, the dot pattern storage means for storing dot pattern information only for subpatterns in which one or more bits of black exist among the subpatterns, and the subpattern index table storage means, all of these are stored. When a blank is indicated, an n-by-m-column sub-pattern whose entire content has a signal corresponding to a blank is generated, and when the information signal indicates that one or more bits are black, the dot pattern storage means means for reading out sub-patterns of n rows and m columns corresponding to the sub-patterns, and is configured to combine all these sub-patterns of n rows and m columns to output a dot pattern matrix of 8 rows and M columns. Character pattern generation method.
JP59016752A 1984-01-31 1984-01-31 Character pattern generation system Pending JPS60159886A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59016752A JPS60159886A (en) 1984-01-31 1984-01-31 Character pattern generation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59016752A JPS60159886A (en) 1984-01-31 1984-01-31 Character pattern generation system

Publications (1)

Publication Number Publication Date
JPS60159886A true JPS60159886A (en) 1985-08-21

Family

ID=11924986

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59016752A Pending JPS60159886A (en) 1984-01-31 1984-01-31 Character pattern generation system

Country Status (1)

Country Link
JP (1) JPS60159886A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4882035B1 (en) * 2011-08-18 2012-02-22 靖志 渡部 Motion conversion device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4882035B1 (en) * 2011-08-18 2012-02-22 靖志 渡部 Motion conversion device

Similar Documents

Publication Publication Date Title
CA1199413A (en) Method of editing dot pattern data for character and/or image representations
JPS62204955A (en) Character image generation circuit
JPS60159886A (en) Character pattern generation system
JPS594706B2 (en) Print pattern generator
JPS58205187A (en) Memory device
JPS6173990A (en) Character pattern generator
JPH0426137B2 (en)
JPH0213993A (en) Storing method for type face data of dot font
JP2644094B2 (en) Character display device
JP2623077B2 (en) Display information creation device
JPS636593A (en) Character pattern generator
JPS59114578A (en) Vertical/horizontal character pattern memory
JPS6352183A (en) Pattern generation system
JPH02287739A (en) Memory access method
JPS6152684A (en) Utilization of blank area for pattern mask rom
JPS59197083A (en) Crt display unit
JPS6031178A (en) Display controller
JPS6069689A (en) Character pattern generation system
JPS58181359A (en) Picture data processor
JPS6086588A (en) Character pattern generator
JPS62103154A (en) Character pattern memory circuit
JPS62293289A (en) Character pattern generation circuit
JPH0569232B2 (en)
JPS5988786A (en) Character display controller
JPS61198274A (en) Character pattern memory system