JPH04299390A - Drawing device - Google Patents
Drawing deviceInfo
- Publication number
- JPH04299390A JPH04299390A JP3064732A JP6473291A JPH04299390A JP H04299390 A JPH04299390 A JP H04299390A JP 3064732 A JP3064732 A JP 3064732A JP 6473291 A JP6473291 A JP 6473291A JP H04299390 A JPH04299390 A JP H04299390A
- Authority
- JP
- Japan
- Prior art keywords
- character
- characters
- kana
- size
- cpu
- 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
- 235000016496 Panda oleosa Nutrition 0.000 abstract description 16
- 240000000220 Panda oleosa Species 0.000 abstract description 16
- 238000010586 diagram Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 101100524644 Toxoplasma gondii ROM4 gene Proteins 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
Landscapes
- Dot-Matrix Printers And Others (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
【0001】0001
【産業上の利用分野】本発明は、特定の文字を自動的に
変倍して描画するようにした描画装置に関するものであ
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a drawing device that automatically scales and draws specific characters.
【0002】0002
【従来の技術】従来、文字等を描画する描画装置におい
ては、ユーザが作成した文章内の文字の大きさを一定の
範囲内で拡大もしくは縮小して描画するようにした機能
が一般に備えられていた。[Prior Art] Conventionally, drawing devices for drawing characters, etc. are generally equipped with a function that enlarges or reduces the size of characters in a text created by a user within a certain range. Ta.
【0003】0003
【発明が解決しようとする課題】しかしながら、従来の
描画装置においては、例えば仮名文字といった特定の文
字の大きさだけを自動的に変倍して描画するようにした
機能が備えられていなかったため、例えばユーザが、漢
字と仮名まじり文を見やすく描画するために、仮名文字
だけを縮小して描画しようとしても、これを行うことが
できないといった問題点があった。[Problems to be Solved by the Invention] However, conventional drawing devices do not have a function that automatically scales and draws only the size of specific characters, such as kana characters, for example. For example, there is a problem in that even if a user tries to draw only kana characters by reducing the size of the characters in order to draw a text that is a mixture of kanji and kana characters, this cannot be done.
【0004】本発明は、上述した問題点を解決するため
になされたものであり、特定の文字の大きさを自動的に
変倍(縮小または拡大)して描画することにより、見や
すい文章に描画できるようにした描画装置を提供するこ
とを目的とする。The present invention was made in order to solve the above-mentioned problems, and by automatically scaling (reducing or enlarging) the size of a specific character and drawing it, it is possible to draw a text that is easy to read. The purpose of the present invention is to provide a drawing device that enables the following.
【0005】[0005]
【課題を解決するための手段】この目的を達成するため
本発明の描画装置は、文字コードを記憶する記憶手段と
、この記憶手段によって記憶された文字コードが特定の
文字に対応するものであるか否かを判別する判別手段と
、この判別手段による判別結果に基づいて特定の文字の
大きさを変倍して描画する描画手段とを備えたものであ
る。[Means for Solving the Problems] In order to achieve this object, the drawing device of the present invention includes a storage means for storing character codes, and a character code stored by the storage means that corresponds to a specific character. The apparatus is equipped with a discriminating means for discriminating whether or not it is, and a drawing means for drawing a specific character by changing its size based on the discrimination result by the discriminating means.
【0006】[0006]
【作用】上記の構成を有する本発明の描画装置によれば
、ユーザの作成した文章を構成する一文字毎の文字コー
ドを記憶手段によって記憶し、この記憶した各文字コー
ドが特定の文字コードであるか否かを判別手段によって
判別する。そして、判別結果に基づいて、特定の文字に
ついてのみ大きさを自動的に縮小または拡大し、他の文
字はそのままの大きさで描画することにより、見やすい
文章として描画することができる。[Operation] According to the drawing device of the present invention having the above configuration, the storage means stores the character code of each character constituting the sentence created by the user, and each stored character code is a specific character code. The determining means determines whether or not it is. Then, based on the determination result, the size of only specific characters is automatically reduced or enlarged, and other characters are drawn at the same size, thereby making it possible to draw an easy-to-read text.
【0007】[0007]
【実施例】以下、本発明を具体化した一実施例を図面を
参照して説明する。図1は、本描画装置の制御装置を表
すブロック図である。即ち、制御装置の主体をなすマイ
クロコンピュータ部40は、CPU1,プログラムRO
M2、テキストメモリ3、日本語フォントROM4とか
ら主に構成されている。マイクロコンピュータ部40の
CPU1等は、バス6を介して相互に接続されており、
このバス6には、入力部7及び印字部8が接続されてい
る。DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment embodying the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a control device of this drawing apparatus. That is, the microcomputer section 40 which forms the main body of the control device has a CPU 1, a program RO
It mainly consists of M2, text memory 3, and Japanese font ROM4. The CPU 1 and the like of the microcomputer section 40 are connected to each other via a bus 6.
An input section 7 and a printing section 8 are connected to this bus 6.
【0008】前記入力部7は、文字コード等必要なデー
タをマイクロコンピュータ部40に入力するものであり
、印字部8は、マイクロコンピュータ部40からの指令
に基づいて、文字を印字するものである。プログラムR
OM2には、図2に示す描画処理プログラムの他、印字
に必要な種々のプログラムが記憶されている。また、テ
キストメモリ3は、ユーザが作成した文章を構成する一
文字毎の文字コードを記憶しておくためのメモリである
。そして、このテキストメモリ3内の文字コードが仮名
文字に対応するものであるか否かがCPU1で判断され
る。また、日本語フォントROM4は、CPU1が仮名
文字であると判断した文字については所定の縮小率で縮
小し、仮名文字以外の文字についてはそのままの大きさ
で印字部8に出力して印字するためのものである。The input section 7 is for inputting necessary data such as character codes into the microcomputer section 40, and the printing section 8 is for printing characters based on commands from the microcomputer section 40. . Program R
In addition to the drawing processing program shown in FIG. 2, the OM2 stores various programs necessary for printing. Further, the text memory 3 is a memory for storing character codes for each character constituting sentences created by the user. Then, the CPU 1 determines whether the character code in the text memory 3 corresponds to a kana character. In addition, the Japanese font ROM 4 reduces characters that the CPU 1 determines to be kana characters at a predetermined reduction rate, and outputs characters other than kana characters to the print unit 8 in their original size for printing. belongs to.
【0009】次に、実際の描画動作について、図2に示
すフローチャートを参照して説明する。まず、ユーザが
入力した文章の各文字の文字コードをインターフェース
から読み込みテキストメモリ3に格納し(S0)、その
文字コードが仮名文字に対応するものか否かをCPU1
で判断する(S1)。そして、CPU1が仮名文字であ
ると判断した文字については日本語フォントROM4に
おいて縮小処理を行う(S2)。一方、CPU1が仮名
文字以外の文字であると判断した文字については、その
ままの大きさで描画処理を行なって(S3)、印字部8
に出力して印字処理を行なう(S4)。Next, the actual drawing operation will be explained with reference to the flowchart shown in FIG. First, the character code of each character of a sentence input by the user is read from the interface and stored in the text memory 3 (S0), and the CPU 1 checks whether the character code corresponds to a kana character or not.
Judgment is made (S1). Then, the characters that the CPU 1 determines to be kana characters are subjected to reduction processing in the Japanese font ROM 4 (S2). On the other hand, for characters that the CPU 1 determines to be characters other than kana characters, drawing processing is performed with the same size (S3), and the printing unit 8
The data is output to the printer and printed processing is performed (S4).
【0010】次に、仮名文字か否かの判断方法について
、図3を参照して説明する。ユーザが入力した文字は、
区点JISコードに変換されるのであるが、この区点J
ISコードの1区〜3区は記号、4区は平仮名、5区は
カタカナ、6〜7区はアルファベット等、16区以上は
漢字に相当している。例えば、第4区の第1点にある“
ぁ”は“0401”、第16区の第1点にある“亜”は
“1601”と表される。従って、文字コードが040
1〜0594の範囲にある場合は仮名文字と判断するこ
とができる。Next, a method for determining whether or not a character is a kana character will be explained with reference to FIG. The characters entered by the user are
It is converted to Kuten JIS code, but this Kuten J
The 1st to 3rd wards of the IS code correspond to symbols, the 4th ward corresponds to hiragana, the 5th ward corresponds to katakana, the 6th to 7th wards correspond to alphabets, etc., and the 16th ward and above correspond to kanji. For example, “
"A" is represented as "0401", and "A" at the first point in the 16th ward is represented as "1601". Therefore, the character code is 040.
If it is in the range of 1 to 0594, it can be determined that it is a kana character.
【0011】以上のように、上記実施例によれば、ユー
ザの作成した文章が漢字仮名混じり文の場合、仮名文字
を自動的に縮小して印字することにより、見やすく描画
することができる。なお、仮名文字はそのままの大きさ
で印字し、漢字を拡大して印字するようにしたり、特定
の文字はそのままの大きさで、それ以外の文字を縮小し
て描画することにより、特定の文字だけを浮かび上がら
せるようにすることもできる。As described above, according to the above embodiment, when the text created by the user is a text containing kanji and kana characters, the kana characters are automatically reduced in size and printed, thereby making it possible to draw the text in an easy-to-read manner. In addition, you can print kana characters at their original size while enlarging kanji characters, or print certain characters at their original size while reducing other characters. You can also make it stand out.
【0012】0012
【発明の効果】以上説明したことから明らかなように、
本発明の描画装置によれば、ユーザの作成した文章を構
成する一文字毎の文字コードを記憶手段によって記憶し
、この記憶した各文字コードが特定の文字コードである
か否かを判別手段によって判別し、この判別結果に基づ
いて特定の文字だけを自動的に変倍して様々な見やすい
文章に描画することができる効果がある。[Effect of the invention] As is clear from the above explanation,
According to the drawing device of the present invention, the storage means stores character codes for each character constituting a sentence created by a user, and the determination means determines whether each stored character code is a specific character code. However, based on this discrimination result, only specific characters can be automatically scaled and drawn into various easy-to-read sentences.
【図1】本描画装置の制御装置を表すブロック図である
。FIG. 1 is a block diagram showing a control device of the present drawing apparatus.
【図2】描画動作を表すフローチャートである。FIG. 2 is a flowchart showing a drawing operation.
【図3】区点JISコード変換表の一部である。FIG. 3 is a part of the Kuten JIS code conversion table.
1 CPU 2 プログラムROM 3 テキストメモリ 4 日本語フォントROM 6 バス 7 入力部 8 印字部 40 マイクロコンピュータ部 1 CPU 2 Program ROM 3 Text memory 4 Japanese font ROM 6 Bus 7 Input section 8 Printing section 40 Microcomputer section
Claims (1)
の記憶手段によって記憶された文字コードが特定の文字
に対応するか否かを判別する判別手段と、この判別手段
による判別結果に基づいて特定の文字の大きさを変倍し
て描画する描画手段とを備えたことを特徴とする描画装
置。Claim 1: storage means for storing a character code; determination means for determining whether or not the character code stored by the storage means corresponds to a specific character; 1. A drawing device comprising: a drawing means for drawing by changing the size of characters.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3064732A JPH04299390A (en) | 1991-03-28 | 1991-03-28 | Drawing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3064732A JPH04299390A (en) | 1991-03-28 | 1991-03-28 | Drawing device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04299390A true JPH04299390A (en) | 1992-10-22 |
Family
ID=13266621
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3064732A Pending JPH04299390A (en) | 1991-03-28 | 1991-03-28 | Drawing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04299390A (en) |
-
1991
- 1991-03-28 JP JP3064732A patent/JPH04299390A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS5994131A (en) | Word processor | |
JPH04299390A (en) | Drawing device | |
JPH04290184A (en) | Handwritten document creation device | |
JPS616762A (en) | Document processor | |
JPS6371767A (en) | Document producing device | |
JP2786260B2 (en) | Kana-Kanji conversion device | |
JPS60129883A (en) | Document processor | |
JPS5832418B2 (en) | Kanji-mixed sentence input device | |
JP2573183B2 (en) | Kana-Kanji conversion device | |
JPH07141340A (en) | Document output method and document processor | |
JPH0687249A (en) | Apparatus for printing address | |
JPH06259414A (en) | Method and device for outputting furikana (japanese pronunciation of chinese character) for word processor | |
JP2509554B2 (en) | Character processing method | |
JPH06250628A (en) | Document processor | |
JPS62125426A (en) | Data input system | |
JPS60245074A (en) | Automatic agate display system | |
JPS6327916A (en) | Documentation device | |
JPH03282875A (en) | Document preparation device | |
JPH0719258B2 (en) | Information processing equipment | |
JPS62266661A (en) | Japanese language word processor | |
JPH0512274A (en) | Document processor | |
JPS60114957A (en) | Kana (japanese syllabary) kanji (chinese character) conversion system | |
JPH03286249A (en) | Character processor | |
JPH0589140A (en) | Document preparing device | |
JPH06168228A (en) | Kana/kanji converting device |