JPS648852B2 - - Google Patents

Info

Publication number
JPS648852B2
JPS648852B2 JP58117539A JP11753983A JPS648852B2 JP S648852 B2 JPS648852 B2 JP S648852B2 JP 58117539 A JP58117539 A JP 58117539A JP 11753983 A JP11753983 A JP 11753983A JP S648852 B2 JPS648852 B2 JP S648852B2
Authority
JP
Japan
Prior art keywords
character
input
display
characters
key
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.)
Expired
Application number
JP58117539A
Other languages
Japanese (ja)
Other versions
JPS5922181A (en
Inventor
Shuji Ichimura
Shunpei Takenaka
Katsumi Masaki
Hiroshi Oowada
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP58117539A priority Critical patent/JPS5922181A/en
Publication of JPS5922181A publication Critical patent/JPS5922181A/en
Publication of JPS648852B2 publication Critical patent/JPS648852B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Digital Computer Display Output (AREA)
  • Document Processing Apparatus (AREA)
  • Record Information Processing For Printing (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

【発明の詳細な説明】 本発明は、文字列、例えば文章を出力する際、
所望の文字列の文字間隔を変更しうる機能を有す
る文字処理装置に関する。
[Detailed Description of the Invention] The present invention provides a method for outputting a character string, for example, a sentence.
The present invention relates to a character processing device having a function of changing the character spacing of a desired character string.

従来出力装置を有したワードプロセツサ、コン
ピユータ等の文字処理装置において、出力された
文字はすべて等間隔に印字されるので、実際の文
書で部分的に例えば5文字分のスペースに3字を
均等に印字する必要が生ずる場合このような印字
をおこなうことができなかつた。
Conventionally, in character processing devices such as word processors and computers that have output devices, all output characters are printed at equal intervals, so in an actual document, for example, three characters are evenly printed in a space of five characters. When it became necessary to print on the paper, such printing could not be performed.

本発明は上述の欠点を除去し、入力した文字列
の所望の文字列の文字間隔を変更する指示し、入
力された文字列の内の所望の文字列を識別しうる
ように表示する文字処理装置を提供することを目
的とする。
The present invention eliminates the above-mentioned drawbacks, and provides character processing that instructs to change the character spacing of a desired character string of an input character string, and displays the desired character string of the input character string so that it can be identified. The purpose is to provide equipment.

以下本発明による一実施例を説明する。 An embodiment according to the present invention will be described below.

第1図は本発明による文字処理装置のブロツク
図である。同図に於いて、CPUはマイクロプロ
セツサーで、演算、論理判断等を行なう。ABは
アドレスバスで、制御対象を指示する信号を転送
する。DBはデータバスで、各種データを転送す
るもので、双方向性のバスである。CBはコント
ロールバスで、各種制御対象に制御信号を印加す
るものである。
FIG. 1 is a block diagram of a character processing device according to the present invention. In the figure, the CPU is a microprocessor that performs calculations, logical judgments, etc. AB is an address bus that transfers signals indicating the control target. DB is a data bus that transfers various data and is a bidirectional bus. CB is a control bus that applies control signals to various control targets.

KBはキーボードで、文字フアンクシヨン及び
モード等を入力するキーKB1、均等割付指示キ
ーKB2及びカーソルキーKB3等を備えている。
KBCはキーボードコントローラで、キーボード
KBより入力されたデータをエンコードし、また
インタラプト信号をコントロールバスCBに送る。
DPCはCRTコントローラで、CRT装置DP、キ
ヤラクタジエネレータCG、リフレツシユメモリ
M、リフレツシユメモリコントローラMC3を制
御する。CRT装置DPは文字、記号、画等を表示
しうるものである。キヤラクタジエネレータCG
は文字コード記号コード及び文字記号パターンの
行アドレス等のコード入力により所望の文字記号
パターンを出力する。上記文字記号パターンはマ
トリクス状に形成され、行アドレスを変えること
で、文字記号パターンが出力される。リフレツシ
ユメモリRはCRT装置DPに表示される文字記号
コードを記憶し、CRTコントローラDPCの制御
の下に繰り返し文字記号コードを出力する。リフ
レツシユメモリコントローラMC3はCRTコント
ローラDPCの指示に従つてリフレツシユメモリ
Rのリフレツシユサイクルとマイクロプロセツサ
ーCPUよりのデータの書き込み、読み出しを制
御する。ROMは制御メモリで、第2図に示す制
御手順及び漢字情報等を記憶するものである。
KB is a keyboard, which includes a key KB1 for inputting character functions, modes, etc., an equal allocation instruction key KB2, a cursor key KB3, and the like.
KBC is a keyboard controller,
It encodes the data input from KB and sends an interrupt signal to control bus CB.
DPC is a CRT controller that controls the CRT device DP, character generator CG, refresh memory M, and refresh memory controller MC3. The CRT device DP is capable of displaying characters, symbols, strokes, etc. Character generator CG
outputs a desired character symbol pattern by inputting codes such as the character code symbol code and the line address of the character symbol pattern. The character and symbol patterns are formed in a matrix, and by changing the row addresses, the character and symbol patterns are output. The refresh memory R stores the character symbol code displayed on the CRT device DP, and repeatedly outputs the character symbol code under the control of the CRT controller DPC. The refresh memory controller MC3 controls the refresh cycle of the refresh memory R and the writing and reading of data from the microprocessor CPU according to instructions from the CRT controller DPC. The ROM is a control memory that stores the control procedure shown in FIG. 2, Kanji information, etc.

上記制御メモリROMはROMコントローラMC
1により記憶された処理手順が読み出される。
RAMはランダムアクセスのメモリで、各種デー
タの一時記憶に用いられる。RAMコントローラ
MC2により書き込み、読み出しがなされる。
MDは磁気デイスク装置で、後述する形式で漢字
情報を記憶する。磁気デイスク装置MDは磁気デ
イスクコントローラMDDにより制御される。
The control memory ROM above is the ROM controller MC
1, the stored processing procedure is read out.
RAM is a random access memory used for temporary storage of various data. RAM controller
Writing and reading are performed by MC2.
MD is a magnetic disk device that stores kanji information in the format described below. The magnetic disk device MD is controlled by a magnetic disk controller MDD.

Pはプリンタで、漢字情報、カタカナ、ひらが
な等の情報を記録するものであり、プリンタコン
トローラPDで制御される。
P is a printer that records information such as kanji information, katakana, hiragana, etc., and is controlled by a printer controller PD.

上述の構成より成る実施例の作動を次に詳述す
る。
The operation of the embodiment constructed as described above will now be described in detail.

本文字処理装置はキーボードKBの操作により
装置が起動されるものである。キーボードKBが
操作されると、キーボードKBより発生するイン
タラプト信号がマイクロプロセツサCPUに伝え
られ、これによりマイクロプロセツサCPUを介
して制御メモリROM内の制御手順を呼び出し、
制御手順に従つて各制御が行なわれる。
This character processing device is activated by operating the keyboard KB. When the keyboard KB is operated, an interrupt signal generated by the keyboard KB is transmitted to the microprocessor CPU, which calls the control procedure in the control memory ROM via the microprocessor CPU.
Each control is performed according to the control procedure.

第3図は本実施例の作動を説明する為のもの
で、均等割付けの指示は、キーボード上にある均
等割付指示キー(以下これをEキーと略す)KB
2を打鍵することによつて行なわれそのキーによ
る2回の打鍵によつてはさまれた文字が、そのは
さまれた文字スペース(空白も含む)間に均等に
割付けられる。CRT装置DPを用いて指示する例
を第3図aを用いて示す。まず均等割付を行ない
たい位置にカーソルを移動し、EキーKB2を打
鍵する。この時CRT装置上にはこれを示すマー
ク(ここでは)を表示し、オペレータにマーク
以後が均等割付けの対象になることを知らせる。
Figure 3 is for explaining the operation of this embodiment, and instructions for equal allocation are made using the equal allocation instruction key (hereinafter abbreviated as the E key) KB on the keyboard.
The characters made by pressing the key 2 and sandwiched by the two presses of that key are evenly distributed between the sandwiched character spaces (including blanks). An example of giving instructions using a CRT device DP is shown in FIG. 3a. First, move the cursor to the position where you want to perform equal allocation and press the E key KB2. At this time, a mark (in this case) indicating this is displayed on the CRT device, informing the operator that the area after the mark is subject to equal allocation.

次に均等割付けしたい文字あるいは文字コード
をキーボードから入力する。均等割付終了位置ま
でカーソルが到達していない時は、均等割付けを
終了させたい位置までスペースを入れるかあるい
はカーソルキーKB3によつてカーソルを移動さ
せ、EキーKB2を打鍵し、均等割付終了位置を
定める。CRT装置DP上にはマークが表示され
る。このデータを出力させると第3図bのように
なり、文字がマークのあつた位置間に均等割付
が行なわれる。
Next, input the characters or character codes that you want to evenly allocate using the keyboard. If the cursor has not reached the equal allocation end position, insert a space to the position where you want the equal allocation to end, or use the cursor key KB3 to move the cursor, and press the E key KB2 to set the equal allocation end position. stipulate. A mark is displayed on the CRT device DP. When this data is outputted, it becomes as shown in FIG. 3b, and characters are evenly allocated between the marked positions.

以上の処理をさらに詳細に説明する。 The above processing will be explained in more detail.

マイクロプロセツサCPUはキーボードKBから
の入力データを読み(ステツプ1)、押されたキ
ーがEキーKB2かどうかをチエツクする(ステ
ツプ2)。もしEキーがKB2であれば、このE
キーKB2が均等割付け位置開始を示すものであ
るかを判断するためEキーKB2の打鍵回数をカ
ウントし、レジスタECRに入れる(ステツプ
3)。このEキーの打鍵回数が奇数であれば、均
等割付け開始を示し、偶数であれば、終了を示す
ことになる。(ステツプ4)押されたキーがEキ
ーKB2でなければ、文字間ピツチを変更する必
要がなく前文字と同じピツチでの出力となるため
通常の文字処理のルーチン(ステツプ5)に入
る。この文字処理のルーチンでは入力されたデー
タを出力用の文字コードに変換する仕事を行な
い、かな入力を漢字かな混じり文に変換したり、
数字コードを文字コードに変換したりする。この
文字処理ルーチンの入力の文字と出力の文字は1
対1に対応しているとは限らないので、(例えば
“あさ”と2文字の入力に対して“朝”1文字が
出力される場合など)、1文字分の出力があるか
どうかを判断する(ステツプ6)。1文字分の出
力があつた場合、均等割付けする文字がいくつあ
るかをカウントするためレジスタNRを1だけ増
加させる(ステツプ7)。尚、“空白”(ブランク)
は1文字分としてカウントしない。
The microprocessor CPU reads input data from the keyboard KB (step 1) and checks whether the pressed key is the E key KB2 (step 2). If the E key is KB2, this E
In order to determine whether the key KB2 indicates the start of the equal allocation position, the number of times the E key KB2 is pressed is counted and stored in the register ECR (step 3). If the number of times the E key is pressed is an odd number, it indicates the start of equal allocation, and if it is an even number, it indicates the end. (Step 4) If the pressed key is not the E key KB2, there is no need to change the inter-character pitch and the output will be at the same pitch as the previous character, so a normal character processing routine (step 5) is entered. This character processing routine converts input data into character codes for output, converting kana input into sentences containing kanji and kana,
Convert numeric code to character code. The input character and output character of this character processing routine are 1
Since there is not necessarily a one-to-one correspondence (for example, when inputting two characters "morning", one character "morning" is output), determine whether there is an output for one character. (Step 6). When one character is output, the register NR is increased by 1 to count the number of characters to be evenly allocated (step 7). In addition, “blank” (blank)
is not counted as one character.

EキーKB2が押されレジスタECRの内容が奇
数のときこのときのカーソルのあるアドレスの値
をレジスタSPRに格納し(ステツプ8)、Eマー
クを格納し表示させる。(ステツプ9)文字カウ
ント数を記憶しているレジスタNRをリセツトす
る(ステツプ10)、レジスタECRが偶数のとき、
終了を表わすためこのときのカーソルレジスタの
番地をレジスタSTRに格納する。(ステツプ11)
Eマークを格納し、表示させる。(ステツプ12)、
ここで均等割付用の新しい字間ピツチを計算する
ためマイクロプロセツサCPUは次式の演算を行
なう。(ステツプ13) EP={(SP−ST)*D−(N−1) *DC}÷(N−1) ここで、EPは字間ピツチ(ドツト)、SPはレ
ジスタSPRの内容で均等割付開始位置の座標、
カーソルの座標の値(文字間隔変更前の字間を含
んだ1文字分の幅を取る桁)STはレジスタSTR
の内容で均等割付終了位置の座標、カーソルの座
標の値である。Dは、通常の字間隔を含んだ1文
字分の横方向のドツト数で制御メモリROMより
読み出す。DCは字間隔を含まない1文字分のド
ツト数で制御メモリROMより読み出す。Nは均
等割付される文字数でレジスタNRに記憶されて
いる。尚、EPは整数で上式右辺の演算結果の少
数点以下は切り捨てとする。
When the E key KB2 is pressed and the contents of the register ECR are an odd number, the value of the address where the cursor is located at this time is stored in the register SPR (step 8), and the E mark is stored and displayed. (Step 9) Reset the register NR that stores the character count (Step 10) When register ECR is an even number,
To indicate the end, the address of the cursor register at this time is stored in register STR. (Step 11)
Store and display the E mark. (Step 12),
Here, in order to calculate a new character pitch for equal allocation, the microprocessor CPU performs the following calculation. (Step 13) EP={(SP-ST)*D-(N-1) *DC}÷(N-1) Here, EP is the character pitch (dot), and SP is the equal allocation based on the contents of the register SPR. coordinates of the starting position,
The value of the cursor coordinates (the digit that takes the width of one character including the character spacing before changing the character spacing) ST is the register STR
The contents are the coordinates of the end position of equal allocation and the coordinates of the cursor. D is read from the control memory ROM as the number of horizontal dots for one character including normal character spacing. DC is read from the control memory ROM in the number of dots for one character, not including character spacing. N is the number of characters to be evenly allocated and is stored in the register NR. Note that EP is an integer, and the decimal point of the calculation result on the right side of the above equation is rounded down.

この計算された字間ピツチは、第4図に示すよ
うに文字処理後の出力用フアイルFの開始マー
クの直後に格納される(ステツプ14)。また、終
了マークの直後には通常字間ピツチが格納され
る。
The calculated character pitch is stored immediately after the start mark of the output file F after character processing, as shown in FIG. 4 (step 14). Further, the character spacing pitch is normally stored immediately after the end mark.

以上の説明は、文字データを入力しながら均等
割付用キーKB2を打鍵した場合であるが、文字
データをすべて入力終了後、均等割付を行なうこ
ともできる。この場合はマークを挿入すること
によつて可能であり、出力用フアイルFにマー
クが書き込まれる。上述の例のように偶数回めの
マークの挿入によつて文字ピツチが計算され、
マークのあとにピツチが書き込まれる。
The above explanation is based on the case where the equal allocation key KB2 is pressed while inputting character data, but it is also possible to perform equal allocation after inputting all character data. This can be done by inserting a mark, and the mark is written in the output file F. As in the example above, the character pitch is calculated by inserting marks even numbered times,
A pitch is written after the mark.

プリンタには、出力文字用フアイルFから順次
文字コードあるいは文字パターンが送られるわけ
であるが、この時マークはピツチ変更のコマン
ドとなりマーク直後の数値に字間ピツチが変更
される。
Character codes or character patterns are sequentially sent to the printer from the output character file F, and at this time, the mark becomes a pitch change command, and the character spacing is changed to the value immediately after the mark.

なお、本発明は上述したプリンタでの均等割付
の例にかぎらずドツトリフレツシユ方式のキヤラ
クタデイスプレイ装置にも適用できる。
Note that the present invention is not limited to the above-described example of equal allocation in a printer, but can also be applied to a character display device using a dot refresh method.

以上述べたように本発明によれば、文字を入力
する為の文字入力手段と、前記文字入力手段によ
り入力された文字列を表示すると共に前記入力手
段から入力される文字等の入力位置を示すカーソ
ルを表示する表示手段と、前記表示手段で表示す
べく入力される前記文字列の内の所望の文字列の
文字間隔を変更させる為に前記表示手段の表示面
上で前記所望の文字列を割り付ける表示領域の最
初のカーソル位置および最後のカーソル位置を指
示する指示入力手段と、前記指示入力手段からの
指示に応答して前記表示領域の最初のカーソル位
置および最後のカーソル位置を示す記号を表示す
るための制御手段と、前記指示入力手段からの出
力に応答して前記表示領域に入力表示された前記
所望の文字列の複数の文字を前記表示領域に均等
間隔に振り分ける制御手段とを有することにより
再配列される文字列の新たな領域をオペレータは
画面で認識できる。
As described above, according to the present invention, there is provided a character input means for inputting characters, a character string inputted by the character input means is displayed, and an input position of a character etc. inputted from the input means is indicated. a display means for displaying a cursor; and a display means for displaying the desired character string on the display surface of the display means for changing the character spacing of the desired character string among the character strings input to be displayed on the display means. instruction input means for instructing a first cursor position and a last cursor position in a display area to be allocated; and displaying symbols indicating the first cursor position and last cursor position in the display area in response to instructions from the instruction input means; and a control means for distributing a plurality of characters of the desired character string input and displayed in the display area to the display area at equal intervals in response to an output from the instruction input unit. The operator can recognize on the screen the new area of character strings that will be rearranged.

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

第1図は、文字処理装置の概略を示す構成図、
第2図は、本実施例のaキヤラクタデイスプレイ
上の表示例を示す図とb出力例を示す図、第3図
は、均等割付を行なうためのフローチヤート、第
4図は、出力文字用フアイルの内容を示す図であ
る。 CPU……マイクロプロセツサ、DP……キヤラ
クタデイスプレイ、KB……キーボード、P……
プリンタ。
FIG. 1 is a block diagram showing an outline of a character processing device;
Figure 2 is a diagram showing an example of display on the character display of this embodiment, and diagram b is a diagram showing an example of output, Figure 3 is a flowchart for performing equal allocation, and Figure 4 is a diagram showing an example of output characters. FIG. 3 is a diagram showing the contents of a file. CPU...Microprocessor, DP...Character display, KB...Keyboard, P...
printer.

Claims (1)

【特許請求の範囲】 1 文字を入力する為の文字入力手段と、 前記文字入力手段により入力された文字列を表
示すると共に前記入力手段から入力される文字等
の入力位置を示すカーソルを表示する表示手段
と、前記表示手段で表示すべく入力される前記文
字列の内の所望の文字列の文字間隔を変更させる
為に前記表示手段の表示面上で前記所望の文字列
を割り付ける表示領域の最初のカーソル位置およ
び最後のカーソル位置を指示する指示入力手段
と、 前記指示入力手段からの指示に応答して前記表
示領域の最初のカーソル位置および最後のカーソ
ル位置を示す記号を表示するための制御手段と、 前記指示入力手段からの出力に応答して前記表
示領域に入力表示された前記所望の文字列の複数
の文字を前記表示領域に均等間隔に振り分ける制
御手段とを有する文字処理装置。
[Scope of Claims] 1. Character input means for inputting characters; Displaying the character string input by the character input means and displaying a cursor indicating the input position of the characters etc. input from the input means. a display means; and a display area for allocating the desired character string on the display surface of the display means in order to change the character spacing of the desired character string among the character strings input to be displayed on the display means. instruction input means for instructing a first cursor position and a last cursor position; and a control for displaying symbols indicating the first cursor position and last cursor position in the display area in response to instructions from the instruction input means. and a control means for distributing a plurality of characters of the desired character string input and displayed in the display area to the display area at equal intervals in response to an output from the instruction input unit.
JP58117539A 1983-06-28 1983-06-28 Character processor Granted JPS5922181A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58117539A JPS5922181A (en) 1983-06-28 1983-06-28 Character processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58117539A JPS5922181A (en) 1983-06-28 1983-06-28 Character processor

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP12720479A Division JPS5650435A (en) 1979-10-01 1979-10-01 Character processor

Publications (2)

Publication Number Publication Date
JPS5922181A JPS5922181A (en) 1984-02-04
JPS648852B2 true JPS648852B2 (en) 1989-02-15

Family

ID=14714294

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58117539A Granted JPS5922181A (en) 1983-06-28 1983-06-28 Character processor

Country Status (1)

Country Link
JP (1) JPS5922181A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61114365A (en) * 1984-11-07 1986-06-02 Yokogawa Electric Corp Word processor
JPH0753452B2 (en) * 1987-07-14 1995-06-07 株式会社テック Dot printer
JPH027252A (en) * 1988-06-27 1990-01-11 Tosoh Corp Magneto-optical card

Also Published As

Publication number Publication date
JPS5922181A (en) 1984-02-04

Similar Documents

Publication Publication Date Title
US4603330A (en) Font display and text editing system with character overlay feature
US5108206A (en) Document outputting apparatus including means to randomly alter fonts
US4187031A (en) Korean (hangul) electronic typewriter and communication equipment system
US4947343A (en) Document processing system for detecting an overlap in two characters
JPS648851B2 (en)
JPS648852B2 (en)
JPS58219591A (en) Display unit
JPH0426729B2 (en)
JPS62121065A (en) Character enlarging printer
JP2572039B2 (en) Character processor
US5526019A (en) Character processing apparatus
EP0105491A2 (en) Font display and text editing system
JPH0445875B2 (en)
JPS5924429B2 (en) How to display print data
JPS6236252B2 (en)
JPH0419585B2 (en)
JPH0245596B2 (en)
JPH053009B2 (en)
JPH0727347B2 (en) Character processing method
JPH0223871B2 (en)
JPS6320665A (en) Input device
JPH0734233B2 (en) How to create a graph
JPS6327886A (en) Document generator
JPS63291089A (en) Character processor
JPH04103370A (en) Storing method of character dot pattern data