JPH07152359A - Character modifying device - Google Patents

Character modifying device

Info

Publication number
JPH07152359A
JPH07152359A JP5299581A JP29958193A JPH07152359A JP H07152359 A JPH07152359 A JP H07152359A JP 5299581 A JP5299581 A JP 5299581A JP 29958193 A JP29958193 A JP 29958193A JP H07152359 A JPH07152359 A JP H07152359A
Authority
JP
Japan
Prior art keywords
information
character
data
outline
modification
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.)
Granted
Application number
JP5299581A
Other languages
Japanese (ja)
Other versions
JP3025141B2 (en
Inventor
Hiroshi Kamata
広 鎌田
広市 ▲吉▼田
Hiroichi Yoshida
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP5299581A priority Critical patent/JP3025141B2/en
Publication of JPH07152359A publication Critical patent/JPH07152359A/en
Application granted granted Critical
Publication of JP3025141B2 publication Critical patent/JP3025141B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To provide a character modifying device capable of performing a desired modification processing by use of character data having a small amount of information. CONSTITUTION:Outline data is converted to center information and thickness information (S8 and S9). Next, the converted thickness information is converted to speed information, and also, the converted center information and speed information are converted to vector information (S10). Next, dot data on which a prescribed modification processing is applied based on a paint system program is generated by the use of the vector information (S11). By performing such a processing, the vector information is generated from the outline data, and the prescribed modification processing is performed in accordance with the vector information.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、文字データに所定の修
飾処理を行なう文字修飾装置に関し、特に、日本語ワー
ドプロセッサ、DTP(デスクトップパブリッシン
グ)、レーザプリンタ、パーソナルコンピュータ等の文
字修飾装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character modifying device for performing a predetermined modifying process on character data, and more particularly to a character modifying device such as a Japanese word processor, DTP (desktop publishing), laser printer, personal computer and the like. is there.

【0002】[0002]

【従来の技術】従来、文字修飾装置として、標準となる
文字形状に所定の修飾処理を行なう日本語ワードプロセ
ッサ等の装置が開発されている。以下、上記のような文
字修飾装置について図面を参照しながら説明する。図9
は、従来の文字修飾装置の構成を示す図である。
2. Description of the Related Art Conventionally, as a character modifying device, a device such as a Japanese word processor for performing a predetermined modifying process on a standard character shape has been developed. Hereinafter, the character modification device as described above will be described with reference to the drawings. Figure 9
FIG. 7 is a diagram showing a configuration of a conventional character decoration device.

【0003】図10において、文字修飾装置は、文字等
を入力するためのキーボード等からなる入力装置21、
各部の動作を制御するCPU(中央演算処理装置)2
2、所定の文字形状等を表示するCRT(表示装置)2
3、入力された文字または加工された文字等を記憶する
文書バッファ24、アウトラインデータをビットパター
ンに展開する印刷バッファ25、文字等を印刷するプリ
ンタ26、文字データを格納している文字データ蓄積装
置27を含む。
In FIG. 10, the character modification device is an input device 21 including a keyboard for inputting characters and the like,
CPU (central processing unit) 2 that controls the operation of each unit
2. CRT (display device) for displaying a predetermined character shape, etc.
3, a document buffer 24 for storing input characters or processed characters, a print buffer 25 for expanding outline data into a bit pattern, a printer 26 for printing characters, etc., a character data storage device for storing character data Including 27.

【0004】次に、上記の文字修飾装置が使用する文字
データについて説明する。文字データとしては、たとえ
ば、文字の輪郭をデータとして持つアウトラインデー
タ、文字の中心線とその太さのデータからなるスケルト
ンデータ等が用いられる。図10は、アウトラインデー
タおよびスケルトンデータの一例を説明する図である。
図10の(a)には、アウトラインデータを、(b)に
はスケルトンデータを説明するための図を示している。
図10の(a)に示すように、アウトラインデータは、
文字の輪郭を示すデータから構成される。また、スケル
トンデータは、図10の(b)に示すように文字の中心
線をデータとして持ち、また、各中心点での文字の太さ
に関するデータを備えている。
Next, the character data used by the above character modifying device will be described. As the character data, for example, outline data having the outline of the character as data, skeleton data including the data of the center line of the character and its thickness, and the like are used. FIG. 10 is a diagram illustrating an example of outline data and skeleton data.
10A shows outline data, and FIG. 10B shows skeleton data.
As shown in FIG. 10A, the outline data is
It is composed of data indicating the outline of a character. Further, the skeleton data has a character center line as data as shown in FIG. 10B, and also has data regarding the thickness of the character at each center point.

【0005】図11は、アウトラインデータの具体的な
一例を示す図である。図11に示すように、アウトライ
ンデータは、直線で近似した直線アウトライン、スプラ
イン曲線またはベジュ曲線等の曲線アウトラインから構
成される。直線の場合は、直線を示すコード(00)と
2つの座標データで構成される。また、ベジュ曲線の場
合は、ベジュ曲線を示すコード(01)と4点の座標デ
ータから構成される。
FIG. 11 is a diagram showing a specific example of outline data. As shown in FIG. 11, the outline data is composed of a linear outline approximated by a straight line, and a curved outline such as a spline curve or a Bezi curve. In the case of a straight line, it is composed of a code (00) indicating the straight line and two coordinate data. In the case of a Bezier curve, it is composed of a code (01) indicating the Bezier curve and coordinate data of four points.

【0006】次に、上記の文字データを用いて文字を印
字する場合について説明する。アウトラインデータの場
合は、CPU22は、文字データ蓄積装置27からアウ
トラインデータを読出し、このデータから座標値を求
め、CPU22内部に具備されるRAM(ランダムアク
セスメモリ、図示省略)上に閉じた輪郭線のドットを展
開する。スケルトンデータの場合は、CPU22は、文
字データ蓄積装置27からスケルトンデータを読出し、
スケルトンデータの中心線のデータおよび太さのデータ
から輪郭線を作成し、RAM上に閉じた輪郭線のドット
を展開する。次に、展開された輪郭線のドットの内部を
塗りつぶして所定の文字形状のデータをプリンタ26等
の出力装置へ出力する。図12は、輪郭線の内部を塗り
つぶした文字の一例を示す図である。以上の動作によ
り、アウトラインデータまたはスケルトンデータから所
定の文字データを作成することが可能となる。
Next, a case of printing a character using the above character data will be described. In the case of outline data, the CPU 22 reads out outline data from the character data storage device 27, obtains coordinate values from this data, and draws a closed contour line on a RAM (random access memory, not shown) included in the CPU 22. Expand the dots. In the case of skeleton data, the CPU 22 reads the skeleton data from the character data storage device 27,
A contour line is created from the data of the center line and the thickness data of the skeleton data, and the dots of the closed contour line are expanded on the RAM. Next, the inside of the dot of the developed contour line is filled, and the data of a predetermined character shape is output to the output device such as the printer 26. FIG. 12 is a diagram showing an example of a character with the inside of the contour line filled in. With the above operation, it is possible to create predetermined character data from outline data or skeleton data.

【0007】また、上記の文字データに回転修飾を施し
て出力する文字修飾装置が特開平5−66762号公報
に開示されている。この装置では、アウトラインデー
タ、たとえば、ベジュ曲線の座標を左右拡大、上下拡
大、斜体、回転等の計算処理を行なった後、輪郭線を求
め、輪郭線の中を塗りつぶして(ラスタライズ)いく。
以上の処理により、文字データに任意の回転修飾をして
出力することが可能となる。
Further, a character modifying device for applying rotational modification to the above character data and outputting the character data is disclosed in Japanese Patent Laid-Open No. 5-66762. In this apparatus, outline data, for example, the coordinates of a Bezier curve are subjected to calculation processing such as horizontal enlargement, vertical enlargement, italicization, and rotation, and then an outline is obtained and the inside of the outline is filled (rasterized).
By the above processing, it is possible to output character data with arbitrary rotation modification.

【0008】[0008]

【発明が解決しようとする課題】上記の従来の文字修飾
装置では、アウトラインデータつまり輪郭を表わすデー
タをそのまま使用しているため、たとえば筆で書いた時
の滲みやかすれを表現する文字の修飾処理を行なうこと
ができなかった。また、文字の滲みやかすれを直接表わ
すアウトラインデータを記憶しようとすると1文字当り
の情報量が非常に大きくなるため、非常に大きな記憶容
量を持つ記憶装置を必要とするという問題があった。
In the above-described conventional character modification apparatus, since outline data, that is, data representing the contour is used as it is, for example, character modification processing for expressing blurring or blurring when writing with a brush. Could not be done. In addition, if the outline data that directly represents the blurring or fading of characters is to be stored, the amount of information per character becomes very large, so there is a problem that a storage device having a very large storage capacity is required.

【0009】本発明は、上記課題を解決するためのもの
であって、少ない情報量の文字データを用いて所望の修
飾処理を行なうことができる文字修飾装置を提供する。
The present invention is for solving the above-mentioned problems, and provides a character decoration device capable of performing a desired modification process using character data having a small amount of information.

【0010】[0010]

【課題を解決するための手段】請求項1記載の文字修飾
装置は、文字データをアウトラインデータで記憶する記
憶手段と、アウトラインデータをアウトラインデータが
表わす文字の中心情報と太さ情報とに変換する第1変換
手段と、太さ情報をスピード情報に変換する第2変換手
段と、中心情報とスピード情報とをベクトル情報に変換
する第3変換手段と、ベクトル情報に応じて文字データ
に所定の修飾処理を行なう修飾手段とを含む。
According to a first aspect of the present invention, there is provided a character modification device for storing character data in outline data and converting the outline data into center information and thickness information of a character represented by the outline data. First conversion means, second conversion means for converting thickness information into speed information, third conversion means for converting center information and speed information into vector information, and predetermined modification of character data according to vector information. And modifying means for performing processing.

【0011】請求項2記載の文字修飾装置は、文字デー
タを中心情報と太さ情報とを含むスケルトンデータで記
憶する記憶手段と、太さ情報をスピード情報に変換する
第1変換手段と、中心情報とスピード情報とをベクトル
情報に変換する第2変換手段と、ベクトル情報に応じて
文字データに所定の修飾処理を行なう修飾手段とを含
む。
According to a second aspect of the present invention, there is provided a character modification device, which stores a character data as skeleton data including center information and thickness information, a first conversion means for converting the thickness information into speed information, and a center. It includes a second converting means for converting the information and the speed information into vector information, and a modifying means for performing a predetermined modifying process on the character data according to the vector information.

【0012】[0012]

【作用】請求項1記載の文字修飾装置においては、アウ
トラインデータからベクトル情報を作成し、ベクトル情
報に応じた所定の修飾処理を行なうことができる。
In the character modification device according to the first aspect, vector information can be created from the outline data and a predetermined modification process according to the vector information can be performed.

【0013】請求項2記載の文字修飾装置においては、
スケルトンデータからベクトル情報を作成し、ベクトル
情報に応じた所定の修飾処理を行なうことができる。
In the character modification device according to claim 2,
It is possible to create vector information from skeleton data and perform a predetermined modification process according to the vector information.

【0014】[0014]

【実施例】以下、本発明の一実施例の文字修飾装置につ
いて図面を参照しながら説明する。図2は、本発明の一
実施例の文字修飾装置の構成を示す図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A character decoration device according to an embodiment of the present invention will be described below with reference to the drawings. FIG. 2 is a diagram showing a configuration of a character decoration device according to an embodiment of the present invention.

【0015】図2において、文字修飾装置は、文字等を
入力するキーボード等から構成される入力装置11、各
部の制御等を行なうCPU(中央演算処理装置)12、
文字等を表示するCRT(表示装置)13、入力された
文字または加工された文字等を記憶しておく文書バッフ
ァ14、アウトラインデータをビットパターンに展開す
る印刷バッファ15、文字等を印刷するプリンタ16、
文字データを格納している文字データ格納装置17、ド
ットデータを格納するページバッファ18、ツールを選
択するツール選択装置19、入力座標を記憶する座標レ
ジスタ20、座標の移動スピードを記憶するスピードレ
ジスタ21、文書バッファのポインタを記憶する文書バ
ッファポインタ22、文字データのポインタを記憶する
文字データポインタ23を含む。
In FIG. 2, the character modification device is an input device 11 composed of a keyboard for inputting characters and the like, a CPU (central processing unit) 12 for controlling various parts,
A CRT (display device) 13 that displays characters and the like, a document buffer 14 that stores input characters or processed characters, a print buffer 15 that expands outline data into a bit pattern, and a printer 16 that prints characters and the like. ,
A character data storage device 17 that stores character data, a page buffer 18 that stores dot data, a tool selection device 19 that selects a tool, a coordinate register 20 that stores input coordinates, and a speed register 21 that stores moving speed of coordinates. , A document buffer pointer 22 for storing a pointer of a document buffer, and a character data pointer 23 for storing a pointer of character data.

【0016】次に、上記のように構成された文字修飾装
置の動作について説明する。入力装置11から文字が入
力されると、図示しないかな漢字変換装置によりかな漢
字混じり文が作成され、文書バッファ14に蓄えられ
る。入力された文字はCRT13に表示される。入力装
置11の図示しない印字キーが押されると、CPU12
は文書バッファ14の内容を1文字ずつ取出し、取出し
た文字に対応する文字パターンを文字データ蓄積装置1
7から取出す。CPU12は、ページバッファ18で設
定されている太さで文字パターンを印刷バッファ15に
展開する。展開されたビットパターンはプリンタ16に
転送され、最終的に印刷される。
Next, the operation of the character decoration device configured as described above will be described. When a character is input from the input device 11, a kana-kanji conversion device (not shown) creates a kana-kanji mixed sentence and stores it in the document buffer 14. The input characters are displayed on the CRT 13. When a print key (not shown) of the input device 11 is pressed, the CPU 12
Extracts the contents of the document buffer 14 character by character, and the character pattern corresponding to the extracted characters is stored in the character data storage device 1.
Take out from 7. The CPU 12 develops the character pattern in the print buffer 15 with the thickness set in the page buffer 18. The developed bit pattern is transferred to the printer 16 and finally printed.

【0017】次に、本発明の文字修飾装置による修飾処
理の概要について説明する。図3は、本発明の文字修飾
装置の修飾処理の概要を説明する図である。まず、図3
の(a)に示すように、アウトラインデータが読出され
る。次に、図3の(b)に示すように、アウトラインデ
ータから文字の中心情報および太さ情報が作成される。
次に、図3の(c)に示すように、作成された太さ情報
をスピード情報に変換し、変換されたスピード情報と中
心情報とを基にベクトル情報が作成される。最後に、図
3の(d)に示すように、ベクトル情報に応じた所定の
修飾処理が施された文字データが作成される。
Next, the outline of the modification processing by the character modification device of the present invention will be described. FIG. 3 is a diagram for explaining the outline of the modification processing of the character modification device of the present invention. First, FIG.
The outline data is read as shown in FIG. Next, as shown in FIG. 3B, character center information and character thickness information are created from the outline data.
Next, as shown in FIG. 3C, the created thickness information is converted into speed information, and vector information is created based on the converted speed information and center information. Finally, as shown in FIG. 3D, character data subjected to a predetermined modification processing according to the vector information is created.

【0018】次に、上記の修飾処理についてさらに詳細
に説明する。図1は、本発明の一実施例の文字修飾装置
による修飾処理を説明するフローチャートである。
Next, the above modification processing will be described in more detail. FIG. 1 is a flowchart illustrating a modification process by a character modification device according to an embodiment of the present invention.

【0019】まず、ステップS1において、文字コード
の位置を示す文書データポインタを初期化する。
First, in step S1, the document data pointer indicating the position of the character code is initialized.

【0020】次に、ステップS2において、現在のカー
ソル位置の書式情報から文字の大きさを取出し、文字の
大きさを指定する。
Next, in step S2, the character size is extracted from the format information at the current cursor position and the character size is designated.

【0021】次に、ステップS3において、文字の書体
を指定する。次に、ステップS4において、ペイント系
プログラムの各種データ、たとえば、塗るツールおよび
塗るパターン等を指定する。図4は、ペイント系プログ
ラムの一例を説明する図である。たとえば、図4に示す
ように、ペイント系のプログラムでは、塗るツールを選
択し、塗るパターンを選択し、マウスまたはペンを動か
すことにより、ドットデータをページバッファ18に書
込む。塗るツールとしては、筆、ペン、ブラシ、スプレ
ー等が選択できる。塗るパターンとしては、黒べた、メ
ッシュ、斜線等が選択できる。また、ペイント系のプロ
グラムでは、マウス等を動かすスピードによって文字デ
ータに所定の修飾処理を施すことができる。図5は、図
6に示すペイント系プログラムによる文字の修飾例を示
す図である。マウス等を動かすスピードが遅い場合、図
5の(a)に示すようにドットデータを太くしたり、
(c)に示すようにドットデータの濃さを濃くしたりす
ることができる。また、スピードが速い場合は、図5の
(b)に示すように、ドットデータの太さを細くした
り、(d)に示すようにドットデータの濃さを薄くした
りすることができる。
Next, in step S3, the character typeface is designated. Next, in step S4, various data of the paint system program, for example, a painting tool and a painting pattern are designated. FIG. 4 is a diagram illustrating an example of a paint system program. For example, as shown in FIG. 4, in a paint system program, dot data is written in the page buffer 18 by selecting a painting tool, selecting a painting pattern, and moving the mouse or pen. A brush, a pen, a brush, a spray, or the like can be selected as a painting tool. As the pattern to be applied, black solid, mesh, diagonal lines, etc. can be selected. Further, in a paint program, the character data can be subjected to a predetermined modification process depending on the speed at which the mouse or the like is moved. FIG. 5 is a diagram showing an example of character modification by the paint system program shown in FIG. If the speed of moving the mouse etc. is slow, thicken the dot data as shown in (a) of FIG.
As shown in (c), the density of dot data can be increased. Further, when the speed is high, the thickness of the dot data can be made thin as shown in FIG. 5B, or the density of the dot data can be made thin as shown in FIG. 5D.

【0022】つまり、上記のペイント系のプログラムで
は、マウスの使用により、マウスから一定時間間隔で割
込がかかり、割込時に前回の位置からの相対位置が出力
される。相対位置としては、(x、y)相対座標で返す
方法や極座標での角度と長さで返す方法等が用いられ
る。また、移動した距離は、一定時間での移動量つまり
スピードとなる。したがって、速く動かせば、移動量が
多くなり、遅く動かせば移動量が少なくなる。一方、筆
で習字を行なうときにはゆっくり動かせば文字は太くな
り、速く動かせば細くなる。したがって、マウスのスピ
ードに応じて、2点間の距離が短い場合は2点間を太い
線で結び、距離が長い場合は2点間を細い線で結ぶ。こ
の結果、マウスから出力される相対位置およびスピード
情報の代わりに、ベクトル情報をペイント系プログラム
に与えることにより、マウスでの操作と同様の修飾処理
を行なうことができる。
That is, in the above paint system program, the mouse is used to interrupt the mouse at a constant time interval, and at the time of the interrupt, the relative position from the previous position is output. As the relative position, a method of returning in (x, y) relative coordinates, a method of returning in angle and length in polar coordinates, or the like is used. In addition, the distance moved is the amount of movement, that is, the speed, in a fixed time. Therefore, moving faster will increase the amount of movement, and moving slowly will decrease the amount of movement. On the other hand, when you practice with a brush, moving slowly will make the characters thicker, and moving faster will make them thinner. Therefore, depending on the speed of the mouse, when the distance between the two points is short, the two points are connected by a thick line, and when the distance is long, the two points are connected by a thin line. As a result, instead of the relative position and speed information output from the mouse, by providing vector information to the paint system program, the modification processing similar to the mouse operation can be performed.

【0023】次に、ステップS5において、ページバッ
ファ18の出力位置をセットする。次に、ステップS6
において、文書バッファ14から文字コードを取出し、
出力する文字を指定する。
Next, in step S5, the output position of the page buffer 18 is set. Next, step S6
In, the character code is retrieved from the document buffer 14,
Specify the character to output.

【0024】次に、ステップS7において、文字データ
ポインタ23に記憶されている文字データのポインタを
初期化する。
Next, in step S7, the pointer of the character data stored in the character data pointer 23 is initialized.

【0025】次に、ステップS8において、文字の部品
データを取出す。次に、ステップS9において、1つの
袋になった部品データをその部品の中心情報と太さ情報
とに変換する。図6は、アウトラインデータから中心情
報および太さ情報を求める方法を説明する図である。図
6に示すように、アウトラインデータから中心情報およ
び太さ情報を求める方法としては、たとえば、アウトラ
インデータの輪郭線の一方の微小単位での接線を求め、
その接線に法線を立てる。この法線と反対側の輪郭線と
が交わる点までの距離の中心を中心点とし、この座標を
中心情報とする。また、法線の支点から反対側の輪郭線
との交点までの長さが太さ情報となる。したがって、こ
れらの中心点の集まりが中心情報となり、法線の支点か
ら反対側の輪郭線の交点までの距離の集まりが太さ情報
となる。
Next, in step S8, character part data is extracted. Next, in step S9, the part data in one bag is converted into center information and thickness information of the part. FIG. 6 is a diagram illustrating a method of obtaining center information and thickness information from outline data. As shown in FIG. 6, as a method of obtaining the center information and the thickness information from the outline data, for example, a tangent line of one minute unit of the outline of the outline data is obtained,
Establish a normal to the tangent. The center of the distance to the point where the normal line intersects with the contour line on the opposite side is the center point, and this coordinate is the center information. Further, the length from the fulcrum of the normal line to the intersection with the contour line on the opposite side becomes the thickness information. Therefore, the collection of these center points becomes the central information, and the collection of the distance from the fulcrum of the normal line to the intersection of the contour lines on the opposite side becomes the thickness information.

【0026】次に、ステップS10において、ステップ
S9で求めた太さ情報をスピード情報に変換する。図7
はスピード情報と太さ情報との関係を示す図である。こ
こでは、図7に示す関係を用いて太さ情報をスピード情
報に変換する。次に、ステップS9で求めた中心情報と
ここで求めたスピード情報とをベクトル情報に変換す
る。変換したベクトル情報は、上記のペイント系プログ
ラムへ渡される。
Next, in step S10, the thickness information obtained in step S9 is converted into speed information. Figure 7
FIG. 6 is a diagram showing a relationship between speed information and thickness information. Here, the thickness information is converted into speed information using the relationship shown in FIG. Next, the central information obtained in step S9 and the speed information obtained here are converted into vector information. The converted vector information is passed to the above paint system program.

【0027】次に、ステップS11において、ペイント
系プログラムは、ベクトル情報を基に、ステップS4で
設定されたペイントツールによりマウス等で動かされた
時と同様にページバッファ18に所定の修飾処理を施し
たドットデータを出力する。
Next, in step S11, the paint system program performs a predetermined modification process on the page buffer 18 based on the vector information, as in the case where the paint tool set in step S4 is used to move the page buffer 18. Output the dot data.

【0028】次に、ステップS12において、文字デー
タポインタ23に格納されている文字データのポインタ
を更新する。
Next, in step S12, the pointer of the character data stored in the character data pointer 23 is updated.

【0029】次に、ステップS13において、データが
終了しているか否かを確認する。データが終了している
場合はステップS14へ移行し、終了していない場合は
ステップS8へ移行し以降の処理を継続する。
Next, in step S13, it is confirmed whether or not the data is completed. If the data has been completed, the process proceeds to step S14, and if not completed, the process proceeds to step S8 and the subsequent processes are continued.

【0030】次に、ステップS14において、文書バッ
ファポインタ22に格納されている文書バッファのポイ
ンタを更新する。
Next, in step S14, the pointer of the document buffer stored in the document buffer pointer 22 is updated.

【0031】次に、ステップS15において、出力すべ
き文書が終了しているか否かを確認する。終了している
場合はステップS16へ移行し、終了していない場合は
ステップS2へ移行し以降の処理を継続する。
Next, in step S15, it is confirmed whether or not the document to be output is completed. If it is completed, the process proceeds to step S16, and if it is not completed, the process proceeds to step S2 and the subsequent processes are continued.

【0032】次に、ステップS16において、ページバ
ッファ18に格納されているドットデータを基に、プリ
ンタ16が所定の修飾処理が施された文字を印刷する。
Next, in step S16, the printer 16 prints the character which has been subjected to a predetermined modification process based on the dot data stored in the page buffer 18.

【0033】図8は、上記の処理により作成されたスプ
レーモードおよびハケモードで出力された文字の一例を
示す図である。
FIG. 8 is a diagram showing an example of characters output in the spray mode and the brush mode created by the above processing.

【0034】以上の処理により、情報量の少ないアウト
ラインデータを用いてベクトル情報を作成し、ベクトル
情報に応じた所定の修飾処理を行なうことが可能とな
る。
By the above processing, it is possible to create vector information using outline data having a small amount of information and perform a predetermined modification processing according to the vector information.

【0035】上記実施例では、アウトラインデータにつ
いて述べたが、スケルトンデータの場合は、図1に示す
ステップS8、S9において、スケルトンデータが具備
している中心情報および太さ情報を使用することによ
り、同様に処理することが可能である。
In the above embodiment, outline data has been described, but in the case of skeleton data, by using the center information and thickness information included in the skeleton data in steps S8 and S9 shown in FIG. It can be processed in the same manner.

【0036】[0036]

【発明の効果】請求項1記載の文字修飾装置において
は、アウトラインデータからベクトル情報を作成し、ベ
クトル情報に応じた所定の修飾処理を行なうことができ
るので、少ない情報量の文字データを用いて所望の修飾
処理を行なうことができる。
According to the character modification device of the first aspect, vector information can be created from outline data and a predetermined modification process can be performed according to the vector information. Therefore, character data with a small amount of information can be used. A desired modification process can be performed.

【0037】請求項2記載の文字修飾装置においては、
スケルトンデータからベクトル情報を作成し、ベクトル
情報に応じた所定の修飾処理を行なうことができるの
で、少ない情報量の文字データを用いて所望の修飾処理
を行なうことができる。
In the character modification device according to claim 2,
Since the vector information can be created from the skeleton data and the predetermined modification processing according to the vector information can be performed, the desired modification processing can be performed using the character data having a small amount of information.

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

【図1】本発明の一実施例の文字修飾装置の修飾処理を
説明するフローチャートである。
FIG. 1 is a flowchart illustrating a modification process of a character modification device according to an embodiment of the present invention.

【図2】本発明の一実施例の文字修飾装置の構成を示す
図である。
FIG. 2 is a diagram showing a configuration of a character decoration device according to an embodiment of the present invention.

【図3】本発明の文字修飾装置の修飾処理の概要を説明
する図である。
FIG. 3 is a diagram illustrating an outline of a modification process of the character modification device of the present invention.

【図4】ペイント系プログラムの一例を説明する図であ
る。
FIG. 4 is a diagram illustrating an example of a paint system program.

【図5】図4に示すペイント系プログラムによる文字の
修飾例を示す図である。
5 is a diagram showing an example of character modification by the paint system program shown in FIG.

【図6】アウトラインデータから中心情報および太さ情
報を求める方法を説明する図である。
FIG. 6 is a diagram illustrating a method of obtaining center information and thickness information from outline data.

【図7】スピード情報と太さ情報との関係を示す図であ
る。
FIG. 7 is a diagram showing a relationship between speed information and thickness information.

【図8】スプレーモードおよびハケモードで出力された
文字の一例を示す図である。
FIG. 8 is a diagram showing an example of characters output in a spray mode and a brush mode.

【図9】従来の文字修飾装置の構成を示す図である。FIG. 9 is a diagram showing a configuration of a conventional character decoration device.

【図10】アウトラインデータおよびスケルトンデータ
の一例を説明する図である。
FIG. 10 is a diagram illustrating an example of outline data and skeleton data.

【図11】アウトラインデータの具体的な一例を示す図
である。
FIG. 11 is a diagram showing a specific example of outline data.

【図12】輪郭線の内部を塗りつぶした文字の一例を示
す図である。
FIG. 12 is a diagram showing an example of a character whose interior is filled with a contour line.

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

11 入力装置 12 CPU 13 CRT 14 文章バッファ 15 印刷バッファ 16 プリンタ 17 文字データ蓄積装置 18 ページバッファ 19 ツール選択装置 20 座標レジスタ 21 スピードレジスタ 22 文書バッファポインタ 23 文字データポインタ 11 Input Device 12 CPU 13 CRT 14 Text Buffer 15 Print Buffer 16 Printer 17 Character Data Storage Device 18 Page Buffer 19 Tool Selection Device 20 Coordinate Register 21 Speed Register 22 Document Buffer Pointer 23 Character Data Pointer

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 文字データをアウトラインデータで記憶
する記憶手段と、 前記アウトラインデータを前記アウトラインデータが表
わす文字の中心情報と太さ情報とに変換する第1変換手
段と、 前記太さ情報をスピード情報に変換する第2変換手段
と、 前記中心情報と前記スピード情報とをベクトル情報に変
換する第3変換手段と、 前記ベクトル情報に応じて前記文字データに所定の修飾
処理を行なう修飾手段とを含む文字修飾装置。
1. Storage means for storing character data as outline data, first converting means for converting the outline data into center information and thickness information of a character represented by the outline data, and speed information for the thickness information. Second conversion means for converting the information into information, third conversion means for converting the center information and the speed information into vector information, and a modification means for performing a predetermined modification process on the character data according to the vector information. Character modifiers to include.
【請求項2】 文字データを中心情報と太さ情報とを含
むスケルトンデータで記憶する記憶手段と、 前記太さ情報をスピード情報に変換する第1変換手段
と、 前記中心情報を前記スピード情報とをベクトル情報に変
換する第2変換手段と、 前記ベクトル情報に応じて前記文字データに所定の修飾
処理を行なう修飾手段とを含む文字修飾装置。
2. Storage means for storing character data as skeleton data including center information and thickness information, first conversion means for converting the thickness information into speed information, and the center information as the speed information. A character modification device including second conversion means for converting the character data into vector information, and a modification means for performing a predetermined modification process on the character data according to the vector information.
JP5299581A 1993-11-30 1993-11-30 Character modifier Expired - Lifetime JP3025141B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5299581A JP3025141B2 (en) 1993-11-30 1993-11-30 Character modifier

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5299581A JP3025141B2 (en) 1993-11-30 1993-11-30 Character modifier

Publications (2)

Publication Number Publication Date
JPH07152359A true JPH07152359A (en) 1995-06-16
JP3025141B2 JP3025141B2 (en) 2000-03-27

Family

ID=17874494

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5299581A Expired - Lifetime JP3025141B2 (en) 1993-11-30 1993-11-30 Character modifier

Country Status (1)

Country Link
JP (1) JP3025141B2 (en)

Also Published As

Publication number Publication date
JP3025141B2 (en) 2000-03-27

Similar Documents

Publication Publication Date Title
JP3037854B2 (en) Character generation method and device
JP2010224145A (en) Information processing apparatus, control device, and program
JP3025141B2 (en) Character modifier
EP0127745B1 (en) A word processing system based on a data stream having integrated alphanumeric and graphic data
JP2856235B2 (en) Character processing device and character output method
JPS62204956A (en) Document processing system
JPS6370890A (en) Graphic processor
JPH05216456A (en) Character output device
JPH04177294A (en) Vector font developing device
JP2771629B2 (en) Character processor
JP3473046B2 (en) Non-erected character drawing method and apparatus
JPS62208088A (en) Image processor
JP2710350B2 (en) Image processing apparatus and image processing method of image processing apparatus
JP2803746B2 (en) Character processing method and apparatus
JP2619931B2 (en) Character processing device and character processing method
JPH024549A (en) Character processing system
JP3028665B2 (en) Character output device
JP3040624B2 (en) Pattern generator
JPH07181946A (en) Character generation device
JPH06301367A (en) Character generator
JPS61263765A (en) Character output device
JPH0747330B2 (en) Character output device
JPH0561451A (en) Character output device
JPH06167961A (en) System and device for character correction
JPH05313634A (en) Outline font developing device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000104