JPH0815794B2 - Character processor - Google Patents
Character processorInfo
- Publication number
- JPH0815794B2 JPH0815794B2 JP61052849A JP5284986A JPH0815794B2 JP H0815794 B2 JPH0815794 B2 JP H0815794B2 JP 61052849 A JP61052849 A JP 61052849A JP 5284986 A JP5284986 A JP 5284986A JP H0815794 B2 JPH0815794 B2 JP H0815794B2
- Authority
- JP
- Japan
- Prior art keywords
- font
- character
- display
- data
- printing
- 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.)
- Expired - Lifetime
Links
- 239000011159 matrix material Substances 0.000 claims description 13
- 238000010586 diagram Methods 0.000 description 5
- 238000000034 method Methods 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Landscapes
- Document Processing Apparatus (AREA)
- Controls And Circuits For Display Device (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
- Dot-Matrix Printers And Others (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ワードプロセッサ等の文字処理装置に関す
る。The present invention relates to a character processing device such as a word processor.
本発明は、印字出来る文字の大きさの種類が豊富なワ
ードプロセッサに関する。The present invention relates to a word processor having a wide variety of printable character sizes.
従来のワードプロセッサは第3図に示すような構成と
なっている。キーボード302から入力された文字列は表
示装置303に表示される。ユーザは表示を見ながら入力
や編集作業を行なうのであるがこの表示は以下のように
して行なわれる。すなわち、CPU301はキーボード302を
スキャンし入力された文字列を検出する。CPU301はVRAM
307に表示させるべく検出された文字のコードを書き込
む。表示装置303はVRAM307に展開された文字コード列か
ら表示文字フォント306を参照し表示する文字イメージ
を作成し表示する。The conventional word processor has a structure as shown in FIG. The character string input from the keyboard 302 is displayed on the display device 303. The user performs input and editing work while looking at the display, and this display is performed as follows. That is, the CPU 301 scans the keyboard 302 and detects the input character string. CPU301 is VRAM
Write the code of the detected character to be displayed on 307. The display device 303 refers to the display character font 306 from the character code string expanded in the VRAM 307 to create and display a character image to be displayed.
印刷は次のようにして行なわれる。すなわち印刷すべ
き文書データの格納されている文書ファイル308から印
字するべき文字コード列を読み出し印字バッファ310に
展開する。プリンタ304はこのバッファの内容に従い印
字文字フォント309を参照し印刷を行なう。Printing is performed as follows. That is, the character code string to be printed is read out from the document file 308 in which the document data to be printed is stored and expanded in the print buffer 310. The printer 304 refers to the print character font 309 according to the contents of this buffer and prints.
この従来のワードプロセッサでは表示用途印字用の2
種類の文字フォントを有する。これは表示では限り有る
表示容量に対してなるべく多くの文字数を表示したいの
に対して印刷ではなるべく美しい出来上がりを望む為に
本質的に異なる文字フォントを使用するためである。通
常表示用の文字フォントとしては16x16ドットのゴシッ
ク体、印刷用としては24x24ドット以上のマトリクスサ
イズの明朝体のフォントを用いることが多い。また特開
昭55−147776号公報には、フォントを読み出す際、読み
出しクロックを1/2、または2倍としてフォントを拡
大、縮小して表示または印刷することが示されている。This conventional word processor uses 2 for printing for display purposes.
It has different types of character fonts. This is because it is necessary to display as many characters as possible for the limited display capacity in the display, but essentially different character fonts are used in printing in order to obtain a beautiful finished result. A 16x16 dot Gothic font is usually used as a character font for display, and a Mincho font with a matrix size of 24x24 dots or more is often used for printing. Further, Japanese Patent Laid-Open No. 55-147776 discloses that when a font is read, the read clock is halved or doubled to enlarge or reduce the font for display or printing.
また特開昭57−34241号公報には、明朝体とゴシック
体の2種のフォントを持ち、文字コードに付属する字体
コードにより2種の字体を選択して表示または印字する
ことが示されている。Further, Japanese Patent Laid-Open No. 343421/5734 discloses that there are two types of fonts, Mincho typeface and Gothic typeface, and two types of typefaces are selected and displayed or printed by the typeface code attached to the character code. ing.
従来の文書処理装置において印刷文字の大きさを変え
る機能は貧弱であり、特開昭55−147776号公報で示すよ
うに、印字時に文字フォントの1ドットを上下または左
右にnドット(nは整数)づつ繰り返し拡大文字を印字
出力する方法である。この方法はnが整数の時に限られ
例えば標準の大きさの文字の1.5倍に拡大あるいは2/3倍
に縮小しようとするCPUに大変な負担がかかるばかりで
なく印字される文字も角張って不自然な物になる。In the conventional document processing apparatus, the function of changing the size of the printed character is poor, and as shown in Japanese Patent Laid-Open No. 55-147776, one dot of a character font is printed vertically or horizontally to make n dots (n is an integer). ) It is a method to print out enlarged characters repeatedly. This method is limited to the case where n is an integer, and for example, not only does it impose a great burden on the CPU that is trying to expand it to 1.5 times or reduce it to 2/3 times the standard size, but it also causes the printed characters to be square and unusable. It becomes a natural thing.
また特開昭57−34241号公報には明朝体とゴシック体
のフォントを使って表示または印字を行なうことが示さ
れるのみで、縮小印刷機能に対しなんら新しい提案をす
るものではない。Further, Japanese Patent Application Laid-Open No. 57-34241 only discloses that display or printing is performed using Mincho typeface and Gothic typeface font, and does not propose any new reduction printing function.
本発明の目的は新たなハードウエアあるいは複雑なソ
フトウエアロジックの追加なしで例えば2/3角文字のよ
うな標準の文字サイズに対して整数比でない大きさの文
字が高速に印刷できる文書処理装置を提供することにあ
る。An object of the present invention is to provide a document processing apparatus capable of high speed printing of a character having a non-integral ratio to a standard character size such as a 2 / 3-width character without adding new hardware or complicated software logic. To provide.
本発明の文書処理装置は文字データに従ってアクセス
されるフォントデータと、前記フォントデータの内容に
従って表示を行う表示手段とを有する文字処理装置にお
いて、前記フォントデータはドットマトリクスサイズの
異なる複数のフォントセットに分けられて構成され、前
記複数のフォントセットのうち最大サイズではない特定
のフォントセットのみを用いて表示を行う表示制御手段
と、最大サイズのフォントセットを含む前記複数のフォ
ントセットを用いて印字データを発生する印字制御手段
と、表示の際用いた前記特定のフォントセットをそのま
ま用いて縮小印字データを発生する縮小印字制御手段と
を有することを特徴とする。A document processing apparatus according to the present invention is a character processing apparatus having font data accessed according to character data and display means for displaying according to the contents of the font data, wherein the font data is a plurality of font sets having different dot matrix sizes. Display control means configured to be divided and displaying only using a specific font set that is not the maximum size among the plurality of font sets, and print data using the plurality of font sets including the maximum size font set And a reduced print control means for generating reduced print data by using the specific font set used at the time of display as it is.
表示用の文字フォントは表示体の効率を上げる為に出
来る限り小さなマトリクスサイズを用いる事が好まし
い。一方印字用としてはワードプロセッサの本来の目的
から言って美しい印字の文書を作成する為に有る程度は
大きなマトリクスサイズとなる。そこで従来専ら表示用
として使われていたフォントを印刷用としても用いれば
小さなサイズの印字も可能となる。また、表示用フォン
トはゴジック体が一般的であり従来印刷ようとして用い
られていた明朝体と2種類のフォントの印刷も可能とな
る。It is preferable to use a matrix size as small as possible for the display character font in order to improve the efficiency of the display body. On the other hand, for printing, from the original purpose of a word processor, a matrix size is large enough to create a beautifully printed document. Therefore, it is possible to print in a small size by using a font that has been conventionally used exclusively for display as a print. In addition, the display font is generally a Gosic type, and it is possible to print two types of fonts, the Mincho type which has been conventionally used for printing.
第1図は本発明による文字処理装置の構成を示すブロ
ック図である。FIG. 1 is a block diagram showing the configuration of a character processing device according to the present invention.
CPU101はキーボード102から入力されたデータを受け
て仮名漢字変換等の処理や表示装置103、プリンタ104、
外部記憶装置105等の制御を行なう。The CPU 101 receives data input from the keyboard 102, processes such as kana-kanji conversion, a display device 103, a printer 104,
It controls the external storage device 105 and the like.
文書入力作業時においては、CPU101はキーボード102
をスキャンして押下されたキーを検出する。検出された
キーに対応する文字は第一の文字フォント106から文字
フォントを読み出しVRAM107に展開する。表示装置103は
VRAM107の表示データを読み出し表示を行なう。ユーザ
はこの表示を見ながら編集や、修正を行ないながら文書
データを作成していく。作成された文書データはRAM108
や外部記憶装置105に貯えられる。CPU101は同時に仮名
漢字変換や編集等の処理も行なう。When inputting a document, the CPU 101 is the keyboard 102.
To detect the pressed key. For the character corresponding to the detected key, the character font is read from the first character font 106 and expanded in the VRAM 107. The display device 103
The display data of the VRAM 107 is read and displayed. The user creates document data while editing or correcting while viewing this display. The created document data is RAM108
Or stored in the external storage device 105. The CPU 101 also performs processes such as kana-kanji conversion and editing.
文書データの作成が終わったら通常は印刷作業にはい
るがこのときの動作は以下のようになる。すなわちCPU1
01は外部記憶装置105やRAM108内部に貯えられた文書デ
ータの内容を読み出し第一の文字フォント106や第2の
文字フォント109から対応する文字フォントデータを読
み出し印字バッファ110に印字イメージを展開する。プ
リンタ104は印字バッファ110に展開された印字イメージ
に従って印刷を行なう。When the document data has been created, the normal printing process starts, but the operation at this time is as follows. Ie CPU1
Reference numeral 01 reads the content of the document data stored in the external storage device 105 or the RAM 108, reads the corresponding character font data from the first character font 106 or the second character font 109, and expands the print image in the print buffer 110. The printer 104 prints according to the print image developed in the print buffer 110.
さて、第一の文字フォント106は表示にも用いられる
ため出来る限り小さいマトリクスサイズであることが好
ましい。通常はマトリクスサイズとして14〜16ドット角
有れば十分である。一方、印刷される文字は有る程度以
上マトリクスサイズが大きくないと印字品位が悪く成っ
て仕舞うため通常24ドット角以上が用いられる。Since the first character font 106 is also used for display, it is preferable that the matrix size is as small as possible. Normally, it is sufficient to have a matrix size of 14 to 16 dots. On the other hand, if the matrix size of the characters to be printed is larger than a certain level, the printing quality will be poor and the characters will end up.
いろいろな文字サイズの印字は以下のようにして行な
える。すなわち、ユーザが上記文書入力作業時におい
て、例えば表題等、大きな文字で印字したい、あるい
は、注釈行等、小さな文字で印字したい文字列を指定す
る。この指定は文字列の属性として、あるいは文書デー
タ内の文字コード列を修飾するコードとして文字コード
列と一緒に文書データに記録される。Printing in various character sizes can be done as follows. That is, at the time of the document inputting work, the user designates a character string that is desired to be printed in large characters such as a title, or to be printed in small characters such as a comment line. This designation is recorded in the document data together with the character code string as an attribute of the character string or as a code that modifies the character code string in the document data.
印刷時には文書データ内で指定された文字の大きさに
従って第一の文字フォント106または第2の文字フォン
ト109のどちらから文字フォントデータを読み出すべき
かを決定し印字バッファ110に指定された大きさの文字
の印字イメージを展開すれば良い。プリンタ104は印字
バッファ110に展開された印字イメージに従って印字を
行なう。通常はプリンタ104として24ピンのドットマト
リクスタイプが用いられ、24ドットより小さなマトリク
スサイズの文字を印字するとき、例えば第一の文字フォ
ント106のフォントサイズの文字を印字するときは8ピ
ンを遊ばせて16ピンのみで印刷を行なう。拡大文字を印
刷するときは1つの文字を複数回に別けて印字すれば良
い。At the time of printing, it is determined which of the first character font 106 and the second character font 109 the character font data should be read according to the character size specified in the document data, and the size of the character font data specified in the print buffer 110 is determined. It is enough to develop the character print image. The printer 104 prints according to the print image developed in the print buffer 110. Normally, a 24-pin dot matrix type is used as the printer 104. When printing a character having a matrix size smaller than 24 dots, for example, when printing a character having a font size of the first character font 106, allow 8 pins to play. Print with only 16 pins. When printing enlarged characters, one character may be printed several times.
第一の文字フォント106と第2の文字フォント109のマ
トリクスサイズが整数倍の関係になければ従来の2ドッ
トごとにオアを取り縮小したり、並べて整数倍に拡大し
たりする方法と併せて更に文字のサイズが豊富となる。If the matrix sizes of the first character font 106 and the second character font 109 are not in the relation of integral multiples, the conventional method of taking or reducing every 2 dots or arranging them to enlarge them to an integral multiple is further added. The size of the characters becomes rich.
第2図は本発明による文字処理装置の印刷例である。
第2図(a)は第一の文字フォント106による印刷例、
第2図(b)は第2の文字フォント109による印刷例で
ある。この例では第一の文字フォント106は16x16ドッ
ト、第2の文字フォント109は24x24ドットのマトリクス
サイズの場合を例に取っている。第2図(c)、(d)
はそれぞれ第1、第2の文字フォントを縦横2ドットづ
つ、計4ドットをオアし1/4に縮小した物である。同様
に第2図(e)、(f)は横方向に第1、第2の文字フ
ォントを2ドットづつ重ね横方向に拡大した物であり、
第2図(g)、(h)は縦方向に拡大した物である。第
2図(i)、(j)は縦、横とも2倍に拡大した物であ
る。FIG. 2 is a printing example of the character processing device according to the present invention.
FIG. 2A shows an example of printing with the first character font 106,
FIG. 2B is an example of printing with the second character font 109. In this example, the first character font 106 has a matrix size of 16x16 dots, and the second character font 109 has a matrix size of 24x24 dots. 2 (c), (d)
Is a font in which the first and second character fonts are each 2 dots vertically and horizontally, and a total of 4 dots are ORed to reduce it to 1/4. Similarly, FIGS. 2 (e) and 2 (f) are obtained by overlapping the first and second character fonts in the horizontal direction by 2 dots each and enlarging in the horizontal direction.
2 (g) and 2 (h) are enlarged in the vertical direction. FIGS. 2 (i) and 2 (j) are enlarged vertically and horizontally.
以上述べたように本発明によれば、縮小印字の際は表
示用フォントセットを用いて印字を行なうため、特別な
ハードウエア及び複雑なソフトウエアのロジックを追加
することなしに、縮小サイズ印字を高速にかつ良好な印
字品質で実行することが可能となる。As described above, according to the present invention, at the time of reduced printing, printing is performed using the display font set, so reduced size printing can be performed without adding special hardware and complicated software logic. It becomes possible to execute at high speed and with good print quality.
第1図は本発明によるワードプロセッサの一実施例のブ
ロック図。 第2図は本発明によるワードプロセッサの印字例を示す
図。 第3図は従来のワードプロセッサのブロック図の例を示
す図。 101……CPU 102……キーボード 103……表示装置 104……プリンタ 105……外部記憶装置 106……第一の文字フォント 107……VRAM 108……RAM 109……第2の文字フォント 110……印字バッファFIG. 1 is a block diagram of an embodiment of a word processor according to the present invention. FIG. 2 is a diagram showing a printing example of the word processor according to the present invention. FIG. 3 is a diagram showing an example of a block diagram of a conventional word processor. 101 …… CPU 102 …… Keyboard 103 …… Display device 104 …… Printer 105 …… External storage device 106 …… First character font 107 …… VRAM 108 …… RAM 109 …… Second character font 110 …… Print buffer
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06F 17/21 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI technical display location G06F 17/21
Claims (1)
トデータと、前記フォントデータの内容に従って表示を
行う表示手段とを有する文字処理装置において、 前記フォントデータはドットマトリクスサイズの異なる
複数のフォントセットに分けられて構成され、 前記複数のフォントセットのうち最大サイズではない特
定のフォントセットのみを用いて表示を行う表示制御手
段と、 最大サイズのフォントセットを含む前記複数のフォント
セットを用いて印字データを発生する印字制御手段と、 表示の際用いた前記特定のフォントセットをそのまま用
いて縮小印字データを発生する縮小印字制御手段と、 を有することを特徴とする文字処理装置。1. A character processing device having font data accessed according to character data and display means for displaying according to the contents of the font data, wherein the font data is divided into a plurality of font sets having different dot matrix sizes. A display control unit configured to display using only a specific font set that is not the maximum size among the plurality of font sets, and generate print data using the plurality of font sets including the maximum size font set. And a reduced print control means for generating reduced print data by using the specific font set used for display as it is.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61052849A JPH0815794B2 (en) | 1986-03-11 | 1986-03-11 | Character processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61052849A JPH0815794B2 (en) | 1986-03-11 | 1986-03-11 | Character processor |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP09111464A Division JP3109727B2 (en) | 1997-04-28 | 1997-04-28 | Character processing method and character processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS62209590A JPS62209590A (en) | 1987-09-14 |
JPH0815794B2 true JPH0815794B2 (en) | 1996-02-21 |
Family
ID=12926294
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61052849A Expired - Lifetime JPH0815794B2 (en) | 1986-03-11 | 1986-03-11 | Character processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0815794B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0642066B2 (en) * | 1988-03-17 | 1994-06-01 | 株式会社写研 | Character graphic input / output device |
JP2560958B2 (en) * | 1992-12-28 | 1996-12-04 | ブラザー工業株式会社 | Tape printer |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS55150040A (en) * | 1979-05-11 | 1980-11-21 | Nec Corp | Character display system |
JPS56101243A (en) * | 1980-01-18 | 1981-08-13 | Toshiba Corp | Drive system for printer |
JPS58192126A (en) * | 1982-05-05 | 1983-11-09 | Sanyo Electric Co Ltd | Word processor |
JPS599753A (en) * | 1982-07-07 | 1984-01-19 | Hitachi Ltd | Image-attached document editing device |
JPS60212358A (en) * | 1984-04-09 | 1985-10-24 | Sanyo Electric Co Ltd | Font pattern output controller |
JPS62136693A (en) * | 1985-12-11 | 1987-06-19 | 沖電気工業株式会社 | Graphic character output system |
-
1986
- 1986-03-11 JP JP61052849A patent/JPH0815794B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JPS62209590A (en) | 1987-09-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0570832B2 (en) | ||
JPH0815794B2 (en) | Character processor | |
JP3109727B2 (en) | Character processing method and character processing device | |
JPH03156668A (en) | Document preparing device | |
JPH03184182A (en) | Character output layout determination system | |
JPS59201870A (en) | Printer | |
JP2575116B2 (en) | Image processing device | |
JPS62239194A (en) | Document generator | |
JP2813191B2 (en) | Typeface automatic conversion method | |
JP2973548B2 (en) | Printing control device | |
JP2878715B2 (en) | Document creation device | |
JPS605469B2 (en) | galley printing system | |
JPH0747320B2 (en) | Character processor | |
JPH0687249A (en) | Apparatus for printing address | |
JP3010275B2 (en) | Line output method of figure coordinates | |
JPS61108562A (en) | Character pitch processing method | |
JPS62219180A (en) | Pattern generating device | |
JPH0475823B2 (en) | ||
JPS60150086A (en) | Document editting apparatus | |
JPS62282381A (en) | Continuous character forming device | |
JPS62113263A (en) | Handy word processor | |
JPH04353478A (en) | Reduction print controller | |
JPH0647301B2 (en) | Charactor pattern generator | |
JPH0583382B2 (en) | ||
JPH10111679A (en) | Font file |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
EXPY | Cancellation because of completion of term |