JP3254770B2 - Round character generator - Google Patents

Round character generator

Info

Publication number
JP3254770B2
JP3254770B2 JP32988392A JP32988392A JP3254770B2 JP 3254770 B2 JP3254770 B2 JP 3254770B2 JP 32988392 A JP32988392 A JP 32988392A JP 32988392 A JP32988392 A JP 32988392A JP 3254770 B2 JP3254770 B2 JP 3254770B2
Authority
JP
Japan
Prior art keywords
character
angle
character font
coordinate
font data
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.)
Expired - Fee Related
Application number
JP32988392A
Other languages
Japanese (ja)
Other versions
JPH06161422A (en
Inventor
伸 三国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP32988392A priority Critical patent/JP3254770B2/en
Publication of JPH06161422A publication Critical patent/JPH06161422A/en
Application granted granted Critical
Publication of JP3254770B2 publication Critical patent/JP3254770B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、ワードプロセッサ等
において、文字フォントを丸く変形させた丸文字を発生
する丸文字発生装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a round character generator for generating a round character in which a character font is rounded in a word processor or the like.

【0002】[0002]

【従来の技術】従来、ワードプロセッサにおいては、文
書中の一部の文字を強調したり、個性的で表現豊かな文
字を得る為に、文字フォントを変形して出力する文字変
形装置が知られている。この文字変形装置は、例えば、
文字フォントを傾けて「斜体文字」を発生したり、文字
フォントを回転させて「回転文字」を発生する。
2. Description of the Related Art Conventionally, in a word processor, there has been known a character transformation device which transforms a character font and outputs it in order to emphasize a part of characters in a document or to obtain a unique and expressive character. I have. This character transformation device, for example,
Tilt the character font to generate "italic characters", or rotate the character font to generate "rotated characters".

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
文字変形装置は「斜体」や「回転」など、その変形は極
めて単純なものであり、文字の持つ印象まで大きく変え
たような変形文字を得ることができないという欠点があ
った。この発明の課題は、魚眼レンズを覗いたときの様
に文字を曲線的に丸く変形させた丸文字を数値計算によ
って発生できるようにすることである。
However, in the conventional character transformation apparatus, the transformation such as "slanting" and "rotation" is extremely simple, and a transformed character which greatly changes the impression of the character is obtained. There was a drawback that it was not possible. SUMMARY OF THE INVENTION An object of the present invention is to make it possible to generate a round character obtained by numerically calculating a round character in which a character is curved and rounded as if looking through a fisheye lens.

【0004】[0004]

【課題を解決するための手段】第1の発明の手段は次の
通りである。 (1)、文字フォントデータ記憶手段は文字を構成する
データが座標列で表わされている文字フォントデータを
記憶するフォントメモリである。 (2)、角度測定手段はこの文字フォントデータ記憶手
段から出力対象として読み出された文字フォントデータ
をXY平面に展開し、このXY平面に対して垂直なZ軸
上の任意の点を測定点とした場合に、この測定点から文
字フォントデータを構成する各座標点を見たZ軸とのな
す角度をそれぞれ第1の角度データとして求めると共
に、XY平面の中心から文字フォントデータを構成する
各座標点を見たX軸あるいはY軸とのなす角度をそれぞ
れ第2の角度データとして求める。 (3)、座標変換手段はこの角度測定手段によって求め
られた第1および第2の角度データを、第1の角度が中
心からの距離を表わす様な極座標系に変換したのち、こ
の極座標によって表わされた各点をXY座標に変換す
る。 (4)、サイズ変換手段はこの座標変換手段によって得
られたXY座標系の文字フォントデータをXY平面の中
心からZ軸上の測定点までの距離に応じた大きさに変換
する。第2の発明の手段は次の通りである。この発明は
上述した(1)、文字フォントデータ記憶手段、
(2)、角度測定手段、(3)、座標変換手段、
(4)、サイズ変換手段の他、更に(5)、距離指定手
段を備えて成るものである。 (5)、距離指定手段は前記XY平面の中心からZ軸上
の測定点までの距離を任意に指定するキー入力装置等で
ある。
The means of the first invention is as follows. (1) The character font data storage means is a font memory for storing character font data in which data constituting a character is represented by a coordinate sequence. (2) The angle measuring means expands the character font data read out from the character font data storage means as an output target on an XY plane, and determines an arbitrary point on the Z axis perpendicular to the XY plane as a measuring point. In this case, the angle between each of the coordinate points constituting the character font data and the Z-axis at which the character font data is viewed from this measurement point is determined as first angle data, and the respective characters constituting the character font data from the center of the XY plane are obtained. The angle formed between the coordinate point and the X axis or the Y axis as viewed is determined as second angle data. (3) The coordinate conversion means converts the first and second angle data obtained by the angle measurement means into a polar coordinate system in which the first angle represents a distance from the center, and then expresses the data using the polar coordinates. The given points are converted into XY coordinates. (4) The size conversion means converts the character font data of the XY coordinate system obtained by the coordinate conversion means into a size corresponding to the distance from the center of the XY plane to the measurement point on the Z axis. The means of the second invention is as follows. According to the present invention, there is provided (1) a character font data storage unit,
(2), angle measurement means, (3), coordinate conversion means,
(4) In addition to the size conversion means, the apparatus further comprises (5) a distance designation means. (5) The distance designating means is a key input device or the like for arbitrarily designating the distance from the center of the XY plane to the measurement point on the Z axis.

【0005】[0005]

【作用】第1の発明の手段の作用は次の通りである。い
ま、任意の文字を出力対象として指定すると共に、その
文字を丸文字に変形すべきことを指定すると、角度測定
手段はこの文字フォントデータ記憶手段から出力対象と
して読み出された文字フォントデータをXY平面に展開
し、このXY平面に対して垂直なZ軸上の任意の点を測
定点とした場合に、この測定点から文字フォントデータ
を構成する各座標点を見たZ軸とのなす角度をそれぞれ
第1の角度データとして求めると共に、XY平面の中心
から文字フォントデータを構成する各座標点を見たX軸
あるいはY軸とのなす角度をそれぞれ第2の角度データ
として求める。次に、座標変換手段はこの角度測定手段
によって求められた第1および第2の角度データを、第
1の角度が中心からの距離を表わす様な極座標系に変換
したのち、この極座標によって表わされた各点をXY座
標に変換する。更に、サイズ変換手段はこの座標変換手
段によって得られたXY座標系の文字フォントデータを
XY平面の中心からZ軸上の測定点までの距離に応じた
大きさに変換する。第2の発明の手段の作用は次の通り
である。いま、任意の文字を出力対象として指定すると
共に、その文字を丸文字に変形すべきことを指定する。
更に、距離指定手段によってXY平面の中心からZ軸上
の測定点までの距離を任意に指定する。すると、角度測
定手段はこの文字フォントデータ記憶手段から出力対象
として読み出された文字フォントデータをXY平面に展
開し、このXY平面に対して垂直なZ軸上の任意の点を
測定点とした場合に、この測定点から文字フォントデー
タを構成する各座標点を見たZ軸とのなす角度をそれぞ
れ第1の角度データとして求めると共に、XY平面の中
心から文字フォントデータを構成する各座標点を見たX
軸あるいはY軸とのなす角度をそれぞれ第2の角度デー
タとして求める。次に、座標変換手段はこの角度測定手
段によって求められた第1および第2の角度データを、
第1の角度が中心からの距離を表わす様な極座標系に変
換したのち、この極座標によって表わされた各点をXY
座標に変換する。更に、サイズ変換手段はこの座標変換
手段によって得られたXY座標系の文字フォントデータ
をXY平面の中心からZ軸上の測定点までの距離に応じ
た大きさに変換する。したがって、魚眼レンズを覗いた
ときの様に文字を曲線的に丸く変形させた丸文字を数値
計算によって発生することができる。
The operation of the means of the first invention is as follows. Now, if an arbitrary character is designated as an output target and it is designated that the character should be transformed into a round character, the angle measuring means reads the character font data read out from the character font data storage means as an XY character. When an arbitrary point on the Z axis perpendicular to the XY plane is defined as a measurement point, the angle formed by each coordinate point constituting the character font data from the measurement point with respect to the Z axis Are obtained as first angle data, and the angle between each of the coordinate points constituting the character font data and the X axis or Y axis as viewed from the center of the XY plane is obtained as second angle data. Next, the coordinate conversion means converts the first and second angle data obtained by the angle measurement means into a polar coordinate system in which the first angle represents the distance from the center, and then expresses the coordinates using the polar coordinates. The obtained points are converted into XY coordinates. Further, the size conversion means converts the character font data of the XY coordinate system obtained by the coordinate conversion means into a size corresponding to the distance from the center of the XY plane to the measurement point on the Z axis. The operation of the means of the second invention is as follows. Now, an arbitrary character is designated as an output target, and that the character is to be transformed into a circle character is designated.
Further, the distance from the center of the XY plane to the measurement point on the Z axis is arbitrarily specified by the distance specifying means. Then, the angle measuring means expands the character font data read out from the character font data storing means as an output target on an XY plane, and sets an arbitrary point on the Z axis perpendicular to the XY plane as a measuring point. In this case, an angle between each of the coordinate points constituting the character font data and the Z axis when the coordinate points constituting the character font data are obtained from the measurement point is obtained as first angle data, and each coordinate point constituting the character font data from the center of the XY plane is obtained. X that saw
An angle between the axis and the Y axis is obtained as second angle data. Next, the coordinate conversion means converts the first and second angle data obtained by the angle measurement means into
After conversion to a polar coordinate system in which the first angle represents the distance from the center, each point represented by the polar coordinates is converted to XY.
Convert to coordinates. Further, the size conversion means converts the character font data of the XY coordinate system obtained by the coordinate conversion means into a size corresponding to the distance from the center of the XY plane to the measurement point on the Z axis. Therefore, it is possible to generate a round character obtained by numerically calculating a round character in which a character is rounded in a curved manner as when looking through a fisheye lens.

【0006】[0006]

【実施例】以下、図1〜図9を参照して一実施例を説明
する。図1は丸文字発生装置のブロック構成図である。
アウトラインフォントデータA格納部1は文字を構成す
るデータが座標列で表わされている文字フォントデータ
(アウトラインフォントデータ)を記憶するメモリで、
この文字フォントデータは丸文字発生装置の外部より出
力対象として指定されてアウトラインフォントデータA
格納部1に格納されたものである。このアウトラインフ
ォントデータA格納部1内の文字フォントデータは座標
変換装置2に取り込まれて処理される。
An embodiment will be described below with reference to FIGS. FIG. 1 is a block diagram showing the configuration of the round character generator.
The outline font data A storage unit 1 is a memory for storing character font data (outline font data) in which data constituting a character is represented by a coordinate sequence.
This character font data is designated as an output target from outside the round character generator and the outline font data A
It is stored in the storage unit 1. The character font data in the outline font data A storage unit 1 is taken into the coordinate conversion device 2 and processed.

【0007】座標変換装置2はアウトラインフォントデ
ータA格納部1から読み取った文字フォントデータをX
Y平面に展開し、このXY平面に対して垂直なZ軸上の
任意の点を測定点とした場合に、この測定点から文字フ
ォントデータを構成する各座標点を見たZ軸とのなす角
度(以下、Z角度と称する)をそれぞれ求めると共に、
XY平面の中心から文字フォントデータを構成する各座
標点を見たX軸とのなす角度(以下、X角度と称する)
をそれぞれ求める。ここで、座標変換装置2は前記XY
平面に対して垂直なZ軸上の任意の点を測定点として定
める場合に、距離レジスタ3に予め設定されている距離
データを参照し、この距離データにしたがってZ軸上に
測定点を設定する。なお、距離レジスタ3内の距離デー
タは使用者がキー操作等によって任意に丸文字発生装置
の外部より設定したものである。
The coordinate conversion device 2 converts the character font data read from the outline font data A
When an arbitrary point on the Z axis perpendicular to the XY plane is set as a measurement point on the Y plane, the coordinate point forming the character font data is formed from the measurement point with the Z axis. Each angle (hereinafter referred to as Z angle) is obtained,
An angle between each coordinate point constituting the character font data and the X axis when viewed from the center of the XY plane (hereinafter referred to as X angle)
Respectively. Here, the coordinate conversion device 2 uses the XY
When an arbitrary point on the Z-axis perpendicular to the plane is determined as a measurement point, reference is made to distance data preset in the distance register 3 and a measurement point is set on the Z-axis according to the distance data. . The distance data in the distance register 3 is arbitrarily set by the user from the outside of the character generator by key operation or the like.

【0008】また、座標変換装置2は上述の様にして求
めたZ角度およびX角度を、Z角度が中心からの角度を
表わす様な極座標系に変換したのち、この極座標によっ
て表わされた各点をXY座標値に変換し、正規化用比例
計算器4に与える。一方、座標変換装置2は上述の様に
して座標変換を行ったのちの文字枠に対応する四隅の隅
点座標を隅点記憶部5に与える。
The coordinate conversion device 2 converts the Z angle and the X angle obtained as described above into a polar coordinate system in which the Z angle represents an angle from the center, and then converts each coordinate represented by the polar coordinates. The points are converted into XY coordinate values and given to the normalization proportional calculator 4. On the other hand, the coordinate conversion device 2 provides the corner storage unit 5 with the coordinates of the four corners corresponding to the character frame after the coordinate conversion as described above.

【0009】正規化用比例計算器4は隅点座標発生器6
から発生された隅点座標と隅点記憶部5に格納されてい
る隅点座標とを比較し、両者が一致するように倍率を求
め、この倍率を座標変換装置2によって変換された後の
XY座標値に乗算し、その結果をアウトラインフォント
データB格納部7に書き込む。なお、隅点座標発生器6
はアウトラインフォントデータA格納部1に記憶されて
いる元の文字フォントの枠に対応してその四隅の隅点座
標を発生するものである。
The normalizing proportional calculator 4 comprises a corner coordinate generator 6
Is compared with the corner coordinates stored in the corner point storage unit 5 and a magnification is determined so that the two coincide with each other. The coordinate value is multiplied, and the result is written in the outline font data B storage 7. The corner coordinate generator 6
Generates coordinates of the four corners corresponding to the frame of the original character font stored in the outline font data A storage unit 1.

【0010】アウトラインフォントデータB格納部7は
丸文字に変形された後の文字フォントデータを記憶する
もので、この文字フォントデータは丸文字発生装置の外
部にある出力装置(表示装置や印刷装置)に送られて出
力される。
The outline font data B storage unit 7 stores character font data after being transformed into round characters. This character font data is stored in an output device (display device or printing device) external to the round character generating device. Is sent to and output.

【0011】次に、本実施例の動作を説明する。先ず、
使用者は任意の文字を出力対象として指定すると共に、
その文字を丸文字に変形すべきことを指定すると、指定
された文字フォントデータはアウトラインフォントデー
タA格納部1に記憶される。また、使用者はどの程度の
丸文字に変形すべきかを示す距離データを入力指定する
と、入力指定された距離データは距離レジスタ3に記憶
される。
Next, the operation of this embodiment will be described. First,
The user specifies any character as the output target,
When it is specified that the character should be transformed into a round character, the specified character font data is stored in the outline font data A storage unit 1. When the user inputs and designates distance data indicating how much rounded characters should be transformed, the inputted and designated distance data is stored in the distance register 3.

【0012】この状態において、丸文字発生装置の外部
からの起動命令にしたがって座標変換装置2および正規
化用比例計算器4が動作し、距離レジスタ3に設定され
ている距離データに応じた変形度合でアウトラインフォ
ントデータA格納部1内の文字フォントデータが丸文字
に変形されてアウトラインフォントデータB格納部7に
書き込まれる。
In this state, the coordinate conversion device 2 and the normalizing proportional calculator 4 operate in accordance with a start command from outside the round character generator, and the degree of deformation corresponding to the distance data set in the distance register 3. Then, the character font data in the outline font data A storage unit 1 is transformed into a round character and written into the outline font data B storage unit 7.

【0013】即ち、先ず、座標変換装置2は次の如く動
作する。ここで、図2は座標変換装置2が座標計算を行
うときに用いられる座標系を示したものである。いま、
アウトラインフォントデータA格納部1内の文字フォン
トデータをXY平面上に展開し、このXY平面の中心を
通り、XY平面に対して垂直な方向にZ軸を設け、この
Z軸上においてXY平面の中心から距離レジスタ3に設
定されている距離だけ離れた点を測定点としたものとす
る。この場合、XY平面上の文字フォントデータの中心
はXY平面の原点(X=0、Y=0)にあり、この文字
フォントの収まる枠の四隅は原点からの距離がそれぞれ
等しくなるようにとってあり、Z軸上の測定点から隅点
を見たZ軸とのなす角度は、Θで表わされる。
That is, first, the coordinate conversion device 2 operates as follows. Here, FIG. 2 shows a coordinate system used when the coordinate conversion device 2 performs coordinate calculation. Now
The character font data in the outline font data A storage unit 1 is developed on an XY plane, and a Z axis is provided in a direction passing through the center of the XY plane and perpendicular to the XY plane. A point away from the center by the distance set in the distance register 3 is assumed to be a measurement point. In this case, the center of the character font data on the XY plane is at the origin (X = 0, Y = 0) of the XY plane, and the four corners of the frame in which this character font fits are set so that the distances from the origin are equal. The angle formed by the corner point from the measurement point on the Z axis and the Z axis is represented by 表 わ.

【0014】ここで、座標変換装置2はアウトラインフ
ォントデータA格納部1内の文字フォントデータを構成
する各座標点をZ軸上の測定点から見たものとすると、
Z軸とのなす角度θを求めると共に、XY平面の中心か
ら文字フォントデータを構成する各座標点を見たX軸と
のなす角度αを計算する。
Here, the coordinate conversion device 2 assumes that each coordinate point constituting the character font data in the outline font data A storage unit 1 is viewed from a measurement point on the Z axis.
The angle θ between the Z axis and the X axis is determined, and the angle α between the X axis and each coordinate point forming the character font data is calculated from the center of the XY plane.

【0015】このようにして求めたZ軸とのなす角度θ
とX軸とのなす角度αを図3に示す座標系に配置しなお
す。この座標系は極座標で表わされ、角度θがこの座標
系の中心からの距離を表わしている。なお、θ=45°
で文字枠は約96×96ドットサイズ、θ=30°で約
2/3(96×96)ドットサイズとなるこの座標系に
はもう1つ中心をX=0、Y=0とする直交座標が設け
てあり、座標変換装置2は極座標で表わされた各点をX
Y座標値に変換する。このXY座標値が座標変換装置2
の出力となり、次の正規化用比例計算器4に送られる。
The angle θ formed with the Z axis thus obtained
And the X-axis are rearranged in the coordinate system shown in FIG. This coordinate system is represented by polar coordinates, and the angle θ represents the distance from the center of the coordinate system. Note that θ = 45 °
In this coordinate system, the character frame has a size of about 96 × 96 dots and θ = 30 ° has a size of about / (96 × 96) dots. Are provided, and the coordinate conversion device 2 converts each point represented by polar coordinates into X
Convert to Y coordinate value. This XY coordinate value is used as the coordinate conversion device 2
And is sent to the next normalization proportional calculator 4.

【0016】すると、正規化用比例計算器4は隅点座標
発生器6から発生された隅点座標と隅点記憶部5に格納
されている隅点座標とに基づいて元の文字フォントサイ
ズの変更を行う。ここで、例えば魚眼レンズを覗いた場
合、遠くの映像は小さく、近くの映像は大きくなってし
まい、このことは文字の大きさが変形率によって変わっ
てしまうことを意味する。それを解決するのが正規化用
比例計算器4、隅点座標発生器6である。
Then, the normalizing proportional calculator 4 calculates the original character font size based on the corner coordinates generated from the corner coordinate generator 6 and the corner coordinates stored in the corner storage unit 5. Make changes. Here, for example, when looking into the fisheye lens, a far image is small and a near image is large, which means that the size of the character changes depending on the deformation ratio. The normalizing proportional calculator 4 and the corner coordinate generator 6 solve this problem.

【0017】即ち、隅点座標発生器6は元の文字フォン
トが収まる枠の四隅の隅点座標を発生するもので、この
元の文字フォントの隅点座標は座標変換装置2によって
変換されて隅点記憶部5に格納される。すると、正規化
用比例計算器4は隅点座標発生部6から発生された隅点
座標と隅点記憶部5に格納されている隅点座標とを比較
し、両者の隅点座標が一致するように倍率を求め、この
倍率を座標変換装置2によって変換された後のXY座標
値に乗算することにより、元の文字フォントと対角線の
長さが同じであるような、つまり、大きさの変わらない
変形文字を得ることができる。この場合、文字の高さや
幅は拡がり、全体的に大きくなる。
That is, the corner coordinate generator 6 generates the corner coordinates of the four corners of the frame in which the original character font is accommodated. It is stored in the point storage unit 5. Then, the normalizing proportional calculator 4 compares the corner coordinates generated by the corner coordinate generation unit 6 with the corner coordinates stored in the corner storage unit 5, and the two corner coordinate values match. By multiplying the magnification by the XY coordinate value converted by the coordinate conversion device 2, the diagonal length is the same as that of the original character font. No deformed characters can be obtained. In this case, the height and width of the character are expanded, and the overall size is increased.

【0018】これによってアウトラインフォントデータ
B格納部7内には丸文字に変形された丸文字フォントが
生成される。このアウトラインフォントデータB格納部
7内の丸文字フォントは出力装置に送られて表示出力さ
れたり、印刷出力される。ここで、丸文字変形なしを指
定した場合、つまり元の文字フォント(漢字1文字の
「国」)の出力例を示している。これに対し、図5は図
4で示した元の文字フォントを紙面から距離=128m
mだけ離れて魚眼レンズを覗いたときに見える様な映像
に変形すべきことを指定した場合に生成された丸文字フ
ォントの出力例を示している。また、図6は図4で示し
た元の文字フォントを紙面から距離=54mmだけ離れ
て魚眼レンズを覗いたときに見える様な映像に変形すべ
きことを指定した場合に生成された丸文字フォントの出
力例を示している。この場合、図6に示す丸文字フォン
トは図5の丸文字フォントに比べて大きく変形してい
る。
As a result, a circle character font transformed into a circle character is generated in the outline font data B storage unit 7. The round character font in the outline font data B storage unit 7 is sent to an output device for display output or print output. Here, an example of outputting the original character font (one kanji character “country”) when no round character deformation is designated is shown. In contrast, FIG. 5 shows the original character font shown in FIG.
An output example of a round character font generated when an image to be transformed into an image that can be seen when looking through a fisheye lens at a distance of m is specified. FIG. 6 shows a circular character font generated when specifying that the original character font shown in FIG. 4 should be transformed into an image that can be seen when looking through a fisheye lens at a distance of 54 mm from the paper surface. An output example is shown. In this case, the circular character font shown in FIG. 6 is greatly deformed compared to the circular character font of FIG.

【0019】なお、上述の出力例では漢字1文字を丸文
字に変形する場合を示したが、予めアウトラインフォン
トデータA格納部1内に2文字分の文字フォントデータ
を同時に格納しておけば、2文字分の丸文字フォントを
同時に生成することができる。ここで、図7は丸文字変
形なしを指定した場合、つまり、元の文字フォント(漢
字2文字の「福笑」)の出力例を示している。これに対
し、図8は図7で示した元の文字フォントを紙面から距
離=78mmだけ離れて魚眼レンズを覗いたときに見え
る様な映像に変形すべきことを指定した場合に生成され
た2文字分の丸文字フォントの出力例を示している。図
9は図7で示した元の文字フォントを紙面から距離=4
2mmだけ離れて魚眼レンズを覗いたときに見える様な
映像に変形すべきことを指定した場合に生成された2文
字分の丸文字フォントの出力例を示している。
In the above output example, a case where one kanji character is transformed into a round character is shown. However, if character font data for two characters is stored in the outline font data A storage unit 1 at the same time, It is possible to generate two round character fonts at the same time. Here, FIG. 7 shows an example in which no round character deformation is specified, that is, an output example of the original character font (two kanji characters “Fukusho”). On the other hand, FIG. 8 shows two characters generated when the original character font shown in FIG. 7 is specified to be transformed into an image that can be seen when looking at the fisheye lens at a distance of 78 mm from the paper surface. An output example of a round character font is shown. FIG. 9 shows the original character font shown in FIG.
An output example of a two-character round character font generated when it is specified that the image should be transformed into an image that can be seen when looking through a fisheye lens at a distance of 2 mm.

【0020】更に、2文字分の文字フォントを同時に丸
文字に変形する場合に限らず、3文字以上の文字フォン
トを同時に丸文字に変形するようにしてもよい。
Further, the present invention is not limited to the case where two character fonts are simultaneously transformed into round characters, and three or more character fonts may be simultaneously transformed into round characters.

【0021】また、上記実施例において正規化用比例計
算器4は隅点記憶部5内の座標が隅点座標発生器6で発
生された座標と一致するような倍率を座標変換装置2か
らのXY座標値に乗算することにより、元の文字フォン
トと大きさが変わらない丸文字を得ることができるが、
この場合、文字の高さや幅は拡がり、全体的に大きくな
る為、例えば、隅点座標発生器6が発生する座標を文字
枠の上辺の中央にとれば高さを一定にすることも出来、
この場合、四隅が収縮して全体的に小さくなる傾向をと
る。
In the above-described embodiment, the normalizing proportional calculator 4 calculates a magnification from the coordinate conversion device 2 such that the coordinates in the corner point storage unit 5 match the coordinates generated by the corner point coordinate generator 6. By multiplying the XY coordinate values, it is possible to obtain a round character whose size does not change from the original character font,
In this case, since the height and width of the character are widened and increased as a whole, for example, if the coordinates generated by the corner coordinate generator 6 are set at the center of the upper side of the character frame, the height can be made constant.
In this case, the four corners tend to shrink and become smaller overall.

【0022】[0022]

【発明の効果】この発明によれば、魚眼レンズを覗いた
ときの様に文字を曲線的に丸く変形させた丸文字を数値
計算によって発生することができるので、滑らかで表現
豊かな丸文字を得ることが可能となる。
According to the present invention, it is possible to generate a round character obtained by numerically calculating a round character in which a character is curved and round as if looking through a fish-eye lens, thereby obtaining a smooth and expressive round character. It becomes possible.

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

【図1】実施例に係る丸文字発生装置のブロック構成
図。
FIG. 1 is a block configuration diagram of a round character generation device according to an embodiment.

【図2】座標変換装置2が用いる計算の為の座標系を示
した図。
FIG. 2 is a diagram showing a coordinate system for calculation used by a coordinate conversion device 2.

【図3】丸文字を生成する時に用いられる座標系を示し
た図。
FIG. 3 is a diagram showing a coordinate system used when generating a round character.

【図4】変形なしを指定した場合の文字フォント(元の
文字フォント)の出力例を示した図。
FIG. 4 is a diagram showing an output example of a character font (original character font) when no deformation is specified;

【図5】図4で示した元の文字フォントをある程度変形
した場合の丸文字フォントの出力例を示した図。
FIG. 5 is a diagram showing an output example of a round character font when the original character font shown in FIG. 4 is deformed to some extent.

【図6】図4で示した元の文字フォントを大きく変形し
た場合の丸文字フォントの出力例を示した図。
6 is a diagram showing an output example of a round character font when the original character font shown in FIG. 4 is greatly deformed.

【図7】変形なしを指定した場合の文字フォント(元の
文字フォント)の出力例を示した図。
FIG. 7 is a diagram illustrating an output example of a character font (original character font) when no deformation is specified;

【図8】図7で示した元の文字フォントを2文字分同時
にある程度変形した場合の丸文字フォントの出力例を示
した図。
FIG. 8 is a diagram showing an output example of a round character font when the original character font shown in FIG. 7 is simultaneously deformed to some extent by two characters;

【図9】図7で示した元の文字フォントを2文字分同時
に大きく変形した場合の丸文字フォントの出力例を示し
た図。
FIG. 9 is a diagram showing an output example of a round character font when the original character font shown in FIG. 7 is greatly deformed at the same time for two characters.

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

1 アウトラインフォントデータA格納部 2 座標変換装置 3 距離レジスタ 4 正規化用比例計算器 5 隅点記憶部 6 隅点座標発生器 7 アウトラインフォントデータB格納部 DESCRIPTION OF SYMBOLS 1 Outline font data A storage unit 2 Coordinate conversion device 3 Distance register 4 Normalization proportional calculator 5 Corner storage unit 6 Corner coordinate generator 7 Outline font data B storage unit

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】文字を構成するデータが座標列で表わされ
ている文字フォントデータを記憶する文字フォントデー
タ記憶手段と、 この文字フォントデータ記憶手段から出力対象として読
み出された文字フォントデータをXY平面に展開し、こ
のXY平面に対して垂直なZ軸上の任意の点を測定点と
した場合に、この測定点から文字フォントデータを構成
する各座標点を見たZ軸とのなす角度をそれぞれ第1の
角度データとして求めると共に、XY平面の中心から文
字フォントデータを構成する各座標点を見たX軸あるい
はY軸とのなす角度をそれぞれ第2の角度データとして
求める角度測定手段と、 この角度測定手段によって求められた第1および第2の
角度データを、第1の角度が中心からの距離を表わす様
な極座標系に変換したのち、この極座標によって表わさ
れた各点をXY座標に変換する座標変換手段と、 この座標変換手段によって得られたXY座標系の文字フ
ォントデータをXY平面の中心からZ軸上の測定点まで
の距離に応じた大きさに変換するサイズ変換手段と、 を具備したことを特徴とする丸文字発生装置。
1. A character font data storage means for storing character font data in which data constituting a character is represented by a coordinate sequence, and character font data read out from the character font data storage means as an output target. When an arbitrary point on the Z axis perpendicular to the XY plane is set as a measurement point on the XY plane, the coordinate points forming the character font data are formed from the measurement point with the Z axis. Angle measuring means for determining each angle as first angle data, and determining each angle between the X axis or the Y axis as viewed from each coordinate point constituting the character font data from the center of the XY plane as second angle data. After converting the first and second angle data obtained by the angle measuring means into a polar coordinate system in which the first angle represents a distance from the center, Coordinate conversion means for converting each point represented by polar coordinates into XY coordinates; and character font data in the XY coordinate system obtained by the coordinate conversion means in a distance from the center of the XY plane to a measurement point on the Z axis. And a size converting means for converting the size to a corresponding size.
【請求項2】更に、前記XY平面の中心からZ軸上の測
定点までの距離を任意に指定する距離指定手段を備え、
この距離指定手段によって指定された距離に応じて丸文
字の変形度合を変更するようにしたことを特徴とする請
求項1記載の丸文字発生装置。
And a distance designating means for arbitrarily designating a distance from a center of the XY plane to a measurement point on a Z axis.
2. The round character generating device according to claim 1, wherein the degree of deformation of the round character is changed according to the distance specified by the distance specifying means.
JP32988392A 1992-11-17 1992-11-17 Round character generator Expired - Fee Related JP3254770B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32988392A JP3254770B2 (en) 1992-11-17 1992-11-17 Round character generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32988392A JP3254770B2 (en) 1992-11-17 1992-11-17 Round character generator

Publications (2)

Publication Number Publication Date
JPH06161422A JPH06161422A (en) 1994-06-07
JP3254770B2 true JP3254770B2 (en) 2002-02-12

Family

ID=18226319

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32988392A Expired - Fee Related JP3254770B2 (en) 1992-11-17 1992-11-17 Round character generator

Country Status (1)

Country Link
JP (1) JP3254770B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112765730B (en) * 2021-01-14 2023-08-29 中策橡胶集团股份有限公司 Design method of tire sidewall font graph

Also Published As

Publication number Publication date
JPH06161422A (en) 1994-06-07

Similar Documents

Publication Publication Date Title
US5870107A (en) Character and symbol pattern generator based on skeleton data including thickness calculation
US6266070B1 (en) Character pattern generator, character generating method, and storage medium therefor
US5189730A (en) Apparatus for generating character pattern signals and method for generating same
JP3254770B2 (en) Round character generator
JPH02224079A (en) Device and method for generating character pattern
KR100227178B1 (en) Character generation device
JPH0934434A (en) Character generating device
JP2819961B2 (en) Printing control device
JPS63208898A (en) Character processor
JP2861201B2 (en) Data converter
JPS6356693A (en) Character dot conversion system
JP3087414B2 (en) Data output device
JP3114289B2 (en) Character pattern generator
JPH05257450A (en) Character generation device
JP3381326B2 (en) Outline font data coordinate normalization method and outline font data generation device
JP3156294B2 (en) Data processing device
JP2881884B2 (en) Document creation device
JP3210448B2 (en) Character processing method and apparatus
JP2881924B2 (en) Data storage device
JP3254657B2 (en) Data converter
JP2776347B2 (en) Drawing device for printer
JP3457336B2 (en) Outline data processing device
JP3099556B2 (en) Data converter
JP2833921B2 (en) Vector font transformation processing method
JP3072756B2 (en) Drawing equipment

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071130

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081130

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081130

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091130

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101130

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101130

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111130

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees