JPH01215557A - document creation device - Google Patents
document creation deviceInfo
- Publication number
- JPH01215557A JPH01215557A JP63042527A JP4252788A JPH01215557A JP H01215557 A JPH01215557 A JP H01215557A JP 63042527 A JP63042527 A JP 63042527A JP 4252788 A JP4252788 A JP 4252788A JP H01215557 A JPH01215557 A JP H01215557A
- Authority
- JP
- Japan
- Prior art keywords
- font
- pictogram
- pictograph
- fonts
- point
- 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
Landscapes
- Dot-Matrix Printers And Others (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
[発明の目的]
(産業上の利用分野)
この発明は絵文字罫線フォントを文書自体の文字間スペ
ース、改行量の値にかかわらず、始点および終点間にフ
ォントの個数が最大となるように均等に割付けして印字
する文書作成装置に関す゛る。[Detailed Description of the Invention] [Objective of the Invention] (Industrial Application Field) This invention uses pictographic ruled line fonts that allow the number of fonts between the start point and end point to be the same, regardless of the character spacing and line feed amount of the document itself. The present invention relates to a document creation device that prints data by evenly allocating the data to maximize the maximum number of characters.
近年マイクロコンピュータの発達とともに種々の文書作
成装置が開発されている。このような文書作成装置の中
には、絵記号を用いて罫線を引く絵文字罫線機能を有し
たものがある。In recent years, with the development of microcomputers, various document creation devices have been developed. Some of these document creation devices have a pictograph ruled line function that draws ruled lines using pictorial symbols.
しかしながら、従来の文書作成装置では、絵文字を文字
フォントとして処理しているので、表示画面上では文字
フォントのフォント間スペースと絵文字罫線の絵文字フ
ォントのフォント間スペースが同じでも絵文字罫線を印
字すると、始点と終点は文字フォントの長さで決められ
ており、しかも印字の際のフォント間スペースと絵文字
フォントのフォント間スペースとが異なるので、終わり
の絵文字が欠けるという欠点が有った。However, in conventional document creation devices, pictograms are processed as character fonts, so even if the space between character fonts and the space between fonts of pictogram fonts in pictogram borders are the same on the display screen, when printing pictogram borders, the starting point The end point is determined by the length of the character font, and since the space between fonts during printing is different from the space between fonts of pictogram fonts, there was a drawback that the ending pictograms were missing.
(発明が解決しようとする問題点)
このように従来の文書作成装置においては、絵文字罫線
を印字する場合、絵文字フォントが欠けるという欠点が
あった。(Problems to be Solved by the Invention) As described above, in the conventional document creation device, when printing pictogram ruled lines, there is a drawback that pictogram fonts are missing.
この発明の目的は上記欠点を除去し、絵文字罫線フォン
トを文書自体の文字間スペース、行間スペースの値にか
かわらず、始点終点間にフォントの個数が最大となるよ
うに均等に割付けして印字することの出来る文書作成装
置を提供することである。The purpose of this invention is to eliminate the above-mentioned drawbacks, and print pictogram ruled line fonts evenly distributed so that the number of fonts is maximized between the start and end points, regardless of the values of the character spacing and line spacing of the document itself. The purpose of the present invention is to provide a document creation device that can perform the following tasks.
[発明の構成]
(問題点を解決するための手段)
この発明によれば、絵文字罫線データ記憶手段に記憶さ
れた絵文字罫線の始点から終点までの長さと、始点から
終点に相当する絵文字フォントを、絵文字フォント間ス
ペースが0となるように印字した際の長さとの差のスペ
ースから、前記絵文字フォント1個当りに割付けるフォ
ントスペースを求め、絵文字フォントとフォントスペー
スとを交互に始点から終点までラインバッファに展開す
る。[Structure of the Invention] (Means for Solving Problems) According to the present invention, the length from the start point to the end point of the pictogram ruled line stored in the pictogram ruled line data storage means and the pictogram font corresponding to the starting point to the end point are determined. , calculate the font space to be allocated to each pictograph font from the difference between the length and the length when printed so that the space between pictograph fonts is 0, and alternately use the pictograph font and font space from the start point to the end point. Expand to line buffer.
(作用)
上記の構成によれば、絵文字罫線フォントを文書自体の
文字間スペース、改行量の値にかかわらず、始点終点間
にフォントの個数が最大となるように均等に割付けて印
字することが出来る。(Function) According to the above configuration, it is possible to evenly distribute and print pictogram ruled line fonts so that the number of fonts is maximized between the start point and the end point, regardless of the character spacing and line feed amount values of the document itself. I can do it.
(実施例)
以下、図面を参照して、この発明の一実施例を説明する
。(Example) Hereinafter, an example of the present invention will be described with reference to the drawings.
第1図は、この発明の文書作成装置の一実施例を示すブ
ロック図である。中央処理装置(CPU)1は装置全体
を制御する、例えば8ビツトのマイクロプロセッサであ
る。CPU1はCPU/<ス3に接続されている。CP
Uバス3にはキーボードインターフェース5を介して、
キーボード7が接続されている。このキーボードを介し
て文書作成のための種々のデータや、絵グラフ作成のた
めのデータが入力される。更に、CPUバス3には表示
コントローラ9を介して種々のデータを表示器11が接
続されている。表示コントローラ9には表示用ランダム
アクセスメモリ(RAM)13が接続されており、この
RAM13の内容が表示コントローラ9を介して表示器
11に表示される。更に、CPUバス3にはプリンタイ
ンターフェース15を介してプリンタ17が接続され、
表、グラフ、罫線等を含む種々のデータがプリントされ
る。更に、フロッピーディスクドライブ(FDD)イン
ターフェース19を介してフロッピーディスクドライブ
(FDD)21が接続される。FDD21には作成した
文書やオペレータにより作成された外字などが必要に応
じて登録される。リードオンリーメモリ(ROM)23
は、第2図、第5図、第6図、第9図、第10図、第1
1図、および第13図のフローチャートに示されるプロ
グラムを含む各種プログラムが記憶される記憶領域と、
キーボード7から入力された文字コードに対応した文字
パターンを記憶する文字パターン領域、およびかな/漢
字変換等を行なうのに必要とされる辞書領域等を有して
いる。又ランダムアクセスメモリ25には、キーボード
7から入力された文書を一時的に格納する文書バッファ
領域と、絵グラフを作成する際に各絵文字を印字又は表
示すべき位置や、文字パターンを後述するラインバッフ
ァに展開する際の位置情報等を記憶する管理テーブル領
域と、印字1行分のデータを記憶するラインバッファ領
域と、キーボード7を介して作成された外字パターン、
あるいはFDD21から読み出された外字を記憶する外
字パターン記憶領域を有している。FIG. 1 is a block diagram showing an embodiment of the document creation device of the present invention. A central processing unit (CPU) 1 is, for example, an 8-bit microprocessor that controls the entire device. The CPU1 is connected to the CPU/<<3. C.P.
The U bus 3 is connected via the keyboard interface 5.
A keyboard 7 is connected. Various data for creating documents and data for creating pictorial graphs are input via this keyboard. Further, a display device 11 is connected to the CPU bus 3 via a display controller 9 for transmitting various data. A display random access memory (RAM) 13 is connected to the display controller 9, and the contents of this RAM 13 are displayed on the display 11 via the display controller 9. Further, a printer 17 is connected to the CPU bus 3 via a printer interface 15.
Various data including tables, graphs, ruled lines, etc. are printed. Further, a floppy disk drive (FDD) 21 is connected via a floppy disk drive (FDD) interface 19 . Created documents and external characters created by the operator are registered in the FDD 21 as necessary. Read only memory (ROM) 23
2, 5, 6, 9, 10, 1
a storage area in which various programs including the programs shown in the flowcharts of FIG. 1 and FIG. 13 are stored;
It has a character pattern area for storing character patterns corresponding to character codes input from the keyboard 7, a dictionary area required for performing kana/kanji conversion, etc. In addition, the random access memory 25 includes a document buffer area for temporarily storing documents input from the keyboard 7, and a line for determining the position where each pictogram should be printed or displayed when creating a pictorial graph, and the character pattern, which will be described later. A management table area for storing positional information etc. when expanding into a buffer, a line buffer area for storing one line of data to be printed, a custom character pattern created via the keyboard 7,
Alternatively, it has a custom character pattern storage area for storing custom characters read from the FDD 21.
第2図はオペレータが作成した絵文字(外字)を用いて
絵グラフを作成する場合の処理を示すフローチャートで
ある。フローチャートのステップ27において絵文字パ
ターンの選択が行われる。FIG. 2 is a flowchart showing the process of creating a pictorial graph using pictograms (external characters) created by the operator. In step 27 of the flowchart, a pictogram pattern is selected.
絵文字パターンの選択は例えば第3図に示すようなメニ
ュウ選択表示が表示器11に表示される。To select a pictogram pattern, a menu selection display as shown in FIG. 3 is displayed on the display 11, for example.
オペレータはグラフの種類として絵グラフにカーソルを
合せるとともに、予め作成し、登録しておいた絵記号を
指定する区点コードを入力する。更に、縦軸の最大値、
最小値を指定する。指定が無い場合はグラフ化するデー
タの数値から自動的に決定される。尚、縦軸最小値の指
定が無い場合は0となる。更に横方向に格子を引くかど
うかをカーソルを合せて指定する。各項目を設定し、選
択/実行キーを押す。CPUIは選択/実行キーの押下
に応答して、ステップ29においてオペレータが外字を
選択したかどうか判断する。ステップ29において外字
が選択された、即ち区点コードが入力されたと判断する
と、CPU1はステップ31においてRAM25の外字
パターン領域から入力された区点コードに対応する外字
パターン(絵文字パターン)を読む。次ぎにCPUIは
ステップ25において得られた外字パターンを用いて絵
グラフを作成する。即ち、外字パターンをRAM25の
ラインバッファ領域に展開し、表示器11に表示するか
、プリンタ17に印字する。The operator places the cursor on the pictorial graph as the type of graph, and inputs a Kuten code specifying a pictorial symbol created and registered in advance. Furthermore, the maximum value on the vertical axis,
Specify the minimum value. If not specified, it will be automatically determined from the numerical values of the data to be graphed. Note that if the vertical axis minimum value is not specified, it will be 0. Furthermore, specify whether or not to draw the grid horizontally by placing the cursor on it. Set each item and press the Select/Execute key. In response to the depression of the select/execute key, the CPUI determines in step 29 whether the operator has selected a custom character. If it is determined in step 29 that a custom character has been selected, that is, a Kuten code has been input, the CPU 1 reads the custom character pattern (pictogram pattern) corresponding to the Kuten code input from the custom character pattern area of the RAM 25 in Step 31. Next, the CPUI creates a pictorial graph using the external character pattern obtained in step 25. That is, the external character pattern is developed in the line buffer area of the RAM 25 and displayed on the display 11 or printed on the printer 17.
この動作はグラフ化すべきデータの量に応じて繰返し行
われる。この結果、第4図に示す如く絵グラフが得られ
る。尚、第2図のステップ29において外字が選択され
なかった場合にはステップ33において、CPU1はR
OM23(7)文字パターン領域から文字パターンを読
み出し、前記RAM25のラインバッファ領域に展開し
、第4図と同様の絵グラフを作成する。This operation is repeated depending on the amount of data to be graphed. As a result, a pictorial graph as shown in FIG. 4 is obtained. Note that if no external character is selected in step 29 of FIG. 2, the CPU 1 selects R in step 33.
OM23(7) Reads a character pattern from the character pattern area, develops it in the line buffer area of the RAM 25, and creates a pictorial graph similar to that shown in FIG.
次ぎにデータの目盛り位置が文字パターンサイズの整数
倍とならないとき文字パターンの展開量を可変制御する
ことにより、データ量を正確に表現する処理について説
明する。第5図は絵文字パターンを始点から終点までド
ツト幅で展開する際の処理を示すフローチャートである
。Next, a process for accurately representing the amount of data by variably controlling the expansion amount of the character pattern when the data scale position is not an integral multiple of the character pattern size will be described. FIG. 5 is a flowchart showing the process of developing a pictographic pattern from the start point to the end point in dot width.
始めに、ステップ37においてCPUIはRAM25の
テーブル領域から絵文字パターンの始点および終点位置
を読む。つぎにステップ39において、CPUIは絵文
字パターンを終点の方向に、1ドツト幅だけラインバッ
ファ領域に展開する。次ぎに、ステップ41において現
在までのラインバッファ上での、絵文字パターンの展開
位置をRAM25のワークエリアに記憶する。そして、
ステップ43において、ワークエリアに記憶した展開位
置が終点位置になったかどうか判断する。ステップ43
において展開位置が終点位置まで到達していない場合に
は、ステップ39に戻り再びステップ39からステップ
43までを実行する。この繰返しは展開位置が終点位置
に到達するまで繰返される。このように1ドツト単位に
絵文字パターンを展開していくことにより第4図の45
や47で示すようにデータ量が正確に絵文字パターンで
表現される。First, in step 37, the CPUI reads the starting and ending positions of the pictogram pattern from the table area of the RAM 25. Next, in step 39, the CPUI develops the pictogram pattern in the line buffer area by one dot width in the direction of the end point. Next, in step 41, the developed position of the pictorial pattern on the line buffer up to the present time is stored in the work area of the RAM 25. and,
In step 43, it is determined whether the expanded position stored in the work area has reached the end position. Step 43
If the unfolded position has not reached the end position, the process returns to step 39 and steps 39 to 43 are executed again. This repetition is repeated until the expanded position reaches the end position. By developing the pictograph pattern dot by dot in this way, we can create 45 in Figure 4.
As shown in 47, the amount of data is accurately expressed in pictographic patterns.
次ぎに絵文字を用いて罫線を引いた場合に、文書自体の
文字間スペースや行間スペースの値に関係無く、常に絵
文字の文字間スペースを0(行および桁の両方向とも)
でプリントする場合の処理について第6図のフローチャ
ートを参照して説明する。始めにステップ45において
CPU1はRAM25の文書バッファ領域を走査して文
字の始点および終点を決定する。次ぎにラインバッファ
領域上の始点に絵文字フォントを展開する。次ぎにステ
ップ49において始点座標に、始点から終点方向の絵文
字フォントサイズを加算した値を、始点から展開した絵
文字フォントの次ぎの展開開始点とする。(第7図参照
)次ぎにCPUIはステップ51において終点まで絵文
字フォントを展開したかどうか判断する。すなわち、展
開点座標から始点座標を引いた値が、終点座標から始点
座標を引いた値以上になったかどうか判断する。ステッ
プ51において終点まで絵文字フォントを展開してなけ
れば、ステップ53においてラインバッファ領域上の展
開点に次ぎの絵文字フォントを展開する。そして、ステ
ップ55において、現在の展開点に、始点から終点方向
の絵文字フォントサイズを加算した値を新たな展開点と
する。そして、ステップ51に戻り、再びステップ51
からステップ55を繰り返す。この繰返しは、ステップ
51において絵文字フォントを終点まで展開したと判断
されるまで、行われる。Next, when you draw a border using emojis, the spacing between the emoji characters is always 0 (both in the line and column directions), regardless of the character spacing and line spacing values of the document itself.
The processing for printing will be explained with reference to the flowchart of FIG. First, in step 45, CPU 1 scans the document buffer area of RAM 25 to determine the start and end points of a character. Next, expand the pictograph font at the starting point on the line buffer area. Next, in step 49, the value obtained by adding the pictorial font size in the direction from the starting point to the ending point to the starting point coordinates is set as the next development start point of the pictorial font developed from the starting point. (See FIG. 7) Next, in step 51, the CPU determines whether the pictographic font has been expanded to the end point. That is, it is determined whether the value obtained by subtracting the starting point coordinates from the expansion point coordinates is greater than or equal to the value obtained by subtracting the starting point coordinates from the ending point coordinates. If the pictorial font has not been expanded to the end point in step 51, the next pictorial font is expanded at the expansion point on the line buffer area in step 53. Then, in step 55, the value obtained by adding the pictograph font size in the direction from the start point to the end point to the current development point is set as a new development point. Then, return to step 51 and step 51 again.
Step 55 is repeated from . This repetition is performed until it is determined in step 51 that the pictogram font has been developed to the end point.
尚、第7図に示す如く文字間スペースを0にして絵文字
フォントを展開していくと、始点と終点の座標位置は決
まっているので第8図に示す如く、終わりにスペースが
出来てしまう場合がある。Note that if you develop an emoji font with the inter-character space set to 0 as shown in Figure 7, the coordinate positions of the start and end points are fixed, so if there is a space at the end as shown in Figure 8. There is.
このスペースを各絵文字に均等に割付けることにより見
栄えのよい絵文字罫線を作成する方法について第9図の
フローチャートを参照して以下述べる。A method for creating good-looking pictograph ruled lines by equally allocating this space to each pictogram will be described below with reference to the flowchart of FIG. 9.
始めに第9図のフローチャートのステップ57において
、文書バッファ領域を走査して絵文字の始点と終点を求
めるとともに、行間の値および文字間の値とから、RA
M25のラインバッファ領域上での始点から終点までの
総ドツト数(長さ)を求める。次ぎにステップ59にお
いて、ラインバッファ領域上での始点から終点までの長
さ(総ドツト数)を全角フォントサイズ(例えば24ド
ツト)で割算することにより、全角の絵文字フォントの
個数を求める。更に、始点から終点までの長さから、フ
ォントサイズに個数を掛けた値を引算することによりト
ータルのスペースを求める。そのトータルスペースを絵
文字フォントの(個数−1)で割算することにより、各
絵文字フォントに割付けるスペースを算出する。次ぎに
、ステップ61において、RAM25のラインバッファ
領域に、始点から終点まで絵文字フォントとフォント間
スペースを交互に展開する。First, in step 57 of the flowchart in FIG. 9, the document buffer area is scanned to find the start and end points of the pictogram, and the RA is calculated from the line spacing value and character spacing value.
The total number of dots (length) from the start point to the end point on the line buffer area of M25 is determined. Next, in step 59, the number of full-width pictogram fonts is determined by dividing the length (total number of dots) from the start point to the end point on the line buffer area by the full-width font size (for example, 24 dots). Furthermore, the total space is determined by subtracting the value obtained by multiplying the font size by the number of fonts from the length from the start point to the end point. By dividing the total space by (the number of pictogram fonts - 1), the space allocated to each pictogram font is calculated. Next, in step 61, pictogram fonts and spaces between fonts are alternately developed in the line buffer area of the RAM 25 from the start point to the end point.
このようにすることにより、各絵文字フォントに対して
スペースが均等に割付けられた罫線を作成することが出
来る。By doing this, it is possible to create ruled lines in which spaces are evenly allocated to each pictogram font.
第8図に示す如く、終わりにスペースが出来る場合の他
の処理について第10図に示すフローチャートに付いて
説明する。第10図に示すフローチャートは絵文字フォ
ントのサイズを縮小して絵文字罫線をプリントする場合
の処理を示す。始めにステップ63において、CPU1
1は文書バッファ領域を操作して絵文字罫線の始点およ
び終点を求める。次ぎにステップ65において、ライン
バッファ領域上での始点から終点までの長さを絵文字フ
ォントの全角サイズで割り、絵文字フォントの個数を求
める。すなわち、RAM25のラインバッファ領域上で
の始点から終点までの間に全角サイズの絵文字罫線フォ
ントが何個式るか計算する。次ぎにステップ67におい
て余りが“0“かどうか判断する。余りが“0”ならば
、始点から終点までの間にすきまなく絵文字フォントが
入ることを意味し、余りが“0゛で無ければ、始点と終
点との間を隙間無く絵文字フォントが埋めていないこと
を示す。従って、余りが0でない場合、CPUIはステ
ップ69に進み、ラインバッファ上での始点から終点ま
での長さを(個数+1)で除算することにより縮小サイ
ズを求める。すなわち絵文字フォントをどれだけ縮小す
ればすきまが無くなるかを求める。次ぎに、ステップ7
1において、ステップ69で求めた縮小サイズに従って
絵文字、フォントを縮小する。次ぎに、ステップ73に
おいて、ラインバッファの始点から終点まで縮小した絵
文字フォントのドツトパターンを展開する。Other processing when a space is created at the end as shown in FIG. 8 will be explained with reference to the flowchart shown in FIG. The flowchart shown in FIG. 10 shows the process when reducing the size of the pictogram font and printing the pictogram ruled lines. First, in step 63, CPU1
Step 1 operates the document buffer area to find the start and end points of the pictograph ruled lines. Next, in step 65, the length from the start point to the end point on the line buffer area is divided by the full-width size of the pictogram font to find the number of pictogram fonts. That is, the number of full-width sized pictogram ruled line fonts between the starting point and the ending point on the line buffer area of the RAM 25 is calculated. Next, in step 67, it is determined whether the remainder is "0". If the remainder is "0", it means that the emoji font will fit between the start point and the end point without a gap, and if the remainder is not "0", the emoji font will not fill the space between the start point and the end point without a gap. Therefore, if the remainder is not 0, the CPUI proceeds to step 69 and calculates the reduced size by dividing the length from the start point to the end point on the line buffer by (number + 1). Find out how much you need to reduce the size to eliminate the gap.Next, step 7
1, the pictographs and fonts are reduced according to the reduced size determined in step 69. Next, in step 73, the dot pattern of the reduced pictogram font is developed from the start point to the end point of the line buffer.
次ぎに絵文字罫線のフォントの向きを描画力゛向によっ
て換える処理について第11図に示すフローチャートお
よび第12図を用いて説明する。始めに第11図のステ
ップ75において、RAM25の文書バッファ領域を走
査して絵文字罫線の始点及び終点の座標情報を求める。Next, the process of changing the direction of the font of the pictograph ruled line depending on the direction of the drawing power will be explained using the flowchart shown in FIG. 11 and FIG. 12. First, in step 75 of FIG. 11, the document buffer area of the RAM 25 is scanned to obtain coordinate information of the start and end points of the pictograph ruled lines.
次ぎにステップ77において、ステップ7うで求めた始
点および終点の座標情報から、罫線が右向き、左向き、
上向き、下向きのいずれかを判断する。罫線が右向きの
場合、すなわち第12図の矢印89の方向の場合、ステ
ップ79においてフォントを右にO反回転する。又罫線
が左向きの場合、即ち第12図の矢印91の場合、ステ
ップ81においてフォントを右に180度回反回転。さ
らに、罫線の向きが上向きの場合、すなわち第12図の
矢印93の場合、ステップ83においてフォントを右に
270度回反回転。さらに罫線の向きが下向きの場合、
すなわち第12図の矢印95の場合、ステップ85にお
いてフォントを右に90度反回転る。次ぎに、ステップ
87において、始点から終点までラインバッファに絵文
字フォントのドツトパターンを展開する。この結果、例
えば“A”という文字フォントは第12図に示す如く、
罫線の描画方向に応じて、それぞれ向きを換えて出力さ
れる。Next, in step 77, based on the coordinate information of the start point and end point obtained in step 7, the ruled line is oriented rightward, leftward,
Determine whether the direction is upward or downward. If the ruled line is oriented to the right, that is, in the direction of arrow 89 in FIG. 12, the font is rotated to the right in step 79. If the ruled line is oriented to the left, that is, in the case of arrow 91 in FIG. 12, the font is rotated 180 degrees to the right in step 81. Furthermore, if the direction of the ruled line is upward, that is, in the case of arrow 93 in FIG. 12, the font is rotated 270 degrees to the right in step 83. Furthermore, if the direction of the ruled line is downward,
That is, in the case of arrow 95 in FIG. 12, the font is counter-rotated 90 degrees to the right in step 85. Next, in step 87, the dot pattern of the pictogram font is developed in the line buffer from the start point to the end point. As a result, for example, the character font "A" is as shown in Figure 12.
They are output in different directions depending on the drawing direction of the ruled lines.
このようにすることにより、例えば絵文字のデザインが
、前後の絵文字の線と繋がるようなデザインの場合、絵
文字罫線の描画の方向が変わっても、線が連続するよう
に絵文字罫線を印字することが出来る。By doing this, for example, if the design of an emoji is such that it connects with the lines of the preceding and succeeding emojis, even if the drawing direction of the emoji borders changes, the emoji borders can be printed so that the lines are continuous. I can do it.
次ぎに、印刷時において、縦書あるいは横書に関係なく
、同じ向きに絵文字フォントを印刷する場合の処理につ
いて第13図のフローチャートを参照して説明する。Next, a process for printing pictogram fonts in the same orientation regardless of vertical or horizontal writing will be described with reference to the flowchart in FIG. 13.
始めにステップ97において、RAM25の文書バッフ
ァ領域から展開すべき文字を読み出す。First, in step 97, characters to be expanded are read from the document buffer area of the RAM 25.
次ぎにステップ99において縦書か横書かを判断する。Next, in step 99, it is determined whether the image is written vertically or horizontally.
横書であると判断した場合、CPUIはステップ103
に進み、文字フォントをROM23の文字パターン領域
から読み出す。他方、ステップ99において縦書である
と判断すると、ステップ101に進み印字すべきデータ
が絵文字罫線であるかどうか判断する。絵文字罫線であ
れば、ステップ103に進み絵文字フォントをROM2
3の文字パターン領域から読み出す。他方、ステップ1
01において絵文字罫線でないと判断すると、ステップ
105に進み、対応する文字フォントをROM2Bの文
字パターン領域から読み出し、左に90度回転する。ス
テップ103又はステップ105の処理を終了すると、
ステップ107に進み、RAM25のラインバッファ領
域に文字フォントを展開する。このようにすることによ
り、絵文字のデザインが前後の絵文字と線が繋がる様な
デザインの場合、縦書印字でも横書印字でも線が連続す
る絵文字罫線を印字することが出来る。If it is determined that the writing is horizontal, the CPUI proceeds to step 103.
Then, the character font is read from the character pattern area of the ROM 23. On the other hand, if it is determined in step 99 that it is vertical writing, the process proceeds to step 101 and it is determined whether the data to be printed is a pictograph ruled line. If it is an emoji border, proceed to step 103 and save the emoji font to ROM2.
Read from character pattern area 3. On the other hand, step 1
If it is determined in step 01 that the font is not a pictograph ruled line, the process proceeds to step 105, where the corresponding character font is read from the character pattern area of the ROM 2B and rotated 90 degrees to the left. When the process of step 103 or step 105 is finished,
Proceeding to step 107, the character font is developed in the line buffer area of the RAM 25. By doing this, if the design of the pictogram is such that lines connect with the pictograms before and after it, it is possible to print pictogram ruled lines with continuous lines in both vertical and horizontal printing.
[発明の効果]
以上述べた如く、この発明によれば絵文字罫線フォント
を、文書自体の文字間スペース、改行量の値にかかわら
ず、始点終点間にフォントの個数が最大となるように均
等に割付けて印字することが出来る。[Effects of the Invention] As described above, according to the present invention, pictogram ruled line fonts can be distributed evenly so that the number of fonts is maximized between the start and end points, regardless of the character spacing and line feed amount of the document itself. It can be allocated and printed.
第1図はこの発明の文書作成装置の一実施例を示すブロ
ック図、第2図はオペレータが作成した絵文字を用いて
絵グラフを作成する場合の処理を示すフローチャート、
第3図はメニュー選択の表示例を示す図、第4図はこの
発明の文書作成装置により印字される絵グラフの例、第
5図は絵文字パターンを始点から終点までドツト幅で展
開する際の処理を示すフローチャート、第6図は絵文字
罫線の絵文字の文字間スペースを0で印字する場合の処
理を示すフローチャート、第7図および第8図は絵文字
罫線の絵文字フォントを文字間スペース0で展開した場
合の展開図、第9図は絵文字罫線の各絵文字フォント間
にスペースを均等に割付ける処理を示すフローチャート
、第10図は絵文字フォントのサイズを縮小して絵文字
罫線を印字する場合の処理を示すフローチャート、第1
1図は絵文字罫線のフォントの向きを描画方向によって
換える処理を示すフローチャート、第12図は第11図
に示す処理によって、絵文字罫線のフォントの向きを描
画方向により換えた具体例を示す図、および第13図は
縦書印字および横書印字に関係無く同じ向きに絵文字フ
ォントを印刷する場合の処理を示すフローチャートであ
る。
17・・・プリンタ、23・・・ROM、25・・・R
AM。
第1図
第6図
始点 終点第7図
始点 終点第8図
第9図
第10図
第11図FIG. 1 is a block diagram showing an embodiment of the document creation device of the present invention, and FIG. 2 is a flowchart showing the process of creating a pictorial graph using pictograms created by an operator.
FIG. 3 is a diagram showing an example of a menu selection display, FIG. 4 is an example of a pictorial graph printed by the document creation device of the present invention, and FIG. Flowchart showing the process. Figure 6 is a flowchart showing the process when printing pictograms with 0 character spacing in pictogram borders. Figures 7 and 8 show pictogram fonts in pictogram borders developed with 0 character spacing. Figure 9 is a flowchart showing the process of allocating spaces evenly between each pictograph font in the pictogram border, and Figure 10 shows the process when printing the pictogram border by reducing the size of the pictogram font. Flowchart, 1st
FIG. 1 is a flowchart showing a process for changing the font direction of pictogram ruled lines depending on the drawing direction, FIG. 12 is a diagram showing a specific example of changing the font direction of pictogram ruled lines depending on the drawing direction by the process shown in FIG. 11, and FIG. 13 is a flowchart showing a process when pictogram fonts are printed in the same direction regardless of vertical or horizontal printing. 17...Printer, 23...ROM, 25...R
A.M. Figure 1 Figure 6 Starting point Ending point Figure 7 Starting point Ending point Figure 8 Figure 9 Figure 10 Figure 11
Claims (1)
文書作成装置において、絵文字罫線データを記憶する絵
文字罫線データ記憶手段と;前記絵文字罫線データ記憶
手段に記憶された絵文字罫線の始点から終点までの長さ
と、前記始点から終点に相当する絵文字フォントを、絵
文字フォント間スペースが実質0となる様に印字した際
の長さとの差のスペースから、前記絵文字フォント1個
当りに割付けるフォントスペースを求める手段と;およ
び前記絵文字フォントと、前記フォントスペースとを交
互に始点から終点まで印字バッファに展開する手段と;
前記印字バッファに展開した内容を印字する印字手段と
で構成されることを特徴とする文書作成装置。In a document creation device having a pictograph ruled line function for creating ruled lines using pictographs, a pictograph ruled line data storage means for storing pictograph ruled line data; Find the font space to be allocated to each pictograph font from the difference between the length and the length when pictogram fonts corresponding to the starting point to the end point are printed so that the spacing between pictograph fonts is essentially 0. means; and means for alternately developing the pictographic font and the font space in a print buffer from a starting point to an ending point;
A document creation device comprising: printing means for printing the content developed in the print buffer.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63042527A JPH01215557A (en) | 1988-02-25 | 1988-02-25 | document creation device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63042527A JPH01215557A (en) | 1988-02-25 | 1988-02-25 | document creation device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH01215557A true JPH01215557A (en) | 1989-08-29 |
Family
ID=12638549
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63042527A Pending JPH01215557A (en) | 1988-02-25 | 1988-02-25 | document creation device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH01215557A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5446308A (en) * | 1994-04-04 | 1995-08-29 | General Electric Company | Deep-diffused planar avalanche photodiode |
| US5517052A (en) * | 1994-06-24 | 1996-05-14 | General Electric Company | Deep-diffused phototransistor |
-
1988
- 1988-02-25 JP JP63042527A patent/JPH01215557A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5446308A (en) * | 1994-04-04 | 1995-08-29 | General Electric Company | Deep-diffused planar avalanche photodiode |
| US5517052A (en) * | 1994-06-24 | 1996-05-14 | General Electric Company | Deep-diffused phototransistor |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH046554B2 (en) | ||
| JPH01215557A (en) | document creation device | |
| JPH01215558A (en) | Word processor | |
| JPH01215554A (en) | document creation device | |
| JPH01215555A (en) | document creation device | |
| JPH01217395A (en) | Word processor | |
| JPH01215556A (en) | document creation device | |
| JP2002373068A (en) | Printing system | |
| JP2910921B2 (en) | Printing control device | |
| JP3341048B2 (en) | Document printing device | |
| JP3040624B2 (en) | Pattern generator | |
| JP2878715B2 (en) | Document creation device | |
| JPH01229649A (en) | Printing method using vector font data | |
| JPH07129547A (en) | Document information processing device | |
| JP2764944B2 (en) | Character output device | |
| JPH06266706A (en) | Document processing device with character size changing function | |
| JP3026992B2 (en) | Display control method and device | |
| JPH08230254A (en) | Printer | |
| JPH07105197A (en) | Document processor | |
| JPH02300922A (en) | document creation device | |
| JPH02301862A (en) | Document preparing device | |
| JPH0815794B2 (en) | Character processor | |
| JPH10111679A (en) | Font files | |
| JPH10207878A (en) | Document editing and printing device | |
| JPH06149208A (en) | Character generating device |