JPH01290449A - Dot font minification system - Google Patents
Dot font minification systemInfo
- Publication number
- JPH01290449A JPH01290449A JP63119393A JP11939388A JPH01290449A JP H01290449 A JPH01290449 A JP H01290449A JP 63119393 A JP63119393 A JP 63119393A JP 11939388 A JP11939388 A JP 11939388A JP H01290449 A JPH01290449 A JP H01290449A
- Authority
- JP
- Japan
- Prior art keywords
- dot
- font
- register
- font pattern
- stored
- 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
Links
- 238000000034 method Methods 0.000 claims abstract description 19
- 239000011159 matrix material Substances 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 12
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000011946 reduction process Methods 0.000 description 1
Landscapes
- Controls And Circuits For Display Device (AREA)
- Dot-Matrix Printers And Others (AREA)
Abstract
Description
【発明の詳細な説明】
〔概 要〕
画像表示装置におけるキャラクタのドツトフォントパタ
ーンを所定の大きさに縮小するドツトフォント縮小方式
に関し、
縮小前の元のフォントパターンに近い形状で縮小するこ
とを目的とし、
キャラクタを複数のドツトマトリクスにより表示する画
像表示装置におけるドツトフォント縮小方式において、
ドツトマトリクスの縦方向のドツトを隣接するドツト間
の論理和により間引きする第1の間引き手段と、ドット
マ) IJクスの横方向のドツトを無条件に間引きする
第2の間引き手段とを備え、ドツトフォントパターンメ
モリに格納され、た縮小前の元のフォントパターンを前
記第1の間引き手段により間引きした後、前記第2の間
引き手段により間引きし元のフォントパターンを縮小す
るように構成する。[Detailed Description of the Invention] [Summary] Regarding a dot font reduction method for reducing the dot font pattern of a character in an image display device to a predetermined size, the object is to reduce the dot font pattern in a shape close to the original font pattern before reduction. In a dot font reduction method for an image display device that displays characters using multiple dot matrices,
A first thinning means for thinning out the vertical dots of the dot matrix by a logical sum between adjacent dots, and a second thinning means for thinning out the horizontal dots of the dot matrix (IJ) unconditionally, After the original font pattern stored in the font pattern memory before reduction is thinned out by the first thinning means, the thinned out original font pattern is reduced by the second thinning means.
本発明は画像表示装置におけるキャラクタ表示のドツト
フォント縮小方式に関し、特にドツト表示されたキャラ
クタを、例えば24X24ドット表示から12XI2ド
ツト表示に4分の1角に縮小するドツトフォント縮小方
式に関する。The present invention relates to a dot font reduction method for character display in an image display device, and more particularly to a dot font reduction method for reducing a dot-displayed character from, for example, a 24×24 dot display to a 12×I2 dot display to a quarter square.
画像表示装置に文字(キャラクタ)を表示する場合には
通常ドツトマトリクス方式が用いられる。When displaying characters on an image display device, a dot matrix method is usually used.
この方式ではビデオRAMに格納されたキャラクタデー
タを例えば24X24ドツト表示(以下24ドツトフオ
ントと称す)するときに縦方向および横方向のドツトを
所定のキャラクタに合せて“1”又は“0”にすること
により表示する。この場合に1つのキャラクタは縦およ
び横のドツト数が多ければ多いほど視認性が向上するが
、ビデオRAMのメモリ容量との関係で一定の制限があ
る。In this method, when character data stored in the video RAM is displayed in 24x24 dots (hereinafter referred to as 24 dot font), vertical and horizontal dots are set to "1" or "0" to match a predetermined character. Displayed by In this case, the visibility of one character improves as the number of vertical and horizontal dots increases, but there are certain limitations due to the memory capacity of the video RAM.
キャラクタを表示装置上に表示したりプリンタにより印
字する場合に、使い勝手上でキャラクタを縮小すること
がある。例えば24ドツトフオントを12ドツトフオン
トに4分の1角に縮小するような場合である。ここでフ
ォントとは“字体”を意味し12ドツトフオントにした
ときにも24ドツトフオントと同様のキャラクタ形状を
再現できることが視認性上重要である。When displaying characters on a display device or printing them on a printer, the characters may be reduced in size for ease of use. For example, this is the case when 24 dot fonts are reduced to 12 dot fonts to a quarter square. Here, font means "font," and it is important for visibility that the same character shape as in 24-dot font can be reproduced even when 12-dot font is used.
第5〜7図は従来のドツトフォント縮小方式を説明する
図である。これらの図において、(a)はキャラクタ“
¥”を24X24ドツトで表示したもの、(b)は一定
の規則で間引きしたもの、(C)は(a)のキャラクタ
を12X12ドツトに縮小したものである。第5図の方
式は縦方向および横方向の偶数列を無条件に間引きする
もので、間引き後の状態は(b)の如くなり、これのド
ツト間隔をつめると(C)の如く縮小される。(C)の
キャラクタを見れば明らかなように横線が全く無視され
てしまい本来の“¥”と読むことは困難である。第6図
の方式は縦および横方向とも奇数列を無条件に間引きす
るもので、縮小された状態を示す(C)を見るとやはり
横線の無視されたフォントパターンとなる。第7図は縦
方向の奇数列のドツトの“1”又は“0″を決定すると
きに横方向の偶数列のドツト状態との間でOR論理をと
り、横方向の偶数列との交点が“1”であれば横方向の
奇数列例のドツトを“l”とするように表示し、同様の
作業を横方向の奇数列のドツトの“1″又は“0”を決
定するときにも行い、しかる後に縦方向の偶数列を間引
きすることにより(b)のようなフォントパターンを得
るものである。このような条件で間引きすると(b)か
らも明らかなようにキャラクタの情報堡がかえって多く
なりすぎることから、(C)に示すように判読はできる
が詰まり過ぎたフォントパターンとなってしまう。5 to 7 are diagrams for explaining the conventional dot font reduction method. In these figures, (a) is the character “
¥” is displayed as 24x24 dots, (b) is thinned out according to a certain rule, and (C) is the character in (a) reduced to 12x12 dots. The even numbered rows in the horizontal direction are unconditionally thinned out, and the state after thinning is as shown in (b), and when the dot spacing is reduced, it is reduced as shown in (C).If you look at the character in (C), As is clear, the horizontal line is completely ignored and it is difficult to read it as the original "\".The method shown in Figure 6 unconditionally thins out odd-numbered columns in both the vertical and horizontal directions, and the reduced state (C) shows a font pattern in which horizontal lines are ignored. Figure 7 shows that when determining whether a dot in an odd row in the vertical direction is "1" or "0", the even row of dots in the horizontal direction is An OR logic is performed with the state, and if the intersection with the horizontal even-numbered column is "1", the dot in the horizontal odd-numbered column is displayed as "l", and the same operation is performed in the horizontal direction. This is also done when determining whether the dots in the odd-numbered rows are "1" or "0", and then the even-numbered rows in the vertical direction are thinned out to obtain the font pattern shown in (b). If the font pattern is thinned out according to the conditions, as is clear from (b), the number of character information blocks becomes too large, resulting in a font pattern that is legible but too crowded as shown in (c).
本発明の目的はドツト表示されたキャラクタを出来るだ
け元のフォントパターンに近い形状で所定の縮小を行う
ドツトフォント縮小方式を提供することにある。SUMMARY OF THE INVENTION An object of the present invention is to provide a dot font reduction method for reducing a character displayed as a dot in a predetermined shape as close to the original font pattern as possible.
〔課題を解決するための手段および作用〕第1図は本発
明の原理構成図である。図に示すように、本発明はキャ
ラクタを複数のドツトマトリクスにより表示する画像表
示装置におけるドツトフォント縮小方式において、ドツ
トマトリクスの縦方向のドツトを隣接するドツト間の論
理和により間引きする第1の間引き手段(2)と、ドツ
トマトリクスの横方向のドツトを無条件に間引きする第
2の間引き手段(3)とを備え、ドツトフォントパター
ンメモリ (1)に格納された縮小前の元のフォントパ
ターンを前記第1の間引き手段により間引きした後、前
記第2の間引き手段により間引きし元のフォントパター
ンを縮小することを特徴とする。[Means and operations for solving the problems] FIG. 1 is a diagram showing the basic configuration of the present invention. As shown in the figure, the present invention employs a dot font reduction method in an image display device that displays characters using a plurality of dot matrices. means (2) and a second thinning means (3) for unconditionally thinning out dots in the horizontal direction of the dot matrix, the original font pattern before reduction stored in the dot font pattern memory (1) is After thinning out by the first thinning means, the second thinning means reduces the original font pattern.
第2図は本発明の縮小方式を説明する図である。 FIG. 2 is a diagram illustrating the reduction method of the present invention.
一般に活字体は縦の線を太くし横の線を細くしている。Generally, typefaces have thick vertical lines and thin horizontal lines.
この性質を縮小の際の間引に利用することによって本来
のキャラクタのフォントパターンに忠実に縮小すること
ができる。第2図において(a)は前述と同様24ドツ
トフオントのキャラクタ“¥”である。このドツトパタ
ーンの縦方向の偶数列をOR条件により間引きした後に
横方向を間引きするものである。即ち、縦方向の奇数列
のドツトのパ1”又は“0”を決定するときに横方向の
偶数列との交点が“1”であればOR論理により横方向
の奇数列のドツトを“1″にするようにする。しかる後
に横方向の偶数列を間引きすれば(b)に示す如きフォ
ントパターンを得る。By utilizing this property for thinning during reduction, it is possible to reduce the font pattern faithfully to the original character font pattern. In FIG. 2, (a) is the 24-dot font character "\" as described above. After the even numbered columns in the vertical direction of this dot pattern are thinned out using an OR condition, the dot patterns are thinned out in the horizontal direction. That is, when determining whether a dot in an odd numbered row in the vertical direction is "1" or "0", if the intersection with an even numbered row in the horizontal direction is "1", the dot in the odd numbered row in the horizontal direction is set to "1" by OR logic. ''. Then, by thinning out even-numbered columns in the horizontal direction, a font pattern as shown in (b) is obtained.
この場合照角はOR論理により黒ドツトとなったものを
説明のために示している。In this case, the glancing angle is shown as a black dot based on OR logic for the sake of explanation.
第3図は第2図の如き縮小処理を実行する装置の要部構
成図である。Mlはもとの24ドツトフオントのキャラ
クタを格納するメモリで縦方向(列方向)に1〜24、
漢方向く行方向)にm〜m+23のアドレスが与えられ
る。M2は縮小後の12ドツトフオントのキャラクタを
格納するメモリで縦方向に1〜12、横方向にn−n+
llのアドレスが与えられる。メモリM1のキャラクタ
情報“¥”はアドレス算出処理手段31に人力された後
、縮小処理手段32にて12ドツトフオントに縮小され
て再びアドレス算出処理手段31に戻されメモリM2に
格納される。FIG. 3 is a block diagram of the main parts of an apparatus that executes the reduction process as shown in FIG. 2. Ml is a memory that stores the original 24 dot font characters, 1 to 24 in the vertical direction (column direction).
Addresses m to m+23 are given in the kanji direction and row direction). M2 is a memory that stores 12 dot font characters after reduction, 1 to 12 in the vertical direction and n-n+ in the horizontal direction.
ll address is given. The character information "¥" in the memory M1 is input manually to the address calculation processing means 31, and then reduced to 12 dots by the reduction processing means 32, returned to the address calculation processing means 31, and stored in the memory M2.
ここで、アドレス算出処理手段31は以下のような動作
をする。即ち、アドレス算出処理手段はその内部に図示
しないカウンタCNTを有しており、当初は初期値=0
に設定され呼び出される度に格納アドレス(ad)と共
に“+1”インクリメントする。そして取出しアドレス
(AD)は“+2”インクリメントする。メモリM1か
らの取出しアドレスADの初期値は24ドツトフオント
バツフアの先頭アドレスmであり格納アドレスadは1
2ドツトフオントバツフアの先頭アドレスnである。前
述の処理がなされた後カウンタCNTが12になった場
合、処理が終了したことを呼び出し元に通知する。そし
て再度呼び出される場合は取出しアドレスAD、格納ア
ドレスadおよびカウンタCNTをそれぞれ初期値に戻
して復帰する。Here, the address calculation processing means 31 operates as follows. That is, the address calculation processing means has a counter CNT (not shown) therein, and initially the initial value is 0.
Each time it is set and called, it is incremented by "+1" along with the storage address (ad). Then, the fetch address (AD) is incremented by "+2". The initial value of the fetch address AD from the memory M1 is the starting address m of the 24-dot font buffer, and the storage address ad is 1.
This is the start address n of the 2-dot font buffer. If the counter CNT reaches 12 after the above-described processing is completed, the caller is notified that the processing has ended. When called again, the retrieval address AD, storage address ad, and counter CNT are returned to their initial values and returned.
縮小処理手段32における処理は第4図に示される。縮
小処理手段32には図示しないレジスタLDI〜LD4
が設けられており、これらのレジスタに順次入力および
出力することにより縮小されたフォントパターンを得る
。即ち、まず、メモリM1から奇数列のデータを取り出
しレジスタLDIに格納する(ステップ1)。次に同じ
メモリM1から偶数列のデータを取り出しレジスタLD
2に格納する(ステップ2)。この場合前者のアドレス
をADとすると後者はAD+1である。The processing in the reduction processing means 32 is shown in FIG. The reduction processing means 32 includes registers LDI to LD4 (not shown).
are provided, and a reduced font pattern is obtained by sequentially inputting and outputting to and from these registers. That is, first, odd-numbered column data is taken out from the memory M1 and stored in the register LDI (step 1). Next, take out even-numbered column data from the same memory M1 and store it in register LD.
2 (step 2). In this case, if the former address is AD, the latter is AD+1.
次にレジスタLDIおよびLD2に格納されたデータの
OR論理をとりレジスタLD3に格納する(ステップ3
)。次にレジスタLD3から有効ビットだけを取り出し
圧縮しレジスタLD4に格納する(ステップ4)。そし
てレジスタLD4を12ドツトフオントバツフアに格納
する(ステップ5)。尚、ステップ4において有効ビッ
トだけを取り出し圧縮する場合に、レジスタLD3に格
納されたデータの奇数番目だけを有効ビットとしてレジ
スタLD4に格納する場合と、偶数番目だけを有効ビッ
トとしてレジスタLD4に格納する場合とあるが、本発
明ではいずれの場合を採用しても構わない。Next, the OR logic of the data stored in registers LDI and LD2 is taken and stored in register LD3 (step 3
). Next, only valid bits are extracted from register LD3, compressed, and stored in register LD4 (step 4). Then, the register LD4 is stored in the 12-dot font buffer (step 5). In addition, when extracting and compressing only the valid bits in step 4, there are two cases in which only the odd-numbered bits of the data stored in the register LD3 are stored as valid bits in the register LD4, and there are cases in which only the even-numbered bits are stored in the register LD4 as valid bits. Either case may be adopted in the present invention.
以上説明したように、本発明によればドツトフォントの
縮小において本来のフォントパターンに極めて近いフォ
ントパターンを得ることができる。As described above, according to the present invention, it is possible to obtain a font pattern that is extremely close to the original font pattern when reducing a dot font.
第1図は本発明の原理構成図、
第2図は本発明の縮小方式を説明する図、第3図は本発
明の要部構成図、
第4図は本発明の処理フローチャート、および第5〜7
図は従来の縮小方式を説明する図である。
(符号の説明)
Ml、M2・・・メモリ、
31・・・アドレス算出処理手段、
32・・・縮小処理手段。
本発明の厚埋構成図
本発明の縮小方式を説明する図
第2回
本発明の処理フローチャート
$4日
(a) (b)従来の縮小
方式を説明する図(その1)(a)
(b)従来の縮小方式を肝門する図(そ
の2)第6図FIG. 1 is a diagram showing the principle configuration of the present invention, FIG. 2 is a diagram explaining the reduction method of the present invention, FIG. 3 is a diagram showing the configuration of main parts of the present invention, FIG. ~7
The figure is a diagram illustrating a conventional reduction method. (Explanation of symbols) Ml, M2...Memory, 31...Address calculation processing means, 32...Reduction processing means. Thick embedding configuration diagram of the present invention Diagram explaining the reduction method of the present invention Second processing flowchart of the present invention $4 days (a) (b) Diagram explaining the conventional reduction method (Part 1) (a)
(b) Diagram showing the key points of the conventional reduction method (Part 2) Figure 6
Claims (1)
る画像表示装置におけるドットフォント縮小方式におい
て、 ドットマトリクスの縦方向のドットを隣接するドット間
の論理和により間引きする第1の間引き手段(2)と、 ドットマトリクスの横方向のドットを無条件に間引きす
る第2の間引き手段(3)とを備え、ドットフォントパ
ターンメモリ(1)に格納された縮小前の元のフォント
パターンを前記第1の間引き手段により間引きした後、
前記第2の間引き手段により間引きし元のフォントパタ
ーンを縮小することを特徴とするドットフォント縮小方
式。[Claims] 1. In a dot font reduction method in an image display device that displays characters using a plurality of dot matrices, the first thinning means thins out vertical dots of the dot matrix by logical sum of adjacent dots. (2) and a second thinning means (3) for unconditionally thinning out dots in the horizontal direction of the dot matrix, the original font pattern before reduction stored in the dot font pattern memory (1) is After thinning by the first thinning means,
A dot font reduction method characterized in that the second thinning means reduces the thinned out font pattern.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63119393A JPH01290449A (en) | 1988-05-18 | 1988-05-18 | Dot font minification system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63119393A JPH01290449A (en) | 1988-05-18 | 1988-05-18 | Dot font minification system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01290449A true JPH01290449A (en) | 1989-11-22 |
Family
ID=14760389
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63119393A Pending JPH01290449A (en) | 1988-05-18 | 1988-05-18 | Dot font minification system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01290449A (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59214893A (en) * | 1983-05-20 | 1984-12-04 | 株式会社日立製作所 | Character font reduction system |
-
1988
- 1988-05-18 JP JP63119393A patent/JPH01290449A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59214893A (en) * | 1983-05-20 | 1984-12-04 | 株式会社日立製作所 | Character font reduction system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4417239A (en) | Interactive combination display | |
US4881069A (en) | Font compression method and apparatus | |
JPS6049391A (en) | Raster scan display system | |
JPS6233587B2 (en) | ||
EP0038002B1 (en) | System for displaying characters on a screen | |
US4410958A (en) | Displaying a proportionally outlined miniature page | |
JPH01290449A (en) | Dot font minification system | |
JPH04291684A (en) | Thick line plotter | |
JPS5816189B2 (en) | Character pattern generation method | |
JPS59214893A (en) | Character font reduction system | |
JPS62146641A (en) | Data processor | |
JPH01216865A (en) | Minification of pixel data | |
JPS5981686A (en) | Magnified character pattern correction system | |
JPS58129473A (en) | Memory control system | |
JPH03281363A (en) | Document output device | |
JPS62142656A (en) | Data processor | |
JPS60252945A (en) | Reduction method of character pattern | |
JPH0540470A (en) | Display controller | |
JPS61148487A (en) | Expander/reducer | |
JPH023099A (en) | Display device | |
JPS6263988A (en) | Expansion system of character font | |
JPS6261091A (en) | Display unit | |
JPS6183585A (en) | Display unit | |
JPS6011887A (en) | Character pattern reading system | |
JPS62262089A (en) | Character display system |