JPS63285587A - Character processor - Google Patents
Character processorInfo
- Publication number
- JPS63285587A JPS63285587A JP62120645A JP12064587A JPS63285587A JP S63285587 A JPS63285587 A JP S63285587A JP 62120645 A JP62120645 A JP 62120645A JP 12064587 A JP12064587 A JP 12064587A JP S63285587 A JPS63285587 A JP S63285587A
- Authority
- JP
- Japan
- Prior art keywords
- character
- display
- enlargement
- line
- enlarged
- 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
Links
Landscapes
- Document Processing Apparatus (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
艮亙九夏
この発明は、ワードプロセッサ等の各種文字処理装置に
関し、特にその入力した文字の拡大表示技術に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to various character processing devices such as word processors, and more particularly to technology for enlarging and displaying input characters.
良未扶宜
従来、ワードプロセッサ等において文字の拡大等を行な
うためには、4倍角2倍角等予め無理なく決められた倍
率に文字を拡大・表示する方法と、近来ポータプルワー
ドプロセッサにて行なわれているように、縦、横をnX
m倍に任意に拡大する拡大サイズを指定する方法等が採
られていた。Conventionally, in order to enlarge characters in word processors, etc., there have been two methods: enlarging and displaying the characters to a reasonably predetermined magnification such as 4x x 2x x 2x, and a method that has recently been used in portable word processors. So, vertical and horizontal are nX
A method of specifying an enlargement size to arbitrarily enlarge the image by m times has been adopted.
4倍角2倍角など1文字車位に指定する機能については
、その拡大の大きさを2倍とし、これを固定にすること
によって表示及び印刷の処理を軽減し、処理スピードや
機械コストを抑える方法が採られて来た。For functions that specify one character position, such as quadruple-width and double-width, the magnification size is doubled and fixed, thereby reducing display and printing processing and reducing processing speed and machine costs. It has been taken.
また、縦、横の拡大がnXm倍の任意の拡大サイズに指
定する場合は行単位に指定し、これを印刷指示の際に、
指定のnXm倍の処理が一連の処理の中ですべて同様に
行なわれるようにすることにより、処理の軽減を計って
いた。Also, if you want to specify an arbitrary enlarged size of nXm times the vertical and horizontal enlargement, specify it in line units, and when giving a print instruction,
The amount of processing is reduced by ensuring that all of the specified nXm times the processing is performed in the same way in a series of processings.
したがって、第20図に示すように任意の拡大サイズに
指定をした文字を含む行に対して文字を入力する場合に
も、文字入力は拡大後の文字の大きさを考慮していない
ため通常行と同じ文字数の文字を入力できるので、第2
1図に示すように印刷時に拡大した文字が用紙幅を越え
て欠落してしまうことかあった。Therefore, as shown in Figure 20, even when inputting characters to a line that includes characters specified as an arbitrary enlarged size, character input does not take into account the size of the enlarged characters, so the normal line Since you can enter the same number of characters as the second
As shown in Figure 1, when printing, enlarged characters sometimes exceeded the width of the paper and were omitted.
そのため、文書作成編集時には拡大印刷結果を考慮しな
がら文字を入力しなければならず、非常に操作性が悪い
という問題点があった。Therefore, when creating and editing a document, characters must be input while taking into account the result of enlarged printing, resulting in a problem of very poor operability.
亘−血
この発明は、上記の点に鑑みてなされたものであり、文
書作成の多様性と操作性を向上させることを目的する。This invention has been made in view of the above points, and aims to improve the versatility and operability of document creation.
盪−弐
この発明は、上記の目的を達成するために、少なくとも
入力装置と表示装置とを備え、入力装置より入力された
文字等を表示装置に表示して編集・校正が行なえる文字
処理装置において、入力装置からの指示により表示装置
に表示した文字等を各文字毎に任意の倍率で拡大指示す
る手段と、その手段により拡大指示された文字を表示装
置の画面上にその倍率で拡大表示する手段とを有するも
のである。(ii) In order to achieve the above object, the present invention provides a character processing device that is equipped with at least an input device and a display device, and can edit and proofread characters inputted from the input device by displaying them on the display device. means for instructing to enlarge each character, etc., displayed on a display device by an arbitrary magnification based on an instruction from an input device, and displaying the enlarged characters, which are instructed to be enlarged by the means, on the screen of the display device at that magnification. It has the means to do so.
以下、この発明の一実施例に基づいて具体的に説明する
。Hereinafter, a detailed explanation will be given based on one embodiment of the present invention.
第2図は、こ、の発明を実施した文字処理装置、例えば
パーソナルワードプロセッサの外観図である。FIG. 2 is an external view of a character processing device, such as a personal word processor, embodying this invention.
このパーソナルワードプロセッサは、キーボードによる
入力装置1と、液晶ディスプレイ装置(LCD)による
表示装置2と、サーマルプリンタによる印刷装置3と、
該部記憶装置としてのフロッピーディスク装置4とを備
えている。This personal word processor includes an input device 1 using a keyboard, a display device 2 using a liquid crystal display (LCD), and a printing device 3 using a thermal printer.
This section is equipped with a floppy disk device 4 as a storage device.
そのキーボード1には1文字を入力する文字キー、かな
漢字変換を指示する変換キー、文字キーで入力する文字
を切り換えるシフトキー、改行キー等を含むキ一群10
と、文字キーとの組合せで各種機能を指示する機能指示
キー11と、各種処理の実行を指示する実行キー12と
、プリントを指示するプリントキー13と、液晶ディス
プレイ装置2のカーソル及びプリンタ3の印字ヘッドの
移動を指示するカーソル移動キ一群14と、各種のモー
ド設定キ一群15及び位置補正キー16等を備えている
。The keyboard 1 has a group of 10 keys, including a character key for inputting a single character, a conversion key for instructing kana-kanji conversion, a shift key for switching characters input with the character keys, a line feed key, etc.
and a function instruction key 11 that instructs various functions in combination with character keys, an execution key 12 that instructs execution of various processes, a print key 13 that instructs printing, and a cursor of the liquid crystal display device 2 and a function instruction key 11 of the printer 3. It includes a group of cursor movement keys 14 for instructing the movement of the print head, a group of various mode setting keys 15, a position correction key 16, and the like.
なお、ここでは機能指示キー11と予め定め、た文字キ
ーとの組合せによって文字の拡大指定をした後、横拡大
倍率及び縦拡大倍率を入力するものとする。Here, it is assumed that after specifying the enlargement of a character by a combination of the function instruction key 11 and a predetermined character key, the horizontal enlargement magnification and the vertical enlargement magnification are input.
また、液晶ディスプレイ装置(LCD)2は、入力され
たかな漢字変換後の文字、ケイ線等を表示する編集エリ
アと、左端・右端、タブ位置等の行に関する情報(行情
報)を表示する行情報表示エリアと、桁数又は文字数等
の情報を表示するスケール表示エリアと、キー人力文字
、候補漢字。In addition, the liquid crystal display device (LCD) 2 has an editing area that displays inputted characters after conversion into kana-kanji characters, C lines, etc., and line information that displays information about lines (line information) such as left end, right end, tab position, etc. A display area, a scale display area that displays information such as the number of digits or characters, and key human characters and candidate kanji.
入力モード、カーソルの現在位置(頁2行2桁)。Input mode, current cursor position (page 2 lines, 2 columns).
用紙サイズ、最大文字数、全/半角、印刷条件(文字間
隔2行間隔、印刷モード、縦/横書)等のガイダンスを
表示するガイダンス表示エリアと、現編集中の文書の1
頁内の文字又はケイ線等のフォーマットを縮小したレイ
アウト及び外字作成時の作成パターン等を表示するレイ
アウト表示エリアとを有する。A guidance display area that displays guidance such as paper size, maximum number of characters, full-width/half-width, printing conditions (character spacing, two-line spacing, print mode, vertical/horizontal writing), and one of the documents currently being edited.
It has a layout displaying a reduced format of characters or lines on the page, and a layout display area that displays patterns created when creating external characters.
第3図は、このパーソナルワードプロセッサの制御部の
一例を示すブロック図である。FIG. 3 is a block diagram showing an example of a control section of this personal word processor.
この制御部20のマイクロコンピュータ(以下「マイコ
ン」と称す」)21は、CPU、ROM。A microcomputer (hereinafter referred to as "microcomputer") 21 of this control unit 20 includes a CPU and a ROM.
RAM及び工/○等からなり、文書作成編集2表示制御
、印刷制御2文字拡大制御等この装置全体の制御を司る
。It consists of a RAM, an E/O, etc., and controls the entire device, such as document creation/editing 2 display control, print control 2 character enlargement control, etc.
ROM22には、この装置の制御に必要な制御プログラ
ム、標準的な書式(用紙サイズ、用紙方向2文字ピッチ
、行ピッチ)情報2文字コード等の各種の固定情報を格
納している。The ROM 22 stores various fixed information such as a control program necessary for controlling this apparatus, standard format (paper size, two-character pitch in paper direction, line pitch) information, two-character code, and the like.
RAM2”5は、キーボード1から入力されるデータを
格納する入力バッファエリア、入力された文字データを
格納するテキスト格納エリア、後述するFDD4から読
み込んだ文字パターンを格納するキャラクタジェネレー
タエリア、設定書式情報及び行情報等を格納するエリア
等を含む各種のデータを格納するデータエリア及びプロ
グラム実行のためのワーキングエリアとして使用する。The RAM 2"5 has an input buffer area for storing data input from the keyboard 1, a text storage area for storing input character data, a character generator area for storing character patterns read from the FDD 4 (described later), setting format information, and It is used as a data area for storing various data, including an area for storing line information, etc., and a working area for program execution.
辞書メモリ24は、かな漢字変換に必要な辞書を格納し
た辞書エリアと、予め定めた書体例えばゴシック体ある
いは明朝体の文字の文字パターンを格納した文字パター
ン格納エリア(キャラクタジェネレータ)とによって構
成される。The dictionary memory 24 is composed of a dictionary area that stores dictionaries necessary for kana-kanji conversion, and a character pattern storage area (character generator) that stores character patterns of characters in a predetermined typeface, such as Gothic or Mincho. .
キーボードコントローラ25は、キーボード1からの入
力データの判別やキーに付設した図示しないLEDの点
灯制御データの転送等を司り、LCDコントローラ26
は内部にビデオメモリ(VRAM)等を備えて液晶ディ
スプレイ装置2の表示制御を司り、フロッピディスクコ
ントローラ(FDC)27はFDD4の制御を司る。The keyboard controller 25 is in charge of determining input data from the keyboard 1 and transferring lighting control data for LEDs (not shown) attached to keys, etc.
is internally equipped with a video memory (VRAM), etc., and controls the display of the liquid crystal display device 2, and a floppy disk controller (FDC) 27 controls the FDD 4.
なお、FDD4に装填されるフロッピディスクには予め
定めた書式例えば明朝体の文字の文字パターンを格納し
たフロッピディスク、ゴシック体の文字パターンを格納
したフロッピディスク等がある。The floppy disk loaded in the FDD 4 has a predetermined format, such as a floppy disk storing character patterns of Mincho characters, a floppy disk storing character patterns of Gothic characters, and the like.
そして、プリンタ3の制御を司るマイコン21は、l1
028に印字文字に応じたヘッドドライブデータを出力
して、ドライバ2日を介してサーマルヘッド(印字ヘッ
ド)30の各発熱素子を駆動制御して所要の文字を印字
する。The microcomputer 21 that controls the printer 3 is l1
At 028, head drive data corresponding to the characters to be printed is outputted, and each heating element of the thermal head (print head) 30 is driven and controlled via the driver 2 to print the desired characters.
また、マイコン21は、I 1028にスペースドライ
ブデータを出力してドライバ31を介してスペースモー
タ32を駆動制御してキャリッジ33を移動し、またラ
インフィードドライブデータを出力してドライバ34を
介してラインフィードモータ35を駆動制御してプラテ
ン36を回動し、更にリボンフィードドライブデータを
出力してドライバ37を介してリボイフイードモータ3
8を駆動制御してリボン3日を移動させる。The microcomputer 21 also outputs space drive data to the I 1028 to drive and control the space motor 32 via the driver 31 to move the carriage 33, and also outputs line feed drive data to drive the space motor 32 via the driver 34 to move the carriage 33. The feed motor 35 is driven and controlled to rotate the platen 36, and ribbon feed drive data is outputted and sent to the ribbon feed motor 3 via the driver 37.
8 is driven and controlled to move the ribbon 3.
第1図はこの制御部内の文字拡大表示制御に係る部分を
機能的に示すブロック図である。FIG. 1 is a block diagram functionally showing a portion of this control unit related to character enlargement display control.
この制御部内の文字拡大表示制御に係る部分は入力装置
1と表示装置2の間に、入力制御部25゜文字編集部4
02表示行展開部41.書式フォーマット情報部42.
テキストバッファ部432表示中テキスト情報部44.
拡大指定制御部45゜拡大サイズ指定部4B、拡大サイ
ズ部47.カーソル制御部48.ケイ線バッファ部49
.キャラクタジェネレータ(CG)50.拡大切出し部
51、位置補正指定部52.テキスト拡大位置補正更新
部53及び表示制御部2Bにより構成されている。The part related to character enlargement display control in this control unit is located between the input device 1 and the display device 2.
02 display line expansion section 41. Format format information section 42.
Text buffer section 432 Displaying text information section 44.
Enlargement specification control section 45° enlargement size specification section 4B, enlargement size section 47. Cursor control unit 48. Key line buffer section 49
.. Character generator (CG) 50. Enlargement cutting section 51, position correction specifying section 52. It is composed of a text enlargement position correction/update section 53 and a display control section 2B.
入力装置1はキーボードであり、前述したように文字、
ケイ線、カーソル移動2文字拡大等の各種キーデータを
入力する。The input device 1 is a keyboard, and as mentioned above, characters,
Input various key data such as line, cursor movement, 2 character enlargement, etc.
入力制御部25は、入力装置1より入力された各種キー
データを判別し、その判別結果にしたがって夫々の機能
部にこのデータをに転送する。The input control section 25 discriminates various key data input from the input device 1, and transfers this data to each functional section according to the discrimination result.
文字編集部40は、入力装置、1から入力されたキーデ
ータが文字データであると入力制御部25が認識した場
合は、入力制御部25からこの文字データを受は取って
文字の編集を行なう。When the input control unit 25 recognizes that the key data input from the input device 1 is character data, the character editing unit 40 receives this character data from the input control unit 25 and edits the character. .
表示行展開部41は、テキストバッファ部43や書式フ
ォーマット情報部42より順次データを取り出し1表示
中テキスト情報を作成しながら。The display line expansion unit 41 sequentially extracts data from the text buffer unit 43 and format information unit 42 and creates text information during one display.
1行分の文字の横方向の配置を決定する。Determines the horizontal arrangement of characters for one line.
書式フォーマット情報部42は、書式に関するフォーマ
ット情報を格納し、これを表示行展開部に出力する。The format information section 42 stores format information regarding formats, and outputs this to the display line development section.
テキストバッファ部43は、通常の文字コードと拡大指
定時の文字コード及び、中央揃え、下揃え拡大指定時の
文字コードを第8図、第9図及び第10図に示すような
内容にして、一時的にこれらのデータを格納している。The text buffer section 43 sets the normal character code, the character code when specifying enlargement, and the character code when specifying center alignment and bottom alignment enlargement as shown in FIGS. 8, 9, and 10. This data is temporarily stored.
表示中テキスト情報部44は、表示行展開部41で決定
した文字の横方向の配置を1行分について、第11図に
示すように通常文字1文字分の大きさを物理行として、
最大縦拡大サイズを算出しこれをこの行の論理行として
、拡大サイズテーブル、表示情報テーブルを作成して表
示行展開部41に出力する。The currently displayed text information section 44 converts the horizontal arrangement of characters determined by the display line development section 41 into a physical line with the size of one normal character as shown in FIG. 11 for one line.
The maximum vertical enlargement size is calculated and this is used as a logical line for this line, an enlarged size table and a display information table are created and output to the display line development section 41.
拡大指定制御部45は、入力装置1より拡大が指示され
た時は、カーソル制御部48のカーソル情報と、拡大サ
イズ格納エリア47の拡大サイズを表示行展開部41に
表示変更として出力する。When enlargement is instructed by the input device 1, the enlargement specification control section 45 outputs the cursor information of the cursor control section 48 and the enlarged size of the enlarged size storage area 47 to the display line development section 41 as a display change.
またテキストバッファ43にも拡大サイズ格納エリア4
7の拡大サイズを出力する。The enlarged size storage area 4 is also used in the text buffer 43.
Output the enlarged size of 7.
拡大サイズ指定部4Bは、入力装置1より拡大サイズの
変更の入力があると、入力制御部25よりこの拡大サイ
ズデータを受取り、これを拡大サイズ格納エリア47に
転送すると共に、これを表示装置2にメツセージ表示を
するため表示制御部2Bに出力する。When the enlarged size specifying section 4B receives an input to change the enlarged size from the input device 1, it receives this enlarged size data from the input control section 25, transfers it to the enlarged size storage area 47, and also transfers it to the display device 2. The message is output to the display control section 2B for displaying the message.
拡大サイズ格納エリア47は、拡大サイズ指定部46よ
り拡大サイズの指定データを受け、この拡大サイズを格
納すると共に、拡大指定制御部45に拡大サイズを出力
する。The enlarged size storage area 47 receives enlarged size specification data from the enlarged size specification section 46, stores this enlarged size, and outputs the enlarged size to the enlarged specification control section 45.
カーソル制御部48は、カーソル情報を入力制御部25
より入力し、これを文字編集部40や表示行展開部41
.拡大指定制御部45及び表示制御部26に出力する。The cursor control unit 48 inputs cursor information to the input control unit 25.
, and input this into the character editing section 40 and display line expansion section 41.
.. It is output to the enlargement designation control section 45 and the display control section 26.
ケイ線バッファ部4日はケイ線に関するデータを一時格
納し、必要に応じてこれを表示行展開部41に出力する
。The line buffer section 4 temporarily stores data related to the line and outputs it to the display line development section 41 as required.
キャラクタジェネレータ(CG)50は、文字フォント
データを格納し、このフォントデータを拡大切出し部に
出力する。A character generator (CG) 50 stores character font data and outputs this font data to an enlarged cutout section.
拡大切出し部51は、表示行展開部41より受は取った
文字コード及び表示中テキスト情報部44の拡大サイズ
テーブルや表示情報テーブル等の情報を表示行展開部4
1を経由して入力し、キャラクタジェネレータ(CG)
50から文字フォントデータを探索してこれを取り出し
、これらの情報を基に拡大文字の切出しを行ない、それ
ぞれの拡大サイズにより拡大処理を行なう。そして、こ
のデータを表示フォントデータとして表示制御部26を
通して表示袋!!!2に表示させる。The enlarged cutout section 51 transfers information such as the character code received from the display line development section 41 and the enlarged size table and display information table of the displayed text information section 44 to the display line development section 4.
Input via 1 and character generator (CG)
Character font data is searched and extracted from 50, enlarged characters are cut out based on this information, and enlargement processing is performed according to each enlarged size. Then, this data is passed through the display control unit 26 as display font data to the display bag! ! ! Display on 2.
位置補正指定部52は、入力装置1より位置補正のキー
人力があると、入力制御部25よりこれを受取り、第1
6図に示すようなメツセージ表示の指示を表示制御部2
6にする。そして、更にテキスト拡大位置補正更新部5
3にもこの情報を出力する。When there is a key force for position correction from the input device 1, the position correction designation unit 52 receives this from the input control unit 25, and
Display control unit 2 instructs to display a message as shown in Figure 6.
Make it 6. Further, the text enlargement position correction update unit 5
This information is also output to 3.
テキスト拡大位置補正更新部53は、入力した拡大位置
補正データをテキストバッファ部43及び表示行展開部
41に出力する。The text enlargement position correction update section 53 outputs the input enlargement position correction data to the text buffer section 43 and the display line expansion section 41.
次に、このように構成されたこの実施例の作用である文
字単位毎の拡大文字の指定及びその表示方法を、第4図
以降の各図によって説明する。Next, the designation of enlarged characters for each character unit and its display method, which are the effects of this embodiment configured as described above, will be explained with reference to FIG. 4 and subsequent figures.
第4図は、異なった拡大サイズの文字が混在する場合の
行の考え方である。FIG. 4 shows the concept of lines when characters of different enlarged sizes coexist.
この場合は、1行中に存在する文字の中で最も縦拡大サ
イズの大きな文字nmaXを検出し、これをこの行の拡
大サイズとする。そして、他の文字はこの行内に含まれ
ていると見なしてこれを処理する。In this case, the character nmaX with the largest vertical enlargement size among the characters existing in one line is detected, and this is set as the enlarged size of this line. Other characters are treated as if they are contained within this line.
さらに次の行は1図に示すように「1行分の行間Xnm
ax倍」下がった位置となる。このようにして行を形成
すれば1文字のサイズによっては行と行の間が大きくあ
く部分が生じる可能性があるが、連続した文字列を文字
の大きさによって配置すると、行の境界が不定となり文
字列の連続性も判別しにくくなるため、このような処理
方法の方が操作性も向上する。Furthermore, as shown in Figure 1, the next line is
The position will be "x times ax" lower. If lines are formed in this way, there may be large gaps between lines depending on the size of one character, but if consecutive character strings are arranged depending on the size of the characters, the line boundaries will be undefined. This makes it difficult to determine the continuity of character strings, so this processing method also improves operability.
また、文字列の連続性もくずれないため、文字の探索や
認識などの処理において、比較的容易に処理できる利点
もある。Furthermore, since the continuity of character strings is not disrupted, there is an advantage that processing such as character search and recognition can be performed relatively easily.
次に、第5図により行の変更について説明する。Next, row changes will be explained with reference to FIG.
第4図に示した文字列中の最大サイズn waxの文字
aを削除して、例えば第5図に示すように、1行中の文
字の最大拡大サイズかに変更になった場合には、再度縦
拡大サイズの最大文字を検出し、この行の縦拡大サイズ
の認識を変更する。したがって、第5図の例では行の拡
大サイズはn、に変更される。If you delete the character a of maximum size n wax in the character string shown in Figure 4 and change the maximum enlarged size of characters in one line, as shown in Figure 5, for example, The maximum character of the vertical enlargement size is detected again, and the recognition of the vertical enlargement size of this line is changed. Therefore, in the example of FIG. 5, the enlarged size of the row is changed to n.
また、第4図及び第5図に示すように最大拡大サイズよ
り小さな拡大サイズの文字は、その行の上辺を一致させ
て揃える。Further, as shown in FIGS. 4 and 5, characters whose enlarged size is smaller than the maximum enlarged size are aligned by matching the upper sides of the lines.
ここで、後述する第6図の下揃え及び第7図の中央揃え
の行を上揃えに変更したときは、第15図のフローチャ
ートにおける上揃えのルーチンに示すように、行内の文
字の補正値を全て削除し、テキストバッファ43も更新
される。Here, when changing the bottom alignment in Figure 6 and the center alignment in Figure 7, which will be described later, to the top alignment, as shown in the top alignment routine in the flowchart in Figure 15, the correction value of the characters in the line is changed. , and the text buffer 43 is also updated.
また、この行と次の行との行間は、上述したように通常
文字の1行分の行間にこの行の最大文字の倍率を掛けた
行間となる。Moreover, the line spacing between this line and the next line is, as described above, the line spacing equal to the line spacing of one line of normal characters multiplied by the magnification of the maximum character on this line.
したがって、第4図のn wax倍から第5図ではn8
倍に変更する。Therefore, from n wax times in Figure 4 to n8 in Figure 5
Change to double.
次に、第6図によって行の下揃えについて説明する。Next, bottom alignment of lines will be explained with reference to FIG.
拡大文字の入った行で下辺に揃える時には、第6図及び
第15図のフローチャートにおける下揃えのルーチンに
示す様に、縦最大拡大サイズの文字をこの行の拡大サイ
ズとし、それより小さな拡大文字については1図中の斜
線部分(行内文字の拡大サイズと最大拡大サイズとの差
)を補正値といて挿入することにより、あたかも拡大文
字が斜線部分まであるかのようにする考え方で処理する
。When aligning enlarged characters to the bottom of a line, as shown in the bottom alignment routine in the flowcharts of Figures 6 and 15, the character with the maximum vertical enlargement size is set to the enlarged size of this line, and smaller enlarged characters , the diagonal line part (difference between the enlarged size of the in-line character and the maximum enlarged size) in Figure 1 is inserted as a correction value, so that processing is performed as if the enlarged characters were up to the shaded part.
この際の、一時的な拡大サイズは文字表示位置を検出す
るためであり、実際の文字フォントの拡大には無関係で
ある。The temporary enlargement size at this time is for detecting the character display position, and is unrelated to the actual enlargement of the character font.
第7図は行の中央に揃える場合である。これを第15図
のフローチャートにおける中央揃えのルーチンも参照し
て説明する。FIG. 7 shows the case where the lines are aligned to the center of the row. This will be explained with reference to the center alignment routine in the flowchart of FIG.
この場合も、第6図の下揃えの場合と同様に一時的な拡
大サイズによる補正の考え方を利用して、行内の各文字
が行の中心に配置されるようにする。In this case, as in the case of bottom alignment in FIG. 6, each character in a line is arranged at the center of the line using the concept of correction based on a temporary enlarged size.
この場合の一時的な拡大サイズ、すなわち補正値の計算
方法は、
(最大拡大サイズ−行内の文字の拡大サイズ)/2とな
る。なおここで、拡大サイズは縦拡大サイズである。ま
た上式において、余りは切上げても切捨ててもよい。In this case, the calculation method for the temporary enlargement size, that is, the correction value, is (maximum enlargement size - enlargement size of characters in the line)/2. Note that here, the enlarged size is the vertical enlarged size. In the above formula, the remainder may be rounded up or down.
なお、上述の拡大位置補正を入力装置1の位置補正キー
により指示した場合、表示装置2の両面に第16に示す
ようなメツセージが表示される。Note that when the above-mentioned enlargement position correction is instructed by the position correction key of the input device 1, a message as shown in No. 16 is displayed on both sides of the display device 2.
したがって、このメツセージ表示から「1」を選択すれ
ば上揃えとなり、「2」を選択すれば下揃え、「3」を
選択すれば中揃えに変更される。Therefore, selecting "1" from this message display will change to top alignment, selecting "2" will change to bottom alignment, and selecting "3" will change to center alignment.
次に、第11図により拡大表示方法について説明する。Next, the enlarged display method will be explained with reference to FIG.
第11図に示すように6×6倍のraJの文字と、2×
2倍の「b」の文字があった場合、縦1倍の物理的な行
に各文字をスライスし、各々の文字に対してその拡大サ
イズから同図(ロ)に示すような切出し位置の表示情報
テーブルを作成する。As shown in Figure 11, the letters raJ are multiplied by 6x6, and
If there is a double "b" character, slice each character into 1x vertical physical lines, and calculate the cutting position for each character from its enlarged size as shown in the same figure (b). Create a display information table.
この切出し位置の算出に当っては1文字の拡大サイズの
他に先の補正用の拡大サイズ(補正値)も使用する。In calculating this cutting position, in addition to the enlarged size of one character, the enlarged size (correction value) for the previous correction is also used.
この「b」の文字の場合は、下揃えで拡大サイズ2X2
であるが、補正は上から1.2,3.4までなので補正
値「4」とセットされている。したがって、物理的な行
のスライスのうち上4行分については切出しを行なわな
いようにテーブルにセットする。In the case of this character “b”, enlarge the size 2×2 with bottom alignment.
However, since the correction ranges from the top to 1.2 and 3.4, the correction value is set to "4". Therefore, the table is set so that the top four rows of the physical row slices are not cut out.
そして、表示に際しては、これらのテーブルと文字の拡
大サイズによって拡大処理を行ったフォントデータを、
表示する物理行のNo(番号)に沿ったテーブルの値に
より切出して表示を行なう。Then, when displaying, the font data that has been enlarged based on these tables and the enlarged character size is
The data is extracted and displayed according to the table value corresponding to the number of the physical row to be displayed.
次に、第12図及び第13i図のフローチャートも参照
して拡大サイズ指定の方法を説明する。Next, the method of specifying the enlargement size will be explained with reference to the flowcharts of FIGS. 12 and 13i.
入力装置1より拡大サイズの変更の入力があった場合は
、第1図の入力制御部25を経て、拡大サイズ指定部4
6に指示が転送される。拡大サイズ指定部4日では第1
2図に示すようなメツセージを表示制御部26を通して
表示装置2に表示させる。When there is an input to change the enlargement size from the input device 1, the input is sent to the enlargement size specifying section 4 via the input control section 25 shown in FIG.
The instructions are transferred to 6. Expanded size specification section 1st on the 4th
A message as shown in FIG. 2 is displayed on the display device 2 through the display control section 26.
この表示には、以前の拡大サイズが表示されている。そ
して拡大サイズの入力を受は付ける。入力された新しい
拡大サイズは、これが最大サイズかチェックされ、拡大
サイズ格納エリア47に格納して処理を終了する。This display shows the previous enlarged size. Then, input of the enlarged size is accepted. The input new enlarged size is checked to see if it is the maximum size, is stored in the enlarged size storage area 47, and the process ends.
第14図のフローチャートにより拡大指定の方法を説明
する。The method of specifying enlargement will be explained with reference to the flowchart of FIG.
文字の拡大指示が入力装置1よりあった場合、拡大指定
制御部45に指示が転送される。拡大指定制御部45は
カーソル制御部48よりカーソル位置データを受取り、
これに該当する文字アドレ ・スを算出し、該当文字
に対し拡大属性(カーソル位置の文字に拡大指定)を付
加するようテキストバッファ43を変更して処理を終了
する。When a character enlargement instruction is received from the input device 1, the instruction is transferred to the enlargement specification control section 45. The enlargement specification control unit 45 receives cursor position data from the cursor control unit 48,
The character address corresponding to this is calculated, and the text buffer 43 is changed to add an enlargement attribute (enlargement specification to the character at the cursor position) to the corresponding character, and the process ends.
なお変更後、表示行展開部41へ変更した行からの表示
を要求し、拡大指定による表示の変更を実現する。After the change, a request is made to the display line expansion unit 41 to display the changed line, thereby realizing a change in display based on enlargement specification.
次に、第8図〜第10図に示したテキストバッファにつ
いて説明する。Next, the text buffer shown in FIGS. 8 to 10 will be explained.
先ず、テキストバッファ43の内容は拡大文字が指定さ
れていないときは、第8図に示す様に単に文字コードが
連続しており、拡大文字が指定されると第9図に示す様
に、文字に対して拡大倍率n(縦)1m(横)が各々付
加される。First, the contents of the text buffer 43 are simply a series of character codes as shown in Figure 8 when enlarged characters are not specified, and when enlarged characters are specified as shown in Figure 9. An enlargement factor n (vertical) and 1 m (horizontal) is added to each image.
また、中央揃えや下揃えのような、一時的な拡大サイズ
の補正が行なわれた場合は、第10図に示すようにnX
m倍の他に補正用倍率n′も同時に付加される。In addition, if temporary enlargement size correction such as center alignment or bottom alignment is performed, nX
In addition to m times, a correction magnification n' is also added at the same time.
このように、文字単位毎に拡大指定を行ない、拡大表示
を行なうのであるが、これを第17図のフローチャート
によって説明する。In this way, enlargement is specified for each character and enlarged display is performed. This will be explained with reference to the flowchart of FIG. 17.
上述したテキストバッファ43が更新されると、表示行
展開部41に対して更新の発生した行の表示を要求する
。When the text buffer 43 described above is updated, the display line expansion unit 41 is requested to display the updated line.
表示行展開部41は、テキストバッファ4′5より表示
要求行のテキストバッファ文字アドレスを算出する。The display line expansion unit 41 calculates the text buffer character address of the display requested line from the text buffer 4'5.
その際、書式フォーマット情報部42より表示該当行の
書式・フォーマットデータを順次を取り出す、そして1
行分の文字の配置可能性範囲の算出を行ないこれを決定
する。At that time, the format/format data of the relevant line to be displayed is sequentially extracted from the format information section 42, and 1
The possible layout range of characters for a line is calculated and determined.
1行分の表示文字が決定すると、次にテキストバッファ
43よりこの文字を取出し、これが文字コードか否かの
判別をする。Once the display character for one line is determined, this character is then taken out from the text buffer 43 and it is determined whether it is a character code or not.
文字コードであれば、指定された倍率にしたがつて横拡
大サイズによる文字テーブルにセットする。そして、こ
の動作を1行分繰り返す。If it is a character code, it is set in a character table with horizontal enlargement size according to the specified magnification. This operation is then repeated for one line.
先の判別結果が文字コードでなければ、拡大指示か否か
が判別され、拡大指示であれば拡大サイズを取り込みテ
ーブルにセットする。拡大指示でなければ、それに従っ
た他の属性処理を行なう。If the previous determination result is not a character code, it is determined whether or not it is an enlargement instruction, and if it is an enlargement instruction, the enlargement size is fetched and set in the table. If it is not an enlargement instruction, other attribute processing is performed in accordance with the instruction.
拡大指示の場合はさらに、テーブルにセラ1−シた拡大
サイズに対し、補正の有無をチェックする。In the case of an enlargement instruction, it is further checked whether the enlargement size set in the table is to be corrected.
そして、補正があけば補正サイズを取り込みテーブルに
セットする。補正がなければ補正サイズ0をテーブルに
セットする。そして、この動作を1行分繰り返す。Then, when the correction is completed, the corrected size is fetched and set in the table. If there is no correction, a correction size of 0 is set in the table. This operation is then repeated for one line.
1行分の処理が終了すると1次に第11図に示した文字
テーブルと拡大サイズテーブルより最大縦拡大サイズを
検出する。そして、その要求行Noより物理行Noの算
出を行なう。そして、算出された物理行Noによる表示
行の算出を行なう。When the processing for one line is completed, the maximum vertical enlargement size is first detected from the character table and enlargement size table shown in FIG. Then, the physical row number is calculated from the requested row number. Then, a display row is calculated based on the calculated physical row number.
次に1文字テーブルから文字を取出して、これを拡大サ
イズによる拡大処理を行なう。Next, a character is extracted from the one-character table and enlarged using an enlarged size.
そして、次に表示情報テーブルにより文字データの切り
出しを行ない、これを表示バッファへセットする。そし
て、この操作を物理行(第11図では1行から6行迄)
が終るまで繰り返し、同時にこれを表示する。Then, character data is extracted using the display information table and set in the display buffer. Then, perform this operation on the physical lines (line 1 to line 6 in Figure 11).
Repeat until the end and display this at the same time.
そしてこの処理を1行分(論理行)繰り返してこれを表
示する。This process is then repeated for one line (logical line) and displayed.
第18図及び第19図は、それぞれ上記の方法により表
示装置2の画面に表示される表示例で。FIGS. 18 and 19 are display examples displayed on the screen of the display device 2 by the above-described method, respectively.
ぞぞれ文字単位で任意に拡大され、印刷時にはこの表示
と同じ印刷結果が得られる。Each character is enlarged arbitrarily, and when printing, the same print result as this display is obtained.
このように、文字単位で拡大の指定が可能で、しかも実
際の拡大サイズで表示され、そのまま印刷されるので、
印刷時に拡大した文字が用紙幅を越えて欠落してしまう
こともなく、また従来のように文書作成編集時に、拡大
印刷結果を考慮しながら文字入力をして文書を作成する
必要がないので、非常に操作性の高い文字処理装置が得
られる。In this way, you can specify enlargement for each character, and it is displayed at the actual enlarged size and printed as is.
When printing, enlarged characters will not be lost beyond the paper width, and there is no need to input characters while considering the enlarged printing results when creating and editing documents as in the past. A character processing device with very high operability is obtained.
羞−果
以上説明したように、この発明によれば、文字単位に拡
大の指定が可能で、しかも実際の拡大サイズで表示もで
きるので、バリエイジョンに富んだ文書を簡単な操作で
作成することができる。As explained above, according to the present invention, it is possible to specify enlargement for each character, and it is also possible to display the actual enlarged size, so it is possible to create a wide variety of documents with simple operations. Can be done.
第1図はこの発明の一実施例を示す機能ブロック図、
第2図はこの発明を実施したワードプロセッサの外観の
一例を示す斜視図、
第3図は同じくその制御部の一例を示すブロック図
第4図乃至第7図は1行内の拡大文字の異なる配置によ
るを表示例の説明図、
第8図乃至10図はテキストバッファの内容のそれぞれ
異なる例を示す説明図、
第11図は文字の拡大表示方法を説明するための説明図
、
第12図は文字の拡大サイズのメツセージ表示図。
第13図及び第14図は文字の拡大サイズ指定及び拡大
指定の処理を示すフロー図、
第15図は拡大文字の行の下揃え、中揃え、上揃えの各
処理を示すフロー図、
第16図は位置補正のメツセージ表示図。
第17図は拡大文字を表示するための処理を示すフロー
図、
第18図及び第19図は拡大文字の異なる表示例を示す
図、
第20図及び第21図は従来の拡大指定した文字の表示
画面とその印刷結果を示す説明図である。
1・・・入力装置l!2・・・表示装置25・・・入力
制御部 2日・・・表示制御部40・・・文字編集部
41・・・表示行展開部42・・・書式フォーマッ
ト情報部
43・・・テキストバッファ部
44・・・表示中テキスト情報部
45・・・拡大指定制御部
4日・・・拡大サイズ指定部
47・・・拡大サイズ格納エリア
48・・・カーソル制御部
4日・・・ケイ線バッファ部
50・・・キャラクタジェネレータ(CG)51・・・
拡大切出し部 52・・・位置補正指定部53・・・
テキスト拡大位置補正更新部第2図
第6図
第8図
第9図
第10図
n m n′ 文字ヨード −一−−−−−−−−
−−第11図
(イ) (0
)第12図
第13囚
第15図
第18図
第20図
第21図FIG. 1 is a functional block diagram showing an embodiment of the present invention, FIG. 2 is a perspective view showing an example of the external appearance of a word processor embodying the invention, and FIG. 3 is a block diagram showing an example of the control section thereof. Figures 4 to 7 are explanatory diagrams showing examples of displaying enlarged characters in different positions within one line. Figures 8 to 10 are explanatory diagrams showing different examples of the contents of the text buffer. Figure 11 is an illustration of enlarged characters. An explanatory diagram for explaining the display method. Figure 12 is a message display diagram with enlarged text size. 13 and 14 are flowcharts showing the process of specifying enlarged character size and enlargement. FIG. 15 is a flowchart showing the bottom alignment, center alignment, and top alignment processes of enlarged character lines. The figure shows a message display diagram for position correction. Figure 17 is a flowchart showing the process for displaying enlarged characters, Figures 18 and 19 are diagrams showing different display examples of enlarged characters, and Figures 20 and 21 are conventional methods of displaying enlarged characters. FIG. 3 is an explanatory diagram showing a display screen and its print result. 1... Input device l! 2...Display device 25...Input control section 2nd...Display control section 40...Character editing section 41...Display line development section 42...Format format information section 43...Text buffer Section 44...Displayed text information section 45...Enlargement specification control section 4th...Enlargement size specification section 47...Enlargement size storage area 48...Cursor control section 4th...K line buffer Part 50...Character generator (CG) 51...
Enlarged cutting section 52...Position correction specification section 53...
Text enlargement position correction update section Fig. 2 Fig. 6 Fig. 8 Fig. 9 Fig. 10 n m n' Character iodine -1
--Figure 11 (a) (0
) Figure 12 Figure 13 Prisoner Figure 15 Figure 18 Figure 20 Figure 21
Claims (1)
より入力された文字等を表示装置に表示して編集・校正
が行なえる文字処理装置において、前記入力装置からの
指示により前記表示装置に表示した文字等を各文字毎に
任意の倍率で拡大指示する手段と、該手段により拡大指
示された文字を、前記表示装置の画面上にその倍率で拡
大表示する手段とを有することを特徴とする文字処理装
置。1 In a character processing device that is equipped with at least an input device and a display device, and can edit and proofread characters, etc. input from the input device by displaying them on the display device, the characters are displayed on the display device according to instructions from the input device. A character characterized by having means for instructing enlargement of each character at a desired magnification, and means for enlarging and displaying the characters instructed to be enlarged by the means at the magnification on the screen of the display device. Processing equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62120645A JPS63285587A (en) | 1987-05-18 | 1987-05-18 | Character processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62120645A JPS63285587A (en) | 1987-05-18 | 1987-05-18 | Character processor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS63285587A true JPS63285587A (en) | 1988-11-22 |
Family
ID=14791352
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP62120645A Pending JPS63285587A (en) | 1987-05-18 | 1987-05-18 | Character processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS63285587A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS53100737A (en) * | 1977-02-16 | 1978-09-02 | Hitachi Ltd | Print pattern generator |
JPS61123876A (en) * | 1984-11-20 | 1986-06-11 | 三洋電機株式会社 | Document processor |
JPS61141480A (en) * | 1984-12-14 | 1986-06-28 | キヤノン株式会社 | Expanded character processor |
-
1987
- 1987-05-18 JP JP62120645A patent/JPS63285587A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS53100737A (en) * | 1977-02-16 | 1978-09-02 | Hitachi Ltd | Print pattern generator |
JPS61123876A (en) * | 1984-11-20 | 1986-06-11 | 三洋電機株式会社 | Document processor |
JPS61141480A (en) * | 1984-12-14 | 1986-06-28 | キヤノン株式会社 | Expanded character processor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0778140A (en) | Document processor | |
JPS63285587A (en) | Character processor | |
JP2815158B2 (en) | Character processor | |
JP2592840B2 (en) | Character processor | |
JPH06103430B2 (en) | Character processor | |
JP2647679B2 (en) | Character processor | |
JPS63149759A (en) | Document editing device | |
JPH089245B2 (en) | Character processor | |
JPH0244458A (en) | Character processor | |
JPH06110891A (en) | Document creation device | |
JPH01286869A (en) | Character processing device | |
JPH01183770A (en) | Character processor | |
JP2592840C (en) | ||
JPH01180589A (en) | Character processor | |
JP3404770B2 (en) | Document processing device | |
JPH01176573A (en) | Document preparation and editing apparatus | |
JPH01184522A (en) | Document preparing and editing device | |
JPH0230222A (en) | Document forming and editing device | |
JPS63276165A (en) | Character processor | |
JPH0661038B2 (en) | Character processor | |
JPH0749851A (en) | Document shaping device | |
JPS62239194A (en) | Document generator | |
JPS63289671A (en) | Character processor | |
JPH1027170A (en) | Document creation display device | |
JPS63293066A (en) | Character processor |