JPH01274191A - Character processor - Google Patents

Character processor

Info

Publication number
JPH01274191A
JPH01274191A JP63102414A JP10241488A JPH01274191A JP H01274191 A JPH01274191 A JP H01274191A JP 63102414 A JP63102414 A JP 63102414A JP 10241488 A JP10241488 A JP 10241488A JP H01274191 A JPH01274191 A JP H01274191A
Authority
JP
Japan
Prior art keywords
character
characters
font
range
external
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
Application number
JP63102414A
Other languages
Japanese (ja)
Inventor
Kazunori Arima
和範 有馬
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 JP63102414A priority Critical patent/JPH01274191A/en
Publication of JPH01274191A publication Critical patent/JPH01274191A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To easily generate the font of optional characters by easy operation by specifying the range of the size of the font of input characters and symbols and storing the font of the characters and symbols whose range is specified as an external character of the font of one character. CONSTITUTION:This processor is equipped with an input means 101 for inputting characters and symbols, a range means 102 for specifying the range of the size of the font of the input characters and symbols, and a storage means 103 for storing the font of the characters and symbols whose range is specified as the external character of the font of one character. Then the range of a normal character string is specified and a command for conversion to the external character is inputted, thus registering the font as the external character. Consequently, the optional character string is registered as external characters, so characters which are already stored in a storage device are put together to generate an optional character by an operator.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、ユーザが任意に外字を作成することができる
文字処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a character processing device that allows a user to arbitrarily create external characters.

[従来の技術] 従来の文字処理装置において、通常に用いる大きさのフ
ォントでなく、例えば第8図に示すように、通常の1文
字の大きさのフォントに複数の文字を入れたいことがあ
る。第8図において破線はフォントの大きさを示すだけ
であり、フォントとして存在するわけではない。このよ
うな文字は、文字処理装置に予め用意しである場合もあ
るが、ユーザの必要とするフォントが全て網羅されるわ
けでもなく、必要とするフォントが用意されていないと
きは、ユーザがそのフォントを作成しなければならない
ので、そのフォントを構成するドツトの全てを入力する
必要があった。
[Prior Art] In conventional character processing devices, there are cases where it is desired to insert multiple characters into a font of the normal size of one character, as shown in FIG. 8, instead of using a font of a normally used size. . In FIG. 8, the broken line only indicates the size of the font, and does not necessarily exist as a font. Such characters may be prepared in advance in the character processing device, but this does not cover all the fonts the user needs, and if the font the user wants is not available, the user can Since I had to create a font, I had to enter all the dots that make up the font.

[発明が解決しようとする課題1 上述のように、ユーザが第8図に示すようなフォントを
必要とする場合、この構成ドツトを全て入力しなければ
ならないので、相当な労力と時間を要するという問題点
があった。
[Problem to be solved by the invention 1 As mentioned above, when a user needs a font like the one shown in Figure 8, he has to input all the constituent dots, which requires considerable effort and time. There was a problem.

本発明の目的は、上述の問題点を解決し、任意の文字の
フォントを簡単な操作で作成することのできる文字処理
装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above problems and provide a character processing device that can create a font of any character with simple operations.

[課題を解決するための手段] このような目的を達成するために、本発明は、文字およ
び記号を入力する入力手段と、入力された文字および記
号のフォントの大きさを示す範囲を指定する範囲指定手
段と、範囲指定された文字および記号のフォントを、1
文字のフォントの外字として記憶する記憶手段とを具え
る。
[Means for Solving the Problem] In order to achieve such an object, the present invention specifies an input means for inputting characters and symbols and a range indicating the font size of the input characters and symbols. The range specification means and the font of the characters and symbols specified in the range are set to 1.
and storage means for storing characters as external characters of a font.

[作 用] 本発明においては、通常の文字列の範囲を指定して外字
に変換するための入力を行うことによりフォントを外字
登録することができる。
[Function] In the present invention, a font can be registered as a non-standard character by specifying a range of normal character strings and inputting for conversion to a non-standard character.

[実施例] 以下、図面を参照して本発明の詳細な説明する。[Example] Hereinafter, the present invention will be described in detail with reference to the drawings.

本発明に係る文字処理装置は、第1図に示すように、文
字および記号を入力する入力手段101と、入力された
文字および記号のフォントの大ぎさを示す範囲を指定す
る範囲手段102と、範囲指定された文字および記号の
フォントを1文字のフォントの外字として記憶する記憶
手段103とを具える。
As shown in FIG. 1, the character processing device according to the present invention includes an input means 101 for inputting characters and symbols, a range means 102 for specifying a range indicating the font size of the input characters and symbols, A storage means 103 is provided for storing a font of characters and symbols specified in a range as external characters of a single character font.

第2図は本発明の実施例のシステム構成図を示す。ここ
で2Aは本システムを制御する中央処理装置(以下CP
Uと略す)である。2Bは記憶装置であり、システムを
動かすうえで必要なワーク2Cおよび外字を記憶してお
く外字領域2Dとを有している。
FIG. 2 shows a system configuration diagram of an embodiment of the present invention. Here, 2A is a central processing unit (hereinafter referred to as CP) that controls this system.
(abbreviated as U). 2B is a storage device, which has a workpiece 2C necessary for operating the system and a custom character area 2D for storing custom characters.

ワーク2Cは、範囲指定中に1となる範囲指定中フラグ
11S、範囲指定開始アドレスIIs八と、範囲終了ア
ドレスHEAを有している。
The work 2C has a range specification flag 11S which becomes 1 during range specification, a range specification start address IIs8, and a range end address HEA.

2EはCART  (陰極線管)などの形態の表示装置
であり、文字および記号を表示する。2Fはキャラクタ
−ジェネレータ(CG)であり、表示あるいは印字で使
用するフォントを格納している。
2E is a display device such as a CART (cathode ray tube), which displays characters and symbols. 2F is a character generator (CG), which stores fonts used for display or printing.

2Gは文字および記号を入力する入力装置であるキーボ
ードである。
2G is a keyboard which is an input device for inputting characters and symbols.

第3図は入力装置であるキーボード2Gを示す。FIG. 3 shows a keyboard 2G which is an input device.

ここで、3Aは範囲指定を行うキーである。3Bはキー
3^によって範囲指定された文字を外字変換するための
トリガとなる外字変換キーである。3Cはカーソル移動
キー群であり、入力位置を示すカーソルを移動させる。
Here, 3A is a key for specifying a range. 3B is a custom character conversion key that serves as a trigger for converting characters specified in the range by the key 3^. 3C is a cursor movement key group, which moves a cursor indicating an input position.

第4図は外字領域2Dの詳細な内容を示す。本実施例で
は、外字の数を8個とした。8個の外字をその示す数字
のコード4Bで登録する。4Aは外字のインデックス(
GI)であり、1バイト用意してMSBをコード8の外
字に、LSBをコード1の外字に対応させ、そのそれぞ
れの対応するビットの1かOかで、該当する外字の存在
の有無を判断する。ここでは、0は外字無し、1は外字
有りを示す。
FIG. 4 shows detailed contents of the external character area 2D. In this embodiment, the number of external characters is eight. Register the 8 external characters with the numeric code 4B that they indicate. 4A is the index of the external character (
GI), prepare one byte, make the MSB correspond to the code 8 external character, and the LSB to the code 1 external character, and determine whether the corresponding external character exists or not depending on whether the corresponding bit is 1 or O. do. Here, 0 indicates that there is no external character, and 1 indicates that the external character is present.

第5図に示すフローチャートに従って、本発明の実施例
の処理手順を説明する。
The processing procedure of the embodiment of the present invention will be explained according to the flowchart shown in FIG.

まず、ステップS1においてキーボード2Eからキー入
力を行う。
First, in step S1, key input is performed from the keyboard 2E.

ステップS2およびS3において、入力されたキーの種
類を判断する。ステップS2においては範囲指定キー3
Aか否かをステップS3においては外字変換キー3Bか
否かを判断する。
In steps S2 and S3, the type of key input is determined. In step S2, range specification key 3
In step S3, it is determined whether the external character conversion key 3B is A or not.

ステップS2において範囲指定キーであると判断された
場合は、ステップS5の処理に進む。ステップS3にお
いて外字変換キーであると判断された場合は、ステップ
S4の処理に進む。そのどちらのキーでもないときは、
ステップS8に進み、その他の処理を行なう。カーソル
移動キー3Cが入力されたときのカーソルの移動の処理
もこのステップS8におけるその他の処理に含めること
とする。
If it is determined in step S2 that the key is a range specification key, the process proceeds to step S5. If it is determined in step S3 that the key is a private character conversion key, the process proceeds to step S4. If neither of these keys is available,
Proceed to step S8 to perform other processing. The process of moving the cursor when the cursor movement key 3C is input is also included in the other processes in step S8.

ステップS2において、ステップS1におけるキー入力
が範囲指定キー3Aであると判断されたときは、ステッ
プS5に進み、範囲指定中のフラグItsが0か否かを
判断する。
In step S2, when it is determined that the key input in step S1 is the range designation key 3A, the process proceeds to step S5, and it is determined whether the range designation flag Its is 0 or not.

ステップS5においてH5が0のときは、ステップS6
に進み、範囲指定中フラグH5を1にする。そしてステ
ップS7に進み、現在カーソルのある位置を範囲開始ア
ドレスUSAに記憶し、再びステップSlのキー入力処
理に進む。
When H5 is 0 in step S5, step S6
Go to step 1 and set the range specifying flag H5 to 1. The process then proceeds to step S7, where the current cursor position is stored in the range start address USA, and the process again proceeds to the key input process of step S1.

ステップS5において範囲指定中フラグH5が0でない
ときは現在範囲指定中なので、範囲指定中フラグH5を
Oにする。そしてステップ510に進み、現在のカーソ
ルの位置を範囲終了アドレスHEAに記憶して、ステッ
プStにおけるキー入力処理に進む。この範囲指定キー
3Aが2回押されるまでに、カーソル移動キー3Cを押
して、範囲を指定しようとする文字ブロックを指定する
If the range specification flag H5 is not 0 in step S5, then the range is currently being specified, so the range specification flag H5 is set to 0. The process then proceeds to step 510, where the current cursor position is stored in the range end address HEA, and the process proceeds to key input processing in step St. Before the range designation key 3A is pressed twice, the cursor movement key 3C is pressed to designate the character block for which the range is to be designated.

第6図に示す例で説明すると、6aの位置にカーソルが
あるとき範囲指定キー3^を押して範囲指定開始し、カ
ーソルキーを押して6bの位置にカーソルを移動させた
後、範囲指定キー3Aを押して範囲指定終了する。ここ
で、範囲開始アドレス1(SAには6aの位置が記憶さ
れ、範囲終了アドレスHEAには6bの位置が記憶され
る。
To explain using the example shown in Fig. 6, when the cursor is at position 6a, press range designation key 3^ to start range designation, press the cursor key to move the cursor to position 6b, and then press range designation key 3A. Press to finish specifying the range. Here, the position of 6a is stored in the range start address 1 (SA), and the position of 6b is stored in the range end address HEA.

第5図のステップS5における外字変換処理は第7図に
示すフローチャートに従って詳細に説明する。
The external character conversion process in step S5 in FIG. 5 will be explained in detail according to the flowchart shown in FIG.

まず、ステップSllにおいて、外字空きが有るか否か
を調べる。これは、外字インデックス(Gl) 4^の
ビットにOがあるか否かを調べるだけで容易に調べられ
る。外字インデックス(Gl)が全て1の場合は外字に
は空き領域がないので、ステップ515における処理に
進み、外字空き領域がない趣旨のエラーメツセージを表
示装置2Eに表示してこの外字変換処理を抜ける。
First, in step Sll, it is checked whether there is any free space for external characters. This can be easily checked by simply checking whether there is an O in the bit of the private character index (Gl) 4^. If all the private character indexes (Gl) are 1, there is no free space for the private characters, so the process proceeds to step 515, displays an error message to the effect that there is no free space for private characters on the display device 2E, and exits from this private character conversion process. .

ステップSllにおける判断で外字インデックス(Gl
) 4Aにどれかのビットに0がある場合、外字空き領
域があって外字の登録が可能なので、ステップ512以
下の処理に進む。
The external character index (Gl) is determined in step Sll.
) If there is a 0 in any bit of 4A, there is a free space for a private character and registration of a private character is possible, so the process proceeds to step 512 and subsequent steps.

ステップS12においては、範囲開始アドレスおよび範
囲終了アドレスで示される領域の文字のフォント展開を
CG2Fに格納されているデータに基づいて行なう。そ
の後、ステップS13に進み、展開された指定ブロック
のフォントを外字の大きさにデータ圧縮を行う。そして
、ステップ514において、空き外字領域にその圧縮さ
れたデータを登録し、その登録されたデータを登録し、
その登録された外字に対応する外字インデックス(Gl
)4^のビットを1にして、外字変換処理を抜ける。
In step S12, font development of characters in the area indicated by the range start address and range end address is performed based on the data stored in CG2F. Thereafter, the process proceeds to step S13, where data compression is performed on the expanded font of the designated block to the size of the external character. Then, in step 514, the compressed data is registered in the free private character area, the registered data is registered,
The private character index (Gl) corresponding to the registered private character
)4^ bit to 1 and exits the external character conversion process.

第6図に示す例で説明すると、6aから6bのブロック
において範囲指定した後に、外字変換キーを押して外字
変換処理を行なう。ここで、6cは白紙コードとし、文
字は入力されていないが、文字の位置を表わす指標なの
で、フォント展開の際はスペースと同等に扱う。外字の
フォントを32ドツト×32ドツトとすると、第6図の
例の場合、縦が2文字、横も2文字となるので、展開さ
れたドツトは64ドツト×64ドツトとなる。外字登録
する際には、この展開されたドツトを174の大きさに
縮小する。そして、外字空き領域に、縮小したデータを
記憶させる。いま、第4図に示したコード7の外字領域
が空いているとした場合、4Bの領域に第8図に示した
フォントデータが外字として記憶される。
To explain using the example shown in FIG. 6, after specifying the range in blocks 6a to 6b, the user presses the external character conversion key to perform the external character conversion process. Here, 6c is a blank code, and although no characters have been input, it is an index representing the position of a character, so it is treated as a space when developing a font. If the font of the external characters is 32 dots x 32 dots, in the example shown in Fig. 6, there will be 2 characters vertically and 2 characters horizontally, so the expanded dots will be 64 dots x 64 dots. When registering a non-standard character, this expanded dot is reduced to a size of 174. Then, the reduced data is stored in the private character free area. Now, assuming that the custom character area for code 7 shown in FIG. 4 is empty, the font data shown in FIG. 8 is stored as a custom character in the area 4B.

以上が実施例の説明であるが、第5図のステップS4に
おける外字変換処理に入る前に外字を登録するコードを
操作者が入力するようにすると、操作者の任意のコード
における外字として登録できるので、操作者にとってよ
り便利になる。
The above is an explanation of the embodiment, but if the operator inputs a code for registering a custom character before entering the custom character conversion process in step S4 in FIG. 5, it can be registered as a custom character in any code of the operator. This makes it more convenient for the operator.

[発明の効果] 以上説明したように、本発明においては、任意の文字列
を外字として登録することができるので、すでに記憶装
置中に記憶されている文字を合成することにより操作者
が任意の文字を作成できるので、文書の表現がより豊富
になるという効果がある。
[Effects of the Invention] As explained above, in the present invention, any character string can be registered as a custom character, so the operator can create any character string by combining characters already stored in the storage device. Since characters can be created, it has the effect of enriching the expression of documents.

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

第1図は本発明に係る文字処理袋はの基本構成図、 第2図は本発明の実施例を示す図、 第3図は本発明の実施例におけるキーボードを示す図、 第4図は本発明の実施例を示す図、 第5図は本発明の実施例のフローチャート、第6図は本
発明の実施例を示す図、 第7図は本発明の実施例のフローチャート、第8図は外
字フォントの例を示す図である。 2A・・・CPt1 (中央演算処理装置)、2B・・
・記憶装置、 2C・・・ワーク、 2E・・・表示装置、 2F・・・CG(キャラクタ−ジェネレータ)、2G・
・・キーボード、 3A・・・範囲指定キー、 3B・・・外字変換キー、 3C・・・カーソル移動キー群。 」5、爺日月に・1氷ろ丈丁尤乙理液j5の茶訃主厚炉
く口笛1図 本肥明/)大1fv 1列を尽す口 笛2図 杢智5 ジ月 f) 較 Jン、イ列 l示1「口第4
Fig. 1 is a basic configuration diagram of a character processing bag according to the present invention, Fig. 2 is a diagram showing an embodiment of the present invention, Fig. 3 is a diagram showing a keyboard in an embodiment of the present invention, and Fig. 4 is a diagram showing a keyboard according to an embodiment of the present invention. Figure 5 is a flowchart of an embodiment of the invention; Figure 6 is a flowchart of an embodiment of the invention; Figure 7 is a flowchart of an embodiment of the invention; Figure 8 is an external character. It is a figure which shows the example of a font. 2A...CPt1 (central processing unit), 2B...
・Storage device, 2C...work, 2E...display device, 2F...CG (character generator), 2G・
...keyboard, 3A...range specification key, 3B...external character conversion key, 3C...cursor movement key group. 5. In the old man moon, 1 ice, 1 ice, 1 fig. Jn, I row l Show 1 "mouth 4th"
figure

Claims (1)

【特許請求の範囲】 1)文字および記号を入力する入力手段と、該入力され
た文字および記号のフォントの大きさを示す範囲を指定
する範囲指定手段と、 該範囲指定された文字および記号のフォントを1文字の
フォントの外字として記憶する記憶手段と を具えたことを特徴とする文字処理装置。
[Claims] 1) An input means for inputting characters and symbols, a range specifying means for specifying a range indicating the font size of the input characters and symbols, and a range specifying means for specifying a range indicating the font size of the input characters and symbols; A character processing device comprising: storage means for storing a font as an external character of a single character of the font.
JP63102414A 1988-04-27 1988-04-27 Character processor Pending JPH01274191A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63102414A JPH01274191A (en) 1988-04-27 1988-04-27 Character processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63102414A JPH01274191A (en) 1988-04-27 1988-04-27 Character processor

Publications (1)

Publication Number Publication Date
JPH01274191A true JPH01274191A (en) 1989-11-01

Family

ID=14326786

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63102414A Pending JPH01274191A (en) 1988-04-27 1988-04-27 Character processor

Country Status (1)

Country Link
JP (1) JPH01274191A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0693546A1 (en) 1994-07-19 1996-01-24 NIPPON OIL Co. Ltd. Refrigerator oil and fluid composition for refrigerator
EP0699742A2 (en) 1994-08-03 1996-03-06 Nippon Oil Co. Ltd. Refrigerator oil composition and fluid composition for refrigerator
EP0711824A2 (en) 1994-11-07 1996-05-15 Nippon Oil Co. Ltd. Lubricating oil and composition for refrigerating machine, and refrigerating machine
EP0717098A2 (en) 1994-12-12 1996-06-19 Nippon Oil Co. Ltd. A refrigerating machine oil and a fluid composition for use in a refrigerating machine

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0693546A1 (en) 1994-07-19 1996-01-24 NIPPON OIL Co. Ltd. Refrigerator oil and fluid composition for refrigerator
EP0699742A2 (en) 1994-08-03 1996-03-06 Nippon Oil Co. Ltd. Refrigerator oil composition and fluid composition for refrigerator
EP0711824A2 (en) 1994-11-07 1996-05-15 Nippon Oil Co. Ltd. Lubricating oil and composition for refrigerating machine, and refrigerating machine
EP0717098A2 (en) 1994-12-12 1996-06-19 Nippon Oil Co. Ltd. A refrigerating machine oil and a fluid composition for use in a refrigerating machine

Similar Documents

Publication Publication Date Title
JPH02289046A (en) Document preparing device
JPH01274191A (en) Character processor
JPS59142634A (en) Character processing device
JPS629428A (en) Document producer
JP2900071B2 (en) Programming device for programmable controller
JPS63159972A (en) Sentence producing device
JPS59146329A (en) Japanese language input device
JP2593620B2 (en) Character processor
JP3265708B2 (en) Prohibition processing setting device
JPS60105030A (en) Character processor
JPS61260353A (en) Document processing system
JPS60196835A (en) Keyboard device
JPS6263366A (en) Searching system for unwritten part in word processor
JPS61175857A (en) Correcting system of typical sentence
JPS63146157A (en) Document processor
JPH096772A (en) Character processor
JPH06138912A (en) Programming device
JPH05323936A (en) Character processor
JPH04205407A (en) Keyboard
JPH0555247U (en) Small electronic calculator
JPS62256020A (en) Arabic processor
JPS63121967A (en) Japanese word processor
JPH0687240B2 (en) Document processor
JPH02291059A (en) Japanese language processor
JPS63288358A (en) Document input device