JPH073633B2 - Character pattern generation method - Google Patents

Character pattern generation method

Info

Publication number
JPH073633B2
JPH073633B2 JP60119290A JP11929085A JPH073633B2 JP H073633 B2 JPH073633 B2 JP H073633B2 JP 60119290 A JP60119290 A JP 60119290A JP 11929085 A JP11929085 A JP 11929085A JP H073633 B2 JPH073633 B2 JP H073633B2
Authority
JP
Japan
Prior art keywords
bit
character
pattern
area
stored
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 - Lifetime
Application number
JP60119290A
Other languages
Japanese (ja)
Other versions
JPS61275885A (en
Inventor
浩一 柴田
Original Assignee
三田工業株式会社
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 三田工業株式会社 filed Critical 三田工業株式会社
Priority to JP60119290A priority Critical patent/JPH073633B2/en
Priority to US06/844,433 priority patent/US4953102A/en
Priority to EP86104452A priority patent/EP0196656A3/en
Publication of JPS61275885A publication Critical patent/JPS61275885A/en
Publication of JPH073633B2 publication Critical patent/JPH073633B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、文字コードに対応してその文字を印字するた
めのドツトマトリクス構成による文字パターンデータを
発生させる文字パターン発生方法に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character pattern generation method for generating character pattern data having a dot matrix configuration for printing a character corresponding to a character code.

背景技術 第7図は従来からのフオントメモリ1のストア領域を示
す図であり、第8図はフオントメモリ1にストアされて
いる文字ビツトパターンがビツトマツプメモリ2に植付
けられる状態を示す図である。フオントメモリ1は複数
のアドレスに対応した各文字毎のストア領域Q1,…,Qm,
…,Qn,…を有しており、このストア領域Q1,…,Qm,…,Q
n,…には各文字毎のビツトパターンが個別的にストアさ
れている。このストア領域Q1,…,Qm,…,Qn,…はそのメ
モリ容量がすべて等しく、一組の文字ビツトパターンの
内の最大印字領域分のメモリに対応している。
BACKGROUND ART FIG. 7 is a diagram showing a storage area of a conventional font memory 1, and FIG. 8 is a diagram showing a state in which a character bit pattern stored in the font memory 1 is planted in a bit map memory 2. . The font memory 1 has a store area Q1, ..., Qm, for each character corresponding to a plurality of addresses.
, Qn, ..., and this store area Q1, ..., Qm, ..., Q
Bit patterns for each character are individually stored in n, .... The storage areas Q1, ..., Qm, ..., Qn, ... All have the same memory capacity, and correspond to the memory for the maximum printing area in a set of character bit patterns.

ここでたとえばストア領域Q1には文字「A」のビツトパ
ターンがストアされ、ストア領域Qmには文字「e」のビ
ツトパターンがストアされ、またストア領域Qnには文字
「g」のビツトパターンがストアされていると想定す
る。ストア領域Q1のアドレスが指定されたときには、ス
トア領域Q1分だけ読出されて、ビツトマツプメモリ2で
領域Q1分だけ走査が行なわれ、これによつて第8図に示
されるようにビツトマツプメモリ2に文字「A」のビツ
トパターンが植付けられる。また同様にして、ストア領
域Qnのアドレス指定が行なわれたときには、ストア領域
Qnに対応した領域だけ走査され、ビツトマツプメモリ2
に文字「g」のビツトパターンが植付けられる。
Here, for example, the bit pattern of the character "A" is stored in the store area Q1, the bit pattern of the character "e" is stored in the store area Qm, and the bit pattern of the character "g" is stored in the store area Qn. Is assumed to have been done. When the address of the store area Q1 is designated, only the area for the store area Q1 is read out, and the bit map memory 2 scans for the area Q1. As a result, as shown in FIG. A bit pattern of the letter "A" is planted on the. Similarly, when addressing the store area Qn,
Only the area corresponding to Qn is scanned, and the bit map memory 2
A bit pattern of the letter "g" is planted in the.

発明が解決しようとする問題点 上記先行技術では、フオントメモリのストア領域は、一
組の文字セツト中の最大印字領域分を有する文字ビツト
パターンのメモリ容量に構成されている。したがつてフ
オントメモリ1には、無駄な空白部分が生じることによ
り、フオントメモリ1の構成としては効率の悪いものと
なつている。
Problems to be Solved by the Invention In the above-mentioned prior art, the store area of the font memory is configured to have a memory capacity of a character bit pattern having a maximum print area in one set of characters. Therefore, the useless blank portion is generated in the font memory 1, which makes the structure of the font memory 1 inefficient.

本発明の目的は、上述の技術的課題を解決し、無駄な空
白領域を可及的に低減して、フオントメモリの利用効率
を向上するようにした文字パターン発生方法を提供する
ことである。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above technical problems and to provide a character pattern generating method that reduces wasteful blank areas as much as possible and improves the utilization efficiency of the font memory.

問題点を解決するための手段 本発明は、フオントメモリを準備し、このフオントメモ
リには、複数のアドレスに個別的に対応した各文字毎の
ストア領域を有し、このストア領域に各文字毎のビツト
パターンと、ビツトパターンの最大垂直ビツト数aと、
ビツトパターンの最大水平ビツト数bと、ビツトパター
ンの各文字毎の表示すべきビツト領域内の基準となる座
標(c,d)とをストアしておき、 次にフオントメモリからのビツトパターンをストアする
ビツトマツプメモリを準備し、ビツトマツプメモリの各
ビツトパターン毎の表示すべき領域で、前記座標(c,
d)から水平方向にbだけ走査し、垂直方向にa回走査
して、フオントメモリのビツトパターンをビツトマツプ
メモリに植付けることを特徴とする文字パターン発生方
法である。
Means for Solving the Problems The present invention prepares a font memory, and this font memory has a store area for each character individually corresponding to a plurality of addresses. Bit pattern, and the maximum vertical bit number a of the bit pattern,
The maximum horizontal bit number b of the bit pattern and the reference coordinates (c, d) within the bit area to be displayed for each character of the bit pattern are stored, and then the bit pattern from the font memory is stored. A bit map memory to be prepared is prepared, and in the area to be displayed for each bit pattern of the bit map memory, the coordinates (c,
The character pattern generating method is characterized in that the bit pattern of the font memory is planted in the bit map memory by scanning b from the d) in the horizontal direction and a times in the vertical direction.

作 用 本発明に従えば、無駄な空白領域を可及的に低減するこ
とが可能となり、フオントメモリの利用効率を向上する
ことができる。
Operation According to the present invention, useless blank areas can be reduced as much as possible, and the utilization efficiency of the font memory can be improved.

実施例 第1図は、本発明の一実施例のブロツク図である。ホス
トコンピユータ10からの文字コード信号は、インターフ
エイス11を介してテキストバツフア15に記憶され、その
後処理回路18によつて読出されてコード変換テーブル12
に与えられる。このコード変換テーブル12は第1表で示
されるように文字コードに1対1に対応したフオントア
ドレスが書込まれており、たとえばコード1は文字
「A」のビツトパターンがストアされているフオントア
ドレス「F1」に対応している。
Embodiment FIG. 1 is a block diagram of an embodiment of the present invention. The character code signal from the host computer 10 is stored in the text buffer 15 via the interface 11 and then read by the processing circuit 18 to be read by the code conversion table 12.
Given to. As shown in Table 1, the code conversion table 12 has the font addresses corresponding to the character codes written in one-to-one correspondence. For example, the code 1 is the font address in which the bit pattern of the character "A" is stored. It corresponds to "F1".

コード変換テーブル12に文字コード信号が与えられたと
きには、コード変換テーブル12からそのコード信号に対
応したフオントアドレスが読出され、フオントROM13の
前記与えられたアドレスに対応するストア内容が読出さ
れてビツトマツプメモリ14に与えられる。なお、このと
きカウンタ19ではROM13にストアされている文字ビツト
パターンの水平ビツト数がカウントされ、またカウンタ
20では文字ビツトパターンの垂直ビツト数がカウントさ
れる。
When a character code signal is given to the code conversion table 12, the font address corresponding to the code signal is read from the code conversion table 12, and the stored contents of the font ROM 13 corresponding to the given address are read out to make a bit map. Given to memory 14. At this time, the counter 19 counts the number of horizontal bits of the character bit pattern stored in the ROM 13, and
At 20, the number of vertical bits of the character bit pattern is counted.

ビツトマツプメモリ14では、フオントROM13のストア内
容に基づいて水平走査が行なわれ、フオントROM13にス
トアされている文字ビツトパターンが植付けられる。そ
してフオントROM13にストアされている文字ビツトパタ
ーンが文字コード信号毎に読出され、ビツトマツプメモ
リ14に1フレーム分植付けられる。ビツトマツプメモリ
14に植付けられたビツトパターンは、インターフエイス
16を介して印字機構17に与えられ、所定の印字が行なわ
れる。
In the bit map memory 14, horizontal scanning is performed based on the contents stored in the font ROM 13, and the character bit pattern stored in the font ROM 13 is implanted. Then, the character bit pattern stored in the font ROM 13 is read for each character code signal, and one frame is planted in the bit map memory 14. Bitmap memory
The bit pattern planted in 14 is an interface.
It is given to the printing mechanism 17 via 16 and a predetermined printing is performed.

なお、インターフエイス11,16、コード変換テーブル1
2、フオントROM13、ビツトマツプメモリ14、テキストバ
ツフア15およびカウンタ19,20は処理回路18からの制御
信号によつて制御されている。
In addition, interface 11,16, code conversion table 1
2. The font ROM 13, the bit map memory 14, the text buffer 15, and the counters 19 and 20 are controlled by control signals from the processing circuit 18.

第2図はフオントROM13のストア領域を示す図であり、
第3図はフオントROM13にストアされている文字ビツト
パターンがビツトマツプメモリ14に植付けられる状態を
示す図である。ビツトマツプメモリ14は、文字ビツトパ
ターンが植付けられるビツト領域M1,M2,…(総称して示
すときには参照符Mで示す)を有している。このビツト
領域M1,M2,…はすべて同一のビツト数から構成されてお
り、横eビツト、縦fビツトのマトリクス状に構成され
ている。
FIG. 2 is a diagram showing the store area of the font ROM 13,
FIG. 3 is a diagram showing a state in which the character bit pattern stored in the font ROM 13 is embedded in the bit map memory 14. The bit map memory 14 has bit areas M1, M2, ... (Indicated by a reference symbol M when collectively referred to) in which a character bit pattern is embedded. The bit areas M1, M2, ... All have the same number of bits, and are arranged in a matrix of horizontal e-bits and vertical f-bits.

フオントROM13は、複数のアドレスに個別的に対応した
各文字毎のストア領域S1,S2,…,Sn,…(総称するときに
は参照符Sで示す)を有している。ストア領域S1,S2,
…,Sn,…は文字ビツトパターンがストアされる文字パタ
ーン領域R1,R2,…,Rn,…(総称するときには参照符Rで
示す)と、この領域R1,R2,…,Rn,…の上部を占め、文字
ビツトパターンを制御するデータがストアされる文字パ
ターン制御領域T1,T2,…,Tn,…(総称するときには参照
符Tで示す)とを含む。文字パターン領域Rには、文字
ビツトパターンのデータがストアされている。文字パタ
ーン領域Rの横方向のビツトは、すべて共通であり、8
ビツトとなつている。文字パターン領域Rの縦方向のビ
ツト数l1,l2,…,ln,…はストアされる文字ビツトパター
ンに対応したビツト数となつている。
The font ROM 13 has storage areas S1, S2, ..., Sn, ... (Indicated by reference numeral S when collectively referred to) for each character corresponding to a plurality of addresses individually. Store area S1, S2,
, Sn, ... are the character pattern areas R1, R2, ..., Rn, ... in which the character bit patterns are stored (indicated by reference numeral R when collectively referred to) and the upper part of these areas R1, R2, ..., Rn, ... , And Tn, which stores the data for controlling the character bit patterns (denoted by reference numeral T when collectively referred to). The character pattern area R stores character bit pattern data. The horizontal bits of the character pattern area R are all common, and
It's a bit off. The vertical bit numbers l1, l2, ..., In, of the character pattern area R are the bit numbers corresponding to the stored character bit pattern.

文字パターン制御領域T1,T2,…,Tn,…には、文字ビツト
パターンに対応した値a1,a2,…,an,…(総称するときに
は参照符aで示す)と、値b1,b2,…,bn,…(総称すると
きには参照符bで示す)と、値c1,c2,…,cn,…(総称す
るときには参照符cで示す)と、値d1,d2,…,dn,…(総
称するときには参照符dで示す)がストアされている。
値a1,a2,…,an,…は、文字ビツトパターンの最大垂直ビ
ツト数を示し、値b1,b2,…,bn,…は、ビツトパターンの
最大水平ビツト数を示す。この値bは前述した文字パタ
ーン領域Rの横方向のビツト数(8ビツト)よりも大に
選ばれている。また値c1,c2,…,cn,…はビツトパターン
がビツトマツプメモリ14のビツト領域M1,M2,…内で植付
けられる際の走査開始点を示す基準点P1,P2,…(総称す
るときには参照符Pで示す)のx座標を示し、またd1,d
2,…,dn,…は基準点P1,P2,…のy座標を示す。なお、基
準点Pの座標(c,d)は、ビツト領域M1の左下隅の各点Q
1,Q2,…(総称するときには参照符Qで示す)を原点と
考えたときの座標となるように定められている。残余の
ストア領域S2,…,Sn,…はストア領域S1と同様な構成を
有しており、文字パターン領域R2,…,Rn,…と、文字パ
ターン制御領域T2,…,Tn,…とを有する。
In the character pattern control areas T1, T2, ..., Tn, ..., Values a1, a2, ..., An, .. (corresponding to the reference numeral a when collectively referred to) and values b1, b2 ,. , bn, ... (denoted by reference numeral b when collectively referred to), values c1, c2, ..., cn, ... (denoted by reference numeral c when collectively referred to), and values d1, d2, ..., dn ,. (Indicated by reference numeral d) is stored.
The values a1, a2, ..., An, ... Indicate the maximum number of vertical bits in the character bit pattern, and the values b1, b2, ..., Bn, ... Indicate the maximum number of horizontal bits in the bit pattern. This value b is selected to be larger than the number of bits (8 bits) in the horizontal direction of the character pattern area R described above. Also, the values c1, c2, ..., Cn, ... are reference points P1, P2, .. (Refer to the generic names when the bit patterns are planted in the bit areas M1, M2, ... Of the bit map memory 14). (Indicated by the letter P) indicates the x coordinate, and d1, d
2, ..., dn, ... Indicate the y coordinates of the reference points P1, P2 ,. The coordinates (c, d) of the reference point P are the points Q at the lower left corner of the bit area M1.
The coordinates are set so that 1, Q2, ... The remaining store areas S2, ..., Sn, ... have the same configuration as the store area S1 and are composed of character pattern areas R2, ..., Rn, ... and character pattern control areas T2 ,. Have.

文字ビツトパターンは以下の方法で文字パターン領域R
に予めストアされている。ここでは文字「A」を文字ビ
ツトパターン領域R1にストアする場合について説明す
る。第4図示のようにビツトマツプメモリ14に植付けら
れフオントと同様なフオント文字「A」について水平走
査線i1,i2,…を順次走査して読取つたデータを第5図に
示されるように、順次左から1列に並べる。したがつて
このときの全体のビツト数はa1×b1ビツトとなる。文字
パターン領域R1の幅は8ビツトであり、したがつて8ビ
ツト毎に文字パターン領域R1の左端からストアしてゆ
く。すなわち走査線i1で読出したbビツトのうち、8ビ
ツトをまず文字パターン領域R1の第1行目j1としてスト
アし、次に走査線i1におけるbビツトのうちの残りの
(b−8)ビツトと走査線i2における(16−b)ビツト
の計8ビツトを文字パターン領域R1の左端から第2行目
j2としてストアする。こうしてa1・b1ビツトのすべての
データを文字パターンの領域R1にストアする。残余の文
字パターン領域R2,…,Rn,…に各文字ビツトパターンを
ストアする方法は、文字パターン領域R1における場合と
同様である。こうして文字パターン領域Rにストアされ
る文字ビツトパターンのビツト数a・bは第1式で示さ
れる。
The character bit pattern is defined by the following method in the character pattern area R
Stored in advance. Here, the case where the character "A" is stored in the character bit pattern area R1 will be described. As shown in FIG. 4, the horizontal scanning lines i1, i2, ... Are sequentially scanned for the font character "A" which is planted in the bit map memory 14 and is similar to the font, and the read data is sequentially read as shown in FIG. Arrange from left to right. Therefore, the total number of bits at this time is a1 × b1 bits. The width of the character pattern area R1 is 8 bits, so that the data is stored every 8 bits from the left end of the character pattern area R1. That is, of the b bits read by the scanning line i1, 8 bits are first stored as the first row j1 of the character pattern area R1, and then the remaining (b-8) bits of the b bits on the scanning line i1 are stored. A total of 8 bits of (16-b) bits on the scanning line i2 are displayed on the second line from the left end of the character pattern area R1.
Store as j2. In this way, all the data of a1 and b1 bits are stored in the area R1 of the character pattern. The method of storing each character bit pattern in the remaining character pattern areas R2, ..., Rn, ... Is the same as in the character pattern area R1. The number of bits a and b of the character bit pattern stored in the character pattern area R in this way is expressed by the first equation.

8・(l1−1)<a・b≦8・l …(1) したがつて文字パターン領域Rには各文字ビツトパター
ン毎に最大限いつぱいにストアされていることになり、
このストア領域Rには無駄な空白領域はほとんど存在し
ていない。なおフオントROM13の横方向のビツト数は8
ビツトの他に16ビツトで構成するようにしてもよい。
8 · (l1-1) <a · b ≦ 8 · l (1) Therefore, each character bit pattern is stored in the character pattern area R at the maximum time.
There is almost no useless blank area in the store area R. The number of bits in the horizontal direction of the font ROM 13 is 8
In addition to the bits, 16 bits may be used.

第6図は、ビツトマツプメモリ14にビツトパターンを植
付ける手順を示すフローチヤートである。第3図をも参
照して、まずステツプn1からステツプn2に移り、ホスト
コンピユータ10から文字コード信号が入力される。この
文字コード信号は、前述したようにインターフエイス11
を介してテキストバツフア15にストアされる。そしてス
テツプn2からステツプn3に移り、1文字分のコード信号
がコード変換テーブル12に与えられ、コード変換テーブ
ル12は、文字コードに対応したフオントアドレスをフオ
ントROM13に与える。そしてステツプn3からステツプn4
に移り、フオントROM13の値a,b,c,dおよびビツトパター
ンが読出される。そしてステツプn5に移り、値c,dによ
つて基準点Pが設定される。この基準点Pが設定された
ときには、カウンタ19,20がリセツトされる。
FIG. 6 is a flow chart showing a procedure for implanting a bit pattern in the bit map memory 14. Referring also to FIG. 3, first, the process moves from step n1 to step n2, and the character code signal is input from the host computer 10. This character code signal is transmitted to the interface 11 as described above.
Stored in the text buffer 15 via. Then, from step n2 to step n3, a code signal for one character is given to the code conversion table 12, and the code conversion table 12 gives the font address corresponding to the character code to the font ROM 13. And step n3 to step n4
Then, the values a, b, c, d and the bit pattern of the font ROM 13 are read. Then, in step n5, the reference point P is set according to the values c and d. When the reference point P is set, the counters 19 and 20 are reset.

ステツプn6では、ビツトマツプメモリ14にビツトパター
ンの植付けが行なわれる。このときまず基準点P(c,
d)から水平走査が行なわれる。これとともにカウンタ1
9では水平ビツト数をカウントする。そしてステツプn7
に移り、bビツト水平走査が行なわれたか否かが判断さ
れ、bビツトの水平走査が終了していないときにはステ
ツプn6に戻る。bビツト走査が行なわれたときにはステ
ツプn7からステツプn8に移り、次の行の水平走査が行な
われる。すなわちカウンタ19でbをカウントしたときに
は、カウンタ20が1だけインクリメントされ、このカウ
ンタ20が1だけインクリメントされたときには、ビツト
マツプメモリ14では次の走査線に移行する。
At step n6, a bit pattern is planted in the bit map memory 14. At this time, first, the reference point P (c,
Horizontal scanning is performed from d). With this counter 1
At 9, the number of horizontal bits is counted. And step n7
Then, it is judged whether or not the b-bit horizontal scanning has been performed. If the b-bit horizontal scanning has not been completed, the process returns to step n6. When the b-bit scanning is performed, the process proceeds from step n7 to step n8, and the horizontal scanning of the next row is performed. That is, when the counter 19 counts b, the counter 20 is incremented by 1. When the counter 20 is incremented by 1, the bit map memory 14 shifts to the next scanning line.

そしてステツプn9に移り、a行水平走査が行なわれたか
否かが判断され、行なわれていないときには再びステツ
プn6に戻る。こうしてステツプn6からステツプn9までの
一連の動作が繰返し行なわれ、bビツトの水平方向の走
査がa回行なわれて所定の文字ビツトパターンがビツト
マツプメモリ14に植付けられたときには、ステツプn10
に移つて1文字分の植付けが終了する。こうしたステツ
プn1からステツプn10までの動作が繰返し行なわれ、ビ
ツトマツプメモリ14に1フレーム分のビツトパターンの
植付けが行なわれる。
Then, the process proceeds to step n9, where it is judged whether or not the a-row horizontal scanning has been performed. If not, the process returns to step n6 again. In this way, a series of operations from step n6 to step n9 are repeated, and when the horizontal scanning of b bits is performed a times and a predetermined character bit pattern is planted in the bit map memory 14, step n10 is executed.
Then, the planting for one character is completed. The operations from step n1 to step n10 are repeated, and the bit map memory 14 is planted with a bit pattern for one frame.

フオントROM13のフオントアドレス「F1」に対応するス
トア領域S1には文字「A」のビツトパターンがストアさ
れているものと想定する。ホストコンピユータ10からの
文字コード信号のコード内容が「1」であるときには、
コード変換テーブル12によつてフオントアドレス「F1」
が指定され、このアドレス指定に基づいて、フオントRO
M13のストア領域S1が読出される。すなわち値a1,b1,c1,
d1および文字「A」のビツトパターンデータが読出され
る。これによつて基準点P1(c1,d1)が設定される。ま
たこれによつて、カウンタ19,20がリセツトされる。そ
してこの基準点P1から水平方向にフオントROM13から読
出されたビツトパターンが植付けられる。このとき文字
パターン領域R1からは8ビツトずつ読出されてゆき、し
たがつて文字パターン領域R1の第1行目j1のすべてのデ
ータはビツトマツプメモリ14の第1走査線i1によつて植
付けられる。そしてこのビツト数はカウンタ19によつて
順次カウントアツプされていく。そして文字パターン領
域R1の次の行j2の8ビツトが読出され、(b1−8)ビツ
ト分だけ第1走査線i1によつて植付けられる。この8ビ
ツトの読出しにおいて、カウンタ19がb1をカウントした
ときには、カウンタ20は1だけインクリメントされる。
これによつてビツトマツプメモリ14では次の走査線i2に
移る。すなわち座標(c1,d1+1)から水平走査が行な
われる。こうして順次文字パターン領域R1のビツトパタ
ーンがビツトマツプメモリ14に植付けられていき、基準
点P1から水平方向にb1ビツトだけ走査されa1回だけ繰返
し走査が行なわれたときには、ビツトマツプメモリ14で
は第3図示のようにビツト領域M1に文字「A」が植付け
られる。こうして1文字分の植付けが終了したときに
は、点Q1の座標値がアツプされて点Q2を基準点として点
Pから次の文字の植付けが行なわれる。そしてビツトマ
ツプメモリ14に1フレーム分の植付けが行なわれたとき
には、そのストア内容はインターフエイス16を介して印
字機構17に与えられ、所定の印字が行なわれる。
It is assumed that the bit pattern of the character "A" is stored in the store area S1 corresponding to the font address "F1" of the font ROM 13. When the code content of the character code signal from the host computer 10 is "1",
According to the code conversion table 12, font address "F1"
Based on this addressing, the font RO
The store area S1 of M13 is read. That is, the values a1, b1, c1,
Bit pattern data of d1 and the character "A" is read. As a result, the reference point P1 (c1, d1) is set. In addition, this resets the counters 19 and 20. Then, the bit pattern read from the font ROM 13 is planted horizontally from the reference point P1. At this time, 8 bits are read from the character pattern area R1 at a time, so that all the data in the first row j1 of the character pattern area R1 is planted by the first scanning line i1 of the bit map memory 14. Then, this bit number is sequentially counted up by the counter 19. Then, 8 bits of the next row j2 of the character pattern area R1 are read out and planted by the first scan line i1 by (b1-8) bits. In this 8-bit reading, when the counter 19 counts b1, the counter 20 is incremented by 1.
This causes the bit map memory 14 to move to the next scanning line i2. That is, horizontal scanning is performed from the coordinates (c1, d1 + 1). In this way, the bit patterns of the character pattern region R1 are sequentially planted in the bit map memory 14, and when the reference point P1 is horizontally scanned by b1 bits and a1 times are repeatedly scanned, the bit map memory 14 stores the third pattern. As shown, the letter "A" is planted in the bit area M1. When the planting of one character is completed in this way, the coordinate value of the point Q1 is updated and the planting of the next character is performed from the point P with the point Q2 as the reference point. When one frame is planted in the bit map memory 14, the stored contents are given to the printing mechanism 17 via the interface 16 and predetermined printing is performed.

ビツトマツプメモリ14の他の実施例としては、ビツト領
域Mの幅eが各文字毎に異なるように構成してもよく、
このような場合にはフオントROM13の文字パターン制御
領域Tに、その値eをデータとしてストアするようにす
ればよい。
As another embodiment of the bit map memory 14, the width e of the bit area M may be different for each character,
In such a case, the value e may be stored as data in the character pattern control area T of the font ROM 13.

また上述の実施例では、ビツトマツプメモリ14は1フレ
ーム分だけストアするように構成されたけれども、2フ
レーム分以上をストアするような構成であつてもよい。
また上述の実施例では値bは8ビツトよりも大であつた
けれども8ビツトよりも小であつてもよい。
Further, in the above embodiment, the bit map memory 14 is configured to store only one frame, but it may be configured to store two frames or more.
Although the value b is larger than 8 bits in the above embodiment, it may be smaller than 8 bits.

効 果 以上のように本発明によれば、ビツトパターン毎に最大
垂直ビツト数a、最大水平ビツト数bおよび表示のため
の基準座標(c,d)を、フオントメモリの複数のアドレ
スに個別的に対応した各文字毎のストア領域にストアす
るようにしたので、フオントメモリに無駄な空白領域が
不必要となり、したがつてフオントメモリの使用効率を
向上させることができる。また文字ビツトパターンをビ
ツトマツプメモリに植付ける際に、文字ビツトパターン
の分だけの走査を行なうだけで植付けることができ、し
たがつて処理速度を向上することが可能となる。
As described above, according to the present invention, the maximum vertical bit number a, the maximum horizontal bit number b, and the reference coordinates (c, d) for display are individually assigned to a plurality of addresses in the font memory for each bit pattern. Since the data is stored in the storage area for each character corresponding to, the useless blank area is unnecessary in the font memory, and therefore the usage efficiency of the font memory can be improved. Further, when the character bit pattern is planted in the bit map memory, it can be planted by scanning only the character bit pattern, and therefore the processing speed can be improved.

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

第1図は本発明の一実施例のブロツク図、第2図は本発
明に用いられるフオントROM13のストア領域を示す図、
第3図は第2図示のフオントROM13によつてビツトマツ
プメモリ14にビツトパターンが植付けられる状態を示す
図、第4図および第5図は文字「A」のビツトパターン
を文字ビツトパターン領域R1にストアする手順を説明す
るための図、第6図はビツトマツプメモリ14に文字ビツ
トパターンが植付けられる手順を示すフローチヤート、
第7図は従来のフオントメモリ1のストア領域を示す
図、第8図は従来のフオントメモリ1によつてビツトマ
ツプメモリ2上に文字ビツトパターンが植付けられる状
態を示す図である。 12……コード変換テーブル、13……フオントROM、14…
…ビツトマツプメモリ、15……テキストバツフア、18…
…処理回路、M……ビツトマツプメモリのビツト領域、
S……フオントROMのストア領域、R……文字パターン
領域、T……文字パターン制御領域、P……基準点、a
……ビツトパターンの最大垂直ビツト数、b……ビツト
パターンの最大水平ビツト数、c……ビツト領域M内の
基準点Pのx座標、d……ビツト領域M内の基準点Pの
y座標
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a diagram showing a store area of a font ROM 13 used in the present invention.
FIG. 3 shows a state in which a bit pattern is implanted in the bit map memory 14 by the font ROM 13 shown in FIG. 2, and FIGS. 4 and 5 show the bit pattern of the character "A" in the character bit pattern area R1. FIG. 6 is a flowchart for explaining the procedure for storing, and FIG. 6 is a flow chart showing a procedure for implanting a character bit pattern in the bit map memory 14.
FIG. 7 is a diagram showing a store area of the conventional font memory 1, and FIG. 8 is a diagram showing a state in which a character bit pattern is planted on the bit map memory 2 by the conventional font memory 1. 12 ... Code conversion table, 13 ... Font ROM, 14 ...
… Bitmap memory, 15… Text buffer, 18…
… Processing circuit, M… bit area of bit map memory,
S: font ROM store area, R: character pattern area, T: character pattern control area, P: reference point, a
... maximum vertical bit number of bit pattern, b ... maximum horizontal bit number of bit pattern, c ... x coordinate of reference point P in bit area M, d ... y coordinate of reference point P in bit area M

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】フオントメモリを準備し、このフオントメ
モリには、複数のアドレスに個別的に対応した各文字毎
のストア領域を有し、このストア領域に各文字毎のビツ
トパターンと、ビツトパターンの最大垂直ビツト数a
と、ビツトパターンの最大水平ビツト数bと、ビツトパ
ターンの各文字毎の表示すべきビツト領域内の基準とな
る座標(c,d)とをストアしておき、 次にフオントメモリからのビツトパターンをストアする
ビツトマツプメモリを準備し、ビツトマツプメモリの各
ビツトパターン毎の表示すべき領域で、前記座標(c,
d)から水平方向にbだけ走査し、垂直方向にa回走査
して、フオントメモリのビツトパターンをビツトマツプ
メモリに植付けることを特徴とする文字パターン発生方
法。
1. A font memory is prepared, and this font memory has a store area for each character individually corresponding to a plurality of addresses, and a bit pattern and a bit pattern for each character are stored in this store area. Maximum vertical bit number a
And the maximum horizontal bit number b of the bit pattern and the reference coordinates (c, d) in the bit area to be displayed for each character of the bit pattern are stored, and then the bit pattern from the font memory is stored. A bit map memory for storing is stored in the area to be displayed for each bit pattern of the bit map memory, and the coordinates (c,
A method for generating a character pattern, which comprises scanning from b) in the horizontal direction by b times and a times in the vertical direction by a times to plant the bit pattern of the font memory in the bit map memory.
JP60119290A 1985-03-30 1985-05-31 Character pattern generation method Expired - Lifetime JPH073633B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP60119290A JPH073633B2 (en) 1985-05-31 1985-05-31 Character pattern generation method
US06/844,433 US4953102A (en) 1985-03-30 1986-03-26 Method for producing character patterns
EP86104452A EP0196656A3 (en) 1985-03-30 1986-04-01 Method for producing character patterns

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60119290A JPH073633B2 (en) 1985-05-31 1985-05-31 Character pattern generation method

Publications (2)

Publication Number Publication Date
JPS61275885A JPS61275885A (en) 1986-12-05
JPH073633B2 true JPH073633B2 (en) 1995-01-18

Family

ID=14757743

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60119290A Expired - Lifetime JPH073633B2 (en) 1985-03-30 1985-05-31 Character pattern generation method

Country Status (1)

Country Link
JP (1) JPH073633B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63225288A (en) * 1987-03-16 1988-09-20 沖電気工業株式会社 Character display device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5612681A (en) * 1979-07-12 1981-02-07 Epson Corp Character generator
JPS5711381A (en) * 1980-06-25 1982-01-21 Hitachi Ltd Display unit
US4481602A (en) * 1981-04-06 1984-11-06 International Business Machines Corporation Font compression and decompression for character generation
JPS58192079A (en) * 1982-05-06 1983-11-09 株式会社リコー character pattern generator

Also Published As

Publication number Publication date
JPS61275885A (en) 1986-12-05

Similar Documents

Publication Publication Date Title
EP0115584B1 (en) Image producing apparatus and methods of processing image-representing signals for use by such apparatus
EP0167166B1 (en) Method of providing raster information for a graphics display
EP0031011B1 (en) Cathode ray tube display apparatus
US5596684A (en) Anti-aliasing apparatus and method using fast scan-line memory mapping for sampling pixel patterns
JPS6049391A (en) Raster scan display system
JP2000158720A (en) Barcode printing device
US4309700A (en) Cathode ray tube controller
EP0215984B1 (en) Graphic display apparatus with combined bit buffer and character graphics store
EP0140555B1 (en) Apparatus for displaying images defined by a plurality of lines of data
US4642622A (en) Video signal generating circuit
US4953102A (en) Method for producing character patterns
JPH073633B2 (en) Character pattern generation method
US4616219A (en) Character generating device
AU603830B2 (en) Printer character generator
US5367634A (en) Display method, control circuit for the same and display device
JPH06161420A (en) Character signal generating device
JPS597115B2 (en) How to create an address
JPS6230436B2 (en)
JP2846357B2 (en) Font memory device
JPS59167748A (en) Information storage device
JP3059618B2 (en) Image control device
JPH03192294A (en) display control device
JPH0461776B2 (en)
JPH0558200B2 (en)
GB2186766A (en) Character display apparatus