JPH03145694A - Character pattern size converting system - Google Patents

Character pattern size converting system

Info

Publication number
JPH03145694A
JPH03145694A JP1285733A JP28573389A JPH03145694A JP H03145694 A JPH03145694 A JP H03145694A JP 1285733 A JP1285733 A JP 1285733A JP 28573389 A JP28573389 A JP 28573389A JP H03145694 A JPH03145694 A JP H03145694A
Authority
JP
Japan
Prior art keywords
character pattern
dots
memory
read
size
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1285733A
Other languages
Japanese (ja)
Inventor
Hiroyuki Kamida
紙田 浩行
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP1285733A priority Critical patent/JPH03145694A/en
Publication of JPH03145694A publication Critical patent/JPH03145694A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To obtain a character pattern of an arbitrary character size by inputting directly of a character pattern of (m) X (m) dots to a read-only memory having data for changing a character pattern size, and changing it to a character pattern of (p) X (q) dots. CONSTITUTION:A character pattern of (m) dots generated successively by a one-line portion each from a first read-on memory 20 is converted to a character pattern of (q) dots by inputting it directly to a second read-only memory 30 and stored in a random access memory 50, and converted to a character pattern of vertical (m) and horizontal (q) dots by executing it by an (m)-line portion. Also, the character pattern stored in the random access memory 50 is converted to a character pattern of (p) dots by inputting it successively (m) dots each in the vertical direction to a second read-only memory 30 and stores in the random access memory 50, and brought to size conversion to a character pattern of (p) X (q) dots by executing it by a (p)-dot portion. In such a way, the character pattern of an arbitrary character size is obtained.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、キャラクタコードを入力した時に、そのコー
ドに対応する文字パタンを発生する方式に関し、特に、
m×m(mは正の整数)ドツトサイズからpXq (p
、qは正の整数)ドツトサイズに変換された文字パタン
を発生する文字パタンサイズ変換方式に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a method for generating a character pattern corresponding to a character code when the code is input.
From m×m (m is a positive integer) dot size, pXq (p
, q is a positive integer) This invention relates to a character pattern size conversion method for generating a character pattern converted to a dot size.

従来の技術 従来、この種の文字パタンサイズ変換方式は、全てのキ
ャラクタコードと一体一に対応した文字パタンを各サイ
ズごとにリードオンリメモリに持ち、キャラクタコード
と文字サイズに対応する文字パタンが格納されているア
ドレスを、そのリドオンリメモリに入力して求めるサイ
ズの文字パタンを発生させる方式となっていた。
Conventional technology Conventionally, this type of character pattern size conversion method has a character pattern that corresponds to all character codes in a read-only memory for each size, and the character pattern corresponding to the character code and character size is stored. The method used was to input the specified address into the read-only memory to generate a character pattern of the desired size.

発明が解決しようとする課題 しかしながら、上述した従来の文字パタン発生方式は、
全てのキャラクタコードと文字サイズに一体一に対応し
た文字パタンをリードオンリメモリに持たなければなら
ないので、サポートする文字サイズの種類に比例してリ
ードオンリメモリの容量が大きくなると言う欠点がある
Problems to be Solved by the Invention However, the conventional character pattern generation method described above has the following problems:
Since the read-only memory must contain character patterns that correspond to all character codes and character sizes, the disadvantage is that the capacity of the read-only memory increases in proportion to the type of character size supported.

本発明は従来の上記実情に鑑みてなされたものであり、
従って本発明の目的は、従来の技術に内在する上記欠点
を解消することを可能とした新規な文字パタンサイズ変
換方式を提供することにある。
The present invention has been made in view of the above-mentioned conventional situation,
Therefore, an object of the present invention is to provide a novel character pattern size conversion method that makes it possible to eliminate the above-mentioned drawbacks inherent in the conventional technology.

課題を解決するための手段 上記目的を達成する為に、本発明にががる文字パタンサ
イズ変換方式は、m×mドツトの文字パタンを発生する
ための第1のリードオンリメモリと、パタンサイズ変換
のためのデータを有する第2のリードオンリメモリと、
この第2のリードオンリメモリの出力をラッチするラッ
チ回路と、サイズ変換された文字パタンを格納するラン
ダムアクセスメモリと、制御器とを有し、前記第1のリ
ードオンリメモリから順次1う・イン分づつ発生される
mドツトの文字パタンを前記第2のリードオンリメモリ
に直接アドレスとして入力していくことによってqドツ
トの文字パタンに変換して前記ランダムアクセスメモリ
に格納し、これをmライン分行うことによって、縦m、
横qドツトの文字パタンに変換し、更に前記ランダムア
クセスメモリに格納された文字パタンを縦方向にmドツ
トづつ順次前記第2のリードオンリメモリに入力してp
ドツトの文字パタンに変換してランダムアクセスメモリ
に格納し、これをq列分行う事によってp×qドットの
文字パタンにサイズ変換することを特徴とする。
Means for Solving the Problems In order to achieve the above object, the character pattern size conversion method according to the present invention includes a first read-only memory for generating a character pattern of m×m dots, and a pattern size conversion method. a second read-only memory having data for conversion;
It has a latch circuit that latches the output of the second read-only memory, a random access memory that stores the size-converted character pattern, and a controller. By directly inputting the m-dot character pattern generated in minutes into the second read-only memory as an address, it is converted into a q-dot character pattern and stored in the random access memory, and this is stored in the random access memory for m lines. By doing, length m,
Convert the character pattern into a character pattern of q dots horizontally, and input the character pattern stored in the random access memory into the second read-only memory sequentially m dots at a time in the vertical direction.
It is characterized in that it is converted into a character pattern of dots and stored in a random access memory, and by performing this for q columns, the size is converted to a character pattern of p×q dots.

実施例 次に本発明をその好ましい一実施例について図面を参照
して具体的に説明する。
Embodiment Next, a preferred embodiment of the present invention will be specifically explained with reference to the drawings.

第1図は本発明の一実施例を示すブロック構成図である
FIG. 1 is a block diagram showing one embodiment of the present invention.

第1図を参照するに、制御器10は、メモリグリア16
によってランダムアクセスメモリ50をクリアした後に
、キャラクタコード1に対応する文字パタンか格納され
ているROMアドレス11を設定すると同時に、横方向
変換サイズqを変換サイズ17に設定する。第1のリー
ドオンリメモリ20はアドレスが設定されると、1ライ
ン目の文字デニタmドツト分をRO141出力21に設
定する。第2のリードオンリメモリ30はこの文字パタ
ンデータをnドツトに変換して、その結果をROM 2
出力31に設定する。この時、制御器10はライト信号
13及びラッチ信号12をアクティブにする事によって
、サイズ交換後データはラッチ回路40によってラッチ
され、ラッチデータ41を通して1ライン目のサイズ変
換結果が、ランダムアクセスメモリ50の制御器10に
よって設定されたRAMアドレス15の示すアドレスに
格納される。
Referring to FIG. 1, the controller 10 includes a memory glia 16
After clearing the random access memory 50, the ROM address 11 where the character pattern corresponding to the character code 1 is stored is set, and at the same time, the horizontal conversion size q is set to the conversion size 17. When the address is set, the first read-only memory 20 sets m dots of character data on the first line to the RO 141 output 21. The second read-only memory 30 converts this character pattern data into n dots and stores the result in the ROM 2.
Set to output 31. At this time, the controller 10 activates the write signal 13 and the latch signal 12, so that the data after the size exchange is latched by the latch circuit 40, and the size conversion result of the first line is transferred to the random access memory 50 through the latch data 41. The data is stored at the address indicated by the RAM address 15 set by the controller 10.

2ライン目以降、第1のリードオンリメモリ20から順
次出力される文字パタンデータについて同様の処理が行
われ、この結果ランダムアクセスメモリ50には、縦m
、横qドツトに変換された文字パタンが格納される。
From the second line onwards, similar processing is performed on the character pattern data sequentially output from the first read-only memory 20, and as a result, the random access memory 50 stores the vertical m
, the character pattern converted to horizontal q dots is stored.

次に制御器10は、リード信号14をアクティブにして
、1列目の文字パタンか格納されているRAMアドレス
15を設定すると同時に、縦方向変換サイズpを変換サ
イズ17に設定する。以下、上述の横方向変換と同様に
して縦方向も変換され、その結果、ランダムアクセスメ
モリ50にはp×qドットにサイズ変換された文字パタ
ンが格納される。
Next, the controller 10 activates the read signal 14 and sets the RAM address 15 where the character pattern of the first column is stored, and at the same time sets the vertical conversion size p to the conversion size 17. Thereafter, the vertical direction is also converted in the same way as the above-mentioned horizontal direction conversion, and as a result, a character pattern whose size has been converted to p×q dots is stored in the random access memory 50.

第2図(a)〜(e)は前記第2のリードオンリメモリ
30の入出力の関係として、12ドツトから8ドツトに
変換する場合のデータの一例を示す図である。
FIGS. 2(a) to 2(e) are diagrams showing an example of data when converting from 12 dots to 8 dots as the input/output relationship of the second read-only memory 30.

第2図を参照するに、(a)を例にとると、第2のリー
ドオンリメモリ30の0CI(H)番地にはデータ11
(H)が格納されており、これにより前記第1のリード
オンリメモリ20又はランダムアクセスメモリ50から
出力された文字パタンを直接第2のりドオンリメモリ3
0に入力するだけで、サイズ変換された文字パタンを得
ることが出来る。
Referring to FIG. 2, taking (a) as an example, data 11 is stored at address 0CI(H) of the second read-only memory 30.
(H) is stored, so that the character pattern output from the first read-only memory 20 or the random access memory 50 is directly transmitted to the second read-only memory 3.
Just by inputting 0, you can get the size-converted character pattern.

第3図は24X24ドツトの文字パタン漢°゛を16X
16ドツトの文字パタン“漢パに変換する過程を示す図
である。
Figure 3 shows a 24x24 dot character pattern written at 16x
It is a diagram showing the process of converting a 16-dot character pattern into Kanpa.

発明の詳細 な説明したように、本発明によれば、文字パタンサイズ
変換の為のデータを有する第2のりドオンリメモリに、
m×mドツトの文字パタンを直接入力してp×qドット
の文字パタンに変換することにより、全てのキャラクタ
コードに一体一に対応する一種類の文字サイズのパタン
をリードオンリメモリに持つだけで、任意の文字サイズ
の文字パタンを得ることかできるという効果が生ずる。
As described in detail, according to the present invention, the second glue-only memory containing data for converting the character pattern size,
By directly inputting a character pattern of m x m dots and converting it to a character pattern of p x q dots, you can simply have one type of character size pattern that corresponds to all character codes in read-only memory. , the effect is that a character pattern of any character size can be obtained.

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

第1図は本発明の一実施例を示すブロック構成図、第2
図(a)〜(e)は文字パタンサイズ変換のためのデー
タを有する第2のリードオンリメモリの入出力の関係と
して、12ドツトから8ドツトに変換する場合の一例を
示す図、第3図は24X24ドツトで構成された文字パ
タン“漢″から16X16ドツトの文字パタンパ漢″を
得る場合を例にした本発明の変換例を示す図である
FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG.
Figures (a) to (e) are diagrams showing an example of the input/output relationship of the second read-only memory containing data for character pattern size conversion, when converting from 12 dots to 8 dots. is a diagram showing a conversion example of the present invention, taking as an example a case where a character pattern of 16×16 dots is obtained from a character pattern “Kan” composed of 24×24 dots.

Claims (1)

【特許請求の範囲】[Claims] m×m(mは正の整数)ドットの文字パタンを発生する
為の第1のリードオンリメモリと、パタンサイズ変換の
ためのデータを有する第2のリードオンリメモリと、こ
の第2のリードオンリメモリの出力をラッチするラッチ
回路と、サイズ変換された文字パタンを格納するランダ
ムアクセスメモリと、制御器とを有し、前記第1のリー
ドオンリメモリから順次1ライン分づつ発生されるmド
ットの文字パタンを前記第2のリードオンリメモリに直
接アドレスとして入力していくことによってq(qは正
の整数)ドットの文字パタンに変換して前記ランダムア
クセスメモリに格納し、これをmライン分行うことによ
つて、縦m、横qドットの文字パタンに変換し、更に前
記ランダムアクセスメモリに格納された文字パタンを縦
方向にmドットづつ順次前記第2のリードオンリメモリ
に入力して、p(pは正の整数)ドットの文字パタンに
変換して前記ランダムアクセスメモリに格納し、これを
q列分行うことによって、p×qドットの文字パタンに
サイズ変換することを特徴とする文字パタンサイズ変換
方式。
A first read-only memory for generating a character pattern of m×m (m is a positive integer) dots, a second read-only memory having data for pattern size conversion, and this second read-only memory. It has a latch circuit that latches the output of the memory, a random access memory that stores the character pattern whose size has been converted, and a controller, and has m dots that are sequentially generated one line at a time from the first read-only memory. By inputting the character pattern directly into the second read-only memory as an address, it is converted into a character pattern of q (q is a positive integer) dots and stored in the random access memory, and this is performed for m lines. By converting the character pattern into a character pattern of m dots vertically and q dots horizontally, the character pattern stored in the random access memory is input into the second read-only memory sequentially m dots at a time in the vertical direction, and p (p is a positive integer) A character pattern characterized in that the size is converted to a character pattern of p×q dots by converting it into a character pattern of dots, storing it in the random access memory, and performing this for q columns. Size conversion method.
JP1285733A 1989-10-31 1989-10-31 Character pattern size converting system Pending JPH03145694A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1285733A JPH03145694A (en) 1989-10-31 1989-10-31 Character pattern size converting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1285733A JPH03145694A (en) 1989-10-31 1989-10-31 Character pattern size converting system

Publications (1)

Publication Number Publication Date
JPH03145694A true JPH03145694A (en) 1991-06-20

Family

ID=17695338

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1285733A Pending JPH03145694A (en) 1989-10-31 1989-10-31 Character pattern size converting system

Country Status (1)

Country Link
JP (1) JPH03145694A (en)

Similar Documents

Publication Publication Date Title
JPS6247786A (en) Exclusive memory for adjacent image processing
JPH03145694A (en) Character pattern size converting system
JPS6227538B2 (en)
JPS6242278B2 (en)
JPS594706B2 (en) Print pattern generator
JPS6350705Y2 (en)
JPS6347889A (en) Image recognition system
JPS6131886B2 (en)
JPH0353388A (en) Two-dimensional encoded data decoding and reducing device
JPS63136278A (en) Production system for repetitive pattern
JPH0113108B2 (en)
JPH01209151A (en) Pattern generating circuit
JPH04195266A (en) Bit conversion circuit
JPH0236966B2 (en)
JPS6219980A (en) Image processor
JPH04330714A (en) Method and apparatus for treatment of rom pattern
JPS62268271A (en) Coding circuit
JPS62103154A (en) Character pattern memory circuit
JPH02267592A (en) Reduced character display device
JPS6057373A (en) Memory signal pattern rotation system
JPS60262282A (en) Image memory control system
JPS63172379A (en) Reducing device for image data
JPS6330898A (en) Image rotation system
JPH0430036B2 (en)
JPH01280879A (en) Void graphic forming system