JPH06100906B2 - Character processing method - Google Patents

Character processing method

Info

Publication number
JPH06100906B2
JPH06100906B2 JP62043503A JP4350387A JPH06100906B2 JP H06100906 B2 JPH06100906 B2 JP H06100906B2 JP 62043503 A JP62043503 A JP 62043503A JP 4350387 A JP4350387 A JP 4350387A JP H06100906 B2 JPH06100906 B2 JP H06100906B2
Authority
JP
Japan
Prior art keywords
coordinate point
information
point information
outer shape
character
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.)
Expired - Fee Related
Application number
JP62043503A
Other languages
Japanese (ja)
Other versions
JPS63208898A (en
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP62043503A priority Critical patent/JPH06100906B2/en
Publication of JPS63208898A publication Critical patent/JPS63208898A/en
Priority to US08/281,665 priority patent/US5398311A/en
Publication of JPH06100906B2 publication Critical patent/JPH06100906B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Digital Computer Display Output (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

【発明の詳細な説明】 [技術分野] 本発明は、変倍処理した後においても、等しい線幅の関
係を保つことができる文字処理方法に関する。
Description: TECHNICAL FIELD The present invention relates to a character processing method capable of maintaining a relationship of equal line widths even after scaling processing.

[従来の技術] 文字データを内部のROM(Read Only Memory)又は外部
記憶装置に持ち文字を出力する文字処理装置において
は、見出し効果や強調効果など多彩な文字サイズを小容
量のデータサイズでかつ比較的高品位に中サイズから大
サイズまでを表示装置やプリンター等に出力可能とする
ものとして、 基準となる文字データを輪郭上の座標点配列としても
ち、その座標点を指定出力サイズに応じて拡大又は縮小
演算した後ドット情報に交換し、出力する文字処理装置
が実用化されている。
[Prior Art] In a character processing device which has character data in an internal ROM (Read Only Memory) or an external storage device and outputs characters, various character sizes such as a heading effect and an emphasis effect can be stored in a small capacity data size. To output medium to large size with relatively high quality to a display device, printer, etc., the reference character data has an array of coordinate points on the contour, and the coordinate points are set according to the specified output size. 2. Description of the Related Art A character processing device has been put into practical use, which performs enlargement or reduction calculation and then exchanges dot information for output.

[発明が解決しようとしている問題点] しかしながら上記従来例では基準となる文字データを輪
郭上の座標点の絶対的な座標値として持ち、その座標値
に指定出力サイズに応じた拡大又は縮小率をただ単に乗
算して最終座標を求めていた為、最終的な出力サイズに
おける格子点に反映させるときに生ずる量子化誤差によ
り、第4図(a)の如く本来均一となるべき水平線又は
垂直線太さにばらつきが生じ、特に小サイズ文字に変換
した場合、見た目の品質低下が著しいという問題点があ
った。
[Problems to be Solved by the Invention] However, in the above-mentioned conventional example, the reference character data is used as the absolute coordinate value of the coordinate point on the contour, and the enlargement or reduction ratio according to the designated output size is added to the coordinate value. Since the final coordinates are simply obtained by multiplication, the horizontal or vertical line thickness which should be originally uniform as shown in FIG. 4 (a) is caused by the quantization error that occurs when the final coordinates are reflected on the grid points in the final output size. There is a problem in that the quality of the appearance is significantly deteriorated especially when converted to small size characters.

[目的] 以上の点に鑑み、本発明の目的は、文字の縮小、拡大サ
イズによる線幅補正値の最適値を予め設定することな
く、参照情報により特定される座標点情報に対応する拡
大縮小演算された座標点情報に、参照情報により特定さ
れる座標点情報に基づく基準となる外形からの相対距離
情報に対応する拡大縮小演算された相対距離情報を加算
することにより基準となる外形に付随する外形を表す為
の座標点情報に対応する出力すべき文字の座標点情報を
導出し、導出された座標点情報に基づき、ドット情報に
変換して出力することにより、変倍処理した後において
も、等しい線幅の関係を保つことができる文字処理方法
を提供することにある。
[Object] In view of the above points, an object of the present invention is to reduce or enlarge a character corresponding to coordinate point information specified by reference information without presetting an optimum value of a line width correction value based on an enlargement size. Attached to the reference outline by adding the calculated relative distance information corresponding to the relative distance information from the reference outline based on the coordinate point information specified by the reference information to the calculated coordinate point information. The coordinate point information of the character to be output corresponding to the coordinate point information for expressing the outer shape is derived, and based on the derived coordinate point information, it is converted into dot information and output, so that after scaling processing Another object of the present invention is to provide a character processing method capable of maintaining the relationship of equal line widths.

[実施例] 以下、図面を用いて本発明の実施例を詳細に説明する。Embodiments Embodiments of the present invention will be described in detail below with reference to the drawings.

第1図は本発明を適用した文字処理装置のブロック図で
ある。なお、本装置は、単体の機器であってもまたシス
テムとして構成されていても、本発明が適用できること
は言うまでもない。
FIG. 1 is a block diagram of a character processing device to which the present invention is applied. It is needless to say that the present invention can be applied to this device whether it is a single device or configured as a system.

1は本装置の制御部であり、マイクロ・コンピュータ
(2)、RAM(Random Access Memory),ROM(Read Only
Memory)等で構成される内部メモリ(3)、ハード・
デイスク、フロツピー・デイスク、あるいはカートリッ
ジ・デイスク(4,5,6)等で構成される外部メモリを備
えている。
Reference numeral 1 denotes a control unit of this apparatus, which includes a microcomputer (2), RAM (Random Access Memory), ROM (Read Only).
Internal memory (3) composed of memory, etc., hardware
It has an external memory consisting of a disk, a floppy disk, or a cartridge disk (4,5,6).

なお、基準となる文字データを記憶する外部記憶装置5
が、本発明の記憶手段に対応する。
The external storage device 5 that stores the reference character data
Corresponds to the storage means of the present invention.

7は画像入力部で原稿台に載置された画像をCCD等の撮
像素子によって電気信号化する原稿リーダである。
An image reader 7 is an image input unit for converting an image placed on a document table into an electric signal by an image pickup device such as a CCD.

8は画像出力部で、レーザービームプリンタ等の電気信
号化された情報に基づき記録材上に像記録する高速プリ
ンタ(H10)である。
An image output unit 8 is a high-speed printer (H10) that records an image on a recording material based on information converted into an electric signal, such as a laser beam printer.

9は本装置の制御情報等を表示するCRT装置であって、
本願発明の画像処理表示部である。
9 is a CRT device for displaying control information of this device,
It is an image processing display unit of the present invention.

10は制御部1に設けられたキーボードであって、このキ
ーボード10を操作することにより装置の動作指令等を行
う。又11はCRT38上で画像情報を加工指示するためのポ
インテイング・デバイスで、CRT9上のカーソルをX,Y方
向任意に移動してコマンドメニユー上のコマンドイメー
ジを選択してその指示をする。12はVRAMで表示部9に表
示すべきデータをビツトマツプ上に展開している。例え
ば文字データであれば、そのコードに対応した文字画像
情報がVRAM12上に展開される。
Reference numeral 10 denotes a keyboard provided in the control unit 1, and operating the keyboard 10 gives an operation command of the apparatus. Reference numeral 11 is a pointing device for instructing the image information to be processed on the CRT 38, and the cursor on the CRT 9 is arbitrarily moved in the X and Y directions to select a command image on the command menu and give the instruction. Reference numeral 12 is a VRAM which develops data to be displayed on the display unit 9 on a bit map. For example, in the case of character data, character image information corresponding to the code is expanded on the VRAM 12.

3はプログラム・メモリ(PMEM)で、編集処理のための
プログラムや後述する第3図のフローチャートに係る処
理プログラムを適宜ハード・デイスク4から選択し実行
する。
A program memory (PMEM) 3 appropriately selects and executes a program for editing processing and a processing program according to a flowchart of FIG. 3 described later from the hard disk 4.

なお、本装置により入力、演算処理を施したデータはイ
メージメモリIMEM(13)上に展開することができ、前述
出力部8より出力することが、本発明の第4工程に対応
する。
The data input and arithmetically processed by this apparatus can be expanded on the image memory IMEM (13) and output from the output unit 8 corresponds to the fourth step of the present invention.

14はBMU(ビット・マニピュレーション・ユニット)
で、VRAM(12),PMEM(3),IMEM(13)相互間のデータ
転送をCPUを介さずに行うDMA転送が可能で、転送に際し
ビツト単位の論理演算、展開図形の回転、変倍等の機能
を有している。
14 is BMU (bit manipulation unit)
It is possible to do DMA transfer between VRAM (12), PMEM (3), and IMEM (13) without going through the CPU. At the time of transfer, bit-by-bit logical operation, expanded figure rotation, scaling, etc. It has the function of.

第2図は第1図の外部記憶装置5に格納されている基準
となる文字データの内容を示す図である。第2図(a)
は複数の基本文字データから、KBD10、マウス11で指定
されたコードに従って必要なデータを読み込む為、実際
のデータ格納領域先頭からのオフセツト及びデータ長を
記録するインデツクス部a1及び実際のデータ部a2より構
成される文字データ構成を示す図である。第2図(b)
は前述a2における指定されたコードに基づいて読み出さ
れた文字データの内容を示す図であり、ヘツダ部b1及び
座標値データ部b2より構成される。ここでb1,b2の内容
の説明を第2図(c)における簡単な文字図形を記憶す
る場合について行なう。
FIG. 2 is a diagram showing the contents of reference character data stored in the external storage device 5 of FIG. Fig. 2 (a)
Reads the necessary data from multiple basic character data according to the code specified by KBD10 and mouse 11, so the offset part and the data length from the beginning of the actual data storage area are recorded from the index part a1 and the actual data part a2. It is a figure which shows the comprised character data structure. Fig. 2 (b)
FIG. 4 is a diagram showing the contents of character data read based on the code specified in a2, which is composed of a header part b1 and a coordinate value data part b2. Here, the contents of b1 and b2 will be described for the case of storing a simple character graphic in FIG. 2 (c).

第2図(c)における文字パターン「日」を座標原点
0、x/y座標系における輪郭上の点列0,1,2・・・・10,1
1として表わす。
The character pattern “day” in FIG. 2 (c) is coordinate origin 0, and the point sequence on the contour in the x / y coordinate system is 0,1,2 ...
Expressed as 1.

このときb1における座標点数PN=12、輪郭総数CN=3,輪
郭開始点テーブルST[0]=0,ST[1]=4,ST[2]=
8である。なお本テーブルのサイズは前述CNにより規定
されている。b2は前述(c)に示すパターンの輪郭上の
点列0,1,2,・・・10,11の座標値を示すデータ配列であ
る。
At this time, the number of coordinate points in b1 is PN = 12, the total number of contours is CN = 3, the contour start point table ST [0] = 0, ST [1] = 4, ST [2] =
8 The size of this table is specified by the CN. b2 is a data array showing the coordinate values of the point sequences 0, 1, 2, ..., 10 and 11 on the contour of the pattern shown in (c) above.

第2図(c)に示すパターンにおいては水平線3本、垂
直線2本あり、その線幅の絶対値を各々H及びVとする
と例えば水平線4−5は、基準となる別の水平線0−1
からのY方向差分H、垂直線9−10は基準となる別の垂
直線1−2からのX方向差分−vをもつことになる。こ
こで規準となる線と、それに付随する線はそのパターン
の外形を代表するか否かで決定する。
In the pattern shown in FIG. 2C, there are three horizontal lines and two vertical lines. If the absolute values of the line widths are H and V, for example, the horizontal line 4-5 is another horizontal line 0-1 serving as a reference.
From the vertical line 9-10 in the Y direction from the other vertical line 1-2 serving as a reference. Here, the standard line and the line accompanying it are determined by whether or not they represent the outer shape of the pattern.

第2図(d)は(b)b2における配列の1つをx座標に
ついて説明するための図である。このデータは16ビツト
幅を持ち、最上位ビツトSxはその点のx座標値が基準と
なる外形を表わす場合0、付随的な外形を表わす場合1
が記録されている。Sx=0の場合その他のビツトCxは
(c)における座標原点からの距離を記録する。Sx=1
の場合(c)におけるRx7ビツトでその点が参照する基
準座標を記録する配列の位置を示す値を表わし、Fx8ビ
ツトで前述参照した基準座標からの相対距離を表わして
いる。本実施例の場合−16384≦Cx16383、0≦Rx≦12
7、−128≦Fx127である。
FIG. 2 (d) is a diagram for explaining one of the arrays in (b) b 2 with respect to the x coordinate. This data has a width of 16 bits, and the highest bit Sx is 0 if the x-coordinate value of the point is the reference outline and 1 if it is an auxiliary outline.
Is recorded. When Sx = 0, the other bits Cx record the distance from the coordinate origin in (c). Sx = 1
In the case of (c), the Rx7 bit represents the value indicating the position of the array recording the reference coordinates referenced by that point, and the Fx8 bit represents the relative distance from the reference coordinates referenced above. In the case of this embodiment, −16384 ≦ Cx16383, 0 ≦ Rx ≦ 12
7, −128 ≦ Fx127.

なお、Cx、Cyが、本発明の記憶手段に記憶される座標点
情報に対応する。
Note that Cx and Cy correspond to the coordinate point information stored in the storage means of the present invention.

また、Sx、Syが、本発明の記憶手段に記憶される識別情
報に対応する。
Further, Sx and Sy correspond to the identification information stored in the storage means of the present invention.

また、Rx、Ryが、本発明の記憶手段に記憶される参照情
報に対応する。
Further, Rx and Ry correspond to the reference information stored in the storage means of the present invention.

また、Fx、Fyが、本発明の記憶手段に記憶される相対距
離情報に対応する。
Further, Fx and Fy correspond to the relative distance information stored in the storage means of the present invention.

次に第1図外部記憶装置5に読み込まれた上記基準文字
データをKBD10、マウス11にて指定された出力サイズに
従って拡大、縮小し、IMEM(13)にその結果を記録する
制御部1について説明する。
Next, the control unit 1 for enlarging and reducing the reference character data read in the external storage device 5 according to the output size designated by the KBD 10 and the mouse 11 and recording the result in the IMEM (13) will be described. To do.

第3図は制御部1についてその動作を説明するためのフ
ローチヤートであるが、簡単化の為、x座標値に限定し
ている。y座標値も同様の演算を行なえばよいのでここ
では省略する。演算子[ ]はA[B]としたとき、配
列Aの位置Bの内容を取り出す。演算子・はA・Bとし
たときデータAに属する成分Bの内容を取り出す。演算
子&はA&BとしたときデータAとビツトマスクBの倫
理積をとりBがもつ有効ビツト数のみを結果とする。
FIG. 3 is a flow chart for explaining the operation of the control unit 1, but for simplification, it is limited to the x coordinate value. Since the y-coordinate value may be calculated in the same manner, it is omitted here. When the operator [] is A [B], the content at position B of array A is taken out. When the operator · is A · B, the content of the component B belonging to the data A is taken out. When the operator & is A & B, the ethical product of the data A and the bit mask B is taken and only the effective bit number of B is obtained.

配列inは第1図の外部記憶装置5に記憶されている基本
データの配列、配列outは第1図のIMEM13中にあり、本
演算の結果としての出力データを格納する配列、cur
は繰返しの制御変数(カレントポイント)、rateは第1
図のKBD10、マウス11により指令されたサイズに変換す
る為の変倍率パラメータ、ROUND(x)はxの演算結果
を出力エリアにおけるデジタルデータに投影する為の最
適量子化手段、例えば少数点以下4捨5入による整数変
換であり、SX,RX,FX,CXは各々第2図(b)におけるビ
ツトマスクSx,Rx,Fx,Cxを表わす定数マスクである。
An array in is an array of basic data stored in the external storage device 5 in FIG. 1, and an array out is in the IMEM 13 in FIG. 1 and is an array for storing output data as a result of this operation, cur p
Is the control variable for repetition (current point), rate is the first
KBD10 in the figure, a scaling parameter for converting to a size instructed by the mouse 11, ROUND (x) is an optimum quantizing means for projecting the calculation result of x onto digital data in the output area, for example, a decimal point 4 or less. It is an integer conversion by rounding off, and SX, RX, FX and CX are constant masks respectively representing the bit masks Sx, Rx, Fx and Cx in FIG. 2 (b).

以下に第3図フローチャートの各ステップの動作を順次
説明する。
The operation of each step in the flowchart of FIG. 3 will be sequentially described below.

ステップf1:繰返しの制御変数cur pを初期化する(つ
まり、cur p=0)。
Step f1: iteration control variable cur initialize p (ie cur p = 0).

ステップf2:基本データの配列inよりx座標の成分を1
つ取りだし(つまり、in[cur p]・x)、最上位ビッ
トSxを判定する。その結果、Sxビットが0の場合はステ
ップf3へ、Sxビットが1の場合はステップf4へジャンプ
する。
Step f2: The x coordinate component is set to 1 from the basic data array in.
Take out (that is, in [cur p] · x), the most significant bit Sx is determined. As a result, if the Sx bit is 0, the process jumps to step f3, and if the Sx bit is 1, the process jumps to step f4.

ステップf3:前述ステップf2の判定において、最上位ビ
ットSxが0の場合の処理であり、ステップf2で取り出し
たx座標成分のその他のビットCx、つまり座標値部分を
定数マスクCXとの論理積演算で取りだし、これに前述変
倍率パラメータrateを用いて拡大縮小演算およびその結
果の最適量子化(ROUND)を施し、出力データ配列out
(つまり、out[cur p]・x)に格納する。
Step f3: This is the processing when the most significant bit Sx is 0 in the judgment of the above-mentioned step f2, and the other bit Cx of the x coordinate component extracted in step f2, that is, the coordinate value part, is ANDed with the constant mask CX. Then, the scaling operation and the optimum quantization (ROUND) of the result are applied to this using the scaling parameter rate, and the output data array out
(That is, out [cur p] · x).

なお、ステップf3の処理が、本発明の第1工程に対応す
る。
The process of step f3 corresponds to the first step of the present invention.

ステップf4:本ステップfより後述するステップf6まで
は、前述ステップf2の判定において、最上位ビットSxが
1の場合の処理であり、まず、ステップf2で取り出した
x座標成分より、その点が参照すべき基準座標を記録す
る配列の位置を定数マスクRXとの論理積演算で取りだ
し、参照配列位置を格納する一時変数ref pに一時格納
する。
Step f4: This step f to step f6, which will be described later, is the process when the most significant bit Sx is 1 in the determination of the above step f2. First, that point is referred to from the x coordinate component extracted in step f2. Temporary variable ref that takes out the position of the array that records the standard coordinates to be used by AND operation with the constant mask RX and stores the reference array position Temporarily store in p.

ステップf5:ステップf2で取り出したx座標成分より、
その点が参照すべき基準座標とその点との相対距離を定
数マスクFXとの論理積演算で取りだし、これに前述変倍
率パラメータrateを用いて拡大縮小演算およびその結果
の最適量子化(ROUND)を施し、その結果を一時変数off
に一時格納する。
Step f5: From the x coordinate component extracted in step f2,
The relative distance between that point and the reference coordinate to be referred to is taken out by the logical product operation with the constant mask FX, and the scaling factor and the optimum quantization (ROUND) of the result are performed using the scaling parameter rate. And the result is a temporary variable off
Temporarily store in.

なお、ステップf5の処理が、本発明の第2工程に対応す
る。
The process of step f5 corresponds to the second step of the present invention.

ステップf6:既に拡大縮小演算が施された参照すべき基
準座標に対応する値を、ステップf4で一時格納した参照
配列位置を示す一時変数ref pを用いて出力データ配列
out(つまり、out[ref p]・x)より取りだし、さら
にステップf5で一時格納した前述相対距離に対応する演
算結果offを加算し、その結果を出力データ配列out(つ
まり、out[cur p]・x)に格納する。
Step f6: Temporary variable ref indicating the reference array position temporarily stored in step f4, the value corresponding to the reference coordinate to be referred to which has already been subjected to the scaling operation. Output data array using p
out (that is, out [ref p] · x), and the operation result off corresponding to the relative distance temporarily stored in step f5 is added, and the result is output data array out (that is, out [cur p] · x).

なお、ステップf6の処理が、本発明の第3工程に対応す
る。
The process of step f6 corresponds to the third step of the present invention.

ステップf7:前述ステップf3の演算処理後、およびステ
ップf5、6、7の演算処理後、本ステップにて繰返しの
制御変数cur pを更新し(つまり、cur p=cur p+
1)、その結果、1つの文字パターンの座標点の総数PN
より小さい場合、前述ステップf2へジャンプする。つま
り、今までに述べたステップf2よりステップf6までの処
理を繰り返す。また、更新されたcur pの値が前述PNよ
り小さくない場合には本フローチャートの処理を終了す
る。
Step f7: After the arithmetic processing of the above-mentioned step f3 and after the arithmetic processing of steps f5, 6, and 7, the control variable cur repeated in this step update p (ie cur p = cur p +
1), as a result, the total number PN of coordinate points of one character pattern
If smaller, jump to step f2. That is, the processing from step f2 to step f6 described above is repeated. Also updated cur If the value of p is not smaller than the above-mentioned PN, the processing of this flowchart is ended.

本フローにおいてはステップf6のout[ref p]・x
は、その時点で既にステップf3の演算が行なわれ、確定
していなければならない。つまり主となる外形に対応す
る座標点は付随的な外形を表わす座標点よりも配列上の
先になけれはならないことになる。よって輪郭上の座標
点を表わす座標値がこれを満たす様設定するか、又は論
理的にこれを満たせばよい(例えば、ステップf2におけ
る判定結果が0の場合のみを先行して全て演算させ
る)。
In this flow, out [ref of step f6 p] · x
Must have already been determined by the calculation of step f3 at that point. In other words, the coordinate points corresponding to the main outer shape should not be ahead of the coordinate points representing the auxiliary outer shape on the array. Therefore, the coordinate values representing the coordinate points on the contour may be set to satisfy this, or logically satisfy this (for example, only when the determination result in step f2 is 0, all calculations are performed in advance).

第4図(b)に本発明による実際の文字「生」の出力例
をわかりやすい図として示す。
FIG. 4 (b) shows an output example of the actual character "raw" according to the present invention as an easy-to-understand diagram.

なお、第3図フローにおけるFXの値即ち付随的な外形を
表わす輪郭点のオフセット値は、本発明を実施するシス
テムにおいては、すべて均一、又は数種類に限定可能で
ある(例えば明朝体の横線太さは同一書体内ではほぼ均
一である)ため、拡大、縮小率決定時点で一律に演算可
能である。
It should be noted that the values of FX in the flow of FIG. 3, that is, the offset values of the contour points representing the incidental outer shape, can be all uniform or can be limited to several types in the system implementing the present invention (for example, horizontal lines of Mincho type). Since the thickness is almost uniform in the same typeface), it can be calculated uniformly at the time of determining the enlargement / reduction ratio.

従って変数offの演算を第3図のフローの外側で予め行
なっておけば、更に演算回数を減ずることができる。
Therefore, if the calculation of the variable off is performed outside the flow of FIG. 3, the number of calculations can be further reduced.

[効果] 以上詳述したように、本発明により、文字の縮小、拡大
サイズによる線幅補正値の最適値を予め設定することな
く、参照情報により特定される座標点情報に対応する拡
大小演算された座標点情報に、参照情報により特定され
る座標点情報に基づく基準となる外形からの相対距離情
報に対応する拡大縮小演算された相対距離情報を加算す
ることにより基準となる外形に付随する外形を表す為の
座標点情報に対応する出力すべき文字の座標点情報を導
出し、導出された座標点情報に基づき、ドット情報に変
換して出力することにより、変倍処理した後において
も、等しい線幅の関係を保つことができる文字処理方法
を提供することが可能となった。
[Effects] As described in detail above, according to the present invention, the enlarging / subtracting operation corresponding to the coordinate point information specified by the reference information is performed without presetting the optimum value of the line width correction value based on the reduction / enlargement of characters. By adding the scaled relative distance information corresponding to the relative distance information from the reference outer shape based on the coordinate point information specified by the reference information to the calculated coordinate point information, the coordinate information is attached to the reference outer shape. Even after scaling processing, the coordinate point information of the character to be output corresponding to the coordinate point information for expressing the outer shape is derived, and converted to dot information based on the derived coordinate point information and output. , It has become possible to provide a character processing method that can maintain the relationship of equal line widths.

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

第1図は本発明の実施例に係る文字処理装置のブロック
図、 第2図(a)〜第2図(d)は基準となる文字データを
記憶する場合を、説明するための図、 第3図は制御部1についての動作を示す処理フローチヤ
ート、 第4図(a),(b)は「生」の従来装置と本発明に係
る文字処理装置の出力例を示す図である。 1……制御部、7……原稿リーダ 8……プリンタ、9……CRT装置 10……キーボード、11……マウス 12……VRAM、13……IMEM 14……BMU
FIG. 1 is a block diagram of a character processing device according to an embodiment of the present invention, and FIGS. 2 (a) to 2 (d) are views for explaining a case of storing reference character data. FIG. 3 is a processing flow chart showing the operation of the control unit 1, and FIGS. 4 (a) and 4 (b) are diagrams showing an output example of the “raw” conventional apparatus and the character processing apparatus according to the present invention. 1 ... control unit, 7 ... manuscript reader 8 ... printer, 9 ... CRT device 10 ... keyboard, 11 ... mouse 12 ... VRAM, 13 ... IMEM 14 ... BMU

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】基準となる文字パターンデータを座標点情
報として記憶する記憶手段であって、前記座標点情報が
基準となる外形を表す為の座標点情報か否かを識別する
為の識別情報と、前記基準となる外形を表す為の座標点
情報と、前記基準となる外形に付随する外形を表す為の
参照すべき前記基準となる外形を表す為の座標点情報を
特定する為の参照情報と、前記基準となる外形に付随す
る外形を表す為の前記参照情報により特定される座標点
情報に基づく基準となる外形からの相対距離情報とを記
憶する記憶手段を利用して文字を所望の倍率にて変倍す
る文字処理方法であって、 前記記憶手段に記憶される座標点情報が基準となる外形
を表す為の座標点情報であることを示す識別情報に基づ
いて、前記座標点情報に対して、前記倍率で拡大縮小演
算し、前記基準となる外形を表す為の座標点情報に対応
する出力すべき文字の座標点情報を導出する第1工程
と、 前記記憶手段に記憶される座標点情報が基準となる外形
を表す為の座標点情報でないことを示す識別情報に基づ
いて、前記相対距離情報に対して、前記倍率で拡大縮小
演算する第2工程と、 前記参照情報により特定される座標点情報に対応する前
記第1工程で拡大縮小演算された座標点情報に、前記参
照情報により特定される座標点情報に基づく基準となる
外形からの相対距離情報に対応する前記第2工程で前記
拡大縮小演算された相対距離情報を加算することにより
前記基準となる外形に付随する外形を表す為の座標点情
報に対応する出力すべき文字の座標点情報を導出する第
3工程と、 前記第1工程と前記第3工程とにより導出された座標点
情報に基づき、ドット情報に変換して出力する第4工程
と を有することを特徴とする文字を所望の倍率にて変倍す
る文字処理方法。
1. Storage means for storing reference character pattern data as coordinate point information, wherein the identification information is for identifying whether or not the coordinate point information is coordinate point information for representing a reference outline. And reference for specifying coordinate point information for indicating the reference outer shape and coordinate point information for indicating the reference outer shape to be referred to for showing the outer shape accompanying the reference outer shape A character is desired by using a storage unit that stores information and relative distance information from the reference outline based on the coordinate point information specified by the reference information for representing the outline associated with the reference outline. Is a character processing method for scaling at a magnification of, wherein the coordinate points are stored based on identification information indicating that the coordinate point information stored in the storage means is coordinate point information for representing a reference outline. The information is expanded at the above magnification. A first step of performing a size reduction operation and deriving coordinate point information of a character to be output corresponding to the coordinate point information for representing the reference outer shape, and the coordinate point information stored in the storage unit is used as a reference. Corresponding to the coordinate point information specified by the reference information, the second step of performing the scaling operation on the relative distance information based on the identification information indicating that it is not the coordinate point information for expressing the outer shape. In the second step, the scaling calculation is performed in the second step in which the coordinate point information scaled in the first step corresponds to relative distance information from a reference outer shape based on the coordinate point information specified by the reference information. A third step of deriving coordinate point information of a character to be output corresponding to coordinate point information for representing an outer shape associated with the reference outer shape by adding the relative distance information, 3rd work Character processing method of zooming on the basis of the derived coordinate point information, a character, characterized by a fourth step for converting the dot information at a desired magnification by the.
JP62043503A 1987-02-25 1987-02-25 Character processing method Expired - Fee Related JPH06100906B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP62043503A JPH06100906B2 (en) 1987-02-25 1987-02-25 Character processing method
US08/281,665 US5398311A (en) 1987-02-25 1994-07-28 Character processing apparatus and method for processing character data as an array of coordinate points of contour lines

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62043503A JPH06100906B2 (en) 1987-02-25 1987-02-25 Character processing method

Publications (2)

Publication Number Publication Date
JPS63208898A JPS63208898A (en) 1988-08-30
JPH06100906B2 true JPH06100906B2 (en) 1994-12-12

Family

ID=12665523

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62043503A Expired - Fee Related JPH06100906B2 (en) 1987-02-25 1987-02-25 Character processing method

Country Status (1)

Country Link
JP (1) JPH06100906B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0788099B2 (en) * 1988-11-28 1995-09-27 株式会社テック Compressed playback method of outline font data
JPH02196296A (en) * 1989-01-26 1990-08-02 Hitachi Ltd Character generator
JP2726951B2 (en) * 1990-08-24 1998-03-11 富士ゼロックス株式会社 Character / graphic drawing device
JP2909273B2 (en) * 1991-06-10 1999-06-23 淑郎 大塚 Outline font line width adjusting method and apparatus
FI20035250A (en) * 2003-12-31 2005-07-01 Nokia Corp Organizing font scaling

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5969787A (en) * 1982-10-15 1984-04-20 日本電気オフィスシステム株式会社 System of generating character signal or the like

Also Published As

Publication number Publication date
JPS63208898A (en) 1988-08-30

Similar Documents

Publication Publication Date Title
US4608662A (en) Method for editing document
EP0597556B1 (en) Image processing apparatus
US5398311A (en) Character processing apparatus and method for processing character data as an array of coordinate points of contour lines
JPH06100906B2 (en) Character processing method
US5936637A (en) Image processing system having outline font data input
US5519412A (en) Pattern processing method
JPH0646408B2 (en) Split image processing method
JP2898974B2 (en) Character processor
EP0441499B1 (en) Electronic brush generation
JPH0652304A (en) Device and method for processing image
US5995674A (en) Image processing apparatus with shape-correction of a contour-specified figure
US5680153A (en) Image Processing apparatus
JP3212873B2 (en) Tone image generation method
JP2796900B2 (en) Image interpolation device
JP3211591B2 (en) Image processing device
JP2899256B2 (en) Graphic processing unit
JP3225633B2 (en) Image data management device
EP0544269B1 (en) Character generation device and method therefor
JP2740539B2 (en) Enlarged reproduction image information creation method and apparatus
JP2762768B2 (en) Outline data drawing device
JPH06110442A (en) Character and figure processor and method for deforming character of figure
JPH07203178A (en) Image data processing method
JPH064658A (en) Method and device for processing image
JPH02130689A (en) Graphic processor
JPH05216969A (en) Graphic processing method

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees