JPS63242561A - Font reducing system - Google Patents

Font reducing system

Info

Publication number
JPS63242561A
JPS63242561A JP62077289A JP7728987A JPS63242561A JP S63242561 A JPS63242561 A JP S63242561A JP 62077289 A JP62077289 A JP 62077289A JP 7728987 A JP7728987 A JP 7728987A JP S63242561 A JPS63242561 A JP S63242561A
Authority
JP
Japan
Prior art keywords
font
reduction
reducing
dot matrix
code data
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
JP62077289A
Other languages
Japanese (ja)
Inventor
Juichi Maesumi
寿一 前角
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP62077289A priority Critical patent/JPS63242561A/en
Publication of JPS63242561A publication Critical patent/JPS63242561A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers

Abstract

PURPOSE:To obtain an optimum reduction font for every font independently of an untranslated font, by a method wherein, with directions for a reducing translation of a specific dot matrix pattern, a reducing translation system optimum for this dot matrix pattern is determined, and according to the determined reducing translation system, a reducing translation processing for every font is executed. CONSTITUTION:Code data to be printed is received from a host system to be stored in a data buffer 3. With directions as to reduction printing, a CPU 1 reads the code data from the data buffer 3 and retrieves a reducing system selecting table 5 for the purpose of judging a reducing system corresponding to the read code data, thereafter sending the read data to a reducing circuit 8. Then, a reducing system is selected for every font represented by all the code data to be printed, and dot matrix patterns obtained from a font memory 4 are successively reduced to be developed in a page memory 8. After that, the information in the page memory 8 is printed by a printer 7.

Description

【発明の詳細な説明】 [発明の目的コ (産業上の利用分野) 本発明は、例えば印字装置において漢字等の標準フォン
トの縮小フォントを得るために用いられるフォント縮小
システムに関する。
DETAILED DESCRIPTION OF THE INVENTION [Objective of the Invention (Field of Industrial Application)] The present invention relates to a font reduction system used for obtaining reduced fonts of standard fonts such as Chinese characters in printing devices, for example.

(従来の技術〉 従来から、例えば印字装置において漢字等のフォントを
1/2に縮小する方式として、第3図に示したような間
引き処理と呼ばれる方式が知られている。
(Prior Art) Conventionally, a method called thinning processing as shown in FIG. 3 has been known as a method for reducing fonts such as Chinese characters to 1/2 in a printing device.

この方式は例えば8×8のマトリクスで表わされたフォ
ントMのドツトマトリクスパターンを2×2の小マトリ
クスInに区分し、この小マトリクスm内の所定のドツ
ト(以下マスクトッドと称する)が黒ドツトである場合
には1つの黒ドツトを対応させ、マスクトッドが自ドツ
トである場合には1つの自ドツトを対応させて4×4の
マトリクスのフォントNを得るという方式である。
In this method, for example, the dot matrix pattern of font M represented by an 8 x 8 matrix is divided into 2 x 2 small matrices In, and a predetermined dot in this small matrix m (hereinafter referred to as mask tod) is black. If the mask tod is a dot, one black dot is made to correspond, and if the mask tod is a dot, one dot is made to correspond to it to obtain a 4×4 matrix font N.

また第4図に示したようなOR処理と呼ばれる方式も知
られている。
A method called OR processing as shown in FIG. 4 is also known.

この方式は例えば8×8のマトリクスで表わされたフォ
ントMのドツトマトリクスパターンを2×2の小マトリ
クスmに区分し、この小マトリクスm内のいずれか1つ
が黒ドツトである場合には1つの黒ドツトを対応させ、
小マトリクスm内のすべてのドツトが自ドツトである場
合に限り1つの自ドツトを対応させて4×4のマトリク
スのフォントNを得るという方式である。
In this method, for example, a dot matrix pattern of a font M represented by an 8 x 8 matrix is divided into 2 x 2 small matrices m, and if any one of the small matrices m is a black dot, 1 Match the two black dots,
This is a method in which only when all the dots in the small matrix m are local dots, one local dot is associated with each other to obtain a 4×4 matrix font N.

印字装置等ではこれら間引き方式、OR方式のいずれか
一方を採用し、標準フォントの縮小変換を行なっている
Printing devices and the like employ either the thinning method or the OR method to perform reduction conversion of standard fonts.

ところで前記間引き方式は、パターンが「密」(ドツト
が多い)なフォントの縮小変換には適しているが、パタ
ーンが「疎」 (ドツトが少ない)なフォントの縮小変
換には適していない。
By the way, the thinning method described above is suitable for reducing the size of fonts with "dense" patterns (many dots), but is not suitable for reducing the size of fonts with "sparse" patterns (fewer dots).

逆に前記OR方式は、パターンが「疎」なフォントの縮
小変換に適しているが、パターンが「密」なフォントの
縮小変換には適していない。
Conversely, the OR method is suitable for reduction conversion of fonts with "sparse" patterns, but is not suitable for reduction conversion of fonts with "dense" patterns.

第5図はこのことを説明する図である。FIG. 5 is a diagram explaining this.

同図においてPlは比較的「密」なフォントのパターン
、P2はこのパターンP1を間引き方式により縮小変換
して得たパターン、P3はパターンP1をOR方式によ
り縮小変換して得たパターンである。
In the figure, Pl is a relatively "dense" font pattern, P2 is a pattern obtained by reducing the pattern P1 using the thinning method, and P3 is a pattern obtained by reducing the pattern P1 using the OR method.

一方、同図においてP4は比較的「疎」なフォントのパ
ターン、P5はこのパターンP1を間引き方式により縮
小変換して得たパターン、P6はパターンP4をOR方
式により縮小変換して得たパターンである。
On the other hand, in the figure, P4 is a relatively "sparse" font pattern, P5 is a pattern obtained by reducing pattern P1 using the thinning method, and P6 is a pattern obtained by reducing pattern P4 using the OR method. be.

この図かられかるように、パターンP2とパターンP6
とは、変換前のパターンがある程度判別できるが、パタ
ーンP3は潰れてしまって判別できず、またパターンP
5は自ドツトだけになってしまってやはり判別できない
As you can see from this figure, pattern P2 and pattern P6
means that the pattern before conversion can be distinguished to some extent, but pattern P3 is distorted and cannot be distinguished, and pattern P
5 has only its own dot and cannot be distinguished.

(発明が解決しようとする問題点) このように間引き方式、OR方式はいずれもフォントご
とに適不適があるが、従来の装置ではいずれか一方の処
理方式のみを採用しているため、フォントによっては、
縮小されたフォントが著しく変形し、R悪の場合には読
取すらできなくなる場合があるという問題があった。
(Problem to be solved by the invention) As described above, both the thinning method and the OR method have their suitability and unsuitability depending on the font, but since conventional devices only adopt one of the processing methods, it depends on the font. teeth,
There has been a problem in that the reduced font is significantly deformed, and in the case of R is bad, it may become unreadable.

本発明は上述したような事情によりなされたもので、変
換前のフォントに関わらず、縮小されたフォントが自然
であり、読取りが容易であるフォント縮小システムの提
供を目的としている。
The present invention was made in view of the above-mentioned circumstances, and it is an object of the present invention to provide a font reduction system in which the reduced font is natural and easy to read, regardless of the font before conversion.

[発明の構成] (問題点を解決するための手段) 本発明のフォント縮小システムは、ドツトマトリクスパ
ターンが複数格納されている標準フォント格納手段と、
ドツト7トリクスパターン類に応じて複数の異なる縮小
変換方式のいずれが適しているかを示す情報が格納され
ている縮小情報格納手段と、特定のドツトマトリクスパ
ターンの縮小変換が指示されたとき、前記縮小情報格納
手段を参照して、このドラI・マトリクスパターンに肢
適な縮小変換方式を決定し、決定された縮小変換方式に
従って各フォントの縮小変換処理を実行する縮小変換手
段とを備えたものである。
[Structure of the Invention] (Means for Solving the Problems) The font reduction system of the present invention includes a standard font storage means in which a plurality of dot matrix patterns are stored;
a reduction information storage means storing information indicating which of a plurality of different reduction conversion methods is suitable according to dot 7 matrix patterns; and a reduction conversion means for determining an appropriate reduction conversion method for this driver I/matrix pattern by referring to the information storage means, and executing reduction conversion processing for each font according to the determined reduction conversion method. be.

(作 用) 本発明のフォント縮小システムでは、縮小変換手段が変
換情報格納手段の情報に従って各フォントごとに異なる
縮小変換処理を行なうので、各フォントごとに最適な縮
小フォントが得られる。
(Function) In the font reduction system of the present invention, the reduction conversion means performs different reduction conversion processing for each font according to the information in the conversion information storage means, so that an optimal reduced font can be obtained for each font.

(実施例) 以下、本発明の実施例の詳細を図面に基づいて説明する
(Example) Hereinafter, details of an example of the present invention will be described based on the drawings.

第1図は本発明をページプリンタに適用した場合の一実
施例の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment in which the present invention is applied to a page printer.

同図において1はシステム全体を制御するcPU、2は
CPUIの制御プログラムを記憶しているROM、3は
上位システムからのコードデータが格納されるデータバ
ッファ、4はコードデータに対応するフォントのドツト
マトリクスパターンが格納されるフォントメモリ、5は
各コードデータに対応させて縮小時に間引き方式、OR
方式のいずれの縮小方式を採用するがを指定するデータ
が格納されている縮小方式選択テーブル、6は印刷イメ
ージが格納されるべ°ージメモリ、7はページメモリ6
の内容を用紙上に印刷するプリンタ、そして8は間引き
方式、OR方式のいずれかにより縮小変換を行なう縮小
回路である。
In the figure, 1 is a cPU that controls the entire system, 2 is a ROM that stores the CPU control program, 3 is a data buffer that stores code data from the upper system, and 4 is a font dot that corresponds to the code data. Font memory in which the matrix pattern is stored, 5 is a thinning method when reducing in correspondence with each code data, OR
A reduction method selection table stores data specifying which reduction method to use, 6 is a base memory in which print images are stored, and 7 is a page memory 6.
8 is a printer that prints the contents on paper, and 8 is a reduction circuit that performs reduction conversion using either a thinning method or an OR method.

本実施例では、まず上位システムから印字するコードデ
ータを受は取り、データバッファ3に格納する。
In this embodiment, first, code data to be printed is received from the host system and stored in the data buffer 3.

そしてデータバッファ3のコードデータを解析し、等倍
印字の指定があれば、フォントメモリ4からそのコード
データに対応するドツトマトリクスパターンを読出して
そのままページメモリ6に展開する。
Then, the code data in the data buffer 3 is analyzed, and if the same size printing is specified, the dot matrix pattern corresponding to the code data is read out from the font memory 4 and expanded into the page memory 6 as it is.

一方、縮小印字の指定があれば、第2図のフローチャー
トに示したような処理を実行する。
On the other hand, if reduced printing is specified, processing as shown in the flowchart of FIG. 2 is executed.

まずCPU1がデータバッファ3からコードデータを読
み出す(ステップA)。
First, the CPU 1 reads code data from the data buffer 3 (step A).

次にCPUIは読み出されたコードデータに対応する縮
小方式を判断すべく縮小方式選択テーブル5を検索し、
読み出されたデータを縮小口FR18に送出する(ステ
ップB)、このとき縮小方式選択テーブル5における縮
小方式を示すデータは各コードデータと1対1で対応し
ており(例えばコードデータをアドレスとした番地に記
憶される)、「0」または「1」で示されている。
Next, the CPU searches the reduction method selection table 5 to determine the reduction method corresponding to the read code data.
The read data is sent to the reduction port FR 18 (step B). At this time, the data indicating the reduction method in the reduction method selection table 5 corresponds one-to-one with each code data (for example, the code data is connected to the address). (stored at the address), indicated by ``0'' or ``1''.

縮小方式選択テーブル5を検索した結果(ステップC)
、例えば縮小方式を示すデータが「0」ならば縮小回路
8において間引き方式による縮小変換が選択され(ステ
ップD)、縮小方式を示すデータが「1」ならばOR方
式による縮小変換が選択される(ステップE)。
Results of searching reduction method selection table 5 (step C)
For example, if the data indicating the reduction method is "0", reduction conversion using the thinning method is selected in the reduction circuit 8 (step D), and if the data indicating the reduction method is "1", reduction conversion using the OR method is selected. (Step E).

そして印字すべき全てのコードデータが示すフォントご
とにいずれかの縮小方式を選択しくステップF)、フォ
ントメモリ4から得られるドツトマトリクスパターンを
順次縮小変換してページメモリ6に展開する。
Then, in step F), one of the reduction methods is selected for each font indicated by all the code data to be printed, and the dot matrix pattern obtained from the font memory 4 is sequentially reduced and converted into the page memory 6.

以上の後、ページメモリ6の内容をプリンタフにより印
字する。
After the above, the contents of the page memory 6 are printed by a printer.

本実施例では各フォントの縮小変換に間引き方式、OR
方式のいずれが適しているかを予め調査して、その結果
としてのデータを縮小方式選択テーブル5に格納してお
く0例えば縮小方式選択データはフォントのグループご
とに指定されていてもよい。そしてフォントごとに間引
き方式、OR方式を切替えて縮小変換を行なうので、各
フォントに最も適した縮小フォントを得ることができる
In this embodiment, the reduction conversion of each font is performed using a thinning method and an OR method.
For example, the reduction method selection data may be specified for each font group by investigating in advance which of the methods is suitable and storing the resulting data in the reduction method selection table 5. Since the reduction conversion is performed by switching between the thinning method and the OR method for each font, it is possible to obtain the most suitable reduced font for each font.

また本実施例では縮小変換を間引き方式で行なうか、O
R方式で行なうかを上位システムが意識している必要が
無いため、上位システムには余計な負担がかからない。
In addition, in this embodiment, whether reduction conversion is performed by thinning method or O
Since there is no need for the higher-level system to be aware of whether the R method is to be used, no unnecessary burden is placed on the higher-level system.

なお本実施例では間引き方式とOR方式の2種類の縮小
変換方式を選択するようにしているが、縮小変換方式を
3種類具−り用意して、いずれかを選択的に使用するよ
うにしてもよい。
In this embodiment, two types of reduction conversion methods, the thinning method and the OR method, are selected, but three types of reduction conversion methods are prepared, and one of them can be used selectively. Good too.

そして本実施例では本発明をページプリンタに適用した
場合について説明したが、本発明はシリアルプリンタお
よびラインプリンタに対しても同様に適用することがで
きる。
In this embodiment, the case where the present invention is applied to a page printer has been described, but the present invention can be similarly applied to a serial printer and a line printer.

さらに本発明はプリンタに限らず、ドツトイメージのフ
ォントを使用する表示装置や文章作成装置等に幅広く適
用することができる。
Further, the present invention is not limited to printers, but can be widely applied to display devices, text creation devices, etc. that use dot image fonts.

[発明の効果] 以上説明したように本発明のフォント縮小システムでは
、各フォントごとに異なる縮小変換処理を選択するので
、変換前のフォントに関わらず、縮小されたフォントが
自然であり、読取りが極めて容易である。
[Effects of the Invention] As explained above, in the font reduction system of the present invention, a different reduction conversion process is selected for each font, so the reduced font is natural and easy to read, regardless of the font before conversion. It's extremely easy.

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

第1図は本発明の一実施例の構成を示すブロック図、第
2図は同実施例装置の動作を示す流れ図、第3図は間引
き方式による縮小変換の状態を示す図、第4図はOR方
式による縮小変換の状態を示す図、第5図は間引き方式
とOR方式との長所および短所を比較して示す図である
。 1・・・・・・・・・CPU 2・・・・・・・・・ROM 3・・・・・・・・・データバッファ 4・・・・・・・・・フォントメモリ 5・・・・・・・・・縮小方式選択テーブル6・・・・
・・・・・ページメモリ 7・・・・・・・・・プリンタ 8・・・・・・・・・縮小回路
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, FIG. 2 is a flowchart showing the operation of the device of the embodiment, FIG. 3 is a diagram showing the state of reduction conversion by the thinning method, and FIG. FIG. 5 is a diagram showing the state of reduction conversion by the OR method, and is a diagram comparing the advantages and disadvantages of the thinning method and the OR method. 1...CPU 2...ROM 3...Data buffer 4...Font memory 5... ...Reduction method selection table 6...
...Page memory 7 ...Printer 8 ...Reduction circuit

Claims (2)

【特許請求の範囲】[Claims] (1)ドットマトリクスパターンが複数格納されている
標準フォント格納手段と、ドットマトリクスパターンの
種類に応じて複数の異なる縮小変換方式のいずれが適し
ているかを示す情報が格納されている縮小情報格納手段
と、特定のドットマトリクスパターンの縮小変換が指示
されたとき、前記縮小情報格納手段を参照して、このド
ットマトリクスパターンに最適な縮小変換方式を決定し
、決定された縮小変換方式に従つて各フォントの縮小変
換処理を実行する縮小変換手段とを備えてなることを特
徴とするフォント縮小システム。
(1) A standard font storage means that stores a plurality of dot matrix patterns, and a reduction information storage means that stores information indicating which of a plurality of different reduction conversion methods is suitable depending on the type of dot matrix pattern. When a reduction conversion of a specific dot matrix pattern is instructed, the reduction conversion method most suitable for this dot matrix pattern is determined by referring to the reduction information storage means, and each reduction conversion method is performed according to the determined reduction conversion method. A font reduction system comprising: reduction conversion means for performing font reduction conversion processing.
(2)前記異なる縮小変換方式が、間引き方式とOR方
式とからなる特許請求の範囲第1項記載のフォント縮小
システム。
(2) The font reduction system according to claim 1, wherein the different reduction conversion methods include a thinning method and an OR method.
JP62077289A 1987-03-30 1987-03-30 Font reducing system Pending JPS63242561A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62077289A JPS63242561A (en) 1987-03-30 1987-03-30 Font reducing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62077289A JPS63242561A (en) 1987-03-30 1987-03-30 Font reducing system

Publications (1)

Publication Number Publication Date
JPS63242561A true JPS63242561A (en) 1988-10-07

Family

ID=13629716

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62077289A Pending JPS63242561A (en) 1987-03-30 1987-03-30 Font reducing system

Country Status (1)

Country Link
JP (1) JPS63242561A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017083616A (en) * 2015-10-27 2017-05-18 京セラドキュメントソリューションズ株式会社 Electronic device and font image output program
JP2017083617A (en) * 2015-10-27 2017-05-18 京セラドキュメントソリューションズ株式会社 Electronic device and font image output program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017083616A (en) * 2015-10-27 2017-05-18 京セラドキュメントソリューションズ株式会社 Electronic device and font image output program
JP2017083617A (en) * 2015-10-27 2017-05-18 京セラドキュメントソリューションズ株式会社 Electronic device and font image output program

Similar Documents

Publication Publication Date Title
JPS63242561A (en) Font reducing system
JPH04264915A (en) Form overlay printing system
JPS6321158A (en) Printer output device
JP2713707B2 (en) Character output device
JP2744025B2 (en) Printing control device
JP3636891B2 (en) Color image output method
JPH0911552A (en) Page printer
JPH0216068A (en) Image forming device
JP2592919B2 (en) Character processor
JP2715475B2 (en) Graphic output device
JPS6189861A (en) Printing controller
JP2950420B2 (en) Output control device and output control method
JPS60109888A (en) Character processor
JP2935495B2 (en) Output control method and device
JP2966847B2 (en) Character processor
JPH02301460A (en) Document printer
JP3143118B2 (en) Printer and print image pattern development method
JPH01229666A (en) Printer
JPH0499657A (en) Image supplying device
JPH01113247A (en) Printing device
JPS63286359A (en) Pattern generation system
JPH0532021A (en) Printing device
JPH04328628A (en) Font data take-out system
JPH03127095A (en) Character generating device
JPS6359575A (en) Test printing system