JPS60181826A - Document producer - Google Patents

Document producer

Info

Publication number
JPS60181826A
JPS60181826A JP59037518A JP3751884A JPS60181826A JP S60181826 A JPS60181826 A JP S60181826A JP 59037518 A JP59037518 A JP 59037518A JP 3751884 A JP3751884 A JP 3751884A JP S60181826 A JPS60181826 A JP S60181826A
Authority
JP
Japan
Prior art keywords
character
width
characters
composition
font
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.)
Granted
Application number
JP59037518A
Other languages
Japanese (ja)
Other versions
JPH0580013B2 (en
Inventor
Yasushi Ueda
植田 恭
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP59037518A priority Critical patent/JPS60181826A/en
Publication of JPS60181826A publication Critical patent/JPS60181826A/en
Publication of JPH0580013B2 publication Critical patent/JPH0580013B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To improve considerably the degree of freedom in case a document including half-em characters is printed vertically by designating these half-em characters as composition or non-composition characters and performing printing according to said designation. CONSTITUTION:The numeric characters forming a character string ''December, 2'', for example, are equal to half-em characters designated as composition characters in case the vertical writing is designated for production of a document. In such a case, the fonts (basic character fonts) 61 read out of a KPM30 are converted into display fonts shown by codes 62 in a vertical writing display mode. (The display fonts 63 of a horizontal writing display mode are shown for reference.) Then the images of corresponding fonts are shifted to the em center position if said character string is not equal to the half-em characters. Then the fonts 71 read out of the KPM30 are converted into display fonts shown by codes 72 in the vertical writing display mode. (The display fonts 73 of the horizontal writing display mode are shown for reference.) Thus it is possible to have a screen display coincident with a print image even in a vertical writing display mode.

Description

【発明の詳細な説明】 この発明は、横書き並びに縦書き印刷機能を備えた文書
作成装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a document creation device having horizontal writing and vertical writing printing functions.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

一般に、この種の文書作成装置では、種々の幅をもつ文
字扱いが可能とがっている。標準の文字幅をもつ文字は
全角(全幅)文字、全角文字の半分の文字幅をもつ文字
は半角(半幅)文字と呼ばれる。そこで従来の文書作成
装置では、半角文字は一律に組文字として扱われている
Generally, this type of document creation device is capable of handling characters with various widths. Characters with standard width are called full-width (full-width) characters, and characters with half the width of full-width characters are called half-width (half-width) characters. Therefore, in conventional document creation devices, half-width characters are uniformly treated as typeface characters.

このような従来の文書作成装置で第1図の表示画面1ノ
に示す文書を人力い該文書を印刷出力した場合、横書き
印刷では何ら問題はないが、縦書き印刷では不自然とな
る問題があった。これは、第1図に示すl−1983J
のような半角文字を使用しまた場合、半角の2文字1”
 19 J 。
When manually printing out the document shown in display screen 1 in Figure 1 using such a conventional document creation device, there is no problem when printing horizontally, but when printing vertically there is a problem that it becomes unnatural. there were. This is l-1983J shown in Figure 1.
If you use half-width characters such as 1”
19 J.

「83」がそれぞれ組として印刷されてし1うためでを
コる。
This is because "83" is printed as a set.

〔発明の目的〕[Purpose of the invention]

この発明は上記事情に鑑みてなされたものでその目的は
、半角文字を組文字として扱うか、或いは弁組文字とし
7て扱うかが指定でき、この指定に応じた印刷が行なえ
る文書作成装置を提イ1(することにある。
This invention was made in view of the above circumstances, and its purpose is to provide a document creation device that can specify whether half-width characters should be handled as set characters or as set characters, and that can print according to this designation. Propose 1 (to do).

〔発明の概要〕[Summary of the invention]

この発明では、入力半角文字を組文字として扱うか、或
いは弁組文字として扱うかを指定する絵文字/非組文字
指定手段が設けられている。
In this invention, pictogram/non-composition character designating means is provided for specifying whether input half-width characters are treated as composite characters or as non-composition characters.

記憶手段は、入力半角文字を文書の構成文字として記憶
する場合、絵文字/非組文字指定手段の指定内容を示す
絵文字/非組文字指定情報に対応させて記憶する。また
、表示手段は、文書の画面表示に際し、上記絵文字/非
組文字指定情報に応じて半角文字の組文字/非組文字指
定内容を示す識別マークを表示する。また、この発明で
は、入力半角文字の組文字/非組文字指定内容の切換え
指定を行なう切換え手段が設けられている。変更手段は
、この切換え手段の指定に応じ、該当する入力半角文字
に対応する絵文字/非組文字指定情報全変更する。更に
、この発明では、縦書き印刷時の印刷用半角フォントの
生成に特徴を有する印刷手段が設けられている。この印
刷手段は、縦1.き印刷時における印刷対象文字が半角
文字で、当該文字に対応する組文字/非組文字情報が弁
組文字指定を示している場合、該当半角文字フォントの
フメントイメージを全角1文字相当領域の中央に移動し
て得られる印刷用半角7オン)k用いて該当文字を印刷
する。
When storing input half-width characters as constituent characters of a document, the storage means stores the input half-width characters in correspondence with pictograph/non-composition character designation information indicating the contents specified by the pictograph/non-composition character designation means. Further, when displaying the document on the screen, the display means displays an identification mark indicating the designation content of the half-width characters as set characters/non-set characters in accordance with the above-mentioned pictograph/non-set characters designation information. Further, in the present invention, a switching means is provided for specifying switching of input half-width characters between typed characters and non-typed characters. The changing means changes all pictograph/non-composition character designation information corresponding to the input half-width character in accordance with the designation of the switching means. Furthermore, the present invention is provided with printing means that is characterized by generating half-width fonts for printing during vertical printing. This printing means is vertically 1. If the character to be printed during printing is a half-width character, and the typed/non-typed character information corresponding to the character indicates that it is designated as a ``valve typed'' character, the image of the corresponding half-width character font is converted into an area equivalent to one full-width character. Move to the center and use the printing half-width 7on) k to print the corresponding character.

〔発明の実施例〕[Embodiments of the invention]

第2図はこの発明の一実施例に係る文書作成装置の構成
を示す。同図において、2ノは装置全体の1ijl」御
全司るCPUであり、文書作成、編集・校正等の処理を
、次に述べる内部メモリ22に格納されたフ0ログラム
に従って実行する。22は各秒プログラム、所定の書式
に従う複数頁分の交番情報@全格納する内部メモリ(以
下、MMUと称す)である。23はMMU 22にロー
ディングされるプログラム、文書情報を保存する外部記
憶とし、てのフロッピーディスク装置(FDDと称す)
、24はFDD 23を制御する70、ビーディスクコ
ントローラ(FDC)である。
FIG. 2 shows the configuration of a document creation device according to an embodiment of the present invention. In the figure, reference numeral 2 is a CPU that is in full control of the entire apparatus, and executes processes such as document creation, editing, proofreading, etc. according to a flow program stored in an internal memory 22, which will be described below. Reference numeral 22 denotes an internal memory (hereinafter referred to as MMU) that stores each second program and all pages of alternating information @ in accordance with a predetermined format. 23 is an external storage for storing programs and document information loaded into the MMU 22, and is a floppy disk device (referred to as FDD).
, 24 is a disk controller (FDC) 70 that controls the FDD 23.

25は文1人力のための各種データキー、半角の組文字
/非組文字処理全指定する絵文字/非組文字指定キー2
6を含む各種ファンクション(KBCと称す)である。
25 is various data keys for sentence 1 manual processing, half-width typed characters/non-typed character processing, pictograph/non-typed character specification key 2
6 (referred to as KBC).

28は各種の作業ソニー−1作成文書、作成中の文書の
制御情報等の表示を司るCRTディスプレイ装置(CR
Tと称す)、29はCRT 28を制御するCRTコン
トローラ(CRTCと称す)である。また、30は本装
置で使用する文字の7オントヲ格納する漢字・セターン
メモ’J (KPMと称す)、31は作成文書、文書カ
タログ等の印刷を司るプリンタ装置(PRTと称す)、
32はPRT 31 f iDl制御するプリンタコン
トローラ(PRTCと称す)である。
28 is a CRT display device (CR) that controls the display of various work Sony-1 created documents and control information of documents being created.
29 is a CRT controller (referred to as CRTC) that controls the CRT 28. Further, 30 is a Kanji Setan Memo'J (referred to as KPM) that stores seven characters of characters used in this device, 31 is a printer device (referred to as PRT) that is responsible for printing created documents, document catalogs, etc.;
32 is a printer controller (referred to as PRTC) that controls the PRT 31 f iDl.

次に、この発明の一実施例の動作全説明する。Next, the entire operation of an embodiment of the present invention will be explained.

まず、第2図に示す装置の電源が投入されると、FDC
24の制御のもとに、FDD23に格納されているプロ
グラムがMMU 22の所定のプログラム格納域にロー
ドされる。そして、MMU 22にロードされたプログ
ラムに従っfc CPU 2iの’+1ilJ御処理に
より、CRTC,24?がCRT 2 B全ドライブf
u制御する。これにより、CRT表示画面上に作業メニ
ューが表示される。オペレータはKB25f操作して、
表示画面上の作業メニューの中から、所望の処理内容(
作業項目)を選択する。この操作によシ、CPU 21
の制御のもとで、選択指定された作業に必要な情報入力
の要求が順次表示される。オペレータは、この表示内容
(要求内容)に応えるべく所定の操作を行なう。こうす
ることにより、文店の作成、文書の編集・校正、文書の
印刷等が行なわれる・ ここで、この発明に直接関係する、入力文書の半角絵文
字/弁組文字指定について、第3図、第4図および第6
図のフローチャート、並びに第5図の表示画面例を参照
し7て説明する。第2図の装置″は、初期状態では組文
字指定モードとなっておシ、組文字指定状態にあること
を示す情報(絵文字指定情報)がMMU 22内の特定
番地に格納されている。この状態で文書入力作業が行な
われ、半角文字が入力されると、その入力コードは組文
字指定された半角文字として文1ファイル内に記憶され
る。もし、(例えば縦書き印刷のために)半角文字を弁
組文字として入力したい場合、オ被レータは第3図のフ
ローチャートに示すように、KB25上の絵文字/弁組
文字指定キー26を1回打鍵する。これによシ、CPU
 21は、MMU 22内の特定番地に格納されていた
絵文字指定情報を弁組文字指定情報に書き換える。以後
、装置は弁組文字指定モードとなる。このモードでは、
CPU 2 Jは半角文字が入力されると、その入力コ
ードを弁組文字指定された半角文字として文書ファイル
内に格納する。なお、再び組文字指定モードに戻したい
場合には、更に絵文字/弁組文字指定キー26を1回打
鍵すればよい。
First, when the power of the device shown in Fig. 2 is turned on, the FDC
Under the control of MMU 24, the program stored in FDD 23 is loaded into a predetermined program storage area of MMU 22. Then, according to the program loaded into the MMU 22, the CRTC, 24? is CRT 2B all drives f
u control. As a result, a work menu is displayed on the CRT display screen. The operator operates the KB25f,
From the work menu on the display screen, select the desired processing content (
work item). This operation will cause CPU 21
Under the control of , requests for inputting information necessary for the selected work are sequentially displayed. The operator performs a predetermined operation in response to the displayed content (request content). By doing this, the creation of a text store, the editing/proofreading of a document, the printing of a document, etc. are performed.Here, regarding the specification of half-width pictographs/bengumi characters of an input document, which is directly related to this invention, Fig. 3, Figures 4 and 6
The process will be explained with reference to the flowchart shown in FIG. 7 and the display screen example shown in FIG. In the initial state, the device shown in FIG. When a document input operation is performed in the state and a half-width character is input, the input code is stored in the sentence 1 file as a half-width character specified as a set character.If (for example, for vertical printing) When the operator wishes to input a character as a valve character, the operator presses the pictograph/valve character designation key 26 on the KB 25 once, as shown in the flowchart of FIG.
21 rewrites the pictograph designation information stored at a specific address in the MMU 22 into valve type character designation information. Thereafter, the device enters the valve group character designation mode. In this mode,
When a half-width character is input, the CPU 2 J stores the input code in the document file as a half-width character designated as a Benkumi character. In addition, if it is desired to return to the set character designation mode again, it is sufficient to press the pictograph/valve set character designation key 26 once more.

このように入力された文書’(i7 CRT 2 Bに
表示する場合、表示内容の文字コード、および付属する
制御情報(絵文字/弁組文字指定もこの制御情報の一つ
)は、表示画面と1対1に対応するようにMMU 22
に貯えられている。この例では、文書の表示においては
、第4図のフローチャートに示すようにカーソル指定位
値の文字が半角文字であるか否かの判定が行なわれる。
When displaying a document input in this way on the i7 CRT 2B, the character code of the displayed content and the attached control information (pictogram/valve type character designation is also one of this control information) are the same as the display screen. MMU 22 to correspond to 1
is stored in. In this example, when displaying a document, it is determined whether or not the character at the cursor designated position is a half-width character, as shown in the flowchart of FIG.

半角文字がカーソル指定されている場合、CPU21は
当該文字の制御情報を参照し、組文字指定であれば第5
図に示すようにCRT 2 gの表示画面のガイド行4
1に回が表示されるように制御する。これに対し、弁組
文字指定であればガイド行41に田が表示される。なお
、第5図に示す表示画面内容において、文書行42の文
字列「昭和58年12月22日」の半角文字(数字部分
)は組文字指定、文書行43の文字列「1983年12
月22日」の半角文字(数字部分)は弁組文字指定とな
っている。 “′次に、半角文字の指定内容の切換え(
変更)について第6図のフローチャートを参照して説明
する。この場合、オRレータはカーソルキーの操作によ
り、組文字/弁組文字の指定内容(指定モード)切換え
対象文字列の先頭に、力め 一ツル全移動し KB25上の図示せ杉特定キー(機能
選択キー)をまず打鍵し、続いて絵文字/弁組文字指定
キー26を打鍵する。これにより、CRT 2 Bの表
示画面上のガイド行に「どこまで?」というエリア指定
メツセージが表示される。そこでオペレータが、切換え
対象文字列の最終位置にカーソル全移動し、再び絵文字
/弁組文字指定キー26を打鍵すると、指定されたエリ
アの半角文字の指定モードが状態反転する。
If a half-width character is specified with the cursor, the CPU 21 refers to the control information of the character, and if it is a set character, the 5th
Guide line 4 on the display screen of CRT 2g as shown in the figure
Control is performed so that the times are displayed at 1. On the other hand, if the Bengumi character is specified, 田 is displayed in the guide line 41. In the display screen contents shown in FIG. 5, the half-width characters (number part) of the character string "December 22, 1983" in document line 42 are designated as set characters, and the character string "December 22, 1983" in document line 43 is
The half-width characters (number part) of "22nd day of the month" are designated as bentumi characters. "'Next, switch the specified content of half-width characters (
(change) will be explained with reference to the flowchart of FIG. In this case, by operating the cursor keys, the operator moves all the way to the beginning of the character string to be switched to the specified contents (specified mode) of grouping characters/valve grouping characters, and then presses the cedar specific key on KB25 ( First, press the function selection key 26, and then press the pictograph/valve character designation key 26. As a result, an area designation message "How far?" is displayed on the guide line on the display screen of the CRT 2B. Then, when the operator moves the cursor all the way to the final position of the character string to be changed and presses the pictograph/valve character designation key 26 again, the state of the designation mode for half-width characters in the designated area is reversed.

次に、このようにして入力された支店の**’き印刷に
ついて第7図のフローチャート、第8図の文字フォント
処理説明図、および第9図の印刷例を参照して説明する
。印刷対象となる文書ファイルには、前述の手順で入力
された文字コード、および制御情報が1文字ごとに記憶
されている。CPU 21は、上記情報に基づいてKP
M 30より対応する文字フォント(基本文字フォント
)ヲ読み出し、次に示す手順で印刷用のフォントイメー
ジを作成してPRTC32に転送する。即ち、CPU 
21は、文書ファイルより印刷対象文字(の文字コード
および制御情報)を取り出すと、半角文字か否かの判定
を行なう。
Next, printing of the branch name input in this way will be explained with reference to the flowchart of FIG. 7, the character font processing explanatory diagram of FIG. 8, and the printing example of FIG. 9. In the document file to be printed, the character code and control information input in the above-described procedure are stored for each character. The CPU 21 executes KP based on the above information.
The corresponding character font (basic character font) is read from M30, a font image for printing is created according to the following procedure, and it is transferred to PRTC32. That is, the CPU
21, when a character to be printed (its character code and control information) is extracted from a document file, it is determined whether or not it is a half-width character.

この判定がNOの場合の処理は従来通りであるので説明
を省略する。一方、YES判定の場合には、第7図のフ
ローチャートに示すように組文字指定の半角文字か否か
の判定が行なわれる。
If this determination is NO, the processing is the same as before, so the explanation will be omitted. On the other hand, in the case of a YES determination, as shown in the flowchart of FIG. 7, it is determined whether or not the character is a half-width character designated as a set character.

この判定がYESの場合、CPU 21はKPM s 
oから組の左側(に位置する)文字の文字フォントを読
み出し、MMU 220所定領域にいったん格納する。
If this determination is YES, the CPU 21 uses KPM s
The character font of the character on the left side of the set is read from o and is temporarily stored in a predetermined area of the MMU 220.

次に、CPU 21はKPM 30から組の右側(に位
置する)文字の文字フォノ)k読み出し、MMU 22
の他の所定領域にいったん格納する。この例において半
角文字の文字フォント(半角フォント)は、第8図に符
号51〜54で示すように、全角1文字の左半分がパタ
ーン領域となった形で読み出される。そこで、組文字指
定の半角文字の場合、CPU 21は上記格納した右側
文字の文字フォントのフォントイメージ全右側に移動し
、左側文字の文字フォントと合成する。第8図(a)の
符号55で示される文字フォントは、このようにして作
成された合成フォントである。これに対し、組文字指定
の半角文字でない場合、即ち弁組文字指定の半角文字の
場合には、第7図のフローチャートに示すように、KP
M 30から読み出した半角フォントヲ全角文字のエリ
アの中央位置に移動する処理が行なわれる。第8図(b
)はこの状態を示すもので、半角文字11」の文字フォ
ント53は文字フォノ)・56に変換され、半角文字「
9」の文字フォント54は文字フォント57に変換され
る。
Next, the CPU 21 reads out the character phono)k of the character (located on) the right side of the set from the KPM 30, and
The data is temporarily stored in another predetermined area. In this example, a half-width character font (half-width font) is read out in a form in which the left half of one full-width character is a pattern area, as shown by reference numerals 51 to 54 in FIG. Therefore, in the case of a half-width character designated as a set character, the CPU 21 moves the entire font image of the stored character font of the right character to the right side and combines it with the character font of the left character. The character font indicated by reference numeral 55 in FIG. 8(a) is a composite font created in this way. On the other hand, if it is not a half-width character designated as a grouping character, that is, in the case of a half-width character designated as a Ben-kumiji character, the KP
Processing is performed to move the half-width font read from M30 to the center position of the double-width character area. Figure 8 (b
) indicates this state, and the character font 53 of the half-width character 11 is converted to the character phono).56, and the half-width character ``
9'' character font 54 is converted to character font 57.

第7図のフローチャートに従って合成、或いは変換され
たフォントイメージはPRTC32に転送される。そし
て、PRTC32の°巾り御のもとてPRT 31によ
る縦書き印刷が行なわれる。第9図は、第5図の表示画
面で示される文書の縦書き印刷出力結果を示す。なお、
横書き印刷の場合には、半角文字は絵文字/弁組文字指
定内容に無関係に(従来同様)組文字として扱われる。
The font image synthesized or converted according to the flowchart in FIG. 7 is transferred to the PRTC 32. Then, vertical printing is performed by the PRT 31 under the control of the PRTC 32. FIG. 9 shows the vertically written printout result of the document shown on the display screen of FIG. In addition,
In the case of horizontal printing, half-width characters are treated as grouped characters (as in the past) regardless of the pictograph/valve grouped character designation contents.

このように、この実施例では、縦書き印刷を前提として
半角文字全使用した場合、半角文字を組文字で印刷する
か否かが指定でき、且つこの指定に応じた縦書き印刷が
行なえる。しかも、弁組文字指定の場合には、半角文字
がライン中央に印刷されるので見栄えもよい。
In this manner, in this embodiment, when all half-width characters are used on the premise of vertical printing, it is possible to specify whether or not to print the half-width characters as set characters, and vertical printing can be performed in accordance with this designation. Moreover, when specifying Benkumi characters, the half-width characters are printed in the center of the line, so they look good.

次に、この発明の他の実施例を説明する。なお、この実
施例は、表示用の文字フォントの処理(処理用プログラ
ム)が前記実施例と異なるだけである。そこで、便宜上
、第2図の構成に従って説明する。前記実施例では、第
5図の表示両面と第9図の縦書き印刷結果から明らかな
ように、弁組文字指定の半角文字に関し、全角換算時の
文字桁数が画面表示と印刷出力とで異方っている。この
場合、縦書き印刷時のイメージを表示画面上で見ること
は困難である。この実施例は、第10図に示すように、
縦l・き時にも印刷イメージに合った画面表示が行なえ
るようにしたものである。
Next, another embodiment of the invention will be described. Note that this embodiment differs from the previous embodiment only in the processing (processing program) of character fonts for display. Therefore, for convenience, explanation will be given according to the configuration shown in FIG. In the above embodiment, as is clear from the double-sided display in FIG. 5 and the vertical printing result in FIG. It's different. In this case, it is difficult to view the vertically printed image on the display screen. In this embodiment, as shown in FIG.
This allows for a screen display that matches the printed image even when the printer is in portrait orientation.

以下、半角文字の画面表示のための新規な文字フォント
処理について、第11図のフローチャート、第12図並
びに第13図の説明図を参照して説明する。大力作成に
際[7、「縦1き」が指定されている場合、表示モード
は縦書き表示モードとなり、8t′i、11図のフロー
チャートに従ったフォント処理が行なわれる。ffc、
「縦書き」指定で作成された文書を編集・校正する場合
、該当文書は縦書き表示モードで表示される。なお、「
縦1き」指定全1−横書き」指定に変更することもでき
る。縦書@表示モードでは、CP[J 21は、MMU
 22から表示対象となる文書の1文字(文字コード、
および制御情報)を取シ出すと、まず半角文字か否かの
判定を行なう〇この判定がNo判定の場合、CPU 2
1はKPM、9(7から対応する全角フォント’を読み
出し、そのまま表示用フメントとしてCRTC29へ転
送する。
Hereinafter, new character font processing for displaying half-width characters on the screen will be explained with reference to the flowchart of FIG. 11, and the explanatory diagrams of FIGS. 12 and 13. 7. If "vertical 1 size" is specified when creating a large size, the display mode becomes the vertical writing display mode, and 8t'i, font processing is performed according to the flowchart of FIG. 11. ffc,
When editing or proofreading a document created with "vertical writing" specified, the document will be displayed in vertical writing display mode. In addition,"
It is also possible to change the designation to "all 1-horizontal writing". In vertical writing@display mode, CP[J 21 is MMU
22 to one character of the document to be displayed (character code,
and control information), first it is determined whether it is a half-width character or not. If this determination is No, the CPU 2
1 is KPM, 9 (reads the corresponding full-width font from 7, and transfers it as it is to the CRTC 29 as a display font.

一方、YES判定(半角文字)の場合、CPU 27は
組文字指定の半角文字か否かの判定を行ない、YESで
あれば半角1文字か否かの判定を行なう。
On the other hand, if the determination is YES (half-width character), the CPU 27 determines whether the character is a half-width character designated as a set character, and if YES, the CPU 27 determines whether or not it is a single half-width character.

半角1文字の場合、CPU 21はKPM 、?θから
対応する半角フォント’に読み出した後、当該フォント
のフォントイメージを右側に移動する。そして、CPU
 21は左半分が空白データ、右半分が該当半角フォン
トのフォントイメージとなっている全角1文字分の表示
用フメントi生成し2、CRTC29へ転送する。これ
に対し、半角1文字でない場合、即ち半角2文字の場合
、CPU 21は第11図のフローチャートに示すよう
に、KPM 30から対応する1文字目の半角フォント
を読み出し、MMU 22の所定領域に一時格納する。
In the case of one half-width character, CPU 21 is KPM, ? After reading out the corresponding half-width font ' from θ, move the font image of the font to the right. And the CPU
21 generates a display image i for one full-width character in which the left half is blank data and the right half is a font image of the corresponding half-width font, and transfers it to the CRTC 29. On the other hand, if there is not one half-width character, that is, if there are two half-width characters, the CPU 21 reads the corresponding first half-width font from the KPM 30 and stores it in a predetermined area of the MMU 22, as shown in the flowchart of FIG. Store temporarily.

次に、CPU 21はKPM 30から2文字目の半角
フォントヲ読み出し、MMU 22の他の所定領域に一
時格納する。そして、CPU 2 Jは上記格納(、、
た2文字目の半角フォントのフォントイメージを右側に
移動し、1文字目の半角フォントと全角1文字分に合成
する。この合成゛フォントは表示用フォントとしてCR
TC29に転送され、CRT 2 Bに表示される。し
たがって、例えば文字列「12月2日」を構成する数字
が組文字指定の半角文字であるものとすると、第12図
に示すように、この文字列に対応するKPM 30から
の読み出しフォント(基本文字7オン))61は、縦1
き表示モードでは、符号62で示される表示用フォント
に変換される。なお、比較のために、横書き表示モード
での表示用フォント63が図示されている。
Next, the CPU 21 reads the second half-width font from the KPM 30 and temporarily stores it in another predetermined area of the MMU 22. Then, the CPU 2 J performs the above storage (,,
The font image of the second half-width font is moved to the right and combined with the half-width font of the first character into one full-width character. This composite font is CR as a display font.
It is transferred to the TC 29 and displayed on the CRT 2B. Therefore, for example, if the numbers constituting the character string "December 2nd" are half-width characters designated as grouping characters, as shown in FIG. Character 7 on)) 61 is vertical 1
In the display mode, the display font is converted to a display font indicated by reference numeral 62. For comparison, a display font 63 in horizontal writing display mode is shown.

次に、組文字指定の半角文字か否かの判定でNO判定と
なった場合の動作を説明する。この場合、CPU 21
はKPM 30から対応する半角フォントヲ読み出した
後、当該フォントのフォントイメージを全角中央位置に
移動し、表示用フォントとしてCRTC29へ転送する
。したがって、例えば文字列「1983年」を構成する
数字が弁組文字指定の半角文字であるものとすると、第
13図に示すように、この文字列に対応するKPM 3
0からの読み出しフォント71は、縦書き表示モードで
は、符号72で示される表示用フォントに変換される。
Next, an explanation will be given of the operation when the determination as to whether or not the character is a half-width character designated as a set character results in a NO determination. In this case, CPU 21
reads the corresponding half-width font from the KPM 30, moves the font image of the font to the center full-width position, and transfers it to the CRTC 29 as a display font. Therefore, for example, if the numbers constituting the character string "1983" are half-width characters designated as Benkumi characters, the KPM 3 corresponding to this character string is shown in FIG.
The read font 71 from 0 is converted to a display font indicated by reference numeral 72 in the vertical writing display mode.

なお、比較のために横書き表示モードでの表示用フォン
ト73が図示されている。
Note that the display font 73 in the horizontal writing display mode is shown for comparison.

このようにして作成された表示用フォント’1用いた画
面表示が行なわれることにより、縦書き時においても印
刷イメージに合った画面表示が可能となる。
By displaying the screen using the display font '1 created in this way, it is possible to display the screen that matches the print image even when writing vertically.

なお、前記実施例では、文字フォント処理が、MMU 
22に格納されたプログラムに従ってCPU 27にょ
シ行なわれるものとして説明したが、これに限るもので
はなく、例えばCRTC29、PRTC32で行なうこ
とも可能である。
Note that in the above embodiment, character font processing is performed using MMU
Although the description has been made assuming that the CPU 27 executes the process according to the program stored in the CPU 22, the process is not limited to this, and can also be executed by the CRTC 29 or PRTC 32, for example.

〔発明の効果〕〔Effect of the invention〕

以上詳述したようにこの発明によれば、半角文字を組文
字として扱うか或いは弁組文字として扱うかが指定でき
、この指定に応じた印刷が行なえるので、半角文字を含
む文書を縦書き印刷する場合の自由度が著しく向上する
As detailed above, according to the present invention, it is possible to specify whether half-width characters are treated as set characters or as set characters, and printing can be performed according to this designation, so documents containing half-width characters can be written vertically. The degree of freedom when printing is significantly improved.

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

第1図は従来の縦書°き印刷の問題を説明する図、rA
2図はこの発明の一実施例に係る文書作成装置のブロッ
ク構成図、第3図は組文字/弁組文牢指定手順を示すフ
ローチャート、第4図は組文字/弁組文字の識別マーク
の表示手順を示すフローチャート、第5図は第4図のフ
ローチャートに従って上記識別マークが表示きれた表示
画面の一例を示す図、第6図は半角文字の指定モードの
切換え手順を示すフローチャート、第7図は縦1@印刷
用文字フォントの生成手順をボすフローチャート、第8
図は基本文字フォントと印刷用文字フメントとの対応を
示す図、第9図は第7図のフローチャートに従って作成
される文字フAントヲ用いた縦書き印刷の一例を示す図
、第10図は縦1.き印刷イメージと画面表示イメージ
との好ま[7い対応例を示す図、第11図は第10図に
示す画面表示を可能とする表示用文字フォントの生成手
順を示すフローチャート、第12図および第13図は基
本文字フォントと表示用文字7オントとの対応を示す図
である。 21・・・CPU、22・・・内部メモリ(MMU )
、25・・キーボード(KB)、26・・組文字/弁組
文字指定キー、28・・・CRTディスプレイ装置(C
RT )、30・・漢字パターンメモリ(KPM )、
3ノ・・・プリンタ装置(PRT )。 出願人代理人 弁理士 鈴 江 武 彦第1図 第3図 第4図 第6図 第7図 第8図 第9図 第10図
Figure 1 is a diagram explaining the problem of conventional vertical writing printing, rA
Fig. 2 is a block diagram of a document creation device according to an embodiment of the present invention, Fig. 3 is a flowchart showing the procedure for specifying kumimoji/benkumi bungai, and Fig. 4 shows the identification mark of kumimoji/benkumimoji. Flowchart showing the display procedure; FIG. 5 is a diagram showing an example of the display screen on which the identification mark is completely displayed according to the flowchart in FIG. 4; FIG. 6 is a flowchart showing the procedure for switching the half-width character designation mode; FIG. is vertical 1@Flowchart showing the procedure for generating character fonts for printing, No. 8
The figure shows the correspondence between the basic character font and the printing character font, Figure 9 shows an example of vertical printing using the character font created according to the flowchart in Figure 7, and Figure 10 shows the correspondence between the character font for printing. 1. FIG. 11 is a flowchart showing a procedure for generating display character fonts that enable the screen display shown in FIG. 10, and FIG. 12 and FIG. FIG. 13 is a diagram showing the correspondence between the basic character font and the display character 7 ont. 21...CPU, 22...Internal memory (MMU)
, 25...Keyboard (KB), 26...Kumimoji/bengumoji specification key, 28...CRT display device (C
RT), 30...Kanji pattern memory (KPM),
3. Printer device (PRT). Applicant's Representative Patent Attorney Takehiko Suzue Figure 1 Figure 3 Figure 4 Figure 6 Figure 7 Figure 8 Figure 9 Figure 10

Claims (1)

【特許請求の範囲】[Claims] 作成文書の横書き並びに縦書き印刷機能を有する文書作
成装置において、入力半角文字を組文字として扱うか、
或いは全角1文字相蟲の単独文字として扱うかを指定す
る組文字/非組文字指定手段と、上記入力半角文字を、
文1.0構成文字として、上記組文牢/非組文字指定手
段の指定内容を示す絵文字/非組文字指定情報に対応さ
せて記憶する記憶手段と、文書の画面表示に際し、上記
絵文字/非組文字指定情報に応じて半角文字の絵文字/
非組文牢指定内容を示す識別マークを表示する手段と、
上記入力半角文字の絵文字/非組文字指定内容の切換え
を指定する切換え指定手段と、この切換え指定手段の指
定に応じ、該当する上記入力半角文字に対応する上記絵
文字/非組文字指定情報を変更する手段と、縦書き印刷
に際し、印刷対象半角文字に対応する絵文字/非組文字
指定情報を参照し、当該情報が全角1文字相当の単独文
字として扱う弁組文字指定を示す場合、該当半角文字フ
ォントのフォントイメージを全角1文字相当領域の中央
に移動して得られる印刷用半角フメン)1用いる印刷手
段とを具備することを特徴とする文書作成装置。
In a document creation device that has horizontal and vertical printing functions for created documents, whether input half-width characters are handled as typed characters or
Or a combination character/non-composition designation means for specifying whether to treat it as a single character of a single full-width character, and the input half-width character,
A storage means for storing the text 1.0 constituent characters in correspondence with pictograph/non-composition designation information indicating the contents specified by the above-mentioned composition/non-composition designation means; Half-width character pictograms/
means for displaying an identification mark indicating the content of non-composition designation;
A switching specification means for specifying switching of pictograph/non-composition character specification contents of the input half-width characters, and according to the specification of this switching specification means, changing the above-mentioned pictograph/non-composition character specification information corresponding to the corresponding input half-width characters. When printing vertically, refer to the pictograph/non-composition character specification information corresponding to the half-width character to be printed, and if the information indicates a special character designation to be treated as a single character equivalent to one full-width character, the corresponding half-width character 1. A document creation device comprising: a printing unit that uses a half-width character for printing obtained by moving a font image of a font to the center of an area corresponding to one full-width character.
JP59037518A 1984-02-29 1984-02-29 Document producer Granted JPS60181826A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59037518A JPS60181826A (en) 1984-02-29 1984-02-29 Document producer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59037518A JPS60181826A (en) 1984-02-29 1984-02-29 Document producer

Publications (2)

Publication Number Publication Date
JPS60181826A true JPS60181826A (en) 1985-09-17
JPH0580013B2 JPH0580013B2 (en) 1993-11-05

Family

ID=12499756

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59037518A Granted JPS60181826A (en) 1984-02-29 1984-02-29 Document producer

Country Status (1)

Country Link
JP (1) JPS60181826A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62281073A (en) * 1986-05-30 1987-12-05 Canon Inc Image processing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62281073A (en) * 1986-05-30 1987-12-05 Canon Inc Image processing system

Also Published As

Publication number Publication date
JPH0580013B2 (en) 1993-11-05

Similar Documents

Publication Publication Date Title
JPS60181826A (en) Document producer
JP3404770B2 (en) Document processing device
JP3026992B2 (en) Display control method and device
JPH01290065A (en) Document processor
JPS58172770A (en) Japanese word processor
JPH103371A (en) Page layout comparator and page layout display device
JPH03263257A (en) Document processor
JPH0452820A (en) Printing specification system
JPH0264853A (en) Document generating device
JPS59201129A (en) Document producer
JPH0540751A (en) Information processor
JPH04282746A (en) Document preparing device
JPH04148471A (en) Format setting device
JPH02232717A (en) Information processor
JPH0793319A (en) Document processor
JPH0264854A (en) Document generating device
JPH0433161A (en) Document processor
JPH04148470A (en) Format setting device
JPH07168838A (en) Document processor
JPH01121969A (en) Data processor with paginating function
JPH0644242A (en) Document processor
JPH076167A (en) Format setting method
JPH01189691A (en) Image processor
JPH05165813A (en) Information processor
JPS63106827A (en) Word processor