JPH04280296A - Contour data processing device - Google Patents

Contour data processing device

Info

Publication number
JPH04280296A
JPH04280296A JP3043404A JP4340491A JPH04280296A JP H04280296 A JPH04280296 A JP H04280296A JP 3043404 A JP3043404 A JP 3043404A JP 4340491 A JP4340491 A JP 4340491A JP H04280296 A JPH04280296 A JP H04280296A
Authority
JP
Japan
Prior art keywords
data
contour
contour segment
flag
specific
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
JP3043404A
Other languages
Japanese (ja)
Other versions
JP3055187B2 (en
Inventor
Hitoshi Yoshida
均 吉田
Naoyuki Kawamoto
直幸 川本
Kazuma Aoki
一磨 青木
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP3043404A priority Critical patent/JP3055187B2/en
Publication of JPH04280296A publication Critical patent/JPH04280296A/en
Application granted granted Critical
Publication of JP3055187B2 publication Critical patent/JP3055187B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To provide a contour data processing device capable of reducing the memory capacity of a character storing means and forming a specified border line segment in a well proportioned shape. CONSTITUTION:When a flag A and the following dimension data w, l, h are successively read out (S55) in a data conversion control, the basic specified contour segment data of an accent and the basic dimension data W, H, L are read out from a parts font memory 22 based on the flag A (S56), and are enlarged or reduced (S43). After that, the coordinate value of a smooth point is corrected (S44). The same processings are performed for other parts.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は輪郭線データ処理装置に
関し、特にキャラクタの輪郭線を固有輪郭セグメントと
特定輪郭セグメントとに分割し、特定輪郭セグメントに
関するセグメントデータをキャラクタ記憶手段とは別の
特定輪郭記憶手段に格納するようにしたものに関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a contour line data processing device, and more particularly to a contour line data processing device that divides the contour line of a character into a unique contour segment and a specific contour segment, and stores segment data regarding the specific contour segment in a specified manner separate from character storage means. This relates to something that is stored in a contour storage means.

【0002】0002

【従来の技術】最近、文字や記号を印字用紙に印字した
り或いはディスプレイに表示するために、文字や記号な
どの多数のキャラクタの輪郭線をデジタル化したアウト
ラインフォントデータで不揮発メモリに記憶しておき、
このアウトラインフォントデータに所望の大きさになる
ように拡大・縮小処理したり、回転・斜体等の変換処理
を施し、この変換処理されたアウトラインフォントデー
タをドットデータに変換してレーザプリンタなどにより
レーザ方式で印字するようにしている。
[Prior Art] Recently, in order to print characters and symbols on printing paper or display them on a display, the outlines of many characters such as characters and symbols are digitized and stored in a non-volatile memory as outline font data. Ok,
This outline font data is enlarged/reduced to the desired size, rotated, italicized, etc., and the converted outline font data is converted into dot data and printed using a laser printer or the like. I am trying to print using this method.

【0003】ところで、多数のキャラクタのアウトライ
ンフォントデータを作成する場合、デザイナーがデザイ
ンした所定の大きさのキャラクタをキャラクタ毎に電子
スキャナで読み取り輪郭線を抽出してデジタル化するよ
うになっている。
By the way, when creating outline font data for a large number of characters, characters of a predetermined size designed by a designer are read for each character using an electronic scanner, and outlines are extracted and digitized.

【0004】0004

【発明が解決しようとする課題】従って、不揮発メモリ
に記憶されたキャラクタのアウトラインフォントデータ
はデザイナーがデザインしたキャラクタを元文字として
いるので、例えば明朝体漢字において、輪郭線にその一
部として共通に含まれ本来同形状或いは近似形状である
はずの特定の輪郭線部分、例えば実施例に係る図3(a
)に符号pAで示すアクセント、図3(b)に符号pU
で示すウロコ、図3(c)に符号pOで示す筆オサエ、
図3(d)に符号pTで示すトメ、図3(e)に符号p
Kで示す角ウロコ、図3(f)に符号pHで示すハネな
どの特定輪郭セグメントの形状にバラツキが生じるとい
う問題がある。
[Problem to be Solved by the Invention] Therefore, since the outline font data of the character stored in the non-volatile memory is based on the character designed by the designer, for example, in Mincho kanji, the outline font data is common as a part of the outline. 3 (a
), the accent is indicated by the symbol pA, and the accent is indicated by the symbol pU in Fig. 3(b).
The scales are indicated by , the brush scales are indicated by the symbol pO in Fig. 3(c),
The tome shown by the symbol pT is shown in FIG. 3(d), and the symbol p is shown in FIG. 3(e).
There is a problem that variations occur in the shapes of specific contour segments such as the square scales indicated by K and the wings indicated by the symbol pH in FIG. 3(f).

【0005】更に、上述したように、多数のキャラクタ
には共通する特定輪郭セグメントが含まれているにも拘
わらず、各キャラクタ毎にアウトラインフォントデータ
を作成し、これら多数のアウトラインフォントデータを
アウトラインフォントメモリに格納するので、大容量の
アウトラインフォントメモリが必要になることなどの問
題がある。
Furthermore, as mentioned above, even though many characters include specific contour segments in common, outline font data is created for each character, and these many outline font data are combined into an outline font. Since it is stored in memory, there are problems such as the need for a large capacity outline font memory.

【0006】本発明は、上述した問題点を解決するため
になされたものであり、その目的は、キャラクタ記憶手
段のメモリ容量を縮小し、しかも多数のキャラクタの輪
郭線の一部に共通する特定輪郭セグメントを均整のとれ
た形状にし得るような輪郭線データ処理装置を提供する
ことにある。
The present invention has been made in order to solve the above-mentioned problems, and its purpose is to reduce the memory capacity of a character storage means, and also to reduce the memory capacity of a character storage means, and to An object of the present invention is to provide a contour line data processing device capable of shaping contour segments into well-balanced shapes.

【0007】[0007]

【課題を解決するための手段】この目標を達成するため
に本発明のアウトラインデータ処理装置は、図1の機能
ブロック図に示すように、各々が一つ又は複数の輪郭線
からなる文字・記号の多数のキャラクタにおける複数の
輪郭線にその一部として共通に含まれる特定輪郭セグメ
ントを複数種分類し、これら特定輪郭セグメントの形状
を夫々規定する特定輪郭セグメントデータとその種別デ
ータを対応付けて格納した特定輪郭線記憶手段と、多数
のキャラクタの各々について、1つ又は複数の特定輪郭
セグメントとそれ以外の1つ又は複数の固有輪郭セグメ
ントとに分割し、特定輪郭セグメントについてはその主
要諸元の寸法を規定する寸法データと種別データとを格
納し、また固有輪郭セグメントについてはその形状を表
す固有輪郭セグメントデータを格納したキャラクタ記憶
手段と、外部からの指令で指定されたキャラクタについ
てキャラクタ記憶手段から寸法データと種別データと固
有輪郭セグメントデータとを読み出す読み出し手段と、
その読み出し手段で読み出された種別データに基づいて
特定輪郭線記憶手段から対応する特定輪郭セグメントデ
ータを読み出し、その特定輪郭セグメントデータと寸法
データに基づいて、特定輪郭セグメントの主要諸元が寸
法データで規定された寸法となるように拡大または縮小
の演算処理を施して特定輪郭セグメントの形状を表す第
1修正特定輪郭セグメントデータを作成する第1データ
修正手段と、第1修正特定輪郭セグメントデータに規定
される特定輪郭セグメントが滑らか輪郭線にて形成され
るように第1修正特定輪郭セグメントデータを修正し第
2修正特定輪郭セグメントデータを作成する第2データ
修正手段と、前記読み出し手段で読み出された固有輪郭
セグメントデータと、第2データ修正手段により作成さ
れた第2修正特定輪郭セグメントデータとを用いて、前
記指定キャラクタの輪郭線全体の輪郭線データを合成す
るデータ合成手段とを備えている。
[Means for Solving the Problems] In order to achieve this goal, the outline data processing device of the present invention provides characters and symbols each consisting of one or more outlines, as shown in the functional block diagram of FIG. Classifies multiple types of specific contour segments that are commonly included in multiple contour lines of a large number of characters, and stores specific contour segment data that defines the shape of each of these specific contour segments in association with its type data. The specific contour storage means divides each of the large number of characters into one or more specific contour segments and one or more other unique contour segments, and stores the main specifications of the specific contour segment. A character storage means that stores dimension data and type data that define dimensions, and unique contour segment data that represents the shape of a unique contour segment, and a character storage means that stores a character specified by an external command. reading means for reading dimension data, type data, and unique contour segment data;
Based on the type data read by the reading means, the corresponding specific contour segment data is read from the specific contour storage means, and based on the specific contour segment data and dimension data, the main specifications of the specific contour segment are determined as dimension data. a first data modification means for creating first modified specific contour segment data representing the shape of the specific contour segment by performing an arithmetic process of enlarging or reducing the specific contour segment so as to have a dimension specified by the first modified specific contour segment data; a second data modifying means for modifying the first modified specific contour segment data and creating second modified specific contour segment data so that the prescribed specific contour segment is formed by a smooth contour line; data synthesis means for synthesizing contour data of the entire contour of the designated character using the unique contour segment data created by the specified character and the second modified specific contour segment data created by the second data modification means. There is.

【0008】[0008]

【作用】上記の構成を有する本発明のアウトラインデー
タ処理装置は、特定輪郭記憶手段には、各々が1つ又は
複数の輪郭線からなる文字や記号の多数のキャラクタに
おける複数の輪郭線にその一部として共通に含まれる特
定輪郭セグメントを複数種分類し、これら特定輪郭セグ
メントの形状を夫々規定する特定輪郭セグメントデータ
とその種別データが対応づけて格納されている。
[Operation] The outline data processing device of the present invention having the above-mentioned configuration stores a plurality of outlines of a plurality of characters of characters and symbols each consisting of one or more outlines in the specific outline storage means. A plurality of types of specific contour segments that are commonly included as parts are classified, and specific contour segment data that respectively define the shapes of these specific contour segments and their type data are stored in association with each other.

【0009】またキャラクタ記憶手段には、多数のキャ
ラクタの各々について、1つ又は複数の特定輪郭セグメ
ントとそれ以外の1つ又は複数の固有輪郭セグメントと
に分割し、特定輪郭セグメントについてはその主要諸元
の寸法を規定する寸法データと種別データとが格納され
、また固有輪郭セグメントについてはその形状を表わす
固有輪郭セグメントデータが格納されている。
[0009] Furthermore, the character storage means divides each of a large number of characters into one or more specific contour segments and one or more other unique contour segments, and stores the main features of the specific contour segment. Dimension data and type data defining the original dimensions are stored, and for unique contour segments, unique contour segment data representing the shape thereof is stored.

【0010】そして、読み出し手段は外部からの指令で
指定されたキャラクタについて、キャラクタ記憶手段か
ら寸法データと種別データと固有輪郭セグメントデータ
とを読み出す。
[0010]The reading means reads out dimension data, type data, and unique outline segment data from the character storage means for the character designated by an external command.

【0011】一方、第1データ修正手段は、読み出し手
段で読み出された種別データに基づいて特定輪郭線記憶
手段から対応する特定輪郭セグメントデータを読み出し
、特定輪郭セグメントの主要諸元が寸法データで規定さ
れた寸法となるように拡大または縮小の演算処理を施し
て特定輪郭セグメントの形状を表す第1修正特定輪郭セ
グメントデータを作成する。
On the other hand, the first data modification means reads out corresponding specific contour segment data from the specific contour storage means based on the type data read out by the reading means, and determines that the main specifications of the specific contour segment are dimension data. First modified specific contour segment data representing the shape of the specific contour segment is created by performing an arithmetic process of enlarging or reducing the specific contour segment so that it has a specified dimension.

【0012】第2データ修正手段は、第1データ修正手
段により作成された第1修正特定輪郭セグメントデータ
に規定される特定輪郭セグメントが滑らか輪郭線にて形
成されるように第1修正特定輪郭セグメントデータを修
正して第2修正特定輪郭セグメントデータを作成する。
[0012] The second data modification means modifies the first modified specific contour segment so that the specific contour segment defined in the first modified specific contour segment data created by the first data modification device is formed by a smooth contour line. The data is modified to create second modified specific contour segment data.

【0013】また、データ合成手段は、読み出し手段で
読み出された固有輪郭セグメントデータと、第2データ
修正手段により作成された第2修正特定輪郭セグメント
データとを用いて、指定キャラクタの輪郭線全体の輪郭
線データを合成する。
[0013] Furthermore, the data synthesizing means uses the unique contour segment data read out by the reading means and the second modified specific contour segment data created by the second data modifying means to synthesize the entire outline of the designated character. Synthesize the contour data.

【0014】[0014]

【実施例】以下、本発明を具体化した一実施例を図面を
参照して説明する。尚、本実施例は、レーザプリンタに
おいて明朝体漢字を発生させるために記憶したアウトラ
インデータ(輪郭線データ)をドットデータに変換する
装置に本発明を適用したものである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment embodying the present invention will be described below with reference to the drawings. In this embodiment, the present invention is applied to a device that converts stored outline data (contour line data) into dot data in order to generate Mincho type kanji in a laser printer.

【0015】レーザプリンタの制御装置のうち、アウト
ラインデータをドットデータに変換するデータ変換に関
するデータ変換装置の制御系は図2に示すように構成さ
れている。
Among the laser printer control devices, the control system of the data conversion device for converting outline data into dot data is constructed as shown in FIG.

【0016】このデータ変換装置の制御系の主体を成す
データ変換制御装置14は、基本的には、CPU16と
、CPU16にデータバスなどのバス30を介して接続
されたROM(プログラムメモリ)18、ROM(アウ
トラインフォントメモリ)20、ROM(パーツフォン
トメモリ)22、RAM(テキストメモリ)24、RA
M(ワーキングメモリ)26及びRAM(ドットデータ
メモリ)28とから構成されている。
The data conversion control device 14, which constitutes the main body of the control system of this data conversion device, basically includes a CPU 16, a ROM (program memory) 18 connected to the CPU 16 via a bus 30 such as a data bus, ROM (outline font memory) 20, ROM (parts font memory) 22, RAM (text memory) 24, RA
It is composed of M (working memory) 26 and RAM (dot data memory) 28.

【0017】また、このバス30には入力装置10及び
印字装置12が接続されており、入力装置10は外部か
ら供給されるキャラクタコードや文字サイズデータなど
データ処理に必要な種々のデータを入力するためのもの
であり、印字装置12はドットデータメモリ28から出
力されたビットマップデータをレーザプリント方式によ
り印字するものである。
An input device 10 and a printing device 12 are also connected to this bus 30, and the input device 10 inputs various data necessary for data processing such as character codes and character size data supplied from the outside. The printing device 12 prints the bitmap data output from the dot data memory 28 using a laser printing method.

【0018】前記プログラムメモリ18には、後述する
データ変換制御の制御プログラムや各種の制御プログラ
ムが格納されている。このデータ変換制御プログラムに
は、入力されたキャラクタコードに関するアウトライン
フォントデータをアウトラインフォントメモリ20から
読出すサブルーチン、アウトラインフォントデータを拡
大・縮小(スケーリング)処理するスケーリング処理制
御サブルーチン、このスケーリング処理したアウトライ
ンフォントデータをショートベクトルに展開するショー
トベクトル処理サブルーチン、ベジェ曲線の関数を発生
させるベジェ曲線関数サブルーチン、ショートベクトル
処理されたアウトラインフォントデータをドットデータ
に変換する変換処理サブルーチン等が格納されている。
The program memory 18 stores a control program for data conversion control, which will be described later, and various control programs. This data conversion control program includes a subroutine for reading out outline font data related to the input character code from the outline font memory 20, a scaling processing control subroutine for enlarging/reducing (scaling) the outline font data, and an outline font subjected to the scaling processing. A short vector processing subroutine that expands data into short vectors, a Bezier curve function subroutine that generates a Bezier curve function, a conversion processing subroutine that converts outline font data subjected to short vector processing into dot data, etc. are stored.

【0019】ところで、明朝体の漢字やひらかな等の文
字及び各種の記号などの多数のキャラクタには、図3(
a)に符号pAで示す「アクセント」、図3(b)に符
号pUで示す「ウロコ」、図3(c)に符号pOで示す
「筆オサエ」、図3(d)に符号pTで示す「トメ」、
図3(e)に符号pKで示す「角ウロコ」、図3(f)
に符号pHで示す「ハネ」等のように、多数のキャラク
タにおける複数の輪郭線にその一部として含まれ、しか
も形状が同一または近似する特定の輪郭線が存在する。
By the way, a large number of characters such as kanji, hirakana, and various symbols in the Mincho font are shown in Figure 3 (
a) "accent" indicated by the symbol pA; FIG. 3(b) "scales" indicated by the symbol pU; FIG. 3(c) "fude osae" indicated by the symbol pO; FIG. "Tome",
“Horn scales” are shown with symbol pK in Fig. 3(e), Fig. 3(f)
There are specific contour lines that are included as a part of a plurality of contour lines of many characters and have the same or similar shapes, such as a "splash" indicated by the code pH in .

【0020】従って、これら6種類の特定輪郭線(以下
、特定輪郭セグメントという)に関して、これら基本特
定輪郭セグメントの形状を規定する特定輪郭セグメント
データを別途記憶しておき、これらの特定輪郭セグメン
トデータに基いて所望の大きさの修正特定輪郭セグメン
トデータを求め、特定輪郭セグメント以外の固有輪郭セ
グメントの形状を表わす固有輪郭セグメントデータにこ
の修正特定輪郭セグメントデータを合成することが可能
である。
Therefore, regarding these six types of specific contour lines (hereinafter referred to as specific contour segments), specific contour segment data that defines the shapes of these basic specific contour segments is separately stored, and these specific contour segment data are Based on this, it is possible to obtain modified specific contour segment data of a desired size and to synthesize this modified specific contour segment data with unique contour segment data representing the shape of a unique contour segment other than the specific contour segment.

【0021】従って、パーツフォントメモリ22には、
図4(a)に示すアクセント、図5(a)に示すウロコ
、図6(a)に示す筆オサエ、図4(b)に示すトメ、
図5(b)に示す角ウロコ及び図6(b)に示すハネの
6種類の基本特定輪郭セグメントの夫々に関して、種別
フラグと、これら基本特定輪郭セグメントの形状を表わ
す基本特定輪郭セグメントデータと、基本の大きさを表
わす寸法データとが格納されている。このパーツフォン
トメモリ22が本発明の特定輪郭線記憶手段を構成する
Therefore, in the parts font memory 22,
The accent shown in FIG. 4(a), the scales shown in FIG. 5(a), the brush height shown in FIG. 6(a), the tome shown in FIG. 4(b),
For each of the six types of basic specific contour segments of the horn scales shown in FIG. 5(b) and the wings shown in FIG. 6(b), a type flag, basic specific contour segment data representing the shape of these basic specific contour segments, Dimension data representing the basic size is stored. This parts font memory 22 constitutes the specific outline storage means of the present invention.

【0022】前記種別フラグとして、アクセントにはフ
ラグAが、ウロコにはフラグUが、筆オサエにはフラグ
Oが、トメにはフラグTが、角ウロコにはフラグKが、
ハネにはフラグHが基本特定輪郭セグメントデータに対
応づけて夫々格納されている。
As the type flags, the accent is flag A, the scale is flag U, the brush face is flag O, the tome is flag T, the square scale is flag K, and so on.
A flag H is stored in each wing in association with basic specific contour segment data.

【0023】基本特定輪郭セグメントデータとしては、
基本特定輪郭セグメントを規定する複数の座標データが
格納されている。
[0023] As basic specific contour segment data,
A plurality of coordinate data defining basic specific contour segments are stored.

【0024】また、寸法データには、幅(W)と高さ(
H)と長さ(L)が格納されている。但し、図4(b)
に示すように、トメにはWとHのみが格納され、図5(
b)に示すように角ウロコにはHとLのみが格納されて
いる。
[0024] Also, the dimension data includes width (W) and height (
H) and length (L) are stored. However, Fig. 4(b)
As shown in Figure 5, only W and H are stored in the tome.
As shown in b), only H and L are stored in the horn scales.

【0025】基本特定輪郭セグメントの開始座標データ
はxy座標の原点(0,0)であり、この開始座標デー
タに続く複数の座標データの夫々は開始座標点を原点と
するローカル座標系の相対座標データである。
[0025] The starting coordinate data of the basic specified contour segment is the origin (0, 0) of the xy coordinates, and each of the plurality of coordinate data following this starting coordinate data is a relative coordinate of the local coordinate system with the starting coordinate point as the origin. It is data.

【0026】尚、フラグA、フラグU、フラグO、フラ
グT、フラグK、フラグHを種別フラグという。
Note that flag A, flag U, flag O, flag T, flag K, and flag H are referred to as type flags.

【0027】一方、アウトラインフォントメモリ20に
は、多数のキャラクタの各々について、キャラクタのコ
ード番号に関連づけて、1つ又は複数の特定輪郭セグメ
ントとそれ以外の1つ又は複数の固有輪郭セグメントと
に分割し、特定輪郭セグメントについてはその種別フラ
グと主要諸元(W、H、L等)の寸法を規定する寸法デ
ータとが格納され、また固有輪郭セグメントについては
その形状を表わす固有輪郭セグメントデータがグローバ
ル座標系の絶対座標データで格納されている。このアウ
トラインフォントメモリ20が本発明のキャラクタ記憶
手段を構成する。
On the other hand, in the outline font memory 20, each of a large number of characters is divided into one or more specific outline segments and one or more other unique outline segments in association with the code number of the character. However, for a specific contour segment, its type flag and dimension data that defines the dimensions of its main specifications (W, H, L, etc.) are stored, and for a unique contour segment, the unique contour segment data that represents its shape is stored globally. Stored as absolute coordinate data in the coordinate system. This outline font memory 20 constitutes the character storage means of the present invention.

【0028】この固有輪郭セグメントデータには、次の
表1に示すように、固有輪郭セグメントに関して、開始
データと直線データとベジェ曲線(以下、単に曲線とい
う)データとアウトライン終了データと文字終了データ
とが夫々格納されている。
As shown in Table 1 below, this unique contour segment data includes start data, straight line data, Bezier curve (hereinafter simply referred to as curve) data, outline end data, and character end data regarding the unique contour segment. are stored respectively.

【0029】[0029]

【表1】[Table 1]

【0030】この開始データは開始フラグSと開始点を
規定するXY座標の座標データとからなり、直線データ
は直線フラグLとその直線の終点を規定する座標データ
とからなり、曲線データは曲線フラグBと第1制御点Q
1の座標データと第2制御点Q2の座標データと終点の
座標データとからなり、アウトライン終了データには各
アウトラインの終了を指示するアウトライン終了フラグ
*が格納され、また文字終了データには文字の終了を指
示する文字終了フラグ!が格納されている。
The start data consists of a start flag S and coordinate data of XY coordinates defining the starting point, the straight line data consists of a straight line flag L and coordinate data defining the end point of the straight line, and the curve data consists of a curve flag L. B and the first control point Q
It consists of the coordinate data of point 1, the coordinate data of second control point Q2, and the coordinate data of the end point, and the outline end data stores an outline end flag * that instructs the end of each outline, and the character end data stores the end point of each character. Character end flag indicating end! is stored.

【0031】また、特定輪郭セグメントについては、フ
ラグA:アクセント、フラグU:ウロコ、フラグO:筆
オサエ、フラグT:トメ、フラグK:角ウロコ、フラグ
H:ハネの種別フラグと、特定輪郭セグメントの大きさ
を規定する寸法データ(w・l・h)とが格納されてい
る。
Regarding the specific contour segment, flag A: accent, flag U: scale, flag O: brush height, flag T: tome, flag K: corner scale, flag H: splash type flag, and the specific contour segment. Dimension data (w, l, h) that defines the size of is stored.

【0032】即ち、アクセントに関してはフラグAと3
つの寸法データ(w・l・h)とがこの順序で格納され
(図7(a)参照)、ウロコに関してはフラグUと3つ
の寸法データ(w・l・h)とがこの順序で格納され(
図8(a)参照)、筆オサエに関してはフラグOと3つ
の寸法データ(w・l・h)とがこの順序で格納され(
図9(a)参照)、トメに関してはフラグTと2つの寸
法データ(w・h)とがこの順序で格納され(図7(b
)参照)、角ウロコに関してはフラグKと2つの寸法デ
ータ(l・h)とがこの順序で格納され(図8(b)参
照)、ハネに関してはフラグHと3つの寸法データ(w
・l・h)とがこの順序で格納されている(図9(b)
参照)。
That is, for accents, flags A and 3
The three dimension data (w, l, h) are stored in this order (see Figure 7(a)), and for the scales, the flag U and three dimension data (w, l, h) are stored in this order. (
(Refer to FIG. 8(a)), for the brush size, flag O and three dimension data (w, l, h) are stored in this order (
(See Fig. 9(a)), and for the tome, the flag T and two dimension data (w and h) are stored in this order (see Fig. 7(b)
), for the horn scales, a flag K and two dimension data (l and h) are stored in this order (see FIG. 8(b)), and for wings, a flag H and three dimension data (w
・l・h) are stored in this order (Figure 9(b)
reference).

【0033】例えば、図10に示す明朝体漢字「育」の
アウトラインデータは、次の表2a・表2bに示すよう
に固有輪郭セグメントデータとウロコや筆オサエやアク
セントなど6種類の特定輪郭セグメントデータとでアウ
トラインフォントメモリ20に格納されている。
For example, the outline data for the Mincho kanji "Iku" shown in FIG. 10 is composed of unique contour segment data and six types of specific contour segments such as scales, brush strokes, and accents, as shown in Tables 2a and 2b below. The data is stored in the outline font memory 20.

【0034】[0034]

【表2a】[Table 2a]

【0035】[0035]

【表2b】[Table 2b]

【0036】テキストメモリ24には、入力装置10か
ら供給されるテキストデータ(コード列)が格納される
。ワーキングメモリ26にはCPU16で演算処理した
各種の演算結果が格納される。ドットデータメモリ28
には変換されたドットデータが格納される。
The text memory 24 stores text data (code string) supplied from the input device 10. The working memory 26 stores various calculation results processed by the CPU 16. Dot data memory 28
The converted dot data is stored in .

【0037】次に、データ変換制御装置14で行なわれ
るデータ変換制御のルーチンについて、図11〜図16
のフローチャートに基いて説明する。尚、図中符号Si
(i=10、11、12・・・)は各ステップである。
Next, FIGS. 11 to 16 show the data conversion control routine performed by the data conversion control device 14.
This will be explained based on the flowchart. In addition, the symbol Si in the figure
(i=10, 11, 12...) is each step.

【0038】テキストメモリ24に格納されたコードデ
ータが読出され、このコードデータのアウトラインデー
タがアウトラインフォントメモリ20から読み出されて
ワーキングメモリ26に格納されるとこの制御(図11
参照)が開始され、先ずワーキングメモリ26に格納さ
れている最初のフラグが読み出され(S10)、このフ
ラグが固有輪郭セグメントデータに含まれるフラグのと
きには(S11・S12・S13:No)、セグメント
データ展開処理制御(図12参照)が実行される。
When the code data stored in the text memory 24 is read out and the outline data of this code data is read out from the outline font memory 20 and stored in the working memory 26, this control (FIG. 11) is performed.
) is started, and first the first flag stored in the working memory 26 is read out (S10), and if this flag is included in the unique contour segment data (S11, S12, S13: No), the segment Data expansion processing control (see FIG. 12) is executed.

【0039】この制御が開始され、今読み出したフラグ
が「S」のときには(S20:Yes)、開始座標デー
タが読み出され(S21)、指定されたサイズに拡大・
縮小や回転や斜体変換する変形処理(スケーリング処理
)が実行され(S22)、スケーリング処理後の開始座
標データがワーキングメモリ26に格納され(S23)
、S10にリターンする。
When this control is started and the flag just read out is "S" (S20: Yes), the start coordinate data is read out (S21) and enlarged to the specified size.
Transformation processing (scaling processing) such as reduction, rotation, and italic conversion is executed (S22), and the starting coordinate data after the scaling processing is stored in the working memory 26 (S23).
, returns to S10.

【0040】また、読み出したフラグが「B」のときに
は(S20:No、S24:Yes)、曲線データつま
り第1制御点と第2制御点及び終点の3組みの座標デー
タが読み出され(S25)、スケーリング処理が実行さ
れ(S26)、スケーリング処理後の曲線データが複数
のショートベクトルに展開され(S27)、このショー
トベクトル処理された修正アウトラインデータがワーキ
ングメモリ26に格納される(S23)。
Further, when the read flag is "B" (S20: No, S24: Yes), the curve data, that is, the coordinate data of three sets of the first control point, the second control point, and the end point are read out (S25). ), scaling processing is executed (S26), the curve data after the scaling processing is developed into a plurality of short vectors (S27), and the modified outline data subjected to the short vector processing is stored in the working memory 26 (S23).

【0041】また、読み出したフラグが「L」のときに
は(S20・S24:No、S28:Yes)、直線の
座標データが読み出され(S29)、スケーリング処理
が実行され(S30)、スケーリング処理後の直線座標
データがワーキングメモリ26に格納される(S23)
Further, when the read flag is "L" (S20/S24: No, S28: Yes), the coordinate data of the straight line is read (S29), the scaling process is executed (S30), and after the scaling process The linear coordinate data of is stored in the working memory 26 (S23)
.

【0042】尚、読み出したフラグが「S」、「B」、
「L」の何れでもないときには(S28:No)、エラ
ー処理が実行され(S31)、この制御を終了する。
[0042] Note that if the read flag is "S", "B",
If it is not "L" (S28: No), error processing is executed (S31) and this control is ended.

【0043】一方、読み出されたフラグが特定輪郭セグ
メントを指示する種別フラグのときには(S11・S1
2:No、S13:Yes)、特定輪郭セグメントデー
タ変換処理制御(図13〜図15参照)が実行される。
On the other hand, when the read flag is a type flag indicating a specific contour segment (S11/S1
2: No, S13: Yes), specific contour segment data conversion processing control (see FIGS. 13 to 15) is executed.

【0044】この制御が開始され、今読み出したフラグ
が「A」のときには(S40:Yes)、フラグAに後
続する寸法データ(w、l、h)が順次読み出され(S
41)、フラグAに基いてパーツフォントメモリ22か
らアクセントの基本特定輪郭セグメントデータつまり複
数の座標データとW・L・Hの3つの基本寸法データと
が読み出され(S42)、次のように拡大・縮小処理が
実行され、この処理により作成されたアクセントの修正
特定輪郭セグメントデータがワーキングメモリ26のパ
ーツバッファに格納される(S43)。
When this control is started and the flag just read out is "A" (S40: Yes), the dimension data (w, l, h) following the flag A are read out in sequence (S40: Yes).
41) Based on the flag A, basic specific outline segment data of the accent, that is, multiple coordinate data and three basic dimension data of W, L, and H are read out from the part font memory 22 (S42), and as follows. Enlarging/reducing processing is executed, and the modified specific outline segment data of the accent created by this processing is stored in the parts buffer of the working memory 26 (S43).

【0045】従って、 フラグ0←B p0x←P0X×l/L p0y←P0Y×h/H p1x←P1X×l/L p1y←P1Y×h/H p2x←P2X×l/L p2y←P2Y×h/H フラグ1←L p3x←P3X×l/L p3y←P3Y×h/H ここで、上記拡大・縮小処理における演算にて他の輪郭
線と滑らかにつながるべき点(以下、スムース点と称す
る)がずれることがある。この演算誤差によるスムース
点のずれを補正する処理が以下のように行われる。
Therefore, flag 0←B p0x←P0X×l/L p0y←P0Y×h/H p1x←P1X×l/L p1y←P1Y×h/H p2x←P2X×l/L p2y←P2Y×h/ H Flag 1 ← L p3x ← P3 It may shift. Processing to correct the shift of the smooth point due to this calculation error is performed as follows.

【0046】アクセントの場合、始点がスムース点であ
るため、ベジェ曲線の始点を示す座標値(p0x、p0
y)を補正する。
In the case of an accent, since the starting point is a smooth point, the coordinate values (p0x, p0
y) is corrected.

【0047】一般に、ベジェ曲線をそれと接続する直線
と滑らかに接続するためにはその近い方の制御点(始点
側の接続ならば第1制御点、終点側ならば第2制御点)
を接続する直線の延長線上に置けば良く、ベジェ曲線同
志滑らかに接続するには隣接する制御点同志が一直線上
に有れば良いという性質を持つ。
In general, in order to smoothly connect a Bezier curve with a straight line connecting it, use the control point closest to it (the first control point if the connection is on the starting point side, the second control point if it is on the end point side).
It is sufficient to place the control points on the extension line of the straight line connecting them, and in order to smoothly connect Bezier curves, it is sufficient that adjacent control points be on a straight line.

【0048】この性質を利用してスムース点の補正を行
なう。アクセントは必ず水平線に接続するため、座標値
p0yが始点のy座標と等しければよい。この座標系で
は特定輪郭セグメントの始点を原点とした相対座標系で
あるため、前記パーツバッファに格納された修正特定輪
郭セグメントデータの座標データp0yがp0y←0 に変更される(S44)。
[0048] This property is used to correct the smooth point. Since the accent always connects to the horizontal line, the coordinate value p0y only needs to be equal to the y coordinate of the starting point. Since this coordinate system is a relative coordinate system with the starting point of the specific contour segment as the origin, the coordinate data p0y of the modified specific contour segment data stored in the parts buffer is changed to p0y←0 (S44).

【0049】次に、アクセントはフラグBを含む1つの
曲線データとフラグLを含む1つの直線データとからな
っているので、データ数として「2」がカウンタCにセ
ットされ(S45)、固有輪郭セグメントデータにこの
アクセントの特定輪郭セグメントデータを合成させるた
めに、相対座標系である特定輪郭セグメントデータの各
座標データが、絶対座標系である絶対座標データに夫々
変換される(S46)。
Next, since the accent consists of one curve data including flag B and one straight line data including flag L, "2" is set in counter C as the number of data (S45), and the unique contour In order to synthesize the specific contour segment data of this accent with the segment data, each coordinate data of the specific contour segment data which is a relative coordinate system is converted into absolute coordinate data which is an absolute coordinate system (S46).

【0050】即ち、このアクセントの開始座標データが
直前にワーキングメモリ26に格納したアウトラインデ
ータの最終座標データに置換されるとともに、開始座標
データが変換により変更された座標データ分だけアクセ
ントの各座標データに加算することよにり実行される。
That is, the start coordinate data of this accent is replaced with the final coordinate data of the outline data stored in the working memory 26 immediately before, and each coordinate data of the accent is changed by the amount of coordinate data that has been changed by the conversion of the start coordinate data. This is done by adding to .

【0051】次に、拡大・縮小された修正特定輪郭セグ
メントデータについて、前記セグメントデータ展開処理
がカウンタCの回数だけ繰り返されて(S47〜S49
)、リターンする。
Next, the segment data expansion process is repeated for the number of times of counter C (S47 to S49) for the modified specified contour segment data that has been expanded/reduced.
), return.

【0052】また、読み出したフラグが「U」のときに
は(S50:Yes)、フラグUに後続する寸法データ
(w、l、h)が順次読み出され(S51)、フラグU
に基いてパーツフォントメモリ22からウロコの基本特
定輪郭セグメントデータとW・L・Hの3つの基本寸法
データとが読み出され(S52)、次の拡大・縮小処理
により作成されたウロコの修正特定輪郭セグメントデー
タがワーキングメモリ26のパーツバッファに格納され
る(S53)。
Further, when the read flag is "U" (S50: Yes), the dimensional data (w, l, h) following the flag U is read out in sequence (S51), and the flag U is read out sequentially (S51).
Based on this, the basic specific contour segment data of the scales and the three basic dimension data of W, L, and H are read out from the parts font memory 22 (S52), and the corrected and specified scales created by the following enlargement/reduction processing are read out. The contour segment data is stored in the parts buffer of the working memory 26 (S53).

【0053】従って、 フラグ0←B p0x←P0X×l/L p0y←P0Y×h/H p1x←P1X×l/L p1y←P1Y×h/H p2x←P2X×l/L p2y←P2Y×h/H フラグ1←B p3x←P3X×l/L p3y←P3Y×h/H p4x←P4X×l/L p4y←P4Y×h/H p5x←P5X×l/L p5y←P5Y×h/H フラグ2←L p6x←P6X×l/L p6y←P6Y×h/H フラグ3←L p7x←P7X×l/L p7y←P7Y×h/H となる。[0053] Therefore, Flag 0←B p0x←P0X×l/L p0y←P0Y×h/H p1x←P1X×l/L p1y←P1Y×h/H p2x←P2X×l/L p2y←P2Y×h/H Flag 1←B p3x←P3X×l/L p3y←P3Y×h/H p4x←P4X×l/L p4y←P4Y×h/H p5x←P5X×l/L p5y←P5Y×h/H Flag 2←L p6x←P6X×l/L p6y←P6Y×h/H Flag 3←L p7x←P7X×l/L p7y←P7Y×h/H becomes.

【0054】ウロコのスムース点は始点と座標(p2x
、p2y)、(p5x、p5y)で表される2点である
。これらの点を夫々p2、p5とする。共にベジェ曲線
上の点であるので、上記ベジェ曲線の性質を利用して補
正を行なう。
[0054] The smooth point of the scales is the starting point and the coordinates (p2x
, p2y) and (p5x, p5y). Let these points be p2 and p5, respectively. Since both points are on the Bezier curve, correction is performed using the properties of the Bezier curve.

【0055】ウロコは必ず水平線に接続するため、p0
y←0 と修正する(S54)。
[0055] Since the scales always connect to the horizontal line, p0
It is corrected as y←0 (S54).

【0056】点p2においては点p2と座標(p1x、
p1y)で表される点p1、(p3x、p3y)で表さ
れる点p3の3点を共に垂直線上に置くことで輪郭線を
滑らかに連結できる。従って、 p2x←p1x p3x←0 と修正する(S54)。
At point p2, point p2 and coordinates (p1x,
The contour lines can be smoothly connected by placing the three points p1 represented by p1y) and point p3 represented by (p3x, p3y) on a vertical line. Therefore, it is corrected as p2x←p1x p3x←0 (S54).

【0057】点p5は座標(p4x、p4y)で表され
る点(以下この点を点p4称する)を、点p5と座標(
p6x、p6y)で表される点(以下この点を点p6称
する)とを結ぶ直線の延長線上に置けばよいが、この場
合にも演算誤差が発生する場合がある。又、点p5と点
p6とを結ぶ直線に対して点p4が輪郭線がある側とは
反対側、即ち図6(a)における前記直線の右側に少し
でも飛び出していると、特に接続点の段差が目立つとい
う傾向がある。
Point p5 is a point expressed by coordinates (p4x, p4y) (hereinafter referred to as point p4), and point p5 and coordinates (
p6x, p6y) (hereinafter this point will be referred to as point p6), but a calculation error may occur in this case as well. Also, if point p4 protrudes even slightly to the opposite side of the contour line with respect to the straight line connecting points p5 and p6, that is, to the right of the straight line in FIG. There is a tendency for the difference in level to be noticeable.

【0058】上述した2つの理由で斜めの輪郭線に接続
するスムース点の補正は、少なくとも制御点が外側には
出ないように行なう。従って、 (p6y−p5y)/(p6x−p5x)≧(p5y−
p4y)/(p5x−p4x)が成り立つようにp4y
を修正する(S54)。
For the two reasons mentioned above, smooth points connected to oblique contour lines are corrected so that at least the control points do not go outside. Therefore, (p6y-p5y)/(p6x-p5x)≧(p5y-
p4y)/(p5x-p4x) holds.
(S54).

【0059】以上のように前記パーツバッファ内に格納
されたp0y、p2x、p3x、p4yの各データが修
正される。ウロコは2つの曲線データと2つの直線デー
タとからなっているので、データ数として「4」がカウ
ンタCにセットされ(S55)、S46を経て、拡大・
縮小された修正特定輪郭セグメントデータについて、セ
グメントデータ展開処理がカウンタCの回数だけ繰り返
される(S47〜S49)。
As described above, each data p0y, p2x, p3x, and p4y stored in the parts buffer is modified. Since the scales consist of two curved data and two straight line data, "4" is set in counter C as the number of data (S55), and after going through S46, it is enlarged and
Regarding the reduced modified specific outline segment data, the segment data expansion process is repeated the number of times of counter C (S47 to S49).

【0060】また、読み出したフラグが「O」のときに
は(S56:Yes)、フラグOに後続する寸法データ
(w、l、h)が順次読み出され(S57)、フラグO
に基いてパーツフォントメモリ22から筆オサエの基本
特定輪郭セグメントデータとW・L・Hの3つの基本寸
法データとが読み出され(S58)、次の拡大・縮小処
理により作成された筆オサエの修正特定輪郭セグメント
データがワーキングメモリ26のパーツバッファに格納
される(S59)。
Further, when the read flag is "O" (S56: Yes), the dimensional data (w, l, h) following the flag O is read out in sequence (S57), and the flag O is read out sequentially (S57).
Based on this, the basic specific outline segment data and three basic dimension data of W, L, and H of the brush face are read out from the parts font memory 22 (S58), and the brush face created by the following enlargement/reduction processing is read out from the parts font memory 22. The modified specific outline segment data is stored in the parts buffer of the working memory 26 (S59).

【0061】従って、 フラグ0←B p0x←P0X×l/(L−W) p0y←P0Y×h/H p1x←P1X×l/(L−W) p1y←P1Y×h/H p2x←P2X×l/(L−W) p2y←P2Y×h/H フラグ1←B p3x←P3X×l/L p3y←P3Y×h/H p4x←P4X×l/L p4y←P4Y×h/H p5x←P5X×l/L p5y←P5Y×h/H フラグ2←L p6x←P6X×l/L p6y←P6Y×h/H 次に、筆オサエのスムース点は点p2、点p5であり、
共にベジェ曲線上の点であるので、上記ベジェ曲線の性
質を利用して補正を行なう。  点p2においては点p
2、点p1、点p3の3点を共に垂直線上に置くことで
輪郭線を滑らかに連結できる。従って、p2x←p1x p3x←0 と修正する(S60)。
Therefore, Flag 0←B p0x←P0X×l/(L-W) p0y←P0Y×h/H p1x←P1X×l/(L-W) p1y←P1Y×h/H p2x←P2X×l /(L-W) p2y←P2Y×h/H Flag 1←B p3x←P3X×l/L p3y←P3Y×h/H p4x←P4X×l/L p4y←P4Y×h/H p5x←P5X×l /L p5y←P5Y×h/H Flag 2←L p6x←P6X×l/L p6y←P6Y×h/H Next, the smooth points of the brush stroke are point p2 and point p5,
Since both points are on the Bezier curve, correction is performed using the properties of the Bezier curve. At point p2, point p
2. By placing the three points p1 and p3 on a vertical line, the contour lines can be smoothly connected. Therefore, the correction is made as p2x←p1x p3x←0 (S60).

【0062】点p5の補正はウロコの場合と同様に、(
p6y−p5y)/(p6x−p5x)≧(p5y−p
4y)/(p5x−p4x)が成り立つようにp4yを
修正する(S54)。
[0062] The correction of point p5 is as in the case of scales, (
p6y-p5y)/(p6x-p5x)≧(p5y-p
p4y is corrected so that p4y)/(p5x-p4x) holds (S54).

【0063】以上のように前記パーツバッファ内に格納
されたp2x、p3x、p4yの各データが修正される
。筆オサエは2つの曲線データと1つの直線データとか
らなっているので、データ数として「3」がカウンタC
にセットされ(S61)、S46を経て、拡大・縮小さ
れた修正特定輪郭セグメントデータについて、セグメン
トデータ展開処理がカウンタCの回数だけ繰り返される
(S47〜S49)。
As described above, each data p2x, p3x, and p4y stored in the parts buffer is modified. Since the writing brush consists of two curve data and one straight line data, "3" is the number of data in the counter C.
(S61), and after S46, the segment data development process is repeated for the modified specific contour segment data that has been enlarged or reduced by the number of times of counter C (S47 to S49).

【0064】また、読み出したフラグが「T」のときに
は(S62:Yes)、フラグTに後続する寸法データ
(w、h)が順次読出され(S63)、フラグTに基い
てパーツフォントメモリ22からトメの基本特定輪郭セ
グメントデータとW・Hの2つの基本寸法データとが読
出され(S64)、次の拡大・縮小処理により作成され
たトメの修正特定輪郭セグメントデータがパーツバッフ
ァに格納される(S65)。
Further, when the read flag is "T" (S62: Yes), the dimension data (w, h) following the flag T are read out in sequence (S63), and based on the flag T, the dimension data (w, h) are read out from the parts font memory 22. The basic specific contour segment data of the toe and the two basic dimension data of W and H are read out (S64), and the corrected specific contour segment data of the toe created by the next enlargement/reduction process is stored in the parts buffer ( S65).

【0065】従って、 フラグ0←B p0x←P0X×l/L p0y←P0Y×h/W p1x←P1X×l/L p1y←P1Y×h/W p2x←P2X×l/L p2y←P2Y×h/W フラグ1←B p3x←P3X×l/L p3y←P3Y×h/W p4x←P4X×l/L p4y←P4Y×h/W p5x←P5X×l/L p5y←P5Y×h/W 次に、トメのスムース点もウロコと同様に始点、点p2
、点p5である。
Therefore, flag 0←B p0x←P0X×l/L p0y←P0Y×h/W p1x←P1X×l/L p1y←P1Y×h/W p2x←P2X×l/L p2y←P2Y×h/ W Flag 1←B p3x←P3X×l/L p3y←P3Y×h/W p4x←P4X×l/L p4y←P4Y×h/W p5x←P5X×l/L p5y←P5Y×h/W Next, The smooth point of the tome is also the starting point, point p2, just like the scales.
, point p5.

【0066】始点と点p5とは必ず垂直方向の輪郭線に
接続することから、 p0x←0 p5x←p4x(但し、p4x=wとする)に修正され
る(S66)。
Since the starting point and point p5 are always connected to the vertical contour line, they are corrected to p0x←0 p5x←p4x (where p4x=w) (S66).

【0067】また、点p2においては、点p2と点p1
と点p3との3点を共に水平線上に置くことで輪郭線を
滑らかに連結できる。従って、 p2y←p1y p3y←0 と修正される(S66)。
[0067] Also, at point p2, point p2 and point p1
By placing the three points, p3 and p3, on the horizontal line, the contour lines can be smoothly connected. Therefore, it is corrected as p2y←p1y p3y←0 (S66).

【0068】トメは2つの曲線データからなっているの
で、データ数として「2」がカウンタCにセットされ(
S67)、S46を経て、拡大・縮小された修正特定輪
郭セグメントデータについて、セグメントデータ展開処
理がカウンタCの回数だけ繰り返される(S47〜S4
9)。
Since the tome consists of two curve data, "2" is set in the counter C as the data number (
After S67) and S46, the segment data expansion process is repeated for the number of times of counter C for the enlarged/reduced modified specific contour segment data (S47 to S4).
9).

【0069】また、読み出したフラグが「K」のときに
は(S68:Yes)、フラグKに後続する寸法データ
(l、h)が順次読み出され(S69)、フラグKに基
いてパーツフォントメモリ22から角ウロコの基本特定
輪郭セグメントデータとL、Hの2つの基本寸法データ
とが読出され(S70)、次の拡大・縮小処理により作
成された角ウロコの修正特定輪郭セグメントデータがパ
ーツバッファに格納される(S71)。
Further, when the read flag is "K" (S68: Yes), the dimension data (l, h) following the flag K is read out in sequence (S69), and the part font memory 22 is read out based on the flag K. The basic specified contour segment data of the horn scales and the two basic dimension data of L and H are read out (S70), and the corrected specified contour segment data of the horn scales created by the next enlargement/reduction process is stored in the parts buffer. (S71).

【0070】従って、 フラグ0←B p0x←P0X×l/L p0y←P0Y×h/H p1x←P1X×l/L p1y←P1Y×h/H p2x←P2X×l/L p2y←P2Y×h/H フラグ1←B p3x←P3X×l/L p3y←P3Y×h/H p4x←P4X×l/L p4y←P4Y×h/H p5x←P5X×l/L p5y←P5Y×h/H フラグ2←L p6x←P6X×l/L p6y←P6Y×h/H フラグ3←L p7x←P7X×l/L p7y←P7Y×h/H 次に、角ウロコのスムース点は筆オサエと同様に、点p
2、点p5であるから、前記S60と同様にp2x、p
3x、p4yの各データの修正がなされる(S72)。
Therefore, flag 0←B p0x←P0X×l/L p0y←P0Y×h/H p1x←P1X×l/L p1y←P1Y×h/H p2x←P2X×l/L p2y←P2Y×h/ H Flag 1←B p3x←P3X×l/L p3y←P3Y×h/H p4x←P4X×l/L p4y←P4Y×h/H p5x←P5X×l/L p5y←P5Y×h/H Flag 2← L p6x ← P6
2. Since the point is p5, p2x, p as in S60 above.
Each data of 3x and p4y is corrected (S72).

【0071】角ウロコは2つの曲線データと2つの直線
データとからなっているので、データ数として「4」が
カウンタCにセットされ(S73)、S46を経て拡大
・縮小された修正特定輪郭セグメントデータについて、
セグメントデータ展開処理がカウンタCの回数だけ繰り
返る(S47〜S49)。
Since the square scales consist of two curve data and two straight line data, "4" is set in the counter C as the number of data (S73), and the corrected specific contour segment is expanded/reduced through S46. About the data
The segment data expansion process is repeated the number of times of counter C (S47 to S49).

【0072】また、読み出したフラグが「H」のときに
は(S74:Yes)、フラグHに後続する寸法データ
(w、l、h)が順次読み出され(S75)、フラグH
に基いてパーツフォントメモリ22からハネの基本特定
輪郭セグメントデータとW・L・Hの3つの基本寸法デ
ータとが読出され(S76)、次の拡大・縮小処理によ
り作成されたハネの修正特定輪郭セグメントデータパー
ツバッファに格納される(S77)。
Further, when the read flag is "H" (S74: Yes), the dimension data (w, l, h) following the flag H is read out in sequence (S75), and the flag H
Based on this, the basic specific contour segment data of the wing and the three basic dimension data of W, L, and H are read out from the parts font memory 22 (S76), and the modified specific contour of the wing created by the following enlargement/reduction process is read out. The segment data is stored in the parts buffer (S77).

【0073】従って、 フラグ0←B p0x←P0X×l/L p0y←P0Y×h/H p1x←P1X×l/L p1y←P1Y×h/H p2x←P2X×l/L p2y←P2Y×h/H フラグ1←L p3x←P3X×l/L p3y←P3Y×h/H フラグ2←L p4x←P4X×l/L p4y←P4Y×h/H フラグ3←B p5x←P5X×l/L p5y←P5Y×h/H p6x←P6X×l/L p6y←P6Y×h/H p7x←P7X×l/L p7y←P7Y×h/H フラグ4←B p8x←P8X×l/L p8y←P8Y×h/H p9x←P9X×l/L p9y←P9Y×h/H p10x←P10X×l/L p10y←P10Y×h/H ハネのスムース点は始点と点p2と座標(p10x、p
10y)で表される点p10である。
Therefore, flag 0←B p0x←P0X×l/L p0y←P0Y×h/H p1x←P1X×l/L p1y←P1Y×h/H p2x←P2X×l/L p2y←P2Y×h/ H Flag 1←L p3x←P3X×l/L p3y←P3Y×h/H Flag 2←L p4x←P4X×l/L p4y←P4Y×h/H Flag 3←B p5x←P5X×l/L p5y← P5Y×h/H p6x←P6X×l/L p6y←P6Y×h/H p7x←P7X×l/L p7y←P7Y×h/H Flag 4←B p8x←P8X×l/L p8y←P8Y×h/ H p9x ← P9
10y) is the point p10.

【0074】始点及び点p10はハネが必ず垂直方向の
輪郭線に接続されることから p0x←0 p10x←p9x(但し、p9x=w−(p2x+p3
x+p4x+p7x)である) と修正される(S78)。
Since the starting point and point p10 are always connected to the contour line in the vertical direction, p0x←0 p10x←p9x (however, p9x=w-(p2x+p3
x+p4x+p7x)) (S78).

【0075】点p2は点p2と点p3とを結ぶ直線が水
平方向の輪郭線であることから、 p2y←p1y p3y←0 と修正される(S78)。
Since the straight line connecting points p2 and p3 is a horizontal contour line, point p2 is corrected as p2y←p1y p3y←0 (S78).

【0076】次に、ハネは3つの曲線データと2つの直
線データとからなっているので、データ数として「5」
がカウンタCにセットされ(S79)、S46を経て、
拡大・縮小された修正特定輪郭セグメントデータについ
て、セグメントデータ展開処理がカウンタCの回数だけ
繰り返される(S47〜S49)。尚、S74でNoと
判定されたときにはエラー処理が実行され(S80)、
この制御を終了する。
Next, since the wing consists of three curved data and two straight line data, the number of data is "5".
is set in counter C (S79), and after S46,
The segment data development process is repeated for the number of times of counter C for the enlarged/reduced modified specific contour segment data (S47 to S49). Incidentally, when the determination is No in S74, error processing is executed (S80),
End this control.

【0077】そして、読み出したフラグが「*」のとき
には(S11:Yes)、一連のアウトラインデータの
終了なので、次のアウトラインデータの読み出しのため
にS10に戻る。
When the read flag is "*" (S11: Yes), it means that the series of outline data has ended, and the process returns to S10 to read the next outline data.

【0078】一方、読み出したフラグが「!」のときに
は(S11:No、S12:Yes)、全てのアウトラ
インデータの終了なので、入力されたキャラクタについ
て、ワーキングメモリ26に格納されている合成された
輪郭線全体を成す修正アウトラインデータがドットデー
タに変換処理され、このドットデータがドットデータメ
モリ28に格納され(S16)、この制御を終了する。
On the other hand, when the read flag is "!" (S11: No, S12: Yes), all outline data has been completed, so the synthesized outline stored in the working memory 26 for the input character is The corrected outline data forming the entire line is converted into dot data, this dot data is stored in the dot data memory 28 (S16), and this control is ended.

【0079】上述した方法を用いたレーザプリンタの印
字結果は特定輪郭セグメント、すなわちキャラクタ毎に
共通する部分の形状が統一され、しかもアウトラインフ
ォントメモリのデータ量を削減することができる。
The printing result of the laser printer using the above-described method has a uniform shape of a specific contour segment, that is, a portion common to each character, and the amount of data in the outline font memory can be reduced.

【0080】尚、上記実施例では明朝体漢字を例に挙げ
、アクセント、ウロコ、筆オサエ、トメ、角ウロコ及び
ハネを特定輪郭セグメントとした例を示したがこれに限
定されず、明朝体のこの他の部分や他の書体の特徴的な
部分や欧文のセリフ等について特定輪郭セグメント化す
ることも考えられる。
[0080] In the above embodiment, Mincho type kanji was taken as an example, and the accent, scale, brush-face, tome, corner scale, and hane were used as specific outline segments. It is also possible to create specific contour segments for other parts of the font, characteristic parts of other typefaces, serifs in European languages, etc.

【0081】又、上記実施例では特定輪郭セグメント化
する明朝体漢字の特定輪郭線として図3に示すものを取
り上げたが、これに限定されるものではなく、明朝体の
その他の特徴的な部分についても特定輪郭セグメント化
することが考えられる。
[0081]Also, in the above embodiment, the specific outline shown in Fig. 3 of the Mincho typeface kanji to be segmented is taken up as the specific contour line, but the outline is not limited to this, and other characteristic features of the Mincho typeface may be used. It is conceivable to segment specific contours also for such parts.

【0082】又、上記実施例では特定輪郭線記憶手段で
あるパーツフォントメモリとキャラクタ記憶手段である
アウトラインフォントメモリとを分けて設けたが、両メ
モリを1つのROM内に設けることも可能である。
Furthermore, in the above embodiment, the parts font memory, which is a specific outline storage means, and the outline font memory, which is a character storage means, are provided separately, but it is also possible to provide both memories in one ROM. .

【0083】又、本発明はレーザプリンタに限らずそれ
以外のプリンタにも適用し得ることは勿論、プリンタ以
外にも文字・記号等のキャラクタのアウトラインデータ
を輪郭線に復元する必要のある装置に一般に適用できる
Furthermore, the present invention is not limited to laser printers, but can be applied to other printers as well, and can also be applied to devices other than printers that need to restore outline data of characters such as letters and symbols to outlines. Generally applicable.

【0084】その他、本発明の趣旨を逸脱しない範囲で
種々の応用が可能である。
Various other applications are possible without departing from the spirit of the present invention.

【0085】[0085]

【発明の効果】以上詳述したことから明らかなように、
本発明によれば、デザイナーの手作業によって作成され
た特定輪郭線部分の形状にばらつきのある元字から生成
したアウトラインデータを用いる場合においても、特定
輪郭線部分の形状が統一された高品質な文字・記号等の
キャラクタの形状を生成することが可能である。
[Effect of the invention] As is clear from the detailed description above,
According to the present invention, even when using outline data generated from original characters that are manually created by a designer and have variations in the shape of specific contour portions, high-quality data with uniform shapes of specific contour portions can be obtained. It is possible to generate the shapes of characters such as letters and symbols.

【0086】さらに特定輪郭線のデータをその種別デー
タと寸法データのみで記憶することにより容量の削減さ
れたアウトラインフォントデータを用いて輪郭線を復元
できる利点がある。
Furthermore, by storing the data of a specific contour line only as its type data and size data, there is an advantage that the contour line can be restored using outline font data with a reduced capacity.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明の構成を示す機能ブロック図である。FIG. 1 is a functional block diagram showing the configuration of the present invention.

【図2】レーザプリンタのデータ変換装置の制御系のブ
ロック図である。
FIG. 2 is a block diagram of a control system of a data conversion device for a laser printer.

【図3】明朝体漢字の特定輪郭セグメントを説明する説
明図である。
FIG. 3 is an explanatory diagram illustrating specific outline segments of Mincho-style kanji.

【図4】(a)パーツフォントメモリに格納されたアク
セントの基本特定輪郭セグメントデータ及び基本寸法デ
ータを示す図である。 (b)パーツフォントメモリに格納されたトメの基本特
定輪郭セグメントデータ及び基本寸法データを示す図で
ある。
FIG. 4(a) is a diagram showing basic specific contour segment data and basic dimension data of an accent stored in a parts font memory. (b) It is a figure which shows the basic specific contour segment data and basic dimension data of a tome stored in the parts font memory.

【図5】(a)パーツフォントメモリに格納されたウロ
コの基本特定輪郭セグメントデータ及び基本寸法データ
を示す図である。 (b)パーツフォントメモリに格納された角ウロコの基
本特定輪郭セグメントデータ及び基本寸法データを示す
図である。
FIG. 5(a) is a diagram showing basic specific contour segment data and basic dimension data of scales stored in a parts font memory. (b) It is a figure which shows the basic specific outline segment data and basic dimension data of a square scale stored in a parts font memory.

【図6】(a)パーツフォントメモリに格納された筆オ
サエの基本特定輪郭セグメントデータ及び基本寸法デー
タを示す図である。 (b)パーツフォントメモリに格納されたハネの基本特
定輪郭セグメントデータ及び基本寸法データを示す図で
ある。
FIG. 6(a) is a diagram showing basic specific contour segment data and basic dimension data of a brush stroke stored in a parts font memory. (b) It is a figure which shows the basic specific contour segment data and basic dimension data of a wing stored in the parts font memory.

【図7】(a)アクセントを指定された寸法データに基
いて作成した修正特定輪郭セグメントデータを示す図で
ある。 (b)トメを指定された寸法データに基いて作成した修
正特定輪郭セグメントデータを示す図である。
FIG. 7(a) is a diagram showing modified specific contour segment data created based on dimension data in which accents are specified. (b) It is a figure which shows the modified specific outline segment data created based on the dimension data in which the tome was specified.

【図8】(a)ウロコを指定された寸法データに基いて
作成した修正特定輪郭セグメントデータを示す図である
。 (b)角ウロコを指定された寸法データに基いて作成し
た修正特定輪郭セグメントデータを示す図である。
FIG. 8(a) is a diagram showing modified specific contour segment data created based on dimension data specifying scales. (b) It is a figure which shows the modified specific outline segment data created based on the dimension data which specified the square scale.

【図9】(a)筆オサエを指定された寸法データに基い
て作成した修正特定輪郭セグメントデータを示す図であ
る。 (b)ハネを指定された寸法データに基いて作成した修
正特定輪郭セグメントデータを示す図である。
FIG. 9(a) is a diagram showing corrected specific contour segment data created based on dimension data specifying a brush stroke. (b) It is a figure which shows the modified specific outline segment data created based on the dimension data which designated the wing.

【図10】明朝体漢字「育」の輪郭線図である。FIG. 10 is a contour diagram of the Mincho-style kanji character “iku”.

【図11】データ変換制御のルーチンのフローチャート
FIG. 11 is a flowchart of a data conversion control routine.

【図12】セグメントデータ展開処理制御のルーチンの
フローチャートである。
FIG. 12 is a flowchart of a routine for controlling segment data expansion processing.

【図13】特定輪郭セグメントデータ変換処理制御のル
ーチンのフローチャートである。
FIG. 13 is a flowchart of a specific contour segment data conversion processing control routine.

【図14】特定輪郭セグメントデータ変換処理制御のル
ーチンのフローチャートである。
FIG. 14 is a flowchart of a specific contour segment data conversion processing control routine.

【図15】特定輪郭セグメントデータ変換処理制御のル
ーチンのフローチャートである。
FIG. 15 is a flowchart of a specific contour segment data conversion processing control routine.

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

16  CPU 18  プログラムメモリ 20  アウトラインフォントメモリ(キャラクタ記憶
手段)
16 CPU 18 Program memory 20 Outline font memory (character storage means)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  各々が一つ又は複数の輪郭線からなる
文字・記号の多数のキャラクタにおける複数の輪郭線に
その一部として共通に含まれる特定輪郭セグメントを複
数種分類し、これら特定輪郭セグメントの形状を夫々規
定する特定輪郭セグメントデータとその種別データを対
応付けて格納した特定輪郭線記憶手段と、多数のキャラ
クタの各々について、1つ又は複数の特定輪郭セグメン
トとそれ以外の1つ又は複数の固有輪郭セグメントとに
分割し、特定輪郭セグメントについてはその主要諸元の
寸法を規定する寸法データと種別データとを格納し、ま
た固有輪郭セグメントについてはその形状を表す固有輪
郭セグメントデータを格納したキャラクタ記憶手段と、
外部からの指令で指定されたキャラクタについてキャラ
クタ記憶手段から寸法データと種別データと固有輪郭セ
グメントデータとを読み出す読み出し手段と、前記読み
出し手段で読み出された種別データに基づいて特定輪郭
線記憶手段から対応する特定輪郭セグメントデータを読
み出し、その特定輪郭セグメントデータと寸法データに
基づいて、特定輪郭セグメントの主要諸元が寸法データ
で規定された寸法となるように拡大または縮小の演算処
理を施して特定輪郭セグメントの形状を表す第1修正特
定輪郭セグメントデータを作成する第1データ修正手段
と、第1修正特定輪郭セグメントデータに規定される特
定輪郭セグメントが滑らか輪郭線にて形成されるように
第1修正特定輪郭セグメントデータを修正し第2修正特
定輪郭セグメントデータを作成する第2データ修正手段
と、前記読み出し手段で読出された固有輪郭セグメント
データと、第2データ修正手段により作成された第2修
正特定輪郭セグメントデータとを用いて、前記指定キャ
ラクタの輪郭線全体の輪郭線データを合成するデータ合
成手段とを備えたことを特徴とする輪郭線データ処理装
置。
Claim 1: Classifying a plurality of types of specific contour segments that are commonly included as a part of a plurality of contour lines in a large number of characters/symbols each consisting of one or more contour lines, and classifying these specific contour segments. a specific contour storage means storing specific contour segment data defining the shape of each character and its type data in association with each other; For the specific contour segment, dimension data and type data defining the dimensions of its main specifications are stored, and for the specific contour segment, unique contour segment data representing the shape is stored. a character storage means;
reading means for reading dimension data, type data, and unique contour segment data from the character storage means for a character designated by an external command; The corresponding specific contour segment data is read out, and based on the specific contour segment data and dimension data, the main specifications of the specific contour segment are specified by performing arithmetic processing to enlarge or reduce them to the dimensions specified by the dimension data. a first data modification means for creating first modified specific contour segment data representing the shape of the contour segment; a second data modification means for modifying the modified specific contour segment data to create second modified specific contour segment data; a second modification created by the unique contour segment data read by the reading means; and a second modification created by the second data modification means; 1. A contour data processing device comprising: data synthesis means for synthesizing contour data of the entire contour of the specified character using specified contour segment data.
JP3043404A 1991-03-08 1991-03-08 Contour data processing device Expired - Fee Related JP3055187B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3043404A JP3055187B2 (en) 1991-03-08 1991-03-08 Contour data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3043404A JP3055187B2 (en) 1991-03-08 1991-03-08 Contour data processing device

Publications (2)

Publication Number Publication Date
JPH04280296A true JPH04280296A (en) 1992-10-06
JP3055187B2 JP3055187B2 (en) 2000-06-26

Family

ID=12662829

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3043404A Expired - Fee Related JP3055187B2 (en) 1991-03-08 1991-03-08 Contour data processing device

Country Status (1)

Country Link
JP (1) JP3055187B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07110675A (en) * 1993-06-30 1995-04-25 Iiten Inf Syst Co Ltd Character constituting method and character generating device
US8538692B2 (en) 2006-06-19 2013-09-17 Amazon Technologies, Inc. System and method for generating a path for a mobile drive unit
US8606392B2 (en) 2006-06-19 2013-12-10 Amazon Technologies, Inc. System and method for transporting inventory items
US8649899B2 (en) 2006-06-19 2014-02-11 Amazon Technologies, Inc. System and method for maneuvering a mobile drive unit
US9448560B2 (en) 2006-06-19 2016-09-20 Amazon Technologies, Inc. System and method for coordinating movement of mobile drive units

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07110675A (en) * 1993-06-30 1995-04-25 Iiten Inf Syst Co Ltd Character constituting method and character generating device
US8538692B2 (en) 2006-06-19 2013-09-17 Amazon Technologies, Inc. System and method for generating a path for a mobile drive unit
US8606392B2 (en) 2006-06-19 2013-12-10 Amazon Technologies, Inc. System and method for transporting inventory items
US8649899B2 (en) 2006-06-19 2014-02-11 Amazon Technologies, Inc. System and method for maneuvering a mobile drive unit
US9448560B2 (en) 2006-06-19 2016-09-20 Amazon Technologies, Inc. System and method for coordinating movement of mobile drive units
US9511934B2 (en) 2006-06-19 2016-12-06 Amazon Technologies, Inc. Maneuvering a mobile drive unit
US9519284B2 (en) 2006-06-19 2016-12-13 Amazon Technologies, Inc. Transporting inventory items using mobile drive units and conveyance equipment
US9740212B2 (en) 2006-06-19 2017-08-22 Amazon Technologies, Inc. System and method for coordinating movement of mobile drive units
US10067501B2 (en) 2006-06-19 2018-09-04 Amazon Technologies, Inc. Method and system for transporting inventory items
US10133267B2 (en) 2006-06-19 2018-11-20 Amazon Technologies, Inc. Method and system for transporting inventory items
US10809706B2 (en) 2006-06-19 2020-10-20 Amazon Technologies, Inc. Method and system for transporting inventory items
US10990088B2 (en) 2006-06-19 2021-04-27 Amazon Technologies, Inc. Method and system for transporting inventory items

Also Published As

Publication number Publication date
JP3055187B2 (en) 2000-06-26

Similar Documents

Publication Publication Date Title
JP3474037B2 (en) Character pattern generator
JP3055187B2 (en) Contour data processing device
US5519412A (en) Pattern processing method
JPH05232926A (en) Character code generating device
JP2697328B2 (en) Contour data processing device
JP2650324B2 (en) Multi-value character font generation system
JP3344538B2 (en) Character generator
JP3082228B2 (en) Data converter
JP3039214B2 (en) Data converter
JP3057959B2 (en) Data converter
JPH04100095A (en) Outline data processor
JPH0580741A (en) System and device for character font generation
JP3362738B2 (en) Contour data processing device
JP3082173B2 (en) Contour data processing device
JP3055306B2 (en) Data output device
JP3191954B2 (en) Contour data processing device
JP2881924B2 (en) Data storage device
JP2861201B2 (en) Data converter
JPH09179542A (en) Output method and device for character image data
JPH04161985A (en) Border line data processing device
JPS62175794A (en) Character generator
JPH05313634A (en) Outline font developing device
JPH0784739A (en) Data converter
JPH0519737A (en) Enlargement processing method for straight-line outline character
JPH1063248A (en) Outline font plotter

Legal Events

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

Free format text: PAYMENT UNTIL: 20080414

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090414

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090414

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100414

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees