JP2960889B2 - Method and apparatus for creating shadow font with contour - Google Patents

Method and apparatus for creating shadow font with contour

Info

Publication number
JP2960889B2
JP2960889B2 JP8159122A JP15912296A JP2960889B2 JP 2960889 B2 JP2960889 B2 JP 2960889B2 JP 8159122 A JP8159122 A JP 8159122A JP 15912296 A JP15912296 A JP 15912296A JP 2960889 B2 JP2960889 B2 JP 2960889B2
Authority
JP
Japan
Prior art keywords
shadow
contour
outline
font
primary
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
JP8159122A
Other languages
Japanese (ja)
Other versions
JPH09325751A (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.)
NIISU KK
Original Assignee
NIISU KK
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 NIISU KK filed Critical NIISU KK
Priority to JP8159122A priority Critical patent/JP2960889B2/en
Publication of JPH09325751A publication Critical patent/JPH09325751A/en
Application granted granted Critical
Publication of JP2960889B2 publication Critical patent/JP2960889B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、新聞、特にスポー
ツ誌や週刊誌等において、読者に強い印象を与えるため
に付けられる輪郭線付きシャドーフォントの作成方法お
よび装置に関するものである。本発明は、アウトライン
フォントデータのみを有するだけで、予め決められた簡
単な処理によって、輪郭線付きシャドーフォントを得る
ことができる輪郭線付きシャドーフォントの作成方法お
よび装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and an apparatus for producing a shadow font with a contour line which is given to give a strong impression to readers in newspapers, especially sports magazines and weekly magazines. The present invention relates to a method and an apparatus for creating a contoured shadow font, which can obtain a contoured shadow font by simple predetermined processing only by having outline font data.

【0002】[0002]

【従来の技術】従来、輪郭線付きシャドーフォントは、
手作業によって、印字される文字の回りに輪郭線やシャ
ドーを書き加えていた。また、上記輪郭線付きシャドー
フォントは、ビットマップデータとして作成するのが普
通である。たとえば、文字の黒い部分は、ドットデータ
とし、所定のシャドー角度および幅によって各データ点
を移動させた後、白に反転させる。上記白に反転された
白文字の一番外側部分のみ、決められたドット数で輪郭
線を黒で描く。この黒で描かれた輪郭線の中に、最初の
黒文字を入れる。さらに、輪郭線付きシャドーフォント
は、写植機用の文字盤、たとえば、デザインされた一書
体として保有することもできる。
2. Description of the Related Art Conventionally, shadow fonts with contour lines are:
By hand, outlines and shadows were added around the characters to be printed. In addition, the above-described shadow font with outlines is generally created as bitmap data. For example, a black portion of a character is set as dot data, and after moving each data point by a predetermined shadow angle and width, the character is inverted to white. Only the outermost portion of the white character inverted to white is drawn with a predetermined number of dots to draw a contour line in black. The first black character is inserted in the outline drawn in black. In addition, the contoured shadow font can be held as a dial for a typesetting machine, for example, a designed typeface.

【0003】図30(イ)および(ロ)は一般に使用さ
れているシャドーを付けた文字を説明するための図であ
る。図30(イ)は、白抜き文字に黒の陰を付けたもの
であり、図30(ロ)は、黒塗り文字に白の陰を付けた
ものである。図30(イ)および(ロ)に示されている
「これが一般的なシャドー文字」は、文字にシャドーを
付けるために、文字の各エレメントの位置を斜め下方に
ずらすと共に、元の文字と異なる色を塗っている。
FIGS. 30A and 30B are diagrams for explaining commonly used characters with shadows. FIG. 30 (a) shows white characters with black shading, and FIG. 30 (b) shows black characters with white shading. The “this is a common shadow character” shown in FIGS. 30A and 30B is different from the original character in that the positions of the respective elements of the character are shifted obliquely downward to add shadow to the character. I'm painting a color.

【0004】[0004]

【発明が解決しようとする課題】文字の回りにビットマ
ップ上でシャドーを付ける方法は、一字毎に手作業で作
成するため、大変な作業量になる。また、上記ビットマ
ップ上で作成されたシャドー付き文字は、ビットマップ
データとして自動的に作成されたとしても、このデータ
量が非常に大きなものとなるため、多くのメモリを消費
するだけでなく、表示や印字に多くの時間を消費すると
いう問題を有する。
The method of adding a shadow on a bitmap around a character requires a large amount of work because it is manually created for each character. In addition, even if the characters with shadows created on the bitmap are automatically created as bitmap data, the amount of data becomes very large, so that not only consumes a lot of memory, but also There is a problem that much time is consumed for display and printing.

【0005】また、ビットマップデータからなる輪郭線
付きシャドーフォントは、タイトル文字として生成する
場合が多い。このようなタイトル文字は、紙面の都合か
ら、縮小したり、あるいは拡大する場合が多い。たとえ
ば、タイトル文字は、横組で文字が紙面に入り切らない
場合、縦長にする長体処理や、縦組で文字が紙面に入り
切らない場合、横長にする平体処理を行う必要が生じる
こともある。ビットマップデータからなる文字は、上記
のように縮小または拡大のための処理をして、長体文字
や平体文字にする場合、演算誤差の関係から、変形加工
されることがある。このように変形加工された文字は、
きわめて見に難くなる。写植機用のシャドー文字の場合
は、手作業でデザインするので、書体として開発するこ
とが難しく、その多くの種類を期待することができな
い。
[0005] Also, shadow fonts with outlines composed of bitmap data are often generated as title characters. Such title characters are often reduced or enlarged due to space limitations. For example, if the title character does not fit in the paper in horizontal composition, it will be necessary to perform long body processing to make it vertical, and if the character does not fit in the paper in vertical composition, it will be necessary to perform horizontal processing to make it horizontal. There is also. When a character composed of bitmap data is subjected to processing for reduction or enlargement as described above to be a long character or a flat character, it may be deformed due to a calculation error. Characters transformed in this way are:
Very difficult to see. In the case of shadow letters for typesetting machines, since they are designed by hand, it is difficult to develop them as typefaces, and many types cannot be expected.

【0006】図30(イ)および(ロ)に示されたシャ
ドー文字は、元の文字を単に斜め方向に複写して描画し
ているだけであるため、文字に対する立体感が乏しく、
読者に強い印象を与えることができない。また、図30
(イ)および(ロ)に示す文字は、パーソナルコンピュ
ータやワードプロセッサによって、簡単に作成できると
いう利点があるが、立体感が乏しいだけでなく、文字の
角の部分が際立ってしまい、文字の読み易さの点で劣っ
ていた。図30(イ)および(ロ)に示す文字は、角部
において、日向部分と日陰部分が階段状になり、文字と
して読み難い。特に、この階段状の部分が接近して複数
ある場合、滲みのようになり、文字のデザインとしても
望ましくないという問題を有する。
The shadow characters shown in FIGS. 30 (a) and 30 (b) merely draw the original character in an oblique direction, and thus have a poor stereoscopic effect on the character.
Can't impress readers. FIG.
The characters shown in (a) and (b) have the advantage that they can be easily created by a personal computer or word processor, but they also have poor three-dimensional appearance, and the corners of the characters are noticeable, making the characters easier to read. It was inferior in point. In the characters shown in FIGS. 30A and 30B, at the corners, the sunlit portion and the shaded portion have a stepped shape, and are difficult to read as characters. In particular, when a plurality of the step-like portions are close to each other, the bleeding appears, which is not desirable as a character design.

【0007】本発明は、以上のような課題を解決するた
めのもので、既に開発されているアウトラインフォント
データを使用した輪郭線付きシャドーフォントの作成方
法および装置を提供することを目的とする。本発明は、
データ量が少なくかつ生成後に拡大、縮小、長体化、平
体化等の変形加工を行っても文字の品質が損なわれない
輪郭線付きシャドーフォントの作成方法および装置を提
供することを目的とする。
An object of the present invention is to provide a method and an apparatus for creating a contoured shadow font using outline font data that have been already developed. The present invention
It is an object of the present invention to provide a method and an apparatus for creating a contoured shadow font in which the amount of data is small and the quality of characters is not impaired even if deformation processing such as enlargement, reduction, lengthening, and flattening is performed after generation. I do.

【0008】[0008]

【課題を解決するための手段】(第1発明) 本発明の輪郭線付きシャドーフォントを作成する方法
は、アウトラインフォントデータを基にして、輪郭線付
きシャドーフォントを作成するに当たり、アウトライン
フォントデータ記憶部から輪郭線付きシャドーを作成す
るアウトラインフォントデータを読出し、前記アウトラ
インフォントデータにおけるシャドーの基になる第一次
輪郭線を生成するための縮小・シフト処理を行い、前記
縮小・シフトされたアウトラインフォントデータにおけ
各データ点を所定のシャドー角度とシャドー幅で移動
させて、第一次輪郭線を生成し前記第一次輪郭線の生
成により発生した陰線を消去した後、前記アウトライン
フォントデータと、生成された第一次輪郭線とを合成
し、前記アウトラインフォントの各データ点内を白と
し、その外側と第一次輪郭線内を黒に塗り潰す処理を行
うことを特徴とする。
How to create a contour with shadow font SUMMARY OF THE INVENTION (first invention) The present invention is based on the outline font data, in preparing a contour with shadow font outline
Create shadow with outline from font data storage
That reads the outline font data, performs a reduction shift processing for generating the primary contour underlying shadow in the outline <br/> in font data, the
In reduced / shifted outline font data
That with each data point is moved at a predetermined shadow angle and the shadow width, to produce a primary contour, raw said primary contours
After erasing the hidden lines generated by the generation, the outline font data and the generated primary outline are combined, white is set in each data point of the outline font, and the outside and the primary outline are set. Is characterized by performing a process of filling black with black.

【0009】(第2発明) 本発明の輪郭線付きシャドーフォントを作成する方法
は、アウトラインフォントデータを基にして、輪郭線付
きシャドーフォントを作成するに当たり、アウトライン
フォントデータ記憶部から輪郭線付きシャドーを作成す
るアウトラインフォントデータを読出し、前記アウトラ
インフォントデータにおけるシャドーの基になる第一次
輪郭線および第二次輪郭線を生成するための縮小・シフ
処理を行い、前記縮小・シフトされたアウトラインフ
ォントデータにおける少なくとも一方の各データ点を所
定のシャドー角度とシャドー幅で移動させて、第一次輪
郭線および第二次輪郭線を生成し、前記第一次輪郭線お
よび第二次輪郭線の生成により発生した陰線を消去した
後、前記アウトラインフォントデータと、生成された第
一次輪郭線および第二次輪郭線とを合成し、前記アウト
ラインフォント、第一次輪郭線と第二次輪郭線の間、お
よびアウトラインフォントと第一次輪郭線との間を白ま
たは黒によって塗り潰す処理を行うことを特徴とする。
[0009] How to create a (second invention) contour with shadow font of the present invention, based on the outline font data, in preparing a contour with shadow font outline
Create shadow with outline from font data storage
Read out outline font data, and reduce / shift the image data to generate a primary outline and a secondary outline based on the outline font data.
The outline process that has been reduced and shifted
At least one of the data points in the first wheel is moved at a predetermined shadow angle and a predetermined shadow width.
A contour line and a secondary contour line are generated, and the primary contour line and the secondary contour line are generated.
After eliminating the hidden lines generated by the generation of the secondary outline and the outline font data, the outline font data is synthesized with the generated primary outline and the secondary outline, the outline font, It is characterized in that processing is performed to fill the area between the primary outline and the secondary outline and between the outline font and the primary outline with white or black.

【0010】(第3発明) 本発明の輪郭線付きシャドーフォントを作成する方法
は、第1発明の第一次輪郭線、または第2発明の第一次
輪郭線および第二次輪郭線における角部に対する丸め処
理の後に発生した陰線を消去することを特徴とする。(第4発明) 本発明の輪郭線付きシャドーフォントを作成する方法
は、第1発明の第一次輪郭線、または第2発明の第一次
輪郭線および第二次輪郭線におけるシャドー作成処理の
後に発生した陰線を消去することを特徴とする。
(Third Invention) A method for producing a shadow font with a contour according to the present invention comprises the steps of: forming a first contour of the first invention, or corners of the first contour and the second contour of the second invention; The method is characterized in that hidden lines generated after the rounding process for a part are eliminated. (Fourth invention) A method of producing a shadow font with a contour line according to the present invention.
Is the primary contour of the first invention or the primary contour of the second invention
Shadow creation processing for contour lines and secondary contour lines
The method is characterized in that hidden lines generated later are deleted.

【0011】(第発明) 本発明の輪郭線付きシャドーフォントを作成する方法に
おける第2発明の第一次輪郭線は、アウトラインフォン
トデータの外側に生成される内側輪郭線で、第2発明の
第二次輪郭線は、アウトラインフォントデータの外側
で、前記第一次輪郭線の外側輪郭線であることを特徴と
する。
( Fifth Invention) In the method for producing a shadow font with a contour according to the present invention, the primary contour of the second invention is an inner contour generated outside the outline font data, and The secondary contour is an outer contour of the primary contour outside the outline font data.

【0012】(第発明) 本発明の輪郭線付きシャドーフォントを作成する方法
は、アウトラインフォントデータを基にして、第2発明
の第一次輪郭線用のシャドーを作成した後、アウトライ
ンフォントデータを基にして、第2発明の第二次輪郭線
用シャドーを作成することを特徴とする。
( Sixth invention) In the method of producing a shadow font with an outline according to the present invention, a method for producing a shadow for a primary outline according to the second invention based on the outline font data is performed. Based on the above, a shadow for a secondary contour line according to the second invention is created.

【0013】(第発明) 本発明の輪郭線付きシャドーフォントを作成する方法
は、アウトラインフォントデータを基にして、第2発明
の第一次輪郭線用のシャドーを作成した後、アウトライ
ンフォントデータを基にして、第2発明の第二次輪郭線
用シャドーを作成することを特徴とする。
( Seventh Invention) A method of producing a shadow font with an outline according to the present invention is a method of producing a shadow for a primary outline according to the second invention, based on the outline font data. Based on the above, a shadow for a secondary contour line according to the second invention is created.

【0014】(第発明) 本発明の輪郭線付きシャドーフォントを作成する方法に
おける第1発明の第一次輪郭線、または第2発明の第一
次輪郭線および第二次輪郭線は、アウトラインフォント
データにおける各データ点を線に対する接線方向に移動
させた後、当該移動させたデータ点によって生成された
線どうしが交差する点を求め、当該交点を新たな輪郭線
のデータ点とすることを特徴とする。
( Eighth Invention) In the method of producing a shadow font with a contour according to the present invention, the first contour of the first invention or the first contour and the second contour of the second invention are outlines. After moving each data point in the font data in the tangential direction to the line, determine the point at which the lines generated by the moved data point intersect with each other, and set the intersection as the data point of the new contour line. Features.

【0015】(第発明) 本発明の輪郭線付きシャドーフォントの作成方法は、直
線の交点を中心にして、オフセット幅を半径とした円
弧、3次ベジエ曲線を用いた円弧、3次スプライン曲線
により円弧を描きその中心点をカーブ点とした円弧、予
め決められた丸み、の内の少なくとも一つの処理方法に
より第1発明の第一次輪郭線、または第2発明の第一次
輪郭線および第二次輪郭線の角部を丸めることを特徴と
する。
( Ninth Invention) In the method for producing a shadow font with a contour line according to the present invention, an arc having a radius of an offset width, an arc using a cubic Bezier curve, and a cubic spline curve are provided around an intersection of straight lines. The first contour of the first invention, the first contour of the second invention, and the first contour of the second invention by at least one processing method of an arc having a center point as a curved point and a predetermined roundness. The corner of the secondary contour is rounded.

【0016】(第10発明) 本発明の輪郭線付きシャドーフォント作成方法における
直線部のシャドーは、所望のシャドー角度およびシャド
ー幅でデータ点を移動させ、一部に日陰を有する曲線部
のシャドーは、曲線を二分割してエッジ点を作成した
後、当該エッジ点から曲線を移動させ、その接続部を円
滑にしてシャドーを作成することを特徴とする。
( 10th Invention) In the shadow font of a straight line portion in the method of producing a shadow font with a contour line according to the present invention, a data point is moved at a desired shadow angle and shadow width, and a shadow of a curved portion partially having a shadow is obtained. After the curve is divided into two to create an edge point, the curve is moved from the edge point and the connection is made smooth to create a shadow.

【0017】(第11発明) 本発明の輪郭線付きシャドーフォント作成装置は、アウ
トラインフォントデータを基にして、輪郭線付きシャド
ーフォントを作成するものであり、アウトラインフォン
トデータを読み出す読出手段13と、上記読み出された
アウトラインフォントデータを所定の大きさと位置に配
置する縮小・シフト処理手段141と、アウトラインフ
ォントの全体に付ける第一次輪郭線および/または第二
次輪郭線を生成する輪郭線生成手段142と、当該第一
次輪郭線および/または第二次輪郭線を生成する際に発
生した陰線を消去する輪郭線用陰線消去手段143と、
生成された輪郭線の角部を丸め処理する角丸処理手段1
44と、前記各手段によって生成された第一次輪郭線お
よび/または第二次輪郭線を基にして、所定のシャドー
角度およびシャドー幅によって、上記各輪郭線の各デー
タ点を移動させるシャドー作成手段145と、当該シャ
ドー作成手段145でシャドーを作成する際に発生した
陰線を消去するシャドー用陰線消去手段146と、アウ
トラインフォントデータとシャドーの付けられた第一次
輪郭線および/または第二次輪郭線データを合成する合
成処理手段16とを備えていることを特徴とする。
( Eleventh invention) A shadow font creation device with an outline of the present invention creates a shadow font with an outline based on outline font data, and a reading means 13 for reading out the outline font data; Reduction / shift processing means 141 for arranging the read outline font data at a predetermined size and position, and contour generation for generating a primary contour and / or a secondary contour attached to the entire outline font Means 142, a contour hidden line erasing means 143 for eliminating hidden lines generated when the primary contour and / or the secondary contour are generated,
Rounding processing means 1 for rounding the corners of the generated contour line
44, and shadow creation for moving each data point of each contour line by a predetermined shadow angle and shadow width based on the primary contour line and / or the secondary contour line generated by each of the means. Means 145, shadow hidden line erasing means 146 for eliminating hidden lines generated when shadows are created by the shadow creating means 145, primary outlines and / or secondary outlines with outline font data and shadows. And synthesizing means 16 for synthesizing the contour data.

【0018】(第12発明) 本発明の輪郭線付きシャドーフォント作成装置によって
作成される文字は、白抜きのアウトラインフォントに黒
のシャドーが付けられていることを特徴とする。
The characters created by (twelfth aspect) contour with shadow font creation system of the present invention is characterized in that the black shadow is attached to the outline font outline.

【0019】(第13発明) 本発明の輪郭線付きシャドーフォント作成装置によって
作成される文字は、黒べたのアウトラインフォントに白
のシャドーが付けられていることを特徴とする。
( Thirteenth Invention) A character created by the outline-line-shadow font creating apparatus according to the present invention is characterized in that a black solid outline font is provided with a white shadow.

【0020】(第14発明) 本発明の輪郭線付きシャドーフォント作成装置によって
作成される文字は、黒べたのアウトラインフォントに黒
のシャドーが付けられていることを特徴とする。
( 14th Invention) The character created by the shadow font creating apparatus with contour lines of the present invention is characterized in that a black solid outline font is provided with a black shadow.

【0021】[0021]

【発明の実施の形態】本出願人は、既に市販されている
多くのアウトラインフォントデータを基にして、予め決
められた処理によって、簡単かつリアルタイムで利用す
ることができる輪郭線付きシャドーフォントを開発し
た。本出願人は、第一次輪郭線および第二次輪郭線の作
成、角部を丸める処理、あるいは陰線の発生した際の消
去方法を予め単純な規則として決めておくことによっ
て、元のアウトラインフォントデータから文字の品質が
損なわれない輪郭線付きシャドーフォントが得られるこ
とを発見した。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present applicant has developed a contoured shadow font which can be used in a simple and real-time manner by a predetermined process based on many outline font data already on the market. did. The present applicant determines the original outline font by creating a primary contour and a secondary contour, rounding off a corner, or deciding a method for erasing a hidden line as a simple rule in advance. Character quality from data
It has been found that shadow fonts with intact outlines can be obtained.

【0022】本発明は、アウトラインフォントデータを
基にして、輪郭線付きシャドーフォントを演算処理によ
って作成するため、輪郭線付きシャドーフォントを新た
に開発する必要がなく、大量に市販されているアウトラ
インフォントの数だけ簡単に得ることができる。したが
って、輪郭線付きシャドーフォント用に特別のメモリを
必要としない。また、輪郭線付きシャドーフォントは、
単純な二次元のアウトラインフォントデータであるた
め、たとえば、一文字が300のデータ点から構成さ
れ、1データ点が4バイト必要であっても、全データ量
が1.8KBである。そのため、輪郭線付きシャドーフ
ォントは、ビットマップ上で作成されるシャドーやスト
ロークフォントの周囲に付けたアウトラインと比較して
データ量を少なくすることができ、メモリに常時格納し
ておくこともできる。また、輪郭線付きシャドーフォン
トは、生成後に縮小および拡大処理を行っても、アウト
ラインフォントデータであるから、文字の品質が損なわ
れない。
According to the present invention, a shadow font with an outline is created by arithmetic processing based on outline font data, so that it is not necessary to newly develop a shadow font with an outline, and a large number of outline fonts are commercially available. Can be easily obtained. Therefore, no special memory is required for contoured shadow fonts. Also, shadow fonts with outlines are
Since the data is simple two-dimensional outline font data, for example, one character is composed of 300 data points, and the total data amount is 1.8 KB even if one data point requires 4 bytes. For this reason, shadow fonts with outlines are used for shadows and texts created on bitmaps.
The data amount can be reduced as compared with the outline attached to the periphery of the Loke font, and the data can be always stored in the memory. In addition, even if the shadow font with outline is subjected to reduction and enlargement processing after generation, since the outline font data is used, the quality of characters is not impaired.

【0023】(第1発明) 第1発明は、市販されている通常のアウトラインフォン
トデータを基にして、輪郭線付きシャドーフォントを作
成する方法である。そして、当該方法によって作成され
た文字は、新聞や雑誌のタイトル文字として、読者の注
目を集めることができる。第1発明の輪郭線付きシャド
ーフォントは、シャドーを作成する前に、アウトライン
フォントデータ記憶部から輪郭線付きシャドーを作成す
るアウトラインフォントデータが読出される。当該アウ
トラインフォントデータは、輪郭線付きシャドーを付け
た際に、隣合った文字と重ならないような第一次輪郭線
を生成するための縮小・シフト処理が行われる。縮小・
シフト処理された前記アウトラインフォントにおける各
データ点は、外側に所定量、すなわち、シャドー角度と
シャドー幅で移動させることによって、シャドーの基に
なる第一次輪郭線を生成するための処理われる
記各データ点の移動により、線がループ状になった場
合、当該ループ状の陰線は、消去される。一方、アウト
ラインフォントデータは、白文字にするために、必要に
応じて、反転させておく。その後、元のアウトラインフ
ォントデータと、生成された第一次輪郭線のシャドーと
は、合成される。そして、元のアウトラインフォントの
各データ点内を白とし、その外側と第一次輪郭線のシャ
ドー内を黒に塗り潰す処理を行う。白抜き文字の周囲に
作成された黒い部分は、陰となり、文字に立体感を与え
ると共に、読み易い文字を得ることができる。
(First Invention) A first invention is a method for creating a shadow font with a contour line based on ordinary commercially available outline font data. Then, the character created by the method can attract the reader's attention as a title character of a newspaper or a magazine. Contour with shadow font of the first aspect of the invention, prior to creating a shadow, outline
Create shadow with outline from font data storage
Is read out. The out
Trim font data with shadow with outline
Primary outline that does not overlap with adjacent characters when
Is performed to reduce the image. Reduction /
Each data point in the shifted outline font is a predetermined amount outward , that is, a shadow angle and
By moving in the shadow width, processing for generating a primary contour underlying shadow cracking line. Up
If the line is looped by moving each data point
In this case, the loop-shaped hidden line is deleted. On the other hand, the outline font data is inverted as necessary to make white characters. Thereafter, the original outline font data and the generated shadow of the primary contour are combined. Then, a process is performed in which each data point of the original outline font is white, and the outside thereof and the inside of the shadow of the primary outline are painted black. The black portion created around the outline character becomes a shade, giving the character a three-dimensional appearance and obtaining a character which is easy to read.

【0024】(第2発明) 第2発明は、先ず、アウトラインフォントデータ記憶部
から輪郭線付きシャドーを作成するアウトラインフォン
トデータが読出される。当該アウトラインフォントデー
タを基にして、シャドーを構成するための第一次輪郭線
および第二次輪郭線を生成するための縮小・シフト処理
が行われる。次に、第一次輪郭線および第二次輪郭線
は、アウトラインフォントデータの各データ点を所定の
シャドー角度とシャドー幅で移動させることにより生成
される。上記各データ点の移動により、線がループ状に
なった場合、当該ループ状の陰線は、消去される。ま
た、シャドーの付けられた第一次輪郭線は、そのアウト
ラインフォントデータを必要に応じて反転しておく。そ
の後、前記アウトラインフォントデータと、生成された
第一次輪郭線および第二次輪郭線とは合成される。前記
アウトラインフォントの内部、および第一次輪郭線と第
二次輪郭線の間を黒塗りとし、アウトラインフォントと
第一次輪郭線との間を白とすることによって、黒文字に
白のシャドーを付けた文字ができる。また、第一次輪郭
線をシャドー処理を行わずに、アウトラインデータ点の
出現順を逆にするという反転処理のみとする。そして、
この第一次輪郭線と第二次輪郭線、および元のアウトラ
インフォントデータとを合成することによって、黒塗り
文字に黒のシャドーを付けた文字ができる。
(Second Invention) In a second invention, first, an outline font data storage unit is provided.
Outline phone to create contoured shadows from
Data is read. On the basis of the outline font data, a reduction / shift process for generating a primary outline and a secondary outline for forming a shadow is performed. Next, the primary outline and the secondary outline are generated by moving each data point of the outline font data at a predetermined shadow angle and shadow width. When the line is looped due to the movement of each data point, the looped hidden line is deleted. The outline font data of the primary contour line with shadow is inverted as necessary. Thereafter, the outline font data and the generated primary and secondary outlines are combined. The interior of the outline font, and between the primary outline and the secondary outline are painted black, and between the outline font and the primary outline are white, so that black characters have white shadows. Characters can be created. Further, only the reversal process of reversing the appearance order of the outline data points without performing the shadow process on the primary contour line. And
By synthesizing the primary outline, the secondary outline, and the original outline font data, a character in which a black-colored character is added with a black shadow is formed.

【0025】(第3発明および第4発明) 第3発明および第4発明は、アウトラインフォントデー
タを構成する各データ点における接線方向に、指定され
たオフセット値に従い、第1発明または第2発明の第一
次輪郭線のデータ点を求める。次に、この処理によって
できた新たなデータ点により描画される曲線および直線
の交点が求められる。また、第2発明の第二次輪郭線も
同様にしてオフセット値を変えるだけで作成される。も
しも、輪郭線の丸め処理を行わないと、新たに作成され
た輪郭線の鋭角な部分は、隣接する文字に接触する恐れ
がある。これを避けるためには、丸め処理が不可欠にな
る。しかし、上記輪郭線の生成、シャドーの作成、およ
び上記丸め処理を行うため、文字の縦棒、横棒等が入り
組んだ所のデータ点を所定値だけ移動すると、アウトラ
インフォントデータの交差とループが発生する。このル
ープが不要な陰線となるため、この陰線の消去を行う。
この陰線の消去は、輪郭線の生成、シャドーの作成、あ
るいは丸め処理中、またはその後に行うことができる。
(Third Invention and Fourth Invention ) The third invention and the fourth invention are directed to the first or second invention according to a specified offset value in a tangential direction at each data point constituting the outline font data. Find the data points of the primary contour. Next, the intersection of the curve and the straight line drawn by the new data points created by this processing is obtained. Further, the secondary contour of the second invention is similarly created by merely changing the offset value. If the rounding of the outline is not performed, the sharp portion of the newly created outline may touch adjacent characters. To avoid this, rounding is indispensable. However, in order to generate the outline, create the shadow, and perform the rounding process, if the data points where the vertical bars, horizontal bars, etc. of the characters are intricately moved by a predetermined value, the intersection and the loop of the outline font data cause a loop. Occur. Since this loop becomes an unnecessary hidden line, the hidden line is deleted.
This removal of hidden lines can be performed during or after contour generation, shadow creation, or rounding.

【0026】(第発明) 第発明における第一次輪郭線(第2発明でいう)は、
アウトラインフォントデータの外側に生成される内側輪
郭線である。また、第二次輪郭線(第2発明でいう)
は、アウトラインフォントデータの外側で、前記第一次
輪郭線の外側輪郭線である。
( Fifth invention) The primary contour (referred to as the second invention) in the fifth invention is:
This is an inner outline generated outside the outline font data. Also, a secondary contour (referred to as the second invention)
Is an outer contour line of the primary contour line outside the outline font data.

【0027】(第発明) 第発明における第一次輪郭線(第2発明でいう)用の
シャドーは、アウトラインフォントデータを基にして、
所定のシャドー角度およびシャドー幅だけ、各データ点
を移動させる。第二次輪郭線(第2発明でいう)は、上
記第一次輪郭線を作成した後、新たにアウトラインフォ
ントデータを基にして、シャドーを作成する。
( Sixth Invention) The shadow for the primary outline (referred to as the second invention) in the sixth invention is based on outline font data.
Move each data point by a predetermined shadow angle and shadow width. For the secondary outline (referred to as the second invention), after the primary outline is created, a shadow is created based on the outline font data.

【0028】(第発明) 第発明は、第二次輪郭線(第2発明でいう)の作成方
法が異なっている。すなわち、第一次輪郭線(第1発明
あるいは第2発明でいう)用のシャドーを作成した後、
当該第一次輪郭線用のシャドーを基にして、前記第二次
輪郭線(第2発明でいう)用シャドーを作成する。した
がって、丸め処理やシャドーを作成する際に発生する陰
線を消去する処理を省略することができる。
( Seventh Invention) The seventh invention is different from the second invention in the method of creating the secondary contour (referred to as the second invention). That is, after creating a shadow for the primary contour (referred to in the first or second invention),
Based on the shadow for the primary contour, a shadow for the secondary contour (in the second invention) is created. Therefore, it is possible to omit the rounding process and the process of erasing hidden lines generated when creating a shadow.

【0029】(第発明) 第発明における第一次輪郭線(第1発明または第2発
明でいう)または第二次輪郭線(第2発明でいう)は、
元のアウトラインフォントデータにおける各データを線
に対する接線方向で、かつ外側に移動させる。移動され
た各データ点を結び、新たな輪郭線を生成すると共に、
当該輪郭線を延長させて、当該延長された線どうしの交
差する交点を求める。上記第一次輪郭線または第二次輪
郭線は、上記処理によってできた外側の線による新たな
交点をデータ点とする。上記輪郭線の生成によって発生
したループ部分は、陰線として消去される。
( Eighth Invention) In the eighth invention, the first contour (referred to as the first invention or the second invention) or the second contour (referred to as the second invention) is
Each data in the original outline font data is moved outward in a tangential direction to the line. Connect each moved data point to generate a new contour line,
The outline is extended, and an intersection of the extended lines is obtained. For the primary contour or the secondary contour, a new intersection point of the outer line formed by the above processing is used as a data point. The loop generated by the generation of the contour is deleted as a hidden line.

【0030】(第発明) 第発明の丸め処理は、アウトラインフォントデータに
おける直線の交点を中心にして所定オフセット値を半径
とした円弧を描く方法がある。また、丸め処理は、3次
ベジエ曲線を用いた円弧状曲線を描く方法がある。さら
に、丸め処理は、3次スプライン曲線により円弧を描
き、その中心点をカーブ点とした円弧を描く方法があ
る。さらに、丸め処理は、予め決められた丸みを角部に
設けるようにすることもできる。上記丸め処理は、直線
と直線、直線と曲線、あるいは曲線どうしが外側に突出
するように折れた状態の時のみ行われ、内側に折れた状
態の場合は不要である。また、外側に突出するように折
れた状態が緩い場合、上記丸め処理は、省略することが
できる。この丸め処理を行うか否かを決める角度は、予
め設定しておき、アウトラインフォントに合った美しい
シャドーを得ることができる。
( Ninth Invention) In the rounding processing according to the ninth invention, there is a method of drawing an arc having a predetermined offset value as a radius around an intersection of straight lines in outline font data. As the rounding process, there is a method of drawing an arc-shaped curve using a cubic Bezier curve. Further, in the rounding processing, there is a method in which an arc is drawn by a cubic spline curve, and an arc whose center point is a curved point is drawn. Further, in the rounding process, a predetermined roundness may be provided at the corner. The rounding process is performed only when a straight line and a straight line, a straight line and a curved line, or a curved line is bent so as to protrude outward, and is unnecessary when the curved line is bent inward. Further, when the state of being bent so as to protrude outward is loose, the rounding process can be omitted. The angle for determining whether or not to perform the rounding process is set in advance, and a beautiful shadow suitable for the outline font can be obtained.

【0031】(第10発明) 第10発明における直線部のシャドーは、所望のシャド
ー角度で直線のデータ点を移動させる。一部に日陰を有
する曲線部のシャドーは、曲線の内、日向から日陰に変
わる点をエッジ点として二分割して作成する。この部分
のシャドーは、上記エッジ点からシャドー角度と所定の
距離曲線を移動させ、その接続部を円滑な接続部とす
る。
( Tenth Invention) In the shadow of the straight portion in the tenth invention, a straight data point is moved at a desired shadow angle. The shadow of a curved part having a shade in part is created by dividing a curve into a point at which the sun changes from a shade to an edge as an edge point. The shadow of this portion moves the shadow angle and a predetermined distance curve from the edge point, and makes the connection portion a smooth connection portion.

【0032】(第11発明) 第11発明における輪郭線付きシャドーフォント作成装
置の読出手段は、基になるアウトラインフォントデータ
を読み出す。読み出されたアウトラインフォントデータ
は、シャドーを付ける分拡大されるので、予め縮小され
る。また、アウトラインフォントデータは、縮小された
際に文字枠に接近するため、一定量シフトする必要があ
る。輪郭線生成手段は、輪郭線の接線を採ることによっ
て、アウトラインフォントの全体に付ける第一次輪郭線
および/または第二次輪郭線が生成される。輪郭線用陰
線消去手段は、上記第一次輪郭線および/または第二次
輪郭線が生成される際に発生する陰線を消去する。角丸
処理手段は、文字を読み易くするために、生成された輪
郭線の角部を丸めるための処理を行う。シャドー作成手
段は、生成された第一次輪郭線および/または第二次輪
郭線を基にして、所定のシャドー角度およびシャドー幅
だけ、上記輪郭線の各データ点を移動させることによっ
てシャドーを作成する。シャドー用陰線消去手段は、上
記シャドー作成手段によって作成される際に発生した陰
線を消去する。アウトラインフォントデータとシャドー
の付けられた第一次輪郭線および/または第二次輪郭線
は、合成処理手段によって合成される。
( Eleventh Invention) The reading means of the shadow font creating apparatus with contour lines according to the eleventh invention reads out the outline font data on which it is based. Since the read outline font data is enlarged by adding the shadow, it is reduced in advance. In addition, the outline font data needs to be shifted by a certain amount because it approaches the character frame when it is reduced. The contour generating means generates a primary contour and / or a secondary contour attached to the entire outline font by taking a tangent of the contour. The outline hidden line erasing means erases a hidden line generated when the primary outline and / or the secondary outline is generated. The rounding processing means performs a process for rounding the corners of the generated contour line in order to make the character easier to read. The shadow creating means creates a shadow by moving each data point of the outline by a predetermined shadow angle and shadow width based on the generated primary outline and / or secondary outline. I do. The shadow hidden line erasing unit erases a hidden line generated when the shadow is created by the shadow creating unit. The outline font data and the shadow-added primary outline and / or secondary outline are synthesized by the synthesis processing means.

【0033】(第12発明) 第11発明によって作成された輪郭線付きシャドーフォ
ントは、元のアウトラインフォントの内部を白抜きと
し、第一次輪郭線と上記アウトラインフォント間を黒で
塗り、この部分を黒のシャドーとしたものである。
[0033] (Twelfth invention) 11 shadow font with contour lines created by invention, the interior of the original outline font and white, paint between the primary contour lines and the outline font in black, this part Is a black shadow.

【0034】(第13発明) 第11発明によって作成された輪郭線付きシャドーフォ
ントは、元のアウトラインフォントの内部を黒で塗り、
当該黒で塗られたアウトラインフォントに白のシャドー
が付けられたものである。
( Thirteenth Invention) In the shadow font with outlines created by the eleventh invention, the inside of the original outline font is painted black,
The outline font painted in black is obtained by adding a white shadow.

【0035】(第14発明) 第11発明によって作成された輪郭線付きシャドーフォ
ントは、元のアウトラインフォントの内部を黒で塗り、
第一次輪郭線と第二次輪郭線の間を黒で塗り、黒のシャ
ドーとしたものである。
( 14th Invention) In the shadow font with outlines created by the 11th invention, the inside of the original outline font is painted black,
The space between the primary contour and the secondary contour is painted black to provide a black shadow.

【0036】[0036]

【実 施 例】図1は本発明における第一実施例で、輪
郭線付きシャドーフォントを作成するためのブロック構
成図である。図1において、輪郭線付きシャドーフォン
ト作成装置は、アウトラインフォントデータを格納する
アウトラインフォントデータ記憶部11と、文字や記号
等を入力するキーボード12と、キーボード12によっ
て入力された文字をアウトラインフォントデータ記憶部
11からアウトラインフォントデータを読み出す読み出
し部13と、輪郭線にシャドーを付けるための処理を行
うシャドー処理部14と、輪郭線を反転させる反転処理
部15と、前記シャドーの付けられた輪郭線とアウトラ
インフォントデータを反転した輪郭線とを合成する合成
処理部16と、合成された輪郭線に所定のシャドーを付
けて出力する出力装置17と、上記各処理部等を制御す
る制御回路18とから構成される。
FIG. 1 is a block diagram of a first embodiment of the present invention for creating a shadow font with an outline. In FIG. 1, a shadow font creation device with outlines includes an outline font data storage unit 11 for storing outline font data, a keyboard 12 for inputting characters, symbols, and the like, and a character input by the keyboard 12 for storing outline font data. A reading unit 13 for reading outline font data from the unit 11, a shadow processing unit 14 for performing a process for adding a shadow to the outline, an inversion processing unit 15 for inverting the outline, and an outline with the shadow A synthesizing processing unit 16 for synthesizing the outline with inverted outline font data, an output device 17 for adding a predetermined shadow to the synthesized outline, and a control circuit 18 for controlling the processing units and the like; Be composed.

【0037】シャドー処理部14は、シャドーを付ける
ために文字枠から飛び出る部分がないように、縮小、シ
フト等の処理を行った後、一時記憶する縮小・シフト処
理・記憶部141と、シャドーを作成するために必要な
エレメント別輪郭線を生成するエレメント別輪郭線生成
部142と、エレメント別輪郭線を生成する際に発生す
る線の重なり部を消去する輪郭線用陰線消去部143
と、前記輪郭線の突出した角を丸める処理するための角
丸処理部144と、前記輪郭線の周囲に所定のシャドー
角度とシャドー幅によってシャドーを作成するシャドー
作成部145と、シャドー作成部145によって作成さ
れたシャドーに発生した不要な線を消去するシャドー用
陰線消去部146と、シャドーの付けられたエレメント
別輪郭線を一時記憶するエレメント別輪郭線記憶部14
7とから構成されている。
The shadow processing unit 14 performs a process such as reduction and shift so that there is no part that jumps out of the character frame in order to add a shadow, and then temporarily stores a reduction / shift process / storage unit 141; An element-specific contour generation unit 142 that generates an element-specific contour necessary for creation, and a contour line hidden line elimination unit 143 that deletes an overlapping portion of lines generated when the element-specific contour is generated.
A rounding processing unit 144 for rounding a protruding corner of the contour, a shadow creating unit 145 for creating a shadow around the contour by a predetermined shadow angle and a shadow width, and a shadow creating unit 145 Shadow elimination unit 146 for erasing unnecessary lines generated in the shadow created by the shadow, and element-specific contour storage unit 14 for temporarily storing shadow-added element-specific contours
7 is comprised.

【0038】反転処理部15は、白抜きの文字とするた
めに元のエレメント別アウトラインフォントの輪郭線を
反転させるためのエレメント別輪郭線反転部151と、
当該エレメント別輪郭線反転部151によって反転され
たエレメント別輪郭線を記憶する反転したエレメント別
輪郭線記憶部152とから構成されている。
The inversion processing unit 15 includes an element-specific outline reversing unit 151 for inverting the outline of the original element-specific outline font to obtain a white character.
And an inverted element-specific contour storage unit 152 that stores the element-specific contours inverted by the element-specific contour reversing unit 151.

【0039】図2は第一実施例の輪郭線付きシャドーフ
ォント作成装置によってシャドー文字を作成する際のフ
ローチャートである。図3は第一実施例の輪郭線付きシ
ャドーフォント作成装置によってシャドー文字を作成す
る際のフローチャートで、図2と(イ)において接続さ
れている。キーボード12によって、たとえば、「長」
という文字が入力される(ステップ211)。キーボー
ド12から「長」という文字が入力されると、当該文字
に対応したアドレス、たとえば、JISコード「020
8」が発生する(ステップ212)。読み出し部13
は、JISコード「0208」をキーにして、アウトラ
インフォントデータ記憶部11からアウトラインフォン
トデータを読み出す(ステップ213)。
FIG. 2 is a flow chart when shadow characters are created by the shadow font creating apparatus with contour lines according to the first embodiment. FIG. 3 is a flowchart when shadow characters are created by the contoured shadow font creating apparatus of the first embodiment, which is connected to FIGS. By keyboard 12, for example, "long"
Is input (step 211). When the character "Length" is input from the keyboard 12, an address corresponding to the character, for example, JIS code "020"
8 "occurs (step 212). Readout unit 13
Reads out the outline font data from the outline font data storage unit 11 using the JIS code "0208" as a key (step 213).

【0040】制御回路18は、シャドー文字の作成が設
定されているか否かを調べる(ステップ214)。制御
回路18は、もしシャドー文字の作成が設定されていな
いと判断した場合、アウトラインフォントデータを出力
装置17に送り通常の文字を出力する(ステップ21
5、ステップ216)。制御回路18は、シャドー文字
の作成が設定されていると判断した場合、後述のような
縮小・シフト処理を縮小・シフト処理・記憶部141に
よって行わせ、その結果を記憶する(ステップ21
7)。制御回路18は、次に、輪郭線生成部142に輪
郭線を生成させるための後述の処理を行わせる(ステッ
プ218)。制御回路18は、輪郭線を生成する際に、
輪郭線に陰線が発生したか否かを調べる(ステップ21
9)。制御回路18は、輪郭線に陰線が発生していると
判断した場合、輪郭線用陰線消去部143に陰線を消去
するための処理を行わせる(ステップ220)。
The control circuit 18 checks whether the creation of shadow characters is set (step 214). If the control circuit 18 determines that the creation of shadow characters is not set, it sends outline font data to the output device 17 and outputs normal characters (step 21).
5, step 216). If the control circuit 18 determines that the creation of shadow characters is set, the control unit 18 causes the reduction / shift processing / storage unit 141 to perform the reduction / shift processing as described later, and stores the result (step 21).
7). Next, the control circuit 18 causes the contour generation unit 142 to perform a process described below for generating a contour (step 218). When the control circuit 18 generates the contour,
It is checked whether or not a hidden line has occurred in the outline (step 21).
9). When the control circuit 18 determines that a hidden line is generated in the outline, the control circuit 18 causes the outline hidden line erasing unit 143 to perform processing for deleting the hidden line (step 220).

【0041】制御回路18は、輪郭線に陰線が発生して
いないと判断した場合、次の角丸処理に移る。制御回路
18は、角丸処理部144に後述の角丸処理を行わせる
(ステップ221)。角丸処理を行った後、制御回路1
8は、シャドー作成部145に後述のシャドー処理を行
わせる(ステップ222)。制御回路18は、シャドー
処理に際し、不要な陰線の発生があるか否かを調べる
(ステップ223)。制御回路18は、シャドー処理に
際し、陰線の発生があると判断した場合、陰線を消去す
るための処理を行わせる(ステップ224)。制御回路
18は、不要な陰線の発生がないと判断した場合、およ
び陰線の消去が終了した場合、当該輪郭線を輪郭線記憶
部147に記憶させる(ステップ225)。
When the control circuit 18 determines that no hidden line is generated in the contour line, it proceeds to the next rounding process. The control circuit 18 causes the rounding processing section 144 to perform rounding processing described later (step 221). After performing the rounding process, the control circuit 1
8 causes the shadow creation unit 145 to perform shadow processing described later (step 222). The control circuit 18 checks whether or not there is an unnecessary hidden line in the shadow processing (step 223). If the control circuit 18 determines that there is a hidden line during the shadow processing, the control circuit 18 performs processing for eliminating the hidden line (step 224). When the control circuit 18 determines that there is no unnecessary hidden line, and when the elimination of the hidden line is completed, the control unit 18 stores the outline in the outline storage unit 147 (step 225).

【0042】一方、制御回路18は、アウトラインフォ
ントデータ記憶部11から元のアウトラインフォントデ
ータを読み出す(ステップ311)。制御回路18は、
アウトラインフォントデータを反転させて白地になるよ
うに、輪郭線反転部151に処理を行わせる(ステップ
312)。制御回路18は、反転した輪郭線を反転した
輪郭線記憶部152に記憶させる(ステップ313)。
制御回路18は、合成処理部16に、輪郭線記憶部14
7に記憶されているシャドー付き輪郭線と、反転した輪
郭線記憶部152に記憶されている反転輪郭線とを合成
する処理を行わせる(ステップ314)。その結果、出
力装置17は、白文字に黒シャドーを付けた文字として
出力する(ステップ315)。なお、各処理の詳細は、
後述する。
On the other hand, the control circuit 18 reads the original outline font data from the outline font data storage section 11 (step 311). The control circuit 18
The outline font reversing unit 151 performs a process so that the outline font data is reversed to become a white background (step 312). The control circuit 18 stores the inverted outline in the inverted outline storage unit 152 (step 313).
The control circuit 18 stores the outline processing unit 14
7 and a reversed contour stored in the reversed contour storage unit 152 are synthesized (step 314). As a result, the output device 17 outputs the characters as white characters with black shadows (step 315). For details of each process,
It will be described later.

【0043】図4は文字枠に「長」というアウトライン
フォントを説明するための図である。図5は文字枠と
「長」というアウトラインフォントとシャドーとの関係
を説明するための図である。図6は「長」というアウト
ラインフォントを縮小した際に文字枠に接近した状態を
説明するための図である。図7は「長」というアウトラ
インフォントをシフトした文字にシャドーを付けること
を想定した位置に配置した例を示す図である。読み出し
部13によって読み出された図4に示す「長」という文
字41は、文字枠42の中央に配置されるアウトライン
フォントデータを有する。当該アウトラインフォントデ
ータから構成される文字41は、図5に示すように、シ
ャドー51が付けられた場合、文字枠42より大きくな
る。このような文字41は、シャドー処理をした後、た
とえば、文字どうしの接触や文字サイズを指定するポイ
ントと合わなくなる。
FIG. 4 is a diagram for explaining an outline font "long" in a character frame. FIG. 5 is a diagram for explaining the relationship between a character frame, an outline font “long”, and a shadow. FIG. 6 is a diagram for explaining a state in which the outline font “long” is approached to the character frame when the outline font is reduced. FIG. 7 is a diagram showing an example in which a character obtained by shifting the outline font “long” is assumed to be shadowed. The character “LONG” 41 shown in FIG. 4 read by the reading unit 13 has outline font data arranged in the center of the character frame 42. As shown in FIG. 5, the character 41 composed of the outline font data becomes larger than the character frame 42 when the shadow 51 is added. After the shadow processing, such a character 41 does not match, for example, a point of contact between characters or a point for designating the character size.

【0044】そこで、上記文字41は、図6に示すよう
に、シャドーを付けても文字枠42内に納まるように縮
小処理を行う必要がある。先ず、縮小・シフト処理・記
憶部141は、読み出されたアウトラインフォントデー
タを、たとえば、文字枠42の左上を原点として縮小す
る。図6は上記縮小の例である。しかし、図6に示す文
字41は、文字枠42に接近し過ぎるため、上側と左側
の周囲にシャドーを付けることができない。そこで、縮
小・シフト処理・記憶部141は、縮小処理の後、アウ
トラインフォントデータ全体を縮小した方向と逆方向に
一定量位置をずらし、これを記憶しておく。図7は文字
41の右下45度方向へシャドーを付けることを想定し
てシフトした例である。したがって、図7における文字
枠42の余白は、シャドーが付けられる分文字枠42の
下方および右方が大きくなっている。なお、シャドー角
度は、上記45度以外に、文字のデザインを考慮して任
意の角度に変えることができる。また、デザイン的に特
殊なシャドー文字を作成する場合、シャドーは、たとえ
ば、真上方向、真下方向、右方向、左方向とすることが
できる。この場合、文字41は、縮小されるのではな
く、それぞれの方向への偏平化処理を行う必要がある。
Therefore, as shown in FIG. 6, it is necessary to reduce the character 41 so that the character 41 can be accommodated in the character frame 42 even if a shadow is added. First, the reduction / shift processing / storage unit 141 reduces the read outline font data with the origin at the upper left of the character frame 42, for example. FIG. 6 shows an example of the reduction. However, since the character 41 shown in FIG. 6 is too close to the character frame 42, shadows cannot be provided around the upper side and the left side. Therefore, after the reduction processing, the reduction / shift processing / storage section 141 shifts the position of the outline font data by a predetermined amount in the direction opposite to the direction in which the entire outline font data is reduced, and stores the data. FIG. 7 shows an example in which the character 41 is shifted assuming that a shadow is provided in the lower right direction of 45 degrees. Therefore, the margin of the character frame 42 in FIG. 7 is larger below and to the right of the character frame 42 by the amount of the shadow. In addition, the shadow angle can be changed to an arbitrary angle other than the above-mentioned 45 degrees in consideration of the character design. When creating a special shadow character in design, the shadow can be, for example, right above, right below, right, or left. In this case, the character 41 needs to be flattened in each direction instead of being reduced.

【0045】図8は本発明の一実施例で、輪郭線を生成
する例を説明するためのフローチャートである。図9は
本発明の一実施例で、「長」という文字の輪郭線を作成
する際の説明図である。図10は図9における輪郭線
「長」の一部を拡大して、輪郭線の作成を説明するため
の図である。図8において、制御回路18の制御の基に
輪郭線生成部142は、縮小・シフト処理・記憶部14
1から縮小・シフトされたアウトラインフォントデータ
を読み出す(ステップ811)。制御回路18は、輪郭
線の作成であるか否かを調べる(ステップ812)。制
御回路18は、輪郭線を生成するための処理ではないと
判断した場合、処理を中止する(ステップ813)。輪
郭線生成部142は、縮小・シフト処理の終了したアウ
トラインフォントデータにおける各データ点の接線方向
を求める(ステップ814)。
FIG. 8 is a flow chart for explaining an example of generating an outline in one embodiment of the present invention. FIG. 9 is an explanatory diagram when an outline of a character “long” is created in one embodiment of the present invention. FIG. 10 is a diagram for explaining the creation of the outline by enlarging a part of the outline "length" in FIG. In FIG. 8, under the control of the control circuit 18, the contour generation unit 142
The outline font data reduced / shifted from 1 is read (step 811). The control circuit 18 checks whether or not to create a contour (step 812). If the control circuit 18 determines that the process is not a process for generating a contour line, it stops the process (step 813). The outline generation unit 142 obtains the tangent direction of each data point in the outline font data that has been reduced and shifted (step 814).

【0046】たとえば、図10において、縦方向の線に
おけるデータ点91の接線方向にオフセット値だけデー
タ点を移動して新たなデータ点93を得る。同様にし
て、横方向の線におけるデータ点を接線方向にオフセッ
ト値だけ移動して新たなデータ点96を得る。輪郭線生
成部142は、たとえばキーボード12によって、指定
されたオフセット値にしたがって、各データ点を接線の
外側方向に移動させる(ステップ815)。すなわち、
図10におけるデータ点91をデータ98に移動させ
る。たとえば、図9に示すように、データ点91および
データ点92は、外側方向に移動されて、新たなデータ
点93とデータ点94となる。また、データ点91およ
びデータ点95は、同様に、新たなデータ点96とデー
タ点97となる。輪郭線生成部142は、制御回路18
の制御の基に、上記各データ点を結んだ交点98を求め
る(ステップ816)。輪郭線生成部142は、上記各
交点98、99、・・・を線で結ぶ(ステップ81
7)。図9は上記各交点を全て結んだ状態を示してい
る。
For example, in FIG. 10, a new data point 93 is obtained by moving the data point by an offset value in the direction tangent to the data point 91 in the vertical line. Similarly, a new data point 96 is obtained by moving the data point on the horizontal line by the offset value in the tangential direction. The contour generation unit 142 moves each data point in the outward direction of the tangent according to the offset value specified by, for example, the keyboard 12 (step 815). That is,
The data point 91 in FIG. For example, as shown in FIG. 9, data points 91 and 92 are moved outward to become new data points 93 and 94. Similarly, the data points 91 and 95 become new data points 96 and 97. The contour generation unit 142 controls the control circuit 18
An intersection 98 connecting the above data points is obtained based on the control of (step 816). The outline generation unit 142 connects the intersections 98, 99,... With a line (step 81).
7). FIG. 9 shows a state where all the above intersections are connected.

【0047】図9から判るように、各交点を結んだ線
は、各データ点を所定距離だけ外側方向に移動させて生
成しているため、文字の縦棒、横棒、点等が入り組んだ
所において、アウトラインフォントデータの交差とルー
プ100とが生じる。ループ100があっても、公知の
アウトラインフォントデータ塗り潰し方法によって、ア
ウトラインフォントデータの内側を塗り潰すことができ
る。しかし、上記のようなループ100(以下、本明細
書では、陰線と記載する)は、最近のグラフィックソフ
トウエアにおいて、アウトラインフォントデータを抽出
して、これらを加工することが頻繁に行われるため、消
去することが望ましい。なお、陰線の消去は、後述す
る。
As can be seen from FIG. 9, the lines connecting the intersections are generated by moving each data point outward by a predetermined distance, so that vertical bars, horizontal bars, points, and the like of characters are intricate. In some places, intersection of outline font data and a loop 100 occur. Even with the loop 100, the inside of the outline font data can be filled by a known outline font data filling method. However, the loop 100 described above (hereinafter, referred to as a hidden line in the present specification) frequently extracts outline font data and processes them in recent graphic software. It is desirable to erase. The removal of the hidden line will be described later.

【0048】そこで、制御回路18は、交差して生成さ
れているループ100の部分があるか否かを調べる(ス
テップ818)。制御回路18がループ100の部分
(陰線)があると判断した場合、輪郭線用陰線消去部1
43が、陰線を消去して、アウトラインフォントデータ
の一番外側の線のみを残すための処理を行う(ステップ
819)。制御回路18は、陰線がないと判断した場
合、陰線の消去を行わずに輪郭線の生成を終了する(ス
テップ820)。
Therefore, the control circuit 18 checks whether or not there is a part of the loop 100 which is generated crossing (step 818). If the control circuit 18 determines that there is a loop 100 (hidden line), the contour hidden line erasing unit 1
43 performs a process for deleting the hidden line and leaving only the outermost line of the outline font data (step 819). If the control circuit 18 determines that there is no hidden line, it ends the generation of the outline without deleting the hidden line (step 820).

【0049】図11は本発明の一実施例で、外側輪郭線
の角部を丸めるための処理を説明するためのフローチャ
ートである。図12は「長」という文字の陰線が消去さ
れた輪郭線を説明するための図である。図12におい
て、「長」という文字41に対する輪郭線101が示さ
れている。図13は直角から構成される角部の丸め処理
を説明するための図である。図14(イ)は外側輪郭線
と内側輪郭線における突出した角部の丸め処理を説明す
るための図である。(ロ)は角丸処理の終了した「長」
という文字を説明するための図である。漢字には、ハラ
イ、ハネ、点等鋭角の部分が多くある。そのため、輪郭
線を生成した際に、この鋭角の部分が隣の文字にまで飛
び出さないまでも、接近し過ぎて見苦しい文字列にな
る。読者に強烈な印象を与える目的であるタイトル文字
でありながら、逆効果になる恐れがある。したがって、
図10に示されているような角部のある輪郭線は、その
角部を丸める必要がある。
FIG. 11 is a flow chart for explaining a process for rounding the corners of the outer contour line according to one embodiment of the present invention. FIG. 12 is a diagram for explaining a contour line from which the hidden line of the character “long” has been deleted. FIG. 12 shows a contour line 101 corresponding to the character 41 “LONG”. FIG. 13 is a diagram for explaining the rounding processing of a corner formed by a right angle. FIG. 14A is a diagram for explaining the rounding processing of the protruding corners of the outer contour line and the inner contour line. (B) is "Length" after rounding
It is a figure for explaining the character which is. Many kanji have sharp angles, such as harais, splashes, and dots. Therefore, when a contour line is generated, even if the acute angle portion does not protrude to the next character, the character string becomes too close and unsightly. Although it is the title character that is intended to give a strong impression to the reader, it may have the opposite effect. Therefore,
A contour line having a corner as shown in FIG. 10 needs to be rounded.

【0050】図11に示すフローチャートを参照しつつ
外側輪郭線の角部の丸め処理を説明する。角丸処理部1
44は、制御回路18の制御の基に、角丸処理を開始す
る(ステップ1111)。角丸処理部144は、輪郭線
が外側輪郭線であるか否かを調べる(ステップ111
2)。角丸処理部144は、輪郭線が外側輪郭線である
と判断した場合、角部が外側に突出しているか否かを調
べる(ステップ1113)。角丸処理部144は、上記
角部が外側に突出していると判断した場合、直線または
曲線部の交点があるか否かを調べる(ステップ111
4)。角丸処理部144は、直線または曲線の交点があ
ると判断した場合、その交点を中心に所定のオフセット
値を、たとえば、半径とした円弧を描き、全て同様な処
理を行った後、角丸処理を終了する(ステップ111
5、ステップ1116)。また、角丸処理は、円弧以外
の弧や少なくとも一つの直線によって接続することによ
って、鋭角部をなくすことができる。
The rounding processing of the corners of the outer contour line will be described with reference to the flowchart shown in FIG. Corner round processing unit 1
44 starts rounded corner processing under the control of the control circuit 18 (step 1111). The rounding processing unit 144 checks whether or not the contour is an outer contour (step 111).
2). When determining that the contour is an outer contour, the corner rounding processor 144 checks whether or not the corner protrudes outward (step 1113). If the corner processing unit 144 determines that the corner protrudes outward, it checks whether there is an intersection of a straight line or a curved part (step 111).
4). When determining that there is an intersection of a straight line or a curve, the corner round processing unit 144 draws an arc with a predetermined offset value, for example, a radius around the intersection, performs all the same processing, and then performs the same processing. The process ends (step 111).
5, step 1116). Further, in the rounding process, an acute angle portion can be eliminated by connecting with an arc other than a circular arc or at least one straight line.

【0051】ステップ1112において、角丸処理部1
44は、輪郭線が外側輪郭線でない、すなわち、内側輪
郭線であると判断した場合、内側に突出した角部がある
か否かを調べる(ステップ1117)。角丸処理部14
4は、ステップ1113において、外側に突出した角部
がないと判断した場合、およびステップ1117におい
て、内側に突出した角部がないと判断した場合、角丸処
理が不要である(ステップ1118)。角丸処理部14
4は、ステップ1117において、内側に突出した角部
があると判断した場合、ステップ1114およびステッ
プ1115と同様な処理を行う(ステップ1119、1
120)。
In step 1112, the rounded corner processing unit 1
When it is determined that the contour is not the outer contour, that is, the inner contour is an inner contour, it is checked whether or not there is a corner protruding inward (step 1117). Corner round processing unit 14
No. 4 does not require rounding if it is determined in step 1113 that there is no outwardly protruding corner, and if it is determined in step 1117 that there is no inward protruding corner (step 1118). Corner round processing unit 14
In step 1117, if it is determined in step 1117 that there is a corner protruding inward, the same processing as steps 1114 and 1115 is performed (steps 1119, 1115
120).

【0052】図13には、直角の角部における丸め処理
が示されている。また、図14に示されているように、
外側輪郭線1421の外側に突出した角部1424は、
角丸処理が行われ、内側に突出した角部1425は、角
丸処理が行われない。また、内側輪郭線1423の角丸
処理は、外側輪郭線1421と反対に、外側に突出した
角部1426で角丸処理が行われずに、内側に突出した
角部1427で角丸処理が行われている。角丸処理は、
たとえば、図13に示すように、オフセット幅を半径と
して、オフセット前のアウトラインフォントデータの角
を中心に円弧を描く方法の他に、3次ベジエ曲線を用い
て円弧状の曲線を描く方法、3次スプライン曲線の場
合、一旦前記の方法により円弧を描画し、その中点をカ
ーブ点として両端をスムーズにする等周知の方法を採用
することができる。
FIG. 13 shows a rounding process at a right-angled corner. Also, as shown in FIG.
The corner 1424 protruding outside the outer contour line 1421 is
The rounding is performed, and the corner 1425 protruding inward is not rounded. In the rounding of the inner contour line 1423, the rounding process is performed on the inwardly protruding corner 1427 without performing the rounding on the outwardly protruding corner 1426, as opposed to the outer contour 1421. ing. The rounding process is
For example, as shown in FIG. 13, using an offset width as a radius, in addition to a method of drawing an arc around the corner of the outline font data before offset, a method of drawing an arc-shaped curve using a cubic Bezier curve, In the case of the next spline curve, a well-known method such as drawing an arc once by the above-described method and using the middle point as a curve point to smooth both ends can be adopted.

【0053】角丸処理の目的は、隣合った文字に接触さ
せないこと、および文字枠からはみ出さないようにする
ため、角部の突出方向を上記のように決めたが、角部の
角度によって丸める処理をするか否かの選択を行うこと
ができる。すなわち、角部の丸め処理は、角部の角度を
パラメータとして制御させることもできる。角丸処理
は、隣合った文字と接近しても構わないという観点で、
しかも大きく尖った方が文字のデザイン上、強い印象を
与えることができる場合、省略することもできる。角丸
処理の終了した輪郭線4131は、図14(ロ)に示さ
れている。
The purpose of the rounding process is to determine the direction in which the corners protrude as described above so as not to touch adjacent characters and not to protrude from the character frame. It is possible to select whether or not to perform the rounding process. That is, in the rounding process of the corner, the angle of the corner can be controlled as a parameter. Corner rounding is performed from the viewpoint that it is possible to approach adjacent characters.
In addition, if a sharp point can give a strong impression on the character design, it can be omitted. The outline 4131 after the rounding is completed is shown in FIG.

【0054】図15は本発明の一実施例で、シャドーの
作成を説明するためのフローチャートである。図16
(イ)は45度の入射光線をアウトラインフォントデー
タ点に照射した際の影を説明するための図、(ロ)は4
5度の入射光線に沿って二つのデータ点を有する場合を
説明するための図、(ハ)は30度の入射光線でアウト
ラインフォントデータ点に照射した際の影を説明するた
めの図である。図17(イ)および(ロ)はアウトライ
ンフォントデータ点の間で日陰と日向が発生する場合を
説明するための図である。図18は外側輪郭線のシャド
ーを生成するための説明図である。図19は外側輪郭線
のシャドーを説明するための図である。図20(イ)お
よび(ロ)は内側輪郭線の場合のシャドーを説明するた
めの図である。
FIG. 15 is a flow chart for explaining the creation of a shadow according to an embodiment of the present invention. FIG.
(A) is a diagram for explaining a shadow when an incident light beam of 45 degrees is applied to an outline font data point, and (B) is a diagram for
FIG. 3C is a diagram for explaining a case where two data points are provided along the incident light beam of 5 degrees, and FIG. 3C is a diagram for explaining a shadow when the outline font data point is irradiated with the incident light beam of 30 degrees. . FIGS. 17A and 17B are diagrams for explaining a case where shade and sun occur between outline font data points. FIG. 18 is an explanatory diagram for generating a shadow of the outer contour line. FIG. 19 is a diagram for explaining the shadow of the outer contour line. FIGS. 20A and 20B are diagrams for explaining shadows in the case of an inner contour line.

【0055】輪郭線を基にしてシャドーの作成に先立
ち、シャドー角度(方向)とシャドー幅を決めてから処
理は、開始される(ステップ1511)。シャドー作成
部145は、制御回路18の制御の基に、日陰になるデ
ータ点があるか否かを調べる(ステップ1512)。す
なわち、シャドー角度の接線方向およびシャドー角度以
内の場合は、日陰となり、新たなシャドーとしてデータ
点を得る。
Prior to the creation of a shadow based on a contour line, the processing is started after determining a shadow angle (direction) and a shadow width (step 1511). The shadow creator 145 checks whether or not there is any data point to be shaded under the control of the control circuit 18 (step 1512). That is, when the shadow angle is within the tangential direction and the shadow angle, the shadow is shaded, and a data point is obtained as a new shadow.

【0056】シャドー作成部145は、日陰になるデー
タ点があると判断した場合、日向から日陰に変わる位置
にデータ点があるか否かを調べる(ステップ151
3)。シャドー作成部145は、日向から日陰に変わる
位置にデータ点があると判断した場合、同じシャドー角
度に二つ以上のデータ点があるか否かを調べる(ステッ
プ1514)。シャドー作成部145は、同じシャドー
角度に二つ以上のデータ点があると判断した場合、光の
当たる側から見て、最後のデータ点を採用する(ステッ
プ1515)。シャドー作成部145は、前記最後のデ
ータ点を所定のシャドー角度およびシャドー幅で移動さ
せる(ステップ1516)。シャドー作成部145は、
上記シャドーに陰線があるか否かを調べる。シャドー作
成部145がシャドーに陰線がないと判断した場合、シ
ャドーの作成処理を終了させる(ステップ1517)。
シャドー作成部145は、シャドーに陰線があると判断
した場合、陰線を消去する処理を行う(ステップ151
8)。
If the shadow creator 145 determines that there is a data point that becomes shade, the shadow creator 145 checks whether there is a data point at a position where the sun changes from shade to shade (step 151).
3). When determining that there is a data point at a position where the sun changes from the sun to the shade, the shadow creator 145 checks whether there are two or more data points at the same shadow angle (step 1514). If the shadow creator 145 determines that there are two or more data points at the same shadow angle, the shadow creator 145 adopts the last data point as viewed from the side where light hits (step 1515). The shadow creator 145 moves the last data point at a predetermined shadow angle and shadow width (step 1516). The shadow creation unit 145
Check whether there is a hidden line in the shadow. If the shadow creating unit 145 determines that there is no hidden line in the shadow, the shadow creating process ends (step 1517).
When determining that the shadow has a hidden line, the shadow creating unit 145 performs a process of deleting the hidden line (step 151).
8).

【0057】ステップ1514において、シャドー作成
部145は、同じシャドー角度に二つ以上のデータ点が
ないと判断した場合、そのデータ点からシャドー幅分移
動させ、この点が新たなシャドーを形成するためのデー
タ点となる(ステップ1521)。そして、シャドー作
成部145は、各データ点に日陰が存在する限り、これ
を繰り返し、アウトラインフォントデータの直線および
曲線が日向である限り、データ点の移動を行わない。シ
ャドー作成部145は、各データ点の移動に伴い陰線が
発生するか否かを調べる(ステップ1522)。シャド
ー作成部145は、陰線の消去のための処理を行う(ス
テップ1523)。
In step 1514, if the shadow creator 145 determines that there are no more than two data points at the same shadow angle, the shadow creator 145 shifts the data points by the shadow width to form a new shadow. (Step 1521). The shadow creator 145 repeats this as long as each data point has a shade, and does not move the data point as long as the straight line and the curve of the outline font data are sunny. The shadow creating unit 145 checks whether or not a hidden line is generated as each data point moves (step 1522). The shadow creating unit 145 performs a process for eliminating hidden lines (step 1523).

【0058】シャドーに陰線がない場合、および陰線の
消去処理を終了することによってシャドーの作成が終了
する(ステップ1517)。ステップ1512におい
て、シャドー作成部145は、日陰になるデータ点がな
いと判断した場合、シャドーの作成を中止する(ステッ
プ1520)。ステップ1513において、シャドー作
成部145は、日向から日陰に変わる位置にデータ点が
ないと判断した場合、日向から日陰に変わる位置をエッ
ジ点とする(ステップ1524)。シャドー作成部14
5は、上記エッジ点を基にして、所定のシャドー角度と
シャドー幅でデータ点を移動させて、シャドーを作成
し、陰線が発生した場合、必要に応じて消去する(ステ
ップ1525)。シャドー作成部145は、エッジ点や
曲線と直線との接続部を滑らかにするための処理を行う
(ステップ1526)。
When there is no shadow line in the shadow, and when the shadow line erasure process ends, the shadow creation ends (step 1517). If it is determined in step 1512 that there is no data point to be shaded, the shadow creating unit 145 stops creating the shadow (step 1520). In step 1513, if the shadow creating unit 145 determines that there is no data point at the position where the sun changes to the shade, the shadow creating unit 145 sets the position where the sun changes to the shade as an edge point (step 1524). Shadow creator 14
In step 5, a data point is moved at a predetermined shadow angle and shadow width based on the edge point to create a shadow, and if a hidden line occurs, it is deleted as necessary (step 1525). The shadow creating unit 145 performs a process for smoothing the connection between the edge point and the curve and the straight line (step 1526).

【0059】図16(イ)は45度のシャドーを作成す
るものであり、データ点1611が所定のシャドー幅で
データ点1612に移動され、データ点1613がデー
タ点1614に移動される。同様にして、日陰となる全
てのデータ点が移動される。図16(ロ)は45度のシ
ャドー角度に二つのデータ点を有する場合である。図1
6(ロ)において、45度の入射光線に対して、データ
点1615およびデータ点1616の二つを有する。こ
の場合、光の当たる側から見て最後のデータ点1616
のみを採用することに決めておく。そして、データ点1
616は、所定のシャドー幅でデータ点1617に移動
される。図16(ハ)は30度のシャドー角度による入
射光線のシャドーを説明するものであり、シャドー角度
が異なるのみで、上記と同様にして作成される。
FIG. 16A shows the creation of a 45-degree shadow. The data point 1611 is moved to the data point 1612 with a predetermined shadow width, and the data point 1613 is moved to the data point 1614. Similarly, all shaded data points are moved. FIG. 16B shows a case where there are two data points at a shadow angle of 45 degrees. FIG.
At 6 (b), there are two data points 1615 and 1616 for the incident light beam of 45 degrees. In this case, the last data point 1616 as viewed from the
Only decide to adopt. And data point 1
616 is moved to data point 1617 with a predetermined shadow width. FIG. 16C explains the shadow of the incident light beam at a shadow angle of 30 degrees, and is created in the same manner as described above, except that the shadow angle is different.

【0060】図17(イ)は全てのデータ点1711、
1712、・・・は、45度のシャドー角度と、所定の
シャドー幅で移動され、データ点1713、1714、
・・・となっている。しかし、図17(ロ)は、データ
点1715とデータ点1716との間にデータ点がな
く、これらのデータ点の途中で日向から日陰に変わって
いる。そこで、日向から日陰に変わる位置に新たなデー
タ点1717をエッジ点として設け、このエッジ点を4
5度のシャドー角度と所定のシャドー幅で移動して、デ
ータ点1718を作成している。
FIG. 17A shows all data points 1711,
, 1712,... Are moved at a shadow angle of 45 degrees and a predetermined shadow width, and data points 1713, 1714,.
... However, in FIG. 17B, there is no data point between the data point 1715 and the data point 1716, and the direction changes from sunny to shade in the middle of these data points. Therefore, a new data point 1717 is provided as an edge point at a position where the sun changes from shade to shade, and this edge point is set to 4
The data point 1718 is created by moving at a shadow angle of 5 degrees and a predetermined shadow width.

【0061】図18に示されている外側輪郭線は、日向
1811と日陰1812の部分とから構成されており、
日陰1812における各データ点がシャドー角度および
シャドー幅で移動される。図19には外側輪郭線からな
るシャドーが描かれている。外側輪郭線と内側輪郭線と
は、日向と日陰とでシャドーが逆の関係になる。すなわ
ち、図20(イ)に示された内側輪郭線2011および
2012は、日向2011の部分の各データ点がシャド
ー角度およびシャドー幅で移動され、シャドー2013
が作成される。図20(ロ)は内側輪郭線のシャドーが
示されている。
The outer contour shown in FIG. 18 is composed of a sun 1811 and a shade 1812.
Each data point in the shade 1812 is moved by the shadow angle and shadow width. FIG. 19 depicts a shadow consisting of an outer contour. Shadows of the outer contour and the inner contour have opposite relationships between the sun and the shade. That is, in the inner contour lines 2011 and 2012 shown in FIG. 20A, the data points in the sun 2011 portion are moved by the shadow angle and the shadow width, and the shadow 2013
Is created. FIG. 20B shows the shadow of the inside contour.

【0062】図21(イ)ないし(ニ)は本発明におけ
る陰線消去の一例を説明するための図である。図21
(イ)は輪郭線の生成、角丸処理、あるいはシャドー作
成に際して発生するループ状の陰線(以後、単に陰線と
記載する)が示されている。たとえば、図21(イ)に
おいて、各データ点AないしIが描かれている。そし
て、図21(ロ)において、データ点C、D、Eでルー
プが形成されている。したがって、図21(イ)ないし
(ハ)に示されている陰線を消去するために、図示され
ていない陰線消去手段は、先ずデータ点とデータ点との
間に交差する点があるか否かを調べる。たとえば、図2
1において、データ点Cとデータ点D、およびデータ点
Eとデータ点Fの間で交差している。次に、陰線消去手
段は、図21(ハ)に示すように、上記交点をエッジ点
Jとする。その後、陰線消去手段は、エッジ点Jより内
側のデータ点を消去する。すなわち、陰線消去手段は、
図21(ニ)に示すように、データ点Eおよびデータ点
Dを消去する。
FIGS. 21A to 21D are views for explaining an example of hidden line elimination in the present invention. FIG.
(A) shows a loop-shaped hidden line (hereinafter simply referred to as a hidden line) which is generated at the time of contour generation, rounding, or shadow creation. For example, in FIG. 21A, data points A to I are drawn. Then, in FIG. 21B, a loop is formed by the data points C, D, and E. Therefore, in order to eliminate the hidden lines shown in FIGS. 21 (a) to 21 (c), the hidden line eliminating means (not shown) first determines whether or not there is an intersecting point between the data points. Find out. For example, FIG.
At 1, the data points C and D intersect, and the data points E and F intersect. Next, as shown in FIG. 21C, the hidden line erasing means sets the intersection point as an edge point J. Thereafter, the hidden line erasing means erases data points inside the edge point J. That is, the hidden line elimination means
As shown in FIG. 21D, the data points E and D are erased.

【0063】図22は本発明の白文字黒シャドーを得る
ための図21までの処理によって得られた状態を説明す
るための図である。図23は、輪郭線を反転処理して得
られた白文字黒シャドーを説明するための図である。図
22は元のアウトラインフォントデータ2211とシャ
ドー付き輪郭線2212とを合成したものである。しか
し、図22のままでは、白文字黒シャドーにならないた
め、元のアウトラインフォントデータの内側を白く塗る
必要がある。そこで、図1における輪郭線反転部151
によって、アウトラインフォントデータの全ての出現順
を逆転させる。上記のようにアウトラインフォントデー
タの出現順を全て逆転させておくと、図23に示すよう
な白文字に黒のシャドーが付けられ、読者にとって非常
に印象の強い文字となる。
FIG. 22 is a diagram for explaining a state obtained by the processing up to FIG. 21 for obtaining a white character black shadow according to the present invention. FIG. 23 is a diagram for explaining a white character black shadow obtained by inverting a contour line. FIG. 22 shows a combination of the original outline font data 2211 and the contour line 2212 with shadow. However, in FIG. 22, white characters and black shadows do not appear, so it is necessary to paint the inside of the original outline font data white. Therefore, the contour inversion unit 151 in FIG.
Reverses the appearance order of all outline font data. If the appearance order of the outline font data is all reversed as described above, black characters are added to white characters as shown in FIG. 23, and the characters become very impressive to the reader.

【0064】塗り潰し方法は、たとえば、本出願人が既
に特許権を取得したもので、走査線と輪郭線の交差する
部分において、輪郭線の回転方向が「正」であるか、
「負」であるかの別を判断し、「正」であれば「+1」
を、「負」であれば「−1」を加算して、「0」となら
ない限り、その走査線上のドットを塗り潰す。また、他
の塗り潰し方法は、輪郭線に対して、予め外側輪郭線と
内側輪郭線との情報を与えておく。そして、上記方法
は、走査線と輪郭線との交差する部分において、輪郭線
が外側輪郭線か内側輪郭線であるかの別を判断し、外側
輪郭線であれば「+1」を、内側輪郭線であれば「−
1」を加算して、「0」とならない限り、その走査線上
のドットを塗り潰す。
The filling method is, for example, a method in which the applicant has already obtained a patent right. At the intersection of the scanning line and the contour, whether the rotation direction of the contour is “positive”
Judge whether it is "negative", and if "positive", "+1"
If the value is "negative", "-1" is added, and the dot on the scanning line is filled unless the value becomes "0". In another filling method, information on the outer contour and the inner contour is given to the contour in advance. Then, the above method determines whether the outline is an outer outline or an inner outline at a portion where the scanning line and the outline intersect. If it is a line, "-
As long as “1” is not added and becomes “0”, dots on the scanning line are painted out.

【0065】図24は本発明の第二実施例で、黒文字に
白シャドーを付けた文字を作成するためのブロック構成
図である。図25は本発明の第三実施例で、黒文字に黒
シャドーを付けた文字を作成するためのブロック構成図
である。図26は第二次輪郭線を生成した後のフローチ
ャートである。図27は黒文字に白シャドーを付けた文
字を作成する過程を説明するための図である。図28は
黒文字に白シャドーを付けた文字を説明するための図で
ある。図29は黒文字に黒シャドーを付けた文字を説明
するための図である。第一実施例と第二実施例とが異な
るのは、第二実施例が、アウトラインフォントデータ
に、第一次輪郭線および第二次輪郭線を合成処理してい
る点である。白シャドーを付けるため、第一次輪郭線と
第二次輪郭線が必要である。すなわち、図24におい
て、第一次輪郭線生成部41は、図2のフローチャート
と略同様にして生成される。異なる所は、白シャドーと
するため、第一次輪郭線のアウトラインフォントデータ
を反転している。
FIG. 24 is a block diagram of a second embodiment of the present invention for creating a character in which a black character is provided with a white shadow. FIG. 25 is a block diagram of a third embodiment of the present invention for creating a character with a black shadow added to a black character. FIG. 26 is a flowchart after the secondary contour is generated. FIG. 27 is a diagram for explaining a process of creating a character in which a white shadow is added to a black character. FIG. 28 is a diagram for explaining a character obtained by adding a white shadow to a black character. FIG. 29 is a diagram for explaining a character obtained by adding a black shadow to a black character. The difference between the first embodiment and the second embodiment is that the second embodiment combines outline font data with a primary outline and a secondary outline. To add white shadows, a primary contour and a secondary contour are required. That is, in FIG. 24, the primary contour generation unit 41 is generated in substantially the same manner as in the flowchart of FIG. In different places, the outline font data of the primary outline is inverted to make white shadows.

【0066】第二次輪郭線は、シャドー用に縮小・シフ
ト処理された後、第一次輪郭線と同様にして作成され
る。そして、図27に示すように、アウトラインフォン
トデータを反転した第一次輪郭線2711、第二次輪郭
線2712、および元のアウトラインフォントデータ2
713を合成処理部16によって合成される。その後、
黒文字に白シャドーを付けた文字が出力装置17によっ
て出力される。
The secondary outline is created in the same manner as the primary outline after the reduction / shift processing for shadows. Then, as shown in FIG. 27, the first outline 2711 and the second outline 2712 obtained by inverting the outline font data, and the original outline font data 2
713 are synthesized by the synthesis processing unit 16. afterwards,
The output device 17 outputs a character obtained by adding a white shadow to a black character.

【0067】第二実施例と第三実施例とが異なるのは、
第三実施例が、第一次輪郭線のアウトラインフォントデ
ータにシャドーを付けていないことである。すなわち、
図29に示すように、シャドー処理をしていない第一次
輪郭線2911、シャドー処理をした第二次輪郭線29
12、および元のアウトラインフォントデータ2913
が合成処理部16によって合成される。その後、黒文字
に黒シャドーを付けた文字が出力装置17によって出力
される。各実施例における塗り潰し方法は、本出願人の
提案したものを使用している。しかし、他の公知の方法
を使用することができる。たとえば、特願昭50−14
230号公報に記載されているイーブン・オッド方式で
塗り潰しを行う場合、アウトラインフォントデータの反
転は、不要になる。
The difference between the second embodiment and the third embodiment is that
The third embodiment is that the outline font data of the primary outline is not shadowed. That is,
As shown in FIG. 29, a primary contour line 2911 that has not been shadowed, and a secondary contour line 29 that has been shadowed.
12, and the original outline font data 2913
Are synthesized by the synthesis processing unit 16. Thereafter, a character obtained by adding a black shadow to a black character is output by the output device 17. The filling method in each embodiment uses the method proposed by the present applicant. However, other known methods can be used. For example, Japanese Patent Application No. 50-14
When the filling is performed by the even-odd method described in Japanese Patent Publication No. 230, the inversion of the outline font data becomes unnecessary.

【0068】以上、本実施例を詳述したが、本発明は、
前記実施例に限定されるものではない。そして、特許請
求の範囲に記載された本発明を逸脱することがなけれ
ば、種々の設計変更を行なうことが可能である。たとえ
ば、図1および図24、図25に示す一つ一つのブロッ
クには、新規性がなく、周知または公知の技術によって
達成されるものであるため、詳細な開示をしない。しか
し、本発明の主旨に沿うものであれば、各種設計変更が
可能である。特に、本発明の角丸処理およびシャドー作
成は、新規であるが、処理の一つ一つは周知の技術を使
用してできるものである。
As described above, the present embodiment has been described in detail.
It is not limited to the above embodiment. Various design changes can be made without departing from the present invention described in the appended claims. For example, each block shown in FIGS. 1 and 24 and 25 has no novelty and is achieved by a known or known technique, and thus will not be described in detail. However, various design changes are possible as long as they conform to the gist of the present invention. In particular, the rounding and shadow creation of the present invention are novel, but each one can be accomplished using well-known techniques.

【0069】アウトラインフォントデータの反転、陰線
の消去、あるいは色を塗る技術は、周知のものを使用で
きるため、一例を挙げたに過ぎない。陰線消去方法は、
たとえば、米国アドビ社の「イラストレーター」、独国
URW社の「イカルス」等によって行うことができる。
また、色を塗る技術は、輪郭線の回転方向以外に内側あ
るいは外側であることを示す属性を持たすことによって
も可能である。第二次輪郭線の生成は、元のアウトライ
ンフォントデータを読み出して生成する代わりに、輪郭
線の生成、角丸処理、あるいはシャドー作成等を行った
後のいずれを読み出して生成することもできる。
The technique of inverting the outline font data, erasing the hidden line, or painting the color can be any known technique, and thus is merely an example. The hidden line removal method is
For example, it can be performed by “Illustrator” of Adobe in the United States and “Icarus” of URW in Germany.
In addition, the technique of painting a color can be achieved by having an attribute indicating the inside or outside in addition to the rotation direction of the outline. Instead of reading and generating the original outline font data, the secondary outline can be generated by reading any of the outlines after the generation of the outline, rounding, or shadow creation.

【0070】[0070]

【発明の効果】本発明によれば、既に大量に販売されて
いるアウトラインフォントデータをそのまま利用するこ
とによって、簡単かつリアルタイムで、輪郭線付きシャ
ドーフォントを得ることができる。本発明によれば、
意の角度と幅を持ったシャドーを簡単に付けることがで
きるため、文字の深さ方向を表現できるにも係わらず、
ビットマップによって生成する文字と比較して、データ
量を非常に少なくすることができる。本発明によれば、
輪郭線付きシャドーフォントをアウトラインフォントデ
ータのみから構成しているため、生成後に縮小等の変形
加工を行っても、文字の品質が損なわれない。
According to the present invention, a shadow font with contour lines can be obtained simply and in real time by using outline font data already sold in large quantities as it is. According to the present invention, responsibility
You can easily attach a shadow with a desired angle and width
Therefore, despite being able to express the depth direction of characters ,
The data amount can be significantly reduced as compared with the character generated by the bitmap . According to the present invention,
Since the contoured shadow font is composed only of the outline font data, the quality of the character is not impaired even if deformation processing such as reduction is performed after generation.

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

【図1】本発明における第一実施例で、輪郭線付きシャ
ドーフォントを作成するためのブロック構成図である。
FIG. 1 is a block diagram of a first embodiment of the present invention for creating a shadow font with an outline.

【図2】第一実施例の輪郭線付きシャドーフォント作成
装置によってシャドー文字を作成する際のフローチャー
トである。
FIG. 2 is a flowchart when a shadow character is created by the shadow font creating apparatus with contour lines according to the first embodiment;

【図3】第一実施例の輪郭線付きシャドーフォント作成
装置によってシャドー文字を作成する際のフローチャー
トで、図2と(イ)において接続されている。
FIG. 3 is a flowchart when a shadow character is created by the contoured shadow font creating apparatus according to the first embodiment, which is connected to FIGS.

【図4】文字枠に「長」というアウトラインフォントを
説明するための図である。
FIG. 4 is a diagram for explaining an outline font “long” in a character frame.

【図5】文字枠と「長」というアウトラインフォントと
シャドーとの関係を説明するための図である。
FIG. 5 is a diagram illustrating a relationship between a character frame, an outline font called “long”, and a shadow.

【図6】「長」というアウトラインフォントを縮小した
際に文字枠に接近した状態を説明するための図である。
FIG. 6 is a diagram for explaining a state in which a character frame is approached when an outline font “long” is reduced.

【図7】「長」というアウトラインフォントをシフトし
た文字にシャドーを付けることを想定した位置に配置し
た例を示す図である。
FIG. 7 is a diagram illustrating an example in which a character obtained by shifting an outline font “long” is placed at a position where a shadow is assumed to be added.

【図8】本発明の一実施例で、輪郭線を生成する例を説
明するためのフローチャートである。
FIG. 8 is a flowchart illustrating an example of generating a contour line according to an embodiment of the present invention.

【図9】本発明の一実施例で、「長」という文字の輪郭
線を作成する際の説明図である。
FIG. 9 is an explanatory diagram when an outline of a character “long” is created in one embodiment of the present invention.

【図10】図9における輪郭線「長」の一部を拡大し
て、輪郭線の作成を説明するための図である。
FIG. 10 is a diagram for explaining creation of a contour line by enlarging a part of the contour line “length” in FIG. 9;

【図11】本発明の一実施例で、外側輪郭線の角部を丸
めるための処理を説明するためのフローチャートであ
る。
FIG. 11 is a flowchart illustrating a process for rounding a corner of an outer contour line according to an embodiment of the present invention.

【図12】「長」という文字の陰線が消去された輪郭線
を説明するための図である。
FIG. 12 is a diagram for explaining a contour line from which a hidden line of a character “long” has been deleted;

【図13】直角から構成される角部の丸め処理を説明す
るための図である。
FIG. 13 is a diagram for explaining a rounding process of a corner formed by a right angle.

【図14】(イ)は外側輪郭線と内側輪郭線における突
出した角部の丸め処理を説明するための図である。
(ロ)は角丸処理の終了した「長」という文字を説明す
るための図である。
FIG. 14A is a diagram for explaining rounding processing of protruding corners in an outer contour line and an inner contour line.
(B) is a diagram for explaining the character “long” after the rounding processing.

【図15】本発明の一実施例で、シャドーの作成を説明
するためのフローチャートである。
FIG. 15 is a flowchart illustrating the creation of a shadow according to an embodiment of the present invention.

【図16】(イ)は45度の入射光線をアウトラインフ
ォントデータ点に照射した際の影を説明するための図、
(ロ)は45度の入射光線に沿って二つのデータ点を有
する場合を説明するための図、(ハ)は30度の入射光
線でアウトラインフォントデータ点に照射した際の影を
説明するための図である。
FIG. 16A is a diagram for explaining a shadow when a 45-degree incident light beam is applied to an outline font data point;
(B) is a diagram for explaining a case having two data points along a 45-degree incident light beam, and (c) is a diagram for explaining a shadow when an outline font data point is irradiated with a 30-degree incident light beam. FIG.

【図17】(イ)および(ロ)はアウトラインフォント
データ点の間で日陰と日向が発生する場合を説明するた
めの図である。
FIGS. 17A and 17B are diagrams for explaining a case where a shade and a sun occur between outline font data points. FIGS.

【図18】外側輪郭線のシャドーを生成するための説明
図である。
FIG. 18 is an explanatory diagram for generating a shadow of an outer contour line.

【図19】外側輪郭線のシャドーを説明するための図で
ある。
FIG. 19 is a diagram for explaining shadow of an outer contour line.

【図20】(イ)および(ロ)は内側輪郭線の場合のシ
ャドーを説明するための図である。
FIGS. 20A and 20B are diagrams for explaining shadows in the case of an inner contour line.

【図21】(イ)ないし(ニ)は本発明における陰線消
去の一例を説明するための図である。
FIGS. 21A to 21D are views for explaining an example of hidden line elimination in the present invention.

【図22】本発明の白文字黒シャドーを得るための図2
1までの処理によって得られた状態を説明するための図
である。
FIG. 22 is a view for obtaining a white character black shadow of the present invention.
FIG. 3 is a diagram for explaining a state obtained by processing up to 1.

【図23】輪郭線を反転処理して得られた白文字黒シャ
ドーを説明するための図である。
FIG. 23 is a diagram for explaining a white character black shadow obtained by inverting a contour line.

【図24】本発明の第二実施例で、黒文字に白シャドー
を付けた文字を作成するためのブロック構成図である。
FIG. 24 is a block diagram of a second embodiment of the present invention for creating characters in which black characters are added with white shadows.

【図25】本発明の第三実施例で、黒文字に黒シャドー
を付けた文字を作成するためのブロック構成図である。
FIG. 25 is a block diagram of a third embodiment of the present invention for creating a black character with a black shadow.

【図26】第二次輪郭線を生成した後のフローチャート
である。
FIG. 26 is a flowchart after a secondary contour is generated.

【図27】黒文字に白シャドーを付けた文字を作成する
過程を説明するための図である。
FIG. 27 is a diagram illustrating a process of creating a character in which a white shadow is added to a black character.

【図28】黒文字に白シャドーを付けた文字を説明する
ための図である。
FIG. 28 is a diagram for explaining a character obtained by adding a white shadow to a black character.

【図29】黒文字に黒シャドーを付けた文字を説明する
ための図である。
FIG. 29 is a diagram for explaining a character obtained by adding a black shadow to a black character.

【図30】(イ)および(ロ)は一般に使用されている
シャドーを付けた文字を説明するための図である。
FIGS. 30A and 30B are views for explaining commonly used characters with shadows. FIG.

【符号の説明】[Explanation of symbols]

11・・・アウトラインフォントデータ記憶部 12・・・キーボード 13・・・読み出し部 14・・・シャドー処理部 15・・・反転処理部 16・・・合成処理部 17・・・出力装置 18・・・制御回路 141・・縮小・シフト処理・記憶部 142・・輪郭線生成部 143・・輪郭線用陰線消去部 144・・角丸処理部 145・・シャドー作成部 146・・シャドー用陰線消去部 147・・輪郭線記憶部 151・・輪郭線反転部 152・・反転した輪郭線記憶部 11 outline font data storage unit 12 keyboard 13 reading unit 14 shadow processing unit 15 inversion processing unit 16 synthesis processing unit 17 output device 18 ... Control circuit 141, reduction, shift processing, storage section 142, contour generation section 143, contour hidden line elimination section 144, rounded corner processing section 145, shadow creation section 146, shadow hidden line elimination section 147... Outline storage unit 151... Outline inversion unit 152... Inverted outline storage unit

Claims (14)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 アウトラインフォントデータを基にし
て、輪郭線付きシャドーフォントを作成する方法におい
て、 アウトラインフォントデータ記憶部から輪郭線付きシャ
ドーを作成するアウトラインフォントデータを読出し、 前記アウトラインフォントデータにおけるシャドーの基
になる第一次輪郭線を生成するための縮小・シフト処理
を行い、 前記縮小・シフト処理されたアウトラインフォントデー
タにおける各データ点を所定のシャドー角度とシャドー
幅で移動させて、第一次輪郭線を生成し、 前記第一次輪郭線の生成により発生した陰線を消去した
後、前記アウトラインフォントデータと、生成された第
一次輪郭線とを合成し、 前記アウトラインフォントの各データ点内を白とし、そ
の外側と第一次輪郭線内を黒に塗り潰す処理を行うこと
を特徴とする輪郭線付きシャドーフォントの作成方法。
1. A method for creating a shadow font with an outline based on outline font data, comprising: reading outline font data for creating a shadow with an outline from an outline font data storage unit; Performing reduction / shift processing for generating a primary primary contour line as a basis, moving each data point in the reduced / shifted outline font data at a predetermined shadow angle and shadow width, After generating a contour line and eliminating hidden lines generated by the generation of the primary contour line, the outline font data and the generated primary contour line are combined, and each data point of the outline font is generated. Is set to white and the outside and the inside of the primary contour are painted black. How to create contour with shadow font, characterized in that.
【請求項2】 アウトラインフォントデータを基にし
て、輪郭線付きシャドーフォントを作成する方法におい
て、 アウトラインフォントデータ記憶部から輪郭線付きシャ
ドーを作成するアウトラインフォントデータを読出し、 前記アウトラインフォントデータにおけるシャドーの基
になる第一次輪郭線および第二次輪郭線を生成するため
の縮小・シフト処理を行い、 前記縮小・シフト処理されたアウトラインフォントデー
タにおける少なくとも一方の各データ点を所定のシャド
ー角度とシャドー幅で移動させて、第一次輪郭線および
第二次輪郭線を生成し、 前記第一次輪郭線および第二次輪郭線の生成により発生
した陰線を消去した後、前記アウトラインフォントデー
タと、生成された第一次輪郭線および第二次輪郭線とを
合成し、 前記アウトラインフォント、第一次輪郭線と第二次輪郭
線の間、およびアウトラインフォントと第一次輪郭線と
の間を白または黒によって塗り潰す処理を行うことを特
徴とする輪郭線付きシャドーフォントの作成方法。
2. A method for creating a shadow font with an outline based on outline font data, comprising: reading outline font data for creating a shadow with an outline from an outline font data storage unit; Performing a reduction / shift process for generating a primary primary contour line and a secondary contour line as a basis, and converting at least one of the data points in the reduced / shifted outline font data into a predetermined shadow angle and a predetermined shadow angle; By moving the width, to generate a primary outline and a secondary outline, after eliminating the hidden line generated by the generation of the primary outline and the secondary outline, the outline font data, Combining the generated primary contour and the secondary contour, Outline font, a shadow font with a contour line characterized by performing a process of filling between a primary contour line and a secondary contour line and between an outline font and a primary contour line with white or black. How to make.
【請求項3】 請求項1記載の第一次輪郭線、または請
求項2記載の第一次輪郭線および第二次輪郭線における
角部に対する丸め処理の後に発生した陰線を消去するこ
とを特徴とする輪郭線付きシャドーフォントの作成方
法。
3. The method according to claim 1, wherein a hidden line generated after rounding a corner of the primary contour or the primary contour and the secondary contour according to claim 2 is eliminated. How to create a shadow font with an outline.
【請求項4】 請求項1記載の第一次輪郭線、または請4. The primary contour line according to claim 1,
求項2記載の第一次輪郭線および第二次輪郭線におけるIn the primary contour and the secondary contour according to claim 2,
シャドー作成処理の後に発生した陰線を消去することをRemove hidden lines after shadow creation process
特徴とする輪郭線付きシャドーフォントの作成方法。How to create a featured shadow font with outlines.
【請求項5】 請求項2記載の第一次輪郭線は、アウト
ラインフォントデータの外側に生成される内側輪郭線
で、請求項2記載の第二次輪郭線は、アウトラインフォ
ントデータの外側で、前記第一次輪郭線の外側輪郭線で
あることを特徴とする輪郭線付きシャドーフォントの作
成方法。
5. The primary contour according to claim 2, wherein the primary contour is an inner contour generated outside the outline font data, and the secondary contour according to claim 2 is a contour outside the outline font data. A method for creating a shadow font with a contour, wherein the contour font is an outer contour of the primary contour.
【請求項6】 アウトラインフォントデータを基にし
て、請求項2記載の第一次輪郭線用のシャドーを作成し
た後、アウトラインフォントデータを基にして、請求項
2記載の第二次輪郭線用シャドーを作成することを特徴
とする輪郭線付きシャドーフォントの作成方法。
6. The method according to claim 2, wherein the shadow for the primary contour according to claim 2 is created based on the outline font data, and then the shadow for the secondary contour according to claim 2 is created based on the outline font data. A method for creating a shadow font with an outline, characterized by creating a shadow.
【請求項7】 アウトラインフォントデータを基にし
て、請求項2記載の第一次輪郭線用のシャドーを作成し
た後、当該第一次輪郭線用のシャドーを基にして、請求
項2記載の第二次輪郭線用シャドーを作成することを特
徴とする輪郭線付きシャドーフォントの作成方法。
7. The method according to claim 2, wherein a shadow for the primary contour according to claim 2 is created based on the outline font data, and the shadow for the primary contour is created based on the shadow for the primary contour. A method for creating a shadow font with an outline, comprising creating a shadow for a secondary outline.
【請求項8】 請求項1記載の第一次輪郭線、または請
求項2記載の第一次輪郭線および第二次輪郭線は、アウ
トラインフォントデータにおける各データ点を線に対す
る接線方向に移動させた後、当該移動させたデータ点に
よって生成された線どうしが交差する点を求め、当該交
点を新たな輪郭線のデータ点とすることを特徴とする輪
郭線付きシャドーフォントの作成方法。
8. The primary contour according to claim 1, or the primary contour and the secondary contour according to claim 2, by moving each data point in the outline font data in a tangential direction to the line. After that, a point at which lines generated by the moved data points intersect is determined, and the intersection is used as a data point of a new outline.
【請求項9】 直線の交点を中心にして、オフセット幅
を半径とした円弧、3次ベジエ曲線を用いた円弧、3次
スプライン曲線により円弧を描きその中心点をカーブ点
とした円弧、予め決められた丸み、の内の少なくとも一
つの処理方法により請求項1記載の第一次輪郭線、また
は請求項2記載の第一次輪郭線および第二次輪郭線の角
部を丸めることを特徴とする輪郭線付きシャドーフォン
トの作成方法。
9. An arc centered on the intersection of straight lines and having an offset width as a radius, an arc using a cubic Bezier curve, an arc drawn by a cubic spline curve, and an arc having a center point as a curve point, which is determined in advance. Wherein the corners of the primary contour line according to claim 1 or the primary contour line and the secondary contour line according to claim 2 are rounded by at least one of the rounding methods. To create shadow fonts with contour lines.
【請求項10】 直線部のシャドーは、所望のシャドー
角度およびシャドー幅でデータ点を移動させ、一部に日
陰を有する曲線部のシャドーは、曲線を二分割してエッ
ジ点を作成した後、当該エッジ点から曲線を移動させ、
その接続部を円滑にしてシャドーを作成することを特徴
とする請求項2記載の輪郭線付きシャドーフォントの作
成方法。
10. The shadow of a straight line portion moves data points at a desired shadow angle and shadow width, and the shadow of a curved portion having a partly shade forms an edge point by dividing a curve into two parts. Move the curve from the edge point,
3. The method for producing a shadow font with an outline according to claim 2, wherein the connection is made smoothly to produce a shadow.
【請求項11】 アウトラインフォントデータを基にし
た輪郭線付きシャドーフォント作成装置において、 アウトラインフォントデータを読み出す読出手段と、 上記読み出されたアウトラインフォントデータを所定の
大きさと位置に配置する縮小・シフト処理手段と、 アウトラインフォントの全体に付ける第一次輪郭線およ
び/または第二次輪郭線を生成する輪郭線生成手段と、 当該第一次輪郭線および/または第二次輪郭線を生成す
る際に発生した陰線を消去する輪郭線用陰線消去手段
と、 生成された輪郭線の角部を丸め処理する角丸処理手段
と、 前記各手段によって生成された第一次輪郭線および/ま
たは第二次輪郭線を基にして、所定のシャドー角度およ
びシャドー幅によって、上記各輪郭線の各データ点を移
動させるシャドー作成手段と、 当該シャドー作成手段でシャドーを作成する際に発生し
た陰線を消去するシャドー用陰線消去手段と、 アウトラインフォントデータとシャドーの付けられた第
一次輪郭線および/または第二次輪郭線データを合成す
る合成処理手段と、 を備えていることを特徴とする輪郭線付きシャドーフォ
ント作成装置。
11. A contour font creating apparatus based on outline font data, comprising: reading means for reading outline font data; reduction / shift for arranging the read outline font data at a predetermined size and position; Processing means; contour generating means for generating a primary contour and / or a secondary contour attached to the entire outline font; and generating the primary contour and / or the secondary contour. Contour line erasing means for erasing hidden lines generated in the above, a rounding processing means for rounding corners of the generated contour lines, a primary contour line and / or a second contour line generated by each of the means. Based on the next contour, create a shadow by moving each data point of each of the above contours at a predetermined shadow angle and shadow width. Means, shadow shadow erasing means for erasing shadow lines generated when shadows are created by the shadow creating means, primary outline lines and / or secondary outline line data with outline font data and shadows And a synthesizing processing means for synthesizing a shadow font.
【請求項12】 上記装置によって作成される文字は、
白抜きのアウトラインフォントに黒のシャドーが付けら
れていることを特徴とする請求項11記載の輪郭線付き
シャドーフォント作成装置。
12. The character created by the above device,
12. The shadow font creation device with contour lines according to claim 11 , wherein a black outline is attached to the outline font.
【請求項13】 上記装置によって作成される文字は、
黒べたのアウトラインフォントに白のシャドーが付けら
れていることを特徴とする請求項11記載の輪郭線付き
シャドーフォント作成装置。
13. The character created by the above device,
13. The shadow font creating apparatus with contour lines according to claim 11 , wherein a white solid shadow is added to a black solid outline font.
【請求項14】 上記装置によって作成される文字は、
黒べたのアウトラインフォントに黒のシャドーが付けら
れていることを特徴とする請求項11記載の輪郭線付き
シャドーフォント作成装置。
14. The character created by the above device,
12. The shadow font creating apparatus with contour lines according to claim 11 , wherein a black solid outline font is provided with a black shadow.
JP8159122A 1996-05-31 1996-05-31 Method and apparatus for creating shadow font with contour Expired - Fee Related JP2960889B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8159122A JP2960889B2 (en) 1996-05-31 1996-05-31 Method and apparatus for creating shadow font with contour

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8159122A JP2960889B2 (en) 1996-05-31 1996-05-31 Method and apparatus for creating shadow font with contour

Publications (2)

Publication Number Publication Date
JPH09325751A JPH09325751A (en) 1997-12-16
JP2960889B2 true JP2960889B2 (en) 1999-10-12

Family

ID=15686724

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8159122A Expired - Fee Related JP2960889B2 (en) 1996-05-31 1996-05-31 Method and apparatus for creating shadow font with contour

Country Status (1)

Country Link
JP (1) JP2960889B2 (en)

Also Published As

Publication number Publication date
JPH09325751A (en) 1997-12-16

Similar Documents

Publication Publication Date Title
JP3375638B2 (en) Anti-aliasing device and method for automatic high-speed alignment of horizontal and vertical edges to target grid
JPH07334144A (en) Method for change of thickness of raster output character
US5361333A (en) System and method for generating self-overlapping calligraphic images
Bigelow The font wars, part 1
JP2960889B2 (en) Method and apparatus for creating shadow font with contour
Lim et al. Oriental character font design by a structured composition of stroke elements
JP2873998B2 (en) Method and apparatus for creating shadow in outline font by element
JPH0812544B2 (en) Character font generator
Flowers Digital type manufacture: an interactive approach
JPH0277889A (en) Graphic painting-out system
JP2833101B2 (en) Pattern deformation method
JPH0877324A (en) Electronic filing device
Klassen Variable width splines: a possible font representation?
JP3170155B2 (en) Font expansion device
JP3355265B2 (en) Method and device for filling hollow characters
JPH04280296A (en) Contour data processing device
JPH06175639A (en) Method and device for character generation
Van Zandt PSTricks
JPS62201496A (en) Font memory system, font output system and font editing system
JPH096309A (en) Writing brush font generating method
JP3556758B2 (en) Font expression method and rasterizer
JP3378662B2 (en) Document processing device
Adams A dialogue of forms: letter and digital font design
JP2800865B2 (en) Character processor
JPH05265428A (en) Outline data converting device

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070730

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080730

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees