JPS62250486A - Character reproduction system - Google Patents

Character reproduction system

Info

Publication number
JPS62250486A
JPS62250486A JP61093904A JP9390486A JPS62250486A JP S62250486 A JPS62250486 A JP S62250486A JP 61093904 A JP61093904 A JP 61093904A JP 9390486 A JP9390486 A JP 9390486A JP S62250486 A JPS62250486 A JP S62250486A
Authority
JP
Japan
Prior art keywords
character
common
characters
flag
ram
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.)
Granted
Application number
JP61093904A
Other languages
Japanese (ja)
Other versions
JPH083707B2 (en
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP61093904A priority Critical patent/JPH083707B2/en
Publication of JPS62250486A publication Critical patent/JPS62250486A/en
Publication of JPH083707B2 publication Critical patent/JPH083707B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

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

Description

【発明の詳細な説明】 [発明の技術分野] 本発明は、日本語ワードプロセッサあるいは日本諸処I
II!N能を備えた電子S1痒機等の情報処I#l装置
に用いられるキャラクタメモリにおける文字キャラクタ
の再生方式に関する。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention relates to a Japanese word processor or a Japanese word processor.
II! The present invention relates to a method for reproducing text characters in a character memory used in an information processing I#l device such as an electronic S1 itching machine having an N function.

[従来技術とその問題点1 日本語ワードプロセッサあるいは日本語処理曙能を備え
た電子計弾機等の情報処理4iflにおいては、表示用
文字あるいは印字用文字の文字パターンを発生させるた
めにキャラクタ発生器を備えている。このキャラクタ発
生器は、IQにROMにより構成されているが、従来で
はJISに定められた各文字に対応する文字パターンを
記憶するようにしているので、ROMの容酷が非常に大
きくなる。例えば1文字をr32X32ドツト」と構成
、とじた場合、1文字でr32X32=1024ピット
」、約1Mビット必要とし、3000字を記憶するには 32x32x3000=3Mビット 必要とする。上記のように従来のキャラクタ発生方法で
は、キャラクタ発生器のROM容量が非常に大きくなり
、小型化する場合に問題となると共にコストも非常に高
くなる。
[Prior art and its problems 1 In information processing systems such as Japanese word processors or electronic ammunition counters equipped with Japanese processing capabilities, character generators are used to generate character patterns for display characters or printing characters. It is equipped with This character generator is configured with a ROM in the IQ, but conventionally, character patterns corresponding to each character defined by JIS are stored, so the ROM is extremely demanding. For example, if one character is constructed and bound as r32x32 dots, one character requires r32x32=1024 pits, or about 1M bits, and to store 3000 characters, 32x32x3000=3M bits are required. As described above, in the conventional character generation method, the ROM capacity of the character generator becomes extremely large, which poses a problem when miniaturizing the character generator, and also increases the cost.

[発明の目的] 本発明は上記の点に鑑みてなされたもので、キャラクタ
発生器のメモリ(ROM)容量を著しく減少し得ると共
に文字キャラクタの再生を確実にでき、情報処理機器の
小型化に有利であると共にコストの低下を図り得る文字
キャラクタの再生方式を提供することを目的とする。
[Object of the Invention] The present invention has been made in view of the above points, and it is possible to significantly reduce the memory (ROM) capacity of a character generator, ensure the reproduction of characters, and contribute to miniaturization of information processing equipment. It is an object of the present invention to provide a method for reproducing text characters that is advantageous and can reduce costs.

[発明の要点] 本発明は、漢字等の字体を部首別に分離すると共に上記
部首を含む字体を共通部に分離してなる共通キャラクタ
をキャラクタメモリに記憶し、複数の共通キせラクタの
組合わせで字体キャラクタを構成するキャラクタ発生器
において、各構成文字に対する共通キャラクタの組合わ
せの順番を共通キャラクタ指示メモリに記憶させ、キャ
ラクタ再生時に上記キャラクタ指示メモリに記憶してい
る指示データに従って指定共通キャラクタを予め設定さ
れた文字枠内において順次連続的に配置すると共に、上
記共通キャラクタの配列時に共通キャラクタが文字枠を
はずれた際は設定順番に従って次の位置に配列すること
により、指定文字キャラクタを形成するようにしたもの
である。
[Summary of the Invention] The present invention separates fonts such as kanji by radical, and stores common characters formed by separating fonts including the radicals into common parts in a character memory, and stores a common character in a character memory. In a character generator that constitutes a font character in combination, the order of combinations of common characters for each constituent character is stored in a common character instruction memory, and when playing a character, the order of the combination of common characters is stored in a common character instruction memory, and when a character is reproduced, a specified common character is generated according to the instruction data stored in the character instruction memory. By arranging characters sequentially and consecutively within a preset character frame, and when a common character leaves the character frame when arranging the common characters mentioned above, by arranging them in the next position according to the set order, the specified character character can be It was designed so that it could be formed.

[j1明の実施例] 以下、図面を参照して本発明の一実施例を説明する。ま
ず、第1図により全体の回路構成について説明する。第
1図において、11は基準タイミング信号を光生する発
成回路である。また、12はプログラムカウンタで、R
OMアドレススタックレジスタ13の記憶アドレス及び
回路の動作条件等を参照してプログラムROM14のア
ドレスを指定する。このプログラムROM14は、各種
制御命令を記憶しており、プログラムカウンタ12から
のアドレス指定に従って動作し、制御命令をパスライン
BL1を介してインストラクションデコーダ15に出力
すると共に、第lRAM16に対するアドレスをパスラ
インBL2を介してアドレスカウンタ17に出力する。
[Embodiment of j1 Akira] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. First, the overall circuit configuration will be explained with reference to FIG. In FIG. 1, reference numeral 11 denotes a generation circuit that optically generates a reference timing signal. Also, 12 is a program counter, R
The address of the program ROM 14 is designated by referring to the storage address of the OM address stack register 13 and the operating conditions of the circuit. This program ROM 14 stores various control instructions, operates according to address designations from the program counter 12, outputs the control instructions to the instruction decoder 15 via the pass line BL1, and outputs the address for the first RAM 16 to the pass line BL2. It is output to the address counter 17 via the address counter 17.

また、プログラムROM14は、パスラインBL3を介
して自己アドレスをプログラムカウンタ12に出力する
と共に、第2RAM18に対するアドレスをアドレスカ
ウンタ19に出力し、更にその他のデータをパスライン
BL3を介してアンド回路21、比較回路22、演算回
路23、デコーダ24に出力する。上記第lRAM16
及び第2RAM18は、例′えば40X 40ビツトの
容量を有し、第2図(a)、(b)に示すように構成さ
れている。すなわち、第lRAM16は、第2図(a)
に示すように38x38ヒツトがキャラクタエリア16
aで、その上側の2×40ビツト及び左側の2×40ビ
ツトがフラグエリア16bとなっている。また、第2R
A M 18は、32X 32t? ットが再生エリア
18a1その他のエリアが記憶エリア18bとなってい
る。そして、上記第lRAM1B及び第2RAM18か
ら読出されるデータがそれぞれアンド回路25.26を
介してパスラインBL4に出力されると共に、アンド回
路21の出力がパスラインBL4に出力される。
Further, the program ROM 14 outputs its own address to the program counter 12 via the pass line BL3, outputs the address for the second RAM 18 to the address counter 19, and further outputs other data to the AND circuit 21, via the pass line BL3. It is output to the comparison circuit 22, the calculation circuit 23, and the decoder 24. The above first RAM 16
The second RAM 18 has a capacity of, for example, 40×40 bits, and is constructed as shown in FIGS. 2(a) and 2(b). That is, the first RAM 16 is as shown in FIG. 2(a).
As shown in
2x40 bits on the upper side and 2x40 bits on the left side of the flag area 16b. Also, the 2nd R
A M 18 is 32X 32t? The cut area is a reproduction area 18a1, and the other area is a storage area 18b. The data read from the first RAM 1B and the second RAM 18 are output to the pass line BL4 via AND circuits 25 and 26, respectively, and the output of the AND circuit 21 is output to the pass line BL4.

このパスラインBL4に出力されたデータは、上記第l
RAM16、第2RAM18、比較回路22、演算回路
23に入力されると共に、アドレスカウンタ27、レジ
スタ28.8ビツト構成のスタックレジスタ29a〜2
9dに入力される。上記アドレスカウンタ27は、その
カウント値によってキャラクタメモリ、すなわちキャラ
クタROM31のアドレスを指定する。このキャラクタ
ROM31は、第3図に示すように共通キャラクタ部3
1a及び共通キャラクタ指示メモリ部31bからなり、
詳細を後述するように各キャラクタに対する共通部分を
分離し、補正、圧縮、等の処理を行なったキャラクタデ
ータを記憶するようになっている。そして、上記キャラ
クタROM31から読出されるキャラクタデータは、ア
ンド回路32を介してパスラインBL4に出力され、レ
ジスタ28の保持データはアンド回路33を介してパス
ラインBL4に出力される。また、比較回路22の比較
出力はアンド回路34を介してプログラムカウンタ12
へ送られる。しかして、上記インストラクションデコー
ダ15は、プログラムROM14からの制御命令をデコ
ードしてアドレスカウンタ11.19.27にそれぞれ
セット信号3et及び「+1」信号、第lRAM16及
び第2RAM18に1込み信号W、レジスタ28に自込
み信号W及び読出し信号Rをξえる。また、インストラ
クションデコーダ15は、演算回路23に演算指令、デ
コーダ24にクロックパルス、アンド回路21.25.
26.32.33.34にゲート制御信号を与える。上
記デコーダ24は、プログラムROM14からのデータ
をデコードしてスタックレジスタ29a〜29dの何れ
かを選択し、インストラクションデコーダ15からのク
ロックパルスを与える。スタックレジスタ29a〜29
dは、パスラインBL4を介して送られてくるデータを
デコーダ24からのクロックパルスに同期して読込み、
32ビツトの文字データとして表示部(図示せず)へ出
力する。
The data output to this pass line BL4 is
It is input to the RAM 16, the second RAM 18, the comparator circuit 22, and the arithmetic circuit 23, as well as the address counter 27 and register 28.8-bit stack registers 29a to 2.
9d. The address counter 27 specifies the address of the character memory, that is, the character ROM 31, based on its count value. This character ROM 31 has a common character section 3 as shown in FIG.
1a and a common character instruction memory section 31b,
As will be described in detail later, common parts for each character are separated and character data that has been subjected to correction, compression, etc. processing is stored. The character data read from the character ROM 31 is output to the pass line BL4 via the AND circuit 32, and the data held in the register 28 is output to the pass line BL4 via the AND circuit 33. Further, the comparison output of the comparison circuit 22 is sent to the program counter 12 via an AND circuit 34.
sent to. The instruction decoder 15 decodes the control command from the program ROM 14 and sends the set signal 3et and "+1" signal to the address counters 11, 19, and 27, respectively, the 1-input signal W to the first RAM 16 and the second RAM 18, and the register 28. The built-in signal W and the read signal R are set to ξ. In addition, the instruction decoder 15 sends calculation commands to the calculation circuit 23, clock pulses to the decoder 24, and AND circuits 21, 25, .
Provide gate control signals to 26.32.33.34. The decoder 24 decodes data from the program ROM 14, selects one of the stack registers 29a to 29d, and provides a clock pulse from the instruction decoder 15. Stack registers 29a-29
d reads the data sent via the pass line BL4 in synchronization with the clock pulse from the decoder 24,
It is output to a display unit (not shown) as 32-bit character data.

本発明は、漢字等の字体を部首に分離すると共に、字体
(部首を含む)を共通部に分離し、この分離した部首及
び共通部のキャラクタを分離した状態でキャラクタRO
M31に記憶するもので、以下、キャラクタROM31
にギヤラクタデータを記憶する際のキャラクタ共通部分
の分離、補正、圧縮、等の処理について説明する。第4
図は、「木j「禾」 F本」という部首を共通部に分離
した場合の例について示したものである。第4図(a>
では32X32ヒツトの「木Jという文字を上下に部分
して、CI 、C2の共通キャラクタとしている。
The present invention separates a font such as a kanji into radicals, separates the font (including the radical) into a common part, and creates a character RO in a state where the separated radicals and characters in the common part are separated.
This is stored in M31, hereinafter referred to as character ROM31.
Processing such as separation, correction, compression, etc. of common parts of characters when storing gearactor data will be explained. Fourth
The figure shows an example where the radical ``木j``禾''F本'' is separated into common parts. Figure 4 (a>
In this case, the 32x32 human character ``Tree J'' is divided into upper and lower parts and is used as a common character for CI and C2.

第4図(b)では「禾」という文字を上下に部分して、
上側のキャラクタを03としているが、下側のキャラク
タは上記「木」の文字におけるキャラクタC2が共通に
使用される。第4図(C)では、「本」という文字を上
下に部分して下lll9めキャラクタを04としている
が、上側のキャラクタは上記r木」の文字におけるC1
キャラクタが共通に使用される。上記のようにして各文
字は、共通部が分離される。
In Figure 4(b), the character ``禾'' is divided into upper and lower parts,
The upper character is 03, but the lower character is commonly the character C2 in the character for "tree". In Fig. 4(C), the character ``hon'' is divided into upper and lower parts, and the lower 9th character is 04, but the upper character is C1 in the character ``r'' above.
Characters are commonly used. As described above, the common parts of each character are separated.

上記のようにして各文字の共通部を分離して共通キャラ
クタを作成した後、第5図に示すようにキャラクタの補
正及び圧縮処理を行なう。字体には、線の初め及び終り
の部分に、あるルールに従った形がある。本発明では、
このルールに従った形については共通キャラクタの記憶
部に記憶させず、キャラクタ発生時に補正を行なってい
る。そして、字体キャラクタの縦列及び横列に同じ状態
のキャラクタが続く場合に、同じキャラクタを省略して
圧縮する。第5図(a)は、共通キャラクタC1につい
て縦線及び横線の補正を行なって補正キャラクタC21
とし、更に16X 16ビツトに縦横圧縮して圧縮キャ
ラクタC31としている。この場合、圧縮キャラクタC
31は、14X 14ビツトをキャラクタエリア41と
し、上側の2ビツトを縦フラグエリア■F、左側の2ビ
ツトを横フラグエリアHFとし、圧縮部分に対応させて
省略数フラグを立て、圧縮した位石及び数を示す。そし
て、キャラクタ発生時にフラグ数によって正しい形を再
現する。第5図(b)は共通エリアC2を補正して補正
キャラクタC22とし、その後、キャラクタビット及び
ビット間隔を2段階で圧縮して圧縮キャラクタC32、
C42としている。第5図(C)は共通キャラクタC3
の補正、圧縮例を示したもので、第5図(b)と開襟の
補正、圧縮を行なっている。
After creating a common character by separating the common parts of each character as described above, the character is corrected and compressed as shown in FIG. Fonts have shapes that follow certain rules at the beginning and end of the lines. In the present invention,
The shape according to this rule is not stored in the common character storage section, but is corrected when the character is generated. Then, when characters in the same state continue in the vertical and horizontal columns of the font characters, the same characters are omitted and compressed. FIG. 5(a) shows a corrected character C21 obtained by correcting vertical lines and horizontal lines for the common character C1.
The character is further compressed vertically and horizontally to 16×16 bits to form a compressed character C31. In this case, the compressed character C
31, the character area 41 is 14 x 14 bits, the upper 2 bits are the vertical flag area ■F, the left 2 bits are the horizontal flag area HF, and the omitted number flag is set in correspondence with the compressed part. and the number. Then, when a character is generated, the correct shape is reproduced depending on the number of flags. In FIG. 5(b), the common area C2 is corrected to form a corrected character C22, and then character bits and bit intervals are compressed in two stages to create a compressed character C32,
It is set as C42. Figure 5 (C) is the common character C3
This shows an example of correction and compression of the open collar shown in FIG. 5(b).

第5図(d)は共通キャラクタC4を補正して補正キャ
ラクタC24とした後、圧縮時に時計方向に90°回転
し、16X 20ビツトの圧縮キャラクタC34として
いる。字体分離後の共通キャラクタの形状は、色々な形
状になるが、この共通キャラクタを両方向に規制すると
共通キャラクタの基本サイズが大きくなるので、共通キ
ャラクタを一方向(縦あるいは横)のみ規制し、キャラ
クタ長を可変できるようにすると、メモリの使用効率が
良くなる。
In FIG. 5(d), the common character C4 is corrected to become a corrected character C24, and then rotated 90° clockwise during compression to become a 16×20 bit compressed character C34. The shape of the common character after font separation can be various shapes, but if the common character is restricted in both directions, the basic size of the common character will increase, so if the common character is restricted in only one direction (vertical or horizontal), the character Making the length variable improves memory usage efficiency.

但し、キャラクタメモリとして効率は良いが、縦方向あ
るいは横方向に長いキャラクタが有り、全体(全共通キ
ャラクタ)を記憶する場合にメモリ空間の使用効率が非
常に悪くなる。そこで、本発明ではメモリ空間の使用効
率を良くするため、規制した方向に合わせるよう、他方
向に長い共通キャラクタを90”回転(縦、横交換)さ
せ、メモリ空間の使用効率を上げている。このとき回転
したキャラクタの判別は、共通キャラクタ内に持つ方−
:IH響゛ 法と、共通キャラクタの組合わせにより字体を形成する
文字の構成メモリに持つ方法がある。本実施例では、回
転キャラクタの判別を構成メモリに持つ場合について示
しである。
However, although it is efficient as a character memory, there are characters that are long in the vertical or horizontal direction, and when storing the entire character (all common characters), the memory space usage efficiency becomes very poor. Therefore, in the present invention, in order to improve memory space usage efficiency, common characters that are long in other directions are rotated by 90'' (vertical and horizontal swapping) to match the regulated direction, thereby increasing memory space usage efficiency. At this time, the rotated character is determined by the one in the common character.
: There is an IH sound method and a method of storing character configuration memory in which a font is formed by a combination of common characters. In this embodiment, a case is shown in which the configuration memory stores the rotation character identification information.

第6図は補正キャラクタ例を示したもので、縦線、横線
、コーナーにおいて補正が行なわれる。
FIG. 6 shows an example of a corrected character, in which vertical lines, horizontal lines, and corners are corrected.

縦線補正は、頭部及び終部において行なわれ、黒丸印で
示すように頭部では側方に突出た1ビツトが省略され、
終部では左右のピットが対称となるように1ビツト付加
される。横線は、「とめ」の部分が省略されるもので、
「とめ」の部分の横線が5ビツト以上では3補正、横線
が4ビツトの場合あるいは間隔が2ピツトでは2補正、
横締が3ビツトでは1補正が行なわれる。コーナーでは
、頭部において突出ている1ビツト分が省略され、終部
では1ビツト不足部分が追加される。
Vertical line correction is performed at the head and end, and one bit that protrudes to the side is omitted at the head, as shown by the black circle.
At the end, one bit is added so that the left and right pits are symmetrical. The horizontal line is the one where the "stop" part is omitted,
If the horizontal line at the "stop" part is 5 bits or more, 3 corrections are made, and if the horizontal line is 4 bits or the interval is 2 pits, 2 corrections are made.
If the horizontal tightening is 3 bits, one correction is performed. At the corner, the one bit that stands out at the head is omitted, and at the end, the missing one bit is added.

第7図は、縦、横圧縮例を示したもので、斜線部分が圧
縮部分である。第8図は、左斜め、右斜めの斜め圧縮(
縦斜めのみ)の例を示したもので、矢印方向が圧縮方向
を示している。第9図は、二重圧縮の例で「亜」という
部首について示したものである。「亜」という文字を再
現する場合は、縦及び横の再現を行ない、「悪」という
文字を再現する場合は、横のみ再現し、池の共通キャラ
クタ[心Jと組合わせて[悪Jの文字を形成する。
FIG. 7 shows an example of vertical and horizontal compression, and the diagonally shaded area is the compressed area. Figure 8 shows diagonal compression (left diagonal and right diagonal).
(Only vertical and diagonal) is shown, and the direction of the arrow indicates the compression direction. FIG. 9 shows an example of double compression for the radical "a". When reproducing the character ``A'', it is reproduced both vertically and horizontally; when reproducing the character ``Aku'', only the horizontal is reproduced. form letters.

字体分離の中には、同じキャラクタの縦、横の大きさの
みが異なるものが多くあり、これらをそれぞれの共通キ
ャラクタで持たず、二重圧縮により効率を上げることが
できる。
Among font separations, there are many cases in which the same character differs only in the vertical and horizontal sizes, so efficiency can be increased by double compression without having these common characters.

第10図は、センタリング圧縮の例を示したものである
。文字の大きさは、同じ枠(32X32ドツト)を設定
しても第10図に示すように文字によって異なり、枠内
にスペースができる字体もある。
FIG. 10 shows an example of centering compression. Even if the same frame (32×32 dots) is set, the size of the characters differs depending on the character as shown in FIG. 10, and some fonts have spaces within the frame.

これらの字体の共通キャラクタは、−辺によせて共通キ
ャラクタを圧縮しくドツトのない列行を省略)、再生時
に自動センタリングする。
The common characters of these fonts are compressed by the - side (by omitting columns and rows without dots) and are automatically centered during playback.

次に上記共通キャラクタの圧縮処理の詳細について説明
する。圧縮キャラクタには、第11図に示すようにキャ
ラクタエリア41に上側に2ピツトの縦フラグエリアV
F、左側に2ピツトの横フラグエリアHFが設けられる
。そして、上記縦フラグエIJ 7 V F ニ4.1
、第1列目(、:Vll、 V12゜−V 1n、 ・
・・ピット、第2列目にV21. V22゜・・・V 
2n、・・・ピットが立てられ、横フラグエリア)−I
Fには、第1列目にH11,H12,−HIn、 ・・
・ピット、第2列目にH21,H22,・・・H2n、
・・・ピットが立てられる。また、縦フラグエリアVF
と横フラグエリアHFとの共通エリアには、Fl 、F
2、F3 、F4の4ビツトのフラグが設けられる。
Next, details of the above common character compression processing will be explained. The compressed character has a two-pit vertical flag area V on the upper side of the character area 41 as shown in FIG.
F. A two-pit horizontal flag area HF is provided on the left side. And the above vertical flag IJ 7 V F d 4.1
, 1st column (,:Vll, V12゜-V1n, ・
...Pit, V21 in the second row. V22゜...V
2n, ... Pit is set up, horizontal flag area)-I
F has H11, H12, -HIn, . . . in the first column.
・Pit, H21, H22,...H2n in the second row,
...A pit will be built. In addition, the vertical flag area VF
The common area between the horizontal flag area HF and the horizontal flag area HF includes Fl and F.
4-bit flags 2, F3, and F4 are provided.

F4フラグは、第12図(a)に示すように縦フラグと
横フラグとの組合わせによりピット省略数(r)を示し
、F3フラグは、同図(b)に示すようにrOJが縦、
横の圧縮、[1」が斜め圧縮を示している。また、Fl
 、F2フラグは、第12図(C)に示すようにその組
合わせにより、縦長ピットの数を示している。
The F4 flag indicates the number of pits omitted (r) by a combination of the vertical flag and the horizontal flag, as shown in FIG.
Horizontal compression, [1] indicates diagonal compression. Also, Fl
, F2 flags indicate the number of vertically long pits in combination as shown in FIG. 12(C).

しかして、上記キャラクタROM31の共通キャラクタ
指示メモリ部31bには、第13図に示すようにBθ〜
815の16ビツトの共通キャラクタ指示データが記憶
される。この指示データは、BO〜B10ピットに共通
キャラクタ部31aのアドレス(共通キャラクタのPi
類が2000の場合〉、811ビツトに回転フラグ、3
12ビツトに二重フラグ、813〜815ビツトに共通
キャラクタ数/位置フラグが1込まれる。この813〜
815ビツトと共通キャラクタ数との関係(共通キャラ
クタ指示メモリ部31bの1番目)を第14図に、81
3〜815ビツトに対する位置フラグの内容(共通キャ
ラクタ指示メモリ部31bの2番目以降)を第15図に
示す。また、811ビツト及びフラグF1 、F2とそ
れに対応する型との関係を第16図(a>、(b)に示
す。更に811ビツト及びFl、F2フラグと圧縮キャ
ラクタのX、yビット数との関係を第17図に示す。
Therefore, the common character instruction memory section 31b of the character ROM 31 has information such as Bθ to
815 16-bit common character designation data is stored. This instruction data is the address of the common character part 31a (the common character Pi
If type is 2000>, rotation flag is set to 811 bits, 3
The double flag is set to 12 bits, and the common character number/position flag is set to 1 in bits 813 to 815. This 813~
The relationship between the 815 bits and the number of common characters (the first bit of the common character instruction memory section 31b) is shown in FIG.
The contents of the position flags for bits 3 to 815 (second and subsequent ones in the common character designation memory section 31b) are shown in FIG. Furthermore, the relationship between the 811 bits, flags F1 and F2, and their corresponding types is shown in FIG. The relationship is shown in FIG.

次に上記実施例の動作をフローチャートを参照して説明
する。まず、文字を再生する場合の全体の概略動作を第
18図により説明する。文字を再生する場合、プログラ
ムROM 14は、最初にステップS1に示すように第
2RAM18をクリアする。
Next, the operation of the above embodiment will be explained with reference to a flowchart. First, the overall general operation when reproducing characters will be explained with reference to FIG. When reproducing characters, the program ROM 14 first clears the second RAM 18 as shown in step S1.

次いでステップS2においてキャラクタROM31から
共通キャラクタ指示メモリ部311)の内容を第2RA
MIBに読出す。今例えば「禾」という文字を再生する
ものとすれば、そのアドレスデータをアドレスカウンタ
27にセットして共通キャラクタ指示メモリ部31bか
ら第19図に示すように「禾」に対するデータを第2R
AM18に読出す。次いでステップS3において第lR
AM1Gをクリアした後ステップS4に進み、第2RA
M1gに読出した共通キャラクタ指示データに応じて共
通キャラクタ部31aにおける「禾」に関する共通キャ
ラクタを第19図(b)に示すように第lRAM1Gに
読出す。そして、ステップS5に示すように縦フラグエ
リアVF及び横フラグエリアHFのフラグデータから共
通キャラクタの大きさを調べる。次いでステップS6に
おいてF3フラグを比較回路22に読出して°°0°′
か否かを判断し、110 IIであればステップS7に
進んで第19図(C)に示すように第lRAM16に記
憶している共通キャラクタに対し、横7ラグに応じて横
圧縮再生処理を実行する。また、F3フラグが0″でな
い場合は、′ ステップ$8に進んで縦フラグ及び横フ
ラグに応じて斜め圧縮再生処理を実行する。上記ステッ
プS7あるいはステップS8の処理を終了するとステッ
プS9に進んで第2RAM18に記憶している共通キャ
ラクタ指示データの812ビツトに1フラグ)を比較回
路22に読出して°°1″であるか否かを判断し、“1
′°であればステップ310に進んで第19図(d>に
示すように縦フラグに応じて縦圧縮再生処理を実行する
。このステップS10の処理を終了した場合、あるいは
上記ステップS9で812ヒツトが“°1”でないと判
断された場合は、ステップS11に示す補正キャラクタ
の再生処理を実行する。その後、ステップS12に進み
、第19図me)に示すように第1RAMIGの共通キ
ャラクタから縦フラグ及び横フラグを除去する。次いで
ステップ513aに進み、共通キャラクタ指示データの
313〜815ビツト(共通キャラクタ数/位置フラグ
)により第1RAMIGの共通キャラクタを第19図(
f)に示すように第2RAM18に書込む。そして、ス
テップ314において第2RAM18内の共通キャラク
タを第19図(Q)に示すようにセンタリング処理し、
その後、ステップ815に進んでその共通キャラクタを
スタックレジスタ29a〜29dに読出し、このスタッ
クレジスタ29a〜29dから32ビツトのキャラクタ
データとして順次表示部へ出力する。
Next, in step S2, the contents of the common character instruction memory section 311) are transferred from the character ROM 31 to the second RA.
Read to MIB. For example, if we want to reproduce the character ``禾'', the address data is set in the address counter 27 and the data for ``禾'' is transferred from the common character instruction memory section 31b to the second R as shown in FIG.
Read on AM18. Then, in step S3, the lRth
After clearing AM1G, proceed to step S4 and clear the second RA.
According to the common character instruction data read out to M1g, the common character related to "禾" in the common character section 31a is read out to the first RAM 1G as shown in FIG. 19(b). Then, as shown in step S5, the size of the common character is checked from the flag data in the vertical flag area VF and horizontal flag area HF. Next, in step S6, the F3 flag is read out to the comparator circuit 22, and the F3 flag is read out to the comparator circuit 22 and
If it is 110 II, the process advances to step S7, and as shown in FIG. Execute. If the F3 flag is not 0'', the process proceeds to step $8 and executes diagonal compression reproduction processing according to the vertical flag and the horizontal flag. When the process of step S7 or step S8 is completed, the process proceeds to step S9. 1 flag for 812 bits of the common character instruction data stored in the second RAM 18 is read out to the comparator circuit 22, and it is determined whether or not it is "°°1".
'°, the process advances to step 310 and executes the vertical compression reproduction process according to the vertical flag as shown in FIG. If it is determined that is not "°1", the correction character reproduction process shown in step S11 is executed.Then, the process proceeds to step S12, and as shown in FIG. and remove the horizontal flag. Next, the process proceeds to step 513a, and the common characters in the first RAMIG are set as shown in FIG.
The data is written to the second RAM 18 as shown in f). Then, in step 314, the common characters in the second RAM 18 are subjected to centering processing as shown in FIG. 19 (Q),
Thereafter, the process proceeds to step 815, where the common characters are read into the stack registers 29a-29d, and sequentially output from the stack registers 29a-29d to the display section as 32-bit character data.

次に上記第18図のフローチャートにおける主要ステッ
プの詳細を説明する。第20図は、ステップS4の詳細
について示したものである。まず、ステップ341にお
いて第2RAM18に記憶している共通キャラクタアド
レス(80〜[31G)で指定される共通キャラクタ部
31aの内容(指定アドレスの1行目)をチェックする
。そして、ステップS42に示すようにその上位2ビツ
ト(Fl、F2)と811ビツトの回転フラグを見て共
通キャラクタの型を決める。例えば共通キャラクタ指示
データがrollooloool 110100 J 
(7)場合、Bo〜B10ビットの共通キャラクタアド
レスroi+ooioooi」により共通キャラクタ部
31aがアドレス指定され、その1行目のデータが例え
ば「10011000Jであったとすれば、その上位2
ピツト(Fl 、F2 )と811の回転フラグから「
811、Fl 、F2 =110」となる。B11、F
l、F2がrlloJの場合、第16図(a)の関係か
ら共通キャラクタの型は、D型であると判断される。そ
して、第20図のステップS43に示すように第lRA
M16に対し、左上から下へという順番で型(この例で
はD型)に従い、指定された共通キャラクタ部31aの
内容を8行ずつ磨込む。
Next, details of the main steps in the flowchart of FIG. 18 will be explained. FIG. 20 shows details of step S4. First, in step 341, the content (first line of the specified address) of the common character section 31a specified by the common character address (80-[31G) stored in the second RAM 18 is checked. Then, as shown in step S42, the upper 2 bits (Fl, F2) and the rotation flag of 811 bits are looked at to determine the type of common character. For example, the common character instruction data is rollooloool 110100 J
In case (7), if the common character part 31a is addressed by the common character address roi+ooioooi of 10 bits of Bo to B, and the data in the first line is, for example, 10011000J, then the upper 2
From the pit (Fl, F2) and the rotation flag of 811,
811, Fl, F2 = 110''. B11,F
When l and F2 are rlloJ, the type of the common character is determined to be type D from the relationship shown in FIG. 16(a). Then, as shown in step S43 in FIG.
For M16, the contents of the designated common character section 31a are polished 8 lines at a time, according to the pattern (D pattern in this example) in order from the top left to the bottom.

その後、第21図に詳細を示すステップS5の処理を実
行する。まず、ステップS51において上記縦長可変フ
ラグF1 、F2と回転フラグB11により、第17図
の関係から共通キャラクタの大きさくX、 りを判断す
る。例えばB 11= 01F1=1、F2−0の場合
、共通キャラクタの大ぎざは、(x、V>== (16
,20)となる。次いでステップ852に進み、第lR
AM16に記憶している共通キャラクタの縦フラグエリ
アVFと倍長フラグF4とにより、第12図(a)に示
す関係からその省略ビット数を加算して再生後の横幅の
増大母ΔXを求める。その後、ステップ353において
、「X+Δx−2」の演算を演算回路23により行なっ
て再生後の新たなXを求める。例えば、横幅の増大量Δ
Xが12ビツトであるとすれば、新たなXはrx=16
+12−2=26Jとなる。
Thereafter, the process of step S5 whose details are shown in FIG. 21 is executed. First, in step S51, the size of the common character is determined from the relationship shown in FIG. 17 using the vertically variable flags F1 and F2 and the rotation flag B11. For example, in the case of B11=01F1=1, F2-0, the common character's serrations are (x, V>== (16
, 20). Next, the process proceeds to step 852, where the lRth
Using the vertical flag area VF of the common character stored in AM16 and the double length flag F4, the number of omitted bits is added based on the relationship shown in FIG. Thereafter, in step 353, the arithmetic circuit 23 calculates "X+.DELTA.x-2" to obtain a new X after reproduction. For example, the width increase amount Δ
If X is 12 bits, the new X is rx=16
+12-2=26J.

続いてステップ354において横7ラグエリアHFと倍
長フラグF4により、第12図(a)に示す関係からそ
の省略ビット数を加算して再生後の横幅の増大量Δyを
求める。その後、ステップ855において、「y+Δy
−2」の演算を演算回路23により行なって再生後の新
たなyを求める。例えば、縦幅の増大】Δyが4ビツト
であるとすれば、新たなyはry−20+4−2−22
Jとなる。
Subsequently, in step 354, using the horizontal 7 lag area HF and the double length flag F4, the number of omitted bits is added based on the relationship shown in FIG. 12(a) to determine the amount of increase Δy in the horizontal width after reproduction. After that, in step 855, "y+Δy
-2'' is performed by the arithmetic circuit 23 to obtain a new y after reproduction. For example, if Δy is 4 bits, the new y is ry-20+4-2-22
It becomes J.

その後、上記した判断ステップS6を経て横圧縮再生ス
テップS7に進む。
Thereafter, the process proceeds to the horizontal compression reproduction step S7 via the above-described determination step S6.

上記ステップS7は、第22図に詳細を示すようにステ
ップ871〜879からなり、ステップ871〜75で
横圧縮再生の行なわれる列を捜すと共に処理の終了を判
断し、ステップ87G〜879で横圧縮再生を行なって
いる。しかして、先ずステップ871において共通キャ
ラクタの列位置を示す値ρとして「3」をセットする。
The above step S7 consists of steps 871 to 879, as shown in detail in FIG. Playback is in progress. First, in step 871, "3" is set as the value ρ indicating the column position of the common character.

次いでステップS72に道み、第lRAM16の4列目
にある縦フラグV1ffi−2、V2ff−2、コ(1
)場合ニ1.tV11、V21を読1出す。そして、ス
テップS73に示すようにrVI N−2,V2 ff
1−2=O,OJか否かを判断し。
Next, the process goes to step S72, and the vertical flags V1ffi-2, V2ff-2, and co(1
) Case D1. Read out tV11 and V21. Then, as shown in step S73, rVI N-2, V2 ff
Determine whether 1-2=O, OJ.

ro、OJであればステップS74に進んでλの値を「
+1」する。その後、ステップ875において2の値が
「35」に達したか否か、つまり、キャラクタエリア4
1の最後の列を過ぎたか否かを判断し、2が「35」に
達していなければステップS72に戻る。以下、同様の
処理を繰返し、第23図(a)に示すように2の値が「
6」の時に縦フラグV24の°1”が検出されると、ス
テップS73の判断結果がNoとなり、ステップ876
に進んで倍長フラグF4と4列目の縦フラグにより第1
21J(a)の関係から再生ff1rを求める。例えば
第23図(a)に示すように12−6において、Vln
−O,V2n −1、F4−0、の場合には、r−2と
なる。そして、ステップ877において、まず、第lR
AM16の33列目のデータを34列目に禽き、以下m
列目のデータをm+1列目に書き、2列目をβ+1列目
に履いて終わる。次いでステップS7Bにおいてλの値
をr+1J、再生」rをr−IJI、た侵、ステップ8
79に進んで再生1rがrOJか否か判断し、rOJで
なければステップ$77に戻る。例えば第23図(a)
の6列目のD部を再生する場合には、上記のステップ8
77の処理により第23図(b)に示すように1部が9
列目、E部が8列目、D部が7列目に悶かれる。
If ro, OJ, the process advances to step S74 and the value of λ is set to “
+1". Thereafter, in step 875, it is determined whether the value of 2 has reached "35", that is, the character area 4
It is determined whether the last column of 1 has been passed, and if 2 has not reached "35", the process returns to step S72. Thereafter, the same process is repeated until the value of 2 becomes "
If the vertical flag V24 is detected to have a value of 1" at the time of 6", the determination result in step S73 becomes No, and the process proceeds to step 876.
Proceed to the first column using the double length flag F4 and the vertical flag in the fourth column.
Reproduction ff1r is determined from the relationship in 21J(a). For example, as shown in FIG. 23(a), at 12-6, Vln
-O, V2n -1, F4-0, it becomes r-2. Then, in step 877, first, the lR-th
The data in the 33rd column of AM16 is put in the 34th column, and the following m
The data of the column is written in the m+1 column, the second column is written in the β+1 column, and the process ends. Next, in step S7B, the value of λ is set to r+1J, and the value of λ is set to r-IJI.
The process advances to step 79 to determine whether the reproduction 1r is rOJ or not, and if it is not rOJ, the process returns to step $77. For example, Fig. 23(a)
To play back part D in the 6th column of
As shown in FIG. 23(b), one part becomes 9 by the process of
The E section is in the 8th column and the D section is in the 7th column.

この場合、縦フラグも一緒に1かれる。そして、ステッ
フ$78ノ処理により、「2−7、r=1」となる。r
r−IJの場合には、ステップ379を経てステップ8
77に戻り、上記と同様の処理が行なわれ、その結果、
共通キャラクタ、第23図(b)の状態から同図(C)
に示すように再生され、[C−8、r−OJとなる。再
生ff1rが「0」になると、上記り部の再生処理が終
了し、ステップ879からステップS72に戻って次に
横圧縮再生を行なうylを4列目、この場合には8列目
からサーチする。そして、上記の動作の繰返しにより、
縦フラグの立っている列に対する全ての横圧縮再生を終
了し、Qの値が「35」に達すると次のステップS8に
進んで斜め圧縮再生処理を行なう。
In this case, the vertical flag is also set to 1. Then, by processing step $78, it becomes "2-7, r=1". r
In the case of r-IJ, step 379 is followed by step 8.
77, the same processing as above is performed, and as a result,
Common character, from the state shown in Fig. 23 (b) to the same figure (C)
It is regenerated as shown in [C-8, r-OJ]. When the playback ff1r becomes "0", the playback process for the above portion is completed, and the process returns from step 879 to step S72 to search for yl to perform the next horizontal compression playback from the 4th column, in this case the 8th column. . Then, by repeating the above operation,
When all the horizontal compression and reproduction for the columns for which the vertical flag is set is completed and the value of Q reaches "35", the process advances to the next step S8 and diagonal compression and reproduction processing is performed.

この斜め圧縮再生の処理は、詳細を第24図(a)に示
すようにステップ881〜385により再生を行なう列
をサーチし、ステップ886以降において再生を行なう
部分をサーチする。まず、ステップS81においてλの
値を「3」にセットした後、ステップS82において第
lRAM16の4列目にある縦フラグV1β−2、V2
ffi−2、この場合にはVll、V21を読出す。そ
して、ステップS83に示tにつに、 rVl ff1
−2. V2℃−2=O,OJか否かを判断し、ro、
OJであればステップ884に進んでaの値を「+1」
する。その後、ステップ885において2の値が「35
」に遅したか否か、つまり、キャラクタエリア41の最
後の列を過ぎたか否かを判断し、Qが「35」に達して
いなければステップS82に戻る。以下、同様の処理を
繰返し、例えば第25図に示すようにρの値が「6」の
時に縦フラグV14の“1″が検出されると、ステップ
883の判断結果がNoとなり、ステップ88Gニ進ん
t’ri−1、m(1)=3Jにセットする。次にステ
ップ887において第lRAM16の2列m(1)行目
のm<z>を読出し、ステップ888においてrZ=O
Jか否かを判断する。「2=0」であれば、ステップS
89に進んでm(i)の値を「+コシ、その後、ステッ
プ889においてrm (i )=354になったか否
かを判断し、In (i )=35Jに達していなけれ
ばステップ387に戻る。そして、このステップS87
において第lRAM16の2列m(i)行目の値<z>
itr読出してチェックし、rZ−OJでなければステ
ップ5811へ進んでm(i)の値をr+IJした後n
(i)に入力する。その後、ステップ5812に進んで
第lRAM16のff11fiJn(i)行目の値(Z
)を読出し、ステップ5813においてrZ−OJか否
かを判断する。rZ−OJでなければステップ5814
に進/υでn(i)の値をr+1JL、ステップ581
2に戻る。そして、上記ステップ5813においてrZ
−OJであると判断されると、ステップ5815に進ん
でn(i)の値をr−IJL、次いでステップ8816
においてiの値を「+1」する。更にステップ5811
においてn(i−1)の値をr−1−IJL、た後、ス
テップ887に戻る。今、第25図に示すように6列目
(R−6>に注目しているとすると、m(i)、n(i
)は「1」の始まる行(斜め圧縮再生の開始行)及び「
1」の終わる行(斜め圧縮再生の終了行)を表わしてい
る。以下、同様の処理を繰返し、ステップ5810にお
いてrm (i )=35Jになったと判断されると、
1424図(b)に示すステップ8818以下の処理を
実行する。
In this diagonal compression reproduction process, as shown in detail in FIG. 24(a), a column to be reproduced is searched for in steps 881 to 385, and a portion to be reproduced is searched for in steps 886 and thereafter. First, in step S81, the value of λ is set to "3", and then in step S82, the vertical flags V1β-2, V2 in the fourth column of the first RAM 16 are set.
Read ffi-2, in this case Vll and V21. Then, at step S83, rVl ff1
-2. Determine whether V2℃−2=O, OJ, ro,
If it is OJ, proceed to step 884 and set the value of a to "+1".
do. Thereafter, in step 885, the value of 2 is changed to "35".
'', that is, whether the last column of the character area 41 has been passed. If Q has not reached ``35'', the process returns to step S82. Thereafter, the same process is repeated. For example, when the value of ρ is "6" and "1" of the vertical flag V14 is detected as shown in FIG. Go ahead and set t'ri-1, m(1)=3J. Next, in step 887, m<z> of the second column and m(1)th row of the first RAM 16 is read, and in step 888, rZ=O
Judge whether it is J or not. If “2=0”, step S
Proceed to step 89 and change the value of m(i) to "+". Then, in step 889, it is determined whether rm (i) = 354. If In (i) = 35J has not been reached, return to step 387. .And this step S87
The value <z> of the 2nd column m(i)th row of the lth RAM 16 in
Itr is read and checked, and if it is not rZ-OJ, the process proceeds to step 5811, where the value of m(i) is r+IJ, and then n
Enter (i). After that, the process advances to step 5812 and the value (Z
) is read, and in step 5813 it is determined whether or not rZ-OJ. If not rZ-OJ, step 5814
The value of n(i) is r+1JL by /υ, step 581
Return to 2. Then, in step 5813 above, rZ
-OJ, the process proceeds to step 5815 and sets the value of n(i) to r-IJL, then step 8816
, the value of i is increased by "+1". Further step 5811
After setting the value of n(i-1) to r-1-IJL, the process returns to step 887. Now, if we are paying attention to the 6th column (R-6> as shown in Fig. 25), m(i), n(i
) is the line starting with “1” (the starting line of diagonal compression playback) and “
1'' (the end line of diagonal compression playback). Thereafter, the same process is repeated, and when it is determined in step 5810 that rm (i) = 35J,
1424 The process from step 8818 shown in FIG. 8(b) is executed.

まず、ステップ8818において「j」の1直を「1」
に設定した後、ステップ5819に進んで第25(1(
b)に示すように第1RAM160m(j)、n(j>
行目の点の回りの点、すなわち■〜(Φの点を調べる。
First, in step 8818, the 1st shift of "j" is set to "1".
After setting the 25th (1(
As shown in b), the first RAM 160m(j), n(j>
Check the points around the point in the row, that is, the points from ■ to (Φ).

但し、上記の点がフラグエリアVF、HFにある場合は
「0」とする。そして、ステップ5820において再生
の方向α(j)を判断し、次いでステップ5821で「
j」の値を「+1」する。その後、ステップ5822に
進み、「1」が「j」に等しくなったか否かを判断し、
等しくなければステップ5819に戻る。以下、ri=
jJになるまで同様の動作を繰返し、再生の方向α(j
)を順次判断する。この再生の方向α(j)の判断は、
第26図(a)〜(d)に示すようにして判断する。す
なわち、第26図(a)に示すように■〜■でA、B、
C,第26図(b)に示すように■〜■でり、E、Fを
決め、更に第26因(C)に示すようにA、B、Cとり
、E。
However, if the above point is in the flag area VF or HF, it is set to "0". Then, in step 5820, the playback direction α(j) is determined, and then in step 5821, “
The value of "j" is increased by "+1". Thereafter, the process proceeds to step 5822, where it is determined whether "1" is equal to "j",
If they are not equal, the process returns to step 5819. Below, ri=
The same operation is repeated until jJ is reached, and the playback direction α(j
) are determined sequentially. The determination of the direction α(j) of this regeneration is as follows:
The determination is made as shown in FIGS. 26(a) to 26(d). That is, as shown in FIG. 26(a), A, B,
C, as shown in FIG. 26 (b), determine E and F, and then take A, B, and C as shown in factor 26 (C), and then E.

Fの組合わせでα(j)を判断する。この場合、a(j
)の値ro、1.2Jとその方向との関係は、第26図
(d)に示すように設定されている。
α(j) is determined based on the combination of F. In this case, a(j
) The relationship between the value ro, 1.2J and its direction is set as shown in FIG. 26(d).

しかして、上記ステップ5822で「i−、JJになっ
たと判断されるとステップ5823に進み、2列目の横
圧縮再生を行なう。この横圧縮再生は、第27図(a)
に示すように前記したステップS7と同様にして行なわ
れる。なお、上記第27図(a)において、Aエリアは
再生により生じた範囲であり、Bエリアは再生に伴い移
動する範囲である。次いでステップ5824に・進んで
「j」の値を「1」に設定した後、ステップ5825に
おいて「α(j)=OJか否かを判断する。「α(j>
−〇」でなければステップ8826に進み、斜めへの再
生に伴い位置の変わる範囲、すなわち、繋がっている範
囲を、Aエリア、Bエリアに分けて確認する。以下、第
24図(C)のステップ5827以降の処理を実行する
。また、上記ステップ5825において「α(j)−0
Jであると判断された場合は、第24図(C)のステッ
プ5839に進む。
If it is determined in step 5822 that "i-, JJ" is reached, the process proceeds to step 5823 and performs horizontal compression reproduction of the second column.This horizontal compression reproduction is performed as shown in FIG.
As shown in FIG. 3, the process is carried out in the same manner as step S7 described above. Note that in FIG. 27(a), area A is the range generated by playback, and area B is the range that moves with playback. Next, the process proceeds to step 5824, where the value of "j" is set to "1", and then, in step 5825, it is determined whether "α(j)=OJ".
-〇”, the process advances to step 8826, and the range where the position changes due to diagonal playback, that is, the range that is connected, is divided into area A and area B and confirmed. Hereinafter, the processes after step 5827 in FIG. 24(C) are executed. Also, in step 5825 above, “α(j)−0
If it is determined that it is J, the process advances to step 5839 in FIG. 24(C).

しかして、第24図(C)のステップ5827において
は、例えば第27図(1))に示すようにAエリアをa
1〜λ2列目(β1<Q2)、Bエリアを、もしあれば
β3〜24列目(e3く24)とする。次いでステップ
8828において「α(j>−1」であるか否かを判断
し、[α(j)−14でなければステップ5829に進
んで「α(j)−2」の場合の再生を行なう。「α(j
)=IJの場合は、ステップ8828からステップ58
30に進んで「e」の値を「1」とし、その後、ステッ
プ5831において第27図(C)に示すようにA工リ
アのり1列目をreJだけ落とす。そして、ステップ5
832に示すように「β1」の値を「+1コした後、ス
テップ5833において[1>l Jか否かを判断する
。「β1>i2Jでないと判断された場合は、ステップ
5834でreJの値を「+1」した後ステップ583
1に戻り、Aエリアの次の列をreJだけ、この場合に
は「2」つ落とす。そして、ステップ5833において
[21〉IJになったと判断されると、ステップ583
5に選んでBエリアが有るか否かを判断し、Bエリアが
有る場合はステップ8836に示すようにBエリアの2
1列目をreJだけ落とす。次いでステップ5837お
いて21の値を「+1」した後、ステップ8838に進
んでrj21 >l Jか否かを判断し、rl >42
4 Jでなければステップ8836に戻ってBエリアの
次の列をreJだけ落とす。
Therefore, in step 5827 of FIG. 24(C), for example, as shown in FIG. 27(1)), area A is
The 1st to λ2 columns (β1<Q2) and the B area, if any, are set to the β3 to 24th columns (e3×24). Next, in step 8828, it is determined whether "α(j>-1"), and if it is not [α(j)-14, the process proceeds to step 5829 to perform reproduction in the case of "α(j)-2". “α(j
)=IJ, step 8828 to step 58
30, the value of "e" is set to "1", and then, in step 5831, the first row of the A rear glue is lowered by reJ as shown in FIG. 27(C). And step 5
After increasing the value of "β1" by "+1" as shown in 832, it is determined in step 5833 whether [1>l J or not. After adding "+1" to step 583
Go back to 1 and drop the next column in area A by reJ, in this case "2". Then, if it is determined in step 5833 that it has become [21>IJ, step 583
5 and determines whether or not there is a B area. If there is a B area, select 2 of the B area as shown in step 8836.
Drop only reJ in the first row. Next, in step 5837, after incrementing the value of 21 by "+1", the process proceeds to step 8838, where it is determined whether rj21 > l J, and rl > 42
4 If not J, return to step 8836 and drop the next column in area B by reJ.

すなわち、第27図(C)に示すようにAエリアでは列
が進む毎に落ち方が大きくなるが、Bエリアでは各列と
も落ち方が一定となる。そして、ステップ5838にお
いて[1>ff14 Jになったと判断されると、ステ
ップ5839に進んで「j」の値を「+1」する。この
ステップ5839は、上記ステップ5825あるいはス
テップ5829の処理を終了した場合も実行される。次
いでステップ5840においてrj−iJになったか否
か判断され、rj=iJでなければ第24図(b)のス
テップ5825に戻る。また、ステップ5840におい
てrj−iJになったと判断された場合は、ステップ5
841において21の値が「+1コされ、その後、第2
4図(a)のステップS82に戻る。上記のようにして
第lRAM1G内のキャラクタデータが34列(g−3
4)まで斜め圧縮の再生処理が行なわれ、ステップ88
5においてrfi−35Jになったと判断されると、ス
テップS8の処理を終了して次のステップS9に進む。
That is, as shown in FIG. 27(C), in area A, the direction of fall increases as the rows advance, but in area B, the direction of fall is constant for each row. When it is determined in step 5838 that [1>ff14 J, the process proceeds to step 5839 and the value of "j" is incremented by "+1." This step 5839 is also executed when the process of step 5825 or step 5829 is completed. Next, in step 5840, it is determined whether rj-iJ has been reached, and if rj is not equal to iJ, the process returns to step 5825 in FIG. 24(b). Further, if it is determined in step 5840 that it has become rj-iJ, step 5
At 841, the value of 21 is increased by 1, and then the second
The process returns to step S82 in FIG. 4(a). As described above, the character data in the first RAM 1G is stored in 34 columns (g-3
The diagonal compression playback process is performed up to step 4), and step 88
If it is determined that the RFI-35J is reached in step S5, the process of step S8 is ended and the process proceeds to the next step S9.

次にステップ811の補正キャラクタの再生処理につい
て第28図のフローチャートに従って説明する。この補
正キャラクタの再生処理では、ステップ8111〜51
15の処理により補正を受は得る列を捜しており、ステ
ップ8116以降の処理により補正を受は得る場所を捜
している。まず、ステップ5111においてrlBの値
を「3」に設定した後、ステップ5112に進んで第l
RAM16の2列目にある縦フラグ(Vl ℃−2、V
21−2 >を見る。そして、ステップ5113におい
てrVl j2−2 、V2 R−2−0,OJか否か
を判断し、その判断結果がYESであればステップ51
14に進んでrlの罐を「+1コする。その後、ステッ
プ5115においてrj2−354か否かを判断し、そ
の判断結果がYESであれば次のステップ512に進む
が、NOであればステップ5112に戻る。そして、上
記ステップ8111〜5115の処理により補正を受は
得る列が見つかると、つまり、ステップ5113の判断
結果がNoとなると、ステップ8116に進んで倍長フ
ラグと縦フラグにより再生1(r)を決定する。次いで
ステップ5117においてrSJに「0」、rmJに「
3」をよ込んだ後、ステップ8118に進んで第1RA
 M 16の2列m行目の点の値(V)を見る。そして
、ステップ5119において「v−sJか否かを判断し
、「v−sjであればステップS 1110に進んでr
mJの値を「+1」する。そして、ステップ836にお
いて「m−36Jか否かを判断し、rmJが「36」に
達していなければステップ8118に戻る。そして、上
記ステップ5119において「V−8Jであると判断さ
れると第29図に詳細を示すサブルーチンS U B 
11の処理を実行する。このサブルーチンS IJ B
 11は、補正するか否か、補正するとしたらその型を
判断して補正する。
Next, the reproduction process of the corrected character in step 811 will be explained according to the flowchart of FIG. 28. In this correction character reproduction process, steps 8111 to 51
The process in step 8116 searches for a column where correction can be obtained, and the process in and after step 8116 searches for a position in which correction can be obtained. First, in step 5111, the value of rlB is set to "3", and then the process proceeds to step 5112.
The vertical flag (Vl ℃-2, V
See 21-2 >. Then, in step 5113, it is determined whether rVl j2-2, V2 R-2-0, OJ, and if the determination result is YES, step 51
Proceed to step 14 and add 1 to the rl can. Then, in step 5115, it is determined whether or not rj2-354, and if the result of the determination is YES, proceed to the next step 512, but if NO, step 5112 Then, if a column that receives correction is found through the processing in steps 8111 to 5115, that is, if the judgment result in step 5113 is No, the process proceeds to step 8116, where playback 1 ( r). Next, in step 5117, rSJ is set to "0" and rmJ is set to "0".
3”, proceed to step 8118 and select the 1st RA.
Look at the value (V) at the point in the 2nd column and mth row of M16. Then, in step 5119, it is determined whether "v-sJ", and if "v-sj", the process proceeds to step S1110 and r
Add "+1" to the value of mJ. Then, in step 836, it is determined whether or not "m-36J", and if rmJ has not reached "36", the process returns to step 8118. Then, in step 5119, if it is determined that the vehicle is a V-8J, the subroutine S U B whose details are shown in FIG.
11 is executed. This subroutine S IJ B
Step 11 is to determine whether or not to make a correction, and if so, the type thereof, and to make the correction.

そして、このサブルーチンS LI B 11の処理を
終了すると、ステップ31112でrvlの値をrsj
にセットした後、ステップ31110に戻る。以下、同
様の動作を繰返して行なうが、ステップ31111にお
いて「m−36Jになったと判断されると、ステップ3
1111からステップS 1113に進んで「Q4−a
+r+1」の加算処理を行なった後、ステップ5115
に進む。そして、このステップ5115においてrn−
35Jであると判断されると、ステップ811の処理を
終了してステップS12に進む。
When the processing of this subroutine S LI B 11 is completed, the value of rvl is changed to rsj in step 31112.
After setting, the process returns to step 31110. Hereinafter, similar operations are repeated, but when it is determined that "m-36J" is reached in step 31111, step 3
Proceeding from step S1111 to step S1113, "Q4-a"
+r+1”, step 5115
Proceed to. Then, in this step 5115, rn-
If it is determined that it is 35J, the process of step 811 is ended and the process proceeds to step S12.

しかして、第29図に詳細を示すサブルーチン5UB1
1では、まず、ステップA1において、第30図に示す
よ)に第lRAM16の2列m行目を点A、(M+r)
列m行目を点Bとする。第30図は、「2−5、m=4
、(r=1 )Jとした時の点A1点Bの位置を示した
ものである。次いでステップA2に進んでA、8の回り
を5点づつ見る。第30図の例では、■−〇、■−〇、
■−〇、■−〇、・・・となる。この場合フラグエリア
VF。
Therefore, the subroutine 5UB1 whose details are shown in FIG.
1, first, in step A1, as shown in FIG.
Let the mth row of column be point B. Figure 30 shows "2-5, m=4
, (r=1)J, the positions of point A1 and point B are shown. Next, proceed to step A2 and look at five points around A and 8. In the example in Figure 30, ■-〇, ■-〇,
■−〇,■−〇,... In this case, flag area VF.

HF内は、全てrOJとする。そして、再生11rと調
べた10点により第31図(a)に示す関係から補正型
(1)を見る。そして、ステップA4おいて補正型(1
)がN、2.3.5.J、「0」、「4」の何れである
かを判断し、[1゜2.3.5.Jの場合にはステップ
A5に進んで第31図(b)に示すようにして補正する
。但し、四角で囲まれた点はA、Bにあたる。その後、
ステップS11のメインルーチンにリターンする。また
、ステップA4において補正型(1)が「0」であると
判断された場合は、そのままメインルーチンにリターン
し、rt=4Jであると判断された場合は、rBJから
同じ行を右へ調べ最後にNJなる点を「C」とする。そ
して、ステップA7においてrBJと「CJが同点間れ
ているかをヂエツクし、ステップ八8において4点以上
離れていると判断された場合は、そのままメインルーチ
ンにリターンする。しかし、ステップ八8において、r
BJとrCJが4点以上離れていないと判断された場合
は、ステップA9に進んで[C」の周りの点を調べる。
Everything in HF is rOJ. Then, based on the reproduction 11r and the 10 points examined, the correction type (1) is determined from the relationship shown in FIG. 31(a). Then, in step A4, the correction type (1
) is N, 2.3.5. J, determine whether it is "0" or "4", and select [1°2.3.5. In the case of J, the process proceeds to step A5 and correction is made as shown in FIG. 31(b). However, the points surrounded by squares correspond to A and B. after that,
The process returns to the main routine of step S11. Also, if it is determined that the correction type (1) is "0" in step A4, the process returns to the main routine as is, and if it is determined that rt=4J, the same line is checked from rBJ to the right. Finally, let the point NJ be "C". Then, in step A7, it is checked whether rBJ and CJ are tied, and if it is determined in step 88 that they are separated by 4 points or more, the process returns to the main routine. However, in step 88, r
If it is determined that BJ and rCJ are not separated by 4 points or more, the process proceeds to step A9 to check the points around [C].

すなわち、ステップA10〜A13により「C」の周り
が(+)、(il)、(m)、(lv)の何れの条件で
あるかを調べる。
That is, in steps A10 to A13, it is checked whether the condition around "C" is (+), (il), (m), or (lv).

上記(1)、(11)、(iii )、(1v)は、「
C」を中心に第32図(a)に示す条件を轟えたもめで
あることを意味している。この第32図(a)において
、斜線部は既に決まっているエリアであるので考慮はし
ない。また、この場合もフラグエリアは全てrOJとみ
なす。そして、rCJを中心として第32図(b)に示
すようにして補正が行なわれる。しかして、上記ステッ
プAIOにおいて(1)の条件を満たしていないと判断
された場合はそのままメインルーチンに戻る。そして、
(1)の条件は満たすが(11)の条件を満たしていな
い場合は、ステップA11からステップA14に進んで
第32図(b)におけるrIJの補正を行ない、その後
、メインルーチンに戻る。また、(1)、(11)の条
件は満たすが(iii )の条件を満たしていない場合
は、あるいは(1)、(1i)、(*ii )の条件は
満たすが(lv)の条件を満たしていない場合は、ステ
ップA12またはステップA13からステップA15に
進んでrBJと「C」が3点離れているか否かを判断し
、3点離れていない場合はステップA16に進んで第3
2図(b)における「iI」の補正を行ない、その後、
メインルーチンにリターンする一0上記ステップA15
において「8」と「C」が3点離れていると判断された
場合は、令兄ている補正フラグ(縦フラグ)の位置と補
正「■」の位置が一致しない場合であるので、そのまま
メインルーチンにリターンする。更に上記(1)〜(1
1/)の条件を全て満たす場合は、ステップA17に進
んで第32図(b)におけるrI[IJの補正を行ない
、その侵、メインルーチンにリターンする。
The above (1), (11), (iii), and (1v) are
This means that the conditions shown in FIG. 32(a) centering on "C" were a raging dispute. In FIG. 32(a), the shaded area is an area that has already been determined, so it will not be considered. Also in this case, all flag areas are considered to be rOJ. Then, correction is performed as shown in FIG. 32(b) centering around rCJ. If it is determined in step AIO that the condition (1) is not satisfied, the process directly returns to the main routine. and,
If the condition (1) is satisfied but the condition (11) is not satisfied, the process advances from step A11 to step A14 to correct rIJ as shown in FIG. 32(b), and then returns to the main routine. Also, if conditions (1) and (11) are satisfied but condition (iii) is not satisfied, or if conditions (1), (1i), and (*ii) are satisfied but condition (lv) is not satisfied, If not, the process proceeds from step A12 or step A13 to step A15, and it is determined whether or not rBJ and "C" are separated by 3 points. If they are not separated by 3 points, the process proceeds to step A16, and the third
After correcting “iI” in Figure 2(b),
Return to main routine 10 above step A15
If it is determined that "8" and "C" are 3 points apart, this means that the position of the older correction flag (vertical flag) and the position of correction "■" do not match, so the main Return to routine. Furthermore, the above (1) to (1)
1/), the process proceeds to step A17 to correct rI[IJ in FIG. 32(b), and then returns to the main routine.

次に上記ステップ813の詳細について第33図に従っ
て説明する。まず、第3311(a)のステップ513
1においてrK−OJか否かを判断する。
Next, details of step 813 will be explained with reference to FIG. 33. First, step 513 of No. 3311(a)
1, it is determined whether or not it is rK-OJ.

最初はrK−OJであり、ステップ5132に進んで「
a」 (列情報)及びrbJ  (行情報)の値を「1
」にセットする。次いでステップ5133においてrf
iJに813.314.815で表わされる故(共通キ
ャラクタ数−1)を入れる。上記813.814、B1
5は、1つ目の共通キャラクタを見ている場合(K−0
) 、共通キャラクタ数を表わしている。その後、ステ
ップ5134において、第34図に示すように第lRA
M16の1〜X列目、1〜y列目を第2RAM18の「
a−a+X列目」、「b−b+y列目」にオアをとりな
がら1く。この場合、第34図に示すように第lRAM
16で再生された(k+1)番目の共通キャラクタを第
2RA M 18に書く際、P点の情報をa、bで与え
(P点はa列、b行目にある)、再生された共通キャラ
クタの大きさをx、yで与える。そして、ステップ51
35においてrb+y+1Jの値をrbJとしてセット
すると共に、rK+IJの値をrKJとしてセットし、
次のraJ  rbJを決める準備をする。その債、ス
テップ8136において「a+X+1>CJか否かを判
断し、その判断結果がYESの場合はステップ5131
に進んで[a+x+lJを「C」としてセットする。こ
のステップ5137の処理が終了、あるいはステップ8
136の判断結果がNoの場合はステップ8138に進
んでl1l−に−−IJか否かを判断する。このステッ
プ8138において、その判断結果がN。
The first is rK-OJ, and the process proceeds to step 5132, where "
a” (column information) and rbJ (row information) values to “1”
”. Then in step 5133 the rf
Enter (number of common characters - 1) represented by 813.314.815 into iJ. 813.814 above, B1
5 is when looking at the first common character (K-0
) represents the number of common characters. Thereafter, in step 5134, as shown in FIG.
Columns 1 to X and columns 1 to y of M16 are stored in the second RAM 18.
1 while taking an OR in "a-a+X column" and "b-b+y column". In this case, as shown in FIG.
When writing the (k+1)th common character reproduced in 16 to the second RAM 18, information on point P is given in a and b (point P is in column a and row b), and the reproduced common character Give the size in x and y. And step 51
35, set the value of rb+y+1J as rbJ, and set the value of rK+IJ as rKJ,
Prepare to decide the next raJ rbJ. For that bond, in step 8136, it is determined whether "a+X+1>CJ", and if the determination result is YES, step 5131
Go to [Set a+x+lJ as "C". The process of step 5137 is completed, or step 8
If the determination result at step 136 is No, the process advances to step 8138 and it is determined whether or not l1l---IJ. In this step 8138, the determination result is N.

′  の場合はステップS3に戻り、YESの場合は次
のステップ814に進んでセンタリング処理を行なう。
′, the process returns to step S3, and if YES, the process proceeds to the next step 814 to perform centering processing.

しかして、上記ステップ5131において、「K−〇」
ではないと判断された場合は、第33図(b)のステッ
プ5139に進んで共通キャラクタの位置関係を表わす
813、B14、B15をチェックする。この場合、上
記813.814.815は、他の共通キャラクタとの
位[l3l係を表わす位置フラグであり、rK+IJ番
目の共通キャラクタ指示メモリ部31bに記憶されてい
るデータを見ている。
Therefore, in step 5131 above, "K-〇"
If it is determined that this is not the case, the process advances to step 5139 in FIG. 33(b) and checks 813, B14, and B15, which represent the positional relationship of common characters. In this case, the above 813.814.815 is a position flag indicating the position [l3l relationship with other common characters, and the data stored in the rK+IJth common character instruction memory section 31b is being looked at.

そして、ステップ81310において、rB13=1J
、またはrB14.BIS−0,OJか否かを判断し、
その判断結果がYESの場合は、ステップ51311に
進んでrb+y>324か否かを判断する。このステッ
プS 1311の判断結果がYESの場合は、ステップ
S 1312においてrbJの値を「0」、「a」の値
をrcJとした後ステップ31313に進む。また、上
記ステップ31310及び51311でNOと判断され
た場合もステップS 1313に進む。上記ステップ8
1310〜81312では、第34図(b)に示すよう
に第2RAM18の再生エリア18a(32列×32行
)に収まるか否かを見ており、共通キャラクタが再生エ
リア18aの下からはみ出したら右上へ位置を移す処理
を行なっている。そして、上記ステップ31313では
、rB14.815−0. OJか否の判断を行ない、
YESの場合はステップ5134へ戻り、Noの場合は
ステップ51314に進んでr B 13− OJか否
かを判断する。このステップS 1314の判断結果が
Noの場合は、ステップS 1315において左側との
位置関係を考えi raJrbJを決め、その後、ステ
ップ5134に戻る。
Then, in step 81310, rB13=1J
, or rB14. BIS-0, determine whether OJ or not,
If the determination result is YES, the process advances to step 51311 and it is determined whether rb+y>324. If the determination result in step S1311 is YES, in step S1312 the value of rbJ is set to "0" and the value of "a" is set to rcJ, and then the process proceeds to step S31313. Also, if NO is determined in steps 31310 and 51311, the process proceeds to step S1313. Step 8 above
1310 to 81312 check whether the common character fits within the playback area 18a (32 columns x 32 rows) of the second RAM 18 as shown in FIG. The process of moving the location to is in progress. Then, in step 31313 above, rB14.815-0. Judging whether it is OJ or not,
If YES, the process returns to step 5134; if No, the process proceeds to step 51314, where it is determined whether or not r B 13-OJ. If the determination result in step S1314 is No, in step S1315 iraJrbJ is determined considering the positional relationship with the left side, and then the process returns to step S5134.

また、ステップ31314においてr B 13− O
Jであると判断された場合は、ステップ31316に進
んで「mO」の値をrb−1J、rmI J (1)f
liヲrOJにセットした後ステップS 1317に進
み、第2RAM18のmO行目が「a〜32」列目まで
rOJか否かを見る。上記ステップ3131G、S 1
317では、共通キャラクタを付けるときのことを考え
ており、第2RAM18の何行目まで実際に共通キャラ
クタが存在するかを見ている。第34図(C)に示すよ
うに共通キャラクタが余白を持っている場合、その余白
の幅をmlとしてrbJを決める際に考慮する。そして
、上記ステップ81318において、第2RAM18の
mO行目が「a〜32」列目まで全て「0」であると判
断された場合は、ステップS 1319に進み、「mO
」の値を「−1」、「ml」の値をr+1jした後、ス
テップ51317に戻る。
Also, in step 31314 r B 13- O
If it is determined that
After setting li to rOJ, the process proceeds to step S1317, and it is checked whether the mO row of the second RAM 18 is rOJ from column "a to 32". Above step 3131G, S 1
In step 317, consideration is given to attaching a common character, and the number of lines in the second RAM 18 in which the common character actually exists is checked. When the common character has a margin as shown in FIG. 34(C), the width of the margin is taken into consideration when determining rbJ as ml. If it is determined in the above step 81318 that the mO row of the second RAM 18 is all "0" from columns "a to 32", the process advances to step S1319, and the mO
” is set to “−1” and the value of “ml” is set to r+1j, and then the process returns to step 51317.

以下、同様の処理を繰返し、ステップS 1318の判
断結果がNOになると、第33図(C)のステップ81
32Gに進み、「mO」の値を「1」、「ml」の値を
「0」にセットする。そして、ステップS 1321に
おいて第lRAM1Gの第1行目が全てrOJか否かを
チェックし、ステップ81322において全て「0」か
否か判断する。全て「0」であると判断された場合は、
ステップ81323に進んで「mO」の値及び「ml」
の値をr+1Jした後、ステップ31321に戻る。上
記ステップ31321〜S 1323では、共通キャラ
クタを付ける時のことを考え、第34図(d)に示すよ
うに第lRAM16が上部に回行の余白(ml)を持っ
ているが見ている。そして、上記ステップS 1322
において第1RA M 1GのmO行目が全て「0」で
ないと判断された場合は、ステップ51324に進んで
rb−ml−ml」をrbJとしてセットする。そして
、ステップ81325において、rB14. B15J
が[1゜OJ、IO,IJ、rl、1Jの何れであるが
を判断し、rl、OJであればステップ5134へ戻る
。また、ステップS 1325において、l 1314
゜315Jがro、1Jであると判断された場合はステ
ップ31326において「b」の値をr−1Jした後ス
テップ5134へ戻り、「[314,B15Jが「1゜
1」であると判断された場合はステップ31327にお
いて「b」の値をr−2J した後ステップ5134へ
戻る。上記ステップ81325〜81327では、共通
キャラクタを更に重ねることを考慮している。
Thereafter, the same process is repeated, and if the determination result in step S1318 is NO, step 81 in FIG. 33(C)
Proceed to 32G and set the value of "mO" to "1" and the value of "ml" to "0". Then, in step S1321, it is checked whether the first row of the first RAM 1G is all "rOJ", and in step S81322, it is determined whether all the rows are "0". If all are determined to be “0”,
Proceed to step 81323 and set the value of "mO" and "ml"
After increasing the value of by r+1J, the process returns to step 31321. In the above steps 31321 to S1323, considering the case where a common character is attached, the first RAM 16 is checked even though it has a circular margin (ml) at the top, as shown in FIG. 34(d). Then, the above step S1322
If it is determined that the m0th row of the first RAM 1G is not all "0", the process proceeds to step 51324 and sets "rb-ml-ml" as rbJ. Then, in step 81325, rB14. B15J
is [1° OJ, IO, IJ, rl, or 1J. If it is rl or OJ, the process returns to step 5134. Also, in step S 1325, l 1314
If it is determined that ゜315J is ro, 1J, the value of "b" is r - 1J in step 31326, and then the process returns to step 5134, and the process returns to step 5134, and the process returns to step 5134, and the process returns to step 5134, and the process returns to step 5134, where it says ``[314, B15J was determined to be ``1゜1''. If so, in step 31327, the value of "b" is r-2J, and then the process returns to step 5134. In steps 81325 to 81327 above, further overlapping of common characters is considered.

例えばrB14,815−1.OJの場合、第35図(
a)に示す第2RAM18の共通キャラクタに対し、同
図(b)に示す第lRAM1Gの共通キャラクタを重ね
ると、同図(C)に示すようになる。
For example rB14,815-1. In the case of OJ, Fig. 35 (
When the common characters of the second RAM 18 shown in a) are superimposed on the common characters of the first RAM 1G shown in FIG.

本来、rbJは前の共通キャラクタの最終行の次の行を
指しているが、ml 、第2  (814,815も含
む)を考慮し、[)Jを変え、位置を決めている。
Originally, rbJ points to the line following the last line of the previous common character, but considering ml and the second (including 814 and 815), [)J is changed to determine the position.

次にステップ814の詳細について第36図のフローチ
ャートに従って説明する。まず、ステップ81411、
:、オuNT r RJの値を「32」、raJの値を
「0」にセットする。次いでステップ5142に進み、
第lRAM16の2列目が1〜32行目まで全てrOJ
かどうかチェックし、ステップ5143において全てr
OJと判断された場合はステップ5144に進み、「ρ
」の値をr−1jL。
Next, details of step 814 will be explained according to the flowchart of FIG. 36. First, step 81411,
:, set the value of uNT r RJ to "32" and the value of raJ to "0". Then proceed to step 5142;
The 2nd column of the 1st RAM 16 is all rOJ from 1st to 32nd rows.
In step 5143, all r
If it is determined that the
” is r−1jL.

raJの値をr+IJL、、その侵、ステップ5142
に戻る。すなわち、上記ステップ8141〜5144の
処理により、何列文字をずらせば文字が中央にくるかを
見ている。そして、上記ステップ8142〜5144の
処理を繰返し実行し、その後、ステップ5143の判断
結渠がNOとなった場合はステップ5145に進み、r
aJにra/2Jより小さくない最小の整数を入れる。
Set the value of raJ to r+IJL, step 5142
Return to That is, through the processing in steps 8141 to 5144, it is determined how many rows of characters need to be shifted to bring the characters to the center. Then, the processes in steps 8142 to 5144 are repeatedly executed, and then, if the determination result in step 5143 is NO, the process proceeds to step 5145, and r
Enter the smallest integer not smaller than ra/2J into aJ.

次いでステップ8146において第37図に示すように
文字全体をa列右へ移す。このとき移してくる列データ
がない列は、「0」を右に移す。以上でステップ314
のセンタリング処理を終了し、次のステップ315に進
む。このステップ815では、上記のようにして第2R
AM18に再生したキャラクタデータをスタックレジス
タ29a〜29dに層込み、このスタックレジスタ29
a〜29dより32ビツトのキャラクタデータとして表
示部へ順次出力する。
Next, in step 8146, the entire character is moved to the right in column a, as shown in FIG. For columns that do not have column data to be moved at this time, "0" is moved to the right. Step 314
The centering process is completed and the process proceeds to the next step 315. In this step 815, the second R
The character data reproduced in AM18 is layered into stack registers 29a to 29d, and this stack register 29
A to 29d are sequentially output to the display unit as 32-bit character data.

[発明の効果1 以上詳記したように本発明によれば、漢字等の字体を部
首別に分離すると共に上記部首を含む字体を共通部に分
離してなる共通キャラクタをキャラクタメモリに記憶し
、複数の共通キャラクタの組合わせで字体キャラクタを
構成するキャラクタ発生器において、各構成文字に対す
る共通キャラクタの組合わせの順番を共通キャラクタ指
示メモリに記憶させ、キャラクタ再生時に上記キャラク
タ指示メモリに記憶している指示データに従って指定共
通キャラクタを予め設定された文字枠内においで順次連
続的に配置すると共に、上記共通キャラクタの配列時に
共通キャラクタが文字枠を外れた際は設定順番に従って
次の位置に配列することにより、指定文字キャラクタを
形成するようにしたので、キャラクタ発生器のメモリ容
−を著しく減少し得ると共に文字キャラクタの再生を確
実にでき、情報処理機器の小型化に有利であると共にコ
ストの低下を図り得るものである。
[Advantageous Effects of the Invention 1] As detailed above, according to the present invention, fonts such as Chinese characters are separated by radical, and common characters formed by separating fonts including the radicals into common parts are stored in the character memory. , in a character generator that configures a font character by a combination of a plurality of common characters, the order of the combination of common characters for each constituent character is stored in a common character instruction memory, and is stored in the character instruction memory when playing a character. The specified common characters are arranged sequentially and continuously within the preset character frame according to the instruction data provided, and when the common characters are arranged outside the character frame when the common characters are arranged, they are arranged in the next position according to the set order. As a result, the memory capacity of the character generator can be significantly reduced and the character can be regenerated reliably, which is advantageous for downsizing information processing equipment and reducing costs. It is possible to achieve this.

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

図面は本発明の一実施例を示すもので、第1図は全体の
回路構成を示すブロック図、第2図は第1図における第
lRAM及び第2RAMの記憶構成を示す図、第3図は
第1図におけるキャラクタROMの記憶構成を示す図、
第4図は文字を分離して共通キャラクタを構成する場合
の概念を示す図、第5図は共通キャラクタを補正して圧
縮する場合の概略動作を示す図、第6図は共通キャラク
タを補正して構成した補正キャラクタ例を示す図。 第7図は縦横圧縮例を示す図、第8図は斜め圧縮方法を
示す図、第9図は二重圧縮例を示す図、第10図はセン
タリング圧縮例を示す図、第11図はキャラクタROM
の共通キャラクタ部におけるキャラクタエリアとフラグ
エリアとの関係を示す図、第12図(a)〜(C)は各
種フラグとその機能との関係を示す図、第13図はキャ
ラクタROMにおける共通キャラクタ指示データのビッ
ト構成を示す図、第14図は上記共通キャラクタ指示デ
ータ(813,814,815)と共通キャラクタ数と
の関係を示す図、第15図は上記共通キャラクタ指示デ
ータ(B13. B14.815)と位置フラグ内容と
の関係を示ず図、第16図は共通キャラクタの型の判断
動作を示す図、第17図は縦長可変フラグ及び回転フラ
グと共通キャラクタの大きざ(X、lとの関係を示す図
、第18図は文字キャラクタ再生時の全体の処理動作を
示すフローチャート、第19図は第18図の主要ステッ
プに対する文字再生の状態を示す図、第20図は第18
図におけるステップS5の詳細を示すフローチャート、
第21図は第18図におけるステップS4の詳細を示す
フローチャート、第22図は第18図におけるステップ
S7の詳細を示すフローチャー1・、第23図は第22
図における横圧縮再生の例を示す図、第24図(a)〜
(C)はは第18図におけるステップS8の詳細を示す
フローチャート、第25図(a)(b)はステップS8
の動作を説明するための第1 RAM及び第2RAMの
データ記憶状態例を示す図、第26図はステップ$8に
おけるα(j)の判断W準及びその判断結果に基づく方
向を示す図、第27図(a)〜(C)はステップS8中
の横圧縮再生動作を示す図、第28図はステップS11
の詳細を示すフローチャート、第29図におけるサブル
ーチン5UB11の詳細を示すフローチャート、第30
図は上記ステップ811の動作を説明するための第lR
AMに対するデータチェック状態を示す図、第31図(
a)はチェック点及び再生虐と補正型との関係を示す図
、第31図(b)は上記補正型の詳細を示す図、第32
図は補正の方法を示す図、第33図(a)〜(C)は第
18図におけるステップS13の詳細を示すフローチャ
ート、第34図(a) 〜(d)及び第35 (a)〜
(c)1.tmlRAM及び第2RAMにおける文字キ
ャラクタ再生状態を示す図、第36図は第18図におけ
るステップ814の詳細を示すフローチャート、第37
図は第lRAMにおける文字キャラクタのセンタリング
動作を示す口である。 11・・・発振回路、12・・・プログラムカウンタ、
13・・・ROMアドレススタックレジスタ、14・・
・プログラムROM、15・・・インストラクションデ
コーダ、16・・・第1 RAM%−7,27・・・ア
ドレスカウンタ、18・・・第2RAM、22・・・比
較回路、23・・・演算回路、24・・・デコーダ、2
9a〜29d・・・スタックレジスタ、31・・・キャ
ラクタROM。 特許出願人 カシオ計算機株式会社 (a)(b) 第2図 第3図 圧縮部 共通キャリア (a) タテ、ヨコ圧縮例 第7図 タテ、ヨコ圧縮キャリア (b) 第8図 横7ラグエリア 第11図 第12図 1転フラグ 第13図 第15図 第16図 第17図 ステップSマ 横圧縮再生 第23図 第24図(b) 第25図(Q) 第25図(b) (Q)          (b) (C) 第26図 第27図 第二 12図 ステップS目! (Q) 第33図 第33図(c) 第34図(G) 第34図(b) 第34図    (d) Bs4.8+s−1,0の場合 4″””7(RAM8)RAMA 再生エリア 第35図 再生エリア 全てO全てO 第37図
The drawings show one embodiment of the present invention; FIG. 1 is a block diagram showing the overall circuit configuration, FIG. 2 is a diagram showing the storage configuration of the first RAM and the second RAM in FIG. 1, and FIG. A diagram showing the storage configuration of the character ROM in FIG. 1,
Fig. 4 is a diagram showing the concept of separating characters to form common characters, Fig. 5 is a diagram showing a schematic operation when correcting and compressing common characters, and Fig. 6 is a diagram showing the general operation when correcting and compressing common characters. The figure which shows the example of the correction character which is constructed. Figure 7 shows an example of vertical and horizontal compression, Figure 8 shows a diagonal compression method, Figure 9 shows an example of double compression, Figure 10 shows an example of centering compression, and Figure 11 shows a character ROM
12(a) to (C) are diagrams showing the relationship between various flags and their functions. FIG. 13 is a common character instruction in the character ROM. 14 is a diagram showing the relationship between the common character instruction data (813, 814, 815) and the number of common characters, and FIG. 15 is a diagram showing the common character instruction data (B13.B14.815). ) and the content of the position flag, Figure 16 is a diagram showing the judgment operation of common character types, and Figure 17 is a diagram showing the relationship between the vertically variable flag, the rotation flag, and the common character size ( FIG. 18 is a flowchart showing the overall processing operation during character reproduction. FIG. 19 is a diagram showing the state of character reproduction for the main steps in FIG. 18. FIG.
A flowchart showing details of step S5 in the figure,
21 is a flowchart showing details of step S4 in FIG. 18, FIG. 22 is a flowchart 1 showing details of step S7 in FIG. 18, and FIG.
Figures 24(a) to 24(a) are diagrams showing examples of horizontal compression playback in the figure.
(C) is a flowchart showing details of step S8 in FIG. 18, and FIGS. 25(a) and (b) are steps S8.
FIG. 26 is a diagram showing an example of the data storage state of the first RAM and the second RAM for explaining the operation of FIG. 27(a) to (C) are diagrams showing the horizontal compression reproduction operation in step S8, and FIG. 28 is a diagram showing the horizontal compression reproduction operation in step S11.
Flowchart showing details of subroutine 5UB11 in FIG. 29, Flowchart showing details of subroutine 5UB11 in FIG.
The figure is for explaining the operation of step 811.
A diagram showing the data check state for AM, Fig. 31 (
Fig. 31(b) is a diagram showing the details of the correction type, Fig. 32
33(a) to 33(C) are flowcharts showing details of step S13 in FIG. 18, and FIGS. 34(a) to (d) and 35(a) to 35.
(c)1. 36 is a flowchart showing the details of step 814 in FIG. 18;
The figure shows the centering operation of a character in the first RAM. 11... Oscillation circuit, 12... Program counter,
13...ROM address stack register, 14...
- Program ROM, 15... Instruction decoder, 16... First RAM%-7, 27... Address counter, 18... Second RAM, 22... Comparison circuit, 23... Arithmetic circuit, 24...decoder, 2
9a to 29d...Stack register, 31...Character ROM. Patent applicant: Casio Computer Co., Ltd. (a) (b) Figure 2 Figure 3 Compression section common carrier (a) Example of vertical and horizontal compression Figure 7 Vertical and horizontal compression carrier (b) Figure 8 Horizontal 7 lug area No. 11 Fig. 12 Fig. 1 transfer flag Fig. 13 Fig. 15 Fig. 16 Fig. 17 Step S-major horizontal compression playback Fig. 23 Fig. 24 (b) Fig. 25 (Q) Fig. 25 (b) (Q) ( b) (C) Figure 26 Figure 27 Figure 2 Step S! (Q) Fig. 33 Fig. 33 (c) Fig. 34 (G) Fig. 34 (b) Fig. 34 (d) For Bs4.8+s-1,0 4''''7 (RAM8) RAMA playback area Figure 35: All playback areas O All O Figure 37

Claims (1)

【特許請求の範囲】[Claims] 漢字等の字体を部首別に分離すると共に上記部首を含む
字体を共通部に分離してなる共通キャラクタをキャラク
タメモリに記憶し、複数の共通キャラクタの組合わせで
字体キャラクタを構成するキャラクタ発生器において、
各構成文字に対する共通キャラクタの組合わせの順番を
記憶してなる共通キャラクタ指示メモリと、キャラクタ
再生時に上記キャラクタ指示メモリに記憶している指示
データに従って指定共通キャラクタを予め設定された文
字枠内において順次連続的に配置する手段と、上記共通
キャラクタの配列時に共通キャラクタが文字枠をはずれ
た際は設定順番に従って次の位置に配列して文字キャラ
クタを形成する手段とを具備したことを特徴とする文字
キャラクタの再生方式。
A character generator that separates fonts such as kanji into radicals and stores common characters formed by separating fonts including the radicals into common parts in a character memory, and configures font characters by combining a plurality of common characters. In,
A common character instruction memory stores the order of common character combinations for each constituent character, and when playing a character, the designated common characters are sequentially placed within a preset character frame according to the instruction data stored in the character instruction memory. A character characterized by comprising means for arranging the common characters continuously, and means for arranging the common characters in the next position according to the set order to form a character when the common characters are out of the character frame when arranging the common characters. Character playback method.
JP61093904A 1986-04-23 1986-04-23 Character charactor playback method Expired - Lifetime JPH083707B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61093904A JPH083707B2 (en) 1986-04-23 1986-04-23 Character charactor playback method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61093904A JPH083707B2 (en) 1986-04-23 1986-04-23 Character charactor playback method

Publications (2)

Publication Number Publication Date
JPS62250486A true JPS62250486A (en) 1987-10-31
JPH083707B2 JPH083707B2 (en) 1996-01-17

Family

ID=14095466

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61093904A Expired - Lifetime JPH083707B2 (en) 1986-04-23 1986-04-23 Character charactor playback method

Country Status (1)

Country Link
JP (1) JPH083707B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01295567A (en) * 1988-05-23 1989-11-29 Canon Inc Image forming device having character synthesizing function

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01295567A (en) * 1988-05-23 1989-11-29 Canon Inc Image forming device having character synthesizing function
JP2911457B2 (en) * 1988-05-23 1999-06-23 キヤノン株式会社 Image forming device

Also Published As

Publication number Publication date
JPH083707B2 (en) 1996-01-17

Similar Documents

Publication Publication Date Title
KR880000298B1 (en) Multiword memory data storage and addressing technique and apparatus
US6353910B1 (en) Method and apparatus for implementing error correction coding (ECC) in a dynamic random access memory utilizing vertical ECC storage
JPH0248931B2 (en)
JPS62250486A (en) Character reproduction system
AU619088B2 (en) A partially storing control circuit used in a memory unit
CN105700917A (en) Method and apparatus for synchronizing DLL and database
JPS62250085A (en) Method for regenerating letter character
JPS60110056A (en) Dynamic changing method for memory address generation of data processing system
JPS62250488A (en) Character compression system
JPS62250490A (en) Character reproduction system
JPS62250485A (en) Character compression system
EP0220763B1 (en) Teletext signal processing circuit for a teletext receiver
JPS62250484A (en) Character compression system
JPS62250483A (en) Character compression system
JPS62250489A (en) Character compression system
JPS62250491A (en) Character reproduction system
US5988872A (en) Sector data decoding method and circuit in a CD-ROM drive
CN112631672B (en) Repositioning method, repositioning device, electronic equipment and readable medium
JPH0812543B2 (en) Character charactor compression method
JPS59197946A (en) Memory device
JPH03266141A (en) Microprocessor system
US20050038972A1 (en) Recording medium playback apparatus
JPH01269141A (en) Microprocessor having extension port
JPH0398119A (en) Storage device
US6725353B1 (en) Input/output register programming system and method