JP2000039881A - Character font storing device, character font output device and record medium for its program - Google Patents

Character font storing device, character font output device and record medium for its program

Info

Publication number
JP2000039881A
JP2000039881A JP10221120A JP22112098A JP2000039881A JP 2000039881 A JP2000039881 A JP 2000039881A JP 10221120 A JP10221120 A JP 10221120A JP 22112098 A JP22112098 A JP 22112098A JP 2000039881 A JP2000039881 A JP 2000039881A
Authority
JP
Japan
Prior art keywords
font
character
frequency
outline
character font
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
JP10221120A
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 JP10221120A priority Critical patent/JP2000039881A/en
Publication of JP2000039881A publication Critical patent/JP2000039881A/en
Abandoned legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PROBLEM TO BE SOLVED: To greatly change the basic contour and thickness of characters while increase in data quantity is suppressed and to enable expression of all sorts to be added by storing frequency font having a data structure in which character-forming contours are expressed by the aggregate of discrete spatial frequency components. SOLUTION: A CPU 1 transforms, to a specific frequency font, the character font which is read out from an ordinary font storing part 3-1 in a storage device 3 and the bit map which is read by an image reader in an inputting device 5. In other words, they are transformed to the frequency font having the data structure in which the contour of the existing character font (bit map font and outline font) is expressed by the aggregate of discrete spatial frequency components, in accordance with a development method by frequency analysis, i.e., the fast Fourier transformation speeding up the discrete Fourier transformation. After this frequency font is stored in the frequency font storing part 2-3 of a RAM 2, it is registered and stored in the storage device 3.

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 storage device, a character font output device, and a program recording medium for defining a character outline.

【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 express the outline of a character by a set of discrete spatial frequency components, thereby significantly changing the basic outline and thickness of the character while suppressing an increase in the amount of data, and performing various expressions. Is to be added.

【0004】[0004]

【課題を解決するための手段】この発明の手段は次の通
りである。請求項1記載の発明は、文字フォントを描画
出力する文字フォント出力装置に使用され、出力対象の
文字フォントを格納する文字フォント格納装置であっ
て、文字を構成する輪郭を離散的な空間周波数成分の集
合体で表現して成るデータ構造を持つ周波数フォントを
格納したことを特徴とする文字フォントの格納装置であ
る。ここで、文字とは仮名文字、数字、漢字、アルファ
ベット等に限らず、記号、図形、イラスト等を含む広義
の意味であり、その対象を限定するものではない。な
お、この発明は次のようなものであってもよい。すなわ
ち、 (1)、前記周波数フォントは離散的なフーリエ級数の
展開方式にしたがって文字の輪郭を離散的な空間周波数
成分の集合体で表現して成るものであってもよい。 (2)、前記空間周波数成分の集合体は、各周波数成分
毎に複素数平面上における実数軸部と虚数軸部に分けて
その大きさを表わした数値情報であってもよい。 (3)、前記空間周波数成分の集合体は、各周波数成分
毎にその値を振幅および位相成分として表わした数値情
報であってもよい。 (4)、前記空間周波数成分の集合体は、ビットマップ
データの輪郭線上を辿ってサンプリングし、それを離散
的な周波数分解によって生成されたものであってもよ
い。 (5)、前記空間周波数成分の集合体は、アウトライン
フォントに基づいて展開された文字の輪郭線上を辿って
サンプリングし、それを離散的な周波数分解によって生
成されたものであってもよい。 (6)、文字の輪郭を辿ってサンプリングする際に、文
字を構成する要素1画を単位として1画毎にサンプリン
グするようにしてもよい。 (7)、文字の輪郭を辿ってサンプリングを行う単位
は、文字を構成する要素が1画であっても、直線を基本
とした連続する筆運び部分の線分毎であってもよい。 (8)、文字の輪郭を辿ってサンプリングを開始する位
置は、文字の書き始めあるいは書き終りの位置であり、
その位置から文字の輪郭を辿ってサンプリング動作を行
うようにしてもよい。 (9)、前記空間周波数成分の集合体は、文字の大体の
形状を支配する低域周波数成分のみから成り、高周波数
成分を全て削除することでフォントのデータ量を少なく
してもよい。 (10)、前記空間周波数成分の集合体は、文字の大体
の形状を支配する低域の周波数成分と特定の高い周波数
成分との組み合せから成り、特定の高周波数成分を付加
することで輪郭に揺らぎ要素を持たせてもよい。請求項
1記載の発明においては、文字を構成する輪郭を離散的
な空間周波数成分の集合体で表現したから、文字の基本
輪郭や太さを大幅に変形したり、多彩な表現力を付加す
ることができる等、文字の形状を自由に加工することが
できる。
The means of the present invention are as follows. The invention according to claim 1 is a character font storage device used for a character font output device that draws and outputs a character font, and stores a character font to be output. The character font storage device is characterized by storing a frequency font having a data structure represented by a set of character fonts. Here, the characters are not limited to kana characters, numbers, kanji, alphabets, and the like, but have a broad meaning including symbols, figures, illustrations, and the like, and do not limit the objects. The present invention may be as follows. That is, (1) the frequency font may be one in which the outline of a character is represented by a set of discrete spatial frequency components in accordance with a discrete Fourier series expansion method. (2) The aggregate of the spatial frequency components may be numerical information indicating the magnitude of a real axis part and an imaginary axis part on a complex plane for each frequency component. (3) The aggregate of the spatial frequency components may be numerical information representing the value as an amplitude and phase component for each frequency component. (4) The aggregate of the spatial frequency components may be generated by sampling along the contour of the bitmap data and performing discrete frequency decomposition. (5) The collection of the spatial frequency components may be generated by sampling along a contour of a character developed based on an outline font and performing discrete frequency decomposition. (6) At the time of sampling while tracing the outline of a character, sampling may be performed for each stroke in units of one stroke of an element constituting the character. (7) The unit for performing sampling by following the outline of the character may be one element constituting the character, or may be for each line segment of a continuous stroke portion based on a straight line. (8) The sampling start position following the outline of the character is the position where the writing of the character starts or ends.
The sampling operation may be performed by following the outline of the character from that position. (9) The aggregate of the spatial frequency components may include only low-frequency components that govern the general shape of the character, and the amount of font data may be reduced by deleting all high-frequency components. (10) The aggregate of the spatial frequency components is composed of a combination of a low-frequency component that governs the approximate shape of the character and a specific high-frequency component, and is added to the contour by adding a specific high-frequency component. A fluctuation element may be provided. According to the first aspect of the present invention, since the outline constituting the character is represented by a set of discrete spatial frequency components, the basic outline and thickness of the character are significantly deformed, and various expression powers are added. For example, the character shape can be freely processed.

【0005】請求項12記載の発明は、文字を構成する
輪郭を離散的な空間周波数成分の集合体で表現して成る
データ構造を持った周波数フォントを記憶するフォント
記憶手段と、このフォント記憶手段内の周波数フォント
を読み出すと共に、この周波数フォントを座標データに
変換する変換手段と、この変換手段によって変換された
座標データに基づいて文字フォントを展開出力する出力
手段とを具備するものである。なお、既存する通常の文
字フォントを読み出すと共に、その輪郭線を辿ってサン
プリングし、それを離散的な周波数分解によって周波数
フォントを生成するフォント生成手段を設け、このフォ
ント生成手段によって生成された周波数フォントを前記
フォント記憶手段に書き込むようにしてもよい。請求項
12記載の発明においては、文字の輪郭を離散的な空間
周波数成分の集合体で表現した周波数フォントを読み出
し、この周波数フォントを逆変換することによって座標
列に変換し、この座標列に基づいて文字フォントを出力
するようにしたから、文字の基本輪郭や太さを大幅に変
更したり、多彩な表現力を付加することができる等、文
字の形状を自由に変形することができる。したがって、
文字の輪郭を離散的な空間周波数成分の集合体で表現す
ることで、データ量の増大を抑えながら、文字の基本輪
郭や太さを大幅に変更したり、多彩な表現を付加するこ
とができる。
According to a twelfth aspect of the present invention, there is provided a font storing 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, and the font storing means. And a conversion means for reading out the frequency font from the inside and converting this frequency font into coordinate data, and an output means for developing and outputting a character font based on the coordinate data converted by this conversion means. It is to be noted that a font generating means for reading out the existing ordinary character font, sampling the contour along the contour line, and generating the frequency font by discrete frequency decomposition is provided, and the frequency font generated by the font generating means is provided. May be written in the font storage means. According to the twelfth aspect of the present invention, a frequency font in which the outline of a character is represented by a set of discrete spatial frequency components is read out, and the frequency font is converted into a coordinate sequence by performing an inverse transform. Since the character font is output, the basic shape and thickness of the character can be significantly changed, and various expressions can be added. Therefore,
By expressing the outline of a character with a set of discrete spatial frequency components, it is possible to significantly change the basic outline and thickness of the character and add various expressions while suppressing an increase in the amount of data .

【0006】[0006]

【発明の実施の形態】(第1実施形態)以下、図1〜図
10を参照してこの発明の第1実施形態を説明する。図
1(A)は文書データ処理装置の全体構成を示したブロ
ック図である。CPU1はRAM2内にロードされてい
る各種プログラムにしたがってこの文書データ処理装置
の全体動作を制御する中央演算処理装置である。記憶装
置3はオペレーティングシステムや各種アプリケーショ
ンプログラム、データファイル、文字フォントデータ等
が予め格納されている記憶媒体4やその駆動系を有して
いる。この記憶媒体4は固定的に設けたもの、もしくは
着脱自在に装着可能なものであり、フロッピーディス
ク、ハードディスク、光ディスク、RAMカード等の磁
気的・光学的記憶媒体、半導体メモリによって構成され
ている。また、記憶媒体4内のプログラムやデータは、
必要に応じてCPU1の制御により、RAM2にロード
される。更に、CPU1は通信回線等を介して他の機器
側から送信されて来たプログラム、データを受信して記
憶媒体4に格納したり、他の機器側に設けられている記
憶媒体に格納されているプログラム、データを通信回線
等を介して使用することもできる。そして、CPU1に
はその入出力周辺デバイスである入力装置5、表示装置
6、印刷装置7がバスラインを介して接続されており、
入出力プログラムにしたがってCPU1はそれらの動作
を制御する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS (First Embodiment) A first embodiment of the present invention will be described below with reference to FIGS. FIG. 1A is a block diagram showing the entire configuration of the document data processing device. The CPU 1 is a central processing unit that controls the overall operation of the document data processing device according to various programs 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.

【0007】入力装置5は文字列データ等を入力した
り、各種コマンドを入力するキーボード、マウス等のポ
インティングデバイスやイメージリーダを有している。
ここで、文書作成時に入力装置5から文書データが入力
されると、表示装置6のテキスト画面に表示出力される
と共に、かな漢字変換によって確定された確定文字列
は、RAM2内に格納される。なお、表示装置6は多色
表示を行う液晶表示装置やCRT表示装置あるいはプラ
ズマ表示装置等であり、また印刷装置7はフルカラープ
リンタ装置で、熱転写やインクジェットなどのノンイン
パクトプリンタあるいはインパクトプリンタであり、文
書データをカラー出力する。なお、上述したに入力装置
5内のイメージリーダは手書き文字や印刷文字をビット
マップイメージとして読み取るものである。
The input device 5 includes a keyboard, a pointing device such as a mouse, and an image reader for inputting character string data and the like and various commands.
Here, when 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. As described above, the image reader in the input device 5 reads handwritten characters and printed characters as bitmap images.

【0008】このような構成の文書データ処理装置にお
いては、システム内に常駐あるいは外部供給された通常
の文字フォント(ビットマップフォント/アウトライン
フォント)や入力装置5内のイメージリーダによって読
み取られたビットマップイメージを基にこの実施形態固
有の周波数フォントに変換するようにしている。すなわ
ち、この実施形態においては、周波数分解による展開方
式、つまり離散的フーリエ変換(DFT)を高速化した
高速フーリエ変換(FFT)の展開方式にしたがって既
存文字フォント(ビットマップフォントやアウトライン
フォント)の輪郭を離散的な空間周波数成分の集合体で
表現して成るデータ構造を持った周波数フォントに変換
し、この周波数フォントをRAM2に格納したのち、記
憶装置3に登録保存するようにしている。なお、この実
施形態においては既存の通常フォントをFFT処理して
周波数フォントに変換したが、文字フォント発生装置と
して予め各種文字に対応付けてその文字の周波数フォン
トを文字コードと共に記憶する周波数フォントメモリを
常駐あるいは外部供給するようにしてもよい。周波数フ
ォントは離散的フーリエ変換の展開方式にしたがって表
現されたデータ構造であり、文字を構成する各パーツ
は、その輪郭(閉曲線)を1周する周期を持つ連続関数
で表わすことができるので輪郭を1周する際に1回振動
する周波数をFFTの基本周波数とし、この基本周波数
とその整数倍の周波数との組み合せの集合体で周波数フ
ォントが表現されている。なお、FFT処理によって得
られた変換結果の最大次数は、サンプリング定理に応じ
たものとなっている。
In the document data processing device having such a configuration, a normal character font (bitmap font / outline font) resident in the system or externally supplied or a bitmap read by an image reader in the input device 5 is used. The image is converted to a frequency font specific to this embodiment based on the image. That is, in this embodiment, the outline of an existing character font (bitmap font or outline font) is developed in accordance with a development method based on frequency decomposition, that is, a development method of fast Fourier transform (FFT) in which discrete Fourier transform (DFT) is accelerated. Is converted into a frequency font having a data structure represented by a set of discrete spatial frequency components, and this frequency font is stored in the RAM 2 and then registered and stored in the storage device 3. In this embodiment, an existing normal font is subjected to FFT processing and converted into a frequency font. However, as a character font generator, a frequency font memory for storing a frequency font of the character together with a character code in advance in association with various characters is provided. It may be resident or externally supplied. 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). A frequency that vibrates once during one round is defined as a fundamental frequency of the FFT, and a frequency font is expressed by an aggregate of a combination of the fundamental frequency and a frequency that is an integral multiple of the fundamental frequency. Note that the maximum order of the conversion result obtained by the FFT processing corresponds to the sampling theorem.

【0009】図1(B)はRAM2の主要構成を示した
もので、このRAM2には各種のメモリ領域が割り当て
られている。文字列格納部2−1はFFT処理の対象と
なる文字列が一時記憶されるもので、CPU1はこの文
字列を構成する各文字コードをその先頭から読み出して
記憶装置3内の通常フォント格納部3−1を検索し、該
当する文字フォントを取り込む。通常フォント格納部3
−1はビットマップフォントやアウトラインフォントを
各種文字に対応付けて記憶するもので、CPU1はこの
通常フォント格納部3−1から読み出した文字フォント
をパーツ毎にFFT処理するが、その際、周波数変換ワ
ーク部2−2が用いられる。周波数変換ワーク部2−2
は1パーツ毎の変換結果を一時記憶する作業域であり、
その内容は周波数フォント格納部2−3に格納される。
周波数フォント格納部2−3はFFT処理によって生成
された周波数フォントを1文字毎に記憶するものでCP
U1は周波数フォントを構成するデータを加工すること
によって文字の輪郭を変形した変形フォントを生成し、
変形フォント格納部2−4に書き込む。変形フォント格
納部2−4は例えば、文字の輪郭の太さや基本字形を変
えたり、輪郭に細かな振動を与えたり、人が直筆したよ
うな揺らぎを施す等、多彩な変形を加えた変形フォント
を一時記憶するもので、CPU1はこの変形フォントを
フーリエ逆変換することによっても元の座標データを生
成したのち、この座標データに基づいてビットマップデ
ータを印刷バッファ2−5に展開する。
FIG. 1B shows a main configuration of the RAM 2, and various memory areas are allocated to the RAM 2. The character string storage unit 2-1 temporarily stores a character string to be subjected to the FFT processing. 3-1 is retrieved, and the corresponding character font is fetched. Normal font storage 3
-1 stores a bitmap font or an outline font in association with various characters, and the CPU 1 performs FFT processing on the character font read from the normal font storage unit 3-1 for each part. The work part 2-2 is used. Frequency conversion work part 2-2
Is a work area for temporarily storing the conversion result for each part,
The contents are stored in the frequency font storage section 2-3.
The frequency font storage unit 2-3 stores the frequency font generated by the FFT processing for each character.
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-4. The deformed font storage unit 2-4 stores a variety of deformed fonts, such as changing the thickness of a character outline or basic character shape, giving a fine vibration to the outline, or giving a fluctuation as if handwritten by a person. The CPU 1 generates the original coordinate data also by performing the inverse Fourier transform on the deformed font, and then develops the bitmap data in the print buffer 2-5 based on the coordinate data.

【0010】図2は周波数フォントのデータ構造を説明
するための図で、周波数フォント格納部2−3の内容は
図2に示す如くとなっている。なお、通常のアウトライ
ンフォントの場合には、そのパーツ数が定義されている
と共に、各パーツ毎(1画毎)に基準点座標値および直
線、ベジェ曲線等の属性が定義されているが、この実施
形態における周波数フォントの場合には、アウトライン
フォントの座標、属性の記述部分が空間周波数成分の数
表となっている。つまり、周波数フォント格納部2−3
は文字コード、パーツ数、パーツ番号に対応付けてパー
ツ毎にFFT処理結果として、直流成分、基本周波数成
分、それを整数倍した周波数成分とを記述した数表を記
憶する構成となっている。ここで、FFTによる処理結
果は複素数として表現され、複素数平面上における実数
軸部分と虚数軸部分とに分けてその大きさが離散的に求
められたもので、図中、「Xrl」は複素平面上におい
てX軸方向の実数軸部分の値を示し、「Xim」は虚数
軸部分の値を示している。同様に「Yrl」、「Yi
m」はY軸方向における実数軸部分の値、虚数軸部分の
値である。また、図中「F0」は直流成分であって、そ
の実数部分に輪郭の中心点座標が記述されている。な
お、「F0」の虚数軸部分には常に「ゼロ」の値が記述
されている。「F1」はパーツの輪郭を1周する際に1
回振動する周波数を表わした基本周波数成分であり、パ
ーツの大きさや方向はこの値によって支配される。「F
2」はパーツの輪郭を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 section 2-3 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-3
Is configured to store a numerical table describing a DC component, a fundamental frequency component, and a frequency component obtained by multiplying the DC component, a fundamental frequency component, as an FFT processing result for each part in association with the character code, the number of parts, and the part number. Here, the processing result by the FFT is expressed as a complex number, and its size is discretely obtained on a complex plane and a real axis part and an imaginary axis part. In the figure, “Xrl” is a complex plane Above, the value of the real axis portion in the X-axis direction is shown, and “Xim” indicates the value of the imaginary axis portion. Similarly, “Yrl”, “Yi
“m” is 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 1 when making one round of the contour of the part.
This is a fundamental frequency component representing the frequency of vibrating, and the size and direction of the part are governed by this value. "F
"2" 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. Subsequent "F3", "F4" ... are tertiary,
It is a fourth-order high-frequency component, and its maximum order is half the number of coordinates when sampling the contour of the part to be converted. This is because the value of the second half can be easily derived only by performing the inversion of the positive / negative and the reverse order from the value of the first half.

【0011】図3は周波数フォントの作成過程を概念的
に示した図である。処理対象フォント(この場合、アウ
トラインフォント)の1パーツ分を描画し、このビット
マップの輪郭をプロットする。ここで、1パーツをプロ
ットする点数は、どれだけ細かく変換したいかによって
決定するが、離散的フーリエ変換の場合ならば、「2」
の乗数から選び、例えば「512」などであり、この数
でパーツの輪郭をプロットし、その点P0、P1、P2
……毎にXY座標値を取り込み、この座標値をFFT処
理する。これによってプロット座標値を周波数分布に変
換した値が得られ、これがフォントデータとして周波数
フォント格納部2−3へ蓄積される。なお、FFTによ
る変換結果は、演算精度を厳密に求めなければ、可逆性
があり、フーリエ変換によって元の座標値に戻すことが
できる。他方、この実施形態においては図2に示すよう
にEET処理結果をそのまま周波数フォント格納部2−
3に格納したが、周波数フォントのデータ構造は図4に
示すように振幅と位置に組み直してもよい。これは複素
平面上において原点からの距離と成す角であるので、X
軸方向ならば、X振幅=√(Xrl2+Xim2)、X位
相角tan-1(Xim/Xrl)となり、Y軸方向にお
いても同様である。
FIG. 3 is a diagram conceptually showing a process of creating a frequency font. One part of the font to be processed (in this case, an outline font) is drawn, and the outline of this bitmap is plotted. Here, the number of points for plotting one part is determined depending on how finely the conversion is desired. In the case of the discrete Fourier transform, “2” is used.
, For example, "512", and the contour of the part is plotted with this number, and the points P0, P1, P2
XY coordinate values are fetched every time, and the coordinate values are subjected to FFT processing. As a result, a value obtained by converting the plot coordinate value into a frequency distribution is obtained, and this value is stored in the frequency font storage unit 2-3 as font data. It should be noted that the transform result by FFT is reversible unless the calculation accuracy is strictly determined, and can be returned to the original coordinate value by Fourier transform. On the other hand, in the present embodiment, as shown in FIG.
3, but 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 on the complex plane with the distance from the origin, X
In the axial direction, X amplitude = √ (Xrl 2 + Xim 2 ) and X phase angle tan −1 (Xim / Xrl), and the same applies in the Y-axis direction.

【0012】次に、文書データ処理装置の動作を図5〜
図10に示すフローチャートにしたがって説明する。こ
こで、これらのフローチャートに記述されている各機能
を実現するためのプログラムは、CPU1が読み取り可
能なプログラムコードの形態で記憶媒体4に記憶されて
おり、その内容がRAM2内にロードされている。な
お、後述する他の実施形態におけるフローチャートにお
いても同様である。図5は1文字分の周波数フォントを
作成する場合の動作を示したフローチャートである。先
ず、処理対象の文字フォント(アウトラインフォント)
を構成するパーツ数を取得し(ステップA1)、これを
周波数フォント格納部2−3に格納すると共に(ステッ
プA2)、その1パーツ目をRAM2内のビットマップ
上に描画する(ステップA3)。そして、描画したパー
ツの輪郭をプロットする(ステップA4〜A7)。図6
はこの場合の動作を図式化したもので、図中、矩形の集
合は描画した各ドットであり、1つの矩形は1ドットに
対応している。ここで、図中左上を原点として左上から
左下にスキャンし、最下部に達したら1つ右のドット列
をその上から下に向かってスキャンしてゆき、描画され
たドットが見つかるまで上述のスキャン動作を繰り返す
(図6(A)参照)。なお、このようなスキャン方向に
は意味があり、日本語、特に手書きに近いフォントの場
合、文字を構成する線は横棒にしろ、跳ね上げ、振り下
ろしにしろ、左側から書かれていることが多く、サンプ
リングを開始する位置を文字の書き始めに合わせること
で、後述のフォント変形が好都合となるからである。な
お上述したような上下方向へのスキャン(縦方向スキャ
ン)に対し、仮に左右方向へのスキャン(横方向スキャ
ン)を行うものとすると、文字の書き始めがサンプリン
グの開始とならない場合が多いため、この実施形態にお
いては縦方向スキャンを行うようにしている。また、文
字の書き始めの位置は書き終りの位置と同義であるた
め、サンプリングを開始する位置を文字の書き終りの位
置としてもよく、この位置から時計回りの方向へ文字の
輪郭を辿ってサンプリング動作を行う。
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. . The same applies to flowcharts in other embodiments described later. FIG. 5 is a flowchart showing the operation when a frequency font for one character is created. First, the character font to be processed (outline font)
Is acquired (step A1), this is stored in the frequency font storage unit 2-3 (step A2), and the first part is drawn on a bit map in the RAM 2 (step A3). Then, the contours of the drawn parts are plotted (steps A4 to A7). FIG.
Is a diagram of the operation in this case. In the figure, a set of rectangles is each drawn dot, and one rectangle corresponds to one dot. Here, scanning is performed from the upper left to the lower left with the upper left in the drawing as the origin, and when reaching the bottom, the right dot row is scanned from the upper to the lower, and the above scanning is performed until a drawn dot is found. The operation is repeated (see FIG. 6A). In addition, such a scanning direction is meaningful, and in the case of Japanese, especially a font close to handwriting, the lines that make up the character must be written from the left side, whether it is a horizontal bar, flip up, swing down This is because, by adjusting the sampling start position to the start of writing of characters, font deformation described later becomes convenient. Note that if scanning in the left-right direction (horizontal scanning) is performed in contrast to scanning in the up-down direction (vertical scanning) as described above, the start of writing of a character often does not start sampling. In this embodiment, a vertical scan is performed. In addition, since the writing start position is synonymous with the writing end position, the sampling start position may be set as the character writing end position, and sampling is performed by tracing the character outline clockwise from this position. Perform the operation.

【0013】このようなスキャン動作を繰り返すことに
よってステップA4では最初のドットを探し、この点を
開始点としてその輪郭を辿ってその周囲の長さをカウン
トする(ステップA5)。この場合、図6(C)に示す
ように、現在着目しているドットの周囲を調べ、四方の
いずれかにドットが存在していれば、そのドット方向に
着目点を移動することで輪郭線上を辿るようにしている
が、周囲に複数のドットが存在しているときには図6
(B)に示す順番(数字1、2、3、4の順)にしたが
うものとしている。いま、ドット開始点の周囲におい
て、「1」の方向にはドットが存在しないため、「2」
の方向を調べるが、その方向にはドットが存在するた
め、開始点から図中右方向に着目点を移動させる(図6
(C)参照)。そして、次のドットからは、いま進んだ
方向から左90度回った方向(「2」の方向だったら
「1」の方向、「1」の方向だったら「4」の方向)を
基準として周囲を調べ、以下、同様に着目点を移動させ
ることにより輪郭線上を時計方向に回りながら1周する
ことができる。この過程において、1周するまでの軌跡
上に何ドット存在するかをカウントしてゆくことで輪郭
の長さを求めることができる。これによって求められた
カウント値(1パーツ分の輪郭の長さ)に基づいてサン
プリングステップ数を決定する(ステップA6)。この
場合、予め任意に設定したサンプリング数とこのカウン
ト値(長さ)とを照合することによって適切なサンプリ
ング間隔を決定する。図6(C)は全体の長さ(32ド
ット)に対して4ドットおきのドットをサンプル対象と
し、全体で8サンプルすることを表わしている。ここ
で、図中、クロスハッチがかかったところがサンプル対
象を示し、ドット開始点から4ドット間隔となる。そし
て、輪郭線の周囲を辿ってサンプル対象点の各座標値を
サンプリングする(ステップA7)。
By repeating such a scanning operation, in step A4, the first dot is searched for, the starting point is used as the starting point, the contour is traced, and the length of the periphery is counted (step A5). In this case, as shown in FIG. 6 (C), the periphery of the currently focused dot is examined, and if a dot exists in any one of the four directions, the point of interest is moved in the direction of the dot to move the point on the contour line. However, when there are a plurality of dots in the periphery, FIG.
The order shown in (B) (the order of numerals 1, 2, 3, and 4) is to be followed. Since there is no dot in the direction of "1" around the dot start point, "2"
The direction of interest is examined. Since there is a dot in that direction, the point of interest is moved rightward in the figure from the start point (FIG. 6).
(C)). Then, from the next dot, the surroundings are determined based on the direction turned 90 degrees to the left from the current direction (“1” direction if the direction is “2”, “4” direction if the direction is “1”). Then, by moving the point of interest in the same manner, it is possible to make one round while turning clockwise on the contour line. In this process, the length of the contour can be obtained by counting how many dots exist on the trajectory up to one round. The number of sampling steps is determined based on the count value (the length of the contour for one part) thus obtained (step A6). In this case, an appropriate sampling interval is determined by comparing the sampling value arbitrarily set in advance with the count value (length). FIG. 6C shows that every four dots are sampled for the entire length (32 dots), and eight samples are taken in total. Here, in the figure, a cross-hatched portion indicates a sample target, which is a 4-dot interval from a dot start point. Then, each coordinate value of the sample target point is sampled following the contour line (step A7).

【0014】このようにしてサンプリングされた各点の
座標値をFFT処理する(ステップA8〜A15)。こ
の場合、FFT計算はX座標成分、Y座標成分に分けて
行われるため、先ずサンプリングされた座標のX成分を
周波数変換ワーク部2−2に格納する(ステップA
8)。ここで、図3に示すように周波数変換ワーク部2
−2はRealパート、ImagパートをF0、F1、
F2……に対応付けた構成で、先ず、サンプリングされ
たX座標は実数データであるため、このX座標値を周波
数変換ワーク部2−2内のRealパートに格納し(ス
テップA8)、また周波数変換ワーク部2−2内のIm
agパートに全て「0」を代入する(ステップA9)。
そして、この周波数変換ワーク部2−2の内容に基づい
て通常と同様のFFT計算を行い、その変換結果の全て
をRealパート、Imagパートの値としてF0、F
1、F2……に対応付けて周波数変換ワーク部2−2に
一時記憶させたのち(ステップA10)、この周波数変
換ワーク部2−2の内容を周波数フォント格納部2−3
にX方向実数軸部分の値・虚数軸部分の値として格納す
る(ステップA11)。このようにしてX座標成分の変
換格納処理が終ると、Y座標成分についても同様の変換
格納処理を行う。すなわち、サンプリングしたY座標を
周波数変換ワーク部2−2のRealパートに格納する
と共に(ステップA12)、周波数変換ワーク部2−2
のImagパートに全て「0」を代入する(ステップA
13)。そして、この周波数変換ワーク部2−2の内容
に基づいてFFT計算を行い、その変換結果を周波数変
換ワーク部2−2に格納すると共に(ステップA1
4)、この周波数変換ワーク部2−2の内容を周波数フ
ォント格納部2−3にY軸方向の実数軸部分の値Yr
l、虚数軸部分の値Yimとして格納する(ステップA
15)。
The coordinate values of each point sampled in this way are subjected to FFT processing (steps A8 to A15). In this case, since the FFT calculation is performed separately for the X coordinate component and the Y coordinate component, the X component of the sampled coordinates is first stored in the frequency conversion work unit 2-2 (step A).
8). Here, as shown in FIG.
-2 is the Real part, the Imag part is F0, F1,
Since the sampled X coordinate is real number data, the X coordinate value is stored in the Real part in the frequency conversion work unit 2-2 (step A8). Im in the conversion work part 2-2
"0" is substituted for all the ag parts (step A9).
Then, based on the contents of the frequency conversion work unit 2-2, the same FFT calculation as usual is performed, and all the conversion results are set as F0, Fmag as Real part and Imag part values.
1, F2... Temporarily stored in the frequency conversion work unit 2-2 (step A10), and the contents of the frequency conversion work unit 2-2 are stored in the frequency font storage unit 2-3.
Is stored as the value of the X axis real number axis part and the value of the imaginary axis part (step A11). After the conversion and storage of the X coordinate component is completed, the same conversion and storage is performed for the Y coordinate component. That is, the sampled Y coordinate is stored in the Real part of the frequency conversion work unit 2-2 (step A12), and the frequency conversion work unit 2-2 is stored.
Substitute "0" for the Imag part (step A
13). Then, an FFT calculation is performed based on the contents of the frequency conversion work section 2-2, and the conversion result is stored in the frequency conversion work section 2-2 (step A1).
4) The contents of the frequency conversion work unit 2-2 are stored in the frequency font storage unit 2-3 in the value Yr of the real axis portion in the Y-axis direction.
1, stored as a value Yim of the imaginary axis part (step A
15).

【0015】そして、1パーツ分のフォント変換処理が
終ると、ステップA16に進み、1文字分の全てのパー
ツを処理したかを調べ、処理終了でなければステップA
3に戻り、次のパーツを描画し、上述の動作を1パーツ
毎に繰り返す。図7は文字「和」が1パーツ毎に分解さ
れてFFT処理される様子を示したもので、その「のぎ
偏」を構成する縦長のパーツと、その「囗」を構成する
大きく曲がっているパーツについて着目し、各パーツ毎
にFFT処理することによって得られた実数部分の値
と、虚数部分の値を周波数軸上に離散的に分布させた図
表を示している。この周波数分布において、縦長のパー
ツは基本周波数F1にその特徴が表われ、大きく曲がっ
ているパーツは基本周波数F1の他に次の周波数F2に
その特徴が表われている。図8は文字「和」をFFT処
理することによって得られたX軸方向の実数軸部分、虚
数軸部分、Y軸方向の実数軸部分、虚数軸部分の具体的
な数値を示すと共に、文字「和」を構成する各パーツと
パーツ毎の周波数データとの対応関係を示した図であ
る。ここで、図中「1」〜「7」で示すようにこの文字
「和」は7パーツから成るため、それに対応する空間周
波数成分の集合体は、7パーツ分の周波数フォント格納
部2−3に格納される。なお、F0の虚数は常に「ゼ
ロ」であることは上述した通りであり、また図7はF0
〜F9までを例示したが、実際にはサンプリングした数
によって特定される最大次数までその値は続いている。
When the font conversion processing for one part is completed, the process proceeds to step A16 to check whether all parts for one character have been processed.
Returning to 3, the next part is drawn, and the above operation is repeated for each part. FIG. 7 shows a state in which the character "wa" is decomposed for each part and subjected to the FFT processing. The vertically long parts forming the "nogi bias" and the large bends forming the "shi" are shown. A table is shown in which the values of the real part and the values of the imaginary part obtained by performing the FFT processing for each part are discretely distributed on the frequency axis. In this frequency distribution, the characteristics of the vertically long parts are exhibited at the fundamental frequency F1, and the characteristics of the parts which are greatly bent are exhibited at the next frequency F2 in addition to the fundamental frequency F1. FIG. 8 shows specific numerical values of a real axis portion, an imaginary axis portion, a real axis portion, and an imaginary axis portion in the X-axis direction obtained by performing the FFT processing on the character "sum". FIG. 8 is a diagram showing a correspondence relationship between each part constituting the “sum” and frequency data of each part. Here, as shown by "1" to "7" in the figure, 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 As described above, the imaginary number of F0 is always “zero”, and FIG.
Although the values up to F9 have been exemplified, the value actually continues up to the maximum order specified by the sampled number.

【0016】他方、この実施形態においては上述のよう
に文字を1画毎にパーツとして分解したが、例えば文字
「乙」のように1画が長く、大きく折れ曲がっているよ
うな文字の場合には、その文字全体を直線に近い3本の
線分に分解した方が後述の変形加工(特に太さの制御)
が確実かつ容易なものとなる。すなわち、元のフォント
(ビットマップフォントやアウトラインフォント)が直
線を基本とした連続する筆運び部分の線分毎に分解され
ている場合には、この文字をパーツ毎にサンプリングし
てFFT処理すると共にパーツ毎に太さの制御を行え
ば、「乙」のような文字であってもその全体の形を崩さ
ずに太さだけを変えてその字形を再現することができ
る。
On the other hand, in this embodiment, a character is disassembled as a part for each stroke as described above. However, in the case of a character such as the character "Otsu" which is long and largely bent, for example, Decomposing the entire character into three line segments close to a straight line is better for later-described deformation processing (particularly, thickness control).
Becomes reliable and easy. In other words, when the original font (bitmap font or outline font) is decomposed for each line segment of a continuous stroke portion based on a straight line, this character is sampled for each part and subjected to FFT processing. By controlling the thickness of each part, even a character such as "Otsu" can be reproduced with its thickness changed without changing the overall shape.

【0017】このようにして周波数フォント格納部2−
3内に各種文字に対応する周波数フォントが格納されて
いる状態において、この周波数フォントを用いて文字印
刷を行う場合には、図9に示す手順を踏めばよい。図1
0はこの場合の文字印刷時の動作を示したフローチャー
トである。すなわち、出力対象として任意に指定された
文字に基づいて周波数フォント格納部2−3を検索し、
該当する周波数フォントを読み出し、それをRAM2内
のワークメモリに格納する(ステップB1)。そして、
このワークメモリ内から周波数成分を1パーツ毎に読み
出し、それをフーリエ逆変換(IFFT)すると、プロ
ットしたときの座標に戻る(ステップB2)。これをシ
ョートベクトルとして印刷バッファ2−5に描画する
(ステップB3)。すなわち、IFFTによって生成さ
れた座標をショートベクトルとするアウトラインフォン
トを生成し、印刷バッファ2−5に展開する。ここで、
文字を出力するときのプロット間隔は周波数フォントを
生成するときのプロット数とは関係せず、任意に制御可
能である。すなわち、FFT変換時において、そのデー
タ数(次数)はプロット数に関係するため、文字出力時
において高次側に「0」のデータを付け加えてIFFT
を行えば、プロット間隔は狭くなり、逆にデータ数(次
数)を減らせばプロット間隔を広ろげることができる。
Thus, the frequency font storage unit 2-
In a state where frequency fonts corresponding to various characters are stored in the character string 3 and character printing is performed using this frequency font, the procedure shown in FIG. FIG.
0 is a flowchart showing the operation at the time of character printing in this case. That is, the frequency font storage unit 2-3 is searched based on a character arbitrarily designated as an output target,
The corresponding frequency font is read out and stored in the work memory in the RAM 2 (step B1). And
The frequency components are read out from the work memory for each part and subjected to Fourier inverse transform (IFFT) to return to the coordinates at the time of plotting (step B2). This is drawn in the print buffer 2-5 as a short vector (step B3). That is, an outline font having the coordinates generated by the IFFT as a short vector is generated, and is expanded in the print buffer 2-5. here,
The plot interval when outputting characters is not related to the number of plots when generating a frequency font, and can be arbitrarily controlled. That is, at the time of FFT conversion, the number of data (order) is related to the number of plots.
Is performed, the plot interval becomes narrow, and conversely, if the number of data (order) is reduced, the plot interval can be widened.

【0018】一方、周波数フォントを構成するデータを
加工することによって文字の輪郭を変更することができ
る。この場合、周波数フォントに基づいて文字の輪郭を
変形するための変形フォントをFFT処理することによ
って元の座標データを生成し、この座標データに基づい
て文字フォントを展開出力すればよい。ここで、文字の
大きさを変更するときには、通常のアウトラインフォン
トと同様に、全ての数値に係数を掛ければ、拡大、縮小
することが可能となり、文字の大きさを自由に変更する
ことができる。更に、デジタルフィルタによって高周波
成分をカットすれば、丸い文字を出力することができ、
更に低域周波数と特定の高域周波数とを組み合せれば、
文字の輪郭に細かい変化(振動)を付加することがで
き、また、輪郭の太さを制御する場合には、F1、F2
の低域周波数成分の所定値を変更(定数倍)すればよい
等、多彩な変形が可能となる。
On the other hand, the outline of the character can be changed by processing the data constituting the frequency font. In this case, the original coordinate data may be generated by performing FFT processing on a deformed font for deforming the outline of the character based on the frequency font, and the character font may be developed and output based on the coordinate data. Here, when changing the size of the character, it is possible to enlarge or reduce the size of the character by multiplying all the numerical values by a coefficient, as in a normal outline font, and the size of the character can be freely changed. . Furthermore, if high frequency components are cut by a digital filter, round characters can be output,
Furthermore, if low frequency and specific high frequency are combined,
A fine change (vibration) can be added to the outline of the character, and when controlling the thickness of the outline, F1 and F2
Various modifications are possible, for example, by changing the predetermined value of the low frequency component (constant times).

【0019】以上のように、文字を構成する輪郭を離散
的な空間周波数成分の集合体で文字フォントを表現した
から、多彩な変形を容易に行うことが可能となり、背景
画像に変形文字を貼り付ければ、効果的な案内状等を作
成することができる。特に従来のアウトラインフォント
では事実上実装が不可能であった複雑な輪郭形状をフォ
ントとして実装しておかなくても、周波数フォントを描
画するデータを加工するだけでどのような複雑な形状で
あっても容易に変形することができる。したがって、複
雑な形状をアウトラインフォントとしとして実装する場
合に比べ、データ量を大幅に削減することができる。ま
た、周波数フォントは、各周波数成分毎に複素平面上に
おける実数軸部と虚数軸部とに分けてその大きさを表わ
したから、高速処理に向いた形となる。また、各周波数
成分毎にその値を振幅および位相成分として表わせば、
低域を観念的に理解しやすくなり、変形を任意に指定す
る際に有効なものとなる。また通常フォントの輪郭を辿
ってサンプサンプリングし、FFT処理することによっ
て周波数フォントを生成するようにしたから、周波数フ
ォントを予め実装しておかなくてもよく、ワードプロセ
ッサ等に周波数フォント生成機能を単に組み込めばよ
い。また、サンプリングを行う単位は文字を構成する1
画毎であり、1画毎に周波数成分の集合体に変換するよ
うにしたから文字の大体の形状を支配する低域周波数の
みを持つフォントの場合、その変形が素直になり、基本
字形が保たれる。また、「乙」のように文字を構成する
要素が1画であっても、直線を基本とした連続する筆運
び毎に3分割してサンプリングを行えば、基本字形を保
つことができ、またサンプリングの開始位置を文字の書
き始めあるいは書き終りの位置とすることで、文字の太
さや基本字形を変える変形を行う際に、日本語の特性上
その変形制御が容易なものとなる。
As described above, since the character font is represented by a set of discrete spatial frequency components in the outline constituting the character, various deformations can be easily performed, and the deformed character is pasted on the background image. If attached, an effective guide letter or the like can be created. 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 value is represented as an amplitude and a phase component for each frequency component,
This makes it easy to conceptually understand the low frequency range, and is effective when arbitrarily specifying a deformation. In addition, since the frequency font is generated by sampling and FFT processing following the outline of the normal font, the frequency font does not need to be mounted in advance, and the frequency font generation function can be simply incorporated into a word processor or the like. I just need. The unit of sampling is 1 that constitutes a character.
Since each image is converted to a set of frequency components for each image, if the font has only low-frequency components that govern the general shape of the character, the deformation is straightforward and the basic character shape is preserved. Dripping. In addition, even if the element that constitutes a character is one stroke, such as “Otsu”, the basic character shape can be maintained by sampling it by dividing it into three for each continuous stroke based on a straight line. By setting the sampling start position at the start or end of writing of a character, when performing a deformation that changes the thickness or basic character shape of the character, the deformation can be easily controlled due to the characteristics of Japanese.

【0020】(第2実施形態)以下、図11〜図13を
参照してこの発明の第2実施形態を説明する。なお、上
述した第1実施形態においてはFFT処理によって得ら
れた空間周波数成分をサンプリング数によって特定され
る最大次数まで全て格納するようにしたが、この第2実
施形態においてはFFT処理によって得られた周波数成
分のうち低域の周波数成分のみを格納するようにしたも
のであり、これによって遊びの用途に適した丸味のある
文字を出力できるようにしている。図11(A)はF3
以降の周波数成分を全てゼロにした場合における周波数
フォントのデータ構造を示し、この周波数フォントはF
0、F1、F2のデータのみから成る。図11(B)は
このようなデータ構造の周波数フォントを印刷出力した
場合の出力形状を示し、図中左側は上述した第1実施形
態の周波数フォントの出力形状、右側は第2実施形態の
出力形状であり、最大次数分のデータを持ったフォント
の出力例に比べ、この第2実施形態は、文字を絵筆でさ
っと画いたような丸味を持った形状となる。このような
形状の文字を通常のアウトラインフォントで表現する場
合、1つの輪郭を4本のベジェ曲線で表わすものとする
と、13個の座標点(X、Y)と最低5つの座標点の識
別子が必要となり、13の座標点を8ビットで表わした
としても26バイト必要となる。一方、この第2実施形
態のようにF3以降のデータを全てゼロとすると、F0
の虚数データはゼロなので、1パーツ分の輪郭を10個
のデータで表現することができ、たとえ16ビットで表
わしたとしても20バイトで足りる。
(Second Embodiment) A second embodiment of the present invention will be described below with reference to FIGS. In the above-described first embodiment, all the spatial frequency components obtained by the FFT processing are stored up to the maximum order specified by the sampling number. In the second embodiment, the spatial frequency components obtained by the FFT processing are obtained. Only the low frequency components of the frequency components are stored, so that a rounded character suitable for a play application can be output. FIG. 11A shows F3.
The data structure of the frequency font when all the subsequent frequency components are set to zero is shown.
It consists of only data of 0, F1, and F2. FIG. 11B shows an output shape when a frequency font having such a data structure is printed out. In the drawing, the output shape of the frequency font of the first embodiment is shown on the left side, and the output shape of the frequency font of the second embodiment is shown on the right side. Compared with the output example of the font having the data of the maximum order, the second embodiment has a round shape as if the character were drawn with a paintbrush. When a character having such a shape is represented by a normal outline font, assuming that one outline is represented by four Bezier curves, 13 coordinate points (X, Y) and at least five coordinate point identifiers are used. 26 bytes are required even if 13 coordinate points are represented by 8 bits. On the other hand, if all data after F3 is set to zero as in the second embodiment, F0
Since the imaginary number data of is zero, the outline of one part can be represented by ten pieces of data, and even if it is represented by 16 bits, 20 bytes is sufficient.

【0021】図12(A)はF2以降を全てゼロとした
データ構造の周波数フォントを示し、F0、F1のみか
ら成るため、1輪郭当たり6つのデータで表わせ、それ
を16ビットで表わしたとしても12バイトで足りる。
図12(B)は最低の周波数成分(基本周波数成分F
1)だけを残してデータ容量を大幅に削減した場合の出
力形状を示し、字形はかなり崩れるが、遊びの用途に適
した丸味のある文字を得ることができる。図13は図1
2(A)に示すデータ構造を持った周波数フォントを生
成登録する場合の動作を示したフローチャートであり、
基本的には第1実施形態における図5のフローチャート
と同様であるが、この第2実施形態は周波数変換ワーク
部2−2の内容を周波数フォント格納部2−3に格納す
る際に、必要なデータのみを抽出して格納するようにし
ている。すなわち、処理対象の文字を構成するパーツ数
を周波数フォント格納部2−3に格納する処理(ステッ
プC1、C2)を行ったのち、1パーツ分を描画し、そ
の輪郭の長さに基づいてサンプリングステップ数を決定
すると共に(ステップC3〜C6)、輪郭の周囲を辿っ
てサンプル対象点の各座標値をサンプリングする(ステ
ップC7)。そして、サンプリングされた座標値のX成
分を周波数変換ワーク部2−2に代入してFFT計算を
行う(ステップC8〜C10)。これによって得られた
変換結果のうち、高域周波数成分を除き、直流成分F0
のRealと基本周波数成分のReal、Imagのデ
ータを周波数変換ワーク部2−2から抽出し、周波数フ
ォント格納部2−3に格納する(ステップC11)。次
に、Y成分についても同様の処理を行い、Y成分を周波
数変換ワーク部2−2に代入してFFT計算を行う(ス
テップC12〜C14)。そして、F0のRealとF
1のReal、Imagのみを周波数フォント格納部2
−3に格納する(ステップC15)。このような動作を
1文字を構成するパーツ毎に繰り返すためにステップC
16で全パーツ終了かを判別し、終了でなければステッ
プC3に戻る。これによって図12(A)に示すように
周波数フォントを構成する空間周波数成分の集合体は、
低域周波数成分のみから成るデータ構造となるためデー
タ容量を大幅に削減することが可能となる。
FIG. 12A shows a frequency font having a data structure in which all data after F2 are zero. Since the frequency font is composed of only F0 and F1, it can be represented by six data per contour, and even if it is represented by 16 bits. 12 bytes is enough.
FIG. 12B shows the lowest frequency component (fundamental frequency component F
This figure shows an output shape when the data capacity is greatly reduced while only 1) is shown. Although the character shape is considerably distorted, a rounded character suitable for use in play can be obtained. FIG. 13 shows FIG.
2 is a flowchart showing an operation when generating and registering a frequency font having the data structure shown in FIG.
This is basically the same as the flowchart of FIG. 5 in the first embodiment. However, in the second embodiment, it is necessary to store the contents of the frequency conversion work unit 2-2 in the frequency font storage unit 2-3. Only data is extracted and stored. That is, after performing the process of storing the number of parts constituting the character to be processed in the frequency font storage unit 2-3 (steps C1 and C2), one part is drawn, and sampling is performed based on the length of the outline. The number of steps is determined (steps C3 to C6), and each coordinate value of the sample target point is sampled following the contour (step C7). Then, the X component of the sampled coordinate values is substituted into the frequency transform work unit 2-2 to perform the FFT calculation (steps C8 to C10). In the conversion result obtained as described above, except for the high frequency component, the DC component F0
, And Real and Imag data of the fundamental frequency components are extracted from the frequency conversion work unit 2-2 and stored in the frequency font storage unit 2-3 (step C11). Next, the same processing is performed for the Y component, and the FFT calculation is performed by substituting the Y component into the frequency conversion work unit 2-2 (steps C12 to C14). And Real of F0 and F
1 Real and Imag only in frequency font storage 2
-3 (step C15). Step C is repeated to repeat such an operation for each part constituting one character.
At 16 it is determined whether all parts have been completed. If not, the process returns to step C3. As a result, as shown in FIG. 12A, a set of spatial frequency components constituting the frequency font is
Since the data structure includes only low-frequency components, the data capacity can be significantly reduced.

【0022】(第3実施形態)以下、図14〜図16を
参照してこの発明の第3実施形態を説明する。なお、上
述した第2実施形態はデータ容量を少なくするために空
間周波数成分の集合体は、低域周波数成分のみから成る
データ構造としたが、この第3実施形態においては特定
の高周波数成分、例えばF56を追加し、その値を一定
値とすることで輪郭線を細かく振動させた変形を可能と
するものである。図14(B)はその変形状態を示した
フォント出力例であり、このような形状の文字を通常の
アウトラインフォントで、実現しようとすると、データ
容量が増えすぎて実用にならないが、この第3実施形態
では特定の高周波数成分としてF56が一定値(0.7
81)となるデータを追加するだけで上述のような変形
文字を実現するようにしている。図14(A)はこの場
合のデータ構造を示し、各パーツ毎の空間周波数成分の
集合体は、F0、F1、F2、F56から成り、F56
を一定値としたもので、F0、F1、F2によって特定
された形状の文字は、その輪郭線がF56の高周波数成
分によって振動されるが、振動の回数や強さは任意であ
り、大きな振動を得るにはその値を大きくすればよく、
また細かな振動を得るには高周波数成分の次数を高めれ
ばよい。なお、図14(B)は文字輪郭の振動状態を概
略的に示したものである。このような文字を通常のアウ
トラインフォントで実現しようとすれば、26バイトか
ら800バイト近くまで増えるのに比べ、この第3実施
形態の周波数フォントにおいては、各パーツ毎にF56
として一定値(0.781)を加えるだけで実現できる
ので、56バイトの増加で済み、フォント全体でも大幅
な容量削減となる。
(Third Embodiment) Hereinafter, a third embodiment of the present invention will be described with reference to FIGS. In the second embodiment described above, in order to reduce the data capacity, the aggregate of the spatial frequency components has a data structure consisting of only the low frequency components. However, in the third embodiment, the specific high frequency components, For example, by adding F56 and setting the value to a constant value, it is possible to deform the outline by vibrating finely. FIG. 14B is a font output example showing the deformed state. If a character having such a shape is to be realized by a normal outline font, the data capacity becomes too large to be practical. In the embodiment, F56 is a fixed value (0.7
81), the modified character as described above is realized only by adding data. FIG. 14A shows the data structure in this case, and a set of spatial frequency components for each part is composed of F0, F1, F2, and F56.
Is a fixed value, and the outline of a character having the shape specified by F0, F1, and F2 is vibrated by the high-frequency component of F56. Can be obtained by increasing its value.
In order to obtain fine vibration, the order of the high frequency component may be increased. FIG. 14B schematically shows the vibration state of the character outline. If such characters are to be realized with a normal outline font, the number of characters increases from 26 bytes to nearly 800 bytes. In contrast, in the frequency font of the third embodiment, F56 is used for each part.
Can be realized only by adding a constant value (0.781), so that only 56 bytes are required, and the capacity of the entire font is greatly reduced.

【0023】ところで、図14(B)に示した変形例に
おいては、振動の周期がパーツ毎に異なってしまう。こ
の場合、見た目の周期がほとんど変らない場合や見た目
の周期が違っていても構わない場合にはよいが、各パー
ツ毎に振動周期を一定にするには、図15に示すよう
に、各パーツ毎の周波数成分の集合体は、F0、F1の
他にパーツの長さに応じて決定された高周波数成分Fn
を組み合せた構成で、第2実施形態における図12
(A)のデータ構造に高周波数成分Fnを追加した構成
となっている。そして、各パーツ毎に追加する高周波数
成分の次数nを決定するn欄が設けられている。この次
数nはパーツの輪郭の長さに応じて決定されたもので、
このnで示される高周波数成分の値を一定値とすること
で、振動周期をパーツ毎に一定にするようにしている。
By the way, in the modification shown in FIG. 14B, the cycle of vibration differs for each part. In this case, it is good if the appearance cycle is almost the same or the appearance cycle may be different. However, in order to make the oscillation cycle constant for each part, as shown in FIG. A set of frequency components for each is a high frequency component Fn determined according to the length of the part in addition to F0 and F1.
12 in the second embodiment.
The configuration is such that a high frequency component Fn is added to the data structure of FIG. An n column for determining the order n of the high frequency component to be added for each part is provided. This order n is determined according to the length of the contour of the part.
By setting the value of the high frequency component indicated by n to a constant value, the vibration cycle is made constant for each part.

【0024】図16はこの場合のフォント生成処理を示
したフローチャートである。ここで、ステップD1〜D
15は上述した第2実施形態における図13のステップ
C1〜C15と同様であり、F0、F1の成分のみを周
波数フォント格納部2−3に格納する。このようにして
1パーツ分の処理が終ると、ステップD5で求められた
輪郭線の長さをワークメモリに記録保持しておく(ステ
ップD16)。そして、全パーツ分の処理終了がステッ
プD17で検出されるまでステップD3に戻り、上述の
動作が繰り返されるため、F0、F1のみから成る周波
数フォントが生成されると共に、パーツ毎にその輪郭線
の長さが記録される。そして、各パーツの輪郭線の長さ
を比較することによってその最大値を取り出すと共に
(ステップD18)、最初のパーツの輪郭線の長さを取
り出す(ステップD19)。そして、追加する高周波数
成分Fnの次数nを求める計算を行う(ステップD2
0)。すなわち、ステップD19で取り出した該当パー
ツの輪郭線の長さと、ステップD18で取り出した長さ
の最大値とに基づいて最大値に対する該当パーツの長さ
の比率を求め、その値に基本周波数成分F1の値を掛け
ることによって追加する高周波数成分の次数nを求め
る。この場合、上述のような演算結果に端数が生じた場
合には、四捨五入、切り上げ、切り下げ等の端数処理を
行うようにしている。そして、ステップD21に進み、
この次数nで示される高周波数成分Fnの値として一定
値Qを代入する。ここで、高周波数成分FnのX軸の実
数部XrlFnに「−Q」、虚数部XimFnに「Q」
を代入し、更に、Y軸の実数部YrlFn、虚数部Yi
mFnに「Q」を代入する。この場合、X軸の実数部X
rlFnに「−Q」を代入するのは、図6で示したよう
にサンプリング動作を時計方向に行うようにしたからで
あり、また一定加算値は「0.781」等であり、その
値は振動の強さに応じて任意である。このようにして生
成された高周波数成分Fnを該当パーツに対応付けて周
波数フォント格納部2−3にその次数nと共に追加登録
する(ステップD22)。そして、全てのパーツの処理
を終了したかを調べ(ステップD23)、終了していな
ければ、ステップD24に進み、次のパーツの輪郭の長
さを取り出し、ステップD20に戻り、以下、1パーツ
毎にその長さに応じた高周波数成分の次数を決定し、そ
れに一定値Qを代入して追加登録する処理を全てのパー
ツに対して行う。このようにして周波数フォントを生成
することで、振動周期をパーツ毎に一定にすることがで
きる。
FIG. 16 is a flowchart showing the font generation processing in this case. Here, steps D1 to D
Reference numeral 15 is the same as steps C1 to C15 in FIG. 13 in the above-described second embodiment, and stores only the components F0 and F1 in the frequency font storage unit 2-3. When the processing for one part is completed in this way, the length of the contour line obtained in step D5 is recorded and held in the work memory (step D16). Then, the process returns to step D3 until the end of processing for all parts is detected in step D17, and the above operation is repeated, so that a frequency font consisting of only F0 and F1 is generated, and the outline of The length is recorded. Then, by comparing the length of the outline of each part, the maximum value is extracted (step D18), and the length of the outline of the first part is extracted (step D19). Then, calculation for obtaining the order n of the high frequency component Fn to be added is performed (step D2).
0). That is, the ratio of the length of the corresponding part to the maximum value is determined based on the length of the contour of the relevant part extracted in step D19 and the maximum value of the length extracted in step D18, and the value is calculated as the fundamental frequency component F1. To obtain the order n of the high frequency component to be added. In this case, 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, proceed to Step D21,
A constant value Q is substituted for the value of the high frequency component Fn represented by the order n. Here, “−Q” is applied to the real part XrlFn of the X axis of the high frequency component Fn, and “Q” is applied to the imaginary part XimFn.
And further, the real part YrlFn and the imaginary part Yi of the Y axis
“Q” is substituted for mFn. In this case, the real part X of the X axis
The reason why “−Q” is substituted for rlFn is that the sampling operation is performed in the clockwise direction as shown in FIG. 6, and the constant addition value is “0.781” or the like. It is optional depending on the strength of the vibration. The high frequency component Fn generated in this manner is additionally registered in the frequency font storage unit 2-3 together with the order n in association with the corresponding part (step D22). Then, it is checked whether or not all parts have been processed (step D23). If not, the process proceeds to step D24, where the length of the contour of the next part is extracted, and the process returns to step D20. Then, the order of the high-frequency component corresponding to the length is determined, and a process of substituting a constant value Q for additional registration is performed for all parts. By generating a frequency font in this way, the vibration cycle can be made constant for each part.

【0025】なお、上述した各実施形態においては、通
常フォントをFFT処理して周波数フォントに変換する
際に、通常フォントとしてアウトラインフォントを例に
挙げたが、ビットマップフォントであってもよく、勿
論、イメージリーダによって読み取られたイメージデー
タであってもよい。また、通常フォントをFFT処理し
て周波数フォントに変換して周波数フォント格納部2−
3に登録するようにしたが、文字列を出力する際に、1
文字毎にリアルタイムでFFT処理したのち、IFFT
処理して出力するようにしてもよい。また、FFT処理
に限らず、その他の周波数変換方式にしたがって周波数
フォントを生成するようにしてもよい。また、周波数フ
ォント格納部2−3の内容はフロッピーディスク等の記
録媒体や通信回線を介して外部供給されたものであって
もよく、周波数変換機能を有しない文書データ処理装置
であってもよい。また、文字としては漢字に限らず、か
な文字、記号、アルファベット、図形等であってもよい
ことは勿論である。
In each of the above-described embodiments, an outline font is used as an example of a normal font when the normal font is converted to a frequency font by FFT processing. However, a bitmap font may be used. , Image data read by an image reader. Also, the normal font is subjected to FFT processing and converted into a frequency font, and the frequency font is stored in the frequency font storage unit 2-
3, but when outputting a character string, 1
After performing FFT processing for each character in real time, IFFT
You may make it process and output. Further, the frequency font may be generated according to another frequency conversion method without being limited to the FFT processing. The contents of the frequency font storage section 2-3 may be externally supplied via a recording medium such as a floppy disk or a communication line, or may be a document data processing apparatus having no frequency conversion function. . The characters are not limited to Chinese characters, but may be kana characters, symbols, alphabets, figures, and the like.

【0026】[0026]

【発明の効果】この発明によれば、文字の輪郭を離散的
な空間周波数成分の集合体で表現することで、データ量
の増大を抑えながら、文字の基本輪郭や太さを大幅に変
更したり、多彩な表現を付加することができる等、その
変形の自由度は従来のアウトラインフォントには存在せ
ず、またその用途範囲も広い。
According to the present invention, by expressing the outline of a character by a set of discrete spatial frequency components, the basic outline and thickness of the character can be significantly changed while suppressing an increase in the amount of data. For example, conventional outline fonts do not have a degree of freedom of deformation, such as being able to add various expressions, and have a wide range of applications.

【図面の簡単な説明】[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−3の構成を示すと共
に周波数フォントを構成する各周波数成分毎に複素平面
上における実数部と虚数部に分けてその大きさを表わし
たデータ構造を示した図。
FIG. 2 is a diagram illustrating a configuration of a frequency font storage unit 2-3 and a data structure in which a size is divided into a real part and an imaginary part on a complex plane for each frequency component constituting the frequency font. .

【図3】通常フォントの輪郭をパーツ毎にサンプリング
すると共にFFT処理して周波数フォントを生成して周
波数フォント格納部2−3に登録するまでの過程を示し
た図。
FIG. 3 is a diagram illustrating a process of sampling a contour of a normal font for each part, performing FFT processing, generating a frequency font, and registering the frequency font in a frequency font storage unit 2-3.

【図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】通常フォントから周波数フォントを生成して周
波数フォント格納部2−3に登録するまでの動作を示し
たフローチャート。
FIG. 5 is a flowchart showing an operation from generation of a frequency font from a normal font to registration in a frequency font storage unit 2-3.

【図6】(A)〜(C)は1パーツ分描画されたビット
マップ上をその輪郭を辿ってサンプリングする場合の動
作を説明するための図。
FIGS. 6A to 6C are diagrams for explaining an operation when sampling is performed by tracing the contour on a bitmap drawn for one part.

【図7】1文字をパーツ毎に分解してFFT処理される
様子を示すと共に、FFT処理することによって得られ
た実数部分の値と虚数部分の値を周波数軸上に離散的に
分布させた周波数分布図を示した図。
FIG. 7 shows a state in which one character is decomposed into parts and subjected to FFT processing, and values of a real part and an imaginary part obtained by performing FFT processing are discretely distributed on a frequency axis. The figure which showed the frequency distribution diagram.

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

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

【図10】周波数フォントを用いて文字印刷する場合の
動作を示したフローチャート。
FIG. 10 is a flowchart showing an operation when characters are printed using a frequency font.

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

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

【図13】図12(A)に示すデータ構造を持った周波
数フォントを生成登録する場合の動作を示した図。
FIG. 13 is a diagram showing an operation when generating and registering a frequency font having the data structure shown in FIG.

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

【図15】第3実施形態において周波数フォント格納部
2−3の構成およびそこに格納されている周波数フォン
トの他のデータ構造を説明するための図。
FIG. 15 is a diagram for explaining a configuration of a frequency font storage unit 2-3 and another data structure of a frequency font stored therein in the third embodiment.

【図16】図15に示すデータ構造の周波数フォントを
生成登録する場合の動作を示したフローチャート。
FIG. 16 is a flowchart showing an operation when generating and registering a frequency font having the data structure shown in FIG. 15;

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

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

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】文字フォントを描画出力する文字フォント
出力装置に使用され、出力対象の文字フォントを格納す
る文字フォント格納装置であって、文字を構成する輪郭
を離散的な空間周波数成分の集合体で表現して成るデー
タ構造を持つ周波数フォントを格納したことを特徴とす
る文字フォント格納装置。
1. A character font storage device used for a character font output device for drawing and outputting a character font, wherein the character font storage device stores a character font to be output. A character font storage device which stores a frequency font having a data structure represented by:
【請求項2】前記周波数フォントは離散的なフーリエ級
数の展開方式にしたがって文字の輪郭を離散的な空間周
波数成分の集合体で表現して成ることを特徴とする請求
項1記載の文字フォント格納装置。
2. The character font storage according to claim 1, wherein the frequency font is formed by expressing the outline of a character by a set of discrete spatial frequency components in accordance with a discrete Fourier series expansion method. apparatus.
【請求項3】前記空間周波数成分の集合体は、各周波数
成分毎に複素数平面上における実数軸部と虚数軸部に分
けてその大きさを表わした数値情報であることを特徴と
する請求項1記載の文字フォント格納装置。
3. The set of spatial frequency components is numerical information representing the magnitude of a real axis part and an imaginary axis part on a complex plane for each frequency component. 1. The character font storage device according to 1.
【請求項4】前記空間周波数成分の集合体は、各周波数
成分毎にその値を振幅および位相成分として表わした数
値情報であることを特徴とする請求項1記載の文字フォ
ント格納装置。
4. The character font storage device according to claim 1, wherein the set of spatial frequency components is numerical information representing the value of each frequency component as amplitude and phase components.
【請求項5】前記空間周波数成分の集合体は、ビットマ
ップデータの輪郭線上を辿ってサンプリングし、それを
離散的な周波数分解によって生成されたことを特徴とす
る請求項1記載の文字フォント格納装置。
5. The character font storage according to claim 1, wherein the aggregate of the spatial frequency components is sampled by tracing on the contour of the bitmap data and is generated by discrete frequency decomposition. apparatus.
【請求項6】前記空間周波数成分の集合体は、アウトラ
インフォントに基づいて展開された文字の輪郭線上を辿
ってサンプリングし、それを離散的な周波数分解によっ
て生成されたことを特徴とする請求項1記載の文字フォ
ント格納装置。
6. The method according to claim 1, wherein the set of spatial frequency components is sampled by tracing the contour of a character developed based on an outline font, and is sampled by discrete frequency decomposition. 1. The character font storage device according to 1.
【請求項7】文字の輪郭を辿ってサンプリングする際
に、文字を構成する要素1画を単位として1画毎にサン
プリングするようにしたことを特徴とする請求項5また
は6記載の文字フォント格納装置。
7. The character font storage according to claim 5, wherein, when sampling while tracing the outline of the character, sampling is performed for each stroke in units of one element constituting the character. apparatus.
【請求項8】文字の輪郭を辿ってサンプリングを行う単
位は、文字を構成する要素が1画であっても、直線を基
本とした連続する筆運び部分の線分毎であることを特徴
とする請求項5または6記載の文字フォント格納装置。
8. A unit for performing sampling by following the contour of a character is, for each line segment of a continuous stroke portion based on a straight line, even if the element constituting the character is one stroke. 7. The character font storage device according to claim 5, wherein:
【請求項9】文字の輪郭を辿ってサンプリングを開始す
る位置は、文字の書き始めあるいは書き終りの位置であ
り、その位置から文字の輪郭を辿ってサンプリング動作
を行うようにしたことを特徴とする請求項5または6記
載の文字フォント格納装置。
9. A position at which sampling is started by tracing the outline of a character is a position at which writing of a character starts or ends, and a sampling operation is performed by tracing the outline of a character from that position. 7. The character font storage device according to claim 5, wherein:
【請求項10】前記空間周波数成分の集合体は、文字の
大体の形状を支配する低域周波数成分のみから成り、高
周波数成分を全て削除することでフォントのデータ量を
少なくしたことを特徴とする請求項1記載の文字フォン
ト格納装置。
10. The set of spatial frequency components comprises only low-frequency components that govern the general shape of a character, and the amount of font data is reduced by deleting all high-frequency components. The character font storage device according to claim 1.
【請求項11】前記空間周波数成分の集合体は、文字の
大体の形状を支配する低域の周波数成分と特定の高い周
波数成分との組み合せから成り、特定の高周波数成分を
付加することで輪郭に揺らぎ要素を持たせたことを特徴
とする請求項1記載の文字フォント格納装置。
11. The set of spatial frequency components comprises a combination of a low frequency component that governs the general shape of a character and a specific high frequency component, and a contour is formed by adding a specific high frequency component. 2. The character font storage device according to claim 1, wherein the character font storage device has a fluctuation element.
【請求項12】文字を構成する輪郭を離散的な空間周波
数成分の集合体で表現して成るデータ構造を持った周波
数フォントを記憶するフォント記憶手段と、 このフォント記憶手段内の周波数フォントを読み出すと
共に、この周波数フォントを座標データに変換する変換
手段と、 この変換手段によって変換された座標データに基づいて
文字フォントを展開出力する出力手段とを具備したこと
を特徴とする文字フォント出力装置。
12. 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, and a frequency font in the font storage means is read out. A character font output device comprising: a conversion means for converting the frequency font into coordinate data; and an output means for developing and outputting a character font based on the coordinate data converted by the conversion means.
【請求項13】既存する通常の文字フォントを読み出す
と共に、その輪郭線を辿ってサンプリングし、それを離
散的な周波数分解によって周波数フォントを生成するフ
ォント生成手段を設け、 このフォント生成手段によって生成された周波数フォン
トを前記フォント記憶手段に書き込むようにしたことを
特徴とする請求項12記載の文字フォント出力装置。
13. A font generating means for reading an existing ordinary character font, sampling the contour along its outline, and generating a frequency font by discrete frequency decomposition, and providing a font generated by the font generating means. 13. The character font output device according to claim 12, wherein said frequency font is written in said font storage means.
【請求項14】コンピュータに対して、 文字を構成する輪郭を離散的な空間周波数成分の集合体
で表現した周波数フォントを読み出し、この周波数フォ
ントを座標データに変換する機能と、 変換された座標データに基づいて文字フォントを展開出
力させる機能を実現させるためのプログラムを記録した
記録媒体。
14. A function for reading out a frequency font in which a contour constituting a character is represented by a set of discrete spatial frequency components to a computer and converting the frequency font into coordinate data; A recording medium on which a program for realizing a function of developing and outputting a character font based on a program is recorded.
JP10221120A 1998-07-22 1998-07-22 Character font storing device, character font output device and record medium for its program Abandoned JP2000039881A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10221120A JP2000039881A (en) 1998-07-22 1998-07-22 Character font storing device, character font output device and record medium for its program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10221120A JP2000039881A (en) 1998-07-22 1998-07-22 Character font storing device, character font output device and record medium for its program

Publications (1)

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

Family

ID=16761794

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10221120A Abandoned JP2000039881A (en) 1998-07-22 1998-07-22 Character font storing device, character font output device and record medium for its program

Country Status (1)

Country Link
JP (1) JP2000039881A (en)

Similar Documents

Publication Publication Date Title
US5159668A (en) Method and apparatus for manipulating outlines in improving digital typeface on raster output devices
JPH05233630A (en) Method for describing japanese and chinese
US5489920A (en) Method for determining the optimum angle for displaying a line on raster output devices
JP2000039881A (en) Character font storing device, character font output device and record medium for its program
JPH05120441A (en) Vector picture plotting device
JP3567748B2 (en) Character font generator
JPH10143134A (en) Method for forming and storing characters and apparatus therefor
JP3146771B2 (en) Font rasterizing apparatus and method
JPH0877324A (en) Electronic filing device
JP2562458B2 (en) Character generation method for computer system
JP3344538B2 (en) Character generator
JP4574347B2 (en) Image processing apparatus, method, and program
JPH09305160A (en) Character generator
JP2000330980A (en) Handwriting-like character output device and its program recording medium
JPH06231270A (en) Method and device for displaying pattern
JPH1185428A (en) Method and device for forming image
JP3072769B2 (en) Graphic processing method and apparatus
JP3025141B2 (en) Character modifier
JP2776887B2 (en) Font pattern processing method
JP2000039879A (en) Character font transformation output device and program recording medium
JPH04177294A (en) Vector font developing device
JP3347756B2 (en) Character generation method and device
JP3087511B2 (en) Data converter
JPH05143743A (en) Vector image drawing device
JP2984336B2 (en) Figure processing method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040123

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040210

A762 Written abandonment of application

Free format text: JAPANESE INTERMEDIATE CODE: A762

Effective date: 20040407