JPH02189625A - Inclined character forming system - Google Patents

Inclined character forming system

Info

Publication number
JPH02189625A
JPH02189625A JP1010530A JP1053089A JPH02189625A JP H02189625 A JPH02189625 A JP H02189625A JP 1010530 A JP1010530 A JP 1010530A JP 1053089 A JP1053089 A JP 1053089A JP H02189625 A JPH02189625 A JP H02189625A
Authority
JP
Japan
Prior art keywords
character
dot
slanted
data
normal
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
JP1010530A
Other languages
Japanese (ja)
Inventor
Hiroko Murayama
裕子 村山
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 Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP1010530A priority Critical patent/JPH02189625A/en
Publication of JPH02189625A publication Critical patent/JPH02189625A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Image Processing (AREA)
  • Digital Computer Display Output (AREA)

Abstract

PURPOSE:To make an operation easy by overlapping an inclined character having a specified inclination angle to an image at the time of inputting input data including the inclined character specified at its inclination angle to form an overlapped image. CONSTITUTION:The dot development starting position of each line is determined by adding respective dot shift values calculated by a dot shift value calculating procedure to the normal character dot development starting position of each row in respective characters included in the inclined character data by means of a developing position calculating procedure. Then, a character pattern consisting of MXN dots corresponding to each character included in the inclined character data is inputted from a character font file by an inclined character developing procedure. The image data of the inclined character is formed by forming each row of the character pattern from the dot development starting position of each row determined by the developing position calculating means. Consequently, an inclined character 'A' obtained by moving 24 bits in the uppermost row to the right by 13 dots can be formed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は傾斜文字生成方式に関し、特に印刷出力する普
通文字の中に一連の傾斜文字を折りまぜて出力する傾斜
文字生成方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a slanted character generation method, and more particularly to a slanted character generation method for folding and outputting a series of slanted characters within ordinary characters to be printed.

〔従来の技術〕[Conventional technology]

従来の傾斜文字生成方式は、図形処理に限定すれば、座
標によって表わされるストローク文字について、傾斜角
度を指定し、座標変換を行うことによって、傾斜文字の
生成を行っている例がある。
If conventional slanted character generation methods are limited to graphical processing, there is an example in which slanted characters are generated by specifying a slant angle for a stroke character represented by coordinates and performing coordinate conversion.

しかし、−i的な文章編集処理では、普通文字の文字フ
ォントの他に、イタリック体などの傾斜文字用の文字フ
ォントを用いて、傾斜文字を生成している。
However, in the -i text editing process, in addition to the normal character font, a character font for slanted characters such as italics is used to generate slanted characters.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の傾斜文字生成方式で、前者のストローク
文字の座標変換を使用する方式は、ストロータ文字の機
能を有する図形処理に限定されるという欠点がある。
Among the conventional slanted character generation methods described above, the former method using coordinate transformation of stroke characters has the disadvantage that it is limited to graphical processing having the function of stroke characters.

後者の特定の文字パターンを用いる方式は、イタリック
体などの傾斜文字の文字フォントをオペレーティングシ
ステムが保有しているか、保有していないときには、外
字登録を行って傾斜文字の文字フォントを作成して使用
しなければならないという問題点がある。
The latter method of using a specific character pattern either requires that the operating system owns a character font with slanted characters such as italics, or if it does not have a character font with slanted characters, registers the external characters and creates a font with slanted characters. The problem is that it has to be done.

本発明の目的は、文字と画像とを重ねて印刷出力するこ
とができる情報処理システムで文字編集処理を行うとき
に、傾斜角度を指定された傾斜文字を含む入力データに
対して、指定された傾斜角度を有する傾斜文字を画像に
重ねて容易に生成することができる傾斜文字生成方式を
提供することにある。
An object of the present invention is to perform a character editing process using an information processing system that can print out overlapping characters and images. An object of the present invention is to provide a slanted character generation method that can easily generate slanted characters having a slant angle by superimposing them on an image.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の傾斜文字生成方式は、 (A)読込んだ入力データが傾斜文字データであれば、
M×Nドットの長方形により形成される普通文字を、指
定された傾斜角度を有するM×Nドットの平行四辺形に
より形成される傾斜文字に変換するために、各行のN個
のドツト位置をそれぞれ移動させるM個のドツトシフト
値を算出するドツトシフト値算出手順、 (B)傾斜文字データに含まれる各々の文字に対して、
各行の普通文字用のドツト展開開始位置に、前記ドツト
シフト値算出手順で算出したドツトシフト値をそれぞれ
加えることにより、各行のドツト展開開始位置を定める
展開位置算定手順、 (C)傾斜文字データに含まれる各々の文字に対して、
文字フォントファイルから該当するM×Nドットの文字
パターンを入力して、前記展開位置算定手順で定めた各
行のドツト展開開始位置から、文字パターンの各行を形
成することにより、傾斜文字のイメージデータを形成す
る傾斜文字展開手順、 (D)傾斜文字データに続いて読込んだ入力データが普
通文字データであれば、普通文字展開位置を他の行の文
字と揃えるために、その普通文字データの最初の文字に
対するドツト展開開始位置を、他の行の文字位置と揃う
まで移動させて定める縦列位置調整手順、 (E)−を通文字データに含まれる各々の文字に対して
、前記文字フォントファイルから該当するM×Nドット
の文字パターンを入力して、前記縦列位置調整手順で定
めたドツト展開開始位置から、文字パターンの各行を形
成することにより、普通文字のイメージデータを形成す
る普通文字展開手順、 を備えて構成されている。
The slanted character generation method of the present invention is as follows: (A) If the read input data is slanted character data,
In order to convert a normal character formed by a rectangle of M×N dots into a slanted character formed by a parallelogram of M×N dots with a specified slope angle, the N dot positions of each line are A dot shift value calculation procedure for calculating M dot shift values to be moved, (B) For each character included in the slanted character data,
A development position calculation procedure that determines the dot development start position of each line by adding the dot shift value calculated in the above dot shift value calculation procedure to the dot development start position for normal characters in each line, (C) Included in slanted character data For each character,
By inputting the corresponding M×N dot character pattern from the character font file and forming each line of the character pattern from the dot development start position of each line determined in the development position calculation procedure, the image data of the slanted character is created. (D) If the input data read following the slanted character data is normal character data, in order to align the normal character development position with the characters on other lines, the beginning of the normal character data is A vertical position adjustment procedure that moves the dot expansion start position for the character until it aligns with the character position on another line. A normal character development procedure for forming image data of a normal character by inputting a corresponding M×N dot character pattern and forming each line of the character pattern from the dot development start position determined in the column position adjustment procedure. It is configured with the following.

〔実施例〕〔Example〕

次に本発明の実施例について図面を参照して説明する。 Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の傾斜文字生成方式の一実施例を示す流
れ図である。
FIG. 1 is a flowchart showing one embodiment of the slanted character generation method of the present invention.

文字と画像とを重ねて印刷出力することができる情報処
理システムで文字編集処理を行うときに、第1図に示す
ように、まず、書式情報読込み手順1で、書式定義ファ
イルF1から、印刷出力するための書式定義を読込んで
いる。
When performing character editing processing in an information processing system that can print out text and images in an overlapping manner, as shown in Figure 1, first, in format information reading procedure 1, printout is performed from format definition file F1. Loading the format definition for

また、入力データ読込み手順2で、入力データファイル
F2から、印刷出力する内容である入力データを読込ん
でいる。
Further, in the input data reading procedure 2, input data that is the content to be printed out is read from the input data file F2.

そこで、次のステップ3で、読込んだ入力データが傾斜
文字データであるかどうかを判断している。
Therefore, in the next step 3, it is determined whether the read input data is slanted character data.

ステップ3で、読込んだ入力データが傾斜文字データで
ある(YES’)ならば、次のドツトシフト値算出手順
4で、M×Nドットの長方形により形成される普通文字
を、指定された傾斜角度を有するM×Nドットの平行四
辺形により形成される傾斜文字に変換するために、各行
のN個のドツト位置をそれぞれ移動させるM個のドツト
シフト値を算出している。
In step 3, if the read input data is slanted character data (YES'), in the next dot shift value calculation step 4, normal characters formed by a rectangle of M x N dots are converted to the specified slant angle. In order to convert the character into a slanted character formed by a parallelogram of M×N dots, M dot shift values are calculated to respectively shift the N dot positions in each line.

第2図は文字“A ”を右に30度傾斜させる一例を示
す傾斜文字説明図である。
FIG. 2 is an explanatory diagram of a tilted character showing an example of tilting the letter "A" by 30 degrees to the right.

第2図の左方に示すように、24X24ドツトにより形
成される普通文字“′A″を右に30度傾斜させるとき
に、ドラ1−シフト値算出手順4で、各行の24明のド
ツト位置をそれぞれ移動させる24個のドツトシフト値
を、それぞれ上の行のものから順に次に示す如く算出し
ている。
As shown on the left side of Fig. 2, when the normal character "'A" formed by 24x24 dots is tilted 30 degrees to the right, the position of the 24 light dots in each line is The 24 dot shift values for moving each are calculated in order from the top row as shown below.

23Xtan30°=13.3  → 1322Xta
n30°=12.7  → 133Xtan30° =
  1 、7  →    22 × t a n 3
0° =  1 、2  →    11Xtan30
”=   0.6   →    10xtan30°
 =  0     →    0続いて、展開位置算
定手順5で、傾斜文字データに含まれる各々の文字に対
して、各行の′iY通文字用のドツト展開開始位置に、
ドツトシフト値算出手Jllff 4により算出したド
ツトシフト値をそれぞれ加えることにより、各行のドツ
ト展開開始位置を定めている。
23Xtan30°=13.3 → 1322Xta
n30°=12.7 → 133Xtan30°=
1, 7 → 22 × tan 3
0° = 1, 2 → 11Xtan30
”= 0.6 → 10xtan30°
= 0 → 0 Next, in the expansion position calculation step 5, for each character included in the slanted character data, the dot expansion start position for 'iY regular characters in each line is
By adding the dot shift values calculated by the dot shift value calculator Jllff 4, the dot development start position of each row is determined.

さらに、傾斜文字展開手順6で、傾斜文字データに含ま
れる各々の文字に対して、文字フォントファイルF3か
ら該当するM×Nドットの文字パターンを入力して、展
開位置算定手順5により定めた各行のドツト展開開始位
置から、文字パターンの各行を形成することにより、傾
斜文字のイメージデータを形成している。
Furthermore, in the slanted character development step 6, for each character included in the slanted character data, the corresponding M×N dot character pattern is input from the character font file F3, and each line determined in the development position calculation step 5 is input. The image data of the slanted character is formed by forming each line of the character pattern from the dot development start position.

この結果、第2図に示す例では、最上行の24ビツトが
13ドツト右に移動した第2図中の右方に示す傾斜文字
゛″A ”を形成することができる。
As a result, in the example shown in FIG. 2, the 24 bits in the top row can be moved 13 dots to the right to form the slanted character "A" shown on the right in FIG.

なお、次のステップ7で、傾斜文字データに含まれる文
字が終了したかどうかを判断している。
In the next step 7, it is determined whether or not the characters included in the slanted character data have been completed.

ステップ7で、傾斜文字データに含まれる文字が終了し
ていない(No)ならば、展開位置算定手順5に戻って
、次の文字の処理に移っている。
In step 7, if the characters included in the slanted character data have not been completed (No), the process returns to development position calculation step 5 and moves on to processing the next character.

また、ステップ3で、読込んだ入力データが傾斜文字デ
ータでない(No)ならば、次の縦列位置調整手順8で
、傾斜文字データに続いて読込んだ入力データが普通文
字データであるから、評通文字展開位置を他の行の文字
と揃えるために、他の行の文字位置と揃うまで移動させ
て、その普通文字データの最初の文字に対するドツト展
開開始位置を定めている。
Furthermore, if the read input data is not slanted character data (No) in step 3, then in the next column position adjustment step 8, since the input data read following the slanted character data is normal character data, In order to align the character expansion position with the characters on other lines, the dot expansion start position for the first character of the ordinary character data is determined by moving the character until it is aligned with the character position on the other line.

さらに、普通文字展開手順って、普通文字データに含ま
れる各々の文字に対して、文字フォントファイルF3か
ら該当するM×Nドットの文字パターンを入力して、縦
列位置調整手順9により定めたドツト展開開始位置から
、文字パターンの各行を形成することにより、普通文字
のイメージデータを形成している。
Furthermore, the ordinary character expansion procedure inputs the corresponding M×N dot character pattern from the character font file F3 for each character included in the ordinary character data, and then inputs the dots determined by the vertical position adjustment procedure 9. By forming each line of a character pattern from the development start position, image data of ordinary characters is formed.

なお、次のステップ10で、普通文字データに含まれる
文字が終了したかどうかを判断している。
In the next step 10, it is determined whether or not the characters included in the normal character data have ended.

ステップ】0で、普通文字データに含まれる文字が終了
していない(No)ならば、普通文字展開手順9に戻っ
て、次の文字の処理に移っている。
If the characters included in the normal character data are not completed (No) in step 0, the process returns to the normal character expansion procedure 9 and moves on to processing the next character.

また、ステップ7およびステップ10で、傾斜文字デー
タまたは普通文字データに含まれる文字が終了した(Y
ES)ならば、次のステップ11で、入力データがすべ
て終了したかどうかを判断している。
Also, in steps 7 and 10, the characters included in the slanted character data or normal character data have ended (Y
ES), in the next step 11 it is determined whether all input data has been input.

ステップ11で、未だ、入力データがすべて終了してい
ない(NO)ならば、入力データ読込み手順2に戻って
、次の入力データの処理に移っている。
In step 11, if all the input data has not been completed (NO), the process returns to the input data reading procedure 2 and moves on to processing the next input data.

なお、ステップ11で、入力データがすべて終了してい
る(YES)ならば、最後のイメージデータ印刷手順1
2で、傾斜文字および普通文字を含むイメージデータを
出力プリンタPに、書式情報読込み手順1により、読込
んだ書式定義に基いた形式で、印刷出力して処理を終了
することとなる。
Note that if all the input data has been completed (YES) in step 11, the last image data printing procedure 1 is executed.
In step 2, the image data including slanted characters and normal characters is printed out to the output printer P in a format based on the format definition read by format information reading procedure 1, and the process ends.

以上述べたように、本実施例の傾斜文字生成方式は、ス
トローク文字の機能や傾斜文字用の文字フォントを有し
ていない情報処理システムでも、文字と画像とを重ねて
印刷出力することができる情報処理システムで文字編集
処理を行うときに、傾斜角度を指定された傾斜文字を含
む入力データに対して、指定された傾斜角度を有する傾
斜文字を画像に重ねて容易に生成することができる。
As described above, the slanted character generation method of this embodiment can print out overlapping characters and images even in an information processing system that does not have a stroke character function or a character font for slanted characters. When performing character editing processing in an information processing system, it is possible to easily generate a slanted character having a specified slant angle by superimposing it on an image for input data including a slanted character with a specified slant angle.

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

以上説明したように、本発明の傾斜文字生成方式は、文
字と画像とを重ねて印刷出力することができる情報処理
システムで文字編集処理を行うときに、傾斜角度を指定
された傾斜文字を含む入力データに対して、指定された
傾斜角度を有する傾斜文字を画像に重ねて容易に生成す
ることができるという効果を有している。
As explained above, the slanted character generation method of the present invention includes a slanted character whose slant angle is specified when performing character editing processing in an information processing system that can print out overlapping characters and images. This method has the effect that it is possible to easily generate oblique characters having a specified inclination angle with respect to input data by superimposing them on an image.

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

第1図は本発明の傾斜文字生成方式の一実施例を示す流
れ図、第2図は文字II A l+を右に30度傾斜さ
せる一例を示す傾斜文字説明図である。 1・・・・・・書式情報読込み手順、2・・・・・・入
力データ読込み手順、4・・・・・・ドツトシフト値算
出手順、5・・・・・・展開位置算定手順、6・・・・
・・傾斜文字展開手順、8・・・・・・縦列位置調整手
順、9・・・・・・普通文字展開手順、12・・・・・
・イメージデータ印刷手順、Fl・・・・・・書式定義
ファイル、F2・・・・・・入力データファイル、F3
・・・・・・文字フォントファイル、P・・・・・・出
力プリンタ。
FIG. 1 is a flowchart showing an embodiment of the slanted character generation method of the present invention, and FIG. 2 is a slanted character explanatory diagram showing an example of slanting the character II A l+ to the right by 30 degrees. 1...Format information reading procedure, 2...Input data reading procedure, 4...Dot shift value calculation procedure, 5...Development position calculation procedure, 6. ...
...Slanted character development procedure, 8...Vertical position adjustment procedure, 9...Normal character development procedure, 12...
・Image data printing procedure, Fl...Format definition file, F2...Input data file, F3
...Character font file, P...Output printer.

Claims (1)

【特許請求の範囲】 (A)読込んだ入力データが傾斜文字データであれば、
M×Nドットの長方形により形成される普通文字を、指
定された傾斜角度を有するM×Nドットの平行四辺形に
より形成される傾斜文字に変換するために、各行のN個
の ドット位置をそれぞれ移動させるM個のドットシフト値
を算出するドットシフト値算出手順、 (B)傾斜文字データに含まれる各々の文字に対して、
各行の普通文字用のドット展開開始位置に、前記ドット
シフト値算出手順で算出したドットシフト値をそれぞれ
加えることにより、各行のドット展開開始位置を定める
展開位置算定手順、 (C)傾斜文字データに含まれる各々の文字に対して、
文字フォントファイルから該当するM×Nドットの文字
パターンを入力して、 前記展開位置算定手順で定めた各行のドット展開開始位
置から、文字パターンの各行を形成することにより、傾
斜文字のイメージデータを形成する傾斜文字展開手順、 (D)傾斜文字データに続いて読込んだ入力データが普
通文字データであれば、普通文字展開位置を他の行の文
字と揃えるために、その普通文字データの最初の文字に
対するドット展開開始位置を、他の行の文字位置と揃う
まで移動させて定める縦列位置調整手順、 (E)普通文字データに含まれる各々の文字に対して、
前記文字フォントファイルから該当するM×Nドットの
文字パターンを入力して、前記縦列位置調整手順で定め
たドット展開開始位置から、文字パターンの各行を形成
することにより、普通文字のイメージデータを形成する
普通文字展開手順、 を備えることを特徴とする傾斜文字生成方式。
[Claims] (A) If the read input data is slanted character data,
In order to convert a normal character formed by a rectangle of M×N dots into a slanted character formed by a parallelogram of M×N dots with a specified slope angle, the N dot positions of each line are A dot shift value calculation procedure for calculating M dot shift values to be moved; (B) For each character included in the slanted character data,
A development position calculation procedure that determines the dot development start position of each line by adding the dot shift value calculated in the dot shift value calculation procedure to the dot development start position for normal characters in each line, (C) For slanted character data For each character included,
By inputting the corresponding M×N dot character pattern from the character font file and forming each line of the character pattern from the dot development start position of each line determined in the development position calculation procedure, the image data of the slanted character is created. (D) If the input data read following the slanted character data is normal character data, in order to align the normal character development position with the characters on other lines, the beginning of the normal character data is (E) For each character included in the normal character data,
By inputting the corresponding M×N dot character pattern from the character font file and forming each line of the character pattern from the dot expansion start position determined in the vertical position adjustment procedure, image data of ordinary characters is formed. A slanted character generation method comprising: a normal character expansion procedure;
JP1010530A 1989-01-18 1989-01-18 Inclined character forming system Pending JPH02189625A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1010530A JPH02189625A (en) 1989-01-18 1989-01-18 Inclined character forming system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1010530A JPH02189625A (en) 1989-01-18 1989-01-18 Inclined character forming system

Publications (1)

Publication Number Publication Date
JPH02189625A true JPH02189625A (en) 1990-07-25

Family

ID=11752809

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1010530A Pending JPH02189625A (en) 1989-01-18 1989-01-18 Inclined character forming system

Country Status (1)

Country Link
JP (1) JPH02189625A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0717080A (en) * 1993-07-01 1995-01-20 Nec Corp Printing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0717080A (en) * 1993-07-01 1995-01-20 Nec Corp Printing device

Similar Documents

Publication Publication Date Title
US5923314A (en) Image processing system
JPH02189625A (en) Inclined character forming system
JP2952915B2 (en) Dot pattern data generator
JP2783601B2 (en) Information processing device
JPH01128843A (en) Document processing apparatus
JP2001109843A (en) Method and device for character recognition
JP2728669B2 (en) External character editing device
JP3082228B2 (en) Data converter
JPS62269991A (en) Character deformation printing processor
JP2937509B2 (en) Bitmap expansion method
JP3055327B2 (en) Data converter
JP2937508B2 (en) Bitmap expansion method
JP3057974B2 (en) Data converter
JPH0493994A (en) Character processor
JP3306969B2 (en) Document editing device
JPH0777417B2 (en) Layout scanner-Character and figure input device
JPS6069729A (en) Document processing system for handwritten character
JPS58137085A (en) Character processor
JPH04268600A (en) Document preparing device
JPH06175637A (en) Method for generating character
JPH08132684A (en) Braille block copy output system and braille block copy outputting method
JPH0237391A (en) Image interpolating system
JPH05216969A (en) Graphic processing method
JPH07141336A (en) Character producing device
JPH05210717A (en) Graphic processing method