JPH0981108A - Character pattern generating device and method therefor - Google Patents

Character pattern generating device and method therefor

Info

Publication number
JPH0981108A
JPH0981108A JP8154121A JP15412196A JPH0981108A JP H0981108 A JPH0981108 A JP H0981108A JP 8154121 A JP8154121 A JP 8154121A JP 15412196 A JP15412196 A JP 15412196A JP H0981108 A JPH0981108 A JP H0981108A
Authority
JP
Japan
Prior art keywords
character pattern
data
generating
character
stroke
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.)
Withdrawn
Application number
JP8154121A
Other languages
Japanese (ja)
Inventor
Hiroyuki Amano
博之 天野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP8154121A priority Critical patent/JPH0981108A/en
Priority to TW085108008A priority patent/TW322555B/zh
Priority to KR1019960027866A priority patent/KR100225762B1/en
Priority to CN96110187A priority patent/CN1124557C/en
Publication of JPH0981108A publication Critical patent/JPH0981108A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/22Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of characters or indicia using display control signals derived from coded signals representing the characters or indicia, e.g. with a character-code memory
    • G09G5/24Generation of individual character patterns
    • G09G5/28Generation of individual character patterns for enhancement of character form, e.g. smoothing
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/485Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by the process of building-up characters or image elements applicable to two or more kinds of printing or marking processes

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Dot-Matrix Printers And Others (AREA)

Abstract

PROBLEM TO BE SOLVED: To generate a reverse character pattern from stroke font data by generating a contour pattern based on control point data converted so as to correspond to an outputted character size. SOLUTION: A CPU 1 performs the control of a whole device and program and arithmetic processing, and the program is stored in a ROM 3. The radical constituting data of a radical to be an object of generation are fetched from a generating object character. A body part composed of the fetched core and thickness is combined with the start and the end of writing and stroke data are prepared by means of a control point of one contour. The generating method of a character pattern is selected from the output size of a character to be currently generated. When a processing speed is higher for extracting a contour after reducing the size, one-contour data are converted to have a size suitable for contour extraction. The contour of a stroke is generated at the developing position in a generating object radical based on the contour control point of the stroke and then the contour of the stroke is painted out.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、文字パターン発生
装置及び方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character pattern generating device and method.

【0002】[0002]

【従来の技術】従来、ストロークの合成による文字パタ
ーンの生成は、出力サイズに座標変換したストロークを
塗りつぶしまでしたうえで、重ねあわせて文字を発生さ
せていた。しかしこの方法は、大きなサイズの輪郭パタ
ーン(白抜き文字)を生成する際、複数回に分けて輪郭
パターンを生成するため、クリッピング処理(領域に関
係する座標データの抽出処理)、及び、輪郭抽出処理
(生成されたビットマップパターンを走査して輪郭を抽
出する処理)に時間がかかるという問題があった。
2. Description of the Related Art Conventionally, in the generation of a character pattern by synthesizing strokes, strokes whose coordinates have been converted into an output size are filled up, and then characters are generated by superimposing them. However, in this method, when a large-sized contour pattern (white characters) is generated, the contour pattern is generated by dividing it into a plurality of times, so that clipping processing (coordinate data extraction processing related to the area) and contour extraction are performed. There is a problem that the processing (processing for scanning the generated bitmap pattern and extracting the contour) takes time.

【0003】また、ストロークフォントデータから白抜
き文字を発生させる場合、交差する輪郭データがあるた
め、容易に白抜き文字を発生させることができなかっ
た。
Further, when a blank character is generated from stroke font data, it is not possible to easily generate a blank character because there is contour data that intersects.

【0004】[0004]

【発明が解決しようとする課題】本発明は、以上の様な
従来の技術を鑑みて、文字発生処理の高速化を図ること
を目的とする。また、出力サイズでのストローク単位塗
りつぶしや白抜き輪郭文字の発生のほうが処理速度が早
い場合、この方式を使い、分割数が多くなり、小さいを
サイズでの合成行い、そこから輪郭抽出を行ったほうが
処理速度が早い場合はこちらの方式を使う。このよう
に、文字サイズにかかわらず、早い処理速度を保つこと
を目的とする。
SUMMARY OF THE INVENTION In view of the above conventional techniques, it is an object of the present invention to speed up character generation processing. In addition, if the processing speed is faster when filling strokes at the output size or generating outline characters with outlines, this method is used, the number of divisions increases, and the smaller size is combined, and the outline is extracted from there. This method is used when the processing speed is faster. In this way, the object is to maintain a high processing speed regardless of the character size.

【0005】また、本発明は、以上の様な従来の技術を
鑑みて、ストロークフォントデータから白抜き文字を発
生させることを目的とする。
Another object of the present invention is to generate an outline character from stroke font data in view of the above conventional techniques.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に、本発明の文字パターン発生装置は、ストロークフォ
ントデータに基づき文字パターンデータを生成する生成
手段と、前記生成手段により生成された文字パターンデ
ータに基づき、制御点データを抽出する抽出手段と、前
記抽出手段により抽出された制御点データを出力すべき
文字サイズに対応するように変換する変換手段と、前記
変換手段により変換された制御点データに基づき輪郭パ
ターンを発生させる発生手段とを有することを特徴とす
る文字パターン発生装置。
In order to achieve the above object, a character pattern generating device of the present invention comprises a generating means for generating character pattern data based on stroke font data, and a character pattern generated by the generating means. Extraction means for extracting control point data based on the data, conversion means for converting the control point data extracted by the extraction means so as to correspond to the character size to be output, and control points converted by the conversion means A character pattern generation device, comprising: a generation unit that generates a contour pattern based on data.

【0007】また、上記目的を達成するために、本発明
の文字パターン発生装置は、ストロークフォントデータ
を変倍し、変倍されたストロークフォントデータに基づ
きビットマップデータを生成し、生成されたビットマッ
プデータを合成することにより文字パターンを発生させ
る第1発生手段と、ストロークフォントデータからビッ
トマップデータを生成し、生成されたビットマップデー
タを合成し、合成されたビットマップデータから制御点
データを抽出し、抽出された制御点データを変倍し、変
倍された制御点データに基づき文字パターンを発生させ
る第2発生手段と、発生させるべき文字のサイズを認識
する認識手段とを有し、前記認識手段により認識された
サイズに基づいて、前記第1発生手段、または、前記第
2発生手段を用いて文字パターンを発生させることを特
徴とする。
To achieve the above object, the character pattern generator of the present invention scales stroke font data, generates bitmap data based on the scaled stroke font data, and generates the generated bit. First generating means for generating a character pattern by synthesizing map data, bitmap data is generated from stroke font data, the generated bitmap data is synthesized, and control point data is generated from the synthesized bitmap data. A second generation means for extracting and scaling the extracted control point data and generating a character pattern based on the scaled control point data; and a recognition means for recognizing the size of the character to be generated, Based on the size recognized by the recognition means, the first generation means or the second generation means is used. And wherein the generating the character pattern.

【0008】また、上記目的を達成するため本発明の文
字パターン発生装置は、ストロークフォントデータに基
づき文字パターンデータを生成する生成工程と、前記生
成工程により生成された文字パターンデータに基づき、
制御点データを抽出する抽出工程と、前記抽出工程によ
り抽出された制御点データを出力すべき文字サイズに対
応するように変換する変換工程と、前記変換工程により
変換された制御点データに基づき文字パターンを発生さ
せる発生工程とを有することを特徴とする。
Further, in order to achieve the above object, the character pattern generator of the present invention comprises a generation step of generating character pattern data based on stroke font data, and a character pattern data generated by the generation step.
An extraction step of extracting the control point data, a conversion step of converting the control point data extracted by the extraction step so as to correspond to a character size to be output, and a character based on the control point data converted by the conversion step. And a generating step for generating a pattern.

【0009】また、上記目的を達成するために、本発明
の文字パターン発生方法は、ストロークフォントデータ
を変倍し、変倍されたストロークフォントデータに基づ
きビットマップデータを生成し、生成されたビットマッ
プデータを合成することにより文字パターンを発生させ
る第1発生工程と、ストロークフォントデータからビッ
トマップデータを生成し、生成されたビットマップデー
タを合成し、合成されたビットマップデータから制御点
データを抽出し、抽出された制御点データを変倍し、変
倍された制御点データに基づき文字パターンを発生させ
る第2発生工程と、発生させるべき文字のサイズを認識
する認識工程とを有し、前記認識工程により認識された
サイズに基づいて、前記第1発生工程、または、前記第
2発生工程を用いて文字パターンを発生させることを特
徴とする。
In order to achieve the above object, the character pattern generating method of the present invention scales stroke font data, generates bitmap data based on the scaled stroke font data, and generates the generated bits. The first generation step of generating a character pattern by synthesizing map data, generating bitmap data from stroke font data, synthesizing the generated bitmap data, and generating control point data from the synthesized bitmap data. A second generation step of extracting and scaling the extracted control point data and generating a character pattern based on the scaled control point data; and a recognition step of recognizing the size of the character to be generated, The first generation step or the second generation step is used based on the size recognized by the recognition step. And wherein the generating the character pattern.

【0010】[0010]

【発明の実施の形態】次に本発明の実施の形態について
説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Next, embodiments of the present invention will be described.

【0011】図1は、本発明にかかる文字パターン発生
装置の基本的な構成を示すブロック図である。本システ
ムは日本語ワードプロセッサに限らず、プリンタ単体、
ワークステーション、あるいはコンピュータシステムで
あっても良い。図1において1はCPUで、即ち中央処
理装置であり、本装置全体の制御、後述するフローチャ
ートに係るプログラムの処理、及び、演算処理を行う。
2はRAMで、即ちランダムアクセスメモリであり、要
用な処理毎にそれぞれのプログラム及びデータがロード
され、実行される領域である。3はROMで、即ち読み
出し専用メモリであり、システム制御プログラムや、後
述するフローチャートに係るプログラムや、フォントデ
ータなどの記憶領域である。4はKBCで、即ちキーボ
ード制御部であり、5はKBで、即ちキーボードよりキ
ー入力によりデータを受け取りCPUへ伝達する。6は
PRTCで、即ちプリンタ制御部であり、7はPRT
で、即ちプリンタ装置である。これは、レーザービーム
プリンタ、バブルジェットプリンタなどのドットプリン
タである。8はCRTCで、即ちディスプレイ制御部で
ある。9はCRTで、即ちディスクプレイ装置で、8か
ら送られてきたデータを表示する。10はDKC、即ち
ディスク制御部であり、データ伝送などの制御を行うも
のである。11はFD即ちフロピーディスク装置あるい
はHD即ちハードディスク装置などの外部記憶装置であ
り、プログラム及びデータを記憶させておき、実行時必
要に応じて参照またはRAM2へロードする。12はシ
ステムバスであり、上述の構成要素間におけるデータ転
送の通路となるべきものである。
FIG. 1 is a block diagram showing the basic configuration of a character pattern generator according to the present invention. This system is not limited to Japanese word processor
It may be a workstation or a computer system. In FIG. 1, reference numeral 1 denotes a CPU, that is, a central processing unit, which performs control of the entire apparatus, processing of a program according to a flowchart described later, and arithmetic processing.
Reference numeral 2 denotes a RAM, that is, a random access memory, which is an area in which each program and data are loaded and executed for each required process. Reference numeral 3 denotes a ROM, that is, a read-only memory, which is a storage area for a system control program, a program relating to a flowchart described later, font data, and the like. 4 is a KBC, that is, a keyboard control unit, and 5 is KB, that is, receives data by key input from the keyboard and transmits it to the CPU. 6 is a PRTC, that is, a printer control unit, and 7 is a PRT.
That is, the printer device. This is a dot printer such as a laser beam printer or bubble jet printer. Reference numeral 8 is a CRTC, that is, a display controller. Reference numeral 9 denotes a CRT, that is, a disc play device, which displays the data sent from 8. Reference numeral 10 denotes a DKC, that is, a disk control unit, which controls data transmission and the like. Reference numeral 11 denotes an external storage device such as an FD, that is, a floppy disk device or an HD, that is, a hard disk device, which stores programs and data, and which is referenced or loaded into the RAM 2 at the time of execution as required. Reference numeral 12 is a system bus, which should serve as a path for data transfer between the above-mentioned components.

【0012】図2は本発明の文字パターン発生処理手順
の流れを説明するフローチャートである。なお、ステッ
プ2−1〜2−21は各ステップを示す。また、このフ
ローチャートに係るプログラムはROM3に記憶されて
いる。
FIG. 2 is a flow chart for explaining the flow of the character pattern generation processing procedure of the present invention. Note that steps 2-1 to 2-21 indicate each step. The program according to this flowchart is stored in the ROM 3.

【0013】ステップ2−1は、発生対象の文字のco
deを取り込む。次にステップ2−2ではステップ2−
1で取り込んだcodeの文字の構成データを取り込
む。尚、この文字構成データは図3に示す通り、文字を
構成している部首の種類とその数等からなっている。こ
の文字構成データにある部首の種類とは、それぞれにつ
けられたID番号のことを指す。このID番号とは図4
に示す通り、メインIDとサブIDからなっている。メ
インIDは部首の種類そのものを表し、サブIDはそれ
ぞれの部首において、幅、高さ、太さ等の違いを表して
いる。次にステップ2−3では、ステップ2−2で得た
発生対象文字を構成している部首の内、発生対象とする
部首の部首構成データを取り込む。この部首構成データ
は図3に示す通り、部首を構成しているストロークの種
類とその数等からなっており、このストロークの種類と
はそれぞれにつけられたID番号のことを指す。このI
D番号とは図5に示す通り、メインIDとサブIDから
なっている。メインIDはストロークの種類そのものを
表し、サブIDはそれぞれのストロークにおいて、幅、
高さ、曲率、太さ等の違いを表している。次にステップ
2−4へ移りステップ2−3で取り込んだ部首を構成し
ているストロークの内、発生対象のストロークの構成デ
ータを取り込む。次にステップ2−5へ移り、始筆部、
終筆部、ボディ部の各データを取り込む。次にステップ
2−6へ移りステップ2−5で取り込んだ芯線と太さか
らなるボディ部に始筆部、終筆部を図6に示すように、
組み合わせることにより1輪郭の制御点によるストロー
クデータを作成する。次にステップ2−7へ移り、現在
発生させようとしている文字の出力サイズから、文字パ
ターン発生方法を選択する。この時の選択方法は、予め
内部メモリと出力サイズからどちらの処理で行う方が早
いか境界となるサイズを求めておき、そのサイズとの大
小関係で選択する。出力サイズによる判定で、縮小した
後に輪郭抽出した方が処理速度が早い場合は、ステップ
2−8へ移り、輪郭抽出処理の高速化のため、1輪郭デ
ータを輪郭抽出に適したサイズへ変換する。次にステッ
プ2−9では、ステップ2−6で作成したストロークの
輪郭制御点を元に発生対象部首中の展開位置にストロー
クの輪郭を発生させる。次にステップ2−10へ移り、
ステップ2−9で得たストロークの輪郭を塗りつぶす。
次にステップ2−11へ移り、部首を構成しているスト
ロークすべてについて、部首展開面にストロークを発生
させたかどうかを判定する。まだ発生させていないスト
ロークがあった場合は、ステップ2−4の入り口に戻り
上記処理を繰り返す。対象部首を構成しているストロー
クすべてについて輪郭を発生し終わっていたらステップ
2−12へ移りステップ2−11までに作成した部首を
文字展開面の所定の位置に組み合わせる。このようにし
て対象部首を文字展開面の所定の位置に組み合わせた
ら、ステップ2−13へ移り文字を構成している部首す
べてを文字展開面に組み合わせたかどうかを判定する。
まだ組み合わせる部首が残っている場合には、ステップ
2−3の入り口に戻り上記処理を繰り返す。対象文字を
構成している部首すべてを組み込み終っていたらステッ
プ2−14へ移り上記処理で作成された文字のビットマ
ップパターンとそれを構成している各ストロークの輪郭
データから、各ストローク間の輪郭の交差等を考慮しな
がら文字の輪郭制御点を抽出する。
In step 2-1 the character of the character to be generated is co
Take in de. Next, in step 2-2, step 2-
The constituent data of the character of the code captured in 1 is captured. As shown in FIG. 3, the character structure data includes the type and number of radicals forming the character. The radical type in the character structure data refers to an ID number assigned to each radical. What is this ID number?
As shown in, it is composed of a main ID and a sub ID. The main ID represents the type of radical itself, and the sub ID represents the difference in width, height, thickness, etc. in each radical. Next, in step 2-3, radical configuration data of the radical to be generated out of the radicals forming the generation target character obtained in step 2-2 is fetched. As shown in FIG. 3, this radical configuration data is made up of the types of strokes forming the radical and the number thereof, and this type of stroke refers to the ID number assigned to each. This I
As shown in FIG. 5, the D number is composed of a main ID and a sub ID. The main ID represents the type of stroke itself, and the sub ID in each stroke is the width,
It shows the difference in height, curvature, thickness, etc. Next, the process proceeds to step 2-4, and among the strokes forming the radical captured in step 2-3, the configuration data of the stroke to be generated is captured. Next, move to step 2-5,
Import each data of the final part and body part. Next, in Step 2-6, as shown in FIG. 6, the starting writing portion and the finishing writing portion are formed on the body portion including the core wire and the thickness captured in Step 2-5.
By combining them, stroke data based on one contour control point is created. Next, in step 2-7, the character pattern generation method is selected from the output size of the character that is currently being generated. As a selection method at this time, a size serving as a boundary is previously obtained from the internal memory and the output size as to which process is faster, and the size is selected in relation to the size. If the processing speed is faster when the contour extraction is performed after the reduction in the determination based on the output size, the process proceeds to step 2-8, and one contour data is converted into a size suitable for the contour extraction in order to speed up the contour extraction processing. . Next, in step 2-9, based on the stroke contour control points created in step 2-6, a stroke contour is generated at the developed position in the generation target radical. Then move to step 2-10
Fill the outline of the stroke obtained in step 2-9.
Next, the process proceeds to step 2-11, and it is determined whether or not a stroke has been generated on the radical developing surface for all the strokes forming the radical. If there is a stroke that has not been generated yet, the process returns to the entrance of step 2-4 and the above process is repeated. When the contours have been generated for all strokes forming the target radical, the process proceeds to step 2-12 and the radicals created up to step 2-11 are combined with a predetermined position on the character development surface. When the target radical is combined with the predetermined position on the character development surface in this manner, the process proceeds to step 2-13, and it is determined whether all radicals forming the character have been combined with the character development surface.
If there are still radicals to be combined, the process returns to the entrance of step 2-3 to repeat the above process. When all radicals forming the target character have been incorporated, the process moves to step 2-14, and from the bitmap pattern of the character created by the above process and the outline data of each stroke forming the character Character contour control points are extracted while considering contour intersections and the like.

【0014】更に具体的に説明すると、一方のストロー
クのビットマップパターンと他方のストロークの輪郭デ
ータを用いて、他方のストロークの輪郭をなぞってい
く。このとき輪郭上の自身の点の回り8隣接点を調べな
がら、輪郭をなぞり一方のストロークのビットマップパ
ターンの中に入る点を見つけそこに新たに制御点を設け
る。同じ様にして、ビットマップパターンの中から出る
点を見つけ新たに制御点を設ける。次に、一方のストロ
ークの輪郭データと他方のストロークのビットマップパ
ターンを用いることにより、新たに制御点を見つけるこ
とができ、この新たに見つけられた制御点と輪郭データ
の制御点とにより1輪郭の制御点を抽出することができ
る。
More specifically, the contour of the other stroke is traced using the bitmap pattern of one stroke and the contour data of the other stroke. At this time, while checking the 8 adjacent points around its own point on the contour, the contour is traced to find a point within the bitmap pattern of one stroke, and a new control point is provided there. In the same manner, a point that comes out of the bitmap pattern is found and a new control point is provided. Next, a control point can be newly found by using the contour data of one stroke and the bitmap pattern of the other stroke, and one contour can be found by the newly found control point and the control point of the contour data. Control points can be extracted.

【0015】次にステップ2−15へ移りステップ2−
14で得た文字の輪郭制御点を、ステップ2−8で変換
した輪郭抽出に適したサイズから出力サイズに座標変換
し、出力サイズにおける文字の輪郭パターンを発生させ
る。次にステップ2−16へ移り、ステップ2−15ま
での処理で発生された文字の輪郭を元に文字パターンの
塗りつぶしを行う。次にステップ2−7で記憶容量が足
りると判定された場合ステップ2−17へ移り、2−6
で得たストロークの輪郭制御点を出力サイズに座標変換
する。次にステップ2−18へ移り、ステップ2−17
で座標変換したストロークの輪郭制御点を元に発生対象
部首中の展開位置にストロークの輪郭を発生させる。次
にステップ2−19へ移り、ステップ2−18までに得
たストロークの輪郭に対し塗りつぶしを行う。ストロー
クの塗りつぶしまでの処理を行ったら、ステップ2−2
0へ移り、対象部首を構成しているストロークすべてに
ついて、塗りつぶしまでの処理を終了したかどうかを判
定する。まだ終了していなければステップ2−4の入り
口へ戻り上記処理を繰り返す。このとき、2つ目以降の
ストロークは、同一部首展開面に重ねて発生させてい
く。以上のようにして対象部首のビットマップデータが
生成されたら、ステップ2−21へ移りこの部首のパタ
ーンデータを文字中の発生位置へ張りつける。次にステ
ップ2−22へ移り対象とする文字を構成している部首
すべてについて、張り付けが終了したかどうかを判定す
る。終了していなければステップ2−3の入り口まで戻
り、上記処理を繰り返す。以上のようなメモリ容量と出
力サイズの違いによる、文字パターン発生方法の違いを
単純なパターンを例に図7に示す。出力サイズで合成を
行った方が早い場合は、a−1の様に、出力サイズに座
標変換したストロークを塗りつぶし、発生位置に発生さ
せる。このようにして次々ストロークを上書きして発生
させていくことにより、a−2のようにパターンを発生
させる。出力サイズで合成を行うと遅くなる場合は、b
−1の様に、これから行う輪郭抽出処理に適したサイズ
への座標変換を行い、次にb−2の様に塗りつぶしたパ
ターンと塗りつぶしていないパターンとを発生させる。
次にb−3の様に次のストロークも同様に発生させ、こ
の2つのパターンからストローク間の重なりを判定しb
−4の1輪郭を発生させる。その後b−5の様に出力サ
イズに座標変換し、塗りつぶすことによって、b−6の
パターンを発生することができる。
Then, the process proceeds to step 2-15, step 2-
The contour control points of the character obtained in 14 are coordinate-converted from the size suitable for the contour extraction converted in step 2-8 to the output size, and the contour pattern of the character in the output size is generated. Next, the process proceeds to step 2-16, and the character pattern is filled based on the contour of the character generated by the processing up to step 2-15. Next, when it is determined in step 2-7 that the storage capacity is sufficient, the process proceeds to step 2-17, 2-6
Coordinate conversion of the contour control points of the stroke obtained in step 1 to output size. Next, the process proceeds to step 2-18 and step 2-17
The contour of the stroke is generated at the development position in the generation target radical based on the contour control point of the stroke whose coordinates have been converted by. Next, the process proceeds to step 2-19, and the stroke contours obtained up to step 2-18 are painted. After the strokes are filled up, step 2-2
Moving to 0, it is determined whether or not the processing up to filling has been completed for all strokes forming the target radical. If not completed, return to the entrance of step 2-4 and repeat the above processing. At this time, the second stroke and the subsequent strokes are generated overlapping with the same radical developing surface. When the bitmap data of the target radical is generated as described above, the process moves to step 2-21 and the pattern data of this radical is pasted to the generation position in the character. Next, the process proceeds to step 2-22, and it is judged whether or not the sticking is completed for all radicals forming the target character. If not completed, the process returns to the entrance of step 2-3 and repeats the above process. FIG. 7 shows the difference in character pattern generation method due to the difference in memory capacity and output size as described above, using a simple pattern as an example. If it is faster to perform composition with the output size, the stroke whose coordinates have been converted into the output size is painted out and generated at the generation position as in a-1. In this way, the strokes are overwritten one after another and are generated, whereby a pattern is generated as indicated by a-2. If combining with output size is slow, b
Like -1, coordinate conversion to a size suitable for the contour extraction processing to be performed is performed, and then a filled pattern and an unfilled pattern are generated as in b-2.
Next, the next stroke is generated in the same manner as in b-3, and the overlap between the strokes is determined from these two patterns.
-4 1 contour is generated. After that, by converting the coordinates to the output size as shown in b-5 and filling it, the pattern of b-6 can be generated.

【0016】(発明の実施の形態2)図8は本発明の文
字パターン発生処理手順の流れを説明するフローチャー
トである。なお、ステップ8−1〜8−22は各ステッ
プを示す。また、このフローチャートに係るプログラム
はROM3に記憶されている。ステップ8−1は、発生
対象の文字のcodeを取り込む。次にステップ8−2
ではステップ8−1で取り込んだcodeの文字の構成
データを取り込む。尚、この文字構成データは図3に示
す通り、文字を構成している部首の種類とその数等から
なっている。この文字構成データにある部首の種類と
は、それぞれにつけられたID番号のことを指す。この
ID番号とは図4に示す通り、メインIDとサブIDか
らなっている。メインIDは部首の種類そのものを表
し、サブIDはそれぞれの部首において、幅、高さ、太
さ等の違いを表している。次にステップ8−3では、ス
テップ8−2で得た発生対象文字を構成している部首の
内、発生対象とする部首の部首構成データを取り込む。
この部首構成データは図3に示す通り、部首を構成して
いるストロークの種類とその数等からなっており、この
ストロークの種類とはそれぞれにつけられたID番号の
ことを指す。このID番号とは図5に示す通り、メイン
IDとサブIDからなっている。メインIDはストロー
クの種類そのものを表し、サブIDはそれぞれのストロ
ークにおいて、幅、高さ、曲率、太さ等の違いを表して
いる。次にステップ8−4へ移りステップ8−3で取り
込んだ部首を構成しているストロークの内、発生対象の
ストロークの構成データを取り込む。次にステップ8−
5へ移り、始筆部、終筆部、ボディ部の各データを取り
込む。次にステップ8−6へ移りステップ8−5で取り
込んだ芯線と太さからなるボディ部に始筆部、終筆部を
図6に示すように、組み合わせることにより1輪郭の制
御点によるストロークデータを作成する。次にステップ
8−7へ移り、現在発生させようとしている文字の出力
サイズから、文字パターン発生方法を選択する。この時
の選択方法は、予め内部メモリと出力サイズからどちら
の処理で行う方が早いか境界となるサイズを求めてお
き、そのサイズとの大小関係で選択する。出力サイズに
よる判定で、縮小した後に輪郭抽出した方が処理速度が
早い場合は、ステップ8−8へ移り、輪郭抽出処理の高
速化のため、1輪郭データを輪郭抽出に適したサイズへ
変換する。次にステップ8−9では、ステップ8−6で
作成したストロークの輪郭制御点を元に発生対象部首中
の展開位置にストロークの輪郭を発生させる。次にステ
ップ8−10へ移り、ステップ8−9で得たストローク
の輪郭を塗りつぶす。次にステップ8−11へ移り、部
首を構成しているストロークすべてについて、部首展開
面にストロークを発生させたかどうかを判定する。まだ
発生させていないストロークがあった場合は、ステップ
8−4の入り口に戻り上記処理を繰り返す。対象部首を
構成しているストロークすべてについて輪郭を発生し終
っていたらステップ8ー12へ移りステップ8−11ま
でに作成した部首を文字展開面の所定の位置に組み合わ
せる。このようにして対象部首を文字展開面の所定の位
置に組み合わせたら、ステップ8−13へ移り文字を構
成している部首すべてを文字展開面に組み合わせたかど
うかを判定する。まだ組み合わせる部首が残っている場
合には、ステップ8−3の入り口に戻り上記処理を繰り
返す。対象文字を構成している部首すべてを組み込み終
っていたらステップ8−14へ移り上記処理で作成され
た文字のビットマップパターンとそれを構成している各
ストロークの輪郭データから、各ストローク間の輪郭の
交差等を考慮しながら文字の輪郭制御点を抽出する。次
にステップ8−15へ移りステップ8−14で得た文字
の輪郭制御点を、ステップ8−8で変換した輪郭抽出に
適したサイズから出力サイズに座標変換し、それを元に
出力サイズにおける白抜き文字のパターンを発生させ
る。次にステップ8−7で出力サイズでの輪郭抽出の方
が処理速度が早いと判定された場合ステップ8−16へ
移り、8−6で得たストロークの輪郭制御点を出力サイ
ズに座標変換する。次にステップ8−17へ移り、ステ
ップ8−16で座標変換したストロークの輪郭制御点を
元に発生対象部首中の展開位置にストロークの輪郭を発
生させる。次にステップ8−18へ移り展開面に2つの
ストローク輪郭が展開されているかどうかを判定する。
まだ1つのストローク輪郭しか展開されていない場合
は、ステップ8−20へ移る。ステップ8−18で展開
面に2つのストローク輪郭が展開されていると判定され
た場合は、ステップ8−19へ移り2つのストローク輪
郭を合成して1つの輪郭を生成する。この合成方法は図
8に示すように展開面を各水平ラインをスキャンし、1
つ目の輪郭による点に対し、2つ目の輪郭による点が内
側にあるか外側にあるか等で、それぞれの点を残すか削
除するかを決めることにより、1輪郭を生成する。次に
ステップ8−20へ移り、対象部首を構成しているすべ
てのストロークに対し、展開、合成の一連の処理を行っ
たかどうかを判定する。まだ処理を行っていないストロ
ークがある場合は、ステップ8−4の入り口へ戻りつぎ
のストローク輪郭の展開を行う。対象部首を構成してい
るすべてのストロークに対して処理が終了していればス
テップ8−21へ移りこの部首のパターンデータを文字
中の発生位置へ張りつける。次にステップ8−22へ移
り対象とする文字を構成している部首すべてについて、
張り付けが終了したかどうかを判定する。終了していな
ければステップ8−3の入り口まで戻り、上記処理を繰
り返す。以上のようなメモリ容量と出力サイズの違いに
よる、文字パターン発生方法における出力サイズでのパ
ターン発生を、単純なパターンを例に図9に示す。9−
1、9−2で出力サイズのストロークを2つ発生させ
る。次に9−3の様にストロークの重なり合った部分の
輪郭を削除する。これは1つ目の輪郭に2つ目の輪郭を
重ね合わせた時に、輪郭の内側に2つ目の輪郭がないか
を各水平線ごとに判定して行う。このようにして9−4
の様な1輪郭を発生させる。
(Second Embodiment of the Invention) FIG. 8 is a flow chart for explaining the flow of a character pattern generation processing procedure of the present invention. Note that steps 8-1 to 8-22 indicate each step. The program according to this flowchart is stored in the ROM 3. Step 8-1 takes in the code of the character to be generated. Next step 8-2
Then, the character configuration data of the code acquired in step 8-1 is acquired. As shown in FIG. 3, the character structure data includes the type and number of radicals forming the character. The radical type in the character structure data refers to an ID number assigned to each radical. As shown in FIG. 4, the ID number is composed of a main ID and a sub ID. The main ID represents the type of radical itself, and the sub ID represents the difference in width, height, thickness, etc. in each radical. Next, in step 8-3, radical configuration data of the radical to be generated out of the radicals forming the generation target character obtained in step 8-2 is fetched.
As shown in FIG. 3, this radical configuration data is made up of the types of strokes forming the radical and the number thereof, and this type of stroke refers to the ID number assigned to each. As shown in FIG. 5, this ID number is composed of a main ID and a sub ID. The main ID represents the type of stroke itself, and the sub ID represents the difference in width, height, curvature, thickness, etc. in each stroke. Next, the process proceeds to step 8-4, and among the strokes forming the radical captured in step 8-3, the configuration data of the stroke to be generated is captured. Next Step 8-
Then, the process moves to step 5, and the respective data of the starting stroke portion, the final stroke portion, and the body portion are fetched. Next, the process proceeds to step 8-6, and the stroke portion based on the control points of one contour is combined by combining the starting stroke portion and the final stroke portion with the body portion consisting of the core wire and the thickness captured in step 8-5 as shown in FIG. create. Next, the process proceeds to step 8-7, and the character pattern generation method is selected from the output size of the character currently generated. As a selection method at this time, a size serving as a boundary is previously obtained from the internal memory and the output size as to which process is faster, and the size is selected in relation to the size. If the processing speed is faster if the contour extraction is performed after the reduction in the determination based on the output size, the process proceeds to step 8-8, and one contour data is converted to a size suitable for the contour extraction in order to speed up the contour extraction processing. . Next, in step 8-9, the contour of the stroke is generated at the developed position in the generation target neck based on the contour control point of the stroke created in step 8-6. Next, the process proceeds to step 8-10, and the outline of the stroke obtained in step 8-9 is filled. Next, the process proceeds to step 8-11, and it is determined whether or not a stroke has been generated on the radical developing surface for all strokes forming the radical. If there is a stroke that has not been generated yet, the process returns to the entrance of step 8-4 and the above processing is repeated. When contours have been generated for all strokes forming the target radical, the process proceeds to step 8-12 and the radicals created up to step 8-11 are combined with a predetermined position on the character development surface. After the target radical is combined with the predetermined position on the character development surface in this way, it is determined in step 8-13 whether all radicals forming a character are combined with the character development surface. If there are still radicals to be combined, the process returns to the entrance of step 8-3 and the above process is repeated. When all the radicals forming the target character have been incorporated, the process moves to step 8-14, and from the bit map pattern of the character created in the above process and the contour data of each stroke forming the character pattern, the interval between strokes is calculated. Character contour control points are extracted while considering contour intersections and the like. Next, the process proceeds to step 8-15, where the contour control points of the character obtained in step 8-14 are coordinate-transformed from the size suitable for contour extraction converted in step 8-8 to the output size, and based on that, the output size Generates a white character pattern. Next, when it is determined in step 8-7 that the processing speed of the contour extraction with the output size is faster, the process proceeds to step 8-16, and the contour control points of the stroke obtained in 8-6 are coordinate-converted into the output size. . Next, the process proceeds to step 8-17, and the contour of the stroke is generated at the developed position in the generation target radical based on the contour control point of the stroke whose coordinates are converted in step 8-16. Next, in step 8-18, it is determined whether or not two stroke contours are developed on the development surface.
If only one stroke contour has been developed, the process proceeds to step 8-20. When it is determined in step 8-18 that the two stroke contours are developed on the developed surface, the process proceeds to step 8-19, and the two stroke contours are combined to generate one contour. This synthesizing method scans each horizontal line on the developed surface as shown in FIG.
One contour is generated by deciding whether to leave or delete each point according to whether the point according to the second contour is inside or outside with respect to the point according to the second contour. Next, the process proceeds to step 8-20, and it is determined whether or not a series of processes of expansion and composition have been performed for all strokes forming the target radical. If there is a stroke that has not been processed yet, the process returns to the entrance of step 8-4 to develop the next stroke contour. If the processing has been completed for all the strokes forming the target radical, the process moves to step 8-21 and the pattern data of this radical is pasted to the generation position in the character. Next, move to step 8-22, for all radicals that compose the target character,
Determine whether the pasting is completed. If not completed, the process returns to the entrance of step 8-3 and the above process is repeated. FIG. 9 shows pattern generation with an output size in the character pattern generation method due to the difference in memory capacity and output size as described above, using a simple pattern as an example. 9-
Two strokes of output size are generated at 1 and 9-2. Next, the outline of the portion where the strokes overlap is deleted as shown in 9-3. This is performed by determining for each horizontal line whether or not there is a second contour inside the contour when the second contour is superposed on the first contour. In this way 9-4
1 contour is generated.

【0017】なお、発生したパターンはPRT7やCR
T9により出力される。
The generated pattern is PRT7 or CR.
It is output by T9.

【0018】以上説明したように本発明の実施の形態で
は、白抜き文字と中塗り文字とを同じプログラムで処理
することができる。
As described above, in the embodiment of the present invention, the blank characters and the filled characters can be processed by the same program.

【0019】また、本発明は、複数の機器から構成され
るシステムに適用しても、1つの機器からなる装置に適
用しても良い。また、本発明はシステム或は装置にプロ
グラムを供給することによって実施される場合にも適用
できることは言うまでもない。この場合、本発明に係る
プログラムを格納した記憶媒体が、本発明を構成するこ
とになる。そして、該記憶媒体からそのプログラムをシ
ステム或は装置に読み出すことによって、そのシステム
或は装置が、特定の態様で機能する。
The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. Further, it goes without saying that the present invention can be applied to the case where it is implemented by supplying a program to a system or an apparatus. In this case, the storage medium storing the program according to the present invention constitutes the present invention. Then, by reading the program from the storage medium to the system or device, the system or device functions in a specific mode.

【0020】[0020]

【発明の効果】以上、詳述したように本発明によればス
トロークフォントデータから白抜き文字パターンを発生
させることができる。
As described above in detail, according to the present invention, an outline character pattern can be generated from stroke font data.

【0021】また、文字サイズに応じて高速にストロー
クフォントデータから文字パターンを発生させることが
できる。
Further, a character pattern can be generated from the stroke font data at high speed according to the character size.

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

【図1】本発明の文字パターン発生装置の構成を示すブ
ロック図である。
FIG. 1 is a block diagram showing a configuration of a character pattern generation device of the present invention.

【図2】本発明の文字パターン発生の手順を示すフロー
チャートである。
FIG. 2 is a flowchart showing a procedure for generating a character pattern according to the present invention.

【図3】ストローク、部首及び文字の構成データの構成
を示した図である。
FIG. 3 is a diagram showing a configuration of stroke, radical and character configuration data.

【図4】ストロークのメインID及びサブIDを示した
図である。
FIG. 4 is a diagram showing a main ID and a sub ID of a stroke.

【図5】部首のメインID及びサブIDを示した図であ
る。
FIG. 5 is a diagram showing a main ID and a sub ID of a radical.

【図6】ストロークを構成する始筆部、終筆部、ボディ
部の組み合わせにより文字が生成される様子を示した図
である。
FIG. 6 is a diagram showing how a character is generated by a combination of a starting stroke portion, a finishing stroke portion, and a body portion that form a stroke.

【図7】本発明の2つの文字パターン発生方法におけ
る、文字パターン発生の過程を示した図である。
FIG. 7 is a diagram showing a process of generating a character pattern in two character pattern generating methods of the present invention.

【図8】白抜き文字の発生の手順を示すフローチャート
である。
FIG. 8 is a flowchart showing a procedure for generating a blank character.

【図9】白抜き文字の発生過程を示した図である。FIG. 9 is a diagram showing a process of generating white characters.

Claims (26)

【特許請求の範囲】[Claims] 【請求項1】 ストロークフォントデータに基づき文字
パターンデータを生成する生成手段と、 前記生成手段により生成された文字パターンデータに基
づき、制御点データを抽出する抽出手段と、 前記抽出手段により抽出された制御点データを出力すべ
き文字サイズに対応するように変換する変換手段と、 前記変換手段により変換された制御点データに基づき輪
郭パターンを発生させる発生手段とを有することを特徴
とする文字パターン発生装置。
1. A generating unit for generating character pattern data based on stroke font data, an extracting unit for extracting control point data based on the character pattern data generated by the generating unit, and an extracting unit for extracting the control point data. Character pattern generation comprising: a conversion unit for converting control point data to correspond to a character size to be output; and a generation unit for generating an outline pattern based on the control point data converted by the conversion unit. apparatus.
【請求項2】 前記ストロークフォントデータは、部首
の種類と数と位置を含む文字構成データ、ストロークの
種類と数と位置を含む部首構成データ、及び、始筆部と
終筆部とボディ部の組み合わせに関するストローク構成
データから構成されることを特徴とする請求項1記載の
文字パターン発生装置。
2. The stroke font data includes character configuration data including a radical type, number and position, radical configuration data including a stroke type, number and position, and a starting writing portion, a finishing writing portion and a body portion. 2. The character pattern generation device according to claim 1, wherein the character pattern generation device is composed of stroke configuration data relating to the combination of.
【請求項3】 前記発生手段により発生した文字パター
ンを出力する出力手段を有することを特徴とする請求項
1記載の文字パターン発生装置。
3. The character pattern generator according to claim 1, further comprising output means for outputting the character pattern generated by said generating means.
【請求項4】 前記出力手段はプリンタまたは表示器で
あることを特徴とする請求項1記載の文字パターン発生
装置。
4. The character pattern generator according to claim 1, wherein the output means is a printer or a display.
【請求項5】 前記抽出手段は、前記文字パターンデー
タとストロークフォントデータに基づき文字パターンの
外から中に入る点または文字パターンの中から外にでる
点を新たな制御点として抽出することを特徴とする請求
項1記載の文字パターン発生装置。
5. The extracting means extracts, as a new control point, a point entering from outside the character pattern or a point entering from the character pattern to the outside based on the character pattern data and the stroke font data. The character pattern generator according to claim 1.
【請求項6】 ストロークフォントデータを変倍し、変
倍されたストロークフォントデータに基づきビットマッ
プデータを生成し、生成されたビットマップデータを合
成することにより文字パターンを発生させる第1発生手
段と、 ストロークフォントデータからビットマップデータを生
成し、生成されたビットマップデータを合成し、合成さ
れたビットマップデータから制御点データを抽出し、抽
出された制御点データを変倍し、変倍された制御点デー
タに基づき文字パターンを発生させる第2発生手段と、 発生させるべき文字のサイズを認識する認識手段とを有
し、 前記認識手段により認識されたサイズに基づいて、前記
第1発生手段、または、前記第2発生手段を用いて文字
パターンを発生させることを特徴とする文字パターン発
生装置。
6. A first generating means for scaling the stroke font data, generating bitmap data based on the scaled stroke font data, and synthesizing the generated bitmap data to generate a character pattern. , Generates bitmap data from stroke font data, synthesizes the generated bitmap data, extracts control point data from the synthesized bitmap data, scales the extracted control point data, and scales The second generation means for generating a character pattern based on the control point data, and the recognition means for recognizing the size of the character to be generated, and the first generation means based on the size recognized by the recognition means. Or, a character pattern generating device characterized by generating a character pattern using the second generating means. .
【請求項7】 前記ストロークフォントデータは、部首
の種類と数と位置を含む文字構成データ、ストロークの
種類と数と位置を含む部首構成データ、及び、始筆部と
終筆部とボディ部の組み合わせに関するストローク構成
データから構成されることを特徴とする請求項6記載の
文字パターン発生装置。
7. The stroke font data is character configuration data including the type, number and position of radicals, radical configuration data including type, number and position of strokes, and a start stroke portion, a finish stroke portion and a body portion. 7. The character pattern generation device according to claim 6, wherein the character pattern generation device is composed of stroke configuration data related to the combination of.
【請求項8】 前記発生手段により発生した文字パター
ンを出力する出力手段を有することを特徴とする請求項
6記載の文字パターン発生装置。
8. The character pattern generator according to claim 6, further comprising output means for outputting the character pattern generated by said generating means.
【請求項9】 前記出力手段はプリンタまたは表示器で
あることを特徴とする請求項6記載の文字パターン発生
装置。
9. The character pattern generator according to claim 6, wherein the output means is a printer or a display.
【請求項10】 前記第2発生手段は、前記文字パター
ンデータとストロークフォントデータに基づき文字パタ
ーンの外から中に入る点または文字パターンの中から外
にでる点を新たな制御点として抽出することを特徴とす
る請求項6記載の文字パターン発生装置。
10. The second generating means extracts, as a new control point, a point entering from the outside of the character pattern or a point leaving from the inside of the character pattern based on the character pattern data and the stroke font data. 7. The character pattern generator according to claim 6, wherein.
【請求項11】 前記認識手段により認識されたサイズ
が第1の発生手段で発生させたほうが早いサイズである
か否かを判別する判別手段とを有し、 前記判別手段により、第1の発生手段で発生させたほう
が早いと判別された場合、第1発生手段を用いて発生さ
せ、第1の発生手段で発生させたほうが早くないと判別
された場合、第2発生手段を用いて発生させることを特
徴とする請求項6記載の文字パターン発生装置。
11. A discriminating means for discriminating whether or not the size recognized by said recognizing means is a size generated earlier by the first generating means, and the first generating means is generated by said judging means. When it is determined that the generation by the means is earlier, it is generated by using the first generation means, and when it is determined that the generation by the first generation means is not earlier, it is generated by the second generation means. 7. The character pattern generator according to claim 6, wherein.
【請求項12】 ストロークフォントデータに基づき文
字パターンデータを生成する生成工程と、 前記生成工程により生成された文字パターンデータに基
づき、制御点データを抽出する抽出工程と、 前記抽出工程により抽出された制御点データを出力すべ
き文字サイズに対応するように変換する変換工程と、 前記変換工程により変換された制御点データに基づき文
字パターンを発生させる発生工程とを有することを特徴
とする文字パターン発生方法。
12. A generating step of generating character pattern data based on stroke font data, an extracting step of extracting control point data based on the character pattern data generated by the generating step, and an extracting step of the extracting step. Character pattern generation comprising: a conversion step of converting control point data to correspond to a character size to be output; and a generation step of generating a character pattern based on the control point data converted by the conversion step. Method.
【請求項13】 前記ストロークフォントデータは、部
首の種類と数と位置を含む文字構成データ、ストローク
の種類と数と位置を含む部首構成データ、及び、始筆部
と終筆部とボディ部の組み合わせに関するストローク構
成データから構成されることを特徴とする請求項12記
載の文字パターン発生方法。
13. The stroke font data is character configuration data including a type, number and position of radicals, radical configuration data including type, number and position of strokes, and a start stroke portion, a finish stroke portion and a body portion. 13. The character pattern generating method according to claim 12, wherein the character pattern generating method is constituted by stroke configuration data regarding a combination of.
【請求項14】 前記発生工程により発生した文字パタ
ーンを出力手段に出力する出力工程を有することを特徴
とする請求項12記載の文字パターン発生方法。
14. The character pattern generating method according to claim 12, further comprising an output step of outputting the character pattern generated by the generating step to an output means.
【請求項15】 前記出力手段はプリンタまたは表示器
であることを特徴とする請求項12記載の文字パターン
発生方法。
15. The method for generating a character pattern according to claim 12, wherein the output means is a printer or a display.
【請求項16】 前記抽出工程は、前記文字パターンデ
ータとストロークフォントデータに基づき文字パターン
の外から中に入る点または文字パターンの中から外にで
る点を新たな制御点として抽出することを特徴とする請
求項12記載の文字パターン発生方法。
16. The extracting step extracts, as a new control point, a point entering from outside the character pattern or a point exiting from the character pattern based on the character pattern data and the stroke font data. The method for generating a character pattern according to claim 12.
【請求項17】 ストロークフォントデータを変倍し、
変倍されたストロークフォントデータに基づきビットマ
ップデータを生成し、生成されたビットマップデータを
合成することにより文字パターンを発生させる第1発生
工程と、 ストロークフォントデータからビットマップデータを生
成し、生成されたビットマップデータを合成し、合成さ
れたビットマップデータから制御点データを抽出し、抽
出された制御点データを変倍し、変倍された制御点デー
タに基づき文字パターンを発生させる第2発生工程と、 発生させるべき文字のサイズを認識する認識工程とを有
し、 前記認識工程により認識されたサイズに基づいて、前記
第1発生工程、または、前記第2発生工程を用いて文字
パターンを発生させることを特徴とする文字パターン発
生方法。
17. Stroke font data is scaled,
A first generating step of generating bitmap data based on the scaled stroke font data and generating a character pattern by synthesizing the generated bitmap data, and generating and generating bitmap data from the stroke font data. A second step of synthesizing the generated bitmap data, extracting control point data from the synthesized bitmap data, scaling the extracted control point data, and generating a character pattern based on the scaled control point data. A generating step and a recognizing step for recognizing the size of the character to be generated. Based on the size recognized by the recognizing step, the character pattern is generated using the first generating step or the second generating step. A method for generating a character pattern, which comprises:
【請求項18】 前記ストロークフォントデータは、部
首の種類と数と位置を含む文字構成データ、ストローク
の種類と数と位置を含む部首構成データ、及び、始筆部
と終筆部とボディ部の組み合わせに関するストローク構
成データから構成されることを特徴とする請求項17記
載の文字パターン発生方法。
18. The stroke font data is character configuration data including the type, number and position of radicals, radical configuration data including type, number and position of strokes, and a starting writing portion, a finishing writing portion and a body portion. 18. The character pattern generation method according to claim 17, wherein the character pattern generation method is configured by stroke configuration data regarding a combination of.
【請求項19】 前記発生工程により発生した文字パタ
ーンを出力手段に出力する出力工程を有することを特徴
とする請求項17記載の文字パターン発生方法。
19. The character pattern generating method according to claim 17, further comprising an output step of outputting the character pattern generated by the generating step to an output means.
【請求項20】 前記出力手段はプリンタまたは表示器
であることを特徴とする請求項17記載の文字パターン
発生方法。
20. The character pattern generating method according to claim 17, wherein the output means is a printer or a display.
【請求項21】 前記第2発生工程は、前記文字パター
ンデータとストロークフォントデータに基づき文字パタ
ーンの外から中に入る点または文字パターンの中から外
にでる点を新たな制御点として抽出することを特徴とす
る請求項17記載の文字パターン発生方法。
21. The second generating step extracts a point entering from outside the character pattern or a point exiting from the inside of the character pattern as a new control point based on the character pattern data and the stroke font data. 18. The character pattern generation method according to claim 17, wherein.
【請求項22】 前記認識工程により認識されたサイズ
が第1の発生工程で発生させたほうが早いサイズである
か否かを判別する判別工程とを有し、 前記判別工程により、第1の発生工程で発生させたほう
が早いと判別された場合、第1発生工程を用いて発生さ
せ、第1の発生工程で発生させたほうが早くないと判別
された場合、第2発生工程を用いて発生させることを特
徴とする請求項17記載の文字パターン発生方法。
22. A discriminating step for discriminating whether or not the size recognized in the recognizing step is the size generated earlier in the first generating step, and the first generating step is carried out by the determining step. If it is determined that it is earlier in the process, it is generated by using the first generation process, and if it is determined that it is not earlier in the first generation process, it is generated by the second generation process. 18. The character pattern generating method according to claim 17, wherein:
【請求項23】 前記文字パターンは、白抜き文字であ
ることであることを特徴とする請求項6記載の文字パタ
ーン発生装置。
23. The character pattern generation device according to claim 6, wherein the character pattern is a blank character.
【請求項24】 前記文字パターンは、中塗り文字であ
ることであることを特徴とする請求項6記載の文字パタ
ーン発生装置。
24. The character pattern generation device according to claim 6, wherein the character pattern is an intermediate-painted character.
【請求項25】 前記文字パターンは、白抜き文字であ
ることであることを特徴とする請求項17記載の文字パ
ターン発生方法。
25. The character pattern generating method according to claim 17, wherein the character pattern is a blank character.
【請求項26】 前記文字パターンは、中塗り文字であ
ることであることを特徴とする請求項17記載の文字パ
ターン発生方法。
26. The character pattern generating method according to claim 17, wherein the character pattern is a medium-painted character.
JP8154121A 1995-07-12 1996-06-14 Character pattern generating device and method therefor Withdrawn JPH0981108A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP8154121A JPH0981108A (en) 1995-07-12 1996-06-14 Character pattern generating device and method therefor
TW085108008A TW322555B (en) 1995-07-12 1996-07-02
KR1019960027866A KR100225762B1 (en) 1995-07-12 1996-07-11 Character pattern generating apparatus and method
CN96110187A CN1124557C (en) 1995-07-12 1996-07-12 Character pattern generating apparatus and method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP7-176133 1995-07-12
JP17613395 1995-07-12
JP8154121A JPH0981108A (en) 1995-07-12 1996-06-14 Character pattern generating device and method therefor

Publications (1)

Publication Number Publication Date
JPH0981108A true JPH0981108A (en) 1997-03-28

Family

ID=26482528

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8154121A Withdrawn JPH0981108A (en) 1995-07-12 1996-06-14 Character pattern generating device and method therefor

Country Status (4)

Country Link
JP (1) JPH0981108A (en)
KR (1) KR100225762B1 (en)
CN (1) CN1124557C (en)
TW (1) TW322555B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100324879B1 (en) * 1999-02-01 2002-02-28 마찌다 가쯔히꼬 Character display apparatus, character display method, and recording medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101037003B1 (en) * 2008-10-10 2011-05-25 현대자동차주식회사 Sub-Parking Brake Device
TWI482101B (en) * 2012-04-10 2015-04-21 Arphic Technology Co Ltd Method of generating strokes

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100324879B1 (en) * 1999-02-01 2002-02-28 마찌다 가쯔히꼬 Character display apparatus, character display method, and recording medium

Also Published As

Publication number Publication date
KR100225762B1 (en) 1999-10-15
TW322555B (en) 1997-12-11
CN1148219A (en) 1997-04-23
KR970007717A (en) 1997-02-21
CN1124557C (en) 2003-10-15

Similar Documents

Publication Publication Date Title
US6803915B2 (en) Method of processing animation by interpolation between key frames with small data quantity
US20040085559A1 (en) Apparatus for printing using non-overlapping graphic objects
JPH0981108A (en) Character pattern generating device and method therefor
JPH08146936A (en) Method and device for processing outline font data
JP2728957B2 (en) How to create complex shapes
JP2774662B2 (en) Character processor
JPH03264995A (en) Character processor
JPH03233689A (en) Outline data drawing device
JP3344538B2 (en) Character generator
JP2002351451A (en) Method for character processing based upon outline font information and computer software program product making computer implement the method
JPH0772847A (en) Character font output device and character font generating device
JP4058197B2 (en) Drawing apparatus, drawing method, and storage medium
JP2000082150A (en) Image processor
JP3536894B2 (en) Graphic processing unit
JPH0721397A (en) Paint-out plotting method for polygon
JPH0981097A (en) Character processor and character processing method
JPH02144781A (en) Method and device for painting out
JPH0341583A (en) Method and device for painting out
JP2619931B2 (en) Character processing device and character processing method
JP2776347B2 (en) Drawing device for printer
JPS63210885A (en) Graphic generation system for character shape
JPH09198026A (en) Character processing method and device therefor
JPH08300885A (en) Closed graphic-filling device for pen plotter
JPH07114369A (en) Character and graphite data processor
JP2001109899A (en) Image processor

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20030902