JPH0944140A - Method and device for dot pattern conversion, and memory device - Google Patents

Method and device for dot pattern conversion, and memory device

Info

Publication number
JPH0944140A
JPH0944140A JP7193195A JP19319595A JPH0944140A JP H0944140 A JPH0944140 A JP H0944140A JP 7193195 A JP7193195 A JP 7193195A JP 19319595 A JP19319595 A JP 19319595A JP H0944140 A JPH0944140 A JP H0944140A
Authority
JP
Japan
Prior art keywords
dot pattern
character
code
circuit
dot
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.)
Withdrawn
Application number
JP7193195A
Other languages
Japanese (ja)
Inventor
Naoki Yamazaki
直己 山崎
Ryoetsu Nakajima
亮悦 中島
Hideki Take
秀樹 嶽
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP7193195A priority Critical patent/JPH0944140A/en
Publication of JPH0944140A publication Critical patent/JPH0944140A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PROBLEM TO BE SOLVED: To perform a superposing processing, etc., as to a document editing device. SOLUTION: The device is provided with a line pitch change information output means 2 which outputs line pitch change information for a change to the line pitch of character lines, a dot pattern generating means 4 which converts the line pitch into the character dot pattern of line pitch corresponding to the line pitch change information as a character dot pattern of size of each character in response to the line pitch change information and generates storage reference position specification information on the converted character dot pattern, a storage means 6 which stores a plurality of lines of the character dot pattern, and a writing means 8 which writes character dot patterns generated by the dot pattern generating means in storage locations of a storage means 6 specified with the storage reference position specification information.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、一文書等の編集処
理後の符号化前に編集処理されたドットパターンに対し
て所要の処理を行い得るドット−パターン変換方法及び
その装置、並びにメモリ装置に関する。情報処理システ
ムにおいては、上位装置に接続され、該上位装置から転
送されて来る文書等のコードをドットパターンに変換
し、該ドットパターンを符号データに符号化して返送す
るサービスを遂行する文書編集装置が、情報処理システ
ムを構築する一構成要素として用いられている。このよ
うな文書編集装置においても、その性能の向上、強化が
要求されている。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a dot-pattern conversion method and device, and a memory device capable of performing required processing on a dot pattern that has been edited before being encoded after being edited. Regarding In an information processing system, a document editing apparatus that is connected to a host device, converts a code of a document or the like transferred from the host device into a dot pattern, encodes the dot pattern into code data, and returns the code data. Is used as one component for constructing an information processing system. Even in such a document editing apparatus, improvement and enhancement of its performance are required.

【0002】[0002]

【従来の技術】従来の文書編集装置についての本発明と
の関連で問題となる技術的事項を説明するための概念図
を示したのが、図9である。従来の文書編集装置におい
て、上位装置200から通信制御インタフェイス部20
2を経て文字コードバッファ204に受信した白黒2値
静止画の1転送単位(ブロック=4080バイト)、例
えば文書を構成する各文字のコードは、行編集装置20
6で前記文書の一行を1つの編集単位として該編集単位
内の各文字を文字ドットパターンに変換して行バッファ
210に書き込む。
2. Description of the Related Art FIG. 9 shows a conceptual diagram for explaining technical matters that are problematic in the context of the present invention regarding a conventional document editing apparatus. In the conventional document editing apparatus, the communication control interface unit 20 is transferred from the host apparatus 200.
One transfer unit (block = 4080 bytes) of a monochrome binary still image received in the character code buffer 204 via 2 is, for example, the code of each character forming a document is the line editing device 20.
In step 6, one line of the document is used as one editing unit and each character in the editing unit is converted into a character dot pattern and written in the line buffer 210.

【0003】この行バッファ210への一行分の文字ド
ットパターンの書き込み後に、一行分の文字ドットパタ
ーンに対する符号化処理、例えばMH符号化処理、M2
R符号化処理を符号化回路212で行い、その符号コー
ドを符号コードバッファ214に書き込む。この書き込
みにおいて、図10に示すように行間を与えるように制
御される。
After writing the character dot pattern for one line to the line buffer 210, an encoding process for the character dot pattern for one line, for example, MH encoding process, M 2
The R coding process is performed by the coding circuit 212, and the code is written in the code code buffer 214. In this writing, control is performed so as to give a line spacing as shown in FIG.

【0004】このような一行分のコードについての変換
処理、符号化処理を各行毎に行い、符号コードバッファ
214に書き込まれた符号データ量が、例えば4080
バイトに達したとき、この4080バイトを1ブロック
の転送単位として上位装置200へ転送している。
The conversion process and the encoding process for the code for one line are performed for each line, and the code data amount written in the code code buffer 214 is, for example, 4080.
When the number of bytes is reached, the 4080 bytes are transferred to the higher-level device 200 as one block transfer unit.

【0005】[0005]

【発明が解決しようとする課題】前述のように、従来の
文書編集装置は、データコードから文字ドットパターン
への変換完了後に、行バッファ210の文字ドットパタ
ーンを順次に符号化処理して行くため、処理制御を任意
の編集位置に戻すことができない。
As described above, the conventional document editing apparatus sequentially encodes the character dot patterns in the line buffer 210 after the conversion from the data code to the character dot pattern is completed. , Processing control cannot be returned to an arbitrary editing position.

【0006】その結果として、編集、つまりコードから
文字ドットパターンへの変換処理後に、別の文字ドット
パターン、又は他のドットパターンとの重ね合わせ処
理、複数行に跨る大きさの文字ドットパターンの生成処
理、文書の副走査方向への編集処理を行うことができな
い。本発明は、斯かる技術的課題に鑑みて創作されたも
ので、重ね合わせ処理、各種大きさの文字ドットパター
ンの生成処理、副走査方向への編集処理、ハードウェア
によるメモリのクリア処理、試験処理等を行い得るドッ
ト−パターン変換方法及びその装置、並びにメモリ装置
を提供することをその目的とする。
As a result, after editing, that is, conversion processing from the code to the character dot pattern, another character dot pattern or another dot pattern is superposed, and a character dot pattern having a size extending over a plurality of lines is generated. Processing and editing processing of the document in the sub-scanning direction cannot be performed. The present invention was created in view of the above technical problems, and includes overlay processing, generation processing of character dot patterns of various sizes, editing processing in the sub-scanning direction, memory clear processing by hardware, and testing. It is an object of the present invention to provide a dot-pattern conversion method and device capable of performing processing and the like, and a memory device.

【0007】[0007]

【課題を解決するための手段】図1は、請求項4記載の
発明の原理ブロック図を示す。図2は、請求項5乃至請
求項7記載の発明の原理ブロック図を示す。図3は、請
求項8乃至請求項10記載の発明の原理ブロック図を示
す。請求項1記載の発明は、コードのドットパターンへ
の変換率を判定し、コードを判定された変換率の大きさ
のドットパターンに変換し、先行して記憶されたドット
パターン列と重ならないように変換されたドットパター
ンの記憶基準位置を揃えて記憶することを特徴とする。
FIG. 1 shows a block diagram of the principle of the present invention. FIG. 2 shows a principle block diagram of the invention according to claims 5 to 7. FIG. 3 shows a principle block diagram of the invention according to claims 8 to 10. According to the first aspect of the present invention, the conversion rate of the code into the dot pattern is determined, the code is converted into the dot pattern having the determined conversion rate, and the dot pattern sequence stored in advance is not overlapped. It is characterized in that the storage reference positions of the dot patterns converted into are aligned and stored.

【0008】請求項1記載の発明は、コードをドットパ
ターンへ変換する際に、その変換率を判定し、その変換
率で決まる大きさのドットパターンに変換する。そし
て、変換されたドットパターンが先行して記憶されてい
るドットパターン列と重ならないように変換されたドッ
トパターンの記憶基準位置を揃えて記憶する。従って、
行ピッチの異なるドットパターンの行を生成することが
できる。
According to the first aspect of the present invention, when the code is converted into the dot pattern, the conversion rate is determined, and the code is converted into a dot pattern having a size determined by the conversion rate. Then, the storage reference positions of the converted dot patterns are aligned and stored so that the converted dot patterns do not overlap the previously stored dot pattern rows. Therefore,
It is possible to generate rows of dot patterns having different row pitches.

【0009】請求項2記載の発明は、第1のコードを第
1のドットパターンに変換して記憶し、記憶された第1
のドットパターンを読み出して保持し、第2のコードを
第2のドットパターンに変換し、前記保持されている第
1のドットパターンと前記変換された第2のドットパタ
ーンとを論理的に合成し、合成されたドットパターンを
記憶することを特徴とする。
According to a second aspect of the present invention, the first code is converted into the first dot pattern and stored, and the stored first code is stored.
Read out and hold the above dot pattern, convert the second code into the second dot pattern, and logically combine the held first dot pattern and the converted second dot pattern. , And stores the synthesized dot pattern.

【0010】請求項2記載の発明は、先行して記憶され
た第1のドットパターンを読み出して保持する。この保
持後に、第2のコードを第2のドットパターンに変換
し、変換されたドットパターンと前記保持されたドット
パターンとを論理的に合成して記憶する。従って、ドッ
トパターンの重ね合わせを行うことができる。
According to the second aspect of the invention, the first dot pattern stored in advance is read and held. After this holding, the second code is converted into the second dot pattern, and the converted dot pattern and the held dot pattern are logically combined and stored. Therefore, it is possible to superimpose dot patterns.

【0011】請求項3記載の発明は、副走査方向の文字
コードを順次にドットパターンに変換し、該文字ドット
パターンを時計式方向に90゜回転させて記憶する動作
を副走査方向の各文字コード列の文字コード毎に繰り返
して行い、記憶されたドットパターンを主走査方向に読
み出して符号化することを特徴とする。請求項3記載の
発明は、副走査方向の文字コードを順次に文字ドットパ
ターンに変換する。変換された文字ドットパターン毎
に、その文字ドットパターンは、時計式方向に90゜回
転されて記憶する。記憶されたドットパターンの行を主
走査方向に読み出して符号化する。
According to a third aspect of the present invention, a character code in the sub-scanning direction is sequentially converted into a dot pattern, and the operation of storing the character dot pattern by rotating the character dot pattern by 90 ° in the clockwise direction is performed for each character in the sub-scanning direction. It is characterized in that it is repeated for each character code of the code string, and the stored dot pattern is read out in the main scanning direction and encoded. According to the third aspect of the invention, the character code in the sub-scanning direction is sequentially converted into a character dot pattern. For each converted character dot pattern, the character dot pattern is rotated by 90 ° in the clockwise direction and stored. The rows of the stored dot pattern are read out in the main scanning direction and encoded.

【0012】従って、副走査方向についての文字編集を
行うことができる。請求項4記載の発明は、図1に示す
ように、コードを受信してドットパターンに変換する文
書編集装置において、受信した文字コードの文字行に大
小の文字を含むとき大きい文字についての行ピッチに前
記文字行の行ピッチに変更させる行ピッチ変更情報を出
力する行ピッチ変更情報出力手段2と、前記行ピッチ変
更情報に応答して各文字毎に当該文字の大きさの文字ド
ットパターンであって、且つ行ピッチを前記行ピッチ変
更情報に応じた行ピッチの文字ドットパターンに変換
し、且つ変換された文字ドットパターンの記憶基準位置
指定情報を発生するドットパターン発生手段4と、文字
ドットパターンの行を複数記憶する記憶手段6と、前記
ドットパターン発生手段4から発生される文字ドットパ
ターンの各々を前記記憶基準位置指定情報で指定される
前記記憶手段の記憶位置に書き込む書き込み手段8とを
設けたことを特徴とする。
Therefore, it is possible to edit characters in the sub-scanning direction. In a document editing apparatus for receiving a code and converting it into a dot pattern as shown in FIG. 1, when the character line of the received character code includes large and small characters, a line pitch for a large character is obtained. A line pitch change information output means 2 for outputting line pitch change information for changing to the line pitch of the character line, and a character dot pattern of the size of the character for each character in response to the line pitch change information. And a dot pattern generating means 4 for converting the line pitch into a character dot pattern having a line pitch corresponding to the line pitch change information and for generating storage reference position designation information of the converted character dot pattern, and a character dot pattern. Of the character dot patterns generated by the dot pattern generating means 4 are stored in the storage reference position specifying information. Characterized in that a writing means 8 to be written into storage locations of said storage means designated in.

【0013】請求項4記載の発明は、請求項1記載の発
明と同様に、行ピッチの異なるドットパターンを生成す
ることができる。その手段は、行ピッチ変更情報出力手
段2と、ドットパターン発生手段4と、記憶手段6と、
書き込み手段8とから成る。請求項5記載の発明は、図
2に示すように、コードを受信してドットパターンに変
換する文書編集装置において、予め決められた行ピッチ
の第1のドットパターン及び記憶基準位置指定情報を入
力する入力手段5と、文字ドットパターンの行を複数記
憶する記憶手段6と、前記入力手段5から入力される文
字ドットパターンの各々を前記記憶基準位置指定情報で
指定される前記記憶手段6の記憶位置に書き込む書き込
み手段8と、前記記憶手段から重ね合わせ対象の第2の
ドットパターンを読み出す読み出し手段10と、保持手
段12を有する演算手段14と、前記入力手段5及び前
記読み出し手段10に接続され、該入力手段5及び該読
み出し手段10による前記記憶手段6へのアクセス競合
を調停する調停手段16とを設け、前記調停手段16に
より調停されて前記記憶手段6から読み出されたドット
パターンを前記保持手段12に保持した後に、前記調停
手段16により調停されて前記演算手段14に入力され
たドットパターンと、前記保持手段12に保持されたド
ットパターンとを合成し、合成されたドットパターンを
前記書き込み手段8により前記記憶手段6に記憶させる
ことを特徴とする。
According to the invention described in claim 4, as in the invention described in claim 1, dot patterns having different row pitches can be generated. The means is a row pitch change information output means 2, a dot pattern generation means 4, a storage means 6,
And writing means 8. According to a fifth aspect of the present invention, as shown in FIG. 2, in a document editing apparatus that receives a code and converts it into a dot pattern, a first dot pattern having a predetermined line pitch and storage reference position designation information are input. Input means 5, storage means 6 for storing a plurality of lines of character dot patterns, and storage of the storage means 6 in which each of the character dot patterns input from the input means 5 is designated by the storage reference position designation information. It is connected to the writing means 8 for writing in the position, the reading means 10 for reading the second dot pattern to be superposed from the storage means, the computing means 14 having the holding means 12, the input means 5 and the reading means 10. , Arbitration means 16 for arbitrating access competition to the storage means 6 by the input means 5 and the reading means 10, and the arbitration means After the dot pattern arbitrated by 16 and read from the storage unit 6 is held in the holding unit 12, the dot pattern arbitrated by the arbitration unit 16 and input to the arithmetic unit 14 and the holding unit 12 are held. It is characterized in that the dot pattern held in the above is combined and the combined dot pattern is stored in the storage means 6 by the writing means 8.

【0014】請求項5記載の発明は、記憶手段8に記憶
された第2のドットパターンを読み出し手段10により
読み出して保持手段12に保持する。その後に、入力手
段5により入力されたドットパターンと、保持されたド
ットパターンとが合成されて前記書き込み手段8により
記憶手段6に記憶される。従って、ドットパターンの合
成を行うことができる。
According to the fifth aspect of the invention, the second dot pattern stored in the storage means 8 is read by the reading means 10 and held in the holding means 12. After that, the dot pattern input by the input unit 5 and the held dot pattern are combined and stored in the storage unit 6 by the writing unit 8. Therefore, the dot patterns can be combined.

【0015】請求項6記載の発明は、図2に示すよう
に、請求項5記載の文書編集装置において、前記第1の
ドットパターンは、第1の文字ドットパターン、又は第
1の画ドットパターンであり、前記第2のドットパター
ンは、第2の文字ドットパターン、又は第2の画ドット
パターンであることを特徴とする。
According to a sixth aspect of the present invention, as shown in FIG. 2, in the document editing apparatus according to the fifth aspect, the first dot pattern is a first character dot pattern or a first image dot pattern. And the second dot pattern is a second character dot pattern or a second image dot pattern.

【0016】請求項6記載の発明は、請求項5記載の発
明において、第1のドットパターンを第1の文字ドット
パターン、又は第1の画ドットパターンとし、第2のド
ットパターンを第2の文字ドットパターン、又は第2の
画ドットパターンとしたものである。請求項7記載の発
明は、図2に示すように、請求項6記載の文書編集装置
において、入力手段5は、受信したコードの文字行に大
小の文字を含むとき大きい文字についての行ピッチに前
記文字行の行ピッチに変更させる行ピッチ変更情報を出
力する行ピッチ変更情報出力手段と、前記行ピッチ変更
情報に応答して各文字毎に当該文字の大きさの文字ドッ
トパターンであって、且つ行ピッチを前記行ピッチ変更
情報に応じた行ピッチの文字ドットパターンに変換し、
且つ変換された文字ドットパターンの記憶基準位置指定
情報を発生するドットパターン発生手段とで構成される
ことを特徴とする。
According to a sixth aspect of the invention, in the fifth aspect of the invention, the first dot pattern is the first character dot pattern or the first image dot pattern, and the second dot pattern is the second. The character dot pattern or the second image dot pattern is used. According to the invention described in claim 7, as shown in FIG. 2, in the document editing apparatus according to claim 6, when the input means 5 includes large and small characters in the character line of the received code, a line pitch is set for a large character. A line pitch change information output means for outputting line pitch change information for changing the line pitch of the character line, and a character dot pattern of the size of the character for each character in response to the line pitch change information, And the line pitch is converted into a character dot pattern of the line pitch according to the line pitch change information,
And dot pattern generating means for generating storage reference position designation information of the converted character dot pattern.

【0017】請求項7記載の発明は、請求項6記載の発
明において行ピッチの異なる文字ドットパターンを生成
するようにしたものである。請求項8記載の発明は、図
3に示すように、メモリ20と、入力されるアクセス信
号を前記メモリ20のためのアクセス信号に変換するア
クセス信号変換回路22と、保持回路23を有する論理
演算回路24と、第1のドットパターンを前記論理演算
回路24へ入力させると共に、アクセス信号を前記アク
セス信号変換回路22へ入力させる第1の入力手段26
と、第2のドットパターンを前記論理演算回路24へ入
力させると共に、アクセス信号を前記アクセス信号変換
回路22へ入力させる第2の入力手段28と、前記メモ
リ20に記憶されたドットパターンを読み出す読み出し
回路29と、前記第1の入力手段26への前記第1のド
ットパターン及びアクセス信号の入力と、前記第2の入
力手段28への前記第2のドットパターン及びアクセス
信号の入力と、前記読み出し回路29との間のアクセス
競合を調停する調停回路30とを設けたことを特徴とす
る。
According to a seventh aspect of the present invention, in the sixth aspect of the invention, character dot patterns having different line pitches are generated. The invention according to claim 8 is, as shown in FIG. 3, a logical operation including a memory 20, an access signal conversion circuit 22 for converting an input access signal into an access signal for the memory 20, and a holding circuit 23. The circuit 24 and first input means 26 for inputting an access signal to the access signal conversion circuit 22 while inputting the first dot pattern to the logical operation circuit 24.
And a second input means 28 for inputting a second dot pattern to the logical operation circuit 24 and an access signal to the access signal conversion circuit 22, and a read operation for reading the dot pattern stored in the memory 20. Circuit 29, input of the first dot pattern and access signal to the first input means 26, input of the second dot pattern and access signal to the second input means 28, and reading An arbitration circuit 30 for arbitrating access competition with the circuit 29 is provided.

【0018】請求項8記載の発明は、文書編集装置に用
いられるメモリ装置に係る発明である。即ち、文字ドッ
トパターンと文字ドットパターンとの重ね合わせ、その
合成、文字ドットパターンと画ドットパターンとの合成
等に使用するメモリ装置である。請求項9記載の発明
は、図3に示すように、請求項8記載のメモリ装置にお
いて、前記メモリ20のクリアをするクリア回路をメモ
リ装置内に設けたことを特徴とする。
The eighth aspect of the present invention is an invention relating to a memory device used in a document editing device. That is, it is a memory device used for superimposing a character dot pattern and a character dot pattern, synthesizing them, synthesizing a character dot pattern and an image dot pattern, and the like. According to a ninth aspect of the invention, as shown in FIG. 3, in the memory device according to the eighth aspect, a clear circuit for clearing the memory 20 is provided in the memory device.

【0019】請求項9記載の発明は、請求項8記載の発
明において、メモリのクリアを行うクリア回路をメモリ
装置に設けたものである。請求項10記載の発明は、請
求項8、又は請求項9記載のメモリ装置において、メモ
リの試験を行う試験回路をメモリ装置内に設けたことを
特徴とする。請求項10記載の発明は、請求項9、又は
請求項10記載の発明においてメモリ装置に試験回路を
設けたものである。
According to a ninth aspect of the invention, in the eighth aspect of the invention, the memory device is provided with a clear circuit for clearing the memory. According to a tenth aspect of the present invention, in the memory device according to the eighth or ninth aspect, a test circuit for testing the memory is provided in the memory device. According to a tenth aspect of the present invention, in the ninth or tenth aspect of the invention, the memory device is provided with a test circuit.

【0020】[0020]

【発明の実施の形態】図4は、請求項1乃至請求項10
記載の発明の一実施例を示す。この実施例の文書編集装
置は、図4に示すように、上位装置に接続される上位イ
ンタフェイス部50、メインメモリ52、プロセッサ5
4、文字編集部(KPG)56、復号/符号化部58か
ら成る。KPGは、Kangi Pattern Generater の略号で
ある。
DETAILED DESCRIPTION OF THE INVENTION FIG.
An embodiment of the described invention is shown. As shown in FIG. 4, the document editing apparatus of this embodiment has a host interface unit 50, a main memory 52, and a processor 5 connected to a host device.
4, a character editing unit (KPG) 56, and a decoding / encoding unit 58. KPG is an abbreviation for Kangi Pattern Generator.

【0021】上位インタフェイス部50は、図5に示す
ように、GPIFインタフェイス部60、バッファメモ
リ62、MPU64、デュアルポートRAM66を有し
て構成される。MPU64は、GPIF制御信号をGP
IFインタフェイス部60に与えて上位装置からの、例
えば一文書のコード(以下、コードデータという。)を
転送単位のDAM転送方式でGPIFインタフェイス部
60を経てバッファメモリ62に受信し、1転送単位の
開始を示す開始情報をMPU64で検出する。
As shown in FIG. 5, the higher-level interface section 50 comprises a GPIF interface section 60, a buffer memory 62, an MPU 64, and a dual port RAM 66. The MPU 64 sends the GPIF control signal to the GP.
For example, the code of one document (hereinafter referred to as code data) is given to the IF interface unit 60 from the host device via the GPIF interface unit 60 by the DAM transfer method of the transfer unit, and is received by the buffer memory 62 for one transfer. The MPU 64 detects start information indicating the start of the unit.

【0022】MPU64は、バッファメモリ62の1転
送単位のコードデータをメインメモリ52の受信バッフ
ァ68に取り込ませ、取り込んだコードデータのヘッダ
から当該コードデータが文字コードであるか、又は符号
コードであるかの判別処理を行わせるコマンド/その制
御情報をプロセッサ54へ転送する。ここで、コマンド
は、バッファメモリ62から受信バッファ68へ転送さ
れたコードデータについてのコード種別の判別、文字列
情報の生成を生じさせるものである。制御情報は、リセ
ット、試験等を含む。
The MPU 64 fetches the code data of one transfer unit of the buffer memory 62 into the receiving buffer 68 of the main memory 52, and the code data is a character code or a code from the header of the fetched code data. The command / control information for executing the determination processing is transferred to the processor 54. Here, the command causes the discrimination of the code type of the code data transferred from the buffer memory 62 to the reception buffer 68 and the generation of the character string information. The control information includes reset, test, etc.

【0023】又、上位インタフェイス部50は、後述す
るようにしてプロセッサ54から終了情報を受け取って
MPU64からバッファメモリ62へ上位装置への転送
形式の終了情報を転送してメインメモリ52の送信バッ
ファ70に書き込まれている所定量、例えば4080バ
イトの符号データを送信バッファ70から読み出してD
AM転送形式でバッファメモリ62に書き込んだ後に、
その所定量の符号データをGPIFインタフェイス部6
0を経て上位装置へ送信する。
The upper interface unit 50 also receives end information from the processor 54 as described later, transfers the end information in the transfer format from the MPU 64 to the buffer memory 62 to the upper device, and sends it to the transmission buffer of the main memory 52. A predetermined amount of code data written in 70, for example, 4080 bytes of code data is read from the transmission buffer 70 and D
After writing to the buffer memory 62 in the AM transfer format,
The predetermined amount of code data is transferred to the GPIF interface unit 6
It is transmitted to the upper device through 0.

【0024】プロセッサ54は、上位インタフェイス部
50からコマンド/制御情報を受け取ったコマンド/制
御情報解析部76でコマンド/制御情報の解析をして受
信バッファ68に書き込まれているコードデータが、文
字コードであるか、又は符号データであるか否かを判別
し、プロセッサ54は文字コードであるとき受信バッフ
ァ68をコード情報バッファ72として使用し、符号コ
ードであるとき受信バッファ68を画情報バッファ74
として使用する受信処理制御をバッファ管理部78に渡
す。又、プロセッサ54は、バッファ管理部78での処
理終了後に、コード情報バッファ72内の一行分の文字
コードずつ文字列情報を生成する制御をコード解析/文
字列編集部80に渡す。文字列情報は、一文字毎に文字
コード、文字種、大きさ、修飾の有無等を含む。コード
解析/文字列編集部80の制御の下にコード情報バッフ
ァ72内の各一行分の文字コードから生成された文字列
情報は、文字列情報バッファ86に書き込まれる。
In the processor 54, when the command / control information analysis unit 76 receives the command / control information from the upper interface unit 50, the command / control information analysis unit 76 analyzes the command / control information. Whether it is a code or code data, the processor 54 uses the reception buffer 68 as a code information buffer 72 when it is a character code, and uses the reception buffer 68 when it is a code code.
The reception processing control used as is passed to the buffer management unit 78. Further, the processor 54 passes control to the code analysis / character string editing unit 80 to generate character string information for each line of character code in the code information buffer 72 after the processing in the buffer management unit 78 is completed. The character string information includes a character code, a character type, a size, presence / absence of modification, etc. for each character. Under the control of the code analysis / character string editing unit 80, the character string information generated from the character code of each line in the code information buffer 72 is written in the character string information buffer 86.

【0025】又、プロセッサ54には、タスク管理され
ているコード解析/文字列編集部80からの文字列情報
生成終了に応答して文字編集部56に対してKPG制御
情報、及び文字列情報バッファ86から文字列情報バッ
ファ88へのDMA転送部へ通知する制御情報を文字編
集部56に与える入出力制御部82がある。この入出力
制御部82は、又復号/符号化部58への演算モード設
定等を行う。エラー/終了情報作成部84は、後述する
ようにバッファメモリ62から1転送単位のコードデー
タが上位装置へ転送されたことの通知を受けたMPU6
4は、デュアルポートRAM66を経てその終了合図を
プロセッサ54のエラー/終了情報作成部84へ送り、
エラー/終了情報作成部84は、文字編集部56、復号
/符号化部58等にエラーがないとき終了情報をデュア
ルポートRAM66を経てMPU64へ送る。MPU6
4は、上位装置へ転送可能な形式の終了情報を作成して
バッファメモリ62、上位インタフェイス部50を介し
て上位装置に正常終了であることを知らせる。エラーが
あるときには、同様か過程を経てエラー情報を上位装置
へ送る。
Further, in response to the completion of generation of the character string information from the code analysis / character string editing unit 80 under task management, the processor 54 instructs the character editing unit 56 to execute the KPG control information and the character string information buffer. There is an input / output control unit 82 that gives control information to the character editing unit 56 to notify the DMA transfer unit from 86 to the character string information buffer 88. The input / output control unit 82 also sets the calculation mode for the decoding / encoding unit 58. The error / end information creation unit 84 receives the notification that the code data of one transfer unit has been transferred from the buffer memory 62 to the higher-level device, as described later.
4 sends the end signal to the error / end information creating unit 84 of the processor 54 via the dual port RAM 66,
The error / end information creating unit 84 sends the end information to the MPU 64 via the dual port RAM 66 when there is no error in the character editing unit 56, the decoding / encoding unit 58 and the like. MPU6
Reference numeral 4 creates end information in a format that can be transferred to the upper device, and informs the upper device of normal end via the buffer memory 62 and the upper interface unit 50. When there is an error, the error information is sent to the host device through the same process.

【0026】プロセッサ54は、上位インタフェイス部
50、メインメモリ52、文字編集部56、及び復号/
符号化部58との間での処理を行うのに必要な動作は、
プログラムにより行われるが、そのプログラムを格納す
るROMは、図示してない。文字編集部56は、メイン
メモリ52の文字列情報バッファ86に生成された文字
列情報をドライバ/レシーバ102を経て受け取る文字
列情報バッファ88を有し、この文字列情報バッファ8
8内の各文字情報に当該文字情報に対応する文字ドット
パターンを生成して復号/符号化部58へ渡すのに用い
られるMPU90、漢字ROM92、外字RAM(デュ
アルポートRAM)94、及びパターン読み出し拡縮回
路96を有して構成される(図6参照)。外字RAM9
4は、文字列情報の生成経路を経て外字ドットパターン
を受け取り、その外字パターンを記憶する。MPU90
は、文字列情報に応答して文字コード、文字パターンの
出力位置情報、文字種、大きさ等の情報をパターン読み
出し拡縮回路96へ転送するほか、メモリ要求信号、並
びに文字ドットパターンを復号/符号化部58の2値静
止画用メモリ(ページメモリ)110に書き込むための
アドレス、制御信号をパターン読み出し拡縮回路96を
介して復号/符号化部58へ供給する。パターン読み出
し拡縮回路96は、MPU90から受け取った文字コー
ド、文字パターンの出力位置情報、文字種、大きさ等の
情報に応答して当該文字コードに対応する文字ドットパ
ターンを復号/符号化部58へ転送する(図4、図6、
図7参照)。図4に示すROM98には、文字列情報に
対応する文字ドットパターンの生成、及び生成された文
字ドットパターンを2値静止画編集用メモリに書き込む
ための制御情報を生成するプログラムが格納されてい
る。
The processor 54 includes a higher-level interface unit 50, a main memory 52, a character editing unit 56, and a decoding / decoding unit.
The operation required to perform processing with the encoding unit 58 is
Although it is performed by a program, the ROM storing the program is not shown. The character editing unit 56 has a character string information buffer 88 that receives the character string information generated in the character string information buffer 86 of the main memory 52 via the driver / receiver 102.
8 is used to generate a character dot pattern corresponding to the character information in each character information in 8 and to pass the character dot pattern to the decoding / encoding unit 58, a Kanji ROM 92, an external character RAM (dual port RAM) 94, and pattern reading / scaling. It has a circuit 96 (see FIG. 6). Gaiji RAM9
Reference numeral 4 receives the external character dot pattern via the character string information generation path and stores the external character pattern. MPU90
In response to the character string information, the character code, the output position information of the character pattern, the character type, the size, and other information are transferred to the pattern reading / reducing circuit 96, and the memory request signal and the character dot pattern are decoded / encoded. An address and a control signal for writing to the binary still image memory (page memory) 110 of the unit 58 are supplied to the decoding / encoding unit 58 via the pattern read / enlargement circuit 96. The pattern read expansion / contraction circuit 96 transfers the character dot pattern corresponding to the character code to the decoding / encoding unit 58 in response to the information such as the character code, the output position information of the character pattern, the character type, and the size received from the MPU 90. (Figure 4, Figure 6,
(See FIG. 7). The ROM 98 shown in FIG. 4 stores a program for generating the character dot pattern corresponding to the character string information and the control information for writing the generated character dot pattern in the binary still image editing memory. .

【0027】復号/符号化部58には、2値静止画用メ
モリ(ページメモリ)110及び復号/符号化回路11
2がある。2値静止画用メモリ110については、その
詳細を以下に説明するが、復号/符号化回路112は、
ドットパターンを符号化し、又画情報バッファ74から
の符号コードを2値静止画に復号化するもので、それ自
体は公知の技術である。
The decoding / encoding unit 58 includes a binary still image memory (page memory) 110 and a decoding / encoding circuit 11.
There are two. The details of the binary still image memory 110 will be described below, but the decoding / encoding circuit 112
The dot pattern is encoded and the code code from the image information buffer 74 is decoded into a binary still image, which is a known technique per se.

【0028】2値静止画用メモリ110は、図7に示す
ように、DRAM120、調停回路122、DRAMコ
ントローラ124、バスドライバ/レシーバ126、及
びバスドライバ/レシーバ128を有し、調停回路12
2は、文字編集部56、復号/符号化回路112、及び
DRAM120との間のバス使用上で生ずる競合を調停
する。バスドライバ/レシーバ126は、復号/符号化
部58とDRAMコントローラ124との間に接続され
ている。バスドライバ/レシーバ128は、文字編集部
56とDRAMコントローラ124との間に接続されて
いる。DRAM120に、SRAMを使用する場合に
は、リフレッシュコントローラ130は不要である。
As shown in FIG. 7, the binary still image memory 110 includes a DRAM 120, an arbitration circuit 122, a DRAM controller 124, a bus driver / receiver 126, and a bus driver / receiver 128, and the arbitration circuit 12
2 arbitrates contention between the character editing unit 56, the decoding / encoding circuit 112, and the DRAM 120 on the use of the bus. The bus driver / receiver 126 is connected between the decoding / encoding unit 58 and the DRAM controller 124. The bus driver / receiver 128 is connected between the character editing unit 56 and the DRAM controller 124. When the SRAM is used for the DRAM 120, the refresh controller 130 is unnecessary.

【0029】調停回路122は、DRAM120のリフ
レッシュ処理と、文字編集部56からの書き込み要求
と、復号/符号化回路112への書き込み要求,又は復
号/符号化回路112からの読み出し要求との間の競合
を調停し、調停されてDRAM120へのアクセスが許
容されたアクセス要求元に対してメモリACK信号を返
送する。
The arbitration circuit 122 is provided between the refresh process of the DRAM 120, the write request from the character editing unit 56, the write request to the decoding / encoding circuit 112, and the read request from the decoding / encoding circuit 112. The contention is arbitrated, and the memory ACK signal is returned to the access request source that is arbitrated and is permitted to access the DRAM 120.

【0030】DRAMコントローラ124は、リフレッ
シュコントローラ130、アクセス信号変換回路13
2、論理演算部134、及び設定/試験部136を有し
て構成される。
The DRAM controller 124 includes the refresh controller 130 and the access signal conversion circuit 13.
2, a logical operation unit 134, and a setting / testing unit 136.

【0031】リフレッシュコントローラ130は、DR
AM120のリフレッシュ動作を制御する公知のもの
で、アドレスカウンタ、リフレッシュカウンタ、制御信
号発生回路を有して構成される。アクセス信号変換回路
132は、アドレス変換及び制御信号変換を行う。アド
レス変換は、アドレス情報を行信号及び列信号に変換す
る。制御信号変換は、書き込み信号及び読み出し信号を
それぞれ行に対してはRAS信号に、列に対してはCA
S信号に変換する。
The refresh controller 130 has a DR
It is a publicly known device that controls the refresh operation of the AM 120, and is configured to have an address counter, a refresh counter, and a control signal generation circuit. The access signal conversion circuit 132 performs address conversion and control signal conversion. The address conversion converts address information into row signals and column signals. The control signal conversion is performed by converting the write signal and the read signal into RAS signals for rows and CA for columns.
Convert to S signal.

【0032】論理演算部134は、通常の文字編集部5
6からの文字のドットパターン、又は復号/符号化回路
112からの復号化されたドットパターンの書き込みの
ときは書き込まれるドットパターンをそのまま通過さ
せ、リード−モディファイ−ライトのときにDRAM1
20から読み出され、ラッチ回路140にラッチされた
ドットパターンと文字編集部56からバスドライバ/レ
シーバ128を経て入力されたドットパターンとの論理
和をDRAM120へ転送する演算を行う。又、DRA
M120に書き込まれた文字のドットパターンに対する
回転処理も行う。リード−モディファイ−ライト時の制
御信号、回転処理制御時の制御信号は、又文字編集部5
6からバスドライバ/レシーバ128を経て与えられる
が、図面を簡単にするため、図6には書き込み/制御信
号として略して示してある。DRAM120内に編集処
理された結果のドットパターンは、符号化時にDRAM
120から読み出されて復号/符号化回路112へ転送
されるが、そのときのドットパターンは、ラッチ回路1
40にラッチされた後に、ドライバ142、そしてバス
ドライバ/レシーバ126を経て復号/符号化回路11
2へ転送される。
The logical operation unit 134 is a normal character editing unit 5
When writing the dot pattern of the character from 6 or the decoded dot pattern from the decoding / encoding circuit 112, the dot pattern to be written is passed through as it is, and the DRAM 1 at the time of read-modify-write.
A calculation is performed to transfer the logical sum of the dot pattern read from the memory 20 and latched in the latch circuit 140 and the dot pattern input from the character editing unit 56 via the bus driver / receiver 128 to the DRAM 120. Also, DRA
The rotation process for the dot pattern of the character written in M120 is also performed. The control signal at the time of read-modify-write and the control signal at the time of rotation processing control are also displayed in the character editing unit 5.
6 through the bus driver / receiver 128, but is shown as a write / control signal in FIG. 6 for simplification of the drawing. The dot pattern resulting from the editing process in the DRAM 120 is stored in the DRAM at the time of encoding.
The dot pattern at that time is read from 120 and transferred to the decoding / encoding circuit 112.
After being latched by 40, the decoding / encoding circuit 11 is passed through the driver 142 and the bus driver / receiver 126.
2 is transferred.

【0033】設定/試験部136は、2値静止画用メモ
リ110の0クリア、及び2値静止画用メモリ110の
エラーチェックを行うもので、アドレス発生回路14
4、制御信号発生回路146、データ発生回路148、
及びデータ比較回路150を有して構成される。0クリ
アは、データ発生回路148から0ビットのバス幅のデ
ータを発生して制御信号発生回路146から発生される
書き込み制御信号に応答して書き込み状態となつたDR
AM120であつて、アドレス発生回路144から発生
されるアドレスで指定されるDRAM120の書き込み
位置に順次に書き込むことにより行われる。エラーチェ
ックは、データ発生回路148から試験データを発生し
て制御信号発生回路146から発生される書き込み制御
信号(RAS信号、CAS信号)に応答して書き込み状
態となつたDRAM120であつて、アドレス発生回路
144から発生されるアドレスで指定されるDRAM1
20の書き込み位置に書き込み、書き込んだ試験データ
をDRAM120から読み出して該読み出されたデータ
と書き込み時のデータとをデータ比較回路150で比較
することにより行われる。
The setting / testing unit 136 clears the binary still image memory 110 to 0 and checks the binary still image memory 110 for errors.
4, control signal generation circuit 146, data generation circuit 148,
And a data comparison circuit 150. The 0 clear is a DR in which the data generation circuit 148 generates 0-bit bus width data and is in a write state in response to a write control signal generated from the control signal generation circuit 146.
The AM 120 is performed by sequentially writing to the writing position of the DRAM 120 designated by the address generated by the address generating circuit 144. The error check is performed on the DRAM 120 which is in a write state in response to a write control signal (RAS signal, CAS signal) generated by the data generation circuit 148 and generated by the control signal generation circuit 146. DRAM1 designated by an address generated from the circuit 144
It is performed by writing the test data at the write position of 20, reading the written test data from the DRAM 120, and comparing the read data with the data at the time of writing by the data comparison circuit 150.

【0034】復号/符号化回路112は、2値静止画用
メモリ110に書き込まれたドットパターンを所定の符
号化方式に従って符号データに符号化して画情報バッフ
ァ74へ転送し、又画情報バッファ74に書き込まれた
符号データを復号化して2値静止画用メモリ110へ転
送するのに用いられる。図4乃至図7において、MPU
90は、図1の行ピッチ変更情報出力手段2に対応し、
パターン読み出し拡縮回路96は、図1のドットパター
ン発生手段4に対応する。DRAM120は、図1及び
図2の記憶手段6に対応し、アクセス信号変換回路13
2及び論理演算部134は、図1及び図2の書き込み手
段8に対応する。MPU90及びパターン読み出し拡縮
回路96は、図2の入力手段5に対応し、パターン読み
出し拡縮回路96、アクセス信号変換回路132、及び
論理演算部134は、読み出し手段10に対応する。ラ
ッチ回路140は、図2の保持手段12に対応し、調停
回路122は、図2の調停手段16に対応する。DRA
M120は、図3のメモリ20に対応する。アクセス信
号変換回路132は、図3のアクセス信号変換回路22
に対応し、論理演算部134は、図3の論理演算回路2
4に対応する。ラッチ回路140は、図3の保持回路2
3に対応する。バスドライバ/レシーバ128は、図3
の第1の入力手段26に対応し、バスドライバ/レシー
バ126は、図3の第2の入力手段28に対応する。調
停回路122は、図3の調停回路30に対応する。バス
ドライバ/レシーバ128、アクセス信号変換回路13
2は、図3の読み出し回路29に対応する。
The decoding / encoding circuit 112 encodes the dot pattern written in the binary still image memory 110 into encoded data according to a predetermined encoding method and transfers the encoded data to the image information buffer 74, or the image information buffer 74. It is used for decoding the coded data written in and transferring it to the binary still image memory 110. 4 to 7, the MPU
90 corresponds to the line pitch change information output means 2 of FIG.
The pattern read expansion / contraction circuit 96 corresponds to the dot pattern generation means 4 in FIG. The DRAM 120 corresponds to the storage unit 6 of FIGS. 1 and 2, and has the access signal conversion circuit 13
2 and the logical operation unit 134 correspond to the writing unit 8 in FIGS. 1 and 2. The MPU 90 and the pattern read expansion / contraction circuit 96 correspond to the input unit 5 of FIG. 2, and the pattern read expansion / compression circuit 96, the access signal conversion circuit 132, and the logical operation unit 134 correspond to the read unit 10. The latch circuit 140 corresponds to the holding means 12 in FIG. 2, and the arbitration circuit 122 corresponds to the arbitration means 16 in FIG. DRA
M120 corresponds to the memory 20 of FIG. The access signal conversion circuit 132 is the access signal conversion circuit 22 of FIG.
Corresponding to, the logical operation unit 134 is the logical operation circuit 2 of FIG.
Corresponds to 4. The latch circuit 140 is the holding circuit 2 of FIG.
Corresponds to 3. The bus driver / receiver 128 is shown in FIG.
Of the bus driver / receiver 126 corresponds to the second input means 28 of FIG. The arbitration circuit 122 corresponds to the arbitration circuit 30 in FIG. Bus driver / receiver 128, access signal conversion circuit 13
2 corresponds to the read circuit 29 of FIG.

【0035】前述のように構成される本発明の文書編集
装置の動作を図4、図5、図6、及び図7を参照して以
下に説明する。文字コードデータ、又は符号コードデー
タからなる変換対象情報、例えば文書は、そのコードデ
ータからドットパターンへの変換に際して、上位装置か
ら転送されて来る。
The operation of the document editing apparatus of the present invention configured as described above will be described below with reference to FIGS. 4, 5, 6 and 7. Conversion target information such as character code data or code code data, for example, a document is transferred from a higher-level device when the code data is converted into a dot pattern.

【0036】その変換を行う対象が文書で、当該文書の
文字列行に異なる大きさの文字が含まれていないとする
(図8の(A)参照)。又、その文書は、説明を簡単に
するために、1つの転送単位で転送し得るものであると
する。その各文字毎に前記変換をするのに必要な制御情
報も、付加されて転送されて来る。その文書を構成する
コードデータは、従来と同様にして上位装置と上位イン
タフェイス部50との間で送受信プロトコル手順が取ら
れて受信できる状態になった後にMPU64からGPI
Fインタフェイス部60へGPIB制御信号を送ること
で受信される。MPU64の制御の下に上位インタフェ
イス部50のGPIFインタフェイス部60を経て受信
されるコードデータは、DAM転送方式でバッファメモ
リ62に書き込まれる。バッファメモリ62に書き込ま
れたコードの開始情報がMPU64で認識されたとき、
その文書をメインメモリ52に取り込むためのコマンド
がMPU64から発行されてデュアルポートRAM6
6、バス55(図4参照)を経てプロセッサ54へ転送
される。
It is assumed that the object to be converted is a document and the character string lines of the document do not include characters of different sizes (see (A) of FIG. 8). Further, it is assumed that the document can be transferred in one transfer unit in order to simplify the explanation. The control information necessary for performing the conversion for each character is also added and transferred. The code data forming the document is transmitted from the MPU 64 to the GPI 64 after the transmission / reception protocol procedure is taken between the host device and the host interface unit 50 in the same manner as in the conventional case, and the state becomes receivable.
It is received by sending a GPIB control signal to the F interface unit 60. Code data received via the GPIF interface unit 60 of the upper interface unit 50 under the control of the MPU 64 is written in the buffer memory 62 by the DAM transfer method. When the start information of the code written in the buffer memory 62 is recognized by the MPU 64,
A command for fetching the document into the main memory 52 is issued from the MPU 64 and the dual port RAM 6
6, transferred to the processor 54 via the bus 55 (see FIG. 4).

【0037】バッファメモリ62に転送単位分のコード
データが蓄積されたことに応答したMPU64からバッ
ファメモリ62と受信バッファ68との間のDMA転送
を行うDMA転送部(図示せず)にDMA転送開始信号
を与える。コマンドを受け取ったコマンド/制御情報解
析部76は、受信バッファ68のコードデータが文字コ
ードであるか、符号コードであるかの判定を行う制御を
バッファ管理部78に渡し、文字列情報バッファ88に
書き込まれた文字列情報内の各文字コードを文字ドット
パターンに変換する制御を入出力制御部82を介して文
字編集部56へ渡す処理を行う。
DMA transfer is started from the MPU 64 to the DMA transfer unit (not shown) which performs DMA transfer between the buffer memory 62 and the reception buffer 68 in response to the accumulation of the code data for the transfer unit in the buffer memory 62. Give a signal. Upon receiving the command, the command / control information analysis unit 76 passes control to the buffer management unit 78 to determine whether the code data in the reception buffer 68 is a character code or a code code, and sends the control to the character string information buffer 88. A process of converting control of each character code in the written character string information into a character dot pattern to the character editing unit 56 via the input / output control unit 82 is performed.

【0038】前述のようにして制御を渡されたバッファ
管理部78は、バッファメモリ62からコードデータを
受信バッファ68に受け取り、受け取ったコードデータ
が文字コードであるか、符号コードであるかを判定す
る。文字コードであるとき、受信バッファ68をコード
情報バッファ72として使用するようにし、符号コード
であるとき、受信バッファ68を画情報バッファ74と
して使用するようにする。前述のように受信されるコー
ドデータは文字コードとする例であるから、受信バッフ
ァ68はコード情報バッファ72として使用される場合
に相当する。
The buffer management unit 78, to which the control is passed as described above, receives the code data from the buffer memory 62 into the reception buffer 68 and determines whether the received code data is a character code or a code code. To do. When it is a character code, the reception buffer 68 is used as the code information buffer 72, and when it is a code code, the reception buffer 68 is used as the image information buffer 74. Since the code data received as described above is an example of a character code, the reception buffer 68 corresponds to the case of being used as the code information buffer 72.

【0039】従って、この場合には、バッファ管理部7
8は、コード解析/文字列編集部80に対してコード情
報バッファ72に書き込まれている文字コード及び制御
情報を解析して文字列情報を文字編集部56に渡す処理
の制御をコード解析/文字列編集部80に対して与え
る。その制御を受けたコード解析/文字列編集部80
は、コード情報バッファ72に書き込まれている文字コ
ード毎にその制御情報に応答して文字コード、出力位置
(記憶基準位置指定情報)、文字種、大きさ、修飾の有
無等を文字列情報バッファ86に設定する。
Therefore, in this case, the buffer management unit 7
Reference numeral 8 is a code analysis / character control for the processing of analyzing the character code and control information written in the code information buffer 72 to the code analysis / character string editing unit 80 and passing the character string information to the character editing unit 56. It is given to the column editing unit 80. Code analysis / character string editing unit 80 under the control
Is a character string information buffer 86 for each character code written in the code information buffer 72 in response to the control information such as the character code, the output position (storage reference position designation information), the character type, the size, and the presence / absence of modification. Set to.

【0040】この設定完了後に、文字編集部56は、プ
ロセッサ54のコマンド/制御情報解析部76をも管理
しているタスク管理プログラム(図示せず)によってコ
ード解析/文字列編集部80による文字列情報の生成処
理の終了が認識されると、入出力制御部82を経て文字
ドットパターン生成制御(KPG制御)を受け取って文
字列情報バッファ86に書き込まれている各文字につい
ての文字列情報に応答して文字ドットパターンを生成す
る。前記KPG制御が与えられるとき文字列情報バッフ
ァ86と文字列情報バッファ88との間のDMA転送も
開始される。前記文字ドットパターンの生成は、次のよ
うにして行われる。
After this setting is completed, the character editing unit 56 uses the task management program (not shown) that also manages the command / control information analyzing unit 76 of the processor 54 to perform the character string analysis by the code analyzing / character string editing unit 80. When the end of the information generation process is recognized, the character dot pattern generation control (KPG control) is received via the input / output control unit 82 and the character string information about each character written in the character string information buffer 86 is responded to. To generate a character dot pattern. When the KPG control is given, DMA transfer between the character string information buffer 86 and the character string information buffer 88 is also started. The generation of the character dot pattern is performed as follows.

【0041】KPG制御が与えられた文字編集部56の
MPU90は、文字列情報バッファ88から1文字の各
種設定情報を読み出してパターン読み出し拡縮回路96
に設定する。この設定が1行内の各文字の大きさが同一
で、文字ドットパターンに変換される文字の拡縮の設定
が行われない場合には、文字コードに対応する文字ドッ
トパターンが漢字ROM92、又は外字RAM94から
読み出され、文字編集部56のパターン読み出し拡縮回
路96からのメモリ要求が復号/符号化部58の調停回
路122で調停されてそのACK信号が文字編集部56
のパターン読み出し拡縮回路96へ返されたとき読み出
された文字ドットパターンは、復号/符号化部58の2
値静止画用メモリ110へ転送される。その転送単位
は、データバス幅、例えば2バイト(1ワード)であ
る。又、そのドットデータを2値静止画用メモリ110
のDRAM120に書き込むアドレス及び書き込み制御
信号が、パターン読み出し拡縮回路96から2値静止画
用メモリ110のアクセス信号変換回路132を経てD
RAM120へ供給される。2値静止画用メモリ110
へ転送されて来たドットデータは、供給されるアドレス
に従って、DRAM120内で文字ドットパターンを形
成するように順次に書き込まれる。例えば、文字ドット
パターンの大きさが、24×24ドットであったとし、
データバス幅が1ワードであったとすると、その文字ド
ットパターンの転送、そして書き込みは、24×24の
第1行目の最初の1ワードが先ず転送されると共に、該
ワードをDRAM120に書き込むためのアドレスがパ
ターン読み出し拡縮回路96から転送されてそのワード
は、DRAM120のアドレスで指定される記憶位置に
書き込まれる。この書き込まれた記憶位置に続くDRA
M120の同一ビット行方向の次の1ワード位置に前記
最初の行内の次の1ワードが同様にして書き込まれる。
The MPU 90 of the character editing unit 56, to which the KPG control is applied, reads out various kinds of setting information for one character from the character string information buffer 88 and reads out the pattern read / enlarge circuit 96.
Set to. When the size of each character in one line is the same and the scaling of the character converted to the character dot pattern is not set, the character dot pattern corresponding to the character code is the Kanji ROM 92 or the external character RAM 94. The memory request from the pattern reading / expansion / reduction circuit 96 of the character editing unit 56 is arbitrated by the arbitration circuit 122 of the decoding / encoding unit 58, and the ACK signal is sent to the character editing unit 56.
The character dot pattern read when it is returned to the pattern reading / expansion / reduction circuit 96 of FIG.
The value is transferred to the still image memory 110. The transfer unit is a data bus width, for example, 2 bytes (1 word). In addition, the dot data is stored in the binary still image memory 110.
The address and the write control signal to be written in the DRAM 120 are transferred from the pattern read expansion / contraction circuit 96 to the access signal conversion circuit 132 of the binary still image memory 110,
It is supplied to the RAM 120. Binary still image memory 110
The dot data transferred to is sequentially written so as to form a character dot pattern in the DRAM 120 according to the supplied address. For example, if the size of the character dot pattern is 24 × 24 dots,
Assuming that the data bus width is 1 word, the transfer and writing of the character dot pattern are performed by first transferring the first 1 word of the first row of 24 × 24 and writing the word to the DRAM 120. The address is transferred from the pattern read / enlargement / reduction circuit 96, and the word is written to the storage location specified by the address in the DRAM 120. DRA following this written storage location
The next 1 word in the first row is similarly written in the next 1 word position in the same bit row direction of M120.

【0042】この第2番目のワードの後半部分は、空白
ドットとして設定されている。その空白(1バイト)の
位置から次の文字ドットパターンの第1のワードが書き
込まれる。これにより、文字ドットパターンを構成する
第1行のドットパターンがDRAM120内にドットパ
ターンとして展開される。そして、前記任意行内の各文
字も、同様にしてドット展開される。これにより、前記
任意行がDRAM120内にドット展開される。
The second half of the second word is set as a blank dot. The first word of the next character dot pattern is written from the position of the blank (1 byte). As a result, the dot pattern of the first row forming the character dot pattern is developed as a dot pattern in the DRAM 120. Then, each character in the arbitrary line is similarly dot-developed. As a result, the arbitrary row is dot-developed in the DRAM 120.

【0043】このような展開処理は、第2行以降の各行
についても同様にしてドット展開される。このようなド
ット展開が文書の各行について行われることにより、当
該文書は、DRAM120内にドット展開される。又、
このようなドット展開中にリフレッシュコントローラ1
30により、DRAM120のリフレッシュ処理が、文
字編集部56及び復号/符号化部58との間での競合を
回避されつつ行われる。このリフレッシュ処理自体は、
従来公知の技術である。
In the expansion processing as described above, dot expansion is similarly performed for each of the second and subsequent rows. By performing such dot expansion for each line of the document, the document is dot expanded in the DRAM 120. or,
During such dot development, refresh controller 1
30, the refresh process of the DRAM 120 is performed while avoiding the conflict between the character editing unit 56 and the decoding / encoding unit 58. This refresh process itself is
This is a conventionally known technique.

【0044】前述のようにして、DRAM120に展開
された文書ドットパターン全体に対する読み出しの起動
が入出力制御部82から掛けられる。この読み出しにお
いても、調停回路122による調停が為される。即ち、
復号/符号化回路112によるメモリ要求が、調停回路
122によって受け入れられたとき、復号/符号化回路
112によるDRAM120からの読み出しに対してア
クセス権が与えられる。
As described above, the reading start for the entire document dot pattern expanded in the DRAM 120 is activated from the input / output control unit 82. Also in this reading, arbitration is performed by the arbitration circuit 122. That is,
When the memory request by the decoding / encoding circuit 112 is accepted by the arbitration circuit 122, the access right is given to the reading from the DRAM 120 by the decoding / encoding circuit 112.

【0045】このようにして、その文書ドットパターン
を構成する1ドット行ずつの読み出しが行われ、復号/
符号化回路112で例えばMH符号化方式による符号化
処理を施される。このような符号化処理自体は、公知の
技術である。その符号コードは、入出力制御部82の制
御の下に復号/符号化部58のドライバ/レシーバ10
3を経て画情報バッファ74に書き込まれ、所定の転送
単位、例えば4028バイトが蓄積されたとき、その旨
が上位インタフェイス部50のMPU64へ伝えられる
と共に、画情報バッファ74とされ、その送信バッファ
70からバッファメモリ62へのDMA転送が行われ
る。そのバッファメモリ62からGPIFインタフェイ
ス部60を介して上位装置への転送が終了すると、その
合図がMPU64へ伝達される。
In this manner, the reading of each dot line forming the document dot pattern is performed, and the decoding / decoding is performed.
The encoding circuit 112 performs an encoding process using, for example, the MH encoding method. Such an encoding process itself is a known technique. The code is stored in the driver / receiver 10 of the decoding / encoding unit 58 under the control of the input / output control unit 82.
3 is written in the image information buffer 74, and when a predetermined transfer unit, for example, 4028 bytes is accumulated, the fact is transmitted to the MPU 64 of the upper interface unit 50, and the image information buffer 74 is used as the transmission buffer. DMA transfer from 70 to the buffer memory 62 is performed. When the transfer from the buffer memory 62 to the host device via the GPIF interface unit 60 is completed, the signal is transmitted to the MPU 64.

【0046】そのMPU64は、デュアルポートRAM
66を介してエラー/終了情報作成部84へ転送終了が
伝えられる。エラー/終了情報作成部84は、文字編集
部56、復号/符号化部58等にエラーがなければ、終
了情報を作成してデュアルポートRAM66に書き込ん
だ後MPU64へ転送される。MPU64は、前記終了
情報に応答して送信可能な符号コードに変換してバッフ
ァメモリ62に書き込む。バッファメモリ62の符号コ
ードは、MPU64の制御の下にGPIFインタフェイ
ス部60を経て上位装置へ転送される。
The MPU 64 is a dual port RAM
The transfer end is transmitted to the error / end information creating unit 84 via 66. If there is no error in the character editing unit 56, the decoding / encoding unit 58, etc., the error / end information creating unit 84 creates the end information, writes it in the dual port RAM 66, and then transfers it to the MPU 64. In response to the end information, the MPU 64 converts it into a transmittable code and writes it in the buffer memory 62. The code code of the buffer memory 62 is transferred to the host device via the GPIF interface unit 60 under the control of the MPU 64.

【0047】次に、上位装置から与えられる文書の文字
コードに異なる大きさの文字コードが含まれている場合
について説明する。この場合の処理は、文字編集部56
の文字列情報バッファ88に文字列情報が書き込まれる
までの処理は、前述の文字コードで表される文字の大き
さが同一である場合と同様である。
Next, a case will be described in which the character codes of the document given from the host device include character codes of different sizes. The processing in this case is performed by the character editing unit 56.
The process until the character string information is written in the character string information buffer 88 is the same as that when the size of the character represented by the character code is the same.

【0048】今、説明の都合上、文字列情報バッファ8
8に書き込まれている文字の種類は、図8の(B)に示
すように、大小2つであるとする。その2つの文字の大
小関係は、説明の都合上、大きい文字は、縦横が小さい
文字に対して二倍であるとする。文字間隔は文字の大小
に関係なく同じであるとする。文字コードを文字ドット
パターンに変換する処理自体は、文字の大きさが同一で
ある場合と同じである。文字ドットパターンに変換され
た文字が、小さい文字のものである文字ドットパターン
に対しては、パターン読み出し拡縮回路96において大
きい文字の行ピッチを埋めるに足りる白ドット行が付加
されて行ピッチを大きい文字の行ピッチに合わせられ、
前述の文字コードで表される文字の大きさが同一である
場合と同様にして2値静止画用メモリ110へ転送され
て2値静止画用メモリ110に書き込まれる。又、行ピ
ッチの大きい文字は、漢字ROM92、又は外字RAM
94から読み出された文字ドットパターンは、パターン
読み出し拡縮回路96に与えられる文字の大きさ情報に
応答してその大きさ情報で指定される大きさまで拡大処
理される。この拡大処理された文字ドットパターンの最
上位行のドット行から最下位のドット行までのビット
は、前述した文字の大きさが同一である場合と同様にし
て、復号/符号化部58の2値静止画用メモリ110へ
転送される。大きい文字ドットパターンの転送は、文字
行内の文字の大きさが同一である場合に比して、4倍の
転送量になる。
For convenience of explanation, the character string information buffer 8 will now be described.
It is assumed that the types of characters written in 8 are large and small, as shown in FIG. For the sake of explanation, it is assumed that the size relationship between the two characters is twice as large as that in small characters. Character spacing is assumed to be the same regardless of the size of the characters. The process itself of converting a character code into a character dot pattern is the same as when the character size is the same. For a character dot pattern in which a character converted into a character dot pattern is a small character, the pattern read enlargement / reduction circuit 96 adds a white dot row sufficient to fill the line pitch of a large character to increase the row pitch. Aligned to the line pitch of the letters,
Similarly to the case where the size of the character represented by the character code is the same, the data is transferred to the binary still image memory 110 and written in the binary still image memory 110. For characters with a large line pitch, the Kanji ROM 92 or Gaiji RAM
The character dot pattern read from 94 is enlarged in response to the character size information provided to the pattern read / reduce circuit 96 to a size designated by the size information. The bits from the uppermost dot line to the lowermost dot line of this enlarged character dot pattern are 2 bits of the decoding / encoding unit 58 in the same manner as in the case where the character size is the same as described above. The value is transferred to the still image memory 110. The transfer of a large character dot pattern requires four times the transfer amount as compared with the case where the size of characters in a character line is the same.

【0049】前述のようにして文字ドットパターンに変
換された文字の2値静止画用メモリ110のDRAM1
20への書き込みは、その書き込み回数が増えることを
除いて同じである。そして、文書の各行は同様にして書
き込まれ、文書全体がDRAM120内にドット展開さ
れる。このようにしてDRAM120にドット展開され
た文書は、復号/符号化回路112において符号コード
に変換されるが、その符号化処理も、文字の大きさを同
一とした場合と同様であり、符号コードの上位装置への
転送も又同じである。
The DRAM 1 of the binary still image memory 110 of the character converted into the character dot pattern as described above.
Writing to 20 is the same except that the number of times of writing increases. Then, each line of the document is written in the same manner, and the entire document is dot-developed in the DRAM 120. The document dot-developed in the DRAM 120 is converted into a code code in the decoding / encoding circuit 112, and the encoding process is the same as when the character size is the same. The transfer to the higher-level device is also the same.

【0050】次に、文字ドットパターンと文字ドットパ
ターンとを重ね合わせる処理について説明する。この場
合には、重ね合わせられる一方の文字ドットパターン
は、DRAM120に予め格納されており、重ね合わせ
られる一方の文字ドットパターンが、文字の大きさを同
一とした場合と同様にして文字編集部56から復号/符
号化部58の2値静止画用メモリ110へ転送される。
Next, the process of superposing the character dot pattern and the character dot pattern will be described. In this case, one character dot pattern to be superimposed is stored in the DRAM 120 in advance, and one character dot pattern to be superimposed has the same character size as the character editing unit 56. To the binary still image memory 110 of the decoding / encoding unit 58.

【0051】この転送に先だって、前述と同様の調停回
路122による調停が為される。その調停により、文字
編集部56に対してDRAM120へのアクセス権が与
えられたとき、前記転送が為される。又、パターン読み
出し拡縮回路96へ与えられる制御信号は、文字の大き
さを同一とした場合と同様であるが、文字編集部56の
パターン読み出し拡縮回路96からバスドライバ/レシ
ーバ128を経てアクセス信号変換回路132へ供給さ
れる制御信号は、リード−モディファイ−ライトの制御
信号となる。この制御信号により、先ずDRAM120
に書き込まれておつて重ね合わせの対象となる文字ドッ
トパターンのアドレスがアクセス信号変換回路132へ
与えられ、そのアドレスで指定される読み出し幅(例え
ば、前述のように1ワード幅)のドット情報がDRAM
120から読み出されてラッチ回路140にラッチされ
た後、ラッチされている1ワードとこれに対応するパタ
ーン読み出し拡縮回路96からの1ワードとが論理演算
回路134で論理和を取られて合成され、合成された1
ワードは、DRAM120へ転送されてラッチ回路14
0にラッチされた1ワードが記憶されていた1ワードの
記憶位置に書き込まれる。このような読み出し−合成−
書き込みの動作が、合成対象の全バイトについて行われ
る。これにより、文字ドットパターンと文字ドットパタ
ーンとの合成を行うことができる。例えば、aと○とを
合成して○の中にaを有する合成文字を作成することが
できる。
Prior to this transfer, arbitration by the same arbitration circuit 122 as described above is performed. By the arbitration, when the character editing unit 56 is given an access right to the DRAM 120, the transfer is performed. The control signal supplied to the pattern read / expansion / reduction circuit 96 is the same as that when the size of the character is the same, but the access signal conversion is performed from the pattern read / expansion / reduction circuit 96 of the character editing unit 56 via the bus driver / receiver 128. The control signal supplied to the circuit 132 becomes a read-modify-write control signal. With this control signal, first, the DRAM 120
The address of the character dot pattern to be superimposed and written to the access signal conversion circuit 132 is given, and the dot information of the read width (for example, one word width as described above) designated by the address is written. DRAM
After being read from 120 and latched by the latch circuit 140, one word that has been latched and one word from the pattern read expansion / contraction circuit 96 corresponding to this are logically summed by the logical operation circuit 134 and combined. , The synthesized one
The word is transferred to the DRAM 120 and latched by the latch circuit 14.
The 1 word latched at 0 is written to the 1-word storage location where it was stored. Such read-composition-
The write operation is performed for all bytes to be combined. As a result, the character dot pattern and the character dot pattern can be combined. For example, a and o can be combined to create a composite character having a in a o.

【0052】前述のようなリード−モディファイ−ライ
トの制御を行うことにより、1回のサイクル中にリード
動作とライト動作を行うため、通常のアクセスサイクル
と同じサイクルとなるから、リード−モディファイ−ラ
イトの動作を用いない場合に比して、アクセスサイクル
が半分以下になる。又、論理演算内容を変更することに
より、白抜き文字、文字の90゜回転等の種々多彩な特
殊処理を行うことができる。
By performing the read-modify-write control as described above, the read operation and the write operation are performed in one cycle, so that the cycle becomes the same as a normal access cycle. Therefore, the read-modify-write operation is performed. The access cycle is reduced to half or less as compared with the case where the above operation is not used. Further, by changing the content of the logical operation, various various special processing such as blank characters and 90 ° rotation of the characters can be performed.

【0053】更に、前述のような文字ドットパターンと
文字ドットパターンとの合成(漢字ドットパターンと漢
字ドットパターンとの合成を含む)だけでなく、文字ド
ットパターンと画ドットパターンとの合成、及び画ドッ
トパターン同士間の合成も可能になる。文字ドットパタ
ーンと画ドットパターンとの合成の場合には、前述と同
様にそのいずれか一方が前以ってDRAM120に予め
書き込まれる。前以ってDRAM120に書き込まれて
いる画ドットパターンは、上位装置から符号コードで転
送されて来て上位インタフェイス部50のGPIFイン
タフェイス部60、バッファメモリ62、そして受信バ
ッファ68に書き込まれ、その受信バッファ68が画情
報バッファ74として用いられつつ、復号/符号化回路
112で画ドットパターンに復号化される。復号化され
た画ドットパターンのDRAM120への1ワード毎の
書き込みアドレスは、上位装置から上位インタフェイス
部50へ転送され、そのバッファメモリ62からMPU
64に取り込まれ、コマンドに乗せてプロセッサ54へ
転送される。前記書き込みアドレスが固定の場合には、
MPU64によりコマンドに乗せてプロセッサ54へ転
送される。前記コマンドには、書き込み制御情報も設定
される。
Furthermore, not only the above-described combination of character dot patterns and character dot patterns (including combination of Kanji dot patterns and Kanji dot patterns), but also combination of character dot patterns and image dot patterns, and image It is also possible to combine dot patterns. In the case of combining the character dot pattern and the image dot pattern, either one of them is previously written in the DRAM 120 in advance, as described above. The image dot pattern previously written in the DRAM 120 is transferred by a code code from the upper device and is written in the GPIF interface unit 60, the buffer memory 62, and the reception buffer 68 of the upper interface unit 50. While the reception buffer 68 is used as the image information buffer 74, it is decoded into an image dot pattern by the decoding / encoding circuit 112. The write address for each word of the decoded image dot pattern to the DRAM 120 is transferred from the upper device to the upper interface unit 50, and the buffer memory 62 outputs the MPU.
It is taken in by 64 and is transferred to the processor 54 along with the command. If the write address is fixed,
The command is transferred by the MPU 64 to the processor 54. Write control information is also set in the command.

【0054】復号/符号化回路112で復号化された画
ドットパターンの2値静止画用メモリ110への転送に
先だって、前述と同様の調停回路122による調停が為
される。復号/符号化回路112にDRAM120への
アクセス権が与えられたときに、復号/符号化回路11
2で復号化された画ドットパターンは、復号/符号化回
路112から2値静止画用メモリ110のDRAM12
0へのバス幅(例えば、1ワード)で順次に2値静止画
用メモリ110へ転送される。又、プロセッサ54のコ
マンド/制御情報解析部76へ上位インタフェイス部5
0のMPU64から順次に転送されたコマンドのアドレ
ス及び書き込み制御情報は、コマンド/制御情報解析部
76から入出力制御部82、そして2値静止画用メモリ
110のバスドライバ/レシーバ126を経てアクセス
信号変換回路132へ与えられ、そこでアドレス変換及
び制御情報変換が為されてDRAM120へ供給される
ことにより、前記バス幅の画ドットパターンの1ワード
の各々は、前記アドレスで指定されるDRAM120の
記憶位置に書き込まれる。
Prior to the transfer of the image dot pattern decoded by the decoding / encoding circuit 112 to the binary still image memory 110, the same arbitration circuit 122 performs arbitration. When the decoding / encoding circuit 112 is given an access right to the DRAM 120, the decoding / encoding circuit 11
The image dot pattern decoded in 2 is transmitted from the decoding / encoding circuit 112 to the DRAM 12 of the binary still image memory 110.
Data is sequentially transferred to the binary still image memory 110 with a bus width of 0 (for example, 1 word). In addition, the command / control information analyzing unit 76 of the processor 54 is connected to the upper interface unit 5
The address and write control information of the command sequentially transferred from the MPU 64 of 0 access signal is passed through the command / control information analysis unit 76, the input / output control unit 82, and the bus driver / receiver 126 of the binary still image memory 110. By being supplied to the conversion circuit 132, subjected to address conversion and control information conversion and supplied to the DRAM 120, each one word of the image dot pattern of the bus width is stored in the DRAM 120 at the storage position specified by the address. Written in.

【0055】このようにしてDRAM120に書き込ま
れている画ドットパターンへの文字ドットパターンの重
ね合わせは、前述した文字ドットパターンと文字ドット
パターンとの重ね合わせの場合と同様な読み出し動作、
合成動作、そして書き込み動作(リード−モディファイ
−ライトの処理動作)を生ぜしめることにより、達成さ
れる。
In this way, the character dot pattern is superimposed on the image dot pattern written in the DRAM 120 in the same reading operation as in the case of the character dot pattern and the character dot pattern described above.
This is achieved by producing a combining operation and a writing operation (read-modify-write processing operation).

【0056】又、画ドットパターンと画ドットパターン
との重ね合わせも、ほぼ同様である。即ち、一方の画ド
ットパターンは、予め前述と同様にしてDRAM120
に書き込まれ、その後他方の画ドットパターンが前述と
同様にして復号/符号化部58の2値静止画用メモリ1
10へ転送される。そのいずれの2値静止画用メモリ1
10のDRAM120への書き込みの場合にも、調停回
路122による調停が為されて書き込みアクセスが許容
されたときに前記書き込みが行われる。その後者の書き
込みに際して、リード−モディファイ−ライトの処理動
作において論理演算部134での論理和が取られること
よにり、画ドットパターンと画ドットパターンとの重ね
合わせが生ぜしめられ、その結果がDRAM120に書
き込まれる。その書き込みは、文字ドットパターンと文
字ドットパターンとの重ね合わせにおける書き込みと同
様である。
The superposition of the image dot patterns and the image dot patterns is almost the same. That is, one image dot pattern has the DRAM 120 in advance in the same manner as described above.
, And then the other image dot pattern is written into the binary still image memory 1 of the decoding / encoding unit 58 in the same manner as described above.
Transferred to 10. Any of the binary still image memory 1
Also in the case of writing data to the DRAM 120 of 10, the writing is performed when the arbitration circuit 122 arbitrates and the write access is permitted. At the time of writing by the latter person, the logical operation unit 134 takes the logical sum in the processing operation of the read-modify-write, so that the image dot pattern and the image dot pattern are superposed, and the result is obtained. It is written in the DRAM 120. The writing is the same as the writing in the superposition of the character dot pattern and the character dot pattern.

【0057】次に、文書の副走査方向についての文字編
集処理について説明する。文字編集部56のパターン読
み出し拡縮回路96が、2値静止画用メモリ110の論
理演算部134を経てDRAM120に文字ドットパタ
ーンを書き込もうとするとき、パターン読み出し拡縮回
路96は、文書の列方向の各文字コード毎の文字ドット
パターンの生成を行い、このようにして生成された文字
ドットパターンは、前述と同様にして復号/符号化部5
8の論理演算部134へ転送される。又、このとき、そ
のパターン読み出し拡縮回路96に対して文字ドットパ
ターンを時計式方向に90゜の回転を生じさせる制御指
示を送る。
Next, the character editing process in the sub-scanning direction of the document will be described. When the pattern read expansion / contraction circuit 96 of the character editing unit 56 tries to write a character dot pattern into the DRAM 120 via the logical operation unit 134 of the binary still image memory 110, the pattern read expansion / contraction circuit 96 outputs the data in the column direction of the document. A character dot pattern is generated for each character code, and the character dot pattern thus generated is decoded / encoded by the decoding / encoding unit 5 in the same manner as described above.
8 to the logical operation unit 134. At this time, a control instruction for causing the character dot pattern to rotate 90 ° in the clockwise direction is sent to the pattern reading / expansion / contraction circuit 96.

【0058】これにより、各文字ドットパターンは、時
計式方向への90゜の回転を与えられて列方向と同一順
番の行内に順次に展開される。このような展開は、各列
毎に生ぜしめられる。DRAM120に展開されたドッ
トパターンの文書の符号化は、各文字ドットパターンが
時計式方向への90゜の回転を与えられているから、用
紙に対して横方向に編集され、その符号化自体は、前述
と同様である。
As a result, each character dot pattern is given 90 ° rotation in the clockwise direction and sequentially developed in the row in the same order as the column direction. Such an expansion occurs for each row. The dot pattern document encoded in the DRAM 120 is edited laterally with respect to the paper because each character dot pattern is given a 90 ° rotation in the clockwise direction. The same as above.

【0059】最後に、DRAMコントローラ124によ
るDRAM120のクリア処理及び試験処理について説
明する。DRAM120のクリア処理は、設定/試験部
136のデータ発生回路148から例えばオール0の1
ワードのクリアデータを発生し、そのクリアデータをD
RAM120の1ワード書き込み位置に書き込むための
アドレスをアドレス発生回路144から発生すると共
に、DRAM120への書き込み制御信号を制御信号発
生回路146から発生することにより、DRAM120
の例えば0クリアを行うことができる。この場合、文字
編集部56及び復号/符号化部58は、DRAM120
へのアクセスを停止される。
Finally, the clear processing and test processing of the DRAM 120 by the DRAM controller 124 will be described. The clearing process of the DRAM 120 is performed by the data generating circuit 148 of the setting / testing unit 136, for example, 1 of all 0.
Generates word clear data and D
By generating an address for writing in the 1-word write position of the RAM 120 from the address generating circuit 144 and generating a write control signal for the DRAM 120 from the control signal generating circuit 146, the DRAM 120
For example, 0 clear can be performed. In this case, the character editing unit 56 and the decoding / encoding unit 58 are operated by the DRAM 120.
Access to be suspended.

【0060】このクリア処理は、ハードウェアで行うこ
とができるから、初期化時間の短縮となる。又、試験デ
ータをデータ発生回路148から発生させ、試験データ
をDRAM120の全領域、又は所定の領域に書き込む
ためのアドレスをアドレス発生回路144から発生する
と共に、DRAM120への書き込み制御信号を制御信
号発生回路146から発生して試験データを前記アドレ
スで指定されるDRAM120の記憶位置に書き込む。
その後に、アドレス発生回路144から前記書き込んだ
データを読み出すためのアドレスを発生して該データを
読み出し、読み出したデータと前記試験データとをデー
タ比較回路150で比較してその1ワードの記憶位置の
試験を行う。このような試験を各1ワード記憶位置毎に
行いことにより、DRAM120の試験を行うことがで
きる。この場合、文字編集部56及び復号/符号化部5
8は、DRAM120へのアクセスを停止される。
Since this clearing process can be performed by hardware, the initialization time can be shortened. Further, test data is generated from the data generation circuit 148, an address for writing the test data in the entire area of the DRAM 120 or a predetermined area is generated from the address generation circuit 144, and a write control signal to the DRAM 120 is generated as a control signal. The test data generated from the circuit 146 is written in the storage location of the DRAM 120 designated by the address.
After that, an address for reading the written data is generated from the address generation circuit 144, the data is read, the read data and the test data are compared by the data comparison circuit 150, and the storage position of one word is stored. Perform the test. The DRAM 120 can be tested by performing such a test for each one-word storage position. In this case, the character editing unit 56 and the decoding / encoding unit 5
In No. 8, access to the DRAM 120 is stopped.

【0061】この試験処理は、ハードウェアで行うこと
ができるから、メモリチェック時間の短縮となる。
Since this test processing can be performed by hardware, the memory check time can be shortened.

【0062】[0062]

【発明の効果】以上述べたように本発明によれば、任意
の行ピッチを設定し得るようにしているから、文書の同
一行に異なる大きさの文字が含まれていたとしても、そ
の行内の各文字を文字ドットパターンに展開することが
できる。又、ドット展開された文字をその後に読み出し
得るようにしたから、文字ドットパターンと文字ドット
パターンとの合成を行うことができる。画ドットパター
ン間についても同様であり、又文字ドットパターンと画
ドットパターンとの合成もできる。列方向の文字ドット
パターンの行方向への展開により、文書の副走査方向に
ついての編集処理も可能になる。
As described above, according to the present invention, an arbitrary line pitch can be set. Therefore, even if characters of different sizes are included in the same line of a document, the lines within that line can be set. Each character of can be expanded to a character dot pattern. Further, since the characters in which dots are expanded can be read out after that, the character dot pattern and the character dot pattern can be combined. The same applies between the image dot patterns, and the character dot pattern and the image dot pattern can be combined. By developing the character dot pattern in the column direction in the row direction, editing processing in the sub-scanning direction of the document becomes possible.

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

【図1】請求項4記載の発明の原理ブロック図である。FIG. 1 is a block diagram of the principle of the invention according to claim 4;

【図2】請求項5乃至請求項7記載の発明の原理ブロッ
ク図である。
FIG. 2 is a principle block diagram of the invention according to claims 5 to 7.

【図3】請求項8乃至請求項10記載の発明の原理ブロ
ック図である。
FIG. 3 is a principle block diagram of the invention described in claims 8 to 10.

【図4】請求項1乃至請求項10記載の発明の一実施例
を示す図である。
FIG. 4 is a diagram showing an embodiment of the invention described in claims 1 to 10.

【図5】図4に示す実施例の処理の流れの一部を示す図
である。
5 is a diagram showing a part of the processing flow of the embodiment shown in FIG. 4;

【図6】図4に示す実施例の処理の流れの残部を示す図
である。
FIG. 6 is a diagram showing the rest of the processing flow of the embodiment shown in FIG.

【図7】2値静止画編集用メモリの構成を示す図であ
る。
FIG. 7 is a diagram showing a configuration of a binary still image editing memory.

【図8】図4に示す実施例による編集結果を示す図であ
る。
FIG. 8 is a diagram showing an edited result according to the embodiment shown in FIG.

【図9】従来の文書編集装置の概念図である。FIG. 9 is a conceptual diagram of a conventional document editing apparatus.

【図10】図9に示す文書編集装置による編集結果を示
す図である。
10 is a diagram showing an editing result by the document editing apparatus shown in FIG.

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

2 行ピッチ変更情報出力手段 4 ドットパターン発生手段 5 入力手段 6 記憶手段 8 書き込み手段 10 読み出し手段 12 保持手段 14 演算手段 20 メモリ 22 アクセス信号変換回路 23 保持回路 24 論理演算回路 26 第1の入力手段 28 第2の入力手段 30 調停回路 90 MPU 96 パターン読み出し拡縮回路 120 DRAM 122 調停回路 126 バスドライバ/レシーバ 128 バスドライバ/レシーバ 132 アクセス信号変換回路 134 論理演算部 140 ラッチ回路 2 Row pitch change information output means 4 Dot pattern generation means 5 Input means 6 Storage means 8 Writing means 10 Reading means 12 Holding means 14 Arithmetic means 20 Memory 22 Access signal conversion circuit 23 Holding circuit 24 Logical operation circuit 26 First input means 28 second input means 30 arbitration circuit 90 MPU 96 pattern reading expansion / contraction circuit 120 DRAM 122 arbitration circuit 126 bus driver / receiver 128 bus driver / receiver 132 access signal conversion circuit 134 logical operation unit 140 latch circuit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G09G 5/24 640 9377−5H G09G 5/24 640 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical display location G09G 5/24 640 9377-5H G09G 5/24 640

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 コードのドットパターンへの変換率を判
定し、 コードを判定された変換率の大きさのドットパターンに
変換し、 先行して記憶されたドットパターン列と重ならないよう
に変換されたドットパターンの記憶基準位置を揃えて記
憶することを特徴とするドット−パターン変換方法。
1. A conversion rate of a code into a dot pattern is determined, a code is converted into a dot pattern having a determined conversion rate, and conversion is performed so as not to overlap a previously stored dot pattern sequence. A dot-pattern conversion method, characterized in that the storage reference positions of the dot patterns are aligned and stored.
【請求項2】 第1のコードを第1のドットパターンに
変換して記憶し、 記憶された第1のドットパターンを読み出して保持し、 第2のコードを第2のドットパターンに変換し、 前記保持されている第1のドットパターンと前記変換さ
れた第2のドットパターンとを論理的に合成し、 合成されたドットパターンを記憶することを特徴とする
ドット−パターン変換方法。
2. The first code is converted into a first dot pattern and stored, the stored first dot pattern is read out and held, and the second code is converted into a second dot pattern, A dot-pattern conversion method comprising logically combining the held first dot pattern and the converted second dot pattern and storing the combined dot pattern.
【請求項3】 副走査方向の文字コードを順次にドット
パターンに変換し、 該文字ドットパターンを時計式方向に90゜回転させて
記憶する動作を副走査方向の各文字コード列の文字コー
ド毎に繰り返して行い、 記憶されたドットパターンを主走査方向に読み出して符
号化することを特徴とするドット−パターン変換方法。
3. An operation of sequentially converting a character code in the sub-scanning direction into a dot pattern and rotating the character dot pattern by 90 ° in the clockwise direction and storing the operation is performed for each character code of each character code string in the sub-scanning direction. The dot-pattern conversion method is characterized in that the stored dot pattern is read out in the main scanning direction and encoded.
【請求項4】 コードを受信してドットパターンに変換
する文書編集装置において、 受信した文字コードの文字行に大小の文字を含むとき大
きい文字についての行ピッチに前記文字行の行ピッチに
変更させる行ピッチ変更情報を出力する行ピッチ変更情
報出力手段と、 前記行ピッチ変更情報に応答して各文字毎に当該文字の
大きさの文字ドットパターンであって、且つ行ピッチを
前記行ピッチ変更情報に応じた行ピッチの文字ドットパ
ターンに変換し、且つ変換された文字ドットパターンの
記憶基準位置指定情報を発生するドットパターン発生手
段と、 文字ドットパターンの行を複数記憶する記憶手段と、 前記ドットパターン発生手段から発生される文字ドット
パターンの各々を前記記憶基準位置指定情報で指定され
る前記記憶手段の記憶位置に書き込む書き込み手段とを
設けたことを特徴とする文書編集装置。
4. A document editing device for receiving a code and converting it into a dot pattern, when the character line of the received character code includes large and small characters, the line pitch of the large character is changed to the line pitch of the character line. Line pitch change information output means for outputting line pitch change information; and a character dot pattern of the size of the character for each character in response to the line pitch change information, and the line pitch is the line pitch change information. A dot pattern generating means for converting into a character dot pattern having a line pitch corresponding to, and generating storage reference position designation information of the converted character dot pattern; a storage means for storing a plurality of lines of the character dot pattern; Storage of the storage means in which each of the character dot patterns generated by the pattern generation means is designated by the storage reference position designation information Document editing apparatus characterized in that a writing means for writing the location.
【請求項5】 コードを受信してドットパターンに変換
する文書編集装置において、 予め決められた行ピッチの第1のドットパターン及び記
憶基準位置指定情報を入力する入力手段と、 文字ドットパターンの行を複数記憶する記憶手段と、 前記入力手段から入力される文字ドットパターンの各々
を前記記憶基準位置指定情報で指定される前記記憶手段
の記憶位置に書き込む書き込み手段と、 前記記憶手段から重ね合わせ対象の第2のドットパター
ンを読み出す読み出し手段と、 保持手段を有する演算手段と、 前記入力手段及び前記読み出し手段に接続され、該入力
手段及び該読み出し手段による前記記憶手段へのアクセ
ス競合を調停する調停手段とを設け、 前記調停手段により調停されて前記記憶手段から読み出
されたドットパターンを前記保持手段に保持した後に、
前記調停手段により調停されて前記演算手段に入力され
たドットパターンと、前記保持手段に保持されたドット
パターンとを合成し、合成されたドットパターンを前記
書き込み手段により前記記憶手段に記憶させることを特
徴とする文書編集装置。
5. A document editing apparatus for receiving a code and converting it into a dot pattern, an input means for inputting a first dot pattern having a predetermined line pitch and storage reference position designation information, and a line for a character dot pattern. Storage means for storing a plurality of characters, writing means for writing each of the character dot patterns input from the input means to a storage position of the storage means designated by the storage reference position designation information, and an overlay target from the storage means. Read-out means for reading the second dot pattern, arithmetic means having a holding means, and arbitration connected to the input means and the read-out means to arbitrate access competition to the storage means by the input means and the read-out means. Means for arbitrating the dot pattern read out from the storage means by the arbitration means. After holding the serial holding means,
The dot pattern arbitrated by the arbitration unit and input to the arithmetic unit and the dot pattern held by the holding unit are combined, and the combined dot pattern is stored in the storage unit by the writing unit. Characteristic document editing device.
【請求項6】 請求項5記載の文書編集装置において、 前記第1のドットパターンは、第1の文字ドットパター
ン、又は第1の画ドットパターンであり、前記第2のド
ットパターンは、第2の文字ドットパターン、又は第2
の画ドットパターンであることを特徴とする文書編集装
置。
6. The document editing apparatus according to claim 5, wherein the first dot pattern is a first character dot pattern or a first image dot pattern, and the second dot pattern is a second character dot pattern. Character dot pattern, or second
A document editing device having the image dot pattern of.
【請求項7】 請求項6記載の文書編集装置において、 入力手段は、受信したコードの文字行に大小の文字を含
むとき大きい文字についての行ピッチに前記文字行の行
ピッチに変更させる行ピッチ変更情報を出力する行ピッ
チ変更情報出力手段と、 前記行ピッチ変更情報に応答して各文字毎に当該文字の
大きさの文字ドットパターンであって、且つ行ピッチを
前記行ピッチ変更情報に応じた行ピッチの文字ドットパ
ターンに変換し、且つ変換された文字ドットパターンの
記憶基準位置指定情報を発生するドットパターン発生手
段とで構成されることを特徴とする文書編集装置。
7. The document editing apparatus according to claim 6, wherein the input means changes a line pitch of a large character to a line pitch of the character line when the character line of the received code includes large and small characters. Line pitch change information output means for outputting change information, and a character dot pattern of the size of the character for each character in response to the line pitch change information, and a line pitch according to the line pitch change information And a dot pattern generating means for generating storage reference position designation information of the converted character dot pattern, and a document editing apparatus.
【請求項8】 メモリと、 入力されるアクセス信号を前記メモリのためのアクセス
信号に変換するアクセス信号変換回路と、 保持回路を有する論理演算回路と、 第1のドットパターンを前記論理演算回路へ入力させる
と共に、アクセス信号を前記アクセス信号変換回路へ入
力させる第1の入力手段と、 第2のドットパターンを前記論理演算回路へ入力させる
と共に、アクセス信号を前記アクセス信号変換回路へ入
力させる第2の入力手段と、 前記メモリに記憶されたドットパターンを読み出す読み
出し回路と、 前記第1の入力手段への前記第1のドットパターン及び
アクセス信号の入力と、前記第2の入力手段への前記第
2のドットパターン及びアクセス信号の入力と、前記読
み出し回路との間のアクセス競合を調停する調停回路と
を設けたことを特徴とするメモリ装置。
8. A memory, an access signal conversion circuit for converting an input access signal into an access signal for the memory, a logical operation circuit having a holding circuit, and a first dot pattern to the logical operation circuit. A first input means for inputting and inputting an access signal to the access signal conversion circuit; and a second input pattern for inputting a second dot pattern to the logical operation circuit and inputting an access signal to the access signal conversion circuit. Input means, a read circuit for reading out the dot pattern stored in the memory, input of the first dot pattern and access signal to the first input means, and the second input means to the second input means. An arbitration circuit for arbitrating access competition between the dot pattern and the access signal of 2 and the read circuit is provided. A memory device characterized by the above.
【請求項9】 請求項8記載のメモリ装置において、 前記メモリのクリアをするクリア回路をメモリ装置内に
設けたことを特徴とするメモリ装置。
9. The memory device according to claim 8, wherein a clear circuit for clearing the memory is provided in the memory device.
【請求項10】 請求項8、又は請求項9記載のメモリ
装置において、 メモリの試験を行う試験回路をメモリ装置内に設けたこ
とを特徴とするメモリ装置。
10. The memory device according to claim 8 or 9, wherein a test circuit for testing the memory is provided in the memory device.
JP7193195A 1995-07-28 1995-07-28 Method and device for dot pattern conversion, and memory device Withdrawn JPH0944140A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7193195A JPH0944140A (en) 1995-07-28 1995-07-28 Method and device for dot pattern conversion, and memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7193195A JPH0944140A (en) 1995-07-28 1995-07-28 Method and device for dot pattern conversion, and memory device

Publications (1)

Publication Number Publication Date
JPH0944140A true JPH0944140A (en) 1997-02-14

Family

ID=16303893

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7193195A Withdrawn JPH0944140A (en) 1995-07-28 1995-07-28 Method and device for dot pattern conversion, and memory device

Country Status (1)

Country Link
JP (1) JPH0944140A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011152666A (en) * 2010-01-26 2011-08-11 Fuji Xerox Co Ltd Image information processing device, and image information processing program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011152666A (en) * 2010-01-26 2011-08-11 Fuji Xerox Co Ltd Image information processing device, and image information processing program

Similar Documents

Publication Publication Date Title
JPH0563818B2 (en)
US5889893A (en) Method and apparatus for the fast rotation of an image
JP2755308B2 (en) Output method and device
JPH0944140A (en) Method and device for dot pattern conversion, and memory device
JPH025123A (en) Printing system
JPH06111012A (en) Image processor
JPS60119170A (en) Connecting device of facsimile
JP3365068B2 (en) Image processing device
JP2993143B2 (en) Pattern synthesis coding method
JP2735246B2 (en) Test and set method
JPH0563959A (en) Method and device for processing picture
JP2624659B2 (en) Superimposed block decoding device
JP2899284B2 (en) Image data encoding device
JP3138300B2 (en) Image processing method
JPH0765177A (en) System and device for image processing
JPH01210355A (en) Character pattern generation
JPH0263761A (en) Character output apparatus
JPH02196296A (en) Character generator
JPH0784076B2 (en) Print data control circuit
JPH05212915A (en) Controller for page printer
JPS63292766A (en) Picture forming device
JPS60173584A (en) Bit map display controller
JPH0412867A (en) Dot pattern generating apparatus
JPS61278975A (en) Virtual memory control circuit
JPH01237161A (en) Printing control device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20021001