JPH01229649A - Printing method using vector font data - Google Patents

Printing method using vector font data

Info

Publication number
JPH01229649A
JPH01229649A JP63057708A JP5770888A JPH01229649A JP H01229649 A JPH01229649 A JP H01229649A JP 63057708 A JP63057708 A JP 63057708A JP 5770888 A JP5770888 A JP 5770888A JP H01229649 A JPH01229649 A JP H01229649A
Authority
JP
Japan
Prior art keywords
character
font data
font
data
width
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
JP63057708A
Other languages
Japanese (ja)
Inventor
Shoichi Taya
田谷 正一
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 JP63057708A priority Critical patent/JPH01229649A/en
Publication of JPH01229649A publication Critical patent/JPH01229649A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer

Abstract

PURPOSE:To simplify a non-PS method printing, by a method wherein, a character font represented by PS font data is disposed on the center of an imaginary character frame for determining a character feed width required for a non-PS printing, and the PS font data is converted. CONSTITUTION:On the basis of font data read in a RAM 11, a CPU 10 extracts the character width of a character font Fi (i=0) represented by the aforesaid data and obtains a shift amount DELTAx required to dispose the character font Fi on the center of a space for one character Si from the character width and a width DELTAX of a space for one character Si by a formula of DELTAx=(DELTAX -width of one character)/2. Next, the CPU 10 shifts some vectors (coordinates) represented by the font data (for the font Fi) read in the RAM 11 rightward by the amount of DELTAx. As a result, the font Fi represented by the font data converted by a shift processing is disposed on the center of the space for one character Si regardless of its intrinsic character space size.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明は、プロポーショナル・スペイシング用のベク
トルフォントデータを利用してノン・プロポーショナル
拳スペイシング印刷を行うようにした印刷方式に関する
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to a printing method that performs non-proportional spacing printing using vector font data for proportional spacing.

(従来の技術) 近時、文字フォントの輪郭をベクトルで定義したベクト
ルフォントデータ(以下、単にフォントデータと呼ぶ)
を各種文字についてフロッピーディスクやROM内に予
め用意しておき、これらのフォントデータを用いてパタ
ーン展開を行って高品質文字パターン印刷を行う印刷機
能を持った文書作成装置等の装置が開発されている。さ
て、英欧文等を扱う分野では、各種文字のフォントパタ
ーンを印刷する方式として、文字幅や文字形状に応じた
字送り幅を適用するプロポーショナル・スペイシング(
以下、PSと称する)と、文字幅や文字形状に無関係に
一定の字送り幅を適用する(いわばタイプライタ方式の
)ノン・プロポーショナル・スペイシング(以下、No
n−PSと称する)とが知られている。このPSおよび
Non−PSによる印刷をフォントデータを利用して行
うためには、字送り幅管理の容易さを考慮すると、同一
書体であっても各文字毎にPS用とNon−PS用の2
種のフォントデータを用意する必要がある。しかし、英
欧文などでは、多種多様の書体があり、各書体毎に全て
の文字についてPS用のフォントデータとNon−PS
用のフォントデータとを用意しておくことは、フロッピ
ーディスクやROM等の記憶領域に限りがあることから
困難であった。なお、参考までにPS用に用意された大
きさの異なる3種のフォントFO〜F2をPS方式で印
刷した状態を第4図に示す。
(Prior art) Recently, vector font data (hereinafter simply referred to as font data) in which the contours of character fonts are defined by vectors has become available.
Document creation devices and other devices have been developed that have a printing function that prepares fonts for various characters in advance on a floppy disk or ROM, develops patterns using these font data, and prints high-quality character patterns. There is. Now, in the field of dealing with English and European languages, proportional spacing (which applies the leading width according to the character width and shape) is used as a method for printing font patterns of various characters.
(hereinafter referred to as PS) and non-proportional spacing (hereinafter referred to as No.
(referred to as n-PS) is known. In order to perform PS and Non-PS printing using font data, considering the ease of managing the feed width, it is necessary to print two types of PS and Non-PS for each character even if the font is the same.
It is necessary to prepare the seed font data. However, in English and European languages, there are a wide variety of typefaces, and each typeface has PS font data and Non-PS font data for all characters.
It has been difficult to prepare font data for fonts because of the limited storage areas of floppy disks, ROMs, and the like. For reference, FIG. 4 shows a state in which three types of fonts FO to F2 of different sizes prepared for PS are printed using the PS method.

(発明が解決しようとする課題) 上記したように従来は、フォントデータを利用した印刷
にPSおよびNon−PSの両方式が適用できるように
するには、字送り幅管理を考慮すると、PS用およびN
on−PS用の2種のフォントデータを各書体の各文字
について用意しなければならず、実現が困難であった。
(Problems to be Solved by the Invention) As mentioned above, conventionally, in order to be able to apply both PS and Non-PS methods to printing using font data, it was necessary to take into consideration the feeding width management. and N
Two types of font data for on-PS had to be prepared for each character of each typeface, which was difficult to implement.

したがってこの発明は、PS用のフォントデータを用意
するだけで、Non−PS方式の印刷も行えるようにす
ることを解決すべき課題とする。
Therefore, an object of the present invention is to enable non-PS printing by simply preparing PS font data.

[発明の構成] (課題を解決するための手段) この発明は、PS用のフォントデータが各種書体の各種
文字について予め用意された記憶手段からNon−PS
印刷処理に必要な或は必要となることが予測されるフォ
ントデータを取出して同データの示す文字フォントの文
字幅を抽出し、この文字幅およびNon−PS印刷の字
送り幅を決定するための所定サイズの仮想文字枠の幅を
もとに、上記取出したフォントデータの示す文字フォン
トを上記仮想文字枠の中央に配置させるのに必要なシフ
ト量を算出し、この算出したシフト量だけ上記取出した
フォントデータの示す文字フォントがシフトするように
同フォントデータのデータ変換を行ってNon−PS用
フォントデータを生成し、この生成したフォントデータ
を用いてパターン展開を行ってN on −P S方式
の印刷を行うようにしたことを特徴とするものである。
[Structure of the Invention] (Means for Solving the Problems) This invention provides a method for storing font data for PS from a storage means prepared in advance for various characters of various fonts into Non-PS
A method for extracting font data necessary or predicted to be necessary for printing processing, extracting the character width of the character font indicated by the same data, and determining this character width and the feed width for Non-PS printing. Based on the width of the virtual character frame of a predetermined size, calculate the shift amount necessary to place the character font indicated by the extracted font data in the center of the virtual character frame, and extract the above by the calculated shift amount. The font data is converted so that the character font indicated by the font data is shifted to generate Non-PS font data, and the generated font data is used to develop a pattern to create the Non-PS method. This feature is characterized in that it prints.

(作用) 上記の構成によれば、PS用フォントデータの示す文字
フォントがNon−PS印刷に必要な字送り幅を決める
仮想文字枠の中央に配置されるように、上記PS用フォ
ントデータのデータ変換が行われるので、このデータ変
換されたフォントデータをNon−PS用フォントデー
タとして用いることで、Non−PS方式の印刷が簡単
に行える。
(Operation) According to the above configuration, the data of the PS font data is arranged so that the character font indicated by the PS font data is placed in the center of the virtual character frame that determines the feed width necessary for Non-PS printing. Since conversion is performed, non-PS printing can be easily performed by using the converted font data as non-PS font data.

(実施例) 第1図はこの発明に関係するNon−PS(ノン・プロ
ポーショナル・スペイシング)用フォントデータ作成処
理手順の一実施例を示すフローチャート、第2図は上記
Non−PS用フォントデータ作成処理手順を実現する
ための文書作成装置の一実施例を示すブロック構成図で
ある。
(Example) Fig. 1 is a flowchart showing an example of the non-PS (non-proportional spacing) font data creation processing procedure related to the present invention, and Fig. 2 is the above-mentioned non-PS font data creation process. 1 is a block configuration diagram showing an embodiment of a document creation device for realizing a procedure; FIG.

第2図において、lOはマイクロプロセッサ(以下、C
PUと称する)、11はCPUl0によりアクセスされ
るRAM512は同ROMである。
In Figure 2, lO is a microprocessor (hereinafter referred to as C
RAM 512 accessed by the CPU 10 is a ROM.

CPUl0は装置全体の制御を行うもので、上記RAM
IIおよびROM12をアクセスして、入力指示に従う
プログラムの起動で、日本語および英欧文の文書の作成
処理、更には上記第1図に示すようなNon−PS用フ
ォントデータ作成処理等を実行する。RAMIIには、
文書領域、行イメージ領域(印字バッファ)などが確保
される。ROM12は、CPUl0の動作を決定するプ
ログラムや第1図に示すようなNon−PS用フォント
データ作成ルーチンを含む入出力処理プログラム等を格
納したプログラム領域13をはじめ、表示あるいは印字
文字パターン等を記憶する文字パターン領域14、仮名
あるいはローマ字で入力された読みを漢字に変換するた
めの各種辞書が登録された辞書領域15等を有している
CPU10 controls the entire device, and the RAM
By accessing II and ROM 12 and activating a program according to input instructions, processes for creating documents in Japanese and English and European languages, as well as processes for creating font data for Non-PS as shown in FIG. 1 above, are executed. RAMII has
A document area, line image area (print buffer), etc. are secured. The ROM 12 includes a program area 13 that stores programs for determining the operation of the CPU10 and input/output processing programs including a non-PS font data creation routine as shown in FIG. It has a character pattern area 14 for converting characters, a dictionary area 15 in which various dictionaries for converting readings input in kana or Roman characters into kanji are registered.

また、16はキーボード(KB) 、18は表示器、2
1はフロッピーディスク装置(FDD) 、23はプリ
ンタ(PRT)である。キーボード(KB)16は、文
書作成等に必要な入力情報をキーボードインタフェース
(KB−I F)17を介してCPULOへ入力する。
Also, 16 is the keyboard (KB), 18 is the display, 2
1 is a floppy disk device (FDD), and 23 is a printer (PRT). A keyboard (KB) 16 inputs input information necessary for document creation etc. to the CPULO via a keyboard interface (KB-IF) 17.

このキーボード1Bには、文字キー、カーソルキー等に
加えて各種処理の選択/実行指示に供される選択/実行
キー等を含む各種のファンクションキー(いずれも図示
せず)が設けられる。表示器I8は、例えば10行表示
の液晶デイスプレィ装置から成る。表示コントローラ(
表示CNT)’19は、CPUl0の制御の下に表示用
RAM (ドツトメモリ)20を用い表示器18の表示
制御を行う。フロッピーディスク装置21は、ディスク
インタフェース(FDD−I F)22を介してCPU
l0の制御の下に、作成された文書を保存したり、各種
書体の各文字についてのPS(ブロボーショナルースペ
イシング)用フォントデータ(ベクトルフォントデータ
)等を記憶するのに用いられる。プリンタ23は、プリ
ンタインタフェース(PRT−I F)24を介してC
PUl0の制御の下に、ユーザのキーボード1B操作に
よって指示された書体で文書等を印刷するのに供される
The keyboard 1B is provided with various function keys (none of which are shown), including character keys, cursor keys, and the like, as well as selection/execution keys used to select/execute various processes. The display device I8 is composed of, for example, a 10-line liquid crystal display device. Display controller (
The display CNT)'19 controls the display of the display 18 using the display RAM (dot memory) 20 under the control of the CPU10. The floppy disk device 21 connects to the CPU via a disk interface (FDD-IF) 22.
Under the control of l0, it is used to save created documents and to store PS (Brobotional Spacing) font data (vector font data) for each character of various typefaces. The printer 23 communicates with C through a printer interface (PRT-IF) 24.
Under the control of PU10, it is used to print documents, etc. in the font specified by the user's keyboard 1B operation.

次に、この発明の一実施例の動作を、上記第1図のフロ
ーチャート並びに第2図のブロック構成図、更には第3
図の動作説明図を参照して説明する。
Next, the operation of one embodiment of the present invention will be described in the flowchart shown in FIG. 1, the block diagram shown in FIG.
This will be explained with reference to the operation explanatory diagram in the figure.

第2図の文書作成装置では、英欧文等の文書が多種多様
な書体でPS印刷できるように、各種書体の各文字のフ
ォントの輪郭を定義するPS用フォントデータが例えば
フロッピーディスク装置21(R2M17でも可)に予
め用意されている。そして第2図の文書作成装置では、
フロッピーディスク装置21に用意された各種書体(の
フォントデータ)のうちユーザによるキーボード16操
作によって要求された書体(のフォントデータ)を用い
てPS方式の文書印刷が行われる。更に、第2図の文書
作成装置では、ユーザのキーボード1B操作によってN
on−PS方式の文書印刷が要求された場合には、要求
された書体のPS用フォントデータを以下に述べるよう
にNon−PS用フォントデータに変換する操作が行わ
れ、この変換データを用いて印刷が行われる。
In the document creation device shown in FIG. 2, PS font data that defines the font outline of each character of various fonts is stored on the floppy disk device 21 (R2M17 (Also available) are prepared in advance. In the document creation device shown in Figure 2,
Out of the various fonts (font data) prepared in the floppy disk device 21, the font (font data) requested by the user through the keyboard 16 operation is used to print a document in the PS system. Furthermore, in the document creation device shown in FIG.
When on-PS document printing is requested, the PS font data of the requested font is converted to non-PS font data as described below, and this conversion data is used to Printing is done.

今、ユーザのキーボード1B操作によって、成る書体に
よるNon−PS印刷が要求されたものとする。説明の
便宜上、Non−PS印刷の対象となる文書の先頭行が
3文字から成り、その文字空間の大きさが字送り幅の管
理のためにフォントの大きさ(文字幅など)に応じて第
3図(a)において符号FO〜F2で示すように異なっ
ているものとする。CPUl0はキーボード16がらの
上記要求をキーボードインタフェース17を介して検出
すると、まず第3図(b)に示す所定サイズの仮想文字
枠(以下、1文字空間と称する)Sl  (i=0)の
始点(ここでは左上端)X(横方向座標、縦方向座標に
ついては説明を省略)を決定する(ステップAt)。こ
こで、i−Qの1文字空間s1、即ち先頭の1文字空間
SOの始点X(第3図ではX(0)として示されている
)は、キーボード16操作によるユーザからの指示(印
刷位置指定)に応じて決定される。1文字空間S1はN
on−PS印刷の字送り幅を決定するための仮想的な矩
形枠で、その幅(横幅)ΔXは一定である。
Now, assume that Non-PS printing in the following font is requested by the user's keyboard 1B operation. For convenience of explanation, the first line of the document targeted for Non-PS printing consists of three characters, and the size of the character space is adjusted according to the font size (character width, etc.) to manage the tracking width. In FIG. 3(a), it is assumed that there are differences as shown by symbols FO to F2. When the CPU 10 detects the above-mentioned request from the keyboard 16 via the keyboard interface 17, it first selects the starting point of a virtual character frame (hereinafter referred to as one character space) Sl (i=0) of a predetermined size as shown in FIG. 3(b). (Here, the upper left end) X (description of horizontal and vertical coordinates is omitted) is determined (step At). Here, the starting point X (indicated as X (0) in FIG. specified). One character space S1 is N
This is a virtual rectangular frame for determining the feed width of on-PS printing, and its width (horizontal width) ΔX is constant.

次にCPUl0は、印字すべき文字(ここではフォント
FOの文字)に対応するPS用フォントデータを、フロ
ッピーディスク装置21からRA M■1の所定領域に
ディスクインタフェース22を介して読込む(ステップ
A2)。このPS用フォントデータは、対応するフォン
トF1の輪郭をベクトルで定義したものであるが、PS
印刷の字送り幅の管理のために、その文字空間(1文字
空間Slに相当する矩形の文字枠)は上記したように文
字毎に異なる。またPS用フォントデータで定義される
フォントFiの輪郭は、上記文字空間の左上端を基準と
するベクトルで定義される。したがって、PS用フォン
トデータの示すフォントFiを、そのまま1文字空間S
tに配置すると、第3図(c)に示すように1文字空間
S1の左側に寄せられた状態となり、正しいNon−P
S印刷は行えない。
Next, the CPU 10 reads PS font data corresponding to the characters to be printed (in this case, the characters of the font FO) from the floppy disk device 21 into a predetermined area of the RAM 1 via the disk interface 22 (step A2). ). This PS font data defines the outline of the corresponding font F1 as a vector, but the PS font data
In order to manage the printing feed width, the character space (rectangular character frame corresponding to one character space Sl) differs for each character as described above. Furthermore, the outline of the font Fi defined by the PS font data is defined by a vector with the upper left corner of the character space as a reference. Therefore, the font Fi indicated by the PS font data is used as it is in one character space S.
t, it will be placed on the left side of one character space S1 as shown in Figure 3(c), and the correct Non-P
S printing is not possible.

そこで、この実施例では、PS用フォントデータを次の
ようにNon−PS用データに変換するようにしている
。まずCPUl0は、RAMIIに読込んだフォントデ
ータをもとに同データの示す文字フォントFi  (i
=0)の文字幅を抽出し、この文字幅と1文字空間S1
の幅ΔXとから、文字フォントFiを1文字空間Stの
中央に配置させるのに必要なシフト量ΔXを次式 %式%) により求める(ステップA3)。次にCPUl0は、R
AMIIに読込んだ(フォントFiの)フォントデータ
によって示されている幾つかのベクトル(の座標)を、
ステップA3で求めたシフト量ΔXだけ右方向にシフト
する(ステップA4)。
Therefore, in this embodiment, PS font data is converted into Non-PS data as follows. First, based on the font data read into RAMII, CPU10 reads the character font Fi (i
=0), and extract this character width and one character space S1
From the width ΔX, the shift amount ΔX necessary to place the character font Fi in the center of one character space St is determined by the following formula (% formula %) (Step A3). Next, CPUl0
Some vectors (coordinates) indicated by the font data (of font Fi) read into AMII are
It is shifted to the right by the shift amount ΔX determined in step A3 (step A4).

なお、この実施例では、先頭ベクトルの始点だけが上記
文字空間の左上端からの絶対座標で示され、先頭ベクト
ルの終点および後続する幾つかのベクトルの終点(1つ
のベクトルの終点は次のベクトルの始点となるため、先
頭ベクトル以外のベクトルについては始点座標は不要)
については先頭ベクトルの始点からの相対座標で示され
ているため、上記ステップA4では先頭ベクトルの始点
だけをΔXだけシフトするだけでよい。上記のステップ
A4のシフト処理によってデータ変換されたフォントデ
ータの示すフォントFiは、その本来の文字空間の大き
さに無関係に、第3図(d)に示すように1文字空間S
tの中央に位置することになる。即ち、フォントFi 
 (の本来の文字空間)の縦方向の中心軸は、1文字空
間Siの縦方向中心軸と一致するようになる。
In this example, only the start point of the first vector is shown in absolute coordinates from the upper left corner of the character space, and the end point of the first vector and the end points of several subsequent vectors (the end point of one vector is indicated by the absolute coordinates from the upper left corner of the character space). (The starting point coordinates are not required for vectors other than the first vector.)
is indicated by relative coordinates from the starting point of the leading vector, so in step A4, it is sufficient to shift only the starting point of the leading vector by ΔX. The font Fi indicated by the font data converted by the shift processing in step A4 above is one character space S as shown in FIG. 3(d), regardless of the original character space size.
It will be located at the center of t. That is, the font Fi
The vertical central axis of (original character space) coincides with the vertical central axis of one character space Si.

CPUl0はステップA4を終了すると、ΔXシフトが
施されたPS用フォントデータをNon−PS用フォン
トデータとして用い、RAMIIの行イメージ領域(印
字バッファ)上にXを1文字空間Siの始点として周知
のパターン展開を行う(ステップA5)。このステップ
A5においては、RAMIIの作業領域上でパターン展
開を行った後、その展開パターンをRAMIIの行イメ
ージ領域上のXを始点とする1文字空間Slに格納する
ようにしてもよい。
After completing step A4, CPU10 uses the ΔX-shifted PS font data as Non-PS font data, and prints the well-known X on the row image area (print buffer) of RAMII with X as the starting point of one character space Si. Pattern development is performed (step A5). In this step A5, after the pattern is developed on the work area of RAMII, the developed pattern may be stored in one character space Sl having X as the starting point on the row image area of RAMII.

なお、以上はフォントデータの示すフォントを等倍でパ
ターン展開する場合について説明したものであるが、拡
大または縮小を伴う場合には上記ステップA2.A3の
処理で述べた1文字空間S1と、ステップA5の処理で
述べた1文字空間Stとは異なることに注意されたい。
Note that the above explanation is for the case where the font indicated by the font data is expanded into a pattern at the same size, but if enlargement or reduction is involved, step A2. It should be noted that the one-character space S1 described in the process of A3 is different from the one-character space St described in the process of step A5.

即ち前者は基本サイズの1文字空間であり、後者は拡大
または縮小サイズの1文字空間である。
That is, the former is one character space of basic size, and the latter is one character space of enlarged or reduced size.

CPUl0はステップA5を終了すると、1行の全文字
についての処理が終了したか否かを調べ、終了していな
ければX(ここではX(0))にΔXを加えて次の1文
字空間Si  (ここでは1−1)の始点X(ここでは
X(1))を求め、次の文字に対応するPS用フォント
データについて上記ステップA2〜A5を実行する。以
上の処理が、印字対象行の各文字について繰返し行われ
ることにより、各文字のフォントパターンが第3図(d
)に示すように等間隔で且つ各1文字空間S1の中央に
配置された行イメージがRAMIIの行イメージ領域に
生成される。したがって、この行イメージ領域のイメー
ジをプリンタ23を用いて印字することにより、Non
−PSの印刷結果を得ることができる。
When CPUl0 finishes step A5, it checks whether processing for all characters in one line has been completed, and if not, it adds ΔX to X (in this case, X(0)) and moves to the next character space Si (here, 1-1), the starting point X (here, X(1)) is found, and steps A2 to A5 are executed for the PS font data corresponding to the next character. By repeating the above process for each character in the line to be printed, the font pattern of each character is created as shown in Figure 3 (d
), line images arranged at equal intervals and centered in each character space S1 are generated in the line image area of RAMII. Therefore, by printing the image of this row image area using the printer 23, it is possible to
- PS printing results can be obtained.

なお、前記実施例では、印字のための1文字パターン展
開に際して対応するPS用フォントデータを読込み、Δ
Xシフト操作によるデータ変換を行ってNon−PS用
フォントデータを作成する方式(第1方式)について説
明したが、これに限るものではない。例えば、ユーザか
ら要求された書体の全文字分のPS用フォントデータに
ついて、第1図のステップA2〜A4を実行することに
より対応するNon−PS用フォントデータを作成して
RAMIIの所定領域(Non−PS用フォントデータ
領域と呼ぶ)に格納しておく方式(第2方式)を適用す
ることも可能である。この第2方式では、行印字の際に
、印字対象となる文字に対応したNon−PS用フォン
トデータをNon−PS用フォントデータ領域から取出
して周知のパターン展開を行うことになる。したがって
第2方式は、同一文字について第1図のステップA2〜
A4をその文字の出現数(印字すべき回数)に無関係に
1回だけ実行するだけでよいため、ユーザから要求され
た書体に関する全文字分のフォントデータを格納する領
域がRAMIIなどのメモリ上に確保できる場合には便
利である。
In addition, in the above embodiment, when developing a single character pattern for printing, the corresponding PS font data is read and Δ
Although the method (first method) of creating non-PS font data by performing data conversion using the X shift operation has been described, the present invention is not limited to this method. For example, regarding PS font data for all characters of a font requested by a user, steps A2 to A4 in FIG. 1 are executed to create corresponding Non-PS font data and the corresponding - It is also possible to apply a method (second method) in which the font data is stored in a PS font data area. In this second method, during line printing, Non-PS font data corresponding to the character to be printed is extracted from the Non-PS font data area and a known pattern is developed. Therefore, in the second method, steps A2 to A2 in FIG.
Because A4 only needs to be executed once, regardless of the number of occurrences of that character (the number of times it should be printed), the area for storing font data for all characters related to the font requested by the user is available in memory such as RAM II. This is convenient if it can be secured.

また、前記実施例では、日本語および英欧文の文書の作
成機能を持った文書作成装置に実施した場合について説
明したが、文書作成機能は必ずしも必要でなく、本発明
は各種の書体の印刷をフォントデータ(ベクトルフォン
トデータ)を利用して実行することが可能な装置全般に
応用できるものである。
Furthermore, in the above embodiment, a case has been described in which the document creation device has the function of creating documents in Japanese and English/European languages, but the document creation function is not necessarily necessary, and the present invention can print various typefaces. It can be applied to all devices that can execute using font data (vector font data).

[発明の効果] 以上詳述したようにこの発明によれば、PS用フォント
データの示す文字フォントがNon−PS印刷に必要な
字送り幅を決める仮想文字枠(1文字空間)の中央に配
置されるように、上記PS用フォントデータのデータ変
換が行われるので、このデータ変換されたフォントデー
タをNon−PS用フォントデータとして用いることで
、Non−PS方式の印刷が簡単に行える。即ち、この
実施例によれば、英欧文などのように多種多様な書体が
要求される場合に、各書体の各文字についてPS用のフ
ォントデータを用意しておくだけで、PSおよびNon
−PSのいずれの印刷も行うことができるので、フォン
トデータを保存しておくフロッピーディスクやROMな
どの記憶領域が節約できる。
[Effects of the Invention] As detailed above, according to the present invention, the character font indicated by the PS font data is placed in the center of the virtual character frame (one character space) that determines the feed width necessary for Non-PS printing. As described above, the data conversion of the PS font data is performed, and by using the converted font data as the Non-PS font data, printing in the Non-PS system can be easily performed. That is, according to this embodiment, when a wide variety of fonts are required, such as in English and European languages, PS and Non
- Since any PS can be printed, storage areas such as floppy disks and ROMs for storing font data can be saved.

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

第1図はこの発明に関係するNon−PS(ノン拳プロ
ポーショナル中スベイシング)用フォントデータ作成処
理手順の一実施例を示すフローチャート、第2図は上記
Non−PS用フォントデータ作成処理手順を実現する
ための文書作成装置の一実施例を示すブロック構成図、
第3図は上記Non−PS用フォントデータ作成処理手
順を説明するための図、第4図はPS(プロポーショナ
ル・スペイシング)印刷を説明するための図である。 IO・・・CPU、11・・・RAM、12・・・RO
M、13・・・プログラム領域、16・・・キーボード
(KB)、21・・・フロッピーディスク装置(FDD
)、23・・・プリンタ(PRT) 、FO〜F2・・
・フォント、SO〜S2・・・1文字空間(仮想文字枠
)。 出願人代理人  弁理士 鈴江武彦 第2図 第3図
FIG. 1 is a flowchart showing an example of the non-PS (non-fist proportional medium spacing) font data creation processing procedure related to the present invention, and FIG. 2 is a flowchart showing an embodiment of the non-PS font data creation processing procedure described above. A block configuration diagram showing an example of a document creation device for
FIG. 3 is a diagram for explaining the non-PS font data creation processing procedure, and FIG. 4 is a diagram for explaining PS (proportional spacing) printing. IO...CPU, 11...RAM, 12...RO
M, 13...Program area, 16...Keyboard (KB), 21...Floppy disk device (FDD)
), 23...Printer (PRT), FO~F2...
- Font, SO to S2...1 character space (virtual character frame). Applicant's agent Patent attorney Takehiko Suzue Figure 2 Figure 3

Claims (1)

【特許請求の範囲】[Claims] プロポーショナル・スペイシング用の文字フォントの輪
郭をベクトルで定義するベクトルフォントデータが各種
書体の各種文字について予め用意されたベクトルフォン
トデータ記憶手段と、このベクトルフォントデータ記憶
手段からノン・プロポーショナル・スペイシング印刷処
理に必要な或は必要となることが予測される上記ベクト
ルフォントデータを取出すデータ取出し手段と、このデ
ータ取出し手段によって取出された上記ベクトルフォン
トデータの示す文字フォントの文字幅を抽出し、この文
字幅およびノン・プロポーショナル・スペイシング印刷
の字送り幅を決定するための所定サイズの仮想文字枠の
幅をもとに、上記取出された上記ベクトルフォントデー
タの示す文字フォントを上記仮想文字枠の中央に配置さ
せるのに必要なシフト量を算出するシフト量算出手段と
、上記データ取出し手段によって取出された上記ベクト
ルフォントデータの示す文字フォントが上記シフト量算
出手段によって算出されたシフト量だけシフトするよう
に同ベクトルフォントデータのデータ変換を行い、ノン
・プロポーショナル・スペイシング用のベクトルフォン
トデータを生成するデータ生成手段とを具備し、上記デ
ータ生成手段によって生成されたベクトルフォントデー
タを用いてパターン展開を行ってノン・プロポーショナ
ル・スペイシング印刷を行うようにしたことを特徴とす
るベクトルフォントデータを用いた印刷方式。
Vector font data that defines the contours of character fonts for proportional spacing using vectors is stored in a vector font data storage means prepared in advance for various characters of various typefaces, and is used in non-proportional spacing printing processing from this vector font data storage means. A data extraction means for extracting the vector font data that is necessary or predicted to be necessary, extracts the character width of the character font indicated by the vector font data extracted by the data extraction means, and extracts the character width and Based on the width of a virtual character frame of a predetermined size for determining the feed width of non-proportional spacing printing, the character font indicated by the extracted vector font data is placed in the center of the virtual character frame. a shift amount calculation means for calculating a shift amount necessary for the vector font data extracted by the data extraction means; data generation means for converting font data and generating vector font data for non-proportional spacing; A printing method using vector font data characterized by proportional spacing printing.
JP63057708A 1988-03-11 1988-03-11 Printing method using vector font data Pending JPH01229649A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63057708A JPH01229649A (en) 1988-03-11 1988-03-11 Printing method using vector font data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63057708A JPH01229649A (en) 1988-03-11 1988-03-11 Printing method using vector font data

Publications (1)

Publication Number Publication Date
JPH01229649A true JPH01229649A (en) 1989-09-13

Family

ID=13063445

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63057708A Pending JPH01229649A (en) 1988-03-11 1988-03-11 Printing method using vector font data

Country Status (1)

Country Link
JP (1) JPH01229649A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004354767A (en) * 2003-05-29 2004-12-16 Sharp Corp Device and method for character and figure display, program, and recording medium
JP2016071257A (en) * 2014-09-30 2016-05-09 キヤノンマーケティングジャパン株式会社 Information processing device, information processing method, and program
JP2016110063A (en) * 2014-11-28 2016-06-20 キヤノンマーケティングジャパン株式会社 Information processing apparatus, information processing method, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004354767A (en) * 2003-05-29 2004-12-16 Sharp Corp Device and method for character and figure display, program, and recording medium
JP2016071257A (en) * 2014-09-30 2016-05-09 キヤノンマーケティングジャパン株式会社 Information processing device, information processing method, and program
JP2016110063A (en) * 2014-11-28 2016-06-20 キヤノンマーケティングジャパン株式会社 Information processing apparatus, information processing method, and program

Similar Documents

Publication Publication Date Title
JP3039273B2 (en) Print control device and print control method
JPH01229649A (en) Printing method using vector font data
JPH08160934A (en) Character information processor
JP2002278727A (en) Character extraction printing program and printing controller
JP3315861B2 (en) Character generator
JP3450869B2 (en) Bit image data generation device and bit image data generation method
JP2695828B2 (en) Printing control device
JP2803087B2 (en) Print processing device
JPH0346020A (en) Document processing system
JP3036064B2 (en) Document output device
JP2580965B2 (en) Printer device
JP3341048B2 (en) Document printing device
JP2922068B2 (en) Word processor with character font correction function
JP3082236B2 (en) Character drawing device
JP2002273943A (en) Printing program for converting to vertical writing, and printing controller
JP3054157B2 (en) Character processing device and character processing method
JPH03113498A (en) Printer
JPH11219358A (en) Document data output device and its program recording medium
JPH04326478A (en) Graphic preparing device
JPH07141340A (en) Document output method and document processor
JPH01215557A (en) Word processor
JPH0778133A (en) Document preparing device and method for outputting character pattern
JPH02300922A (en) Document preparing device
JPH02238515A (en) Recording device
JPH04148471A (en) Format setting device