JPH0346697A - Outline font generation system - Google Patents

Outline font generation system

Info

Publication number
JPH0346697A
JPH0346697A JP1183373A JP18337389A JPH0346697A JP H0346697 A JPH0346697 A JP H0346697A JP 1183373 A JP1183373 A JP 1183373A JP 18337389 A JP18337389 A JP 18337389A JP H0346697 A JPH0346697 A JP H0346697A
Authority
JP
Japan
Prior art keywords
character
connection
point
processing
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
JP1183373A
Other languages
Japanese (ja)
Inventor
Kazushi Takagi
高木 一志
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 JP1183373A priority Critical patent/JPH0346697A/en
Publication of JPH0346697A publication Critical patent/JPH0346697A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Image Generation (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To compensate connections even in processing for variation in character-to- character pitch, etc., and to prevent a border line between characters from appearing even in reverse print processing by selecting a connection processing part according to connection relation specified with control information from a host device, and and selecting a connection relation reference point number that the connection processing part requires and performing specific connection processing. CONSTITUTION:Inflection point numbers P1. P2, P3... which are references of connection relation with adjacent characters are added as attribute data to respective character pattern data 2 and a drawing processing part 1 is equipped with connection processing parts 11, 12... which perform connection processing in predetermined specific form by using the inflection point numbers P1, P2, P3.... Then connection processing parts 11, 12... are selected according to the connection relation specified with the control information from the host device and the connection relation reference point numbers P1, P2, P3... that the connection processing parts require are selected to perform specific connection processing. Consequently, connections can be compensated even in the processing for variation in character-to-character pitch, etc., and no border line between characters appears even in reverse print processing.

Description

【発明の詳細な説明】 r概 “ツ〕 表示装置若しくは印刷装置におけるアウトラインフォン
トの生成に関し、 文字間ピッチの変更等の加工に対しても接続が補償され
、白抜き加工によっても文字間の区切りの現れないアウ
トラインフォントの生成を目的とし、 各文字パターンデータを文字の輪郭線の屈d1,点座標
の集合として格納保持し、指定された文字の文字パター
ンデータをピントマツプメモリに展開して出力する出力
装置において、各文字パターンデータに、隣接文字との
接続関係の基準となる屈曲点番号を属性データとして付
加さセると共に、描画処理部に、前記接続関係の基準と
なる屈曲点番号を用いて予め定められた特定な形態の接
続処理を実行する接続処理部を備え、上位装置からの制
御情報で指定する接続関係に応じて前記接続処理部を選
択し、該接続処理部が必要とする前記接続関係基準点番
号?j:選Iツクして特定の接続処理を実行するように
構成する。
[Detailed Description of the Invention] r Overview Regarding the generation of outline fonts in display devices or printing devices, the connection is compensated for even when processing such as changing the pitch between characters, and the separation between characters is maintained even when the outline processing is performed. For the purpose of generating an outline font that does not appear, each character pattern data is stored and retained as a set of curve d1 and point coordinates of the character outline, and the character pattern data of the specified character is expanded to the focus map memory and output. In an output device, an inflection point number, which serves as a reference for the connection relationship with adjacent characters, is added to each character pattern data as attribute data, and a bending point number, which serves as a reference for the connection relationship, is added to the drawing processing unit. The connection processing unit is provided with a connection processing unit that executes a predetermined specific form of connection processing using a host device, and selects the connection processing unit according to a connection relationship specified by control information from a host device, and the connection processing unit is The connection relation reference point number ?j: is configured to be selected to execute a specific connection process.

〔産業上の利用分升〕[Industrial use volume]

本発明は表示装置また心、l印刷装マtにおciる文字
フォントに係り、特にアウトラインフォントI戊に関す
る。
TECHNICAL FIELD The present invention relates to a character font for a display device or printing device, and more particularly to an outline font.

文字の書体には、スクリプトフォント− (筆記体)の
ように、前後の文字が接続されて表現されるものがある
。文字の表現力を高めるためには、活字体だけでなくス
クリプトフメンI・のような竿記体の使用が増えている
。また、文字の表現に多様性を持たせるため二文字の輪
郭線内を塗り潰さない白抜き加工も多く使用されるよう
になってきた。
Some typefaces, such as script fonts (cursive), are expressed by connecting the preceding and succeeding characters. In order to improve the expressive power of letters, not only printed fonts but also cursive fonts such as Script Fumen I are increasingly being used. In addition, in order to add diversity to the expression of characters, white-out processing, which does not fill in the outline of two characters, has come to be widely used.

一方、文字描画に番よ、一般にラスタフォント(文字を
7トリツクス状に配置されたドツトの集まりで表現し、
文字領域を1行ずつ掃引して生成するもの)が使用され
ているが、拡大、縮小、回転、斜体への変形などの操作
が行いにくく、メモリ効率が悪いなどの欠点があるため
、最近でばアウトラインフォント(文字の輪郭線をヘク
トルの端点の連続データとして表現して文字を生成する
もの)を使用する装置か多くなっている。
On the other hand, when it comes to character drawing, raster fonts (characters are expressed as a collection of dots arranged in a 7-trix pattern,
(generated by sweeping the character area line by line), but it is difficult to perform operations such as enlarging, reducing, rotating, and italicizing, and has disadvantages such as poor memory efficiency, so it has recently been used. For example, an increasing number of devices use outline fonts (characters are generated by expressing the outline of a character as continuous data of the end points of a hector).

このため、アウトラインフォント リプトフォント 字加圧を行っても、筆記体本来の意味を持つようZ(文
字の展開が必要とされるよ・うになっている。
For this reason, even when the outline font and the print font are compressed, Z (character development) is required to retain the original meaning of cursive.

また、接続された文字、或いは罫線等について白抜きし
たとき、文字間の境界線が現れないような生成方式が必
要となっている。
Furthermore, there is a need for a generation method that does not cause boundaries between characters to appear when connected characters or ruled lines are outlined.

〔従来の技術〕[Conventional technology]

従来のフォントでは、スクリプトフォン1−をデザイン
する際に、第8図(a)に示すように、特定の文字間ピ
ッチで各々の文字が接続されるように作成され、デザイ
ンされた文字間ピッチに従った描画が必要であった。
In conventional fonts, when designing the script phone 1-, each character is created so that each character is connected at a specific character pitch, as shown in Figure 8(a), and the designed character pitch is It was necessary to draw according to the following.

また、白抜き文字がしばしば用いられているが、従来、
白抜き加工は、単独の文字にしか適用できず、接続され
た文字に適用すると、文字間の境界線か現れ、完全な白
抜きとはならなかった。
Also, white characters are often used, but traditionally,
The whiteout process could only be applied to a single character, and when applied to connected characters, boundaries between the characters appeared, and the result was not a complete whiteout.

へ 〔発明が解決しようとする課題] 従来のフォントでは、ラスタ方式の場合でも、ヘクトル
方式の場合でも、スクリプトフォント文字間ピッチの加
工を行うと、第8図(b)および(C)に示すように、
各文字が接続されなかったり、重なり合ったりするとい
う間J.rj.(があった。
[Problems to be Solved by the Invention] In conventional fonts, whether in the raster format or the hector format, when the pitch between script font characters is processed, the results shown in FIGS. 8(b) and (C) occur. like,
While the letters are not connected or overlap each other, J. rj. (was there.

また、ラスクツオンI−の場合には、文字の(1(1両
を文字のフレーム(枠)情報から行うため、フォントの
字形を認識できず、各文字を接続することができない。
In addition, in the case of Rusktuon I-, since the character (1) is determined from the frame information of the character, the shape of the font cannot be recognized and the characters cannot be connected.

また、このような文字間を接続するスクリプトフメンI
・の場合、第8図(a)に示すよ・うに、正しく接続さ
れれば、アウトライン内は塗り潰されて美しく表示また
は印刷されるが、これを白抜き加工を行うと、文字間の
境界線が現れて、きれいな白抜き文字とはならない。
Also, there is a script function I that connects such characters.
In the case of ・, as shown in Figure 8 (a), if the connections are correct, the inside of the outline will be filled in and displayed or printed beautifully, but if you perform whitening on this, the border between the characters will be distorted. appears, and the text does not become a clean white text.

罫線を白抜きした場合には、第8図(d)に示す,Lう
に、−文字毎に境界線が現れてきれいな白抜きとはなら
ない。
If the ruled lines are outlined, a border line will appear for each character, as shown in FIG. 8(d), and the lines will not be cleanly outlined.

本発明が解決しようどする課題は、このような徒来の問
題点を解消したアウトラインフォント成方式を提供する
ことにある。
The problem to be solved by the present invention is to provide an outline font creation method that eliminates these conventional problems.

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

第1図は、本発明の構成と原理を示す図である。 FIG. 1 is a diagram showing the configuration and principle of the present invention.

第1図(a)は装置の要部構成を示し、同図(b)は文
字パターンデータのデータ構成を示す。
FIG. 1(a) shows the main part configuration of the device, and FIG. 1(b) shows the data structure of character pattern data.

第1図(a)において、1は描画処理部であり、人力さ
れた文字コードおよび制御情報に従って文字パターンデ
ータ2を読み出し、制御情報に従って加工を行ってピン
トマツプメモリ3ヒに描画展開する。描画処理部1には
、閉曲線生成部11および連結パターン生成部12のよ
うな接続処理部を設ける。
In FIG. 1(a), reference numeral 1 denotes a drawing processing section which reads out character pattern data 2 according to manually entered character codes and control information, processes it according to the control information, and develops the drawing in a focus map memory 3. The drawing processing section 1 is provided with connection processing sections such as a closed curve generation section 11 and a connected pattern generation section 12.

11は閉曲線生成部であり、一つの文字の終点屈曲点(
Pl.P2)の座標と後に続く文字の始点屈曲点(P3
. Pl)の座標を接続する閉曲線(Pl.P2. P
.、P3)を生成する。(Pl. P2. P3. P
lについては第2図(a)参照)。
11 is a closed curve generation unit, which generates the end point and bending point of one character (
Pl. P2) coordinates and the starting point bending point of the following character (P3
.. A closed curve connecting the coordinates of (Pl.P2.P
.. , P3). (Pl. P2. P3. P
(See Figure 2(a) for details on l).

12は連結パターン生成部であり、隣接する二つの文字
パターンデータを接続点によって連結し該−つの文字パ
ターン間を区切る境界線を削除して新しい一つの文字パ
ターンとし、該新しい文字パターンにさらに隣接文字パ
ターンを連結して新しい一つの文字パターンを順次生成
する。
Reference numeral 12 denotes a concatenated pattern generation unit, which concatenates two adjacent character pattern data at a connection point, deletes the boundary line separating the two character patterns to form a new character pattern, and generates a new character pattern that is further adjacent to the new character pattern. A new character pattern is sequentially generated by concatenating character patterns.

2は文字パターンデータであり、第1図(1))に示す
ように、各文字の輪郭線の屈+Ih点座標の集合データ
として格納しであり、各文字パターンデータには、隣接
文字との接続関係の基準となる屈曲点番号(Pl, P
z,P3,−−−)を属性データとして付加させである
2 is character pattern data, and as shown in Figure 1 (1)), it is stored as set data of the curve + Ih point coordinates of the outline of each character, and each character pattern data includes the relationship between adjacent characters. Inflection point numbers (Pl, P
z, P3, ---) are added as attribute data.

3はビットマツプメモリであり、ビットマツプデータを
展開する。展開されたビットマツプデータは、表示また
は印刷に使用される。
3 is a bitmap memory, which expands bitmap data. The expanded bitmap data is used for display or printing.

[作 用] 本発明では、各文字の文字パターンデータ2(文字輪郭
線の屈+III点座標の集合)に、隣接文字との接続関
係の基準となる屈d1,点番号(h.Pz,Pa.−)
を属性データとして付加させる。そして、描画処連部1
に、該接続関係の基準となる屈曲点番号(p+,pz,
ps.−)を用いて予め定められた特定な形態の接続処
理を実行する接続処理部(ICl3, −=)を設ける
[Function] In the present invention, the character pattern data 2 of each character (a set of curve + III point coordinates of the character outline) includes curve d1, point number (h.Pz, Pa .-)
is added as attribute data. And the drawing processing section 1
, the bending point numbers (p+, pz,
ps. A connection processing unit (ICl3, -=) is provided which executes a predetermined specific form of connection processing using the connection processing unit (ICl3, -=).

文字パターンデータ2の属性データ中の隣接文字との接
続関係の基準となる屈曲点番号(PI, P2+P3,
−)としては、第2図(a)に示すように、スクリプト
フォントを生成するため、一つの文字を後続文字と接続
する際の終点、および前の文字と接続する際の始点、な
らびに第2図(b)に示すような罫線構成文字等におけ
る上下左右の隣接文字との接続点等を記載する。
Inflection point numbers (PI, P2+P3,
-), as shown in Figure 2(a), in order to generate a script font, the end point when connecting one character with the following character, the starting point when connecting with the previous character, and the second Connection points with adjacent characters on the upper, lower, left, and right sides of ruled line-constituting characters as shown in Figure (b) are described.

接続処理部としては、一つの文字の終点屈曲点(P,、
P2)と後続文字の始点屈曲点(P,l, p.)を接
続する閉萌線(P 1. Pal Pl, P,l)を
発生する閉曲線発生部11、および一つの文字パターン
とこれに隣接する文字パターンを連結して新しい一つの
文字パターンを生成し、これにさらに隣接文字パターン
を連結することを繰り返す連結パターン生成部12を設
ける。
As a connection processing unit, the end point bending point of one character (P, ,
P2) and the starting point inflection point (P, l, p.) of the following character. A connected pattern generating section 12 is provided which repeatedly connects adjacent character patterns to generate one new character pattern and then connects adjacent character patterns to this new character pattern.

描画処理部1は、人力された文字コードに基づいて文字
パターンデータを検索して読み出し、制御データの指示
するピッ1−マツプメモリ十の位置に描画展開するが、
制御情報において特別な加−F処理を指定している場合
には、指定に従った処理を行って展開する。
The drawing processing unit 1 searches and reads out character pattern data based on the manually entered character code, and draws and develops it at the positions of the pin 1 and map memory 10 indicated by the control data.
If special additive processing is specified in the control information, processing according to the specification is performed and expanded.

制御情報がスクリプトフォント接続を指定しているとき
は、閉曲線発生部11が起動され、第2図(a)に示す
ように閉曲線が発生され、閉面線内が塗り潰されてビッ
トマツプメモリに描画される。
When the control information specifies script font connection, the closed curve generation unit 11 is activated, a closed curve is generated as shown in FIG. 2(a), and the inside of the closed surface line is filled in and drawn in the bitmap memory. be done.

また、制御情報が白抜き処理を指定し、月−つ複数文字
の接続が指定(例えば、罫線接続および上記スクリプト
フォント接続)されているときは、連結パターン生成部
12が起動され、第2図(b)および(C)に示すよう
に次々と連結文字パターンが生成さる。例えば、第2図
(b)に示すように、文字パターン(Ps. Pb. 
P7, Pe, P,、 Pro)の右接続点(P6,
P.)と、文字パターン(P++, P+2,P+i,
Pro)の左接続点(Pz. P+4)を連結して、新
しい文字パターン(1)5P + t− P I 3.
 P e. P q,P + o)を生成する。第2図
(C)に示ずよ・うに、この連結パターン生成を次々と
行う。
Furthermore, when the control information specifies outline processing and the connection of multiple characters (for example, ruled line connection and the script font connection described above), the connected pattern generation unit 12 is activated, and as shown in FIG. As shown in (b) and (C), connected character patterns are generated one after another. For example, as shown in FIG. 2(b), a character pattern (Ps. Pb.
P7, Pe, P,, Pro) right connection point (P6,
P. ) and character patterns (P++, P+2, P+i,
Connect the left connection point (Pz. P+4) of Pro) to create a new character pattern (1) 5P + t- P I 3.
P e. P q, P + o) is generated. As shown in FIG. 2(C), this connected pattern generation is performed one after another.

最終的に連結された文字パターンに従って描画し、定め
られた線幅としてピントマツプメモリに展開することに
より白抜きパターンかj5;、rれる。
Finally, by drawing according to the connected character pattern and developing it in the focus map memory as a determined line width, a white pattern is created.

接続点情報は、文字パターンデータの属性データ中に入
れてもよいが、罫線記号のように定型的なものは描画処
理部1中に各罫線記号のコード毎に上下左右の何れに接
続点があるかを示すテーブルを用意し、これに基づいて
処理を行ってもよい。
The connection point information may be included in the attribute data of the character pattern data, but for fixed items such as ruled line symbols, the connection point information is stored in the drawing processing unit 1 in the top, bottom, left, and right for each rule symbol code. You may prepare a table that indicates whether or not there is one, and perform processing based on this table.

このように、本発明によれば、通常の文字バタンデータ
の屈出1点番号の何れかをスクリプトフォント生戒用の
始点、終点として、また接続用の接続点を属性データ中
に指定するだけで、文字パターンデータを変更すること
なく、如何なる文字間ピンチにも適合するスクリプトフ
ォントを生成することがてき、また接続された複数文字
の白抜きパターンを生成することができる。
As described above, according to the present invention, it is only necessary to specify one of the curvature point numbers of the normal character baton data as the starting point and end point for the script font, and the connection point for the connection in the attribute data. With this, it is possible to generate a script font that fits any character spacing without changing the character pattern data, and it is also possible to generate an outline pattern of multiple connected characters.

〔実施例] 第3図は、本発明の−・実施例における文字パタ−ンデ
ータのデータ形式を示す図である。
[Embodiment] FIG. 3 is a diagram showing a data format of character pattern data in an embodiment of the present invention.

文字パターンデータiJ第3図(a) 6;二示ずよう
に、屈曲点(ムク1〜ルの端点)座標の集合からなる親
字パターンと、接続補正(本発明によるスクリプトフォ
ント生成のための文字間接続補疋)等のための属性デー
タからなる。
Character pattern data iJ Figure 3 (a) 6; As shown in Figure 3 (a) 6; It consists of attribute data for inter-character connection supplements, etc.

第3図(1))は、属性データのデータ形式を示す。FIG. 3(1)) shows the data format of attribute data.

属性データは、属性データの部類を示す1カテゴリ」と
、補正の実施の有無等を指示する「タイプ」と、始点/
終点座標の屈曲点番冒−等必要なデータを記載する「デ
ータ」とから成る。
Attribute data consists of a category indicating the type of attribute data, a type indicating whether or not to perform correction, and a starting point/category.
It consists of "data" that describes necessary data such as end point coordinates, bending point number, etc.

第4図は本発明の一実施例のシステム桶戒を示す図であ
り、第5図は同実施例における文字処即の流れを示す図
である。
FIG. 4 is a diagram showing the system flow of one embodiment of the present invention, and FIG. 5 is a diagram showing the flow of character processing in the same embodiment.

本実施例のシステムは、印刷装置のための文字描画シス
テムであり、少ない文字種の文字パターンデータから、
文字変換(拡大/縮小、同転、斜体等)、文字補正(線
幅補正、接続補市等)、文字加丁(文字線幅拡張、影イ
1き、塗り漬し、白抜き等)を行って各種の文字パター
ンを描画するシステムである。
The system of this embodiment is a character drawing system for a printing device, and from character pattern data of a small number of character types,
Character conversion (enlargement/reduction, rotation, italics, etc.), character correction (line width correction, connection correction, etc.), character editing (character line width expansion, shading, filling, whitening, etc.) This is a system for drawing various character patterns.

第4図において、101はデータ入力部であり、上位装
置からの文字コードおよび制御情報を受信し、ページデ
ータの先頭および終端のポインタ(格納アドレス)を渡
すことにより、文字制御部+02に文字展開依頼を行う
 (第5図の)。
In FIG. 4, 101 is a data input unit, which receives character codes and control information from the host device, and converts the characters into the character control unit +02 by passing pointers (storage addresses) to the beginning and end of page data. Make a request (see Figure 5).

文字制御部102は、文字の変換種類(拡大・縮小、回
転、斜体等)毎に、ポインタ(アドレス)を渡し描画制
御部105に依頼する(第5図■)。
The character control unit 102 requests the drawing control unit 105 by passing a pointer (address) for each type of character conversion (enlargement/reduction, rotation, italic, etc.) (FIG. 5).

現花展開されていない文字があったら、文字パターンデ
ータを二次記憶部103から主記憶(MS)104 に
ロートしておく。
If there is a character that has not been fully developed, the character pattern data is loaded from the secondary storage section 103 to the main memory (MS) 104.

(面画制御部1105は、字m:(文字パターンデータ
の親字データのままのデータ)格納アドレス(ラスタイ
メージメモリ (RI M) 107のCMM領域の格
納アドレス)と、文字サイズデータ、回転要素データ等
の文字変換データを与えて、アウトラインフォント 5図■)。始めての文字については、文字パターンデー
タをMS].04からC M M iU域へ格納し、格
9 納アドレスを管理する。
(The screen screen control unit 1105 inputs the character m: (data as the main character data of the character pattern data) storage address (storage address of the CMM area of the raster image memory (RIM) 107), character size data, and rotation element. Given character conversion data such as data, outline font 5 diagram ■). For the first character, MS the character pattern data]. 04 to the CMM iU area and manage the storage address.

アウトラインフォント タを座標変換し、接続補正を行った後、ヘクトルデータ
から描画しラスタデータに変換して、ラスタデータ) 
モ’) D< l M) I(19 )−Fヤンシ:、
、1】工1域に展開する。展開を終了すれば(f11画
制副制御105に展開終了を通知する(第5図■)。ア
ラ1−ラインフオン1〜展開部106については詳細を
後述する。
After converting the coordinates of the outline font and correcting the connection, draw from hector data and convert it to raster data (raster data)
M') D<l M) I(19)-F Yanshi:,
, 1] Expand to engineering area 1. When the development is completed (F11, the image system sub-control 105 is notified of the completion of development ((■) in FIG. 5). Details of the ARA 1-line phone 1 to the development unit 106 will be described later.

描画制御部1105では、ア+′)l−ラインフォント
展開部106からの展開粧了通知を受けると、そのR 
I M]07内格納アIルスと、文字制御情報中の文字
加圧情報(文字線幅の拡大、影付け、白抜き等の加工情
報があるとき)を指示して、描画制御部■108に依頼
する(第5図■)。一つの文字変換種類について、第5
図■.■の処理を行って、終了すれば、文字制御部10
2乙,二終了を通知する(第5図■“)。
When the drawing control unit 1105 receives the development completion notification from the line font development unit 106, the drawing control unit 1105
IM] 07, and character pressure information in the character control information (when there is processing information such as character line width enlargement, shading, whiteout, etc.), the drawing control unit ■108 (Fig. 5 ■). For one character conversion type, the fifth
Figure ■. After performing the process (2) and finishing, the character control unit 10
2.2 Notify the end (Fig. 5 ■“).

描画制御部H108は、与えられた文字加工情報と、加
工後に格納すべきビン1−マンプメモリ(B4 MM)110の格納アI・レスを指示して、ラスクイメ
ージオペレータ(RIO)109に起動をかiJる(第
5図■)。
The drawing control unit H108 instructs the given character processing information and the storage address of the bin 1-manmp memory (B4 MM) 110 to be stored after processing, and starts the rask image operator (RIO) 109. iJru (Figure 5 ■).

ラスクイメーシオペレータ(RI O) 109ば、I
j7iLちれた文字加圧↑+’7 報に、l、って加圧
を行って、写えられたBMMIIO内アドレス内雇ドレ
ス (第5図■)。文字加工の無い文字は、RI M2
O3内のデータをそのまま、与えられたBMMIIO内
アドレス内雇ドレス。展開を終了すれば、描画制御部+
1108に展開終了を通知する。
Rusk Image Operator (RI O) 109, I
j7iL Pressure ↑+'7 In response to the pressurization, pressurize L, and the BMMIIO address was photographed (Figure 5 ■). Characters without character processing are RI M2
Use the data in O3 as is, and use the given address in BMMIIO. After completing the expansion, the drawing control section +
1108 is notified of the completion of expansion.

描画制御部■108は、展開終了通知を受け、描画制御
部1105に通知する。
The drawing control unit 108 receives the expansion completion notification and notifies the drawing control unit 1105.

このようにして、BMMIIOには1ペ一ジ分の文字パ
ターンイメージが格納される。このデータは、1ペ一ジ
分の印刷に使用される。
In this way, character pattern images for one page are stored in BMMIIO. This data is used to print one page.

第6図は、アラ1−ラインフノント展開部の構成と動作
を示す図である。
FIG. 6 is a diagram showing the configuration and operation of the Ara 1-line font development section.

■閘画制’tlU部1105は、RIM(ラスクイメー
ジメエリ)107のCMM領域107 ]−J:y−の
字母格納アドレスおよび字m、からの変換情報(文字サ
イズ、回転、斜体等)を写えてアウトラインフォント展
開部106に展開依頼する。
■ The ``tlU'' unit 1105 copies the character capital storage address of the CMM area 107 of the RIM (rusk image memory) 107 ]-J:y- and the conversion information (character size, rotation, italics, etc.) from the character m. Then, the outline font development unit 106 is requested to develop the outline font.

■アウトラインフォント 御部1061が、与えられた変換情報をローカルメモリ
1062に記憶さセ、C M M iff域1071か
ら字11ノデータをローカルメ:Eす1062に読メ込
む。
(2) The outline font control unit 1061 stores the given conversion information in the local memory 1062 and reads the character 11 data from the CMM IF area 1071 into the local memory 1062.

■展開制御部1061ば、座標変換プロゲラJ、に、L
っで、与えられた変換情報に従って座標変換を行い、結
果データをローカルメモリ1062に書き込み、接続補
正指定があれば次いで接続補疋プ[1グラムに従って接
続補正を行い、白抜き指定があれば次いで連結パターン
ノド成ブ「1グラムに従って連結パターン生成を行う。
■ Deployment control unit 1061, coordinate conversion progera J, L
Then, perform the coordinate transformation according to the given transformation information, write the result data to the local memory 1062, and if there is a connection correction specification, then perform the connection correction according to the connection correction program [1gram, and if there is an outline specification, then Concatenated Pattern Node Creation ``Generate a concatenated pattern according to 1 gram.

■座標変換および接続補正を行った後のアラ1〜ライン
デークは、−\りトル展開部1064に接続する補正デ
ータ入力部1063に渡される。
(2) Ara 1 to line data after coordinate transformation and connection correction are passed to a correction data input section 1063 connected to a -\retor expansion section 1064.

■データを人力した補正データ入力部1063は、ベタ
1〜ル展開部].[)644こ依頼する。
■Correction data input unit 1063 that inputs data manually is the flat 1 to flat development unit]. [)644 requests.

■依頼されたヘクI・ル展開部10646ン1:、補正
データ入力部1063から座標変I#後のデータを取り
込み、I8] ローカルメモリ1065上に、ラスクイメージに展開す
る。ローカルメモリ](165−Lのラスクイメーシは
、RIM]07のキャッシュ領域1072に転送する。
■Requested hexle expansion unit 10646 N1: Takes in the data after coordinate change I# from the correction data input unit 1063, and expands it into a rask image on the local memory 1065. local memory] (165-L is transferred to the cache area 1072 of RIM]07.

第7図は、本発明の一実施例における閉曲線発生法を示
す図である。
FIG. 7 is a diagram showing a closed curve generation method in one embodiment of the present invention.

第7図(a)に示すような、一つの文字の終点PP2と
これに続く文字の始点P.,P.を接続する閉曲線P.
.P2.P.,P.の発生のためには、P。
As shown in FIG. 7(a), the ending point PP2 of one character and the starting point P of the following character. ,P. A closed curve connecting P.
.. P2. P. ,P. For the occurrence of P.

およびPlにおける文字輪郭線の傾きから円弧PP,を
発生し、P2およびP,における文字輪郭線の傾きから
円弧P2 P4を発生ずる。
A circular arc PP is generated from the slope of the character contour at P2 and P1, and circular arcs P2 to P4 are generated from the slope of the character contour at P2 and P.

本実施例では、円弧の発生は、第7図(b)に示すよう
ムこ、以下の式を用いて行っている。
In this embodiment, the arc is generated using the following equation as shown in FIG. 7(b).

点P,,P3の座標と、そこでの線分P,P.に対する
lti’i,;  がそれぞれθ,,θ2であるという
条件を満たず円弧の半径r,.r2は、 α−( 1−cosθ1) / ( ]−cosθ2)
とすると、 r+ = (d. +dz ) /(sinθ,−J−
αsinθ2)■ r 2 ″ α rl によって求める。
The coordinates of points P,, P3 and the line segments P, P. lti'i,; for the radii of the arc r, . r2 is α-(1-cosθ1)/(]-cosθ2)
Then, r+ = (d. +dz) / (sinθ, -J-
αsinθ2) ■ r 2 ″ α rl .

また、円弧の中心C (] + −’ r I!+tn θ d2=r2sin θ2 を利用して求める。Also, the center of the arc C (] + −’ r I!+tn θ d2=r2sin θ2 Find it using.

、C2 ば、 〔発明の効果〕 以」二の説明から明らかなように本発明によれば、スク
リプトフォント以外のアウトラインフォントから任意の
文字間ビ・ンチでスクリプトフォン1〜を生成すること
ができ、また接続された複数の文字の白抜きパターンを
生成できるという著しい効果がある。
, C2. [Effects of the Invention] As is clear from the explanation in section 2 below, according to the present invention, scriptphones 1 to 1 can be generated from outline fonts other than script fonts with arbitrary character spacing bits. , it also has the remarkable effect of being able to generate an outline pattern of a plurality of connected characters.

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

第1図は本発明の構成と原理を示す図、第2図は本発明
によるスクリプトフォンI・生成と連結パターソノ1:
成を示す因、 第3図は本発明の一実施例にお&Jる文字パクンデーク
のデータ形式を示す図、 第4図は本発明の−・実施例のシステム構成を示す図、 第5図は本発明の一実施例におi−する文字処理の流れ
を示す図、 第6図はアラ]・ラインフォアl−展開部の構成と動作
を示す図、 第7図は本発明の一実施例にお&Jる閉曲線発生法を示
す図、 第8図は従来技術の問題点を示す図である。 図において、 ■は描画処理部、     2は文字パターン、3はヒ
ツトマツプメモリ、11は閉曲線生成部、12は連結パ
ターン生成部 101 はデータ人力部、102は文字
制御部、   +03は二次記憶部、107はラスクイ
メージメモリ(RIM)、]08はJii’i両制9■
部I卜 109はラスクイメーシオペレータ(RIO)、110
ハヒソトマンブメモリ(B M M )、106】ば展
開制御部、 1062、 H165はローカルメ:[す、1063は
補正データ人力部、1064はヘクI〜ル展開部、10
71はCMM餠域、   1072は4−センシュ9工
1域、を示ず。 H’lすA− (d)
Fig. 1 is a diagram showing the configuration and principle of the present invention, and Fig. 2 is a diagram showing the structure and principle of the present invention.
Fig. 3 is a diagram showing the data format of the character Pakundake in one embodiment of the present invention, Fig. 4 is a diagram showing the system configuration of the embodiment of the present invention, and Fig. 5 is a diagram showing the system configuration of the embodiment of the present invention. A diagram showing the flow of character processing according to an embodiment of the present invention. FIG. 6 is a diagram showing the configuration and operation of the line fore expansion section. FIG. FIG. 8 is a diagram illustrating a method of generating a closed curve according to the present invention. In the figure, ■ is a drawing processing unit, 2 is a character pattern, 3 is a human map memory, 11 is a closed curve generation unit, 12 is a connected pattern generation unit, 101 is a data human power unit, 102 is a character control unit, +03 is a secondary storage unit , 107 is Rusk Image Memory (RIM), ]08 is Jii'i Ryokai 9■
Part I Volume 109 is Rusk Image Operator (RIO), 110
H165 is the local memory (B M M), 106 is the expansion control section, 1062 is the local memory, 1063 is the correction data manual section, 1064 is the hexagonal expansion section, 10
71 does not indicate the CMM area, 1072 does not indicate the 4-senshu 9 engineering area. H'ls A- (d)

Claims (1)

【特許請求の範囲】 1、各文字パターンデータ(2)を文字の輪郭線の屈曲
点座標の集合として格納保持し、指定された文字の文字
パターンデータをビットマップメモリ(3)に展開して
出力する出力装置において、各文字パターンデータ(2
)に、隣接文字との接続関係の基準となる屈曲点番号(
P1,P2,P3,・・・)を属性データとして付加さ
せると共に、 描画処理部(1)に、前記接続関係の基準となる屈曲点
番号(P1,P2,P3,・・・)を用いて予め定めら
れた特定な形態の接続処理を実行する接続処理部(11
,12,・・・)を備え、 上位装置からの制御情報で指定する接続関係に応じて前
記接続処理部(11,12,・・・)を選択し、該接続
処理部が必要とする前記接続関係基準点番号(P1,P
2,P3,・・・)を選択して特定の接続処理を実行す
るよう構成したことを特徴とするアウトラインフォント
生成方式。 2、請求項1記載の接続関係の基準となる屈曲点が、後
続文字と接続する際の終点および前の文字と接続する際
の始点であり、接続処理部が、前記終点の座標と前記始
点の座標間を接続する閉曲線を生成する閉曲線生成部(
11)であることを特徴とする請求項1のアウトライン
フォント生成方式。 3、請求項1記載の接続関係の基準となる屈曲点が、隣
接文字との接続点であり、接続処理部が、隣接する二つ
の文字パターンデータを前記接続点によって接続し該二
つの文字パターン間を区切るベクトルを削除して新しい
一つの文字パターンとし、該新しい文字パターンにさら
に隣接文字パターンを接続して新しい一つの文字パター
ンを順次生成する連結パターン生成部(12)であるこ
とを特徴とする請求項1記載のアウトラインフォント生
成方式。
[Claims] 1. Each character pattern data (2) is stored and held as a set of curve point coordinates of the outline of a character, and the character pattern data of a designated character is developed in a bitmap memory (3). Each character pattern data (2
), the bending point number (
P1, P2, P3,...) are added as attribute data, and the drawing processing unit (1) uses the bending point numbers (P1, P2, P3,...) that serve as the reference for the connection relationship. A connection processing unit (11) that executes a predetermined specific form of connection processing.
, 12, ...), selects the connection processing section (11, 12, ...) according to the connection relationship specified by control information from the host device, and selects the connection processing section (11, 12, ...) required by the connection processing section. Connection-related reference point number (P1, P
2, P3, . . .) and executes a specific connection process. 2. The bending point serving as a reference for the connection relationship according to claim 1 is an end point when connecting with a succeeding character and a starting point when connecting with a previous character, and the connection processing unit calculates the coordinates of the ending point and the starting point. A closed curve generator (
11) The outline font generation method according to claim 1, characterized in that: 3. The bending point serving as a reference for the connection relationship according to claim 1 is a connection point with an adjacent character, and the connection processing unit connects two adjacent character pattern data by the connection point and creates a connection between the two character patterns. It is characterized by a connected pattern generation unit (12) that deletes vectors separating spaces to create a new character pattern, and further connects adjacent character patterns to the new character pattern to sequentially generate a new character pattern. The outline font generation method according to claim 1.
JP1183373A 1989-07-14 1989-07-14 Outline font generation system Pending JPH0346697A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1183373A JPH0346697A (en) 1989-07-14 1989-07-14 Outline font generation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1183373A JPH0346697A (en) 1989-07-14 1989-07-14 Outline font generation system

Publications (1)

Publication Number Publication Date
JPH0346697A true JPH0346697A (en) 1991-02-27

Family

ID=16134640

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1183373A Pending JPH0346697A (en) 1989-07-14 1989-07-14 Outline font generation system

Country Status (1)

Country Link
JP (1) JPH0346697A (en)

Similar Documents

Publication Publication Date Title
JP3474037B2 (en) Character pattern generator
JPH0863144A (en) Font processing device and font processing method
US5537131A (en) Character generating method and apparatus
JP3037854B2 (en) Character generation method and device
JPH0346697A (en) Outline font generation system
JPH11109943A (en) Font processor and recording medium recorded with font processing program
KR100227178B1 (en) Character generation device
JP3344538B2 (en) Character generator
JPH04280296A (en) Contour data processing device
JP3082467B2 (en) Outline data processing device
JP2728669B2 (en) External character editing device
JPS62212167A (en) Synthesized character forming system
JPH09281947A (en) Printed picture making method and device
JPS62175794A (en) Character generator
JPH0216068A (en) Image forming device
JP2803746B2 (en) Character processing method and apparatus
JP2737845B2 (en) Character processing method and apparatus
JP2710350B2 (en) Image processing apparatus and image processing method of image processing apparatus
JP2965429B2 (en) Character output device
JP2881924B2 (en) Data storage device
JPH05313634A (en) Outline font developing device
JP3055306B2 (en) Data output device
JPH01166967A (en) Pattern data forming method and pattern generator containing said pattern data
JPH0695642A (en) Device for generating character/sign pattern
JPH06175637A (en) Method for generating character