JPH0736641A - Document editing device - Google Patents

Document editing device

Info

Publication number
JPH0736641A
JPH0736641A JP5176514A JP17651493A JPH0736641A JP H0736641 A JPH0736641 A JP H0736641A JP 5176514 A JP5176514 A JP 5176514A JP 17651493 A JP17651493 A JP 17651493A JP H0736641 A JPH0736641 A JP H0736641A
Authority
JP
Japan
Prior art keywords
character
dot
output
data
read
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
JP5176514A
Other languages
Japanese (ja)
Inventor
Koichi Hirata
剛一 平田
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP5176514A priority Critical patent/JPH0736641A/en
Publication of JPH0736641A publication Critical patent/JPH0736641A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Document Processing Apparatus (AREA)

Abstract

(57)【要約】 【目的】 文字データへのアクセスが単純な固定長のド
ットフォントを持ちながら、出力される文字列の文字と
文字の間隔をゼロにすることができる文書編集装置を提
供する。 【構成】 キーボード10から文字を入力し、入力され
た文字を編集制御装置15で編集し、かつその時に出力
する文字の間隔が設定される。次に編集された文書を出
力装置14から出力するためにドットフォントをドット
フォント記憶メモリ17から読み出す際、ドットフォン
ト読み出し制御装置16によって、該ドットフォント内
で文書の並び方向に対して鉛直に並んだドット列が余白
部分であるか否かが判断され、有効ドット列のみが読み
出される。そのため、出力結果として文字と文字の間隔
をゼロにすることができる。
(57) [Abstract] [Purpose] To provide a document editing device capable of zeroing the space between characters in an output character string while having a fixed-length dot font for simple access to character data. . [Structure] A character is input from the keyboard 10, the input character is edited by the edit control device 15, and the interval between characters output at that time is set. Next, when the dot font is read out from the dot font storage memory 17 in order to output the edited document from the output device 14, the dot font read control device 16 arranges the dot font vertically in the dot font arrangement direction. It is determined whether or not the dot row is a blank portion, and only the effective dot row is read. Therefore, it is possible to make the character-to-character spacing zero as an output result.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、タイプライターやワー
ドプロセッサー等の文書編集装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document editing device such as a typewriter or word processor.

【0002】[0002]

【従来の技術】一般の文書編集装置では、各文字の出力
用の文字データを記憶するメモリエリアを有している。
そのメモリ上で各文字の文字データは、例えばドットパ
ターンで16×16ドットのマトリックス中に表現さ
れ、全て同じ占有メモリ量、例えば32バイトを有して
いる。また、その各文字データは、1列中に少なくとも
1以上の印字すべきドット(以下、オンドットと称す
る。)を含んでいる有効ドット列部と、1列中に全くオ
ンドットを含まない余白列部とから構成される。そし
て、その固定長の文字データ(以下、ドットフォントと
称する。)をメモリに文字コード順に並べて記憶してい
る。更に、メモリエリアの基準となるアドレスとしてド
ットフォント「A」の先頭アドレスを記憶し、一文字当
りの占有メモリ量として32バイトを記憶している。
2. Description of the Related Art A general document editing apparatus has a memory area for storing character data for outputting each character.
In the memory, the character data of each character is expressed in a 16 × 16 dot matrix in a dot pattern, for example, and all have the same occupied memory amount, for example, 32 bytes. In addition, each of the character data includes an effective dot row portion that includes at least one dot to be printed (hereinafter referred to as on dot) in one row, and a blank space that does not include any on dot in one row. It is composed of a row part. Then, the fixed-length character data (hereinafter, referred to as dot font) is arranged and stored in a memory in the order of character codes. Further, the head address of the dot font "A" is stored as the reference address of the memory area, and 32 bytes are stored as the occupied memory amount per character.

【0003】従来の文書編集装置が文字を出力する際に
は、まず、その出力したい文字の文字コードが「A」の
文字コードから何番目のものか判断する。その値に占有
メモリ量32バイトを掛けた分だけ基準アドレスから進
ませたアドレスが、その文字に対応するドットフォント
の記憶エリアの先頭アドレスとなる。そこから32バイ
ト分のドットフォントを順次読み出して、余白列部も含
んだまま16×16ドットのドットパターンにして出力
をしていた。
When a conventional document editing apparatus outputs a character, it is first determined what number character code of the character to be output is from the character code "A". An address obtained by advancing the value from the reference address by 32 bytes of the occupied memory amount becomes the head address of the storage area of the dot font corresponding to the character. A 32-byte dot font was sequentially read from there, and a dot pattern of 16 × 16 dots was output with the blank row portion included.

【0004】しかし、このように余白列部を含んだ形で
メモリエリアを占有するのは不効率である。そのため、
無駄に使用されるメモリエリアの容量を減らす為に、特
公昭55−1613号公報に記載の文字パターン発生器
のように、出力用の文字データとして内部に余白列部を
持たせず、有効ドット列部のみで構成したドットフォン
トをメモリに記憶した文書編集装置もあった。
However, it is inefficient to occupy the memory area in such a manner as to include the blank column portion. for that reason,
In order to reduce the capacity of the memory area that is wastefully used, as in the character pattern generator described in Japanese Patent Publication No. 55-1613, the character string for output does not have a blank column part internally, and effective dot There was also a document editing device in which a dot font composed only of columns was stored in memory.

【0005】[0005]

【発明が解決しようとする課題】従来の文書編集装置で
は、内部に記憶された文書をいろいろな行間や文字間隔
を選択して、出力できる機能を有している。
The conventional document editing apparatus has a function of outputting a document stored therein by selecting various line spacing and character spacing.

【0006】ところで、レイアウト上の関係などで、出
力する文書の行間または文字間隔を隙間ゼロで出力した
い場合がある。そのような編集を従来の文書編集装置で
行なおうとすると、例えば前者においては、図7に示す
ように出力時の文字「I」と文字「P」の隙間71を詰
めたい場合には、ドットフォント75とドットフォント
76の間隔70をゼロに設定したところで各々のドット
フォント内部に存在する余白列部72,73が存在する
ために文字と文字の隙間71を完全になくすことができ
なかった。
[0006] By the way, there are cases where it is desired to output with no gap between lines or characters in the document to be output due to the layout. When such editing is attempted by a conventional document editing apparatus, for example, in the former case, when it is desired to close the gap 71 between the character "I" and the character "P" at the time of output as shown in FIG. When the gap 70 between the font 75 and the dot font 76 is set to zero, the blank row portions 72 and 73 existing inside each dot font exist, so that the character gap 71 cannot be completely eliminated.

【0007】また後者においては、元々ドットフォント
に余白列部を含まないので、図8に示すようにドットフ
ォント83とドットフォント84の間隔80をゼロに設
定すれば文字と文字の隙間81をゼロにすることは可能
であった。しかし、各文字のドットフォントを記憶して
いるメモリにおいて、各文字ごとに占有するドットフォ
ントの幅が違うため、各文字データ毎にドットフォント
が格納された記憶エリアの先頭アドレス情報と、そのド
ットフォントのデータ量の大きさとを、文字コードと対
応させて記憶しておくテーブルが必要があった。そし
て、文字の出力の指令を受けると、先程のテーブルから
その文字のドットフォントのデータの量と先頭アドレス
情報を選出する。このアドレス情報により記憶エリアの
アドレス指定を行い、その文字のドットフォントのデー
タの量だけ順次アドレスを進ませて、ドットフォントを
読み出していた。
In the latter case, since the dot font originally does not include a blank line portion, if the gap 80 between the dot font 83 and the dot font 84 is set to zero as shown in FIG. It was possible to However, in the memory that stores the dot font of each character, the width of the dot font occupied by each character is different, so the start address information of the storage area where the dot font is stored for each character data and that dot It was necessary to have a table that stores the size of the font data in association with the character code. Then, when the command to output the character is received, the dot font data amount and the head address information of the character are selected from the table. The address area is designated by this address information, and the dot font is read by sequentially advancing the address by the amount of dot font data of the character.

【0008】すなわち、後者の文字パターン発生器で
は、特別な対応テーブルを用意するためメモリをかなり
消費することや、読出処理が文字ごとに異なるため処理
プログラムが複雑になるなどの不都合があった。
That is, in the latter character pattern generator, there is a disadvantage that a special correspondence table is prepared, which consumes a large amount of memory, and the reading process is different for each character, so that the processing program becomes complicated.

【0009】本発明は上述した問題点を解決するために
なされたものであり、文字データへのアクセスが単純な
固定長のドットフォントを持ちながら、出力される文字
列の文字と文字の間隔をゼロにすることができる文書編
集装置を提供することを目的とする。
The present invention has been made in order to solve the above-mentioned problems, and has a fixed-length dot font for simple access to character data, while maintaining the spacing between characters in an output character string. It is an object of the present invention to provide a document editing device that can be set to zero.

【0010】[0010]

【課題を解決するための手段】この目的を達成するため
に本発明の文書編集装置は、文字列を入力するための入
力手段と、固定長のドットパターンで構成された文字デ
ータを記憶しておく記憶手段と、前記入力手段により入
力された文字列の各文字に相当する前記固定長の文字デ
ータを前記記憶手段から読み出す際には、該文字データ
内で、文字列の並び方向に対して鉛直に並んだドット列
が余白部分であるか否かを判断する判断手段と、前記判
断手段により余白部分と判断されたドット列を除いて該
文字データを読み出すデータ読出制御手段と、前記デー
タ読出手段により読み出された各文字の間隔が所定の文
字間隔となるように文字データを出力する出力手段とか
ら構成される。
In order to achieve this object, a document editing apparatus of the present invention stores an input means for inputting a character string and character data composed of a fixed length dot pattern. When the fixed length character data corresponding to each character of the character string input by the input unit is read from the storage unit, the storing unit stores the character data in the arrangement direction of the character strings. Judgment means for judging whether or not the vertically aligned dot row is a blank portion, data reading control means for reading the character data excluding the dot row judged by the judging means as a blank portion, and the data reading The output means outputs the character data so that the intervals between the characters read by the means become a predetermined character interval.

【0011】[0011]

【作用】上記の構成を有する本発明の文書編集装置にお
いて、入力手段により入力された文字列の各文字に相当
する前記固定長の文字データを前記記憶手段から読み出
す際には、判断手段により、該文字データ内で文字列の
並び方向に対して鉛直に並んだドット列が余白部分であ
るか否かが判断される。
In the document editing apparatus of the present invention having the above structure, when the fixed length character data corresponding to each character of the character string input by the input means is read from the storage means, the determination means In the character data, it is determined whether or not the dot row arranged vertically with respect to the arrangement direction of the character string is a blank portion.

【0012】そして、データ読出制御手段により、余白
部分と判断されたドット列を除いて有効ドット列のみが
読み出される。
Then, the data read control means reads only the effective dot row excluding the dot row judged to be the blank portion.

【0013】そのデータ読出手段により読み出された有
効ドット列のみからなる各文字は、出力手段により、そ
の各々の間隔が所定の文字間隔となるように出力され
る。
Each character consisting of only the effective dot row read by the data reading means is output by the output means so that the respective intervals become a predetermined character interval.

【0014】[0014]

【実施例】以下、本発明をスタンプ装置に具体化した一
実施例を、図面を参照して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the present invention is embodied in a stamp device will be described below with reference to the drawings.

【0015】図2は本実施例のスタンプ装置の斜視図で
ある。図2において、本実施例のスタンプ装置はカバー
21の上面に、電源のオンまたはオフを指令するための
オンオフキー20、製版を指示するための製版キー2
7、文字またはファンクション入力をするためのキーボ
ード10、およびそのキーボード10からの入力に従っ
て文字などを表示する表示装置25を備えている。キー
ボード10は文字を入力するための文字キー、カーソル
移動キー、入力文字モード切り替えキー等を有してい
る。また、カバー21の後部上面には、スタンプ部材2
2を配置するスタンプ溝23が設けてある。さらに、カ
バー21の側面には、製版する際に孔版印刷用原板を挿
入するための挿入溝24が設けてある。
FIG. 2 is a perspective view of the stamp device of this embodiment. In FIG. 2, the stamp apparatus of the present embodiment has an on / off key 20 for instructing on / off of a power source and a plate making key 2 for instructing plate making on the upper surface of a cover 21.
7, a keyboard 10 for inputting characters or functions, and a display device 25 for displaying characters and the like according to the input from the keyboard 10. The keyboard 10 has a character key for inputting characters, a cursor movement key, an input character mode switching key, and the like. In addition, the stamp member 2 is provided on the rear upper surface of the cover 21.
A stamp groove 23 for arranging 2 is provided. Further, on the side surface of the cover 21, an insertion groove 24 for inserting a stencil printing plate at the time of plate making is provided.

【0016】各部動作を説明すると、使用者はキーボー
ド10上の各種キーを使用して表示装置の表示を見なが
ら印刷したい文章を作成する。製版時には孔版印刷用原
板を挿入溝24から装置内部に差込み、製版キー27を
押すと、図示を省略する製版手段により孔版印刷用原板
に前記文章が穿孔される。穿孔が終了すると、孔版印刷
用原板はスタンプ部材22の真下まで搬送される。そし
て、この状態でスタンプ部材22を下方向に押すと、ス
タンプ部材22へ孔版印刷用原板が取り付けられ、この
スタンプ部材22を紙面に捺印することにより文章の印
刷が可能となる。
Explaining the operation of each part, the user uses various keys on the keyboard 10 to create a sentence to be printed while looking at the display of the display device. At the time of plate making, the original plate for stencil printing is inserted into the apparatus through the insertion groove 24 and the plate making key 27 is pressed, so that the sentence is punched in the original plate for stencil printing by a plate making means (not shown). When the punching is completed, the stencil printing plate is conveyed to just below the stamp member 22. Then, when the stamp member 22 is pushed downward in this state, the stencil printing original plate is attached to the stamp member 22, and by printing the stamp member 22 on the paper surface, the text can be printed.

【0017】図1に本実施例の文書編集に関わる部分
(以下、文書編集部と称する。)の電気的構成を示すブ
ロック図を示す。文書編集部は編集制御装置15を中心
に、入力制御装置11を介してキーボード10と、表示
制御装置13を介して表示装置12と、出力装置14
と、ドットフォント読み出し制御装置16を介してドッ
トフォント記憶メモリ17と、RAM18とが各々接続
されている。
FIG. 1 is a block diagram showing an electrical configuration of a portion related to document editing (hereinafter referred to as a document editing section) of this embodiment. The document editing unit mainly includes the editing control device 15, the keyboard 10 via the input control device 11, the display device 12 via the display control device 13, and the output device 14.
And a dot font storage memory 17 and a RAM 18 are connected via the dot font read control device 16.

【0018】入力制御装置11はキーボード10からの
入力をコード変換し、編集制御装置15に送る。
The input control device 11 converts the input from the keyboard 10 into a code and sends it to the edit control device 15.

【0019】RAM18は、ポインタPoと、先頭アド
レスA0,読み出しアドレスAr,最終アドレスAfを
記憶するメモリと、文書記憶メモリ19を有している。
文書記憶メモリ19はキーボード10から入力された文
字の文字コードを記憶しておくメモリである。
The RAM 18 has a pointer Po, a memory for storing a start address A0, a read address Ar, and a final address Af, and a document storage memory 19.
The document storage memory 19 is a memory for storing a character code of a character input from the keyboard 10.

【0020】ドットフォント記憶メモリ17は、文字の
出力パターンを形成するドットフォントを全文字記憶し
ている。更に、それらを記憶している記憶エリアの基準
となるアドレスとしてドットフォント「A」の先頭アド
レスを記憶し、1文字当りの占有データ量として32バ
イトを記憶しているメモリである。
The dot font storage memory 17 stores all the dot fonts that form a character output pattern. Further, it is a memory that stores the leading address of the dot font "A" as the reference address of the storage area that stores them and stores 32 bytes as the occupied data amount per character.

【0021】ドットフォント読み出し制御装置16は、
まず、文書記憶メモリ19に記憶されている文字コード
から、その文字のドットフォントが記憶されている先頭
アドレスA0を算出する。そして、その算出したアドレ
スA0から始まるドットフォントを余白列部を読まずに
有効ドット列部のみを抜きだして順次編集制御装置15
に送出する。
The dot font read control device 16 is
First, from the character code stored in the document storage memory 19, the head address A0 where the dot font of the character is stored is calculated. Then, for the dot font starting from the calculated address A0, only the effective dot row portion is extracted without reading the blank row portion, and the edit control device 15 is sequentially operated.
Send to.

【0022】編集制御装置15は入力文字を文書記憶メ
モリ19内の所定の位置へ格納する他、入力された文字
の表示制御や、文書記憶メモリ19に格納されている文
字列に従ってドットフォント読み出し手段16を介して
ドットフォント記憶メモリ17からのドットフォントの
読み出しをしたり、出力装置14へドットフォントの送
出を行なう。
The edit control device 15 stores the input character at a predetermined position in the document storage memory 19, controls the display of the input character, and reads the dot font according to the character string stored in the document storage memory 19. The dot font is read from the dot font storage memory 17 via 16 and the dot font is sent to the output device 14.

【0023】表示制御装置13は、編集制御装置15か
ら受けた指令に従って入力確認用の文字データ等を表示
装置12へ出力する。出力装置14は編集制御装置15
から送られてくるデータに従って製版動作を行なう。
The display control device 13 outputs input confirmation character data and the like to the display device 12 in accordance with a command received from the editing control device 15. The output device 14 is the editing control device 15
The plate making operation is performed according to the data sent from.

【0024】次に図3乃至図6を参照して本実施例の文
書編集部におけるドットフォント内部の余白を読まない
ようにする処理を説明する。印刷例として図3に示すよ
うに「V」「I」「P」の3文字をお互いに1ドットあ
けて配置したものを考え、まずは、その概略を図5のフ
ローチャートに従って説明する。
Next, with reference to FIG. 3 to FIG. 6, a description will be given of the processing for preventing the reading of the blank space inside the dot font in the document editing unit of this embodiment. As an example of printing, as shown in FIG. 3, consider a case where three characters “V”, “I”, and “P” are arranged with one dot left between them. First, the outline thereof will be described according to the flowchart of FIG.

【0025】文字出力処理が始まると、まず入力バッフ
ァに「V」「I」「P」の3文字が入っていることを認
識し(ステップS51;Yes)、入力バッファのポイ
ンタPoを初期化する(ステップS52)。最初に1文
字目「V」の有効ドット列のみを読み出して出力し(ス
テップS53)、まだ2文字残っているので(ステップ
S54;No)1ドットのスペースを出力し(ステップ
S55)、入力バッファのポインタPoをインクリメン
トする(ステップS56)。次に、2文字目「I」の有
効ドット列のみを読み出して出力し(ステップS5
3)、まだ1文字残っているので(ステップS54;N
o)1ドットのスペースを出力し(ステップS55)、
入力バッファのポインタPoをインクリメントする(ス
テップS56)。最後に、3文字目「P」の有効ドット
列のみを読み出して出力し(ステップS53)、3文字
すべてを出力したところで動作が完了する(ステップS
54;Yes)。
When the character output process starts, it is first recognized that the input buffer contains three characters "V", "I" and "P" (step S51; Yes), and the pointer Po of the input buffer is initialized. (Step S52). First, only the effective dot row of the first character "V" is read and output (step S53), and since there are still two characters remaining (step S54; No), a 1-dot space is output (step S55), and the input buffer The pointer Po of is incremented (step S56). Next, only the effective dot row of the second character "I" is read and output (step S5
3), because one character still remains (step S54; N
o) Output a 1-dot space (step S55),
The pointer Po of the input buffer is incremented (step S56). Finally, only the effective dot row of the third character "P" is read and output (step S53), and the operation is completed when all three characters are output (step S53).
54; Yes).

【0026】以上の処理のうち、代表例として「I」に
ついてのドットフォント(16×16ドットとする)内
部の余白を読まずに有効ドット列のみを読み出す処理
(図5のステップS53)の詳細を以下に説明する。
Of the above processes, as a typical example, the details of the process (step S53 in FIG. 5) of reading only the effective dot row without reading the inner space of the dot font (16 × 16 dots) for “I”. Will be described below.

【0027】図6のフローチャートにおいて、まず文字
コードから「I」が「A」から何文字分離れているか判
断する。そして、その値(この場合では+8)に占有メ
モリ量である32バイトを掛けて「A」の先頭アドレス
に加えることで、「I」の先頭アドレスA0を算出する
(ステップS601)。次にドットフォント「I」の後
部の余白列部を先に認識しておくために先頭アドレスA
0に30番地を加えて読み出しアドレスArとし(ステ
ップS602)、この読み出しアドレスArが示すアド
レスから2バイト読み出す(ステップS603)。これ
は図4において16列目のデータ40を読んだことに相
当する。その2バイトのデータ40は両方共ゼロであり
(ステップS604;Yes)、かつ、まだ先頭の列の
データ42には到達していないので(ステップS60
5;No)読み出しアドレスArを2番地減らして(ス
テップS606)次の図4の15列目を読み出す(ステ
ップS603)。この処理を繰り返してゼロでない列の
データ41(11列目)を見いだして(ステップS60
4;No)この時のアドレスを読み出し最終アドレスA
fとして記憶する(ステップS607)。
In the flowchart of FIG. 6, it is first determined from the character code how many characters "I" is separated from "A". Then, the value (+8 in this case) is multiplied by 32 bytes, which is the occupied memory amount, and added to the start address of "A" to calculate the start address A0 of "I" (step S601). Next, in order to recognize the blank column part at the rear of the dot font "I" first, the start address A
The address 30 is added to 0 to form the read address Ar (step S602), and 2 bytes are read from the address indicated by the read address Ar (step S603). This corresponds to reading the data 40 in the 16th column in FIG. Both of the 2-byte data 40 are zero (step S604; Yes) and have not reached the data 42 in the first column (step S60).
5; No) The read address Ar is reduced by 2 addresses (step S606), and the 15th column in the next FIG. 4 is read (step S603). By repeating this process, the data 41 (the 11th column) in the non-zero column is found (step S60).
4; No) Read address at this time and final address A
It is stored as f (step S607).

【0028】次に読み出しアドレスArを先頭アドレス
A0にもどして(ステップS608)、2バイト読み出
す(ステップS609)。これは図4において1列目の
データ42を読んだことに相当する。その2バイトのデ
ータ42は両方共ゼロであり(ステップS610;Ye
s)、かつ、まだ読み出しアドレスArは最終アドレス
Afには到達していないので(ステップS612;N
o)読み出しアドレスArを2番地増やして(ステップ
S613)次の図4の2列目を読み出す(ステップS6
09)。この処理を繰り返してゼロでない列のデータ4
3(7列目)を見いだす(ステップS610;No)。
ここで7列目のデータ43を出力手段に送出する(ステ
ップS611)。7列目以下11列目までのデータを出
力手段に送出し、読み出しアドレスArが最終アドレス
Afに到達したことを認識して(ステップS612;Y
es)処理を終了する。
Next, the read address Ar is returned to the head address A0 (step S608), and 2 bytes are read (step S609). This corresponds to reading the data 42 in the first column in FIG. The 2-byte data 42 are both zero (step S610; Ye
s) and the read address Ar has not reached the final address Af yet (step S612; N).
o) The read address Ar is increased by 2 addresses (step S613), and the second column in FIG. 4 is read out (step S6).
09). Repeating this process, the data 4 in the non-zero column
3 (7th row) is found (step S610; No).
Here, the data 43 in the seventh column is sent to the output means (step S611). The data from the seventh column to the eleventh column is sent to the output means, and it is recognized that the read address Ar has reached the final address Af (step S612; Y).
es) The process ends.

【0029】以上詳述したことから明らかなように、本
実施例のスタンプ装置においては記憶手段からのドット
フォントの読み出しに際し、該ドットフォントの内部に
存在する余白部分を読まずに有効ドット列のみを読み出
す文書編集部を備えている。それにより、固定長のドッ
トフォントを持ちながら、出力される文字列の文字と文
字の間隔をゼロにすることができる。そして、ドットフ
ォントが固定長で整然とドットフォント記憶メモリ17
に記憶されるため、ドットフォントが記憶された先頭ア
ドレスを各文字ごとに対応づけるテーブルを用意する必
要なく、フォントデータへのアクセスが簡単に処理でき
る。更に、読み出す有効ドット部の幅を各文字ごとに記
憶する必要もないため、メモリの節約が可能である。
As is clear from the above description, in the stamp apparatus of this embodiment, when reading the dot font from the storage means, only the effective dot row is read without reading the blank portion existing inside the dot font. A document editing unit for reading out is provided. As a result, it is possible to reduce the spacing between the characters in the output character string to zero while having a fixed-length dot font. Then, the dot font is fixed length and is arranged in an orderly manner.
Since it is stored in, the access to the font data can be easily processed without preparing a table for associating the head address in which the dot font is stored with each character. Further, since it is not necessary to store the width of the effective dot portion to be read for each character, it is possible to save the memory.

【0030】本発明は上記した一実施例に限定されるも
のでなく、例えば、実施例において横方向の文字詰めを
行うものをあげたが、日本語表示などでの縦方向の文字
詰めが可能であることは言うまでもない。その時には、
その文字のドットフォントを行毎に抜きだして有効ドッ
ト行のみを読み出す動作を行う。
The present invention is not limited to the above-mentioned embodiment. For example, the embodiment of the present invention exemplifies horizontal character filling. However, vertical character filling in Japanese display is possible. Needless to say. by the time,
The dot font of the character is extracted line by line, and only the effective dot lines are read out.

【0031】[0031]

【発明の効果】以上、詳述したことから明らかなよう
に、本発明のスタンプ装置においては、出力される文字
間隔をゼロまでつめることができるように、記憶手段か
らの固定長のドットフォントの読み出しに際し、該ドッ
トフォントの内部に存在する余白部分を読まずに有効ド
ット列のみを読み出す文字データ読み出し制御手段を備
えているので、固定長のドットフォントを持ちながら、
出力される文字列の文字と文字の間隔をゼロにすること
ができる。更にドットフォントが固定長のために、デー
タへのアクセスに関する処理が簡単になる。
As is clear from the above description, in the stamp device of the present invention, the fixed-length dot font from the storage means is stored so that the character spacing to be output can be reduced to zero. At the time of reading, since the character data read control means for reading only the effective dot row without reading the blank portion existing inside the dot font is provided, while having a fixed length dot font,
The space between characters in the output string can be zero. Further, since the dot font has a fixed length, the process related to data access is simplified.

【図面の簡単な説明】[Brief description of drawings]

【図1】電気的構成を示すブロック図である。FIG. 1 is a block diagram showing an electrical configuration.

【図2】本実施例のスタンプ装置の斜視図である。FIG. 2 is a perspective view of the stamp device according to the present embodiment.

【図3】本実施例による印字結果について文字の配置状
態を示すために格子を重ねた説明図である。
FIG. 3 is an explanatory diagram in which grids are overlapped to show a character arrangement state in a print result according to the present embodiment.

【図4】固定長のドットフォントの例を示す説明図であ
る。
FIG. 4 is an explanatory diagram showing an example of a fixed-length dot font.

【図5】本実施例での文字出力処理の流れを示す説明図
である。
FIG. 5 is an explanatory diagram showing a flow of character output processing in the present embodiment.

【図6】本実施例でのドットフォント内部の余白を読ま
ずに有効ドット列のみを読み出す処理の流れを示すフロ
ーチャートである。
FIG. 6 is a flowchart showing a flow of a process of reading only an effective dot row without reading a blank space inside a dot font in this embodiment.

【図7】従来例による印字結果について文字の配置状態
を示すために格子を重ねた説明図である。
FIG. 7 is an explanatory diagram in which grids are overlapped to show a character arrangement state in a print result according to a conventional example.

【図8】別の従来例による印字結果について文字の配置
状態を示すために格子を重ねた説明図である。
FIG. 8 is an explanatory diagram in which grids are overlapped to show a character arrangement state in a print result according to another conventional example.

【符号の説明】[Explanation of symbols]

10 キーボード 11 入力制御装置 14 出力装置 15 編集制御装置 16 ドットフォント読み出し制御装置 17 ドットフォント記憶メモリ 18 RAM 10 Keyboard 11 Input Control Device 14 Output Device 15 Editing Control Device 16 Dot Font Read Control Device 17 Dot Font Storage Memory 18 RAM

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 文字列を入力するための入力手段と、 固定長のドットパターンで構成された文字データを記憶
しておく記憶手段と、 前記入力手段により入力された文字列の各文字に相当す
る前記固定長の文字データを前記記憶手段から読み出す
際には、該文字データ内で、文字列の並び方向に対して
鉛直に並んだドット列が余白部分であるか否かを判断す
る判断手段と、 前記判断手段により余白部分と判断されたドット列を除
いて該文字データを読み出すデータ読出制御手段と、 前記データ読出手段により読み出された各文字の間隔が
所定の文字間隔となるように文字データを出力する出力
手段とから構成されることを特徴とする文書編集装置。
1. An input means for inputting a character string, a storage means for storing character data composed of a fixed-length dot pattern, and a character corresponding to each character of the character string input by the input means. When reading the fixed-length character data from the storage means, a judgment means for judging whether or not the dot row arranged vertically in the character data arrangement direction is a blank portion in the character data. A data read control means for reading the character data excluding a dot row judged by the judgment means to be a blank portion, and an interval between each character read by the data read means becomes a predetermined character interval. A document editing apparatus comprising: an output unit that outputs character data.
JP5176514A 1993-07-16 1993-07-16 Document editing device Pending JPH0736641A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5176514A JPH0736641A (en) 1993-07-16 1993-07-16 Document editing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5176514A JPH0736641A (en) 1993-07-16 1993-07-16 Document editing device

Publications (1)

Publication Number Publication Date
JPH0736641A true JPH0736641A (en) 1995-02-07

Family

ID=16014958

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5176514A Pending JPH0736641A (en) 1993-07-16 1993-07-16 Document editing device

Country Status (1)

Country Link
JP (1) JPH0736641A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007050668A (en) * 2005-08-19 2007-03-01 Seiko Epson Corp Printing apparatus and printing method
JP2015066824A (en) * 2013-09-30 2015-04-13 セイコーエプソン株式会社 Printer, control method for printer, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007050668A (en) * 2005-08-19 2007-03-01 Seiko Epson Corp Printing apparatus and printing method
JP2015066824A (en) * 2013-09-30 2015-04-13 セイコーエプソン株式会社 Printer, control method for printer, and program

Similar Documents

Publication Publication Date Title
US6490604B1 (en) Character information processing device equipped with a layout display function
JPS6320671A (en) Sentence processor
US5278952A (en) Document processing apparatus having layout display control system
US5790093A (en) Document processing apparatus
JPH0736641A (en) Document editing device
JP2710120B2 (en) Document processing method
US5383730A (en) Document processing apparatus that magnifies only black portions of characters
JP3850057B2 (en) Character information processing device
JPS6167125A (en) word processor
US4963042A (en) Horizontal line position adjusting in frame processing device
KR920000977B1 (en) Character processing method
JP4463487B2 (en) Display device, display method, and printing device
JP2540761B2 (en) Document processing device
JPH0469917B2 (en)
JP2813191B2 (en) Typeface automatic conversion method
JPH08153092A (en) Document processing device
JP3102979B2 (en) Document information processing device with ruled line conversion function
JP3005912B2 (en) Data output device
JPH0773167A (en) Word processor equipment
JPH0511319B2 (en)
JPH01281963A (en) Document processing device
JPH1158U (en) Document input device
JPS5852717A (en) Terminal equipment
JPH08132684A (en) Braille plate output system and Braille plate output method
JPH0890864A (en) Printer