JPH01160653A - Document preparation device - Google Patents

Document preparation device

Info

Publication number
JPH01160653A
JPH01160653A JP62318782A JP31878287A JPH01160653A JP H01160653 A JPH01160653 A JP H01160653A JP 62318782 A JP62318782 A JP 62318782A JP 31878287 A JP31878287 A JP 31878287A JP H01160653 A JPH01160653 A JP H01160653A
Authority
JP
Japan
Prior art keywords
character
japanese
printing
english
font
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
JP62318782A
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 JP62318782A priority Critical patent/JPH01160653A/en
Publication of JPH01160653A publication Critical patent/JPH01160653A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/485Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by the process of building-up characters or image elements applicable to two or more kinds of printing or marking processes
    • B41J2/505Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by the process of building-up characters or image elements applicable to two or more kinds of printing or marking processes from an assembly of identical printing elements

Abstract

PURPOSE:To permit a Japanese text and an English text to exist in a mixed state and thereby improve a printing balance during their coexistence by seeking a printing area for Japanese font that remains from the printing length of a single line and the printing length of English font, and equally allotting Japanese characters to the printing area for Japanese font. CONSTITUTION:The number l of printing dots of a single line is sought by an arithmetic and logic operation based on previously set printing format data, and an English text which exists in a mixed state in printing data of a single line is detected to obtain the length le of printing dots in a single line by arithmetic and logic operation. Then a character pitch for each Japanese text character of printing data in a single line is sought based on a calculation equation l-le/number of Japanese characters = S and at the same time, the number of residual dots(a) is sought as well. These are allotted to each Japanese text character of printing data in a single line, and the allotments are set in a character pitch table in RAM 11. The character pitches decided for Japanese and English text characters are written into the character pitch table of the RAM11. Later, a character pattern of printing data of a single line is developed in accordance with the set contents of the character pitch table and a single line of data is printed.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、和文用及び英文用の専用文字フォントを備え
た文書作成装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to a document creation device equipped with dedicated character fonts for Japanese and English texts.

(従来の技術) 最近の文書作成装置例えば日本語ワードプロセッサにお
いては、殆んどが和文用文字フォントの他に英文用の専
用文字フォントを有しており、英文ワードプロセッサと
しても使用できるように考慮されている。しかし、その
多くは、入力初期段階または印刷段階で和文か英文かを
選択するものであり、和文、英文の自由な混在は制限さ
れている。これは和文、英文の文字フォントサイズ(横
幅)が異なることに起因している。
(Prior Art) Most of the recent document creation devices, such as Japanese word processors, have special character fonts for English text in addition to character fonts for Japanese text, and are designed so that they can also be used as English word processors. ing. However, in most of these, Japanese or English is selected at the initial stage of input or printing, and the free mixing of Japanese and English is restricted. This is due to the difference in character font size (width) between Japanese and English.

また、和文及び英文の混在で単にそれぞれの文字フォン
トで印字パターンを展開することは可能であるが、この
場合には文書全体の印字バランスが悪くなるという問題
がある。
Furthermore, it is possible to simply develop a print pattern using each character font when Japanese and English texts are mixed, but in this case, there is a problem that the print balance of the entire document becomes poor.

(発明が解決しようとする問題点) 上記のように従来の和文用及び英文用の文字フォントを
備えた文書作成装置に於いては、和文及び英文の自由な
混在が制限されていると共に、無理に混在させたとして
も全体の印字バランスが悪いという問題があった。
(Problems to be Solved by the Invention) As mentioned above, in conventional document creation devices equipped with character fonts for Japanese and English, the free mixing of Japanese and English is restricted and impossible. Even if they were mixed together, there was a problem that the overall printing balance was poor.

本発明は、和文と英文の混在印刷を可能にすると共に、
混在時の印字バランスを良好なものにし得る文書作成装
置を提供することを目的とする。
The present invention enables mixed printing of Japanese and English texts, and
It is an object of the present invention to provide a document creation device capable of achieving good printing balance when mixed characters are mixed.

[発明の構成] (問題点を解決するための手段) 本発明は、和文文字フォント及び英文文字フォントを備
えた文書作成装置に於いて、印字する1行分の文字デー
タに対してその印字長を演算により求める第1の演算手
段と、上記1行の文字列の中から英文フォントで印字す
る文字を検出する手段と、この手段により検出した英文
フォントによる印字長を演算により求める第2の演算手
段と、上記第1及び第2の演算手段の演算結果から1行
中の残りの和文フォントの印字エリアに和文文字を均等
に割振る割振り手段とを有してなる構成としたものであ
る。
[Structure of the Invention] (Means for Solving the Problems) The present invention provides a method for determining the print length for one line of character data to be printed in a document creation device equipped with a Japanese character font and an English character font. a first calculation means for calculating by calculation, a means for detecting a character to be printed in an English font from among the character string in one line, and a second calculation for calculating a print length in the English font detected by this means. and allocation means for equally allocating Japanese characters to the remaining Japanese font printing areas in one line based on the calculation results of the first and second calculation means.

(作用) 印刷モードにおいて、印刷の実行を指示すると、和文及
び英文が混在する1行分の印字データに対して基本文字
ピッチから1行の印字長が計算されると共に、上記1行
の文字列の中から英文フォントで印字する文字の印字長
が計算される。更に上記1行分の印字長及び英文フォン
トの印字長から1行中の残りの和文フォントが印字エリ
アが計算され、この和文フォントの印字エリアに対して
和文文字が均等に割振られる。この結果、和文と英文の
混在が可能になると共に、混在時の印字バランスを良好
なものとすることができる。
(Function) In print mode, when printing is instructed, the print length of one line is calculated from the basic character pitch for one line of print data containing both Japanese and English text, and the character string of the one line is calculated from the basic character pitch. The print length of the characters to be printed in the English font is calculated from among the characters. Furthermore, the printing area of the remaining Japanese font in one line is calculated from the printing length of one line and the printing length of the English font, and Japanese characters are evenly allocated to the printing area of this Japanese font. As a result, it becomes possible to mix Japanese and English texts, and it is possible to achieve a good printing balance when they are mixed.

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

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

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

マイクロプロセッサ(以下CPUと称す)10は装置全
体の制御を行なうもので、上記RAMII及びROM 
12をアクセスして、入力指示に従うプログラムの起動
で、文書作成処理、外字作成処理、更に第2図に示すよ
うな混在印刷制御処理等を実行する。RA M 11は
、文書領域、行イメージ領域(印字バッファ)、印刷時
に印字文字ピッチが設定される文字ピッチテーブル、外
字登録領域、語句登録領域を始め、文書表示画面上のカ
ーソル位置を記憶するカーソル位置レジスタなどの各制
御情報を記憶する領域からなる。ROM12は、CPU
l0の動作を決定するプログラムや入力処理プログラム
、更には第2図に示すような混在印刷制御プログラム等
を格納したプログラム領域13をはじめ、表示あるいは
印字文字パターン等を記憶する文字パターン領域14、
仮名あるいはローマ字で入力された読みを漢字に変換す
るための各種辞書が登録された辞書領域15等を有して
いる。上記文字パターン領域14には、和文文字の文字
パターンを記憶している領域14a及び英文文字の文字
パターンを記憶している領域14bが設けられている。
A microprocessor (hereinafter referred to as CPU) 10 controls the entire device, and controls the RAM II and ROM described above.
12 and starts a program according to input instructions to execute document creation processing, external character creation processing, mixed printing control processing as shown in FIG. 2, and the like. RAM 11 includes a document area, a line image area (print buffer), a character pitch table where the print character pitch is set during printing, a non-standard character registration area, a phrase registration area, and a cursor that memorizes the cursor position on the document display screen. It consists of areas for storing various control information such as position registers. ROM12 is CPU
A program area 13 that stores a program that determines the operation of l0, an input processing program, and a mixed printing control program as shown in FIG. 2, a character pattern area 14 that stores display or print character patterns, etc.
It has a dictionary area 15 and the like in which various dictionaries for converting readings input in kana or romaji into kanji are registered. The character pattern area 14 is provided with an area 14a for storing character patterns of Japanese characters and an area 14b for storing character patterns of English characters.

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

このキーボード16には、文字キー、カーソルキー、「
ひらがな」シフトキー、「カタカナ」シフトキー、「漢
字」シフトキー、印刷モード指定キー、選択/実行キー
、終了キー等を含む各種のファンクションキーが設けら
れる。表示器l8は、例えば40字×20行表示の液晶
デイスプレィ装置からなる。表示コントローラ(表示−
CNT)19は、CP U 10の制御の下に表示用R
A M 20を用いて表示器18の表示制御を行なう。
This keyboard 16 includes character keys, cursor keys,
Various function keys are provided, including a ``hiragana'' shift key, a ``katakana'' shift key, a ``kanji'' shift key, a print mode designation key, a selection/execution key, an end key, and the like. The display 18 is composed of a liquid crystal display device that displays, for example, 40 characters x 20 lines. Display controller (display-
CNT) 19 is a display R under the control of CPU 10.
A M 20 is used to control the display of the display 18.

フロッピィディスク装置21は、ディスクインターフェ
イス(FDD−I F)22を介してCPUl0の制御
の下に、作成された文書を保存したり、外字および第2
水準文字等を記憶する。プリンタ23は、プリンタイン
ターフェイス(PRT−IF)24を介してCPUl0
の制御の下に、作成された文書あるいは上記フロッピィ
ディスク装置21から本体内に読み込んだ文字情報を印
字する。
The floppy disk device 21, under the control of the CPU10 via a disk interface (FDD-IF) 22, stores created documents, stores external characters and second
Memorize level characters, etc. The printer 23 connects to the CPU10 via the printer interface (PRT-IF) 24.
Under the control of , the created document or the character information read into the main body from the floppy disk device 21 is printed.

第2図は上記実施例による和英混在文書の印刷制御動作
を示すフローチャートである。
FIG. 2 is a flowchart showing the print control operation for a mixed Japanese and English document according to the above embodiment.

第3図、第4図は、上記実施例に於ける動作を説明する
ための表示例及びその印字例を示す図である。
FIGS. 3 and 4 are diagrams showing display examples and printing examples for explaining the operation in the above embodiment.

ここで、上記第1図乃至第4図を参照して本発明の一実
施例に於ける動作を説明する。まず、例えば第3図(a
)に示す和英混在文書における1行目の文 「近年のCoa+putar 5cienceの発達に
は目ざま」を印刷する場合の例について説明する。この
場合、基本の文字フォント及び書式は、 和文フォント:24(縦)X24(横)ドツト英文フォ
ント:24(縦)X18(横)ドツト(プロポーショナ
ルスペーシング対応)和文基本文字ピッチエ20ドツト 1行印字数:20字 とする。
Here, the operation in one embodiment of the present invention will be explained with reference to the above-mentioned FIGS. 1 to 4. First, for example, in Figure 3 (a
An example of printing the first line of the Japanese-English mixed document shown in ), "The recent development of Coa+putar 5science is alarming" will be described. In this case, the basic character font and format are: Japanese font: 24 (vertical) x 24 (horizontal) dots English font: 24 (vertical) x 18 (horizontal) dots (compatible with proportional spacing) Japanese basic characters pitch 20 dots 1 line printing Number: 20 characters.

しかして、印刷モードにおいて1行印刷の実行を指示す
ると、CPUl0の制御の下に第2図のフローチャート
に示す印刷制御動作が開始される。
When one line printing is instructed in print mode, the print control operation shown in the flowchart of FIG. 2 is started under the control of CPU10.

まず、CPUl0は、RA M 11から印字すべき文
書をプリンタインターフェイス24に1行分読出すと共
に、予め設定されている印刷書式データに基づき「(基
本文字ピッチ)×(1行字数)」の演算を行なって1行
の印字ドツト数ノを求める(ステップSl)。この場合
、基本文字ピッチが30ドツト、1行字数が20字であ
るので、1行の印字ドツト数ノはr30X20−600
 (ドツト)」となる。
First, the CPU 10 reads one line of the document to be printed from the RAM 11 to the printer interface 24, and calculates "(basic character pitch) x (number of characters per line)" based on the print format data set in advance. Then, the number of printed dots in one line is determined (step Sl). In this case, the basic character pitch is 30 dots and the number of characters per line is 20, so the number of printed dots per line is r30x20-600.
(dot)".

次いで上記1行の印字データ中に混在している英文を検
出してそのドツト長Jeを演算により求める(ステップ
S2)。上記英文の検出は、英字であるなら半角文字、
全角文字を問わずに英文フォントとして判定する。この
場合の英文は第3図(a)に示すようにr Coff1
puter 5c1ence Jで、1行中の4桁目か
ら12桁目の合計9桁を使用し、半角文字で表示されて
いるので、文字数としてはスペースを含んで18文字分
に相当する。英文フォントの横方向の基本ドツトは18
ドツトであるが、第4図(a)の印字例に示すように上
記英文中のrt、rJの文字は16ドツト、riJの文
字は14ドツトであるので、その合計ドツト長ノeはr
18X18−8−316 (ドツト)」となる。
Next, English sentences mixed in the one line of print data are detected and the dot length Je thereof is calculated (step S2). The detection of the above English text is a half-width character if it is an alphabetic character,
Determine it as an English font regardless of full-width characters. In this case, the English sentence is r Coff1 as shown in Figure 3(a).
puter 5c1ence J uses a total of 9 digits from the 4th digit to the 12th digit in one line and is displayed in half-width characters, so the number of characters is equivalent to 18 characters including spaces. The basic horizontal dot of English fonts is 18.
However, as shown in the printing example in Figure 4(a), the characters rt and rJ in the above English sentence are 16 dots, and the character riJ is 14 dots, so the total dot length e is r.
18X18-8-316 (dot).

次に上記ステップSt、S2の演算結果を用いて「ノー
ノe/和文文字数−8(商)」の計算を行ない、1行の
印字データ中の各和文文字に対する文字ピッチを求める
と共に、余りドツト数aを求める(ステップS3)。上
記1行の印字ドツト数ノは600ドツト、英文印字部分
のドツト長l!eは316ドツトであり、また、和文文
字は11文字であるので、和文1文字当りのドツト数S
は、r (Coo −318) /11−25・・・余
り9」となる。そして、余りドツト数aを上記1行の印
字データ中の各和文文字に対して割振りを行ない、RA
 M 11内の文字ピッチテーブルにセットする(ステ
ップS4)。上記余りドツト数aの割振りは、例えば行
の初めから順次1ドツトづつ割振るか、あるいはひらが
なよりも漢字を優先して割振りを行なう。今、余りドツ
ト数aを行の初めから割振るものとすれば、上記したよ
うに余りドツト数が「9」の場合、和文文字の先頭から
9文字目までが文字ピッチ「26ドツト」、最後の2文
字が「25ドツト」となる。上記のようにして決定した
和文及び英文の各文字に対する文字ピッチは、RAMI
I内の文字ピッチテーブルに書込まれる。
Next, using the calculation results of steps St and S2 above, calculate "no no e/number of Japanese characters - 8 (quotient)" to find the character pitch for each Japanese character in one line of print data, and calculate the number of remaining dots. Find a (step S3). The number of printed dots in one line above is 600 dots, and the dot length of the English printed part is l! Since e is 316 dots and there are 11 Japanese characters, the number of dots per Japanese character is S.
is r (Coo -318)/11-25...remainder 9. Then, the remaining number of dots a is allocated to each Japanese character in the above one line of print data, and the RA
Set in the character pitch table in M11 (step S4). The above-mentioned surplus dot number a is allocated, for example, one dot at a time from the beginning of the line, or by giving priority to kanji over hiragana. Now, if the number of remaining dots a is allocated from the beginning of the line, if the number of remaining dots is ``9'' as described above, the character pitch is ``26 dots'' from the beginning to the 9th character of the Japanese character, and the character pitch is ``26 dots'' at the end. The two characters become "25 dots". The character pitch for each character in Japanese and English characters determined as above is determined by RAMI.
Written to the character pitch table in I.

その後、上記文字ピッチテーブルの設定内容に従って上
記1行の印字データに対する文字パターンをプリンタイ
ンターフェイス24内のラインバッファ上に展開しくス
テップS5)、このラインバッファの保持データに従っ
て第4図(a)の■に示すように1行分の印刷を行なう
(ステップS6)。なお、同図(a)の■は、ステップ
S4において、余りドツト数aをひらがなよりも漢字を
優先して割振った場合の印字例を示したものである。
Thereafter, the character pattern for the one line of print data is developed on the line buffer in the printer interface 24 according to the setting contents of the character pitch table (step S5), and according to the data held in this line buffer, the character pattern shown in FIG. One line is printed as shown in (step S6). In addition, the symbol (■) in FIG. 3A shows an example of printing when, in step S4, the remaining number of dots a is allocated with priority given to kanji over hiragana.

次に第3図(b)に示す和英混在文書における1行目の
文 「近年のCompu t e r  の発達には目ざま
」を印字する場合について説明する。上記したように印
刷モードにおいて、1行印刷の実行を指示することによ
り、CPU1Oの制御の下に第2図のフローチャートに
示す印刷制御動作が開始される。
Next, a case will be described in which the first sentence in the Japanese-English mixed document shown in FIG. 3(b) is printed: ``The recent development of computers is alarming.'' As described above, in the print mode, by instructing execution of one line printing, the print control operation shown in the flowchart of FIG. 2 is started under the control of the CPU 1O.

まず、ステップS1により、上記の場合と同様にして1
行の印字ドツト数ノr30x20−600(ドツト)」
が求められる。次いで上記1行の印字データ中に混在し
ている英文を検出してそのドツト長ノθを演算により求
める(ステップS2)が、この場合の英文は第3図(b
)に示すように全角のrcomputerJで、その文
字数は8文字である。上記英文中のrt、rJの文字は
、横方向のドツト数が基本ドツト数18より2ドツト少
ないは16ドツトであるので、英文の合計ドツト長ノe
はr18X8−4−140 (ドツト)」となる。
First, in step S1, 1
Number of printed dots per line: r30x20-600 (dots)
is required. Next, the English text mixed in the above line of print data is detected and its dot length θ is calculated by calculation (step S2), but the English text in this case is as shown in FIG.
), the full-width rcomputerJ has 8 characters. The letters rt and rJ in the above English sentence have 16 dots, which is 2 dots less than the basic number of dots in the horizontal direction, so the total dot length of the English sentence is e.
is r18X8-4-140 (dot).

上記1行の印字ドツト数ノは600ドツト、英文印字部
分のドツト長、17eは140ドツトであり、また、和
文文字はスペースを含んで12文字であるので、ステッ
プS4の演算により、和文1文字当りのドツト数Sは、
r (600−140) /12−38・・・余り4」
が求められる。そして、ステップS5において余りドツ
ト数aを割振る場合、余りドツト数aを行の初めから割
振るものとすれば、上記したように余りドツト数が「4
」の場合、和文文字の先頭から4文字目までが文字ピッ
チ「39ドツト」、他の文字が「38ドツト」となる。
The number of printed dots in one line is 600 dots, the dot length of the English printed part, 17e, is 140 dots, and the number of Japanese characters is 12 including spaces, so by the calculation in step S4, one Japanese character is The number of dots S to hit is
r (600-140) /12-38...remainder 4"
is required. When the number of remaining dots a is allocated in step S5, if the number of remaining dots a is allocated from the beginning of the row, the number of remaining dots is ``4'' as described above.
'', the character pitch is ``39 dots'' for the first four characters of the Japanese characters, and ``38 dots'' for the other characters.

上記のようにして決定した和文及び英文の各文字に対す
る文字ピッチは、RAMII内の文字ピッチテーブルに
書込まれる。
The character pitch for each character in Japanese and English characters determined as described above is written to the character pitch table in RAMII.

その後、上記文字ピッチテーブルの設定内容に従って上
記1行の印字データに対する文字パターンをRA M 
II内のラインバッファ上に展開しくステップS5)、
このラインバッファの保持データに従って第4図(b)
に示すように1行分の印刷を行なう(ステップS6)。
After that, the character pattern for the one line of print data is created in RAM according to the settings of the character pitch table.
Expand it on the line buffer in II (step S5),
According to the data held in this line buffer, FIG. 4(b)
One line is printed as shown in (step S6).

なお、上記実施例では、1行印字を行なう場合にもいて
説明したが、複数行を印字する場合においても、上記実
施例と同様にして実施し得るものである。
In the above embodiment, the case where one line printing is performed is also explained, but even when printing a plurality of lines, it can be carried out in the same manner as in the above embodiment.

[発明の効果] 以上詳記したように本発明によれば、和文文字フォント
及び英文文字フォントを備えた文書作成装置に於いて、
和文及び英文が混在する1行分の印字データに対して基
本文字ピッチから1行の印字共を計算すると共に、上記
1行の文字列の中から英文フォントで印字する文字の印
字共を計算し、更に上記1行分の印字共及び英文フォン
トの印字共から1行中の残りの和文フォントの印字エリ
アを求めて、この和文フォントの印字エリアに和文文字
を均等に割振るようにしたので、和文と英文の混在を可
能にすると共に混在時の印字バランスを良好なものにで
き、行の右端を揃えることができる。
[Effects of the Invention] As detailed above, according to the present invention, in a document creation device equipped with a Japanese character font and an English character font,
Calculate the printing of one line from the basic character pitch for one line of print data containing a mixture of Japanese and English text, and also calculate the printing of characters to be printed in English font from the character string of the above one line. , Furthermore, the remaining Japanese font printing area in one line was determined from both the printing of one line and the printing of the English font, and the Japanese characters were evenly allocated to the printing area of this Japanese font. This makes it possible to mix Japanese and English texts, and also to achieve good printing balance when they are mixed, and to align the right ends of lines.

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

第1図は本発明の実施例に係る文書作成装置の構成を示
すブロック図、第2図は上記実施例による和英混在文書
の印刷制御動作を示すフローチャート、第3図(a)、
(b)及び第4図(a)。 (b)は上記実施例の動作を説明するための文書表示例
及び印字例を示す図である。 10・・・マイクロプロセッサ(CPU)、11・・・
RAM、12・・・ROM、13・・・プログラム領域
、14・・・文字パターン領域、■5・・・辞書領域、
16・・・キーボード(KB)、17・・・キーボード
インターフェイス(KB−I F) 、1g・・・表示
器、19・・・表示コントローラ(表示−CNT)、2
0・・・表示用RAM、21・・・フロッピィディスク
装置(FDD)、22・・・ディスフィンターフェイス
(FDD−I F) 、23・・・プリンタ(PRT)
、24・・・プリンタインターフェイス(PRT−IF
)。 出願人代理人 弁理士 鈴 江 武 彦第1図
FIG. 1 is a block diagram showing the configuration of a document creation device according to an embodiment of the present invention, FIG. 2 is a flowchart showing a print control operation for a mixed Japanese and English document according to the above embodiment, and FIG.
(b) and FIG. 4(a). (b) is a diagram showing a document display example and a printing example for explaining the operation of the above embodiment. 10...Microprocessor (CPU), 11...
RAM, 12... ROM, 13... Program area, 14... Character pattern area, ■5... Dictionary area,
16... Keyboard (KB), 17... Keyboard interface (KB-IF), 1g... Display device, 19... Display controller (display-CNT), 2
0... Display RAM, 21... Floppy disk device (FDD), 22... Disfiner interface (FDD-IF), 23... Printer (PRT)
, 24...Printer interface (PRT-IF
). Applicant's agent Patent attorney Takehiko Suzue Figure 1

Claims (4)

【特許請求の範囲】[Claims] (1)和文文字フォント及び英文文字フォントを備えた
文書作成装置に於いて、印字する1行分の文字データに
対してその印字長を演算により求める第1の演算手段と
、上記1行の文字列の中から英文フォントで印字する文
字を検出する英文フォント検出手段と、この手段により
検出した英文フォントによる印字長を演算により求める
第2の演算手段と、上記第1及び第2の演算手段の演算
結果から1行中の残りの和文フォントの印字エリアに和
文文字を均等に割振る割振り手段とを具備したことを特
徴とする文書作成装置。
(1) In a document creation device equipped with a Japanese character font and an English character font, a first calculation means for calculating the print length of one line of character data to be printed; and English font detection means for detecting characters to be printed in an English font from among the columns; second calculation means for calculating the print length of the English font detected by the means; and the first and second calculation means. 1. A document creation device comprising: allocation means for evenly allocating Japanese characters to the remaining Japanese font printing areas in one line based on a calculation result.
(2)上記割振り手段において、余りのドット数が生じ
た際は、余りのドット数を行の初めから和文文字の文字
ピッチに順次割振ることを特徴とする特許請求の範囲第
1項記載の文書作成装置。
(2) In the above allocation means, when a surplus number of dots is generated, the surplus number of dots is sequentially allocated to the character pitch of Japanese characters from the beginning of the line. Document production device.
(3)上記割振り手段において、均等分割時に余りのド
ット数が生じた際は、余りのドット数を和文文字のひら
がなよりも漢字を優先して割振ることを特徴とする特許
請求の範囲第1項記載の文書作成装置。
(3) In the above-mentioned allocation means, when a surplus number of dots is generated during equal division, the surplus number of dots is allocated to kanji characters with priority given to kanji characters over hiragana Japanese characters. Document production device described in Section 1.
(4)上記英文フォント検出手段は、英字であれば半角
文字、全角文字の何れであっても英文フォントとして判
定することを特徴とする特許請求の範囲第1項記載の文
書作成装置。
(4) The document creation device according to claim 1, wherein the English font detection means determines whether an English character is a half-width character or a full-width character as an English font.
JP62318782A 1987-12-18 1987-12-18 Document preparation device Pending JPH01160653A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62318782A JPH01160653A (en) 1987-12-18 1987-12-18 Document preparation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62318782A JPH01160653A (en) 1987-12-18 1987-12-18 Document preparation device

Publications (1)

Publication Number Publication Date
JPH01160653A true JPH01160653A (en) 1989-06-23

Family

ID=18102883

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62318782A Pending JPH01160653A (en) 1987-12-18 1987-12-18 Document preparation device

Country Status (1)

Country Link
JP (1) JPH01160653A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0695649A (en) * 1993-05-25 1994-04-08 Canon Inc Output device and output method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0695649A (en) * 1993-05-25 1994-04-08 Canon Inc Output device and output method
JPH081552B2 (en) * 1993-05-25 1996-01-10 キヤノン株式会社 Output device and output method

Similar Documents

Publication Publication Date Title
JPH01160653A (en) Document preparation device
JPH01217540A (en) Document preparing device
JPH0522933B2 (en)
JPH03282881A (en) Document preparation device
JP3375781B2 (en) Document processing device with line-by-line editing function
JPH0330049A (en) Document generation device
JPH0280270A (en) Document preparation device
JP2610405B2 (en) Document creation device
JP2837497B2 (en) Output control device and output control method
JP3077777B2 (en) Document processing device
JP2635602B2 (en) Document creation device
JPH01247187A (en) Printing control device
JPH01215568A (en) Word processor
JPH01231088A (en) Calligraphic style selecting picture displaying system
JPH01231089A (en) Document producing device
JPS62293465A (en) Word processor
JPH04118771A (en) Document preparing device
JPH02300922A (en) Document preparing device
JPS62149460A (en) Character processor
JPH04353478A (en) Reduction print controller
JPH02256093A (en) System for forming information on character font pitch
JPH01229650A (en) Control method in alphabetic printing
JPS62286160A (en) Word processor
JPH0244458A (en) Character processor
JPH0850585A (en) Display controller of document preparation device and display control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Effective date: 20040511

Free format text: JAPANESE INTERMEDIATE CODE: A621

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050823

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051011

A761 Written withdrawal of application

Effective date: 20051207

Free format text: JAPANESE INTERMEDIATE CODE: A761