JP2000330980A - Handwriting-like character output device and its program recording medium - Google Patents

Handwriting-like character output device and its program recording medium

Info

Publication number
JP2000330980A
JP2000330980A JP11140956A JP14095699A JP2000330980A JP 2000330980 A JP2000330980 A JP 2000330980A JP 11140956 A JP11140956 A JP 11140956A JP 14095699 A JP14095699 A JP 14095699A JP 2000330980 A JP2000330980 A JP 2000330980A
Authority
JP
Japan
Prior art keywords
character
outline
color
font
contour
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
JP11140956A
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 JP11140956A priority Critical patent/JP2000330980A/en
Publication of JP2000330980A publication Critical patent/JP2000330980A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PROBLEM TO BE SOLVED: To print a handwriting-like character which represents fine vibrations like a handwriting in brush on the entire outline of the character and also represents a blur like a spread of Chinese ink on paper at the outline part. SOLUTION: A CPU 1 performs the DFT processing of a normal character font, extracts the lowest-order frequency component from the processing result, and adds it to the highest-order frequency component to give vibrations approximating the movement of a brush to the entire outline of a character. Then the CPU 1 performs DFT inverse transformation to restore the outline data of this character to coordinate sequence data, paints out the inside of the outline, and adds a blur to the outline in a color thinner than the painting-out color.

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, in addition to expressing fine vibrations as if written with a brush on the entire contour of the character, and blurring the ink as if it smudged on paper. Is to be able to print a handwritten character in which the character is expressed in the outline portion.

【0004】[0004]

【課題を解決するための手段】この発明の手段は次の通
りである。請求項1記載の発明は、離散的な空間周波数
成分の集合体で表現された文字の輪郭を変形加工するた
めに、この空間周波数成分の集合体から文字の大体の形
状を支配する低次の周波数成分を抽出すると共に、この
低次の周波数成分を高次の周波数成分に加算することに
より文字の輪郭全体に毛筆の動きに近似した振動を付与
する文字加工手段と、手書き風文字を印刷出力する際
に、前記文字加工手段によって変形加工された文字の輪
郭データを座標列データに変換する変換手段と、この変
換手段によって得られた座標列データを基に文字の輪郭
内部を塗り潰す塗り潰し手段と、この塗り潰し手段によ
って文字の輪郭内部を塗り潰す色の濃度よりも薄い色を
毛筆で書いたときに表われるにじみ色として決定し、前
記変換手段によって得られた座標列データを基に文字の
輪郭に沿って前記にじみ色を付加する輪郭加工手段とを
具備するものである。なお、既存する通常の文字フォン
トを構成する文字の輪郭を辿ってサンプリングし、それ
を直交変換によって文字の輪郭を離散的な空間周波数成
分の集合体で表現して成る周波数フォントに変換するフ
ォント変換手段を設け、前記文字加工手段は前記周波数
フォントを構成するデータを加工することにより文字の
輪郭を変形した変形フォントを生成し、前記変換手段は
前記変形フォントを直交逆変換することによって座標列
データを得るようにしてもよい。また、前記輪郭加工手
段は文字の輪郭内部を塗り潰す色の濃度よりも薄い色を
毛筆で書いたときに表われるにじみ色として決定する際
に、セットされた印刷用紙の種類に対応して予め決めら
れている濃度を持ったにじみ色を決定するようにしても
よい。
The means of the present invention are as follows. According to the first aspect of the present invention, in order to deform the outline of a character represented by a set of discrete spatial frequency components, a low-order shape that governs the approximate shape of a character from the set of spatial frequency components is used. A character processing means for extracting a frequency component and adding the low-order frequency component to a high-order frequency component to impart a vibration similar to the movement of a brush to the entire contour of the character, and print-out a handwritten character Conversion means for converting the contour data of the character deformed by the character processing means into coordinate string data, and a filling means for filling the inside of the outline of the character based on the coordinate string data obtained by the conversion means. And determining the color that is lighter than the density of the color that fills the inside of the outline of the character by the brush means as a bleeding color that appears when writing with a writing brush. Based on the sequence data along the contour of the character it is to and a contour processing unit for adding color bleeding said. In addition, a font conversion is performed in which sampling is performed by tracing the contours of characters constituting an existing ordinary character font, and the sampled font is converted into a frequency font which is represented by a set of discrete spatial frequency components by orthogonal transformation. Means, the character processing means generates a deformed font in which the outline of a character is deformed by processing data constituting the frequency font, and the conversion means performs orthogonal inverse conversion of the deformed font to obtain coordinate string data. May be obtained. Further, the contour processing means determines a color lighter than the density of the color that fills the inside of the outline of the character as a bleeding color that appears when writing with a brush, and in advance, corresponds to the type of printing paper set. A blurred color having a predetermined density may be determined.

【0005】請求項1記載の発明においては、離散的な
空間周波数成分の集合体で表現された文字の輪郭を変形
加工するために、この空間周波数成分の集合体から文字
の大体の形状を支配する低次の周波数成分(例えば、最
低次周波数成分)を抽出すると共に、この低次の周波数
成分を高次の周波数成分(例えば、最高次の周波数成
分)に加算することにより文字の輪郭全体に毛筆の動き
に近似した振動を付与しておき、手書き風文字を印刷出
力する際に、前記変形加工された文字の輪郭データを座
標列データに変換し、この座標列データを基に文字の輪
郭内部を塗り潰す他、この塗り潰し色の濃度よりも薄い
色を毛筆で書いたときに表われるにじみ色として決定
し、前記座標列データを基に文字の輪郭に沿って前記に
じみ色を付加する。したがって、毛筆で書いたような細
かな振動を文字の輪郭全体に表現する他、墨が紙ににじ
んだようなぼかしをその輪郭部分に表現した手書き風文
字を印刷することができる。
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, the approximate shape of the character is controlled from the set of spatial frequency components. A low-order frequency component (for example, the lowest-order frequency component) is extracted, and this low-order frequency component is added to a high-order frequency component (for example, the highest-order frequency component), thereby forming the entire character outline. Vibration similar to the movement of a brush is applied, and when printing a handwritten character, the contour data of the deformed character is converted into coordinate string data. In addition to filling in the interior, a color lighter than the density of the filling color is determined as a bleeding color that appears when writing with a brush, and the bleeding color is added along the contour of the character based on the coordinate sequence data. Therefore, in addition to expressing a fine vibration as if written with a brush on the entire contour of the character, it is possible to print a handwritten character in which a blur such as ink smeared on paper is expressed in the outline.

【0006】[0006]

【発明の実施の形態】(第1実施形態)以下、図1〜図
11を参照してこの発明の第1実施形態を説明する。図
1(A)は文書データ処理装置の全体構成を示したブロ
ック図である。CPU1は各種プログラムにしたがって
この文書データ処理装置の全体動作を制御する中央演算
処理装置である。記憶装置2はオペレーティングシステ
ムや各種アプリケーションプログラム、データファイ
ル、文字フォントデータ等が予め格納されている記憶媒
体3やその駆動系を有している。この記憶媒体3は固定
的に設けたもの、もしくは着脱自在に装着可能なもので
あり、フロッピーディスク、ハードディスク、光ディス
ク、RAMカード等の磁気的・光学的記憶媒体、半導体
メモリによって構成されている。また、記憶媒体3内の
プログラムやデータは、必要に応じてCPU1の制御に
より、RAM4にロードされる。更に、CPU1は通信
回線等を介して他の機器側から送信されて来たプログラ
ム、データを受信して記憶媒体3に格納したり、他の機
器側に設けられている記憶媒体に格納されているプログ
ラム、データを通信回線等を介して使用することもでき
る。そして、CPU1にはその入出力周辺デバイスであ
る入力装置5、表示装置6、印刷装置7がバスラインを
介して接続されており、入出力プログラムにしたがって
CPU1はそれらの動作を制御する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS (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の基本周波数とし、この基本
周波数とその整数倍の周波数とを組み合せた集合体のデ
ータ構造に変換するようにしている。
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.

【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に展開する。
その際、CPU1は文字の輪郭線に塗り潰し色よりも薄
い色を付加することにより毛筆で書いたようなにじみを
持たせる。
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
The CPU 1 temporarily stores a deformed font in which a vibration approximating the movement of a brush is applied to the entire outline of a character. The CPU 1 generates the original coordinate sequence data by performing an inverse Fourier transform on the outline data constituting the deformed font. After that, based on the coordinate sequence data, a rasterizing process for filling the inside of the outline is performed, and the image is developed in the print buffer 4-4.
At this time, the CPU 1 adds a color lighter than the fill color to the outline of the character so as to give a blur as if written with a brush.

【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.

【0011】図3は文字「和」が1パーツ毎に分解され
てFFT処理される様子を示したもので、その「のぎ
偏」を構成する縦長のパーツと、その「囗」を構成する
大きく曲がっているパーツについて着目し、各パーツ毎
に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 FFT 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の高周波数成分によって細かく振動されるが、
その振動の回数や強さは任意に制御可能であり、大きな
振動を得るためにはその値を大きくすればよく、また細
かな振動を得るには高周波数成分の次数を高めればよ
い。
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.

【0013】次に、文書データ処理装置の動作を図6〜
図9に示すフローチャートにしたがって説明する。ここ
で、これらのフローチャートに記述されている各機能を
実現するためのプログラムは、CPU1が読み取り可能
なプログラムコードの形態で記憶媒体3に格納されてお
り、CPU1はこのプログラムコードにしたがった動作
を逐次実行する。なお、このことは後述する他の実施形
態においても同様である。図6は文字列を印刷出力する
際の全体動作を示したフローチャートである。すなわ
ち、通常の文字フォント(アウトラインフォント)を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. 6 is a flowchart showing the entire 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】図7は図6のステップA5(1文字印刷処
理)を詳述したフローチャートである。先ず、文字の1
画目を指定するために画ポインタを初期化する(ステッ
プB1)。そして、この画ポインタで示される1画分の
データを通常フォント格納部3−1から読み込み(ステ
ップB2)、それをDFT変換する(ステップB3)。
すなわち、処理対象の文字フォントを構成するパーツ数
を取得すると共に、その1パーツ目を展開描画し、その
パーツの輪郭線上を辿ってサンプリングし、サンプリン
グされた各点の座標値をDFT変換する。この場合、D
FT計算はX座標成分、Y座標成分に分けて行われ、X
方向実数軸部分の値、虚数軸部分の値、Y方向実数軸部
分の、虚数軸部分の値がそれぞれ得られる。このように
してDFT変換が行われると、その変換結果に対してそ
のパラメータを操作することにより文字の輪郭を変形し
た変形フォントを生成する(ステップB4)。なお、上
述した図5の例では低域の周波数成分に特定の高周波数
成分として一定値を加算することにより文字の輪郭に一
定の振動を与えるようにしたが、最低次周波数成分F1
を最高次周波数成分Fmaxに加算することによって文
字の輪郭に毛筆で書いたような振動を付加することがで
きる。
FIG. 7 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 of one stroke indicated by the stroke pointer is read from the normal font storage unit 3-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 to a low-frequency component as a specific high-frequency component to give a constant vibration to the outline of the character. However, the lowest-order frequency component F1
Is added to the highest-order frequency component Fmax, whereby a vibration as if written with a brush can be added to the outline of the character.

【0015】図8はこの場合の変形処理を示したもの
で、DFT処理によって得られた空間周波数成分の集合
体の中からディジタルフィルタによって最低次周波数成
分F1のみを抽出すると共に、この最低次周波数成分F
1を最高次周波数成分Fmaxに加算する。すなわち、
最低次周波数成分F1のX方向実数軸部分F1Xrに係
数Pを掛け、その結果を最高次周波数成分FmaxのX
方向実数軸部分FmaxXrに加算する(ステップC
1)。また、最低次周波数成分F1のX方向虚数軸部分
F1Xiに係数Pを掛け、その結果を最高次周波数成分
FmaxのX方向虚数軸部分FmaxXiに加算する
(ステップC2)。Y方向についても同様に、最低次周
波数成分F1のY方向実数軸部分F1Yrに係数Pを掛
け、その結果を最高次周波数成分FmaxのY方向実数
軸部分FmaxYrに加算する(ステップC3)。ま
た、最低次周波数成分F1のY方向虚数軸部分F1Yr
に係数Pを掛け、その結果を最高次周波数成分Fmax
のY方向虚数軸部分FmaxYiに加算する(ステップ
C4)。図10はこの場合の変形例を示したものであ
る。ここで、図10(A)は文字「十」をDFT変換す
ることによって得られた周波数フォントをオリジナルな
フォントとした場合の出力形状を例示したもので、この
オリジナルフォントから最低次周波数成分F1のみを取
り出した場合には図10(B)に示すように丸味の帯び
た形状のフォントに変形される。この最低次周波数成分
F1を最高次周波数成分Fmaxに加算した場合には図
10(C)に示すように輪郭の全体に毛筆の動きに近似
した細かな振動が付加された形状のフォントに変形され
る。なお、この場合の振動の大きさは係数Pによって増
域可能である。
FIG. 8 shows a modification process in this case, in which only the lowest-order frequency component F1 is extracted from a set of spatial frequency components obtained by the DFT process by a digital filter, and the lowest-order frequency component F1 is extracted. Component F
1 is added to the highest-order frequency component Fmax. That is,
The X-axis real number axis portion F1Xr of the lowest-order frequency component F1 is multiplied by a coefficient P, and the result is expressed as X of the highest-order frequency component Fmax.
Add to the direction real number axis portion FmaxXr (step C
1). Further, the imaginary axis part F1Xi in the X direction of the lowest order frequency component F1 is multiplied by the coefficient P, and the result is added to the imaginary axis part FmaxXi in the X direction of the highest order frequency component Fmax (step C2). Similarly, in the Y direction, the real axis part F1Yr in the Y direction of the lowest order frequency component F1 is multiplied by the coefficient P, and the result is added to the real axis part FmaxYr in the Y direction of the highest order frequency component Fmax (step C3). Also, the imaginary axis portion F1Yr in the Y direction of the lowest-order frequency component F1
Is multiplied by a coefficient P, and the result is referred to as the highest-order frequency component Fmax.
To the imaginary axis portion FmaxYi in the Y direction (step C4). FIG. 10 shows a modification in this case. Here, FIG. 10A illustrates an output shape when the frequency font obtained by performing DFT conversion of the character “ten” is an original font, and only the lowest-order frequency component F1 is obtained from this original font. Is extracted, the font is transformed into a rounded font as shown in FIG. When the lowest-order frequency component F1 is added to the highest-order frequency component Fmax, as shown in FIG. 10C, the font is transformed into a font having a shape in which fine vibrations similar to the movement of a brush are added to the entire contour. You. The magnitude of the vibration in this case can be increased by the coefficient P.

【0016】このようにして1パーツ分の輪郭全体に振
動を与える変形処理が終ると、図7のステップB5に進
み、この変形フォントに対してフーリエ逆変換を行う。
この場合、1パーツ分の変形フォントをDFT逆変換す
ると、プロットしたときの座標に戻るため、これをショ
ートベクトルとするアウトラインフォントが得られる。
そして、印刷バッファ4−4上において、輪郭内部を塗
り潰すラスタライズ処理を行う(ステップB6)。図1
1(A)、(B)はこの場合の様子を示したもので、
(A)はDFT逆変換によって得られた輪郭座標列を示
し、(B)はラスタライズ処理後における塗り潰し結果
を示している。次に、ステップB7に進み、輪郭描画処
理を行う。この場合の描画処理は、輪郭内部の塗り潰し
に使用したラスタライズ色(例えば黒)と用紙の地色
(例えば白)との間に毛筆で書いたときに表われる墨の
にじみを付加するもので、DFT逆変換された輪郭座標
列を参照し、その輪郭線の外側に沿ってこのラスタライ
ズ色よりも薄い色で、かつ1ドット幅よりも幅広の直線
(例えば、4ドット幅の直線)を描画する。図9はこの
場合の描画処理を示したフローチャートで、先ず、ラス
タライズ色を基準にそれよりも一段階薄い色を輪郭描画
色として決定する(ステップD1)。なお、ラスタライ
ズ色と輪郭描画色との対応テーブルを用意しておき、こ
の対応テーブルを参照して輪郭描画色を決定するように
してもよい。この場合、ラスタライズ色が黒であれば、
濃い灰色が描画色として決定される。このようにして決
定した描画色で座標点間を幅広の直線で結ぶ(ステップ
D2)。これにより輪郭線に沿ってその外側に幅広のに
じみパターンが得られ(図11(C)参照)、ラスタラ
イズ後の輪郭線の外側にこのにじみパターンが付加され
て印刷バッファ4−4に展開されることによりその結果
は、図11(D)に示す如くとなる。このようにして1
パーツ分の印刷処理が終ると、次の画を指定し(ステッ
プB8)、全画終了かを調べ(ステップB9)、全画終
了までステップB2に戻り、1画毎に上述の印刷処理を
繰り返す。
When the deformation process for giving vibration to the entire contour of one part is completed, the process proceeds to step B5 in FIG. 7 to perform an inverse Fourier transform on the deformed font.
In this case, if the transformed font for 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). FIG.
1 (A) and (B) show the situation in this case.
(A) shows the outline coordinate sequence obtained by the inverse DFT, and (B) shows the result of the filling after the rasterizing process. Next, the process proceeds to step B7, where contour drawing processing is performed. The drawing process in this case is to add a black blur that appears when writing with a brush between the rasterized color (for example, black) used for filling the inside of the outline and the ground color (for example, white) of the paper. With reference to the contour coordinate sequence subjected to the inverse DFT, a straight line (for example, a straight line having a width of 4 dots) that is lighter than the rasterized color and wider than one dot width is drawn along the outside of the outline. . FIG. 9 is a flowchart showing the drawing process in this case. First, a color one step lower than the rasterized color is determined as the contour drawing color based on the rasterized color (step D1). Note that a correspondence table between the rasterized color and the contour drawing color may be prepared, and the contour drawing color may be determined with reference to this correspondence table. In this case, if the rasterized color is black,
Dark gray is determined as the drawing color. A wide straight line connects the coordinate points with the drawing color determined in this way (step D2). As a result, a wide blur pattern is obtained outside the contour along the contour (see FIG. 11C), and the blur pattern is added to the outside of the rasterized contour and developed in the print buffer 4-4. As a result, the result is as shown in FIG. In this way 1
When the printing process for the parts is completed, the next image is designated (step B8), it is checked whether all the images are completed (step B9), and the process returns to step B2 until all the images are completed, and the above-described printing process is repeated for each image. .

【0017】以上のようにこの第1実施形態において
は、離散的な空間周波数成分の集合体で表現された文字
の輪郭を変形加工するために、この空間周波数成分の集
合体から文字の大体の形状を支配する最低次周波数成分
F1を抽出すると共に、この最低次周波数成分F1を最
高次周波数成分Fmaxに加算することにより文字の輪
郭全体に毛筆の動きに近似した振動を付与しておき、手
書き風文字を印刷出力する際に、変形加工された文字の
輪郭データを座標列データに変換し、この座標列データ
を基に文字の輪郭内部を塗り潰す他、この塗り潰し色の
濃度よりも薄い色を毛筆で書いたときに表われるにじみ
色として決定し、文字の輪郭に沿ってこのにじみ色を付
加するようにしたから、文字全体を毛筆で書いたような
振動やにじみを持たせることができ、自然な手書き文字
を得ることが可能となる。
As described above, in the first embodiment, in order to deform the outline of a character represented by a set of discrete spatial frequency components, an approximate character of the character is extracted from the set of spatial frequency components. By extracting the lowest-order frequency component F1 that governs the shape and adding the lowest-order frequency component F1 to the highest-order frequency component Fmax, a vibration approximating the movement of a brush is given to the entire contour of the character, and handwriting is performed. When printing a wind character, the contour data of the deformed character is converted into coordinate sequence data, and the inside of the character outline is filled based on this coordinate sequence data, and a color lighter than the density of this fill color Is determined as the bleeding color that appears when writing with a brush, and this bleeding color is added along the outline of the character, so that the entire character has vibration and bleeding as if writing with a brush Rukoto it is, it becomes possible to obtain a natural handwriting.

【0018】(第2実施形態)以下、図12を参照して
この発明の第2実施形態について説明する。なお、上述
した第1実施形態においては、印刷する用紙の種類に関
係なく、輪郭描画色(にじみ色)を一定としたが、この
第2実施形態においては用紙の種類に応じてにじみ色を
決定するようにしたものである。図12はこの場合のフ
ローチャートを示したもので、第1実施形態の図9のフ
ローチャートに相当する輪郭描画処理を示している。先
ず、上述した第1実施形態と同様に、ラスタライズより
も薄い色を輪郭描画色とするが、この場合、この描画色
をデフォルト値としてセットしておく(ステップE
1)。次に、プリンタにセットされた用紙の種類を読み
込む(ステップE2)。ここで、用紙の種類は、予めユ
ーザによって任意に選択指定されたもので、この用紙の
種類を判別し(ステップE3〜E5)、それに応じた描
画色を決定する(ステップE6〜E8)。この場合、用
紙の種類と描画色とを対応付けた対応テーブルを参照す
ることにより描画色を決定するが、この対応テーブルに
設定されていない用紙の種類については、上述したデフ
ォルト値が描画色として決定される。そして、上述した
第1実施形態と同様、決定した描画色で座標点間を幅広
の直線で結ぶ(ステップE9)。
(Second Embodiment) Hereinafter, a second embodiment of the present invention will be described with reference to FIG. In the above-described first embodiment, the contour drawing color (bleed color) is fixed regardless of the type of paper to be printed. In the second embodiment, the blur color is determined according to the type of paper. It is something to do. FIG. 12 shows a flowchart in this case, and shows a contour drawing process corresponding to the flowchart in FIG. 9 of the first embodiment. First, as in the first embodiment described above, a color lighter than rasterization is used as the outline drawing color. In this case, this drawing color is set as a default value (step E).
1). Next, the type of paper set in the printer is read (step E2). Here, the type of the paper is arbitrarily selected and designated by the user in advance, and the type of the paper is determined (steps E3 to E5), and a drawing color corresponding to the type is determined (steps E6 to E8). In this case, the drawing color is determined by referring to a correspondence table in which the paper type and the drawing color are associated. For the paper type not set in the correspondence table, the above-described default value is used as the drawing color. It is determined. Then, similarly to the above-described first embodiment, a wide straight line connects the coordinate points with the determined drawing color (step E9).

【0019】以上のようにこの第2実施形態においては
用紙の種類に応じて描画色を決定するようにしたから、
安定したにじみ効果を得ることができる。つまり、例え
ば、インクジェットプリンタにおいては同じ色を使用し
ても上質紙か否か等のように用紙の種類に応じて発色が
変わるが、用紙の種類に応じて描画色を変えることによ
り紙質等に影響されず、十分なにじみ効果を得ることが
できる。
As described above, in the second embodiment, the drawing color is determined according to the type of paper.
A stable bleeding effect can be obtained. That is, for example, in an ink-jet printer, even if the same color is used, the color development changes according to the type of paper, such as whether or not the paper is high-quality paper. Without being affected, a sufficient bleeding effect can be obtained.

【0020】なお、上述した各実施形態においては、最
低次周波数成分F1を最高次周波数成分Fmaxに加算
するようにしたが、周波数成分F2を最高次周波数成分
Fmaxに加算してもよい。また毛筆の動きに近い振動
を付与できれば最高次周波数成分Fmaxに限らないこ
とは勿論である。また、輪郭内部を塗り潰した後に、輪
郭描画処理を行うようにしたが、塗り潰す前に輪郭描画
処理を行うようにしてもよい。更に、輪郭描画処理にお
いて、4ドット幅で輪郭を描画するようにしたが、その
ドット幅は任意であり、しかもドット幅を一律とせずに
筆おろし部分等、局部的に変化を持たせればより自然な
にじみ効果を得ることができる。また、例えば3ドット
幅の輪郭を描画した後、ドット位置をずらして同じ色の
輪郭描画を重ね合せるようにすれば、にじみ部分に濃淡
を付加することができ、より一層リアルなにじみ効果を
得ることが可能となる。しかも、上述した実施形態にお
いては、既存文字フォントをDFT変換することによっ
て周波数フォントを得るようにしたが、周波数フォント
を文字フォントメモリに固定的に記憶するものであって
もよい。
In the above embodiments, the lowest-order frequency component F1 is added to the highest-order frequency component Fmax. However, the frequency component F2 may be added to the highest-order frequency component Fmax. Further, it is needless to say that the vibration is not limited to the highest-order frequency component Fmax as long as a vibration close to the movement of the brush can be applied. Although the outline drawing process is performed after the inside of the outline is painted, the outline drawing process may be performed before the painting. Furthermore, in the contour drawing process, the contour is drawn with a 4-dot width, but the dot width is arbitrary, and moreover, if the dot width and the like are locally changed, such as the brush-down portion, without changing the dot width uniformly, A natural bleeding effect can be obtained. Further, for example, if a contour having a width of 3 dots is drawn and then the contour drawing of the same color is superimposed by shifting the dot position, shading can be added to a blurred portion, and a more realistic blurring effect can be obtained. It becomes possible. In addition, in the above-described embodiment, the frequency font is obtained by performing the DFT conversion on the existing character font. However, the frequency font may be fixedly stored in the character font memory.

【0021】[0021]

【発明の効果】この発明によれば、毛筆で書いたような
細かな振動を文字の輪郭全体に表現する他、墨が紙にに
じんだようなぼかしをその輪郭部分に表現した手書き風
文字を印刷することができるので、自然な手書き風文字
を得ることができる。
According to the present invention, in addition to expressing a fine vibration as if written with a brush on the entire contour of a character, a handwritten character expressing a blur such as ink bleeding on a paper at the outline portion can be obtained. Since printing can be performed, natural handwritten characters can be obtained.

【図面の簡単な説明】[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】文字列印刷時の全体動作を示したフローチャー
ト。
FIG. 6 is a flowchart illustrating an overall operation when printing a character string.

【図7】図6のステップA5(1文字印刷処理)を詳述
するためのフローチャート。
FIG. 7 is a flowchart for explaining step A5 (one-character printing process) in FIG. 6 in detail.

【図8】図7のステップB4(パラメータ操作による輪
郭変形処理)を詳述するためのフローチャート。
8 is a flowchart for explaining step B4 (contour deformation processing by parameter operation) in FIG. 7 in detail.

【図9】図7のステップB7(輪郭描画処理)を詳述す
るためのフローチャート。
FIG. 9 is a flowchart for explaining step B7 (contour drawing processing) in FIG. 7 in detail.

【図10】パラメータ操作による輪郭変形処理を具体的
に説明するための図。
FIG. 10 is a view for specifically explaining contour deformation processing by parameter operation.

【図11】(A)はDFT逆変換によって得られた輪郭
座標列を示した図、(B)はラスタライズ処理後の結果
を示した図、(C)はラスタライズ色よりも薄い色で輪
郭描画した後の結果を示した図。
11A is a diagram showing a contour coordinate sequence obtained by inverse DFT, FIG. 11B is a diagram showing a result after rasterization processing, and FIG. 11C is a contour drawing in a color lighter than the rasterized color. The figure which showed the result after doing.

【図12】第2実施形態における輪郭描画処理を示した
フローチャート。
FIG. 12 is a flowchart illustrating a contour drawing process according to the second embodiment.

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

1 CPU 2 記憶装置 3 記憶媒体 4 RAM 4−1 文字列格納部 4−2 周波数変換ワーク部 4−3 変形フォント格納部 4−4 印刷バッファ 5 入力装置 6 表示装置 7 印刷装置 F1 最低次周波数成分 Fmax 最高次周波数成分 Reference Signs List 1 CPU 2 storage device 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 device F1 lowest order frequency component Fmax Highest order frequency component

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】離散的な空間周波数成分の集合体で表現さ
れた文字の輪郭を変形加工するために、この空間周波数
成分の集合体から文字の大体の形状を支配する低次の周
波数成分を抽出すると共に、この低次の周波数成分を高
次の周波数成分に加算することにより文字の輪郭全体に
毛筆の動きに近似した振動を付与する文字加工手段と、 手書き風文字を印刷出力する際に、前記文字加工手段に
よって変形加工された文字の輪郭データを座標列データ
に変換する変換手段と、 この変換手段によって得られた座標列データを基に文字
の輪郭内部を塗り潰す塗り潰し手段と、 この塗り潰し手段によって文字の輪郭内部を塗り潰す色
の濃度よりも薄い色を毛筆で書いたときに表われるにじ
み色として決定し、前記変換手段によって得られた座標
列データを基に文字の輪郭に沿って前記にじみ色を付加
する輪郭加工手段とを具備したことを特徴とする手書き
風文字出力装置。
In order to deform the outline of a character represented by a set of discrete spatial frequency components, a low-order frequency component that governs the general shape of a character is extracted from the set of spatial frequency components. A character processing means for extracting and adding this low-order frequency component to a high-order frequency component to impart a vibration approximating the movement of a brush to the entire contour of the character. Conversion means for converting the contour data of the character deformed by the character processing means into coordinate sequence data; filling means for filling the inside of the outline of the character based on the coordinate sequence data obtained by the conversion means; A color that is lighter than the density of the color that fills the inside of the outline of the character by the filling means is determined as a blurred color that appears when writing with a brush, and the coordinate string data obtained by the conversion means is determined. Handwritten character output apparatus characterized by comprising a contour processing means for adding said bleeding color along the outline of a character based on.
【請求項2】既存する通常の文字フォントを構成する文
字の輪郭を辿ってサンプリングし、それを直交変換によ
って文字の輪郭を離散的な空間周波数成分の集合体で表
現して成る周波数フォントに変換するフォント変換手段
を設け、 前記文字加工手段は前記周波数フォントを構成するデー
タを加工することにより文字の輪郭を変形した変形フォ
ントを生成し、 前記変換手段は前記変形フォントを直交逆変換すること
によって座標列データを得るようにしたことを特徴とす
る請求項1記載の手書き風文字出力装置。
2. The method according to claim 1, wherein the sampling is performed by tracing the outline of a character constituting an existing ordinary character font, and the sampled character is converted into a frequency font obtained by expressing the outline of the character by a set of discrete spatial frequency components by orthogonal transformation. The character processing means generates a deformed font in which the outline of a character is deformed by processing data constituting the frequency font, and the conversion means performs orthogonal inverse conversion of the deformed font. 2. The handwritten character output device according to claim 1, wherein coordinate string data is obtained.
【請求項3】前記輪郭加工手段は文字の輪郭内部を塗り
潰す色の濃度よりも薄い色を毛筆で書いたときに表われ
るにじみ色として決定する際に、セットされた印刷用紙
の種類に対応して予め決められている濃度を持ったにじ
み色を決定するようにしたことを特徴とする請求項1記
載の手書き風文字出力装置。
3. The method according to claim 1, wherein the contour processing means determines a color lighter than a color that fills the outline of the character as a blurred color that appears when writing with a brush. 2. The handwritten character output device according to claim 1, wherein a blurred color having a predetermined density is determined.
【請求項4】コンピュータによって読み取られるプログ
ラムコードを有する記録媒体であって、 離散的な空間周波数成分の集合体で表現された文字の輪
郭を変形加工するために、この空間周波数成分の集合体
から文字の大体の形状を支配する低次の周波数成分を抽
出すると共に、この低次の周波数成分を高次の周波数成
分に加算することにより文字の輪郭全体に毛筆の動きに
近似した振動を付与する機能と、 手書き風文字を印刷出力する際に、前記変形加工された
文字の輪郭データを座標列データに変換する機能と、 前記座標列データを基に文字の輪郭内部を塗り潰す機能
と、 文字の輪郭内部を塗り潰す色の濃度よりも薄い色を毛筆
で書いたときに表われるにじみ色として決定し、前記座
標列データを基に文字の輪郭に沿って前記にじみ色を付
加する機能を実現するためのプログラムコードを有する
記録媒体。
4. A recording medium having a program code which is read by a computer, the recording medium comprising a set of spatial frequency components for deforming a contour of a character represented by a set of discrete spatial frequency components. A low-order frequency component that governs the general shape of the character is extracted, and the vibration that approximates the movement of the brush is given to the entire outline of the character by adding the low-order frequency component to the high-order frequency component. A function of converting the contour data of the deformed character into coordinate string data when printing out a handwritten character, a function of filling the outline of the character based on the coordinate string data, Determined as a blurred color that appears when writing with a brush a color lighter than the density of the color that fills the outline inside, and based on the coordinate sequence data, the blurred color along the outline of the character Recording medium having a program code for realizing a function of adding a program.
JP11140956A 1999-05-21 1999-05-21 Handwriting-like character output device and its program recording medium Pending JP2000330980A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11140956A JP2000330980A (en) 1999-05-21 1999-05-21 Handwriting-like character output device and its program recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11140956A JP2000330980A (en) 1999-05-21 1999-05-21 Handwriting-like character output device and its program recording medium

Publications (1)

Publication Number Publication Date
JP2000330980A true JP2000330980A (en) 2000-11-30

Family

ID=15280735

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11140956A Pending JP2000330980A (en) 1999-05-21 1999-05-21 Handwriting-like character output device and its program recording medium

Country Status (1)

Country Link
JP (1) JP2000330980A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100377054C (en) * 2005-03-03 2008-03-26 乐金电子(中国)研究开发中心有限公司 Handwriting display method for character identification system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100377054C (en) * 2005-03-03 2008-03-26 乐金电子(中国)研究开发中心有限公司 Handwriting display method for character identification system

Similar Documents

Publication Publication Date Title
US5155805A (en) Method and apparatus for moving control points in displaying digital typeface on raster output devices
JP3454552B2 (en) Method and system for generating data for generating a page representation on a page
JP3474037B2 (en) Character pattern generator
US5852679A (en) Image processing apparatus and method
JPH06266847A (en) Method and equipment for displaying object changed into raster
JPS62123573A (en) Computer graphic apparatus and operation thereof
JPH0635438A (en) Character generating method
JP3145509B2 (en) Character generation method and device
US5489920A (en) Method for determining the optimum angle for displaying a line on raster output devices
JP4070304B2 (en) Bitmap display generation method and storage medium
JP2000330980A (en) Handwriting-like character output device and its program recording medium
JPH05120441A (en) Vector picture plotting device
JPH10143134A (en) Method for forming and storing characters and apparatus therefor
JPH0729021A (en) Picture output device
JP3567748B2 (en) Character font generator
JP2000347647A (en) Handwriting-like character outputting device, and program storage medium for the device
JP2000039879A (en) Character font transformation output device and program recording medium
JP2000347648A (en) Character face composing and outputting device, and program storage medium for the device
JPH0496095A (en) Font-free raster image processing system
JP3483348B2 (en) Printing system and method for presenting required recording time of printing system
JPH10151815A (en) Printing-processing apparatus
JP3084817B2 (en) Character output device
JP3025141B2 (en) Character modifier
JP2619931B2 (en) Character processing device and character processing method
JP2935189B2 (en) Outline font processor