JPS63274989A - Dot matrix character corrector - Google Patents

Dot matrix character corrector

Info

Publication number
JPS63274989A
JPS63274989A JP62110251A JP11025187A JPS63274989A JP S63274989 A JPS63274989 A JP S63274989A JP 62110251 A JP62110251 A JP 62110251A JP 11025187 A JP11025187 A JP 11025187A JP S63274989 A JPS63274989 A JP S63274989A
Authority
JP
Japan
Prior art keywords
dot matrix
dot
basic
character
search 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.)
Pending
Application number
JP62110251A
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 Platforms Ltd
NEC Corp
Original Assignee
NEC Corp
NEC AccessTechnica 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 NEC Corp, NEC AccessTechnica Ltd filed Critical NEC Corp
Priority to JP62110251A priority Critical patent/JPS63274989A/en
Publication of JPS63274989A publication Critical patent/JPS63274989A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • 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

【発明の詳細な説明】 [産業上の利用分野] 本発明は、ドツトマトリックスで構成された文字を、印
字又は、表示するプリンタ及びCRTなどの装置に関す
るものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to devices such as printers and CRTs that print or display characters composed of dot matrices.

[従来の技術] 従来技術の文字の拡大を行なう装置においては、基本ド
ツトマトリックスを、縦横に2のN倍拡大する場合、基
本ドツトマトリックスを単純に2のN倍に拡大する方式
か、又は、2のN倍で構成された独自のドツトマトリッ
クスを持つ方式が採用されている。
[Prior Art] In conventional character enlarging devices, when a basic dot matrix is enlarged vertically and horizontally by 2 N times, the basic dot matrix is simply enlarged by 2 N times, or A method with a unique dot matrix composed of N times 2 is adopted.

[解決すべき問題点] 前述の、従来技術の文字の拡大を行なう装置において、
基本ドツトマトリックスを、単純に2のN倍に拡大する
方式の場合、縦又は横方向のドツトの連続した長さが2
のN倍になる為、斜めに構成されたドツトマトリックス
の、階段状ドツトが[1だつ欠点が生じる。
[Problems to be solved] In the above-mentioned prior art device for enlarging characters,
In the case of a method in which the basic dot matrix is simply expanded by N times 2, the length of consecutive dots in the vertical or horizontal direction is 2.
Since the number of dots is N times larger than that of the dot matrix, a defect occurs in that there is only one stepped dot in the diagonally structured dot matrix.

又、上記、欠点を無くす為の手段として、2のN倍で構
成された独自のドツトマトリックスを持つ場合、基本ド
ツトマトリックスだけを持つ装置に対して、ドツトのデ
ータを格納するために膨大なメモリが必要となる欠点が
生じる。
In addition, as a means to eliminate the above-mentioned drawbacks, if we have a unique dot matrix composed of 2 N times, it will require a huge amount of memory to store the dot data compared to a device that has only the basic dot matrix. The disadvantage arises that it requires

[問題点の解決手段] 上述した問題点を解決する本発明は、ドツトマトリック
スで構成された文字を、2のN倍拡大して、印字又は、
表示するドツトマトリックス文字補正装置であって、一
つの基本となるドツトマトリックスを格納する為のキャ
ラクタジェネレータと、ドツト補正ポイントを求める為
の基本検索パターンを有し且つ基本検索パターンに対し
て縦横拡大した場合の座標変換を行なう手段と、そして
、予め基本ドツトマトリックスからドツト補正ポイント
を求め、単純に基本ドツトマトリックスを2のN倍拡大
したものと、補正ドツトとを合成し、新たなドツトマト
リックスを生成する手段、とを有するものである。
[Means for Solving Problems] The present invention solves the above-mentioned problems by enlarging a character composed of a dot matrix by 2 N times and printing or
This is a dot matrix character correction device for display, which has a character generator for storing one basic dot matrix, a basic search pattern for finding dot correction points, and expands horizontally and vertically with respect to the basic search pattern. A new dot matrix is generated by calculating the dot correction points in advance from the basic dot matrix and simply enlarging the basic dot matrix by 2 N times with the correction dots. and a means for doing so.

[実施例] 以下、本発明の実施例について[7+面を参照して詳細
に説明する。
[Example] Hereinafter, examples of the present invention will be described in detail with reference to [7+ side].

第1図において、(1)は基本ドツトマトリックスがM
列×N行で構成された文字、(2)は縦横2倍拡大した
時のドツトマトリックスを示し、図中Cはドツト補正ポ
イントの位置を示す。その基本検索パターンは、第2図
AからPを用いて求める。
In Figure 1, (1) means that the basic dot matrix is M
The character (2) consisting of columns and N rows indicates a dot matrix when the image is enlarged twice in the vertical and horizontal directions, and C in the figure indicates the position of the dot correction point. The basic search pattern is determined using A to P in FIG.

まず、ドツトマトリックスの各行に対し列方向に検索し
、ドツトが無い列からドツトが存在する列に移行したポ
イントを求める。例えば、第1図において、a点(2列
、2行)が、そのポイントとなる。
First, each row of the dot matrix is searched in the column direction, and the point at which a column moves from a column with no dots to a column with dots is determined. For example, in FIG. 1, point a (column 2, row 2) is the point.

次に、そのポイントに対し、第2図のAからHまでの基
本検索パターンのドツト1を基準に、ドツトマトリック
スに当てはめ、1,2にドツトが存在するが、3,4.
5に、ドツトが存在しない条件に合う、基本検索パター
ンが存在するか、順次比較を行なう。
Next, the point is applied to a dot matrix using dot 1 of the basic search pattern from A to H in FIG.
5, sequential comparisons are made to see if there is a basic search pattern that satisfies the condition that no dot exists.

この時、上記条件に合う基本検索パターンが存在した場
合、それぞれの検索パターンに対する縦横2倍拡大した
場合のドツト補正ポイントの座標を第3図の計算式によ
り求める。
At this time, if there is a basic search pattern that satisfies the above conditions, the coordinates of the dot correction point when each search pattern is enlarged twice vertically and horizontally are calculated using the calculation formula shown in FIG.

また、ドツトマトリックスの各行に対し列方向に検索し
、ドツトが存在する列からドツトが存在しない列に移行
したポイント、例えば、第1図(1)b点(4列、2行
)に対して、今度は第2図の■からPまでの基本検索パ
ターンを用い、同様に、ドツト1を基準にドツトマトリ
ックスに当てはめ、1,2にドツトが存在するが、3,
4゜5にドツトが存在しない条件に合う、基本検索パタ
ーンが存在するか、順次比較を行なう。
Also, each row of the dot matrix is searched in the column direction, and for the point where the dot moves from the column where the dot exists to the column where the dot does not exist, for example, point b (column 4, row 2) in Figure 1 (1). , This time, using the basic search pattern from ■ to P in Figure 2, similarly, apply dots to the dot matrix using dot 1 as a reference, and there are dots at 1 and 2, but 3,
Comparisons are made sequentially to see if there is a basic search pattern that satisfies the condition that no dot exists in 4.5.

この時、上記条件に合う基本検索パターンを存在した場
合、それぞれの検索パターンに対する縦横2倍拡大した
場合のドツト補正ポイントの座標を下記の計算式により
求める。
At this time, if there is a basic search pattern that meets the above conditions, the coordinates of the dot correction point when each search pattern is enlarged twice vertically and horizontally are calculated using the following calculation formula.

第2図の基本検索パターン に対する座標の計算式 ドツト1の座標を(x、y)とする。Basic search pattern in Figure 2 Formula for calculating coordinates for Let the coordinates of dot 1 be (x, y).

基本検索パターンAからPに対する補正座標式(2x、
2y−2)       B(2x−2,2y)(: 
(2x、2y−1)     D (2x−2,2y−
1)E (2x−2,2y)     F (2x、2
y−2)G(2x−2,2y−1)    H(2x、
2y−1)I (2x−1,2y−2)    J(2
x+1,2y)K(2x−1,2rl)    L(2
x+1,2y−1)M(2x+1,2y)     N
(2x−1,2y−2)0(2x+1,2y−1)  
     P(2x−1,2y+1)縦横2の4倍拡大
の場合には、縦横2倍拡大で求めた補正ドツトに対して
第1図(3)で示す様に必ずドツトの補正ポイントdが
、存在することになる。
Corrected coordinate formula (2x,
2y-2) B(2x-2,2y)(:
(2x, 2y-1) D (2x-2, 2y-
1) E (2x-2, 2y) F (2x, 2
y-2) G(2x-2, 2y-1) H(2x,
2y-1) I (2x-1, 2y-2) J(2
x+1,2y)K(2x-1,2rl)L(2
x+1,2y-1)M(2x+1,2y)N
(2x-1, 2y-2) 0 (2x+1, 2y-1)
P(2x-1, 2y+1) In the case of 4 times magnification of 2 times the length and width, there is always a correction point d for the dot as shown in Figure 1 (3) for the correction dot obtained by magnifying it by 2 times the length and width. I will do it.

従って、第2図のAからPの基本検索パターンに対する
4、8,16.、、N倍のドツト補正ポイントの座標は
、縦横2倍拡大で求めた上記した座標の計算式を拡張す
ることにより求めることができる。
Therefore, 4, 8, 16, etc. for the basic search patterns A to P in FIG. , , The coordinates of the N-fold dot correction point can be obtained by extending the above-mentioned calculation formula for the coordinates obtained by 2-fold enlargement in the vertical and horizontal directions.

以上の方法により、第3図(1)で示す、基本ドツトマ
トリックスが、24x24の文字に対し、ドツト補正ポ
イントを、第2図の基本検索パターンと、F記の座標変
換式を用いて、第3図(2)の縦横2倍拡大した文字と
補正ドツトとを合成すると、第3図(3)で示す縦横2
倍したドツトマトリックスが得られる。
By the above method, the basic dot matrix shown in Fig. 3 (1) is used to calculate dot correction points for 24 x 24 characters using the basic search pattern shown in Fig. 2 and the coordinate conversion formula shown in F. When the characters enlarged twice in the vertical and horizontal directions in Figure 3 (2) are combined with the correction dots, the characters shown in Figure 3 (3) are
A doubled dot matrix is obtained.

なお、第4図は、本発明における、装置のブロック図を
示す。
Note that FIG. 4 shows a block diagram of the apparatus in the present invention.

1は、本発明の制御を司るCPUを示す。1 indicates a CPU that controls the present invention.

2は、基本ドツトマトリックスを格納する為のキャラク
タジェネレータを示す。
2 shows a character generator for storing the basic dot matrix.

3は、基本検索パターンを格納する為のメモリーを示す
3 indicates a memory for storing basic search patterns.

4は、CPUを制御する為のプログラム及びワークメモ
リーを示す。
4 indicates a program and work memory for controlling the CPU.

[発明の効果] 本発明によれば、ドツトマトリックスで構成された文字
を縦横に2のN倍拡大する場合に、2のN倍で構成され
た独自のドツトマトリックスを持たない為、膨大なメモ
リを持つことなしに、拡大された場合に目だフてくる、
斜めに構成された線を滑らかに表現できる効果がある。
[Effects of the Invention] According to the present invention, when a character composed of a dot matrix is enlarged vertically and horizontally by 2 N times, a huge amount of memory is required because the character does not have its own dot matrix composed of 2 N times. It becomes eye-catching when enlarged without having
This has the effect of making diagonal lines appear smoother.

特に、ドツトマトリックスで構成された漢字文字等にお
いて、縦横拡大しても明朝体を損なうことなしに表現で
きる効果がある。
In particular, it has the effect of being able to express kanji characters, etc. composed of dot matrices, without losing the Mincho font even if they are enlarged vertically and horizontally.

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

第1図(1)は基本ドツトマトリックスがM列×N行で
構成された文字を示す。 第1図(2)は(1)の文字を縦横2倍拡大した場合の
ドツトマトリックスを示す。 第1図(3)は(1)の文字を縦横4倍拡大した場合の
ドツトマトリックスを示す。 第2図のAからPは本発明における基本検索パターンを
示す。 第3図(1)は基本ドツトマトリックスが24×24ド
ツトで構成された文字「漢」を示す。 第3図(2)は(1)の文字を単純に縦横2倍拡大した
ドツトマトリックスを示す。 第3図(3)は本発明における手段により、ドツトを補
正して合成された結果のドツトマトリックスを示す。 第4図は本発明における装置のブロック図を示す。 1:cPU 2:キャラクタジェネレータ 3:格納メモリー
FIG. 1(1) shows a character whose basic dot matrix is composed of M columns and N rows. FIG. 1(2) shows a dot matrix when the characters in (1) are enlarged twice in the vertical and horizontal directions. FIG. 1(3) shows a dot matrix when the characters in (1) are enlarged four times vertically and horizontally. A to P in FIG. 2 show basic search patterns in the present invention. FIG. 3(1) shows the character "Kan" whose basic dot matrix is composed of 24×24 dots. FIG. 3(2) shows a dot matrix in which the characters in (1) are simply enlarged twice in the vertical and horizontal directions. FIG. 3(3) shows a dot matrix resulting from correcting and synthesizing dots by means of the present invention. FIG. 4 shows a block diagram of the device according to the invention. 1: cPU 2: Character generator 3: Storage memory

Claims (1)

【特許請求の範囲】 ドットマトリックスで構成された文字を、2のN倍拡大
して、印字又は、表示するドットマトリックス文字補正
装置であって、 一つの基本となるドットマトリックスを格納する為のキ
ャラクタジェネレータと、 ドット補正ポイントを求める為の基本検索パターンを有
し且つ基本検索パターンに対して縦横拡大した場合の座
標変換を行なう手段と、そして、 予め基本ドットマトリックスからドット補正ポイントを
求め、単純に基本ドットマトリックスを2のN倍拡大し
たものと、補正ドットとを合成し、新たなドットマトリ
ックスを生成する手段、とを有するドットマトリックス
文字補正装置。
[Claims] A dot matrix character correction device that prints or displays a character composed of a dot matrix by enlarging it by 2 N times, the character being a character for storing one basic dot matrix. a generator, a means for having a basic search pattern for finding dot correction points and performing coordinate transformation when the basic search pattern is expanded vertically and horizontally; A dot matrix character correction device comprising means for generating a new dot matrix by combining a basic dot matrix enlarged by 2 N times and correction dots.
JP62110251A 1987-05-06 1987-05-06 Dot matrix character corrector Pending JPS63274989A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62110251A JPS63274989A (en) 1987-05-06 1987-05-06 Dot matrix character corrector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62110251A JPS63274989A (en) 1987-05-06 1987-05-06 Dot matrix character corrector

Publications (1)

Publication Number Publication Date
JPS63274989A true JPS63274989A (en) 1988-11-11

Family

ID=14530944

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62110251A Pending JPS63274989A (en) 1987-05-06 1987-05-06 Dot matrix character corrector

Country Status (1)

Country Link
JP (1) JPS63274989A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5159666A (en) * 1989-07-31 1992-10-27 Casio Computer Co., Ltd. Apparatus and a method for enlarging dot matrix data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5159666A (en) * 1989-07-31 1992-10-27 Casio Computer Co., Ltd. Apparatus and a method for enlarging dot matrix data

Similar Documents

Publication Publication Date Title
JPH01174463A (en) Dot pattern correction method
JPH0457196B2 (en)
JPH01195063A (en) Lateral magnifying device of bit map font
JPH01296389A (en) Method and device for processing graphic
JPS63274989A (en) Dot matrix character corrector
JPS5942971A (en) Control system for magnifying printing
JPS61147288A (en) Character pattern generation display unit
JPS63203341A (en) Enlarged character generation system
JPS6346429B2 (en)
JP3056112B2 (en) LCD display control method
JPS6139672B2 (en)
JP2782752B2 (en) Character pattern output device
JP3055306B2 (en) Data output device
JP3211404B2 (en) String output device
JPH04188190A (en) Character drawing device, character output compensation method, and character output device
JP2605609B2 (en) Dot display processing device
JPS60188981A (en) Scale factor conversion system for character data
JPS61107390A (en) Circular arc drawing system
JPS63169171A (en) Reduced picture forming method
JPS60231267A (en) Intra-character control system
JP3154343B2 (en) How to fill in polygonal shapes
JPH0589109A (en) Ruled line character display method
JPH081554B2 (en) Character processor
JPH0950272A (en) Method and device for outline font generation
JPS60149083A (en) Display unit