JPS62219180A - Pattern generating device - Google Patents

Pattern generating device

Info

Publication number
JPS62219180A
JPS62219180A JP61062738A JP6273886A JPS62219180A JP S62219180 A JPS62219180 A JP S62219180A JP 61062738 A JP61062738 A JP 61062738A JP 6273886 A JP6273886 A JP 6273886A JP S62219180 A JPS62219180 A JP S62219180A
Authority
JP
Japan
Prior art keywords
pattern
data
character
buffer memory
original
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
JP61062738A
Other languages
Japanese (ja)
Inventor
Tomoki Gojo
五條 知己
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP61062738A priority Critical patent/JPS62219180A/en
Publication of JPS62219180A publication Critical patent/JPS62219180A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Image Generation (AREA)

Abstract

PURPOSE:To obtain display and imprinting good in looking and diverse in character pattern without increasing the storage capacity of the character pattern, by performing a modification process which traces the outline part of the pattern data of an ordinary character consisting of the arrangement of dots, and generating the data of a void pattern. CONSTITUTION:A void character pattern is generated by using the ordinary character pattern read out from a pattern memory 10, such as a character generator, etc., that is, the data of a fundamental character pattern, by a pattern conversion control part 9. The pattern conversion control part 9 has a function which synthesizes original pattern data by shifting at least in the upper, the lower, the right, and the left directions, and generates a modification pattern by an exclusive OR of a synthesized data and the original pattern data. In this way, it is possible to generate the data of the void pattern without increasing the storage capacity of the character pattern, and the display and the imprinting good in looking and the diverse in character pattern can be realized.

Description

【発明の詳細な説明】 夜挫光互 この発明は、ワードプロセッサや、オフィスコンピュー
タ、DPS (データ・プロセッシング・システム)等
の各種データ処理装置に接続される表示装置や、プリン
タ等の出力装置で使用するのに好適なパターン発生装置
に係り、特に、日本語ワードプロセッサのように、漢字
を含めて使用する文字の種類が多く、しかも、そのサイ
ズも多様の場合に、通常の文字パターンのI!!!郭部
をたどることによって1文字パターンデータを記憶する
パターン記憶手段の記憶容量を増加させる必要なしに、
白抜き文字パターンの表示や印字が行えるようにしたパ
ターン発生装置に関する。
[Detailed Description of the Invention] This invention is used in display devices connected to various data processing devices such as word processors, office computers, DPS (data processing systems), and output devices such as printers. The present invention relates to a pattern generation device suitable for generating I! of normal character patterns, especially when a Japanese word processor uses many types of characters, including kanji, and their sizes are also diverse. ! ! There is no need to increase the storage capacity of the pattern storage means that stores one-character pattern data by tracing the contours.
The present invention relates to a pattern generator capable of displaying and printing a white character pattern.

具体的にいえば、一般にデータ処理装置で使用されてい
る通常の文字パターン、すなわちドツト配列で構成され
る基本的な文字パターンのデータから、そのパターンデ
ータの修飾処理により白抜きパターンを生成して、白抜
きパターンの表示や印字が行えるようにすることにより
、使用可能な文字パターンの種類を多様化して、見た目
にきれいで、しかも見易い文書等が作成できるようにし
たパターン発生装置に関する。
Specifically, from a normal character pattern commonly used in data processing devices, that is, basic character pattern data consisting of a dot array, a white pattern is generated by modifying the pattern data. The present invention relates to a pattern generation device that can display and print white patterns, thereby diversifying the types of character patterns that can be used and creating documents that are visually beautiful and easy to read.

従来技嵐 ワードプロセッサや、オフィスコンピュータ等のデータ
処理装置には、CRTやLCDその他のディスプレイが
接続されており、オペレータは、CRT等の画面と対話
形式で、入力操作を行いながら、所望のデータを処理し
、文書や表等を作成している。
Conventional Arashi word processors, office computers, and other data processing devices are connected to CRTs, LCDs, and other displays, and operators input desired data while interacting with the CRT screen. Processing and creating documents, tables, etc.

この場合に、処理されたデータを画面上に表示したり、
作成されたデータによる文書等を印字するために、文字
パターンのデータが記憶されたキャラクタ・ジェネレー
タや、フォントデータ等を記憶するパターンメモリ等が
使用されている。
In this case, the processed data can be displayed on the screen,
In order to print documents and the like based on created data, a character generator that stores character pattern data, a pattern memory that stores font data, and the like are used.

第5図は、従来から使用されているワードプロセッサ等
のデータ処理装置について、その要部構成の一例を示す
機能ブロック図である。図面において、1は中央処理装
置、2は入力装置、3はシステムメモリ、4はCRTコ
ントローラ、5はビデオメモリ、6はCRT、7は外部
記憶装置、8はプリンタを示す。
FIG. 5 is a functional block diagram showing an example of the main part configuration of a conventionally used data processing device such as a word processor. In the drawings, 1 is a central processing unit, 2 is an input device, 3 is a system memory, 4 is a CRT controller, 5 is a video memory, 6 is a CRT, 7 is an external storage device, and 8 is a printer.

日本語ワードプロセッサ等のデータ処理システムでは、
この第5図に示すように、中央処理装置1、入力装置2
、主記憶部としてシステムメモリ3、補助記憶部として
外部記憶装置7、出力部として印字を行うプリ2581
表示のためのCRT6やビデオメモリ5、CRTコント
ローラ4等を備えている。
In data processing systems such as Japanese word processors,
As shown in FIG. 5, a central processing unit 1, an input device 2
, a system memory 3 as a main storage section, an external storage device 7 as an auxiliary storage section, and a printer 2581 that performs printing as an output section.
It is equipped with a CRT 6, a video memory 5, a CRT controller 4, etc. for display.

この第5図に示すデータ処理装置の各部の機能は、概路
次のとおりである。
The functions of each part of the data processing apparatus shown in FIG. 5 are as follows.

中央処理装置1は、CPUと、システム全体を制御する
プログラムその他のデータを格納するROMおよびRA
M等から構成され、データ処理システムの全体を制御す
る中央処理装置である。この中央処理装置1には、表示
時や印字時に、入力された文字コードをドツトパターン
のデータに変換するために、特に図示しないキャラクタ
・ジェネレータ、または外部記憶装置7に格納されてい
るフォノ1〜データをロードするためのパターンメモリ
等の文字パターン記憶手段が設けられている。
The central processing unit 1 includes a CPU, ROM and RA that store programs and other data that control the entire system.
It is a central processing unit that controls the entire data processing system. This central processing unit 1 is equipped with a character generator (not shown) or phonographs 1 to 1 stored in an external storage device 7 in order to convert input character codes into dot pattern data during display or printing. Character pattern storage means such as a pattern memory is provided for loading data.

入力装置2は、キーボードからなり、文字情報や制御情
報等を入力する入力機能を有している。
The input device 2 includes a keyboard and has an input function for inputting character information, control information, and the like.

システムメモリ3は、ワーク用として使用される記憶装
置である。
The system memory 3 is a storage device used for work.

CRTコントローラ4は、ビデオメモリ5とCRT6と
を制御し、水平・垂直同期信号を発生したり、表示デー
タの書込み等、表示動作に必要な制御を行う。
The CRT controller 4 controls the video memory 5 and the CRT 6, and performs controls necessary for display operations, such as generating horizontal and vertical synchronizing signals and writing display data.

例えば、CRT6に文字パターンを出力する場合には、
ビデオメモリ5に格納された文字コードのデータが、C
RT6の走査タイミングに同期して読出され、ドツトデ
ータに変換される。この場合に、文字パターンの表示は
、ドツトデータがオンを意味する論理「1」のビットが
、輝点て表示される。なお、CRTS上の文字位置は、
ビデオメモリ5のアドレスによって、一義的に決定され
る。
For example, when outputting a character pattern to CRT6,
The character code data stored in the video memory 5 is C
It is read out in synchronization with the scanning timing of RT6 and converted into dot data. In this case, the character pattern is displayed as a bright dot with a logical "1" bit indicating that the dot data is on. In addition, the character position on CRTS is
It is uniquely determined by the address of the video memory 5.

外部記憶装置7は、例えば、フロッピーディスクや、大
容量の磁気ディスク等からなる記憶装置である。
The external storage device 7 is, for example, a storage device such as a floppy disk or a large-capacity magnetic disk.

プリンタ8は、出力装置の一つで、システムメモリ3や
外部記憶袋fi7に格納されている文字コードのデータ
が、キャラクタ・ジェネレータ等に格納されたドツトパ
ターンのデータに変換されて、ドツトデータとして与え
られ、ハードコピーを作成するよう動作する。
The printer 8 is one of the output devices, and converts character code data stored in the system memory 3 or external storage bag fi7 into dot pattern data stored in a character generator, etc., and outputs it as dot data. given and operates to create a hard copy.

ワードプロセッサや、オフィスコンピュータ等のデータ
処理装置は、この第5図のような構成であり、入力装置
2の入力操作によって、各種のデータ処理を行う。
A data processing device such as a word processor or an office computer has a configuration as shown in FIG. 5, and performs various data processing through input operations on the input device 2.

ところが、日本語ワードプロセッサ等のシステムの場合
、使用する文字の種類が多いので、通常の文字パターン
データを格納するだけでも、欧文ワードプロセッサの場
合と比較して、大容量のパターン記憶手段を必要とする
。その上に、白抜き文字のパターンデータも追加すると
なれば、その記憶容量は一層大きくなる。
However, in the case of systems such as Japanese word processors, there are many types of characters used, so just storing normal character pattern data requires a larger capacity pattern storage means than in the case of Roman word processors. . If pattern data for white characters is added on top of that, the storage capacity will become even larger.

したがって1文字パターンの輪郭部分を輝点ドツトで表
示したり、あるいは黒ドツトで印字し。
Therefore, the outline of a single character pattern is displayed as bright dots or printed as black dots.

その内側の部分を非輝点や白で表現する、いわゆる白抜
きパターンの文字を使用するためには、大容量のパター
ンデータ記憶手段が必要となり、特に1日本語ワードプ
ロセッサ等の場合、コスト面でも不利でなる。
In order to use so-called white pattern characters, in which the inner part is expressed with non-bright spots or white, a large capacity pattern data storage means is required, especially in the case of 1 Japanese word processors etc., which is expensive. It will be disadvantageous.

そこで、従来の日本語ワードプロセッサ等のシステムで
は、白抜き文字を使用する場合に、通常の文字フォント
の内側をくり抜くという方法でパターンを作成している
Therefore, in conventional systems such as Japanese word processors, when using white characters, a pattern is created by cutting out the inside of a normal character font.

しかし、このようなパターンの作成方法では、文字パタ
ーンを構成する線あるいは点のドツト幅(長さも同様)
が、少なくとも3ドツト以上必要であるから、拡大文字
のように、1文字を構成するドツト数が多い文字等を用
いるときにしか、白抜き文字を作成することができない
However, with this pattern creation method, the dot width (the length is also the same) of the lines or dots that make up the character pattern.
However, since at least three dots are required, outline characters can only be created when using characters that have a large number of dots, such as enlarged characters.

二のように、従来の白抜き文字パターンの作成方法は、
通常使用されている文字パターン、すなわち基本的な文
字パターンについては、単純に実施することができない
、という不都合があった。
As shown in 2, the conventional method of creating a white character pattern is
There is an inconvenience that character patterns that are commonly used, that is, basic character patterns, cannot be simply implemented.

■=−旗 そこで、この発明のパターン発生装置では、従来の日本
語ワードプロセッサ等のデータ処理システムにおいて生
じる不都合、特に、白抜きパターンの発生方法の不都合
を解決し、簡単な構成の手段を使用するだけで、キャラ
クタ・ジェネレータに格納されていたり、あるいはフォ
ントデータとしてパターンメモリ等に格納されている基
本的な文字、すなわちドツトの配列によって構成される
通常の文字のパターンデータの1輪郭部をたどる修飾処
理を行うことで、白抜きパターンのデータを生成するこ
とにより、文字パターン記憶手段の容量を増加する必要
なしに、見た目にきれいで、しかも、多様な文字パター
ンによる表示・印字を実現することを目的とする。
■ = - flag Therefore, the pattern generator of the present invention solves the inconveniences that occur in conventional data processing systems such as Japanese word processors, especially the inconveniences in the method of generating white patterns, and uses means with a simple configuration. A modification that traces one outline of the basic character pattern data that is stored in the character generator or in the pattern memory as font data, that is, the pattern data of a normal character composed of an array of dots. By performing processing to generate white pattern data, it is possible to display and print visually beautiful and diverse character patterns without increasing the capacity of the character pattern storage means. purpose.

監−一皮 そのために、この発明のパターン発生装置では。Supervisor - Issei For this purpose, the pattern generator of the present invention has the following features.

文字パターンのデータを記憶するパターン記憶手段と、
該パターン記憶手段から取出した原パターンデータを少
なくとも上、下、左、右にシフトさせて合成する機能お
よび合成されたデータと前記原パターンデータとの排他
的論理和により修飾パターンを発生する機能を有するパ
ターン変換手段、とで構成してい゛る。
pattern storage means for storing character pattern data;
A function of shifting the original pattern data retrieved from the pattern storage means at least upward, downward, left, and right to synthesize the data, and a function of generating a modified pattern by exclusive ORing the synthesized data and the original pattern data. and a pattern conversion means.

そして、このような構成により、ある1つの文字の原パ
ターンを構成するドツトの輪郭部分をたどることが可能
となり、原パターンの修飾処理が実現される。
With such a configuration, it is possible to trace the outline of the dots that constitute the original pattern of a certain character, and the modification process of the original pattern can be realized.

一層具体的にいえば、1つの基本的な文字を構成するド
ツトパターンのデータ、すなわちある1つの文字の原パ
ターンについて、その原パターンを、例えば、上、下、
左、右の4方向にシフトすることによって得られるパタ
ーンを作成し、4方向にシフトされだす入でのパターン
を合成(OR)処理して1合成パターンを作成する。そ
の後、この合成パターンと、その原パターンとの排他的
論理和(EXclusive −OR)をとることによ
り。
More specifically, regarding the data of dot patterns constituting one basic character, that is, the original pattern of one character, the original pattern can be divided into, for example, upper, lower,
Patterns obtained by shifting in four directions, left and right, are created, and patterns at the beginning of the shift in the four directions are combined (OR) processed to create one composite pattern. Then, by performing an exclusive OR of this composite pattern and its original pattern.

原パターンを修飾した白抜きパターンを作成するように
している。
A white pattern is created by modifying the original pattern.

この場合の合成(OR)処理としては、原パターンを上
、下、左、右の4方向にシフトするだけでなく、上、下
、左、右、左上、右上、左下、右下の合計8方向ヘシフ
トし、8方向にシフトされたすべてのパターンを、すべ
て合成した合成パターンを使用することも可能である。
In this case, the compositing (OR) process not only shifts the original pattern in four directions: top, bottom, left, and right, but also shifts the original pattern in a total of 8 directions, including top, bottom, left, right, top left, top right, bottom left, and bottom right. It is also possible to use a composite pattern in which all patterns shifted in eight directions are combined.

この発明のパターン発生装置では、この文字パターンの
データを記憶するパターン記憶手段から、パターンデー
タを取出す処理や、その合成、排他的論理和の処理等を
制御する機能、すなわち修飾パターンを発生する機能を
、パターン変換手段で実現して−いる。
The pattern generation device of the present invention has a function of controlling the process of extracting pattern data from the pattern storage means for storing data of this character pattern, its composition, exclusive OR process, etc., that is, the function of generating a modification pattern. This is realized using pattern conversion means.

次に、この発明のパターン発生装置について、図面を参
照しながら、その実施例を詳細に説明する。
Next, embodiments of the pattern generator of the present invention will be described in detail with reference to the drawings.

第1図は、この発明のパターン発生装置の一実施例につ
いて、その要部構成を示す機能ブロック図である。図面
における符号は第5図と同様であり、また、9はパター
ン変換コントロール部で、91は入力バッファメモリ、
92はシフト制御部。
FIG. 1 is a functional block diagram showing the configuration of essential parts of an embodiment of a pattern generator according to the present invention. The symbols in the drawing are the same as those in FIG. 5, and 9 is a pattern conversion control section, 91 is an input buffer memory,
92 is a shift control section.

93は書込み制御部、94は出力バッファメモリ、10
はパターンメモリを示す。
93 is a write control unit, 94 is an output buffer memory, 10
indicates pattern memory.

この第1図に示すこの発明のパターン発生装置テハ、パ
ターン変換コントロール部9によって、キャラクタ・ジ
ェネレータ等のパターンメモリIOから読出された通常
の文字パターン、すなわち基本的な文字パターンのデー
タを使用して、白抜きの文字パターンデータを生成する
The pattern generator according to the present invention shown in FIG. , generates white character pattern data.

このパターン変換コントロール部9が、原パターンデー
タを少なくとも上、下、左、右にシフトさせて合成し、
かつ、合成されたデータと原パターンデータとの排他的
論理和により修飾パターンを発生する機能を有している
This pattern conversion control unit 9 shifts the original pattern data at least upward, downward, left, and right, and synthesizes the data.
It also has a function of generating a modification pattern by exclusive ORing the synthesized data and the original pattern data.

各部の機能を説明すれば、概路次のとおりである。The functions of each part are explained as follows.

パターンメモリ10は、文字パターンが格納されている
メモリで1例えばキャラクタ・ジェネレータである。
The pattern memory 10 is a memory in which character patterns are stored, and is, for example, a character generator.

入力バッファメモリ91は、パターンメモリ10から取
出された1文字のパターンデータを、一時的に格納する
バッファメモリである。
The input buffer memory 91 is a buffer memory that temporarily stores one character of pattern data taken out from the pattern memory 10.

シフト制御部92は、入力バッファメモリ91から取出
したパターンデータを、設定されたモードに応じて制御
し、そのデータを上、下、左、右の1方向にシフトして
送出したり、あるいは全くシフトせずに送出する、とい
う制御を行う。
The shift control unit 92 controls the pattern data taken out from the input buffer memory 91 according to the set mode, and shifts the data in one direction (up, down, left, right), or sends it out at all. Control is performed such that it is transmitted without shifting.

このシフト制御部92を通過したパターンデータは、次
の書込み制御部93へ与えられる。
The pattern data that has passed through the shift control section 92 is given to the next write control section 93.

この書込み制御部93で、出力バッファ94への書込み
方法(上3き、合成、排他的論理和)が決定される。
This write control unit 93 determines the method of writing to the output buffer 94 (upper three, combination, exclusive OR).

すなわち、書込み制御部93は、出力バッファメモリ9
4へのパターンデータの書込みに際して、設定されたモ
ードに応じて書込みを制御し、上書き(MOVE ) 
、合成(OR)、排他的論理和(XOR)のいずれかの
書込み方法を用いて処理を行い、処理後のパターンデー
タを出力バッファメモリ94に書込む。
That is, the write control unit 93 controls the output buffer memory 9
When writing pattern data to 4, control the writing according to the set mode and overwrite (MOVE)
, combination (OR), and exclusive OR (XOR), and write the processed pattern data to the output buffer memory 94 .

出力バッファメモリ94は、作成中の文字パターンデー
タと、完成された文字パターンデータを格納するバッフ
ァメモリである。
The output buffer memory 94 is a buffer memory that stores character pattern data being created and completed character pattern data.

これらの処理によって完成され、出力バッファメモリ9
4に格納された文字パターンデータは、表示装置である
CRT6へ送出されて表示され、あるいはプリンタ8へ
与えられて印字される。
Completed by these processes, the output buffer memory 9
The character pattern data stored in 4 is sent to a CRT 6, which is a display device, for display, or is given to a printer 8 for printing.

第2図は、第1図に示したこの発明のパターン発生装置
における白抜き文字パターンの作成手順を示すフローチ
ャートである。図面において、#1〜#9は各ステップ
を示す。
FIG. 2 is a flowchart showing a procedure for creating an outline character pattern in the pattern generating device of the present invention shown in FIG. In the drawings, #1 to #9 indicate each step.

次の第3図(1)〜(5)は、この発明のパターン発生
装置によって、数字「1」の白抜き文字パターンを作成
する場合のパターンデータの一例を示すメモリ図で、(
1)は原パターン、(2)は(1)の原パターンを1ド
ツト分だけ上方向にシフトしたパターン、(3)は(1
)の原パターンと、原パターンを上。
The following FIGS. 3 (1) to (5) are memory diagrams showing an example of pattern data when creating a white character pattern of the number "1" by the pattern generator of the present invention.
1) is the original pattern, (2) is a pattern obtained by shifting the original pattern of (1) upward by one dot, and (3) is (1)
) and the original pattern on top.

下、左、右の方向に1ドツト分だけシフトしたパターン
との合成パターン、(4)は(1)の原パターンを構成
するマトリックスの外側を取除いた後のパターン、(5
)は(4)のパターンと、(3)の合成パターンとの排
他的論理和処理を行ったパターンである。図面の(4)
の斜線部は、原パターンを構成するマトリックスについ
て、取除き対象のドツト位置を示す。
(4) is a composite pattern with a pattern shifted by one dot in the downward, left, and right directions, (4) is a pattern after removing the outside of the matrix that makes up the original pattern in (1), (5)
) is a pattern obtained by performing exclusive OR processing on the pattern (4) and the composite pattern (3). Drawing (4)
The hatched area indicates the position of the dot to be removed in the matrix constituting the original pattern.

次に、第2図と第3図を参照しながら、この発明のパタ
ーン発生装置による白抜き文字パターンの作成手順につ
いて説明する。
Next, with reference to FIGS. 2 and 3, a procedure for creating an outline character pattern using the pattern generator of the present invention will be described.

まず、第2図に示すように、ステップ#1で、パターン
メモリ10から、第3図(1)のような数字「1」の文
字パターンを取出し、入力バッファメモリ91に格納す
る。
First, as shown in FIG. 2, in step #1, a character pattern of the number "1" as shown in FIG. 3 (1) is taken out from the pattern memory 10 and stored in the input buffer memory 91.

ステップ#2で、入力バッファメモリ91に一時的に格
納されたデータを、出力バッファメモリ94にコピーす
る。この場合に、ステップ#2の処理モードは、コピー
モードであり、シフト制御部92ではシフトなしの処理
を行い、書込み制御部93では、同じ位置のパターンデ
ータを、そのまま書込む上書き(MOVE )モードの
処理を行って、第3図(1)と同様の文字パターンを、
出力バッファメモリ94に書込む。
In step #2, the data temporarily stored in the input buffer memory 91 is copied to the output buffer memory 94. In this case, the processing mode of step #2 is a copy mode, the shift control unit 92 performs a process without shifting, and the write control unit 93 operates in an overwrite (MOVE) mode in which pattern data at the same position is written as is. The same character pattern as in Figure 3 (1) is created by processing
Write to output buffer memory 94.

次に、ステップ#3で、入力バッファメモリ91のデー
タを上方向にシフトしながら、出カバソファメモリ94
へ送出し、先のステップ#2でコピーされた文字パター
ンと合成する。すなわち、このステップ#3では、シフ
ト制御部92は上シフトモードとされ、書込み制御部9
3は合成(OR)モードとされる。シフト制御部92で
1ビット分だけ上シフトされたパターンは、第3図(2
)のようになり、このパターンと、第3図(1)の原パ
ターンとが合成されて、出力バッファメモリ94に書込
まれる。
Next, in step #3, while shifting the data in the input buffer memory 91 upward, the output buffer memory 94
and synthesizes it with the character pattern copied in step #2. That is, in this step #3, the shift control section 92 is set to the upper shift mode, and the write control section 9
3 is set to the combination (OR) mode. The pattern shifted up by one bit by the shift control unit 92 is shown in FIG.
), this pattern and the original pattern of FIG. 3(1) are combined and written into the output buffer memory 94.

ステップ#4では、入力バッファメモリ91のデータを
、下方向にシフトしなから出力バッファメモリ94のパ
ターンと合成する。このステップ#4のモードは、先の
ステップ#3と基本的に同様であるが、シフト制御部9
2が下シフトのモードとされる。
In step #4, the data in the input buffer memory 91 is shifted downward and then combined with the pattern in the output buffer memory 94. The mode of this step #4 is basically the same as the previous step #3, but the shift control section 9
2 is the down shift mode.

ステップ#5では、入力バッファメモリ91のデータを
、左方向にシフトしなから出力バッファメモリ94に合
成する。このステップ#5のモードも、先のステップ#
3と基本的に同様であるが、シフト制御部92が左シフ
トのモードとされる。
In step #5, the data in the input buffer memory 91 is shifted to the left and then synthesized into the output buffer memory 94. This step #5 mode also applies to the previous step #5.
3, but the shift control unit 92 is placed in the left shift mode.

同様に、ステップ#6では、入力バッファメモリ91の
データを、右方向にシフトしなから出力バッファメモリ
94に合成する。このステップ#6のモードも、先のス
テップ#3と基本的に同様であるが、シフト制御部92
が右シフトのモードとされる。
Similarly, in step #6, the data in the input buffer memory 91 is shifted to the right and then synthesized into the output buffer memory 94. The mode of this step #6 is also basically the same as the previous step #3, but the shift control section 92
is considered to be the right shift mode.

以上のステップ#1〜ステップ#6の処理によって、出
力バッファメモリ94には、第3図(3)のようなパタ
ーンデータが格納されることになる。
Through the processing of steps #1 to #6 above, pattern data as shown in FIG. 3(3) is stored in the output buffer memory 94.

次のステップ#7で、入力バッファメモリ91内の、最
も外側に位置するドツトのデータを取除く処理を行う。
In the next step #7, the data of the outermost dot in the input buffer memory 91 is removed.

この操作は、シフト処理によってドツトデータがはみ出
した1乃合に、そのデータを切捨てるために行われる処
理である。第3図(4)の斜線を付けられたトン1〜が
、切捨て対象のドツトとされる。取除き処理が完了した
パターンは、入力バッファメモリ91に格納される。
This operation is performed in order to truncate the data when one or more dot data protrudes due to the shift process. The shaded tons 1 to 1 in FIG. 3(4) are the dots to be truncated. The pattern for which the removal process has been completed is stored in the input buffer memory 91.

ステップ#8では、第3図(4)に示す入カバソファメ
モリ91のデータと、第3図(3)に示す出力バッファ
メモリ94のデータとの排他的論理和をとり、その結果
を出力バッファメモリ94に残す。
In step #8, the data in the input buffer memory 91 shown in FIG. 3 (4) and the data in the output buffer memory 94 shown in FIG. It remains in the memory 94.

したがって、出力バッファメモリ94には、第3図(5
)のような白抜きパターンのデータが得られる。
Therefore, the output buffer memory 94 has
) data with a white pattern is obtained.

このステップ#8では、シフ1へ制御部92はシフトな
しモードであり、書込み制御部93は排他的論理和(X
OR)モードである。
In this step #8, the shift 1 control section 92 is in the no shift mode, and the write control section 93 is in the exclusive OR (X
OR) mode.

以上のステップ#1〜ステップ#8の処理によって、第
3図(1)の数字「1」の文字パターンから第3図(5
)のような白抜きパターンが得られる。
By the processing of steps #1 to #8 above, the character pattern of the number "1" in FIG. 3 (1) is changed to
) is obtained.

このような処理によって完成された文字パターンは、最
後のステップ#9で、出力バッファメモリ94から、表
示装置6あるいはプリンタ8へ出力し、表示あるいは印
字を行う。
The character pattern completed through such processing is outputted from the output buffer memory 94 to the display device 6 or the printer 8 for display or printing in the final step #9.

したがって、第1図の表示装置6に表示され、あるいは
印字装置8で印字される文字パターンは、第3図(1)
の数字「1」の原パターンの代りに、第3図(5)に示
すような白抜きパターンとなる。
Therefore, the character pattern displayed on the display device 6 in FIG. 1 or printed by the printing device 8 is as shown in FIG. 3 (1).
Instead of the original pattern of the number "1", an outline pattern as shown in FIG. 3 (5) is created.

先の第2図と第3図では、数字「1」の白抜きパターン
を作成する場合について説明した。
In FIGS. 2 and 3 above, the case where an outline pattern of the number "1" is created has been described.

次に、ドツトパターンの配列が複雑な漢字の場合につい
て説明する。
Next, the case of a kanji character with a complicated dot pattern arrangement will be explained.

第4図(1)〜(4)は、この発明のパターン発生装置
によって、漢字「漢」の白抜き文字パターンを作成する
場合のパターンデータの一例を示すメモリ図で、(1)
は原パターン、(2)は(1)の原パターンと、原パタ
ーンを上、下、左、右の4方向に1ドツト分だけシフ1
−シたパターンの合成パターン、(3)は(1)の原パ
ターンを構成するマトリックスの外側の1ドツト分を取
除いたパターン、(4)は(2)の原パターンの外側の
1ドツト分を取除いたパターンと、(3)の合成パター
ンとの排他的論理和処理を行ったパターンである。図面
の(2)のおける■印は、原パターンを上、下、左、右
の4方向に1ドツト分だけシフトしたパターンを合成し
たパターンのうち、原パターンに存在していたドツトを
示す。
FIGS. 4(1) to (4) are memory diagrams showing an example of pattern data when creating a white character pattern for the kanji "kan" by the pattern generator of the present invention, (1)
is the original pattern, (2) is the original pattern of (1), and the original pattern is shifted by one dot in four directions: up, down, left, and right.
- A composite pattern of the original pattern, (3) is a pattern obtained by removing one dot outside the matrix that constitutes the original pattern of (1), and (4) is a pattern obtained by removing one dot outside the original pattern of (2). This is a pattern obtained by performing an exclusive OR process on the pattern from which the above is removed and the composite pattern in (3). The symbol ``■'' in (2) of the drawing indicates a dot that existed in the original pattern among patterns that were synthesized by shifting the original pattern by one dot in four directions: up, down, left, and right.

第4図の漢字「漢」の白抜き文字パターンの作成手順も
、先の数字「1」と同様である。
The procedure for creating the white character pattern for the kanji character "Kan" in FIG. 4 is the same as that for the number "1" described above.

すなわち、第2図のステップ#1で、パターンメモリ1
0から、第4図(1)のような英字「漢」の文字パター
ンを取出し、入力バッファメモリ91に格納する。
That is, in step #1 of FIG.
The character pattern of the alphabet "Kan" as shown in FIG. 4 (1) is extracted from 0 and stored in the input buffer memory 91.

ステップ#2で、入力バッファメモリ91に一時的に格
納されたデータを、出力バッファメモリ94にコピーす
る。このステップ#2の処理モードは、コピーモードと
なり、シフト制御部92ではシフトなしの処理を行い、
書込み制御部93では、上書き(MOVE )モードの
処理を行って、第・1図(1)と同様の文字パターンの
書込みを行う。
In step #2, the data temporarily stored in the input buffer memory 91 is copied to the output buffer memory 94. The processing mode in step #2 is a copy mode, and the shift control unit 92 performs processing without shifting.
The write control section 93 performs overwrite (MOVE) mode processing to write a character pattern similar to that shown in FIG. 1 (1).

次に、ステップ#3で、入力バッファメモリ91のデー
タを上方向にシフトしながら、出力バッファメモリ94
へ送出し、先のステップ#2でコピーされた文字パター
ンと合成する。
Next, in step #3, while shifting the data in the input buffer memory 91 upward, the output buffer memory 94
and synthesizes it with the character pattern copied in step #2.

ステップ#4では、入力バッファメモリ91のデータを
、下方向にシフトしなから出力バッファメモリ94に合
成する。
In step #4, the data in the input buffer memory 91 is combined into the output buffer memory 94 without being shifted downward.

ステップ#5では、入力バッファメモリ91のデータを
、左方向にシフトシなから出力バッファメモリ94に合
成する。
In step #5, the data in the input buffer memory 91 is shifted leftward and then synthesized into the output buffer memory 94.

同様に、ステップ#6では、入力バッファメモリ91の
データを、右方向にシフトしなから出力バッファメモリ
94に合成する。
Similarly, in step #6, the data in the input buffer memory 91 is shifted to the right and then synthesized into the output buffer memory 94.

以上のステップ#1〜ステップ#6の処理によって、出
力バッファメモリ94には、第4図(2)のようなパタ
ーンデータが格納されることになる。
Through the processing of steps #1 to #6 described above, pattern data as shown in FIG. 4(2) is stored in the output buffer memory 94.

次のステップ#7で、入力バッファメモリ91内の、最
も外側に位置するドラ1−のデータを取除く処理を行う
。そのため、第4図(3)のように、斜線を付けられた
最も外側の1ドツト分の領域のデータが取除かれる。
In the next step #7, the data of the outermost driver 1- in the input buffer memory 91 is removed. Therefore, as shown in FIG. 4(3), the data in the area corresponding to the outermost one dot marked with diagonal lines is removed.

ステップ#8で′は、第4図(2)に示す出力バッファ
メモリ94のデータと、第4図(3)に示す最も外側の
1ドツト分の領域のデータが取除かれた入力バッファメ
モリ91のデータとの排他的論理和をとり、その結果を
出力バッファメモリ94に残す。
In step #8, ' is the input buffer memory 91 from which the data in the output buffer memory 94 shown in FIG. 4 (2) and the data in the outermost one dot area shown in FIG. 4 (3) have been removed. The result is left in the output buffer memory 94.

出力バッファメモリ94には、第4図(4)のような白
抜きパターンのデータが得られる。
In the output buffer memory 94, data of a white pattern as shown in FIG. 4 (4) is obtained.

以上のステップ#1〜ステップ#8の処理によって、第
4図(1)の漢字「漢」の文字パターンから第4図(4
)のような白抜きパターンが得られる。
By the processing of steps #1 to #8 above, the character pattern of the kanji "kan" in FIG. 4 (1) is changed to
) is obtained.

このような処理によって完成された文字パターンは、最
後のステップ#9で、出力バッファメモリ94から1表
示装置6あるいはプリンタ8へ出力して、表示あるいは
印字を行う。
The character pattern completed through such processing is outputted from the output buffer memory 94 to the display device 6 or the printer 8 for display or printing in the final step #9.

したがって、第1図の表示装置6に表示され。Therefore, it is displayed on the display device 6 of FIG.

あるいは印字装置8で印字される文字パターンは。Or the character pattern printed by the printing device 8.

第4図(4)に示すような白抜きパターンとなる。This results in a white pattern as shown in FIG. 4 (4).

なお、以上の実施例では、1文字を構成するドツトが、
24x24 (ドツト構成)の場合について説明した。
In addition, in the above embodiment, the dots constituting one character are
The case of 24x24 (dot configuration) has been explained.

しかし、必ずしも、24X24  Cドツト構成)であ
ることは必要でなく、その他のドツト構成についても、
同様に実施できることはいうまでもない。
However, it is not necessarily necessary to have a 24x24 C dot configuration, and other dot configurations may also be used.
Needless to say, it can be implemented in the same way.

また、シフト制御部92によるシフト処理は、上、下、
左、右の4方向に行う場合について、詳細に述べた。
In addition, the shift processing by the shift control unit 92 includes up, down,
The cases in which it is performed in four directions, left and right, have been described in detail.

しかしながら、単に、これらの上、下、左、右の4方向
だけでなく、さらに、左上、左下、右上。
However, not only these four directions, upper, lower, left, and right, but also upper left, lower left, and upper right.

右下の4方向へもシフトし、合計8方向ヘシフトさせる
ことも可能であり、必ずしも上、下、左。
It is also possible to shift in the four directions at the bottom right, for a total of eight directions, not necessarily up, down, or left.

右の4方向の場合に限定されるものではない。このよう
h F ′: +、’、Hへのシフト処理は、例えば、
32’x:32(ドツト構成)とか、48X48(ドツ
ト構成)のように、1文字を11゛4成するドラ1〜数
が多くなれば、−に’7顕著な効果が得られる。
It is not limited to the four directions on the right. This shift processing to h F ′: +, ′, H is, for example,
As in 32'x:32 (dot composition) or 48x48 (dot composition), if the number of dots 1 to 1 to form one character 11゜4 increases, a remarkable effect can be obtained.

以上に詳細に説明したとおり、この発明のパターン発生
装置では1文字パターンのデータを記憶するパターン記
憶手段と、該パターン記憶手段から取出した原パターン
データを少なくとも上、下。
As described above in detail, the pattern generation device of the present invention includes a pattern storage means for storing data of a single character pattern, and original pattern data taken out from the pattern storage means at least at the top and bottom.

左、右にシフトさせて合成する機能および合成されたデ
ータと前記原パターンデータとの排他的論理和により修
飾パターンを発生する機能を有するパターン変換手段、
とで構成している。
pattern conversion means having a function of synthesizing by shifting left and right, and a function of generating a modification pattern by exclusive OR of the synthesized data and the original pattern data;
It consists of

夏−一米 したがって、この発明のパターン発生装置によれば、文
字パターン記憶手段の容量を増加する必要がなく、通常
の文字のパターンデータの輪郭部をたどる修飾処理によ
って、白抜きパターンのデータを生成することができ、
見た目にきれいで、しかも、多様な文字パターンによる
表示・印字が可能になる。
Therefore, according to the pattern generator of the present invention, there is no need to increase the capacity of the character pattern storage means, and data of a white pattern can be generated by a modification process that traces the outline of the pattern data of a normal character. can be produced,
It looks beautiful and can display and print in a variety of character patterns.

しかも、このような白抜きパターンのデータ生成のため
に修飾処理は、文字のサイズと無関係に実施することが
できるので、データ処理システ11で使用する文字サイ
ズの種類が多ければ多いほど、文字パターン記憶手段の
容量の節減も大きくなる。
Moreover, the modification process for generating data for such white patterns can be performed regardless of the character size, so the more types of character sizes used in the data processing system 11, the more the character pattern The savings in storage means capacity is also greater.

という優れた効果が得られる。This excellent effect can be obtained.

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

第1図は、この発明のパターン発生装置の一実施例につ
いて、その要部構成を示す機能ブロック図、 第2図は、第1図に示したこの発明のパターン発生装置
における白抜き文字パターンの作成手順を示すフローチ
ャート。 第3図(1)〜(5)は、この発明のパターン発生装置
によって、数字「l」の白抜き文字パターンを作成する
場合のパターンデータの一例を示すメモリ図で、(1)
は原パターン、(2)は(1)の原パターンを1ドツト
分だけ上方向にシフトしたパターン、(3)は(1)の
原パターンと、原パターンを上、下。 左、右の方向に1ドツト分だけシフトしたパターンとの
合成パターン、(4)は(1)の原パターンを構成する
マトリックスの外側を取除いた後のパターン、(5)は
(4)のパターンと、(3)の合成パターンとの排他的
論理和処理を行ったパターン、第4図(1)〜(4)は
、この発明のパターン発生:裟匝によって、漢字「漢J
の白抜き文字パターンを作成する場合のパターンデータ
の一例を示すメモリ図で、(1)は原パターン、(2)
は(1)の原パターンと、原パターンを上、下、左、右
の4方向に1ドツト分だけシフトしたパターンの合成パ
ターン、(3)は(1)の原パターンを構成する71へ
リックスの外側の1ドツト分を取除いたパターン、(4
)は(2)の原パターンの外側の1ドツト分を取除いた
パターンと、(3)の合成パターンとの排他的論理和処
理を行ったパターン、 第5図は、従来から使用されているワードプロセッサ等
のデータ処理装置について、その要部構成の一例を示す
機能ブロック図。 図面において、1は中央処理装置、2は入力装置、3は
システムメモリ、4はCRTコン1〜ローラ、5はビデ
オメモリ、6はCRT、7は外部記憶装置、8はプリン
タ、9はパターン変換コントロール部で、91は入力バ
ッファメモリ、92はシフト制御部、93は書込み制御
部、94は出力バッファメモリ、10はパターンメモリ
。 伸3図 伸  3 図
FIG. 1 is a functional block diagram showing the configuration of essential parts of an embodiment of the pattern generation device of the present invention, and FIG. 2 shows the outline character pattern of the pattern generation device of the present invention shown in FIG. Flowchart showing the creation procedure. FIGS. 3(1) to 3(5) are memory diagrams showing an example of pattern data when a white character pattern of the number "l" is created by the pattern generator of the present invention.
is the original pattern, (2) is a pattern obtained by shifting the original pattern of (1) upward by one dot, and (3) is the original pattern of (1), above and below the original pattern. A composite pattern with a pattern shifted by one dot in the left and right directions, (4) is the pattern after removing the outside of the matrix that makes up the original pattern of (1), and (5) is the pattern of (4). The patterns (1) to (4) in FIG. 4, which are obtained by performing exclusive OR processing on the pattern and the composite pattern in (3), are generated by the pattern generation of this invention: the kanji "Kan J".
This is a memory diagram showing an example of pattern data when creating a white character pattern, where (1) is the original pattern, (2)
is a composite pattern of the original pattern of (1) and a pattern shifted by one dot in four directions: up, down, left, and right; (3) is the 71 helix that makes up the original pattern of (1). The pattern obtained by removing one dot outside of (4
) is a pattern obtained by exclusive ORing the pattern obtained by removing one dot outside the original pattern of (2) and the composite pattern of (3). Figure 5 is a pattern that has been used conventionally. FIG. 1 is a functional block diagram showing an example of the configuration of main parts of a data processing device such as a word processor. In the drawing, 1 is a central processing unit, 2 is an input device, 3 is a system memory, 4 is a CRT controller 1 to roller, 5 is a video memory, 6 is a CRT, 7 is an external storage device, 8 is a printer, and 9 is a pattern conversion device. In the control section, 91 is an input buffer memory, 92 is a shift control section, 93 is a write control section, 94 is an output buffer memory, and 10 is a pattern memory. Shin 3 figure Shin 3 figure

Claims (1)

【特許請求の範囲】[Claims] 文字パターンのデータを記憶するパターン記憶手段と、
該パターン記憶手段から取出した原パターンデータを少
なくとも上、下、左、右にシフトさせて合成する機能お
よび合成されたデータと前記原パターンデータとの排他
的論理和により修飾パターンを発生する機能を有するパ
ターン変換手段、とを備えたことを特徴とするパターン
発生装置。
pattern storage means for storing character pattern data;
A function of shifting the original pattern data retrieved from the pattern storage means at least upward, downward, left, and right to synthesize the data, and a function of generating a modified pattern by exclusive ORing the synthesized data and the original pattern data. 1. A pattern generation device comprising: a pattern conversion means.
JP61062738A 1986-03-20 1986-03-20 Pattern generating device Pending JPS62219180A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61062738A JPS62219180A (en) 1986-03-20 1986-03-20 Pattern generating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61062738A JPS62219180A (en) 1986-03-20 1986-03-20 Pattern generating device

Publications (1)

Publication Number Publication Date
JPS62219180A true JPS62219180A (en) 1987-09-26

Family

ID=13209024

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61062738A Pending JPS62219180A (en) 1986-03-20 1986-03-20 Pattern generating device

Country Status (1)

Country Link
JP (1) JPS62219180A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02165975A (en) * 1988-12-20 1990-06-26 Seiko Epson Corp Generator for dot pattern
US4962465A (en) * 1987-12-28 1990-10-09 Sharp Kabushiki Kaisha Character processor provided with dot pattern correcting function

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58145986A (en) * 1982-02-25 1983-08-31 株式会社 写研 Method and apparatus for generating diversified characters
JPS60263190A (en) * 1984-06-12 1985-12-26 日本電気株式会社 Character pattern generator
JPS6123193A (en) * 1984-07-12 1986-01-31 日本電気株式会社 Character pattern generation method and apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58145986A (en) * 1982-02-25 1983-08-31 株式会社 写研 Method and apparatus for generating diversified characters
JPS60263190A (en) * 1984-06-12 1985-12-26 日本電気株式会社 Character pattern generator
JPS6123193A (en) * 1984-07-12 1986-01-31 日本電気株式会社 Character pattern generation method and apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4962465A (en) * 1987-12-28 1990-10-09 Sharp Kabushiki Kaisha Character processor provided with dot pattern correcting function
JPH02165975A (en) * 1988-12-20 1990-06-26 Seiko Epson Corp Generator for dot pattern

Similar Documents

Publication Publication Date Title
JPS60140472A (en) Interactive controller for font pattern formation/correction/synthesis
CA1199437A (en) Method for structuring high density display font for display device of text processing system
JPH05181454A (en) Display system and its control circuit, and display device
JPS62219180A (en) Pattern generating device
JPH046554B2 (en)
JPH0113117B2 (en)
JP2980732B2 (en) How to generate outline fonts
JP3109727B2 (en) Character processing method and character processing device
JP3378662B2 (en) Document processing device
JP2901860B2 (en) How to generate character data
JPS5937586A (en) Handy rule generator
JPH023099A (en) Display device
JP2803746B2 (en) Character processing method and apparatus
JP2698348B2 (en) Character processor
JPH05173538A (en) Bit map system display device
JPH07152737A (en) Document preparing device
JPH04205346A (en) Printer device
JPH03263170A (en) Document processing system
JPH0815794B2 (en) Character processor
JPS61292674A (en) Character pattern generator
JPS6010293A (en) Character pattern generator
JPS62269192A (en) Rule generator/eraser
JPH0747320B2 (en) Character processor
JPH06118934A (en) External character registering method
JPH02262696A (en) Method for displaying character reduction layout