JP2000039879A - Character font transformation output device and program recording medium - Google Patents

Character font transformation output device and program recording medium

Info

Publication number
JP2000039879A
JP2000039879A JP10221118A JP22111898A JP2000039879A JP 2000039879 A JP2000039879 A JP 2000039879A JP 10221118 A JP10221118 A JP 10221118A JP 22111898 A JP22111898 A JP 22111898A JP 2000039879 A JP2000039879 A JP 2000039879A
Authority
JP
Japan
Prior art keywords
font
character
frequency
value
frequency component
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.)
Abandoned
Application number
JP10221118A
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 JP10221118A priority Critical patent/JP2000039879A/en
Publication of JP2000039879A publication Critical patent/JP2000039879A/en
Abandoned legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To freely transform a character form such as a considerable change in an outline and thickness of a character, an addition of variegated expressions, etc., and also immediately execute the transformation and efficiently process the transformation even when transforming each character in a document at a time, by storing frequency fonts, expressing outlines of characters by sets of discrete spatial frequency elements, with the fonts made to correspond to various characters. SOLUTION: A CPU 1 fetches a character-code of an object to be outputted, and retrieves a frequency font storage part 2-2 based on this character-code to read out the pertinent frequency font. The frequency font has a data structure according to the development mode of a discrete Fourier series, and a transformation font transformed in the outline of the character by processing the data composing the structure. This transformation font is converted into coordinate data by the inverse Fourier transform. Thus the character font is developed and outputted on this coordinate data.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、文字の輪郭を定
義する文字フォントを変形出力する文字フォント変形出
力装置およびそのプログラム記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character font deformation output device for deforming and outputting a character font defining the outline of a character, 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画の太さを変更し
たり、フォントの基本輪郭を大きく変えるような変形に
は適しておらず、従来、そのような要求があれば、個別
に特殊なフォントとして予め用意しておく必要があっ
た。このような場合、たとえフォントを部品化すること
で構造的にデータを圧縮記憶したとしても限界があり、
データ容量は大きなものとなっていた。更に、アウトラ
インフォントは一般的に輪郭が滑らかな場合には、デー
タ容量は小さいが、細かく変化(振動)するような形状
ではデータ容量が爆発的に大きくなるため、実用上その
ような形状のフォントは予め用意されていないのが現状
であった。この発明の課題は、文字の輪郭を離散的な空
間周波数成分の集合体で表現して成る周波数フォントを
各種文字に対応付けて記憶しておくことで、文字の輪郭
や太さを大幅に変更したり、多彩な表現を付加する等、
文字の形状を自由に変形できると共に、その変形を即座
に実行可能となり、文書上の各文字を一度に変形するよ
うな場合でも効率良く処理できるようにすることであ
る。
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. An object of the present invention is to significantly change the outline and thickness of a character by storing a frequency font formed by expressing the outline of the character with a set of discrete spatial frequency components in association with various characters. Or add a variety of expressions,
An object of the present invention is to make it possible to freely change the shape of a character and to execute the deformation immediately, so that even if each character on a document is deformed at once, it can be processed efficiently.

【0004】[0004]

【課題を解決するための手段】この発明の手段は次の通
りである。請求項1記載の発明は、文字を構成する輪郭
を離散的な空間周波数成分の集合体で表現して成るデー
タ構造を持った周波数フォントを各種文字コードに対応
付けてそれぞれ記憶するフォント記憶手段と、出力対象
の文字コードに基づいて前記フォント記憶手段を検索
し、該当する周波数フォントを読み出す読出手段と、こ
の読出手段によって周波数フォントが読み出された際
に、この周波数フォントを構成するデータを加工するこ
とによって文字の輪郭を変形するための変形フォントを
生成する変形フォント生成手段と、この変形フォント生
成手段によって生成された変形フォントを座標データに
変換する変換手段と、この変換手段によって変換された
座標データに基づいて文字フォントを展開出力する出力
手段とを具備するものである。なお、この発明は次のよ
うなものであってもよい。 (1)、前記周波数フォントを変形する変形の種類およ
び変形の度合を任意に指定する指定手段を設け、前記変
形フォント生成手段は、前記指定手段によって指定され
た変形の種類および変形の度合に応じた変形フォントを
生成する。 (2)、前記変形フォント生成手段は、周波数フォント
を構成する空間周波数成分の集合体のうち高域の周波数
成分を削除し、文字の大体の形状を支配する低域の周波
数成分のみから成る変形フォントを生成することによっ
て、文字全体に丸みを持たせる。 (3)、前記変形フォント生成手段は、周波数フォント
を構成する空間周波数成分の集合体のうち、文字の大体
の形状を支配する低域の周波数成分以外を削除し、この
低域周波数成分と特に高い高周波数成分との組み合せか
ら成る変形フォントを生成することによって、文字全体
に絵筆で描いたような丸みとにじみを持たせる。 (4)、前記変形フォント生成手段は、周波数フォント
を構成する空間周波数成分の集合体のうち中位の周波数
成分にその値を変更する所定の変形処理を施すと共に、
前記集合体内の対応する中位の周波数成分を前記変形処
理された中位の周波数成分に置き換えた変形フォントを
生成することによって、人が毛筆で描いたような自然な
ゆらぎ要素を文字全体に持たせる。 (5)、前記変形フォント生成手段は、周波数フォント
を構成する空間周波数成分の集合体のうち高位の周波数
成分にその値を変更する所定の変形処理を施してその成
分を強めの値に変更すると共に、前記集合体内の対応す
る高位の周波数成分を前記変形処理された高位の周波数
成分に置き換えた変形フォントを生成することによっ
て、文字全体に激しい振動を持つ動きのある要素を持た
せる。 (6)、前記空間周波数成分の集合体は、文字を構成す
る最外郭の輪郭、その内部に存在する輪郭のような入れ
子構造通りに連続する輪郭を単位として入れ子毎に分け
られたデータ構造であり、前記変形フォント生成手段
は、前記空間周波数成分の集合体のうち高域の周波数成
分を削除し、文字の大体の形状を支配する低域の周波数
成分のみから成る変形フォントを生成することによっ
て、線分の交点に毛筆で書いたような墨だまりを持たせ
る。 (7)、前記変形フォント生成手段は、周波数フォント
を構成する空間周波数成分の集合体のうち高位の周波数
成分にその値を変更する所定の変形処理を施してその成
分を弱めの値に変更すると共に、前記集合体内の対応す
る高位の周波数成分を前記変形処理された高位の周波数
成分に置き換えた変形フォントを生成することによっ
て、文字全体に毛筆で書いたようなにじみを持たせる。 (8)、前記空間周波数成分の集合体は、各周波数成分
毎に複素数平面上における実数軸部分と虚数軸部分とに
分けてその大きさを表わした数値情報であり、前記変形
フォント生成手段は、空間周波数成分の集合体のうち最
も低い周波数成分にその値を変更する所定の変形処理を
施してその実数軸部分あるいは虚数軸部分の値を定数倍
した値に変更すると共に、前記集合体内の対応する最低
周波数成分を前記変形処理された最低周波数成分に置き
換えた変形フォントを生成することによって、文字の太
さや文字の勢いを変える。 (9)、前記空間周波数成分の集合体は、各周波数成分
毎に複素数平面上における実数軸部分を虚数軸部分とに
分けてその大きさを表わした数値情報であり、前記変形
フォント生成手段は、空間周波数成分の集合体のうち中
位の周波数成分にその値を変更する所定の変形処理を施
してその実数軸部分または虚数軸部分を極性反転した値
に変更すると共に、前記集合体内の対応する中位の周波
数成分を前記変形処理された中位の周波数成分に置き換
えた変形フォントを生成することによって、文字の輪郭
をサイクロイド曲線あるいは逆サイクロイド曲線に変え
る。請求項1記載の発明においては、出力対象の文字コ
ードに基づいて周波数フォントを読み出すと共に、この
周波数フォントを構成するデータを加工することによっ
て文字の輪郭を変形するための変形フォントを生成し、
この変形フォントを座標データに変換して展開出力す
る。したがって、文字の輪郭を離散的な空間周波数成分
の集合体で表現して成る周波数フォントを各種文字に対
応付けて記憶しておくことで、文字の輪郭や太さを大幅
に変更したり、多彩な表現を付加する等、文字の形状を
自由に変形できると共に、その変形を即座に実行可能と
なり、文書上の各文字を一度に変形するような場合でも
効率良く処理することができる。
The means of the present invention are as follows. According to the first aspect of the present invention, there is provided a font storage means for storing a frequency font having a data structure in which a contour constituting a character is represented by a set of discrete spatial frequency components in association with various character codes, and Reading means for searching the font storage means based on the character code to be output and reading the corresponding frequency font, and processing the data constituting the frequency font when the frequency font is read by the reading means. To generate a deformed font for deforming the outline of a character by performing the processing, a converting means for converting the deformed font generated by the deformed font generating means into coordinate data, and a converting means for converting the converted font into coordinate data. Output means for developing and outputting a character font based on the coordinate data. The present invention may be as follows. (1) There is provided designating means for arbitrarily designating the type and degree of transformation for transforming the frequency font, and the transformed font generating means is adapted to respond to the type of transformation and the degree of transformation designated by the designating means. Generate a modified font. (2) The modified font generation means deletes high-frequency components from a set of spatial frequency components forming a frequency font, and transforms only low-frequency components that govern the general shape of the character. By creating fonts, the whole character is rounded. (3) The modified font generation means deletes, from the set of spatial frequency components constituting the frequency font, those other than the low frequency components that govern the approximate shape of the character, By generating a deformed font composed of a combination with a high high frequency component, the entire character has a roundness and a bleeding as if drawn with a paintbrush. (4) The modified font generation means performs a predetermined modification process for changing the value of a middle frequency component in a set of spatial frequency components constituting the frequency font,
By generating a deformed font in which the corresponding middle frequency components in the set are replaced with the deformed middle frequency components, the whole character has a natural fluctuation element as if drawn with a brush by a person. Let (5) The deformed font generating means performs a predetermined deformation process of changing the value of a higher-order frequency component of a set of spatial frequency components constituting the frequency font, and changes the component to a stronger value. At the same time, by generating a deformed font in which the corresponding higher-order frequency components in the collection are replaced with the higher-order frequency components subjected to the deformation processing, the entire character has a moving element having a strong vibration. (6) The aggregate of the spatial frequency components has a data structure divided into nests by using a contour which is continuous as a nested structure such as an outermost contour constituting a character and a contour present therein as a unit. The modified font generating means removes high frequency components from the set of spatial frequency components and generates a modified font consisting of only low frequency components that govern the general shape of the character. , And make the intersection of the line segment have a summit like written with a brush. (7) The deformed font generating means performs a predetermined deformation process of changing the value of a higher-order frequency component in a set of spatial frequency components constituting the frequency font, and changes the component to a weaker value. At the same time, by generating a transformed font in which the corresponding higher-order frequency component in the collection is replaced with the higher-order frequency component subjected to the transformation process, the entire character is made to have a blur as if written with a brush. (8) The aggregate of the spatial frequency components is numerical information representing the size of a real axis part and an imaginary axis part on a complex plane for each frequency component, and the modified font generating means Applying a predetermined deformation process to change the value of the lowest frequency component of the set of spatial frequency components to a value obtained by multiplying the value of the real axis part or the imaginary axis part by a constant, and changing the value within the set By generating a transformed font in which the corresponding lowest frequency component is replaced by the transformed lowest frequency component, the thickness of the character and the momentum of the character are changed. (9) The set of spatial frequency components is numerical information indicating the size of a real axis part on a complex number plane and an imaginary axis part on a complex plane for each frequency component, and the modified font generation means A predetermined deformation process of changing the value of the middle frequency component of the set of spatial frequency components is performed to change the value of the real axis part or the imaginary axis part to a value whose polarity is inverted, and the correspondence in the set is performed. The character outline is changed to a cycloid curve or a reverse cycloid curve by generating a modified font in which the middle frequency component to be replaced is replaced with the transformed middle frequency component. According to the first aspect of the present invention, a frequency font is read based on a character code to be output, and a modified font for deforming the outline of the character is generated by processing data constituting the frequency font.
This deformed font is converted into coordinate data and output after expansion. Therefore, by storing frequency fonts that represent the outline of a character as a set of discrete spatial frequency components in association with various characters, the outline and thickness of the character can be significantly changed, For example, the character shape can be freely changed, such as adding a simple expression, and the deformation can be executed immediately, so that even if each character on the document is deformed at once, the processing can be efficiently performed.

【0005】[0005]

【発明の実施の形態】(第1実施形態)以下、図1〜図
10を参照してこの発明の第1実施形態を説明する。図
1(A)は文書データ処理装置の全体構成を示したブロ
ック図である。CPU1はRAM2内にロードされてい
る各種プログラムにしたがってこの文書データ処理装置
の全体動作を制御する中央演算処理装置である。記憶装
置3はオペレーティングシステムや各種アプリケーショ
ンプログラム、データファイル、文字フォントデータ等
が予め格納されている記憶媒体4やその駆動系を有して
いる。この記憶媒体4は固定的に設けたもの、もしくは
着脱自在に装着可能なものであり、フロッピーディス
ク、ハードディスク、光ディスク、RAMカード等の磁
気的・光学的記憶媒体、半導体メモリによって構成され
ている。また、記憶媒体4内のプログラムやデータは、
必要に応じてCPU1の制御により、RAM2にロード
される。更に、CPU1は通信回線等を介して他の機器
側から送信されて来たプログラム、データを受信して記
憶媒体4に格納したり、他の機器側に設けられている記
憶媒体に格納されているプログラム、データを通信回線
等を介して使用することもできる。そして、CPU1に
はその入出力周辺デバイスである入力装置5、表示装置
6、印刷装置7がバスラインを介して接続されており、
入出力プログラムにしたがってCPU1はそれらの動作
を制御する。入力装置5は文字列データ等を入力した
り、各種コマンドを入力するキーボード、マウス等のポ
インティングデバイスを有している。ここで、文書作成
時に入力装置5から文書データが入力されると、表示装
置6のテキスト画面に表示出力されると共に、かな漢字
変換によって確定された確定文字列は、RAM2内に格
納される。なお、表示装置6は多色表示を行う液晶表示
装置やCRT表示装置あるいはプラズマ表示装置等であ
り、また印刷装置7はフルカラープリンタ装置で、熱転
写やインクジェットなどのノンインパクトプリンタある
いはインパクトプリンタであり、文書データをカラー出
力する。
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 loaded in the RAM 2. The storage device 3 includes a storage medium 4 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 4 is fixedly provided or removably mountable, and is constituted by a magnetic / optical storage medium such as a floppy disk, hard disk, optical disk, RAM card, or the like, and a semiconductor memory. The programs and data in the storage medium 4 are
The data is loaded into the RAM 2 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 4 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. The input device 5 has a pointing device such as a keyboard and a mouse for inputting character string data and the like and for inputting various commands. Here, when 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 2. 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.

【0006】図1(B)はRAM2の主要構成を示した
もので、文字列格納部2−1は出力対象の文字列が一時
記憶されるもので、CPU1はこの文字列を構成する各
文字コードをその先頭から読み出して周波数フォント格
納部2−2を検索する。周波数フォント格納部2−2は
各種の文字コードに対応してその文字の輪郭を定義する
周波数フォントを記憶するキャラクタジェネレータを構
成する。周波数フォントは離散的フーリエ変換の展開方
式にしたがって表現されたデータ構造であり、文字を構
成する各パーツは、その輪郭(閉曲線)を1周する周期
を持つ連続関数で表わすことができるので輪郭を1周す
る際に1回振動する周波数をFFTの基本周波数とし、
この基本周波数とその整数倍の周波数との組み合せの集
合体で周波数フォントが表現されている。ここで、CP
U1は周波数フォントを構成するデータを加工すること
によって文字の輪郭を変形した変形フォントを生成し、
変形フォント格納部2−3に書き込む。変形フォント格
納部2−3は例えば、文字の輪郭の太さや基本字形を変
えたり、輪郭に細かな振動を与えたり、人が直筆したよ
うな揺らぎを施す等、多彩な変形を加えた変形フォント
を一時記憶するもので、CPU1はこの変形フォントを
フーリエ逆変換することによって座標データを生成した
のち、この座標データに基づいてビットマップデータを
印刷バッファ2−4に展開出力する。
FIG. 1B shows the main structure of the RAM 2. The character string storage unit 2-1 temporarily stores a character string to be output, and the CPU 1 stores each character constituting the character string. The code is read from the head and the frequency font storage unit 2-2 is searched. The frequency font storage unit 2-2 forms a character generator that stores a frequency font that defines the outline of the character corresponding to various character codes. A frequency font is a data structure expressed in accordance with a discrete Fourier transform expansion method. Each part constituting a character can be represented by a continuous function having a cycle of one cycle of the contour (closed curve). The frequency that vibrates once when making one round is the basic frequency of FFT,
A frequency font is represented by a set of combinations of the fundamental frequency and a frequency that is an integral multiple of the fundamental frequency. Where CP
U1 generates a deformed font in which the outline of the character is deformed by processing data constituting the frequency font,
Write to the modified font storage section 2-3. The deformed font storage unit 2-3 stores a variety of deformed fonts, such as changing the thickness of the character outline and basic character shape, giving a fine vibration to the outline, and giving fluctuations as if handwritten by a person. The CPU 1 generates coordinate data by Fourier-inverting the transformed font, and then develops and outputs bitmap data to the print buffer 2-4 based on the coordinate data.

【0007】図2は周波数フォントのデータ構造を説明
するための図で、周波数フォント格納部2−2の内容は
図2に示す如くとなっている。なお、通常のアウトライ
ンフォントの場合には、そのパーツ数が定義されている
と共に、各パーツ毎(1画毎)に基準点座標値および直
線、ベジェ曲線等の属性が定義されているが、この実施
形態における周波数フォントの場合には、アウトライン
フォントの座標、属性の記述部分が空間周波数成分の数
表となっている。つまり、周波数フォント格納部2−2
は文字コード、パーツ数、パーツ番号に対応付けてパー
ツ毎に、直流成分、基本周波数成分、それを整数倍した
周波数成分とを記述した数表を記憶する構成となってい
る。ここで、周波数成分は複素数として表現され、複素
数平面上における実数軸部分と虚数軸部分とに分けてそ
の大きさが離散的に求められたもので、図中、「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 for explaining the data structure of the frequency font. The contents of the frequency font storage unit 2-2 are as shown in FIG. 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 frequency font storage unit 2-2
Is configured to store a numerical table that describes a DC component, a fundamental frequency component, and a frequency component obtained by multiplying the DC component, a fundamental frequency component, and an integer thereof for each part in association with the character code, the number of parts, and the part number. Here, the frequency component 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, and the maximum order thereof is a predetermined value.

【0008】図3は文字「和」をFFT処理することに
よって得られたX軸方向の実数軸部分、虚数軸部分、Y
軸方向の実数軸部分、虚数軸部分の具体的な数値を示す
と共に、文字「和」を構成する各パーツとパーツ毎の周
波数データとの対応関係を示した図である。ここで、図
中「1」〜「7」で示すようにこの文字「和」は7パー
ツから成るため、それに対応する空間周波数成分の集合
体は、7パーツ分の周波数フォント格納部2−3に格納
される。なお、F0の虚数は常に「ゼロ」であることは
上述した通りであり、また図7はF0〜F9までを例示
したが、実際にはサンプリングした数によって特定され
る最大次数までその値は続いている。なお、周波数フォ
ントのデータ構造は図4に示すように振幅と位置に組み
直してもよい。これは複素平面上において原点からの距
離と成す角であるので、X軸方向ならば、X振幅=√
(Xrl2+Xim2)、X位相角=tan-1(Xim/
Xrl)となり、Y軸方向においても同様である。
FIG. 3 shows a real axis part, an imaginary axis part, and a Y axis part in the X-axis direction obtained by performing the FFT processing on the character “sum”.
FIG. 4 is a diagram showing specific numerical values of a real axis part and an imaginary axis part in an axial direction, and showing a correspondence relationship between each part constituting a character “sum” and frequency data of each part. Here, as shown by "1" to "7" in the figure, since this character "Sum" is composed of seven parts, a set of the corresponding spatial frequency components is stored in the frequency font storage unit 2-3 for seven parts. Is stored in Note that the imaginary number of F0 is always “zero” as described above, and FIG. 7 illustrates F0 to F9, but the value continues until the maximum order specified by the sampled number. ing. The data structure of the frequency font may be rearranged into the amplitude and the position as shown in FIG. Since this is an angle formed with the distance from the origin on the complex plane, in the X-axis direction, X amplitude = √
(Xrl 2 + Xim 2 ), X phase angle = tan −1 (Xim /
Xrl) in the Y-axis direction.

【0009】次に、文書データ処理装置の動作を図5〜
図9に示すフローチャートにしたがって説明する。ここ
で、これらのフローチャートに記述されている各機能を
実現するためのプログラムは、CPU1が読み取り可能
なプログラムコードの形態で記憶媒体4に記憶されてお
り、その内容がRAM2内にロードされている。なお、
後述する他の実施形態におけるフローチャートにおいて
も同様である。図5は文字列を印刷出力する際の全体動
作を示したフローチャートである。先ず、文字ポインタ
を先頭位置にリセットしたのち(ステップA1)、この
ポインタ値で文字列格納部2−1をアクセスし、文字コ
ードを取得する(ステップA2)。そして、この文字コ
ードに基づいて周波数フォント格納部2−2を検索し、
該当する周波数フォントを読み出すと共にフォントの変
形処理が行われる(ステップA3)。この変形処理は後
述する図6のフローチャートにしたがって実行され、周
波数フォントを構成するデータを加工することによって
文字の輪郭を変形するための変形フォントを生成する。
そして、この変形フォントをフーリエ逆変換することに
よって座標データを生成し、この座標データに基づいて
文字フォントを1文字分印刷パターンデータとして展開
させる(ステップA4)。この1文字印刷展開処理は図
9に示すフローチャートにしたがって実行される。この
ようにして1文字分の処理が終ると、文字ポインタを歩
進してその値を更新し(ステップA5)、その値で文字
列格納部2−1をアクセスし、全文字終了かを調べ(ス
テップA6)、終了するまでステップA2に戻り、1文
字毎に上述の動作を繰り返す。
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, programs for implementing the functions described in these flowcharts are stored in the storage medium 4 in the form of program codes readable by the CPU 1, and the contents thereof are loaded into the RAM 2. . In addition,
The same applies to flowcharts in other embodiments described later. FIG. 5 is a flowchart showing the overall operation when printing out a character string. First, after resetting the character pointer to the head position (step A1), the character string storage unit 2-1 is accessed with this pointer value to acquire a character code (step A2). Then, the frequency font storage unit 2-2 is searched based on the character code,
The corresponding frequency font is read and the font is transformed (step A3). This deformation processing is executed according to the flowchart of FIG. 6 described later, and generates a deformed font for deforming the outline of the character by processing data constituting the frequency font.
Then, the transformed font is inversely Fourier transformed to generate coordinate data, and the character font is developed as print pattern data for one character based on the coordinate data (step A4). This one-character print development process is executed according to the flowchart shown in FIG. When the processing for one character is completed in this way, the character pointer is incremented and its value is updated (step A5), and the character string storage unit 2-1 is accessed with the value to check whether all characters have been completed. (Step A6) Returning to step A2 until the end, the above operation is repeated for each character.

【0010】次に、図6のフローチャートにしたがって
上述のフォント変形処理(図5のステップA3)を詳述
する。先ず、周波数フォントを変形する変形の種類およ
び変形の度合をユーザが任意に指定するためのウインド
ウ画面が表示出力され、このウインドウ画面に一覧表示
されている選択項目を任意にカーソル指定することで、
変形の種類およびその度合を指定する(ステップB
1)。ここで、選択項目としては、「フィルタ種類」、
「カットオフ周波数」、「カットオフ特性値」、「加算
値ソース種類」、「加算周波数」、「X実数部係数」、
「X虚数部係数」、「Y実数部係数」、「Y虚数部係
数」がメニュー表示される。ここで、「フィルタ種類」
とは、周波数フォントを構成する空間周波数成分の集合
体のうちどの帯域の周波数成分を削除/抽出するかのフ
ィルタの種類を指定する項目で、この実施形態ではロー
パスフィルタ、バンドカットフィルタの何れかを選択す
るようにしており、「カットオフ周波数」によってその
帯域が指定される。「カットオフ特性値」は、例えばカ
ットオフ周波数F3=2π×3とF4=2π×4の間に
おける変形度合を指定するものである。「加算値ソース
種類」および「加算周波数」は、例えば、周波数フォン
トを構成する空間周波数成分の集合体のうち、文字の大
体の形状を支配する低域の周波数成分以外を削除し、こ
の低域周波数成分と特定の高周波数成分との組み合せか
ら成る変形フォントを生成する場合において、この高周
波数成分を「加算周波数成分」とし、この加算周波数成
分の値を一定値にするが、あるいは他の周波数成分をソ
ースとしてその値を加算周波数成分の値に反映させるか
等を指定するためのパラメータである。このようなウイ
ンドウ画面内に必要項目の内容を任意に指定することに
よって変形の種類やその度合を指定すると、フィルタの
種類に応じて周波数フォント格納部2−2の内容を選択
的に変形フォント格納部2−3にコピーする処理が行わ
れると共に(ステップB2)、「加算値ソース種類」、
「加算周波数」に基づいて加算周波数の値を変更するデ
ータ加算処理が行われ(ステップB3)、これによって
ユーザの好みに応じた変形フォントが生成される。
Next, the above-described font transformation processing (step A3 in FIG. 5) will be described in detail with reference to the flowchart in FIG. First, a window screen for the user to arbitrarily specify the type and degree of deformation for deforming the frequency font is displayed and output, and by arbitrarily specifying a cursor on the selection items listed on this window screen,
Specify the type and degree of deformation (step B
1). Here, the selection items are "Filter type"
“Cutoff frequency”, “cutoff characteristic value”, “addition value source type”, “addition frequency”, “X real part coefficient”,
“X imaginary part coefficient”, “Y real part coefficient”, and “Y imaginary part coefficient” are displayed in a menu. Here, "Filter type"
Is an item for designating a type of a filter for determining which band of a frequency component is deleted / extracted from a set of spatial frequency components constituting a frequency font. In this embodiment, one of a low-pass filter and a band-cut filter is used. Is selected, and the band is designated by the “cutoff frequency”. The “cutoff characteristic value” specifies, for example, the degree of deformation between the cutoff frequencies F3 = 2π × 3 and F4 = 2π × 4. The “addition value source type” and the “addition frequency” are, for example, a set of spatial frequency components constituting a frequency font, except for the low-frequency components that govern the general shape of the character, and delete this low-frequency component. When generating a deformed font composed of a combination of a frequency component and a specific high-frequency component, the high-frequency component is referred to as an “additional frequency component”, and the value of the additional frequency component is set to a constant value, or another frequency This is a parameter for designating whether or not to reflect the value of the component as a source in the value of the added frequency component. When the type of the transformation and the degree of the transformation are designated by arbitrarily designating the contents of the necessary items in such a window screen, the contents of the frequency font storage unit 2-2 are selectively stored in accordance with the kind of the filter. The process of copying to the unit 2-3 is performed (step B2), and “addition value source type”
A data addition process for changing the value of the addition frequency based on the “addition frequency” is performed (step B3), thereby generating a modified font according to the user's preference.

【0011】図7は変形フォント格納部2−3へのコピ
ー処理(図6のステップB2)を詳述したフローチャー
トである。先ず、周波数の次数カウンタに初期値F0を
セットしておく(ステップC1)。そして、フィルタの
種類を判別し(ステップC2)、ローパスフィルタであ
れば、現在着目している周波数(次数カウンタの値)が
カットオフ周波数未満(ステップC3、C4でNO)で
あることを条件に、次数カウンタの値で示される周波数
成分を周波数フォント格納部2−2から読み出して変形
フォント格納部2−3にコピーする(ステップC5)。
そして、次数カウンタの値をインクリメントし(ステッ
プC6)、その値が周波数フォント格納部2−2内の最
大次数を越えたことがステップC7で検出されるまでス
テップC2に戻る。ここで、ローパスフィルタの場合に
おいて、着目周波数がカットオフ周波数と一致すればカ
ットオフ特定値をその周波数に掛け(ステップC8)、
それによって得られた周波数成分を変形フォント格納部
2−3にコピーする(ステップC5)。また、着目周波
数がカットオフ周波数を越えていれば、その高域周波数
を削除するためにステップC5のコピー処理はスキップ
される。一方、バンドカットフィルタの場合であれば、
ステップC9に進み、着目周波数がカットオフ周波数の
とき、それにカットオフ特定値を掛けて変形フォント格
納部2−3にコピーする(ステップC8、C5)。ま
た、ステップC9で不一致が検出されれば、コピー処理
はスキップされる。これによってバンドカットフィルタ
の場合には特定周波数成分のみがコピーされず、その他
はそのままコピーされる。なお、フィルタの種類が指定
されていなければ、周波数フォントがそのまま変形フォ
ント格納部2−3にコピーされる。
FIG. 7 is a flowchart detailing the copying process to the modified font storage section 2-3 (step B2 in FIG. 6). First, an initial value F0 is set in a frequency order counter (step C1). Then, the type of filter is determined (step C2). If the filter is a low-pass filter, the condition is that the current frequency of interest (the value of the order counter) is lower than the cutoff frequency (NO in steps C3 and C4). Then, the frequency component indicated by the value of the order counter is read from the frequency font storage unit 2-2 and copied to the modified font storage unit 2-3 (step C5).
Then, the value of the order counter is incremented (step C6), and the process returns to step C2 until it is detected in step C7 that the value exceeds the maximum order in the frequency font storage unit 2-2. Here, in the case of the low-pass filter, if the frequency of interest matches the cutoff frequency, the cutoff specific value is multiplied by that frequency (step C8),
The frequency component obtained thereby is copied to the modified font storage unit 2-3 (step C5). If the frequency of interest exceeds the cutoff frequency, the copy processing in step C5 is skipped to delete the high frequency. On the other hand, in the case of a band cut filter,
Proceeding to step C9, if the frequency of interest is the cutoff frequency, the cutoff frequency is multiplied by the cutoff specific value and copied to the modified font storage unit 2-3 (steps C8, C5). If a mismatch is detected in step C9, the copy processing is skipped. As a result, in the case of a band cut filter, only the specific frequency component is not copied, and the other components are copied as they are. If the type of filter is not specified, the frequency font is copied to the modified font storage unit 2-3 as it is.

【0012】図8はデータ加算処理(図6のステップB
3)を詳述したフローチャートである。このデータ加算
処理は所定の周波数成分の値を変更することによって文
字の輪郭を振動させたり、太さを変える等、文字の形状
を任意に変形するための処理である。なお、図8はこの
加算処理の内容を概念的に示したもので、この加算処理
によって文字の形状がどのように変化するかの具体的な
例示は後述する他の実施形態で説明するものとし、ここ
では加算の態様を中心に説明するものとする。先ず、任
意に指定された加算周波数f(次数)を取り込むと共に
(ステップD1)、加算値リース種類を判別する(ステ
ップD2〜D4)。すなわち、加算周波数に加算される
値を「0」とするか、つまり加算値なしか(ステップD
2)、加算値として一定値を加算すべきことが指定され
ているか(ステップD3)、加算周波数自身の値を加算
値として累積するか(ステップD4)、他の低域周波数
(F1とF2)の値を平均化し、それを加算周波数の値
に反映させるかを判別し、その判別結果に応じて加算値
Qを決定する処理が行われる(ステップD5〜D8)。
ここで、QXrl、QXim、QYrl、QYimはX
Y方向の実数軸部分、虚数軸部分に加算される加算値で
あり、加算なしの場合(変形なしの場合)にはそれらに
「0」がセットされる(ステップD5)。また一定値の
場合(例えば輪郭を振動させる場合)にはそれらに一定
値がセットされ(ステップD6)、自分自身の場合(例
えば、太さを変える場合)には次数fで示される加算周
波数の値FfXrl、FfXim、FfYrl、FfY
imがそれらにセットされ(ステップD7)、更に低域
周波数成分の値を反映させる場合(例えば、輪郭を自然
に振動させる場合)には、その平均値がそれらにセット
される(ステップD8)。そして、この加算値QXr
l、QXim、QYrl、QYimに対応する係数K
1、K2、K3、K4を掛け、その値を加算周波数の値
に加算する(ステップD9)。なお、元の加算周波数の
値が「0」の場合にはQの値がそのままその周波数成分
の値として代入される。
FIG. 8 shows a data addition process (step B in FIG. 6).
It is a flowchart which detailed 3). This data addition process is a process for arbitrarily deforming the shape of the character, such as vibrating the outline of the character or changing the thickness by changing the value of a predetermined frequency component. FIG. 8 conceptually shows the contents of the addition processing, and a specific example of how the shape of a character changes by the addition processing will be described in another embodiment described later. Here, the mode of addition will be mainly described. First, an arbitrarily designated addition frequency f (order) is fetched (step D1), and the added value lease type is determined (steps D2 to D4). That is, the value added to the addition frequency is set to “0”, that is, there is no added value (step D
2) Whether it is specified that a constant value should be added as an addition value (step D3), whether the value of the addition frequency itself is accumulated as an addition value (step D4), or another low frequency (F1 and F2) Are averaged, and it is determined whether to reflect the averaged value on the value of the addition frequency, and a process of determining the addition value Q according to the determination result is performed (steps D5 to D8).
Here, QXrl, QXim, QYrl, and QYim are X
This is an added value to be added to the real axis part and the imaginary axis part in the Y direction. When there is no addition (when there is no deformation), "0" is set to them (step D5). In the case of a constant value (for example, when the contour is vibrated), a constant value is set to them (step D6), and in the case of itself (for example, when the thickness is changed), the addition frequency indicated by the order f is set. Values FfXrl, FfXim, FfYrl, FfY
im is set to them (step D7), and when the value of the low frequency component is further reflected (for example, when the contour is naturally vibrated), the average value is set to them (step D8). And this added value QXr
Coefficient K corresponding to 1, QXim, QYrl, QYim
The value is multiplied by 1, K2, K3, and K4, and the value is added to the value of the addition frequency (step D9). When the value of the original addition frequency is “0”, the value of Q is directly substituted as the value of the frequency component.

【0013】図9は変形フォントに基づいて文字印刷す
る際の動作(図5のステップA4で示した1文字印刷展
開処理)を詳述したフローチャートであり、図10に示
す手順を踏めばよい。先ず、変形フォント格納部2−3
を検索して、変形フォントを読み出し、それをRAM2
内のワークメモリに格納する(ステップE1)。そし
て、このワークメモリ内から周波数成分を1パーツ毎に
読み出し、それをフーリエ逆変換(IFFT)すること
によって座標データを得る(ステップE2)。これをシ
ョートベクトルとして印刷バッファ2−4に描画する
(ステップE3)。すなわち、IFFTによって生成さ
れた座標をショートベクトルとするアウトラインフォン
トを生成し、印刷バッファ2−4に展開する。ここで、
文字を出力するときのプロット間隔は任意に制御可能で
ある。すなわち、文字出力時において高次側に「0」の
データを付け加えてIFFTを行えば、プロット間隔は
狭くなり、逆にデータ数(次数)を減らせばプロット間
隔を広ろげることができる。
FIG. 9 is a flowchart detailing the operation when printing characters based on the deformed font (the one-character print development process shown in step A4 in FIG. 5). The procedure shown in FIG. 10 may be performed. First, the modified font storage unit 2-3
And reads out the deformed font and stores it in RAM2.
(Step E1). Then, frequency components are read out from the work memory for each part, and the Fourier inverse transform (IFFT) is performed to obtain coordinate data (step E2). This is drawn in the print buffer 2-4 as a short vector (step E3). That is, an outline font having the coordinates generated by IFFT as a short vector is generated, and is expanded in the print buffer 2-4. here,
The plot interval when outputting characters can be arbitrarily controlled. In other words, if the IFFT is performed by adding data of "0" to the higher-order side at the time of character output, the plot interval becomes narrower, and conversely, if the number of data (order) is reduced, the plot interval can be widened.

【0014】このようにこの第1実施形態においては、
文字の輪郭を離散的な空間周波数成分の集合体で表現し
て成る周波数フォントを各種文字に対応付けて記憶して
おくことで、文字の輪郭や太さを大幅に変更したり、多
彩な表現を付加する等、文字の形状を自由に変形できる
と共に、その変形を即座に実行可能となり、文書上の各
文字を一度に変形するような場合でも効率良く処理する
ことができる。ここで、文字の大きさを変更するときに
は、通常のアウトラインフォントと同様に、全ての数値
に係数を掛ければ、拡大、縮小することが可能となり、
文字の大きさを自由に変更することができる。更に、デ
ジタルフィルタによって高周波成分をカットすれば、丸
い文字を出力することができ、更に低域周波数と特定の
高域周波数とを組み合せれば、文字の輪郭に細かい変化
(振動)を付加することができ、また、輪郭の太さを制
御する場合には、F1、F2の低域周波数成分の所定値
を変更(定数倍)すればよい等、多彩な変形が可能とな
る。特に従来のアウトラインフォントでは事実上実装が
不可能であった複雑な輪郭形状をフォントとして実装し
ておかなくても、周波数フォントを描画するデータを加
工するだけでどのような複雑な形状であっても容易に変
形することができる。したがって、複雑な形状をアウト
ラインフォントとしとして実装する場合に比べ、データ
量を大幅に削減することができる。また、周波数フォン
トは、各周波数成分毎に複素平面上における実数軸部と
虚数軸部とに分けてその大きさを表わしたから、高速処
理に向いた形となる。また、各周波数成分毎にその値を
振幅および位相成分として表わせば、低域を観念的に理
解しやすくなり、変形を任意に指定する際に有効なもの
となる。また、周波数フォントは文字を構成する1画毎
を単位として1画素毎に分けられたデータ構造であるか
ら文字の大体の形状を支配する低域周波数のみを持つフ
ォントの場合、その変形が素直になり、基本字形が保た
れる。また、「乙」のように文字を構成する要素が1画
であっても、直線を基本とした連続する筆運び毎に3分
割したデータ構造とすれば、基本字形を保つことができ
る。
As described above, in the first embodiment,
By storing frequency fonts, which represent the outline of a character as a set of discrete spatial frequency components, in association with various characters, the outline and thickness of the character can be significantly changed, and various expressions can be used. , Etc., the shape of the character can be freely changed, and the deformation can be performed immediately, so that even when all the characters on the document are deformed at once, the processing can be efficiently performed. Here, when changing the size of the character, it is possible to enlarge or reduce it by multiplying all the numerical values by a coefficient in the same way as a normal outline font.
The size of the characters can be freely changed. Furthermore, if a high frequency component is cut by a digital filter, a round character can be output, and if a low frequency and a specific high frequency are combined, a fine change (vibration) is added to the outline of the character. In addition, when the thickness of the contour is controlled, various deformations are possible, such as changing the predetermined value of the low frequency components of F1 and F2 (multiplying by a constant). In particular, even if complicated outline shapes that were practically impossible to implement with conventional outline fonts were not implemented as fonts, just by processing the data to draw frequency fonts, Can also be easily deformed. Therefore, the data amount can be significantly reduced as compared with a case where a complicated shape is implemented as an outline font. In addition, the frequency font is divided into a real axis part and an imaginary axis part on a complex plane for each frequency component and represents the size, so that it is suitable for high-speed processing. Also, if the values are expressed as amplitude and phase components for each frequency component, it becomes easier to conceptually understand the low frequency range, and this is effective when arbitrarily specifying a deformation. In addition, since the frequency font has a data structure that is divided into pixels for each stroke constituting a character, in the case of a font having only a low frequency that governs the approximate shape of the character, the deformation is straightforward. In other words, the basic character shape is maintained. In addition, even if the element that constitutes a character is one stroke, such as “Otsu”, the basic character shape can be maintained if the data structure is divided into three for each continuous stroke based on a straight line.

【0015】(第2実施形態)以下、図11〜図15を
参照してこの発明の第2実施形態を説明する。なお、上
述した第1実施形態は変形の種類およびその度合を任意
に指定するようにしたが、変形の種類として文字全体に
丸みを持たせてその変形の度合も固定した例を示すと共
に、その変形の具体的な手法を示したものである。すな
わち、周波数フォントを構成する空間周波数成分の集合
体のうち高域の周波数成分をカットし、文字の大体の形
状を支配する低域の周波数成分のみから成る変形フォン
トを生成することによって文字全体に丸みを持たせるよ
うにしたものである。図11は上述した図7と基本的に
同様のフローチャートであるが、この場合、フィルタの
種類としてはローパスフィルタに固定され、カットオフ
周波数および特定値もシステム上固定された値となって
いる。そして、ステップF1〜F6はF0から最大次数
の周波数成分を1つずつ着目しながらカットオフ周波数
未満の周波数成分のみを抽出し、それ以上の高周波数成
分をカットするもので、これによって抽出された周波数
成分は変形フォント格納部2−3に格納される。
(Second Embodiment) A second embodiment of the present invention will be described below with reference to FIGS. In the above-described first embodiment, the type of deformation and the degree of the deformation are arbitrarily specified. However, an example in which the whole character is rounded as the type of the deformation and the degree of the deformation is fixed is shown. It shows a specific method of deformation. In other words, by cutting high frequency components from the set of spatial frequency components that make up the frequency font, and generating a transformed font consisting of only low frequency components that govern the general shape of the character, It is designed to have roundness. FIG. 11 is a flowchart basically similar to FIG. 7 described above. In this case, the type of the filter is fixed to a low-pass filter, and the cutoff frequency and the specific value are also fixed on the system. Steps F1 to F6 are for extracting only the frequency components below the cutoff frequency while focusing on the frequency components of the maximum order one by one from F0, and cutting the high frequency components higher than the cutoff frequency. The frequency components are stored in the modified font storage unit 2-3.

【0016】ここで、図12(A)〜(E)はこの場合
の変形例を示したもので、カットオフ周波数としてどの
値が固定的に設定されているかによって変形度合は図示
の如く異なる。すなわち、図12(A)はカットオフ周
波数が設定されていない場合の元字、つまり、変形フォ
ントを生成せずに周波数フォントをそのまま展開出力さ
せた場合の元字を示し、この元字に対してカットオフ周
波数を2π×15(F15)にすると(B)に示す字形
となり、2π×7(F7)にすると(C)、2π×4
(F4)にすると(D)、2π×3(F3)にすると
(E)に示す文字形となり、文字全体に丸みを持たせた
変形が可能となる。ここで、図11において、着目周波
数がカットオフ周波数に一致したときに、その着目周波
数に特性値を掛けるようにすれば、中間の変形度合を実
現することができる(ステップF7)。例えば、図12
に示すカットオフ周波数=2π×3と2π×4の中間の
変形を得る場合には、カットオフ周波数を2π×3に設
定し、特性値を「0.5」に固定することで中間の変形
が可能となる。図13は直流成分F0の他に基本周波数
である最低周波数F1のみを抽出した場合で、この場合
の変形フォントは図13(A)に示すデータ構造とな
り、(B)に示す元字に対して極端に丸みを帯びた字形
に変形されるので、遊びの用途として最適なフォントと
なる。
FIGS. 12A to 12E show modified examples in this case. The degree of deformation differs as shown in the figure depending on which value is fixedly set as the cutoff frequency. That is, FIG. 12A shows an original character in the case where the cut-off frequency is not set, that is, an original character in the case where the frequency font is developed and output as it is without generating a deformed font. When the cut-off frequency is 2π × 15 (F15), the shape becomes the shape shown in (B), and when the cut-off frequency is 2π × 7 (F7), (C), 2π × 4
When (F4) is set, (D) is set, and when 2π × 3 (F3) is set, the character shape shown in (E) is obtained, and the whole character can be deformed with roundness. Here, in FIG. 11, when the frequency of interest coincides with the cutoff frequency, an intermediate degree of deformation can be realized by multiplying the frequency of interest by a characteristic value (step F7). For example, FIG.
In the case of obtaining an intermediate deformation between the cutoff frequency = 2π × 3 and 2π × 4, the cutoff frequency is set to 2π × 3, and the characteristic value is fixed at “0.5”, thereby obtaining the intermediate deformation. Becomes possible. FIG. 13 shows a case where only the lowest frequency F1 which is the fundamental frequency is extracted in addition to the DC component F0. In this case, the modified font has the data structure shown in FIG. It is transformed into an extremely rounded character, making it the best font for playing.

【0017】図14はこの第2実施形態を更に発展させ
た場合の動作を示すフローチャートである。すなわち、
周波数フォントを構成する周波数成分の集合体のうち文
字の大体の形状を支配する低域の周波数成分以外を削除
し、この低域周波数成分とサンプリング周波数に近い高
周波数成分との組み合せから成る変形フォントを生成す
ることによって、文字全体に絵筆で描いたような丸みと
にじみを持たせるようにしたものである。ここで、ステ
ップG1〜G7は図11のステップF1〜F7と同様の
フィルタ処理を示している。ここで、変形フォント格納
部2−3に格納された低域周波数成分に対してどのよう
な高周波数を組み合せるかはシステム上固定的に決めら
れており、ステップG8はそれを加算周波数f(次数)
として取り込む。この場合、図14においては、組み合
せられる加算周波数を2種類とした場合で、ステップG
8ではその1種類目、ステップG11ではその2種類目
を示している。そして、次のステップG9ではこの周波
数に加算される値Qを求めるが、この場合、一定値では
なく、低域のF1とF2の値を平均化し、その値を加算
値Qとする。なお、加算値QはX方向、Y方向の実数軸
部分、虚数軸部分に分けてそれぞれ求めるようにしてい
るが、実数軸部分のみ虚数軸部分のみを求めるようにし
てもよい。そして、次のステップG10ではこの加算値
に係数K1(変形度合定数K1)を掛け、その結果を加
算周波数に加算する処理が行われる。なお、ステップG
11に示す2種類目の加算周波数に対してもステップG
9、G10と同様の加算処理が行われる(ステップG1
2、G13)。ここで、係数K2は変形度合定数を示
す。このように、この第2実施形態では低域のF1とF
2の値を平均化すると共に、それに係数を掛け、その結
果を加算周波数に加える。すなわち、低域のF1とF2
の値を反映させた値を加算する。このとき、実数軸部分
あるいは虚数軸部分の一方のみに加算するようにしても
よい。このような加算処理を行うのは、文字の輪郭に表
われる“にじみ”(細かな振動)の向きを低域のF1と
F2の向き(つまり文字を構成する要素の方向)に合わ
せるような変形を行わせるためである。
FIG. 14 is a flow chart showing the operation when the second embodiment is further developed. That is,
A modified font consisting of a combination of this low-frequency component and a high-frequency component close to the sampling frequency, excluding the low-frequency components that govern the general shape of the character from the collection of frequency components that make up the frequency font Is generated so that the entire character has roundness and bleeding as if drawn with a paintbrush. Here, steps G1 to G7 indicate the same filter processing as steps F1 to F7 in FIG. Here, what high frequency is to be combined with the low frequency component stored in the modified font storage unit 2-3 is fixedly determined in the system, and the step G8 calculates the combined frequency f ( Degree)
Take in as. In this case, FIG. 14 shows a case where two types of addition frequencies are combined, and step G
8 shows the first type, and step G11 shows the second type. Then, in the next step G9, a value Q to be added to this frequency is obtained. In this case, the value of the low frequency F1 and F2 is averaged instead of a constant value, and the value is set as the added value Q. Although the addition value Q is determined separately for the real axis part and the imaginary axis part in the X and Y directions, only the real axis part and only the imaginary axis part may be determined. Then, in the next step G10, a process of multiplying the added value by a coefficient K1 (deformation degree constant K1) and adding the result to the added frequency is performed. Step G
Step G also applies to the second addition frequency shown in FIG.
9, the same addition processing as in G10 is performed (step G1).
2, G13). Here, the coefficient K2 indicates a deformation degree constant. Thus, in the second embodiment, F1 and F
The value of 2 is averaged, multiplied by a factor, and the result is added to the sum frequency. That is, F1 and F2
Add the value reflecting the value of. At this time, the addition may be made to only one of the real axis part and the imaginary axis part. Such addition processing is performed in such a manner that the direction of "smearing" (fine vibration) appearing in the outline of the character is adjusted to the directions of F1 and F2 in the low frequency range (that is, the directions of the elements constituting the character). Is performed.

【0018】図15はこの場合の変形を説明するための
図で、(A)はカットオフ周波数を2π×3とした場合
で、それに組み合せられる高周波数がない場合の変形例
を示している。(B)はカットオフ周波数を2π×3、
加算周波数を最大次数の周波数、加算値Qを求めるため
のソースは固定値(例えば、F1またはF2)で、XY
方向共、その実数軸部分、虚数軸部分に対して加算処理
を行った場合である。(C)は上述の(B)の場合と同
様にカットオフ周波数を2π×3、加算周波数を最大と
するが、ここではソースをF1とF2とし、その平均値
をXY方向の実数軸部分のみに加算した場合であり、
(B)の変形に比べ、“にじみ”の状態が自然なものと
なり、人が絵筆で描いたような文字を得ることが可能と
なる。
FIG. 15 is a view for explaining the modification in this case. FIG. 15A shows a modification in which the cutoff frequency is 2π × 3 and there is no high frequency combined therewith. (B) shows a cutoff frequency of 2π × 3,
The addition frequency is the maximum order frequency, and the source for obtaining the addition value Q is a fixed value (for example, F1 or F2).
In this case, the addition process is performed on the real axis part and the imaginary axis part in both directions. (C) sets the cutoff frequency to 2π × 3 and the addition frequency to the maximum as in the case of (B) above, but here, the sources are F1 and F2, and the average value is only the real axis part in the XY directions. Is added to
Compared to the deformation of (B), the state of “bleeding” becomes natural, and it is possible to obtain characters as if drawn by a paintbrush.

【0019】(第3実施形態)以下、図16〜図18を
参照してこの発明の第3実施形態を説明する。なお、上
述した第2実施形態においては低域周波数成分と特定の
高周波数成分とを組み合せた変形フォントを生成するよ
うにしたが、この第3実施形態においては、周波数フォ
ントを構成する各周波数成分の集合体(F0〜最大次数
まで)を変形フォントとする他に、そのうち中位の周波
数成分の値を変形度合に応じて変更するようにしたもの
である。すなわち、周波数成分の集合体のうち中位の周
波数成分(加算周波数)にその値を変更する所定の変形
処理を施すと共に、その集合体内の対応する中位の周波
数を変形処理された中位の周波数成分に置き換えた変形
フォントを生成することによって、人が毛筆で描いたよ
うな自然なゆらぎ要素を文字全体に持たせるようにした
ものである。図16はこの場合のフォント変形処理を示
したもので、ステップH1〜H6は上述した図14のス
テップG8〜G13に対応する同様の処理を行うもの
で、その説明は省略するものとする。なお、この場合に
おいても中位の周波数成分を2種類としたが、1種類だ
けとしてもよく、また低域のF1とF2の平均値を中位
の周波数成分の実数軸部分、虚数軸部分に加算するよう
にしているが、実数軸部分、虚数軸部分のいずれか一方
のみに加算するようにしてもよい。ここで、中位の周波
数成分としては例えば2π×20程度、つまりやや低め
の周波数成分として定められている。図17はこの場合
の変形を説明するための図で、(A)は変形をかける前
の元字を示している。(B)はX方向のみに変形をかけ
た例を示し、図16のフローチャートでは、X方向、Y
方向の両方に加算処理を行うようにしているが、X方向
のみの加算、つまり、k1Yrl、k1Yim、k2Y
rl、k2Yimの値を「0」とした場合の変形例、
(C)はXY両方に加算を行った場合の変形例を示して
いる。これによって人が毛筆で描いたようなゆらぎ要素
を文字全体に持たせることができるが、特に図17
(B)に示すようにX方向のみを加算した場合には、
(C)の変形に比べ安定した印象の変形が可能となる。
(Third Embodiment) Hereinafter, a third embodiment of the present invention will be described with reference to FIGS. In the second embodiment described above, a modified font in which a low-frequency component and a specific high-frequency component are combined is generated. However, in the third embodiment, each of the frequency components constituting the frequency font is generated. (F0 to the maximum degree) is used as a modified font, and the value of the middle frequency component is changed according to the degree of transformation. That is, a predetermined deformation process of changing the value of the middle frequency component (addition frequency) in the set of frequency components is performed, and the corresponding middle frequency in the set is processed by the middle process. By generating a deformed font replaced with a frequency component, the whole character has a natural fluctuation element as if drawn with a brush. FIG. 16 shows the font transformation processing in this case. Steps H1 to H6 perform the same processing corresponding to steps G8 to G13 in FIG. 14 described above, and a description thereof will be omitted. In this case, two types of middle frequency components were used. However, only one type may be used, and the average value of the low-frequency components F1 and F2 is assigned to the real axis part and the imaginary axis part of the middle frequency component. Although the addition is performed, the addition may be performed to only one of the real axis part and the imaginary axis part. Here, the middle frequency component is determined as, for example, about 2π × 20, that is, a slightly lower frequency component. FIG. 17 is a diagram for explaining the deformation in this case, and FIG. 17A shows the original character before the deformation. (B) shows an example in which deformation is applied only in the X direction. In the flowchart of FIG.
Although the addition processing is performed in both directions, addition in only the X direction, that is, k1Yrl, k1Yim, k2Y
a modified example in which the values of rl and k2Yim are set to “0”;
(C) shows a modification in which addition is performed for both XY. With this, it is possible to make the whole character have a fluctuation element as if drawn with a brush.
When only the X direction is added as shown in FIG.
The deformation of the impression which is stable compared to the deformation of (C) becomes possible.

【0020】図18はこの第3実施形態を更に発展させ
た場合の動作を示したフローチャートである。すなわ
ち、中位の周波数成分を固定化せず、中位の周波数成分
をその文字を構成する各要素毎に輪郭の長さに応じて決
定するようにしたものである。先ず、周波数フォント格
納部2−2から1文字分のパーツ数を取得すると共に
(ステップJ1)、1文字中の各パーツに対応する輪郭
の長さのうちその最大値を取り出す(ステップJ2)。
ここで、各パーツ毎の輪郭の長さを各パーツに対応付け
て登録保存しておけば、その中から最大値を取り出すこ
とができる。この状態において、先ず、最初の第1パー
ツの輪郭の長さを取り出し(ステップJ3)、その長さ
に応じて加算周波数の次数fを決定する(ステップJ
4)。すなわち、ステップJ3で取り出した該当パーツ
の輪郭の長さとステップJ2で取り出した最大値とに基
づいて最大値に対する該当パーツの長さの比率を求め、
その値に基本周波数成分F1の値を掛けることによって
加算周波数成分の次数を求める。なお、上述のような演
算結果に端数が生じた場合には四捨五入、切り上げ、切
り下げ等の端数処理を行うようにしている。そして、ス
テップJ5に進み、次数fで示される周波数成分の値に
F1とF2の平均値(図16のステップH2によって求
められた値Q)を加算する(ステップJ5)。これによ
って得られた周波数成分を周波数フォントを構成する集
合体内の対応する周波数成分と置き換えることによって
変形フォントとして登録する(ステップJ6)。そし
て、全てのパーツに対して上述のような処理を終了する
まで(ステップJ7)、次のパーツの輪郭の長さを取り
出し(ステップJ8)、以下、ステップJ4に戻り上述
の動作を繰り返す。このようにパーツの輪郭の長さに比
例した周波数を加算周波数成分として決定するようにし
たから、文字の変形は見た目上振動周期が一定となり、
人が描いたような自然なゆらぎを持つことになる。
FIG. 18 is a flowchart showing the operation when the third embodiment is further developed. That is, the middle frequency component is not fixed, and the middle frequency component is determined for each element constituting the character in accordance with the length of the contour. First, the number of parts for one character is obtained from the frequency font storage unit 2-2 (step J1), and the maximum value of the contour length corresponding to each part in one character is obtained (step J2).
Here, if the contour length of each part is registered and stored in association with each part, the maximum value can be extracted from the stored values. In this state, first, the length of the contour of the first first part is extracted (step J3), and the order f of the addition frequency is determined according to the length (step J).
4). That is, the ratio of the length of the part to the maximum value is determined based on the length of the contour of the part extracted in step J3 and the maximum value extracted in step J2.
The order of the added frequency component is obtained by multiplying the value by the value of the fundamental frequency component F1. When a fraction is generated in the calculation result as described above, a fraction process such as rounding, rounding up, and rounding down is performed. Then, the process proceeds to step J5, where the average value of F1 and F2 (the value Q obtained in step H2 in FIG. 16) is added to the value of the frequency component represented by the order f (step J5). The frequency component obtained in this way is registered as a modified font by replacing the frequency component with the corresponding frequency component in the collection constituting the frequency font (step J6). Until the above-mentioned processing is completed for all parts (step J7), the length of the contour of the next part is extracted (step J8), and the process returns to step J4 and repeats the above operation. As described above, the frequency proportional to the length of the contour of the part is determined as the added frequency component, so that the deformation of the character has an apparently constant vibration period,
It has a natural fluctuation as if drawn by a person.

【0021】(第4実施形態)以下、図19〜図21を
参照してこの発明の第4実施形態を説明する。この第4
実施形態は周波数フォントを構成する周波数成分高位の
周波数成分(加算周波数)にその値を変更する所定の変
形処理を施してその成分を強めの値に変更すると共に、
前記集合体内の対応する高位の周波数成分を前記変形処
理された高位の周波数成分に置き換えた変形フォントを
生成するようにしたものである。図19はこの場合の変
形処理を示し、加算周波数を高次側に持ってゆき(ステ
ップK1)、この加算周波数のXY実数軸部、虚数軸部
の値にそれぞれ異なる係数(変形度合定数K1、K2、
K3、K4)を加算する(ステップK2)。また、次の
加算周波数についてもそれぞれ異なる定数K5、K6、
K7、K8を加算する(ステップK3、K4)。ここ
で、高い周波数成分にそれぞれ異なる値を強めに加算す
ることによって文字全体に激しい振動を持つ動きのある
要素を持たせる。図20はこの場合の変形を説明するた
めの図で、変形前の元字(A参照)に対して変形後の文
字は図20(B)に示す如く、激しい振動となる。図2
1は加算周波数に定数を加算せず、上述した各実施形態
で説明したように、低域のF1とF2の実数軸部分に係
数を掛け、これを高い周波数成分の実数軸部分に加算し
た場合で、これによって振動の位相をF1、F2に合わ
せることができる。
(Fourth Embodiment) Hereinafter, a fourth embodiment of the present invention will be described with reference to FIGS. This fourth
In the embodiment, a predetermined deformation process for changing the value of the higher frequency component (addition frequency) constituting the frequency font is performed to change the component to a stronger value.
A modified font is generated by replacing a corresponding higher-frequency component in the collection with a higher-frequency component subjected to the deformation processing. FIG. 19 shows the deformation processing in this case, in which the addition frequency is taken to a higher order side (step K1), and the coefficients of the XY real axis part and the imaginary axis part of the addition frequency are different (deformation degree constant K1, K2,
K3, K4) are added (step K2). Also, different constants K5, K6,
K7 and K8 are added (steps K3 and K4). Here, by adding a different value to the high frequency component more strongly, the whole character has a moving element having a strong vibration. FIG. 20 is a diagram for explaining the deformation in this case. The character after the deformation is violently vibrated with respect to the original character (see A) before the deformation as shown in FIG. FIG.
1 is a case in which a constant is not added to the addition frequency, but a coefficient is multiplied by the real axis portion of F1 and F2 in the low frequency range, and this is added to the real axis portion of the high frequency component, as described in the above embodiments. Thus, the phase of the vibration can be adjusted to F1 and F2.

【0022】(第5実施形態)以下、図22を参照して
この発明の第5実施形態を説明する。なお、上述した各
実施形態において周波数フォントは、文字を構成する要
素1画を単位として1画毎に分けたデータ構造とした
が、この第5実施形態においては、「国」の字のように
最外郭の輪郭「囗」、その内部に存在する輪郭「玉」の
ような入れ子構造通りに、入れ子毎に連続する輪郭を単
位として分けられたデータ構造としたものである。この
ような構造の周波数フォントに基づいてそれを変形する
場合には、上述したようにこの周波数フォントにローパ
スフィルタをかけることによって変形フォントを生成す
れば、図22に示す如く、「十」の文字の交点部分に
“にじみ”が生まれる。すなわち、図22(A)は
「十」の文字を上述した他の実施形態のように1画毎に
部品としたデータ構造の周波数フォントに対し、その高
域周波数成分をカットした場合の変形文字を示し、図2
2(B)はこの第5実施形態の変形例を示し、1文字全
体を1部品とすることによって交点部分はなめらかに接
続され、人が毛筆で描いたような「墨だまり」が発生す
る。
(Fifth Embodiment) Hereinafter, a fifth embodiment of the present invention will be described with reference to FIG. In each of the above-described embodiments, the frequency font has a data structure in which each of the strokes constituting a character is divided into single strokes. However, in the fifth embodiment, the frequency font is similar to the character of "country". It has a data structure that is divided into continuous contours for each nest as a unit, as in the nested structure such as the outermost contour "purple" and the contour "ball" existing inside. In the case of transforming a frequency font having such a structure, if a transformed font is generated by applying a low-pass filter to the frequency font as described above, as shown in FIG. "Smearing" is created at the intersection of. That is, FIG. 22A shows a modified character in which a high-frequency component is cut off from a frequency font having a data structure in which the character “10” is a component for each stroke as in the other embodiments described above. FIG. 2
2 (B) shows a modification of the fifth embodiment, in which one character as a whole is connected to one part, so that the intersections are smoothly connected to each other, and an "ink pool" as if drawn with a brush is generated.

【0023】(第6実施形態)以下、図23、図24を
参照してこの発明の第6実施形態を説明する。この第6
実施形態は周波数フォントを構成する周波数成分の集合
体のうち高位の周波数成分(加算周波数)にその値を変
更する所定の変形処理を施してその成分の値を強めの値
に変更すると共に、前記集合体内の対応する高位の周波
数成分を前記変形処理された高位の周波数成分に置き換
えた変形フォントを生成するようにしたものである。図
23はこの場合の変形処理を示したフローチャートで、
ステップL1では加算周波数をやや高位の周波数とし、
それに、F1とF2の値を反映させるために、F1、F
2の平均値を加算周波数成分に加算する(ステップL
2、L3)。図24はこの場合の変形を説明するための
図で、(A)に示す元字に対し、この第6実施形態で
は、半紙に黒がにじんだような変形効果が得られる(図
24(B)参照)。
(Sixth Embodiment) Hereinafter, a sixth embodiment of the present invention will be described with reference to FIGS. This sixth
In the embodiment, a predetermined deformation process of changing a value of a higher-order frequency component (addition frequency) of a set of frequency components constituting a frequency font is performed to change the value of the component to a stronger value, and A modified font is generated by replacing a corresponding higher-order frequency component in the collection with the higher-order frequency component subjected to the transformation process. FIG. 23 is a flowchart showing the deformation processing in this case.
In step L1, the addition frequency is set to a slightly higher frequency,
In addition, to reflect the values of F1 and F2, F1, F2
2 is added to the added frequency component (step L
2, L3). FIG. 24 is a diagram for explaining the deformation in this case. In the sixth embodiment, a deformation effect is obtained in which the original character shown in FIG. )reference).

【0024】(第7実施形態)以下、図25、図26を
参照してこの発明の第7実施形態を説明する。この第7
実施形態は、周波数フォントを構成する周波数成分の集
合体のうち最も近い周波数成分にその値を変更する所定
の変形処理を施してその虚数軸部分の値を定数倍した値
に変更すると共に、前記集合体内の対応する最低周波数
成分を前記変形処理された最低周波数成分に置き換えた
変形フォントを生成することによって太さを変えるよう
にしたものである。図25はこの場合の変形処理を示し
たもので、F1の実数軸部分に定数K1を掛けて定数倍
する(ステップM1)。この場合、1画であってもパー
ツの単位を直線を基本とした連続する筆運び毎(直線)
毎とすれば、太の制御が最も容易となるが、パーツを1
画毎例えば、「九」の右側の1画を1パーツとしている
ため、この第7実施形態においては最低周波数(F1)
の次の周波数(F2)についてもステップM1と同様の
加算処理を行うようにしている(ステップM2)。この
F2は文字の形状を支配するベースとなるからである。
図26(A)は元字、(B)は太さを変えた変形例を示
し、その左側は定数>1とすることで太く変形した場
合、右側は定数<1とすることで細く変形した場合であ
る。
(Seventh Embodiment) Hereinafter, a seventh embodiment of the present invention will be described with reference to FIGS. This seventh
The embodiment performs a predetermined deformation process of changing its value to the closest frequency component of the set of frequency components constituting the frequency font, and changes the value of the imaginary axis part to a value obtained by multiplying the value by a constant, and The thickness is changed by generating a deformed font in which the corresponding lowest frequency component in the collection is replaced with the lowest frequency component subjected to the deformation processing. FIG. 25 shows the deformation processing in this case, in which the real number axis portion of F1 is multiplied by a constant K1 and multiplied by a constant (step M1). In this case, even if it is one stroke, the unit of parts is a continuous stroke (straight line) based on a straight line
In each case, the thickest control is the easiest, but one part
For example, since one image on the right side of “9” is one part for each image, in the seventh embodiment, the lowest frequency (F1)
The same addition processing as step M1 is performed for the next frequency (F2) (step M2). This is because F2 becomes a base that governs the shape of the character.
FIG. 26A shows a modified example in which the original character is changed, and FIG. 26B shows a modified example in which the thickness is changed. The left side is deformed thick by setting a constant> 1, and the right side is thinned by setting a constant <1. Is the case.

【0025】(第8実施形態)以下、図26、図27を
参照してこの発明の第8実施形態を説明する。この第8
実施形態は周波数フォントを構成する周波数成分の集合
体のうち最も低い周波数成分にその値を変更する所定の
変形処理を施してその実数軸部分の値を定数倍すること
で、文字の勢いを変えるようにしたものである。図27
はこの場合の変形処理を示したもので、F1の虚数軸部
分はそのままとし、その実数軸部分に定数K1を掛けて
定数倍する(ステップN1)。この場合、第7実施形態
と同様に、1画であってもパーツの単位を直線を基本と
した連続する筆運び毎(直線毎)とすれば、勢いの制御
が最も容易となるが、パーツを例えば、「九」の右側の
1画を1パーツとしているため、この第8実施形態にお
いても最低周波数(F1)の次の周波数(F2)につい
てもステップN1と同様の加算処理を行うようにしてい
る(ステップN2)。図26(A)は元字、(C)は勢
いを変えた変形例を示し、その左側は定数>1とするこ
とで、勢いを強く自由奔放な印象を与える変形となり、
右側は定数<1とすることで、おとなしい印象を与える
変形となる。なお、図27の変形処理によって変化する
のは、フォントの長手方向の大きさであり、それを構成
する個々のパーツが大きいと勢いを強く感じ、小さいと
勢いが弱く感じるようになるからである。
(Eighth Embodiment) An eighth embodiment of the present invention will be described below with reference to FIGS. This 8th
The embodiment changes the momentum of a character by performing a predetermined deformation process of changing the value of the lowest frequency component of the set of frequency components constituting the frequency font and multiplying the value of the real axis portion by a constant number. It is like that. FIG.
Shows the deformation processing in this case. The imaginary axis part of F1 is left as it is, and the real axis part is multiplied by a constant K1 to multiply by a constant (step N1). In this case, as in the seventh embodiment, the momentum can be most easily controlled by setting the unit of each part to a continuous stroke (each straight line) based on a straight line, even for one stroke. For example, since one image on the right side of “9” is one part, in the eighth embodiment as well, the same addition processing as in step N1 is performed for the frequency (F2) next to the lowest frequency (F1). (Step N2). FIG. 26A shows a modified example in which the original character is changed and FIG. 26C shows a modified example in which the momentum is changed.
The right side is a deformation giving a quiet impression by setting a constant <1. The size of the font in the longitudinal direction is changed by the deformation process in FIG. 27 because if the individual parts constituting the font are large, the momentum is strongly felt, and if the individual parts are small, the momentum is weakly felt. .

【0026】(第9実施形態)以下、図28、図29を
参照してこの発明の第9実施形態を説明する。この第9
実施形態は周波数フォントを構成する周波数成分の集合
体のうち中位の周波数成分にその値を変更する所定の変
形処理を施してX方向の実数軸部分の値から一定値を減
算し(極性を反転し)、他は一定値を加算し、前記集合
体内の対応する中位の周波数成分を前記変形処理された
中位の周波数成分に置き換えた変形フォントを生成する
ことで、文字全体に雲のような輪郭を与えるようにした
ものである。図28はこの場合の変形処理を示したフロ
ーチャートであり、加算周波数として中位(2π×40
〜50程度)の周波数を決定し(ステップP1)、その
X方向の実数軸部分の値に一定値K1を減算し、他は一
定値K1を加算する(ステップP2)。この場合、変形
処理される周波数成分を文字を構成する各要素毎にその
長さに応じて決定し、決定された周波数に対して所定の
変形処理をそれぞれ施すことにより文字の各構成要素毎
に文字の輪郭に表われる振動の回数を見た目上揃えるこ
とができる。このような最適化処理は図18のフローチ
ャートと基本的に同様であるためその説明は省略する。
図29はこの場合の変形例を示し、(A)は変形前、
(B)は変形後、(C)は変形後塗りつぶしを行った場
合であり、各パーツの輪郭にはサイクロイド曲線が表わ
れ、雲のような変形が得られる。ここで、図28のフロ
ーチャートでは更に他の中程度の周波数成分を加算周波
数として決定し(ステップP3)、そのX方向の実数軸
部分の値は一定値の減算、他は加算するようにしている
(ステップP4)。これによって周期が異なる2種類の
サイクロイド曲線が表われ、更に複雑な変形となる。
(Ninth Embodiment) Hereinafter, a ninth embodiment of the present invention will be described with reference to FIGS. This ninth
In the embodiment, a predetermined deformation process for changing the value of the middle frequency component of the set of frequency components constituting the frequency font is performed, and a constant value is subtracted from the value of the real number axis portion in the X direction (polarity is changed). Inverted), the other adds a fixed value, and generates a transformed font in which the corresponding middle frequency component in the set is replaced with the transformed middle frequency component, thereby forming a cloud of the entire character. Such an outline is provided. FIG. 28 is a flow chart showing the modification processing in this case, where the addition frequency is intermediate (2π × 40
(Approximately 50) (Step P1), the constant value K1 is subtracted from the value of the real axis portion in the X direction, and the constant value K1 is added to the other values (Step P2). In this case, the frequency component to be transformed is determined for each element constituting the character in accordance with the length thereof, and a predetermined transformation process is performed on the determined frequency, so that for each component of the character, The number of vibrations appearing in the outline of the character can be visually aligned. Such an optimization process is basically the same as the flowchart of FIG.
FIG. 29 shows a modified example in this case, and FIG.
(B) shows the case where the deformation is performed and (C) shows the case where the filling is performed after the deformation. A cycloid curve appears in the outline of each part, and a deformation like a cloud is obtained. Here, in the flowchart of FIG. 28, another intermediate frequency component is determined as an addition frequency (step P3), and the value of the real axis portion in the X direction is subtracted by a fixed value, and the other values are added. (Step P4). As a result, two types of cycloid curves having different periods appear, resulting in a more complicated deformation.

【0027】(第10実施形態)以下、図30〜図32
を参照してこの発明の第10実施形態を説明する。この
第10実施形態は第9実施形態と基本的には同様である
が、この第10実施形態では逆サイクロイド曲線を各輪
郭に表現することで、ひいらぎの葉のような変形を行う
ものである。図30はこの場合の変形処理を示したフロ
ーチャートであり、中位の周波数成分を加算周波数とす
るが(ステップQ1)、そのX方向の虚数軸部分の値か
ら一定値を減算し(極性を反転し)他は加算する(ステ
ップQ2)。また、他の中位の周波数を加算周波数成分
として決定し(ステップQ3)、そのX方向の虚数軸部
分は一定値を減算し、他は加算する(ステップQ4)。
なお、サンプリング方向に応じてY方向の実数軸部分を
減算し、他を加算するようにしてもよいことは第9実施
形態と同様である。図31はこの場合の変形例を示し、
(A)に示す文字に対し(B)は一定周波数に加算処理
を行った場合で、各パーツの輪郭線の長さによって逆サ
イクロイド曲線の周期が変わる。(C)は各パーツの輪
郭の長さに応じて加算周波数を決定するようにしたもの
で、この場合、加算周波数を基本周波数、その2倍の周
波数、4倍の周波数の3種類とした場合であり、各パー
ツの輪郭の長さに応じて振動の周期は見た目上一定に近
くなる。更に、図18のフローチャートにしたがった最
適化処理を行えば見た目上の周期はより一定に近づく。
図32はこの場合の変形例を示し、(A)は元字前、
(B)は変形後、(C)は変形後、塗りつぶしを行った
場合である。なお、上述した各実施形態の変形例に限ら
ず、それらを組み合せた変形等、自由な変形も可能であ
る。
(Tenth Embodiment) Hereinafter, FIGS.
A tenth embodiment of the present invention will be described with reference to FIG. The tenth embodiment is basically the same as the ninth embodiment, but in the tenth embodiment, an inverse cycloid curve is expressed in each contour to perform a deformation like a holly leaf. . FIG. 30 is a flow chart showing the modification process in this case, in which the middle frequency component is used as the addition frequency (step Q1), but a certain value is subtracted from the value of the imaginary axis portion in the X direction (the polarity is inverted). (D) Others are added (step Q2). Further, another middle frequency is determined as an addition frequency component (step Q3), and the imaginary axis portion in the X direction subtracts a constant value, and the others are added (step Q4).
Note that, as in the ninth embodiment, the real number axis portion in the Y direction may be subtracted according to the sampling direction, and the others may be added. FIG. 31 shows a modification in this case,
(B) shows a case in which addition processing is performed on a character shown in (A) at a constant frequency, and the cycle of the inverse cycloidal curve changes depending on the length of the contour of each part. (C) shows the case where the addition frequency is determined according to the length of the contour of each part. In this case, the addition frequency is set to three types of the basic frequency, twice the frequency, and four times the frequency. , And the period of vibration becomes apparently nearly constant according to the length of the contour of each part. Further, if the optimization processing is performed according to the flowchart of FIG. 18, the apparent cycle becomes closer to a constant.
FIG. 32 shows a modified example of this case.
(B) shows the case after the deformation and (C) shows the case after the deformation. The present invention is not limited to the modifications of the above-described embodiments, but may be freely modified such as a combination thereof.

【0028】[0028]

【発明の効果】この発明によれば、文字の輪郭を離散的
な空間周波数成分の集合体で表現して成る周波数フォン
トを各種文字に対応付けて記憶しておくことで、文字の
輪郭や太さを大幅に変更したり、多彩な表現を付加する
等、文字の形状を自由に変形できると共に、その変形を
即座に実行可能となり、文書上の各文字を一度に変形す
るような場合でも効率良く処理することができる。
According to the present invention, a character font is represented by a set of discrete spatial frequency components, and a frequency font is stored in association with various characters. You can freely change the shape of the character, such as changing the character drastically or adding various expressions, and you can execute the deformation immediately, even if you change all the characters on the document at once. Can be processed well.

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

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

【図2】周波数フォント格納部2−2の構成を示すと共
に周波数フォントを構成する各周波数成分毎に複素平面
上における実数部と虚数部に分けてその大きさを表わし
たデータ構造を示した図。
FIG. 2 is a diagram showing a configuration of a frequency font storage unit 2-2 and a data structure in which a real part and an imaginary part on a complex plane are represented for each frequency component constituting the frequency font, and the data size is represented. .

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

【図4】周波数フォントを構成する各周波数成分毎に、
その値を振幅および位相成分で表わした他のデータ構造
を示した図。
FIG. 4 is a diagram for each frequency component constituting a frequency font.
The figure which showed the other data structure which represented the value by the amplitude and the phase component.

【図5】変形文字列出力時における全体動作を示したフ
ローチャート。
FIG. 5 is a flowchart showing an overall operation at the time of outputting a modified character string.

【図6】図5のステップA4(フォント変形処理)を詳
述したフローチャート。
FIG. 6 is a flowchart detailing step A4 (font deformation processing) in FIG. 5;

【図7】図6のステップB2(変形フォント格納部への
コピー処理)を詳述したフローチャート。
FIG. 7 is a flowchart detailing step B2 (copy processing to a modified font storage unit) in FIG. 6;

【図8】図6のステップB3(データ加算処理)を詳述
したフローチャート。
FIG. 8 is a flowchart detailing step B3 (data addition processing) in FIG. 6;

【図9】図5のステップA4(1文字印刷展開処理)を
示したフローチャート。
FIG. 9 is a flowchart showing step A4 (single-character print development processing) in FIG. 5;

【図10】周波数フォントをIFFT処理して文字印刷
するまでの過程を示した図。
FIG. 10 is a diagram illustrating a process from IFFT processing of a frequency font to character printing.

【図11】第2実施形態におけるフォント変形処理を示
したフローチャート。
FIG. 11 is a flowchart illustrating font deformation processing according to the second embodiment.

【図12】(A)〜(E)は図15の変形処理によって
得られる変形例を説明するための図。
FIGS. 12A to 12E are views for explaining a modification obtained by the modification processing of FIG. 15;

【図13】第2実施形態において他の例を説明するため
の図で、(A)はこの場合における周波数フォントのデ
ータ構造を示し、(B)はその変形例を説明するための
図。
13A and 13B are diagrams for explaining another example in the second embodiment, in which FIG. 13A shows a data structure of a frequency font in this case, and FIG. 13B is a diagram for explaining a modified example thereof.

【図14】第2実施形態において更に他の例におけるフ
ォント変形処理を示したフローチャート。
FIG. 14 is a flowchart showing a font modification process in still another example in the second embodiment.

【図15】(A)〜(C)は図14の変形処理によって
得られる変形例を説明するための図。
FIGS. 15A to 15C are diagrams for explaining a modification obtained by the modification processing in FIG. 14;

【図16】第3実施形態におけるフォント変形処理を示
したフローチャート。
FIG. 16 is a flowchart illustrating font deformation processing according to the third embodiment.

【図17】(A)〜(C)は図16の変形処理によって
得られる変形例を説明するための図。
17A to 17C are diagrams for explaining a modification obtained by the modification processing in FIG. 16;

【図18】第3実施形態における他の例のフォント変形
処理を示したフローチャート。
FIG. 18 is a flowchart illustrating another example of a font modification process in the third embodiment.

【図19】第4実施形態におけるフォント変形処理を示
したフローチャート。
FIG. 19 is a flowchart illustrating font deformation processing according to the fourth embodiment.

【図20】(A)、(B)は図19の変形処理によって
得られる変形例を説明するための図。
FIGS. 20A and 20B are views for explaining a modification obtained by the modification processing of FIG. 19;

【図21】(A)、(B)は第4実施形態における他の
例のフォント変形処理によって得られる変形例を説明す
るための図。
FIGS. 21A and 21B are diagrams for explaining a modification example obtained by another example of the font modification process in the fourth embodiment.

【図22】(A)、(B)は第5実施形態における変形
例を説明するための図。
FIGS. 22A and 22B are views for explaining a modification of the fifth embodiment.

【図23】第6実施形態におけるフォント変形処理を示
したフローチャート。
FIG. 23 is a flowchart illustrating font deformation processing according to the sixth embodiment.

【図24】(A)、(B)は図23の変形処理によって
得られる変形例を説明するための図。
FIGS. 24A and 24B are views for explaining a modification obtained by the modification processing of FIG. 23;

【図25】第7実施形態におけるフォント変形処理を示
したフローチャート。
FIG. 25 is a flowchart illustrating font deformation processing according to the seventh embodiment.

【図26】(A)は元字、(B)は第7実施形態の変形
例を示した図、(C)は第8実施形態の変形例を示した
図。
FIGS. 26A and 26B are diagrams showing an original character, FIG. 26B showing a modification of the seventh embodiment, and FIG. 26C showing a modification of the eighth embodiment.

【図27】第8実施形態におけるフォント変形処理を示
したフローチャート。
FIG. 27 is a flowchart illustrating font deformation processing according to the eighth embodiment.

【図28】第9実施形態におけるフォント変形処理を示
したフローチャート。
FIG. 28 is a flowchart illustrating font deformation processing according to the ninth embodiment;

【図29】(A)〜(C)は第9実施形態における変形
例を説明するための図。
FIGS. 29A to 29C are views for explaining a modification of the ninth embodiment;

【図30】第10実施形態におけるフォント変形処理を
示したフローチャート。
FIG. 30 is a flowchart illustrating font deformation processing according to the tenth embodiment.

【図31】(A)〜(C)は第10実施形態における変
形例を説明するための図。
FIGS. 31A to 31C are views for explaining a modification of the tenth embodiment;

【図32】(A)〜(C)は第10実施形態において、
他のフォント変形処理によって得られる変形例を説明す
るための図。
FIGS. 32A to 32C are diagrams in the tenth embodiment;
FIG. 9 is a diagram for explaining a modification example obtained by another font modification process.

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

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

Claims (18)

【特許請求の範囲】[Claims] 【請求項1】文字を構成する輪郭を離散的な空間周波数
成分の集合体で表現して成るデータ構造を持った周波数
フォントを各種文字コードに対応付けてそれぞれ記憶す
るフォント記憶手段と、 出力対象の文字コードに基づいて前記フォント記憶手段
を検索し、該当する周波数フォントを読み出す読出手段
と、 この読出手段によって周波数フォントが読み出された際
に、この周波数フォントを構成するデータを加工するこ
とによって文字の輪郭を変形するための変形フォントを
生成する変形フォント生成手段と、 この変形フォント生成手段によって生成された変形フォ
ントを座標データに変換する変換手段と、 この変換手段によって変換された座標データに基づいて
文字フォントを展開出力する出力手段とを具備したこと
を特徴とする文字フォント変形出力装置。
1. A font storage means for storing a frequency font having a data structure in which a contour constituting a character is represented by a set of discrete spatial frequency components in association with various character codes, and an output target. Reading means for searching the font storage means on the basis of the character code, and reading out the corresponding frequency font; and when the reading means reads out the frequency font, by processing data constituting the frequency font. A deformed font generating means for generating a deformed font for deforming the outline of a character; a converting means for converting the deformed font generated by the deformed font generating means into coordinate data; and a coordinate data converted by the converting means. Output means for expanding and outputting a character font based on the character font. Point deformation output device.
【請求項2】前記周波数フォントは、離散的なフーリエ
級数の展開方式にしたがって文字の輪郭を離散的な空間
周波数成分の集合体で表現され、この空間周波数成分の
集合体は、各周波数成分毎に複素数平面上における実数
軸部分と虚数軸部分に分けてその大きさを表わした数値
情報であることを特徴とする請求項1記載の文字フォン
ト変形出力装置。
2. The frequency font according to claim 1, wherein the outline of the character is represented by a set of discrete spatial frequency components in accordance with a discrete Fourier series expansion method. 2. The character font modification output device according to claim 1, wherein the information is numerical information representing the size of a real axis part and an imaginary axis part on a complex plane.
【請求項3】前記空間周波数成分の集合体は、文字を構
成する要素1画を単位として1画毎に分けられたデータ
構造であることを特徴とする請求項1記載の文字フォン
ト変形出力装置。
3. The character font deformation output device according to claim 1, wherein the aggregate of the spatial frequency components has a data structure divided for each stroke in units of one stroke constituting a character. .
【請求項4】前記空間周波数成分の集合体は、文字を構
成する最外郭の輪郭、その内部に存在する輪郭のような
入れ子構造通りに、入れ子毎に連続する輪郭を単位とし
て分けられたデータ構造であることを特徴とする請求項
1記載の文字フォント変形出力装置。
4. An aggregate of the spatial frequency components is data obtained by dividing a continuous contour for each nest as a unit according to a nested structure such as an outermost contour constituting a character and a contour existing inside the outermost contour. 2. The character font transformation output device according to claim 1, wherein the character font transformation output device has a structure.
【請求項5】前記空間周波数成分の集合体は、文字を構
成する要素が1画であっても、直線を基本とした連続す
る筆運び部分の線分を単位として線分毎に分けられたデ
ータ構造であることを特徴とする請求項1記載の文字フ
ォント変形出力装置。
5. The set of spatial frequency components is divided for each line segment in units of a continuous stroke portion based on a straight line, even if the element constituting the character is one stroke. 2. The character font modification output device according to claim 1, wherein the character font modification output device has a data structure.
【請求項6】前記周波数フォントを変形する変形の種類
および変形の度合を任意に指定する指定手段を設け、 前記変形フォント生成手段は、前記指定手段によって指
定された変形の種類および変形の度合に応じた変形フォ
ントを生成するようにしたことを特徴とする請求項1記
載の文字フォント変形出力装置。
6. A design unit for arbitrarily designating a type of transformation and a degree of transformation for transforming the frequency font, wherein the transformed font generating unit is adapted to generate the type of transformation and the degree of transformation designated by the designating unit. 2. The character font modification output device according to claim 1, wherein a modified font corresponding to the character font is generated.
【請求項7】前記変形フォント生成手段は、周波数フォ
ントを構成する空間周波数成分の集合体のうち高域の周
波数成分を削除し、文字の大体の形状を支配する低域の
周波数成分のみから成る変形フォントを生成することに
よって、文字全体に丸みを持たせるようにしたことを特
徴とする請求項1記載の文字フォント変形出力装置。
7. The modified font generation means deletes high-frequency components from a set of spatial frequency components constituting a frequency font, and comprises only low-frequency components that govern the general shape of a character. 2. The character font deformation output device according to claim 1, wherein the whole character is rounded by generating a deformation font.
【請求項8】前記変形フォント生成手段は、周波数フォ
ントを構成する空間周波数成分の集合体のうち、文字の
大体の形状を支配する低域の周波数成分以外を削除し、
この低域周波数成分と特に高い高周波数成分との組み合
せから成る変形フォントを生成することによって、文字
全体に絵筆で描いたような丸みとにじみを持たせるよう
にしたことを特徴とする請求項1記載の文字フォント変
形出力装置。
8. The modified font generation means deletes, from a set of spatial frequency components constituting a frequency font, a component other than a low-frequency component that governs a general shape of a character,
2. The character according to claim 1, wherein a modified font comprising a combination of the low-frequency component and a particularly high high-frequency component is generated so that the entire character has a roundness and a bleeding as if drawn with a paintbrush. The described character font transformation output device.
【請求項9】前記変形フォント生成手段は、周波数フォ
ントを構成する空間周波数成分の集合体のうち中位の周
波数成分にその値を変更する所定の変形処理を施すと共
に、前記集合体内の対応する中位の周波数成分を前記変
形処理された中位の周波数成分に置き換えた変形フォン
トを生成することによって、人が毛筆で描いたような自
然なゆらぎ要素を文字全体に持たせるようにしたことを
特徴とする請求項1記載の文字フォント変形出力装置。
9. The modified font generation means performs a predetermined modification process for changing a value of a middle frequency component of a set of spatial frequency components constituting a frequency font, and performs a corresponding process in the set. By generating a deformed font in which the middle frequency component is replaced by the middle frequency component subjected to the deformation processing, the whole character has a natural fluctuation element as if drawn by a brush. 2. The character font deformation output device according to claim 1, wherein:
【請求項10】前記変形フォント生成手段は、周波数フ
ォントを構成する空間周波数成分の集合体のうち高位の
周波数成分にその値を変更する所定の変形処理を施して
その成分を強めの値に変更すると共に、前記集合体内の
対応する高位の周波数成分を前記変形処理された高位の
周波数成分に置き換えた変形フォントを生成することに
よって、文字全体に激しい振動を持つ動きのある要素を
持たせるようにしたことを特徴とする請求項1記載の文
字フォント変形出力装置。
10. The modified font generating means performs a predetermined modification process of changing a value of a higher-order frequency component of a set of spatial frequency components constituting a frequency font, and changes the component to a stronger value. In addition, by generating a deformed font in which the corresponding higher-order frequency components in the collection are replaced with the higher-order frequency components subjected to the deformation processing, the entire character has a moving element having a strong vibration. 2. The character font transformation output device according to claim 1, wherein:
【請求項11】前記空間周波数成分の集合体は、文字を
構成する最外郭の輪郭、その内部に存在する輪郭のよう
な入れ子構造通りに連続する輪郭を単位として入れ子毎
に分けられたデータ構造であり、 前記変形フォント生成手段は、前記空間周波数成分の集
合体のうち高域の周波数成分を削除し、文字の大体の形
状を支配する低域の周波数成分のみから成る変形フォン
トを生成することによって、線分の交点に毛筆で書いた
ような墨だまりを持たせるようにしたことを特徴とする
請求項1記載の文字フォント変形出力装置。
11. An aggregate of spatial frequency components is a data structure that is divided into nests in units of nested outlines, such as an outermost outline constituting a character and an outline present therein. Wherein the modified font generation means deletes high frequency components from the set of spatial frequency components and generates a modified font consisting of only low frequency components that govern the approximate shape of the character. 2. The character font transformation output device according to claim 1, wherein the intersections of the line segments are provided with a summit like written with a brush.
【請求項12】前記変形フォント生成手段は、周波数フ
ォントを構成する空間周波数成分の集合体のうち高位の
周波数成分にその値を変更する所定の変形処理を施して
その成分を弱めの値に変更すると共に、前記集合体内の
対応する高位の周波数成分を前記変形処理された高位の
周波数成分に置き換えた変形フォントを生成することに
よって、文字全体に毛筆で書いたようなにじみを持たせ
るようにしたことを特徴とする請求項1記載の文字フォ
ント変形出力装置。
12. The modified font generating means performs a predetermined modification process for changing the value of a higher-order frequency component of a set of spatial frequency components constituting a frequency font, and changes the component to a weaker value. In addition, by generating a deformed font in which the corresponding higher-order frequency component in the collection is replaced with the higher-order frequency component subjected to the deformation processing, the entire character has a blur as if written with a brush. 2. The character font transformation output device according to claim 1, wherein:
【請求項13】前記空間周波数成分の集合体は、各周波
数成分毎に複素数平面上における実数軸部分と虚数軸部
分とに分けてその大きさを表わした数値情報であり、 前記変形フォント生成手段は、空間周波数成分の集合体
のうち最も低い周波数成分にその値を変更する所定の変
形処理を施してその実数軸部分あるいは虚数軸部分の値
を定数倍した値に変更すると共に、前記集合体内の対応
する最低周波数成分を前記変形処理された最低周波数成
分に置き換えた変形フォントを生成することによって、
文字の太さや文字の勢いを変えるようにしたことを特徴
とする請求項1記載の文字フォント変形出力装置。
13. The modified font generation means according to claim 13, wherein the aggregate of the spatial frequency components is numerical information representing the size of a real axis part and an imaginary axis part on a complex plane for each frequency component. A predetermined deformation process of changing the value of the lowest frequency component of the set of spatial frequency components is performed to change the value of the real axis part or the imaginary axis part to a value obtained by multiplying the value by a constant. By generating a transformed font in which the corresponding lowest frequency component has been replaced by the transformed lowest frequency component,
2. The character font deformation output device according to claim 1, wherein the thickness and the momentum of the character are changed.
【請求項14】前記変形フォント生成手段は、空間周波
数成分の集合体のうち最も低い周波数成分と次に低い周
波数成分に対してそれぞれ変形処理を施すようにしたこ
とを特徴とする請求項13記載の文字フォント変形出力
装置。
14. The method according to claim 13, wherein said modified font generation means performs a modification process on the lowest frequency component and the next lowest frequency component among the set of spatial frequency components. Character font transformation output device.
【請求項15】前記空間周波数成分の集合体は、各周波
数成分毎に複素数平面上における実数軸部分を虚数軸部
分とに分けてその大きさを表わした数値情報であり、 前記変形フォント生成手段は、空間周波数成分の集合体
のうち中位の周波数成分にその値を変更する所定の変形
処理を施してその実数軸部分または虚数軸部分を極性反
転した値に変更すると共に、前記集合体内の対応する中
位の周波数成分を前記変形処理された中位の周波数成分
に置き換えた変形フォントを生成することによって、文
字の輪郭をサイクロイド曲線あるいは逆サイクロイド曲
線に変えるようにしたことを特徴とする請求項1記載の
文字フォント変形出力装置。
15. The set of spatial frequency components is numerical information indicating the size of a real axis part on a complex plane and an imaginary axis part on a complex plane for each frequency component. Is subjected to a predetermined deformation process of changing the value of the middle frequency component of the set of spatial frequency components to change its real axis part or imaginary axis part to a value whose polarity is inverted, and within the set. A modified font in which a corresponding middle frequency component is replaced with the transformed middle frequency component is generated to change the contour of the character into a cycloid curve or an inverse cycloid curve. Item 1. The character font deformation output device according to Item 1.
【請求項16】前記変形フォント生成手段は、前記変形
処理される周波数成分を、文字を構成する各要素毎にそ
の輪郭の長さに応じて決定し、文字を構成する各要素毎
に決定された周波数成分に対して所定の変形処理をそれ
ぞれ施すことにより、文字の各構成要素毎に、文字の輪
郭に表われる振動の回数を見た目上揃えるようにしたこ
とを特徴とする請求項9または15記載の文字フォント
変形出力装置。
16. The modified font generating means determines the frequency component to be transformed for each element constituting a character according to the length of its outline, and determines the frequency component for each element constituting a character. 16. The method according to claim 9, wherein a predetermined deformation process is performed on each of the frequency components, so that the number of vibrations appearing in the outline of the character is visually aligned for each component of the character. The described character font transformation output device.
【請求項17】前記変形フォント生成手段は、変形処理
される周波数成分に低域の周波数成分の値を反映させた
変形処理を行うことにより、文字の輪郭に表われる振動
の向きを低域周波数成分の向きに合わせるようにしたこ
とを特徴とする請求項7または10記載の文字フォント
変形出力装置。
17. The modified font generating means performs a transformation process in which a value of a low-frequency component is reflected in a frequency component to be transformed, thereby changing a direction of vibration appearing in a character outline to a low-frequency range. 11. The character font deformation output device according to claim 7, wherein the character font direction is adjusted to the direction of the component.
【請求項18】コンピュータに対して、 文字の輪郭を離散的な空間周波数成分の集合体で表現し
て成る周波数フォントを構成するデータを加工すること
によって文字の輪郭を変形するための変形フォントを生
成する機能と、 生成された変形フォントを座標データに変換する機能
と、 生成された座標データに基づいて文字フォントを展開出
力させる機能を実現させるためのプログラムを記録した
記録媒体。
18. A deformed font for deforming a character outline by processing a data constituting a frequency font in which the outline of the character is expressed by a set of discrete spatial frequency components to a computer. A recording medium storing a program for realizing a function of generating, a function of converting a generated deformed font into coordinate data, and a function of developing and outputting a character font based on the generated coordinate data.
JP10221118A 1998-07-22 1998-07-22 Character font transformation output device and program recording medium Abandoned JP2000039879A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10221118A JP2000039879A (en) 1998-07-22 1998-07-22 Character font transformation output device and program recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10221118A JP2000039879A (en) 1998-07-22 1998-07-22 Character font transformation output device and program recording medium

Publications (1)

Publication Number Publication Date
JP2000039879A true JP2000039879A (en) 2000-02-08

Family

ID=16761766

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10221118A Abandoned JP2000039879A (en) 1998-07-22 1998-07-22 Character font transformation output device and program recording medium

Country Status (1)

Country Link
JP (1) JP2000039879A (en)

Similar Documents

Publication Publication Date Title
JP4418044B2 (en) Method for displaying characters in a digital font, method for defining characters in a digital font, and method for generating characters in a digital font
EP0671037B1 (en) Method and system for creating, specifying, and generating parametric fonts
JP4762901B2 (en) How to render an area of a composite glyph
JP2006521629A (en) Method and apparatus for anti-aliasing a region of a two-dimensional distance field representing an object
JP4869920B2 (en) Method and apparatus for determining anti-aliasing strength of pixel components from a two-dimensional distance field representing an object
JP2012022695A (en) Method for digital document processing
US5489920A (en) Method for determining the optimum angle for displaying a line on raster output devices
JP3145509B2 (en) Character generation method and device
JPH0916146A (en) Character and symbol pattern generating device
JP2006521628A (en) Method for generating a two-dimensional distance field in a cell associated with a corner of a two-dimensional object
JP2006521627A (en) How to animate an object as a frame sequence according to a video script
JP2006521626A (en) Method for generating a two-dimensional distance field from a pen stroke
JP2006521624A (en) Converting a 2D object to a 2D distance field
KR100257843B1 (en) Character processor, character processing method, and memory
JP2000039879A (en) Character font transformation output device and program recording medium
EP1546917B1 (en) Apparatus and method for processing variable print documents
JP3567748B2 (en) Character font generator
JP2019528485A (en) Font generation method, recording medium recording the method, and font generation apparatus
JP4140363B2 (en) Image processing apparatus and image processing method
JP2006521625A (en) A method for converting a two-dimensional distance field into a set of boundary descriptors
JP3146771B2 (en) Font rasterizing apparatus and method
JP7154633B2 (en) FONT GENERATING APPARATUS AND METHOD THAT CAN MODIFY STYLE OF SUBSTITUTES OF CHARACTERS
JP2000330980A (en) Handwriting-like character output device and its program recording medium
JP2000347647A (en) Handwriting-like character outputting device, and program storage medium for the device
JP2002117411A (en) Curve drawing method, curve drawing device, and storage medium with curve drawing program stored therein

Legal Events

Date Code Title Description
A762 Written abandonment of application

Free format text: JAPANESE INTERMEDIATE CODE: A762

Effective date: 20040407