JPS5858673B2 - Variable size character display method - Google Patents

Variable size character display method

Info

Publication number
JPS5858673B2
JPS5858673B2 JP16433679A JP16433679A JPS5858673B2 JP S5858673 B2 JPS5858673 B2 JP S5858673B2 JP 16433679 A JP16433679 A JP 16433679A JP 16433679 A JP16433679 A JP 16433679A JP S5858673 B2 JPS5858673 B2 JP S5858673B2
Authority
JP
Japan
Prior art keywords
character
memory
displayed
horizontal
pattern
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP16433679A
Other languages
Japanese (ja)
Other versions
JPS5687082A (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.)
Fujitsu Ltd
Japan Broadcasting Corp
Original Assignee
Fujitsu Ltd
Nippon Hoso Kyokai NHK
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, Nippon Hoso Kyokai NHK filed Critical Fujitsu Ltd
Priority to JP16433679A priority Critical patent/JPS5858673B2/en
Publication of JPS5687082A publication Critical patent/JPS5687082A/en
Publication of JPS5858673B2 publication Critical patent/JPS5858673B2/en
Expired legal-status Critical Current

Links

Description

【発明の詳細な説明】 本発明は、膨大な量のメモリを使用することなく各種、
各大きさの文字を表示できる可変サイズ文字表示方式に
関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention enables various
This invention relates to a variable size character display method that can display characters of various sizes.

漢字表示装置は各種の文字のドツトパターンメモリを持
ち、文字コードにより該メモリを読み出して画像信号を
得、これをCRT(陰極線管)に与えて該文字を表示す
る。
The kanji display device has a dot pattern memory for various characters, reads out the memory according to the character code to obtain an image signal, and supplies this to a CRT (cathode ray tube) to display the character.

文字特に漢字の種類は極めて多数あるから当該業務で使
用する文字を選択してドツトパターンメモリを作るが、
このメモリは字の大きさ別にも揃える必要がある。
There are many types of characters, especially kanji, so you can create a dot pattern memory by selecting the characters you will use for the job.
This memory needs to be arranged according to font size.

第5図はこれを説明する図で、CG1は7×9ドツトの
大きさの各種文字パターンを記憶するROM(!J−ド
オンリーメモリ)からなる文字パターン発生器、CG2
.CG3.CG4は16X16.24X24.32X3
2ドツトの大きさの各種の文字パターン(CG1と同じ
文字、勿論一部または全部が異種のものであってもよい
)を記憶するROMからなる文字パターン発生器である
FIG. 5 is a diagram explaining this, in which CG1 is a character pattern generator consisting of a ROM (!J-only memory) that stores various character patterns of 7 x 9 dots, CG2
.. CG3. CG4 is 16X16.24X24.32X3
This is a character pattern generator consisting of a ROM that stores various character patterns (the same characters as CG1, but of course, some or all of them may be of a different type) of a size of 2 dots.

文字表示に当っては、文字を示すコードとその大きさを
指定するサイズ情報とがコードバッファCBから出力さ
れ、サイズ情報に従って文字パターン発生器CG1〜C
G4のいずれか1つが選択され1文字コードがアドレス
信号となって選択された文字パターン発生器のアドレッ
シングが行なわれ、当該文字パターンが出力される。
When displaying characters, a code indicating a character and size information specifying its size are output from the code buffer CB, and character pattern generators CG1 to C are output according to the size information.
When one of G4 is selected, the one-character code becomes an address signal to address the selected character pattern generator, and output the character pattern.

このように各文字パターン発生器CG1〜CG、Itそ
の記憶する文字パターンの大きさが固定されているので
種々の大きさの文字を表示しようとすると、多数の文字
パターン発生器を具備せねばならず、スペース、価格等
の点で難がある。
In this way, each of the character pattern generators CG1 to CG, It stores a fixed character pattern size, so if characters of various sizes are to be displayed, a large number of character pattern generators must be provided. However, there are difficulties in terms of space, price, etc.

そこで文字パターンメモリは1種ないし]1数種に限定
しく従って文字の太きさも1種または数種Iこ限定され
る)とし、それを1ビツトまた2ビツトのサイズ情報で
選択させるようにするのが普通である。
Therefore, the character pattern memory is limited to one or more types, and accordingly the character thickness is also limited to one or more types), and it is made to be selected using 1 or 2 bits of size information. is normal.

しかしながら例えば図形等を表示した画面に文字を挿入
したり、各種アニメーションを可能とした表示装置への
文字挿入では、各種の大きさの文字を任意の位置に表示
することが望まれる。
However, for example, when inserting characters into a screen displaying figures or the like, or when inserting characters into a display device that allows various animations, it is desirable to display characters of various sizes at arbitrary positions.

本発明は、膨大な量のメモリを必要とすることなく、か
Xる要求を満足させ得る可変サイズ文字表示方式を提供
しようとするものであり、その特徴は文字パターン発生
器にランダムアクセスメモリを用い、該メモリの1ワー
ドを構成する横列のビット数Bを単位としてビット数n
BXm(n、mは整数)から成る各種の大きさの種々の
文字パターンを1文字パターンの第1横列のnB個のド
ツトは該メモリの連続するn個の横列に、また該文字パ
ターンの第2横列のnB個のドツトは該メモリの該n個
の横列以降に連続するn個の列にという順序ですべての
文字パターンを該メモIJ lこ密lこ予め書込んでお
き、陰極線管表示面への表示に際しては、被表示文字の
水平走査線の縦方向での位置を示すナンバーYと、被表
示文字の当該走査線上の位置を示すクロック数Xと、被
表示文字の第1横列の最初のB個のドツトが前記メモリ
に書込まれている該メモリの横列ナンバーで表わした当
該文字のコードと、前記横列の数nで表わした被表示文
字の横方向の大きさと被表示文字の走査線数で表わした
縦方向の大きさとからなる読出し信号で前記メモリの読
出しを行ない、前記表示面に当該文字パターンを表示す
る点にある。
The present invention aims to provide a variable-size character display method that can satisfy these requirements without requiring a huge amount of memory, and its feature is that a random access memory is used in the character pattern generator. The number of bits n is calculated using the number of bits B in the row constituting one word of the memory as a unit.
BXm (n, m are integers) of various character patterns of various sizes are stored in nB dots in the first row of one character pattern in consecutive n rows of the memory, and For the nB dots in two rows, all character patterns are written in advance in the memo IJ in the order of n consecutive columns after the n rows of the memory, and then displayed on the cathode ray tube display. When displaying on a screen, the number Y indicating the vertical position of the horizontal scanning line of the displayed character, the clock number X indicating the position of the displayed character on the scanning line, and the first horizontal row of the displayed character. The first B dots are the code of the character written in the memory, represented by the row number of the memory, the horizontal size of the character to be displayed, represented by the number n of the rows, and the character to be displayed. The character pattern is displayed on the display surface by reading out the memory using a readout signal having a length in the vertical direction expressed by the number of scanning lines.

以下実施例を参照しながらこれを詳細に説明する。This will be explained in detail below with reference to Examples.

第1図は本発明の実施例装置の概要を示し、計算機11
文字ファイル2.インターフェイス部3、パターンメモ
リ部4、データバッファ部5.制脚部6.CRT表示部
7からなる。
FIG. 1 shows an outline of an embodiment of the present invention, and shows a computer 11.
Character file 2. Interface section 3, pattern memory section 4, data buffer section 5. Leg restraint part 6. It consists of a CRT display section 7.

パターンメモリ部4は通常の漢字表示装置では第5図に
示した1〜数種のROMからなる文字パターン発生器で
構成されるが、本発明ではこれをRAM(ランダムアク
セスメモリ)で構成し書込み読取り可能にする。
In a normal kanji display device, the pattern memory section 4 is composed of a character pattern generator consisting of one to several kinds of ROM as shown in FIG. Make it readable.

このRAMは第6図に示すようにX方向(横列)に1バ
イトつまり8個のメモリセルを持ち。
As shown in FIG. 6, this RAM has one byte, or eight memory cells, in the X direction (row).

Y方向にか\るメモリセル群を必要組持ったものとし、
アドレスはバイトアドレスとする。
Assume that the required number of memory cell groups in the Y direction is provided,
The address is a byte address.

勿論RAMの横列のビット数B#t1バイト以外の任意
の数でもよいが、この横列はワードに対応し、■ワード
1バイト構成のメモリ(J多いから上記ビット数Bを1
バイトにした方が普遍性がある。
Of course, the number of bits in the horizontal row of RAM B#t may be any number other than 1 byte, but this row corresponds to a word.
Having a part-time job is more universal.

これに記憶させる文字の大きさは装置を簡略化するため
横方向IJ 8 nドツトとし、メモリのバウンダリー
に合せる。
In order to simplify the device, the size of the characters stored in this is set to IJ 8 n dots in the horizontal direction, and is matched to the boundary of the memory.

そして例えば第2図に示すような32X32の大きさの
文字なら横方向に1バイトずつ4つに区切り、これら■
〜■の4バイトをRAM1こ第6図1こ示すようtこ順
次Y方向lこ並べて記憶させる。
For example, if a character has a size of 32x32 as shown in Figure 2, it is divided horizontally into four bytes each.
The 4 bytes from 1 to 2 are stored in the RAM 1 sequentially in the Y direction as shown in FIG.

従ってこのRAMで14隣接4バイトが文字パターンの
1ライン分となり、上記例ではこの4バイトの群が32
個並んで1文字が記憶される。
Therefore, in this RAM, 14 adjacent 4 bytes correspond to one line of character pattern, and in the above example, this group of 4 bytes is 32
One character is memorized side by side.

そして次に書込む文字パターンが16×16ビツトの大
きさなら、その横の16ビツトをRAMの隣接2列(2
バイト)のメモリセルに書込み、か\るメモリセル群の
16個で該文字を記憶する。
If the character pattern to be written next has a size of 16 x 16 bits, the 16 bits next to it are written in two adjacent columns (2
byte), and the character is stored in 16 of the memory cell group.

以下同様であり、そして第5図と比較すれば明らかなよ
う1こ本発明では1つのメモリに各種の大きさの文字パ
ターンを、しかも密接させて書込み、またメモリはRO
MではなくてRAMである点が特徴であり、これにより
遊休メモリセル群を発生する機会が少なくなり、また文
字の大きさはメモリを増設することなくバイトの整数倍
の任意の大きさにすることができる。
The same goes for the following, and as is clear from a comparison with FIG.
It is characterized by the fact that it is a RAM rather than an M, which reduces the chance of generating a group of idle memory cells, and the size of the characters can be any size that is an integral multiple of a byte without adding memory. be able to.

RAMへの文字書込みは計算機1により、文字ファイル
2から当該業務に必要な文字(種類および大きさを含め
て)を読出しそ六、をパターンメモリ4へ書込むことに
より、業務開始前に予め行なっておく。
Character writing to the RAM is carried out in advance by the computer 1 by reading out the characters (including type and size) required for the job from the character file 2 and writing them into the pattern memory 4 before the job starts. I'll keep it.

書込んだ文字のRAM上のアドレスは。文字の第1横列
の左端、第2図で言えばP点が書込まれる位置で表わし
、こnはRAMの各横列を上から順lこ0,1,2,3
・・・・・・で表わすとP点を含む横列つまりバイトの
ナンバーとなる。
What is the address of the written character in RAM? The left end of the first horizontal row of characters, in Figure 2, is the position where point P is written, and this represents each horizontal row of the RAM in order from the top, 0, 1, 2, 3.
When expressed as . . . , it becomes the number of the row containing the point P, that is, the number of the byte.

このバイトアドレスは計算機1に記憶させておき、読出
すときはこのバイトナンバーを指定する。
This byte address is stored in the computer 1, and this byte number is specified when reading.

第3図は読出し時に計算機が出力する読出し信号のフォ
ーマットを示す。
FIG. 3 shows the format of the read signal output by the computer during read.

この図でX、Yは文字表示位置であり、Xは文字パター
ン開始点Pの、CRTの水平走査線上の位置(通常1水
平走査線lとは1024個のクロックパルスを対応させ
るのでその何番目のパルスかを示す数値)、Yは当該水
平走査線の最上方のものから数えたナンバーである。
In this figure, X and Y are the character display positions, and X is the position of the character pattern starting point P on the horizontal scanning line of the CRT (normally, one horizontal scanning line 1 corresponds to 1024 clock pulses, so how many clock pulses are there? ), Y is a number counted from the top of the horizontal scanning line.

次の「文字コード」(」当該文字に対するコードであり
、こしIこは上述のバイトナンバーを用いる。
The next "character code" () is the code for the character in question, and uses the above-mentioned byte number.

次の「横幅」は文字パターンの横方向の大きさをバイト
単位で示し、32X32ドツトの文字パターンなら4.
16X16ドツトの文字パターンなら2である。
The next "width" indicates the horizontal size of the character pattern in bytes, and if it is a 32x32 dot character pattern, it is 4.
If it is a 16x16 dot character pattern, it is 2.

最後の「縦ライン」は文字パターンの縦方向の大きさを
示しており、32X32ドツトの文字パターンなら32
.16X16ドツトの文字パターンなら16である。
The last "vertical line" indicates the vertical size of the character pattern, and if it is a 32x32 dot character pattern, it is 32.
.. If the character pattern is 16×16 dots, it is 16.

この「横幅」および「縦ライン」の各情報の使用法は後
述の説明で明らかにする。
The usage of each piece of information on the "horizontal width" and "vertical line" will be explained later.

文字表示に当っては、1画面上に表示する文字の種類、
位置9文字数を計算機に入力し、該計算機に第3図の形
式の文字信号を出力させる。
When displaying characters, the types of characters displayed on one screen,
Input the number of characters at position 9 into a computer, and cause the computer to output a character signal in the format shown in FIG.

これらの信号はデータバッファ部のコードバッファに一
旦蓄え、同時に座標Yの順にソーティングして、メモリ
マツプに座標Yの若い順に書込む。
These signals are temporarily stored in the code buffer of the data buffer section, sorted at the same time in order of coordinate Y, and written to the memory map in ascending order of coordinate Y.

■ライン上の文字数は任意でよいが、個数が多いとそれ
だけレジスタその他各種装置が多量に必要になるので1
例えばこの個数は20個と制限する。
■The number of characters on a line can be arbitrary, but the larger the number, the more registers and other various devices will be required.
For example, this number is limited to 20.

この20個に対応してデータバッファ部5に設けるレジ
スタは20個となり、これらのレジスタにα江のある時
点の水平走査線に関係する上記文字信号を書込む。
Corresponding to these 20 registers, there are 20 registers provided in the data buffer unit 5, and the above-mentioned character signals related to the horizontal scanning line at a certain point in time of α are written into these registers.

上記の如く文字信号を座標Yの順にソーティングしてお
くと、これは簡単に行なうことができる。
This can be easily done by sorting the character signals in the order of coordinate Y as described above.

こうして最大20個のレジスタに収容された文字信号は
当該Y座標つまり水平走査線の走査と同期して読出すが
、この操作をルジスタにつき第4図を参照しながら次に
説明する。
The character signals stored in the maximum of 20 registers are read out in synchronization with the Y coordinate, that is, the scanning of the horizontal scanning line.This operation will be explained below with reference to FIG. 4 for the register.

第4図で11,12は一致回路、13はフリップフロッ
プである。
In FIG. 4, 11 and 12 are matching circuits, and 13 is a flip-flop.

カレントYつまり走査線ナンバーが文字信号のY値と一
致すると一致回路11は出力を生じてフリップフロップ
13をセットし。
When the current Y, that is, the scanning line number matches the Y value of the character signal, the matching circuit 11 produces an output and sets the flip-flop 13.

そのQ出力を′1′″にして一致回路12をイネーブル
にする。
The Q output is set to ``1'' to enable the matching circuit 12.

続いてカレントXつまり当該水平走査線端の横位置が文
字信号のX値と一致すると一致回路12が出力を生じ1
文字パターンメモリRAMをイネーブルにする。
Next, when the current X, that is, the horizontal position of the end of the horizontal scanning line, matches the X value of the character signal, the matching circuit 12 generates an output of 1.
Enable character pattern memory RAM.

そこでRAII文字コードをアドレス信号として読出さ
れ、■ライフ分(32X32の文字なら4バイト)の文
字パターンを出力する。
Then, the RAII character code is read out as an address signal, and a character pattern of ■life (4 bytes for 32×32 characters) is output.

1文字についての1走査線に対する文字パターン信号出
力はこれで終り、当該走査線上に他の文字があれば当該
レジスタに対し同様な文字パターン信号出力が行なわれ
る。
This ends character pattern signal output for one scanning line for one character, and if there are other characters on the scanning line, a similar character pattern signal is output to the corresponding register.

次(」続く第2の走査線に対して同様な信号出力が行な
われる訳であるが、Y値についてはフリップフロップ1
3がセットされたま\なので一致回路12(」イネーブ
ルになっており、従って次の走査線のX位置で再びRA
Mがイネーブルにされる。
A similar signal is output for the next second scanning line, but for the Y value, the flip-flop 1
3 remains set\, so the match circuit 12('' is enabled, and therefore the RA is activated again at the X position of the next scan line.
M is enabled.

しかし今度は加算回路14が動作して横幅バイト数が文
字コードにプラスされるのでアドレス信号(」横2列目
(第6図で言えば2ndグループ)を指定することIこ
なる。
However, this time, the adder circuit 14 operates and the number of horizontal bytes is added to the character code, so that the address signal (") specifies the second horizontal column (second group in FIG. 6).

以下同様であり、そしてこの文字パターン信号の出力が
行なわれるつまり各水平走査線毎にマイナス1回路15
は文字信号の「縦ライン」数をマイナス1して行く。
The same goes for the following, and this character pattern signal is outputted, that is, minus 1 circuit 15 for each horizontal scanning line.
, the number of "vertical lines" of the character signal is subtracted by 1.

従って文字パターンの出力が終るとき(例えば第2図の
例では32ライン終了するとき)「縦ライン」の数は零
となり、このときフリップフロップ13はリセットされ
1本回路は休止状態に入る。
Therefore, when the output of the character pattern is finished (for example, when 32 lines are finished in the example shown in FIG. 2), the number of "vertical lines" becomes zero, and at this time, the flip-flop 13 is reset and one circuit goes into a rest state.

この不要となったレジスタは次の走査線以降ζこ表示す
べき文字があればその文字信号を入力し、再び上記の如
き動作させてよい。
If there are characters to be displayed from the next scanning line onwards, the register which is no longer needed may input the character signal thereto and operate as described above again.

以上詳細に説明したように本発明によれば、メモリ量を
それ程犬にすることなく各種、@大きさの文字を画面上
の任意の位置Iこ表示することができ、特に臨時性の強
いCRT漢字入り図形ディスプレイに用いて効果がある
As described in detail above, according to the present invention, characters of various sizes can be displayed at any position on the screen without requiring too much memory, and especially when using a CRT with strong temporary characteristics. It is effective when used in graphical displays containing kanji.

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

第1図は文字表示装置の概要を示すブロック図。 第2図は漢字パターンの構成を説明する図、第3図は本
発明で用いる文字信号のフォーマットを説明する図、第
4図は本発明の要部一実施例を示すブロック図、第5図
は従来の文字表示装置の要部を説明する図、第6図は本
発明の文字パターン発生器の構成を示す説明図である。 図面で4.RAMは文字パターン発生器、7はCRT表
示部である。
FIG. 1 is a block diagram showing an outline of a character display device. FIG. 2 is a diagram explaining the structure of a kanji pattern, FIG. 3 is a diagram explaining the format of a character signal used in the present invention, FIG. 4 is a block diagram showing an embodiment of the main part of the present invention, and FIG. 6 is a diagram illustrating the main parts of a conventional character display device, and FIG. 6 is an explanatory diagram showing the configuration of a character pattern generator according to the present invention. 4. With drawings. RAM is a character pattern generator, and 7 is a CRT display section.

Claims (1)

【特許請求の範囲】 1 文字パターン発生器にランダムアクセスメモリを用
い、該メモリの1ワードを構成する横列のビット数Bを
単位としてビット数n B Xm (n 。 mは整数)から成る各種の大きさの種々の文字パターン
を、文字パターンの第1横列のnB個のドツトは該メモ
リの連続するn個の横列に、また該文’Ef−パターン
の第2横列のnB個のドツトは該メモリの該n個の横列
以降に連続するn個の列にという順序ですべての文字パ
ターンを該メモリに密Iコ予め書込んでおき、陰極線管
表示面への表示に際しては、被表示文字の水平走査線の
縦方向での位置を示すナンバーYと、被表示文字の当該
走査線上の位置を示すクロック数Xと、被表示文字の第
1横列の最初のB個のドツトが前記メモリに書込まれて
いる該メモリの横列ナンバーで表わした当該文字のコー
ドと、前記横列の数nで表わした被表示文字の横方向の
大きさと被表示文字の走査線数で表わした縦方向の大き
さとからなる読出し信号で前記メモリの読出しを行ない
、前記表示面に当該文字パターンを表示することを特徴
とする可変サイズ文字表示方式。
[Scope of Claims] 1. A random access memory is used as a character pattern generator, and the number of bits n B The nB dots in the first row of the character pattern are stored in n consecutive rows of the memory, and the nB dots in the second row of the sentence 'Ef-pattern are stored in the memory. All character patterns are written in advance in the memory in the order of n consecutive rows after the n horizontal rows, and when displaying on the cathode ray tube display screen, the character patterns to be displayed are A number Y indicating the vertical position of the horizontal scanning line, a clock number X indicating the position of the displayed character on the scanning line, and the first B dots of the first horizontal column of the displayed character are written to the memory. the code of the character represented by the row number of the stored memory, the horizontal size of the displayed character represented by the number n of horizontal rows, and the vertical size represented by the number of scanning lines of the displayed character. A variable size character display method, characterized in that the memory is read out using a readout signal consisting of: and the character pattern is displayed on the display surface.
JP16433679A 1979-12-18 1979-12-18 Variable size character display method Expired JPS5858673B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16433679A JPS5858673B2 (en) 1979-12-18 1979-12-18 Variable size character display method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16433679A JPS5858673B2 (en) 1979-12-18 1979-12-18 Variable size character display method

Publications (2)

Publication Number Publication Date
JPS5687082A JPS5687082A (en) 1981-07-15
JPS5858673B2 true JPS5858673B2 (en) 1983-12-26

Family

ID=15791227

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16433679A Expired JPS5858673B2 (en) 1979-12-18 1979-12-18 Variable size character display method

Country Status (1)

Country Link
JP (1) JPS5858673B2 (en)

Also Published As

Publication number Publication date
JPS5687082A (en) 1981-07-15

Similar Documents

Publication Publication Date Title
US3921164A (en) Character generator for a high resolution dot matrix display
CA1105625A (en) Character generator
US4309700A (en) Cathode ray tube controller
JPS6158852B2 (en)
JPH0570832B2 (en)
JPS5858673B2 (en) Variable size character display method
JPS594706B2 (en) Print pattern generator
JPS59202494A (en) Overlapped written pattern corrector
JPS6239968A (en) Matrix image forming system
JPH042958B2 (en)
JPS60188981A (en) Scale factor conversion system for character data
JPS5853338B2 (en) Dot pattern output method
EP0105491A2 (en) Font display and text editing system
JPS6230436B2 (en)
JPS61129683A (en) Character generation system
JPS6352179A (en) Arrangement of ram for display
JPS6057075B2 (en) display device
JPS6173990A (en) Character pattern generator
JPH0589109A (en) Ruled line character display method
JP2570755B2 (en) Pattern generator
JPS58116581A (en) Display unit
JPS5882292A (en) Display for indicating character varied in size
JPS6364798B2 (en)
JPH023099A (en) Display device
JPS5967585A (en) Display controller