JPH04127270A - Document processor - Google Patents

Document processor

Info

Publication number
JPH04127270A
JPH04127270A JP2247383A JP24738390A JPH04127270A JP H04127270 A JPH04127270 A JP H04127270A JP 2247383 A JP2247383 A JP 2247383A JP 24738390 A JP24738390 A JP 24738390A JP H04127270 A JPH04127270 A JP H04127270A
Authority
JP
Japan
Prior art keywords
character text
magnification
japanese
alphabetical
text
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
JP2247383A
Other languages
Japanese (ja)
Inventor
Eiji Saoyama
佐尾山 英二
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.)
JustSystems Corp
Original Assignee
JustSystems Corp
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 JustSystems Corp filed Critical JustSystems Corp
Priority to JP2247383A priority Critical patent/JPH04127270A/en
Publication of JPH04127270A publication Critical patent/JPH04127270A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To keep the balance in a document in which an alphabetical character text and a Japanese character text are mixed by providing a base line change means which changes position relation between the base line of the alphabetical character text and that of the Japanese character text, and a character size change means which changes the relation of character size of the alphabetical character text and the Japanese character text. CONSTITUTION:Firstly, it is checked whether or not an instruction to move the base line of the alphabetical character text or the one to change magnification is issued in a state where a certain frame is instructed, and when the instruction to move the base line is issued, a preset character indentation ratio is stored in an alphabetical character text base line storage part 3a after setting the indentation ratio of the alphabetical character text. Meanwhile, when the instruction to change the magnification of the alphabetical character text is issued, a set ratio is stored in an alphabetical character text magnification storage part 3b after setting the value of the magnification storage part 3b after setting the value of the magnification of the alphabetical character text. The change processing of the alphabetical character text is performed according to set indentation ratio and magnification, and it is judged whether or not the present indentation ratio and magnification should be defined, and when they are defined, the data of indentation of the alphabetical character text or that of the magnification of it in frame information is updated. In such a way, it is possible to keep the balance of the document in which the alphabetical character text and the Japanese character text are mixed.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は文書処理装置、特に欧文と和文とが混在する文
書を処理する文書処理装置に関するものであるる [従来の技術] 上記装置においては一般に、同じ級数(ポイント数)で
表わされる欧文と和文とは、そのベースラインが異なっ
ている。例えば、第5図に示すように、文字をドツト展
開した場合に、和文のへ一スラインは一番下であり、欧
文のベースラインはg、y等の文字があるため中間位置
にある。従って、同じ級数の欧文と和文とが混在する文
章でベースラインを一致させると、欧文の方が下がって
見える。又、以上のように、通常の欧文はベースライン
上部にあるため、文字のサイズが和文より小さく、大き
さのバランスも取れなくなる。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a document processing device, and particularly to a document processing device that processes documents containing a mixture of European and Japanese languages. [Prior Art] In the above device, In general, European and Japanese languages, which are expressed using the same series (number of points), have different baselines. For example, as shown in FIG. 5, when characters are expanded into dots, the bottom line of Japanese text is at the bottom, and the baseline of European text is at an intermediate position because of the characters g, y, etc. Therefore, if the baselines are made to match in a sentence that is a mixture of European and Japanese texts that have the same series, the European text will appear lower than the baseline. Furthermore, as mentioned above, since the normal Roman letters are located above the baseline, the font size is smaller than the Japanese letters, and the size cannot be balanced.

[発明が解決しようとしている課題] 本発明は、前記従来の欠点を除去し、欧文と和文とが混
在する文章のバランスを取ることを可能とした文書処理
装置を提供する。
[Problems to be Solved by the Invention] The present invention provides a document processing device that eliminates the above-mentioned conventional drawbacks and makes it possible to balance sentences in which European and Japanese languages coexist.

[課題を解決するための手段] この課題を解決するために、本発明の文書処理装置は、
欧文と和文とが混在する文書を処理する文書処理装置で
あって、 欧文のベースラインと和文のベースラインとの位置関係
を変更するベースライン変更手段と、欧文と和文との文
字の大きさの関係を変更する文字サイズ変更手段とを備
える。
[Means for Solving the Problem] In order to solve this problem, the document processing device of the present invention has the following features:
A document processing device for processing documents containing a mixture of European and Japanese characters, comprising a baseline changing means for changing the positional relationship between the European and Japanese baselines, and a method for changing the font size of the European and Japanese characters. and font size changing means for changing the relationship.

ここで、前記ベースライン変更手段及び文字サイズ変更
手段は、欧文または和文を独立に変更する。
Here, the baseline changing means and the character size changing means independently change the Roman text or the Japanese text.

[作用コ かかる構成において、ベースラインの位置やサイズを変
更できるため、欧文と和文とのバランスを取ることが出
来る。
[Effects] In this configuration, the position and size of the baseline can be changed, so it is possible to maintain a balance between European and Japanese texts.

[実施例] 以下、添付図面に従って、本発明の詳細な説明する。[Example] Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

第1図は本実施例の文書処理装置の構成を示すブロック
図である。尚、本実施例では欧文を変更する制御例のみ
を示すが、これには限定されない。
FIG. 1 is a block diagram showing the configuration of a document processing apparatus according to this embodiment. In this embodiment, only an example of control for changing Latin characters is shown, but the present invention is not limited to this.

図中、1は本装置全体を制御するcpuであり、2はC
PU 1の実行するプログラムを記憶したROMであり
、後述の欧文変更プログラム2aを含んでいる。3は後
述する外部記憶装置7から読み込んだプログラムをロー
ドしたり、CPU 1のワークエリアとして使用される
RAMであり、欧文ベースライン記憶部3aと欧文倍率
記憶部3bとを有している。尚、前記欧文変更プログラ
ムは外部記憶装置7に記憶されていてもよい。
In the figure, 1 is a CPU that controls the entire device, and 2 is a CPU that controls the entire device.
This is a ROM that stores programs to be executed by the PU 1, and includes a Roman language conversion program 2a, which will be described later. A RAM 3 is used to load a program read from an external storage device 7, which will be described later, and is used as a work area for the CPU 1, and has a Roman language baseline storage section 3a and a Roman language magnification storage section 3b. Incidentally, the European language change program may be stored in the external storage device 7.

4は文字パターンを生成するために文字コードに対応し
てドツトデータあるいはベクトルデータ等のパターンデ
ータを記憶しているフォントメモリ、5は表示画面に表
示するイメージを展開するVRAM、6はそのVRAM
5に展開された画像を表示するCRTデイスプレィであ
る。7はフロッピディスク装置やハードディスク装置で
代表される外部記憶装置であり、本装置における文書処
理に係る各種プログラム等を記憶している。
4 is a font memory that stores pattern data such as dot data or vector data in correspondence with character codes to generate character patterns; 5 is a VRAM that develops images to be displayed on the display screen; and 6 is the VRAM.
This is a CRT display that displays the image developed in 5. Reference numeral 7 denotes an external storage device, typically a floppy disk device or a hard disk device, which stores various programs related to document processing in this device.

8は文書を構成する各種文字、あるいは本装置に所定の
指示を与えるためのキーボード、9はCRTデイスプレ
ィ6の表示画面上に表示されたグラフィックカーソルの
移動等を制御するためのマウスである。10は実際に印
刷処理する段階になったとき、記録紙1ペ一ジ分のイメ
ージを展開可能な画像メモリ、11は画像メモリ10に
展開されたイメージに基づいて記録媒体上に可視画像を
形成するプリンタである。尚、本実施例におけるプリン
タ11はレーザビームプリンタとしている。
A keyboard 8 is used to input various characters constituting a document or give predetermined instructions to the apparatus, and a mouse 9 is used to control the movement of a graphic cursor displayed on the display screen of the CRT display 6. Reference numeral 10 denotes an image memory capable of developing an image for one page of recording paper when the stage of actual printing processing is reached; reference numeral 11 forms a visible image on the recording medium based on the image developed in the image memory 10. It is a printer that Note that the printer 11 in this embodiment is a laser beam printer.

第2図は枠を規定する枠情報20の構成例を示す図であ
る。
FIG. 2 is a diagram showing an example of the structure of frame information 20 that defines a frame.

21は枠の番号、22は枠の開始位置の座標(通常左上
角)、23は枠のサイズ(通常右下角の座標あるいは横
幅、縦幅)、24は他の枠へのポインタ、25は枠の属
性であり、枠内のデータの種数やフォーマット等の関連
情報を有し、本実施例ではこの属性中に欧文字下げ率2
6と欧文倍率27とが確保されている。
21 is the frame number, 22 is the coordinates of the start position of the frame (usually the upper left corner), 23 is the size of the frame (usually the coordinates of the lower right corner or width and height), 24 is a pointer to another frame, 25 is the frame This attribute has related information such as the number of types and format of data within the frame, and in this example, this attribute includes
6 and a European language magnification of 27.

第3図は本実施例の文書処理装置の本発明に係る処理手
順を示すフローチャートである。。
FIG. 3 is a flowchart showing the processing procedure according to the present invention of the document processing apparatus of this embodiment. .

まず、ある枠が指示された状態で、ステップS31又は
534で欧文のベースラインの移動、あるいは倍率の変
更の指示があったか否かがチエツクされる。ベースライ
ンの移動指示があると、ステップS32で欧文字下げ率
の設定を待って、ステップS33で設定された字下げ率
を欧文ベースライン記憶部3aに記憶する。一方、欧文
倍率の変更の指示があるとステップS35で欧文倍率の
値の設定を待って、ステップS36で設定された倍率を
欧文倍率記憶部3bに記憶する。ステップS37では、
上記記憶された字下げ率及び倍率に従って欧文の変更処
理が行なわれる。ステップS38では変更された文書が
表示あるいは印刷される。ステップS39で現在の字下
げ率及び倍率を確定するか否かを判断し、確定の場合は
ステップS40で枠情報内の欧文字下げ率26あるいは
欧文倍率27のデータを更新する。
First, with a certain frame designated, it is checked in step S31 or 534 whether or not there has been an instruction to move the Roman baseline or change the magnification. When there is an instruction to move the baseline, the setting of the indentation rate for European characters is waited for in step S32, and the set indentation rate is stored in the Roman character baseline storage section 3a in step S33. On the other hand, if there is an instruction to change the Latin language magnification, the setting of the Latin language magnification value is waited for in step S35, and the set magnification is stored in the Latin language magnification storage section 3b in step S36. In step S37,
The process of changing the Latin text is performed according to the stored indentation rate and magnification. In step S38, the modified document is displayed or printed. In step S39, it is determined whether or not to confirm the current indentation rate and magnification, and in the case of confirmation, in step S40, the data of the Latin indentation rate 26 or the Latin magnification 27 in the frame information is updated.

字下げ率及び倍率に対応した出力のようすが、第4図に
示されている。この例では、文字級数が18級で和文書
体は本明朝−Mである。第4図(a)の欧文書体はEg
yptian 505 Bであり、倍率110%がバラ
ンスとしては好ましい。又、第4図(b)の欧文書体は
Century SBK Bであり、字下げ率15%が
バランスとしては好ましい。
The state of the output corresponding to the indentation rate and magnification is shown in FIG. In this example, the character grade is grade 18 and the Japanese font is Hon Mincho-M. The European font in Figure 4 (a) is Eg.
yptian 505 B, and a magnification of 110% is preferable for balance. Furthermore, the European font in FIG. 4(b) is Century SBK B, and an indentation rate of 15% is preferable for balance.

尚、本実施例では、字下げ率や倍率を枠に対応して枠情
報内に記憶する場合を示したが、欧文字下げ率及び欧文
倍率を枠に関係なく設定出来るようにして、1頁の文書
あるいは全文書−度に処理しても良い、又、予め字下げ
率及び倍率を設定して、欧文と和文との混在文書では自
動的に上記例の場合なら字下げ率15%と倍率120%
で文書の展開をするような制御にしてもよい。
In this embodiment, a case is shown in which the indentation rate and magnification are stored in the frame information in correspondence with the frame, but it is possible to set the indentation rate and magnification of European characters regardless of the frame, documents or all documents at a time.Also, by setting the indentation rate and magnification in advance, in the case of a mixed document of European and Japanese characters, the indentation rate and magnification will be automatically set to 15% in the above example. 120%
The control may be such that the document is expanded with .

[発明の効果] 本発明により、欧文と和文とが混在する文章のバランス
を取ることを可能とした文書処理装置を提供できる。
[Effects of the Invention] According to the present invention, it is possible to provide a document processing device that makes it possible to balance sentences in which European and Japanese languages coexist.

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

第1図は本実施例の文書処理装置の構成を示すブロック
図、 第2図は本実施例の枠情報を示す図、 第3図は本実施例の文書処理装置の本発明に特に関連す
る処理手順を示すフローチャート、第4図(a)、(b
)は本実施例による処理例を示す図、 第5図(a)、(b)は同じ複数の和文及び欧文の標準
的位置及び大きさを示す図である。 図中、1・・・CPtJ、2・・・ROM、2a・・・
欧文変更プログラム、3・・・RAM、3a・・・欧文
ベースライン記憶部、3b・・・欧文倍率記憶部、4・
・・フォントメモリ、5・・・VRAM、6・・・CR
T。 7・・・外部記憶装置、8・・・キーボード、9・・・
マウス、10・・・画像メモリ、11・・・レーザビー
ムプリンタである。 第 図 第4図 (a) 第4図 (b)
FIG. 1 is a block diagram showing the configuration of the document processing device of this embodiment, FIG. 2 is a diagram showing frame information of this embodiment, and FIG. 3 is a diagram showing the frame information of the document processing device of this embodiment particularly related to the present invention. Flowchart showing the processing procedure, FIGS. 4(a) and (b)
) is a diagram showing an example of processing according to this embodiment, and FIGS. 5(a) and 5(b) are diagrams showing the standard positions and sizes of the same plurality of Japanese and Roman texts. In the figure, 1...CPtJ, 2...ROM, 2a...
Roman language change program, 3... RAM, 3a... Roman language baseline storage section, 3b... Roman language magnification storage section, 4.
...Font memory, 5...VRAM, 6...CR
T. 7...External storage device, 8...Keyboard, 9...
Mouse, 10...image memory, 11...laser beam printer. Figure 4 (a) Figure 4 (b)

Claims (2)

【特許請求の範囲】[Claims] (1)欧文と和文とが混在する文書を処理する文書処理
装置であつて、 欧文のベースラインと和文のベースラインとの位置関係
を変更するベースライン変更手段と、欧文と和文との文
字の大きさの関係を変更する文字サイズ変更手段とを備
え、 欧文と和文とのバランスが変更可能であることを特徴と
する文書処理装置。
(1) A document processing device that processes a document containing a mixture of European and Japanese characters, which includes a baseline changing means for changing the positional relationship between the European and Japanese baselines, and a method for changing the positional relationship between the European and Japanese characters. A document processing device characterized in that it is equipped with a font size changing means for changing the relationship of sizes, and the balance between European and Japanese characters can be changed.
(2)前記ベースライン変更手段及び文字サイズ変更手
段は、欧文または和文を独立に変更することを特徴とす
る請求項第1項記載の文書処理装置。
(2) The document processing apparatus according to claim 1, wherein the baseline changing means and the character size changing means independently change a Roman text or a Japanese text.
JP2247383A 1990-09-19 1990-09-19 Document processor Pending JPH04127270A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2247383A JPH04127270A (en) 1990-09-19 1990-09-19 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2247383A JPH04127270A (en) 1990-09-19 1990-09-19 Document processor

Publications (1)

Publication Number Publication Date
JPH04127270A true JPH04127270A (en) 1992-04-28

Family

ID=17162617

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2247383A Pending JPH04127270A (en) 1990-09-19 1990-09-19 Document processor

Country Status (1)

Country Link
JP (1) JPH04127270A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007069389A (en) * 2005-09-05 2007-03-22 Seiko Epson Corp Printer, method for controlling printing, and printing control program
JP2015206986A (en) * 2014-04-23 2015-11-19 キヤノン株式会社 Information processor, control method thereof, program and recording medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007069389A (en) * 2005-09-05 2007-03-22 Seiko Epson Corp Printer, method for controlling printing, and printing control program
JP2015206986A (en) * 2014-04-23 2015-11-19 キヤノン株式会社 Information processor, control method thereof, program and recording medium

Similar Documents

Publication Publication Date Title
JPH04127270A (en) Document processor
JP2692063B2 (en) Document processing device
JP2874993B2 (en) Document processing device
JP3275629B2 (en) Layout correction device
JP2635311B2 (en) Document processing device
JP3101402B2 (en) Document editing method and document editing device
JPH0470961A (en) Pattern display device
JPH04127359A (en) Document processor
JP2621987B2 (en) Document processing device
JP3275628B2 (en) Layout correction device
JP3404770B2 (en) Document processing device
JPS63208931A (en) Document printing device
JPH01231088A (en) Calligraphic style selecting picture displaying system
JPH04147367A (en) Document processor
JPH04139574A (en) Document processor
JPH04127265A (en) Document processor
JPH04147366A (en) Document processor
JPH04148471A (en) Format setting device
JPH06266706A (en) Word processor with character size changing function
Bertrand SLIDES A Program to Draw Slides and Posters
JPH01229650A (en) Control method in alphabetic printing
JPH04139572A (en) Document processor
JPH03129564A (en) Document processor with repeated printing function
JPH04139569A (en) Document processor
JPH08181847A (en) Information processor and information processing method