JPH02297128A - Character processor - Google Patents

Character processor

Info

Publication number
JPH02297128A
JPH02297128A JP1061029A JP6102989A JPH02297128A JP H02297128 A JPH02297128 A JP H02297128A JP 1061029 A JP1061029 A JP 1061029A JP 6102989 A JP6102989 A JP 6102989A JP H02297128 A JPH02297128 A JP H02297128A
Authority
JP
Japan
Prior art keywords
character
filling
typesetting
characters
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.)
Granted
Application number
JP1061029A
Other languages
Japanese (ja)
Other versions
JP3193031B2 (en
Inventor
Kensaku Tanaka
研策 田中
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 JP06102989A priority Critical patent/JP3193031B2/en
Publication of JPH02297128A publication Critical patent/JPH02297128A/en
Application granted granted Critical
Publication of JP3193031B2 publication Critical patent/JP3193031B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To improve operability by means of the typesetting of characters in which flexibility is improved by filling the characters being the object of typesetting based on character filling information corresponding to respective characters and character filling information which is inputted at the time of typesetting. CONSTITUTION:A bit map display 1 forming the typesetting conditions of a document or a display screen at the time of a character filling mode, video RAM 2 developing display data of CRT 1, a keyboard 3 provided with various keys for the generation of the document, for editing, for the writing and reading of the document with respect to a disk 8, a pointing device 4 pointing a point on CRT 1, and CPU 5 are provided. Such a character processor is provided with an input procedure inputting character filling information corresponding to respective characters and a procedure filling the characters being the object of typesetting based on character filling information inputted at the time of typesetting. Thus, typesetting can arbitrarily be set and the flexibility of typesetting can be improved.

Description

【発明の詳細な説明】 [産業上の利用分野コ 本発明は文字処理装置に関し、例えば、文字の組版機能
の改良に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a character processing device, and for example, to an improvement in a character typesetting function.

[従来の技術] 従来、この種の装置においては、文字をそのデザインに
よらず、べた組にして出力している。
[Prior Art] Conventionally, in this type of device, characters are output in solid sets regardless of their design.

[発明が解決しようとしている課題] しかしながら、上記従来例では、文字をべた組みとする
ために、出力光のデイスプレィ効果に欠けたり、組版処
理の際の追込み処理の柔軟性に欠けてしまう等の欠点が
あった。その−例として、べた組の状態で行末を整える
ため、行の最後の文字が次の行に追い出されてしまう可
能性が大であるという欠点がある。
[Problems to be Solved by the Invention] However, in the above-mentioned conventional example, since the characters are set solidly, there are problems such as a lack of display effect of the output light and a lack of flexibility in follow-up processing during typesetting processing. There were drawbacks. For example, since the end of a line is arranged in a solid state, there is a disadvantage that there is a high possibility that the last character of a line will be pushed out to the next line.

本発明は上述した従来例の欠点に鑑みなされたものであ
り、その目的とするところは、字詰めを任意に設定可能
とすることで組版の柔軟性を向上してくれる文字処理装
置を提供する点にある。
The present invention has been made in view of the above-mentioned drawbacks of the conventional examples, and its purpose is to provide a character processing device that improves the flexibility of typesetting by making it possible to arbitrarily set character padding. It is in.

[課題を解決するための手段] 上述した課題を解決し、目的を達成するため、本発明に
係わる文字処理装置は、文字処理装置において、文字ご
とに対応する字詰め情報を入力する入力手段と、組版時
に前記入力手段で入力された字詰め情報に基づいて組版
対象の文字を字詰めする字詰め手段とを備える。
[Means for Solving the Problems] In order to solve the above-mentioned problems and achieve the objectives, a character processing device according to the present invention includes an input means for inputting padding information corresponding to each character; and font filling means for filling characters to be typewritten based on font filling information inputted by the input means at the time of typesetting.

[作用] かかる構成によれば、人力手段は文字ごとに対応する字
詰め情報を入力し、字詰め手段は組版時に前記入力手段
で入力された字詰め情報に基づいて組版対象の文字を字
詰めするようにしている。
[Operation] According to this configuration, the manual means inputs the font filling information corresponding to each character, and the font filling device fills the characters to be typewritten based on the font filling information inputted by the input means during typesetting. There is.

[実施例コ 以下に添付図面を参照して、本発明に係わる好適な実施
例を詳細に説明する。
[Embodiments] Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

第1図は本実施例の文字処理装置の構成を示すブロック
図である。第1図において、lは文書の組版状況或は本
実施例の特徴である字詰めモード時の表示画面を形成す
るビットマツプデイスプレィ(以下、rcRTJと称す
)を示し、2はCRTIの表示データを展開するビデオ
RAM (以下、rVRAM」と称す)を示し、3は文
書作成及び編集並びに後述のディスク8に対する文書の
書込み或は読出し等を行うための各種キーを備えている
キーボードを示している。4はCRTI上の点を指し示
すポインティングデバイスを示し、5は本装置全体の動
作をROM6中の各種プログラムに従って制御するCP
Uを示している。6は制御プログラム、エラー処理プロ
グラム、第9図のフローチャートに従ってCPU1を動
作させるためのプログラム等を格納しているROMを示
し、7はROMB中の各種プログラムのワークエリア及
びエラー処理時の一時退避エリアとして用いるRA’M
を示している。
FIG. 1 is a block diagram showing the configuration of a character processing device according to this embodiment. In FIG. 1, l indicates a bit map display (hereinafter referred to as rcRTJ) that forms the display screen in the formatting state of the document or in the fill mode, which is a feature of this embodiment, and 2 indicates the display data of the CRTI. A video RAM (hereinafter referred to as rVRAM) to be developed is shown, and 3 is a keyboard provided with various keys for creating and editing documents, as well as writing and reading documents to and from a disk 8, which will be described later. 4 indicates a pointing device that points to a point on the CRTI, and 5 indicates a CP that controls the operation of the entire device according to various programs in ROM 6.
It shows U. Reference numeral 6 indicates a ROM that stores a control program, an error processing program, a program for operating the CPU 1 according to the flowchart of FIG. 9, etc., and 7 indicates a work area for various programs in the ROM and a temporary save area during error processing. RA'M used as
It shows.

8は読出し書込みが自在のデータ保存用として用いるハ
ードディスクドライブ又はフロッピーディスクドライブ
のディスクを示し、9は本実施例の組版結果をプリント
して出力するプリンタを示し、10は本装置内部のアド
レス信号、データ、制御信号を伝送するパスラインを示
している。
Reference numeral 8 indicates a disk of a hard disk drive or floppy disk drive used for data storage that can be freely read and written, 9 indicates a printer that prints and outputs the formatting result of this embodiment, and 10 indicates an address signal inside the device; It shows path lines that transmit data and control signals.

ここで、本実施例の字詰めモードを説明する。Here, the character filling mode of this embodiment will be explained.

尚、以下の説明では、かな文字を字詰めモードの対象と
する。
In the following explanation, kana characters will be used in the fill-in mode.

処理の前提として、字詰めの可能な文字は、縦組、横組
、又は、双方で字詰め可能な文字がある。
As a premise of the processing, characters that can be filled in characters include characters that can be filled in vertical writing, horizontal writing, or both.

このうち、縦組、横組双方で字詰め可能と考えられるも
のには、拗捉音文字がある。又、縦組時に縦方向に字詰
め可能と考えられるのは、「い」。
Among these, cursive sound characters are considered to be possible to fill in both vertical and horizontal writing. Also, the character "i" is considered to be able to be filled vertically in vertical writing mode.

「つ」、「へ」、「工」、「二」、「ハ」「へ」、「ユ
」がある。また横組時に横方向に字詰め可能と考えられ
るのは、「うJ、r<Jrt、」、rも」、「す」、「
イ」、「り」「ソ」、「りJ、rトJ、rヌ」、「ノ」
「ミ」、「メ」、「す」などがある。これらの文字につ
きシステム暗黙の詰め具合を数段階、縦方向の詰めなら
文字の上部と下部、横方向の詰めなら文字の左側と右側
、両方向とも詰められるなら文字の上部と下部を左側と
右側の詰め値を各々、例えば、全角に対するパーセント
で設定しておく。ユーザはこれらの設定値を変更できる
と共に、上記の例示文字以外の文字を追加指定して、詰
め度合を数段階、新規に設定したり、上記例示文字の一
部を字詰め処理の対象から、除外できるように設定する
ことができる。
There are "tsu", "he", "tech", "two", "ha", "he", and "yu". Also, when writing horizontally, characters that can be filled horizontally are "UJ, r<Jrt,", "rmo", "su", "
"I", "ri", "so", "riJ, rtoJ, rnu", "ノ"
Examples include "mi", "me", and "su". For these characters, the system implicitly pads the characters in several levels: vertically padded to the top and bottom of the character, horizontally padded to the left and right of the character, and if both directions are padded, the top and bottom of the character to the left and right. Each padding value is set, for example, as a percentage of full-width. Users can change these setting values, and also specify additional characters other than the example characters listed above to set the degree of padding in several levels, or exclude some of the example characters listed above from the target of character padding processing. It can be configured to do so.

そこで、実際の字詰めモードの操作方法及び操作に対応
した組版状況について説明する。
Therefore, the actual operation method of the character filling mode and the typesetting situation corresponding to the operation will be explained.

第2図は本実施例の字詰めモード時の表示画面の一例を
示す図であり、第3図はユーザ字詰め情報テーブルを説
明する図である。第2図において、30はCRTIの表
示画面のほぼ中央に字詰め対象の文字を表示する文字表
示欄を示し、31は表示画面上段に位置する文字コード
入力用の文字コード欄を示している。32は字詰め量入
力欄を示し、この字詰め量人力欄32には、縦組、横組
それぞれの字詰めの度合に応じた字詰め量(ゆるい字詰
、中間の字詰、きつい字詰めの3段階)がパーセントで
設定される。また、この文字表示欄30中において、最
も内側の2本の破線33は横組でのきつい字詰量を示す
字詰め設定幅を示し、この破線33の外側に位置する2
本の破線34は横組での中間の字詰量を示す文字設定幅
を示し、次の最も外側の2本の破線35は横組でのゆる
い字詰量を示す文字設定幅を示している。尚、上述の3
つの破線は横組の場合の文字設定幅をそれぞれ示してい
るが、縦組の文字設定幅が設定された場合には、この縦
組での各字詰めの度合に対応した破線が表示される。こ
の場合には、破線が文字表示欄30中に縦の並びで表示
されることになる。以上の3段階に分けられた字詰め量
は、後述の組版調整時に使用される。
FIG. 2 is a diagram showing an example of a display screen in the font filling mode of this embodiment, and FIG. 3 is a diagram illustrating a user font filling information table. In FIG. 2, numeral 30 indicates a character display column for displaying characters to be filled in approximately at the center of the display screen of the CRTI, and numeral 31 indicates a character code column for inputting character codes located at the top of the display screen. Reference numeral 32 indicates a character filling amount input field, and this character filling amount manual column 32 shows the amount of character filling (3 levels of loose character filling, intermediate character filling, and tight character filling) depending on the degree of character filling for vertical writing and horizontal writing. Set as a percentage. In addition, in this character display column 30, the two innermost broken lines 33 indicate the setting width for character filling, which indicates the amount of tight character filling in horizontal writing.
The dashed line 34 in the book indicates a character setting width that indicates an intermediate amount of embedding in horizontal writing, and the next two outermost broken lines 35 indicate the character setting width that indicates a loose amount of embedding in horizontal writing. . In addition, the above 3
The two broken lines each indicate the character setting width for horizontal writing, but when the character setting width for vertical writing is set, a broken line corresponding to the degree of filling of each character in vertical writing is displayed. In this case, the broken lines will be displayed vertically in the character display field 30. The amount of padding divided into the three stages described above is used during typesetting adjustment, which will be described later.

例えば、第2図に示されるように、字詰め量入力欄32
にゆるい字詰めを左方向から10%、右方向から10%
、中間の字詰めを左方向から15%。
For example, as shown in FIG.
10% from the left and 10% from the right
, 15% of the middle text from the left.

右方向から15%、そして、きつい字詰めを左方向から
20%、右方向から20%とした場合、本実施例では第
3図のようにRAM中7にユーザ字詰め情報テーブル2
0が設定される。このユーザ字詰め情報テーブル20に
は、文字“す”の文字コード°゛264A”と縦組、横
組のそれぞれの字詰めの度合に応じた設定値がセットさ
れる。このユーザ字詰め情報テーブル20は、システム
立ち上げ時にROM6から初期値が設定されるが、第3
図のようにユーザからの字詰めの指定があれば、随時変
更可能である。尚、システム立ち上げ時に字詰め可能な
文字にたいしてすべての初期化が行われるが、ユーザ字
詰めテーブル20を保存しておくための不揮発性メモリ
を用意することによって、変更された字詰め情報を保存
できるようにしても良い。
If 15% from the right direction, tight font spacing is 20% from the left direction, and 20% from the right direction, in this embodiment, the user font spacing information table 2 is stored in RAM 7 as shown in FIG.
0 is set. In this user font-filling information table 20, setting values corresponding to the character code ゛264A'' of the character "su" and the degree of font-filling for vertical writing and horizontal writing are set. The initial value is set from ROM6 when the system starts up, but the third
As shown in the figure, if the user specifies the font spacing, it can be changed at any time. All the characters that can be padded are initialized when the system is started up, but by providing a non-volatile memory to store the user padding table 20, changed padding information can be saved. It's okay.

ここで、第4図(a)、(b)、(c)を用いて字詰め
される文字の一例を説明する。
Here, an example of characters to be filled in will be explained using FIGS. 4(a), (b), and (c).

第4図(a)は横組の字詰めに該当する文字の例を示し
、第4図(b)は縦組の字詰めに該当する文字の例を示
し、第4図(C)は横組と縦組との双方の字詰め可能な
文字の例を示している。第4図(a)には、前述の文字
“す”の横組時のゆるい字詰め、中間の字詰め、きつい
字詰めにそれぞれ対応する破線33〜35が表示されて
いる。第4図(b)には、文字”い”の縦組時のゆるい
字詰め。
Figure 4 (a) shows an example of characters that correspond to horizontal writing, Figure 4 (b) shows an example of characters that correspond to vertical writing, and Figure 4 (C) shows an example of characters that correspond to horizontal writing. Examples of characters that can be filled in both vertical and vertical writing are shown. In FIG. 4(a), broken lines 33 to 35 are displayed, which correspond to the loose character spacing, intermediate character spacing, and tight character spacing, respectively, in horizontal writing of the character "su" described above. Figure 4 (b) shows the loose character filling of the character "i" when written vertically.

中間の字詰め、きつい字詰めにそれぞれ対応する破線3
3〜35が表示されている。そして、第4図(c)には
、文字“つ”の横組と縦組との双方の字詰めに対応する
破線33〜35が表示されている。
Broken line 3 corresponding to medium font spacing and tight font spacing, respectively.
3 to 35 are displayed. Further, in FIG. 4(c), broken lines 33 to 35 corresponding to the character spacing of the character "tsu" in both horizontal and vertical writing are displayed.

ここでは、矢印Pの示す方向が縦組時のきつい字詰め〜
ゆるい字詰めに対応する文字設定幅の変化を示し、矢印
Qの示す方向が横組時のきつい字詰め〜ゆるい字詰めに
対応する文字設定幅の変化を示している。このように横
組と縦組との双方の字詰めを行う場合には、字詰め量人
力欄32に縦組、横組のそれぞれの設定項目に字詰め量
を設定すれば良い。
Here, the direction indicated by arrow P is tight font spacing in vertical writing ~
It shows a change in character setting width corresponding to loose character filling, and the direction indicated by arrow Q shows a change in character setting width corresponding to tight character filling to loose character filling in horizontal writing. In this way, when performing character filling for both horizontal writing and vertical writing, it is sufficient to set the character filling amount in the setting items for vertical writing and horizontal writing in the character filling amount manual column 32.

次に、本実施例の組版処理について説明する。Next, the formatting process of this embodiment will be explained.

第9図はCPU5のユーザ字詰め情報の設定動作を説明
するフローチャートであり、第10図はCPU5の組版
動作を説明するフローチャートである。
FIG. 9 is a flowchart illustrating the setting operation of user font filling information by the CPU 5, and FIG. 10 is a flowchart illustrating the typesetting operation of the CPU 5.

第5図、第6図(a)、(b)、第7図、第8図(a)
、(b)は組版処理の流れを説明する工程図である。尚
、以下の説明では、既にシステムの立ち上げが終了し、
ユーザ字詰めテーブル2oはROM6からの字詰め情報
の読み出しで初期化済みである。また、第5図、第6図
(a)、(b)、第7図、第8図(a)、(b)中、1
00は行頭、101は行末、200,201はユーザ指
定の字詰めモードで字詰め情報が設定された文字を組版
する領域、202は行の最後の文字を組版する領域をそ
れぞれ示している。
Figure 5, Figure 6 (a), (b), Figure 7, Figure 8 (a)
, (b) are process diagrams illustrating the flow of typesetting processing. In addition, in the following explanation, the system startup has already been completed,
The user padding table 2o has been initialized by reading the padding information from the ROM 6. In addition, in Fig. 5, Fig. 6 (a), (b), Fig. 7, Fig. 8 (a), (b), 1
00 is the beginning of the line, 101 is the end of the line, 200 and 201 are areas for formatting characters for which padding information is set in a user-specified padding mode, and 202 is a region for formatting the last character of the line.

ここで、ユーザ字詰め情報の設定方法について説明する
。まず、キーボード3からユーザ字詰め情報の設定指示
があると、第2図で説明した字詰めの設定画面がCRT
Iの表示画面に表示され(ステップ5100)、処理は
文字コードの入力待ち状態となる(ステップ5lot)
。このステップ5lotの入力待ち状態で他の処理がキ
ーボード3から指示されると、ユーザ字詰め情報の設定
処理を抜けて他の処理が開始される(ステップ5102
)。また、文字コードが入力されると、この入力文字コ
ードに対応した文字パターンが文字表示欄30に表示さ
れる(ステップ5103)。このとき、入力文字コード
に対応した文字C以下、「対象文字」と称す)の字詰め
量の初期値がユーザ字詰めテーブル20を参照して字詰
め量人力匍32に設定される。これと同時に、文字表示
欄30には、初期値に対応した文字設定幅の破線33〜
35が対象文字を挟むようにして表示される。ユーザが
この対象文字の字詰めの度合を変更(設定)するのであ
れば、キーボード3及びポインティングデバイス4によ
って字詰め量人力欄32の各値が変更され、これと同時
に文字設定幅を示す破線33〜35の位置が変更(設定
)される。
Here, a method of setting user font filling information will be explained. First, when the user receives an instruction to set font information from the keyboard 3, the font setting screen explained in Figure 2 appears on the CRT.
It is displayed on the display screen of I (step 5100), and the process waits for character code input (step 5lot).
. If another process is instructed from the keyboard 3 while waiting for input in step 5lot, the process exits from the user font information setting process and other processes are started (step 5102).
). Further, when a character code is input, a character pattern corresponding to the input character code is displayed in the character display field 30 (step 5103). At this time, the initial value of the amount of padding for the character C corresponding to the input character code (hereinafter referred to as "target character") is set in the padding amount 32 with reference to the user padding table 20. At the same time, the character display field 30 displays dashed lines 33 to 33 with the character setting width corresponding to the initial value.
35 are displayed sandwiching the target character. If the user wants to change (set) the degree of character filling of this target character, each value in the character filling amount column 32 is changed using the keyboard 3 and pointing device 4, and at the same time, the dashed lines 33 to 35 indicating the character setting width are changed. The position of is changed (set).

このようにして、対象文字の字詰め情報の変更(設定)
処理が終了すると、ユーザ字詰め情報テーブル20の内
容は変更(設定)された字詰め情報に基づいて変更(設
定)される(ステップ5104)。ここで、「変更」と
いうのは、既にユーザ字詰め情報テーブル20に初期値
(“0”以外の数値)が設定されている場合を表し、ユ
ーザ字詰め情報テーブル20にすべて°“O″の初期値
が設定されている場合には、「設定」と表現する。
In this way, change (setting) the font information of the target character
When the process is completed, the contents of the user font filling information table 20 are changed (set) based on the changed (set) font filling information (step 5104). Here, "change" means that an initial value (a number other than "0") has already been set in the user font information table 20, and all initial values of "O" are set in the user font information table 20. If it is set, it is expressed as "setting".

上述のステップ5104の後に、他の文字に対しても字
詰め量の設定或は変更の要求があれば、ステップ5IO
Iに進み上述のステップ5lot〜ステツプ5104ま
での処理が繰り返される(ステップ5105)。
After step 5104 described above, if there is a request to set or change the padding amount for other characters, step 5IO
The process proceeds to step I, and the processes from step 5lot to step 5104 described above are repeated (step 5105).

以上のようにしてユーザの要求する字詰め情報の設定が
終了すると、ユーザ字詰め情報の設定処理が終了する。
When the setting of the font filling information requested by the user is completed as described above, the user font filling information setting process ends.

次に、組版処理方法について説明する。Next, the typesetting processing method will be explained.

まず、組版に際して、ユーザ指定の字詰めモードが設定
されているかどうかの判定が行われる(ステップ510
)。もし通常のモードの場合には、予め各文字に設定さ
れている字詰め量に基づいて文書の仮組版(べた組)が
行われる(ステップ511)。
First, during typesetting, it is determined whether a user-specified font filling mode is set (step 510).
). If the mode is normal, temporary formatting (solid formatting) of the document is performed based on the amount of padding set for each character in advance (step 511).

このステップS2の仮組版以降の説明は後述する。The explanation after the temporary formatting in step S2 will be described later.

また、ユーザ指定の字詰めモードの場合には、ユーザ字
詰め情報テーブル20に設定されている字詰め量(ゆる
い字詰め)に基づいて仮組版が行われる(ステップ51
2)。
In addition, in the case of the user-specified character filling mode, temporary typesetting is performed based on the character filling amount (loose character filling) set in the user character filling information table 20 (step 51
2).

まず、通常モードによる仮組版の字詰め調整処理につい
て説明する。そこで、上述のステップSllで組まれた
通常のモードによる仮組版が、例えば、第5図に示され
るような横の仮組版が最初に行われたとする。この場合
、行の最後の文字の領域202が行末101からはみ出
しているため、ユーザ字詰め情報テーブル2oに記憶さ
れている字詰め量に基づいた追い込み処理(字詰め補正
処理の1つ)が字詰め可能な文字の領域200.201
に対して行われる(ステップ513)。尚、べた組時の
1文字分の領域幅はβ。とし、通常モードの追い込み処
理はユーザ字詰め情報テーブル20の字詰め情報に基づ
いてゆるい字詰めから開始される。
First, the character filling adjustment process for temporary typesetting in the normal mode will be explained. Therefore, it is assumed that the temporary formatting in the normal mode set in the above-mentioned step Sll is performed first, for example, the horizontal temporary formatting as shown in FIG. 5. In this case, since the area 202 of the last character of the line protrudes from the end of the line 101, the character that can be filled with the fill-in process (one of the fill correction processes) based on the fill amount stored in the user fill information table 2o Area of 200.201
(Step 513). In addition, the area width for one character in solid type is β. Then, the normal mode finishing process starts from loose font filling based on the font filling information in the user font filling information table 20.

例えば、上述の字詰めの結果、必要以上の字詰めによっ
て領域202と行末101との間に空欄が生じた場合、
この詰め過ぎた空欄の幅が全文字の領域に均等に割り付
けられる(ステップ514)。この字詰め補正の結果が
最終的な組版としてCRTI上の表示画面に表示される
(ステップ515)。また、追い込み処理によって領域
202が行末101に丁度一致した場合(ステップ51
4)、この追い込み処理の結果が最終的な組版としてC
RTI上の表示画面に表示される(ステップ515)。
For example, if a blank space is created between the area 202 and the end of the line 101 due to unnecessary font filling as a result of the above-mentioned font filling,
The width of this overfilled blank space is evenly allocated to all character areas (step 514). The result of this font correction is displayed on the display screen of the CRTI as the final formatting (step 515). Further, when the region 202 exactly matches the end of the line 101 due to the finishing process (step 51
4) The result of this finishing process is C as the final typesetting.
It is displayed on the display screen on the RTI (step 515).

または、追い込み処理を行っても行末101より領域2
02がはみ出している場合には、中間の字詰め、きつい
字詰めへと追い込みの度合を増して行くようにする。こ
のようにしても、行末101より領域202がはみ出し
ている場合には、行の最後の文字の領域202が次行の
先頭に追い出され、この追い出しによって生じた空欄が
残った行内の文字の領域全部に均等に割り付けられる(
ステップ514)。このようにして組版の調整を行うこ
とで最終的な組版がCRTI上の表示画面に表示される
(ステップ515)。
Or, even if the finishing process is performed, area 2 from the end of the line 101
If 02 is protruding, the degree of tightening should be increased to intermediate or tighter spacing. Even if you do this, if the area 202 protrudes from the end of the line 101, the area 202 of the last character in the line will be pushed out to the beginning of the next line, and the blank space created by this removal will remain in the area of the characters in the line. Allocated equally to all (
Step 514). By adjusting the format in this way, the final format is displayed on the display screen on the CRTI (step 515).

次に、ステップS12の仮組版の結果に応じた組版の調
整処理について第6図(a)、(b)、第7図、第8図
(a)、(b)を用いて説明する。
Next, the formatting adjustment process according to the result of the temporary formatting in step S12 will be explained using FIGS. 6(a), (b), FIG. 7, and FIG. 8(a), (b).

例えば、第6図(a)のように、字詰め可能な同一文字
の領域2゛00.201が左右からの字詰め量β38℃
、によって字詰めされ、この仮組版で行末101と行の
最後の文字の領域202との間に空欄が生じてしまった
場合、領域200,201の横幅A2 (I2z =j
2o  2f2+ )では詰め過ぎとなる。
For example, as shown in Fig. 6(a), the area 2゛00.201 of the same character that can be filled in characters is the amount β38 degrees Celsius of characters filled in from the left and right.
, and if a blank space occurs between the end of line 101 and the area 202 of the last character of the line in this temporary formatting, the width A2 of areas 200 and 201 (I2z = j
2o 2f2+ ) is too crowded.

従って、組版調整の必要有りと判定され(ステップ51
3)、空欄を同一行中のすべての文字の領域に均等に割
り付けて、第6図(b)のように行末101と行の最後
の文字の領域202とを一致させる(ステップ514)
 この均等に割り付ける量を4、とすると、字詰めしな
い文字の領域の横幅はβ。+03となり、字詰め可能な
文字の領域200.201の横幅はβ2十β3となる。
Therefore, it is determined that typesetting adjustment is necessary (step 51).
3) Allocate blank spaces evenly to the areas of all characters in the same line, and match the end of the line 101 with the area 202 of the last character in the line as shown in FIG. 6(b) (step 514).
If this equal allocation amount is 4, then the width of the character area without padding is β. +03, and the width of the character areas 200 and 201 that can be filled is β20β3.

このようにして組版の調整処理が終了すると、再組版と
してCRTIの表示画面に表示する(ステップ515)
When the formatting adjustment process is completed in this way, it is displayed on the CRTI display screen as a re-composed format (step 515).
.

また、上述したステップS12の仮組板が第7図のよう
に調整を必要としない場合(ステップ513)、この仮
組板を最終的な組版として、ユーザの指定する文書がC
RTIの表示画面に表示される(ステップ516)。こ
こでは、領域200,201の左右からの字詰め量はそ
れぞれで、で示され、横幅はI24で示されている。
Further, if the temporary composition board in step S12 described above does not require adjustment as shown in FIG. 7 (step 513), this temporary composition board is used as the final composition, and the document specified by the user is
The information is displayed on the RTI display screen (step 516). Here, the amount of indentation from the left and right sides of the areas 200 and 201 is indicated by , respectively, and the width is indicated by I24.

また、ステップS12の仮組板の結果、行末101から
行の最後の文字の領域202がはみ出すため仮組板には
調整が必要となり(ステップ513)、ユーザ字詰め情
報テーブル20に基づいてきつい字詰めまで行われる。
Furthermore, as a result of the temporary composition board in step S12, the region 202 of the last character in the line protrudes from the end of the line 101, so the temporary composition board requires adjustment (step 513), and the user can adjust the character size according to the user font information table 20 until it is tight. It will be done.

このようにしても第8図(a)のように領域202が行
末101からはみ出してしまう場合には、第8図(b)
のように領域202は行中から追い出されて次行の行頭
100にセットされる(ステップ514)。ここでは、
一番きつい字詰め量が左右ともで7を示し、このときの
領域200.201の横幅がそれぞれβ、を示している
。そして、領域202が追い出されたときの空欄は、均
等に同一行のすべての文字の領域に割り付けられる。こ
の割り付けられる量は℃8を示している。この再組版の
結果がCRTlの表示画面に表示される(ステップ51
5)。以上の処理は、特に組版の出力光を表示画面とし
ているが、出力光をプリンタ9にすることは、公知の技
術なので説明を省略する。
Even if this is done, if the area 202 protrudes from the end of the line 101 as shown in FIG. 8(a), as shown in FIG. 8(b).
The area 202 is removed from the line and set at the beginning 100 of the next line (step 514). here,
The tightest amount of font filling is 7 on both the left and right sides, and the widths of the areas 200 and 201 at this time are respectively β. The blank space left when area 202 is removed is equally allocated to all character areas on the same line. This assigned amount indicates ℃8. The result of this recomposition is displayed on the display screen of the CRTl (step 51).
5). In the above processing, in particular, the output light of the typesetting is used as the display screen, but since it is a well-known technique to use the output light as the printer 9, the explanation will be omitted.

以上説明したように本実施例によれば、組版途中の行の
最終文字を簡単に次行に追い出すことを避けて、柔軟に
文字の組版を行うことができる。
As described above, according to the present embodiment, characters can be flexibly typewritten by avoiding simply expelling the last character of a line in the middle of formatting to the next line.

さて、上述した実施例では、ユーザ指定の字詰めモード
の指定があればユーザ字詰め情報テーブル20に基づい
て強制的に字詰めを行った仮組が成されているが、本発
明はこれに限定されるものではなく、表示中の文字をボ
インテイングボバイス4を使用してCRTIの表示画面
中より指定し、この指定によってユーザ字詰め情報テー
ブル20の字詰め情報を参照しながらその指示された文
字の領域を隣り合う文字の間を強制的に字詰めするよう
にしても良い。例えば、字詰めによって空欄が生じるよ
うな場合、この空欄の幅を上述の実施例と同様に同一行
内の全字間に均等に割り付けるようにすれば良い。
Now, in the above-described embodiment, if there is a user-specified font-filling mode designation, a temporary set is created in which font-filling is forcibly performed based on the user-specified font-filling information table 20, but the present invention is not limited to this. Rather than specifying a character on display, use the pointing voice vise 4 to specify the displayed character from the CRTI display screen, and by this specification, while referring to the font information in the user font information table 20, select the area of the specified character. It is also possible to forcibly fill in the spaces between adjacent characters. For example, if a blank space is created due to character filling, the width of this blank space may be equally allocated between all characters in the same line, as in the above-described embodiment.

また、ユーザ字詰め情報をROM6に格納しておくので
はなく、ディスク8から読出すようにしても良い。
Further, the user character filling information may be read from the disk 8 instead of being stored in the ROM 6.

さて、上述した実施例では、字詰め量人力欄32に設定
された値に対応して文字設定幅を表す破線33〜35が
表示されているが、本発明はこれに限定されるものでは
なく、マウス等のポインティングデバイスで文字表示欄
中に文字設定幅を指示することで破線を表示し、この指
示された破線の位置から字詰め量を演算して字詰め量入
力欄に数値を設定するようにしても良い。
Now, in the above-mentioned embodiment, the broken lines 33 to 35 representing the character setting width are displayed in correspondence with the value set in the character filling amount manual field 32, but the present invention is not limited to this. By specifying the character setting width in the character display field with a pointing device such as a mouse, a broken line is displayed, the amount of character padding is calculated from the position of the specified dashed line, and a value is set in the character padding amount input field. Also good.

[発明の効果〕 以上説明したように本発明によれば、柔軟性を有した文
字の組版によって使い勝手の良い文字処理装置を提供し
てくれる。
[Effects of the Invention] As explained above, according to the present invention, an easy-to-use character processing device is provided through flexible character typesetting.

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

第1図は本実施例の文字処理装置の構成を示すブロック
図、 第2図は本実施例の字詰めモード時の表示画面の一例を
示す図、 第3図はユーザ字詰め情報テーブルを説明する図、 第4図(a)は横組の字詰めに該当する文字の例を示す
図、第4図(b)は縦組の字詰めに該当する文字の例を
示す図、第4図(c)は横組と縦組との双方の字詰め可
能な文字の例を示す図、第5図、第6図(a)、(b)
、第7図、第8図(a)、(b)は組版処理の流れを説
明する工程図、 第9図はCPU5のユーザ字詰め情報の設定動作を説明
するフローチャート、 第10図はCPU5の組版動作を説明するフローチャー
トである。 図中、l・・・CRT、2・・・VRAM、3・・・キ
ーボード、4・・・ポインティングデバイス、5・・・
CPU。 6・・・ROM、7・・・RAM、8・・・ディスク、
9・・・プリンタ、10・・・パスライン、20・・・
ユーザ字詰め情報テーブル、30・・・文字表示欄、3
1・・・文字コード欄、32・・・字詰め量入力欄、3
3〜35・・・破線、100 ・・・行頭、101 ・
・・行末、200,201,202・・・領域である。
FIG. 1 is a block diagram showing the configuration of the character processing device of this embodiment. FIG. 2 is a diagram showing an example of the display screen in the font filling mode of this embodiment. FIG. 3 is a diagram explaining the user font filling information table. , Figure 4 (a) is a diagram showing an example of characters that correspond to the character spacing in horizontal writing, Figure 4 (b) is a diagram showing an example of characters that correspond to the character filling in vertical writing, and Figure 4 (c) is a diagram showing an example of characters that correspond to the character filling in vertical writing. Figures 5, 6 (a) and (b) showing examples of characters that can be filled in for both horizontal and vertical writing.
, FIG. 7, FIG. 8 (a), and (b) are process diagrams explaining the flow of the typesetting process, FIG. 9 is a flowchart explaining the setting operation of the user font information of the CPU 5, and FIG. 10 is the typesetting process of the CPU 5. It is a flowchart explaining the operation. In the figure, 1...CRT, 2...VRAM, 3...Keyboard, 4...Pointing device, 5...
CPU. 6...ROM, 7...RAM, 8...disk,
9...Printer, 10...Pass line, 20...
User padding information table, 30...Character display field, 3
1...Character code field, 32...Character padding amount input field, 3
3-35...broken line, 100...beginning of line, 101 ・
. . . line end, 200, 201, 202 . . . area.

Claims (3)

【特許請求の範囲】[Claims] (1)文字処理装置において、 文字ごとに対応する字詰め情報を入力する入力手段と、 組版時に前記入力手段で入力された字詰め情報に基づい
て組版対象の文字を字詰めする字詰め手段とを備えるこ
とを特徴とする文字処理装置。
(1) The character processing device is provided with input means for inputting padding information corresponding to each character, and padding means for padding the characters to be typewritten based on the padding information inputted by the input means during typesetting. Characteristic character processing device.
(2)文字処理装置において、 文字ごとに字詰めの度合を複数段階に分けて記憶する記
憶手段と、 組版時に前記記憶手段で記憶されている複数段階の字詰
めの度合に基づいて組版を調整する調整手段とを備える
ことを特徴とする文字処理装置。
(2) In the character processing device, a storage means for storing the degree of character filling in multiple stages for each character, and an adjustment for adjusting typesetting based on the degree of character filling in the plurality of stages stored in the storage means during typesetting. A character processing device comprising: means.
(3)前記記憶手段は、文字ごとの複数段階の字詰めの
度合を記憶するテーブルを有していることを特徴とする
請求項第2項記載の文字処理装置。
(3) The character processing device according to claim 2, wherein the storage means has a table that stores the degree of character filling in multiple stages for each character.
JP06102989A 1989-03-15 1989-03-15 Character processing method and apparatus Expired - Fee Related JP3193031B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06102989A JP3193031B2 (en) 1989-03-15 1989-03-15 Character processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06102989A JP3193031B2 (en) 1989-03-15 1989-03-15 Character processing method and apparatus

Publications (2)

Publication Number Publication Date
JPH02297128A true JPH02297128A (en) 1990-12-07
JP3193031B2 JP3193031B2 (en) 2001-07-30

Family

ID=13159462

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06102989A Expired - Fee Related JP3193031B2 (en) 1989-03-15 1989-03-15 Character processing method and apparatus

Country Status (1)

Country Link
JP (1) JP3193031B2 (en)

Also Published As

Publication number Publication date
JP3193031B2 (en) 2001-07-30

Similar Documents

Publication Publication Date Title
US4608662A (en) Method for editing document
JPH02297128A (en) Character processor
JPS60142770A (en) Character string arrangement control system
JP3013577B2 (en) Memory management device and printer with memory management device
JPH0522933B2 (en)
JP2592245B2 (en) Data processing device
JPH079652B2 (en) Character processor
JPS6349874A (en) Controlling system for form data
EP0105491A2 (en) Font display and text editing system
JPS6365988B2 (en)
JP2621869B2 (en) Document editing device
JP4266392B2 (en) Document processing apparatus and method
JP2864425B2 (en) Electronic learning machine
JPH08137878A (en) Document processing method and apparatus
JP2610963B2 (en) Automatic tabulation device
JPS59180620A (en) Document formation device
JPH01129351A (en) character processing device
JPH07106654B2 (en) Information processing method
JPH077391B2 (en) Document processor
JPH07106653B2 (en) Information processing method
JPS62197873A (en) text processing device
JPH05135038A (en) Document processing method and apparatus
JPH0744344A (en) Information processing device control method
JPH0345398B2 (en)
JPH0250759A (en) Document formatting method and document processing device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees