[go: up one dir, main page]

JP2592840C - - Google Patents

Info

Publication number
JP2592840C
JP2592840C JP2592840C JP 2592840 C JP2592840 C JP 2592840C JP 2592840 C JP2592840 C JP 2592840C
Authority
JP
Japan
Prior art keywords
character
enlargement
line
size
display
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 - Lifetime
Application number
Other languages
Japanese (ja)
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Publication date

Links

Description

【発明の詳細な説明】技術分野 この発明は、ワードプロセツサ等の各種文字処理装置に関し、特にその入力し
た文字の拡大指定及び表示技術に関する。従来技術 従来、ワードプロセツサ等において文字の拡大等を行なうためには、4倍角,
倍角等予め無理なく決められた倍率に文字を拡大・表示する方法と、近来ポータ
ブルワードプロセツサにて行なわれているように、縦,横をn×m倍に任意に拡
大する拡大サイズを指定する方法等が採られていた。 4倍角,倍角など、文字単位に指定する機能については、その拡大の大きさを
2倍とし、これを固定にすることによつて表示及び印刷の処理を軽減し、処理ス
ピードや機械コストを抑える方法が採られて来た。 また、縦,横の拡大がn×m倍の任意の拡大サイズに指定する場合は行単位に
指定し、これを印刷指示の際に、指定のn×m倍の処理が一連の処 理の中ですべて同様に行なわれるようにすることにより、処理の軽減を計つてい
た。 したがつて、第20図に示すように任意の拡大サイズに指定をした文字を含む
行に対して文字を入力する場合にも、文字入力は拡大後の文字の大きさを考慮し
ていないため通常行と同じ文字数の文字を入力できるので、第21図に示すよう
に印刷時に拡大した文字が用紙幅を越えて欠落してしまうことがあつた。 また、第22図に示すように2種類の拡大倍率が異なる文字が多数ある場合は
、文字毎に毎回拡大倍率の指定をやり直した後に、拡大指定を行なわなければな
らず、非常に面倒なものとなつていた。 このように、文書作成編集時には拡大印刷結果を考慮しながら文字を入力しな
ければならなかつたり、また毎回拡大倍率の異なる文字の拡大倍率の指定をやり
直すというように、非常に操作性が悪い問題点があつた。目 的 この発明は、上記の点に鑑みてなされたものであり、文書作成の多様性と拡大
倍率指定の操作性を向上させることを目的する。構 成 この発明は、上記の目的を達成するため、少なくとも入力装置と表示装置とを
備え、入力装置より入力された文字等を表示装置に表示して編集・校正が行なえ
る文字処理装置において、 入力装置からの指示により表示装置に表示した文字等を拡大表示するため複数
の任意拡大倍率指定手段と、その倍率で拡大する対象文字又は文字列を別個に指
定する拡大文字指定手段と、その拡大倍率で画面に表示する表示手段とを設けた
ものである。 以下、この発明の一実施例に基づいて具体的に説明する。 第2図は、この発明を実施した文字処理装置、例えばパーソナルワード プロセツサの外観斜視図である。 このパーソナルワードプロセツサは、キーボードによる入力装置1と、液晶デ
イスプレイ装置(LCD)による表示装置2と、サーマルプリンタによる印刷装
置3と、外部記憶装置としてのフロツピーデイスク装置4とを備えている。 そのキーボード1には、文字を入力する文字キー,かな漢字変換を指示する変
換キー,文字キーで入力する文字を切り換えるシフトキー,改行キー等を含むキ
ー群10と、文字キーとの組合せで各種機能を指示する機能指示キー11と、各
種処理の実行を指示する実行キー12と、プリントを指示するプリントキー13
と、液晶ディスプレイ装置2のカーソル及びプリンタ3の印字ヘッドの移動を指
示するカーソル移動キー群14と、各種のモード設定キー群15及び拡大1キー
16,拡大2キー17等を備えている。 また、液晶ディスプレイ装置(LCD)2は、入力されたかな漢字変換後の文
字,ケイ線等を表示する編集エリアと、左端・右端,タブ位置等の行に関する情
報(行情報)を表示する行情報表示エリアと、桁数又は文字数等の情報を表示す
るスケール表示エリアと、キー入力文字,候補漢字,入力モード,カーソルの現
在位置(頁,行,桁),用紙サイズ,最大文字数,全/半角,印刷条件(文字間
隔,行間隔,印刷モード,縦/横書)等のガイダンスを表示するガイダンス表示
エリアと、現編集中の文書の1頁内の文字又はケイ線等のフォーマットを縮小し
たレイアウト及び外字作成時の作成パターン等を表示するレイアウト表示エリア
とを有する。 第3図は、このパーソナルワードプロセツサの制御部の一例を示すブロツク図
である。 この制御部20のマイクロコンピュータ(以下「マイコン」と称す」)21は
、CPU,ROM,RAM及びI/O等からなり、文書作成編集, 表示制御,印刷制御,文字拡大制御等この装置全体の制御を司る。 ROM22には、この装置の制御に必要な制御プログラム,標準的な書式(用
紙サイズ,用紙方向,文字ピツチ,行ピツチ)情報,文字コード等の各種の固定
情報を格納している。 RAM23は、キーボード1から入力されるデータを格納する入力バツフアエ
リア,入力された文字データを格納するテキスト格納エリア,後述するFDD4
から読み込んだ文字パターンを格納するキヤラクタジエネレータエリア,設定書
式情報及び行情報等を格納するエリア等を含む各種のデータを格納するデータエ
リア及びプログラム実行のためのワーキングエリアとして使用する。 辞書メモリ24は、かな漢字変換に必要な辞書を格納した辞書エリアと、予め
定めた書体例えばゴシツク体あるいは明朝体の文字の文字パターンを格納した文
字パターン格納エリア(キヤラクタジエネレータ)とによつて構成される。 キーボードコントローラ25は、キーボード1からの入力データの判別やキー
に付設した図示しないLEDの点灯制御データの転送等を司り、LCDコントロ
ーラ26は内部にビデオメモリ(VRAM)等を備えて液晶デイスプレイ装置2
の表示制御を司り、フロツピデイスクコントローラ(FDC)27はFDD4の
制御を司る。 なお、FDD4に装填されるフロツピデイスクには予め定めた書式例えば明朝
体の文字の文字パターンを格納したフロツピデイスク,ゴシツク体の文字パター
ンを格納したフロツピデイスク等がある。 そして、プリンタ3の制御を司るマイコン21は、I/O28に印字文字に応
じたヘツドドライブデータを出力して、ドライバ29を介してサーマルヘツド(
印字ヘツド)30の各発熱素子を駆動制御して所要の文字を印字する。 また、マイコン21は、I/O28にスペースドライブデータを出力してドラ
イバ31を介してスペースモータ32を駆動制御してキヤリツジ33を移動し、
またラインフイードドライブデータを出力してドライバ34を介してラインフイ
ードモータ35を駆動制御してプラテン36を回動し、更にリボンフイードドラ
イブデータを出力してドライバ37を介してリボンフイードモータ38を駆動制
御してリボン39を移動させる。 第1図は、この制御部内の文字拡大表示制御に係る部分を機能的に示すブロツ
ク図である。 この制御部内の文字拡大表示制御に係る部分は入力装置1と表示装置2の間に
、入力制御部25,文字編集部40,表示行展開部41,書式フオーマツト情報
部42,テキストバツフア43,表示中テキスト情報部44,拡大指定制御部4
5,拡大サイズ指定部46,拡大サイズ格納エリア47,カーソル制御部48,
ケイ線バツフア部49,キヤラクタジエネレータ(CG)50,拡大切出し部5
1,位置補正指定部52,テキスト拡大位置補正更新部53及び表示制御部26
により構成されている。 入力装置1はキーボードであり、前述したように文字,ケイ線,カーソル移動
,文字拡大等の各種キーデータを入力する。 入力制御部25は、入力装置1より入力された各種キーデータを判別し、その
判別結果にしたがつて夫々の機能部にこのデータを転送する。 文字編集部40は、入力装置1から入力されたキーデータが文字データである
と入力制御部25が認識した場合は、入力制御部25からこの文字データを受け
取つて文字の編集を行なう。 表示行展開部41は、テキストバツフア43や書式フオーマツト情報部42よ
り順次データを取り出し、表示中テキスト情報を作成しながら、1行分の文字の
横方向の配置を決定する。 書式フオーマツト情報部42は、書式に関するフオーマツト情報を格納 し、これを表示行展開部41に出力する。 テキストバツフア43は、通常の文字コードと拡大指定時の文字コード及び、
中央揃え,下揃え拡大指定時の文字コードを第8図,第9図及び第10図に示す
ような内容にして、一時的にこれらのデータを格納している。 表示中テキスト情報部44は、表示行展開部41で決定した文字の横方向の配
置を1行分について、第11図に示すように通常文字1文字分の大きさを物理行
として、最大縦拡大サイズを算出しこれをこの行の論理行として、拡大サイズテ
ーブル,表示情報テーブルを作成して表示行展開部41に出力する。 拡大指定制御部45は、入力装置1より拡大が指示された時は、カーソル制御
部48のカーソル情報と、拡大サイズ格納エリア47の拡大サイズを表示行展開
部41に表示変更として出力する。またテキストバツフア43にも拡大サイズ格
納エリア47の拡大サイズを出力する。 拡大サイズ指定部46は、入力装置1より拡大サイズの変更の入力があると、
入力制御部25よりこの拡大サイズデータを受取り、これを拡大サイズ格納エリ
ア47に転送すると共に、これを表示装置2にメツセージ表示をするため表示制
御部26に出力する。 拡大サイズ格納エリア47は、複数個(この実施例では2個)の拡大サイズエ
リアを持ち、拡大サイズ指定部46より拡大サイズの指定データを受け、この拡
大サイズをそれぞれの拡大サイズ格納エリアに格納すると共に、拡大指定制御部
45に拡大サイズを出力する。 カーソル制御部48は、カーソル情報を入力制御部25より入力し、これを文
字編集部40や表示行展開部41,拡大指定制御部45及び表示制御部26に出
力する。 ケイ線バツフア部49はケイ線に関するデータを一時格納し、必要に応 じてこれを表示行展開部41に出力する。 キヤラクタジエネレータ(CG)50は、文字フオントデータを格納しこのフ
オントデータを拡大切出し部51に出力する。 拡大切出し部51は、表示行展開部41より受け取つた文字コード及び表示中
テキスト情報部 44の拡大サイズテーブルや表示情報テーブル等の情報を表示
行展開部41を経由して入力し、キヤラグタジエネレータ(CG)50から文字
フオントデータを探索してこれを取り出し、これらの情報を基に拡大文字の切出
しを行ない、それぞれの拡大サイズにより拡大処理を行なう。そして、このデー
タを表示フオントデータとして表示制御部26を通して表示装置2に表示させる
。 位置補正指定部52は、入力装置1より位置補正のキー入力があると、入力制
御部25よりこれを受取り、第16図に示すようなメツセージ表示の指示を表示
制御部26にする。そして、更にテキスト拡大位置補正更新部53にもこの情報
を出力する。 テキスト拡大位置補正更新部53は、入力した拡大位置補正データをテキスト
バツフア43及び表示行展開部41に出力する。 次に、このように構成されたこの実施例の作用である文字単位毎の拡大文字の
指定及び倍率を別個に指定して表示する方法を、第4図以降の各図によつて説明
する。 第4図は、異なつた拡大サイズの文字が混在する場合の行の考え方である。 この場合は、1行中に存在する文字の中で最も縦拡大サイズの大きな文字nma
xを検出し、これをこの行の拡大サイズとする。そして、他の文字はこの行内に
含まれていると見なしてこれを処理する。 さらに次の行は、図に示すように「1行分の行間×nmax 倍」下がつた位置と
なる。このようにして行を形成すれば、文字のサイズによつては行 と行の間が大きくあく部分が生じる可能性があるが、連続した文字列を文字の大
きさによつて配置すると、行の境界が不定となり文字列の連続性も判別しにくく
なるため、このような処理方法の方が操作性も向上する。 また、文字列の連続性もくずれないため、文字の探索や認識などの処理におい
て、比較的容易に処理できる利点もある。 次に、第5図により行の変更について説明する。 第4図に示した文字列中の最大サイズnmaxの文字aを削除して、例えば第5
図に示すように、1行中の文字の最大拡大サイズが変更になつた場合には、再度
縦拡大サイズの最大文字を検出し、この行の縦拡大サイズの認識を変更する。し
たがつて、第5図の例では行の拡大サイズはn2に変更される。 また、第4図及び第5図に示すように最大拡大サイズより小さな拡大サイズの
文字は、その行の上辺を一致させて揃える。 ここで、後述する第6図の下揃え及び第7図の中央揃えの行を上揃えに変更し
たときは、第15図のフローチヤートにおける上揃えのルーチンに示すように、
行内の文字の補正値を全て削除し、テキストバツフア43も更新される。 また、この行と次の行との行間は、上述したように通常文字の1行分の行間に
この行の最大文字の倍率を掛けた行間となる。 したがつて、第4図のnmax 倍から第5図ではn2倍に変更する。 次に、第6図によつて行の下揃えについて説明する。 拡大文字の入つた行で下辺に揃える時には、第6図及び第15図のフローチヤ
ートにおける下揃えのルーチンに示す様に、縦最大拡大サイズの文字をこの行の
拡大サイズとし、それより小さな拡大文字については、図中の斜線部分(行内文
字の拡大サイズと最大拡大サイズとの差)を補正値として挿入することにより、
あたかも拡大文字が斜線部分まであるかのよう にする考え方で処理する。 この際の、一時的な拡大サイズは文字表示位置を検出するためであり、実際の
文字フオントの拡大には無関係である。 第7図は行の中央に揃える場合である。これを第15図のフローチヤートにお
ける中央揃えのルーチンも参照して説明する。 この場合も、第6図の下揃えの場合と同様に一時的な拡大サイズによる補正の
考え方を利用して、行内の各文字が行の中心に配置されるようにする。 この場合の一時的な拡大サイズ、すなわち補正値の計算方法は、(最大拡大サ
イズ−行内の文字の拡大サイズ)/2となる。なおここで、拡大サイズは縦拡大
サイズである。また上式において、余りは切上げても切捨ててもよい。 なお、上述の拡大位置補正を入力装置1の位置補正キーにより指示した場合、
表示装置2の画面に第16図に示すようなメツセージが表示される。 したがつて、このメツセージ表示から「1」を選択すれば上揃えとなり、「2
」を選択すれば下揃え,「3」を選択すれば中揃えに変更される。 次に、第11図により拡大表示方法について説明する。 第11図に示すように6×6倍の「a」の文字と、2×2倍の「b」の文字が
あつた場合、縦1倍の物理的な行に各文字をスライスし、各々の文字に対してそ
の拡大サイズから同図(ロ)に示すような切出し位置の表示情報テーブルを作成す
る。この切出し位置の算出に当っては、文字の拡大サイズの他に先の補正用の拡
大サイズ(補正値)も使用する。 この「b」の文字の場合は、下揃えで拡大サイズ2×2であるが、補正は上か
ら1,2,3,4までなので補正値「4」とセツトされている。したがつて、物
理的な行のスライスのうち上4行分については切出しを行なわないようにテーブ
ルにセツトする。 そして、表示に際しては、これらのテーブルと文字の拡大サイズによって拡大
処理を行つたフオントデータを、表示する物理行のNo(番号)に沿ったテーブル
の値により切出して表示を行なう。 次に、第12図及び第13図のフローチヤートも参照して拡大サイズ指定の方
法を説明する。 入力装置1より拡大サイズの変更の入力があつた場合は、第1図の入力制御部
25を経て、拡大サイズ指定部46に指示が転送される。拡大サイズ指定部46
では第12図に示すようなメツセージを表示制御部26を通して表示装置2に表
示させる。 この表示には、以前の拡大サイズが表示されている。そして拡大サイズの入力
を受け付ける。 次にポインタ・拡大サイズ1に縦,横の新拡大サイズを入力する。そしてこれで
入力が終了か否かを判別し更に別の文字を拡大する場合は、カーソルを移動させ
るが、カーソルが右に移動のときはポインタアツプ,カーソルが左に移動の時は
ポインタダウンであり、次の新拡大サイズを入力に戻り拡大サイズをする。 そして、入力された新しい拡大サイズは、これが最大サイズか否かがチエツク
され、拡大サイズ格納エリア47に格納して処理を終了する。 このようにして、拡大サイズが指定されるとこの指定された拡大サイズは、第
23図に示すようにガイダンスエリア内に各々表示され、次に説明するように拡
大1キー,拡大2キーの押し下げ時の倍率が即座に判断出来るようになつている
。 第14図のフローチヤートにより拡大指定の方法を説明する。 文字の拡大指示が入力装置1よりあつた場合、拡大指定制御部45にこの指示
が転送される。拡大指定制御部45はカーソル制御部48よりカーソル位置デー
タを受取り、これに該当する文字アドレスを算出する。そし て拡大1キーか拡大2キーかの指定キーにより拡大サイズ格納エリアの選択をす
る。そして該当文字に対し拡大属性(カーソル位置の文字に拡大指定)を付加す
るようテキストバツフア43を変更して処理を終了する。 なお変更後、表示行展開部41へ変更した行からの表示を要求し、拡大指定に
よる表示の変更を実現する。 次に、第8図〜第10図に示したテキストバツフアについて説明する。 先ず、テキストバツフア43の内容は拡大文字が指定されていないときは、第
8図に示す様に単に文字コードが連続しており、拡大文字が指定されると第9図
に示す様に、文字に対して拡大倍率n(縦),m(横)が各々付加される。 また、中央揃えや下揃えのような、一時的な拡大サイズの補正が行なわれた場
合は、第10図に示すようにn×m倍の他に補正用倍率n′も同時に付加される
。 このように、文字単位毎に拡大指定を行ない、拡大表示を行なうのであるが、
これを第17図のフローチヤートによつて説明する。 上述したテキストバツフア43が更新されると、表示行展開部41に対して更
新の発生した行の表示を要求する。 表示行展開部41は、テキストバツフア46より表示要求行のテキストバツフ
ア文字アドレスを算出する。 その際、書式フオーマツト情報部42より表示該当行の書式・フオーマツトデ
ータを順次取り出す。そして1行分の文字の配置可能性範囲の算出を行ないこれ
を決定する。 1行分の表示文字が決定すると、次にテキストバツフア43よりこの文字を取
出し、これが文字コードか否かの判別をする。 文字コードであれば、指定された倍率にしたがつて横拡大サイズによる文字テ
ーブルにセツトする。そして、この動作を1行分繰り返す。 先の判別結果が文字コードでなければ、拡大指示か否かが判別され、拡大指示
であれば拡大サイズを取り込みテーブルにセツトする。拡大指示でなければ、そ
れに従った他の属性処理を行なう。 拡大指示の場合はさらに、テーブルにセツトした拡大サイズに対し、補正の有
無をチエツクする。そして、補正があれば補正サイズを取り込みテーブルにセツ
トする。補正がなければ補正サイズ0をテーブルにセツトする。そして、この動
作を1行分繰り返す。 1行分の処理が終了すると、次に第11図に示した文字テーブルと拡大サイズ
テーブルより最大縦拡大サイズを検出する。そして、その要求行Noより物理行
Noの算出を行なう。そして、算出された物理行Noによる表示行の算出を行な
う。 次に、文字テーブルから文字を取出して、これを拡大サイズによる拡大処理を
行なう。 そして、次に表示情報テーブルにより文字データの切り出しを行ない。これを
表示バツフアへセツトする。そして、この操作を物理行(第11図では1行から
6行迄)が終るまで繰り返し、同時にこれを表示する。 そしてこの処理を1行分(論理行)繰り返してこれを表示する。 第18図及び第19図は、それぞれ上記の方法により表示装置2の画面に表示
される表示例で、それぞれ文字単位で任意に拡大され、印刷時にはこの表示と同
じ印刷結果が得られる。 このように、拡大倍率と、拡大指示が別個に行なわれる為、同一倍率の指示が
連続して行える。また拡大倍率が複数個設定可能で、拡大指示キーがそれに対応
して用意されている為、第22図に示すように倍率が変化しても、拡大1キー,
拡大2キーと指示キーの変更のみで対応することができると共に、第23図に示
すようにその倍率も画面に表示されているので指定倍率を確認して操作できる。 しかも実際の拡大サイズで表示され、そのまま印刷されるので、印刷時に拡大
した文字が用紙幅を越えて欠落してしまうこともなく、また従来のように文書作
成編集時に、拡大印刷結果を考慮しながら文字入力をして文書を作成する必要が
なく、単純な処理で行なえるので、非常に操作性の高い拡大指定方法を備えた文
字処理装置が安価に提供できる。効 果 以上説明したように、この発明の文字処理装置によれば、複数の拡大サイズを
任意に指定し、しかも拡大サイズの指定と対象文字又は文字列の指定を操作的に
分離して各操作を簡略化したので、文字又は文字列毎の拡大の操作性を向上する
ことができる。 また、文字処理作業において、画面上の任意の文字又は文字列ごとにそれぞれ
独自の拡大サイズを縦横独立して指定することができ、その実際の形状及び大き
さを画面に表示することができるので、作成した文書レイアウトを印刷する前に
最終検証することができる。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to various character processing devices such as a word processor, and more particularly to an enlargement designation and display technique of input characters. 2. Description of the Related Art Conventionally, in order to enlarge a character in a word processor or the like, a quadruple size,
A method for enlarging and displaying characters at a predetermined magnification such as double-width, and specifying an enlargement size to arbitrarily enlarge the height and width to nxm times, as used in portable word processors in recent years And so on. Regarding the function to be specified in character units such as quadruple and double width, the size of enlargement is doubled, and by fixing this, display and print processing are reduced, and processing speed and machine cost are suppressed. The method has come. When the vertical and horizontal enlargement is specified to be an arbitrary enlargement size of n × m times, it is specified in units of lines, and when a print instruction is given, the designated process of n × m times is performed in a series of processes. In order to reduce the processing, all the processes are performed in the same manner. Therefore, as shown in FIG. 20, even when a character is input to a line including a character designated to an arbitrary enlarged size, the character input does not consider the size of the character after the enlargement. Since characters having the same number of characters as in a normal line can be input, characters enlarged at the time of printing may be lost beyond the paper width as shown in FIG. In addition, as shown in FIG. 22, when there are a large number of characters having two different enlargement ratios, the enlargement ratio must be specified again for each character, and then the enlargement designation must be performed. It was connected. As described above, when creating and editing a document, it is necessary to input characters while taking into account the enlarged print result, and the operability is very poor, such as re-specifying the enlargement ratio of a character having a different enlargement ratio every time. I got a point. Purpose This invention has been made in view of the above, the purpose of improving the operability of the magnification specified diversity document creation. In order to achieve the above object, the present invention provides a character processing device that includes at least an input device and a display device and that can display characters and the like input from the input device on a display device and perform editing and proofreading. A plurality of arbitrary magnification specifying means for enlarging and displaying characters and the like displayed on the display device in accordance with an instruction from the input device; enlarged character specifying means for individually specifying a target character or character string to be enlarged at the magnification; Display means for displaying on a screen at a magnification. Hereinafter, a specific description will be given based on an embodiment of the present invention. FIG. 2 is an external perspective view of a character processing device embodying the present invention, for example, a personal word processor. This personal word processor includes an input device 1 using a keyboard, a display device 2 using a liquid crystal display (LCD), a printing device 3 using a thermal printer, and a floppy disk device 4 as an external storage device. The keyboard 1 has various functions by a combination of a key group 10 including a character key for inputting characters, a conversion key for instructing kana-kanji conversion, a shift key for switching characters to be input with the character keys, a line feed key, and the like, and a character key. Function instruction key 11 for instructing, execution key 12 for instructing execution of various processes, and print key 13 for instructing printing
And a cursor movement key group 14 for instructing movement of the cursor of the liquid crystal display device 2 and the print head of the printer 3, various mode setting key groups 15, an enlargement 1 key 16, an enlargement 2 key 17, and the like. Further, the liquid crystal display device (LCD) 2 has an editing area for displaying input characters after Kana-Kanji conversion, a key line, and the like, and line information for displaying information (line information) on lines such as a left end, a right end, and a tab position. Display area, scale display area for displaying information such as number of digits or number of characters, key input characters, candidate kanji, input mode, current position of cursor (page, line, column), paper size, maximum number of characters, full size / half size , Print conditions (character spacing, line spacing, print mode, vertical / horizontal writing), etc., a guidance display area, and a layout in which the format of characters or key lines within one page of the currently edited document is reduced And a layout display area for displaying a creation pattern or the like when creating an external character. FIG. 3 is a block diagram showing an example of a control unit of the personal word processor. A microcomputer (hereinafter, referred to as a "microcomputer") 21 of the control unit 20 includes a CPU, a ROM, a RAM, an I / O, and the like. Take control. The ROM 22 stores various kinds of fixed information such as a control program necessary for controlling the apparatus, standard format (paper size, paper direction, character pitch, line pitch) information, and character codes. The RAM 23 has an input buffer area for storing data input from the keyboard 1, a text storage area for storing input character data, and an FDD 4 described later.
It is used as a working area for storing various data including a character generator area for storing a character pattern read from a memory, an area for storing setting format information and line information, and a working area for executing a program. The dictionary memory 24 includes a dictionary area storing a dictionary required for kana-kanji conversion and a character pattern storage area (character generator) storing character patterns of predetermined typefaces, for example, Gothic type or Mincho type. It is composed. The keyboard controller 25 is responsible for determining input data from the keyboard 1 and transferring LED lighting control data (not shown) attached to keys, and the like. The LCD controller 26 includes a video memory (VRAM) and the like, and has a liquid crystal display device 2.
, And a floppy disk controller (FDC) 27 controls the FDD 4. The floppy disk loaded in the FDD 4 has a predetermined format, for example, a floppy disk storing a character pattern of Mincho-style characters, a floppy disk storing a gothic character pattern, and the like. Then, the microcomputer 21 that controls the printer 3 outputs head drive data corresponding to the print character to the I / O 28, and outputs the thermal head data via the driver 29.
The required heating characters are printed by controlling the driving of each heating element of the printing head (30). Further, the microcomputer 21 outputs space drive data to the I / O 28, drives and controls the space motor 32 via the driver 31, and moves the carriage 33,
Further, it outputs line feed drive data, drives and controls a line feed motor 35 via a driver 34, rotates a platen 36, and outputs ribbon feed drive data to output a ribbon feed drive via a driver 37. The drive of the motor 38 is controlled to move the ribbon 39. FIG. 1 is a block diagram functionally showing a portion related to character enlargement display control in the control section. The part related to the character enlargement display control in this control unit is provided between the input device 1 and the display device 2, the input control unit 25, the character editing unit 40, the display line developing unit 41, the format format information unit 42, the text buffer 43, Displayed text information section 44, enlargement designation control section 4
5, an enlarged size specifying section 46, an enlarged size storage area 47, a cursor control section 48,
Key wire buffer 49, character generator (CG) 50, enlarged cutout 5
1, position correction designation unit 52, text enlargement position correction update unit 53, and display control unit 26
It consists of. The input device 1 is a keyboard for inputting various key data such as characters, key lines, cursor movement, and character enlargement as described above. The input control unit 25 determines various key data input from the input device 1 and transfers the data to each functional unit according to the determination result. 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 the character data from the input control unit 25 and edits the character. The display line developing unit 41 sequentially extracts data from the text buffer 43 and the format format information unit 42, and determines the horizontal arrangement of one line of characters while creating text information to be displayed. The format format information section 42 stores format information related to the format and outputs the format information to the display line developing section 41. The text buffer 43 includes a normal character code, a character code at the time of enlargement designation, and
The character codes at the time of center-alignment and bottom-alignment enlargement designation are set as shown in FIGS. 8, 9 and 10, and these data are temporarily stored. The displayed text information unit 44 sets the horizontal arrangement of the characters determined by the display line developing unit 41 for one line as the size of one ordinary character as a physical line as shown in FIG. The enlarged size is calculated, and this is set as a logical line of this line, and an enlarged size table and a display information table are created and output to the display line developing unit 41. When enlargement is instructed from the input device 1, the enlargement designation control unit 45 outputs the cursor information of the cursor control unit 48 and the enlargement size of the enlargement size storage area 47 to the display line development unit 41 as a display change. The enlarged size of the enlarged size storage area 47 is also output to the text buffer 43. The enlargement size designation unit 46 receives an input of a change of the enlargement size from the input device 1,
This enlarged size data is received from the input control unit 25 and transferred to the enlarged size storage area 47, and is output to the display control unit 26 for displaying a message on the display device 2. The enlarged size storage area 47 has a plurality of (two in this embodiment) enlarged size areas, receives enlarged size designation data from the enlarged size designation section 46, and stores the enlarged size in each enlarged size storage area. At the same time, the enlargement size is output to the enlargement designation control unit 45. The cursor control unit 48 inputs cursor information from the input control unit 25 and outputs the cursor information to the character editing unit 40, the display line expanding unit 41, the enlargement designation control unit 45, and the display control unit 26. The key line buffer 49 temporarily stores data relating to the key line, and outputs the data to the display line developing unit 41 as necessary. The character generator (CG) 50 stores character font data and outputs the font data to the enlarged cutout unit 51. The enlarged cut-out unit 51 inputs the character code received from the display line developing unit 41 and information such as the enlarged size table and the display information table of the displayed text information unit 44 via the display line developing unit 41, and Character font data is searched for and extracted from the energizer (CG) 50, an enlarged character is cut out based on the information, and enlargement processing is performed according to each enlarged size. Then, this data is displayed on the display device 2 through the display control unit 26 as display font data. When there is a key input for position correction from the input device 1, the position correction designation unit 52 receives this from the input control unit 25, and gives an instruction to display a message as shown in FIG. 16 to the display control unit 26. This information is further output to the text enlargement position correction update unit 53. The text enlarged position correction updating unit 53 outputs the input enlarged position correction data to the text buffer 43 and the display line developing unit 41. Next, the method of displaying the enlarged character designation and the magnification separately for each character unit, which is the operation of the embodiment constructed as described above, will be described with reference to FIGS. FIG. 4 shows the concept of a line when characters of different enlarged sizes are mixed. In this case, the character nma having the largest vertical enlargement size among the characters existing in one line
Detect x and use it as the enlarged size of this row. Then, other characters are regarded as being included in this line and processed. Further, the next line is a position where "line spacing of one line × nmax times" is lower than shown in the figure. If a line is formed in this way, there may be a large gap between lines depending on the character size, but if a continuous character string is arranged according to the character size, the line And the continuity of the character string is difficult to determine, so that such a processing method improves operability. In addition, since the continuity of character strings is not lost, there is an advantage that processing such as character search and recognition can be performed relatively easily. Next, the change of a row will be described with reference to FIG. The character a having the maximum size nmax in the character string shown in FIG.
As shown in the figure, when the maximum enlargement size of a character in one line is changed, the maximum character of the vertical enlargement size is detected again, and the recognition of the vertical enlargement size of this line is changed. It was but connexion, in the example of FIG. 5 enlarged size of the line is changed to n 2. In addition, as shown in FIGS. 4 and 5, characters having an enlargement size smaller than the maximum enlargement size are aligned by matching the upper sides of the line. Here, when the lower-aligned line in FIG. 6 and the center-aligned line in FIG. 7 described later are changed to the upper-aligned line, as shown in the upper-aligned routine in the flowchart of FIG.
All the correction values of the characters in the line are deleted, and the text buffer 43 is also updated. As described above, the space between this line and the next line is a line space obtained by multiplying one line of normal characters by the magnification of the maximum character of this line. It was but connexion, in FIG. 5 from nmax multiple of Figure 4 is changed to 2 times n. Next, the bottom alignment of the rows will be described with reference to FIG. When aligning to the lower side of the line containing the enlarged characters, as shown in the lower alignment routine in the flowcharts of FIGS. 6 and 15, the character having the maximum vertical enlarged size is set as the enlarged size of this line, and a smaller enlarged size is used. For characters, by inserting the shaded portion in the figure (the difference between the enlarged size of the characters in the line and the maximum enlarged size) as a correction value,
The processing is performed as if the enlarged characters exist as if they are up to the hatched portion. The temporary enlargement size at this time is for detecting the character display position, and has nothing to do with the actual enlargement of the character font. FIG. 7 shows the case of aligning at the center of the line. This will be described with reference to the center alignment routine in the flowchart of FIG. In this case, as in the case of the bottom alignment in FIG. 6, each character in the line is arranged at the center of the line by using the idea of the correction based on the temporary enlarged size. In this case, the temporary enlargement size, that is, the method of calculating the correction value is (maximum enlargement size−enlargement size of character in line) / 2. Here, the enlarged size is a vertical enlarged size. In the above formula, the remainder may be rounded up or down. When the above-described enlarged position correction is instructed by the position correction key of the input device 1,
A message as shown in FIG. 16 is displayed on the screen of the display device 2. Therefore, if "1" is selected from this message display, the message will be aligned on the top and "2" will be displayed.
If "" is selected, it is changed to bottom alignment, and if "3" is selected, it is changed to middle alignment. Next, an enlarged display method will be described with reference to FIG. As shown in FIG. 11, when there is a character of 6 × 6 times “a” and a character of 2 × 2 times “b”, each character is sliced into a 1 × vertical physical line, and each is sliced. A display information table of a cutout position as shown in FIG. In calculating the cutout position, an enlarged size (correction value) for correction is used in addition to the enlarged size of the character. In the case of the character "b", the enlarged size is 2.times.2 with the bottom aligned, but since the correction is from 1, 2, 3, 4 from the top, the correction value is set to "4". Therefore, the table is set so as not to cut out the upper four rows of the physical row slices. At the time of display, font data subjected to enlargement processing based on the enlargement size of these tables and characters is cut out and displayed based on the values of the table along the No. (number) of the physical line to be displayed. Next, a method of specifying an enlarged size will be described with reference to the flowcharts of FIGS. When an input for changing the enlarged size is received from the input device 1, an instruction is transferred to the enlarged size specifying unit 46 via the input control unit 25 in FIG. Enlarged size designation section 46
Then, a message as shown in FIG. 12 is displayed on the display device 2 through the display control unit 26. In this display, the previous enlarged size is displayed. Then, an input of the enlarged size is received. Next, a new vertical and horizontal enlarged size is input to the pointer / enlarged size 1. Then, it is determined whether the input is completed or not and the cursor is moved when further characters are to be enlarged, but the pointer is up when the cursor is moving right, and the pointer is down when the cursor is moving left. Yes, return to the next new enlarged size and enter the enlarged size. Then, it is checked whether the input new enlarged size is the maximum size, and the new enlarged size is stored in the enlarged size storage area 47, and the processing is terminated. When the enlargement size is designated in this way, the designated enlargement size is displayed in the guidance area as shown in FIG. 23, and the enlargement 1 key and the enlargement 2 key are depressed as described below. The magnification of time can be determined immediately. A method of specifying enlargement will be described with reference to the flowchart of FIG. When a character enlargement instruction is received from the input device 1, the instruction is transferred to the enlargement designation control unit 45. The enlargement designation control unit 45 receives the cursor position data from the cursor control unit 48, and calculates a corresponding character address. Then, an enlargement size storage area is selected by a designation key of the enlargement 1 key or the enlargement 2 key. Then, the text buffer 43 is changed so that the enlargement attribute (enlargement designation for the character at the cursor position) is added to the character, and the process is terminated. After the change, the display is requested from the changed line to the display line developing unit 41, and the change of the display by the enlargement designation is realized. Next, the text buffer shown in FIGS. 8 to 10 will be described. First, in the contents of the text buffer 43, when the enlarged character is not specified, the character code is simply continuous as shown in FIG. 8, and when the enlarged character is specified, as shown in FIG. Enlargement ratios n (vertical) and m (horizontal) are added to the characters. In addition, when a temporary enlarged size correction such as center alignment or bottom alignment is performed, a correction magnification n ′ is simultaneously added in addition to n × m times as shown in FIG. In this way, enlargement is specified for each character and enlarged display is performed.
This will be described with reference to the flowchart of FIG. When the above-mentioned text buffer 43 is updated, it requests the display line developing unit 41 to display the updated line. The display line developing unit 41 calculates the text buffer character address of the display request line from the text buffer 46. At this time, the format / format data of the corresponding line to be displayed is sequentially extracted from the format format information section 42. Then, the arrangement possibility range of the character for one line is calculated and determined. When the display characters for one line are determined, the characters are extracted from the text buffer 43, and it is determined whether or not this is a character code. If it is a character code, it is set in a character table with a horizontally enlarged size according to the specified magnification. This operation is repeated for one line. If the result of the determination is not a character code, it is determined whether or not the instruction is an enlargement instruction. If the instruction is an enlargement instruction, the enlargement size is set in a table. If it is not an enlargement instruction, other attribute processing is performed according to the instruction. In the case of an enlargement instruction, the presence or absence of correction is checked for the enlarged size set in the table. Then, if there is a correction, the correction size is set in the fetch table. If there is no correction, the correction size 0 is set in the table. This operation is repeated for one line. When the processing for one line is completed, the maximum vertical enlargement size is 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 No. Next, a character is extracted from the character table and is subjected to an enlargement process based on the enlargement size. Then, character data is cut out using the display information table. This is set in the display buffer. This operation is repeated until the end of the physical line (from line 1 to line 6 in FIG. 11), and this is displayed at the same time. This process is repeated for one line (logical line) and displayed. FIGS. 18 and 19 are display examples displayed on the screen of the display device 2 by the above-described method, respectively, and are arbitrarily enlarged in character units, and the same print result as this display is obtained at the time of printing. As described above, since the enlargement magnification and the enlargement instruction are separately performed, the instruction of the same magnification can be continuously performed. Since a plurality of enlargement magnifications can be set and an enlargement instruction key is prepared correspondingly, even if the magnification changes as shown in FIG.
It is possible to respond only by changing the enlargement 2 key and the instruction key, and since the magnification is also displayed on the screen as shown in FIG. 23, the designated magnification can be confirmed and operated. In addition, since it is displayed in the actual enlarged size and printed as it is, characters enlarged at the time of printing do not drop out beyond the paper width, and the enlarged print result is taken into account when creating and editing documents as in the past. However, since there is no need to create a document by inputting characters and performing simple processing, a character processing apparatus equipped with a very operable enlargement specifying method can be provided at low cost. Effects As described above, according to the character processing device of the present invention, a plurality of enlarged sizes can be arbitrarily specified, and the enlarged size and the target character or character string can be operably separated from each other. Is simplified, the operability of enlargement for each character or character string can be improved. Also, in the character processing work, it is possible to specify the original enlarged size for each arbitrary character or character string on the screen independently in vertical and horizontal directions, and the actual shape and size can be displayed on the screen. Finally, the created document layout can be finally verified before printing.

【図面の簡単な説明】 第1図はこの発明の一実施例を示す機能ブロツク図、 第2図はこの発明を実施したワードプロセツサの外観の一例を示す斜視図、 第3図は同じくその制御部の一例を示すブロツク図、 第4図乃至第7図は1行内の拡大文字の異なる配置による表示例の説明図、 第8図乃至10図はテキストバツフアの内容のそれぞれ異なる例を示す説明図
、 第11図は文字の拡大表示方法を説明するための説明図、 第12図は文字の拡大サイズのメツセージ表示図、 第13図及び第14図は文字の拡大サイズ指定及び拡大指定の処理を示 すフロー図、 第15図は拡大文字の行の下揃え,中揃え,上揃えの各処理を示すフロー図、 第16図は位置補正のメツセージ表示図、 第17図は拡大文字を表示するための処理を示すフロー図、 第18図及び第19図は拡大文字の異なる表示例を示す説明図、 第20図及び第21図は従来の拡大指定した文字の表示画面とその印刷結果を
示す説明図、 第22図は文字毎に拡大率の異なる文字列の説明図、 第23図は複数の拡大率を編集画面に表示した説明図である。 1…入力装置 2…表示装置 16…拡大1キー 17…拡大2キー 25…入力制御部 26…表示制御部 40…文字編集部 41…表示行展開部 42…書式フオーマツト情報部 43…テキストバツフア 44…表示中テキスト情報部 45…拡大指定制御部 46…拡大サイズ指定部 47…拡大サイズ格納エリア 48…カーソル制御部 49…ケイ線バツフア部 50…キヤラクタジエネレータ(CG) 51…拡大切出し部 52…位置補正指定部 53…テキスト拡大位置補正更新部
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a functional block diagram showing an embodiment of the present invention, FIG. 2 is a perspective view showing an example of an external appearance of a word processor embodying the present invention, and FIG. Block diagrams showing an example of the control unit, FIGS. 4 to 7 are explanatory diagrams of display examples by different arrangements of enlarged characters in one line, and FIGS. 8 to 10 show different examples of the contents of the text buffer. 11 is an explanatory diagram for explaining a method of enlarging a character, FIG. 12 is a message display diagram of an enlarged size of a character, and FIGS. 13 and 14 are diagrams for specifying an enlarged size and an enlarged designation of a character. FIG. 15 is a flow chart showing the process of bottom-aligned, center-aligned, and top-aligned lines of the enlarged character, FIG. 16 is a message display diagram of position correction, and FIG. 17 is an enlarged character display Flow chart showing the process for doing 18 and 19 are explanatory diagrams showing different display examples of enlarged characters, FIGS. 20 and 21 are explanatory diagrams showing a conventional display screen of characters designated to be enlarged and a print result thereof, and FIG. 22 is a character diagram. FIG. 23 is an explanatory diagram of a character string having a different magnification every time, and FIG. 23 is an explanatory diagram showing a plurality of magnifications on an edit screen. DESCRIPTION OF SYMBOLS 1 ... Input device 2 ... Display device 16 ... Enlargement 1 key 17 ... Enlargement 2 key 25 ... Input control part 26 ... Display control part 40 ... Character editing part 41 ... Display line development part 42 ... Format format information part 43 ... Text buffer 44: Text information part being displayed 45 ... Enlargement designation control part 46 ... Enlargement size designation part 47 ... Enlargement size storage area 48 ... Cursor control part 49 ... Key line buffer part 50 ... Character generator (CG) 51 ... Enlargement extraction part 52: position correction designation unit 53: text enlargement position correction update unit

Claims (1)

【特許請求の範囲】 1 少なくとも入力装置と表示装置とを備え、入力装置より入力された文字等を
表示装置に表示して編集・校正が行なえる文字処理装置において、 前記入力装置からの指示により前記表示装置に表示した文字等を拡大表示する
ためのそれぞれ拡大サイズを縦横独立して任意に設定できる複数の任意拡大倍率
指定手段と、該手段のいずれかによって指定された拡大倍率で拡大する対象文字
又は文字列を任意に別個に指定する文字指定手段と、該手段によって指定された
対象文字又は文字列をそれぞれに指定した拡大倍率で画面に表示する表示手段と
を設けたことを特徴とする文字処理装置。
Claims 1. A character processing device comprising at least an input device and a display device, wherein a character or the like input from the input device is displayed on a display device so that editing and proofreading can be performed. A plurality of arbitrary enlargement magnification specifying means capable of arbitrarily setting the enlargement size independently for each of the vertical and horizontal directions for enlarging and displaying characters and the like displayed on the display device, and an object to be enlarged at an enlargement magnification designated by any of the means; A character designating means for arbitrarily and separately designating a character or a character string, and a display means for displaying a target character or a character string designated by the means on a screen at a magnification specified respectively. Character processor.

Family

ID=

Similar Documents

Publication Publication Date Title
JPH0778140A (en) Document processor
JP2592840B2 (en) Character processor
JP2592840C (en)
EP0606768A2 (en) Registration dot pattern data processor of a text processing apparatus
JP2815158B2 (en) Character processor
JP2956702B2 (en) Romaji Kana conversion method
JPH0788981A (en) Label producing system
JP2647679B2 (en) Character processor
JP2815256B2 (en) Printing position setting device
JP4463487B2 (en) Display device, display method, and printing device
JPH089245B2 (en) Character processor
JPS63285587A (en) Character processor
JPH06110891A (en) Document creation device
JPH0776967B2 (en) Character processor
JP2621987B2 (en) Document processing device
JPS59135582A (en) Idle feed control system of printer for sentence processor
JPH01176573A (en) Document preparation and editing apparatus
JPH01286869A (en) Character processing device
JPH0890864A (en) Printer
JPH0463785B2 (en)
JPH05143049A (en) Document processing device that can set / change superscript / subscript character size
JPH07129155A (en) Sheet of music preparing device
JPH1027170A (en) Document preparation and display device
JPS63276165A (en) Character processor
JPH01180589A (en) Character processor