[go: up one dir, main page]

JPH04161985A - Contour data processing device - Google Patents

Contour data processing device

Info

Publication number
JPH04161985A
JPH04161985A JP2287680A JP28768090A JPH04161985A JP H04161985 A JPH04161985 A JP H04161985A JP 2287680 A JP2287680 A JP 2287680A JP 28768090 A JP28768090 A JP 28768090A JP H04161985 A JPH04161985 A JP H04161985A
Authority
JP
Japan
Prior art keywords
data
specific
contour
contour segment
flag
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2287680A
Other languages
Japanese (ja)
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 JP2287680A priority Critical patent/JPH04161985A/en
Publication of JPH04161985A publication Critical patent/JPH04161985A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Dot-Matrix Printers And Others (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は輪郭線データ処理装置に関し、特にキャラクタ
の輪郭線を固有輪郭セグメントと特定輪郭セグメントと
に分割し、特定輪郭セグメントに関するセグメントデー
タをキャラクタ記憶手段とは別の特定輪郭記憶手段に格
納するようにしたものに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a contour line data processing device, and 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 converts segment data regarding the specific contour segment into a character contour data processing device. This invention relates to a device that is stored in specific contour storage means separate from storage means.

〔従来技術〕[Prior art]

最近、文字や記号を印字用紙に印字したり或いはデイス
プレィに表示するために、文字や記号などの多数のキャ
ラクタの輪郭線をデジタル化したアウトラインフォント
データで不揮発メモリに記憶しておき、このアウトライ
ンフォントデータに所望の大きさや太さに拡大・縮小処
理などの変換処理を施し、この変換処理されたアウトラ
インフォントデータをドツトデータに変換してレーザプ
リンタなどによりレーザ方式で印字するようにしている
Recently, in order to print characters and symbols on printing paper or display them on a display, the outline font data of many characters such as characters and symbols are digitized and stored in non-volatile memory. The data is subjected to conversion processing such as enlargement and reduction processing to a desired size and thickness, and the converted outline font data is converted to dot data and printed using a laser printer or the like.

ところで、多数のキャラクタのアウトラインフォントデ
ータを作成する場合、デザイナ−かデザインした所定の
大きさのキャラクタをキャラクタ毎に電子スキャナでデ
ジタル化するようになっている。
By the way, when creating outline font data for a large number of characters, each character of a predetermined size designed by a designer is digitized using an electronic scanner.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従って、不揮発メモリに記憶されたキャラクタのアウト
ラインフォントデータはデザイナ−かデザインしたキャ
ラクタを元文字としているので、例えば明朝体漢字にお
いて、輪郭線にその一部として共通に含まれ本来同形状
或いは近似形状であるはずの特定の輪郭線部分、例えば
実施例に係る第3図(a)に符号pAて示すアクセント
、第3図(b)に符号pUで示すウロコ、第3図(C)
に符号pOで示す筆オサエ、第3図(cl)に符号pT
で示すトメ、第3図(e)に符号pKで示す角ウロコ、
第3図(f)に符号pHて示すハネなどの特定輪郭セグ
メントの形状にバラツキか生しるという問題がある。
Therefore, the outline font data of the character stored in the non-volatile memory is based on the character designed by the designer, so for example, in Mincho kanji, the outline font data is commonly included as a part of the outline and has the same or similar shape. Specific outline portions that are supposed to be shapes, for example, accents indicated by pA in FIG. 3(a), scales indicated by pU in FIG. 3(b), and FIG. 3(C) according to the embodiment.
The writing brush is indicated by pO in Fig. 3 (cl), and pT is indicated in Fig. 3 (cl).
Tome indicated by , square scales indicated by symbol pK in Fig. 3(e),
There is a problem in that variations occur in the shape of specific contour segments such as the wing indicated by the symbol pH in FIG. 3(f).

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

そこで、本願の発明者等は、これらアクセントやウロコ
や角ウロコなどの特定輪郭セグメントに関するセグメン
トデータ及びこれら特定輪郭セグメントの形状を規定す
る基本寸法データをアウトラインフォントメモリとは別
の特定輪郭メモリに記憶する一方、アウトラインフォン
トメモリにはキャラクタの各々について、特定輪郭セグ
メント以外の固有輪郭セグメントの形状を規定する固有
輪郭セグメントデータを格納するとともに、特定輪郭セ
グメントについてはその識別フラグと所望の形状を得る
ための寸法データを格納し、指定されたキャラクタの固
有輪郭セグメントデータをアウトラインフォントメモリ
から読出す一方、特定輪郭セグメントデータ及び基本寸
法データを特定輪郭メモリから読出し、この特定輪郭セ
グメントの形状を基本寸法データと寸法データとに基く
倍率を用いて規定することを提案した。
Therefore, the inventors of the present application stored segment data regarding specific contour segments such as accents, scales, and corner scales, and basic dimension data that defines the shape of these specific contour segments in a specific contour memory separate from the outline font memory. On the other hand, for each character, the outline font memory stores unique outline segment data that defines the shapes of unique outline segments other than the specific outline segments, and for the specific outline segments, a process is performed to obtain the identification flag and desired shape. The specific outline segment data of the specified character is read out from the outline font memory, while the specific outline segment data and basic dimension data are read out from the specific outline memory, and the shape of this specific outline segment is read out from the basic dimension data. It was proposed to specify the size using a magnification based on the size and size data.

しかし、この倍率は常に1種類なので、特定輪郭セグメ
ントの形状は相似形のものしか得られないという問題か
ある。
However, since this magnification is always one type, there is a problem in that only similar shapes can be obtained for specific contour segments.

本発明の目的は、キャラクタ記憶手段のメモリ容量を縮
小し、しかも多数のキャラクタの輪郭線の一部に共通す
る特定輪郭セグメントを均整のとれた形状にし得るよう
な輪郭線データ処理装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a contour data processing device that can reduce the memory capacity of a character storage means, and can also form a specific contour segment that is common to some of the contours of a large number of characters into a well-balanced shape. There is a particular thing.

〔課題を解決するための手段〕[Means to solve the problem]

本発明に係る輪郭線データ処理装置は、第1図の機能ブ
ロック図に示すように、各々か1つ又は複数の輪郭線か
らなる文字や記号の多数のキャラクタにおける複数の輪
郭線にその一部として共通に含まれる特定輪郭セグメン
トを複数種分類し、これら特定輪郭セグメントの形状を
夫々規定する特定輪郭セグメントデータとその種別デー
タを対応づけて格納した特定輪郭記憶手段と、多数のキ
ャラクタの各々について、1つ又は複数の特定輪郭セグ
メントとそれ以外の1つ又は複数の固有輪郭セグメント
とに分割し、特定輪郭セグメントについてはその主要諸
元の寸法を規定する寸法データと種別データとを格納し
、また固有輪郭セグメントについてはその形状を表わす
固有輪郭セグメントデータを格納したキャラクタ記憶手
段と、外部からの指令で指定されたキャラクタについて
キャラクタ記憶手段から寸法データと種別データと固有
輪郭セグメントデータとを読出す読出し手段と、読出し
手段で読出された種別データに基いて特定輪郭記憶手段
から対応する特定輪郭セグメントデータを読出し、この
特定輪郭セグメントデータと寸法データとに基いて特定
輪郭セグメントを構成する複数の特定輪郭セグメントブ
ロックの各々との主要諸元が寸法データで規定された寸
法となるように複数の倍率変換の演算処理を施して特定
輪郭セグメントの形状を表わす修正特定輪郭セグメント
データを作成するデータ修正手段と、読出し手段で読出
された固有輪郭セグメントデータと、データ修正手段に
より作成された修正特定輪郭セグメントデータとを用い
て、指定キャラクタの輪郭線全体の輪郭線データを合成
するデータ合成手段とを備えたちのである。
As shown in the functional block diagram of FIG. 1, the contour data processing device according to the present invention processes a plurality of contour lines of a large number of characters of characters and symbols each consisting of one or a plurality of contour lines. a specific contour storage means for classifying a plurality of types of specific contour segments that are commonly included as a plurality of characters, and storing specific contour segment data that defines the shape of each of these specific contour segments in association with its type data, and for each of a large number of characters. , dividing the specific contour segment into one or more specific contour segments and one or more other unique contour segments, storing dimension data and type data defining the dimensions of the main specifications of the specific contour segment; Further, for the unique contour segment, the dimension data, type data, and unique contour segment data are read from the character storage means that stores the unique contour segment data representing the shape, and for the character specified by an external command. a reading means; and a reading means for reading out corresponding specific contour segment data from the specific contour storage means based on the type data read by the reading means, and selecting a plurality of specific contour segments constituting the specific contour segment based on the specific contour segment data and dimension data. data modification means for creating modified specific contour segment data representing the shape of the specific contour segment by performing a plurality of magnification conversion calculation processes so that the main specifications of each contour segment block have dimensions specified by the dimension data; and data synthesizing means for synthesizing contour data of the entire contour of the specified character using the unique contour segment data read by the reading means and the modified specific contour segment data created by the data modifying means. It's ours.

〔作用〕[Effect]

本発明に係る輪郭線データ処理装置においては、特定輪
郭記憶手段には、各々か1つ又は複数の輪郭線からなる
文字や記号の多数のキャラクタにおける複数の輪郭線に
その一部として共通に含まれる特定輪郭セグメントを複
数種分類し、これら特定輪郭セグメントの形状を夫々規
定する特定輪郭セグメントデータとその種別データか対
応つけて格納され、またキャラクタ記憶手段には、多数
のキャラクタの各々について、1つ又は複数の特定輪郭
セグメントとそれ以外の1つ又は複数の固有輪郭セグメ
ントとに分割し、特定輪郭セグメントについてはその主
要諸元の寸法を規定する寸法データと種別データとか格
納され、また固有輪郭セグメントについてはその形状を
表わす固有輪郭セグメントデータか格納されているので
、読出し手段は外部からの指令で指定されたキャラクタ
について、キャラクタ記憶手段から寸法データと種別デ
ータと固有輪郭セグメントデータとを読出す。
In the contour data processing device according to the present invention, the specific contour storage means includes a plurality of contours commonly included in a plurality of contours of a plurality of characters of characters and symbols each consisting of one or a plurality of contours. A plurality of types of specific contour segments are classified, and specific contour segment data defining the shapes of these specific contour segments and their type data are stored in association with each other. The specific contour segment is divided into one or more specific contour segments and one or more other specific contour segments, and for the specific contour segment, dimension data and type data that define the dimensions of its main specifications are stored, and the specific contour segment is divided into one or more specific contour segments and one or more other specific contour segments. Since unique contour segment data representing the shape of the segment is stored, the reading means reads the dimension data, type data, and unique contour segment data from the character storage means for the character specified by an external command. .

一方、データ修正手段は、読出し手段で読出された種別
データに基いて特定輪郭記憶手段から対応する特定輪郭
セグメントデータを読出し、この特定輪郭セグメントデ
ータと寸法データとに基いて特定輪郭セグメントを構成
する複数の特定輪郭セグメントブロックの各々との主要
諸元か寸法データで規定された寸法となるように複数の
倍率変換の演算処理を施して特定輪郭セグメン;への形
状を表わす修正特定輪郭セグメントデータを作成する。
On the other hand, the data modification means reads corresponding specific contour segment data from the specific contour storage means based on the type data read out by the reading means, and configures a specific contour segment based on the specific contour segment data and dimension data. Modified specific contour segment data representing the shape of a specific contour segment is obtained by performing arithmetic processing of multiple magnification conversions so that the dimensions are specified by the main specifications or dimension data of each of the plurality of specific contour segment blocks. create.

また、データ合成手段は、読出し手段で読出された固有
輪郭セグメントデータと、データ修正手段により作成さ
れた修正特定輪郭セグメントデータとを用いて、指定キ
ャラクタの輪郭線全体の輪郭線データを合成する。
Further, the data synthesizing means synthesizes outline data of the entire outline of the specified character using the unique outline segment data read by the reading means and the modified specific outline segment data created by the data modifying means.

〔発明の効果〕 本発明に係る輪郭線データ処理装置によれば、〔作用〕
の項で説明したように、特定輪郭記憶手段に複数種の特
定輪郭セグメントの夫々に関する特定輪郭セグメントデ
ータとその種別データを対応づけて格納し、キャラクタ
記憶手段に特定輪郭セグメントについてはその主要諸元
の寸法を規定する寸法データと種別データとを格納する
とともに、固有輪郭セグメントについてはその形状を表
わす固有輪郭セグメントデータを格納するようにしたの
で、特定輪郭記憶手段のデータ量か多量になることはな
く、キャラクタ記憶手段には複数種の特定輪郭セグメン
トデータを格納する必要がないので、キャラクタ記憶手
段のメモリ容量を大幅に低減することかできる。
[Effect of the invention] According to the contour data processing device according to the present invention, [Action]
As explained in the above section, specific contour segment data and its type data regarding each of a plurality of types of specific contour segments are stored in the specific contour storage means in association with each other, and the main specifications of the specific contour segments are stored in the character storage means. In addition to storing dimension data and type data that define the dimensions of the specific contour segment, unique contour segment data that represents the shape of the specific contour segment is also stored, so that the amount of data in the specific contour storage means does not increase. Since there is no need to store a plurality of types of specific outline segment data in the character storage means, the memory capacity of the character storage means can be significantly reduced.

更に、データ修正手段により寸法データで規定された寸
法となるように倍率変換の演算処理された修正特定輪郭
セグメントデータか作成され、データ合成手段により固
有輪郭セグメントデータとこの修正特定輪郭セグメント
データとから指定キャラクタの輪郭線全体の輪郭線デー
タが合成されるので、この輪郭線データに基いて印字さ
れたキャラクタにおける特定輪郭セグメントを均整のと
れた形状にすることができ、特定輪郭記憶手段のデータ
を複数種の書体のキャラクタに対して適用することがで
きる。
Furthermore, the data modification means creates modified specific contour segment data that has been subjected to arithmetic processing of magnification conversion so that it has the dimensions specified by the dimension data, and the data synthesis means creates modified specific contour segment data from the unique contour segment data and this modified specific contour segment data. Since the outline data of the entire outline of the specified character is synthesized, it is possible to make the specific outline segment of the printed character into a well-balanced shape based on this outline data, and the data in the specific outline storage means can be made into a well-balanced shape. It can be applied to characters in multiple types of typefaces.

加えて、特定輪郭セグメントについては、このセグメン
トを構成する複数の特定輪郭セグメントブロックの各々
の主要諸元か寸法データで規制された寸法となるように
複数の倍率変換処理か実行されるので、特定輪郭セグメ
ントの形状をセグメントブロック毎に微妙に変形させる
ことができる。
In addition, for a specific contour segment, multiple magnification conversion processes are performed so that the dimensions are regulated by the main specifications or dimension data of each of the multiple specific contour segment blocks that make up this segment. The shape of the contour segment can be subtly transformed for each segment block.

〔実施例〕〔Example〕

以下、本発明の実施例を図面に基いて説明する。 Embodiments of the present invention will be described below with reference to the drawings.

本実施例はレーザプリンタにおいて明朝体漢字を発生さ
せるために記憶したアウトラインデータ(輪郭線データ
)をドツトデータに変換するデータ変換装置に本発明を
適用した場合のものである。
This embodiment is a case in which the present invention is applied to a data conversion device that converts stored outline data (outline data) into dot data in order to generate Mincho kanji in a laser printer.

レーザプリンタの制画装置のうち、アウトラインデータ
をドツトデータに変換するデータ変換に関するデータ変
換装置の割面系は第2図に示すように構成されている。
Among the image forming apparatuses for laser printers, the cross section system of the data converting apparatus for converting outline data into dot data is constructed as shown in FIG.

データ変換制御装置14は基本的には、CPU】6と、
CPU16にデータバスなどのバス30を介して接続さ
れたROM (プログラムメモリ)18、ROM(アウ
トラインフォントメモリ)20、ROM(バー゛ソフォ
ントメモリ)22、RAM(テキストメモリ)24、R
AM (ワーキングメモリ)26及びRAM (ドツト
データメモリ)28とから構成されている。また、この
バス3゜には入力装置10及び印字装置12が接続され
ており、入力装置IOは外部から供給されるキャラクタ
コードや文字サイズデータなとデータ処理に必要な種々
のデータを入力するためのものであり、印字装置12は
ドツトデータメモリ28から出力されたビットマツプデ
ータをレーザプリント方式により印字するものである。
The data conversion control device 14 basically includes a CPU]6,
ROM (program memory) 18, ROM (outline font memory) 20, ROM (verso font memory) 22, RAM (text memory) 24, R connected to the CPU 16 via a bus 30 such as a data bus.
It is composed of AM (working memory) 26 and RAM (dot data memory) 28. In addition, an input device 10 and a printing device 12 are connected to this bus 3°, and the input device IO is used to input 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.

前記プログラムメモリ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. It stores a short vector processing subroutine that expands data into short vectors, a Bezier curve function subroutine that generates a Bezier curve function, and a conversion processing subroutine that converts short vector processed outline font data into dot data.

ところて、明朝体の漢字やひらがななとの文字及び各種
の記号なとの多数のキャラクタには、第3図(a)に符
号pAで示すFアクセントJ、第3図(b)に符号pU
で示す「ウロコ」、第3図(C)に符号pOで示す「筆
オサエ」、第3図(d)に符号pTで示す「トメ」、第
3図(e)に符号pKて示すF角つロコ」、第3図(f
)に符号pHで示す「ハネ」などのように、多数のキャ
ラクタにおける複数の輪郭線にその一部として含まれ、
しかも形状か同一または近似する特定の輪郭線か存在す
る。従って、これら6種類の特定輪郭線(以下、特定輪
郭セグメントという)に関して、これら基本特定輪郭セ
グメントの形状を規定する特定輪郭セグメントデータを
別途記憶しておき、これらの特定輪郭セグメントデータ
に基いて所望の大きさの修正特定輪郭セグメントデータ
を求め、特定輪郭セグメント以外の固有輪郭セグメント
の形状を表わす固有輪郭セグメントデータにこの修正特
定輪郭セグメントデータを合成することが可能である。
By the way, a large number of characters such as kanji, hiragana, and various symbols in the Mincho font have an F accent J, which is indicated by the symbol pA in Figure 3(a), and an F accent J, which is indicated by the symbol pA in Figure 3(b). pU
"Uroko" indicated by the symbol pO in Fig. 3(C), "Fude Osae" indicated by the symbol pO in Fig. 3(d), "Tome" indicated by the symbol pT in Fig. 3(e), and F angle indicated by the symbol pK in Fig. 3(e). ``Tsu Loco'', Figure 3 (f
) is included as part of multiple contour lines of many characters, such as "bane" indicated by the code pH,
Furthermore, there are specific contour lines that are the same or similar in shape. 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 a desired contour segment data is created based on these specific contour segment data. It is possible to obtain modified specific contour segment data having a size of , 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.

従って、パーツフォントメモリ22には、第4図(a)
に示すアクセント、第4図(b)に示すウロコ、第4図
(C)に示す筆オサエ、第4図(d)に示すトメ、第4
図(e)に示す角ウロコ及び第4図(f)に示すハネの
6種類の基本特定輪郭セグメントの夫々に関して、種別
フラグと、これら基本特定輪郭セグメントの形状を表わ
す基本特定輪郭セグメントデータと、基本の大きさを表
わす寸法データとか格納されている。種別フラグとして
、アクセントにはフラグ八が、ウロコにはフラグUが、
筆オサエにはフラグ0か、トメにはフラグTが、角ウロ
コにはフラグKが、ハネにはフラグHが基本特定輪郭セ
グメントデータに対応づけて夫々格納されている。基本
特定輪郭セグメントデータとしては、基本特定輪郭セグ
メントの開始座標データ及び基本特定輪郭セグメントを
規定する複数の座標データか格納されている。また、寸
法データには、幅(W)と高さ(H)と長さ(L)か格
納されている。但し、トメにはWとHのみか格納されて
いる。また、角ウロコは第4図(e)に示すように、高
さ(H]〜H3)と長さ(Ll〜L3)に分割された6
種類の基本寸法データか格納されている。前記開始座標
データはxy座標の原点(0,O)であり、この開始座
標データに続く複数の座標データの夫々は開始座標点を
原点とするローカル座標系の相対座標データである。尚
、フラグA、フラグU、フラグ0、フラグT、フラグK
、フラグHを種別フラグという。
Therefore, in the parts font memory 22, as shown in FIG.
The accent shown in Figure 4 (b), the scales shown in Figure 4 (C), the brush strokes shown in Figure 4 (C), the tome shown in Figure 4 (d), the
For each of the six types of basic specific contour segments of the horn scales shown in FIG. 4(e) and the wings shown in FIG. Dimension data representing the basic size is stored. The type flags are flag 8 for accent, flag U for scales,
A flag 0 is stored for the brush stroke, a flag T is stored for the toe, a flag K is stored for the square scale, and a flag H is stored for the wing in association with the basic specific outline segment data. As the basic specific contour segment data, starting coordinate data of a basic specific contour segment and a plurality of coordinate data defining the basic specific contour segment are stored. Further, the dimension data includes width (W), height (H), and length (L). However, only W and H are stored in the tome. In addition, the horn scales are divided into height (H] ~ H3) and length (Ll ~ L3) as shown in Figure 4 (e).
The basic dimension data of each type is stored. The starting coordinate data is the origin (0, O) of the xy coordinates, and each of the plurality of coordinate data following the starting coordinate data is relative coordinate data of a local coordinate system with the starting coordinate point as the origin. In addition, flag A, flag U, flag 0, flag T, flag K
, flag H is called a type flag.

一方、アウトラインフォントメモリ20には、多数のキ
ャラクタの各々について、キャラクタのコード番号に関
連つけて、1つ又は複数の特定輪郭セグメントとそれ以
外の1つ又は複数の固有輪郭セグメントとに分割し、特
定輪郭セグメントについてはその種別フラグと主要諸元
(W、H,Lなど)の寸法を規定する寸法データとが格
納され、また固有輪郭セグメントについてはその形状を
表わす固有輪郭セグメントデータかグローバル座標系の
絶対座標データで格納されている。
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. 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, either the unique contour segment data representing its shape or the global coordinate system is stored. is stored as absolute coordinate data.

この固有輪郭セグメントデータには、次の表1に示すよ
うに、固有輪郭セグメントに関して、開始データと直線
データとベジェ曲線(以下、単に曲線という)データと
アウトライン終了データと文字終了データとが夫々格納
されている。この開始データは開始フラグSと開始点を
規定するXY座標の座標データとからなり、直線データ
は直線フラグLとその直線の終点を規定する座標データ
とからなり、曲線データは曲線フラグBと第1制御点Q
1の座標データと第2制御点Q2の座標データと終点の
座標データとからなり、アウトライン終了データには各
アウトラインの終了を指示するアウトライン終了フラグ
*か格納され、また文字終了データには文字の終了を指
示する文字終了フラグ!が格納されている。
As shown in Table 1 below, this unique contour segment data stores start data, straight line data, Bezier curve (hereinafter simply referred to as curve) data, outline end data, and character end data for the unique contour segment, respectively. has been done. This start data consists of a start flag S and XY coordinate data that defines the starting point, the straight line data consists of a straight line flag L and coordinate data that defines the end point of the straight line, and the curve data consists of a curve flag B and coordinate data that defines the end point of the straight line. 1 control point Q
It consists of the coordinate data of 1, the coordinate data of the 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 the character. Character end flag indicating end! is stored.

また、特定輪郭セグメントについては、フラグA:アク
セント、フラグU:ウロコ、フラグO:筆才すエ、フラ
グT:トメ、フラグに:角つロコ、フラグH:ハネの種
別フラグと、特定輪郭セグメントの大きさを規定する寸
法データ(w−A’・h)とが格納されている。即ち、
アクセントに関してはフラグAと3つの寸法データ(w
−12・h)とかこの順序で格納され(第5図(a)参
照)、ウロコに関してはフラグUと3一つの寸法データ
(w−1−h)とかこの順序で格納され(第5図(b)
参照)、筆オサエに関してはフラグ○と3つの寸法デー
タ(w−1−h)とがこの順序で格納され(第5図(C
)参照)、トメに関してはフラグTと2つの寸法データ
(w−h)とかこの順序で格納され(第5図(d)参照
)、角ウロコに関してはフラグにと6つの寸法データ(
I!1・12・13・hl−h2・h3)とかこの順序
で格納され(第5図(e)参照)、ハネに関して1  
はフラグHと3つの寸法データ(w−f−h)とがこの
順序で格納されている(第5図(f)参照)。例えば、
第6図に示す明朝体漢字[育Jのアウトラインデータは
、次の表2a・表2bに示すように固有輪郭セグメント
データとウロコや筆オサエやアクセントなど6種類の特
定輪郭セグメントデータとでアウトラインフォントメモ
リ2゜に格納されている。
Also, regarding specific contour segments, flag A: accent, flag U: scales, flag O: calligraphy, flag T: tome, flag to: corner loco, flag H: fly type flag, and specific contour segments. Dimensional data (w-A'·h) defining the size of is stored. That is,
Regarding the accent, flag A and three dimension data (w
-12・h) are stored in this order (see Figure 5(a)), and for scales, flag U and 3-dimensional data (w-1-h) are stored in this order (see Figure 5(a)). b)
), and for the brush size, the flag ○ and three dimension data (w-1-h) are stored in this order (see Figure 5 (C)).
)), for the tome, a flag T and two dimensional data (w-h) are stored in this order (see Fig. 5(d)), and for the horn scales, a flag and six dimensional data (
I! 1, 12, 13, hl-h2, h3), etc. (see Figure 5(e)).
A flag H and three dimension data (w-f-h) are stored in this order (see FIG. 5(f)). for example,
The outline data of the Mincho type kanji [Iku J shown in Figure 6 is as shown in Tables 2a and 2b below, the outline data is made up of unique contour segment data and 6 types of specific contour segment data such as scales, brush strokes, and accents. It is stored in font memory 2°.

(本頁以下余白) 表  1 テキストメモリ24には、入力装置10から供給される
テキストデータ(コード列)が格納される。ワーキング
メモリ26にはCPU16で演算処理した各種の演算結
果か格納される。ド・ソトデータメモリ28には変換さ
れたト、ットデータか格納される。
(Margins below this page) Table 1 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. The converted data is stored in the data memory 28.

(本頁以下余白) 表2b 次に、データ変換制御装置14て行なわれるデータ変換
制御のルーチンについて、第7図〜第10図のフローチ
ャートに基いて説明する。尚、図中符号Si (i=1
0,11.12・・・)は各ステップである。
(Margins below this page) Table 2b Next, the data conversion control routine performed by the data conversion control device 14 will be explained based on the flowcharts of FIGS. 7 to 10. In addition, the symbol Si (i=1
0, 11, 12...) are each step.

テキストメモリ24に格納されたコードデータが読出さ
れ、このコードデータのアウトラインデータがアウトラ
インフォントメモリ2oから読出されてワーキングメモ
リ26に格納されるとこの制御が開始され、先ずワーキ
ングメモリ26に格納されている最初のフラグか読出さ
れ(SIO)、このフラグが固有輪郭セグメントデータ
に含まれるフラグのときには(Sll−312・S13
:No) 、セグメントデータ展開処理料wJ(第8図
参照)か実行される。
This control starts 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 2o and stored in the working memory 26. The first flag included in the specific contour segment data is read out (SIO), and if this flag is included in the unique contour segment data (Sll-312/S13
:No), the segment data expansion processing fee wJ (see FIG. 8) is executed.

この制御が開始され、全読出したフラグが「S」のとき
には(S20 :Yes) 、開始座標データが読出さ
れ(S21)、指定されたサイズに拡大・縮小や回転や
斜体変換する変形処理(スケーリング処理)が実行され
(S22)、スケーリング処理後の開始座標データがワ
ーキングメモリ26に格納され(S23)、SIOにリ
ターンする。また、読出したフラグが1B」のときには
(S20 :No、S24 :Yes)、曲線データつ
まり第1制御点と第2制御点及び終点の3組みの座標デ
ータが読出され(S25)、スケーリング処理か実行さ
れ(S26)、スケーリング処理後の曲線データか複数
のショートベクトルに展開され(S 27) 、このシ
ョートベクトル処理された修正アウトラインデータがワ
ーキングメモリ26に格納される(S23)。また、読
出したフラグか「LJのときには(S20・S24:N
o、S28:Yes)、直線の座標データが読出され(
S29)、スケーリング処理が実行され(S30)、ス
ケーリング処理後の直線座標データがワーキングメモリ
26に格納される(S23)。尚、読出したフラグか「
S」、「B」、「L」の何れでもないときには(328
:No)、エラー処理が実行され(S31)、この制御
を終了する。
When this control is started and the all-read flag is "S" (S20: Yes), the start coordinate data is read (S21), and the transformation processing (scaling Process) is executed (S22), the start coordinate data after the scaling process is stored in the working memory 26 (S23), and the process returns to SIO. When the read flag is 1B (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 (S25), and the scaling process is performed. This is executed (S26), and the curve data after the scaling process is developed into a plurality of short vectors (S27), and the corrected outline data subjected to the short vector process is stored in the working memory 26 (S23). Also, if the read flag is “LJ” (S20/S24:N
o, S28: Yes), the coordinate data of the straight line is read out (
S29), scaling processing is executed (S30), and the linear coordinate data after the scaling processing is stored in the working memory 26 (S23). Furthermore, whether the read flag is
If it is neither “S”, “B”, or “L” (328
:No), error processing is executed (S31), and this control is ended.

一方、読出されたフラグか特定輪郭セグメントを指示す
る種別フラグのときには(Sll−312:No、Sl
 3 :Yes) 、特定輪郭セグメントデータ変換処
理制御(第9図参照)が実行される。
On the other hand, if the read flag is a type flag indicating a specific contour segment (Sll-312: No, Sl
3: Yes), specific contour segment data conversion processing control (see FIG. 9) is executed.

この制御が開始され、全読出したフラグか「A」のとき
には(S40:Yes)、フラグAに後続する寸法デー
タ(w、(!、h)が順次読出され(S41)、フラグ
Aに基いてパーツフォントメモリ22からアクセントの
基本特定輪郭セグメントデータつまり複数の座標データ
とW−L −H−の3つの基本寸法データとが読出され
(S42)、次のように拡大・縮小処理か実行され、こ
の処理により作成されたアクセントの修正特定輪郭セグ
メントデータかワーキングメモリ26のパーツバッファ
に格納される(S43)。尚、アクセントは1種類の倍
率で指示されている。従って、フラグ0←B pOx ←(POXx7)/L pOy←(POYXh)/H p 1 x= (P I XXjl’) /LpI V
−(P I YXh)/H p2x←(P2XxA)/L p2y”−(P2YXh)/H フラグl←L p3x−(P3XxA)/L p 3 y←(P 3 YX h) /H次に、アクセ
ントはフラグBを含む1つの曲線データとフラグLを含
む1つの直線データとからなっているので、データ数と
して「2」かカウンタCにセットされ(S44)、固有
輪郭セグメントデータにこのアクセントの特定輪郭セグ
メントデータを合成させるために、相対座標系である特
定輪郭セグメントデータの各座標データか絶対座標系で
ある絶対座標データに夫々変換される(S45)。即ち
、このアクセントの開始座標データか直前にワーキング
メモリ26に格納したアウトラインデータの最終座標デ
ータに置換されるとともに、開始座標データか変換によ
り変更された座標データ分だけアクセントの各座標デー
タに加算することよにり実行される。
When this control is started and the flag that has all been read is "A" (S40: Yes), the dimension data (w, (!, h) following flag A are read out in sequence (S41), and based on flag A Basic specific contour segment data of the accent, that is, a plurality of coordinate data and three basic dimension data of WL-H- are read out from the parts font memory 22 (S42), and enlargement/reduction processing is performed as follows. The modified specific outline segment data of the accent created by this process is stored in the parts buffer of the working memory 26 (S43).The accent is specified with one type of magnification.Therefore, the flag 0←B pOx← (POXx7)/L pOy←(POYXh)/H p 1 x= (PI XXjl') /LpI V
-(PI YXh)/H p2x←(P2XxA)/L p2y”-(P2YXh)/H Flag l←L p3x-(P3XxA)/L p 3 y←(P 3 YX h) /H Next, accent consists of one curve data including flag B and one straight line data including flag L, the number of data is set to "2" or counter C (S44), and this accent is specified in the unique contour segment data. In order to synthesize the contour 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 (S45). That is, the starting 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 the starting coordinate data or the coordinate data changed by the conversion is added to each coordinate data of the accent. Executed by Kotoyonori.

次に、拡大・縮小された修正特定輪郭セグメントデータ
について、前記セグメントデータ展開処理かカウンタC
の回数たけ繰り返されて(846〜548)、リターン
する。
Next, regarding the enlarged/reduced corrected specific contour segment data, the segment data expansion process or the counter C
The process is repeated the number of times (846 to 548), and then returns.

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

尚、ウロコは1種類の倍率で指示されている。従って、 フラグ04−B p Ox= (P OXxIり /L p Oy= (P OYX h) /Hp 1 x←(
P I XX Iり /Lp 1 y −(P IYx
h) /Hp2x←(P2XXA)/L 92M−(P2YXh)/H フラグ1←B p3x−(P3XXl)/L p 3 y −(P 3Yxh) /Hp4x ←(P
4XxA)/L p4y ←(P4YXh)/H p5x ←(P5XxA)/L p 5 y= (P 5 Yxh) /Hフラグ2←L p6x ←(P6XxA)/L p 6 y←(P 6YXh)/H フラグ3←L p7x ←(P7XxA)/L p’7y←(P7YXh)/H 次に、ウロコは2つの曲線データと2つの直線データと
からなっているので、データ数として「4」がカウンタ
Cにセットされ(S53)、S45を経て、拡大・縮小
された修正特定輪郭セグメントデータについて、セグメ
ントデータ展開処理がカウンタCの回数だけ繰り返され
る(846〜848)。
Note that the scales are designated at one type of magnification. Therefore, flag 04-B p Ox= (P OXxIri /L p Oy= (P OYX h) /Hp 1 x←(
P IXX Iri /Lp 1 y -(P IYx
h) /Hp2x←(P2XXA)/L 92M-(P2YXh)/H Flag 1←B p3x-(P3XXl)/L p3y-(P3Yxh) /Hp4x←(P
4XxA)/L p4y ←(P4YXh)/H p5x ←(P5XxA)/L p 5 y= (P 5 Yxh) /H flag 2←L p6x ←(P6XxA)/L p 6 y←(P 6YXh)/H Flag 3←L p7x ←(P7XxA)/L p'7y←(P7YXh)/H Next, since the scales consist of two curved data and two straight line data, "4" is the number of data in counter C. (S53), and after S45, 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 (846 to 848).

また、読出したフラグか「0」のときには(S54:Y
es)、フラグ0に後続する寸法データ(w、 !!、
h)が順次読出され(S55)、フラグ0に基いてパー
ツフォントメモリ22から筆オサエの基本特定輪郭セグ
メントデータとW−L・Hの3つの基本寸法データとか
読出され(356)、次の拡大・縮小処理により作成さ
れた筆オサエの修正特定輪郭セグメントデータかパーツ
バッファに格納される(S57)。尚、筆オサエは1種
類の倍率で指示されている。従って、フラグ0←B pox←(POXxI2)/ (L−W)poy= (
POYxh)/H p 1 x←(P IXXA)/ (L−W)p 1 
y= (P I Yx h) /Hp 2 x” (P
 2XXIり / (L −W)p2y←(P2Yxh
)/H フラグ1←B p3x−(P3Xxf)/L p 3 y ←(P 3Yxh)/H p 4 x←(P 4 XxA) /Lp4y ←(P
4Yxh)/H p5x” (P5Xxffi)/L p5y←(P5Yxh)/H フラグ2←L p 6 x←(P 6XxIり /L p 6 y ←(P 6 Yxh) /H次に、筆オサ
エは2つの曲線データと1つの直線データとからなって
いるので、データ数としてr3JかカウンタCにセット
され(358)、S45を経て、拡大・縮小された修正
特定輪郭セグメントデータについて、セグメントデータ
展開処理がカウンタCの回数たけ繰り返される(846
〜548)。
Also, if the read flag is "0" (S54: Y
es), the dimension data following flag 0 (w,!!,
h) are sequentially read out (S55), and based on the flag 0, the basic specific contour segment data of the brush stroke and the three basic dimension data of W-L and H are read out from the parts font memory 22 (356), and the next enlargement is performed. - The corrected specific contour segment data of the brush stroke created by the reduction process is stored in the parts buffer (S57). Incidentally, the brush strokes are specified at one type of magnification. Therefore, flag 0←B pox←(POXxI2)/ (L-W)poy= (
POYxh)/H p 1 x←(P IXXA)/ (L-W) p 1
y= (P I Yx h) /Hp 2 x” (P
2XXIri / (L -W)p2y←(P2Yxh
)/H flag 1←B p3x-(P3Xxf)/L p3 y ←(P 3Yxh)/H p 4 x←(P 4 XxA) /Lp4y ←(P
4Yxh)/H p5x” (P5Xxffi)/L p5y←(P5Yxh)/H Flag 2←L p 6 x←(P 6XxIri /L p 6 y ←(P 6 Yxh) /H Next, the brush size is 2 Since it consists of one curve data and one straight line data, the number of data is set in r3J or counter C (358), and through S45, segment data expansion processing is performed for the modified specified contour segment data that has been enlarged or reduced. It is repeated as many times as counter C (846
~548).

また、読出したフラグか「TJのときには(S59:Y
es)、フラグTに後続する寸法データ(w、h)か順
次読出され(S 60) 、フラグTに基いてパーツフ
ォントメモリ22からトメの基本特定輪郭セグメントデ
ータとW−Hの2つの基本寸法データとが読出され(S
61)、次の拡大・縮小処理により作成されたトメの修
正特定輪郭セグメントデータかパーツバッファに格納さ
れる(S62)。尚、トメは1種類の倍率で指示されて
いる。従って、 フラグ0←B pOx−(POXXffi)/L pay ←(POYxh)/W p 1 x←(P I XxIり /Lpty←(P 
IYXh)/W p2x←CP2Xxl)/L\ p 2 y←(P 2 Yx h) /Wフラグ1←B p3x−(P3Xx/)/L p 3 y −(P 3 Yx h) /Wp4x←(
P4XXj7)/L p 4 y” (P 4 YX h) /Wp5x−(
P5XXIり/L p!5y ←(P5YXh)/W 次に、トメは2つの曲線データからなっているので、デ
ータ数として「2」がカウンタCにセットされ(S63
)、S45を経て、拡大・縮小された修正特定輪郭セグ
メントデータについて、セグメントデータ展開処理がカ
ウンタCの回数だけ繰り返される(846〜548)。
Also, if the read flag is “TJ” (S59: Y
es), the dimension data (w, h) following the flag T are read out sequentially (S60), and the basic specific contour segment data of the toe and the two basic dimensions W-H are read out from the parts font memory 22 based on the flag T. data is read out (S
61), the corrected specific contour segment data of the tome created by the next enlargement/reduction process is stored in the parts buffer (S62). Note that the tome is designated with one type of magnification. Therefore, flag 0←B pOx-(POXXffi)/L pay←(POYxh)/W p 1 x←(P I XxIri /Lpty←(P
I Y
P4XXj7)/L p 4 y” (P 4 YX h) /Wp5x-(
P5XXIri/L p! 5y ←(P5YXh)/W Next, since the tome consists of two curve data, "2" is set in the counter C as the data number (S63
), S45, and the segment data development process is repeated for the enlarged/reduced modified specific outline segment data by the number of times of counter C (846 to 548).

また、読出したフラグが「K」のときには(S64:Y
es)、フラグKに後続する寸法データ(I!1〜13
、h1〜h3)が順次読出され(S65)、フラグK(
こ基いてパーツフォントメモリ22から角ウロコの基本
特定輪郭セグメントデータとL1〜L3、H1〜H3の
6つの基本寸法データとが読出され(366) 、次の
拡大・縮小処理(第10図参照)により作成された角ウ
ロコの修正特定輪郭セグメントデータがパーツバッファ
に格納される(S 67)。尚、角ウロコは曲線1から
なる第1ブロツクと曲線2及び直線lからなる第2ブロ
ツクと直線2からなる第3ブロツクとの3つにブロック
化されているので、各ブロック毎に拡大・縮小処理か実
行される。先ず、S80において、X方向の倍率SXI
とY方向の倍率SYIは第4図(e)のLL及びHlが
第5図(e)のi71及びhlに対応するように決定す
るので、SXI =n 1 /Ll、 SYI =h 
1/旧、により夫々求められる。次の381において、
これらの倍率sxi 、sylに基いて、曲線1の形状
データは以下のように求められる。
Also, when the read flag is "K" (S64: Y
es), dimensional data following flag K (I!1 to 13
, h1 to h3) are read out sequentially (S65), and the flag K(
Based on this, basic specific outline segment data of the square scales and six basic dimension data L1 to L3 and H1 to H3 are read out from the parts font memory 22 (366), and the next enlargement/reduction process (see Fig. 10) is carried out. The corrected specific contour segment data of the horn scales created by is stored in the parts buffer (S67). Note that the square scales are divided into three blocks: the first block consisting of curve 1, the second block consisting of curve 2 and straight line l, and the third block consisting of straight line 2, so each block can be enlarged or reduced. Processing is executed. First, in S80, the magnification SXI in the X direction is
The magnification SYI in the Y direction is determined so that LL and Hl in FIG. 4(e) correspond to i71 and hl in FIG. 5(e), so SXI = n 1 /Ll, SYI = h
1/old, respectively. In the next 381,
Based on these magnifications sxi and syl, the shape data of curve 1 is obtained as follows.

フラグ04−B p Ox 4−P oxxsx 1 p Oy−P 0YXSY 1 p lx +P lXX5X 1 p 1 y+P IYXSY 1 p2x +P2XXSX1 p2y−P2YXSY1 以下同様にして、S82では第2ブロツクのX方向の倍
率SX2 = 1!2 /L2、Y方向の倍率5Y2=
h2/H2、により夫々求められ、S83においてこれ
らの倍率SX2 、SY2に基いて、曲線2と直線1と
の形状データは以下のように求められる。
Flag 04-B p Ox 4-P oxxsx 1 p Oy-P 0YXSY 1 p lx + P lXX5X 1 p 1 y + P IYXSY 1 p2x + P2XXSX1 p2y-P2YXSY1 Similarly, in S82, the magnification in the X direction of the second block SX2 = 1 !2 /L2, magnification in Y direction 5Y2=
h2/H2, respectively, and in S83, based on these magnifications SX2 and SY2, the shape data of curve 2 and straight line 1 are determined as follows.

フラグ1←B p3x 4−P3XXSX2 p3y 4−P3YxSY2 p4 X +P 4 XX5X 2 I)4yap4YXSY2 p5x 4−P5XXSX2 p5y 4−P5YXSY2 フラグ2←L pox4−P6XxSX2 p6 y4−P6YXSY2 以下同様にして、S84では第3ブロツクのX方向の倍
率SX3 = 73 /L3、X方向の倍率5Y3=h
3/H3、により夫々求められ、S85においてこれら
の倍率SX3 、SY3に基いて、直線2の形状データ
は以下のように求められる。
Flag 1←B p3x 4-P3XXSX2 p3y 4-P3YxSY2 p4 SY2 Similarly, in S84, the third block X-direction magnification SX3 = 73 /L3, X-direction magnification 5Y3 = h
3/H3, and in S85, based on these magnifications SX3 and SY3, the shape data of straight line 2 is determined as follows.

フラグ3←L p7x 4−P7XXSX3 p 7 y4−P 7 YXSY 3 次に、角ウロコは2つの曲線データと2つの直線データ
とからなっているので、データ数とじて「4」かカウン
タCにセットされ(368)、S45を経て拡大・縮小
された修正特定輪郭セグメントデータについて、セグメ
ントデータ展開処理かカウンタCの回数だけ繰り返る(
846〜848)。
Flag 3←L p7x 4-P7XXSX3 p 7 y4-P 7 YXSY 3 Next, since the square scales consist of two curved data and two straight line data, set the number of data to "4" or counter C. (368), and the segment data expansion process is repeated for the number of times of counter C for the corrected specific contour segment data enlarged/reduced through S45 (
846-848).

また、読出したフラグか「H」のときには(S69・Y
es)、フラグHに後続する寸法データ(w、L h)
が順次読出され(S70)、フラグHに基いてパーツフ
ォントメモリ22からハネの基本特定輪郭セグメントデ
ータとW−L−Hの3つの基本寸法データとが読出され
(S71)、次の拡大・縮小処理により作成されたハネ
の修正特定輪郭セグメントデータパーツバッファに格納
される(S 72)。尚、ハネは1種類の倍率で指示さ
れている。従って、 フラグ0←B pox−(POXxA)/L 1)oy←(POYXh)/H p l x←(P IXXIり /L pty←(PIYXh)/H p 2 x −(P 2Xxf) /Lp2y←(P2
Yxh)/H フラグ1←L p3x←(P3X刈1”)/L p3y←(P3Yxh)/H フラグ2←L p4x ←(P4Xx4))/L p 4 y= (P 4 YXh) /Hフラグ3←B p5x←(P5Xxf)/L p5 y←(P 5Yxh)/H p6x ←(P6XxIり/L pay←(P6Yxh)/H p 7x4−(P7Xx7)/L p7y←(P7YXh)/H フラグ4←B p8x−(P8XxIり/L psy←(P8YXh)/H p9x ←(P9Xx/)/L p 9 y= (P 9 YXh) /Hp 10x 
−(P 10XxI!、) /Lp 10 y= (P
 10YXh)/H次に、ハネは3つの曲線データと2
つの直線データとからなっているので、データ数として
「5」がカウンタCにセットされ(S73)、S45を
経て、拡大・縮小された修正特定輪郭セグメントデータ
について、セグメントデータ展開処理かカウンタCの回
数だけ繰り返される(846〜548)。尚、S69で
Noと判定されたときには、エラー処理が実行され(S
74)、この制御を終了する。
Also, if the read flag is "H" (S69/Y
es), dimensional data following flag H (w, L h)
are sequentially read out (S70), and the basic specific outline segment data of the wing and the three basic dimension data of WL-H are read out from the parts font memory 22 based on the flag H (S71), and the next enlargement/reduction is performed. The modified specific contour segment data of the wing created by the processing is stored in the parts buffer (S72). It should be noted that the fly is specified at one type of magnification. Therefore, flag 0←B pox-(POXxA)/L 1)oy←(POYXh)/H p l x←(P IXXIri /L pty←(PIYXh)/H p 2 x -(P 2Xxf) /Lp2y← (P2
Yxh)/H Flag 1 ← L p3x ← (P3 ←B p5x←(P5Xxf)/L p5 y←(P 5Yxh)/H p6x ←(P6XxIri/L pay←(P6Yxh)/H p7x4-(P7Xx7)/L p7y←(P7YXh)/H Flag 4← B p8x-(P8XxIri/L psy←(P8YXh)/H p9x ←(P9Xx/)/L p 9 y= (P 9 YXh) /Hp 10x
−(P 10XxI!,) /Lp 10 y= (P
10YXh)/H Next, Hane has three curve data and 2
Therefore, "5" is set in counter C as the number of data (S73), and after S45, the modified specified contour segment data that has been enlarged/reduced is subjected to segment data expansion processing or counter C. It is repeated the number of times (846-548). Note that when the determination in S69 is No, error processing is executed (S
74), this control ends.

そして、読出したフラグか「*」のときには(Sl 1
 :Yes) 、一連のアウトラインデータの終了なの
で、次のアウトラインデータの読出しのためにSIOに
戻る。一方、読出したフラグか叫」のときには(Sll
:No、SI2:Yes)、全てのアウトラインデータ
の終了なので、入力されたキャラクタについて、ワーキ
ングメモリ26に格納されている合成された輪郭線全体
を成す修正アウトラインデータがドツトデータに変換処
理され、このドツトデータかドツトデータメモリ28に
格納され(S 16) 、この制御を終了する。
Then, when the read flag is "*" (Sl 1
:Yes) Since the series of outline data has ended, the process returns to SIO to read the next outline data. On the other hand, when the flag is read or screams (Sll
:No, SI2: Yes), all the outline data has been completed, so the modified outline data that constitutes the entire synthesized outline stored in the working memory 26 for the input character is converted into dot data, and this The dot data is stored in the dot data memory 28 (S16), and this control ends.

以上説明したように、アクセントやウロコなど6種類の
特定輪郭セグメン1〜について、その種別フラグと、特
定輪郭セグメントに関する基本特定輪郭セグメントデー
タと、その基本寸法データとを対応づけてパーツフォン
トメモリ22に記憶し、アウトラインフォントメモリ2
0には、特定輪郭セグメントについては種別フラグと特
定輪郭セグメントの形状の大きさを規定する寸法データ
とを格納するとともに、固有輪郭セグメントについては
その形状を表す固有輪郭セグメントデータを格納したの
で、アウトラインフォントメモリ20にはこれら6種類
の特定輪郭セグメントデータか格納されず、アウトライ
ンフォントメモリ20のメモリ容量を大幅に低減するこ
とかできる。
As explained above, for the six types of specific contour segments 1 to 1 such as accents and scales, the type flags, the basic specific contour segment data related to the specific contour segments, and the basic dimension data are associated with each other and stored in the parts font memory 22. Memorize and outline font memory 2
0 stores the type flag and dimension data that defines the size of the shape of the specific contour segment for the specific contour segment, and also stores the unique contour segment data representing the shape of the specific contour segment, so the outline Only these six types of specific outline segment data are stored in the font memory 20, and the memory capacity of the outline font memory 20 can be significantly reduced.

更に、特定輪郭セグメントの形状の寸法か指示された寸
法となるように、基本寸法データに基く倍率で演算処理
した修正特定輪郭セグメントデータか求められ、この修
正特定輪郭セグメントデータと固有輪郭セグメントデー
タとを合成して指示されたキャラクタの輪郭線全体を成
す修正アウトラインデータか得られるので、この修正ア
ウトラインデータに基いて印字されたキャラクタにおけ
る特定輪郭セグメントを均整のとれた形状にすることか
でき、パーツフォントメモリ22のデータを複数種のキ
ャラクタに対して適用することかできる。
Furthermore, modified specific contour segment data is calculated using a magnification based on the basic dimension data so that the dimensions of the shape of the specific contour segment are the specified dimensions, and the modified specific contour segment data and unique contour segment data are combined. Since modified outline data that forms the entire outline of the specified character can be obtained by composing them, specific contour segments of the printed character can be made into a well-balanced shape based on this modified outline data, and the part The data in the font memory 22 can be applied to multiple types of characters.

尚、前記実施例に用いた「アクセント」や「ウロコ」や
「筆オサエ」など以外の明朝体漢字の共通な輪郭線部分
或いはゴシック体などの各種の書体の共通な輪郭線部分
を特定輪郭セグメントとすることも可能である。
It should be noted that common outline parts of Mincho kanji or common outline parts of various typefaces such as Gothic fonts other than "accent", "scale", "fude osae", etc. used in the above embodiments are identified as specific outlines. It can also be a segment.

尚、アウトラインフォントメモリ20とパーツフォント
メモリ22とを同一のROMに格納することも可能であ
る。
Note that it is also possible to store the outline font memory 20 and the parts font memory 22 in the same ROM.

尚、英語や仏語などのアルファベット文字のセリフ部分
を数種類の特定輪郭セグメントとすることも可能である
Note that it is also possible to use the serif parts of alphabetic characters such as English and French as several types of specific outline segments.

尚、文字や記号なとのキャラクタを輪郭線データで記憶
するようにしたプリンタやファクシミリや表示装置など
種々の電子機器に本発明を適用し得ることは勿論である
It goes without saying that the present invention can be applied to various electronic devices such as printers, facsimile machines, and display devices that store characters such as letters and symbols as outline data.

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

第1図は本発明の構成を示す機能ブロック図、第2図〜
第10図は本発明の実施例を示すもので、第2図はレー
サプリンタのデータ変換装置の割面系のブロック図、第
3図(a)〜第3図(f)は夫々明朝体漢字の特定輪郭
セグメントを説明する説明図、第4図(a)〜第4図(
f)は夫々パーツフォントメモリに種類毎に分類して格
納された基本特定輪郭セグメントデータ及び基本寸法デ
ータを示す図、第5図(a)〜第5図(f)は夫々指定
された寸法データに基いて作成した修正特定輪郭セグメ
ントデータを示す図、第6図は明朝体漢字「育」の輪郭
線図、第7図はデータ変換割面のルーチンのフローチャ
ート、第8図はセグメントデータ展開処理制御のルーチ
ンのフローチャート、第9図は特定輪郭セグメントデー
タ変換処理制純のルーチンのフローチャート、第1O図
は角ウロコの拡大・縮小処理制御のルーチンのフローチ
ャートである。 14・・データ変換制御装置、  16・・CPU、1
8・・ROM(プログラムメモリ)、20・・ROM(
アウトラインフォントメモリ)、22・・ROM (パ
ーツフォントメモリ)。 特許出願人  ブラザー工業株式会社 第3図(a)     第3図(b) 第3図(C)     第3図(d) 第6図
Figure 1 is a functional block diagram showing the configuration of the present invention, Figures 2-
Fig. 10 shows an embodiment of the present invention, Fig. 2 is a block diagram of a section system of a data conversion device for a laser printer, and Figs. 3(a) to 3(f) are in Mincho type. Explanatory diagrams explaining specific contour segments of kanji, Figures 4(a) to 4(
f) is a diagram showing basic specific contour segment data and basic dimension data classified and stored by type in the parts font memory, respectively, and FIGS. 5(a) to 5(f) are respectively designated dimension data. Figure 6 is a contour diagram of the Mincho kanji ``Iku'', Figure 7 is a flowchart of the data conversion section routine, and Figure 8 is segment data development. FIG. 9 is a flowchart of a routine for controlling specific outline segment data conversion processing, and FIG. 1O is a flowchart for controlling a scale enlargement/reduction processing. 14...Data conversion control device, 16...CPU, 1
8... ROM (program memory), 20... ROM (
outline font memory), 22...ROM (parts font memory). Patent applicant: Brother Industries, Ltd. Figure 3 (a) Figure 3 (b) Figure 3 (C) Figure 3 (d) Figure 6

Claims (1)

【特許請求の範囲】[Claims] (1)各々が1つ又は複数の輪郭線からなる文字や記号
の多数のキャラクタにおける複数の輪郭線にその一部と
して共通に含まれる特定輪郭セグメントを複数種分類し
、これら特定輪郭セグメントの形状を夫々規定する特定
輪郭セグメントデータとその種別データを対応づけて格
納した特定輪郭記憶手段と、 多数のキャラクタの各々について、1つ又は複数の特定
輪郭セグメントとそれ以外の1つ又は複数の固有輪郭セ
グメントとに分割し、特定輪郭セグメントについてはそ
の主要諸元の寸法を規定する寸法データと種別データと
を格納し、また固有輪郭セグメントについてはその形状
を表わす固有輪郭セグメントデータを格納したキャラク
タ記憶手段と、 外部からの指令で指定されたキャラクタについてキャラ
クタ記憶手段から寸法データと種別データと固有輪郭セ
グメントデータとを読出す読出し手段と、 前記読出し手段で読出された種別データに基いて特定輪
郭記憶手段から対応する特定輪郭セグメントデータを読
出し、この特定輪郭セグメントデータと寸法データとに
基いて特定輪郭セグメントを構成する複数の特定輪郭セ
グメントブロックの各々の主要諸元が寸法データで規定
された寸法となるように複数の倍率変換の演算処理を施
して特定輪郭セグメントの形状を表わす修正特定輪郭セ
グメントデータを作成するデータ修正手段と、前記読出
し手段で読出された固有輪郭セグメントデータと、デー
タ修正手段により作成された修正特定輪郭セグメントデ
ータとを用いて、前記指定キャラクタの輪郭線全体の輪
郭線データを合成するデータ合成手段と、 を備えたことを特徴とする輪郭線データ処理装置。
(1) Classify multiple types of specific outline segments that are commonly included as part of multiple outlines of a large number of characters and symbols, each consisting of one or more outlines, and classify the shapes of these specific outline segments. a specific contour storage means storing specific contour segment data and its type data in association with each other; and one or more specific contour segments and one or more other unique contours for each of a large number of characters. character storage means that stores dimension data and type data that define the dimensions of the main specifications of a specific contour segment, and stores unique contour segment data that represents the shape of the unique contour segment; and reading means for reading dimension data, type data, and unique contour segment data from the character storage means for a character specified by an external command, and specific contour storage means based on the type data read by the reading means. The corresponding specified contour segment data is read from the specified contour segment data, and based on the specified contour segment data and the dimension data, the main specifications of each of the plurality of specified contour segment blocks constituting the specified contour segment become the dimensions specified by the dimension data. data modification means for creating corrected specific contour segment data representing the shape of the specific contour segment by performing calculation processing of a plurality of magnification conversions as shown in FIG. A contour data processing device comprising: data synthesis means for synthesizing contour data of the entire contour of the designated character using the corrected specific contour segment data.
JP2287680A 1990-10-24 1990-10-24 Contour data processing device Pending JPH04161985A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2287680A JPH04161985A (en) 1990-10-24 1990-10-24 Contour data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2287680A JPH04161985A (en) 1990-10-24 1990-10-24 Contour data processing device

Publications (1)

Publication Number Publication Date
JPH04161985A true JPH04161985A (en) 1992-06-05

Family

ID=17720335

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2287680A Pending JPH04161985A (en) 1990-10-24 1990-10-24 Contour data processing device

Country Status (1)

Country Link
JP (1) JPH04161985A (en)

Similar Documents

Publication Publication Date Title
KR0157245B1 (en) Character Synthesis Method and Device
KR910008427B1 (en) How to scale bitmap itself data horizontally
JP3145509B2 (en) Character generation method and device
JP3014247B2 (en) Character generation method and device
JP3037854B2 (en) Character generation method and device
JPH04161985A (en) Contour data processing device
JP3055187B2 (en) Contour data processing device
JP2697328B2 (en) Contour data processing device
KR100254659B1 (en) Character generator
JP3787372B2 (en) Character generating apparatus and method
JPH09305160A (en) Character generator
US8086069B2 (en) Data-generating apparatus, method, and program for image forming
JP3082173B2 (en) Contour data processing device
JP3084817B2 (en) Character output device
JP2017148979A (en) Printer and printing method
JP3082236B2 (en) Character drawing device
JP3055306B2 (en) Data output device
JP3347756B2 (en) Character generation method and device
JP3437293B2 (en) Character output method and character processing device
JPH04269797A (en) Character data generation device
JPH04120594A (en) data conversion device
JPH0511734A (en) Character pattern generating device
JPH11190990A (en) Outline font displaying and printing method
JPH05173532A (en) Contour data processor
JPS62199459A (en) Apparatus for processing document