JPS60113283A - Character pattern generator - Google Patents

Character pattern generator

Info

Publication number
JPS60113283A
JPS60113283A JP58220955A JP22095583A JPS60113283A JP S60113283 A JPS60113283 A JP S60113283A JP 58220955 A JP58220955 A JP 58220955A JP 22095583 A JP22095583 A JP 22095583A JP S60113283 A JPS60113283 A JP S60113283A
Authority
JP
Japan
Prior art keywords
character
pattern
character pattern
boundary
memory
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
JP58220955A
Other languages
Japanese (ja)
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.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP58220955A priority Critical patent/JPS60113283A/en
Publication of JPS60113283A publication Critical patent/JPS60113283A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

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

Description

【発明の詳細な説明】 本発明は漢字を含めた文字、記号(以下単に文字パター
ンと呼ぶ)を表示あるいは印字する際に用いられる文字
パターン発生装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a character pattern generating device used for displaying or printing characters and symbols including Chinese characters (hereinafter simply referred to as character patterns).

文字パターン発生装置で社、一定サイズのドツトマトリ
クス上でのドツトのオン、オフにより定義された文字パ
ターンを記憶装置に記憶しておき、指定された文字コー
ドに対応する文字パターンを記憶装置から読出してパタ
ーンメモリ上させる方式が多く用いられている。この方
式の文字パターン発生装置では、ドツトマトリクスで表
現できるパターンであればどのようなパターンでもあら
かじめ定義して記憶して置吐ば高速にパターンの発生が
可能である。しかしわが国で用いられる漢字にあっては
字形が複雑であるために、1文字あた918X18以上
のドツトマトリクスな必要とし、しかも字種が多いため
に大きな記憶容素が必要である。管に線のふち取りで文
字を表わす中ぬき文字のように装飾的な文字パターン忙
ついては、これをあらかじめドツトマトリクスで定義し
て記憶して置くことは通常の文字パターンの記憶に加え
てさらに大容量の記憶装置が必要となる欠点があり、ま
た個々の文字に対応する中ぬき文字の文字パターンをあ
らかじめ設計して作成することに多大な労力を要すると
いう欠点があった。
A character pattern generator stores a character pattern defined by turning on and off dots on a dot matrix of a certain size in a storage device, and reads out a character pattern corresponding to a specified character code from the storage device. A method is often used in which the pattern is stored in a pattern memory. In this type of character pattern generation device, any pattern that can be expressed in a dot matrix can be defined and stored in advance to generate a pattern at high speed. However, the kanji used in Japan have complex character shapes, so each character requires a dot matrix of 918 x 18 or more, and since there are many types of characters, a large memory capacity is required. When dealing with decorative character patterns such as hollow characters, which represent characters on tubes with line edges, it is even more important to define and memorize them in a dot matrix in advance, in addition to memorizing regular character patterns. This method has the drawback of requiring a large-capacity storage device, and also requires a great deal of effort to design and create a character pattern of hollow characters corresponding to each character in advance.

本発明の目的は、上記欠点fi−解消し、中ぬき文字の
文字パターンをあらかじめ作成して記憶して置く必要の
ない文字パターン発生装置全提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to eliminate the above-mentioned drawbacks and to provide a complete character pattern generation device that eliminates the need to create and store character patterns for hollow characters in advance.

本発明によれば、文字コードに対応して一定ザイズのド
ツトマトリクスで定められる文字パターンを発生する文
字バクーン発生器と、前記文字パターンヲ一時記憶する
パターンメモリドs 前記パターンメモリ上の文字パタ
ーンを拡大する拡大部と、前記バク−ンメモリ上の拡大
された文字パターンから境界ドツトを作成する境界作成
部と、装置の動作を制御する制■部とを有することを0
徴とする文字パターン発生装置が得られる。
According to the present invention, there is provided a character Bakun generator that generates a character pattern defined by a dot matrix of a constant size corresponding to a character code; a pattern memory s that temporarily stores the character pattern; and a pattern memory s that temporarily stores the character pattern. Enlarging the character pattern on the pattern memory. The present invention further comprises: an enlarging section for creating a boundary dot from the enlarged character pattern on the background memory; and a control section for controlling the operation of the device.
A characteristic character pattern generator is obtained.

以F1本発明について実施例を示す図面を参照して説り
jlする。
Hereinafter, the present invention will be explained with reference to drawings showing embodiments.

第1図は本発明の文字パターン発生装置の一実施f!I
 e示したブロック図である。図において、1は文字パ
ターン発生器(以下CGと呼ぶ)であり、発生すべき文
字の文字コード全外部より入力すると対応する文字パタ
ーンP1」をドツトマトリクスの形で出力する。2はパ
ターンメモリであり、CG1の出力する文字パターンp
、j’を一時記憶するとともに、拡大部3.境界作成部
4のそれぞれの処理結果として得られる文字パターンを
も一時記憶する。3は拡大部であり、パターンメモリ2
より文字パターンp、j’を入力し、縦、横2倍に拡大
した文字パターンTklを作成してパターンメモリ2に
出力する。4は境界作成部であり、パターンメモリ2よ
り拡大パターンTkle入力し、中ぬき文字パターンQ
kt’i:作成してパターンメモリ2に出力する。5は
制御部であり、変換コードを外部より入力して装置の動
作を制御する。
FIG. 1 shows one embodiment of the character pattern generating device of the present invention f! I
It is a block diagram shown in FIG. In the figure, reference numeral 1 denotes a character pattern generator (hereinafter referred to as CG) which, when a character code of a character to be generated is input from the outside, outputs a corresponding character pattern P1 in the form of a dot matrix. 2 is a pattern memory, which stores the character pattern p output by CG1.
, j', and the enlarging unit 3. The character patterns obtained as a result of each process by the boundary creation unit 4 are also temporarily stored. 3 is an enlarged section, and pattern memory 2
The character patterns p and j' are inputted, a character pattern Tkl enlarged twice vertically and horizontally is created and outputted to the pattern memory 2. 4 is a boundary creation unit which inputs the enlarged pattern Tkle from the pattern memory 2 and creates the hollow character pattern Q.
kt'i: Create and output to pattern memory 2. Reference numeral 5 denotes a control unit, which inputs a conversion code from the outside to control the operation of the apparatus.

第2図ial 、 (bl 、 tc+は文字パターン
の例を模式的に示す図である。第2図ialはCGIよ
り出力された文字「自」のパターンを示す。第2図(b
)は拡大部3によシ縦、横2倍に拡大きれた文字パター
ンを示す。第2図(C)は境界作成部4によυ作成され
た中ぬき文字パターンを示す。
Figure 2 ial, (bl, tc+ are diagrams schematically showing examples of character patterns. Figure 2 ial shows the pattern of the character "self" output from CGI. Figure 2 (b
) indicates a character pattern that has been enlarged twice vertically and horizontally by the enlarging unit 3. FIG. 2(C) shows a hollow character pattern created by the boundary creation section 4.

第3図fil 、 (blは境界作成部の動作を説明す
るための図である。第3図ta+は着目点Yと8個の阿
接点Y(1+Y1 、Y2 、・・・、Y7から構成さ
れる論理マスクを示す。第3図(b)は文字パターンの
一部であり。
Fig. 3 fil, (bl is a diagram for explaining the operation of the boundary creation section. Fig. 3 ta+ is composed of a point of interest Y and eight junction points Y (1+Y1, Y2, ..., Y7). Figure 3(b) shows a part of the character pattern.

明朝体におけるセリフ部分を示しており、図中斜線で示
す部分はドツトがオンすなわち黒ドツト全示し、論理的
には値1で表わされ、次に空白で示す部分はド+7 )
がオフすなわち白ドツトを示し、論理的には値0で表わ
され、オたXで示す部分は境界作成処理前は白ドツト、
境界作成処理後に文字パターンの境界として作成された
黒ドツトの境界ドツトを示す。
This shows the serif part in the Mincho typeface.The diagonally shaded part in the figure shows all dots on, that is, all black dots, and is logically represented by a value of 1, and the next blank part is a dot +7).
is off, that is, indicates a white dot, and is logically represented by a value of 0. The part indicated by OtaX is a white dot before boundary creation processing.
It shows the black dot boundary dots created as boundaries of character patterns after boundary creation processing.

第1図、第2図(31、(bl 、 (C1、第3図(
al 、 fblを用いて本発明の文字パターン発生装
置の動作を説明する。いま例えば文字パターン「自」を
発生する°ように外部から指示されると、CGIは「自
」に対応する文字コードを入力して第2図fatに示す
ドツトマトリクス状の文字パターンp 1j(i= 1
.2.3゜・・・、 m、j = 1.2,3.・・・
、n)をノ(ターンメモリ2に出力する。図ではm=2
4.n=24の場合金示している。外部からの指示が中
ぬき文字でない場合には制御部5は変換コードにより中
ぬき文字パターンの発生動作全行なわないように指示さ
れ、したがってパターンメモリ2に記憶されたCGIの
出カバターンP、jが本装置の最終出力となる。一方、
変換コードにより中ぬき文字パターンを発生するように
外部から指示された場合には、制御部5は拡大部3に対
しパターン拡大動作を行なわせる。拡大部3はパターン
メモリ2かう文字バ2−ンPBk入力し、(1)式に従
って縦M倍、横N倍に拡大したパターンTk、を作成し
てその結果を再びパターンメモリ2に記憶させる。
Fig. 1, Fig. 2 (31, (bl, (C1, Fig. 3)
The operation of the character pattern generator of the present invention will be explained using al and fbl. For example, when an external instruction is given to generate the character pattern "self", the CGI inputs the character code corresponding to "self" and generates the dot matrix character pattern p1j(i = 1
.. 2.3°..., m, j = 1.2,3. ...
, n) is output to the turn memory 2. In the figure, m=2
4. When n=24, gold is shown. If the instruction from the outside is not a hollow character, the control unit 5 is instructed by the conversion code not to perform the entire operation of generating a hollow character pattern, and therefore the CGI output patterns P and j stored in the pattern memory 2 are This is the final output of this device. on the other hand,
When an external instruction is given to generate a hollow character pattern using the conversion code, the control section 5 causes the enlarging section 3 to perform a pattern enlarging operation. The enlarging unit 3 inputs the character bar 2-PBk into the pattern memory 2, creates a pattern Tk enlarged by M times vertically and N times horizontally according to equation (1), and stores the result in the pattern memory 2 again.

Tk1=P ljb k= 1.2.3.−、M II
m%f)、= 1.2.3.−、 N ・ni =[(
k+M−t )/へ〇 、j=[(l+N−t)/N]
 ・・(1)なお(1)式においてM、Nはそれぞれ縦
、横の拡大率で正整数、記号〔〕は切捨てによる整数化
を示す。次に制御部5は境界作成部4を起動する。境界
作成部4はパターンメモリ2から入力する文字パターン
Tkffiに対して第3図(alで示す3×3ドットの
論理マスク処理を行なう。この処理は着目点Yに対し、
その点を境界点とするか否かを論理的K 、fl+定す
るものであり、境界点であれげY=1、境界点でなけれ
ばY=Oとして境界点のみで作られる文字パターンを作
成する。着目点Yを判定する論理は例えば(2)式で表
わされる。
Tk1=P ljb k= 1.2.3. -, M II
m%f), = 1.2.3. −, N ・ni = [(
k+M-t)/to〇, j=[(l+N-t)/N]
(1) In equation (1), M and N are positive integers representing the vertical and horizontal magnification rates, respectively, and the symbols [ ] indicate integerization by truncation. Next, the control unit 5 activates the boundary creation unit 4. The boundary creation unit 4 performs a 3×3 dot logical mask process shown in FIG. 3 (al) on the character pattern Tkffi input from the pattern memory 2.
It logically determines whether or not that point is a boundary point, and creates a character pattern made of only boundary points by setting Y=1 if it is a boundary point, and Y=O if it is not a boundary point. do. The logic for determining the point of interest Y is expressed, for example, by equation (2).

Y@(Y o l’Y、トY 2−!Y 、1−Y4−
トY 5.1− y、l Y7 )・(2)(2)式に
おいて記号・、+はそれぞれ論理積、論理和を示す。第
3図fblにおける記号Xで示した点は(2)式の論理
に従い作成された境界点であり、この方法で第2図fc
)に示すような中ぬき文字パターンが作成できることを
示している。したがって、境界作成部4では(3)式に
示す動作を行なえば良い。
Y@(Y o l'Y, tY 2-!Y, 1-Y4-
5.1- y, l Y7 ) (2) In equation (2), the symbols . and + indicate logical product and logical sum, respectively. The point indicated by the symbol X in Fig. 3 fbl is a boundary point created according to the logic of equation (2).
) shows that it is possible to create a hollow character pattern as shown in the figure below. Therefore, the boundary creation unit 4 may perform the operation shown in equation (3).

(k−1またはに=M−m’Jたは【−1または1=N
・nの場合)Qkt−TJ・ (lc=2.3.・、M−m −1、(1=&3.・−
、N’n−1の場合)Q+、t−’r、。l ” (’
l k +−I I ”−TN−111”’Tk e−
1+T k−11−1+゛’rk−、t ’−Tk−■
+4 ”’Tk !、4−1 トTk→le、+s )
 −(3)なお、拡大部3.填昇作成部4はマイクロプ
ロセフ゛すを用いて筒片に構成することができ、さらに
処理が順に行なわれることからマイクロプロセッサを共
用することができる。また、拡大部3.境界作成部4は
シフトレジスタ等を用いた簡単なノ・−ドウエアで構成
することも容易にできる。
(k-1 or ni=M-m'J or [-1 or 1=N
・In case of n) Qkt-TJ・ (lc=2.3.・, M−m −1, (1=&3.・−
, N'n-1) Q+, t-'r,. l ” ('
l k +-I I ”-TN-111”'Tk e-
1+T k-11-1+゛'rk-, t'-Tk-■
+4 ”'Tk!, 4-1 Tk→le, +s)
-(3) Note that the enlarged section 3. The filling forming section 4 can be formed into a cylindrical piece using a microprocessor, and furthermore, since the processing is performed sequentially, the microprocessor can be shared. Also, the enlarged section 3. The boundary creation section 4 can also be easily constructed from simple hardware using a shift register or the like.

以上述べたように本発明の文字パターン発生装置は、通
常用いられる文字パターンに加えて新たに中ぬき文字パ
ターン用の記憶装置を持つ必要がなく、またあらかじめ
中ぬき文字ノくターンを作成する必要がないために、特
に複雑で字種の多い漠字などの文字パターン発生に利用
してその効果はきわめて大きい。
As described above, the character pattern generation device of the present invention does not require a new storage device for hollow character patterns in addition to the normally used character patterns, and it is not necessary to create hollow character turns in advance. Because there is no character pattern, it is particularly effective when used to generate character patterns such as complex characters with many types of characters.

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

第1図は本発明の文牢ノ(ターン発生装置の一実施例を
示したブロック図である。第2図(11、(111。 telは文字パターンの例を示した模式図である。第3
図(al 、 (blは境界作成部の動作を示す説明図
である。 図において、1・・・・・・文字パターン発生器、2・
・・・・・パターンメモリ、3・・・・・・拡大部、4
・・・・・・境界作成部、5・・・・・・制御部/ft
それぞれ示している。
FIG. 1 is a block diagram showing an embodiment of the bungyo turn generator of the present invention. FIG. 2 is a schematic diagram showing an example of a character pattern. 3
Figures (al and bl are explanatory diagrams showing the operation of the boundary creation section. In the figure, 1... character pattern generator, 2...
...Pattern memory, 3...Enlarged section, 4
...Boundary creation section, 5...Control section/ft
are shown respectively.

Claims (1)

【特許請求の範囲】[Claims] 文字コードに対応して一定サイズのドツトマトリクスで
定められる文字パターンを発生する文字パターン発生器
と、前記文字パターンを一時記憶するパターンメモリと
、前記パターンメモリ上の文字パターンを拡大する拡大
部と、前記パターンメモリ上の拡大された文字パターン
から境界ドツトを作成する境界作成部と、前記文字パタ
ーン発生器、拡大部、境界作成部の動作を制御する制御
部とを有すること全特徴とする文字パターン発生装置。
a character pattern generator that generates a character pattern defined by a dot matrix of a constant size corresponding to a character code; a pattern memory that temporarily stores the character pattern; and an enlarger that enlarges the character pattern on the pattern memory; A character pattern comprising: a boundary creation unit that creates boundary dots from the enlarged character pattern on the pattern memory; and a control unit that controls operations of the character pattern generator, enlargement unit, and boundary creation unit. Generator.
JP58220955A 1983-11-24 1983-11-24 Character pattern generator Pending JPS60113283A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58220955A JPS60113283A (en) 1983-11-24 1983-11-24 Character pattern generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58220955A JPS60113283A (en) 1983-11-24 1983-11-24 Character pattern generator

Publications (1)

Publication Number Publication Date
JPS60113283A true JPS60113283A (en) 1985-06-19

Family

ID=16759169

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58220955A Pending JPS60113283A (en) 1983-11-24 1983-11-24 Character pattern generator

Country Status (1)

Country Link
JP (1) JPS60113283A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS621550A (en) * 1985-06-27 1987-01-07 Toshiba Corp Method and apparatus for printing of outline font
JP2006281947A (en) * 2005-03-31 2006-10-19 Honda Motor Co Ltd Motorcycle

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS621550A (en) * 1985-06-27 1987-01-07 Toshiba Corp Method and apparatus for printing of outline font
JP2006281947A (en) * 2005-03-31 2006-10-19 Honda Motor Co Ltd Motorcycle

Similar Documents

Publication Publication Date Title
JPH01174463A (en) Dot pattern correction method
JPH03184088A (en) Character pattern generating system and character data storing method
US5519412A (en) Pattern processing method
JPS60113283A (en) Character pattern generator
EP0062669A1 (en) Graphic and textual image generator for a raster scan display.
JPS60162286A (en) Character pattern generator
JPS59195760A (en) Pattern enlarging and contracting device
JP2782904B2 (en) Polygon fill method
JPS59214893A (en) Character font reduction system
Van Zandt PSTricks
KR960013368B1 (en) Outline font formation method
KR970002108B1 (en) Laser-printer bit map font
JPS6132676B2 (en)
JP2803746B2 (en) Character processing method and apparatus
JPH0392897A (en) Pattern generating device
JPH03184182A (en) Character output layout determination system
JP3055306B2 (en) Data output device
JPH0560598B2 (en)
JP2846165B2 (en) Character learning device
JPS62175794A (en) Character generator
JPS63136278A (en) Production system for repetitive pattern
JPH023099A (en) Display device
JPS62180476A (en) Document graphic processor
JPH03271800A (en) Special processing logogram character generating system
JPS6173991A (en) Display method and apparatus