JPH02223990A - Character processor - Google Patents

Character processor

Info

Publication number
JPH02223990A
JPH02223990A JP1045704A JP4570489A JPH02223990A JP H02223990 A JPH02223990 A JP H02223990A JP 1045704 A JP1045704 A JP 1045704A JP 4570489 A JP4570489 A JP 4570489A JP H02223990 A JPH02223990 A JP H02223990A
Authority
JP
Japan
Prior art keywords
format data
data
vector
dot
character
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
JP1045704A
Other languages
Japanese (ja)
Inventor
Keiko Nakanishi
恵子 中西
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 JP1045704A priority Critical patent/JPH02223990A/en
Publication of JPH02223990A publication Critical patent/JPH02223990A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To output enlarged or reduced characters fast by extracting feature points from dot-format data collectively converting them into vector-format data, and storing the converted vector-format data. CONSTITUTION:An external storage device 10 such as a floppy disk drive FD and a hard disk drive HD is provided and a program and data are stored and loaded onto a RAM 3 at need when executed. Data which have possibility to be registered newly and modified are converted from dot-format data to vector-format data and when storing operation is indicated, dot-format data on an indicated character code is converted into vector-format data, which is stored. Consequently, the enlarged or reduced character based upon the vector- format data can be outputted fast.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、あるタイミングで一括してドツト形式のデー
タからベクトル形式のデータに変換し、その変換したデ
ータを貯蔵しておくことができる文字処理装置に関する
ものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention provides a character system that can convert data in a dot format into vector format data all at once at a certain timing, and store the converted data. It relates to a processing device.

或いは、更にベクトル形式のデータに変換すべきデータ
を指定することができる文字処理装置に関するものであ
る。
Alternatively, the present invention relates to a character processing device that can further specify data to be converted into vector format data.

[従来の技術] 従来の文字処理装置において、任意のサイズの拡大/縮
小文字を出力するときに、ベクトル形式のデータが必要
になるが、ベクトル形式のデータを持っていない場合、
出力ができなかった。
[Prior Art] In a conventional character processing device, vector format data is required when outputting enlarged/reduced characters of arbitrary size, but if vector format data is not available,
Could not output.

そこで、ベクトル形式のデータの必要が発生する毎に、
ドツト形式のデータから、ベクトル形式のデータに変換
し、拡大/縮小文字を出力する方法が考えられる。しか
し、この場合、ドツト形式のデータからベクトル形式へ
のデータ変換を何度も行うことになり、時間に無駄があ
るという問題が考えられる。
Therefore, whenever the need for vector format data arises,
One possible method is to convert dot format data to vector format data and output enlarged/reduced characters. However, in this case, data conversion from dot format data to vector format must be performed many times, resulting in a problem of wasted time.

[目的] 本発明の目的は、あるタイミングで一括して、ドツト形
式データからベクトル形式データに変換し、貯蔵するこ
とができる文字処理装置を提供することにある。
[Objective] An object of the present invention is to provide a character processing device that can convert dot format data into vector format data and store it all at once at a certain timing.

本発明は、上記問題を解決するために、あるタイミング
で一括してドツト形式のデータからベクトル形式のデー
タに変換し、その変換したデータを貯蔵しておくことに
より、延いては、出力の指示から拡大/縮小文字を出力
する迄を高速に行うことを目的とする。
In order to solve the above problem, the present invention converts dot format data into vector format data all at once at a certain timing, stores the converted data, and then outputs instructions. The purpose is to speed up the process from printing to outputting enlarged/reduced characters.

本発明は、外字のように、新たに登録されたり、変更さ
れたりする可能性があるデータは、ドツト形式データか
らベクトル形式データに変換し、貯蔵しておく指示があ
ったときに指示された文字コードのドツト形式のデータ
からベクトル形式のデータに変換し、その変換したデー
タを貯蔵しておくことにより、高速にベクトル形式のデ
ータから拡大/縮小文字を出力することができる文字処
理装置を提供することを目的とする。
The present invention converts data that may be newly registered or changed, such as external characters, from dot format data to vector format data and stores it when instructed to do so. To provide a character processing device that can output enlarged/reduced characters from vector format data at high speed by converting character code dot format data to vector format data and storing the converted data. The purpose is to

[実施例] 次に本発明の実施例について説明する。[Example] Next, examples of the present invention will be described.

第1図は本発明文字処理装置の構成の実施例を示・すブ
ロック図である。第1図において1はCPU、即ち中央
処理装置であり、この装置全体の制御及び演算処理等を
行なうものである。2はROM即ち読み出し専用メモリ
であり、システム起動プログラム及び文字パターン・デ
ータ等(例えば、第2図に示すドツト形式データ、第4
図に示す手順)の記憶領域である。3はRAM即ちラン
ダムアクセスメモリであり、使用制限のないデータ記憶
領域であり、様々な処理毎に各々のプログラム及びデー
タ(例えば、第3図に示す様な変換されたベクトル形式
データ)がロードされ、実行される領域である。4は外
部ROM即ち、外部読み出し専用メモリであり、システ
ムプログラムや文字パターン・データ等の外部記憶領域
である。このROMには、ベクトル形式のデータが格納
されていても良い。5はWBC即ちキーボード制御部で
あり、6のKB即ちキーボードよりキー人力データを受
は取りCPUIへ伝達する。
FIG. 1 is a block diagram showing an embodiment of the configuration of a character processing device according to the present invention. In FIG. 1, reference numeral 1 denotes a CPU, that is, a central processing unit, which controls the entire apparatus and performs arithmetic processing. 2 is a ROM, that is, a read-only memory, which stores system startup programs, character pattern data, etc. (for example, the dot format data shown in FIG.
This is the storage area for the procedure shown in the figure. 3 is a RAM, that is, a random access memory, which is a data storage area with no restrictions on use, and each program and data (for example, converted vector format data as shown in FIG. 3) are loaded for each various processing. , is the area to be executed. Reference numeral 4 denotes an external ROM, that is, an external read-only memory, which is an external storage area for system programs, character patterns, data, and the like. This ROM may store data in vector format. Reference numeral 5 denotes a WBC or keyboard control unit, which receives key manual data from the KB or keyboard 6 and transmits it to the CPUI.

このKH2により、ベクトル形式に変換すべき文字コー
ドを指定してもよい。つまり、書体を指定したり、第1
水準等を指定したり、直接文字を指定しても良い。7は
CRTC即ちデイスプレィ制御部であり、8はCRT即
ちデイスプレィ装置であり、7のCRTCよりデータを
受は取り表示する。9はDKC即ちディスク制御部であ
り、データ伝達等の制御を行なうものである。10はF
D即ちフロッピーディスク装置あるいはHD即ちハード
ディスク装置等の外部記憶装置であり、プログラム及び
データを記憶させておき、実行時、必要に応じて参照ま
たはRAMヘロードする。この外部記憶装置に、後述の
変換後のベクトルデータを記憶させる様にしても良い。
This KH2 may be used to specify a character code to be converted into a vector format. In other words, you can specify the font,
You can also specify the level, etc., or directly specify the characters. 7 is a CRTC, ie, a display control unit, and 8 is a CRT, ie, a display device, which receives and displays data from the CRTC 7. Reference numeral 9 denotes a DKC, ie, a disk control unit, which controls data transmission and the like. 10 is F
D is an external storage device such as a floppy disk device or an HD is a hard disk device, in which programs and data are stored and referenced or loaded into RAM as needed during execution. The external storage device may also store vector data after conversion, which will be described later.

或いは、更に一部を第1図のRAM3に記憶させ、頻度
の高い文字を記憶させるようにして、高速化を図る様に
しても良い。11は作成した文書を印刷するためのプリ
ンタである。12はシステムバスであり、上述の構成要
素間のデータ・の通路となるべきものである。
Alternatively, a portion may be further stored in the RAM 3 shown in FIG. 1 to store frequently occurring characters in order to increase the speed. 11 is a printer for printing the created document. Reference numeral 12 denotes a system bus, which serves as a data path between the above-mentioned components.

以上の構成からなる本実施例の動作を第2図〜第4図を
参照して説明する。第2図は、ROM2に格納されてい
るドツト形式のデータ構成図の一例である。RCODE
は、文字コードテーブルで文字のドツト形式データに対
応する文字コードを記憶する。RDATAは、文字のド
ツト形式のデータをRCODEの順に記憶している。ド
ツト形式データの1文字のデータサイズ(RDATAN
)は等しいのでコードが入力されれば、求める文字のド
ツト形式のデータを読み出すことは容易にできる。第2
図は、ドツト形式のデータの全体であっても良いし、そ
の一部、例えばある書体の文字を表わすものであっても
良い。第3図は、ベクトル形式のデータ構成図の一例で
ある。C0DEは文字コードテーブルでインデックステ
ーブルに対応する。INDEXは文字コードに対応する
ベクトル形式データの先頭アドレスのテーブルである。
The operation of this embodiment having the above configuration will be explained with reference to FIGS. 2 to 4. FIG. 2 is an example of a dot-format data configuration diagram stored in the ROM 2. RCODE
stores character codes corresponding to character dot format data in a character code table. RDATA stores character dot format data in the order of RCODE. Data size of one character of dot format data (RDATAN
) are equal, so if the code is input, it is easy to read the dot-format data of the desired character. Second
The diagram may be the entirety of the dot-format data, or it may be a portion of it, for example, a representation of characters in a certain typeface. FIG. 3 is an example of a vector format data configuration diagram. C0DE is a character code table and corresponds to the index table. INDEX is a table of starting addresses of vector format data corresponding to character codes.

DATAはベクトル形式のデータ、DATAN(i)は
ベクトル形式データのサイズである。ベクトル形式のデ
ータのサイズは、文字によって違うので、求める文字の
INDEX(先頭アドレス)から、次のINDEXの値
の差がデータサイズとなる。
DATA is vector format data, and DATAN(i) is the size of the vector format data. Since the size of vector format data differs depending on the character, the data size is the difference between the INDEX (start address) of the desired character and the next INDEX.

第4図は、本実施例の動作の一例を示すフローチャート
である。あるタイミング(例えば、電源ON時や、初め
てベクトル形式データが必要になった時等)で第2図に
示すデータ構成のn個のドツト形式データから、ドツト
形式の文字コードテーブル類(RCODE (i))に
ドツト形式データー(RDATA (i))を読み出し
、輪郭点を抽出し、ベクトル形式データ(アウトライン
データ)に変換し、第3図に示すベクトル形式のデータ
構成にして貯蔵する例である。尚、前述のベクトル形式
のデータが必要になった時とは、例えば、外字を登録し
た時等である。ステップS1でカウンタiに1を設定し
、ステップS2でINDEX (1)にベクトル形式デ
ータテーブル(DATA)の先頭アドレス(stad)
を設定する。ステップS3でドツト形式のデータのコー
ド(RCODE (i))をベクトル形式のコードテー
ブル(CODE (i))に設定する。
FIG. 4 is a flowchart showing an example of the operation of this embodiment. At a certain timing (for example, when the power is turned on or when vector format data is needed for the first time), dot format character code tables (RCODE (i) )), dot format data (RDATA (i)) is read out, contour points are extracted, converted to vector format data (outline data), and stored in the vector format data structure shown in FIG. 3. The above-mentioned vector format data is required when, for example, a non-standard character is registered. In step S1, the counter i is set to 1, and in step S2, the start address (stad) of the vector format data table (DATA) is set to INDEX (1).
Set. In step S3, the code (RCODE (i)) of the dot format data is set in the vector format code table (CODE (i)).

ステップS4でドツト形式のデータ(RDATA(i)
)から輪郭点を抽出し、ベクトル形式データに変換した
データをDATA(i)に設定する。ドツト形式のデー
タをベクトル形式のデータに変換する技術は例えば本出
願人が、同日付特許願(+)、(2)で詳述したので詳
細は省略する。その時、求まるデータサイズ(DATA
N (i))を(INDEX (i))に足して次のデ
ータの先頭アドレス(INDEX (i+1))とする
。これで、1文字分のデータを格納したことになる。
In step S4, dot format data (RDATA(i)
), and set the data converted to vector format data in DATA(i). The technology for converting dot-format data into vector-format data has been described in detail by the present applicant in patent applications (+) and (2) dated the same date, so the details will be omitted. At that time, the data size (DATA
N (i)) is added to (INDEX (i)) to obtain the start address (INDEX (i+1)) of the next data. This means that data for one character has been stored.

これを必要な文字骨、つまりn回繰り返し、終了する。This is repeated for the necessary number of character bones, that is, n times, and the process is completed.

また、変更の可能性があるデータ(例えば、外字等)は
、あるキー等を押す毎に(例えば、外字−覧を表示する
毎に)、記憶されている文字コードのドツト形式のデー
タから、輪郭点を抽出し、ベクトル形式データに変換し
、格納していく。
In addition, data that may be changed (for example, custom characters) is changed from the stored character code dot format data every time a certain key is pressed (for example, every time the custom character list is displayed). The contour points are extracted, converted to vector format data, and stored.

又、パワーオン時に、例えば第1水準或いは、第2水準
の漢字情報をドツト形式のデータから、ベクトル形式の
データに変換することも可能である。
Further, when the power is turned on, it is also possible to convert, for example, first level or second level kanji information from dot format data to vector format data.

[効果] 以上説明したように、本発明によれば、−括してドツト
形式のデータから輪郭点を抽出し、ベクトル形式のデー
タに変換し、その変換したベクトル形式のデータを貯蔵
しておくことにより、高速に拡大/縮小文字を出力する
文字処理装置を得ることができる。
[Effects] As explained above, according to the present invention, - contour points are collectively extracted from dot-format data, converted to vector-format data, and the converted vector-format data is stored. By doing so, it is possible to obtain a character processing device that outputs enlarged/reduced characters at high speed.

また、ドツト形式データからペルトル形式データに変換
し、貯蔵しておく指示があったときに指示された文字コ
ードのドツト形式のデータからベクトル形式のデータに
変換し、その変換したデータを貯蔵してお(ことにより
、高速にベクトル形式のデータから拡大/縮小文字を出
力する文字処理装置を得ることができる。
Also, when there is an instruction to convert dot format data to Peltle format data and store it, convert the dot format data of the specified character code to vector format data, and store the converted data. (Thus, it is possible to obtain a character processing device that outputs enlarged/reduced characters from vector format data at high speed.

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

第1図は本発明実施例のブロック図5、第2図は本発明
実施例のドツト形式のデータ構成図、 第3図は本発明実施例のベクトル形式のデータ構成図、 第4図は本発明実施例の制御手順の一例を示すフローチ
ャートである。 1・・・CPU (中央処理装置) 2・・・ROM (読み出し専用メモリ)3・・・RA
M (ランダムアクセスメモリ)4・・・外部ROM 
(読み出し専用メモリ)5・・・WBC(キーボード制
御部) 6・・・KB(キーボード) 7・・・CRTC(デイスプレィ制御部)8・・・CR
T (デイスプレィ装置)9・・・DKC(ディスク制
御部) 10・・・外部記憶装置 11・・・PRT(プリンタ) 12・・・システム
Figure 1 is a block diagram 5 of an embodiment of the present invention, Figure 2 is a data configuration diagram in dot format of an embodiment of the invention, Figure 3 is a data configuration diagram of vector format in an embodiment of the invention, and Figure 4 is a bookmark diagram. 2 is a flowchart showing an example of a control procedure according to an embodiment of the invention. 1...CPU (central processing unit) 2...ROM (read-only memory) 3...RA
M (Random access memory) 4...External ROM
(Read-only memory) 5...WBC (keyboard control section) 6...KB (keyboard) 7...CRTC (display control section) 8...CR
T (display device) 9...DKC (disk control unit) 10...external storage device 11...PRT (printer) 12...system

Claims (2)

【特許請求の範囲】[Claims] (1)文字等を表わすドット形式のデータから輪郭点を
抽出し、ベクトル形式のデータに変換する変換手段と、 前記変換手段によって変換されたベクトル形式のデータ
を貯蔵する貯蔵手段と、 ドット形式のデータからベクトル形式のデータに変換し
、貯蔵しておくことを指示する指示手段と、 を具備したことを特徴とする文字処理装置。
(1) Conversion means for extracting contour points from dot-format data representing characters, etc. and converting them into vector-format data; storage means for storing vector-format data converted by the conversion means; and dot-format data. A character processing device comprising: instruction means for instructing to convert data into vector format data and store it;
(2)更に、貯蔵すべきデータを指定する指定手段とを
有したことを特徴とする特許請求の範囲第1項に記載の
文字処理装置。
(2) The character processing device according to claim 1, further comprising designating means for designating data to be stored.
JP1045704A 1989-02-27 1989-02-27 Character processor Pending JPH02223990A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1045704A JPH02223990A (en) 1989-02-27 1989-02-27 Character processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1045704A JPH02223990A (en) 1989-02-27 1989-02-27 Character processor

Publications (1)

Publication Number Publication Date
JPH02223990A true JPH02223990A (en) 1990-09-06

Family

ID=12726756

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1045704A Pending JPH02223990A (en) 1989-02-27 1989-02-27 Character processor

Country Status (1)

Country Link
JP (1) JPH02223990A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0493356U (en) * 1990-12-28 1992-08-13

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0493356U (en) * 1990-12-28 1992-08-13

Similar Documents

Publication Publication Date Title
JPS6320622A (en) Document editing device
JPH02223990A (en) Character processor
JP2644778B2 (en) Character generator
JP2886912B2 (en) Character processing apparatus and method
JPS63202476A (en) Document output unit
JPH082712Y2 (en) Display controller
JP2564470B2 (en) Document processing device
JP3082940B2 (en) Character processing apparatus and method
JPS63136084A (en) Character processor
JP3236039B2 (en) Character processing apparatus and method
JPH07200577A (en) Document preparation device and document printing method therefor
JPS61213883A (en) Character data output unit
JPH0895548A (en) Device and method for outputting character
JPH0778133A (en) Document preparing device and method for outputting character pattern
JPH0262598A (en) Character processor
JPH01282595A (en) Character pattern generation system by image input
JPH01161570A (en) Document preparing device
JPH053009B2 (en)
JPS63291089A (en) Character processor
JPH1074199A (en) Character processing device and method and storage medium storing character processing program
JPH0512269A (en) Document processing system
JPH01245355A (en) Furigana writing system
JPH03206550A (en) Method and device for display of conversion candidate of read input character string
JPH08320860A (en) File name setting method
JPH04235664A (en) Multi-stage type kanji inputting device