JPH0962251A - Document processing apparatus and control method thereof - Google Patents
Document processing apparatus and control method thereofInfo
- Publication number
- JPH0962251A JPH0962251A JP7242376A JP24237695A JPH0962251A JP H0962251 A JPH0962251 A JP H0962251A JP 7242376 A JP7242376 A JP 7242376A JP 24237695 A JP24237695 A JP 24237695A JP H0962251 A JPH0962251 A JP H0962251A
- Authority
- JP
- Japan
- Prior art keywords
- character
- output
- output device
- type
- stored
- 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
- Document Processing Apparatus (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
(57)【要約】
【課題】 文書処理の一部が任された複数の出力装置か
らいずれか1つの出力装置を選択して文字出力させる場
合でも、対象となる出力装置にとって最適な文字出力と
なる文字出力位置を算出することが可能な文書処理装置
およびその制御方法を提供する。
【解決手段】 CPUにより、選択された書体名称およ
び出力先の出力装置が取得されると、この書体名称に一
致する書体名称22を有する文字幅情報21が検索さ
れ、一致する文字幅情報が検索された場合には、その文
字幅情報の文字幅を用いて出力すべき文字の出力位置が
算出され、その出力位置が対象となる出力装置に供給さ
れる。
(57) Abstract: Even when a character output is performed by selecting any one output device from a plurality of output devices for which a part of document processing is entrusted, a character output optimal for a target output device is obtained. Provided is a document processing device capable of calculating the following character output position and a control method thereof. SOLUTION: When a CPU acquires a selected typeface name and an output destination output device, character width information 21 having a typeface name 22 that matches the typeface name is searched, and matching character width information is searched. In this case, the output position of the character to be output is calculated using the character width of the character width information, and the output position is supplied to the target output device.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、文書処理装置およ
び文書処理方法に関し、特に複数の出力装置から文字等
を出力させる文書処理装置および文書処理方法に関す
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing device and a document processing method, and more particularly to a document processing device and a document processing method for outputting characters and the like from a plurality of output devices.
【0002】[0002]
【従来の技術】従来、プリンタやディスプレイ等の出力
装置、例えばフォントデータを備え、そのフォントデー
タを使用して文字等を出力(以下、「文字出力」とい
う)するように構成された出力装置から文字出力させる
場合に、文字出力すべき書体の名称やサイズ情報、出力
する文字列、および出力位置が指定されると、文書処理
装置は、出力すべき文字列から各文字の文字出力位置を
決定して、その決定された文字出力位置や前記書体名称
等の情報を出力装置側に供給し、これに応じて出力装置
は、文字出力を行っていた。2. Description of the Related Art Conventionally, an output device such as a printer or a display, for example, an output device provided with font data and configured to output characters or the like using the font data (hereinafter referred to as "character output") When outputting characters, when the name and size information of the font to be output, the character string to be output, and the output position are specified, the document processing apparatus determines the character output position of each character from the character string to be output. Then, the information such as the determined character output position and the typeface name is supplied to the output device side, and in response to this, the output device outputs characters.
【0003】この文字出力位置を決定する処理は、通
常、指示された書体の書体名称から文字幅情報を決定
し、この文字幅情報を基にして文字列先頭からの相対的
な文字出力位置を算出するという方法が採られていた。In the process of determining the character output position, character width information is usually determined from the typeface name of the designated typeface, and the relative character output position from the beginning of the character string is determined based on this character width information. The method of calculation was adopted.
【0004】[0004]
【発明が解決しようとする課題】しかしながら、上記従
来の文書処理装置では、文字出力に使用する上記出力装
置が複数個あり、この複数個の出力装置のうち、いずれ
かを選択し、その選択された出力装置から文字出力させ
たいときに、該複数個の出力装置の、少なくとも2つ以
上の出力装置が、当該文字出力に使用する書体と同一書
体名称であるが文字形状(文字デザイン)などの内容の
異なるフォントデータを有する場合があり、このような
場合に、文字出力すべき書体の名称やサイズ情報、出力
する文字列、および出力位置が指定されたとしても、文
字列から各文字の文字出力位置を決定する際に使用する
文字幅情報を、書体名称のみから一意に決定することが
できず、最適な文字出力位置を算出することはできなか
った。However, in the above-mentioned conventional document processing apparatus, there are a plurality of output devices used for character output, and any one of the plurality of output devices is selected and selected. When it is desired to output a character from the output device, at least two output devices of the plurality of output devices have the same typeface name as the typeface used for the character output, but the character shape (character design), etc. It may have font data with different contents.In such a case, even if the name and size information of the typeface to be output as a character, the character string to be output, and the output position are specified, the character of each character from the character string is specified. The character width information used when determining the output position could not be uniquely determined only from the typeface name, and the optimum character output position could not be calculated.
【0005】本発明は、上記問題に鑑みてなされたもの
で、複数の出力装置からいずれか1つの出力装置を選択
して文字出力させる場合でも、対象となる出力装置にと
って最適な文字出力となる文字出力位置を算出すること
が可能な文書処理装置およびその制御方法を提供するこ
とを目的とする。The present invention has been made in view of the above problems. Even when any one output device is selected from a plurality of output devices and a character is output, the character output is optimal for the target output device. An object of the present invention is to provide a document processing device capable of calculating a character output position and a control method thereof.
【0006】[0006]
【課題を解決するための手段】上記目的を達成するた
め、本発明の文書処理装置は、各文字の文字幅を書体毎
に記憶する文字幅記憶手段と、出力すべき文字の表示位
置を前記記憶された当該文字の文字幅に基づいて決定す
る表示位置決定手段とを備え、少なくとも出力すべき文
字、該文字の書体および該文字に基づいて決定された表
示位置に応じて文字出力する複数の出力装置のうち、選
択したいずれかの出力装置に文字出力させる文書処理装
置において、前記記憶された文字幅が適用される出力装
置の種別を当該書体に対応して記憶する出力装置種別記
憶手段と、ユーザが出力すべき文字の書体および出力装
置の種別を指定するための指定手段と、該指定された出
力装置の種別と該指定された書体に対応する前記記憶さ
れた出力装置の種別とを比較する出力装置種別比較手段
と、該比較結果に応じて出力すべき文字の文字幅を決定
する文字幅決定手段とを有し、前記表示位置決定手段
は、該決定された文字幅に基づいて出力すべき文字の表
示位置を決定し、該決定された表示位置を前記出力装置
に供給することを特徴とする。In order to achieve the above object, the document processing apparatus of the present invention is characterized in that the character width storage means for storing the character width of each character for each typeface and the display position of the character to be output are described above. A plurality of character output means for determining based on the stored character width of the character, at least a character to be output, a typeface of the character, and a display position determined based on the character. In a document processing device that causes one of the selected output devices to output characters, an output device type storage unit that stores the type of the output device to which the stored character width is applied in association with the typeface. A designating means for designating a typeface of characters to be output by the user and a type of the output device, a type of the designated output device and a type of the stored output device corresponding to the designated typeface The output device type comparison means for comparing the character widths and the character width determination means for determining the character width of the character to be output according to the comparison result, and the display position determination means is based on the determined character width. The display position of the character to be output is determined, and the determined display position is supplied to the output device.
【0007】好ましくは、前記文字幅決定手段は、前記
出力装置種別比較手段による比較の結果、前記指定され
た出力装置の種別と前記記憶された出力装置の種別とが
一致した場合には、該出力装置の種別に対応した、出力
すべき文字の文字幅を前記文字幅記憶手段から選択して
決定することを特徴とする。[0007] Preferably, the character width determining means determines whether the specified output device type and the stored output device type match as a result of the comparison by the output device type comparing means. The character width of the character to be output corresponding to the type of the output device is selected from the character width storage means and determined.
【0008】また、好ましくは、前記文字幅決定手段
は、前記出力装置種別比較手段による比較の結果、前記
指定された出力装置の種別と前記記憶された出力装置の
種別とが一致し、且つ該一致した出力装置の種別に対応
する、前記記憶された文字幅が複数個ある場合には、該
複数個の文字幅から、記憶されている出力装置の種別の
数が最も少ない文字幅を選択して、出力すべき文字の文
字幅を決定することを特徴とする。Further, preferably, the character width determining means determines that the specified output device type and the stored output device type match as a result of the comparison by the output device type comparing means, and When there are a plurality of the stored character widths corresponding to the matched output device type, the character width having the smallest number of the stored output device types is selected from the plurality of character widths. Then, the character width of the character to be output is determined.
【0009】さらに、好ましくは、前記文字幅決定手段
は、前記出力装置種別比較手段による比較の結果、前記
指定された出力装置の種別と前記記憶された出力装置の
種別とが一致し、且つ該一致した出力装置の種別に対応
する、前記記憶された文字幅が複数個ある場合には、該
複数個の文字幅から、記憶されている出力装置の種別の
数が最も多い文字幅を選択して、出力すべき文字の文字
幅を決定することを特徴とする。Further preferably, as a result of the comparison by the output device type comparison unit, the character width determination unit matches the designated output device type with the stored output device type, and When there are a plurality of stored character widths corresponding to the matched output device types, the character width having the largest number of stored output device types is selected from the plurality of character widths. Then, the character width of the character to be output is determined.
【0010】また、本発明の文書処理装置の制御方法
は、各文字の文字幅を書体毎に記憶する文字幅記憶手段
と、出力すべき文字の表示位置を前記記憶された当該文
字の文字幅に基づいて決定する表示位置決定手段とを備
え、少なくとも出力すべき文字、該文字の書体および該
文字に基づいて決定された表示位置に応じて文字出力す
る複数の出力装置のうち、選択したいずれかの出力装置
に文字出力させる文書処理装置の制御方法において、前
記記憶された文字幅が適用される出力装置の種別を当該
書体に対応して記憶し、ユーザが出力すべき文字の書体
および出力装置の種別を指定すると、該指定された出力
装置の種別と該指定された書体に対応する前記記憶され
た出力装置の種別とを比較し、該比較結果に応じて出力
すべき文字の文字幅を決定し、該決定された文字幅に基
づいて出力すべき文字の表示位置を決定し、該決定され
た表示位置を前記出力装置に供給することを特徴とす
る。Further, according to the control method of the document processing apparatus of the present invention, the character width storage means for storing the character width of each character for each typeface, and the display position of the character to be output are the character width of the stored character. A display position determining means that determines the output position based on the display position determining means based on at least the character to be output, the typeface of the character, and the display position determined based on the character. In a method of controlling a document processing device for causing a character to be output to another output device, the type of the output device to which the stored character width is applied is stored in association with the typeface, and the typeface and output of the character to be output by the user When the device type is specified, the specified output device type is compared with the stored output device type corresponding to the specified typeface, and the character width of the character to be output according to the comparison result. Determined, determines the character display position to be output based on the determined character width, and supplying the display position that is the determined to the output device.
【0011】[0011]
【発明の実施の形態】以下、本発明の実施の形態を図面
に基づいて詳細に説明する。Embodiments of the present invention will be described below in detail with reference to the drawings.
【0012】図1は、本発明の実施の一形態に係る文書
処理装置1の概略構成を示すブロック図である。FIG. 1 is a block diagram showing a schematic configuration of a document processing apparatus 1 according to an embodiment of the present invention.
【0013】同図に示すように、装置1全体の動作を制
御するCPU2は、バス12を介して、処理文書情報を
格納するフロッピーディスクドライブ(FDD)3、各
種情報を格納するハードディスクドライブ(HDD)
4、文字出力処理動作時に各種のデータを書き込み、ま
た読み出すRAM5、および図3を用いて後述する文字
出力処理動作のプログラムを格納するROM6と相互に
接続されている。同様に、CPU2は、バス12を介し
て、各種のデータの入力を行うためのキーボード7、お
よび文字表示データを格納するビデオRAM(VRA
M)8と相互に接続され、VRAM8には、文書表示や
操作パネル等の表示を行うCRT9が接続されている。
さらに、CPU2は、バス12を介して、プリンタイン
ターフェース(プリンタI/F)10と相互に接続さ
れ、プリンタI/F10には、文書印刷出力を行うプリ
ンタ11が接続されている。As shown in FIG. 1, a CPU 2 for controlling the operation of the entire apparatus 1 has a floppy disk drive (FDD) 3 for storing processed document information and a hard disk drive (HDD) for storing various information via a bus 12. )
4. A RAM 5 for writing and reading various data during a character output processing operation, and a ROM 6 for storing a program for a character output processing operation described later with reference to FIG. Similarly, the CPU 2 has a keyboard 7 for inputting various data via the bus 12, and a video RAM (VRA) for storing character display data.
M) 8 is connected to each other, and the VRAM 8 is connected to a CRT 9 for displaying a document or displaying an operation panel.
Further, the CPU 2 is mutually connected to a printer interface (printer I / F) 10 via a bus 12, and the printer I / F 10 is connected to a printer 11 for performing document print output.
【0014】図2は、文書処理装置1が使用する文字幅
情報21の構造(データフォーマット)を示す図であ
り、文字幅情報21は、書体毎に作成され、例えば前記
HDD4に格納される。FIG. 2 is a diagram showing the structure (data format) of the character width information 21 used by the document processing apparatus 1. The character width information 21 is created for each typeface and stored in the HDD 4, for example.
【0015】図2において、文字幅情報21は、出力対
象となる書体の書体名称22と、この書体が出力可能な
出力装置の種別23と、この書体が出力可能な各文字の
文字幅24とにより構成されている。本実施の形態で
は、文字幅24は、基本文字サイズに対する比率が記憶
されている。In FIG. 2, the character width information 21 includes a font name 22 of a font to be output, a type 23 of an output device that can output this font, and a character width 24 of each character that can be output by this font. It is composed by. In the present embodiment, the ratio of the character width 24 to the basic character size is stored.
【0016】以上のように構成された文書処理装置1が
実行する文字出力処理動作を、以下、図3のフローチャ
ートに基づいて説明する。The character output processing operation executed by the document processing apparatus 1 configured as described above will be described below with reference to the flowchart of FIG.
【0017】図3において、まずステップS1で、本文
字出力処理が呼び出される前に選択された、文字出力を
行う書体の書体名称および出力先の出力装置の種別を取
得し、ステップS2で、予め記憶されている複数の文字
幅情報21から前記書体名称と出力装置の種別に基づい
て該当する文字幅情報の検索を開始する。In FIG. 3, first, in step S1, the typeface name of the typeface for outputting characters and the type of the output device of the output destination selected before this character output process is called are acquired, and in step S2, in advance. A search for the corresponding character width information 21 is started from the stored character width information 21 based on the typeface name and the type of the output device.
【0018】ステップS2の検索の結果、ステップS1
で取得した書体名称に対応する文字幅情報が存在するか
否かを判断し(ステップS3)、存在するときにはステ
ップS4に進み、ステップS2で検索した文字幅情報が
前記取得した出力装置の種別と一致しているか否かを判
断する。As a result of the search in step S2, step S1
It is determined whether or not the character width information corresponding to the typeface name acquired in step S3 exists (step S3), and if it exists, the process proceeds to step S4, and the character width information retrieved in step S2 corresponds to the acquired output device type. Determine if they match.
【0019】ステップS4の判断で、一致したときには
ステップS5に進み、この文字幅情報を、文字出力の出
力位置計算に使用する文字幅情報として設定する。When they match in the judgment of step S4, the process proceeds to step S5, and this character width information is set as the character width information used for the output position calculation of the character output.
【0020】前記ステップS3の判断で、前記取得した
書体名称に対応する文字幅情報が存在しないとき、また
はステップS4の判断で、前記検索した文字幅情報が前
記取得した出力装置の種別と一致しないときにはステッ
プS6に進み、任意の文字幅情報を、文字出力の出力位
置計算に使用する文字幅情報として設定する。When the character width information corresponding to the acquired typeface name does not exist in the determination in step S3, or the searched character width information does not match the acquired output device type in the determination in step S4. In some cases, the process proceeds to step S6, and the arbitrary character width information is set as the character width information used for the output position calculation of the character output.
【0021】続くステップS7では、本文字出力処理が
呼び出される前に選択された、文字出力を行う文字列お
よび出力位置を取得し、ステップS8では、文字列の各
文字に対して、ステップS5またはS6で設定された文
字幅情報に基づいて各文字の文字出力位置を算出し、ス
テップS9では、この算出された文字位置に文字列の各
文字を出力装置へ出力した後に、本文字出力処理を終了
する。In a succeeding step S7, a character string for outputting the character and an output position which are selected before this character output process is called are acquired, and in a step S8, for each character of the character string, the step S5 or The character output position of each character is calculated based on the character width information set in S6, and in step S9, after outputting each character of the character string to the calculated character position to the output device, this character output processing is performed. finish.
【0022】前記ステップS5で、同一書体名称で且つ
出力装置の種別が合致する文字幅情報21が複数存在す
る場合には、当該各文字幅情報21に記憶された出力装
置の種別23の数をそれぞれ比較し、その種別の数が最
も少ない文字幅情報(すなわち、文字幅24)を、文字
出力の出力位置計算に使用する文字幅情報として設定す
る。なお、これに限らず、文字幅情報21が複数存在す
る場合に、出力装置の種別23の数が最も多い文字幅情
報を、文字出力の出力位置計算に使用する文字幅情報と
して設定してもよい。In step S5, when there are a plurality of character width information 21 having the same typeface name and matching output device types, the number of output device types 23 stored in the respective character width information 21 is calculated. Character width information having the smallest number of types (namely, character width 24) is set as character width information used for output position calculation of character output. Not limited to this, when there are a plurality of character width information 21, even if the character width information having the largest number of output device types 23 is set as the character width information used for the output position calculation of the character output. Good.
【0023】また、文字幅情報21で扱われる情報とし
ては文字幅に限らず文字の左右余白量や文字外接矩形領
域など、書体と文字により一意に決定され、文字出力位
置の算出に必要な情報であれば、どのような情報でもよ
い。Further, the information handled by the character width information 21 is not limited to the character width, but is the information necessary for calculating the character output position, which is uniquely determined by the typeface and the character, such as the left and right margins of the character and the rectangular area circumscribing the character. So long as it is any information.
【0024】さらに、本実施の形態では、文字幅情報2
1を格納する先をHDD4にしたが、これに限らず、F
DD3やROM6など検索・情報取得可能な記憶装置で
あれば、その種別は問わない。Further, in this embodiment, the character width information 2
Although the storage destination of 1 is HDD4, it is not limited to this, and
The type of the storage device is not limited as long as it is a storage device such as the DD 3 or the ROM 6 that can be searched and information can be acquired.
【0025】また、文字幅情報21と文字列および出力
位置より各文字の出力位置を算出する方法は、出力位置
より各文字の文字幅を積算する方法が一般的であるが、
この算出方法に限らず他の算出方法を採用しても、同様
に本発明の効果を奏することができる。A general method for calculating the output position of each character from the character width information 21, the character string, and the output position is to integrate the character width of each character from the output position.
Not only this calculation method but also other calculation methods can be used to obtain the same effects of the present invention.
【0026】以上説明したように、本実施の形態では、
文字幅情報21に出力装置の種別23を記憶するように
構成したので、同一書体名称で、異なる内容の書体が存
在する出力装置が複数個ある場合でも、最適な文字幅情
報に基づいて文字出力する位置を算出でき、これにより
対象となる出力装置に最適な文字出力を行わせることが
できる。As described above, in the present embodiment,
Since the type 23 of the output device is stored in the character width information 21, even if there are a plurality of output devices having the same typeface name and different typefaces, the character output is performed based on the optimum character width information. It is possible to calculate the position to be used, and thereby to make the target output device perform optimal character output.
【0027】また、同一書体名称で且つ出力装置の種別
が合致する文字幅情報21が複数存在する場合には、当
該各文字幅情報21に記憶された出力装置の種別23の
数をそれぞれ比較し、その種別の数が最も少ない、また
は最も多い文字幅情報を、文字出力の出力位置計算に使
用する文字幅情報として設定するように構成したので、
同一書体名称で且つ出力装置が同一である異なる書体が
存在する場合でも、最適な文字幅情報に基づいて文字出
力を行うことができる。If there are a plurality of character width information 21 having the same typeface name and matching output device types, the numbers of output device types 23 stored in the respective character width information 21 are compared. Since the character width information with the smallest or largest number of types is set as the character width information used for the output position calculation of character output,
Even when there are different typefaces having the same typeface name and the same output device, it is possible to perform character output based on the optimum character width information.
【0028】なお、本発明は、複数の機器から構成され
るシステムに適用しても、1つの機器からなる装置に適
用してもよい。さらに、本発明はシステム或いはプログ
ラムを供給することによって達成される場合にも適用で
きることは云うまでもない。この場合、本発明を達成す
るためのソフトウェアによって表されるプログラムを格
納した記憶媒体を該システム或いは装置に読み出すこと
によって、そのシステム或いは装置が、本発明の効果を
享受することが可能となる。The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. Further, it goes without saying that the present invention can be applied to the case where it is achieved by supplying a system or a program. In this case, by reading a storage medium storing a program represented by software for achieving the present invention into the system or the apparatus, the system or the apparatus can enjoy the effects of the present invention.
【0029】[0029]
【発明の効果】以上説明したように、本発明に依れば、
ユーザにより指定された出力装置の種別とユーザにより
指定された書体に対応する出力装置種別記憶手段に記憶
された出力装置の種別とが比較され、その比較結果に応
じて出力すべき文字の文字幅が決定されると、その決定
された文字幅に基づいて出力すべき文字の表示位置が決
定され、その決定された表示位置が、対象となる出力装
置に供給されるので、文書処理の一部が任された複数の
出力装置からいずれか1つの出力装置を選択して文字出
力させる場合でも、対象となる出力装置にとって最適な
文字出力となる文字出力位置を算出することが可能とな
る効果を奏する。As described above, according to the present invention,
The type of the output device designated by the user is compared with the type of the output device stored in the output device type storage means corresponding to the typeface designated by the user, and the character width of the character to be output according to the comparison result. Is determined, the display position of the character to be output is determined based on the determined character width, and the determined display position is supplied to the target output device. Even when any one output device is selected from the plurality of output devices assigned to the character output device, it is possible to calculate the character output position that is the optimum character output for the target output device. Play.
【0030】好ましくは、出力装置種別比較手段による
比較の結果、前記指定された出力装置の種別と前記記憶
された出力装置の種別とが一致し、且つ該一致した出力
装置の種別に対応する、前記記憶された文字幅が複数個
ある場合には、該複数個の文字幅から、記憶されている
出力装置の種別の数が最も少ない文字幅、または最も多
い文字幅を選択して、出力すべき文字の文字幅が決定さ
れ、該決定された文字幅に基づいて出力すべき文字の表
示位置が決定され、該決定された表示位置が前記出力装
置に出力されるので、同一書体名称で且つ出力装置が同
一である異なる書体が存在する場合でも、最適な文字幅
情報に基づいて文字出力を行うことができる。Preferably, as a result of the comparison by the output device type comparison means, the specified output device type and the stored output device type match, and correspond to the matched output device type. When there are a plurality of stored character widths, the character width having the smallest number of stored output device types or the largest character width is selected from the plurality of character widths and is output. The character width of the character to be output is determined, the display position of the character to be output is determined based on the determined character width, and the determined display position is output to the output device. Even if there are different typefaces with the same output device, it is possible to perform character output based on the optimum character width information.
【図面の簡単な説明】[Brief description of drawings]
【図1】本発明の実施の一形態に係る文書処理装置1の
概略構成を示すブロック図である。FIG. 1 is a block diagram showing a schematic configuration of a document processing apparatus 1 according to an embodiment of the present invention.
【図2】図1の文書処理装置が使用する文字幅情報の構
造を示す図である。FIG. 2 is a diagram showing a structure of character width information used by the document processing apparatus of FIG.
【図3】図1の文書処理装置が実行する文字出力処理動
作の手順を示すフローチャートである。FIG. 3 is a flowchart showing a procedure of a character output processing operation executed by the document processing apparatus of FIG.
【符号の説明】 2 CPU(表示位置決定手段、出力装置種別比較手
段、文字幅決定手段) 4 HDD(文字幅記憶手段、出力装置種別記憶手段) 7 キーボード(指定手段) 9 CRT(出力装置) 11 プリンタ(出力装置)[Explanation of Codes] 2 CPU (display position determining means, output device type comparing means, character width determining means) 4 HDD (character width storing means, output device type storing means) 7 keyboard (designating means) 9 CRT (output device) 11 Printer (output device)
Claims (5)
幅記憶手段と、出力すべき文字の表示位置を前記記憶さ
れた当該文字の文字幅に基づいて決定する表示位置決定
手段とを備え、少なくとも出力すべき文字、該文字の書
体および該文字に基づいて決定された表示位置に応じて
文字出力する複数の出力装置のうち、選択したいずれか
の出力装置に文字出力させる文書処理装置において、 前記記憶された文字幅が適用される出力装置の種別を当
該書体に対応して記憶する出力装置種別記憶手段と、 ユーザが出力すべき文字の書体および出力装置の種別を
指定するための指定手段と、 該指定された出力装置の種別と該指定された書体に対応
する前記記憶された出力装置の種別とを比較する出力装
置種別比較手段と、 該比較結果に応じて出力すべき文字の文字幅を決定する
文字幅決定手段とを有し、 前記表示位置決定手段は、該決定された文字幅に基づい
て出力すべき文字の表示位置を決定し、該決定された表
示位置を前記出力装置に供給することを特徴とする文書
処理装置。1. A character width storage means for storing a character width of each character for each typeface, and a display position determination means for determining a display position of a character to be output based on the stored character width of the character. A document processing apparatus having at least a character to be output, a typeface of the character, and a character output to a selected output device among a plurality of output devices that output the character according to a display position determined based on the character. In the output device type storage means for storing the type of the output device to which the stored character width is applied in association with the typeface, and for designating the typeface of the character to be output by the user and the type of the output device. Specifying means, output device type comparing means for comparing the specified output device type with the stored output device type corresponding to the specified typeface; and outputting according to the comparison result. A character width determining means for determining a character width of a character, the display position determining means determines a display position of a character to be output based on the determined character width, and the determined display position And a document processing device for supplying the document to the output device.
別比較手段による比較の結果、前記指定された出力装置
の種別と前記記憶された出力装置の種別とが一致した場
合には、該出力装置の種別に対応した、出力すべき文字
の文字幅を前記文字幅記憶手段から選択して決定するこ
とを特徴とする請求項1記載の文書処理装置。2. The character width determination means outputs the output device type if the specified output device type and the stored output device type match as a result of the comparison by the output device type comparison means. 2. The document processing apparatus according to claim 1, wherein the character width of the character to be output corresponding to the type of the apparatus is selected and determined from the character width storage means.
別比較手段による比較の結果、前記指定された出力装置
の種別と前記記憶された出力装置の種別とが一致し、且
つ該一致した出力装置の種別に対応する、前記記憶され
た文字幅が複数個ある場合には、該複数個の文字幅か
ら、記憶されている出力装置の種別の数が最も少ない文
字幅を選択して、出力すべき文字の文字幅を決定するこ
とを特徴とする請求項1記載の文書処理装置。3. The character width determining means, as a result of the comparison by the output device type comparing means, the type of the designated output device and the stored type of the output device are coincident with each other, and the coincident output is performed. When there are a plurality of the stored character widths corresponding to the device type, the character width having the smallest number of stored output device types is selected from the plurality of character widths and output. The document processing apparatus according to claim 1, wherein the character width of the character to be determined is determined.
別比較手段による比較の結果、前記指定された出力装置
の種別と前記記憶された出力装置の種別とが一致し、且
つ該一致した出力装置の種別に対応する、前記記憶され
た文字幅が複数個ある場合には、該複数個の文字幅か
ら、記憶されている出力装置の種別の数が最も多い文字
幅を選択して、出力すべき文字の文字幅を決定すること
を特徴とする請求項1記載の文書処理装置。4. The character width determination means, as a result of the comparison by the output device type comparison means, the type of the designated output device and the stored type of the output device match, and the matched output When there are a plurality of the stored character widths corresponding to the device type, the character width having the largest number of stored output device types is selected from the plurality of character widths and output. The document processing apparatus according to claim 1, wherein the character width of the character to be determined is determined.
幅記憶手段と、出力すべき文字の表示位置を前記記憶さ
れた当該文字の文字幅に基づいて決定する表示位置決定
手段とを備え、少なくとも出力すべき文字、該文字の書
体および該文字に基づいて決定された表示位置に応じて
文字出力する複数の出力装置のうち、選択したいずれか
の出力装置に文字出力させる文書処理装置の制御方法に
おいて、 前記記憶された文字幅が適用される出力装置の種別を当
該書体に対応して記憶し、 ユーザが出力すべき文字の書体および出力装置の種別を
指定すると、 該指定された出力装置の種別と該指定された書体に対応
する前記記憶された出力装置の種別とを比較し、 該比較結果に応じて出力すべき文字の文字幅を決定し、 該決定された文字幅に基づいて出力すべき文字の表示位
置を決定し、該決定された表示位置を前記出力装置に供
給することを特徴とする文書処理装置の制御方法。5. A character width storage means for storing a character width of each character for each typeface, and a display position determination means for determining a display position of a character to be output based on the stored character width of the character. A document processing apparatus having at least a character to be output, a typeface of the character, and a character output to a selected output device among a plurality of output devices that output the character according to a display position determined based on the character. In the control method, the type of the output device to which the stored character width is applied is stored in correspondence with the typeface, and when the user specifies the typeface of the character to be output and the type of the output device, the designated type is specified. The type of the output device is compared with the stored type of the output device corresponding to the designated typeface, the character width of the character to be output is determined according to the comparison result, and the determined character width is set to the determined character width. Based Control method for a document processing apparatus characterized by determining the display position of the character to be output, supplying the display position that is the determined to the output device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7242376A JPH0962251A (en) | 1995-08-29 | 1995-08-29 | Document processing apparatus and control method thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7242376A JPH0962251A (en) | 1995-08-29 | 1995-08-29 | Document processing apparatus and control method thereof |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0962251A true JPH0962251A (en) | 1997-03-07 |
Family
ID=17088256
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP7242376A Pending JPH0962251A (en) | 1995-08-29 | 1995-08-29 | Document processing apparatus and control method thereof |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0962251A (en) |
-
1995
- 1995-08-29 JP JP7242376A patent/JPH0962251A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0464314B2 (en) | ||
| JP3058168B2 (en) | Character processing apparatus and method | |
| JPH05224651A (en) | Character spacing adjustment system | |
| JPH08161309A (en) | Document creation device | |
| JPH0962251A (en) | Document processing apparatus and control method thereof | |
| JPH0522933B2 (en) | ||
| JP3402759B2 (en) | Document processing apparatus and document processing method | |
| JP2626769B2 (en) | Output control device and method | |
| JP2959490B2 (en) | String addition method | |
| JP3083406B2 (en) | Printing method and apparatus | |
| JPH06130930A (en) | Bit image data generation method and device | |
| JP3311024B2 (en) | Document processing method and apparatus | |
| JPH05274311A (en) | Device and method for preparing document | |
| JPS62208090A (en) | Image processing device | |
| JP2595399B2 (en) | Document processing method | |
| JPH0793319A (en) | Document creation device | |
| JPH10143500A (en) | Information processing device | |
| JPH05210661A (en) | Document processing apparatus and method | |
| JPH07325798A (en) | Document creation device | |
| JPH10124032A (en) | Character processing device, character processing method, and storage medium | |
| JPH03129394A (en) | Document processor | |
| JPH08286867A (en) | Information processing device | |
| JPH05135045A (en) | Character processing method | |
| JPH02251896A (en) | Character reproducing method | |
| JPH0651742A (en) | Automatic character data file discriminating device |