JPH0245867A - Character processor - Google Patents
Character processorInfo
- Publication number
- JPH0245867A JPH0245867A JP63196471A JP19647188A JPH0245867A JP H0245867 A JPH0245867 A JP H0245867A JP 63196471 A JP63196471 A JP 63196471A JP 19647188 A JP19647188 A JP 19647188A JP H0245867 A JPH0245867 A JP H0245867A
- Authority
- JP
- Japan
- Prior art keywords
- font
- character
- input
- change
- type style
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000007796 conventional method Methods 0.000 abstract 1
- 238000000605 extraction Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 10
- 239000004973 liquid crystal related substance Substances 0.000 description 6
- 238000006243 chemical reaction Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 239000000284 extract Substances 0.000 description 3
- 238000000034 method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000010438 heat treatment Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Landscapes
- Document Processing Apparatus (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明は、ワードプロセッサ等の各種文字処理装置に
関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to various character processing devices such as word processors.
従来、ワードプロセッサ等の各種文字処理装置において
は、入力装置がら入力する文字の書体を多種類用意して
切り換え可能なものがある。この書体には、明朝体、ゴ
シック体、あるいは毛筆体等が用意され1通常は明朝体
を表示/印刷をする書体とし、文字を指定して書体を変
更することでゴシック体や毛筆体に変更することが可能
となっている。2. Description of the Related Art Conventionally, in various character processing devices such as word processors, there are devices in which a variety of fonts for characters input through an input device can be prepared and switched. This typeface includes Mincho font, Gothic font, brush font, etc. 1 Normally, Mincho font is the font that is displayed/printed, and by specifying characters and changing the font, Gothic font, brush font, etc. It is possible to change to.
そして、書体の切り換えには、入力された文字を指定し
て書体の変更を指示するもので、既に入力された文字に
対してのみ有効である。また、書体の切り換えを文書全
体に行なう機能があるものもあるが、これも既に入力さ
れた文字に対して、それを印刷する際に書体を切り換え
て印刷するものであった。To switch the font, the user specifies the input character and instructs the user to change the font, which is effective only for characters that have already been input. Additionally, some devices have a function to switch the font for the entire document, but this also involves switching the font when printing characters that have already been input.
しかしながら、これらの機能は例えば数字等の特定の文
字種のみの書体を変えて印刷したい場合に、その数字を
入力しその後書体変更の指定をして書体の変更を行なう
必要があり、操作上非常に面倒なことであった。However, when using these functions, for example, if you want to change the font of only a specific type of character such as a number and print it, you must enter the number and then specify the font change to change the font, making it very difficult to operate. It was a hassle.
また、書体変更の入力箇所が多数ある場合など、入力箇
所毎に書体の変更を指示しなければならず、操作が大変
であり書体変更の指示を忘れたり、誤操作をしたり操作
上の問題があった。In addition, when there are many input points for font change, it is necessary to instruct the font change for each input point, making the operation difficult and causing problems such as forgetting instructions to change the font, making incorrect operations, and other problems. there were.
また、書体の変更を指定した文字を表示画面に変更した
書体の通りに表示できないものについては、指定忘れが
あっても印刷しないと発見できないのでより以上に問題
があった。すなわち、入力した文字に書体変更の指示を
しなければならないということが、後で自由に書体を変
えられる便利さの反面、入力時の操作を煩わしくしてい
る。Furthermore, if a character whose font is specified cannot be displayed in the changed font on the display screen, even if the specification is forgotten, it cannot be discovered unless it is printed, which is even more problematic. That is, having to instruct the user to change the font of input characters is convenient because the user can freely change the font later, but at the same time, it makes inputting operations cumbersome.
この発明は、上記の点に鑑みてなされたものであり、既
に入力された文字の書体変更を指示する機能はそのまま
残し、文字を入力する際に書体を自動的に変更して入力
する文字を予め指定できるようにし、その文字を指定す
ることで、書体の変更忘れを防止することを目的とする
。This invention was made in view of the above points, and leaves the function of instructing the font change of characters that have already been input as is, and automatically changes the font when inputting characters. The purpose is to prevent forgetting to change the font by making it possible to specify the font in advance and specifying the character.
この発明は、上記の課題を解決するために、上述のよう
な文字処理装置において、入力装置からすでに入力され
た文字を指示してその書体を他の書体に変更する書体変
更手段と、事前に書体を変更する文字を指定する文字指
定手段と、該文字指定手段により指定した文字が入力さ
れた際に自動的に書体を変更して入力する自動書体変更
手段とを備えたものである。In order to solve the above-mentioned problems, the present invention provides a font changing means for instructing a character already inputted from an input device to change the font to another font in a character processing device as described above, and The device is equipped with a character specifying means for specifying a character whose font is to be changed, and an automatic font changing means for automatically changing and inputting the font when the character specified by the character specifying means is input.
この発明による文字処理装置は、文字を入力する前に書
体を変更する文字を指定する文字指定手段によって書体
を変更する文字を指定しておけば、自動書体変更手段に
よりその文字が入力された際に自動的に指定した書体に
変更して入力されるので、書体の変更忘れを防止するこ
とができる。In the character processing device according to the present invention, if a character whose font is to be changed is specified by a character specifying means for specifying a character whose font is to be changed before inputting a character, when that character is input by an automatic font changing means, Since the font is automatically changed to the specified font when input, it is possible to prevent forgetting to change the font.
以下、この発明の実施例を図面に基づいて具体的に説明
する。Embodiments of the present invention will be specifically described below with reference to the drawings.
第2図は、この発明を実施した文字処理装置、例えばパ
ーソナルワードプロセッサの外観斜視図である。FIG. 2 is an external perspective view of a character processing device, such as a personal word processor, embodying the present invention.
このパーソナルワードプロセッサは、キーボードによる
入力装置1と、液晶デイスプレィ装置(LCD)による
表示装置2と、サーマルプリンタによる印刷装置3と、
外部記憶装置としてのフロッピーディスク装置4とを備
えている。This personal word processor includes an input device 1 using a keyboard, a display device 2 using a liquid crystal display (LCD), and a printing device 3 using a thermal printer.
It also includes a floppy disk device 4 as an external storage device.
そのキーボード1には、文字を入力する文字キー、かな
漢字変換を指示する変換キー、文字キーで入力する文字
を切り換えるシフトキー、改行キー等を含むキー群10
と1文字キーとの組合せで各種機能を指示する機能指示
キー11と、各種処理の実行を指示する実行キー12と
、プリントを指示するプリントキー13と、液晶デイス
プレィ装置2のカーソル及びプリンタ3の印字ヘッドの
移動を指示するカーソル移動キー群14と、この発明に
係る書体変更キー15等を備えている。The keyboard 1 includes 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 input with the character keys, a line feed key, etc.
A function instruction key 11 that instructs various functions in combination with and a single character key, an execution key 12 that instructs execution of various processes, a print key 13 that instructs printing, and a cursor of the liquid crystal display device 2 and a key of the printer 3. A cursor movement key group 14 for instructing movement of the print head, a font change key 15 according to the present invention, etc. are provided.
なお、ここでは機能指示キー11と書体変更キー15と
の組合せによって、事前に書体を変更する文字を指定す
るための書体設定指示を行なう。Here, a font setting instruction for specifying a character whose font is to be changed in advance is given by a combination of the function instruction key 11 and the font change key 15.
また、予め定めた文字キーとの組合せによって文字の拡
大指定をした後、横拡大倍率及び縦拡大倍率を入力する
ものとする。Further, after specifying character enlargement using a combination with a predetermined character key, a horizontal enlargement magnification and a vertical enlargement magnification are input.
また、液晶デイスプレィ装置(LCD)2は、入力され
たかな漢字変換後の文字、ケイ線等を表示する編集エリ
アと、左端・右端、タブ位置等の行に関する情報(行情
報)を表示する行情報表示エリアと、桁数又は文字数等
の情報を表示するスケール表示エリアと、キー入力文字
、候補漢字。In addition, the liquid crystal display device (LCD) 2 has an editing area that displays input characters after Kana-Kanji conversion, and lines, etc., and a line information display that displays information about the line (line information) such as the left end, right end, tab position, etc. A display area, a scale display area that displays information such as the number of digits or characters, and key input characters and candidate kanji.
入力モード、カーソルの現在位置(頁2行2桁)。Input mode, current cursor position (page 2 lines, 2 columns).
用紙サイズ、最大文字数、全/半角、印刷条件(文字間
隔9行間隔、印刷モード、縦/横書)等のガイダンスを
表示するガイダンス表示エリアと、現編集中の文書の1
頁内の文字又はケイ線等のフォーマットを縮小したレイ
アウト及び外字作成時の作成パターン等を表示するレイ
アウト表示エリアとを有する。Guidance display area that displays guidance such as paper size, maximum number of characters, full-width/half-width, printing conditions (character spacing: 9-line spacing, print mode, vertical/horizontal writing), and one of the documents currently being edited.
It has a layout displaying a reduced format of characters or lines on the page, and a layout display area that displays patterns created when creating external characters.
第3図は、このパーソナルワードプロセッサの制御部の
一例を示すブロック図である。FIG. 3 is a block diagram showing an example of a control section of this personal word processor.
この制御部20のマイクロコンピュータ(以下「マイコ
ン」と称す」)21は、CPU、ROM。A microcomputer (hereinafter referred to as "microcomputer") 21 of this control unit 20 includes a CPU and a ROM.
RAM及び工10等からなり、文書作成編集2表示制御
、印刷制御9文字拡大制御、この発明に係る事前に指定
した文字の自動書体変更制御等この装置全体の制御を司
る。It is comprised of a RAM, a memory 10, etc., and controls the entire apparatus, including document creation/editing 2 display control, printing control 9 character enlargement control, and automatic font change control for prespecified characters according to the present invention.
ROM22には、この装置の制御に必要な制御プログラ
ム、標準的な書式(用紙サイズ、用紙方向9文字ピッチ
、行ピッチ)情報9文字コード等の各種の固定情報を格
納している。The ROM 22 stores various fixed information such as a control program necessary for controlling this device, standard format (paper size, 9-character pitch in paper direction, line pitch) information, 9-character code, and the like.
RAM23は、キーボード1から入力されるデータを格
納する入カバツファエリア、入力された文字データを格
納するテキスト格納エリア、後述するFDD4から読み
込んだ文字パターンを格納するキャラクタジェネレータ
エリア、設定書式情報及び行情報等を格納するエリア等
を含む各種のデータを格納するデータエリア及びプログ
ラム実行のためのワーキングエリアとして使用する。The RAM 23 includes an input buffer area for storing data input from the keyboard 1, a text storage area for storing input character data, a character generator area for storing character patterns read from the FDD 4 (described later), setting format information, line information, etc. It is used as a data area for storing various data, including an area for storing data, and a working area for program execution.
辞書メモリ24は、かな漢字変換に必要な辞書を格納し
た辞書エリアと、予め定めた書体例えばゴシック体ある
いは明朝体の文字の文字パターンを格納した文字パター
ン格納エリア(キャラクタジェネレータ)とによって構
成される。The dictionary memory 24 is composed of a dictionary area that stores dictionaries necessary for kana-kanji conversion, and a character pattern storage area (character generator) that stores character patterns of characters in a predetermined typeface, such as Gothic or Mincho. .
キーボードコントローラ25は、キーボード1からの入
力データの判別やキーに付設した図示しないLEDの点
灯制御データの転送等を司り、LCDコントローラ26
は内部にビデオメモリ(VRAM)等を備えて液晶デイ
スプレィ装置2の表示制御を司り、フロッピディスクコ
ントローラ(FDC)27はFDD4の制御を司る。The keyboard controller 25 is in charge of determining input data from the keyboard 1 and transferring lighting control data for LEDs (not shown) attached to keys, etc.
is internally equipped with a video memory (VRAM), etc., and controls the display of the liquid crystal display device 2, and a floppy disk controller (FDC) 27 controls the FDD 4.
なお、FDD4に装填されるフロッピディスクには、予
め定めた書式例えば明朝体の文字の文字パターンを格納
したフロッピディスク、ゴシック体の文字パターンを格
納したフロッピディスク等がある。The floppy disk loaded in the FDD 4 includes a floppy disk storing a character pattern in a predetermined format, for example, a Mincho font, a floppy disk storing a Gothic character pattern, and the like.
そして、プリンタ3の制御を司るマイコン21は、l1
02Bに印字文字に応じたヘッドドライブデータを出力
して、ドライバ29を介してサーマルヘッド(印字ヘッ
ド)30の各発熱素子を駆動制御して所要の文字を印字
する。The microcomputer 21 that controls the printer 3 is l1
At 02B, head drive data corresponding to the characters to be printed is outputted, and each heating element of the thermal head (print head) 30 is driven and controlled via the driver 29 to print the desired characters.
また、マイコン21は、l1028にスペースドライブ
データを出力してドライバ31を介してスペースモータ
32を駆動制御してキャリッジ33を移動し、またライ
ンフィードドライブデータを出力してドライバ34を介
してラインフィードモータ35を駆動制御してプラテン
3日を回動し、更にリボンフィードドライブデータを出
力してドライバ37を介してリボンフィードモータ38
を駆動制御してリボン39を移動させる。The microcomputer 21 also outputs space drive data to l1028 to drive and control the space motor 32 via the driver 31 to move the carriage 33, and also outputs line feed drive data to drive and control the space motor 32 via the driver 34 to feed the line feed. The motor 35 is driven and controlled to rotate the platen 3, and ribbon feed drive data is outputted to drive the ribbon feed motor 38 via the driver 37.
The ribbon 39 is moved by driving control.
第1図は、この制御部内の自動書体変更制御に係る部分
を機能的に示すブロック図であるにの制御部内の自動書
体変更制御に係る部分は、事前に書体を変更する文字を
指定する文字指定手段と、自動書体変更手段としての機
能を果すために、入力装置1と表示装置2及び印刷装置
3の他に、入力制御部409文字編集部412文字格納
制御部42.書体制御部432文字格納エリア(テキス
トバッファ)44.書体設定制御部45゜内部スイッチ
4日、書体種設定テーブル479表示制御部482文字
フォント取出し部49.ゲイト50.明朝体ca51.
拡張フォントCG(ゴシック体)522表示用メモリ5
3.ゲイト54゜書体切換制御部55.印刷制御部5日
、テキスト情報取出部57.印刷フォント取出部58.
プリンタ制御部5日、印刷バッファ制御部60及び印刷
バッファ61により構成されている。FIG. 1 is a block diagram functionally showing the part related to automatic font change control in this control unit. In order to function as a specifying means and an automatic font changing means, in addition to the input device 1, display device 2, and printing device 3, an input control section 409, a character editing section 412, a character storage control section 42. Font control section 432 Character storage area (text buffer) 44. Font setting control section 45° internal switch 4th, font type setting table 479 display control section 482 character font extraction section 49. Gate 50. Mincho typeface ca51.
Extended font CG (Gothic) 522 display memory 5
3. Gate 54° font switching control section 55. Print control unit 5th, text information extraction unit 57. Print font extraction unit 58.
The printer control section 5 includes a print buffer control section 60 and a print buffer 61.
入力装置1はキーボードであり、表示装置2は液晶デイ
スプレィ装置(LCD)であり、印刷装置3はサーマル
プリンタである。The input device 1 is a keyboard, the display device 2 is a liquid crystal display (LCD), and the printing device 3 is a thermal printer.
入力制御部40は、入力装置1から入力したデータを判
別して各部にその命令を伝える。すなわち1文字データ
は文字編集部41へ、書体変更指示は書体制御部43へ
、書体設定指示は書体設定制御部45へ、印刷指示は印
刷制御部5日に伝える。The input control section 40 discriminates data input from the input device 1 and transmits the commands to each section. That is, one character data is transmitted to the character editing section 41, a font change instruction is transmitted to the font control section 43, a font setting instruction is transmitted to the font setting control section 45, and a print instruction is transmitted to the print control section 5.
文字編集部41は、入力制御部40からの文字データを
文字格納制御部42及び表示制御部48に出力する。ま
た、入力された文字データと内部スイッチ46のセット
状況から書体種設定テーブル47を選択し、そのテーブ
ル内に入力された文字があれば書体変更の制御コードを
付加して文字格納制御部42を通し文字格納エリア(テ
キストバッファ)44に格納する。Character editing section 41 outputs character data from input control section 40 to character storage control section 42 and display control section 48 . Also, the font type setting table 47 is selected from the input character data and the setting status of the internal switch 46, and if there is an input character in the table, a font change control code is added and the character storage control unit 42 is activated. It is stored in the continuous character storage area (text buffer) 44.
文字格納制御部42は1文字編集部41がら文字データ
を、また書体変更のある文字は書体制御部43から書体
制御コードを受は取り、これを文字格納エリア(テキス
トバッファ)44に格納する。The character storage control section 42 receives character data from the single character editing section 41 and font control codes for characters whose font has been changed from the font control section 43, and stores them in a character storage area (text buffer) 44.
書体制御部43は、入力制御部40からの書体変更指示
によりその制御コードを文字格納制御部42に出力する
。The font control section 43 outputs the control code to the character storage control section 42 in response to a font change instruction from the input control section 40 .
文字格納エリア(テキストバッファ)44は、文字格納
制御部42より文字データを、また書体変更のある文字
はその制御コードを受は取りこれを格納する。The character storage area (text buffer) 44 receives character data from the character storage control unit 42, and receives control codes for characters whose font has been changed, and stores them.
書体設定制御部45は、入力制御部40より書体設定指
示があると、第9図に示すような書体選択画面を表示し
て書体設定制御を行ない、どの様な種類の文字について
書体変更をするか選択させる。When the font setting control unit 45 receives a font setting instruction from the input control unit 40, the font setting control unit 45 displays a font selection screen as shown in FIG. 9 to control the font setting, and changes the font for any type of character. Let them choose.
内部スイッチ46は、書体設定制御部45で選択させた
文字種のスイッチをセットする。The internal switch 46 sets the switch for the character type selected by the font setting control section 45.
書体種設定テーブル47は、第9図に示した選択画面に
対応した第13図に示すような文字テーブルを格納して
いる。The font type setting table 47 stores a character table as shown in FIG. 13 corresponding to the selection screen shown in FIG. 9.
表示制御部48は、表示する文字データを文字編集部4
1及び文字格納エリア(テキストバッファ)44より取
り出し1文字フォント取出し部4日に出力する。The display control unit 48 sends character data to be displayed to the character editing unit 4.
1 and character storage area (text buffer) 44 and outputs it to the 1-character font extraction unit 4th.
文字フォント取出し部4日は、表示制御部48から表示
する文字データを受は取り、その文字コードによりゲイ
ト50に指示して、明朝体CG51から拡張フォントC
G(ゴシック体)52へ(又はその逆も)切り換えてア
クセスするようにしフォントデータを取り出して表示用
メモリ53にセットする。The character font extraction unit 4 receives the character data to be displayed from the display control unit 48, instructs the gate 50 using the character code, and extracts the extended font C from the Mincho typeface CG51.
The font data is accessed by switching to G (Gothic) 52 (or vice versa), and the font data is taken out and set in the display memory 53.
ゲイト50は1文字フォント取出し部49からの文字コ
ードにより明朝体CG51あるいは拡張フォントCG(
ゴシック体)52に切り換え、フォントデータを取り出
し文字フォント取出し部49に出力する。The gate 50 selects Mincho typeface CG51 or extended font CG (
Gothic font) 52, extracts the font data, and outputs it to the character font extractor 49.
明朝体C(351は、明朝体の文字の文字パターンを格
納するキャラクタジェネレータである。Mincho font C (351 is a character generator that stores character patterns of Mincho font characters.
拡張フォントCG(ゴシック体)52は、ゴシック体の
文字の文字パターンを格納するキャラクタジェネレータ
である。The extended font CG (Gothic) 52 is a character generator that stores character patterns of Gothic characters.
表示用メモリ53は、文字フォント取出し部49から表
示するフォントデータを一時記憶し、これを表示装置2
に出力して表示する。The display memory 53 temporarily stores font data to be displayed from the character font retrieval unit 49, and displays the font data on the display device 2.
Output and display.
ゲイト54は、印刷フォント取出部58からの文字コー
ドにより明朝体CG51あるいは拡張フォントCG(ゴ
シック体)52に切り換え、フォントデータを取り出し
てこれを印刷フォント取出部58に出力する。The gate 54 switches to the Mincho font CG 51 or the extended font CG (Gothic) 52 according to the character code from the print font extractor 58, extracts the font data, and outputs it to the print font extractor 58.
書体切換制御部55は、印刷時に書体の切り換えがあっ
た場合は、ゲイト54にその書体のフォントデータを取
り出させ、印刷フォント取出部58に出力させる。When the font is switched during printing, the font switching control unit 55 causes the gate 54 to extract the font data of the font, and causes the print font extraction unit 58 to output it.
印刷制御部56は、入力制御部40より印刷指示がある
と、それをテキスト情報取出部57及びプリンタ制御部
5日に伝える。When the print control section 56 receives a print instruction from the input control section 40, it transmits the instruction to the text information extraction section 57 and the printer control section 5.
テキスト情報取出部57は、印刷制御部5日からの指示
により、文字格納エリア(テキストバッファ)44から
該当する文字データを取り出し、印刷フォント取出部5
8に出力する。The text information retrieval unit 57 retrieves the corresponding character data from the character storage area (text buffer) 44 according to instructions from the print control unit 5, and sends it to the print font retrieval unit 5.
Output to 8.
印刷フォント取出部58は、テキスト情報取出部57か
らの文字データにより、ゲイト54あるいは書体切換制
御部55に指示して該当するフォントデータを受は取り
、それを印刷バッファ制御部60に出力する。The print font extractor 58 instructs the gate 54 or the font switching controller 55 to receive the corresponding font data based on the character data from the text information extractor 57, and outputs it to the print buffer controller 60.
プリンタ制御部59は、印刷制御部56の指示により印
刷装置3を制御し、それを作動させる。The printer control section 59 controls the printing device 3 according to instructions from the print control section 56 and operates it.
印刷バッファ制御部60は、印刷フォント取出部58か
ら印刷する文字のフォントデータを受は取りそれを印刷
バッファ61に出力する。The print buffer control section 60 receives font data of characters to be printed from the print font extraction section 58 and outputs it to the print buffer 61 .
印刷バッファ61は、印刷する文字のフォントデータを
受は取り、これを−時格納して順次印刷装置3に出力す
る。The print buffer 61 receives font data of characters to be printed, stores the font data, and sequentially outputs it to the printing device 3.
次に、このように構成されたこの実施例の機能を第4図
以降の各回を参照して具体的に説明する。Next, the functions of this embodiment configured as described above will be specifically explained with reference to FIG. 4 and subsequent sections.
例えば、第4図(a)に示すように明朝体で「第23回
」と入力されている時、テキストバッファ44は、第4
図(b)に示すようになっている。この時、カーソルが
同図(a)の2の位置にあり、ここで書体変更の指示が
されると、第5図(a)に示すように°2°がゴシック
体に書体変更され、カーソルは次の文字r3Jの位置に
なる。For example, when "23rd" is input in Mincho font as shown in FIG. 4(a), the text buffer 44
It is as shown in Figure (b). At this time, the cursor is at position 2 in Figure 5(a), and when a font change instruction is given here, the font of °2° is changed to Gothic as shown in Figure 5(a), and the cursor is becomes the position of the next character r3J.
この時、テキストバッファ44は第5図(b)に示すよ
うに「2」の前にゴシック体の制御コードが付加される
。At this time, a control code in Gothic font is added to the text buffer 44 before "2" as shown in FIG. 5(b).
ここで、再度書体変更の指示を行なうと、第6図(a)
に示すように°3°がゴシック体に書体変更される。こ
の時、テキストバッファ44は第6図(b)に示すよう
に、更に「3」の前にゴシック体の制御コードが付加さ
れる。この例の場合は、ゴシック体を書体変更の書体と
した。Now, if you give the instruction to change the font again, as shown in Figure 6(a).
As shown in , the font of °3° is changed to Gothic. At this time, in the text buffer 44, as shown in FIG. 6(b), a control code in Gothic font is added before "3". In this example, the Gothic font was used as the font for the font change.
このように、文字コードの直前に書体変更のための制御
コードを挿入して文字単位に書体変更を可能としている
。In this way, the control code for changing the font is inserted just before the character code, making it possible to change the font on a character-by-character basis.
この書体変更の指示は、第1図に示したブロック図では
、入力制御部40より書体制御部43へ伝えられ、書体
制御部43より文字格納制御部42を通して書体変更を
行なう文字を探索して、制御コードを付加する。In the block diagram shown in FIG. 1, this font change instruction is transmitted from the input control section 40 to the font control section 43, and the font control section 43 searches for the character to be changed through the character storage control section 42. , add a control code.
制御コードが既に付加されている場合には、制御コード
を削除して書体変更を元に戻す。制御コードが付加され
た文字データの表示は、テキストバッファ44の文字コ
ードを取り出した際、文字フォント取出し部49からゲ
イト50に指示し。If the control code has already been added, delete the control code and undo the font change. Displaying character data to which a control code has been added is instructed from the character font extraction unit 49 to the gate 50 when the character code from the text buffer 44 is extracted.
明朝体CG51から拡張フォントCG52へアクセスす
るようにゲイトを切り換え指示する。The gate is switched and an instruction is given to access the extended font CG52 from the Mincho font CG51.
これにより、フォントデータを書体変更分まで取り出し
て表示可能となる。印刷の際も同様に書体を切り換え印
刷バッファ61にセットして印刷する。この時の印刷バ
ッファ61は第8図に示すようになる。This makes it possible to extract and display font data including changes in typeface. When printing, the font is similarly changed, set in the print buffer 61, and printed. The print buffer 61 at this time becomes as shown in FIG.
第7図は、変更した書体を表示しない場合で同図に示す
ように反転表示して、書体変更をしてない部分と区別し
て表示する。In FIG. 7, when the changed font is not displayed, it is displayed in reverse as shown in the figure to distinguish it from the part where the font has not been changed.
次に、この実施例による書体設定の指示は、入力制御部
40より書体設定制御部45へ書体設定指示を伝え、こ
こで第9図に示すような選択画面を表示し、1〜6の数
字を入力することにより選択された文字種のスイッチを
内部スイッチ46にセットする。Next, the font setting instruction according to this embodiment is transmitted from the input control unit 40 to the font setting control unit 45, which displays a selection screen as shown in FIG. By inputting , the switch of the selected character type is set in the internal switch 46.
文字種のセットが終了すると、通常の文字入力が可能と
なるが、この時文字の入力が行なわれると、文字編集部
41において内部スイッチ46のセットの状況から、書
体種設定テーブル47を選択し、そのテーブル内に入力
された文字があれば、書体変更の制御コードを付加して
文字格納制御部42を通して文字を格納する。When character types are set, normal character input becomes possible, but when characters are input at this time, the font type setting table 47 is selected in the character editing section 41 based on the setting status of the internal switch 46, If there is a character input in the table, a font change control code is added and the character is stored through the character storage control unit 42.
制御コードが付加されているため、表示制御部48及び
印刷制御部S6では書体を変更して表示/印刷するもの
である。Since the control code is added, the display control unit 48 and print control unit S6 change the font and display/print.
第9図に示した画面では、選択された番号1の「数字」
は反転表示する。いくつ番号を設定してもよく、設定さ
れればされただけ反転表示する。On the screen shown in Figure 9, the "number" of the selected number 1
is displayed in reverse video. You can set as many numbers as you like, and as many numbers as you like will be highlighted.
既に反転表示しているものを選択すると、反転は解除し
設定をしないものとする。If you select an item that is already highlighted, the highlighting will be canceled and no settings will be made.
印刷時に、書体の切り換えが指示されると、印刷フォン
ト取出部5日より書体切換制御部55に命令が伝えられ
、書体切換制御部55において。When switching the font is instructed during printing, a command is transmitted from the print font extraction section 5 to the font switching control section 55 .
第10図に示すように制御コード無しの「第」とr回」
には制御コードが付加され、制御コードが付いている「
2」と「3」は、制御コード無しにするように制御して
ゲイト54の切り換えを行なわせる。As shown in Figure 10, the "th" and "rth" without control code
has a control code attached to it, and
2" and "3" are controlled so that the gate 54 is switched without a control code.
従って、何も書体を切り換えていないときは、反対の動
作をすることになる。Therefore, when no font is being changed, the opposite operation is performed.
第11図は、第6図に示した第23回の「23」を書体
変更で解除する場合の内部コードと表示例を示したもの
である。すなわち、第11図(a)に示すように「2」
と「3」にゴシック体の制御コードが付されていて、同
図右のように「23」がゴシック体で表示されている。FIG. 11 shows an internal code and a display example when the 23rd "23" shown in FIG. 6 is canceled by changing the font. That is, as shown in FIG. 11(a), "2"
and "3" are given control codes in Gothic fonts, and "23" is displayed in Gothic fonts as shown on the right side of the figure.
ここで、第11図(b)に示すように「2」のゴシック
体を解除するとr2」の前の制御コードが消えて明朝体
に戻り、同図右のように「3」のみゴシック体となる。Here, as shown in Figure 11(b), when the Gothic font of "2" is canceled, the control code before "r2" disappears and returns to the Mincho font, and only "3" is in Gothic font, as shown on the right of the figure. becomes.
更に、第11図(C)に示すように「3」のゴシック体
を解除すると「3」の前の制御コードも消え制御コード
が無くなり、同図右のように明朝体で「第23回」と表
示される。Furthermore, as shown in Figure 11 (C), when the Gothic font of "3" is canceled, the control code before "3" also disappears, and there is no control code, and as shown on the right of the figure, "23rd " is displayed.
次に、例えば「発明」というような特定の文字の書体変
更について第12図を参照して説明する。Next, a change in the font of a specific character such as ``invention'' will be explained with reference to FIG. 12.
第12図(a)は、第9図を更に詳しく示したもので6
の「漢字」の次に、7〜9に熟語1.熟語2.熟語3ま
で設定できるものとする。1〜6が固定項目で、7〜9
は可変項目である。Figure 12(a) shows Figure 9 in more detail.
Next to "Kanji", there are idioms 1 to 7 to 9. Idiom 2. It is assumed that up to 3 idioms can be set. 1-6 are fixed items, 7-9
is a variable item.
ここで、漢字「発明」を書体変更するために、第12図
(a)で固定項目6の[漢字」を選択すると、第12図
(b)に示すような画面が表示され、熟語1の入力待ち
画面となる。Here, in order to change the font of the kanji ``invention'', if you select ``Kanji'' in fixed item 6 in Figure 12 (a), a screen as shown in Figure 12 (b) will be displayed, and the font for Idiom 1 will be displayed. An input waiting screen will appear.
ここで、第12図(c)に示すように「はつめい」と入
力して変換キーを入力すると、第12図(d)に示すよ
うに漢字に変換されて「発明」と表示される。ここで、
実行キーを入力すると、第12図(e)に示すようにテ
ーブルの可変項目のエリアである7、熟語1に(発明)
とセットされる。これにより、例えば第12図(f)に
示すように文字データ列「発明者は」の「発明」の文字
のみが書体変更される。Here, if you input "Hatsumei" and press the conversion key as shown in Figure 12(c), it will be converted to kanji and displayed as "Invention" as shown in Figure 12(d). . here,
When the execution key is input, the variable item area 7 and idiom 1 of the table (invention) are entered as shown in Figure 12(e).
is set. As a result, for example, as shown in FIG. 12(f), only the font of the characters "invention" in the character data string "inventor is" is changed.
これを内部コードで示すと、第13図に示すようになる
。先ず固定テーブルN001〜6の番号選択の際は、文
字コードとして連続した内部コードのため、開始内部コ
ードと終了内部コードを持っている。This is shown in internal code as shown in FIG. First, when selecting numbers from fixed tables N001 to N006, since the character codes are continuous internal codes, they have a start internal code and an end internal code.
開始内部コード≦文字コード≦終了内部コードの時に、
一致したものとして制御コードを付加し、上記条件以外
のときは制御コードを付加しない。When start internal code ≦ character code ≦ end internal code,
A control code is added if a match is found, and no control code is added if the conditions are not met.
同図に示すように、数字の場合は開始内部コードが°1
°で終了内部コードが°0°であり、英字の場合は開始
内部コードが°A°で終了内部コードがZ°である。As shown in the figure, in the case of numbers, the starting internal code is °1.
In the case of an alphabetic character, the end internal code is °0°, and the start internal code is °A° and the end internal code is Z°.
また、第13図に示した可変テーブルの7は「発明」で
、文字数が「2」とセットされる。Further, 7 in the variable table shown in FIG. 13 is "invention" and the number of characters is set to "2".
なお、ゴシック体以外の毛筆体や良寛体等の書体変更に
ついても、上記と同様にしてその書体の拡張フォントC
Gを追加すれば書体変更をすることができる。In addition, when changing fonts other than Gothic, such as Brush font and Ryokan font, the extended font C of that font can be changed in the same way as above.
You can change the font by adding G.
次に、第14図乃至第16図に示すフローチャートによ
り実施例の作用を説明する。Next, the operation of the embodiment will be explained with reference to flowcharts shown in FIGS. 14 to 16.
第14図は、事前に書体を変更する文字を指定する文字
指定手段としての機能を果たす書体設定指示のフローチ
ャートである。FIG. 14 is a flowchart of a font setting instruction that functions as a character specifying means for specifying a character whose font is to be changed in advance.
先ず、第9図に示した書体設定指示の画面を表示する。First, the font setting instruction screen shown in FIG. 9 is displayed.
次に、1〜6の数字を入力し、数字の入力が終了したか
否かを判断し、終了していなければ入力した該当番号の
文字を反転表示し、終了するまでこのループを繰り返す
。終了すれば反転部分を内部スイッチにセットして終了
する。Next, the numbers 1 to 6 are input, and it is determined whether or not the input of the numbers has been completed. If the input of the numbers has not been completed, the characters corresponding to the input number are displayed in reverse video, and this loop is repeated until the input is completed. When finished, set the inverted part to the internal switch and finish.
第15図及び第16図は、書体を変更する文字を文字指
定手段により指定された文字が入力された際に、自動的
に書体を変更して入力する自動書体変更手段としての機
能を果たし、第15図はその文字入力のフローチャート
である。15 and 16 function as an automatic font changing means that automatically changes the font and inputs the character when the character specified by the character specifying means is input, FIG. 15 is a flowchart of character input.
入力装置から文字を入力し、文字格納エリアに格納して
、ポインタの計算を行なう。次に、入力した文字に書体
設定指示があるか否かを判断し、有れば書体制御コード
を生成し、テキストエリアに挿入する。そして、文字コ
ードを挿入(書体設定指示が無い場合も)シ1次のカー
ソル位置を算出してこれを表示して終了する。Input characters from the input device, store them in the character storage area, and perform pointer calculations. Next, it is determined whether or not the input character has a font setting instruction, and if so, a font control code is generated and inserted into the text area. Then, the character code is inserted (even if there is no font setting instruction), the first cursor position is calculated, this is displayed, and the process ends.
第16図は、表示のためのフローチャートである。先ず
、テキストバッファより文字コードを取り出し、その文
字コードよりCGアドレスを計算する。そして、書体を
変更するか否かを判断し、書体を変更する場合は、書体
切り換えフォントCGよりデータを取り出す。FIG. 16 is a flowchart for display. First, a character code is extracted from the text buffer, and a CG address is calculated from the character code. Then, it is determined whether or not to change the font, and if the font is to be changed, data is extracted from the font switching font CG.
書体を変更しない場合は、標準フォントCGよりデータ
を取り出す。そして、このデータを表示用メモリにセッ
トして画面に表示する分が終るまでこのループを繰り返
す。If the font is not changed, data is extracted from the standard font CG. Then, this data is set in the display memory and this loop is repeated until the data to be displayed on the screen is completed.
なお、印刷をする場合もテキストバッファより文字コー
ドを取り出し、同様の処理を行ないデータを印刷バッフ
ァにセットして印刷する。Note that when printing, the character code is extracted from the text buffer, the same processing is performed, and the data is set in the print buffer and printed.
このように、従来技術の欠点をカバーするために、すで
に入力された文字に対して書体変更を指示する技術はそ
のまま残し、入力の際に書体を自動的に変更して入力す
る文字を予め指定できる文字指定手段と、この文字指定
手段によりその文字を指定しておけば、自動書体変更手
段により書体を自動的に変更するので、書体の変更忘れ
を防止することができる。In this way, in order to cover the shortcomings of the conventional technology, the technology that instructs the font change for characters that have already been input remains as is, and the font is automatically changed when inputting and the characters to be input are specified in advance. If the font is specified by the character specifying means and the character is specified by the character specifying means, the font is automatically changed by the automatic font changing means, so it is possible to prevent forgetting to change the font.
〔発明の効果〕
以上説明したように、この発明によれば、予め数字など
を書体変更して入力することを選択しておくことで、入
力した後に書体変更を行なわなくとも、自動的に書体変
更されて入力され、元の書体に戻したい時は、その文字
に合わせて書体変更指示をすることで1元の書体に戻す
ことができるので、非常に操作性のよいまた失敗の少な
い文字入力が可能となる。[Effects of the Invention] As explained above, according to the present invention, by selecting in advance to input numbers etc. by changing the font, the font can be automatically changed without changing the font after inputting the numbers. If the font has been changed and you want to return to the original font, you can return to the original font by instructing the font to change according to the character, making it very easy to use and less likely to make mistakes when inputting characters. becomes possible.
第1図はこの発明を実施した文字処理装置の自動書体変
更制御に係る部分を機能的に示すブロック図、
第2図はこの発明を実施した文字処理装置としてのワー
ドプロセッサの外観斜視図。
第3図はその制御部の構成を示すブロック図、第4図乃
至第6図は入力された文字の書体変更の具体例とテキス
トバッファの状態を示す説明図、
第7図は変更された書体で表示をしない場合の反転表示
の説明図、
第8図は第6図の場合の印刷バッファの説明図、第9図
は書体種設定テーブルの久方時書体変更の説明図、
第10図は印刷時に書体切り換えが指示された時のテキ
ストバッファの説明図、
第11図は書体切り換えが解除された時のテキストバッ
ファと表示の状態を示す説明図、第12図は特定の漢字
を書体変更する場合の書体種設定テーブルと表示の説明
図、
第13図は第12図における書体種設定テーブルの内部
コードの状態を示す説明図、
第14図乃至第16図はこの実施例の作用を示すフロー
図である。
1・・・入力装置(キーボード)
2・・・表示装置(液晶デイスプレィ装置)3・・・印
刷装置(プリンタ)
40・・・入力制御部 41・・・文字編集部4
2・・・文字格納制御部 43・・・書体制御部44
・・・文字格納エリア(テキストバッファ)45・・・
書体設定制御部 46・・・内部スイッチ47・・・
書体種設定テーブル 48・・・表示制御部49・・
・文字フォント取出し部
50.54川ゲイト 51・・・明朝体CG52・
・・拡張フォントCG(ゴシック体)53・・・表示用
メモリ 55・・・書体切換制御部56・・・印刷制
御部 57・・・テキスト情報取出部58・・・印刷
フォント取出部
5日・・・プリンタ制御部
60・・・印刷バッファ制御部
61・・・印刷バッファ
第2図FIG. 1 is a block diagram functionally showing a portion related to automatic font change control of a character processing device embodying the present invention, and FIG. 2 is an external perspective view of a word processor as a character processing device embodying the present invention. Figure 3 is a block diagram showing the configuration of the control unit, Figures 4 to 6 are explanatory diagrams showing specific examples of changing the font of input characters and the state of the text buffer, and Figure 7 is the changed font. Figure 8 is an illustration of the print buffer in the case of Figure 6. Figure 9 is an illustration of changing the font type in the font type setting table. Figure 10 is An explanatory diagram of the text buffer when font switching is instructed during printing. Figure 11 is an explanatory diagram showing the state of the text buffer and display when font switching is canceled. Figure 12 is an illustration of changing the font of a specific kanji. FIG. 13 is an explanatory diagram showing the state of the internal code of the font type setting table in FIG. 12. FIGS. 14 to 16 are flowcharts showing the operation of this embodiment. It is a diagram. 1... Input device (keyboard) 2... Display device (liquid crystal display device) 3... Printing device (printer) 40... Input control section 41... Character editing section 4
2...Character storage control unit 43...Typeface control unit 44
...Character storage area (text buffer) 45...
Font setting control unit 46...internal switch 47...
Font type setting table 48...display control section 49...
・Character font extraction part 50.54 Kawagate 51...Mincho font CG52・
...Extended font CG (Gothic) 53...Display memory 55...Typeface switching control unit 56...Printing control unit 57...Text information extraction unit 58...Print font extraction unit 5th... ... Printer control section 60 ... Print buffer control section 61 ... Print buffer Fig. 2
Claims (1)
れた文字等を表示装置に表示して編集・校正が行なえる
文字処理装置において、 前記入力装置からすでに入力された文字を指示してその
書体を他の書体に変更する書体変更手段と、事前に書体
を変更する文字を指定する文字指定手段と、該文字指定
手段により指定した文字が入力された際に自動的に書体
を変更して入力する自動書体変更手段とを備えたことを
特徴とする文字処理装置。[Claims] 1. A character processing device that is equipped with an input device and a display device and can edit and proofread characters, etc. input from the input device by displaying them on the display device, a font changing means for specifying a character and changing the font to another font; a character specifying means for specifying the character whose font is to be changed in advance; and automatic font changing means for changing the font and inputting the font.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63196471A JPH0245867A (en) | 1988-08-06 | 1988-08-06 | Character processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63196471A JPH0245867A (en) | 1988-08-06 | 1988-08-06 | Character processor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0245867A true JPH0245867A (en) | 1990-02-15 |
Family
ID=16358357
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63196471A Pending JPH0245867A (en) | 1988-08-06 | 1988-08-06 | Character processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0245867A (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS58134327A (en) * | 1982-02-05 | 1983-08-10 | Ricoh Co Ltd | Japanese word processor |
-
1988
- 1988-08-06 JP JP63196471A patent/JPH0245867A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS58134327A (en) * | 1982-02-05 | 1983-08-10 | Ricoh Co Ltd | Japanese word processor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100421129B1 (en) | Character information processing device for performing printing | |
US4931987A (en) | Word processor for locating beginning position of text element and displaying corresponding formatting data and formatting mark separately | |
JPH0245867A (en) | Character processor | |
JP2956702B2 (en) | Romaji Kana conversion method | |
JPS63293669A (en) | Character processor | |
JPH0230222A (en) | Document forming and editing device | |
JP2815158B2 (en) | Character processor | |
JPH0560628B2 (en) | ||
JP2592840B2 (en) | Character processor | |
JP2675476B2 (en) | Character input device | |
JPH0354376B2 (en) | ||
JPH06110891A (en) | Document creation device | |
JPH01193968A (en) | Character processor | |
JPH01180589A (en) | Character processor | |
JPH089245B2 (en) | Character processor | |
JPS63289671A (en) | Character processor | |
JPH01184522A (en) | Document preparing and editing device | |
JPS61122776A (en) | Input/output device | |
JPS63285587A (en) | Character processor | |
JPH01286869A (en) | Character processing device | |
JPH0244458A (en) | Character processor | |
JPH01176573A (en) | Document preparation and editing apparatus | |
JPS63276165A (en) | Character processor | |
JPH0638256B2 (en) | I / O device | |
JPS62249189A (en) | Document generator |