JPH01257994A - Font generating device - Google Patents

Font generating device

Info

Publication number
JPH01257994A
JPH01257994A JP63085428A JP8542888A JPH01257994A JP H01257994 A JPH01257994 A JP H01257994A JP 63085428 A JP63085428 A JP 63085428A JP 8542888 A JP8542888 A JP 8542888A JP H01257994 A JPH01257994 A JP H01257994A
Authority
JP
Japan
Prior art keywords
font data
font
data
color information
graphic format
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
JP63085428A
Other languages
Japanese (ja)
Inventor
Hideo Ariga
有賀 英雄
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP63085428A priority Critical patent/JPH01257994A/en
Publication of JPH01257994A publication Critical patent/JPH01257994A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce a working memory space for coloring and to shorten a processing time by adding color information while expanding vector pattern type font data into binary pattern type font data. CONSTITUTION:A font data expanding means 4 expands vector pattern type font data into binary pattern type font data and scans the font data. Then picture elements which constitute part of a character are substituted with information on a display color and the information is sent out and stored in a storage means as a map memory 7. It is not necessary to read font data out of the bit map memory 7 by colors and add color information unlike before. Consequently, the working memory for coloring may be small and the processing time is shortened.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、カラーデイスプレィ装置やカラーレーザプリ
ンタ等に文字を表示または印字出力させる際に用いるフ
ォント生成装置に関するものである。
[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) The present invention relates to a font generation device used when displaying or printing characters on a color display device, a color laser printer, etc. .

(従来の技術) 一般に、文字をドツトの集合で表現する方式のデイスプ
レィ装置やレーザプリンタでは、表示または印字する文
字のコードを横方向がm、縦方向がnのmxnドツトの
集合で表わしたフォントデータに変換し、このフォント
データを画素単位の記憶領域を有するビットマツプメモ
リ内に展開し、このビットマツプメモリ内のフォントデ
ータをデイスプレィ装置の表示動作あるいはレーザプリ
ンタの印字動作に同期して読み出すことにより、文字お
るいは図形等の表示出力または印字出力を得るように構
成されている。
(Prior Art) In general, display devices and laser printers that express characters as a set of dots use a font that represents the code of the character to be displayed or printed as a set of m x n dots with m in the horizontal direction and n in the vertical direction. data, develop this font data in a bitmap memory having a storage area in units of pixels, and read out the font data in this bitmap memory in synchronization with the display operation of a display device or the printing operation of a laser printer. Accordingly, it is configured to obtain display output or printed output of characters, figures, etc.

この場合、フォントデータとして、それ自身が文字のイ
メージに直接対応している2値図形形式と、文字のイメ
ージを基準画素からのベクトル値で表示したベクトル図
形形式のフォントデータの構成がある。2値図形形式の
フォントデータはそれ自身が文字のイメージに直接対応
しているため、そのままビットマツプメモリ内に展開す
ることができる。しかし、ベクトル図形形式のフォント
データは、−度2値図形形式のフォントデータに展開し
た後、ビットマツプメモリに転送しなければならない。
In this case, the font data has a binary graphic format that directly corresponds to a character image, and a vector graphic format that represents a character image using vector values from a reference pixel. Since font data in the binary graphic format directly corresponds to character images, it can be expanded into the bitmap memory as is. However, font data in vector graphic format must be transferred to a bitmap memory after being developed into font data in -degree binary graphic format.

ところが、ベクトル図形形式のフォントデータは出力す
る文字の大きざが変化してもその大きさに応じてドツト
の構成数が調整されるため、高品質の文字として占用で
きるという利点がある。そこで、近時においては2値図
形形式に代わってベクトル図形形式のフォントデータが
多用されるようになってきた。
However, vector graphic format font data has the advantage that even if the size of the output character changes, the number of dots is adjusted according to the size, so it can be used exclusively as high-quality characters. Therefore, in recent years, font data in vector graphic format has been increasingly used instead of binary graphic format.

(発明が解決しようとする課題) ところで、ベクトル図形形式のフォントデータを用いて
カラー文字を出力する場合、フォントデータにカラー情
報を付加し、カラ一対応のビットマツプメモリに格納す
ることになるが、従来はベクトル図形形式のフォントデ
ータについては一部2値図形形式のフォントデータに変
換してビットマツプメモリに格納した後、カラー情報を
付加してピッマツプメモリに再度格納するように構成さ
れていた。このため、ベクトル図形形式のフォントデー
タをカラー化する際の作業用のメモリ空間が増加したう
え、処理時間が長くかがるという問題があった。
(Problem to be Solved by the Invention) By the way, when outputting color characters using font data in vector graphic format, color information must be added to the font data and stored in a bitmap memory corresponding to one color. Conventionally, font data in vector graphic format was partially converted into font data in binary graphic format, stored in bitmap memory, and then color information was added and stored in bitmap memory again. Ta. For this reason, there is a problem in that the memory space for working when colorizing vector graphics format font data increases and the processing time takes longer.

本発明は、作業用のメモリ空間は小ざくて済み、かつカ
ラー化のための処理時間も短くて済むフォント生成装置
を提供することを目的としている。
SUMMARY OF THE INVENTION An object of the present invention is to provide a font generation device that requires a small working memory space and a short processing time for colorization.

[発明の構成コ (課題を解決するための手段) 本発明は、ベクトル図形形式で表わされた文字のフォン
トデータを該文字の表示色に関する情報と共に格納した
フォントデータ格納手段と、このフォントデータ格納手
段に格納されたフォントデータおよび表示色の情報を同
時に転送する転送手段と、転送されてきたベクトル図形
形式の文字のフォントデータを2値図形形式のフォント
データに展開しながら文字の一部を構成する画素につい
ては前記転送手段から転送されてきた表示色の情報に置
換することにより、色情報を含んだ2値図形形式のフォ
ントデータを作成するフォントデータ展開手段と、この
フォントデータ展開手段から送出されたデータを画素単
位で記憶し、表示用データまたは印字用データとして出
力する記憶手段とを備えることにより、上記目的を達成
するものである。
[Configuration of the Invention (Means for Solving the Problems) The present invention provides a font data storage means for storing font data of characters expressed in a vector graphic format together with information regarding the display color of the characters, and a method for storing the font data. A transfer means that simultaneously transfers the font data and display color information stored in the storage means, and a transfer means that simultaneously transfers the font data of the transferred characters in vector graphic format to font data of binary graphic format while converting part of the characters. font data development means for creating font data in binary graphic format containing color information by replacing constituent pixels with display color information transferred from the transfer means; and from this font data development means. The above object is achieved by including a storage means for storing sent data pixel by pixel and outputting it as display data or print data.

(作用) フォントデータ展開手段は、ベクトル図形形式のフォン
トデータを2値図形形式のフォントデータに展開、その
フォントデータを走査する。そして、文字の一部を構成
する画素については表示色の情報に置換して送出し、ビ
ットマツプメモリとしての記憶手段に格納する。
(Operation) The font data development means develops font data in vector graphic format into font data in binary graphic format and scans the font data. Then, pixels constituting a part of a character are replaced with display color information and sent out, and stored in a storage means as a bitmap memory.

従って、従来のようにビットマツプメモリに格納したフ
ォントデータをカラー別に読み出してカラー情報を付加
する必要がないため、カラー化のための作業用メモリ空
間も小さくて済み、また処理時間も短くて済む。
Therefore, there is no need to read out the font data stored in the bitmap memory for each color and add color information as in the past, so the working memory space for colorization can be small and the processing time can be shortened. .

(実施例) 第1図は本発明の一実施例を示すブロック図であり、ベ
クトル図形形式で表わされた文字のフォントデータを該
文字のカラー情報と共に記憶したフォントデータ格納部
1と、このフォントデータ格納部1に格納されたフォン
トデータとカラー情報とを読出し、制御部3に転送する
フォントデータ転送部2と、転送されてきたフォントデ
ータをフォントデータ展開部4に送り、またカラー情報
をカラー情報格納部5に送る制御部3と、制御部3を介
して送られてきたベクトル図形形式のフォントデータを
2値図形形式のフォントデータに展開するフォントデー
タ展開部4と、制御部3を介して送られてきたカラー情
報を格納するカラー情報格納部5と、展開部4で展開さ
れ、かつ制御部3を介して転送されてきたビットイメー
ジのフォントデータをビットマツプメモリ7に転送して
格納させるビットデータ転送部6とを備えている。
(Embodiment) FIG. 1 is a block diagram showing an embodiment of the present invention, which includes a font data storage section 1 that stores font data of characters expressed in vector graphic format together with color information of the characters; A font data transfer section 2 reads out font data and color information stored in the font data storage section 1 and transfers it to the control section 3, and sends the transferred font data to a font data development section 4 and also transfers the color information. A control section 3 that sends data to the color information storage section 5; a font data development section 4 that develops font data in a vector graphic format sent via the control section 3 into font data in a binary graphic format; The color information storage unit 5 stores the color information sent through the color information storage unit 5, and the bit image font data expanded in the expansion unit 4 and transferred via the control unit 3 is transferred to the bitmap memory 7. and a bit data transfer unit 6 for storage.

以上の構成において、第2図のフローチャートを参照し
て動作を説明する。カラーデイスプレィ装置またはカラ
ーレーザプリンタから文字の出力要求が入力されると(
ステップ10)、フォントデータ転送部2はフォントデ
ータ格納部1に格納されているベクトル図形形式のフォ
ントデータをそのカラー情報と共に制御部3に転送する
(ステップ11)。カラー情報は指定された色を表現す
るのに必要な1画素分のビット列で構成されている。
The operation of the above configuration will be explained with reference to the flowchart in FIG. When a character output request is input from a color display device or color laser printer (
Step 10), the font data transfer section 2 transfers the font data in vector graphic format stored in the font data storage section 1 to the control section 3 together with its color information (step 11). Color information consists of a bit string for one pixel necessary to express a specified color.

そこで、制御部3はカラー情報については格納部5へ格
納しくステップ12)、またフォントデータについては
展開部4に転送し、ビットイメージ化の前処理において
2値図形形式のフォントデータに、展開ざぜる(ステッ
プ13)。展開部4はこの前処理を行ったならば2!!
図形形式のフォントデータの各行を列方向に走査する。
Therefore, the control unit 3 transfers the color information to the storage unit 5 (step 12), and transfers the font data to the expansion unit 4, and in the pre-processing of converting it into a bit image, it expands it into binary graphic format font data. (Step 13). If the expansion unit 4 performs this preprocessing, it will be 2! !
Each row of graphic format font data is scanned in the column direction.

この時、走査したドツトが文字の一部を構成するドツト
であったならば、格納部5に格納されているカラー情報
で当該ドツトのデータを置換する。これにより、カラ一
対応のフォントデータが作成される(ステップ]4)。
At this time, if the scanned dot is a dot forming part of a character, the data of the dot is replaced with the color information stored in the storage section 5. As a result, font data corresponding to one color is created (step 4).

制御部3はこのようにしてカラ一対応のフォントデータ
が得られたならば、ビットデータ転送部6を介してビッ
トマツプメモリ7に転送して格納させる(ステップ15
〉。
Once the font data corresponding to one color is obtained in this way, the control section 3 transfers it to the bitmap memory 7 via the bit data transfer section 6 and stores it (step 15).
〉.

このように、ベクトル図形形式のフォントデータを2値
図形形式のフォントデータに展開する過程で文字の一部
を構成するドツトについてはカラー情報に置換えて行く
ことにより、カラー情報を含んだ2値図形形式のフォン
トデータを直接生成することができ。
In this way, in the process of developing font data in vector graphic format into font data in binary graphic format, dots that make up part of characters are replaced with color information, so that binary graphics containing color information can be created. The format font data can be generated directly.

従って、カラー化のためにビットマツプメモリ7に格納
したフォントデータを一度読み出してカラー情報を付加
し、再度ビットマツプメモリに格納するという処理とそ
の作業用のメモリ空間が不要となり、短時間でカラ一対
応のフォントデータを得ることができる。
Therefore, the process of reading out the font data stored in the bitmap memory 7 for colorization, adding color information, and storing it again in the bitmap memory, as well as the memory space for this work, are no longer necessary, and colorization can be done in a short time. One corresponding font data can be obtained.

[発明の効果] 以上説明したように本発明においては、ベクトル図形形
式のフォントデータを2値図形形式のフォノ1〜データ
に展開しながらカラー情報を付加しているため、カラー
化のための作業用メモリ空間も小さくて済み、また処理
時間も短くて済むという効果がある。
[Effects of the Invention] As explained above, in the present invention, color information is added while developing font data in vector graphic format into phono 1 to data in binary graphic format, so that the work for colorization is simplified. This has the advantage of requiring a small memory space and shortening processing time.

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

第1図は本発明の一実施例を示すブロック図、第2図は
ベクトル図形形式のフォントデータの展開手順を示すフ
ローチャートである。 1・・・フォントデータ格納部 2・・・フォントデータ転送部 3・・・制御部4・・
・フォントデータ展開部 5・・・カラー情報格納部 6・・・ビットデータ転送部 7・・・ビットマツプメモリ 代理人 弁理士  則 近 憲 缶 周  山王 − 第1図 第2図
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a flowchart showing a procedure for developing font data in vector graphic format. 1... Font data storage section 2... Font data transfer section 3... Control section 4...
・Font data development unit 5...Color information storage unit 6...Bit data transfer unit 7...Bit map memory agent Patent attorney Nori Chika Kenshu Sanno - Figure 1 Figure 2

Claims (1)

【特許請求の範囲】[Claims] ベクトル図形形式で表わされた文字のフォントデータを
該文字の表示色に関する情報と共に格納したフォントデ
ータ格納手段と、このフォントデータ格納手段に格納さ
れたフォントデータおよび表示色の情報を同時に転送す
る転送手段と、転送されてきたベクトル図形形式の文字
のフォントデータを2値図形形式のフォントデータに展
開しながら文字の一部を構成する画素については前記転
送手段から転送されてきた表示色の情報に置換すること
により、色情報を含んだ2値図形形式のフォントデータ
を作成するフォントデータ展開手段と、このフォントデ
ータ展開手段から送出されたデータを画素単位で記憶し
、表示用データまたは印字用データとして出力する記憶
手段とを備えて成るフォント生成装置。
A font data storage means that stores font data of a character expressed in a vector graphic format together with information regarding the display color of the character, and a transfer for simultaneously transmitting the font data and display color information stored in the font data storage means. and develops the transferred font data of the vector graphic format character into binary graphic format font data, and converts the pixels forming part of the character into the display color information transmitted from the transfer device. A font data development means that creates font data in a binary figure format containing color information by replacing the data, and a font data development means that stores the data sent from this font data development means in pixel units and creates display data or printing data. 1. A font generation device comprising: a storage means for outputting a font as a font;
JP63085428A 1988-04-08 1988-04-08 Font generating device Pending JPH01257994A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63085428A JPH01257994A (en) 1988-04-08 1988-04-08 Font generating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63085428A JPH01257994A (en) 1988-04-08 1988-04-08 Font generating device

Publications (1)

Publication Number Publication Date
JPH01257994A true JPH01257994A (en) 1989-10-16

Family

ID=13858565

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63085428A Pending JPH01257994A (en) 1988-04-08 1988-04-08 Font generating device

Country Status (1)

Country Link
JP (1) JPH01257994A (en)

Similar Documents

Publication Publication Date Title
JPH05342314A (en) Picture processor
JPH01257994A (en) Font generating device
JP2935510B2 (en) Output device and output method
JP2001219601A (en) Print controller and data processing method thereof
JPH03213367A (en) Multicolor printer
JP3636891B2 (en) Color image output method
JP2630792B2 (en) Data converter
JP2771629B2 (en) Character processor
JP2005038084A (en) Method and device for converting drawing data
JPH04223770A (en) Picture output interface device
JP2619931B2 (en) Character processing device and character processing method
JPH11196246A (en) Image forming device
JP2690567B2 (en) Printing control device
JPH03112671A (en) Printer
JP2564947B2 (en) Bitmap memory control method
JPH0695640A (en) Character display controller
JPH03227670A (en) Color image recorder
JPH0532021A (en) Printing device
JPH03114851A (en) Data unfolding device
JPH06238860A (en) Character pattern generating method
JPH09207393A (en) Displaying device for page description language data
JPH04269798A (en) Character data generation device
JPS63217482A (en) Expansion method for vector graphic information
JPH02297215A (en) Output device
JPH0421470A (en) Printer controller