JPH07137340A - High-quality character pattern generation method and high-quality character output device - Google Patents

High-quality character pattern generation method and high-quality character output device

Info

Publication number
JPH07137340A
JPH07137340A JP5286410A JP28641093A JPH07137340A JP H07137340 A JPH07137340 A JP H07137340A JP 5286410 A JP5286410 A JP 5286410A JP 28641093 A JP28641093 A JP 28641093A JP H07137340 A JPH07137340 A JP H07137340A
Authority
JP
Japan
Prior art keywords
data
main body
character pattern
basic element
standard
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5286410A
Other languages
Japanese (ja)
Inventor
Fumitaka Sato
文孝 佐藤
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.)
Toshiba Corp
Toshiba Computer Engineering Corp
Original Assignee
Toshiba Corp
Toshiba Computer Engineering Corp
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 Toshiba Corp, Toshiba Computer Engineering Corp filed Critical Toshiba Corp
Priority to JP5286410A priority Critical patent/JPH07137340A/en
Publication of JPH07137340A publication Critical patent/JPH07137340A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To realize the reduction of a font data amount without lowering a degree of freedom in expressing a character pattern and to contrive an effective use of a conventionally existing font technique. CONSTITUTION:A font ROM 2 stores standard main part data and character pattern data. The former is formed by expressing standard shapes of main parts of basic elements of a plurality of kinds for expressing a set of character patterns by one Bezier curve and line width values. The latter contains control information for decomposing each character of a character set to basic elements and specifying the shape of the main part of the basic element of the standard shape and information representing a difference from the standard shape. At the time of generation of a character pattern, a CPU 1 corrects a profile line shape of a main part of a basic element represented by the standard main part data stored in the font ROM 2 on the basis of the character pattern data stored in the font ROM 2, thereby restoring a profile line shape of a main part of a basic element of a required character pattern. The restored shape is developed in a character pattern developing memory 3.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、輪郭線が滑らかな高品
質文字を得るための高品質文字パターンの発生方法及び
高品質文字の出力装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a high quality character pattern generating method and a high quality character output device for obtaining high quality characters having smooth contour lines.

【0002】[0002]

【従来の技術】近年のワードプロセッサ或いはコンピュ
ータ装置では、その印字出力や表示出力の高品質化を図
るための手段として、所謂アウトラインフォントを利用
することが一般的になっている。アウトラインフォント
は、文字パターンの輪郭線の形状を一筆書きにより描画
すると共に、その内部を塗り潰すようにしたものであ
り、その輪郭線形状を記述したフォントデータは、輪郭
線を複数の直線或いは曲線セグメントに分割した状態で
表現し、これらセグメントを一筆書きする順序に並べた
データ構造となっている。
2. Description of the Related Art In recent years, word processors or computer devices generally use so-called outline fonts as a means for improving the quality of print output and display output. The outline font draws the shape of the outline of a character pattern with a single stroke and fills the inside of the outline font.The font data that describes the outline shape is such that the outline is composed of multiple straight lines or curves. The data structure is expressed in the state of being divided into segments, and these segments are arranged in the order of writing with one stroke.

【0003】ところで、文字は、毛筆などにより描かれ
るストロークと呼ばれる線の組み合わせより成るもので
あるが、各ストローク自体は、線幅が一定或いは線幅が
順次変化する直線または曲線であるから、ストロークの
両側を構成する各輪郭線の形状はかなり近似した状態と
なっている。従って、前記アウトラインフォントにおい
て、ストロークの両側を構成する各輪郭線の形状を同一
のデータにより表現すれば、そのデータ量の低減を図り
得るように見えるが、実際には、アウトラインフォント
は、文字パターンの輪郭線形状を一筆書きにより逐次記
述するデータ構造であるため、ストロークの両側の形状
を夫々独立したデータで表現する必要があった。このた
め、フォントデータの冗長度が増えるという事情があ
り、これがフォントデータのデータ量の増大を招く原因
の一つとなっていた。
By the way, a character is composed of a combination of lines called strokes drawn by a brush or the like. Since each stroke itself is a straight line or a curved line whose line width is constant or whose line width changes sequentially, The shapes of the respective contour lines forming the two sides of are substantially similar. Therefore, in the outline font, if it is possible to reduce the amount of data by expressing the shape of each contour line forming both sides of the stroke with the same data, in reality, the outline font is a character pattern. Since it is a data structure that sequentially describes the contour shape of the stroke with a single stroke, it was necessary to express the shapes on both sides of the stroke as independent data. Therefore, there is a situation in which the redundancy of font data increases, which is one of the causes for increasing the data amount of font data.

【0004】これに対して、従来では、例えば特公平4
−52475号公報に見られるように、文字パターンを
複数のストロークに分解すると共に、各ストロークを複
数の代表点の位置情報及び上記各代表点における上記ス
トロークの太さ情報群より成るストロークデータとして
記述すると共に、これらストロークデータを組み合わせ
て描画して文字パターンを発生するようにしたフォント
技術が考えられており、このものでは上述したような冗
長度が小さくなるから、データ量の減少を図り得るよう
になる。
On the other hand, in the past, for example, Japanese Patent Publication No.
No. 52475, the character pattern is decomposed into a plurality of strokes, and each stroke is described as stroke data consisting of position information of a plurality of representative points and the stroke thickness information group at each of the representative points. At the same time, a font technology has been considered in which these stroke data are combined and drawn to generate a character pattern. With this, the redundancy as described above becomes small, so that the amount of data can be reduced. become.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上述の
ようにしてデータ量の減少を図った従来技術では、1書
体分の文字パターンのそれぞれについて、各文字を構成
する複数のストロークを記述した複数のストロークデー
タが必要になるため、1書体当たりについてきわめて多
くのストロークデータが必要になるという事情があると
共に、上記ストロークデータの構造をそれ程単純化でき
ないという事情もあり、このためデータ量の減少効果が
十分に発揮されないという問題点があった。
However, in the prior art in which the data amount is reduced as described above, a plurality of strokes forming each character are described for each character pattern for one typeface. Since stroke data is required, an extremely large amount of stroke data is required for each typeface, and the structure of the stroke data cannot be simplified so much, which reduces the amount of data. There was a problem that it was not fully utilized.

【0006】また、上記従来技術では、ストロークの全
体(ひいては文字の全体)を、そのストロークの代表点
の位置情報と太さ情報の組み合わせという形態で統一し
て記述する構成となっていたので、実際に文字パターン
を描画する上では、アウトラインフォントのように多種
多様な文字パターンを自由に表現することが困難であ
り、この点で大きな無理があった。また、既に提供され
ている大量のアウトラインフォントデータを利用できな
いので、文字パターンの全部について新たなフォントデ
ータを作成しなければならず、その作業が膨大になると
いう無駄を生ずることになり、しかも、現在では、アウ
トラインフォントを利用するための周辺技術(輪郭描
画、塗り潰し技術など)が蓄積されているが、これに対
応する技術の開発も必要となるものであり、このため、
実用化するに当たっては開発コストの高騰を招くなど大
きな困難が伴うものであった。
Further, in the above-mentioned conventional technique, the entire stroke (and thus the entire character) is unified and described in the form of the combination of the position information and the thickness information of the representative point of the stroke. In actually drawing a character pattern, it is difficult to freely express a wide variety of character patterns such as an outline font, and this is a great impediment. Also, since the large amount of outline font data already provided cannot be used, new font data must be created for all character patterns, which results in a waste of work. Currently, peripheral technologies (outline drawing, filling technology, etc.) for using outline fonts are accumulated, but it is also necessary to develop technology corresponding to this, and for this reason,
When it was put to practical use, there were great difficulties such as a rise in development costs.

【0007】本発明は上記のような事情、並びに漢字を
含む一群の文字パターンを構成する基本エレメントの種
類は一定数に限定されるという事情に鑑みてなされたも
のであり、その目的は、フォントデータのデータ量の大
幅な低減を、文字パターンの表現自由度の低下を来たす
ことなく実現できると共に、従来より存するフォント技
術を有効利用することが可能となって開発コストの低減
などを図り得るようになる高品質文字パターンの発生方
法を提供することにあり、また、このようなデータ量の
低減を合理的な構成により実現できてハードウエアコス
トの低減を図り得るようになる高品質文字の出力装置を
提供することにある。
The present invention has been made in view of the above circumstances and the fact that the number of types of basic elements constituting a group of character patterns including Chinese characters is limited to a fixed number, and its purpose is to set fonts. A large reduction in the amount of data can be achieved without lowering the degree of freedom in the expression of character patterns, and the existing font technology can be effectively used to reduce development costs. It is to provide a method for generating a high quality character pattern, and to output such a high quality character that can reduce the amount of data with a rational configuration and reduce the hardware cost. To provide a device.

【0008】[0008]

【課題を解決するための手段】本発明による高品質文字
パターンの発生方法は、上記のような目的を達成するた
めに、漢字を含む一群の文字パターンを構成する複数種
類の基本エレメントの少なくとも一部に対し標準となる
大きさを設定すると共に、それら標準的大きさの基本エ
レメントの各々について、少なくとも両端部分を除いた
主体部両側の輪郭線形状を、各輪郭線の中間を通る芯線
の形状を示す基準データと上記芯線に対応した主体部の
幅を示すサンプル値との組み合わせより成る標準主体部
データとして記述する一方で、前記文字パターン群中の
少なくとも一部の文字をそれぞれ基本エレメントに分解
した上で、その文字を復元するのに必要な基本エレメン
トを特定するための制御データと、その特定された標準
的大きさの基本エレメントとの差異を表現したエレメン
トデータとの組み合わせを文字パターンデータとして記
述し、
In order to achieve the above-mentioned object, a method for generating a high quality character pattern according to the present invention includes at least one of a plurality of types of basic elements constituting a group of character patterns including Chinese characters. A standard size is set for the parts, and the shape of the core line that passes through the middle of each contour line for each of the basic elements of the standard size Is described as standard main body data consisting of a combination of reference data indicating the above and a sample value indicating the width of the main body corresponding to the core line, while at least a part of the characters in the character pattern group is decomposed into respective basic elements. Then, the control data for identifying the basic element necessary to restore the character and the identified standard size basic element are used. Describes the combination of element data representing the difference between the placement as character pattern data,

【0009】前記文字パターンデータから文字パターン
を発生するに当たってその文字パターンを構成する基本
エレメントの主体部両側の輪郭線形状を復元する場合に
は、前記文字パターンデータ中の制御データに基づいて
当該文字を構成するのに必要な基本エレメントを指定
し、このように指定された基本エレメントを記述した前
記標準主体部データを、当該基本エレメントを記述した
前記文字パターンデータ中のエレメントデータに基づい
て補正することによって、指定された基本エレメントの
主体部両側の輪郭線形状を得るようにしたものである
(請求項1)。
In generating a character pattern from the character pattern data, when the contour line shapes on both sides of the main body of the basic element forming the character pattern are restored, the character is based on the control data in the character pattern data. A basic element required to form the basic element data that describes the basic element specified in this way is corrected based on the element data in the character pattern data that describes the basic element. Thus, the contour line shapes on both sides of the main body portion of the designated basic element are obtained (claim 1).

【0010】この場合、前記文字パターンデータ中のエ
レメントデータを、基本エレメントの主体部の中心を通
る芯線の形状を示す座標データと、上記主体部の幅と前
記標準主体部データ中のサンプル値により示される標準
的な主体部の幅との差分を示す差分サンプル値とを含ん
で表現することもできる(請求項2)。
In this case, the element data in the character pattern data is converted into coordinate data indicating the shape of a core line passing through the center of the main body of the basic element, the width of the main body and the sample value in the standard main body data. It can also be expressed by including a difference sample value indicating a difference from the width of the standard main body shown (claim 2).

【0011】また、このようなデータ表現方法を採用す
る場合には、文字パターンを発生するに当たって基本エ
レメントの主体部両側の輪郭線形状を復元する際に、文
字パターンデータ中の制御データに基づいて当該文字を
構成するのに必要な基本エレメントを指定し、このよう
に指定された基本エレメントに対応した標準主体部デー
タ中の基準データにより示される標準的な芯線の形状
を、前記文字パターンデータ中の座標データにより示さ
れる位置へ変換して変倍する操作を行うことにより指定
エレメントの芯線の形状を復元し、指定された基本エレ
メントに対応した標準主体部データ中のサンプル値に文
字パターンデータ中の差分サンプル値を加算することに
よって基本エレメントの主体部の幅を復元するようにし
ても良い(請求項3)。
Further, when such a data representation method is adopted, when the contour line shapes on both sides of the main body of the basic element are restored in generating a character pattern, it is based on the control data in the character pattern data. Designate the basic elements required to form the character, and specify the standard core wire shape indicated by the reference data in the standard main body data corresponding to the specified basic element in the character pattern data. The shape of the core line of the specified element is restored by converting to the position indicated by the coordinate data of and the scaling is performed, and the sample value in the standard main body data corresponding to the specified basic element is set in the character pattern data. The width of the main body portion of the basic element may be restored by adding the difference sample values of .

【0012】さらに、前記文字パターンデータ中のエレ
メントデータを、基本エレメントの主体部の中心を通る
芯線と、前記変倍操作により復元される芯線との差分を
相対的に記述した差分データを含んで表現した上で、文
字パターンを発生するに当たって基本エレメントの主体
部両側の輪郭線形状を復元する場合には、前記変倍操作
により復元された芯線の形状を上記文字パターンデータ
中の差分データに基づいて補正するようにしても良い
(請求項4)。
Further, the element data in the character pattern data includes difference data relatively describing a difference between a core line passing through the center of the main body of the basic element and a core line restored by the scaling operation. In expressing, when restoring the contour line shape on both sides of the main body of the basic element in generating the character pattern, the shape of the core line restored by the scaling operation is based on the difference data in the character pattern data. You may make it correct (Claim 4).

【0013】また、芯線に対応した主体部の幅を示すサ
ンプル値として、その芯線を表現する3次ベジェ曲線に
おけるパラメータt=0、1/3、2/3、1の各点で
の主体部の幅を示す値またはその幅の1/2の値を利用
する構成としても良い(請求項5)。
Further, as a sample value indicating the width of the main body portion corresponding to the core line, the main body portion at each point of parameters t = 0, 1/3, 2/3, 1 in the cubic Bezier curve expressing the core line. It is also possible to use a value indicating the width of or the half of the width.

【0014】高品質文字パターンの発生方法としては、
上述のような輪郭線の中間を通る芯線の形状を基準デー
タとして利用する方法に代えて、輪郭線の形状そのもの
を基準データとして利用するようにしても良い。
As a method of generating a high quality character pattern,
Instead of the method of using the shape of the core line passing through the middle of the contour line as the reference data as described above, the shape of the contour line itself may be used as the reference data.

【0015】即ち、このためには、漢字を含む一群の文
字パターンを構成する複数種類の基本エレメントの少な
くとも一部に対し標準となる大きさを設定すると共に、
それら標準的大きさの基本エレメントの各々について、
少なくとも両端部分を除いた主体部両側の輪郭線形状
を、一方の輪郭線の形状を示す基準データと当該一方の
輪郭線に対応した主体部の幅を示すサンプル値との組み
合わせより成る標準主体部データとして記述する一方
で、前記文字パターン群中の少なくとも一部の文字をそ
れぞれ基本エレメントに分解した上で、その文字を復元
するのに必要な基本エレメントを特定するための制御デ
ータと、その特定された標準的大きさの基本エレメント
との差異を表現したエレメントデータとの組み合わせを
文字パターンデータとして記述し、前記文字パターンデ
ータから文字パターンを発生するに当たってその文字パ
ターンを構成する基本エレメントの主体部両側の輪郭線
形状を復元する場合には、前記文字パターンデータ中の
制御データに基づいて当該文字を構成するのに必要な基
本エレメントを指定し、このように指定された基本エレ
メントを記述した前記標準主体部データを、必要に応じ
て当該基本エレメントを記述した前記文字パターンデー
タ中のエレメントデータに基づいて補正することによっ
て、指定された基本エレメントの主体部両側の輪郭線形
状を得るようにすれば良い(請求項6)。
That is, for this purpose, a standard size is set for at least a part of a plurality of types of basic elements constituting a group of character patterns including Chinese characters, and
For each of these standard size basic elements,
A standard main body part consisting of the contour line shapes on both sides of the main body part excluding at least both end portions, and a combination of reference data indicating the shape of one contour line and a sample value indicating the width of the main body part corresponding to the one contour line. While describing as data, at least some of the characters in the character pattern group are decomposed into basic elements, respectively, and control data for specifying the basic elements necessary to restore the characters, and the specification thereof. Described as character pattern data a combination with element data expressing the difference from the standard element of the standard size described above, and in generating a character pattern from the character pattern data, the main part of the basic element forming the character pattern When restoring the contour line shapes on both sides, based on the control data in the character pattern data, An element in the character pattern data in which the basic elements required to form the character are designated, and the standard main body data describing the designated basic element is described in the basic element, if necessary. The contour shapes on both sides of the main body portion of the designated basic element may be obtained by performing correction based on the data (claim 6).

【0016】この場合、前記文字パターンデータ中のエ
レメントデータを、基本エレメントの主体部両側の輪郭
線のうちの一方の輪郭線の形状を示す座標データと、上
記主体部の幅と標準主体部データ中のサンプル値により
示される標準的な主体部の幅との差分を示す差分サンプ
ル値とを含んで表現することもできる(請求項7)。
In this case, the element data in the character pattern data includes coordinate data indicating the shape of one of the contour lines on both sides of the main body of the basic element, the width of the main body, and the standard main body data. It can also be expressed by including a difference sample value indicating a difference from the standard width of the main body indicated by the sample value inside (claim 7).

【0017】また、このようなデータ表現方法を採用す
る場合には、文字パターンを発生するに当たって基本エ
レメントの主体部両側の輪郭線形状を復元する際に、文
字パターンデータ中の制御データに基づいて当該文字を
構成するのに必要な基本エレメントを指定し、このよう
に指定された基本エレメントに対応した標準主体部デー
タ中の基準データにより示される標準的な輪郭線の形状
を、前記文字パターンデータ中の座標データにより示さ
れる位置へ変換して変倍する操作を行うことにより指定
エレメントの一方の輪郭線の形状を復元し、指定された
基本エレメントに対応した標準主体部データ中のサンプ
ル値に文字パターンデータ中の差分サンプル値を加算す
ることによって基本エレメントの主体部の幅を復元する
ようにしても良い(請求項8)。
Further, when such a data representation method is adopted, when the contour shape on both sides of the main body of the basic element is restored in generating the character pattern, it is based on the control data in the character pattern data. Designate the basic elements required to form the character, and define the standard contour shape indicated by the reference data in the standard main body data corresponding to the designated basic element as described above in the character pattern data. The contour shape of one of the specified elements is restored by performing the operation of converting to the position indicated by the coordinate data in and changing the magnification, and the sample value in the standard main body data corresponding to the specified basic element is restored. The width of the main part of the basic element may be restored by adding the difference sample value in the character pattern data. According to claim 8).

【0018】さらに、前記文字パターンデータ中のエレ
メントデータを、基本エレメントの主体部両側の輪郭線
のうちの一方の輪郭線と、前記変倍操作により復元され
る輪郭線との差分を相対的に記述した差分データを含ん
で表現した上で、文字パターンを発生するに当たって基
本エレメントの主体部両側の輪郭線形状を復元する場合
には、前記変倍操作により復元された輪郭線の形状を上
記文字パターンデータ中の差分データに基づいて補正す
るようにしても良い(請求項9)。
Further, in the element data in the character pattern data, the difference between one of the contour lines on both sides of the main body of the basic element and the contour line restored by the scaling operation is relatively calculated. When the contour line shapes on both sides of the main body of the basic element are restored in generating the character pattern after expressing the difference data described, the shape of the contour line restored by the scaling operation is changed to the above character. The correction may be performed based on the difference data in the pattern data (claim 9).

【0019】また、一方の輪郭線に対応した主体部の幅
を示すサンプル値として、その輪郭線を表現する3次ベ
ジェ曲線におけるパラメータt=0、1/3、2/3、
1の各点での主体部の幅を示す値を利用することができ
る(請求項10)。
Further, as a sample value indicating the width of the main body portion corresponding to one contour line, the parameter t = 0, 1/3, 2/3, in the cubic Bezier curve expressing the contour line,
A value indicating the width of the main body portion at each point 1 can be used (claim 10).

【0020】前記請求項1または6に記載した高品質文
字パターンの発生方法において、前記基本エレメントの
両端部分は、その両端部分の輪郭線形状を複数の座標点
情報を備えたアウトライン方式により記述して成る細部
形状データに基づいて行う構成とすることができる(請
求項11)。
In the method for generating a high quality character pattern according to claim 1 or 6, at both end portions of the basic element, the outline shapes of the both end portions are described by an outline method having a plurality of coordinate point information. It is possible to adopt a configuration in which it is performed based on the detailed shape data formed (claim 11).

【0021】本発明による高品質文字の出力装置は、フ
ォントデータを記憶するための記憶手段と、この記憶手
段から読み出したフォントデータに基づいて文字パター
ンを描画する制御手段とを備えた上で、前記記憶手段
を、漢字を含む一群の文字パターンを構成する複数種類
の基本エレメントの少なくとも一部に対し標準となる大
きさを設定すると共に、それら標準的大きさの基本エレ
メントの各々について、少なくとも両端部分を除いた主
体部両側の輪郭線形状を、各輪郭線の中間を通る芯線の
形状を示す基準データと上記芯線に対応した主体部の幅
を示すサンプル値との組み合わせより成る標準主体部デ
ータとして記憶した第1の記憶領域と、前記文字パター
ン群の少なくとも一部の文字をそれぞれ基本エレメント
に分解した上で、その文字を復元するのに必要な基本エ
レメントを特定するための制御データと、その特定され
た標準的大きさの基本エレメントとの差異を表現したエ
レメントデータとの組み合わせを文字パターンデータと
して記憶した第2の記憶領域とを備えた構成とする一方
で、前記制御手段を、文字パターンを発生するに当たっ
てその文字パターンを構成する基本エレメントの主体部
両側の輪郭線形状を復元する場合に、前記文字パターン
データ中の制御データに基づいて当該文字を構成するの
に必要な基本エレメントを指定すると共に、指定された
基本エレメントを記述した前記標準主体部データを、必
要に応じて当該基本エレメントを記述した前記文字パタ
ーンデータ中のエレメントデータに基づいて補正するこ
とによって、指定された基本エレメントの主体部両側の
輪郭線形状を描画する構成としたものである(請求項1
2)。
The high-quality character output device according to the present invention comprises storage means for storing font data and control means for drawing a character pattern based on the font data read from the storage means. The storage means sets a standard size for at least a part of a plurality of types of basic elements that form a group of character patterns including Chinese characters, and at least both ends of each of the standard size basic elements. Standard main body part data consisting of the contour line shapes on both sides of the main body part excluding the part, and the combination of reference data indicating the shape of the core line passing through the middle of each contour line and the sample value indicating the width of the main body part corresponding to the core line. The first storage area stored as, and at least a part of the characters of the character pattern group are decomposed into basic elements, respectively, A second combination storing control data for specifying a basic element required to restore a character and element data expressing a difference between the specified standard size basic element and character pattern data. While storing the character pattern data, when the control means restores the contour line shape on both sides of the main body of the basic element that constitutes the character pattern in generating the character pattern. The basic element data that specifies the basic element necessary to form the character based on the control data in the standard main body data that describes the specified basic element, and the character that describes the basic element as necessary. By performing correction based on the element data in the pattern data, the specified basic element It is obtained by a structure for drawing the main body portion on both sides of the outline shape (claim 1
2).

【0022】この場合、前記記憶手段の第1の記憶領域
に記憶される前記文字パターンデータ中のエレメントデ
ータとして、基本エレメントの主体部の中心を通る芯線
の形状を示す座標データと、上記主体部の幅と標準主体
部データ中のサンプル値により示される標準的な主体部
の幅との差分を示す差分サンプル値とを含んで表現され
たものを利用することができる(請求項13)。
In this case, as the element data in the character pattern data stored in the first storage area of the storage means, coordinate data indicating the shape of a core line passing through the center of the main body of the basic element, and the main body And a difference sample value indicating a difference between the width of the standard main body part and the width of the standard main body part represented by the sample value in the standard main body part data can be used (claim 13).

【0023】また、前記制御手段を、文字パターンを発
生するに当たって基本エレメントの主体部両側の輪郭線
形状を復元する場合に、文字パターンデータ中の制御デ
ータに基づいて当該文字を構成するのに必要な基本エレ
メントを指定すると共に、指定された基本エレメントに
対応した標準主体部データ中の基準データにより示され
る標準的な芯線の形状を、前記文字パターンデータ中の
座標データにより示される位置へ変換して変倍する操作
を行うことにより指定エレメントの芯線の形状を復元
し、指定された基本エレメントに対応した標準主体部デ
ータ中のサンプル値に文字パターンデータ中の差分サン
プル値を加算することによって基本エレメントの主体部
の幅を復元を復元する構成とすることもできる(請求項
14)。
Further, when the control means restores the contour line shapes on both sides of the main body of the basic element in generating the character pattern, it is necessary to compose the character based on the control data in the character pattern data. While specifying the basic element, the standard core shape indicated by the reference data in the standard main body data corresponding to the specified basic element is converted to the position indicated by the coordinate data in the character pattern data. The core line shape of the specified element is restored by performing the scaling operation by adding the difference sample value in the character pattern data to the sample value in the standard main body data corresponding to the specified basic element. The width of the main part of the element may be restored.

【0024】さらに、上記記憶手段の第1の記憶領域に
記憶される前記文字パターンデータ中のエレメントデー
タを、基本エレメントの主体部の中心を通る芯線と、前
記変倍操作により復元される芯線との差分を相対的に記
述した差分データを含んで表現した上で、前記制御手段
を、文字パターンを発生するに当たって基本エレメント
の主体部両側の輪郭線形状を復元する場合に、前記変倍
操作により復元された芯線の形状を上記文字パターンデ
ータ中の差分データに基づいて補正する構成としても良
い(請求項15)。
Further, the element data in the character pattern data stored in the first storage area of the storage means is a core line passing through the center of the main body of the basic element and a core line restored by the scaling operation. The difference is expressed by including the difference data relatively describing the difference, and the control means uses the scaling operation to restore the contour shapes on both sides of the main body of the basic element in generating the character pattern. The shape of the restored core wire may be corrected based on the difference data in the character pattern data (claim 15).

【0025】また、芯線に対応した主体部の幅を示すサ
ンプル値として、その芯線を表現する3次ベジェ曲線に
おけるパラメータt=0、1/3、2/3、1の各点で
の主体部の幅を示す値またはその幅の1/2の値を利用
する構成としても良い(請求項16)。
Further, as a sample value showing the width of the main body portion corresponding to the core line, the main body portion at each point of parameters t = 0, 1/3, 2/3, 1 in the cubic Bezier curve expressing the core line. It is also possible to use a value indicating the width of or a value of 1/2 of the width (claim 16).

【0026】フォントデータを記憶するための記憶手段
と、この記憶手段から読み出したフォントデータに基づ
いて文字パターンを描画する制御手段とを備えた高品質
文字の出力装置としては、上述のような輪郭線の中間を
通る芯線の形状を基準データとして記憶する構成に代え
て、輪郭線の形状そのものを基準データとして記憶する
ようにしても良い。即ち、このためには、前記記憶手段
を、漢字を含む一群の文字パターンを構成する複数種類
の基本エレメントの少なくとも一部に対し標準となる大
きさを設定すると共に、それら標準的大きさの基本エレ
メントの各々について、少なくとも両端部分を除いた主
体部両側の輪郭線形状を、一方の輪郭線の形状を示す基
準データと当該一方の輪郭線に対応した主体部の幅を示
すサンプル値との組み合わせより成る標準主体部データ
として記憶した第1の記憶領域と、前記文字パターン群
の少なくとも一部の文字をそれぞれ基本エレメントに分
解した上で、その文字を復元するのに必要な基本エレメ
ントを特定するための制御データと、その特定された標
準的大きさの基本エレメントとの差異を表現したエレメ
ントデータとの組み合わせを文字パターンデータとして
記憶した第2の記憶領域と備えた構成とする一方で、前
記制御手段を、文字パターンを発生するに当たってその
文字パターンを構成する基本エレメントの主体部両側の
輪郭線形状を復元する場合に、前記文字パターンデータ
中の制御データに基づいて当該文字を構成するのに必要
な基本エレメントを指定すると共に、その指定された基
本エレメントを記述した前記標準主体部データを、必要
に応じて当該基本エレメントを記述した前記文字パター
ンデータ中のエレメントデータに基づいて補正すること
によって、指定された基本エレメントの主体部両側の輪
郭線形状を描画する構成とすれば良い(請求項17)。
As a high quality character output device having a storage means for storing font data and a control means for drawing a character pattern based on the font data read from the storage means, the contour as described above is used. Instead of storing the shape of the core line passing through the middle of the line as the reference data, the shape of the contour line itself may be stored as the reference data. That is, for this purpose, the storage means is set to a standard size for at least a part of a plurality of types of basic elements that form a group of character patterns including Chinese characters, and the standard size of these standard sizes is set. For each of the elements, a combination of the contour line shapes on both sides of the main body portion excluding at least both end portions, with reference data indicating the shape of one contour line and a sample value indicating the width of the main body portion corresponding to the one contour line. A first storage area stored as standard main body data and at least some characters of the character pattern group are decomposed into basic elements, and a basic element necessary for restoring the character is specified. Character pattern is used for the combination of control data for control and element data expressing the difference between the specified standard size basic element. And a second storage area stored as data, the control means restores the contour shapes on both sides of the main body of the basic element forming the character pattern when generating the character pattern. , Specifying the basic element required to form the character based on the control data in the character pattern data, and the standard main body data describing the specified basic element The contour line shapes on both sides of the main body portion of the designated basic element may be drawn by correcting based on the element data in the character pattern data describing the element (claim 17).

【0027】この場合、記憶手段の第1の記憶領域に記
憶される前記文字パターンデータ中のエレメントデータ
として、基本エレメントの主体部両側の輪郭線のうちの
一方の輪郭線の形状を示す座標データと、上記主体部の
幅と標準主体部データ中のサンプル値により示される標
準的な主体部の幅との差分を示す差分サンプル値とを含
んで表現されたものを利用することができる(請求項1
8)。
In this case, as the element data in the character pattern data stored in the first storage area of the storage means, coordinate data indicating the shape of one of the contour lines on both sides of the main body of the basic element. And a difference sample value indicating a difference between the width of the main body portion and the width of the standard main body portion indicated by the sample value in the standard main body portion data can be used. Item 1
8).

【0028】また、上記制御手段を、文字パターンを発
生するに当たって基本エレメントの主体部両側の輪郭線
形状を復元する場合に、文字パターンデータ中の制御デ
ータに基づいて当該文字を構成するのに必要な基本エレ
メントを指定すると共に、指定された基本エレメントに
対応した標準主体部データ中の基準データにより示され
る標準的な輪郭線の形状を、前記文字パターンデータ中
の座標データにより示される位置へ変換して変倍する操
作を行うことにより指定エレメントの一方の輪郭線の形
状を復元し、指定された基本エレメントに対応した標準
主体部データ中のサンプル値に文字パターンデータ中の
差分サンプル値を加算することによって基本エレメント
の主体部の幅を復元を復元する構成とすることもできる
(請求項19)。
Further, the control means is required to compose the character based on the control data in the character pattern data when the contour shape on both sides of the main body of the basic element is restored in generating the character pattern. The basic contour shape indicated by the reference data in the standard main body data corresponding to the designated basic element is converted into the position indicated by the coordinate data in the character pattern data. Then, the shape of one contour line of the specified element is restored by performing the scaling operation, and the difference sample value in the character pattern data is added to the sample value in the standard main body data corresponding to the specified basic element. By doing so, the width of the main body of the basic element can be restored.

【0029】さらに、上記記憶手段の第1の記憶領域に
記憶される前記文字パターンデータ中のエレメントデー
タを、基本エレメントの主体部両側の輪郭線のうちの一
方の輪郭線と、前記変倍操作により復元される輪郭線と
の差分を相対的に記述した差分データを含んで表現した
上で、前記制御手段を、文字パターンを発生するに当た
って基本エレメントの主体部両側の輪郭線形状を復元す
る場合に、前記変倍操作により復元された輪郭線の形状
を上記文字パターンデータ中の差分データに基づいて補
正する構成としても良い(請求項20)。
Further, the element data in the character pattern data stored in the first storage area of the storage means is converted into one of the contour lines on both sides of the main body of the basic element and the scaling operation. In the case where the control means restores the contour shapes on both sides of the main body portion of the basic element in generating the character pattern after expressing the difference including the difference with the contour line restored by In addition, the shape of the contour line restored by the scaling operation may be corrected based on the difference data in the character pattern data (claim 20).

【0030】また、一方の輪郭線に対応した主体部の幅
を示すサンプル値として、その輪郭線を表現する3次ベ
ジェ曲線におけるパラメータt=0、1/3、2/3、
1の各点での主体部の幅を示す値を利用することができ
る(請求項21)。
Further, as a sample value indicating the width of the main body portion corresponding to one contour line, the parameters t = 0, 1/3, 2/3, in the cubic Bezier curve expressing the contour line,
A value indicating the width of the main body portion at each point 1 can be used (claim 21).

【0031】前記請求項12または17に記載した高品
質文字の出力装置において、前記記憶手段に、基本エレ
メントの両端部分の輪郭線形状を複数の座標点情報を備
えたアウトライン方式により記述して成る細部形状デー
タを記憶した上で、前記制御手段を、前記基本エレメン
トの両端部分の輪郭線形状の描画を上記細部形状データ
に基づいて行う構成とすることもできる(請求項2
2)。
In the high-quality character output device according to the twelfth or seventeenth aspect, the contour line shapes of both end portions of the basic element are described in the storage means by an outline method including a plurality of coordinate point information. After storing the detailed shape data, the control means may be configured to draw the contour shape of both end portions of the basic element based on the detailed shape data (claim 2).
2).

【0032】[0032]

【作用】一般的に、漢字を含む一群の文字パターンを構
成する基本エレメントの種類は一定数に限定されるもの
であり、従って、斯様な基本エレメントの各々について
標準的な形状を示す標準データを記憶しておき、実際に
文字パターンを発生する場合には、前記標準データによ
り示される標準的な基本エレメント形状のうち必要なも
のを補正すれば、発生させようとする文字パターンを構
成する各基本エレメントの形状を得ることができる。本
発明による高品質文字パターンの発生方法及び高品質文
字の出力装置は、基本的にはこのような考え方を利用し
たものである。
In general, the types of basic elements that make up a group of character patterns including Chinese characters are limited to a fixed number, and therefore, standard data indicating a standard shape for each of these basic elements. In the case of actually generating a character pattern, each of the character patterns to be generated is corrected by correcting the necessary one of the standard basic element shapes shown by the standard data. The shape of the basic element can be obtained. The high quality character pattern generation method and the high quality character output device according to the present invention basically use such an idea.

【0033】請求項1に記載した高品質文字パターンの
発生方法によれば、一群の文字パターンを構成する複数
種類の基本エレメントの少なくとも一部に対し標準とな
る大きさのものを標準主体部データとして記述しておく
と共に、前記文字パターン群の少なくとも一部の文字に
ついて、各文字を前記基本エレメントに分解した上で、
その文字を復元するのに必要な基本エレメントを特定す
るための制御データと、その特定された標準的大きさの
基本エレメントとの差異を表現したエレメントデータと
の組み合わせを文字パターンデータとして記述してお
き、文字パターンを発生するに当たっては、前記制御デ
ータに基づいて当該文字パターンを構成するのに必要な
基本エレメントを指定し、このように指定された基本エ
レメントの標準的な大きさのものを記述した標準主体部
データを、前記エレメントデータに基づいて補正するこ
とにより、指定された基本エレメントの主体部両側の輪
郭線形状を復元するようにしている。
According to the method for generating a high quality character pattern according to the first aspect, the standard main body data having a standard size for at least a part of a plurality of types of basic elements forming a group of character patterns is used. And at least some characters of the character pattern group are decomposed into the basic elements,
Describe as character pattern data the combination of the control data for specifying the basic element required to restore the character and the element data expressing the difference between the specified standard size basic element. Every time a character pattern is generated, the basic elements required to compose the character pattern are specified based on the control data, and the standard size of the specified basic element is described. By correcting the standard main body portion data based on the element data, the contour shapes on both sides of the main body portion of the designated basic element are restored.

【0034】この場合、上記標準主体部データは、標準
的な大きさの基本エレメントの各々について、両端部分
を除いた主体部、つまり、芯線形状とその線幅とを組み
合わせた形態で記述するのに適した部分について、その
両側の輪郭線形状を、それら輪郭線の中間を通る芯線の
形状を示す基準データと、その芯線に対応した主体部の
幅を示すサンプル値との組み合わせより記述するように
なっているから、そのデータ量が相対的に減るようにな
り、しかも、この部分のデータは、文字パターンを構成
する比較的少数の基本エレメントについて記述するだけ
で済んで1書体分の膨大な文字について記述する必要が
なくなり、そのデータ量が大幅に減少するようになる。
In this case, the standard main body part data is described in the form of a main body part excluding both end parts, that is, a core wire shape and its line width, for each basic element of standard size. Concerning the part that is suitable for, describe the contour line shape on both sides of it by combining the reference data that shows the shape of the core line that passes through the middle of the contour line and the sample value that shows the width of the main part corresponding to that core line. Therefore, the amount of data can be relatively reduced, and the data in this part only needs to describe a relatively small number of basic elements that make up a character pattern, which is an enormous amount for one typeface. There is no need to describe characters, and the amount of data will be greatly reduced.

【0035】また、文字パターンデータは、各文字を復
元するのに必要な基本エレメントを特定するための制御
データと、それらの基本エレメントの特徴点を表現した
エレメントデータとの組み合わせにより記述されたもの
であるから、その文字パターンデータ自体は、通常のア
ウトラインフォント用データに比してきわめて簡単なも
のとなって、そのデータ量も大幅に減少するようにな
る。つまり、文字を構成する各基本エレメントの主体部
については、データ量が大幅に減少された状態となる標
準主体部データ及び文字パターンデータに基づいて発生
できるものであるから、結果的に全体のフォントデータ
量を従来構成に比して減少させ得るようになる。
The character pattern data is described by a combination of control data for specifying the basic elements required to restore each character and element data expressing the characteristic points of those basic elements. Therefore, the character pattern data itself is much simpler than the normal outline font data, and the amount of the data is greatly reduced. In other words, for the main body of each basic element that constitutes a character, it can be generated based on the standard main body data and the character pattern data in which the amount of data is greatly reduced, and as a result, the entire font is generated. The amount of data can be reduced as compared with the conventional configuration.

【0036】請求項2に記載した高品質文字パターンの
発生方法によれば、前記文字パターンデータ中のエレメ
ントデータが、2点の位置を示す座標データと、上記主
体部の幅と前記標準主体部データ中のサンプル値により
示される標準的な主体部の幅との差分を示す差分サンプ
ル値により表現されているため、当該文字パターンデー
タが比較的単純なものとなると共に、差分サンプル値の
ダイナミックレンジを狭くできるから、結果的に文字パ
ターンデータのデータ量の減少を図り得るようになる。
According to the method for generating a high quality character pattern described in claim 2, the element data in the character pattern data includes coordinate data indicating the positions of two points, the width of the main body portion and the standard main body portion. Since the character pattern data is expressed as a difference sample value that indicates the difference from the standard width of the main body indicated by the sample value in the data, the character pattern data becomes relatively simple and the dynamic range of the difference sample value As a result, the data amount of the character pattern data can be reduced.

【0037】請求項3に記載した高品質文字パターンの
発生方法によれば、基本エレメントの主体部両側の輪郭
線形状を復元する際には、文字パターンデータ中の制御
データにより指定された基本エレメントについて、これ
に対応した標準主体部データ中の基準データにより示さ
れる標準的な芯線の形状が、前記文字パターンデータ中
の座標データにより示される位置へ変換されて変倍され
ることにより、指定された基本エレメントの芯線の形状
が復元され、また、指定された基本エレメントに対応し
た標準主体部データ中のサンプル値に前記文字パターン
データ中の差分サンプル値を加算することによって指定
された基本エレメントの主体部の幅が復元されることに
なる。この場合、標準主体部データにより示される基本
エレメントから目的とする基本エレメントを復元する際
に必要となる比較的複雑な演算は、上記のような座標変
換のための演算だけで済み、基本エレメントの主体部の
幅の復元には上記座標変換のための演算を行わずに単純
な加算を行うだけで済むようにしたから、基本エレメン
ト復元時の計算量が減るようになる。
According to the method of generating a high quality character pattern described in claim 3, when the contour line shapes on both sides of the main body of the basic element are restored, the basic element specified by the control data in the character pattern data is restored. , The standard core line shape indicated by the reference data in the corresponding standard main body data is converted to the position indicated by the coordinate data in the character pattern data and scaled. The shape of the core of the basic element is restored, and the difference sample value in the character pattern data is added to the sample value in the standard main body data corresponding to the specified basic element. The width of the main part is restored. In this case, the relatively complicated operation required to restore the target basic element from the basic element indicated by the standard main body data is only the operation for coordinate conversion as described above. Since the width of the main body portion is restored only by simple addition without performing the calculation for the coordinate conversion, the amount of calculation at the time of restoring the basic element is reduced.

【0038】請求項4に記載した高品質文字パターンの
発生方法によれば、基本エレメントの主体部両側の輪郭
線形状を復元する場合に、前述のような記変倍操作によ
り復元された芯線の形状が、文字パターンデータ中の差
分データに基づいて補正されるようになるから、芯線形
状の復元を正確に行い得るようになる。
According to the method of generating a high quality character pattern described in claim 4, when the contour line shapes on both sides of the main body of the basic element are restored, the core line restored by the above-described scaling operation is restored. Since the shape is corrected based on the difference data in the character pattern data, the core line shape can be accurately restored.

【0039】請求項5に記載したように、芯線に対応し
た主体部の幅を示すサンプル値として、その芯線を表現
する3次ベジェ曲線におけるパラメータt=0、1/
3、2/3、1の各点での主体部の幅を示す値またはそ
の幅の1/2の値を利用する構成とされていた場合に
は、主体部両側の輪郭線形状を近似するための3次ベジ
ェ曲線の制御点を示すデータを簡単に求め得るようにな
るから、標準主体部データを輪郭線を描画するためのデ
ータへ簡単に変換できるようになる。
As described in claim 5, as a sample value indicating the width of the main body portion corresponding to the core line, the parameter t = 0, 1 / in the cubic Bezier curve expressing the core line.
When the value indicating the width of the main body portion at each point of 3, 2/3, or 1 or the value of 1/2 of the width is used, the contour line shapes on both sides of the main body portion are approximated. Since the data indicating the control points of the cubic Bezier curve can be easily obtained, the standard main body data can be easily converted into the data for drawing the contour line.

【0040】請求項6に記載した高品質文字パターンの
発生方法によれば、標準主体部データは、標準的な大き
さの基本エレメントの各々について、両端部分を除いた
主体部両側の輪郭線形状を、一方の輪郭線の形状を示す
基準データと、その輪郭線に対応した主体部の幅を示す
サンプル値との組み合わせより記述するようになってい
るから、この場合にも、その標準主体部データのデータ
量が大幅に減少するようになる。また、文字パターンデ
ータについても前記請求項1の場合と同様に大幅に減少
するものであり、結果的に全体のフォントデータ量を従
来構成に比して減少させ得るようになる。
According to the method for generating a high quality character pattern described in claim 6, the standard main body data is the outline shape of both sides of the main body excluding both end portions for each of the basic elements of standard size. Is described by a combination of reference data indicating the shape of one contour line and a sample value indicating the width of the main body portion corresponding to that contour line. The amount of data will be greatly reduced. Further, the character pattern data is greatly reduced as in the case of the first aspect, and as a result, the entire font data amount can be reduced as compared with the conventional configuration.

【0041】請求項7に記載した高品質文字パターンの
発生方法においても、前記文字パターンデータ中のエレ
メントデータが、芯線の形状を示す座標データと、上記
主体部の幅と前記標準主体部データ中のサンプル値によ
り示される標準的な主体部の幅との差分を示す差分サン
プル値により表現されているため、当該文字パターンデ
ータが比較的単純なものとなると共に、差分サンプル値
のダイナミックレンジが狭くなり、文字パターンデータ
のデータ量が減少するようになる。
Also in the method for generating a high quality character pattern according to claim 7, the element data in the character pattern data includes coordinate data indicating the shape of a core line, the width of the main body portion, and the standard main body portion data. Since it is represented by the difference sample value indicating the difference from the standard width of the main body indicated by the sample value of, the character pattern data becomes relatively simple, and the dynamic range of the difference sample value is narrow. Therefore, the data amount of the character pattern data is reduced.

【0042】請求項8に記載した高品質文字パターンの
発生方法によれば、基本エレメントの主体部両側の輪郭
線形状を復元する際には、指定された基本エレメントに
ついて、これに対応した標準主体部データ中の基準デー
タにより示される標準的な輪郭線の形状が、前記文字パ
ターンデータ中の座標データにより示される位置へ変換
されて変倍されることにより、指定された基本エレメン
トの一方の輪郭線の形状を復元され、また、指定された
基本エレメントに対応した標準主体部データ中のサンプ
ル値に前記文字パターンデータ中の差分サンプル値を加
算することによって指定された基本エレメントの主体部
の幅が復元されることになるから、前記請求項3の場合
と同様に、基本エレメント復元時の計算量が減るように
なる。
According to the method of generating a high quality character pattern described in claim 8, when the contour line shapes on both sides of the main body of the basic element are restored, the standard main body corresponding to the specified basic element is restored. The shape of the standard contour line indicated by the reference data in the partial data is converted to the position indicated by the coordinate data in the character pattern data and scaled, whereby one contour of the designated basic element The width of the main body of the specified basic element is restored by adding the difference sample value in the character pattern data to the sample value in the standard main body data corresponding to the specified basic element. Is restored, the calculation amount at the time of restoring the basic element is reduced as in the case of the third aspect.

【0043】請求項9に記載した高品質文字パターンの
発生方法によれば、基本エレメントの主体部両側の輪郭
線形状を復元する場合に、前述のような記変倍操作によ
り復元された輪郭線の形状が、文字パターンデータ中の
差分データに基づいて補正されるようになるから、輪郭
線形状の復元を正確に行い得るようになる。
According to the method of generating a high quality character pattern described in claim 9, when the contour line shapes on both sides of the main body of the basic element are restored, the contour line restored by the scaling operation as described above. Since the shape of is corrected based on the difference data in the character pattern data, the contour shape can be accurately restored.

【0044】請求項10に記載したように、一方の輪郭
線に対応した主体部の幅を示すサンプル値として、その
輪郭線を表現する3次ベジェ曲線におけるパラメータt
=0、1/3、2/3、1の各点での主体部の幅を示す
値またはその幅の1/2の値を利用する構成とされてい
た場合にも、前記請求項4の場合と同様に、標準主体部
データを輪郭線を描画するためのデータへ簡単に変換で
きるようになる。
As described in claim 10, as a sample value indicating the width of the main body portion corresponding to one contour line, the parameter t in the cubic Bezier curve expressing the contour line is described.
Also in the case where the configuration is such that a value indicating the width of the main body portion at each point of = 0, 1/3, 2/3, or 1 or a value of 1/2 of the width is used. As in the case, the standard main body data can be easily converted into data for drawing the contour line.

【0045】請求項11に記載したように、基本エレメ
ントの両側部分を、その両端部分の輪郭線形状をアウト
ライン方式により記述した細部形状データに基づいて発
生する構成とした場合には、その細部形状データとし
て、既に作成されている大量のアウトラインフォントデ
ータをそのまま利用できるようになるから、文字パター
ンの全部について新たなフォントデータを作成する必要
がなくなる。
As described in claim 11, when both side portions of the basic element are configured to generate contour line shapes of both end portions based on detailed shape data described by an outline method, the detailed shape thereof Since a large amount of outline font data that has already been created can be used as it is as data, it is not necessary to create new font data for all character patterns.

【0046】請求項12に記載した高品質文字の出力装
置によれば、制御手段が、記憶手段から読み出したフォ
ントデータに基づいて文字パターンを描画するようにな
るが、この場合、記憶手段に対しては、前述したように
データ量が少なくて済む標準主体部データ並びに文字パ
ターンデータを含むフォントデータを記憶すれば良いか
ら、その記憶手段に必要な記憶容量が小さくなるもので
あり、結果的にハードウエアコストを抑制できるように
なる。
According to the high quality character output device of the twelfth aspect, the control means draws the character pattern based on the font data read from the storage means. As described above, since the font data including the standard main body data and the character pattern data, which requires a small amount of data as described above, may be stored, the storage capacity required for the storage means is reduced, and as a result, The hardware cost can be suppressed.

【0047】請求項13に記載した高品質文字の出力装
置によれば、前記文字パターンデータ中のエレメントデ
ータが、芯線の形状を示す座標データと、上記主体部の
幅と前記標準主体部データ中のサンプル値により示され
る標準的な主体部の幅との差分を示す差分サンプル値に
より表現されているため、当該文字パターンデータが比
較的単純なものとなると共に、差分サンプル値のダイナ
ミックレンジが狭くなって、当該文字パターンデータの
データ量が減少するようになるから、記憶手段に必要な
記憶容量がさらに小さくなる利点がある。
According to the high quality character output device of the thirteenth aspect, the element data in the character pattern data includes the coordinate data indicating the shape of the core line, the width of the main body portion and the standard main body portion data. Since it is represented by the difference sample value indicating the difference from the standard width of the main body indicated by the sample value of, the character pattern data becomes relatively simple, and the dynamic range of the difference sample value is narrow. As a result, the data amount of the character pattern data is reduced, which has the advantage of further reducing the storage capacity required for the storage means.

【0048】請求項14に記載した高品質文字の出力装
置によれば、制御手段が、基本エレメントの主体部両側
の輪郭線形状を復元する際には、指定された基本エレメ
ントについて、これに対応した標準主体部データ中の基
準データにより示される標準的な芯線の形状を、前記文
字パターンデータ中の座標データにより示される位置へ
変換して変倍することにより、指定された基本エレメン
トの芯線の形状を復元し、また、指定された基本エレメ
ントに対応した標準主体部データ中のサンプル値に前記
文字パターンデータ中の差分サンプル値を加算すること
によって指定された基本エレメントの主体部の幅を復元
するようになる。この場合、標準主体部データにより示
される基本エレメントから目的とする基本エレメントを
復元する際に必要となる比較的複雑な演算は、上記のよ
うな座標変換のための演算だけで済むから、制御手段に
よる基本エレメント復元時の計算量が減るようになる。
According to the high quality character output device of the fourteenth aspect, when the control means restores the contour line shapes on both sides of the main body of the basic element, the control unit corresponds to the specified basic element. By transforming the standard core shape indicated by the reference data in the standard main body data described above to the position indicated by the coordinate data in the character pattern data and scaling, the core wire of the specified basic element The shape is restored, and the width of the main body of the specified basic element is restored by adding the differential sample value in the character pattern data to the sample value in the standard main body data corresponding to the specified basic element. Come to do. In this case, since the relatively complicated operation required when the target basic element is restored from the basic element indicated by the standard main body data is only the operation for coordinate conversion as described above, the control means This reduces the amount of calculation when restoring the basic element.

【0049】請求項15に記載した高品質文字の出力装
置によれば、制御手段が、基本エレメントの主体部両側
の輪郭線形状を復元する場合に、前述のような記変倍操
作により復元された芯線の形状を、文字パターンデータ
中の差分データに基づいて補正するようになるから、芯
線形状の復元を正確に行い得るようになる。
According to the high quality character output device of the fifteenth aspect, when the control means restores the contour line shapes on both sides of the main body portion of the basic element, it is restored by the above-described scaling operation. Since the core line shape is corrected based on the difference data in the character pattern data, the core line shape can be accurately restored.

【0050】請求項16に記載したように、一方の輪郭
線に対応した主体部の幅を示すサンプル値として、その
輪郭線を表現する3次ベジェ曲線におけるパラメータt
=0、1/3、2/3、1の各点での主体部の幅を示す
値またはその幅の1/2の値を利用する構成とされてい
た場合には、主体部両側の輪郭線形状を近似するための
3次ベジェ曲線の制御点を示すデータを簡単に求め得る
ようになり、標準主体部データを輪郭線を描画するため
のデータへ簡単に変換できるようになる。
As described in claim 16, as the sample value indicating the width of the main body portion corresponding to one contour line, the parameter t in the cubic Bezier curve expressing the contour line is described.
= 0, 1/3, 2/3, 1 or a value indicating the width of the main body portion at each point or a value of 1/2 of the width is used, the contours on both sides of the main body portion The data showing the control points of the cubic Bezier curve for approximating the line shape can be easily obtained, and the standard main body data can be easily converted into the data for drawing the contour line.

【0051】請求項17に記載した高品質文字の出力装
置においても、記憶手段に対しては、データ量が少なく
て済む標準主体部データ並びに文字パターンデータを含
むフォントデータを記憶すれば良いから、その記憶手段
に必要な記憶容量が小さくなって、ハードウエアコスト
を抑制できるようになる。
Also in the high quality character output device according to the seventeenth aspect, since the storage means may store the font data including the standard main body data and the character pattern data, which requires a small amount of data, The storage capacity required for the storage means is reduced, and the hardware cost can be suppressed.

【0052】請求項18に記載した高品質文字の出力装
置においても、前記文字パターンデータ中のエレメント
データが、芯線の形状を示す座標データと、上記主体部
の幅と前記標準主体部データ中のサンプル値により示さ
れる標準的な主体部の幅との差分を示す差分サンプル値
により表現されているため、前記請求項13で述べたよ
うにその文字パターンデータのデータ量が減少するよう
になり、記憶手段に必要な記憶容量がさらに小さくなる
利点がある。
Also in the high quality character output device according to the eighteenth aspect, the element data in the character pattern data includes the coordinate data indicating the shape of the core line, the width of the main body portion, and the standard main body portion data. Since it is expressed by the difference sample value indicating the difference from the standard width of the main body portion indicated by the sample value, the data amount of the character pattern data is reduced as described in claim 13. There is an advantage that the storage capacity required for the storage means is further reduced.

【0053】請求項19に記載した高品質文字の出力装
置によれば、制御手段が、基本エレメントの主体部両側
の輪郭線形状を復元する際には、指定された基本エレメ
ントについて、これに対応した標準主体部データ中の基
準データにより示される標準的な輪郭線の形状を、前記
文字パターンデータ中の座標データにより示される位置
へ変換して変倍することにより、指定された基本エレメ
ントの輪郭線の形状を復元し、また、指定された基本エ
レメントに対応した標準主体部データ中のサンプル値に
前記文字パターンデータ中の差分サンプル値を加算する
ことによって指定された基本エレメントの主体部の幅を
復元するようになる。従って、この場合にも前記請求項
14と同様に、制御手段による基本エレメント復元時の
計算量が減るようになる。
According to the high-quality character output device of the nineteenth aspect, when the control means restores the contour line shapes on both sides of the main body of the basic element, the control unit corresponds to the specified basic element. The contour of the standard element specified by converting the standard contour shape indicated by the reference data in the standard main body data to the position indicated by the coordinate data in the character pattern data and performing scaling. The width of the main body of the specified basic element is restored by restoring the shape of the line and adding the difference sample value in the character pattern data to the sample value in the standard main body data corresponding to the specified basic element. Will be restored. Therefore, also in this case, as in the case of the fourteenth aspect, the amount of calculation when the control means restores the basic element can be reduced.

【0054】請求項20に記載した高品質文字の出力装
置によれば、制御手段が、基本エレメントの主体部両側
の輪郭線形状を復元する場合に、前述のような記変倍操
作により復元された輪郭線の形状を、文字パターンデー
タ中の差分データに基づいて補正するようになるから、
輪郭線形状の復元を正確に行い得るようになる。
According to the high quality character output device of the twentieth aspect, when the control means restores the contour line shapes on both sides of the main body portion of the basic element, it is restored by the above-described scaling operation. Since the contour line shape will be corrected based on the difference data in the character pattern data,
The contour line shape can be restored accurately.

【0055】請求項21のような構成とした場合には、
主体部両側の輪郭線形状を近似するための3次ベジェ曲
線の制御点を示すデータを簡単に求める得るようにな
り、前記請求項13の場合と同様に、標準主体部データ
を輪郭線を描画するためのデータへ簡単に変換できるよ
うになる。
In the case of the structure as claimed in claim 21,
The data indicating the control points of the cubic Bezier curve for approximating the contour line shapes on both sides of the main body portion can be easily obtained, and the contour line is drawn from the standard main body portion data as in the case of claim 13. You can easily convert it into data to do.

【0056】請求項22のような構成とした場合には、
記憶手段に記憶する細部形状データとして、既に作成さ
れている大量のアウトラインフォントデータが利用でき
るようになるから、文字パターンの全部について新たな
フォントデータを作成する必要がなくなる。
In the case of the structure as claimed in claim 22,
Since a large amount of outline font data that has already been created can be used as the detailed shape data stored in the storage means, it is not necessary to create new font data for all character patterns.

【0057】[0057]

【実施例】以下、本発明をワードプロセッサに適用した
一実施例について図1〜図10を参照しながら説明す
る。ハードウエア構成の概略を示す図1において、本発
明でいう制御手段に相当したCPU1は、フォントRO
M2、文字パターン展開メモリ3、主メモリ4、プリン
タ5、キーボード6、ディスプレイ7及び他の図示しな
い入出力装置との間でのデータの授受をバスライン8を
通じて行う構成となっている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the present invention is applied to a word processor will be described below with reference to FIGS. In FIG. 1 showing an outline of the hardware configuration, a CPU 1 corresponding to the control means in the present invention is a font RO.
Data is exchanged between the M2, the character pattern expansion memory 3, the main memory 4, the printer 5, the keyboard 6, the display 7 and other input / output devices (not shown) through the bus line 8.

【0058】フォントROM2は、本発明でいう記憶手
段に相当したもので、これには、多数の文字パターンに
対応したフォントデータが後述するような記述形式で記
憶されており、CPU1から要求されたフォントデータ
をバスライン8を通じて出力する。尚、このフォントR
OM2には、図2に摸式的に示すように、第1の記憶領
域21及び第2の記憶領域22が設定されている。
The font ROM 2 corresponds to the storage means in the present invention, in which font data corresponding to a large number of character patterns is stored in a description format as described later, and is requested by the CPU 1. The font data is output through the bus line 8. In addition, this font R
A first storage area 21 and a second storage area 22 are set in the OM2, as schematically shown in FIG.

【0059】文字パターン展開メモリ3は、CPU1に
よって読み出されたフォントデータの輪郭線をビットイ
メージとして展開すると共に、その輪郭線の内部を塗り
潰す作業を行うために用いられる。また、主メモリ4
は、CPU1により実行されるプログラムを記憶すると
共に、プログラム作業領域を提供するために設けられた
もので、一部の領域は1頁分のビットイメージを展開す
るためのバッファメモリとしても使用される構成となっ
ている。
The character pattern development memory 3 is used for developing the outline of the font data read by the CPU 1 as a bit image and for filling the inside of the outline. Also, the main memory 4
Is provided for storing a program executed by the CPU 1 and providing a program work area, and a part of the area is also used as a buffer memory for expanding a bit image of one page. It is composed.

【0060】さて、前記フォントROM2に記憶される
フォントデータは、以下に述べるような形態で記述され
ている。図4は、(株)日本文芸社発刊の「ベストレタ
リング」(著者:吉田佳広)に記載された明朝体書体の
基本エレメントの種類を示すものであり、明朝体書体の
漢字を分解すると、その明朝体書体を構成する一群の文
字パターンの全てがこの図4のような21種類(同図中
の3種類の「左はらい」を同一視した場合は19種類)
の基本エレメントの組み合わせで表現できるようになっ
ている。
The font data stored in the font ROM 2 is described in the form described below. Fig. 4 shows the types of the basic elements of the Mincho typeface described in "Best Lettering" published by Nippon Bungei Co., Ltd. (author: Yoshihiro Yoshida). , All of the group of character patterns that make up the Mincho typeface are 21 types as shown in FIG. 4 (19 types when the three types of “left side” in the figure are identified)
It can be expressed by combining the basic elements of.

【0061】本実施例では、上記のような書体を構成す
る各基本エレメントのうち、例えば「てん」及び「ぎゃ
くてん」のように線幅に対し全長が比較的短い基本エレ
メントについては、例えば複数の座標点情報を備えた3
次ベジェ曲線によるアウトライン方式により記述した特
定エレメントデータDcとして表現し、他の基本エレメ
ントについては、標準となる大きさ(ストローク長)を
設定すると共に、それら標準的大きさの基本エレメント
の各々について、次のような形態で記述している。
In this embodiment, among the basic elements constituting the typeface as described above, for example, a plurality of basic elements having a relatively short total length with respect to the line width, such as "ten" and "gyakuten", are used. 3 with coordinate point information
It is expressed as the specific element data Dc described by the outline method using the following Bezier curve, and the standard size (stroke length) is set for the other basic elements, and for each of the basic elements of the standard size, It is described in the following form.

【0062】即ち、例えば図5に示す漢字「佐」は明朝
体書体によるもので、その文字パターンを構成する基本
エレメントのうち、偏部分は、曲線ストロークより成る
「左はらい」の基本エレメント11と、直線ストローク
より成る「たてせん」の基本エレメント12とにより構
成されており、また各基本エレメント11及び12は、
両端部分の飾り部11a、11b及び12a、12b
(図では実線で示す)と、それら飾り部11a、11b
間及び12a、12b間の各部分を構成する主体部11
c及び12c(図では破線で示す)とを組み合わた形状
となっている。
That is, for example, the Chinese character "sa" shown in FIG. 5 is based on the Mincho typeface, and among the basic elements constituting the character pattern, the uneven portion is the "left side" basic element 11 consisting of curved strokes. And a "vertical" basic element 12 consisting of a linear stroke, and each basic element 11 and 12 is
Decorative parts 11a, 11b and 12a, 12b at both ends
(Indicated by a solid line in the figure) and the decorative portions 11a and 11b
Main part 11 which constitutes each part between the space and 12a, 12b
c and 12c (shown by broken lines in the figure) are combined.

【0063】斯様な文字パターンをフォントデータとし
て記述するに当たっては、偏部分を構成する基本エレメ
ント11及び12における主体部11c及び12cと、
飾り部11a、11b及び12a、12bとを夫々異な
る形式で表現するようにしており、また上記文字パター
ンのつくり部分も同様の形式で表現している。
In describing such a character pattern as font data, the main body portions 11c and 12c in the basic elements 11 and 12 forming the uneven portion,
The decorative portions 11a, 11b and 12a, 12b are expressed in different formats, and the part of the character pattern created is also expressed in the same format.

【0064】具体的には、例えば基本エレメント11の
主体部11cについては、その両側の輪郭線11d及び
11eの形状を、それら輪郭線11d及び11eの中間
を通る芯線11f(一点鎖線で示す)の形状を示す基準
データと、その芯線11fに対応した主体部11cの幅
を示すサンプル値との組み合わせより成る標準主体部デ
ータDaとして記述している。この場合、上記基準デー
タとしては、上記芯線11fを図6に示すような3次ベ
ジェ曲線(0≦t≦1)を表現するための制御点p0 、
p1 、p2 、p3 を示す座標情報を利用する。また、前
記サンプル値として、図7に示すような3次ベジェ曲線
で示される芯線c(図5に示す芯線11fに対応)にお
けるパラメータt=0、1/3、2/3、1の各制御点
p0 、p1 、p2 、p3 での主体部11cの幅に相当し
たサンプル値であるw0 、w1 、w2 、w3 を利用して
いる。尚、図7では、主体部11cの上下の輪郭線11
d及び11eに対応した曲線を夫々c′及びc″で示し
ている。
Specifically, for example, with respect to the main body portion 11c of the basic element 11, the shapes of the contour lines 11d and 11e on both sides of the main body portion 11c are defined by a core line 11f (shown by a one-dot chain line) passing between the contour lines 11d and 11e. It is described as standard main body part data Da which is a combination of reference data showing the shape and a sample value showing the width of the main body part 11c corresponding to the core wire 11f. In this case, as the reference data, a control point p0 for expressing the core wire 11f as a cubic Bezier curve (0≤t≤1) as shown in FIG. 6,
The coordinate information indicating p1, p2 and p3 is used. Further, as the sample value, each control of the parameter t = 0, 1/3, 2/3, 1 in the core c shown by a cubic Bezier curve as shown in FIG. 7 (corresponding to the core 11f shown in FIG. 5) The sample values w0, w1, w2, w3 corresponding to the width of the main body portion 11c at the points p0, p1, p2, p3 are used. In FIG. 7, the upper and lower contour lines 11c of the main body portion 11c are
The curves corresponding to d and 11e are indicated by c'and c ", respectively.

【0065】一方、図5に示した直線状の基本エレメン
ト12の主体部12cについては、その両側の輪郭線1
2d及び12eの形状を、それら輪郭線12d及び12
eの中間を通る図示しない芯線の形状を示す基準データ
と、その芯線に対応した主体部12cの幅を示すサンプ
ル値との組み合わせより成る標準主体部データDaとし
て記述している。
On the other hand, regarding the main body portion 12c of the linear basic element 12 shown in FIG.
The shapes of 2d and 12e are defined by their contour lines 12d and 12
It is described as standard main body data Da which is a combination of reference data indicating the shape of a core wire (not shown) passing through the middle of e and a sample value indicating the width of the main body 12c corresponding to the core wire.

【0066】これに対して、各飾り部11a、11b及
び12a、12bは、その輪郭線形状が、複数の座標点
情報を備えた3次ベジェ曲線によるアウトライン方式に
よって記述した細部形状データDbとして表現されてい
る。そして、上述のような標準主体部データDaと細部
形状データDbとの1基本エレメント分の組み合わせ、
並びに前記特定エレメントデータDcは、一群の文字パ
ターンを表現するのに必要な全ての基本エレメント(標
準的な大きさのもの)について用意されると共に、それ
らが各基本エレメント毎に区分されたフォントデータと
して前記フォントROM2の第1の記憶領域21に記憶
されるものである。
On the other hand, the contours of the decorative portions 11a, 11b and 12a, 12b are expressed as the detailed shape data Db described by the outline method using a cubic Bezier curve having a plurality of coordinate point information. Has been done. Then, a combination of the standard main body data Da and the detailed shape data Db for one basic element as described above,
In addition, the specific element data Dc is prepared for all basic elements (of standard size) necessary for expressing a group of character patterns, and the font data is divided for each basic element. Is stored in the first storage area 21 of the font ROM 2.

【0067】尚、図4に示された基本エレメントのう
ち、「まげはね」、「まげ」、「たてせん+よこせ
ん」、「かぎ」については、2種類の主体部と、これら
主体部間を接続する飾り部及び両端部分の飾り部とによ
り構成されるものであるから、それらの数に応じた標準
主体部データ及び細部形状データとを用意することにな
る。
Of the basic elements shown in FIG. 4, two types of main parts are included for the "magenta", "mages", "tatesen + horizontal", and "key". Since it is composed of the decorative portions connecting the portions and the decorative portions at both end portions, the standard main body portion data and the detailed shape data corresponding to the numbers thereof are prepared.

【0068】ところで、上記のように基本エレメントの
主体部を記述した標準主体部データDaは、標準的な大
きさの基本エレメントについて表現したものであるか
ら、例えば、図5に示す漢字「佐」のつくり部分に存す
るストローク長が大きい「左はらい」の基本エレメント
13を発生させる場合には、標準主体部データDaを補
正する必要があり、以下その補正方法について説明す
る。
By the way, the standard main body data Da that describes the main body of the basic element as described above expresses a basic element having a standard size. Therefore, for example, the Chinese character "sa" shown in FIG. In the case of generating the "left-sided" basic element 13 having a large stroke length existing in the part where the stroke is formed, it is necessary to correct the standard main body portion data Da, and the correction method will be described below.

【0069】即ち、図8(a)は「左はらい」に関する
標準的な基本エレメントの主体部、つまり標準主体部デ
ータDaとして記述された主体部を示すものであり、そ
の両側の輪郭線L1及びL2の形状は、前にも述べたよ
うに、芯線L3を3次ベジェ曲線で表現するための制御
点p0 、p1 、p2 、p3 と、主体部の幅を示すサンプ
ル値w0 、w1 、w2 、w3 との組み合わせにより表現
されている。このような標準基本エレメントの輪郭線L
1、L2の形状を、図8(b)に示すような基本エレメ
ント(主体部両側の輪郭線をL1′、L2′、芯線をL
3′にて示す)用に補正するためには、標準基本エレメ
ントL3の芯線L3の始端A及び終端B(夫々制御点p
0 及びp3 に対応)を、芯線L3′の始端A′及びB′
(芯線L3′の制御点p0'、p3')へ写像すると共に、
標準的な主体部の幅を示すサンプル値w0 、w1 、w2
、w3 を図8(b)に示す基本エレメントの主体部の
幅を示すサンプル値w0'、w1'、w2'、w3'に変換する
必要があり、また、その補正をより正確に行うために
は、制御点p1、p2 も芯線L3′の実際の形状に応じ
た制御点p1'、p2'へ移動させる必要がある。
That is, FIG. 8 (a) shows the main body of the standard basic element for "left side", that is, the main body described as the standard main body data Da, and the contour lines L1 and As described above, the shape of L2 includes control points p0, p1, p2, p3 for expressing the core line L3 by a cubic Bezier curve, and sample values w0, w1, w2 indicating the width of the main body, It is expressed in combination with w3. The contour line L of such a standard basic element
The shapes of 1 and L2 are the basic elements as shown in FIG.
3 '), the standard end element L3 has a core L3 having a starting point A and an ending point B (control points p respectively).
(Corresponding to 0 and p3), the starting ends A'and B'of the core wire L3 '.
(Map to control points p0 'and p3' of core L3 ')
Sample values w0, w1, w2 indicating the width of the standard main body
, W3 need to be converted into sample values w0 ′, w1 ′, w2 ′, w3 ′ indicating the width of the main body portion of the basic element shown in FIG. 8B, and in order to perform the correction more accurately, Must move the control points p1 and p2 to the control points p1 'and p2' according to the actual shape of the core L3 '.

【0070】本実施例では、芯線L3の始端A及び終端
Bを芯線L3′の始端A′及びB′へ変倍しながら写像
するために、例えば回転を伴わないアフィン変換(平行
移動、x軸及びy軸別々の拡大・縮小の組み合わせ)を
利用しており、このような変換を行うために、芯線L
3′の始端A′及びB′の各位置を示す座標データZA
及びZBを、各文字パターンを構成する基本エレメント
毎に決定している。また、制御点p1、p2 を制御点p
1'、p2'へ移動させるために、上記のようなアフィン変
換を座標点p1 、p2 に適用した場合に得られる制御点
p1*、p2*(図8(b)参照)と移動先の制御点p1'、
p2'との間の差分を示す差分データΔP1及びΔP2
(図8(c)に示すようなベクトル値である)を利用し
ており、それらの差分データΔP1 及びΔP2 を、各文
字パターンを構成する基本エレメント毎に決定してい
る。
In the present embodiment, in order to map the starting end A and the ending end B of the core wire L3 to the starting ends A'and B'of the core wire L3 'while scaling, for example, affine transformation (parallel movement, x-axis) without rotation. And y-axis separate enlargement / reduction combination) are used.
Coordinate data ZA indicating the positions of the starting points A'and B'of 3 '
, And ZB are determined for each basic element forming each character pattern. In addition, control points p1 and p2 are set to control point p
Control points p1 * and p2 * (see FIG. 8 (b)) obtained when the affine transformation as described above is applied to coordinate points p1 and p2 to move to 1'and p2 ' Point p1 ',
Difference data ΔP1 and ΔP2 showing the difference between p2 ′ and p2 ′
(The vector values as shown in FIG. 8C) are used, and the difference data ΔP1 and ΔP2 thereof are determined for each basic element forming each character pattern.

【0071】さらに、標準的な主体部の幅を示すサンプ
ル値w0 〜w3 をw0'〜w3'に変換するためには、本来
的には前述同様のアフィン変換を施すのが普通である
が、本実施例では、上記両サンプル値w0 〜w3 及びw
0'〜w3'の差分を示す差分サンプル値Δw0 〜Δw3 を
利用しており、これらの差分サンプル値Δw0 〜Δw3
を、各文字パターンを構成する基本エレメント毎に決定
している。
Further, in order to convert the sample values w0 to w3 indicating the standard width of the main body into w0 'to w3', it is usual to perform the affine transformation as described above. In this embodiment, both sample values w0 to w3 and w
Difference sample values Δw0 to Δw3 indicating differences between 0 ′ to w3 ′ are used, and these difference sample values Δw0 to Δw3 are used.
Is determined for each basic element forming each character pattern.

【0072】尚、このようにサンプル値w0 〜w3 の変
換にアフィン変換を用いないのは、一般的に、基本エレ
メントの線幅は、そのエレメントの大きさに比例すると
いうよりは、むしろ一定の値を持つことが多いという文
字パターンに特有の性質に着目したためである。
Incidentally, the reason why the affine transformation is not used for the transformation of the sample values w0 to w3 in this way is that the line width of the basic element is generally constant rather than proportional to the size of the element. This is because we focused on the characteristic peculiar to character patterns, which often have values.

【0073】しかして、前記フォントROM2の第1の
記憶領域21(図2参照)には、前述したように、標準
主体部データDa、細部形状データDb及び特定エレメ
ントデータDcが記憶されているが、その第2の記憶領
域22には、次に述べるような文字パターンデータKが
記憶されている。
As described above, the standard main body data Da, the detailed shape data Db and the specific element data Dc are stored in the first storage area 21 (see FIG. 2) of the font ROM 2 as described above. In the second storage area 22, character pattern data K as described below is stored.

【0074】即ち、文字パターンデータKは、一群の文
字パターン中の所定の文字パターン(例えば漢字)につ
いて、各文字パターンを基本エレメントに分解した上
で、それらの各文字パターンを当該基本エレメントの組
み合わせによって表現するのに必要な以下及びのよ
うなデータを組み合わせて成るものである。
That is, the character pattern data K is obtained by decomposing each character pattern into basic elements for a predetermined character pattern (for example, Kanji) in a group of character patterns, and combining each of these character patterns with the basic elements. It is composed by combining the following data necessary for expressing by.

【0075】…その文字パターンを表現するのにどの
基本エレメントが必要であるかなど、個々の文字パター
ンを記述するのに必要な制御データ、 …その文字パターンを構成する各基本エレメントの形
状を表現した複数のエレメントデータ。但し、このエレ
メントデータは、対応する基本エレメントの種別を表現
するための種別データと、その基本エレメントの主体部
の中心を通る芯線の形状を示す各芯線データ(前述した
座標データZA及びZBと差分データΔP1 及びΔP2
の組み合わせ)と、その基本エレメントの主体部の幅を
示すサンプル値(前述した差分サンプル値Δw0 〜Δw
3 に相当)とを組み合わせたものであり、例えば図2
(c)に示すような記述形式となっている。
... control data necessary for describing each character pattern, such as which basic element is required to express the character pattern, ... representing the shape of each basic element constituting the character pattern Multiple element data. However, this element data includes the type data for expressing the type of the corresponding basic element, and each core line data indicating the shape of the core line passing through the center of the main body of the basic element (the difference from the coordinate data ZA and ZB described above). Data ΔP1 and ΔP2
Combination) and a sample value indicating the width of the main portion of the basic element (the difference sample values Δw0 to Δw described above).
(Corresponding to 3) and
The description format is as shown in (c).

【0076】ここで、図2に示したROM2の記憶内容
について、具体例を挙げて説明すると以下のようにな
る。つまり、ROM2の第1の記憶領域21には、一群
の文字パターンに必要な全ての基本エレメントの標準的
大きさの標準主体部データDa、細部形状データDbと
特定エレメントデータDcとが、各基本エレメント毎に
区分された状態で記憶されるもので、例えばアドレス2
2aには「左はらい」の基本エレメントに対応した標準
主体部データDa及び細部形状データDbが記憶され
る。
Here, the contents stored in the ROM 2 shown in FIG. 2 will be described with reference to a concrete example. That is, in the first storage area 21 of the ROM 2, standard main body data Da of standard sizes of all basic elements required for a group of character patterns, detailed shape data Db and specific element data Dc are stored in each basic It is stored in a state of being divided for each element. For example, address 2
2a stores standard main body data Da and detailed shape data Db corresponding to the basic element of "left side".

【0077】また、ROM2の第2の記憶領域22に
は、前記文字パターンデータKが、各文字パターン毎に
区分された状態で記憶されるものであり、例えばアドレ
ス21aには文字「佐」に対応した文字パターンデータ
Kが記憶される。この場合、第2の記憶領域22の各ア
ドレスに記憶される文字パターンデータKは、図2
(b)に示すように、制御データ(前記参照)と対応
させた状態で、複数のエレメントデータ(前記参照)
を記憶した状態となっている。
Further, the character pattern data K is stored in the second storage area 22 of the ROM 2 in a state in which the character pattern data K is divided for each character pattern. Corresponding character pattern data K is stored. In this case, the character pattern data K stored in each address of the second storage area 22 is as shown in FIG.
As shown in (b), a plurality of element data (see above) in a state of being associated with control data (see above)
Is in the state of remembering.

【0078】さて、図3には、前記CPU1による制御
内容のうち、文字パターンを構成する基本エレメントに
おける主体部両側の輪郭線パターンを展開する処理ルー
チンについて、その主要部のみが示されており、以下こ
れについて説明する。但し、以下においては、図8
(a)に示した標準基本エレメントを同図(b)に示し
た基本エレメントに補正する場合を例にして説明する。
Now, FIG. 3 shows only the main part of the processing routine for developing the contour line patterns on both sides of the main body in the basic elements forming the character pattern, out of the control contents by the CPU 1. This will be described below. However, in the following, FIG.
An example will be described in which the standard basic element shown in (a) is corrected to the basic element shown in FIG.

【0079】即ち、CPU1は、新たに文字パターンを
展開するときには、その文字パターンに対応した文字パ
ターンデータKをフォントROM2から読み込むと共
に、そのパターンデータK中の制御データに基づいて、
上記文字パターンを表現するのに必要な標準主体部デー
タDaをフォントROM2から読み込む(ステップS
1)。尚、上記のように読み込まれる文字パターンデー
タKには、エレメントデータ(座標データZA及びZ
B、差分データΔP1 及びΔP2 、差分サンプル値Δw
0 〜Δw3 を含む)も含まれる。
That is, when newly developing a character pattern, the CPU 1 reads the character pattern data K corresponding to the character pattern from the font ROM 2 and, based on the control data in the pattern data K,
The standard main body data Da required for expressing the character pattern is read from the font ROM 2 (step S
1). The character pattern data K read as described above includes element data (coordinate data ZA and Z).
B, difference data ΔP1 and ΔP2, difference sample value Δw
(Including 0 to Δw3) is also included.

【0080】次いで、ステップS2では、読み込んだ標
準主体部データDaにより示される芯線L3(図8
(a)参照)の始端A及び終端B(制御点p0 、p3 に
相当)を、前記読み込みパターンデータK中の座標デー
タZA及びZBにより示される芯線L3′(図8(b)
参照)の始端A′及びB′(制御点p0'、p3'に相当)
へ写像するための前述したアフィン変換Tを求める。さ
らに、ステップS3では、上記アフィン変換Tを芯線L
3の制御点p1 、p2 を示す座標情報に適用して、目的
となる芯線L3′に近い形状となるベジェ曲線の制御点
p1*、p2*を示す座標情報を求める。
Next, in step S2, the core line L3 (FIG. 8) indicated by the read standard main body part data Da is displayed.
A starting point A and an ending point B (corresponding to the control points p0 and p3) of (a) are core lines L3 '(FIG. 8B) indicated by the coordinate data ZA and ZB in the read pattern data K.
Starting points A'and B '(corresponding to control points p0' and p3 ')
The affine transformation T described above for mapping to is obtained. Furthermore, in step S3, the affine transformation T is converted to the core line L.
The coordinate information indicating the control points p1 * and p2 * of the Bezier curve having a shape close to the target core line L3 ′ is obtained by applying the coordinate information indicating the control points p1 and p2 of 3 to the coordinate information.

【0081】ステップS4では、上記制御点p1*、p2*
の座標情報に対し、読み込みパターンデータK中の差分
データΔP1 及びΔP2 を加算し、芯線L3′に対応し
た制御点p1'及びp2'の座標情報を得る。さらに、ステ
ップS5では、前記標準主体部データDaに含まれるサ
ンプル値w0 〜w3 (芯線L3の主体部の幅を示す)に
対し、読み込みパターンデータK中の差分サンプル値Δ
w0 〜Δw3 を加算し、芯線L3′の主体部の幅を示す
サンプル値w0'〜w3'を得る。
In step S4, the control points p1 * and p2 * are set.
The coordinate data of the control points p1 'and p2' corresponding to the core line L3 'is obtained by adding the difference data .DELTA.P1 and .DELTA.P2 in the read pattern data K to the coordinate information of. Further, in step S5, the difference sample value Δ in the read pattern data K with respect to the sample values w0 to w3 (indicating the width of the main body of the core L3) included in the standard main body data Da.
By adding w0 to Δw3, sample values w0 'to w3' indicating the width of the main body portion of the core wire L3 'are obtained.

【0082】そして、ステップS6では、上記のように
して得た芯線L3′に関する制御点p0'〜p3'の座標情
報並びに主体部の幅を示すサンプル値w0'〜w3'に基づ
いて、その芯線L3′両側の輪郭線L1′及びL2′を
文字パターン展開メモリ3にビットイメージとして展開
(描画)する。尚、基本エレメント両端の飾り部の展開
は、例えば上記のような輪郭線L1′及びL2′の展開
前或いは展開後において、細部形状データDbに基づい
て行う。また、実際には、ステップS6においては、出
力する文字パターンが所望の大きさ(ポイント数)とな
るようにスケーリングを行うようになっている。
Then, in step S6, based on the coordinate information of the control points p0'-p3 'relating to the core L3' obtained as described above and the sample values w0'-w3 'indicating the width of the main body, the core is obtained. The contour lines L1 'and L2' on both sides of L3 'are developed (drawn) in the character pattern development memory 3 as a bit image. The expansion of the decorative portions at both ends of the basic element is performed based on the detailed shape data Db before or after the expansion of the contour lines L1 'and L2' as described above, for example. Further, in actuality, in step S6, scaling is performed so that the output character pattern has a desired size (point number).

【0083】ここで、上記図3の制御を行う場合、ステ
ップS5をステップS2の前に実行する構成としても良
いなど、ステップS5とステップS2〜4との間の順序
関係を固定したものにする必要性は存在しない。また、
ステップS3及びステップS4による制御を逆方向に行
う構成、例えば、目標となる芯線形状L3′の始端及び
終端座標を標準となる芯線形状L3の始端及び終端に合
わせるようにアフィン変換し、これにより得られるベジ
ェ曲線の制御点を示す座標点情報を基準に差分をとる構
成としても良く、要は前記差分データΔP1 及びΔP2
を相対的なデータとして扱えば良いものである。
Here, when the control of FIG. 3 is performed, step S5 may be executed before step S2, and the order relation between step S5 and steps S2-4 is fixed. There is no need. Also,
A configuration in which the control in steps S3 and S4 is performed in the opposite direction, for example, affine transformation is performed so that the start and end coordinates of the target core line shape L3 'are aligned with the start and end coordinates of the standard core line shape L3, thereby obtaining The difference may be obtained based on coordinate point information indicating the control point of the Bezier curve that is set, that is, the difference data ΔP1 and ΔP2.
Should be treated as relative data.

【0084】尚、文字パターンを発生する場合におい
て、基本エレメントにおける主体部と飾り部との接続
は、例えば以下のように行えば良いものである。即ち、
図9には基本的な接続例として、図5に示した主体部1
1cと飾り部11bとの間の接続を行う場合が示されて
いる。この図9において、飾り部11bは、PE0 、P
E1 、PE2 、PE3 を制御点としたベジェ曲線として
表現される。この場合、上記制御点PE0 、PE3 は、
主体部11c両側の輪郭線11d、11eを表す3次ベ
ジェ曲線の各一方の制御点と同じであるからこれをその
まま利用でき、また、残りの制御点PE1 、PE2 は、
上記輪郭線11d、11eの制御点PE0 、PE 3での
接線上に存在するもので、当該制御点PE0 、PE3 か
らの距離を示す2種類のスカラ量LE1、LE2で示す
ことができる。従って、この場合には、飾り部11bを
3次ベジェ曲線によるアウトライン方式によって表現す
るための細部形状データDbは、例えば図10に示すよ
うに、当該飾り部11bの種類NXを特定するための種
類データと、2種類のスカラ量LE1、LE2を示す距
離データの組み合わせのみで記述できるものであり、結
果的にデータ量を抑制できることになる。
When the character pattern is generated, the connection between the main body portion and the decorative portion in the basic element may be performed as follows, for example. That is,
FIG. 9 shows a main connection 1 shown in FIG. 5 as a basic connection example.
The case where the connection between 1c and the decorative portion 11b is performed is shown. In FIG. 9, the decorative portion 11b is made of PE0, P
It is expressed as a Bezier curve with E1, PE2, and PE3 as control points. In this case, the control points PE0 and PE3 are
Since it is the same as each one of the control points of the cubic Bezier curve representing the contour lines 11d and 11e on both sides of the main body portion 11c, these can be used as they are, and the remaining control points PE1 and PE2 are
The contour lines 11d and 11e are present on the tangents of the control points PE0 and PE3, and can be represented by two types of scalar amounts LE1 and LE2 indicating the distances from the control points PE0 and PE3. Therefore, in this case, the detailed shape data Db for expressing the decorative portion 11b by the outline method using the cubic Bezier curve is, for example, as shown in FIG. 10, a type for specifying the type NX of the decorative portion 11b. The data can be described only by a combination of the data and the distance data indicating the two types of scalar amounts LE1 and LE2, and as a result, the data amount can be suppressed.

【0085】以上要するに、上記した本実施例では、漢
字を含む一群の文字パターンを構成する複数の基本エレ
メントについて、標準となる大きさを設定すると共に、
それらの基本エレメントの各々について、両端部分を除
いた主体部両側の輪郭線形状をベジェ曲線で表現した標
準主体部データDaとしてフォントROM2に記憶して
おくと共に、上記一群の文字パターンを前記基本エレメ
ントに分解した上で、その文字パターンを前記主体部デ
ータDaに基づいて復元するための文字パターンデータ
Kを上記フォントROM2に記憶しておき、CPU1に
より実際に文字パターンを発生させるに当たっては、フ
ォントROM2から読み込んだ標準主体部データDaに
より示される標準的な基本エレメントの主体部両側の輪
郭線の形状を、同じくフォントROM2から読み込んだ
文字パターンデータに基づいて補正することにより、目
的の文字パターンの基本エレメントの主体部両側の輪郭
線形状を復元するようにしている。
In summary, in the present embodiment described above, standard sizes are set for a plurality of basic elements that form a group of character patterns including Chinese characters, and
For each of these basic elements, the outline shape on both sides of the main body excluding both end portions is stored in the font ROM 2 as standard main body data Da expressing Bezier curves, and the group of character patterns is stored in the basic element. The character pattern data K for reconstructing the character pattern based on the main body data Da is stored in the font ROM 2 and the CPU 1 actually generates the character pattern. By correcting the shapes of the contour lines on both sides of the main body of the standard basic element indicated by the standard main body data Da read from the same, based on the character pattern data also read from the font ROM 2, the basic of the target character pattern is obtained. Restores the contour line shapes on both sides of the main body of the element Unishi to have.

【0086】この場合、上記標準主体部データDaは、
標準的な大きさの基本エレメントの各々について、両端
部分を除いた主体部両側の輪郭線形状を、それら輪郭線
の中間を通る芯線の形状を示す基準データと、その芯線
に対応した主体部の幅を示すサンプル値との組み合わせ
より記述するようになっているから、そのデータ量が相
対的に減るようになり、しかも、比較的少数の基本エレ
メントについて記述するだけで済んで1書体分の膨大な
文字パターンについて記述する必要がなくなり、そのデ
ータ量が大幅に減少することになる。また、前記文字パ
ターンデータKは、各文字パターンを復元するのに必要
な基本エレメントを特定するための制御データと、それ
らの基本エレメント標準系との差異を表現したエレメン
トデータとの組み合わせにより記述されたものであるか
ら、その文字パターンデータK自体は、通常のアウトラ
インフォント用データに比してきわめて簡単なものとな
って、そのデータ量も大幅に減少するようになる。
In this case, the standard main body data Da is
For each of the basic elements of standard size, the contour line shapes on both sides of the main body, excluding both ends, are used as reference data indicating the shape of the core line passing through the middle of the contour lines and the main body part corresponding to the core line. Since it is described by combining it with the sample value indicating the width, the amount of data can be relatively reduced, and moreover, only a relatively small number of basic elements need to be described, and an enormous amount of one typeface is required. It is not necessary to describe a special character pattern, and the amount of data will be greatly reduced. Further, the character pattern data K is described by a combination of control data for specifying a basic element necessary for restoring each character pattern and element data expressing a difference between these basic element standard systems. Therefore, the character pattern data K itself is much simpler than the normal outline font data, and the amount of the data is greatly reduced.

【0087】このように、文字パターンを構成する各基
本エレメントの主体部については、データ量が大幅に減
少された状態となる標準主体部データDa及び文字パタ
ーンデータKに基づいて発生できるものであるから、結
果的に全体のフォントデータ量が従来構成に比べて大幅
に減少するようになる。従って、フォントデータを記憶
するためのフォントROM2に必要な記憶容量を小さく
し得て、ハードウエアコストの抑制を実現できるように
なる。
As described above, the main body of each basic element forming the character pattern can be generated based on the standard main body data Da and the character pattern data K in which the data amount is greatly reduced. Therefore, as a result, the total font data amount is significantly reduced as compared with the conventional configuration. Therefore, the storage capacity required for the font ROM 2 for storing font data can be reduced, and the hardware cost can be suppressed.

【0088】文字パターンデータK中のエレメントデー
タは、図2(c)に示すような比較的単純な記述形式の
ものであり、また、基本エレメントの主体部の幅を示す
情報が差分サンプル値Δw0 〜Δw3 として表現されて
いるから、そのダイナミックレンジを狭くできるように
なり、結果的に文字パターンデータのデータ量の減少を
図り得るようになって、この面からもフォントROM2
に必要な記憶容量を小さくできる。
The element data in the character pattern data K has a relatively simple description format as shown in FIG. 2C, and the information indicating the width of the main body of the basic element is the difference sample value Δw0. Since it is expressed as ~ Δw3, the dynamic range can be narrowed, and as a result, the data amount of the character pattern data can be reduced.
The storage capacity required for can be reduced.

【0089】標準主体部データDaにより示される基本
エレメントの標準的な芯線から目的とする基本エレメン
トの芯線を復元する際に必要となる比較的複雑な演算
は、標準主体部データDaによる標準的な芯線の始端及
び終端位置を、前記文字パターンデータK中の座標デー
タZA及びZBにより示される始端及び終端位置へx軸
及びy軸方向へ独立して変倍するための演算だけで済
み、基本エレメントの主体部の幅の復元には上記のよう
な変倍を行わないようにしたから、基本エレメント復元
時の計算量が減るようになり、結果的にCPU1の負担
が軽くなる。
The relatively complicated calculation required when the core line of the target basic element is restored from the standard core line of the basic element indicated by the standard main body data Da is the standard operation based on the standard main body data Da. Only the calculation for independently scaling the start and end positions of the core wire to the start and end positions indicated by the coordinate data ZA and ZB in the character pattern data K in the x-axis and y-axis directions is performed. Since the above-described scaling is not performed for the restoration of the width of the main body of the above, the amount of calculation at the time of restoring the basic element is reduced, and as a result, the load on the CPU 1 is reduced.

【0090】基本エレメントの主体部両側の輪郭線形状
を復元する場合に、上述のような変倍操作により復元さ
れる芯線の形状を、文字パターンデータK中の差分デー
タΔP1 、ΔP2 に基づいて補正するようにしているか
ら、その芯線形状ひいては輪郭線形状を、ダイナミック
レンジの小さな差分データに基づいて正確に復元できる
ようになる。
When the contour line shapes on both sides of the main body of the basic element are restored, the shape of the core line restored by the scaling operation as described above is corrected based on the difference data ΔP1 and ΔP2 in the character pattern data K. Therefore, the core line shape, and thus the contour line shape, can be accurately restored based on the difference data having a small dynamic range.

【0091】基本エレメントの両端部分の輪郭線形状を
他の形式(本実施例ではアウトライン方式)で表現して
いるから、文字パターンの表現に従来のような制約を受
けることがなくなり、その表現の自由度を高め得るよう
になる。これに関連して、上記基本エレメントの両端部
分の輪郭線形状は、3次ベジェ曲線を利用したアウトラ
イン方式により記述した細部形状データDbとして表現
されているから、それらの細部形状データDbとして、
既に作成されている大量のアウトラインフォントデータ
が利用できるようになる。この結果、文字パターンの全
部について新たなフォントデータを作成する必要がなく
なり、各文字パターンの作成に要する手間の削減を図り
得るようになる。
Since the outline shapes of both end portions of the basic element are expressed in another format (outline method in this embodiment), there is no restriction on the expression of the character pattern as in the prior art, and the expression of the expression is not restricted. You will be able to increase the degree of freedom. In this connection, since the contour line shapes of the both end portions of the basic element are expressed as the detailed shape data Db described by the outline method using the cubic Bezier curve, as the detailed shape data Db of them,
A large amount of outline font data already created can be used. As a result, it is not necessary to create new font data for all the character patterns, and it is possible to reduce the labor required to create each character pattern.

【0092】さらに、標準主体部データDaは、3次ベ
ジェ曲線により表現された芯線に対応した主体部の幅を
示すサンプル値として、上記3次ベジェ曲線におけるパ
ラメータt=0、1/3、2/3、1の各点での主体部
の幅の値を利用するように構成されているから、輪郭線
の形状を近似するための3次ベジェ曲線の制御点を示す
データを簡単な計算で求めることができるようになる。
従って、標準主体部データDaを、輪郭線を描画するた
めのデータへ簡単に変換できるようになると共に、3次
ベジェ曲線を利用して記述された前記細部形状データD
bとの整合性が良好になる。但し、この場合において、
上記サンプル値として、3次ベジェ曲線におけるパラメ
ータt=0、1/3、2/3、1の各点での主体部の幅
の1/2の値を利用する構成としても良いものである。
Furthermore, the standard main body data Da is a parameter t = 0, 1/3, 2 in the cubic Bezier curve as a sample value indicating the width of the main body corresponding to the core represented by the cubic Bezier curve. Since it is configured to use the width value of the main body portion at each point of / 3 and 1, it is possible to perform a simple calculation of data indicating the control points of the cubic Bezier curve for approximating the shape of the contour line. You will be able to ask.
Therefore, the standard main body data Da can be easily converted into the data for drawing the contour line, and the detailed shape data D described by using the cubic Bezier curve is obtained.
The conformity with b is improved. However, in this case,
As the sample value, a value of 1/2 of the width of the main body portion at each point of the parameter t = 0, 1/3, 2/3, and 1 in the cubic Bezier curve may be used.

【0093】尚、上記実施例では、芯線L3の始端A及
び終端Bを芯線L3′の始端A′及びB′をアフィン変
換するために、文字パターンデータK側に上記始端A′
及びB′の位置を示す座標データZA及びZBを持つ構
成としたが、文字パターンデータK側に予めアフィンし
た状態の座標データを持つ構成としても良いものであ
る。
In the above embodiment, in order to affine-convert the starting end A and the ending end B of the core wire L3 into the starting ends A'and B'of the core wire L3 ', the starting end A'on the character pattern data K side.
Although the coordinate data ZA and ZB indicating the positions of B and B'are used, it is also possible to use the coordinate data affine in advance on the character pattern data K side.

【0094】また、上記実施例では、基本エレメントの
主体部両側の輪郭線の形状を、その中間を通る芯線の形
状を示す基準データと、当該主体部の幅を示すサンプル
値との組み合わせより成る標準主体部データDaとして
記述する構成としたが、その輪郭線の形状を、一方の輪
郭線を例えば3次ベジェ曲線により表現した基準データ
と、当該一方の輪郭線に対応した主体部の幅を示すサン
プル値との組み合わせより成る標準主体部データとして
記述する構成としても良いものである。さらに、上記実
施例においては、標準主体部データDa及び細部形状デ
ータDbの表現に3次ベジェ曲線を利用する構成とした
が、これに代えてスプライン曲線などの他の関数曲線を
利用する構成としても良いものである。
Further, in the above-mentioned embodiment, the shape of the contour lines on both sides of the main body of the basic element is made up of a combination of reference data showing the shape of a core line passing through the middle and a sample value showing the width of the main body. Although the configuration is described as the standard main body portion data Da, the shape of the contour line is defined by reference data in which one contour line is represented by, for example, a cubic Bezier curve, and the width of the main body portion corresponding to the one contour line. The configuration may be described as standard main body data that is a combination with the sample values shown. Furthermore, in the above embodiment, the cubic Bezier curve is used to represent the standard main body data Da and the detailed shape data Db. However, instead of this, another function curve such as a spline curve may be used. Is also good.

【0095】上記実施例では、文字パターンデータKの
エレメントデータ中に、目的とする基本エレメントの始
端及び終端を示す座標データZA及びZBを用意してお
き、標準主体部データDaにより示される芯線L3(図
8(a)参照)の始端A及び終端Bを上記座標データZ
A及びZBにより示される芯線L3′(図8(b)参
照)の始端A′及びB′(制御点p0'、p3'に相当)へ
写像するためのアフィン変換を行う構成としたが、この
部分の構成を以下に述べるように変形することもでき
る。
In the above embodiment, the coordinate data ZA and ZB indicating the start and end of the target basic element are prepared in the element data of the character pattern data K, and the core line L3 indicated by the standard main body data Da is prepared. The starting point A and the ending point B in FIG. 8A are referred to as the coordinate data Z.
The affine transformation for mapping to the starting ends A'and B '(corresponding to the control points p0' and p3 ') of the core line L3' (see FIG. 8B) indicated by A and ZB is made. The structure of the part can be modified as described below.

【0096】即ち、目的とする基本エレメントの芯線の
一方の端部、例えば始端についてのみに実際の位置座標
(これを始端座標ZCと呼ぶ)を与えることにより、標
準主体部データDaにより示される標準的な芯線L3の
始端Aの平行移動先を定義し、その始端座標ZCを原点
とする芯線L3のx軸方向及びy軸方向の変倍係数ax
及びayの組み合わせを座標データとして上記エレメン
トデータ中に記述する。この場合のエレメントデータの
記述形式は、図11に示すような状態とすれば良い。
That is, by giving the actual position coordinates (this is called the starting end coordinate ZC) only to one end of the core wire of the target basic element, for example, the starting end, the standard indicated by the standard main body data Da. A parallel movement destination of the starting end A of the core line L3 is defined, and the scaling factor ax in the x-axis direction and the y-axis direction of the core line L3 having the starting end coordinate ZC as the origin.
And ay are described as coordinate data in the element data. In this case, the description format of the element data may be set as shown in FIG.

【0097】尚、この場合にも、芯線に関する上記のよ
うなデータに代えて、一方の輪郭線に関する始端座標及
び変倍係数を記述するようにしても良いものである。ま
た、この例では、始端座標ZCを与えて標準主体部デー
タDaにより示される標準的な芯線L3の始端Aの平行
移動先を定義したが、目的とする基本エレメント上にお
ける上記始端A(終端Bでも可)の対応位置を指定する
ように構成しても良いものである。
Also in this case, instead of the above-mentioned data regarding the core line, the starting end coordinates and the scaling factor regarding one contour line may be described. Further, in this example, the starting end coordinates ZC are given to define the parallel movement destination of the starting end A of the standard core line L3 indicated by the standard main body data Da, but the starting end A (end B) on the target basic element is defined. However, it may be configured so as to specify the corresponding position.

【0098】[0098]

【発明の効果】以上の説明によって明らかなように、本
発明による高品質文字パターンの発生方法及び高品質文
字の出力装置によれば、漢字を含む一群の文字パターン
を構成する複数の基本エレメントについて、標準となる
大きさを設定すると共に、それらの基本エレメントの各
々について、少なくとも両端部分を除いた主体部形状を
基準線の形状を示す基準データとその基準線に対応した
主体部の幅を示すサンプル値を用いて記述しておくと共
に、上記文字パターン群を前記基本エレメントに分解し
た上で、その文字を前記主体部データに基づいて復元す
るための文字パターンデータを記述しておき、実際に文
字パターンを発生するに当たっては、上記標準主体部デ
ータにより示される標準的な基本エレメントの主体部両
側の輪郭線の形状を、文字パターンデータに基づいて補
正することにより、目的の文字パターンの基本エレメン
トの主体部両側の輪郭線形状を復元するようにしたか
ら、フォントデータのデータ量を大幅に減らし得るよう
になると共に、ハードウエアコストの低減を実現できる
ものであり、また、文字パターンの表現自由度の低下を
来たすことなくなると共に、従来より存するフォント技
術の有効利用を図り得るようになるものである。
As is apparent from the above description, according to the high-quality character pattern generation method and the high-quality character output device of the present invention, a plurality of basic elements constituting a group of character patterns including Chinese characters can be used. , The standard size is set, and for each of these basic elements, the main body shape excluding at least both end portions is shown as the reference data indicating the shape of the reference line and the width of the main body portion corresponding to the reference line. In addition to describing using the sample value, the character pattern group is decomposed into the basic elements, and the character pattern data for restoring the character based on the main body data is described, In generating the character pattern, the shape of the contour lines on both sides of the main body of the standard basic element indicated by the standard main body data above. By correcting based on the character pattern data, the contour line shapes on both sides of the main body of the basic element of the target character pattern are restored, so that the amount of font data can be significantly reduced, and The hardware cost can be reduced, the degree of freedom in expressing character patterns is not reduced, and the existing font technology can be effectively used.

【0099】また、本発明によれば、上記のような補正
時において、標準主体部データにより示される基本エレ
メントの主体部両側の輪郭線から目的とする基本エレメ
ントの主体部両側の輪郭線を復元する際には、それらの
輪郭線の中間を通る芯線或いは一方の輪郭線の形状のみ
を変倍する操作を行い、上記主体部の幅を示すデータに
ついては、上記のような変倍操作を行わずに単純な加算
操作だけで済むようにしたから、基本エレメント復元時
の計算量が減るという有益な効果が得られるようにな
り、制御手段の負担を軽くすることができるものであ
る。
Further, according to the present invention, at the time of correction as described above, the target contour line on both sides of the main body of the basic element is restored from the contour lines on both sides of the main body of the basic element indicated by the standard main body data. In doing so, the operation of scaling only the shape of the core line passing through the middle of those contour lines or one of the contour lines is performed, and for the data indicating the width of the main part, the scaling operation is performed as described above. Instead of using a simple addition operation, the beneficial effect of reducing the amount of calculation when restoring the basic element can be obtained, and the burden on the control means can be reduced.

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

【図1】本発明の一実施例のハ−ドウエア構成を概略的
に示す機能ブロック図
FIG. 1 is a functional block diagram schematically showing a hardware configuration of an embodiment of the present invention.

【図2】フォントROMの摸式的な構造及びエレメント
データの記述形式を示す図
FIG. 2 is a diagram showing a schematic structure of a font ROM and a description format of element data.

【図3】CPUによる制御内容を示すフローチャートFIG. 3 is a flowchart showing control contents by the CPU.

【図4】基本エレメントの種類を示す図FIG. 4 is a diagram showing types of basic elements.

【図5】文字パターンの一例を示す図FIG. 5 is a diagram showing an example of a character pattern.

【図6】標準主体部データの記述形式を説明するための
図その1
FIG. 6 is a diagram for explaining a description format of standard main body part 1

【図7】標準主体部データの記述形式を説明するための
図その2
FIG. 7 is a diagram for explaining a description format of standard main body part 2

【図8】標準主体部データの補正方法を説明するための
FIG. 8 is a diagram for explaining a method of correcting standard main body data.

【図9】基本エレメントにおける主体部と飾り部との接
続例を説明するための図
FIG. 9 is a view for explaining a connection example of a main body portion and a decoration portion in a basic element.

【図10】細部形状データの記述形式を説明するための
FIG. 10 is a diagram for explaining a description format of detailed shape data.

【図11】上記実施例を変形した例におけるエレメント
データの記述形式を示す図
FIG. 11 is a diagram showing a description format of element data in a modified example of the above embodiment.

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

図面中、1はCPU(制御手段)、2はフォントROM
(記憶手段)、3は文字パターン展開メモリ、4は主メ
モリ、5はプリンタ、11、12、13は基本エレメン
ト、11a、11b、12a、12bは飾り部(両端部
分)、11c、12cは主体部、11d、11e、12
d、12eは輪郭線、11fは芯線、21は第1の記憶
領域、22は第2の記憶領域を示す。
In the drawing, 1 is a CPU (control means), 2 is a font ROM
(Memory means) 3 is a character pattern development memory, 4 is a main memory, 5 is a printer, 11, 12, 13 are basic elements, 11a, 11b, 12a and 12b are decorative parts (both ends), and 11c and 12c are main components. Part, 11d, 11e, 12
Reference numerals d and 12e denote contour lines, 11f denotes a core line, 21 denotes a first storage area, and 22 denotes a second storage area.

Claims (22)

【特許請求の範囲】[Claims] 【請求項1】 漢字を含む一群の文字パターンを構成す
る複数種類の基本エレメントの少なくとも一部に対し標
準となる大きさを設定すると共に、それら標準的大きさ
の基本エレメントの各々について、少なくとも両端部分
を除いた主体部両側の輪郭線形状を、各輪郭線の中間を
通る芯線の形状を示す基準データと上記芯線に対応した
主体部の幅を示すサンプル値との組み合わせより成る標
準主体部データとして記述し、 前記文字パターン群中の少なくとも一部の文字をそれぞ
れ基本エレメントに分解した上で、その文字を復元する
のに必要な基本エレメントを特定するための制御データ
と、その特定された標準的大きさの基本エレメントとの
差異を表現したエレメントデータとの組み合わせを文字
パターンデータとして記述し、 前記文字パターンデータから文字パターンを発生するに
当たってその文字パターンを構成する基本エレメントの
主体部両側の輪郭線形状を復元する場合には、前記文字
パターンデータ中の制御データに基づいて当該文字を構
成するのに必要な基本エレメントを指定し、 指定された基本エレメントを記述した前記標準主体部デ
ータを、当該基本エレメントを記述した前記文字パター
ンデータ中のエレメントデータに基づいて補正すること
によって、指定された基本エレメントの主体部両側の輪
郭線形状を得るようにしたことを特徴とする高品質文字
パターンの発生方法。
1. A standard size is set for at least a part of a plurality of types of basic elements constituting a group of character patterns including Chinese characters, and at least both ends of each of the standard size basic elements are set. Standard main body part data consisting of the contour line shapes on both sides of the main body part excluding the part, and the combination of reference data indicating the shape of the core line passing through the middle of each contour line and the sample value indicating the width of the main body part corresponding to the core line. , The control data for decomposing at least a part of the characters in the character pattern group into basic elements, and specifying the basic elements necessary to restore the characters, and the specified standard. The combination with the element data that expresses the difference from the basic element of the physical size is described as character pattern data. When generating the character pattern from the character data, when restoring the contour line shapes on both sides of the main part of the basic element that constitutes the character pattern, it is necessary to compose the character based on the control data in the character pattern data. Of the specified basic element by correcting the standard main body data describing the specified basic element based on the element data in the character pattern data describing the basic element. A method of generating a high quality character pattern, characterized in that contour shapes on both sides of the main body are obtained.
【請求項2】 前記文字パターンデータ中のエレメント
データは、基本エレメントの主体部の中心を通る芯線の
形状を示す座標データと、上記主体部の幅と標準主体部
データ中のサンプル値により示される標準的な主体部の
幅との差分を示す差分サンプル値とを含んで表現されて
いることを特徴とする請求項1記載の高品質文字パター
ンの発生方法。
2. The element data in the character pattern data is represented by coordinate data indicating the shape of a core line passing through the center of the main body of the basic element, the width of the main body, and sample values in the standard main body data. The high quality character pattern generation method according to claim 1, wherein the high quality character pattern is expressed by including a difference sample value indicating a difference from a standard width of the main body portion.
【請求項3】 文字パターンを発生するに当たって基本
エレメントの主体部両側の輪郭線形状を復元する場合に
は、 文字パターンデータ中の制御データに基づいて当該文字
を構成するのに必要な基本エレメントを指定し、 指定された基本エレメントに対応した標準主体部データ
中の基準データにより示される標準的な芯線の形状を、
前記文字パターンデータ中の座標データにより示される
位置へ変換して変倍する操作を行うことにより指定エレ
メントの芯線の形状を復元し、 指定された基本エレメントに対応した標準主体部データ
中のサンプル値に文字パターンデータ中の差分サンプル
値を加算することによって基本エレメントの主体部の幅
を復元することを特徴とする請求項2記載の高品質文字
パターンの発生方法。
3. When the contour shape on both sides of the main body of the basic element is restored in generating the character pattern, the basic element necessary for composing the character based on the control data in the character pattern data is selected. Specify the standard core wire shape indicated by the reference data in the standard main body data corresponding to the specified basic element,
The shape of the core line of the designated element is restored by performing the operation of converting to the position indicated by the coordinate data in the character pattern data and scaling, and the sample value in the standard main body data corresponding to the designated basic element. 3. The method for generating a high quality character pattern according to claim 2, wherein the width of the main body of the basic element is restored by adding the difference sample value in the character pattern data to.
【請求項4】 前記文字パターンデータ中のエレメント
データは、基本エレメントの主体部の中心を通る芯線
と、前記変倍操作により復元される芯線との差分を相対
的に記述した差分データを含んで表現され、 文字パターンを発生するに当たって基本エレメントの主
体部両側の輪郭線形状を復元する場合には、 前記変倍操作により復元された芯線の形状を上記文字パ
ターンデータ中の差分データに基づいて補正することを
特徴とする請求項3記載の高品質文字パターンの発生方
法。
4. The element data in the character pattern data includes difference data relatively describing a difference between a core line passing through the center of the main body of the basic element and a core line restored by the scaling operation. When restoring the contour line shapes on both sides of the main part of the basic element that are expressed and generate the character pattern, the shape of the core line restored by the scaling operation is corrected based on the difference data in the character pattern data. The method for generating a high quality character pattern according to claim 3, wherein
【請求項5】 芯線に対応した主体部の幅を示すサンプ
ル値として、その芯線を表現する3次ベジェ曲線におけ
るパラメータt=0、1/3、2/3、1の各点での主
体部の幅を示す値またはその幅の1/2の値を利用する
ことを特徴とする請求項1記載の高品質文字パターンの
発生方法。
5. A main body part at each point of parameters t = 0, 1/3, 2/3, 1 in a cubic Bezier curve expressing the core line as a sample value indicating the width of the main body part corresponding to the core line. The method for generating a high quality character pattern according to claim 1, wherein a value indicating the width of the character pattern or a value that is ½ of the width is used.
【請求項6】 漢字を含む一群の文字パターンを構成す
る複数種類の基本エレメントの少なくとも一部に対し標
準となる大きさを設定すると共に、それら標準的大きさ
の基本エレメントの各々について、少なくとも両端部分
を除いた主体部両側の輪郭線形状を、一方の輪郭線の形
状を示す基準データと当該一方の輪郭線に対応した主体
部の幅を示すサンプル値との組み合わせより成る標準主
体部データとして記述し、 前記文字パターン群中の少なくとも一部の文字をそれぞ
れ基本エレメントに分解した上で、その文字を復元する
のに必要な基本エレメントを特定するための制御データ
と、その特定された標準的大きさの基本エレメントとの
差異を表現したエレメントデータとの組み合わせを文字
パターンデータとして記述し、 前記文字パターンデータから文字パターンを発生するに
当たってその文字パターンを構成する基本エレメントの
主体部両側の輪郭線形状を復元する場合には、 前記文字パターンデータ中の制御データに基づいて当該
文字を構成するのに必要な基本エレメントを指定し、 指定された基本エレメントを記述した前記標準主体部デ
ータを、当該基本エレメントを記述した前記文字パター
ンデータ中のエレメントデータに基づいて補正すること
によって、指定された基本エレメントの主体部両側の輪
郭線形状を得るようにしたことを特徴とする高品質文字
パターンの発生方法。
6. A standard size is set for at least a part of a plurality of types of basic elements constituting a group of character patterns including Chinese characters, and at least both ends of each of the standard size basic elements are set. The contour line shapes on both sides of the main body, excluding the portion, are used as standard main body portion data that is a combination of reference data indicating the shape of one contour line and a sample value indicating the width of the main body portion corresponding to the one contour line. Control data for describing at least some of the characters in the character pattern group into basic elements, and specifying the basic elements required to restore the characters, and the specified standard data. The combination with the element data expressing the difference from the size of the basic element is described as character pattern data. When generating the character pattern from the data, it is necessary to configure the character based on the control data in the character pattern data when restoring the contour shape on both sides of the main body of the basic element that constitutes the character pattern. Of the specified basic element by correcting the standard main body data describing the specified basic element based on the element data in the character pattern data describing the basic element. A method of generating a high quality character pattern, characterized in that contour shapes on both sides of the main body are obtained.
【請求項7】 前記文字パターンデータ中のエレメント
データは、基本エレメントの主体部両側の輪郭線のうち
の一方の輪郭線の形状を示す座標データと、上記主体部
の幅と標準主体部データ中のサンプル値により示される
標準的な主体部の幅との差分を示す差分サンプル値とを
含んで表現されていることを特徴とする請求項6記載の
高品質文字パターンの発生方法。
7. The element data in the character pattern data includes coordinate data indicating the shape of one of the contour lines on both sides of the main body of the basic element, the width of the main body, and the standard main body data. 7. The method for generating a high quality character pattern according to claim 6, wherein the high quality character pattern is expressed by including a difference sample value indicating a difference from the standard width of the main body portion indicated by the sample value.
【請求項8】 文字パターンを発生するに当たって基本
エレメントの主体部両側の輪郭線形状を復元する場合に
は、 文字パターンデータ中の制御データに基づいて当該文字
を構成するのに必要な基本エレメントを指定し、 指定された基本エレメントに対応した標準主体部データ
中の基準データにより示される標準的な輪郭線の形状
を、前記文字パターンデータ中の座標データにより示さ
れる位置へ変換して変倍する操作を行うことにより指定
エレメントの一方の輪郭線の形状を復元し、 指定された基本エレメントに対応した標準主体部データ
中のサンプル値に文字パターンデータ中の差分サンプル
値を加算することによって基本エレメントの主体部の幅
を復元することを特徴とする請求項7記載の高品質文字
パターンの発生方法。
8. When recovering the contour shapes on both sides of the main body of the basic element in generating the character pattern, the basic elements necessary for composing the character based on the control data in the character pattern data are selected. The standard contour shape indicated by the reference data in the standard main body data corresponding to the designated and specified basic element is converted into the position indicated by the coordinate data in the character pattern data, and the scaling is performed. By performing the operation, the shape of one contour line of the specified element is restored, and the difference sample value in the character pattern data is added to the sample value in the standard main body data corresponding to the specified basic element 8. The method for generating a high quality character pattern according to claim 7, wherein the width of the main body of the above is restored.
【請求項9】 前記文字パターンデータ中のエレメント
データは、基本エレメントの主体部両側の輪郭線のうち
の一方の輪郭線と、前記変倍操作により復元される輪郭
線との差分を相対的に記述した差分データを含んで表現
され、 文字パターンを発生するに当たって基本エレメントの主
体部両側の輪郭線形状を復元する場合には、 前記変倍操作により復元された輪郭線の形状を上記文字
パターンデータ中の差分データに基づいて補正すること
を特徴とする請求項8記載の高品質文字パターンの発生
方法。
9. The element data in the character pattern data includes a relative difference between one of the contour lines on both sides of the main body of the basic element and the contour line restored by the scaling operation. Expressed by including the described difference data, when restoring the contour shape on both sides of the main body of the basic element in generating the character pattern, the contour shape restored by the scaling operation is converted into the character pattern data. 9. The method for generating a high quality character pattern according to claim 8, wherein the correction is performed based on the difference data therein.
【請求項10】 一方の輪郭線に対応した主体部の幅を
示すサンプル値として、その輪郭線を表現する3次ベジ
ェ曲線におけるパラメータt=0、1/3、2/3、1
の各点での主体部の幅を示す値を利用することを特徴と
する請求項6記載の高品質文字パターンの発生方法。
10. The parameter t = 0, 1/3, 2/3, 1 in a cubic Bezier curve representing the contour as a sample value indicating the width of the main body portion corresponding to one contour.
7. The method for generating a high quality character pattern according to claim 6, wherein a value indicating the width of the main body portion at each point is used.
【請求項11】 基本エレメントの両端部分は、その両
端部分の輪郭線形状を複数の座標点情報を備えたアウト
ライン方式により記述して成る細部形状データに基づい
て行うことを特徴とする請求項1または6記載の高品質
文字パターンの発生方法。
11. The both ends of the basic element are formed based on detailed shape data in which contour shapes of the both ends are described by an outline method including a plurality of coordinate point information. Alternatively, the method of generating a high quality character pattern according to item 6.
【請求項12】 フォントデータを記憶するための記憶
手段と、この記憶手段から読み出したフォントデータに
基づいて文字パターンを描画する制御手段とを備えた高
品質文字の出力装置において、 前記記憶手段は、 漢字を含む一群の文字パターンを構成する複数種類の基
本エレメントの少なくとも一部に対し標準となる大きさ
を設定すると共に、それら標準的大きさの基本エレメン
トの各々について、少なくとも両端部分を除いた主体部
両側の輪郭線形状を、各輪郭線の中間を通る芯線の形状
を示す基準データと上記芯線に対応した主体部の幅を示
すサンプル値との組み合わせより成る標準主体部データ
として記憶した第1の記憶領域と、 前記文字パターン群の少なくとも一部の文字をそれぞれ
基本エレメントに分解した上で、その文字を復元するの
に必要な基本エレメントを特定するための制御データ
と、その特定された標準的大きさの基本エレメントとの
差異を表現したエレメントデータとの組み合わせを文字
パターンデータとして記憶した第2の記憶領域とを備
え、 前記制御手段は、 文字パターンを発生するに当たってその文字パターンを
構成する基本エレメントの主体部両側の輪郭線形状を復
元する場合に、前記文字パターンデータ中の制御データ
に基づいて当該文字を構成するのに必要な基本エレメン
トを指定すると共に、指定された基本エレメントを記述
した前記標準主体部データを、当該基本エレメントを記
述した前記文字パターンデータ中のエレメントデータに
基づいて補正することによって、指定された基本エレメ
ントの主体部両側の輪郭線形状を描画するように構成さ
れていることを特徴とする高品質文字の出力装置。
12. A high-quality character output device comprising: storage means for storing font data; and control means for drawing a character pattern based on the font data read from the storage means. , A standard size is set for at least a part of a plurality of types of basic elements that form a group of character patterns including kanji, and at least both end parts are excluded for each of the standard size basic elements. The contour line shapes on both sides of the main body portion are stored as standard main body portion data composed of a combination of reference data indicating the shape of a core line passing through the middle of each contour line and a sample value indicating the width of the main body portion corresponding to the core line. 1 storage area and at least some characters of the character pattern group are decomposed into basic elements, respectively, A second storage in which a combination of control data for specifying a basic element necessary for restoration and element data expressing a difference between the specified standard size basic element is stored as character pattern data. An area and the control means restores the contour line shapes on both sides of the main body of the basic element forming the character pattern in generating the character pattern, based on the control data in the character pattern data. Designating a basic element required to form a character and correcting the standard main body data describing the designated basic element based on the element data in the character pattern data describing the basic element. Draw contour lines on both sides of the main body of the specified basic element by The output device of a high-quality character, characterized by being composed urchin.
【請求項13】 記憶手段の第1の記憶領域に記憶され
る前記文字パターンデータ中のエレメントデータは、基
本エレメントの主体部の中心を通る芯線の形状を示す座
標データと、上記主体部の幅と標準主体部データ中のサ
ンプル値により示される標準的な主体部の幅との差分を
示す差分サンプル値とを含んで表現されていることを特
徴とする請求項12記載の高品質文字の出力装置。
13. Element data in the character pattern data stored in a first storage area of a storage means includes coordinate data indicating a shape of a core line passing through a center of a main body of a basic element, and width of the main body. 13. The high quality character output according to claim 12, wherein the high quality character is represented by including a difference sample value indicating a difference between the standard subject width and a standard subject width indicated by a sample value in the standard subject data. apparatus.
【請求項14】 制御手段は、文字パターンを発生する
に当たって基本エレメントの主体部両側の輪郭線形状を
復元する場合に、 文字パターンデータ中の制御データに基づいて当該文字
を構成するのに必要な基本エレメントを指定すると共
に、指定された基本エレメントに対応した標準主体部デ
ータ中の基準データにより示される標準的な芯線の形状
を、前記文字パターンデータ中の座標データにより示さ
れる位置へ変換して変倍する操作を行うことにより指定
エレメントの芯線の形状を復元し、 指定された基本エレメントに対応した標準主体部データ
中のサンプル値に文字パターンデータ中の差分サンプル
値を加算することによって基本エレメントの主体部の幅
を復元を復元するように構成されていることを特徴とす
る請求項13記載の高品質文字の出力装置。
14. The control means is required to compose the character based on the control data in the character pattern data when the contour shape on both sides of the main body of the basic element is restored in generating the character pattern. While specifying the basic element, by converting the standard core line shape indicated by the reference data in the standard main body data corresponding to the specified basic element to the position indicated by the coordinate data in the character pattern data. The core element shape of the specified element is restored by performing the scaling operation, and the basic element is added by adding the differential sample value in the character pattern data to the sample value in the standard main body data corresponding to the specified basic element. 14. The height of claim 13 is configured to restore the width of the body of Output device of quality character.
【請求項15】 記憶手段の第1の記憶領域に記憶され
る前記文字パターンデータ中のエレメントデータは、基
本エレメントの主体部の中心を通る芯線と、前記変倍操
作により復元される芯線との差分を相対的に記述した差
分データを含んで表現され、 制御手段は、文字パターンを発生するに当たって基本エ
レメントの主体部両側の輪郭線形状を復元する場合に、
前記変倍操作により復元された芯線の形状を上記文字パ
ターンデータ中の差分データに基づいて補正することを
特徴とする請求項14記載の高品質文字の出力装置。
15. The element data in the character pattern data stored in the first storage area of the storage means includes a core line passing through the center of the main body of the basic element and a core line restored by the scaling operation. Expressed by including difference data relatively describing the difference, the control means, when generating the character pattern, when restoring the contour line shape on both sides of the main body of the basic element,
15. The high-quality character output device according to claim 14, wherein the shape of the core line restored by the scaling operation is corrected based on the difference data in the character pattern data.
【請求項16】 芯線に対応した主体部の幅を示すサン
プル値として、その芯線を表現する3次ベジェ曲線にお
けるパラメータt=0、1/3、2/3、1の各点での
主体部の幅を示す値またはその幅の1/2の値を利用す
ることを特徴とする請求項12記載の高品質文字の出力
装置。
16. A main body part at each point of parameters t = 0, 1/3, 2/3, 1 in a cubic Bezier curve representing the core line as a sample value indicating the width of the main body part corresponding to the core line. 13. The high quality character output device according to claim 12, wherein a value indicating the width of the character or a value of 1/2 of the width is used.
【請求項17】 フォントデータを記憶するための記憶
手段と、この記憶手段から読み出したフォントデータに
基づいて文字パターンを描画する制御手段とを備えた高
品質文字の出力装置において、 前記記憶手段は、 漢字を含む一群の文字パターンを構成する複数種類の基
本エレメントの少なくとも一部に対し標準となる大きさ
を設定すると共に、それら標準的大きさの基本エレメン
トの各々について、少なくとも両端部分を除いた主体部
両側の輪郭線形状を、一方の輪郭線の形状を示す基準デ
ータと当該一方の輪郭線に対応した主体部の幅を示すサ
ンプル値との組み合わせより成る標準主体部データとし
て記憶した第1の記憶領域と前記文字パターン群の少な
くとも一部の文字をそれぞれ基本エレメントに分解した
上で、その文字を復元するのに必要な基本エレメントを
特定するための制御データと、その特定された標準的大
きさの基本エレメントとの差異を表現したエレメントデ
ータとの組み合わせを文字パターンデータとして記憶し
た第2の記憶領域とを備え、 前記制御手段は、 文字パターンを発生するに当たってその文字パターンを
構成する基本エレメントの主体部両側の輪郭線形状を復
元する場合に、前記文字パターンデータ中の制御データ
に基づいて当該文字を構成するのに必要な基本エレメン
トを指定すると共に、指定された基本エレメントを記述
した前記標準主体部データを、当該基本エレメントを記
述した前記文字パターンデータ中のエレメントデータに
基づいて補正することによって、指定された基本エレメ
ントの主体部両側の輪郭線形状を描画するように構成さ
れていることを特徴とする高品質文字の出力装置。
17. A high-quality character output device comprising: storage means for storing font data; and control means for drawing a character pattern based on the font data read from the storage means. , A standard size is set for at least a part of a plurality of types of basic elements that form a group of character patterns including kanji, and at least both end parts are excluded for each of the standard size basic elements. The contour shape on both sides of the main body is stored as standard main body data that is a combination of reference data indicating the shape of one contour line and a sample value indicating the width of the main body corresponding to the one contour line. Storage area and at least some characters of the character pattern group are decomposed into basic elements, respectively, and then the characters are restored. A second storage area in which a combination of control data for specifying a basic element necessary for the operation and element data expressing a difference between the specified basic element and the specified basic size is stored as character pattern data. In the case of generating a character pattern, the control means, when restoring the contour line shape on both sides of the main body of the basic element forming the character pattern, controls the character based on the control data in the character pattern data. By specifying the basic element necessary to configure, the standard main body data describing the specified basic element, by correcting based on the element data in the character pattern data describing the basic element, It is configured to draw the contour line shapes on both sides of the main body of the specified basic element. A high quality character output device characterized by being made.
【請求項18】 記憶手段の第1の記憶領域に記憶され
る前記文字パターンデータ中のエレメントデータは、基
本エレメントの主体部両側の輪郭線のうちの一方の輪郭
線の形状を示す座標データと、上記主体部の幅と標準主
体部データ中のサンプル値により示される標準的な主体
部の幅との差分を示す差分サンプル値とを含んで表現さ
れていることを特徴とする請求項17記載の高品質文字
の出力装置。
18. The element data in the character pattern data stored in the first storage area of the storage means is coordinate data indicating the shape of one of the contour lines on both sides of the main body of the basic element. 18. The differential sample value indicating the difference between the width of the main body portion and the width of the standard main body portion indicated by the sample value in the standard main body portion data is expressed. High quality character output device.
【請求項19】 制御手段は、文字パターンを発生する
に当たって基本エレメントの主体部両側の輪郭線形状を
復元する場合に、 文字パターンデータ中の制御データに基づいて当該文字
を構成するのに必要な基本エレメントを指定すると共
に、指定された基本エレメントに対応した標準主体部デ
ータ中の基準データにより示される標準的な輪郭線の形
状を、前記文字パターンデータ中の座標データにより示
される位置へ変換して変倍する操作を行うことにより指
定エレメントの一方の輪郭線の形状を復元し、 指定された基本エレメントに対応した標準主体部データ
中のサンプル値に文字パターンデータ中の差分サンプル
値を加算することによって基本エレメントの主体部の幅
を復元を復元するように構成されていることを特徴とす
る請求項18記載の高品質文字の出力装置。
19. The control means is required to compose the character based on the control data in the character pattern data when the contour shape on both sides of the main body of the basic element is restored in generating the character pattern. While specifying the basic element, the standard contour shape indicated by the reference data in the standard main body data corresponding to the specified basic element is converted into the position indicated by the coordinate data in the character pattern data. The contour shape of one of the specified elements is restored by performing the scaling operation, and the difference sample value in the character pattern data is added to the sample value in the standard main body data corresponding to the specified basic element. The width of the main part of the basic element is thereby restored so as to restore the width. The output device of a high-quality character described.
【請求項20】 記憶手段の第1の記憶領域に記憶され
る前記文字パターンデータ中のエレメントデータは、基
本エレメントの主体部両側の輪郭線のうちの一方の輪郭
線と、前記変倍操作により復元される輪郭線との差分を
相対的に記述した差分データを含んで表現され、 制御手段は、文字パターンを発生するに当たって基本エ
レメントの主体部両側の輪郭線形状を復元する場合に、
前記変倍操作により復元された輪郭線の形状を上記文字
パターンデータ中の差分データに基づいて補正すること
を特徴とする請求項19記載の高品質文字の出力装置。
20. The element data in the character pattern data stored in the first storage area of the storage means includes one of the contour lines on both sides of the main body of the basic element and the scaling operation. It is expressed by including difference data relatively describing the difference from the restored contour line, and the control means, when generating the character pattern, restores the contour shape on both sides of the main body of the basic element,
20. The high-quality character output device according to claim 19, wherein the contour shape restored by the scaling operation is corrected based on the difference data in the character pattern data.
【請求項21】 一方の輪郭線に対応した主体部の幅を
示すサンプル値として、その輪郭線を表現する3次ベジ
ェ曲線におけるパラメータt=0、1/3、2/3、1
の各点での主体部の幅を示す値を利用することを特徴と
する請求項17記載の高品質文字の出力装置。
21. A parameter t = 0, 1/3, 2/3, 1 in a cubic Bezier curve expressing a contour line as a sample value indicating the width of a main body portion corresponding to one contour line.
18. The high-quality character output device according to claim 17, wherein a value indicating the width of the main body portion at each point is used.
【請求項22】 記憶手段は、基本エレメントの両端部
分の輪郭線形状を複数の座標点情報を備えたアウトライ
ン方式により記述して成る細部形状データを記憶し、 制御手段は、前記基本エレメントの両端部分の輪郭線形
状の描画を前記細部形状データに基づいて行うことを特
徴とする請求項12または17記載の高品質文字の出力
装置。
22. The storage means stores detailed shape data in which contour shapes of both end portions of the basic element are described by an outline method having a plurality of coordinate point information, and the control means stores both end portions of the basic element. 18. The high quality character output device according to claim 12, wherein the contour line shape of the portion is drawn based on the detailed shape data.
JP5286410A 1993-11-16 1993-11-16 High-quality character pattern generation method and high-quality character output device Pending JPH07137340A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5286410A JPH07137340A (en) 1993-11-16 1993-11-16 High-quality character pattern generation method and high-quality character output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5286410A JPH07137340A (en) 1993-11-16 1993-11-16 High-quality character pattern generation method and high-quality character output device

Publications (1)

Publication Number Publication Date
JPH07137340A true JPH07137340A (en) 1995-05-30

Family

ID=17704042

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5286410A Pending JPH07137340A (en) 1993-11-16 1993-11-16 High-quality character pattern generation method and high-quality character output device

Country Status (1)

Country Link
JP (1) JPH07137340A (en)

Similar Documents

Publication Publication Date Title
JP4693660B2 (en) Drawing apparatus, drawing method, and drawing program
KR970008546B1 (en) Character or graphic processing method
JP3145509B2 (en) Character generation method and device
JP3037854B2 (en) Character generation method and device
JP2828592B2 (en) Kerning treatment method
JP4143613B2 (en) Drawing method and drawing apparatus
EP0461811A2 (en) Pattern processing method
JPH07137340A (en) High-quality character pattern generation method and high-quality character output device
KR100361387B1 (en) Polygon drawing method and polygon drawing apparatus
JPH04280296A (en) Contour data processing device
JPH06332429A (en) Generating method for high quality character pattern and output device for high quality character
JPH0823741B2 (en) How to process vector characters or graphics
JPH0934437A (en) Generating method of character pattern and character output device
JP2782752B2 (en) Character pattern output device
JP2782904B2 (en) Polygon fill method
JP2006284980A (en) Character image forming apparatus, character image forming method, and program for making computer execute character image forming method
JP2000259845A (en) Method and device for plotting polygon
JPH06332430A (en) Generating method for high quality character pattern and output device for high quality character
JPH03139697A (en) Displaying method for mixed-mode document
JPH07160242A (en) Character generator
JPH05313634A (en) Outline font developing device
JPH096311A (en) Outline font plotting device
JPH04223495A (en) Character signal generator
JPH0934433A (en) Output device of high quality character and making method of high quality character pattern data for the output device
JPH07104725A (en) Deformation control system for character