JPH08234720A - Data structure of font data memory - Google Patents

Data structure of font data memory

Info

Publication number
JPH08234720A
JPH08234720A JP7064775A JP6477595A JPH08234720A JP H08234720 A JPH08234720 A JP H08234720A JP 7064775 A JP7064775 A JP 7064775A JP 6477595 A JP6477595 A JP 6477595A JP H08234720 A JPH08234720 A JP H08234720A
Authority
JP
Japan
Prior art keywords
data
font
font data
typeface
stored
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
JP7064775A
Other languages
Japanese (ja)
Other versions
JP3097818B2 (en
Inventor
Atsuhiko Kurachi
敦彦 倉知
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 JP07064775A priority Critical patent/JP3097818B2/en
Publication of JPH08234720A publication Critical patent/JPH08234720A/en
Application granted granted Critical
Publication of JP3097818B2 publication Critical patent/JP3097818B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE: To make it possible to decrease the memory capacity of font data memories by storing font data canon to plural type faces only in the specific type face and storing at least the type face instruction information to instruct the specific type face in place of the font data for the other type faces. CONSTITUTION: The outline data regulating contour lines for each of the plural characters, such as Alphabet characters and symbols for each of the three type faces 'type face A', 'type face B', 'type face C' of a MINCHO system are stored in correspondence to character codes in a font data memory 23. The font index information consisting of font names and storage regions of font information are stored in each of the three type faces A, B, C in a type face management memory 23a. The font data common to the three type faces are stored into the memory 23b of the specific type face A and the type face instruction data instructing the type face A is stored in place of the font data in the memories 23c, 23d for the other type faces A, B, C.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、複数書体分のフォント
情報を格納したフォントデータメモリのデータ構造に関
し、特に複数書体に共通するフォントデータを共有化し
て記憶容量を削減するとともに、共有するフォントデー
タの格納位置を書体指示情報やコード指示情報で指示す
るようにしたものに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data structure of a font data memory in which font information for a plurality of fonts is stored. In particular, the font data common to a plurality of fonts is shared to reduce the storage capacity and the shared fonts. The present invention relates to a device in which a data storage position is instructed by typeface instruction information or code instruction information.

【0002】[0002]

【従来の技術】従来、一般に、大型のコンピュータやパ
ーソナルコンピュータと、レーザプリンタなどの各種の
印字装置とを接続し、これらコンピュータから印字装置
に文字や図形等の印字データを送信し、文字や図形等を
印字媒体に高速で印字可能にした印字システムが実用化
されている。ここで、送信した印字データを、複数の書
体のうちから選択した所望の書体で印字し得るように、
印字装置にドットパターンデータ作成装置を設け、その
ドットパターンデータ作成装置のフォントデータメモリ
に、複数の明朝系の書体やゴシック系の書体のアウトラ
インフォントデータやドットパターンデータなどのフォ
ントデータを書体毎に区別して記憶するようにしてい
る。そして、コンピュータ側においては、印字に供する
文字列の印字データに先行して、書体指示コードを送信
するようにしている。
2. Description of the Related Art Conventionally, in general, a large computer or personal computer is connected to various printing devices such as a laser printer, and printing data such as characters or graphics is transmitted from these computers to the printing device to print characters or graphics. A printing system has been put into practical use, which is capable of printing such items on a printing medium at high speed. Here, the transmitted print data can be printed in a desired typeface selected from a plurality of typefaces.
The printing device is equipped with a dot pattern data creation device, and the font data memory of the dot pattern data creation device contains font data such as outline font data and dot pattern data for multiple Mincho typefaces and Gothic typefaces for each typeface. I try to remember them separately. On the computer side, the typeface instruction code is transmitted prior to the print data of the character string used for printing.

【0003】即ち、このドットパターンデータ作成装置
に設けられたフォントデータメモリは、ROMやハード
ディスクなどの不揮発性メモリで構成され、このフォン
トデータメモリにおいては、複数の文字や記号のフォン
ト情報が、各文字や形状を表すアウトラインフォントデ
ータ或いはドットパターンデータなどのフォントデータ
と、各フォントデータに対応する文字や記号のコードと
フォントデータ格納位置とを含むインデックス情報とで
構成され、そのフォント情報が複数書体分格納されてい
る。ここで、例えば、「+」、「−」、「$」、・・な
どの記号は、複数の明朝系の書体において共通するフォ
ントデータである場合が多く、また複数のゴシック系の
書体において共通するフォントデータである場合が多
い。
That is, the font data memory provided in this dot pattern data creating apparatus is composed of a non-volatile memory such as a ROM or a hard disk. In this font data memory, font information of a plurality of characters or symbols is stored in each font data. It is composed of outline font data representing characters or shapes, font data such as dot pattern data, and index information including the code of the character or symbol corresponding to each font data and the font data storage position. Minutes are stored. Here, for example, symbols such as “+”, “−”, “$”, ... Are often common font data in a plurality of Mincho typefaces, and in a plurality of Gothic typefaces. It is often common font data.

【0004】そこで、これら共通するフォントデータに
ついては、明朝系或いはゴシック系の複数書体のうちの
特定の書体のフォントデータを記憶する一方、特定の書
体以外の他の書体のフォントデータとして、その特定の
書体に記憶したフォントデータの先頭アドレスだけを格
納しておくようにして、フォントデータメモリのメモリ
容量を削減するようにしている。そして、印字データを
受信したときには、書体指示データで指示された書体の
文字コードに対応するフォントデータをインデックス情
報に基づいて読み出したときに、フォントデータに代え
て先頭アドレスが格納されているときには、その先頭ア
ドレスに基づいて、特定の書体から共通するフォントデ
ータの読み出しが可能なように構成されている。
Therefore, as for these common font data, the font data of a specific typeface among a plurality of Mincho typefaces or Gothic typeface types is stored, while the font data of a typeface other than the specific typeface is stored. Only the start address of the font data stored in a specific typeface is stored so that the memory capacity of the font data memory is reduced. Then, when the print data is received, when the font data corresponding to the character code of the typeface designated by the typeface designation data is read out based on the index information and the leading address is stored instead of the font data, Common font data can be read from a specific typeface based on the start address.

【0005】一方、特開平4─217019号公報に
は、印字する文字群を、使用頻度の最も高い第1群であ
る「書体毎に異なる文字群」と、第2群である「限定的
感応文字群」と、使用頻度の最も低い第3群である「汎
用文字群」との3つに区分し、夫々別のフォントデータ
メモリに記憶することで、複数のタイプフェース(書
体)に共通の、例えば、「+」、「−」、「$」、・・
などの汎用できる記号については「汎用文字群」として
共通化して記憶でき、フォントデータメモリのメモリ容
量を削減するようにしたプリンタが記載されている。
On the other hand, in Japanese Patent Laid-Open No. 4-217019, the character groups to be printed are the first group "the character group different for each typeface" which is most frequently used and the second group "Limited sensitivity". Character groups ”and“ general-purpose character group ”, which is the third group with the least frequency of use, are stored in separate font data memories, so that they can be shared by multiple typefaces (typefaces). , For example, "+", "-", "$", ...
A general-purpose symbol such as "can be stored in common as a" general-purpose character group ", and a printer in which the memory capacity of the font data memory is reduced is described.

【0006】[0006]

【発明が解決しようとする課題】前述したように、フォ
ントデータメモリにおいて、複数の書体に共通するフォ
ントデータについては、特定の書体のフォントデータを
記憶する一方、特定の書体以外の他の書体のフォントデ
ータとして、その特定の書体に記憶したフォントデータ
の先頭アドレスだけを格納しておく場合、一般に、フォ
ントデータメモリは不揮発性メモリからなり、制御シス
テムにおけるこの不揮発性メモリのアドレスは、プリン
タの機種毎に異なる場合が多いことから、特定の書体以
外の他の書体のフォントデータとして格納する先頭アド
レスを、機種毎に個別に設定することになり、この先頭
アドレスの格納作業が複雑化するだけでなく、特定の書
体の格納領域を変更する毎に、その複雑な先頭アドレス
の格納作業が必要になるという問題がある。
As described above, in the font data memory, the font data common to a plurality of fonts stores the font data of a specific font, while the font data of a font other than the specific font is stored. When only the start address of the font data stored in the particular typeface is stored as the font data, the font data memory is generally a non-volatile memory, and the address of this non-volatile memory in the control system is the printer model. Since it is often different for each model, the start address to be stored as font data of a typeface other than the specific typeface is set individually for each model, and the work of storing this start address is complicated. Each time you change the storage area of a specific typeface, you have to store the complicated start address. There is a problem that becomes.

【0007】一方、特開平4─217019号公報に記
載のプリンタにおいては、共有可能な文字や記号には、
複数の種類が有り、全ての共有可能なフォントデータの
共有化を図る場合、格納するタイプフェースの組み合わ
せが変更される毎に、文字群の区分け作業が必要とな
り、文字群の区分けとその管理が複雑化するという問題
がある。更に、複数の書体でフォントデータの共有化が
可能であっても、そのコードデータが異なる場合には、
コードデータを変更することができず、共有化可能なフ
ォントデータを重複させて格納することになり、フォン
トデータのデータ量を削減できないという問題がある。
On the other hand, in the printer described in Japanese Patent Laid-Open No. 4-217019, characters and symbols that can be shared are:
There are multiple types, and when sharing all sharable font data, it is necessary to separate the character groups each time the combination of typefaces to be stored is changed. There is the problem of complication. Furthermore, even if the font data can be shared by multiple typefaces, if the code data is different,
There is a problem that the code data cannot be changed and the sharable font data is stored in a duplicated manner, and the data amount of the font data cannot be reduced.

【0008】本発明の目的は、複数書体に共通のフォン
トデータを確実に共有させてフォントデータメモリのメ
モリ容量を削減でき、しかも共通のフォントデータを記
憶した特定の書体の格納領域に変更が生じても、フォン
トデータ管理を簡単化し得るようなフォントデータメモ
リのデータ構造を提供することである。
An object of the present invention is to make it possible to surely share common font data among a plurality of fonts to reduce the memory capacity of the font data memory, and to change the storage area of a specific font storing the common font data. Even so, it is to provide a data structure of a font data memory that can simplify font data management.

【0009】[0009]

【課題を解決するための手段】請求項1のフォントデー
タメモリのデータ構造は、複数の文字や記号のフォント
情報が、各文字や記号の形状を表すフォントデータと、
各フォントデータに対応する文字や記号のコードとフォ
ントデータ格納位置とを含むインデックス情報とで構成
され、そのフォント情報が複数書体分格納されたフォン
トデータメモリのデータ構造において、複数の文字や記
号のフォントデータのうち複数書体に共通するフォント
データについては、複数書体のうちの特定の書体のフォ
ントデータを記憶する一方、他の書体のフォントデータ
として、少なくとも、特定の書体を指示する書体指示情
報を格納したものである。
According to the data structure of a font data memory of claim 1, font information of a plurality of characters and symbols is font data representing the shape of each character and symbol,
In the data structure of the font data memory, which is composed of the code of the character or symbol corresponding to each font data and the index information including the font data storage position, and the font information is stored in multiple fonts, For font data that is common to multiple fonts, the font data for the specific font of the multiple fonts is stored, while at least the font instruction information that indicates the specific font is used as the font data for the other fonts. It is stored.

【0010】ここで、請求項2のフォントデータメモリ
のデータ構造は、請求項1の発明において、前記他の書
体のフォントデータとして、特定の書体を指示する書体
指示情報に加えて、特定の書体における文字や記号のコ
ードを指示するコード指示情報を格納したものである。
Here, in the data structure of the font data memory of claim 2, in the invention of claim 1, as the font data of the other typeface, in addition to the typeface instruction information for instructing a specific typeface, a specific typeface is added. It stores code instruction information for instructing codes of characters and symbols in.

【0011】[0011]

【作用】請求項1のフォントデータメモリのデータ構造
においては、複数の文字や記号のフォント情報が、各文
字や記号の形状を表すフォントデータと、各フォントデ
ータに対応する文字や記号のコードとフォントデータ格
納位置とを含むインデックス情報とで構成され、フォン
トデータメモリには、そのフォント情報が複数書体分格
納されている。そして、複数の文字や記号のフォントデ
ータのうち複数書体に共通するフォントデータについて
は、複数書体のうちの特定の書体のフォントデータを記
憶する一方、他の書体のフォントデータとして、少なく
とも、特定の書体を指示する書体指示情報を格納してい
る。
In the data structure of the font data memory according to the first aspect, the font information of a plurality of characters and symbols is the font data representing the shape of each character and symbol and the code of the character and symbol corresponding to each font data. The font data is stored in a font data memory, and the font information is stored in the font data memory for a plurality of fonts. Regarding font data common to a plurality of fonts among font data of a plurality of characters and symbols, the font data of a particular font of the plurality of fonts is stored, while at least a specific font data of other fonts is stored. Stores typeface instruction information for instructing a typeface.

【0012】このように、複数書体に共通するフォント
データを特定の書体だけに記憶し、他の書体について
は、フォントデータに代えて特定の書体を指示する書体
指示情報を格納しているので、複数書体分のフォント情
報を減少させることができ、これにより、フォントデー
タメモリのメモリ容量を削減することができる。更に、
特定の書体を指示する書体指示情報により、特定の書体
の格納領域の変更が生じても、フォントデータ管理を簡
単化することができる。
As described above, since font data common to a plurality of fonts is stored only in a specific font, and font information for other fonts is stored instead of the font data. It is possible to reduce the font information for a plurality of fonts, thereby reducing the memory capacity of the font data memory. Furthermore,
Even if the storage area of the specific typeface is changed, the font data management can be simplified by the typeface instruction information for instructing the specific typeface.

【0013】請求項2のフォントデータメモリのデータ
構造においては、請求項1と同様の作用を奏するが、前
記他の書体のフォントデータとして、特定の書体を指示
する書体指示情報に加えて、特定の書体における文字や
記号のコードを指示するコード指示情報を格納している
ので、フォントデータの共有化が可能であって、そのコ
ードデータが異なる場合でも、その異なるコードデータ
をコード指示情報として格納することで、フォントデー
タの重複した格納を避けることができ、フォントデータ
メモリのデータ量を確実に削減できる。
In the data structure of the font data memory of claim 2, the same operation as in claim 1 is achieved, but as font data of the other typeface, in addition to the typeface instruction information for instructing a specific typeface, a specific type is specified. Since the code instruction information for instructing the codes of the characters and symbols in the typeface is stored, even if the font data can be shared and the code data are different, the different code data is stored as the code instruction information. By doing so, duplicate storage of font data can be avoided, and the amount of data in the font data memory can be reliably reduced.

【0014】[0014]

【実施例】以下、本発明の実施例について図面に基いて
説明する。本実施例は、外部機器からテキストデータ等
の印字データを受信し、テキストデータについて、キャ
ラクタのアウトラインを表すアウトラインデータ(フォ
ントデータ)から印字用の画素毎のドットデータに変換
したドットパターンデータを作成する、レーザプリンタ
に設けられたドットパターンデータ作成装置のフォント
データメモリに本発明を適用した場合のものである。先
ず、レーザプリンタLPについて簡単に説明すると、図
1に示すように、基本的には、コントロールユニット1
0と、ドットパターンデータ作成装置20と、印字機構
40とから構成されている。
Embodiments of the present invention will be described below with reference to the drawings. In this embodiment, print data such as text data is received from an external device, and with respect to the text data, dot pattern data is created by converting outline data (font data) representing a character outline into dot data for each pixel for printing. The present invention is applied to the font data memory of the dot pattern data creation device provided in the laser printer. First, the laser printer LP will be briefly described. Basically, as shown in FIG.
0, a dot pattern data creating device 20, and a printing mechanism 40.

【0015】このレーザプリンタLPのコントロールユ
ニット10は、外部機器50から供給される各種のデー
タを受信するシリアルインターフェースやビデオコント
ローラやDCコントローラなどを備え、ドットパターン
データ作成装置20で作成されたキャラクタのドットパ
ターンデータを、印字機構40に設けられた半導体レー
ザの発光素子であるレーザダイオード、多面体ミラー、
現像機構及び定着機構などを駆動制御して印字用紙に印
字する為のものである。尚、このコントロールユニット
10は、一般に用いられているものと同様であり、本案
に直接関係しないので、その詳しい説明を省略する。
The control unit 10 of the laser printer LP is provided with a serial interface for receiving various data supplied from the external device 50, a video controller, a DC controller, etc. The dot pattern data is provided to the printing mechanism 40 by a laser diode, which is a light emitting element of a semiconductor laser, a polyhedral mirror,
This is for driving and controlling a developing mechanism, a fixing mechanism and the like to print on a printing paper. The control unit 10 is the same as the one that is generally used and is not directly related to the present invention, so a detailed description thereof will be omitted.

【0016】前記ドットパターンデータ作成装置20
は、図2に示すように、基本的には、CPU21と、こ
のCPU21にデータバスなどのバス25を介して接続
されたROM23〜24と、RAM30とから構成さ
れ、このバス25は、コントロールユニット10内のバ
スに接続されている。前記ROMからなるフォントデー
タメモリ23には、明朝系の3書体「書体A」、「書体
B」、「書体C」の各々について、アルファベット文字
や数字や記号などの複数のキャラクタの各々について、
輪郭線を規定するアウトラインデータがキャラクタコー
ドに対応づけて格納されている。ここで、書体管理メモ
リ23aには、3書体「書体A」、「書体B」、「書体
C」の各々について、フォント名とフォント情報の格納
領域とからなるフォントインデックス情報が格納されて
いる。
The dot pattern data creating device 20
2, is basically composed of a CPU 21, ROMs 23 to 24 connected to the CPU 21 via a bus 25 such as a data bus, and a RAM 30, and the bus 25 is a control unit. It is connected to the bus in 10. In the font data memory 23 composed of the ROM, for each of the three Mincho typefaces “typeface A”, “typeface B”, and “typeface C”, for each of a plurality of characters such as alphabet letters, numbers and symbols,
Outline data defining a contour line is stored in association with a character code. Here, the font index management memory 23a stores font index information including a font name and a font information storage area for each of the three fonts "Font A", "Font B", and "Font C".

【0017】即ち、「書体A」(これが特定の書体に相
当する)が格納されたフォント情報メモリ23bには、
図3に示すように、書体名「書体A」と、インデックス
情報とフォントデータとで構成されるフォント情報とが
格納されている。インデックス情報として、大文字のア
ルファベット文字「A、B、C、・・・Z」、小文字の
アルファベット文字「a、b、c、・・・z」、数字
「1〜0」に加えて、「+」、「−」、「/」、・・・
などの記号からなる複数のキャラクタのコードデータ
と、これら文字や数字や記号のフォントデータが夫々格
納されているフォントデータ領域のアドレスを指示する
オフセットデータ(フォントデータ格納位置に相当す
る)とを対応づけて、夫々所定の順序で格納されてい
る。更に、これら複数のキャラクタのアウトラインデー
タがフォントデータとして、所定の順序で格納されてい
る。
That is, in the font information memory 23b in which "type A" (this corresponds to a specific type) is stored,
As shown in FIG. 3, a font name “Font A” and font information composed of index information and font data are stored. As index information, in addition to uppercase alphabetic characters "A, B, C, ... Z", lowercase alphabetic characters "a, b, c, ... Z", numbers "1 to 0", "+" , "-", "/", ...
Corresponds to code data of multiple characters consisting of symbols such as, and offset data (corresponding to the font data storage position) that indicates the address of the font data area where the font data of these characters, numbers, and symbols are stored. In addition, they are stored in a predetermined order. Further, outline data of the plurality of characters is stored as font data in a predetermined order.

【0018】また、「書体B」が格納されたフォント情
報メモリ23cには、図4に示すように、書体名「書体
B」と、インデックス情報とフォントデータとで構成さ
れるフォント情報とが格納されている。インデックス情
報として、前記「書体A」と同様に、複数のキャラクタ
のコードデータと、これら文字や数字や記号のフォント
データが夫々格納されているフォントデータ領域のアド
レスを指示するオフセットデータとを対応づけて、夫々
所定の順序で格納されている。更に、これら複数のキャ
ラクタのアウトラインデータがフォントデータとして、
所定の順序で格納されている。但し、「書体A」のフォ
ントデータと共通する、「+」、「−」、「/」、・・
・などの記号のフォントデータについては、「書体A」
を指示する書体指示データ(書体指示情報に相当する)
が夫々格納されている。
Further, as shown in FIG. 4, the font information memory 23c in which "typeface B" is stored stores the typeface name "typeface B" and font information composed of index information and font data. Has been done. As the index information, as in the case of the "type A", the code data of a plurality of characters and the offset data indicating the address of the font data area in which the font data of these characters, numbers, and symbols are stored are associated with each other. And are stored in a predetermined order. Furthermore, outline data of these multiple characters is used as font data.
It is stored in a predetermined order. However, "+", "-", "/", ... Common to the font data of "Type A"
・ For font data of symbols such as "Type A"
Typeface instruction data for instructing (corresponding to typeface instruction information)
Are stored respectively.

【0019】更に、「書体C」が格納されたフォント情
報メモリ23dには、図5に示すように、書体名「書体
C」と、インデックス情報とフォントデータとで構成さ
れるフォント情報とが格納されている。インデックス情
報として、前記「書体A」と同様に、複数のキャラクタ
のコードデータと、これら文字や数字や記号のフォント
データが夫々格納されているフォントデータ領域のアド
レスを指示するオフセットデータとを対応づけて、夫々
所定の順序で格納されている。
Further, as shown in FIG. 5, the font information memory 23d in which "typeface C" is stored stores the typeface name "typeface C" and font information composed of index information and font data. Has been done. As the index information, as in the case of the "type A", the code data of a plurality of characters and the offset data indicating the address of the font data area in which the font data of these characters, numbers, and symbols are stored are associated with each other. And are stored in a predetermined order.

【0020】更に、フォントデータとして、これら複数
のキャラクタのアウトラインデータが所定の順序で格納
されている。但し、「書体A」のフォントデータと共通
する、「+」、「−」、「/」、・・・などの記号のフ
ォントデータについては、「書体A」を指示する書体指
示データが夫々格納されている。特に、記号「/」につ
いては、「書体A」の「/」とコードデータが異なるこ
とから、「書体A」におけるコードを指示するコード指
示データ(コード指示情報に相当する)が格納されてい
る。ここで、これら「書体B」と「書体C」が他の書体
に相当する。
Further, as font data, outline data of the plurality of characters is stored in a predetermined order. However, regarding the font data of symbols such as "+", "-", "/", etc. which are common to the font data of "Type A", the type designation data designating "Type A" are stored respectively. Has been done. In particular, for the symbol "/", since the code data is different from the "/" of the "type A", the code instruction data (corresponding to the code instruction information) for instructing the code in the "type A" is stored. . Here, these "type B" and "type C" correspond to other typefaces.

【0021】ROMからなるプログラムメモリ24に
は、後述のドットパターンデータ作成制御を含み、レー
ザプリンタLPの駆動を制御する各種の制御プログラム
が格納されている。前記RAM30の受信データメモリ
31には、外部機器50から受信したキャラクタのキャ
ラクタコード、印字サイズを指定するサイズデータなど
が格納される。アウトラインデータメモリ32には、キ
ャラクタ毎に読み出されたアウトラインデータが格納さ
れる。印字データバッファ33には、作成された印字用
ドットパターンデータが展開して格納される。
The program memory 24, which is a ROM, stores various control programs for controlling the driving of the laser printer LP, including the dot pattern data creation control described later. The received data memory 31 of the RAM 30 stores a character code of a character received from the external device 50, size data designating a print size, and the like. The outline data memory 32 stores the outline data read out for each character. The created print dot pattern data is expanded and stored in the print data buffer 33.

【0022】次に、ドットパターンデータ作成装置20
で行なわれるドットパターンデータ作成制御のルーチン
について、図6のフローチャートに基づいて説明する。
尚、図中符号Si(i=10、11、12、・・・)は
各ステップである。但し、この制御においては、外部機
器50から、書体を指示する書体指示コードと、文字や
記号の文字列からなる印字データとが送信されるものと
する。前記外部機器50から印字データが送信されて、
受信データメモリ31に格納されるとこの制御が開始さ
れ、先ず受信データメモリ31から書体指示データと、
文字や記号のキャラクタコードとが読み出され(S1
0)、その書体指示データで指示される書体名につい
て、書体管理メモリ23aのフォントインデックス情報
が検索される(S11)。
Next, the dot pattern data creating device 20
The routine of the dot pattern data creation control performed in step 2 will be described with reference to the flowchart of FIG.
In addition, reference numeral Si (i = 10, 11, 12, ...) In the drawing represents each step. However, in this control, it is assumed that the external device 50 transmits a typeface instruction code for instructing a typeface and print data including a character string of characters or symbols. The print data is transmitted from the external device 50,
This control is started when the data is stored in the reception data memory 31, and first, the typeface instruction data is received from the reception data memory 31.
The character code of the character or symbol is read (S1
0), the font index information in the font management memory 23a is searched for the font name designated by the font designating data (S11).

【0023】そして、その指示された書体がフォントデ
ータメモリ23に格納されているときには(S12:Yes
)、読み出されたキャラクタコードについて、その指
示された書体のインデックス情報が検索され、そのキャ
ラクタコードが格納されているときには(S13:Yes
)、そのキャラクタコードのオフセットデータに基づ
いてフォントデータが検索され、フォントデータが格納
されているときには(S14:Yes )、そのフォントデー
タが読み出されてアウトラインデータメモリ32に格納
される(S19)。次に、アウトラインデータメモリ32
のアウトラインデータに基づいてドットパターンデータ
が作成され、そのドットパターンデータが印字用ドット
パターンデータとして印字データバッファ33に展開処
理され(S20)、この制御を終了して、メインルーチン
にリターンし、印字機構40により印字用紙に印字処理
される。
When the designated typeface is stored in the font data memory 23 (S12: Yes).
), The index information of the designated typeface is searched for the read character code, and when the character code is stored (S13: Yes
), Font data is searched based on the offset data of the character code, and when the font data is stored (S14: Yes), the font data is read and stored in the outline data memory 32 (S19). . Next, the outline data memory 32
The dot pattern data is created based on the outline data of, and the dot pattern data is expanded as print dot pattern data in the print data buffer 33 (S20), the control is terminated, and the process returns to the main routine to print. The mechanism 40 prints on the printing paper.

【0024】ところで、読み出したキャラクタコードの
フォントデータを検索したときに、そのフォントデータ
が格納されていないときに(S14:No)、フォントデー
タに代えて書体指示データが格納されているときには、
その書体指示データが読み出され(S15:Yes )、送信
された書体指示データに代えて、その読み出された書体
指示データに変更される(S16)。次に、その書体指示
データに加えてコード指示データが格納されていないと
きには(S17:No)、キャラクタコードを変更すること
なくS11にリターンする。そして、S11以降が実行さ
れ、変更された書体のフォントデータが格納されている
ときには(S12〜S14:Yes )、S19〜S20により、作
成された印字用ドットパターンデータが印字データバッ
ファ33に展開処理される。
By the way, when the font data of the read character code is searched, when the font data is not stored (S14: No), and the font designating data is stored instead of the font data,
The typeface instruction data is read (S15: Yes), and is replaced with the read typeface instruction data instead of the transmitted typeface instruction data (S16). Next, when the code instruction data is not stored in addition to the typeface instruction data (S17: No), the process returns to S11 without changing the character code. Then, after S11 is executed and the font data of the changed font is stored (S12 to S14: Yes), the created dot pattern data for printing is expanded in the print data buffer 33 by S19 to S20. To be done.

【0025】例えば、送信された書体指示データが「書
体A」で、読み出したキャラクタが記号「+」のときに
は、図3に示すように、その記号「+」のフォントデー
タが格納されているので、そのフォントデータが読み出
されて、ドットパターンデータに展開処理される。しか
し、送信された書体指示データが「書体B」又は「書体
C」で、読み出したキャラクタが記号「+」のときに
は、図4・図5に示すように、フォントデータに代え
て、「書体A」を指示する書体指示データが格納されて
いるので、記号「+」のフォントデータが「書体A」か
ら読み出される。
For example, when the transmitted typeface instruction data is "typeface A" and the read character is the symbol "+", the font data of the symbol "+" is stored as shown in FIG. The font data is read out and processed into dot pattern data. However, when the transmitted typeface instruction data is “typeface B” or “typeface C” and the read character is the symbol “+”, as shown in FIGS. 4 and 5, instead of font data, “typeface A” is used. The font data of the symbol "+" is read from the "font A" because the font designating data for indicating "" is stored.

【0026】ところで、読み出したキャラクタコードの
フォントデータに代えて、書体指示データとコード指示
データとが格納されているときには(S17:Yes )、読
み出したキャラクタコードに代えてそのコード指示デー
タで指示されるキャラクタコードに変更され(S18)、
S11にリターンする。そして、S11以降が実行され、変
更された書体におけるキャラクタコードが格納されてい
るときには(S12〜S14:Yes )、S19〜S20により、
作成された印字用ドットパターンデータが印字データバ
ッファ33に展開処理される。例えば、送信された書体
指示データが「書体C」で、読み出したキャラクタが記
号「/」のときには、図5に示すように、フォントデー
タに代えて、「書体A」を指示する書体指示データと、
その「書体A」におけるキャラクタコードとが格納され
ているので、記号「/」のフォントデータが「書体A」
のキャラクタコードとして読み出される。
By the way, when the font designating data and the code designating data are stored in place of the read character code font data (S17: Yes), the code designating data is designated instead of the read character code. Is changed to a character code (S18),
Return to S11. Then, after S11 is executed and the character code in the changed typeface is stored (S12 to S14: Yes), by S19 to S20,
The created print dot pattern data is expanded in the print data buffer 33. For example, when the transmitted typeface instruction data is “typeface C” and the read character is the symbol “/”, as shown in FIG. 5, the typeface instruction data indicating “typeface A” is used instead of the font data. ,
Since the character code in the "type A" is stored, the font data of the symbol "/" is "type A".
It is read as the character code of.

【0027】このように、フォントデータとインデック
ス情報とで構成されるフォント情報が、「書体A」、
「書体B」、「書体C」からなる3書体分格納される際
に、これら3書体に共通の記号「+」、「−」、
「/」、・・・などのフォントデータを特定の書体Aだ
けに記憶し、他の書体B、Cについては、フォントデー
タに代えて、特定の書体を指示する書体指示情報やコー
ド指示データを格納しているので、フォントデータの共
有化が可能であって、そのコードデータが異なる場合で
も、その異なるコードデータをコード指示データとして
格納することで、フォントデータの重複した格納を避け
ることができ、3書体分のフォント情報を減少させるこ
とができ、これにより、フォントデータメモリ23のメ
モリ容量を確実に削減することができる。更に、特定の
書体Aを指示する書体指示データにより、特定の書体A
の制御システムにおける格納領域の変更が生じても、フ
ォントデータ管理を簡単化することができる。
As described above, the font information composed of the font data and the index information is "type A",
When three typefaces consisting of "typeface B" and "typeface C" are stored, the common symbols "+", "-",
The font data such as “/”, ... Is stored only in the specific font A, and the font data for the other fonts B and C is replaced with the font instruction information or the code instruction data for instructing the specific font. Since it is stored, font data can be shared, and even if the code data is different, by storing the different code data as code instruction data, duplicate storage of font data can be avoided. It is possible to reduce the font information for three typefaces, and thus it is possible to surely reduce the memory capacity of the font data memory 23. Further, by the typeface instruction data for instructing the specific typeface A, the specific typeface A
Even if the storage area of the control system is changed, the font data management can be simplified.

【0028】尚、3書体「書体A」、「書体B」、「書
体C」をフォント番号で管理したり、書体指示データや
コード指示データをフォント管理メモリ23aのインデ
ックス情報に含ませて構成する等、本発明の技術的思想
の範囲内において、既存の技術や当業者に自明の技術に
基いて種々の変更を加えることもあり得る。尚、複数書
体のアウトラインフォントデータやドットパターンデー
タを記憶した各種のフォントデータメモリのデータ構造
に本発明を適用し得ることは勿論である。
The three typefaces, "typeface A", "typeface B", and "typeface C" are managed by font numbers, and typeface instruction data and code instruction data are included in the index information of the font management memory 23a. For example, within the scope of the technical idea of the present invention, various modifications may be made based on existing technology or technology obvious to those skilled in the art. It is needless to say that the present invention can be applied to the data structure of various font data memories that store outline font data and dot pattern data of a plurality of fonts.

【0029】[0029]

【発明の効果】請求項1のフォントデータメモリのデー
タ構造によれば、フォントデータとインデックス情報と
で構成されるフォント情報が複数書体分格納される際
に、複数書体に共通のフォントデータを特定の書体だけ
に記憶し、他の書体については、フォントデータに代え
て、少なくとも、特定の書体を指示する書体指示情報を
格納しているので、複数書体分のフォント情報を減少さ
せることができ、これにより、フォントデータメモリの
メモリ容量を削減することができる。更に、特定の書体
を指示する書体指示情報により、特定の書体の格納領域
の変更が生じても、フォントデータ管理を簡単化するこ
とができる。
According to the data structure of the font data memory of claim 1, when the font information composed of the font data and the index information is stored for a plurality of fonts, the font data common to the plurality of fonts is specified. Since it stores only in the typefaces of other, and at least the typeface instruction information for instructing a specific typeface is stored instead of the font data for the other typefaces, the font information for a plurality of typefaces can be reduced, As a result, the memory capacity of the font data memory can be reduced. Further, the font data management can be simplified even if the storage area of the specific font is changed by the font designating information for designating the specific font.

【0030】請求項2のフォントデータメモリのデータ
構造によれば、請求項1と同様の効果を奏するが、前記
他の書体のフォントデータとして、特定の書体を指示す
る書体指示情報に加えて、特定の書体における文字コー
ドを指示するコード指示情報を格納しているので、フォ
ントデータの共有化が可能であって、そのコードデータ
が異なる場合でも、その異なるコードデータをコード指
示情報として格納することで、フォントデータの重複し
た格納を避けることができ、フォントデータメモリのデ
ータ量を確実に削減できる。
According to the data structure of the font data memory of claim 2, the same effect as that of claim 1 can be obtained, but as font data of the other typeface, in addition to the typeface instruction information for instructing a specific typeface, Since the code instruction information for instructing the character code in a specific typeface is stored, it is possible to share font data, and even if the code data is different, store the different code data as code instruction information. Thus, it is possible to avoid duplicate storage of font data, and it is possible to reliably reduce the amount of data in the font data memory.

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

【図1】レーザプリンタの制御系の概略ブロック図であ
る。
FIG. 1 is a schematic block diagram of a control system of a laser printer.

【図2】レーザプリンタのドットパターンデータ作成装
置の制御系のブロック図である。
FIG. 2 is a block diagram of a control system of a dot pattern data creation device of a laser printer.

【図3】書体Aのデータ構成を示す図である。3 is a diagram showing a data structure of a typeface A. FIG.

【図4】書体Bのデータ構成を示す図である。FIG. 4 is a diagram showing a data structure of a typeface B.

【図5】書体Cのデータ構成を示す図である。5 is a diagram showing a data structure of a typeface C. FIG.

【図6】ドットパターンデータ作成制御のルーチンの概
略フローチャートである。
FIG. 6 is a schematic flowchart of a dot pattern data creation control routine.

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

LP レーザプリンタ 20 ドットパターンデータ作成装置 23 フォントデータメモリ(ROM) LP laser printer 20 dot pattern data generator 23 font data memory (ROM)

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数の文字や記号のフォント情報が、各
文字や記号の形状を表すフォントデータと、各フォント
データに対応する文字や記号のコードとフォントデータ
格納位置とを含むインデックス情報とで構成され、その
フォント情報が複数書体分格納されたフォントデータメ
モリのデータ構造において、 前記複数の文字や記号のフォントデータのうち複数書体
に共通するフォントデータについては、複数書体のうち
の特定の書体のフォントデータを記憶する一方、他の書
体のフォントデータとして、少なくとも、前記特定の書
体を指示する書体指示情報を格納したことを特徴とする
フォントデータメモリのデータ構造。
1. The font information of a plurality of characters or symbols is composed of font data representing the shape of each character or symbol and index information including a code of the character or symbol corresponding to each font data and a font data storage position. In the data structure of the font data memory configured to store the font information for a plurality of typefaces, the font data common to a plurality of typefaces among the font data of the plurality of characters and symbols is a specific typeface among the plurality of typefaces. While storing at least font data of other fonts, at least font designating information designating the particular font is stored as font data of other fonts.
【請求項2】 前記他の書体のフォントデータとして、
前記特定の書体を指示する書体指示情報に加えて、特定
の書体における文字や記号のコードを指示するコード指
示情報を格納したことを特徴とする請求項1に記載のフ
ォントデータメモリのデータ構造。
2. As the font data of the other typeface,
The data structure of the font data memory according to claim 1, wherein, in addition to the typeface instruction information for instructing the specific typeface, code instruction information for instructing a code of a character or a symbol in the specific typeface is stored.
JP07064775A 1995-02-27 1995-02-27 Font data memory device Expired - Fee Related JP3097818B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP07064775A JP3097818B2 (en) 1995-02-27 1995-02-27 Font data memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP07064775A JP3097818B2 (en) 1995-02-27 1995-02-27 Font data memory device

Publications (2)

Publication Number Publication Date
JPH08234720A true JPH08234720A (en) 1996-09-13
JP3097818B2 JP3097818B2 (en) 2000-10-10

Family

ID=13267930

Family Applications (1)

Application Number Title Priority Date Filing Date
JP07064775A Expired - Fee Related JP3097818B2 (en) 1995-02-27 1995-02-27 Font data memory device

Country Status (1)

Country Link
JP (1) JP3097818B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7218327B2 (en) 2003-03-05 2007-05-15 Kabushiki Kaisha Toshiba Font memory for a display

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101664864B (en) * 2009-09-24 2011-08-03 哈尔滨工业大学 Moderate temperature copper based brazing filler metal and preparation method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7218327B2 (en) 2003-03-05 2007-05-15 Kabushiki Kaisha Toshiba Font memory for a display

Also Published As

Publication number Publication date
JP3097818B2 (en) 2000-10-10

Similar Documents

Publication Publication Date Title
JPH0640257B2 (en) Information output device
JPH073631B2 (en) Font cartridge and its data management method
JP2844575B2 (en) Printing equipment
JPH0263763A (en) Printing apparatus
US5708768A (en) Character generation
JPH08234720A (en) Data structure of font data memory
JP2935510B2 (en) Output device and output method
JP2661742B2 (en) Character processor
JP3143520B2 (en) Character processing apparatus and method
JPH082024A (en) Printer
JP2556469B2 (en) Document processing method
JPH08282024A (en) Printing device
JPH08230254A (en) Printer
JPS62208091A (en) Information output unit
JPH01229666A (en) Printer
JPH06130930A (en) Method and device for generating bit image data
KR890005312B1 (en) Printing method of dot matrix printer
JPH0462075A (en) Font data recording system of printer
JPH09160823A (en) Area managing and controlling device for memory in electronic equipment
JP2728916B2 (en) Character processing apparatus and method
JP2554225B2 (en) Text output device
JPS63242561A (en) Font reducing system
JPH09230844A (en) Font converting device
JPS63159071A (en) Printing controller
JPH01173094A (en) Image output device having character indicator

Legal Events

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

Free format text: PAYMENT UNTIL: 20080811

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090811

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100811

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110811

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20120811

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20120811

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20130811

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees