JPS61182088A - Front pattern development controller - Google Patents

Front pattern development controller

Info

Publication number
JPS61182088A
JPS61182088A JP60021783A JP2178385A JPS61182088A JP S61182088 A JPS61182088 A JP S61182088A JP 60021783 A JP60021783 A JP 60021783A JP 2178385 A JP2178385 A JP 2178385A JP S61182088 A JPS61182088 A JP S61182088A
Authority
JP
Japan
Prior art keywords
font pattern
address
word
font
start address
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
JP60021783A
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP60021783A priority Critical patent/JPS61182088A/en
Publication of JPS61182088A publication Critical patent/JPS61182088A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

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

Description

【発明の詳細な説明】 〔技術分野〕 本発明は、各種プリンタやワードプロセッサ等において
フォントパターンを記憶装置上へ展開する時のフォント
パターン展開制御装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to a font pattern expansion control device when font patterns are expanded onto a storage device in various printers, word processors, and the like.

〔従来技術〕[Prior art]

従来、フォントパターンのフォントパターンメモリ上へ
の展開は、開始アドレスから1文字毎のフォントパター
ンを順にフォントパターンメモリ上に単に書込んでいる
だけである。
Conventionally, font patterns are developed onto a font pattern memory by simply writing the font pattern for each character in sequence from a start address onto the font pattern memory.

例えば、フォントパターンメモリから読む動作と、それ
に書き込む動作とがワード単位(例えば、1ワードは1
6ビツト)で行なわれるフォントパターンメモリへのフ
ォントパターン展開制御において、第1図(A)に示し
た縦横32ドツト×32ドツトのドツトパターンから構
成されているフォントパターンのJIS第1水準の漢字
が、フォントパターンメモリ上に展開される場合につい
て説明する。
For example, the operation of reading from the font pattern memory and the operation of writing to it are performed in units of words (for example, 1 word is 1
In the font pattern expansion control to the font pattern memory performed in 6 bits), the JIS level 1 kanji of the font pattern consisting of the dot pattern of 32 dots in the vertical and horizontal directions shown in Fig. 1 (A) is , the case where the font pattern is expanded on the font pattern memory will be explained.

第1図CB)に示したように、第1図(A)に示した3
2ド−/)X32ドツトから構成される文字のフォント
パターンデータを、ワード単位で送出してフォントパタ
ーンメモリに格納するためには、64ワ一ド分のデータ
量が必要とされる。この64ワードのフォントパターン
データは各ワード単位のデータにつき、アドレスが各1
つ必要とされる。
As shown in Fig. 1 (CB), the 3 shown in Fig. 1 (A)
In order to send the font pattern data of a character consisting of 2 dots/) x 32 dots in units of words and store them in the font pattern memory, a data amount of 64 words is required. This 64-word font pattern data has one address for each word of data.
one is required.

まず、フォントパターンの先頭の1ワード目の開始アド
レスが決定される。そのアドレスは、たとえば1ワード
18ビツトとして2ワードで構成されており、その上位
IBビットを上1ワード、その下位18ビツトを下lワ
ードと呼ぶこととする。2ワード目以降のアドレスは開
始アドレスの下lワードに順次に“l”を加えて求めら
れる。
First, the start address of the first word at the beginning of the font pattern is determined. The address is composed of two words, each word having 18 bits, for example, and the upper IB bits are called the upper word, and the lower 18 bits are called the lower l word. The addresses of the second and subsequent words are obtained by sequentially adding "l" to the lower l words of the starting address.

しかし、例えば、第1rI!J(B)に示した様に。However, for example, the 1st rI! As shown in J(B).

フォントパターンデータ63ワードに対応するアドレス
中にアドレスの下1ワードの最大値である“FFFFH
”のアドレスがあると、アドレスの下1ワードから上l
ワードへの繰上げが行われる。こノ為、フォントパター
ンメモリのアドレスを演算するときには、常に下1ワー
ドの繰上げを検知しながらアドレスを演算することが必
要とされる。
In the address corresponding to 63 words of font pattern data, "FFFFH", which is the maximum value of the last word of the address, is
”, the first word from the bottom of the address to the top
Carry-up to word is performed. For this reason, when calculating the address of the font pattern memory, it is necessary to always calculate the address while detecting the increment of the last word.

この様に、従来ではアドレスの下1ワードの繰上げを検
知しながら、フォントパターンを順次フォントパターン
メモリ上に書き込むことが行なわれ、フォント全体のフ
ォントパターンのフォントパターンメモリへの展開が行
なわれる。
In this way, conventionally, font patterns are sequentially written onto the font pattern memory while detecting the increment of the last word of the address, and the font pattern of the entire font is developed into the font pattern memory.

このことを更に詳しく述べると、情報処理装置から文字
コードが入力されると、その文字コードに対応するフォ
ントパターンの開始アドレスが求められ、その開始アド
レスの下lワードに“1′″が順次に加えられ、下1ワ
ードから上1ワードへの繰上りの有無が検知手段により
検知されながらアドレスが求められ、このアドレスと共
にフォントパターンデータはフォントパターンメモリへ
転送されていた。
To explain this in more detail, when a character code is input from an information processing device, the start address of the font pattern corresponding to that character code is found, and "1'" is sequentially added to the l word below the start address. The address is determined while the detecting means detects whether there is a carry from the lower one word to the upper one word, and the font pattern data is transferred to the font pattern memory together with this address.

しかしながら、このように、フォントパターンをフォン
トパターンメモリに格納するのに用いるアドレスを演算
する時に、1ワードのフォントパターンデータを送出す
る毎にアドレスの下1ワードの鰻上りの有無を検知して
いるので、フォントパターンのフォントパターンメモリ
への展開処理時間が長くかかってしまうという欠点があ
った。
However, in this way, when calculating the address used to store the font pattern in the font pattern memory, each time one word of font pattern data is sent out, it is detected whether or not the last word of the address has an eel. Therefore, the disadvantage is that it takes a long time to process the font pattern to the font pattern memory.

入出力装置としてプリンタを考えた場合に、低速プリン
タでは処理時間が多少かかっても、動作上大きな問題と
ならないが、高速プリンタになるとフォントパターンの
転送時間を早くしないと応答速度に間にあわないので、
処理時間がかかることは大きな問題となる。
When considering a printer as an input/output device, if a low-speed printer takes some processing time, it does not pose a major problem in operation, but with a high-speed printer, the response speed cannot be met unless the font pattern transfer time is increased.
The long processing time is a major problem.

〔目 的〕〔the purpose〕

本発明は上記の点に鑑みてなされたもので、処理時間の
早いフォントパターン展開制御装置を提供することを目
的とする。
The present invention has been made in view of the above points, and it is an object of the present invention to provide a font pattern expansion control device with a quick processing time.

かかる目的を達成するために、本発明は、少なくとも文
字コードおよびフォントパターンを入力する入力手段と
、入力手段により入力したフォントパターンを予め記憶
する記憶手段と、入力手段により入力した文字コードに
基づいてフォントパターンを記憶手段から読出す読出し
手段と、記憶手段に1文字のフォントパターンを展開す
る際の開始アドレスの下位1ワードに当該1文字に要す
るアドレス数から1を減じた値を加えた加算値が下位1
ワードの最大値を越えることを検出する検出手段と、検
出手段の出力に応じて開始アドレスの下位1ワードを繰
上げて新たな開始アドレスとして更新する更新手段と、
更新手段が更新した開始アドレスに基づいてフォントパ
ターンの記憶手段への展開を行うフォントパターン展開
手段とを具備したことを特徴とする。
In order to achieve such an object, the present invention includes an input means for inputting at least a character code and a font pattern, a storage means for storing in advance the font pattern input by the input means, and a storage means for storing the font pattern input by the input means based on the character code input by the input means. A reading means for reading a font pattern from the storage means, and an additional value obtained by adding a value obtained by subtracting 1 from the number of addresses required for the one character to the lower one word of the start address when developing the font pattern of one character in the storage means. is the lowest 1
a detection means for detecting that the maximum word value is exceeded; and an update means for incrementing the lower one word of the start address and updating it as a new start address according to the output of the detection means;
The present invention is characterized by comprising a font pattern development means that develops the font pattern in the storage means based on the start address updated by the update means.

〔実施例〕〔Example〕

以下、本発明を図面に基づいて詳細に説明する。 Hereinafter, the present invention will be explained in detail based on the drawings.

第2図は本発明の構成例を示す0図中、lは文字コード
および制御コードを発生する情報処理装置としてのホス
トコンピュータであり、2はホストコンピュータl側か
らデータや制御指令を受は取る入力バッファメモリーで
ある。3はコード処理機能部であり、入力バッファメモ
リー2から制御コードおよび文字コードを受は取り、コ
ードの解析処理を行う、4はページバッファメモリーで
あり、コード処理機能部3の制御によってページ単位に
印字用の文字コードが格納される。
Figure 2 shows a configuration example of the present invention, in which l is a host computer as an information processing device that generates character codes and control codes, and 2 receives and receives data and control commands from the host computer l side. This is input buffer memory. 3 is a code processing function section, which receives control codes and character codes from the input buffer memory 2 and analyzes the codes; 4 is a page buffer memory, which receives and receives control codes and character codes from the input buffer memory 2; 4 is a page buffer memory; Stores the character code for printing.

5は出力処理機能部であり、ページバッファメモリー4
に格納されているコード情報を基にフォントパターンを
格納しているフォントパターンメモリー8からフォント
パターンの輻×高さ分の印字データを読み出して、画像
バッファメモリー6へドツト展開を行う。
5 is an output processing function section, and page buffer memory 4
Based on the code information stored in the font pattern memory 8 storing the font pattern, print data corresponding to the width x height of the font pattern is read out and dot development is performed in the image buffer memory 6.

なお、9は演算処理装置であり、上述したコード処理機
能部3とフォントパターン展開処理機能部7とから構成
され、内部メモリに第3図に示すような本発明に係る制
御手順を格納し、この制御手順に従って後述のような動
作を行う。
In addition, 9 is an arithmetic processing unit, which is composed of the above-mentioned code processing function section 3 and font pattern expansion processing function section 7, and stores the control procedure according to the present invention as shown in FIG. 3 in its internal memory. According to this control procedure, operations as described below are performed.

ホストコンピュータ1から送られてきたフォントパター
ンの情報は入力バッファメモリ2を介してコード処理機
能部3によってフォントパターン展開処理機能部7へ転
送される。フォントパターン展開処理機能部7は転送さ
れてくるフォントパターンのf[をフォントパターンメ
モリー8に開始アドレスの指定記憶慎域から順に格納す
る。
Font pattern information sent from the host computer 1 is transferred to the font pattern development processing section 7 by the code processing section 3 via the input buffer memory 2. The font pattern expansion processing function unit 7 stores the transferred font pattern f[ in the font pattern memory 8 in order from the designated storage area of the start address.

但し、この際、フォントパターンメモリー8はフォント
パターンをワード単位(例えば18ビツト)で読み、書
き動作を行うものとする0例えば文字分のフォントパタ
ーンがフォントパターンメモリー8に書き込まれる際、
フォントパターンを格納するために用いられるアドレス
が1ワードの最大値である“FFFFH”を下lワード
に含むアドレスを挟まないようにする。
However, at this time, the font pattern memory 8 reads and writes the font pattern in word units (for example, 18 bits). For example, when a font pattern for characters is written to the font pattern memory 8,
The address used to store the font pattern should not include an address whose lower 1 words include "FFFFH", which is the maximum value of one word.

そのため、そのアドレスを挟むようなときには、そのフ
ォントパターンのフォントパターンメモリー8への展開
を行なう時に用いる開始アドレスとしては、下1ワード
の鰻上りが行なわれた時のアドレス、即ち、開始アドレ
スの下lワードが0001b+”となるアドレス(例え
ば1例としてアドレス“10000M”)を用いてフォ
ントパターンの展開処理が行なわれる。なぜならば、1
文字分のフォントパターンを書き込む際に用いるアドレ
スがlワードの最大値“FFFFM”を下側lワードと
して含むアドレス°を挟むことは、アドレスの下lワー
ドの繰上りを意味し、そのために鰻上りの有無を検知す
る必要があるからである。本例の説明のように、用いる
アドレスが1ワードの最大値である“FFFFu”を下
側1ワードとして含むアドレスを挟まないようにすると
、アドレス演算の際アドレスの下1ワードの鰻上りを検
知する必要がなくなる。
Therefore, when the address is sandwiched, the start address used when expanding the font pattern to the font pattern memory 8 is the address at which the lower one word was undone, that is, the lower part of the start address. Font pattern expansion processing is performed using an address where the l word is 0001b+" (for example, address "10000M"). Because 1
When the address used to write a font pattern for characters contains the maximum value of l words "FFFFM" as the lower l word, sandwiching the address ° means carrying up the lower l word of the address, and therefore This is because it is necessary to detect the presence or absence of. As explained in this example, if the address to be used does not include an address that includes "FFFFu", which is the maximum value of one word, as the lower word, an eel rise in the lower word of the address will be detected during address calculation. There is no need to do so.

次に、第3図のフローチャートを参照して上述の第21
!Iの本発明装置の動作例を詳細に説明する。
Next, with reference to the flowchart of FIG.
! An example of the operation of the device of the present invention in I will be described in detail.

まず、ステップSlにおいて情報発生源のホストコンピ
ュータ1から送られてきたニードデータ等が入力バッフ
ァメモリー2に取り込まれると、ステップS2において
コード処理機能部3により、この入力がコード処理され
るべきものか又はフォントパターン展開処理されるべき
ものかが判断される。コード処理されるべきものであれ
ば、ステップS3に進み、コード処理機能部3では文字
コードと文字コードを画像パフファメモリー6にドツト
展開するときの画像バッファメモリー6の開始アドレス
を計算して、この計算結果をページバッファメモリー4
へ格納する。その格納後、ステップSlへ再び戻る。
First, in step Sl, when the need data etc. sent from the host computer 1, which is an information generation source, is taken into the input buffer memory 2, in step S2, the code processing function unit 3 determines whether this input is to be code processed. Or it is determined whether the font pattern should be developed. If the code should be processed, the process proceeds to step S3, where the code processing function unit 3 calculates the start address of the image buffer memory 6 when dot-expanding the character code and the character code into the image puffer memory 6. This calculation result is transferred to page buffer memory 4.
Store it in After storing it, the process returns to step Sl.

次に、ホストコンピュータl側から送られてきたコード
データ・等がフォントパターン展開処理される時の動作
について述べる。
Next, the operation when code data etc. sent from the host computer I side is subjected to font pattern development processing will be described.

いま、ステップs2において、入力バッファメモリー2
に取り込まれた入力が、フォントパターン展開処理すべ
きものであるとコード処理機能部3により判断されると
、次のステップS4に移行してフォントパターン展開処
理機能部7により1文字分のフォントパターンの開始ア
ドレスを求める。
Now, in step s2, input buffer memory 2
When the code processing function section 3 determines that the input taken in is the one that should be subjected to font pattern development processing, the process moves to the next step S4, and the font pattern development processing section 7 develops the font pattern for one character. Find the starting address.

次に、ステップS5に進み、ステップS5では、フォン
トパターン展開処理機能部7において、開始アドレスの
下lワードの値に1文字分のフォントパターン用のアド
レス数から“1″を減じた値を加える。例えば、1文字
が32ドツト×32ドツトで構成される時には、アドレ
ス数84から1を減じた63を開始アドレスの下1ワー
ドの値に加える。
Next, the process proceeds to step S5, and in step S5, the font pattern development processing function section 7 adds a value obtained by subtracting "1" from the number of addresses for the font pattern for one character to the value of the lower l word of the start address. . For example, when one character is composed of 32 dots x 32 dots, 63, which is obtained by subtracting 1 from the address number 84, is added to the value of one word below the start address.

次の゛ステップS8において、その加算値と1ワードの
最大値“FFFFH”とがフォントパターン展開処理機
能部7において比較される。加算の結果が比較値“FF
FFH”より等しいかまたは小さいときには、アドレス
の下lワードの繰上りはなく、アドレスは下lワードの
み変化するので、ステップS8へ進み、加算の結果がア
ドレス“FFFFH”より大きいときはステップS7へ
進む。
In the next step S8, the added value and the maximum value of one word "FFFFH" are compared in the font pattern development processing function section 7. The result of addition is the comparison value “FF
If the result of addition is greater than or equal to the address "FFFFH", the lower l words of the address are not carried, and only the lower l words of the address change, so the process advances to step S8, and when the result of addition is greater than the address "FFFFH", the process advances to step S7. move on.

ステップS7では、フォントパターン展開処理機能部7
で開始アドレスの変更を行う、すなわち、更新前の開始
アドレスからその開始アドレスの下1ワードを上lワー
ドへ“1”だけ繰上げたアドレス″″ 10000M”
の直前のアドレスである“FFFFH”を含むアドレス
までのフォントパターンメモリー8の記憶領域を空き記
憶領域にする。
In step S7, the font pattern development processing function unit 7
Change the start address with ``10000M'', that is, move the lower 1 word of the start address to the upper 1 word from the start address before updating by ``1''.
The storage area of the font pattern memory 8 up to the address including "FFFFH" which is the address immediately before is made a free storage area.

これにより開始アドレスは前述したフォントパターン開
始処理機能部7により演算して出された開始アドレスの
下1ワードを上lワードへ“l”だけ繰上げたアドレス
、即ち、下1ワードが“0OOOH″となっているアド
レスに変更される。
As a result, the start address is the address obtained by incrementing the lower one word of the start address calculated by the font pattern start processing function section 7 by "l" to the upper l word, that is, the lower one word is "0OOOH". The address will be changed to the one shown below.

この変更されたアドレスはアドレスの下lワードを予め
鰻上げた状態であるので、新たな開始アドレスの下1ワ
ードの値が“0000M”となっている、このアドレス
の下lワード″00008″に1文字分のフォントパタ
ーン用のアドレス数から1を減じた値を加えても下1ワ
ードの鰻上りCよない。
This changed address has the lower 1 word of the address raised in advance, so the value of the lower 1 word of the new starting address is "0000M", and the lower 1 word of this address is "00008". Even if you add the value obtained by subtracting 1 from the number of addresses for the font pattern for one character, the result is still not equal to the value of C of the last word.

したがって、フォントパターンのフォントパターンメモ
リー8への展開を行なう際にアドレスを演算する時、下
1ワードの繰上りの検知は不要となる。
Therefore, when calculating an address when expanding a font pattern into the font pattern memory 8, it is not necessary to detect the carry of the lower one word.

次に、ステップS7からステップS8に進み、フォント
パターン展開処理機能部7では求めた開始アドレスに順
次“1”を加えたアドレスと、フォントパターンのデー
タとをフォントパターンメモリー8に順次に与えること
により、フォントパターンメモリー8に1文字分のフォ
ントパターンの書き込み展開をするやこの書き込み処理
の終了後は、次のデータ処理の為に再びステップS1へ
戻り、上述の処理手順を繰り返す。
Next, the process proceeds from step S7 to step S8, and the font pattern expansion processing function section 7 sequentially provides the font pattern memory 8 with addresses obtained by sequentially adding "1" to the obtained start address and the font pattern data. After writing and developing the font pattern for one character in the font pattern memory 8, the process returns to step S1 again for the next data processing, and the above-described processing procedure is repeated.

このようにして、フォントパターンメモリー8に全ての
フォントのフォントパターンが格納された後、出力機能
部5によりフォントパターンメモリー8からフォントパ
ターンを読み出して1画像バッファメモリー6に格納す
る0次にこの動作について詳細に説明する。まず、第2
図に示すように、出力機能部5ではページバッファメモ
リー4に格納されているコード情報に基づいて所要のフ
ォントパターンをフォントパターンメモリー8から読み
出す、出力処理機能部5により読み出し用のアドレスを
次々とフォントパターンメモリー8に与えて、所要のフ
ォントパターン、即ち印字データを取出す。
After the font patterns of all fonts are stored in the font pattern memory 8 in this way, the output function unit 5 reads out the font patterns from the font pattern memory 8 and stores them in the 1-image buffer memory 6. will be explained in detail. First, the second
As shown in the figure, the output function section 5 reads out the required font pattern from the font pattern memory 8 based on the code information stored in the page buffer memory 4, and the output processing function section 5 sequentially reads out the addresses for reading. The font pattern memory 8 is provided with the required font pattern, that is, print data is extracted.

次に、上述の取出された印字データを出力機能部6から
送出される画像バッファメモリー6のアドレスに応じた
記憶位置に記憶する。この際1画像バッファメモリー6
の書き込み開始アドレスが出力機能部5によりページバ
ッファメモリー4から読み出される。なお、出力機能部
5がフォントパターンメモリー8から1文字のフォント
パターンを読み出すときに用いるアドレスは、上述のよ
うに本例では下1ワードからの繰上りはないので、鰻上
りを検知する必要がなく、上述した処理を高速で行なう
ことが可能となる。
Next, the print data taken out above is stored in a storage location corresponding to the address of the image buffer memory 6 sent from the output function section 6. At this time, 1 image buffer memory 6
The write start address of is read from the page buffer memory 4 by the output function unit 5. Note that the address used when the output function unit 5 reads the font pattern of one character from the font pattern memory 8 does not carry up from the bottom word in this example as described above, so it is necessary to detect the upward movement. This makes it possible to perform the above-described processing at high speed.

なお、以上の説明では、フォントパターンのデータはホ
ストコンピュータlから送られてくるとしたが、これは
磁気テープ、フロッピーディスク等の入力媒体から送ら
れてくるとしてもよいことは勿論のことである。
In the above explanation, it is assumed that the font pattern data is sent from the host computer, but it is of course possible to send it from an input medium such as a magnetic tape or floppy disk. .

また、フォントパターンメモリー8を本制御装置内に具
えず、外部記・憶装置に具えて、使用するときだけこの
外部記憶装置と入出力制御装置とを接続して使用するこ
とも可能であり、そのときの外部記憶装置上へのフォン
トパターンの展開に本発明が適用できることは明らかで
ある。
Alternatively, the font pattern memory 8 may not be included in the control device, but may be provided in an external storage/storage device, and the external storage device and the input/output control device may be connected and used only when the font pattern memory 8 is used. It is clear that the present invention can be applied to developing the font pattern onto the external storage device at that time.

第4図は本発明を機能手段から構成した一例を示す、本
図に示すように外部装置(不図示)からの指示により入
力手段108を介して信号aが開始アドレス演算手段1
01に入力され、この信号aに対応して開始アドレス演
算手段101が記憶手段10Bに1文字のフォントパタ
ーンを展開する際に用い1開始アドレスAD1を演算す
る。
FIG. 4 shows an example in which the present invention is constructed from functional means. As shown in this figure, a signal a is input to the start address calculation means 1 through the input means 108 in response to an instruction from an external device (not shown).
01, and in response to this signal a, the start address calculation means 101 calculates a 1 start address AD1, which is used when developing a font pattern of one character in the storage means 10B.

次に、開始アドレス演算手段101から出力される開始
アドレスAD電の下lワードHAD lと、固定記憶手
段105に記憶されている1文字のフォントパターンの
アドレス数から1を減じた値W−1とを加算手段104
に入力して加算する。加算手段104により加算された
その加算値uao、 +W−tと、1ワードの最大値A
D■との大きさを比較判別手段10Bにより比較判別す
る。加算値UAD、 +W−1が1ワードの最大値AD
層以下と比較判別手段10Bにより判別された場合には
、比較判別手段10111から信号すがアドレス出力手
段102に与えられる。この信号すに応じて、アドレス
出力手段102は開始アドレス演算手段101から与え
られた開始アドレスAD監をフォントパターン展開用の
開始アドレスとして選択使用する0次いで、アドレス出
力手段102ではアドレス演算手段101から与えられ
る開始アドレスADtを上述の開始アドレスとして演算
したアドレスCを記憶手段109に順次送出する。一方
、このアドレスCに呼応して外部装置から入力手段10
8を介して1文字分のフォントパターンデータが順次記
憶手段108に与えられ、そのフォントパターンは、記
憶手段1o8に展開されて、予め記憶される。
Next, the lower l word HAD l of the start address AD signal outputted from the start address calculation means 101 and the value W-1 obtained by subtracting 1 from the number of addresses of the font pattern of one character stored in the fixed storage means 105. and adding means 104
Enter and add. The added value uao, +W−t added by the adding means 104 and the maximum value A of one word
The comparison and determination means 10B compares and determines the size with D■. Added value UAD, +W-1 is the maximum value AD of 1 word
When the comparison and determination means 10B determines that the address is below the layer, a signal is given from the comparison and determination means 10111 to the address output means 102. In response to this signal, the address output means 102 selects and uses the start address AD given from the start address calculation means 101 as the start address for font pattern development. The address C calculated using the given start address ADt as the above-mentioned start address is sequentially sent to the storage means 109. On the other hand, in response to this address C, input means 10 is sent from an external device.
Font pattern data for one character is sequentially applied to the storage means 108 via the memory 1o8, and the font pattern is developed and stored in advance in the storage means 1o8.

加算値HAD l+ W −t カ17−ドの最大値A
Dmを超えることが比較判別手段10Bにより判別され
た場合には、この判別結果を入力した更新手段107に
より開始アドレスAD、を更新して、開始アドレスAD
2を出力する。後者の開始アドレスAD2は前者の開始
アドレスAD、の下lワードの繰上げが行なわれた際の
アドレスであり、この開始アドレスAD2は更新手段1
07からアドレス出力手段102に与えられ、アドレス
出力手段102はこの開始アドレスAD2をフォントパ
ターン展開用の開始アドレスとしてジオンドパターンの
展開を記憶手段107に対して上述と同様に行なう。
Added value HAD l+ W -t Maximum value A of card 17-
If the comparing and determining means 10B determines that Dm is exceeded, the updating means 107 into which this determination result is input updates the start address AD.
Outputs 2. The latter start address AD2 is an address obtained by incrementing the lower l word of the former start address AD, and this start address AD2 is the address when the lower l word of the former start address AD is carried forward.
07 to the address output means 102, and the address output means 102 uses this start address AD2 as the start address for font pattern expansion and expands the geond pattern onto the storage means 107 in the same manner as described above.

このようにして、予め複数のフォントパターンが記憶手
段!09に格納されたとすると、次に、入力手段108
から与えられる文字コードに応じたフォントパターン読
出し用のアドレスが、データ読出し手段11Gから記憶
手段109に与えられる。
In this way, you can store multiple font patterns in advance! 09, then the input means 108
An address for reading a font pattern corresponding to the character code given from the data reading means 11G is given to the storage means 109.

このアドレスにより所要のフォントパターンが印字用の
データとして記憶手段109から読み出され、この読み
出されたデータはデータ読み出し手段110により不図
示の他の記憶手段(画像バッファメモリーに相当する。
Based on this address, the required font pattern is read out from the storage means 109 as printing data, and this read data is transferred to another storage means (not shown) (corresponding to an image buffer memory) by the data reading means 110.

)に格納される。なお、図の破線で囲む演算判別手段1
11は、開始アドレス演算手段101、固定記憶手段1
05、加算手段104および比較判別手段10Bとで構
成されている。
). In addition, calculation determination means 1 surrounded by a broken line in the figure
11, start address calculation means 101, fixed storage means 1;
05, addition means 104, and comparison and determination means 10B.

また、アドレスの1ワードの最大値から1文字分のフォ
ントパターンデータを展開する際に用いるアドレス数か
ら”1”を減じた値を差し引いた値と、開始アドレスの
下1ワードとの大小とを比較する処理をステップS5及
びS8の処理の代りに置き換えることができる。
Also, calculate the magnitude of the value obtained by subtracting "1" from the number of addresses used when developing font pattern data for one character from the maximum value of one word of the address, and the lower one word of the start address. The comparison process can be substituted for the processes in steps S5 and S8.

〔効 果〕〔effect〕

以上説明したように本発明によればフォントパタ−ン展
開処理機能部で演算された開始アドレスの下lワードに
1文字分のフォントパターン用のアドレス数に′l”を
減じた値を加えた値が1ワードで表現できる最大のアド
レスを超える時には、桁上げしたアドレスを新たな開始
アドレスとして用いるようにしたので、フォントパター
ンメモリーへフォントパターンの展開をする際や、画像
バッファメモリーへのドツト展開用にフォントパターン
メモリーからフォントパターンを読み取る際の読み取り
用のアドレス演算においてはパターンアドレスの下1ワ
ードに1”を順次加えるだけでよく、従来のような下l
ワードの鰻上りの検知を不要にしたので1、フォントパ
ターンの展開の処理時間を短縮することができるという
効果が得られる。
As explained above, according to the present invention, the value obtained by subtracting 'l'' from the number of addresses for one character's font pattern is added to the lower l word of the start address calculated by the font pattern expansion processing function section. When the value exceeds the maximum address that can be expressed in one word, the carried address is used as the new starting address, so when expanding a font pattern to the font pattern memory or dot expansion to the image buffer memory. When reading a font pattern from the font pattern memory for a font pattern, all you have to do is add 1" to the last word of the pattern address in sequence, and you can simply add 1" to the last word of the pattern address.
Since it is not necessary to detect the rise of a word, the effect of 1. that the processing time for developing a font pattern can be shortened can be obtained.

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

第1図(A)は縦横32ドツト×32ドツトのフォント
パターンの一例を示す説明図、第1図CB)は第1図(
A)のフォントパターンを開始アドレス“FFFOH”
からフォントパターンメモリに1文字展開したときのア
ドレス状態を示す・従来例の説明図、 第2図は本発明装置の構成例を示すブロック図、 第3図はその動作例を示すフローチャート、第4図は本
発明装置の他の機能例を示すブロック図である。 l・・・ホストコンピュータ、 2・・・入力ハッファメモリー、 3・・・コード処理機能部、 4・・・ページバッファ。 5・・・出力処理機能部、 6・・・画像/<ラフアメモリ−, 7・・・フォントパターン展開処理機能部、8・・・フ
ォントパターンメモリー。 第1図 第3図 第4図
Figure 1 (A) is an explanatory diagram showing an example of a font pattern of 32 dots in the vertical and horizontal directions, and Figure 1 (CB) is an explanatory diagram showing an example of a font pattern of 32 dots in the vertical and horizontal directions.
A) Font pattern starting address “FFFOH”
Figure 2 is a block diagram showing a configuration example of the device of the present invention; Figure 3 is a flowchart showing an example of its operation; The figure is a block diagram showing another functional example of the device of the present invention. l...Host computer, 2...Input buffer memory, 3...Code processing function unit, 4...Page buffer. 5... Output processing function section, 6... Image/<rough memory -, 7... Font pattern expansion processing function section, 8... Font pattern memory. Figure 1 Figure 3 Figure 4

Claims (1)

【特許請求の範囲】 少なくとも文字コードおよびフォントパターンを入力す
る入力手段と、 該入力手段により入力した前記フォントパ ターンを予め記憶する記憶手段と、 前記入力手段により入力した前記文字コードに基づいて
前記フォントパターンを前記記憶手段から読出す読出し
手段と、 前記記憶手段に1文字の前記フォントパターンを展開す
る際の開始アドレスの下位1ワードに当該1文字に要す
るアドレス数から1を減じた値を加えた加算値が前記下
位1ワードの最大値を越えることを検出する検出手段と
、 該検出手段の出力に応じて前記開始アドレスの下位1ワ
ードを繰上げて新たな開始アドレスとして更新する更新
手段と、 該更新手段が更新した開始アドレスに基づいて前記フォ
ントパターンの前記記憶手段への展開を行うフォントパ
ターン展開手段とを具備したことを特徴とするフォント
パターン展開制御装置。
[Scope of Claims] An input means for inputting at least a character code and a font pattern, a storage means for storing in advance the font pattern input by the input means, and a font based on the character code input by the input means. reading means for reading a pattern from the storage means; a value obtained by subtracting 1 from the number of addresses required for one character to the lower one word of the start address when developing the font pattern for one character in the storage means; detecting means for detecting that the added value exceeds the maximum value of the lower one word; and updating means for incrementing the lower one word of the start address and updating it as a new start address in accordance with the output of the detecting means; A font pattern expansion control device comprising: font pattern expansion means for expanding the font pattern into the storage means based on the start address updated by the updating means.
JP60021783A 1985-02-08 1985-02-08 Front pattern development controller Pending JPS61182088A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60021783A JPS61182088A (en) 1985-02-08 1985-02-08 Front pattern development controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60021783A JPS61182088A (en) 1985-02-08 1985-02-08 Front pattern development controller

Publications (1)

Publication Number Publication Date
JPS61182088A true JPS61182088A (en) 1986-08-14

Family

ID=12064658

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60021783A Pending JPS61182088A (en) 1985-02-08 1985-02-08 Front pattern development controller

Country Status (1)

Country Link
JP (1) JPS61182088A (en)

Similar Documents

Publication Publication Date Title
JP2755308B2 (en) Output method and device
JPS61182088A (en) Front pattern development controller
JP2974322B2 (en) Character processing apparatus and method
JPS61156192A (en) Input/output controller
JP3100679B2 (en) Image processing device
JPH0830725A (en) Device and method for processing image
JPH06274145A (en) Character processor
JP2626769B2 (en) Output control device and method
JPH04112059A (en) Image recorder
JP2580965B2 (en) Printer device
JPH06274144A (en) Character processor
KR950011809B1 (en) Korean character compound writing method in laser printer
JPH03155268A (en) Picture output controller
JPH0373913B2 (en)
JPH0477277A (en) Printing device
JPH0746543Y2 (en) Printer
JPH0273455A (en) Character processing system
JPH02241267A (en) Picture information processor
JPH06183093A (en) Printing equipment
JPS61148065A (en) Control of input and output of recording information
JPH0486274A (en) Pattern generation system
JPH01281965A (en) Printing device
JPH04255897A (en) Character output controller
JPH11190988A (en) Image processor
JPS62208086A (en) Image processor