JPH02223989A - Character processor - Google Patents
Character processorInfo
- Publication number
- JPH02223989A JPH02223989A JP1045703A JP4570389A JPH02223989A JP H02223989 A JPH02223989 A JP H02223989A JP 1045703 A JP1045703 A JP 1045703A JP 4570389 A JP4570389 A JP 4570389A JP H02223989 A JPH02223989 A JP H02223989A
- Authority
- JP
- Japan
- Prior art keywords
- format data
- data
- enlarged
- vector
- output
- 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
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 230000004044 response Effects 0.000 abstract description 2
- 238000000034 method Methods 0.000 description 14
- 230000008569 process Effects 0.000 description 8
- 102100029968 Calreticulin Human genes 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000003825 pressing Methods 0.000 description 3
- 238000004040 coloring Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 101100326671 Homo sapiens CALR gene Proteins 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000004397 blinking Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000011017 operating method Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
Landscapes
- Image Processing (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、文字情報を処理する文字処理装置に関し、ベ
クトル形式のデータから拡大/縮小文字を出力する指示
があったときに、ベクトル形式のデータがないときは、
ドツト形式のデータを利用して拡大/縮小文字を出力す
ることができる文字処理装置に関するものである。[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a character processing device that processes character information, and when there is an instruction to output enlarged/reduced characters from vector format data, the present invention relates to a character processing device that processes character information. When there is no data,
The present invention relates to a character processing device that can output enlarged/reduced characters using dot format data.
(従来の技術)
従来の文字処理装置においては、ベクトル形式のデータ
から拡大/縮小文字を出力する指示をしたときに、ベク
トル形式のデータがないときは、何も出力されなかった
。ベクトル形式のデータは、外部ROMに格納されてい
ることが多いため、ベクトル形式のデータがないという
場合は多い。(Prior Art) In a conventional character processing device, when an instruction is given to output enlarged/reduced characters from vector format data, if there is no vector format data, nothing is output. Since vector format data is often stored in an external ROM, there are many cases where vector format data is not available.
したがって、上記従来例では、ベクトル形式のデータが
ない場合、拡大/縮小文字を出力する指示をしたにもか
かわらず、ベクトル形式のデータがないので何も出力さ
れないという課題があった。Therefore, in the conventional example described above, there is a problem in that when there is no data in vector format, nothing is outputted even though an instruction to output enlarged/reduced characters is given because there is no data in vector format.
〔目的)
本発明は、上記課題を解決するために、任意の拡大/縮
小文字を出力する指示をしたときに、ドツト形式のデー
タを利用して、拡大/縮小文字を出力することを目的と
する。[Purpose] In order to solve the above problems, the present invention aims to output enlarged/reduced characters using dot format data when an instruction is given to output enlarged/reduced characters. do.
(実施例) 次に本発明の実施例について説明する。(Example) Next, examples of the present invention will be described.
第1図は本発明文字処理装置の構成の実施例を示すブロ
ック図である。尚、本発明の文字処理装置は、1つの機
器であっても複数の機器から構成されるシステムであっ
ても良いことは言うまでもない、第1図において1はC
PU、即ち中央処理装置であり、この装置全体の制御及
び演算処理等を行うものである。2はROM即ち読み出
し専用メモリであり、システム起動プログラム及びドツ
トデータで表わされる文字パターン・データや、例えば
第2図、第3図に示す手順等の記憶領域である。3はR
AM即ちランダムアクセスメモリであり、使用制限のな
いデータ記憶領域であり、様々な処理毎に各々のプログ
ラム及びデータがロードされ、実行される領域である。FIG. 1 is a block diagram showing an embodiment of the configuration of a character processing device according to the present invention. It goes without saying that the character processing device of the present invention may be a single device or a system consisting of a plurality of devices. In FIG. 1, 1 represents C.
The PU is a central processing unit that controls the entire device and performs arithmetic processing. Reference numeral 2 denotes a ROM, that is, a read-only memory, which is a storage area for system startup programs, character pattern data represented by dot data, and procedures such as those shown in FIGS. 2 and 3, for example. 3 is R
AM, that is, random access memory, is a data storage area with no restrictions on use, and is an area where programs and data are loaded and executed for various processes.
4は外部ROM即ち、外部読み出し専用メモリであり、
システムプログラムや文字パターン・データ等(例えば
、ベクトル形式データ)の外部記憶領域である。5はK
BC即ちキーボード制御部であり、6のKB即ちキーボ
ードよりキー人力データを受は取りCPU1へ伝達する
。7はCRTC即ちデイスプレィ#Jg!J部であり、
8はCRT即ちデイスプレィ装置であり、7のCRTC
よりデータを受は取り表示する。9はDKC即ちディス
ク制御部であり、データ伝送等の制御を行うものである
。10はFD即ちフロッピーディスク装置あるいはHD
即ちハードディスク装置等の外部記憶装置であり、プロ
グラム及びデータを記憶させておき、実行時必要に応じ
て参照またはRAMヘロードする。尚、本発明における
変換されたベクトル形式のデータをこの外部記憶装置に
記憶させても良い、11は作成した文書を印刷するため
のプリンタである。4 is an external ROM, that is, an external read-only memory;
This is an external storage area for system programs, character patterns, data, etc. (for example, vector format data). 5 is K
It is a BC or keyboard control unit, which receives key manual data from the 6 KB or keyboard and transmits it to the CPU 1. 7 is CRTC, that is, display #Jg! J section,
8 is a CRT or display device;
The data is received and displayed. Reference numeral 9 denotes a DKC, ie, a disk control unit, which controls data transmission and the like. 10 is FD, floppy disk device or HD
That is, it is an external storage device such as a hard disk device, in which programs and data are stored and referenced or loaded into RAM as needed during execution. Note that the converted vector format data of the present invention may be stored in this external storage device. Reference numeral 11 is a printer for printing the created document.
12はシステムバスであり、上述の構成要素間のデータ
の通路となるべきものである6以上の構成からなる本実
施例の動作を説明する。Reference numeral 12 denotes a system bus, and the operation of this embodiment, which is composed of six or more configurations, which is to serve as a data path between the above-mentioned components, will be explained.
まず実際にベクトル形式のデータに基づいて文字を出力
させる操作手順について説明する。First, the operating procedure for actually outputting characters based on vector format data will be explained.
以下の制御は第1図CPUIが行っているものである。The following control is performed by the CPUI in FIG.
まずKB6からの入力に基づいて「アウトラインフォン
ト作成」のコマンドをオペレータが入力する。この入力
は文字をベクトル形式のデータに基づいて拡大/縮小、
斜体、影付き、鏡像、塗りを行う為のコマンドである。First, the operator inputs a command to "create an outline font" based on input from the KB6. This input enlarges/reduces characters based on data in vector format.
Commands for italicizing, shading, mirroring, and filling.
この入力は通常ワープロで用いられている変換キーを押
した後、カタカナ入力モードにしく例えばカタカナキー
)、「アウトライン」と入力することによって行われる
。或いはCRT8に表示される「アウトライン」という
キーラベルに対応するKBa上のファンクションキーを
押下することによって行われる。或いは機能キーやシフ
トキー十所定キーを押下することにより行われる。コマ
ンドの入力の方法はこれに限るものではない。This input is performed by pressing a conversion key normally used in a word processor, switching to katakana input mode (for example, katakana key), and inputting "outline". Alternatively, this can be done by pressing a function key on KBa that corresponds to the key label "Outline" displayed on the CRT 8. Alternatively, this can be done by pressing a function key, shift key, or a predetermined key. The method of inputting commands is not limited to this.
上記のコマンドが入力されると、cputはCRTa上
に「修飾したい文字列を範囲指定し、選択キーを押して
ください」というメツセージを出力させる。オペレータ
はKBB上の不図示のカーソルキー、選択キーにより既
に入力され、CRTB上に表示されている文字列の所望
の範囲を指定する。例えば第4図に示す様に「お知らせ
」が指定される。アはアウトライン出力したい文字列の
範囲を示す記号である。次にCPUIは、CRT8にお
いて第5図に示す画面(ウィンドウ)を表示させる。カ
ーソルを用いて選択を行うことにより、第5図から第6
図、第7図、第8図に切換え表示される。尚、12は例
えば文字の塗り、つまり文字の輪部の内部のパターンを
どの様にするかを設定した状態を示している。13は点
滅、高(低)輝度等設定されたパターンを他と識別する
べく表示形態を他と区別している様子を示している。第
7図は範囲指定された文字列「お知らせ」の型を設定す
るメニュー画面である1次に第8図では文書画面に設定
した値に応じてアウトラインフォントの拡張領域が表示
される。各種の数値、マークは図示の通りである。出力
のサイズはポイント数で指定してもよいし、現在の文字
列例えば12ポイントを何倍するかを指定する様・にし
ても良い0倍率指定とサイズ指定は同等と考えて良い。When the above command is input, cput outputs a message on the CRTa that says ``Please specify the range of character strings you want to modify and press the selection key.'' The operator uses cursor keys and selection keys (not shown) on the KBB to specify a desired range of character strings that have already been input and are displayed on the CRTB. For example, as shown in FIG. 4, "Notice" is specified. A is a symbol that indicates the range of character strings that you want to output as an outline. Next, the CPUI causes the CRT 8 to display a screen (window) shown in FIG. By making selections using the cursor, the
, 7 and 8 are displayed. Incidentally, reference numeral 12 indicates a state in which, for example, the coloring of a character, that is, the pattern inside the ring of a character is set. Reference numeral 13 shows how the display form is distinguished from others in order to distinguish patterns set such as blinking and high (low) luminance from others. FIG. 7 shows a menu screen for setting the type of character string "Notice" with a specified range. First, in FIG. 8, an expanded area of an outline font is displayed in accordance with the value set on the document screen. Various numerical values and marks are as shown. The output size may be specified by the number of points, or by specifying how many times the current character string, for example 12 points, is to be multiplied. Zero magnification specification and size specification can be considered to be equivalent.
最級的に印刷される形態は、例えば第9図の様になる。The most advanced form of printing is as shown in FIG. 9, for example.
これはドツトで出力される。尚、第7図の後、第8図で
はなくて第9図の状態で他の文字列と同様に印刷の形態
を表わす状態でCRTa上に表示される様にしても良い
。This is output as a dot. Incidentally, after FIG. 7, the character string may be displayed on the CRTa in the state shown in FIG. 9 instead of in FIG. 8, representing the printing format like other character strings.
第2図は、本実施例の動作の一例を示すフローチャート
である。前述した様にベクトル形式のデータからの拡大
/縮小文字を印刷出力するべく第4図〜第8図に示され
る様な、各種データのセットが行われ、KB6の印刷キ
ーによる印刷指示がきたとき、或いはベクトル形式のデ
ータから拡大/縮小文字を表示出力するべく、第4図〜
第7図に示される様な各種のデータのセットが行われ、
表示出力が行われようとするどきCPUIはまずステッ
プS1でベクトル形式のデータがあるかどうかを判断す
る。これはベクトル形式のデータを格納した外部ROM
4が装着されているか否かを調べることで容易に判定で
きる。これは、この時点で行っても良いが、パワーオン
時に予め判定を行っていても良い、そしてこの結果をR
AM3に記憶しておけば良い。又、ベクトルデータを外
部ROM4によっても供給されない装置であればベクト
ル形式のデータは存在しないのであるから、このステッ
プを省略してS7に進んでも良い、又、第3図において
もSlを格納してS7へ進む様にしても良い、Slでベ
クトル形式のデータがある場合、ステップS2に進み、
ベクトル形式のデータを外部ROM4から読み出し、ス
テップS3で座標データへ変換し、ステップS4で輪郭
テーブルを発生し、ステップS5でぬり処理を行う、こ
こでベクトルデータはドツトデータに変換されている。FIG. 2 is a flowchart showing an example of the operation of this embodiment. As mentioned above, in order to print out enlarged/reduced characters from vector format data, various data as shown in Figs. 4 to 8 are set, and when a print instruction is received using the print key of KB6. , or to display and output enlarged/reduced characters from vector format data.
Various types of data are set as shown in Figure 7.
When display output is to be performed, the CPU first determines in step S1 whether there is data in vector format. This is an external ROM that stores data in vector format.
This can be easily determined by checking whether or not 4 is attached. This can be done at this point, but it can also be determined in advance when the power is turned on, and this result can be
Just store it in AM3. Also, if the device is not supplied with vector data by the external ROM 4, there will be no data in vector format, so this step can be omitted and the process can proceed to S7. Also, in FIG. 3, Sl is stored. You may proceed to step S7. If there is vector format data in Sl, proceed to step S2,
Vector format data is read from the external ROM 4, converted to coordinate data in step S3, a contour table is generated in step S4, and coloring processing is performed in step S5. Here, the vector data has been converted to dot data.
ステップS6で要求のあったバッファへ転送する。この
バッファは印jGl用のバッファ形式、或いは表示用の
VRAMである。In step S6, the data is transferred to the requested buffer. This buffer is a buffer type for mark jGl or a VRAM for display.
ステップS2からステップS6までの処理は、例えば本
出願人提案の特願昭63−319943、特願昭63−
319944において詳述している。The processing from step S2 to step S6 is performed, for example, in Japanese Patent Application No. 63-319943 proposed by the present applicant;
319944.
ステップS1でベクトル形式のデータがない場合、ステ
ップS7へ進み、ドツト形式のデータを読み出し、ステ
ップS8で輪郭点抽出を行う。ここで作成されるデータ
はベクトル形式データと同じ形式にする。このステップ
S8の処理は、例えば本出願人が同日付特許願(1)、
(2)において詳述している0次にステップS3へ進
み、後の処理は上述した処理と同じである。If there is no vector format data in step S1, the process proceeds to step S7, where dot format data is read out, and contour point extraction is performed in step S8. The data created here is in the same format as vector format data. For example, the process of step S8 is performed when the present applicant files a patent application (1) dated the same date,
The process proceeds to the 0th step S3 detailed in (2), and the subsequent processing is the same as the processing described above.
第3図は、本実施例の動作の他の一例を示すフローチャ
ートである。ステップS1までの処理は上述第2図の例
と同じで、ステップS1でベクトル形式にデータがある
場合は、第2図ステップS2からステップS6までと同
じである。ステップS1でベクトル形式のデータがない
場合、ステップS7へ進み、ドツト形式のデータを読み
出し、ステップS8で、ドツト形式のデータのままで拡
大/縮小処理を行い、ステップS6でバッファへ転送す
る。このステップS8の処理単独では、ドツト形式のデ
ータのドツト形式に招ける変倍であるので公知の技術で
ある。FIG. 3 is a flowchart showing another example of the operation of this embodiment. The processing up to step S1 is the same as the example shown in FIG. 2 above, and if there is data in vector format in step S1, the processing is the same as steps S2 to S6 in FIG. If there is no vector format data in step S1, the process advances to step S7 to read the dot format data, and in step S8, the data is enlarged/reduced as it is, and is transferred to the buffer in step S6. The processing in step S8 alone is a known technique since it is a scaling change that converts dot-format data into dot-format data.
尚、第3図、第4図の方法のいずれか一方を選択する選
択手段をにB6上に設けても良い。又、拡大/縮小率に
応じて第3図の制御か第4図の制御かをCPtJ 1の
判断により自動的に切換える様にしても良い、つまり、
通常出力するサイズ、例えば12ポイント等を基準に考
え、例えば16ポイント以上だとベクトル形式のデータ
に基づいて拡大/縮小し、例えばそれ以下だと装置が有
しているドツト形式のデータを拡大/縮小して出力する
様に制御することができる。Incidentally, selection means for selecting either one of the methods shown in FIGS. 3 and 4 may be provided on B6. Furthermore, depending on the enlargement/reduction ratio, the control shown in FIG. 3 or the control shown in FIG. 4 may be automatically switched based on the judgment of CPtJ 1. In other words,
Consider the normal output size, such as 12 points, and if it is 16 points or more, it will be expanded/reduced based on vector format data, and if it is smaller than that, it will be expanded/reduced based on the dot format data that the device has. It can be controlled to reduce the size and output it.
以上説明したように、本発明によれば任意の拡大/縮小
文字を出力する指示をしたときに、ドツト形式のデータ
を利用して拡大/縮小文字を出力する文字処理装置を得
ることができる。As described above, according to the present invention, it is possible to obtain a character processing device that outputs enlarged/reduced characters using dot format data when an instruction to output enlarged/reduced characters is given.
(効果〕
以上説明した様に、本発明によれば任意の拡大/縮小文
字を出力する指示に応じて、ドツト形式のデータを利用
して拡大/縮小文字を出力する文字処理装置を得ること
ができる。(Effects) As described above, according to the present invention, it is possible to obtain a character processing device that outputs enlarged/reduced characters using dot format data in response to an instruction to output enlarged/reduced characters. can.
第1図は本発明実施例のブロック図、
第2図は本発明実施例の制御手順の一例を示すフローチ
ャート、
第3図は本発明実施例の制御手順の一例を示すフローチ
ャート。
第4図〜第8図は、修飾文字の設定の仕方を説明する図
。
第9図は出力例を示す図である。
1・・・ CPU (中央処理装置)
2・・・ ROM (読み出し専用メモリ)3・・・
RAM (ランダムアクセスメモリ)4・・・ 外部R
OM (読み出し専用メモリ)8・・・ CRT(デイ
スプレィ装置)¥4区
第5回FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a flowchart showing an example of a control procedure of an embodiment of the invention, and FIG. 3 is a flowchart of an example of a control procedure of an embodiment of the invention. FIGS. 4 to 8 are diagrams for explaining how to set decorative characters. FIG. 9 is a diagram showing an example of output. 1... CPU (central processing unit) 2... ROM (read-only memory) 3...
RAM (Random Access Memory) 4... External R
OM (read-only memory) 8... CRT (display device) ¥4 section 5th
Claims (2)
判断する手段と、 ベクトル形式のデータを読み出し、そのデータから、拡
大/縮小文字を出力する手段と、 ドット形式のデータから拡大/縮小文字を出力する手段
と、 ベクトル形式のデータから拡大/縮小文字を出力するこ
とを指示する手段と、 ベクトル形式のデータから拡大/縮小文字を出力する指
示があったときに、前記判断手段による判断に基づき、
ベクトル形式で格納したデータがあるときはベクトル形
式のデータから、存在しないときはドット形式のデータ
から拡大/縮小文字を出力する手段を 具備したことを特徴とする文字処理装置。(1) A means for determining whether there is data stored in vector format, a means for reading vector format data and outputting enlarged/reduced characters from that data, and a means for outputting enlarged/reduced characters from dot format data. means for outputting, means for instructing to output enlarged/reduced characters from vector format data, and means for instructing to output enlarged/reduced characters from vector format data, based on the determination by the determining means when there is an instruction to output enlarged/reduced characters from vector format data; ,
A character processing device characterized by comprising means for outputting enlarged/reduced characters from vector format data when there is data stored in vector format, and from dot format data when there is no data stored in vector format.
記憶手段、 前記記憶手段に記憶されたドット形式のデータをベクト
ル形式のデータに変換する変換手段、出力すべきパター
ンのサイズを指定する指定手段、 前記指定手段によって指定されるサイズに基づいて、前
記変換手段によって変換されたベクトル形式のデータに
対するサイズ変換処理を行うサイズ変換手段、 前記サイズ変換手段によって変換されたベクトル形式の
データをドットにより出力する出力手段とを有したこと
を特徴とする文字処理装置。(2) storage means for storing data representing a pattern in dot format; conversion means for converting the dot format data stored in the storage means into vector format data; designation means for designating the size of the pattern to be output; Size converting means for performing size conversion processing on the vector format data converted by the converting means based on the size specified by the specifying means; outputting the vector format data converted by the size converting means as dots; 1. A character processing device comprising: an output means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1045703A JPH02223989A (en) | 1989-02-27 | 1989-02-27 | Character processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1045703A JPH02223989A (en) | 1989-02-27 | 1989-02-27 | Character processor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH02223989A true JPH02223989A (en) | 1990-09-06 |
Family
ID=12726727
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1045703A Pending JPH02223989A (en) | 1989-02-27 | 1989-02-27 | Character processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH02223989A (en) |
-
1989
- 1989-02-27 JP JP1045703A patent/JPH02223989A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5790093A (en) | Document processing apparatus | |
JPH11232276A (en) | Character processor, processing method of character data and storage medium | |
JPH02223989A (en) | Character processor | |
JPH0785027A (en) | Document editor | |
JP2815158B2 (en) | Character processor | |
JPH0823744B2 (en) | Character string processor | |
JPS63131261A (en) | Document processor | |
JPH08335152A (en) | Document processor | |
JP2928512B2 (en) | Document processing apparatus and method | |
JPH0346020A (en) | Document processing system | |
JPH04256065A (en) | Document editing device | |
JP3371435B2 (en) | Input mode automatic setting method or input mode automatic setting device | |
JP3040624B2 (en) | Pattern generator | |
JPH086618A (en) | Programming device | |
JPH0721159A (en) | Processor and method for character processing | |
JPH052581A (en) | Character input device | |
JPH04268959A (en) | Document preparing device | |
JPH0950535A (en) | Image data output device | |
JPH0628487A (en) | Graph processor | |
JPH03160557A (en) | Document processor | |
JPH08272796A (en) | Document processor | |
JPH05143053A (en) | Word processor provided with enlarging and smoothing function | |
JPH09128378A (en) | Document display controller | |
JPH05324619A (en) | Document preparing device | |
JPH05266020A (en) | Method and device for preparation of document |