Nothing Special   »   [go: up one dir, main page]

JPH0248768A - Document generating device - Google Patents

Document generating device

Info

Publication number
JPH0248768A
JPH0248768A JP63199542A JP19954288A JPH0248768A JP H0248768 A JPH0248768 A JP H0248768A JP 63199542 A JP63199542 A JP 63199542A JP 19954288 A JP19954288 A JP 19954288A JP H0248768 A JPH0248768 A JP H0248768A
Authority
JP
Japan
Prior art keywords
character
font
size
constant
interval
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
JP63199542A
Other languages
Japanese (ja)
Inventor
Hiroyuki 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.)
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 JP63199542A priority Critical patent/JPH0248768A/en
Publication of JPH0248768A publication Critical patent/JPH0248768A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To always print or displaying output a well-balanced document by setting constants respectively for the character size of a first font, the character interval of the first font and the line interval of a third font, and multiplying them respectively. CONSTITUTION:On the assumption that the character size of the full size character of the first font is MX1XMY1, the character size of the full size character of a second font is made to be such a thing that MX1 and MY1 are multiplied by the constant set on the basis of the full size character size of a first character font. Besides, the constant is stored in an external storage device, and is stored as the constant combined with the changing constant of the character size as being providing with also with the changing constant of the character interval and the changing constant of the line interval peculiar to the second font, and is read in by a CPU. Then, at the time of printing, each character font MP1, MP2... is developed in a line buffer for printer as keeping the space of the character interval portion of MP21, MP22.... Thus, the character size, the character interval and the line interval can be always changed and set automatically as keeping the best balance.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、文書をドツト構成の異なるフォントで印刷す
るとき、フォント毎に文字サイズ、文字間、行間を変更
して印字する文書作成装置に関する。
[Detailed Description of the Invention] [Objective of the Invention] (Industrial Application Field) The present invention provides a method for printing documents by changing the character size, character spacing, and line spacing for each font when printing documents in fonts with different dot configurations. The present invention relates to a document creation device.

(従来の技術) 文書作成装置において、文書中でドツト構成の異なる(
分解能の異なる)文字フォント(明朝体は24X24ド
ツト、毛筆体は32X32ドツト、アウトラインフォン
トは60X60ドツト等)で、印刷あるいは表示を行な
う際には全体のバランスの点から文字サイズ、文字間、
行間を同時に変更設定して出力する必要がある。
(Prior art) In a document creation device, dots with different dot configurations (
When printing or displaying character fonts with different resolutions (24 x 24 dots for Mincho fonts, 32 x 32 dots for calligraphy fonts, 60 x 60 dots for outline fonts, etc.), the font size, character spacing,
It is necessary to change the line spacing and output it at the same time.

(発明が解決しようとする課題) 文字サイズ、文字間、行間隔を変更設定する方法として
は、フォントを変更したとき書式設定としてマニュアル
方式でユーザー自身が設定する方法が考えられるが、文
字フォントの変更毎にこれらをその都度選択設定するの
は煩わしく、またバランスの良い文字サイズ、文字間、
行間が得られるとは限らない。
(Problem to be Solved by the Invention) One possible method for changing and setting the character size, character spacing, and line spacing is for the user to manually set the format settings when changing the font, but It is troublesome to select and set these each time a change is made, and it is also difficult to select and set them each time a change is made.
It is not always possible to obtain line spacing.

本発明は上記のような実情に鑑みてなされたもので、文
字フォントの変更に伴い、常に文字サイズと文字間、行
間を最適のバランスで自動的に変更設定することの可能
な文書作成装置を提供することを目的とする。
The present invention has been made in view of the above-mentioned circumstances, and provides a document creation device that can automatically change and set the font size, character spacing, and line spacing in an optimal balance as the font changes. The purpose is to provide.

[発明の構成] (課題を解決するための手段及び作用)本発明は、第1
のフォントからドツト構成の異なる第2のフォントへ変
更して印字または表示を行なうに際して、第1のフォン
トの文字サイズに第1の定数を、第1のフォントの文字
間に第2の定数を、第3のフォントの行間に第3の定数
を設定し、この設定した定数に従ってそれぞれを乗算す
ることにより第2のフォントの文字サイズ、文字間、行
間を得るようにしたもので、常にバランスの取れた文書
の印刷あるいは表示出力を行なうことができる。
[Structure of the invention] (Means and effects for solving the problem) The present invention has the following features:
When changing from a font to a second font with a different dot configuration for printing or display, a first constant is set to the character size of the first font, a second constant is set between the characters of the first font, A third constant is set between the lines of the third font, and the character size, character spacing, and line spacing of the second font are obtained by multiplying each constant according to the set constant, so that the balance is always maintained. Documents can be printed or displayed.

(実施例) 以下図面を参照して本発明の一実施例を説明する。(Example) An embodiment of the present invention will be described below with reference to the drawings.

第1図は上記実施例に係る文書作成装置の基本的な構成
を示すブロック図である。
FIG. 1 is a block diagram showing the basic configuration of the document creation device according to the above embodiment.

第1図において、11はマイクロプロセッサ(CPU)
、12は同マイクロプロセッサ11によりアクセスされ
るROM、13は同RAMである。
In Figure 1, 11 is a microprocessor (CPU)
, 12 is a ROM accessed by the microprocessor 11, and 13 is a RAM.

マイクロプロセッサ(以下CPUと略称する)11は装
置全体の制御を行なうもので、上記ROM12及びRA
M13をアクセスして、入力措示に従うプログラムの起
動で、文書作成処理、外字変換処理、キー人力制御処理
等を実行する。RA M 13は、文書領域、行イメー
ジ領域(印字バッファ)、外字登録領域、語句登録領域
を始め、文書表示画面上のカーソル位置を記憶するカー
ソル位置レジスタなどの各制御情報を記憶する領域から
なる。
A microprocessor (hereinafter abbreviated as CPU) 11 controls the entire device, and the ROM 12 and RA
By accessing M13 and starting a program according to input instructions, document creation processing, external character conversion processing, key manual control processing, etc. are executed. The RAM 13 consists of areas for storing various control information such as a document area, line image area (print buffer), external character registration area, word/phrase registration area, and a cursor position register that stores the cursor position on the document display screen. .

ROM12は、CPU1lの動作を決定するプログラム
やキー人力に伴う入力処理プログラム等を格納したプロ
グラム領域を始め、表示あるいは印字文字パターン等を
記憶する文字パターン領域、文書中の各行に設定された
文字サイズ、文字間、行間のデータ等の行修飾情報を各
行に対応して記憶する行修飾領域、カナあるいはローマ
字で入力された読みを漢字に変換するための各種辞書が
登録された辞書領域等を有している。
The ROM 12 includes a program area that stores programs that determine the operation of the CPU 1l and input processing programs associated with manual key input, a character pattern area that stores display or print character patterns, etc., and a character size set for each line in a document. , a line modification area that stores line modification information such as character spacing and line spacing data for each line, and a dictionary area that stores various dictionaries for converting readings input in kana or romaji into kanji. are doing.

また、14はキーボード(KB)  1Bは液晶(LC
D)表示器、19はプリンタ(PRT) 、21はフロ
ッピーディスク装置(FDD)である。キーボード14
は、文書作成等に必要な情報をキーボードインクフェイ
ス(KB−I F) 15を介してCFULLへ入力す
る。このキーボード14には、文字キー カーソルキー
 「ひらがな」シフトキー「カタカナ」シフトキー、漢
字変換キー等を含む各種のファンクションキーが設けら
れる。液晶表示器16は、例えば10行程度の液晶表示
デイスプレィ装置からなる。表示コントローラ(表示−
CTR)17は、CPUIIの制御の下に表示用ドツト
メモリ18を用いて液晶表示器16の表示制御を行なう
。フロッピーディスク装置21は、ディスクインタフェ
イス(FDD−IF)2,3.を介してCPU11の制
御の下に、作成された文書を保存したり、外字及び第2
水準文字等を記憶する。プリンタI9は、プリンタイン
タフェイス(PRT−I F)20を介してCPUII
の制御の下に、作成された文書あるいは上記フロッピー
ディスク装置21から本体内に読込んだ文字情報を印字
する。
Also, 14 is the keyboard (KB) and 1B is the liquid crystal (LC).
D) A display, 19 a printer (PRT), and 21 a floppy disk device (FDD). keyboard 14
inputs information necessary for document creation etc. to CFULL via the keyboard ink face (KB-IF) 15. The keyboard 14 is provided with various function keys, including character keys, cursor keys, ``hiragana'' shift keys, ``katakana'' shift keys, kanji conversion keys, and the like. The liquid crystal display 16 is composed of, for example, a liquid crystal display device with about 10 lines. Display controller (display-
The CTR 17 controls the display of the liquid crystal display 16 using the display dot memory 18 under the control of the CPU II. The floppy disk device 21 has disk interfaces (FDD-IF) 2, 3 . Under the control of the CPU 11 via the
Memorize level characters, etc. The printer I9 connects to the CPU II via the printer interface (PRT-IF) 20.
Under the control of , the created document or the character information read into the main body from the floppy disk device 21 is printed.

上記のような構成にあって、文書途中で使用する文字フ
ォントを第1の文字フォントからドツト構成(ドツト分
解能)の異なる第2の文字フォントに変更設定した文書
の印字を行なう場合の動作について以下に述べる。なお
、「ドツト構成が異なる」とは、基本サイズの文字をど
の程度のメツシュ(ドツトマトリクス)で表現するかが
異なるということである。
The following describes the operation when printing a document with the above configuration, where the character font used in the middle of the document is changed from the first character font to a second character font with a different dot configuration (dot resolution). I will explain. Note that "the dot configurations are different" means that the size of the mesh (dot matrix) used to represent the basic size characters is different.

第2図(a)は文書中の第1のフォント(例えば24X
24ドツト構成の明朝体)による文字列rABcJ  
rabcJのプリンタ19での印字出力を例示するもの
である。図中でMPi(i−12,3,・・・)はri
J番目の文字と「i+IJ番目の文字との文字間、LF
j  (j−1,2,3・・・)は「jJ番目の行とr
j+IJ番目の行との行間、MXk (k−1,2,3
,・・・)は「k」番目の文字の横方向のサイズ、MY
kは同じく「k」番目の文字の縦方向のサイズである。
Figure 2(a) shows the first font in the document (for example, 24X
24-dot Mincho font) character string rABcJ
This is an example of print output from the rabcJ printer 19. In the figure, MPi (i-12, 3,...) is ri
Between the Jth character and the i+IJth character, LF
j (j-1, 2, 3...) is "jJ-th row and r
Line spacing with j+IJth line, MXk (k-1, 2, 3
,...) is the horizontal size of the "k"-th character, MY
Similarly, k is the vertical size of the "k"th character.

これらは文書作成の初期設定時にユーザーの指定により
設定され、RAM13に記憶されている。また、文字毎
に各位が設定されるのではなく、基本文字(例えば第2
図(a)の全角の「A」)に対する文字量間隔、行間間
隔が行修飾データとして設定され、他は4倍角文字(r
BJ ) 、横倍角文字(rcJ )の設定によって設
定値から算出されるものでもよい。
These are set by the user's specifications at the time of initial setting for document creation, and are stored in the RAM 13. Also, instead of setting each position for each character, basic characters (for example, the second
The character spacing and line spacing for the full-width character "A" in figure (a) are set as line modification data, and the other quadruple-width characters (r
BJ ) and double-width characters (rcJ) may be calculated from the set value.

次に第2図(a)の文字列を、ドツト構成の異なる第2
のフォントでプリンタ19により印字出力した状態を第
2図(b)に示す。図中、M P 21(i−1,2,
3,・・・)がriJ番目の文字と「i+IJ番目の文
字との文字間、LF2j(j−1,2,3,・・・)が
「jJ番目の行とrj+IJ番目の行との行間、MX2
k(k−1,2,3,・・・)がrkJ番目の文字の横
方向のサイズ、、MY2には同じく 「k」番目の文字
の縦方向のサイズである。
Next, the character string in Figure 2(a) is converted into a second character string with a different dot configuration.
FIG. 2(b) shows a state in which the printer 19 prints out the font using the following font. In the figure, M P 21 (i-1, 2,
3,...) is the character spacing between the riJth character and the i+IJth character, and LF2j (j-1, 2, 3,...) is the spacing between the jJth line and rj+IJth line. ,MX2
k (k-1, 2, 3, . . . ) is the horizontal size of the rkJ-th character, and MY2 is the vertical size of the "k"-th character.

第1のフォントの全角文字の文字サイズをMXkxMY
k  (例えば第2図(a)のMXI xMYl )と
すると、第2のフォントの全角文字の文字サイズは MX2に−MXkxα1 MY2に−MYkxα1          ・・・(
1)として設定される。定数αlは第1の文字フォント
の全角文字サイズを基準にして設定された値であり、第
2のフォントに固有の値として設定されている。なお、
定数のα1は、α2、α3はフォントセットが記憶され
ている外部記憶装置(F D)に記憶され、フォントセ
ットのローディング時に読込まれてもよいし、フォント
に対応して内部に記憶されていてもよい。この際にCP
UIIは1、上記文字サイズの変更定数αlと組になっ
た定数として、前記第2のフォントに固有の文字間の変
更定数α2と行間の変更定数α3も読込む。α2とα3
も第1のフォントの全角文字の行間、文字量間隔を基準
に設定されているものである。すなわち1α2とα3は
、 MP21−MPixα2          ・・・(
2)LF2j−LFjxα3          ・・
・(3)として使用されるもので、こうして新たに求め
られた第2のフォントの全角文字の文字間M P 21
゜行間MPiと上記文字サイズMX2に、 MY2にと
を持って、文字サイズに対応した最適なバランスの文字
間、行間を有する第2のフォントが変更設定されるもの
である。なお、倍角、4倍角、縦横倍角、半角など文字
のサイズが変わる場合には、それぞれの値((1)〜(
3)式)に最適の定数がかけられる。
Set the character size of full-width characters of the first font to MXkxMY
k (for example, MXI x MYl in Figure 2 (a)), the character size of the full-width characters of the second font is MX2 -MXkxα1 MY2 -MYkxα1... (
1). The constant αl is a value set based on the full-width character size of the first character font, and is set as a value unique to the second font. In addition,
The constants α1, α2, and α3 may be stored in an external storage device (FD) where the font set is stored and read when loading the font set, or they may be stored internally corresponding to the font. Good too. At this time, CP
UII reads 1, and as constants paired with the character size change constant αl, a character spacing change constant α2 and a line spacing change constant α3 unique to the second font are also read. α2 and α3
are also set based on the line spacing and character amount spacing of full-width characters of the first font. In other words, 1α2 and α3 are MP21-MPixα2...(
2) LF2j−LFjxα3...
・It is used as (3), and the character spacing of full-width characters of the second font newly determined in this way M P 21
A second font having an optimally balanced character spacing and line spacing corresponding to the character size is changed and set using the line spacing MPi and the character size MX2 and MY2. In addition, if the font size changes, such as double-width, quadruple-width, double-width, double-width, half-width, etc., the respective values ((1) to (
3) Equation) is multiplied by an optimal constant.

以上に示す如く、印刷の際に使用されるフォントがいろ
いろと変更される場合に、使用されるフォントに応じて
文字サイズ、文字間、行間をバランスの取れた最適値に
自動的に変更設定されるものである。なお、定数のα1
は、α2、α3はフォントセットが記憶されている外部
記憶装置(FD)に記憶され、フォントセットのローデ
ィング時に読込まれてもよいし、フォントに対応して内
部に記憶されていてもよい。
As shown above, when the font used during printing is changed in various ways, the font size, character spacing, and line spacing are automatically changed to the optimal values with a good balance depending on the font being used. It is something that In addition, the constant α1
, α2 and α3 may be stored in an external storage device (FD) in which the font set is stored, and may be read when loading the font set, or may be stored internally corresponding to the font.

印字に際して、各文字フォントがMPIMP2 、・・
・、MP21SMP22、・・・の文字間隔分のスペー
スをあけてプリンタ用ラインバッファに展開され、また
、LFI 、LF2の値に従って紙送りが行なわれる。
When printing, each character font is MPIMP2,...
. . , MP21SMP22, . . . are developed in the printer line buffer with a space equal to the character interval, and the paper is fed according to the values of LFI and LF2.

なお、上記第1のフォントから第2のフォントの変更設
定による印字出力例を示したが、これは文書作成時に行
なわれるものであって、変更設定された内容に従って上
記印字例と同様の文字列が液晶表示器1Bに表示出力さ
れることとなる。
Although we have shown an example of print output by changing settings from the first font to the second font above, this is done when creating a document, and the same character string as in the print example above is generated according to the changed settings. will be displayed and output on the liquid crystal display 1B.

[発明の効果コ 以上詳記した如く本発明によれば、第1のフォントから
ドツト構成の異なる第2のフォントで印字または表示を
行なうに際して、第1のフォントの文字サイズに第1の
定数を、第1のフォントの文字間に第2の定数を、第3
のフォントの行間に第3の定数を設定し、この設定した
定数に従ってそれぞれを乗算することにより第2のフォ
ントの文字サイズ、文字間、行間を得るようにしたもの
で、文字フォントの変更に伴い、常に文字サイズと文字
間、行間を最適のバランスで自動的に変更設定すること
の可能な文書作成装置を提供することができる。
[Effects of the Invention] As detailed above, according to the present invention, when printing or displaying in a second font having a different dot configuration from the first font, the first constant is set to the character size of the first font. , the second constant between the characters of the first font, the third
A third constant is set between the lines of the font, and by multiplying each of them according to the set constant, the character size, character spacing, and line spacing of the second font are obtained. , it is possible to provide a document creation device that can always automatically change and set the character size, character spacing, and line spacing in an optimal balance.

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

図面は本発明の一実施例を示すもので、第1図、は回路
構成を示すブロック図、第2図(a)は第1のフォント
による印字出力を示す図、第2図(b)は第2のフォン
トによる印字出力を示す図である。 11・・・CPU、12・・・ROM、13・・・RA
M、14・・・キーボード(KB) 、15・・・キー
ボードインタフェイス(KB−I F) 、16・・・
液晶(LCD)表示器、17・・・表示コントローラ(
表示CNT)、18・・・表示用ドツトメモリ、19・
・・プリンタ(PRT) 、20・・・プリンタインタ
フェイス(PRT−I F) 、21・・・フロッピー
ディスク装置(FDD)、22・・・ディスクインクフ
ェイス(FDD−I F)。 出願人代理人 弁理士 鈴江武彦
The drawings show an embodiment of the present invention; FIG. 1 is a block diagram showing the circuit configuration, FIG. 2(a) is a diagram showing print output using the first font, and FIG. FIG. 7 is a diagram showing printout using a second font. 11...CPU, 12...ROM, 13...RA
M, 14...keyboard (KB), 15...keyboard interface (KB-IF), 16...
Liquid crystal (LCD) display, 17...display controller (
display CNT), 18... display dot memory, 19.
... Printer (PRT), 20... Printer interface (PRT-IF), 21... Floppy disk device (FDD), 22... Disk ink face (FDD-IF). Applicant's agent Patent attorney Takehiko Suzue

Claims (1)

【特許請求の範囲】[Claims]  第1のフォントからドット構成の異なる第2のフォン
トへ変更して印字または表示を行なうに際し、第1のフ
ォントの文字サイズに第1の定数を、第1のフォントの
文字間に第2の定数を、第1のフォントの行間に第3の
定数をそれぞれ乗算することにより第2のフォントの文
字サイズ、文字間、行間を得ることを特徴とする文書作
成装置。
When changing from a first font to a second font with a different dot configuration for printing or display, a first constant is set for the character size of the first font, and a second constant is set between characters of the first font. A document creation device characterized in that the character size, character spacing, and line spacing of a second font are obtained by multiplying the line spacing of the first font by a third constant.
JP63199542A 1988-08-10 1988-08-10 Document generating device Pending JPH0248768A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63199542A JPH0248768A (en) 1988-08-10 1988-08-10 Document generating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63199542A JPH0248768A (en) 1988-08-10 1988-08-10 Document generating device

Publications (1)

Publication Number Publication Date
JPH0248768A true JPH0248768A (en) 1990-02-19

Family

ID=16409558

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63199542A Pending JPH0248768A (en) 1988-08-10 1988-08-10 Document generating device

Country Status (1)

Country Link
JP (1) JPH0248768A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5486607A (en) * 1988-01-20 1996-01-23 Sumitomo Chemical Company, Limited Dioxazine blue dye compound having vinylsulfone type fiber reactive groups
US7594171B2 (en) 2004-10-01 2009-09-22 Adobe Systems Incorporated Rule-based text layout

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5486607A (en) * 1988-01-20 1996-01-23 Sumitomo Chemical Company, Limited Dioxazine blue dye compound having vinylsulfone type fiber reactive groups
US7594171B2 (en) 2004-10-01 2009-09-22 Adobe Systems Incorporated Rule-based text layout
US7783969B1 (en) 2004-10-01 2010-08-24 Adobe Systems Incorporated Rule-based text layout

Similar Documents

Publication Publication Date Title
JPH07106660B2 (en) How to create handwritten manuscript
JPH0248768A (en) Document generating device
JPH0448397B2 (en)
JP2695828B2 (en) Printing control device
JP2610405B2 (en) Document creation device
JPH03156668A (en) Document preparing device
JPS6328684A (en) Document printer
JPH02159617A (en) Document preparing device
JP2609614B2 (en) Character pattern display control method
JPH02159669A (en) Document preparing device
JPH01231089A (en) Document producing device
JPS63104119A (en) Document processor
JP2837497B2 (en) Output control device and output control method
JP2922068B2 (en) Word processor with character font correction function
JPH0773936B2 (en) Document creation device
JP2609614C (en)
JP2755589B2 (en) Document creation device
JPH06282544A (en) Printer
JPH0788102B2 (en) Document creation device
JPH0790650B2 (en) Document creation device
JPH0815794B2 (en) Character processor
JPH07125320A (en) Character data processing equipment
JPH0264853A (en) Document generating device
JPS63291089A (en) Character processor
JPH0589127A (en) Document preparing device