JPS62209482A - Character pattern expansion system - Google Patents

Character pattern expansion system

Info

Publication number
JPS62209482A
JPS62209482A JP61049978A JP4997886A JPS62209482A JP S62209482 A JPS62209482 A JP S62209482A JP 61049978 A JP61049978 A JP 61049978A JP 4997886 A JP4997886 A JP 4997886A JP S62209482 A JPS62209482 A JP S62209482A
Authority
JP
Japan
Prior art keywords
character pattern
data
enlarged
area
copied
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
JP61049978A
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP61049978A priority Critical patent/JPS62209482A/en
Publication of JPS62209482A publication Critical patent/JPS62209482A/en
Pending legal-status Critical Current

Links

Abstract

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

Description

【発明の詳細な説明】 〔概要〕 文字パターンを縦方向に任意倍数拡大する場合。[Detailed description of the invention] 〔overview〕 When expanding a character pattern vertically by an arbitrary multiple.

まず複写機能によりその文字パターンを複数個(倍数分
)横方向に並べ1次に一次変換機能によりその領域のみ
をライン走査して縦方向一次元配列に変換することによ
り拡大文字パターンを得る。
First, by using a copying function, a plurality of character patterns (in multiples) are arranged in the horizontal direction, and then only the area is line-scanned by a primary conversion function to convert it into a one-dimensional array in the vertical direction, thereby obtaining an enlarged character pattern.

〔産業上の利用分野〕[Industrial application field]

本発明は、プリンタやディスプレイ装置に出力される漢
字等の文字パターンの拡大方式に関するものである。
The present invention relates to a method for enlarging character patterns such as Chinese characters that are output to a printer or a display device.

〔従来の技術〕[Conventional technology]

計算機を用いて文書作成や図形処理を行う場合。 When creating documents or processing graphics using a computer.

表題などの文字にしばしば拡大文字が使用される。Expanded characters are often used for titles, etc.

拡大文字は、基本となる(標準の)文字パターンの縦サ
イズと横サイズのいずれか一方、あるいは両方を複数倍
に引き伸ばしたものである。
An enlarged character is one in which either the vertical size or the horizontal size, or both, of a basic (standard) character pattern are enlarged multiple times.

本発明は、このなかでも特に文字パターンの縦サイズの
みを複数倍に拡大する技術に関係している。
Among these, the present invention particularly relates to a technique for enlarging only the vertical size of a character pattern multiple times.

通常、標準となる大きさの文字パターンは、16x16
ドツトあるいは24 x 24ドツトのように各文字に
ついて一定の大きさのドツトマトリックスで表されてい
る。
Normally, the standard size character pattern is 16x16
Each character is represented by a dot matrix of a fixed size, such as a dot or 24 x 24 dots.

このようなドツトマトリックスの各横方向ドツト配列を
「行データ」と呼ぶことにすれば9文字パターンを縦方
向に拡大するための従来の方式は。
If each horizontal dot arrangement of such a dot matrix is called "row data", then the conventional method for vertically expanding a nine-character pattern is as follows.

文字パターンの各行データごとに、拡大倍数値だけ縦方
向に重複させて配列するものであった。
Each row of data in a character pattern was arranged in a vertically overlapping manner by the magnification multiple value.

第3図は、縦方向に2倍の拡大を行う場合の。FIG. 3 shows the case of double enlargement in the vertical direction.

従来方式による処理例を示したものである。図において
、31はメモリ上の原文字パターン領域。
This figure shows an example of processing using a conventional method. In the figure, 31 is an original character pattern area on memory.

32は同じくメモリ上の拡大文字パターン領域である。32 is an enlarged character pattern area on the memory as well.

また■、■、・・・は原文字パターンの行データを表す
Also, ■, ■, . . . represent line data of the original character pattern.

原文字パターン領域31の各行データ■、■。Each line of data ■, ■ in the original character pattern area 31.

・・・は、順次読み出されて、それぞれ1行ずつ重複し
て拡大文字パターン領域32に複写される。これにより
、縦方向の行数が2倍に拡大され、2倍縦長の文字パタ
ーンが作成される。
. . are sequentially read out and duplicated one line at a time and copied into the enlarged character pattern area 32. As a result, the number of lines in the vertical direction is doubled, and a character pattern that is twice as long vertically is created.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の文字パターンの拡大方式では、複数倍に拡大しよ
うとすると文字パターンの各行データを画面上で1行ご
とに複数回ずつ複写する処理操作が必要であり、このた
め手順が複雑となって操作が煩わしくなりかつ時間がか
かるという問題があった。
With conventional character pattern enlargement methods, when attempting to enlarge multiple times, it is necessary to copy each line of character pattern data multiple times on the screen, making the procedure complicated and difficult to operate. There was a problem that it was troublesome and time consuming.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、一般に画像処理で用いられる矩形領域の複写
機能および一次元変換機能を利用して。
The present invention utilizes a rectangular area copying function and a one-dimensional transformation function that are generally used in image processing.

簡単に任意複数倍の縦方向文字パターン拡大を実現する
To easily realize vertical character pattern enlargement by any number of times.

この矩形領域の一次元変換機能は、ビットマツプ画面上
の任意の矩形領域を、たとえばバイトあるいは複数バイ
ト長のデータ単位でライン状に読み出し走査し、読み出
された同じデータ単位の大きさのデータを、順次一次元
的に再配列するものである(領域の面積は変わらない)
This one-dimensional conversion function of a rectangular area reads and scans an arbitrary rectangular area on the bitmap screen in a line shape, for example, in byte or multi-byte data units, and converts data of the same read data unit size. , which is a sequential one-dimensional rearrangement (the area of the region does not change)
.

ν 本発明では、複数倍に拡大しようとする原文字パターン
を、複数個横方向に並ぶように複写し。
ν In the present invention, a plurality of original character patterns to be enlarged multiple times are copied so as to be lined up in the horizontal direction.

その全体に一次元変換機能を適用して、簡単な操作で任
意複数倍の拡大文字パターンを得ることを可能にする。
By applying a one-dimensional conversion function to the entire image, it is possible to obtain a character pattern enlarged by any number of times with a simple operation.

第1図により本発明の詳細な説明する。The present invention will be explained in detail with reference to FIG.

第1図の(a)は原文字パターンを拡大倍数に等しい複
数個だけ複写する処理段階、第1図の(b)は複写され
た複数個の原文字パターンに一次元変換機能を適用して
拡大文字パターンを作成する処理段階を示す。
(a) in Figure 1 is a processing stage in which a plurality of original character patterns are copied equal to the enlargement factor, and (b) in Figure 1 is a processing stage in which a one-dimensional conversion function is applied to a plurality of copied original character patterns. 3 shows the processing steps for creating an enlarged character pattern.

図において1は拡大しようとする所定の矩形領域の原文
字パターンデータである。そして1′、1″。
In the figure, 1 is original character pattern data of a predetermined rectangular area to be enlarged. And 1′, 1″.

rは、3倍に拡大する場合の例における3個の複写され
た原文字パターン、2は拡大文字パターンである。また
■、■′、■″、■1.■、■′。
r is three copied original character patterns in the example of three times enlargement, and 2 is an enlarged character pattern. Also ■, ■′, ■″, ■1.■, ■′.

■“、■1.・・・はそれぞれ原文字パターンの順次の
行データを表している。
■“, ■1, . . . each represent sequential line data of the original character pattern.

〔作用〕[Effect]

本発明によれば9文字パターンの縦方向拡大倍数をnと
すれば、第1図(a)に例示されるように原文字パター
ンをn個だけ隣接させて複写し2次に一次元変換機能を
起動して、n個の原文字パターン全体を一つの矩形領域
と見なし、第1図(b)のように、■′、■′、■′、
■′、■″、■〜、・・・の順に各複写された原文字パ
ターンの行データを連続的に読み出し、縦方向に一次元
配列して、拡大文字パターン2を生成する。
According to the present invention, if the vertical magnification factor of a 9-character pattern is n, the original character pattern is copied by n adjacent characters as illustrated in FIG. , the entire n original character patterns are regarded as one rectangular area, and as shown in Figure 1(b), ■', ■', ■',
The line data of each copied original character pattern is successively read out in the order of ■', ■'', ■~, . . . and arranged one-dimensionally in the vertical direction to generate an enlarged character pattern 2.

〔実施例〕〔Example〕

第2図は1本発明の1実施例装置の構成図である。 FIG. 2 is a block diagram of an apparatus according to an embodiment of the present invention.

図において、21は処理装置、22は画面メモリ、23
は文字パターンメモリ、24は画面編集処理部、25は
領域複写機能、26は一次元変換機能、27はキーボー
ド、28はディスプレイ装置、29はプリンタである。
In the figure, 21 is a processing device, 22 is a screen memory, and 23
24 is a character pattern memory, 24 is a screen editing processing section, 25 is an area copy function, 26 is a one-dimensional conversion function, 27 is a keyboard, 28 is a display device, and 29 is a printer.

画面メモリ22は、ディスプレイ装置28の表示画面に
対応するビットマツプメモリである(プリンタ29の出
力画面に対応させてもよい)。
The screen memory 22 is a bitmap memory that corresponds to the display screen of the display device 28 (or may correspond to the output screen of the printer 29).

文字パターンメモリ23は、使用可能な漢字。The character pattern memory 23 contains usable kanji.

数字、記号等の各パターンを標準的なサイズのドントマ
トリソクスにより保持している。
Each pattern of numbers, symbols, etc. is held in a standard-sized donto matrix.

画面編集処理部24は2画面メモリ22をワーキングメ
モリとして使用して図形処理を行い9文字を記入する場
合2文字パターンメモリ23から文字パターンデータを
取り出して画面メモリ22に書き込む。
The screen editing processing section 24 uses the two-screen memory 22 as a working memory to perform graphic processing, and when writing nine characters, extracts character pattern data from the two-character pattern memory 23 and writes it into the screen memory 22.

次に、キーボードから一次元変換機能26を呼び出し、
複写された複数個の原文字パターン全体の矩形領域を指
定して、一次元変換を行わせ、結果を拡大文字パターン
データとして画面メモリ22の記入位置に書き込ませる
Next, call the one-dimensional conversion function 26 from the keyboard,
A rectangular area of the entire plurality of copied original character patterns is specified, one-dimensional conversion is performed, and the result is written in the writing position of the screen memory 22 as enlarged character pattern data.

このようにして任意の希望する拡大倍数の拡大文字パタ
ーンを節単に作成し、ディスプレイ装置28に表示させ
、あるいはプリンタ29に出力させることができる。
In this way, an enlarged character pattern of any desired enlargement factor can be easily created and displayed on the display device 28 or outputted to the printer 29.

〔発明の効果〕〔Effect of the invention〕

本発明により、漢字等の縦長パターンの生成を比較的高
速に行うことが可能となる。また、パターンを高速に横
方向に拡大する適当な手段を併せて用いれば、任意のパ
ターンデータを高速に縦横n倍に拡大することができる
ようになる。
According to the present invention, it is possible to generate vertically long patterns such as Chinese characters at relatively high speed. Further, if an appropriate means for enlarging a pattern horizontally at high speed is also used, arbitrary pattern data can be enlarged n times vertically and horizontally at high speed.

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

第1図は本発明の原理説明図、第2図は本発明の1実施
例の構成図、第3図は従来の文字パターン拡大方式の説
明図である。 第1図中。 1:原文字パターン 1′、1″、1″:複写された原文字パターン2:拡大
文字パターン
FIG. 1 is an explanatory diagram of the principle of the present invention, FIG. 2 is a block diagram of one embodiment of the present invention, and FIG. 3 is an explanatory diagram of a conventional character pattern enlarging method. In Figure 1. 1: Original character pattern 1', 1'', 1'': Copied original character pattern 2: Enlarged character pattern

Claims (1)

【特許請求の範囲】 画面上の任意の矩形領域のデータを他の任意の領域に複
写する複写機能と、画面メモリ上の任意の矩形領域のデ
ータを所定長の行データを単位としてライン走査形式で
読み出し、その読み出した行データの列を縦方向の一次
元配列に変換して同じ画面メモリ上の他の任意の領域に
書き込む一次元変換機能とを有する処理装置において、
文字パターンの縦方向を拡大する際に、 画面メモリ上にある拡大しようとする原文字パターン(
1)を上記複写機能により、拡大倍数値だけ複数回横方
向に連続させて複写し、複写された複数個の原文字パタ
ーン(1′、1″、1′″)の全領域に対して、次に上
記一次変換機能を適用することにより、拡大文字パター
ンを生成することを特徴とする文字パターン拡大方式。
[Claims] A copying function that copies data in an arbitrary rectangular area on the screen to another arbitrary area, and a line scanning format for copying data in an arbitrary rectangular area on the screen memory in units of line data of a predetermined length. In a processing device that has a one-dimensional conversion function that reads out the read data in the row data, converts the read column of row data into a vertical one-dimensional array, and writes it to another arbitrary area on the same screen memory,
When enlarging a character pattern vertically, the original character pattern to be enlarged (
1) is successively copied in the horizontal direction multiple times by the enlargement multiple value using the above copying function, and for the entire area of the multiple copied original character patterns (1', 1'', 1'''), A character pattern enlarging method characterized in that an enlarged character pattern is then generated by applying the above-mentioned primary conversion function.
JP61049978A 1986-03-07 1986-03-07 Character pattern expansion system Pending JPS62209482A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61049978A JPS62209482A (en) 1986-03-07 1986-03-07 Character pattern expansion system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61049978A JPS62209482A (en) 1986-03-07 1986-03-07 Character pattern expansion system

Publications (1)

Publication Number Publication Date
JPS62209482A true JPS62209482A (en) 1987-09-14

Family

ID=12846104

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61049978A Pending JPS62209482A (en) 1986-03-07 1986-03-07 Character pattern expansion system

Country Status (1)

Country Link
JP (1) JPS62209482A (en)

Similar Documents

Publication Publication Date Title
US4893258A (en) Data processing apparatus having enlargement/reduction functions capable of setting different magnification in different directions
JPH0331272B2 (en)
KR940022322A (en) Display method and device
JPS62209482A (en) Character pattern expansion system
JPH046554B2 (en)
JPH05181454A (en) Display system and its control circuit, and display device
JPH0752442B2 (en) Document editing device
JPH0366157B2 (en)
JPS62146641A (en) Data processor
JPS5890692A (en) Display controller for character information processor
JPS59126591A (en) Character output control system
JPS61177068A (en) Sentence processor capable of printing contractedly
JP2721154B2 (en) Image processing device
JPH023099A (en) Display device
JPH03281363A (en) Document output device
JPS63184786A (en) Information processor
JPS62219180A (en) Pattern generating device
JPH0560598B2 (en)
JPS61173951A (en) Printing control apparatus
JPH0583381B2 (en)
JPH0237391A (en) Image interpolating system
JPS58154885A (en) Character pattern generator
JPH08212204A (en) Document processor
JPH0586758B2 (en)
JPH0546151A (en) Method for scaling character pattern and control file used for the same