JP2000347647A - Handwriting-like character outputting device, and program storage medium for the device - Google Patents

Handwriting-like character outputting device, and program storage medium for the device

Info

Publication number
JP2000347647A
JP2000347647A JP11160462A JP16046299A JP2000347647A JP 2000347647 A JP2000347647 A JP 2000347647A JP 11160462 A JP11160462 A JP 11160462A JP 16046299 A JP16046299 A JP 16046299A JP 2000347647 A JP2000347647 A JP 2000347647A
Authority
JP
Japan
Prior art keywords
character
contour
value
handwritten
random number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP11160462A
Other languages
Japanese (ja)
Inventor
Shin Mikuni
伸 三国
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP11160462A priority Critical patent/JP2000347647A/en
Publication of JP2000347647A publication Critical patent/JP2000347647A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

PROBLEM TO BE SOLVED: To express handwriting-like fluctuation in an outline of a character by using random numbers, when the outline of the character expressed by an aggregate of spatial frequency components is deformation-processed. SOLUTION: A CPU 1 makes random numbers reflected to a character outline data to impart handwriting-like fluctuation to a character outline, when the character outline comprising an aggregate of frequency components provided by DET-processing a usual character font is deformation-processed. The CPU 1 restores the resulting handwriting-like character outline data into a coordinate sequence data by conducting inverse DET transformation thereof to output it.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、毛筆で書いたよ
うな手書き風文字を出力する手書き風文字出力装置およ
びそのプログラム記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a handwritten character output device for outputting handwritten characters such as written with a brush, and a program recording medium therefor.

【0002】[0002]

【従来の技術】従来、ワードプロセッサやパーソナルコ
ンピュータ等の文書データ処理装置においては、入力さ
れた文書データを出力する際に、文字の形状をドットの
集合で表現するビットマップフォントや文字の輪郭を部
分毎に基準点とそれを結ぶ直線やベジェ曲線などの集合
で表現するアウトライン(ベクトル)フォントを読み出
して表示出力/印字出力するようにしているが、アウト
ラインフォントはビットマップフォントに比べ、回転や
斜体、拡大縮小といった変形が容易であり、変形後も輪
郭が滑らかであるという利点がある。
2. Description of the Related Art Conventionally, in a document data processing apparatus such as a word processor or a personal computer, when outputting input document data, a bitmap font expressing a character shape by a set of dots or a character outline is partially used. Each time, an outline (vector) font, which is expressed as a set of reference points and a straight line or Bezier curve connecting them, is read out and output / printed out, but the outline font is rotated and italicized compared to the bitmap font. There is an advantage that deformation such as enlargement / reduction is easy, and the contour is smooth after the deformation.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、アウト
ラインフォントでも文字を構成する1画の太さを変更し
たり、フォントの基本輪郭を大きく変えるような変形に
は適しておらず、従来、そのような要求があれば、個別
に特殊なフォントとして予め用意しておく必要があっ
た。このような場合、たとえフォントを部品化すること
で構造的にデータを圧縮記憶したとしても限界があり、
データ容量は大きなものとなっていた。更に、アウトラ
インフォントは一般的に輪郭が滑らかな場合には、デー
タ容量は小さいが、細かく変化(振動)するような形状
ではデータ容量が爆発的に大きくなるため、実用上その
ような形状のフォントは予め用意されていないのが現状
であった。そこで、本出願人は文字の輪郭を離散的な空
間周波数成分の集合体で表現して成る周波数フォント
を、通常の文字フォントを用いて生成する周波数フォン
ト生成機能と、この周波数フォントに基づいて文字の輪
郭を変形した変形フォントを生成する変形フォント生成
機能を更に組み込むだけで、データ量の増大を抑えなが
ら、文字の基本輪郭や太さ等を大幅に変更したり、多彩
な表現を付加する等、文字の形状を自由に変形できるよ
うにした技術(特願平10−221119号、発明の名
称:文字フォント変形出力装置およびそのプログラム記
録媒体)を提案した。この発明の課題は、本出願人が先
に提案した技術を発展させたもので、空間周波数成分の
集合体で表現された文字の輪郭を変形加工する際に、乱
数値を用いることで、文字の輪郭に手書き風の揺らぎを
表現できるようにすることである。
However, even outline fonts are not suitable for changing the thickness of one stroke constituting a character or for changing the basic outline of a font greatly. If required, individual fonts had to be prepared in advance as special fonts. In such a case, there is a limit even if the data is compressed and stored structurally by making the font into parts,
The data capacity was large. Furthermore, an outline font generally has a small data capacity when the contour is smooth, but the data capacity explosively increases in a shape that changes (vibrates) finely. Was not prepared in advance. Accordingly, the present applicant has developed a frequency font generation function that generates a frequency font, which is obtained by expressing the outline of a character by a set of discrete spatial frequency components using a normal character font, and a character font based on the frequency font. By simply adding a deformed font generation function that generates a deformed font that deforms the outline of a character, you can significantly change the basic outline and thickness of characters, add various expressions, etc. while suppressing the increase in data volume (Japanese Patent Application No. 10-221119, title of the invention: character font deformation output device and its program recording medium) have been proposed. The object of the present invention is to develop the technology previously proposed by the present applicant, and to use a random number value when deforming the contour of a character represented by a set of spatial frequency components, using a random value. Is to be able to express handwriting-like fluctuations in the outline of.

【0004】[0004]

【課題を解決するための手段】この発明の手段は次の通
りである。請求項1記載の発明(第1の発明)は、離散
的な空間周波数成分の集合体で表現された文字の輪郭を
変形加工するために、この輪郭データに乱数値を反映さ
せることで、文字の輪郭に揺らぎを付与した手書き風文
字を生成する文字加工手段と、この文字加工手段によっ
て変形加工された文字の輪郭データを座標列データに変
換する変換手段と、この変換手段によって変換された座
標列データに基づいて手書き風文字を展開出力する出力
手段とを具備するものである。この発明は次のようなも
のであってもよい。 (1)、前記文字加工手段は空間周波数成分の集合体の
うち特定周波数成分あるいは全周波数成分に対して長さ
を変化させる所定要素に乱数値を乗算することで、文字
の輪郭に揺らぎを付与した手書き風文字を生成する。 (2)、前記文字加工手段は空間周波数成分の集合体の
うち特定周波数成分あるいは全周波数成分に対して太さ
を変化させる所定要素に乱数値を乗算することで、文字
の輪郭に揺らぎを付与した手書き風文字を生成する。 (3)、前記文字加工手段は空間周波数成分の集合体を
構成する全要素に同一乱数値を乗算することで文字全体
を拡大/縮小させて大きさの揺らぎを含めた変形を行
う。 (4)、同一の初期値から所定の乱数を順次発生する乱
数発生手段を設け、前記乱数発生手段によって発生さ
れ、かつ前記文字加工手段によって文字の輪郭を変形加
工する際に用いられた乱数値を記憶保存すると共に、こ
の乱数値を用いて変形加工された手書き風文字を表示す
る他、この手書き風文字の印刷が指示された場合には前
記記憶保存されている乱数値を呼び戻すと共に、この乱
数値を用いることによって変形加工された手書き風文字
を印刷出力させる出力制御手段を設ける。この場合、そ
れぞれ異なる乱数を用いて生成表示された複数種の手書
き風文字の中から所望の文字が選択される毎に、その文
字の変形に用いられた乱数値をそれぞれ記憶保存してお
き、手書き風文字の印刷が指示された場合には、前記記
憶保存されている各乱数値のうち任意の乱数値を選択し
て呼び戻すと共に、この乱数値を用いて変形加工された
手書き風文字を印刷出力させるようにしてもよい。請求
項1記載の発明においては、空間周波数成分の集合体で
表現された文字の輪郭を変形加工するために、この輪郭
データに乱数値を反映させることで、文字の輪郭に揺ら
ぎを付与し、これによって変形加工された文字の輪郭デ
ータを座標列データに変換すると共に、この座標列デー
タに基づいて手書き風文字を展開出力する。したがっ
て、空間周波数成分の集合体で表現された文字の輪郭を
変形加工する際に、乱数値を用いることで、文字の輪郭
に手書き風の揺らぎを表現することができる。
The means of the present invention are as follows. According to the first aspect of the present invention, in order to deform a contour of a character represented by a set of discrete spatial frequency components, a random number value is reflected on the contour data to thereby modify the character. Character processing means for generating a handwritten character in which the contour of the character is fluctuated, conversion means for converting the contour data of the character deformed by the character processing means into coordinate string data, and coordinates converted by the conversion means Output means for developing and outputting handwritten characters based on the column data. The present invention may be as follows. (1) The character processing means imparts fluctuation to the outline of the character by multiplying a predetermined element that changes the length of a specific frequency component or all frequency components in a set of spatial frequency components by a random value. Generate handwritten style characters. (2) The character processing means adds fluctuation to the outline of the character by multiplying a predetermined element that changes the thickness of a specific frequency component or all frequency components of the set of spatial frequency components by a random value. Generate handwritten style characters. (3) The character processing means multiplies all the elements constituting the aggregate of the spatial frequency components by the same random number value, thereby enlarging / reducing the entire character and performing a deformation including a fluctuation in the size. (4) A random number generating means for sequentially generating a predetermined random number from the same initial value is provided, and a random number value generated by the random number generating means and used when the character processing means deforms the outline of a character. In addition to displaying and storing the handwritten characters deformed using this random number value, when the printing of the handwritten characters is instructed, the stored random number value is recalled, and An output control unit is provided for printing and outputting a handwritten character deformed by using a random number. In this case, each time a desired character is selected from a plurality of types of handwritten characters generated and displayed using different random numbers, the random number value used for the deformation of the character is stored and stored, respectively. When the printing of the handwritten character is instructed, an arbitrary random value is selected from the stored random numbers and recalled, and the transformed handwritten character is printed using the random value. You may make it output. In the invention according to claim 1, in order to deform the outline of a character represented by a set of spatial frequency components, a random number value is reflected on the outline data, thereby giving a fluctuation to the outline of the character. Thus, the contour data of the deformed character is converted into coordinate string data, and the handwritten character is developed and output based on the coordinate string data. Therefore, when deforming the contour of the character represented by the aggregate of the spatial frequency components, the random number value is used, whereby the handwriting-like fluctuation can be expressed in the contour of the character.

【0005】請求項5記載の発明(第2の発明)は、離
散的な空間周波数成分の集合体で表現された文字の輪郭
を変形加工するために、この輪郭データをフィルタ処理
する際に、このフィルタの設定値に乱数値を反映させる
ことで、文字の輪郭に揺らぎを付与した手書き風文字を
生成する文字加工手段と、この文字加工手段によって変
形加工された文字の輪郭データを座標列データに変換す
る変換手段と、この変換手段によって変換された座標列
データに基づいて手書き風文字を展開出力する出力手段
とを具備するものである。なお、この発明は次のような
ものであってもよい。 (1)、前記文字加工手段は空間周波数成分の集合体で
表現された文字の輪郭データを複数種のフィルタによっ
て処理する際に、それらフィルタ設定値の加重平均値を
乱数値により配分することで、文字の輪郭に手書き癖の
揺らぎを付与する。 (2)、同一の初期値から所定の乱数を順次発生する乱
数発生手段を設け、前記乱数発生手段によって発生さ
れ、かつ前記文字加工手段によって文字の輪郭を変形加
工する際に用いられた乱数値を記憶保存すると共に、こ
の乱数値を用いて変形加工された手書き風文字を表示す
る他、この手書き風文字の印刷が指示された場合には前
記記憶保存されている乱数値を呼び戻すと共に、この乱
数値を用いることによって変形加工された手書き風文字
を印刷出力させる出力制御手段を設ける。この場合、そ
れぞれ異なる乱数を用いて生成表示された複数種の手書
き風文字の中から所望の文字が選択される毎に、その文
字の変形に用いられた乱数値をそれぞれ記憶保存してお
き、手書き風文字の印刷が指示された場合には、前記記
憶保存されている各乱数値のうち任意の乱数値を選択し
て呼び戻すと共に、この乱数値を用いて変形加工された
手書き風文字を印刷出力させるようにしてもよい。請求
項5記載の発明においては、空間周波数成分の集合体で
表現された文字の輪郭を変形加工するために、この輪郭
データをフィルタ処理する際に、このフィルタの設定値
に乱数を反映させることで、文字の輪郭に揺らぎを付与
し、これによって変形加工された文字の輪郭データを座
標列データに変換すると共に、この座標列データに基づ
いて手書き風文字を展開出力する。したがって、空間周
波数成分の集合体で表現された文字の輪郭を変形加工す
る際に、乱数値を用いることで、文字の輪郭に手書き風
の揺らぎを表現することができる。
According to a fifth aspect of the present invention, in order to transform a contour of a character represented by a set of discrete spatial frequency components, the contour data is filtered. Character processing means for generating a handwritten character in which the contour of a character is fluctuated by reflecting a random number value to the setting value of this filter, and contour data of the character deformed by the character processing means are converted into coordinate sequence data. , And output means for expanding and outputting handwritten characters based on the coordinate string data converted by the converting means. The present invention may be as follows. (1) The character processing means distributes a weighted average of filter setting values by random numbers when processing the contour data of a character represented by a set of spatial frequency components with a plurality of types of filters. In addition, the handwriting fluctuation is imparted to the outline of the character. (2) A random number generating means for sequentially generating a predetermined random number from the same initial value is provided, and a random number value generated by the random number generating means and used when deforming a contour of a character by the character processing means In addition to displaying and storing the handwritten characters deformed using this random number value, when the printing of the handwritten characters is instructed, the stored random number value is recalled, and An output control unit is provided for printing and outputting a handwritten character deformed by using a random number. In this case, each time a desired character is selected from a plurality of types of handwritten characters generated and displayed using different random numbers, the random number value used for the deformation of the character is stored and stored, respectively. When the printing of the handwritten character is instructed, an arbitrary random value is selected from the stored random numbers and recalled, and the transformed handwritten character is printed using the random number. You may make it output. According to the fifth aspect of the present invention, in order to transform a contour of a character represented by a set of spatial frequency components, a random number is reflected in a set value of the filter when the contour data is filtered. Then, the contour of the character is fluctuated, thereby converting the contour data of the deformed character into coordinate sequence data, and developing and outputting a handwritten character based on the coordinate sequence data. Therefore, when deforming the contour of the character represented by the aggregate of the spatial frequency components, the random number value is used, whereby the handwriting-like fluctuation can be expressed in the contour of the character.

【0006】[0006]

【発明の実施の形態】(第1実施形態)以下、図1〜図
13を参照してこの発明の第1実施形態を説明する。図
1(A)は文書データ処理装置の全体構成を示したブロ
ック図である。CPU1は各種プログラムにしたがって
この文書データ処理装置の全体動作を制御する中央演算
処理装置である。記憶装置2はオペレーティングシステ
ムや各種アプリケーションプログラム、データファイ
ル、文字フォントデータ等が予め格納されている記憶媒
体3やその駆動系を有している。この記憶媒体3は固定
的に設けたもの、もしくは着脱自在に装着可能なもので
あり、フロッピーディスク、ハードディスク、光ディス
ク、RAMカード等の磁気的・光学的記憶媒体、半導体
メモリによって構成されている。また、記憶媒体3内の
プログラムやデータは、必要に応じてCPU1の制御に
より、RAM4にロードされる。更に、CPU1は通信
回線等を介して他の機器側から送信されて来たプログラ
ム、データを受信して記憶媒体3に格納したり、他の機
器側に設けられている記憶媒体に格納されているプログ
ラム、データを通信回線等を介して使用することもでき
る。そして、CPU1にはその入出力周辺デバイスであ
る入力装置5、表示装置6、印刷装置7がバスラインを
介して接続されており、入出力プログラムにしたがって
CPU1はそれらの動作を制御する。
(First Embodiment) A first embodiment of the present invention will be described below with reference to FIGS. FIG. 1A is a block diagram showing the entire configuration of the document data processing device. The CPU 1 is a central processing unit that controls the overall operation of the document data processing device according to various programs. The storage device 2 has a storage medium 3 in which an operating system, various application programs, data files, character font data and the like are stored in advance, and a drive system thereof. The storage medium 3 is fixedly provided or removably mountable, and includes a magnetic / optical storage medium such as a floppy disk, a hard disk, an optical disk, and a RAM card, and a semiconductor memory. The programs and data in the storage medium 3 are loaded into the RAM 4 under the control of the CPU 1 as needed. Further, the CPU 1 receives programs and data transmitted from other devices via a communication line or the like and stores them in the storage medium 3 or stored in a storage medium provided in other devices. Existing programs and data can be used via a communication line or the like. An input device 5, a display device 6, and a printing device 7, which are input / output peripheral devices, are connected to the CPU 1 via a bus line. The CPU 1 controls these operations according to an input / output program.

【0007】入力装置5は文字列データ等を入力した
り、各種コマンドを入力するキーボード、マウス等のポ
インティングデバイスやイメージリーダを有している。
ここで、文書作成時に入力装置5から文書データが入力
されると、表示装置6のテキスト画面に表示出力される
と共に、かな漢字変換によって確定された確定文字列
は、RAM4内に格納される。なお、表示装置6は多色
表示を行う液晶表示装置やCRT表示装置あるいはプラ
ズマ表示装置等であり、また印刷装置7はフルカラープ
リンタ装置で、熱転写やインクジェットなどのノンイン
パクトプリンタあるいはインパクトプリンタであり、文
書データをカラー出力する。
The input device 5 includes a keyboard, a pointing device such as a mouse, and an image reader for inputting character string data and the like and various commands.
Here, when the document data is input from the input device 5 at the time of document creation, the document data is displayed on the text screen of the display device 6 and the determined character string determined by the kana-kanji conversion is stored in the RAM 4. Note that the display device 6 is a liquid crystal display device, a CRT display device, a plasma display device, or the like that performs multicolor display, and the printing device 7 is a full-color printer device, which is a non-impact printer or an impact printer such as thermal transfer or inkjet. Output document data in color.

【0008】ここで、文書印刷時において、毛筆で書い
たような手書き風文字で文書印刷を行うべきことが指示
された場合、CPU1は直交変換、つまり離散的フーリ
エ変換(DFT)の展開方式にしたがって既存文字フォ
ント(ビットマップフォントやアウトラインフォント)
の輪郭を離散的な空間周波数成分の集合体で表現して成
るデータ構造に変換する。ここで、文字を構成する各パ
ーツは、その輪郭(閉曲線)を1周する周期を持つ連続
関数で表わすことができるので、輪郭を1周する際に1
回振動する周波数をDFTの基本周波数とし、この基本
周波数とその整数倍の周波数とを組み合せた集合体のデ
ータ構造に変換するようにしている。なお、DFT処理
によって得られた変換結果の最大次数は、サンプリング
定理に応じたものとなっている。
Here, when printing a document, if it is instructed to print a document with handwritten characters such as written with a brush, the CPU 1 uses an orthogonal transform, that is, a discrete Fourier transform (DFT) expansion system. Therefore, existing character fonts (bitmap fonts and outline fonts)
Is converted into a data structure represented by a set of discrete spatial frequency components. Here, each part constituting a character can be represented by a continuous function having a cycle of one round of the contour (closed curve).
The frequency that oscillates is used as the fundamental frequency of the DFT, and is converted into a data structure of an aggregate in which the fundamental frequency and a frequency that is an integral multiple of the fundamental frequency are combined. Note that the maximum order of the conversion result obtained by the DFT processing corresponds to the sampling theorem.

【0009】図1(B)はRAM4の主要構成を示した
もので、このRAM4には各種のメモリ領域が割り当て
られている。文字列格納部4−1はDFT処理の対象と
なる文字列が一時記憶されるもので、CPU1はこの文
字列を構成する各文字コードをその先頭から読み出して
記憶装置2内の通常フォント格納部2−1を検索し、該
当する文字フォントを取り込む。通常フォント格納部2
−1はビットマップフォントやアウトラインフォントを
各種文字に対応付けて記憶するもので、CPU1はこの
通常フォント格納部2−1から読み出した文字フォント
をパーツ毎にDFT処理するが、その際、周波数変換ワ
ーク部4−2が用いられる。周波数変換ワーク部4−2
は1パーツ毎の変換結果を一時記憶する作業域であり、
CPU1はDFT処理された周波数変換ワーク部4−2
内の1パーツ分の輪郭データを変形加工し、変形フォン
ト格納部4−3に格納する。変形フォント格納部4−3
は文字の輪郭全体に手書き風の揺らぎが付与された変形
フォントを一時記憶するもので、CPU1はこの変形フ
ォントを構成する輪郭データをフーリエ逆変換すること
によって元の座標列データを生成したのち、この座標列
データを印刷バッファ4−4に展開する。
FIG. 1B shows a main configuration of the RAM 4, and various memory areas are allocated to the RAM 4. The character string storage unit 4-1 temporarily stores a character string to be subjected to the DFT processing. The CPU 1 reads out each character code constituting the character string from the head thereof and reads the character code from the normal font storage unit in the storage device 2. 2-1 is searched, and the corresponding character font is fetched. Normal font storage 2
-1 stores a bitmap font or an outline font in association with various characters, and the CPU 1 performs DFT processing on the character font read out from the normal font storage unit 2-1 for each part. The work part 4-2 is used. Frequency conversion work part 4-2
Is a work area for temporarily storing the conversion result for each part,
The CPU 1 is a DFT-processed frequency conversion work unit 4-2.
The contour data of one part is deformed and stored in the deformed font storage unit 4-3. Deformed font storage unit 4-3
Is for temporarily storing a deformed font in which handwriting-like fluctuations are added to the entire outline of a character. The CPU 1 generates original coordinate sequence data by performing an inverse Fourier transform on the outline data constituting the deformed font. The coordinate sequence data is developed in the print buffer 4-4.

【0010】図2はDFT変換によって既存フォントを
1パーツ毎に周波数成分の集合体に変換する場合の様子
を概念的に示した図である。処理対象フォント(この場
合、アウトラインフォント)の1パーツ分を描画し、こ
のビットマップの輪郭をプロットする。ここで、1パー
ツをプロットする点数は、どれだけ細かく変換したいか
によって決定するが、離散的フーリエ変換の場合なら
ば、「2」の乗数から選び、例えば「512」などであ
り、この数でパーツの輪郭をプロットし、その点P0、
P1、P2……毎にXY座標値を取り込み、この座標値
をDFT処理する。なお、DFTによる変換結果は、演
算精度を厳密に求めなければ、可逆性があり、フーリエ
変換によって元の座標値に戻すことができる。なお、通
常のアウトラインフォントの場合には、そのパーツ数が
定義されていると共に、各パーツ毎(1画毎)に基準点
座標値および直線、ベジェ曲線等の属性が定義されてい
るが、この実施形態における周波数フォントの場合に
は、アウトラインフォントの座標、属性の記述部分が空
間周波数成分の数表となっている。つまり、文字コー
ド、パーツ数、パーツ番号に対応付けてパーツ毎のDF
T処理結果は、直流成分、基本周波数成分、それを整数
倍した周波数成分とを記述した数表となっている。ここ
で、DFTによる処理結果は複素数として表現され、複
素数平面上における実数軸部分と虚数軸部分とに分けて
その大きさが離散的に求められたもので、図中、「Xr
l」は複素平面上においてX軸方向の実数軸部分の値を
示し、「Xim」は虚数軸部分の値を示している。同様
に「Yrl」、「Yim」はY軸方向における実数軸部
分の値、虚数軸部分の値である。また、図中「F0」は
直流成分であって、その実数部分に輪郭の中心点座標が
記述されている。なお、「F0」の虚数軸部分には常に
「ゼロ」の値が記述されている。「F1」はパーツの輪
郭を1周する際に1回振動する周波数を表わした基本周
波数成分であり、パーツの大きさや方向はこの値によっ
て支配される。「F2」はパーツの輪郭を1周する際に
2回振動する周波数成分(2次高周波成分)であり、パ
ーツの形状はこの値によって支配され大きく曲がってい
るパーツではこの値が大きくなる。以降の「F3」、
「F4」……は3次、4次の高周波成分であり、その最
大次数は変換対象パーツの輪郭をサンプリングした際に
おける座標の数の半分である。これは、前半部分の値か
ら正負の反転、逆順を行うだけで後半部分の値を容易に
導けるためである。
FIG. 2 is a diagram conceptually showing a state in which an existing font is converted into a set of frequency components for each part by DFT conversion. One part of the font to be processed (in this case, an outline font) is drawn, and the outline of this bitmap is plotted. Here, the number of points for plotting one part is determined depending on how finely the conversion is desired. In the case of the discrete Fourier transform, the number is selected from a multiplier of “2”, for example, “512”. The contour of the part is plotted and the point P0,
XY coordinate values are fetched for each of P1, P2,. Note that the transform result by DFT is reversible unless the calculation accuracy is strictly determined, and can be returned to the original coordinate value by Fourier transform. In the case of a normal outline font, the number of parts is defined and attributes such as a reference point coordinate value, a straight line, and a Bezier curve are defined for each part (each image). In the case of the frequency font in the embodiment, the coordinates of the outline font and the description part of the attribute are a table of the number of spatial frequency components. That is, the DF for each part is associated with the character code, the number of parts, and the part number.
The T processing result is a numerical table describing a DC component, a fundamental frequency component, and a frequency component obtained by multiplying the DC component by an integer. Here, the processing result by the DFT is expressed as a complex number, and its size is discretely obtained for a real axis part and an imaginary axis part on a complex number plane.
"1" indicates the value of the real axis portion in the X-axis direction on the complex plane, and "Xim" indicates the value of the imaginary axis portion. Similarly, “Yrl” and “Yim” are the value of the real axis part and the value of the imaginary axis part in the Y-axis direction. In the figure, “F0” is a DC component, and the center part coordinates of the contour are described in the real part thereof. Note that a value of “zero” is always described in the imaginary axis part of “F0”. “F1” is a fundamental frequency component representing a frequency that vibrates once when making a round of the contour of the part, and the size and direction of the part are governed by this value. “F2” is a frequency component (secondary high-frequency component) that vibrates twice when making one round of the contour of the part, and the shape of the part is governed by this value, and this value increases in a part that is greatly bent. The following "F3",
“F4”... Are third- and fourth-order high-frequency components, the maximum order of which is half the number of coordinates when sampling the contour of the conversion target part. This is because the value of the second half can be easily derived only by performing the inversion of the positive / negative and the reverse order from the value of the first half.

【0011】図3は文字「和」が1パーツ毎に分解され
てDFT処理される様子を示したもので、その「のぎ
偏」を構成する縦長のパーツと、その「囗」を構成する
大きく曲がっているパーツについて着目し、各パーツ毎
にDFT処理することによって得られた実数部分の値
と、虚数部分の値を周波数軸上に離散的に分布させた図
表を示している。この周波数分布において、縦長のパー
ツは基本周波数F1にその特徴が表われ、大きく曲がっ
ているパーツは基本周波数F1の他に次の周波数F2に
その特徴が表われている。図4は文字「和」をDFT処
理することによって得られたX軸方向の実数軸部分、虚
数軸部分、Y軸方向の実数軸部分、虚数軸部分の具体的
な数値を示すと共に、文字「和」を構成する各パーツと
パーツ毎の周波数データとの対応関係を示した図であ
る。ここで、図中「1」〜「7」で示すようにこの文字
「和」は7パーツから成るため、それに対応する空間周
波数成分の集合体は、7パーツ分のデータとなる。
FIG. 3 shows a state in which the character "sum" is decomposed for each part and subjected to DFT processing, and the vertically long parts forming the "nogi bias" and the "fresh" are formed. A table is shown in which values of a real part and values of an imaginary part obtained by performing DFT processing for each part are discretely distributed on a frequency axis by paying attention to a largely bent part. In this frequency distribution, the characteristics of the vertically long parts are exhibited at the fundamental frequency F1, and the characteristics of the parts which are greatly bent are exhibited at the next frequency F2 in addition to the fundamental frequency F1. FIG. 4 shows specific numerical values of a real axis portion, an imaginary axis portion, a real axis portion, and an imaginary axis portion in the X-axis direction obtained by performing the DFT processing on the character "sum". FIG. 8 is a diagram showing a correspondence relationship between each part constituting the “sum” and frequency data of each part. Here, as shown by "1" to "7" in the figure, this character "Sum" is composed of seven parts, and a set of spatial frequency components corresponding thereto is data of seven parts.

【0012】このような周波数フォントを利用すること
によって文字の輪郭を自由に変更することができる。図
5(A)はDFT処理によって得られた空間周波数成分
のうちディジタルフィルタ(ローパスフィルタ)によっ
て高域周波数成分をカットすることによってF3以降の
周波数成分を全てゼロにしたデータ構造を示すと共に、
特定の高周波数成分、例えばF56を追加し、その値を
一定値とすることで輪郭線を細かく振動させた変形を行
う場合のデータ構造を示している。図5(B)はその変
形状態を示したもので、低域のF0、F1、F2の周波
数成分によって文字の大体の形状が支配され、その輪郭
がF56の高周波数成分によって細かく振動されるが、
その振動の回数や強さは任意に制御可能であり、大きな
振動を得るためにはその値を大きくすればよく、また細
かな振動を得るには高周波数成分の次数を高めればよ
い。ここで、この実施形態においては、空間周波数成分
の集合体で表現された文字の輪郭データに乱数値を反映
させることで、文字の輪郭に揺らぎを付与した手書き風
文字を生成するようにしている。すなわち、図6は空間
周波数成分のX方向実数軸の値(Xr)、Y方向実数軸
の値(Yr)、虚数軸の値(Yi)を変化させた場合に
文字がどのように変形加工されるかを例示したもので、
Xrの値を増加させると、横棒の長さが伸び、減少させ
ると短かくなる。また、Yrの値を増加させると縦棒の
長さが伸びる。このとき、太さはあまり変化しない。逆
に、Yiの値を増加させると、横棒が太くなり、減少さ
せると細くなる。ただし、この例は各パーツの長手方向
一端から輪郭座標のサンプリングを行ってフーリエ変換
した場合であり、長手方向の中央からサンプリングを行
えば、長さと太さの関係は逆転する。ところで、手書き
で文字を書く場合、太さは余り変わらず、長さが変化す
ることが多いため、フーリエ変換した実数軸の値を操作
することで、位置、太さを変えずに長さを変化させるこ
とができる。
By using such a frequency font, the outline of a character can be freely changed. FIG. 5A shows a data structure in which all high frequency components of the spatial frequency components obtained by the DFT processing are cut by a digital filter (low-pass filter) to make all the frequency components after F3 zero.
A data structure in a case where a specific high-frequency component, for example, F56 is added and its value is set to a constant value to perform deformation by finely oscillating the contour line is shown. FIG. 5B shows the deformed state, in which the approximate shape of the character is dominated by the low-frequency components of F0, F1, and F2, and its outline is finely vibrated by the high-frequency component of F56. ,
The number and intensity of the vibrations can be arbitrarily controlled. To obtain a large vibration, the value may be increased, and to obtain a fine vibration, the order of the high frequency component may be increased. Here, in this embodiment, a random number value is reflected on contour data of a character represented by a set of spatial frequency components, thereby generating a handwritten character in which the contour of the character is fluctuated. . That is, FIG. 6 shows how a character is deformed when the value (Xr) of the real axis in the X direction, the value (Yr) of the real axis in the Y direction, and the value (Yi) of the imaginary axis of the spatial frequency component are changed. It is an example of
As the value of Xr increases, the length of the horizontal bar increases, and as the value decreases, the length decreases. Also, increasing the value of Yr increases the length of the vertical bar. At this time, the thickness does not change much. Conversely, increasing the value of Yi increases the width of the horizontal bar, and decreasing it decreases the width of the horizontal bar. However, in this example, the contour coordinates are sampled from one end in the longitudinal direction of each part and the Fourier transform is performed. If the sampling is performed from the center in the longitudinal direction, the relationship between the length and the thickness is reversed. By the way, when writing characters by hand, the thickness does not change much and the length often changes, so by manipulating the value of the Fourier-transformed real axis, the length can be changed without changing the position and thickness. Can be changed.

【0013】次に、文書データ処理装置の動作を図7〜
図11に示すフローチャートにしたがって説明する。こ
こで、これらのフローチャートに記述されている各機能
を実現するためのプログラムは、CPU1が読み取り可
能なプログラムコードの形態で記憶媒体3に格納されて
おり、CPU1はこのプログラムコードにしたがった動
作を逐次実行する。なお、このことは後述する他の実施
形態においても同様である。図7は文字列を印刷出力す
る際の全体動作を示したフローチャートである。すなわ
ち、通常の文字フォント(アウトラインフォント)を1
パーツ毎に周波数フォントに変換すると共に、この周波
数フォントを構成するデータを加工することによって変
形フォントを生成し、この変形フォントをフーリエ逆変
換することによって元の座標データに戻し、この座標デ
ータに基づいて文字展開を行って印刷出力する動作を示
したフローチャートである。先ず、行ポインタを初期化
したのち(ステップA1)、このポインタ値で文字列格
納部4−1をアクセスし、1行分の文字列コードを読み
込む(ステップA2)。次に、桁ポインタを初期化した
のち(ステップA3)、この桁ポインタで指定される1
桁分の文字コードを読み込む(ステップA4)。そし
て、後述する1文字印刷処理を行い(ステップA5)、
これによって1文字分の印刷が終ると、桁ポインタの値
を更新して次の文字を指定する(ステップA6)。以
下、ステップA7で1行分の印刷終了が検出されるまで
ステップA5に戻り、1文字印刷を繰り返す。これによ
って1行分の印刷が終ると、行ポインタの値を更新し
(ステップA8)、全行終了がステップA9で検出され
るまでステップA2に戻り、上述の動作を繰り返す。
Next, the operation of the document data processing apparatus will be described with reference to FIGS.
This will be described with reference to the flowchart shown in FIG. Here, a program for realizing each function described in these flowcharts is stored in the storage medium 3 in the form of a program code readable by the CPU 1, and the CPU 1 performs an operation according to the program code. Execute sequentially. This is the same in other embodiments described later. FIG. 7 is a flowchart showing the overall operation when printing a character string. That is, the normal character font (outline font) is changed to 1
In addition to converting to a frequency font for each part, a transformed font is generated by processing the data that constitutes the frequency font, and the transformed font is returned to the original coordinate data by inverse Fourier transform. 3 is a flowchart showing an operation of performing character expansion and printing out. First, after the line pointer is initialized (step A1), the character string storage unit 4-1 is accessed with this pointer value to read the character string code for one line (step A2). Next, after the digit pointer is initialized (step A3), the 1 designated by the digit pointer
The character codes for the digits are read (step A4). Then, one-character printing processing described later is performed (step A5),
When printing of one character is completed, the value of the digit pointer is updated and the next character is designated (step A6). Thereafter, the process returns to step A5 until the end of printing of one line is detected in step A7, and printing of one character is repeated. When printing of one line is completed, the value of the line pointer is updated (step A8), and the process returns to step A2 until the end of all lines is detected in step A9, and the above operation is repeated.

【0014】図8は図7のステップA5(1文字印刷処
理)を詳述したフローチャートである。先ず、文字の1
画目を指定するために画ポインタを初期化する(ステッ
プB1)。そして、この画ポインタで示される1画分の
データを通常フォント格納部2−1から読み込み(ステ
ップB2)、それをDFT変換する(ステップB3)。
すなわち、処理対象の文字フォントを構成するパーツ数
を取得すると共に、その1パーツ目を展開描画し、その
パーツの輪郭線上を辿ってサンプリングし、サンプリン
グされた各点の座標値をDFT変換する。この場合、D
FT計算はX座標成分、Y座標成分に分けて行われ、X
方向実数軸部分の値、虚数軸部分の値、Y方向実数軸部
分の、虚数軸部分の値がそれぞれ得られる。このように
してDFT変換が行われると、その変換結果に対してそ
のパラメータを操作することにより文字の輪郭を変形し
た変形フォントを生成する(ステップB4)。なお、上
述した図5の例では低域の周波数成分に特定の高周波数
成分として一定値を加算することにより文字の輪郭に一
定の振動を与えるようにしたが、この実施形態において
は、上述したように空間周波数成分の集合体で表現され
た文字の輪郭データに乱数値を反映させることで、文字
の輪郭に揺らぎを付与した手書き風文字を生成するよう
にしている。
FIG. 8 is a flowchart detailing step A5 (one-character printing process) in FIG. First, the character 1
An image pointer is initialized to designate an image (step B1). Then, data for one stroke indicated by the stroke pointer is read from the normal font storage unit 2-1 (step B2), and DFT-transformed (step B3).
That is, the number of parts constituting the character font to be processed is obtained, the first part is developed and drawn, the sampling is performed along the contour of the part, and the coordinate value of each sampled point is DFT-transformed. In this case, D
The FT calculation is performed separately for the X coordinate component and the Y coordinate component.
The value of the direction real axis part, the value of the imaginary axis part, and the value of the imaginary axis part of the Y direction real axis part are obtained. When the DFT conversion is performed in this manner, a modified font in which the outline of the character is deformed is generated by manipulating the parameters with respect to the conversion result (step B4). In the example of FIG. 5 described above, a constant value is added as a specific high-frequency component to a low-frequency component to give a constant vibration to the outline of a character. In this way, by reflecting the random number value on the outline data of the character represented by the aggregate of the spatial frequency components, a handwritten character in which the outline of the character is fluctuated is generated.

【0015】図9はこの場合の変形処理を示したもの
で、DFT処理によって得られた空間周波数成分の集合
体のうち、X方向実数軸の値(Xr)に乱数値を乗算す
る積算処理を行うと共に(ステップC1)、Y方向実数
軸の値(Yr)に乱数値を乗算する積算処理を行う(ス
テップC2)。この図9はXY方向の実数軸の値を変更
する積算処理を示したが、図10はXY方向の虚数軸の
値を変更する積算処理を示し、X方向虚数軸の値(X
i)に乱数値を乗算する積算処理を行うと共に(ステッ
プD1)、Y方向虚数軸の値(Yi)に乱数値を乗算す
る積算処理を行う(ステップD2)。図11はこの場合
における成分積算処理を示したフローチャートである。
この成分積算はF1以降の全ての周波数成分について行
われる。先ず、成分ポインタを初期化する(ステップE
1)。このポインタの初期化は最低次周波数成分F1に
合わせることであり、また、全成分とはサンプリングし
たサンプル数/2のことである。積算処理は乱数Pを周
波数成分に乗算することによって行われる。先ず、乱数
値Pを取り込むが、この値は「1.0」を中心に上下に
振れており、現時点の値を乱数値として取り込み(ステ
ップE2)、それを周波数成分の値に乗算する(ステッ
プB3)。例えば、図5において、第1のパーツのX方
向の最初の値(−16.656)に乱数値(0.98)
が掛けられると、その値は「−16.323」となる。
そして、次のステップF4では全成分が終了したかを調
べ、その終了が検出されるまでステップE2に戻り、上
述の動作が繰り返される。この場合、次の成分に対する
積算時には他の乱数値が用いられる。なお、図11はF
1以降の全周波数成分について成分積算を行った場合を
示したが、図12はF1以上における特定の周波数成分
(例えばF2)に対してのみ成分積算を行う場合を示
し、ステップF1では乱数値Pを取得し、ステップF2
では特定周波数成分に対して乱数値を乗算する。
FIG. 9 shows a modification process in this case, in which an integration process of multiplying a value (Xr) on the real axis in the X direction by a random value from a set of spatial frequency components obtained by the DFT process is shown. At the same time (step C1), an integration process of multiplying the value (Yr) of the Y-direction real number axis by a random value is performed (step C2). FIG. 9 shows the integration processing for changing the value of the real axis in the XY directions, while FIG. 10 shows the integration processing for changing the value of the imaginary axis in the XY directions, and the value (X
An integration process of multiplying i) by a random value is performed (step D1), and an integration process of multiplying the value (Yi) of the imaginary axis in the Y direction by a random value is performed (step D2). FIG. 11 is a flowchart showing the component integration processing in this case.
This component integration is performed for all frequency components after F1. First, the component pointer is initialized (step E).
1). The initialization of the pointer is to be adjusted to the lowest-order frequency component F1, and all components are the number of sampled samples / 2. The integration process is performed by multiplying the frequency component by the random number P. First, a random number value P is captured. This value fluctuates up and down around “1.0”. The current value is captured as a random value (step E2), and the value is multiplied by the value of the frequency component (step E2). B3). For example, in FIG. 5, the first value (−16.656) of the first part in the X direction is a random value (0.98).
Is multiplied by “−16.323”.
Then, in the next step F4, it is checked whether or not all the components have been completed. The process returns to step E2 until the completion is detected, and the above operation is repeated. In this case, another random value is used when integrating the next component. FIG. 11 shows F
FIG. 12 shows a case in which component integration is performed only on a specific frequency component (for example, F2) above F1 or higher, and a random number value P is set in step F1. Is obtained, and step F2
Then, a specific frequency component is multiplied by a random value.

【0016】このようにして1パーツ分の輪郭データに
乱数値を反映させることで輪郭全体に揺らぎを付与する
変形加工処理が終ると、図8のステップB5に進み、そ
の変形結果に対してフーリエ逆変換を行う。この場合、
1パーツ分の輪郭データをDFT逆変換すると、プロッ
トしたときの座標に戻るため、これをショートベクトル
とするアウトラインフォントが得られる。そして、印刷
バッファ4−4上において、輪郭内部を塗り潰すラスタ
ライズ処理を行う(ステップB6)。そして、次の画を
指定し(ステップB7)、全画終了かを調べ(ステップ
B8)、その終了が検出されるまでステップB2に戻
り、1画毎に上述の動作を繰り返す。
In this way, when the deformation processing for giving fluctuation to the entire contour by reflecting the random number value on the contour data of one part is completed, the process proceeds to step B5 in FIG. Perform the inverse transformation. in this case,
When the contour data of one part is inversely transformed by DFT, the coordinates return to the coordinates at the time of plotting, so that an outline font using this as a short vector is obtained. Then, a rasterizing process for filling the inside of the outline is performed on the print buffer 4-4 (step B6). Then, the next image is designated (step B7), and it is checked whether or not all the images are completed (step B8). The process returns to step B2 until the completion is detected, and the above operation is repeated for each image.

【0017】以上のようにこの第1実施形態において
は、空間周波数成分の集合体で表現された文字の輪郭を
変形加工するために、この輪郭データに乱数値を反映さ
せることで、文字の輪郭に揺らぎを付与し、これによっ
て変形加工された文字の輪郭データを座標列に変換して
手書き風文字を展開出力するようにしたから、自然な手
書き風文字を得ることが可能となる。図13はこの場合
の印刷例を示し、(A)は揺らぎを付与しない場合、
(B)は揺らぎを付与した場合である。この例はF1以
上の全ての周波数成分に対してX方向実数軸の値とY方
向実数軸の値を増加させた場合であり、横棒、縦棒の長
さが変化することによって1文字毎にその輪郭が全て微
妙に揺らぎ、手書きの風合が表現されたものとなる。こ
こで、乱数の値を制御することで、揺らぎの度合を更に
変化させることができる。また、周波数成分の集合体の
うち特定周波数成分あるいは全周波数成分に対して長さ
を変化させる所定要素に乱数値を乗算したり、太さを変
化させる所定要素に乱数値を乗算することで、文字の輪
郭に揺らぎが付与されるので、文字の形を崩さずに多種
多様な変形を1つの文字フォントから生成することがで
きる。
As described above, in the first embodiment, in order to deform the outline of a character represented by a set of spatial frequency components, a random number value is reflected on the outline data, thereby obtaining the outline of the character. , And the contour data of the deformed character is converted into a coordinate sequence to develop and output a handwritten character, so that a natural handwritten character can be obtained. FIG. 13 shows a print example in this case, and FIG. 13A shows a case where no fluctuation is given.
(B) is a case where the fluctuation is given. In this example, the value of the real axis in the X direction and the value of the real axis in the Y direction are increased for all frequency components equal to or higher than F1. The contours all fluctuate slightly, and the handwriting feel is expressed. Here, by controlling the value of the random number, the degree of fluctuation can be further changed. In addition, by multiplying a predetermined element that changes the length for a specific frequency component or all frequency components in a set of frequency components by a random value, or by multiplying a predetermined element that changes the thickness by a random value, Since fluctuations are given to the outline of the character, various types of deformation can be generated from one character font without breaking the shape of the character.

【0018】なお、長さに関するパラメータおよび太さ
に関するパラメータ、つまり周波数成分のX方向および
Y方向の実数軸部分の値と虚数軸部分の値を全て同じ値
の乱数値で積算すれば、文字全体を拡大/縮小させて大
きさの揺らぎを含めた変形が可能となり、更に効果的な
ものとなる。
If the parameters relating to the length and the parameters relating to the thickness, ie, the values of the real axis part and the imaginary axis part of the frequency component in the X and Y directions are all integrated by the same random number value, the whole character can be obtained. Can be enlarged / reduced to perform deformation including fluctuation of the size, which is more effective.

【0019】(第2実施形態)以下、図14〜図18を
参照してこの発明の第2実施形態を説明する。なお、上
述した第1実施形態は周波数成分の集合体で表現された
文字の輪郭データに乱数値を反映させたが、この第2実
施形態は、周波数成分の集合体で表現された文字の輪郭
データをフィルタ処理する際に、このフィルタ設定値に
乱数値を反映させることで文字の輪郭に揺らぎを付与す
るようにしたものであり、その他は上述した第1実施形
態と基本的に同様であるため、以下この第2実施形態の
特徴部分のみを中心に説明する他、各実施形態において
基本的に共通するものは同一符号を併用し、その説明は
省略するものとする。
(Second Embodiment) Hereinafter, a second embodiment of the present invention will be described with reference to FIGS. In the first embodiment described above, the random number value is reflected on the outline data of a character represented by a set of frequency components. In the second embodiment, the outline of a character represented by a set of frequency components is reflected. At the time of filtering the data, a random number value is reflected on the filter setting value so as to add a fluctuation to the outline of the character, and the rest is basically the same as the first embodiment. Therefore, the following description will focus on only the features of the second embodiment, and the same reference numerals will be used for components that are basically common in each embodiment, and description thereof will be omitted.

【0020】図14はこの第2実施形態における1文字
印刷処理を示し、上述した図8のステップB4(パラメ
ータを操作する)を除き、他のステップG1〜G3、G
5〜G8は図8のステップB1〜B3、B5〜B8に対
応する同様の処理である。図14のステップG4は、D
FT変換された結果に対して所定のフィルタ処理を行う
もので、例えばある周波数成分以上をカットするローパ
スフィルタや特定の周波数成分を加算する部分加算フィ
ルタの他、XY方向の実数・虚数毎に値を積算する全体
積算あるいは部分積算フィルタを使って文字の基本的な
形を崩さずに多種多様な変形を行うようにしている。例
えば、ローパスフィルタの場合、周波数成分の集合体の
うち高域の周波数成分を削除し、文字の大体の形状を支
配する低域の周波数成分のみから成る丸みを持った輪郭
を生成する。また、全体積算フィルタの場合、各周波数
成分のX方向・Y方向の実数軸部分の値、虚数軸部分の
値を定数倍することで、文字の太さや長さを変えた輪郭
データを生成する。部分積算の場合、周波数成分の集合
体のうち最低周波数成分F1等の所定周波数成分の虚数
軸部分はそのままとし、その実数軸部分に定数を掛けて
定数倍することで、文字の勢いを変えた輪郭を生成す
る。部分加算フィルタの場合、周波数成分の集合体のう
ち所定の周波数成分の値を変更する加算処理を行うこと
で、文字の輪郭を振動させたり、太さを部分に変えた輪
郭を生成する。
FIG. 14 shows a one-character printing process according to the second embodiment. Except for step B4 (manipulate parameters) in FIG. 8 described above, other steps G1 to G3, G
Steps 5 to G8 are similar processes corresponding to steps B1 to B3 and B5 to B8 in FIG. Step G4 in FIG.
A predetermined filter process is performed on the result of the FT conversion. For example, a low-pass filter that cuts a certain frequency component or more, a partial addition filter that adds a specific frequency component, and a value for each real / imaginary number in the XY directions A variety of transformations are performed using a total integration or partial integration filter that integrates the characters without breaking the basic shape of the character. For example, in the case of a low-pass filter, a high-frequency component in a set of frequency components is deleted, and a rounded contour including only low-frequency components that govern the approximate shape of a character is generated. Also, in the case of the total integration filter, the value of the real axis part and the value of the imaginary axis part of each frequency component in the X and Y directions are multiplied by a constant to generate contour data in which the thickness and length of the character are changed. . In the case of partial integration, the imaginary axis part of the predetermined frequency component such as the lowest frequency component F1 in the set of frequency components is left as it is, and the real number axis part is multiplied by a constant to change the momentum of the character. Generate a contour. In the case of a partial addition filter, by performing an addition process of changing a value of a predetermined frequency component in a set of frequency components, a contour of a character is vibrated or a contour whose thickness is changed to a part is generated.

【0021】図15はこのようなフィルタ処理を示した
フローチャートである。先ず、フィルタ設定値を変更す
るパラメータゆらぎ処理(ステップH1)を実行したの
ち、ローパスフィルタ処理(ステップH2)、全体積算
フィルタ処理(ステップH3)、部分積算フィルタ処理
(ステップH4)、部分加算フィルタ処理(ステップH
5)を実行するが、これらのフィルタ処理は上述したよ
うに文字の形を崩さずにその輪郭形状を変形加工するも
ので、各種フィルタ処理のうち予め任意に指定されたフ
ィルタ処理が実行される。ここで、パラメータゆらぎ処
理(ステップH1)は、図16のフローチャートにした
がって実行される。先ず、処理対象として予め指定され
ているフィルタの設定値を取得してそれをコピー保存し
ておく(ステップJ1)。そして、フィルタ毎にその設
定値を変更する処理を行う(ステップJ2〜J5)。こ
こで、ローパスフィルタ(ステップJ2)、全体積算フ
ィルタ(ステップJ3)、部分積算フィルタ(ステップ
J4)、部分加算フィルタ(ステップJ5)の変更処理
は、図17のフローチャートにしたがって実行される。
ここで、乱数値Pを取得し(ステップK1)、フィルタ
設定値にこの乱数値Pを加算することによりフィルタ設
定値を変更する(ステップK2)。
FIG. 15 is a flowchart showing such a filtering process. First, after executing a parameter fluctuation process (step H1) for changing a filter set value, a low-pass filter process (step H2), an overall integration filter process (step H3), a partial integration filter process (step H4), a partial addition filter process (Step H
5) are performed, but these filter processes are for deforming the outline shape of the character without breaking the shape of the character as described above, and a filter process arbitrarily designated in advance among various filter processes is performed. . Here, the parameter fluctuation processing (step H1) is executed according to the flowchart of FIG. First, a set value of a filter specified in advance as a processing target is obtained, and it is copied and stored (step J1). Then, a process of changing the set value is performed for each filter (steps J2 to J5). Here, the changing process of the low-pass filter (Step J2), the overall integration filter (Step J3), the partial integration filter (Step J4), and the partial addition filter (Step J5) is executed according to the flowchart of FIG.
Here, a random value P is obtained (step K1), and the filter set value is changed by adding the random value P to the filter set value (step K2).

【0022】以上のようにこの第2実施形態において
は、周波数成分の集合体で表現された文字の輪郭を変形
加工するために、この輪郭データをフィルタ処理する際
に、このフィルタの設定値に乱数値を反映させること
で、文字の輪郭に揺らぎを付与し、これによって変形加
工された文字の輪郭データを座標列に変換して手書き風
文字を展開出力するようにしたから、表現力豊かな手書
き風文字を得ることが可能となる。図18はこの場合の
印刷例を示し、(A)は揺らぎを付与しない場合、
(B)は揺らぎを付与した場合である。
As described above, in the second embodiment, in order to deform the contour of a character represented by a set of frequency components, when the contour data is filtered, the set value of this filter is By reflecting the random number value, the contour of the character is fluctuated, and the contour data of the deformed character is converted into a coordinate sequence and the handwritten style character is developed and output, so it is rich in expressive power Handwritten characters can be obtained. FIG. 18 shows a printing example in this case. FIG. 18A shows a case where no fluctuation is given.
(B) is a case where the fluctuation is given.

【0023】なお、図19はこの第2実施形態の変形応
用例を示したもので、図17に対応するフィルタ変更処
理を示したものである。すなわち、図17で示したフィ
ルタ変更処理は、フィルタ設定値に乱数値を加算するよ
うにしたが、図19のフィルタ処理は、2組のフィルタ
設定値の加乗平均を乱数値により配分するようにしたも
のである。すなわち、周波数成分の集合体である文字の
輪郭データを予め任意に選択指定された複数種のフィル
タによって処理する際に、それらフィルタ設定値の加乗
平均値を乱数値により配分するようにしたものである。
ここで、2種類の乱数値P1、P2を取得してその合計
値Bを求め(ステップL1)、第1のフィルタ設定値×
乱数値P1+第2のフィルタ設定値×乱数値P2÷B=
フィルタ設定値の計算式によってフィルタ変更処理を行
う(ステップL2)。これによって揺らぎの方向性を統
一することができる。例えば、右肩上がりになりやすい
傾向を持っている場合に、基本的に似た形状であるが、
その1つは右肩上がり、他の1つは上がっていない文字
を生成することで、その人が持つ揺らぎ(手書き癖)を
再現することができる。この例では2組のフィルタとし
たが、3組以上でも同様の方法で処理することができ
る。
FIG. 19 shows a modified application of the second embodiment, and shows a filter change process corresponding to FIG. That is, in the filter changing process shown in FIG. 17, a random value is added to the filter set value, but in the filter process of FIG. 19, a root mean of two sets of filter set values is distributed by the random value. It was made. That is, when contour data of a character, which is a set of frequency components, is processed by a plurality of filters arbitrarily selected and designated in advance, a weighted average value of the filter setting values is distributed by random numbers. It is.
Here, two kinds of random number values P1 and P2 are obtained, and the total value B is obtained (step L1).
Random number value P1 + second filter setting value × random number value P2 ÷ B =
A filter change process is performed using the filter setting value calculation formula (step L2). Thereby, the directionality of the fluctuation can be unified. For example, if you have a tendency to rise to the right, the shape is basically similar,
One of them generates a character which rises to the right and the other one does not, so that the fluctuation (handwriting habit) of the person can be reproduced. In this example, two sets of filters are used, but three or more sets can be processed in the same manner.

【0024】(第3実施形態)以下、図20〜図23を
参照してこの発明の第3実施形態を説明する。なお、上
述した各実施形態のように乱数値を用いて文字の変形を
行って印刷を行うと、二度と全く同じの印刷結果を得ら
れることはない。しかし、年賀状の印刷などでは自分が
一度上手に書けたものを全ての人に送りたいという要望
があるため、この第3実施形態においては、文字の変形
を乱数値を用いて何度も試みた場合に、その中から自分
の好みに合ったものを繰り返して印刷できるようにした
ものである。ここで、文字の輪郭に揺らぎを付与する乱
数値は乱数レジスタにセットされた値を基に生成され
る。図20はこの場合の乱数発生処理を示したフローチ
ャートである。先ず、乱数レジスタの値から乱数を発生
させ(ステップM1)、この乱数を乱数レジスタに書き
込む(ステップM2)。つまり、乱数レジスタにセット
された数値を基に例えば、その数値を「7」で割った小
数点以下の数値の一部を取り出すことで乱数を発生す
る。そして、発生された乱数を再度、乱数レジスタにセ
ットすることで、次の乱数が発生される。したがって、
最初に乱数レジスタにセットされる値が同じならば、次
々に発生される乱数値は毎回同じ乱数列となるため、乱
数値を用いて変形加工した結果を表示で確認する際に、
乱数レジスタの値を他のメモリに保存しておき、この値
を印刷の際に乱数レジスタに書き戻すことで、最後に表
示させた変形文字分何度でも印刷することが可能とな
る。
(Third Embodiment) Hereinafter, a third embodiment of the present invention will be described with reference to FIGS. In addition, if the character is deformed by using the random number value and the printing is performed as in each of the above-described embodiments, the same print result will never be obtained again. However, in the printing of a New Year's card, etc., there is a desire to send the one that has been successfully written once to all persons, so in the third embodiment, the character transformation was repeated many times using a random value. In such a case, it is possible to repeatedly print a print that suits the user's preference. Here, a random value for giving a fluctuation to the outline of the character is generated based on the value set in the random number register. FIG. 20 is a flowchart showing the random number generation processing in this case. First, a random number is generated from the value of the random number register (step M1), and this random number is written to the random number register (step M2). That is, a random number is generated based on the numerical value set in the random number register, for example, by extracting a part of the numerical value after the decimal point obtained by dividing the numerical value by “7”. Then, the next random number is generated by setting the generated random number again in the random number register. Therefore,
If the value set in the random number register at the beginning is the same, the random numbers generated one after another will be the same random number sequence each time, so when confirming the result of deformation processing using the random number value on the display,
By storing the value of the random number register in another memory and writing the value back to the random number register at the time of printing, it is possible to print as many times as the last displayed deformed character.

【0025】図21はキー操作に応じた処理概要を示し
たフローチャートで、文字列を入力した後、再表示キー
が押下されると(ステップN1)、サンプル表示処理が
行われる(ステップN2)。このサンプル表示処理は図
22のフローチャートにしたがって実行され、乱数レジ
スタの値を他のメモリに保存したのち(ステップP
1)、上述した第1あるいは第2実施形態と同様に、乱
数値を用いて文字の変形を行い、その結果をサンプル表
示させる(ステップP2)。ここで、サンプル表示がユ
ーザの好みに合ったものであれば、その印刷を指示す
る。すると、ステップN3でそのことが検出されてステ
ップN4に進み、印刷処理が行われるが、この印刷処理
は図23のフローチャートにしたがって実行される。す
なわち、サンプル表示時に保存した値を呼び戻して乱数
レジスタに初期値としてセットする(ステップQ1)。
そして、上述した第1あるいは第2実施形態と同様に、
乱数を用いて文字の変形を行い、その結果を印刷出力さ
せる(ステップQ2)。したがって、サンプル表示後に
その印刷を指示すれば、サンプル表示の文字を印刷する
ことができるようになる。なお、ステップN5はその他
の指示に応じた処理である。
FIG. 21 is a flow chart showing an outline of processing according to a key operation. When a redisplay key is pressed after inputting a character string (step N1), sample display processing is performed (step N2). This sample display processing is executed according to the flowchart of FIG. 22, and after the value of the random number register is stored in another memory (step P
1) Similar to the above-described first or second embodiment, a character is transformed using a random number, and the result is sample-displayed (step P2). If the sample display matches the user's preference, the user instructs printing. Then, this is detected in step N3, and the process proceeds to step N4, where printing processing is performed. This printing processing is executed according to the flowchart of FIG. That is, the value stored at the time of displaying the sample is recalled and set as an initial value in the random number register (step Q1).
Then, similarly to the above-described first or second embodiment,
The character is transformed using a random number, and the result is printed out (step Q2). Therefore, if the printing is instructed after the sample display, the characters of the sample display can be printed. Step N5 is a process according to another instruction.

【0026】なお、上述した第3実施形態は、サンプル
表示の中から最も適した文字を選択するようにしたが、
それぞれ異なる乱数を用いて生成表示された複数種の手
書き風文字の中から所望の文字が選択される毎に、その
文字の変形に用いられた乱数値をそれぞれ記憶保存して
おき、手書き風文字の印刷が指示された場合には、前記
記憶保存されている各乱数値のうち任意の乱数値を選択
して呼び戻すと共に、この乱数値を用いて変形加工され
た手書き風文字を印刷出力させるようにしてもよい。こ
の場合、サンプル表示によって好みに合った結果を複数
種選択しておき、印刷時にその中から最良の結果を選ん
で印刷することができる。また、各実施形態において
は、既存の通常文字フォントをDFT処理することによ
って周波数フォントを得るようにしたが、周波数フォン
トを文字フォントメモリに固定的に記憶しておき、それ
を呼び出して変形加工するようにしてもよい。
In the third embodiment, the most suitable character is selected from the sample display.
Each time a desired character is selected from a plurality of types of handwritten characters generated and displayed using different random numbers, the random number value used to transform the character is stored and saved, and the handwritten character When the printing is instructed, an arbitrary random number value is selected from the stored random numbers and recalled, and the handwritten character deformed by using the random number value is printed out. It may be. In this case, it is possible to select a plurality of types of results that match the taste by sample display, and to select and print the best result from the selected results during printing. Further, in each embodiment, the frequency font is obtained by performing the DFT processing on the existing normal character font. However, the frequency font is fixedly stored in the character font memory, and the frequency font is called and deformed. You may do so.

【0027】[0027]

【発明の効果】第1および第2の発明によれば、空間周
波数成分の集合体である文字の輪郭を変形加工する際
に、乱数値を用いることで、文字の輪郭に手書き風の揺
らぎを表現することができると共に、その変形を容易に
行うことができる。
According to the first and second aspects of the present invention, when deforming a contour of a character, which is a set of spatial frequency components, a random number value is used, so that handwriting-like fluctuations are applied to the contour of the character. In addition to being able to express, it can be easily transformed.

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

【図1】(A)は文書データ処理装置の全体構成を示し
たブロック図、(B)はRAM4の主要部分を示した
図。
FIG. 1A is a block diagram showing an overall configuration of a document data processing device, and FIG. 1B is a diagram showing a main part of a RAM 4.

【図2】通常の文字フォントをパーツ毎にサンプリング
してDFT処理することにより周波数フォントが生成さ
れる様子を示した図。
FIG. 2 is a diagram illustrating a state in which a frequency font is generated by sampling a normal character font for each part and performing DFT processing.

【図3】通常の文字フォントをパーツ毎に分解してDF
T処理される様子を示すと共に、DFT処理することに
よって得られた実数部分の値と虚数部分の値を周波数軸
上に離散的に分布させた周波数分布図を示した図。
[Fig. 3] Decomposes a normal character font into parts for each DF
FIG. 7 is a diagram illustrating a state of T processing and a frequency distribution diagram in which values of a real part and an imaginary part obtained by performing DFT processing are discretely distributed on a frequency axis.

【図4】周波数フォントを構成する具体的な数値を示す
と共に、どのパーツがどのデータに対応しているかの対
応関係を示した図。
FIG. 4 is a diagram showing specific numerical values forming a frequency font and showing a correspondence relationship between which part corresponds to which data.

【図5】(A)は周波数フォントのデータ構造を説明す
るための図、(B)はこのようなデータ構造の周波数フ
ォントによって表現される文字の出力状態を示した図。
5A is a diagram for explaining a data structure of a frequency font, and FIG. 5B is a diagram showing an output state of a character represented by the frequency font having such a data structure.

【図6】空間周波数成分のX方向実数軸の値、Y方向実
数軸の値、虚数軸の値を増減させた場合に文字がどのよ
うに変形加工されるかを例示した図。
FIG. 6 is a diagram exemplifying how a character is deformed when the values of the real axis of the X direction, the values of the real axis of the Y direction, and the values of the imaginary axis of the spatial frequency component are increased or decreased.

【図7】文字列を印刷出力する際の全体動作を示したフ
ローチャート。
FIG. 7 is a flowchart illustrating an overall operation when a character string is printed out.

【図8】図7のステップA5(1文字印刷処理)を詳述
したフローチャート。
FIG. 8 is a flowchart detailing step A5 (one-character printing process) in FIG. 7;

【図9】図8のステップB4(実数軸部分のパラメータ
操作)を詳述したフローチャート。
FIG. 9 is a flowchart detailing step B4 (parameter operation of a real number axis portion) in FIG. 8;

【図10】図8のステップB4(虚数軸部分のパラメー
タ操作)を詳述したフローチャート。
FIG. 10 is a flowchart detailing step B4 (parameter operation of an imaginary axis part) in FIG. 8;

【図11】図9、図10の成分積算処理を詳述したフロ
ーチャート。
FIG. 11 is a flowchart detailing the component integration processing of FIGS. 9 and 10;

【図12】第1実施形態の変形応用例を説明するための
図で、特定周波数成分に対してのみ行われる成分積算処
理を示したフローチャート。
FIG. 12 is a diagram for describing a modified application example of the first embodiment, and is a flowchart showing a component integration process performed only on a specific frequency component.

【図13】印刷例であり、(A)は揺らぎを付与しない
場合、(B)は揺らぎを付与した場合の印刷例を示した
図。
13A and 13B are printing examples, in which FIG. 13A shows a printing example in which no fluctuation is applied, and FIG. 13B shows a printing example in which fluctuation is applied.

【図14】第2実施形態における1文字印刷処理を示し
たフローチャート。
FIG. 14 is a flowchart illustrating a one-character printing process according to the second embodiment.

【図15】図14のステップG4(フィルタ処理)を詳
述したフローチャート。
FIG. 15 is a flowchart detailing step G4 (filter processing) in FIG. 14;

【図16】図15のステップH1(パラメータゆらぎ処
理)を詳述したフローチャート。
FIG. 16 is a flowchart detailing step H1 (parameter fluctuation processing) in FIG. 15;

【図17】図15のパラメータゆらぎ処理において実行
されるフィルタ変更処理を示したフローチャート。
FIG. 17 is a flowchart showing a filter changing process executed in the parameter fluctuation process of FIG. 15;

【図18】第2実施形態の印刷例で、(A)は揺らぎを
付与しない場合、(B)は揺らぎを付与した場合の印刷
例を示した図。
FIGS. 18A and 18B are diagrams illustrating a printing example in which no fluctuation is applied and FIG. 18B illustrates a printing example in which fluctuation is applied.

【図19】第2実施形態における変形応用例を説明する
ための図で、図17に対応するフィルタ変更処理を示し
たフローチャート。
FIG. 19 is a view for explaining a modified application example in the second embodiment, and is a flowchart showing a filter changing process corresponding to FIG. 17;

【図20】第3実施形態における処理発生処理を示した
フローチャート。
FIG. 20 is a flowchart illustrating a process generation process according to the third embodiment.

【図21】キー操作に応じた処理概要を示したフローチ
ャート。
FIG. 21 is a flowchart showing an outline of processing according to a key operation.

【図22】図21のステップN2(サンプル表示処理)
を詳述したフローチャート。
FIG. 22: Step N2 in FIG. 21 (sample display processing)
5 is a flowchart detailing FIG.

【図23】図21のステップN4(印刷処理)を詳述し
たフローチャート。
23 is a flowchart detailing step N4 (print processing) in FIG. 21.

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

1 CPU 2 記憶装置 2−1 通常フォント格納部 3 記憶媒体 4 RAM 4−1 文字列格納部 4−2 周波数変換ワーク部 4−3 変形フォント格納部 4−4 印刷バッファ 5 入力装置 6 表示装置 7 印刷装置 DESCRIPTION OF SYMBOLS 1 CPU 2 Storage device 2-1 Normal font storage unit 3 Storage medium 4 RAM 4-1 Character string storage unit 4-2 Frequency conversion work unit 4-3 Modified font storage unit 4-4 Print buffer 5 Input device 6 Display device 7 Printing equipment

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】離散的な空間周波数成分の集合体で表現さ
れた文字の輪郭を変形加工するために、この輪郭データ
に乱数値を反映させることで、文字の輪郭に揺らぎを付
与した手書き風文字を生成する文字加工手段と、 この文字加工手段によって変形加工された文字の輪郭デ
ータを座標列データに変換する変換手段と、 この変換手段によって変換された座標列データに基づい
て手書き風文字を展開出力する出力手段とを具備したこ
とを特徴とする手書き風文字出力装置。
In order to deform a contour of a character represented by a set of discrete spatial frequency components, a random number value is reflected on the contour data, so that the contour of the character is fluctuated. A character processing means for generating a character; a conversion means for converting contour data of the character deformed by the character processing means into coordinate string data; and a handwritten character based on the coordinate string data converted by the conversion means. An output device for expanding and outputting a handwritten character output device.
【請求項2】前記文字加工手段は空間周波数成分の集合
体のうち特定周波数成分あるいは全周波数成分に対して
長さを変化させる所定要素に乱数値を乗算することで、
文字の輪郭に揺らぎを付与した手書き風文字を生成する
ようにしたことを特徴とする請求項1記載の手書き風文
字出力装置。
2. The character processing means multiplies a predetermined element that changes the length of a specific frequency component or all frequency components in a set of spatial frequency components by a random value.
2. The handwritten character output device according to claim 1, wherein a handwritten character in which a contour of the character is fluctuated is generated.
【請求項3】前記文字加工手段は空間周波数成分の集合
体のうち特定周波数成分あるいは全周波数成分に対して
太さを変化させる所定要素に乱数値を乗算することで、
文字の輪郭に揺らぎを付与した手書き風文字を生成する
ようにしたことを特徴とする請求項1記載の手書き風文
字出力装置。
3. The character processing means multiplies a predetermined element for changing the thickness of a specific frequency component or all frequency components in a set of spatial frequency components by a random number value.
2. The handwritten character output device according to claim 1, wherein a handwritten character in which a contour of the character is fluctuated is generated.
【請求項4】前記文字加工手段は空間周波数成分の集合
体を構成する全要素に同一乱数値を乗算することで文字
全体を拡大/縮小させて大きさの揺らぎを含めた変形を
行うことを特徴とする請求項1記載の手書き風文字出力
装置。
4. The character processing means according to claim 1, wherein the whole character is enlarged / reduced by multiplying all elements constituting a set of spatial frequency components by the same random number value to perform a deformation including a fluctuation in size. The handwritten character output device according to claim 1, characterized in that:
【請求項5】離散的な空間周波数成分の集合体で表現さ
れた文字の輪郭を変形加工するために、この輪郭データ
をフィルタ処理する際に、このフィルタの設定値に乱数
値を反映させることで、文字の輪郭に揺らぎを付与した
手書き風文字を生成する文字加工手段と、 この文字加工手段によって変形加工された文字の輪郭デ
ータを座標列データに変換する変換手段と、 この変換手段によって変換された座標列データに基づい
て手書き風文字を展開出力する出力手段とを具備したこ
とを特徴とする手書き風文字出力装置。
5. A method for modifying a contour of a character represented by a set of discrete spatial frequency components, wherein a random value is reflected on a set value of the filter when the contour data is filtered. A character processing means for generating a handwritten character in which the contour of the character is fluctuated; a converting means for converting the contour data of the character deformed by the character processing means into coordinate string data; Output means for expanding and outputting a handwritten character based on the coordinate sequence data thus obtained.
【請求項6】前記文字加工手段は空間周波数成分の集合
体で表現された文字の輪郭データを複数種のフィルタに
よって処理する際に、それらフィルタ設定値の加重平均
値を乱数値により配分することで、文字の輪郭に手書き
癖の揺らぎを付与するようにしたことを特徴とする請求
項5記載の手書き風文字出力装置。
6. The character processing means, when processing contour data of a character represented by a set of spatial frequency components by a plurality of types of filters, distributes weighted average values of the filter setting values by random numbers. 6. The handwritten character output device according to claim 5, wherein a fluctuation of the handwriting habit is added to the outline of the character.
【請求項7】同一の初期値から所定の乱数を順次発生す
る乱数発生手段を設け、前記乱数発生手段によって発生
され、かつ前記文字加工手段によって文字の輪郭を変形
加工する際に用いられた乱数値を記憶保存すると共に、
この乱数値を用いて変形加工された手書き風文字を表示
する他、この手書き風文字の印刷が指示された場合には
前記記憶保存されている乱数値を呼び戻すと共に、この
乱数値を用いることによって変形加工された手書き風文
字を印刷出力させる出力制御手段を設けたことを特徴と
する請求項1あるいは5記載の手書き風文字出力装置。
7. A random number generating means for sequentially generating a predetermined random number from the same initial value, wherein a random number generated by the random number generating means and used when deforming a contour of a character by the character processing means. In addition to storing and saving numerical values,
In addition to displaying the deformed handwritten characters using this random number value, when the printing of the handwritten characters is instructed, the stored random number value is recalled, and the random number value is used. 6. A handwritten character output device according to claim 1, further comprising an output control means for printing and outputting the deformed handwritten character.
【請求項8】それぞれ異なる乱数を用いて生成表示され
た複数種の手書き風文字の中から所望の文字が選択され
る毎に、その文字の変形に用いられた乱数値をそれぞれ
記憶保存しておき、手書き風文字の印刷が指示された場
合には、前記記憶保存されている各乱数値のうち任意の
乱数値を選択して呼び戻すと共に、この乱数値を用いて
変形加工された手書き風文字を印刷出力させるようにし
たことを特徴とする請求項7記載の手書き風文字出力装
置。
8. Each time a desired character is selected from a plurality of types of handwritten characters generated and displayed using different random numbers, a random number value used for deforming the character is stored and saved. When the printing of the handwritten character is instructed, an arbitrary random value is selected and recalled from each of the stored random numbers, and the handwritten character deformed using the random value is processed. 8. The handwritten-style character output device according to claim 7, wherein the character is printed out.
【請求項9】コンピュータによって読み取られるプログ
ラムコードを有する記録媒体であって、 離散的な空間周波数成分の集合体で表現された文字の輪
郭を変形加工するために、この輪郭データに乱数値を反
映させることで、文字の輪郭に揺らぎを付与した手書き
風文字を生成する機能と、 変形加工された文字の輪郭データを座標列データに変換
する機能と、 変換された座標列データに基づいて手書き風文字を展開
出力する機能を実現するためのプログラムコードを有す
る記録媒体。
9. A recording medium having a program code read by a computer, wherein a random number value is reflected on the contour data in order to deform a contour of a character represented by a set of discrete spatial frequency components. A function to generate handwritten characters in which the contours of the characters are fluctuated, a function to convert the contour data of the deformed character into coordinate sequence data, and a function to generate handwritten characters based on the converted coordinate sequence data. A recording medium having a program code for realizing a function of developing and outputting characters.
【請求項10】コンピュータによって読み取られるプロ
グラムコードを有する記録媒体であって、 離散的な空間周波数成分の集合体で表現された文字の輪
郭を変形加工するために、この輪郭データをフィルタ処
理する際に、このフィルタの設定値に乱数値を反映させ
ることで、文字の輪郭に揺らぎを付与した手書き風文字
を生成する機能と、 変形加工された文字の輪郭データを座標列データに変換
する機能と、 変換された座標列データに基づいて手書き風文字を展開
出力する機能を実現するためのプログラムコードを有す
る記録媒体。
10. A recording medium having a program code read by a computer, wherein the contour data is subjected to a filtering process in order to deform a contour of a character represented by a set of discrete spatial frequency components. In addition, a function to generate handwritten characters with fluctuations in the character outline by reflecting random numbers in the setting values of this filter, and a function to convert the outline data of the deformed character into coordinate sequence data A recording medium having a program code for realizing a function of developing and outputting a handwritten character based on the converted coordinate string data.
JP11160462A 1999-06-08 1999-06-08 Handwriting-like character outputting device, and program storage medium for the device Pending JP2000347647A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11160462A JP2000347647A (en) 1999-06-08 1999-06-08 Handwriting-like character outputting device, and program storage medium for the device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11160462A JP2000347647A (en) 1999-06-08 1999-06-08 Handwriting-like character outputting device, and program storage medium for the device

Publications (1)

Publication Number Publication Date
JP2000347647A true JP2000347647A (en) 2000-12-15

Family

ID=15715475

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11160462A Pending JP2000347647A (en) 1999-06-08 1999-06-08 Handwriting-like character outputting device, and program storage medium for the device

Country Status (1)

Country Link
JP (1) JP2000347647A (en)

Similar Documents

Publication Publication Date Title
JPH0916146A (en) Character and symbol pattern generating device
JP2909273B2 (en) Outline font line width adjusting method and apparatus
JP3037854B2 (en) Character generation method and device
JP2000347647A (en) Handwriting-like character outputting device, and program storage medium for the device
JP3479282B2 (en) Character and graphic transformation processor
JPH0934434A (en) Character generating device
JPS59210482A (en) Character pattern generator
JP2562458B2 (en) Character generation method for computer system
JP2000330980A (en) Handwriting-like character output device and its program recording medium
JPH09305160A (en) Character generator
JP3567748B2 (en) Character font generator
JP3163577B2 (en) Vector font generation method
JP2000039879A (en) Character font transformation output device and program recording medium
JP3040624B2 (en) Pattern generator
JP2000347648A (en) Character face composing and outputting device, and program storage medium for the device
JP3055306B2 (en) Data output device
JP3437293B2 (en) Character output method and character processing device
JPH0553558A (en) Information processor
JPH03175062A (en) High quality character generator
JPH0696182A (en) Document layout device
JP2000039881A (en) Character font storing device, character font output device and record medium for its program
JPH05216456A (en) Character output device
JPS62175794A (en) Character generator
JPH05341761A (en) Device for generating character
JPH08297482A (en) Character processing device and method