JPH0580013B2 - - Google Patents

Info

Publication number
JPH0580013B2
JPH0580013B2 JP59037518A JP3751884A JPH0580013B2 JP H0580013 B2 JPH0580013 B2 JP H0580013B2 JP 59037518 A JP59037518 A JP 59037518A JP 3751884 A JP3751884 A JP 3751884A JP H0580013 B2 JPH0580013 B2 JP H0580013B2
Authority
JP
Japan
Prior art keywords
character
width
characters
typed
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.)
Expired - Lifetime
Application number
JP59037518A
Other languages
Japanese (ja)
Other versions
JPS60181826A (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
Tokyo Shibaura Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tokyo Shibaura Electric Co Ltd filed Critical Tokyo Shibaura Electric Co Ltd
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

Landscapes

  • Document Processing Apparatus (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Record Information Processing For Printing (AREA)

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は、横書き並びに縦書き印刷機能を備
えた文書作成装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field 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]

一般に、この種の文書作成装置では、種々の幅
をもつ文字扱いが可能となつている。標準の文字
幅をもつ文字は全角(全幅)文字、全角文書の半
分の文字幅をもつ文字は半角(半幅)文字と呼ば
れる。そこで従来の文書作成装置では、半角文字
は一律に組文字として扱われている。このような
従来の文書作成装置で第1図の表示画面11に示
す文書を入力し、該文書を印刷出力した場合、横
書き印刷では何ら問題はないが、縦書き印刷では
不自然となる問題があつた。これは、第1図に示
す「1983」のような半角文字を使用した場合、半
角の2文字「19」、「83」がそれぞれ組として印刷
されてしまうためである。
Generally, this type of document creation device is capable of handling characters with various widths. Characters with standard character width are called full-width (full-width) characters, and characters with half the character width of full-width documents are called half-width (half-width) characters. Therefore, in conventional document creation devices, half-width characters are uniformly treated as typeface characters. When the document shown in the display screen 11 in Figure 1 is input using such a conventional document creation device and the document is printed out, there is no problem when printing horizontally, but when printing vertically there is a problem that it becomes unnatural. It was hot. This is because when half-width characters such as "1983" shown in FIG. 1 are used, the two half-width characters "19" and "83" are printed as a pair.

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

この発明は上記事情に鑑みてなされたものでそ
の目的は、半角文字を組文字として扱うか、或い
は非組文字として扱うかが指定でき、この指定に
応じた印刷が行なえる文書作成装置を提供するこ
とにある。
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 are treated as typed characters or non-typed characters, and that can print according to this designation. It's about doing.

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

この発明では、入力半角文字を組文字として扱
うか、或いは非組文字として扱うかを指定する組
文字/非組文字指定手段が設けられている。記憶
手段は、入力半角文字を文書の構成文字として記
憶する場合、組文字/非組文字指定手段の指定内
容を示す組文字/非組文字指定情報に対応させて
記憶する。また、表示手段は、文書の画面表示に
際し、上記組文字/非組文字指定情報に応じて半
角文字の組文字/非組文字指定内容を示す識別マ
ークを表示する。また、この発明では、入力半角
文字の組文字/非組文字指定内容の切換え指定を
行なう切換え手段が設けられている。変更手段
は、この切換え手段の指定に応じ、該当する入力
半角文字に対応する組文字/非組文字指定情報を
変更する。更に、この発明では、縦書き印刷時の
印刷用半角フオントの生成に特徴を有する印刷手
段が設けられている。この印刷手段は、縦書き印
刷時における印刷対象文字が半角文字で、当該文
字に対応する組文字/非組文字情報が非組文字指
定を示している場合、該当半角文字フオントのフ
オントイメージを全角1文字相当領域の中央に移
動して得られる印刷用半角フオントを用いて該当
文字を印刷する。
In this invention, a typed character/non-typed character designating means is provided for specifying whether input half-width characters are treated as typed characters or non-typed characters. When storing the input half-width characters as constituent characters of a document, the storage means stores the input half-width characters in correspondence with typed/non-typed character designation information indicating the content specified by the typed/non-typed character designation means. Further, when displaying the document on the screen, the display means displays an identification mark indicating the designation content of set characters/non-composed characters of half-width characters in accordance with the above-mentioned typed characters/non-composed 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 the typed character/non-typed 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 the generation of half-width fonts for printing during vertical printing. This printing method prints a full-width font image of the corresponding half-width character font when the character to be printed during vertical printing is a half-width character and the typed/non-typed character information corresponding to the character indicates non-typed character designation. The corresponding character is printed using a half-width printing font obtained by moving to the center of the area corresponding to one character.

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

第2図はこの発明の一実施例に係る文書作成装
置の構成を示す。同図において、21は装置全体
の制御を司るCPUであり、文書作成、編集・校
正等の処理を、次に述べる内部メモリ22に格納
されたプログラムに従つて実行する。22は各種
プログラム、所定の書式に従う複数頁分の文書情
報等を格納する内部メモリ(以下、MMUと称
す)である。23はMMU22にローデイングさ
れるプログラム、文書情報を保存する外部記憶と
してのフロツピーデイスク装置(FDDと称す)、
24はFDD23を制御するフロツピーデイスク
コントローラ(FDC)である。25は文書入力
のための各種データキー、半角の組文字/非組文
字処理を指定する組文字/非組文字指定キー26
を含む各種フアンクシヨンキーを有するキーボー
ド(KBと称す)、27はKB25を制御するキー
ボードコントローラ(KBSと称す)である。2
8は各種の作業メニユー、作成文書、作成中の文
書の制御情報等の表示を司るCRTデイスプレイ
装置(CRTと称す)、29はCRT28を制御す
るCRTコントローラ(CRTCと称す)である。
また、30は本装置で使用する文字のフオントを
格納する漢字パターンメモリ(KPMと称す)、3
1は作成文書、文書カタログ等の印刷を司るプリ
ンタ装置(PRTと称す)、32はPRT31を制
御するプリンタコントローラ(PRTCと称す)で
ある。
FIG. 2 shows the configuration of a document creation device according to an embodiment of the present invention. In the figure, 21 is a CPU that controls the entire apparatus, and executes processes such as document creation, editing, proofreading, etc. according to programs 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 various programs, document information for multiple pages in a predetermined format, and the like. 23 is a floppy disk device (referred to as FDD) as an external storage for storing programs and document information loaded into the MMU 22;
24 is a floppy disk controller (FDC) that controls the FDD 23. 25 are various data keys for document input, and a set/non-set character specification key 26 for specifying half-width set/non-set characters processing.
27 is a keyboard controller (referred to as KBS) that controls the KB 25 (referred to as KB). 2
8 is a CRT display device (referred to as CRT) that controls the display of various work menus, created documents, control information for documents being created, etc., and 29 is a CRT controller (referred to as CRTC) that controls the CRT 28.
In addition, 30 is a kanji pattern memory (referred to as KPM) that stores the fonts of characters used in this device;
1 is a printer device (referred to as PRT) that controls printing of created documents, document catalogs, etc.; 32 is a printer controller (referred to as PRTC) that controls the PRT 31;

次に、この発明の一実施例の動作を説明する。
まず、第2図に示す装置の電源が投入されると、
FDC24の制御のもとに、FDD23に格納され
ているプログラムがMMU22の所定のプログラ
ム格納域にロードされる。そして、MMU22に
ロードされたプログラムに従つたCPU21の制
御処理により、CRTC29がCRT28をドライ
ブ制御する。これにより、CRT表示画面上に作
業メニユーが表示される。オペレータはKB25
を操作して、表示画面上の作業メニユーの中か
ら、所望の処理内容(作業項目)を選択する。こ
の操作により、CPU21の制御のもとで、選択
指定された作業に必要な情報入力の要求が順次表
示される。オペレータは、この表示内容(要求内
容)に応えるべく所定の操作を行なう。こうする
ことにより、文書の作成、文書の編集・校正、文
書の印刷等が行なわれる。
Next, the operation of one embodiment of the present invention will be explained.
First, when the power of the device shown in Fig. 2 is turned on,
Under the control of the FDC 24, the program stored in the FDD 23 is loaded into a predetermined program storage area of the MMU 22. Then, the CRTC 29 controls the drive of the CRT 28 through the control processing of the CPU 21 according to the program loaded into the MMU 22 . This causes the work menu to be displayed on the CRT display screen. Operator is KB25
to select the desired process content (work item) from the work menu on the display screen. Through this operation, under the control of the CPU 21, requests for information input necessary for the selected and designated work are sequentially displayed. The operator performs a predetermined operation in response to the displayed content (request content). By doing this, document creation, document editing/proofreading, document printing, etc. are performed.

ここで、この発明に直接関係する、入力文書の
半角組文字/非組文字指定について、第3図、第
4図および第6図のフローチヤート、並びに第5
図の表示画面例を参照して説明する。第2図の装
置は、初期状態では組文字指定モードとなつてお
り、組文字指定状態にあることを示す情報(組文
字指定情報)がMMU22内の特定番地に格納さ
れている。この状態で文書入力作業が行なわれ、
半角文字が入力されると、その入力コードは組文
字指定された半角文字として文書フアイル内に記
憶される。もし、(例えば縦書き印刷のために)
半角文字を非組文字として入力したい場合、オペ
レータは第3図のフローチヤートに示すように、
KB25上の組文字/非組文字指定キー26を1
回打鍵する。これにより、CPU21は、MMU2
2内の特定番地に格納されていた組文字指定情報
を非組文字指定情報に書き換える。以後、装置は
非組文字指定モードとなる。このモードでは、
CPU21は半角文字が入力されると、その入力
コードを非組文字指定された半角文字として文書
フアイル内に格納する。なお、再び組文字指定モ
ードに戻したい場合には、更に組文字/非組文字
指定キー26を1回打鍵すればよい。
Here, regarding the designation of half-width typed characters/non-typed characters in input documents, which are directly related to this invention, we will refer to the flowcharts shown in FIGS.
This will be explained with reference to the example display screen shown in the figure. The device shown in FIG. 2 is initially in a set character designation mode, and information indicating that it is in a set character designation state (composition designation information) is stored at a specific address within the MMU 22. Document input work is performed in this state,
When a half-width character is input, the input code is stored in the document file as a half-width character designated as a set character. If (e.g. for vertical printing)
If you want to input half-width characters as non-composition characters, the operator should do the following as shown in the flowchart in Figure 3.
Press the grouping character/non-setting character specification key 26 on KB25 to 1
Press the key twice. As a result, the CPU 21 uses the MMU 2
The set character designation information stored at a specific address in 2 is rewritten to non-composition character designation information. Thereafter, the device enters the non-composition character specification mode. In this mode,
When a half-width character is input, the CPU 21 stores the input code in the document file as a half-width character designated as a non-composition character. In addition, if it is desired to return to the set character designation mode again, it is sufficient to press the set character/non-composition character designation key 26 once more.

このように入力された文書をCRT28に表示
する場合、表示内容の文字コード、および付属す
る制御情報(組文字/非組文字指定もこの制御情
報の一つ)は、表示画面と1対1に対応するよう
にMMU22に貯えられている。この例では、文
書の表示においては、第4図のフローチヤートに
示すようにカーソル指定位置の文字が半角文字で
あるか否かの判定が行なわれる。半角文字がカー
ソル指定されている場合、CPU21は当該文字
の制御情報を参照し、組文字指定であれば第5図
に示すようにCRT28の表示画面のガイド行4
1に□組が表示されるように制御する。これに対
し、非組文字指定であればガイド行41に□半が表
示される。なお、第5図に示す表示画面内容にお
いて、文書行42の文字列「昭和58年12月22日」
の半角文字(数字部分)は組文字指定、文書行4
3の文字列「1983年12月22日」の半角文字(数字
部分)は非組文字指定となつている。
When displaying a document input in this way on the CRT28, the character code of the displayed content and the attached control information (specifying typed/non-typed characters is also part of this control information) are on a one-to-one basis with the display screen. It is stored in MMU22 correspondingly. In this example, when displaying a document, it is determined whether the character at the cursor designated position is a half-width character, as shown in the flowchart of FIG. If a half-width character is specified with the cursor, the CPU 21 refers to the control information of the character, and if a set character is specified, the CPU 21 moves the cursor to guide line 4 on the display screen of the CRT 28, as shown in FIG.
Control is performed so that □ group is displayed in 1. On the other hand, if a non-composition character is specified, a square and a half is displayed in the guide line 41. In addition, in the display screen content shown in FIG. 5, the character string "December 22, 1988" in document line 42
Half-width characters (number part) are designated as grouping characters, document line 4
The half-width characters (number part) in the character string 3, ``December 22, 1983,'' are designated as non-composition characters.

次に、半角文字の指定内容の切換え(変更)に
ついて第6図のフローチヤートを参照して説明す
る。この場合、オペレータはカーソルキーの操作
により、組文字/非組文字の指定内容(指定モー
ド)切換え対象文字列の先頭に、カーソルを移動
し、KB25上の図示せぬ特定キー(機能選択キ
ー)をまず打鍵し、続いて組文字/非組文字指定
キー26を打鍵する。これにより、CRT28の
表示画面上のガイド行に「どこまで?」というエ
リア指定メツセージが表示される。そこでオペレ
ータが、切換え対象文字列の最終位置にカーソル
を移動し、再び組文字/非組文字指定キー26を
打鍵すると、指定されたエリアの半角文字の指定
モードが状態反転する。
Next, switching (changing) the designated contents of half-width characters will be explained with reference to the flowchart of FIG. In this case, the operator operates the cursor keys to move the cursor to the beginning of the character string to be switched between typed characters/non-typed characters (designation mode), and presses a specific key (not shown) on KB25. , and then press the typed/non-typed 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 28. Then, when the operator moves the cursor to the final position of the character string to be switched and presses the typed/non-typed character designation key 26 again, the status of the half-width character designation mode in the designated area is reversed.

次に、このようにして入力された文書の縦書き
印刷について第7図のフローチヤート、第8図の
文字フオント処理説明図、および第9図の印刷例
を参照して説明する。印刷対象となる文書フアイ
ルには、前述の手順で入力された文字コード、お
よび制御情報が1文字ごとに記憶されている。
CPU21は、上記情報に基づいてKPM30より
対応する文字フオント(基本文字フオント)を読
み出し、次に示す手順で印刷用のフオントイメー
ジを作成してPRTC32に転送する。即ち、
CPU21は、文書フアイルより印刷対象文字
(の文字コードおよび制御情報)を取り出すと、
半角文字か否かの判定を行なう。この判定がNO
の場合の処理は従来通りであるので説明を省略す
る。一方、YES判定の場合には、第7図のフロ
ーチヤートに示すように組文字指定の半角文字か
否かの判定が行なわれる。この判定がYESの場
合、CPU21はKPM30から組の左側(に位置
する)文字の文字フオントを読み出し、MMU2
2の所定領域にいつたん格納する。次に、CPU
21はKPM30から組の右側(に位置する)文
字の文字フオントを読み出し、MMU22の他の
所定領域にいつたん格納する。この例において半
角文字の文字フオント(半角フオント)は、第8
図に符号51〜54で示すように、全角1文字の
左半分がパターン領域となつた形で読み出され
る。そこで、組文字指定の半角文字の場合、
CPU21は上記格納した右側文字の文字フオン
トのフオントイメージを右側に移動し、左側文字
の文字フオントと合成する。第8図aの符号55
で示される文字フオントは、このようにして作成
された合成フオントである。これに対し、組文字
指定の半角文字でない場合、即ち非組文字指定の
半角文字の場合には、第7図のフローチヤートに
示すように、KPM30から読み出した半角フオ
ントを全角文字のエリアの中央位置に移動する処
理が行なわれる。第8図bはこの状態を示すもの
で、半角文字「1」の文字フオント53は文字フ
オント56に変換され、半角文字「9」の文字フ
オント54は文字フオント57に変換される。第
7図のフローチヤートに従つて合成、或いは変換
されたフオントイメージはPRTC32に転送され
る。そして、PRTC32の制御のもとでPRT3
1による縦書き印刷が行なわれる。第9図は、第
5図の表示画面で示される文書の縦書き印刷出力
結果を示す。なお、横書き印刷の場合には、半角
文字は組文字/非組文字指定内容に無関係に(従
来同様)組文字として扱われる。
Next, vertical printing of a document input in this manner will be described with reference to the flowchart in FIG. 7, the explanatory diagram of character font processing in FIG. 8, and the printing example in FIG. 9. The character code and control information input in the above-described procedure are stored for each character in the document file to be printed.
The CPU 21 reads the corresponding character font (basic character font) from the KPM 30 based on the above information, creates a font image for printing according to the following procedure, and transfers it to the PRTC 32. That is,
When the CPU 21 extracts the character (character code and control information) to be printed from the document file,
Determine whether it is a half-width character. This judgment is NO
The processing in this case is the same as before, so the explanation will be omitted. On the other hand, in the case of YES, it is determined whether or not the character is a half-width character designated as a set character, as shown in the flowchart of FIG. If this determination is YES, the CPU 21 reads the character font of the character (located on) the left side of the set from the KPM 30, and
The data is temporarily stored in a predetermined area of No.2. Next, the CPU
21 reads the character font of the character on the right side of the set (located on) from the KPM 30, and stores it in another predetermined area of the MMU 22. In this example, the character font (half-width font) for half-width characters is the 8th
As shown by numerals 51 to 54 in the figure, the left half of one full-width character is read out as a pattern area. Therefore, in the case of half-width characters specified as grouping characters,
The CPU 21 moves the stored font image of the character font of the right character to the right side and combines it with the character font of the left character. Reference numeral 55 in Figure 8a
The character font indicated by is a composite font created in this way. On the other hand, if the character is not a half-width character designated as a typeface, that is, in the case of a half-width character designated as a non-composition character, the half-width font read from the KPM30 is placed in the center of the area of the double-width character, as shown in the flowchart of Figure 7. A process of moving to a position is performed. FIG. 8b shows this state, in which the character font 53 of the half-width character "1" is converted to the character font 56, and the character font 54 of the half-width character "9" is converted to the character font 57. The font image synthesized or converted according to the flowchart of FIG. 7 is transferred to the PRTC 32. Then, under the control of PRTC32, PRT3
1, vertical printing is performed. FIG. 9 shows the vertically written print output result of the document shown on the display screen of FIG. Note that in the case of horizontal printing, half-width characters are treated as typed characters (as in the past) regardless of the designation of typed characters/non-typed characters.

このように、この実施例では、縦書き印刷を前
提として半角文字を使用した場合、半角文字を組
文字で印刷するか否かが指定でき、且つこの指定
に応じた縦書き印刷が行なえる。しかも、非組文
字指定の場合には、半角文字がライン中央に印刷
されるので見栄えもよい。
As described above, in this embodiment, when half-width characters are used assuming 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. Furthermore, when non-composition characters are specified, half-width characters are printed in the center of the line, so they look good.

次に、この発明の他の実施例を説明する。な
お、この実施例は、表示用の文字フオントの処理
(処理用プログラム)が前記実施例と異なるだけ
である。そこで、便宜上、第2図の構成に従つて
説明する。前記実施例では、第5図の表示画面と
第9図の縦書き印刷結果から明らかなように、非
組文字指定の半角文字に関し、全角換算時の文字
桁数が画面表示と印刷出力とで異なつている。こ
の場合、縦書き印刷時のイメージを表示画面上で
見ることは困難である。この実施例は、第10図
に示すように、縦書き時にも印刷イメージに合つ
た画面表示が行なえるようにしたものである。
Next, another embodiment of the invention will be described. 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. 2. In the above embodiment, as is clear from the display screen in FIG. 5 and the vertical print 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. 10, it is possible to display a screen that matches the printed image even when writing vertically.

以下、半角文字の画面表示のための新規な文字
フオント処理について、第11図のフローチヤー
ト、第12図並びに第13図の説明図を参照して
説明する。文書作成に際し、「縦書き」が指定さ
れている場合、表示モードは縦書き表示モードと
なり、第11図のフローチヤートに従つたフオン
ト処理が行なわれる。また、「縦書き」指定で作
成された文書を編集・校正する場合、該当文書は
縦書き表示モードで表示される。なお、「縦書き」
指定を「横書き」指定に変更することもできる。
縦書き表示モードでは、CPU21は、MMU22
から表示対象となる文書の1文字(文字コード、
および制御情報)を取り出すと、まず半角文字か
否かの判定を行なう。この判定がNO判定の場
合、CPU21はKPM30から対応する全角フオ
ントを読み出し、そのまま表示用フオントとして
CRTC29へ転送する。一方、YES判定(半角
文字)の場合、CPU21は組文字指定の半角文
字か否かの判定を行ない、YESであれば半角1
文字か否かの判定を行なう。半角1文字の場合、
CPU21はKPM30から対応する半角フオント
を読み出した後、当該フオントのフオントイメー
ジを右側に移動する。そして、CPU21は左半
分が空白データ、右半分が該当半角フオントのフ
オントイメージとなつている全角1文字分の表示
用フオントを生成し、CRTC29へ転送する。こ
れに対し、半角1文字でない場合、即ち半角2文
字の場合、CPU21は第11図のフローチヤー
トに示すように、KPM30から対応する1文字
目の半角フオントを読み出し、MMU22の所定
領域に一時格納する。次に、CPU21はKPM3
0から2文字目の半角フオントを読み出し、
MMU22の他の所定領域に一時格納する。そし
て、CPU21は上記格納した2文字目の半角フ
ンオントのフオントイメージを右側に移動し、1
文字目の半角フオントと全角1文字分に合成す
る。この合成フオントは表示用フオントとして
CRTC29に転送され、CRT28に表示される。
したがつて、例えば文字列「12月2日」を構成す
る数字が組文字指定の半角文字であるものとする
と、第12図に示すように、この文字列に対応す
るKPM30からの読み出しフオント(基本文字
フオント)61は、縦書き表示モードでは、符号
62で示される表示用フオントに変換される。な
お、比較のために、横書き表示モードでの表示用
フオント63が図示されている。
Hereinafter, a new character font process 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. When creating a document, if "vertical writing" is specified, the display mode becomes the vertical writing display mode, and font processing is performed according to the flowchart of FIG. 11. Furthermore, when editing or proofreading a document created with "vertical writing" specified, the document is displayed in vertical writing display mode. In addition, "vertical writing"
You can also change the designation to "horizontal writing".
In vertical display mode, the CPU 21 uses the MMU 22
1 character of the document to be displayed (character code,
and control information), it is first determined whether it is a half-width character or not. If this judgment is NO, the CPU 21 reads the corresponding full-width font from the KPM 30 and uses it as a display font.
Transfer to CRTC29. On the other hand, in the case of YES determination (half-width character), the CPU 21 determines whether it is a half-width character specified as a set character, and if YES, half-width 1
Determine whether it is a character or not. In the case of one half-width character,
After reading the corresponding half-width font from the KPM 30, the CPU 21 moves the font image of the font to the right. Then, the CPU 21 generates a display font 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 it is not one half-width character, that is, if it is two half-width characters, the CPU 21 reads the corresponding first half-width font from the KPM 30 and temporarily stores it in a predetermined area of the MMU 22, as shown in the flowchart of FIG. do. Next, CPU21 is KPM3
Read the half-width font of the second character from 0,
It is temporarily stored in another predetermined area of the MMU 22. Then, the CPU 21 moves the font image of the second half-width font stored above to the right side, and 1
Combine the half-width font of the first character and one full-width character. This composite font is used as a display font.
It is transferred to the CRTC29 and displayed on the CRT28.
Therefore, for example, if the numbers constituting the character string "December 2nd" are half-width characters designated as set characters, the read font from the KPM 30 corresponding to this character string ( The basic character font) 61 is converted to a display font indicated by reference numeral 62 in the vertical writing display mode. For comparison, the display font 63 in the horizontal writing display mode is shown.

次に、組文字指定の半角文字か否かの判定で
NO判定となつた場合の動作を説明する。このこ
の場合、CPU21はKPM30から対応する半角
フオントを読み出した後、当該フオントのフオン
トイメージを全角中央位置に移動し、表示用フオ
ントとしてCRTC29へ転送する。したがつて、
例えば文字例(1983年」を構成する数字が非組文
字指定の半角文字であるものとすると、第13図
に示すように、この文字列に対応するKPM30
からの読み出しフオント71は、縦書き表示モー
ドでは、符号72で示される表示用フオントに変
換される。なお、比較のために横書き表示モード
での表示用フオント73が図示されている。
Next, in determining whether or not it is a half-width character specified for grouping characters,
The operation when the judgment is NO will be explained. In this case, after reading the corresponding half-width font from the KPM 30, the CPU 21 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 making up the character example (1983) are half-width characters designated as non-composition characters, as shown in Figure 13, the KPM30 corresponding to this character string is
The read font 71 is converted into a display font 72 in the vertical writing display mode. For comparison, a display font 73 in horizontal writing display mode is shown.

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

なお、前記実施例では、文字フオント処理が、
MMU22に格納されたプログラムに従つてCPU
21により行なわれるものとして説明したが、こ
れに限るものではなく、例えばCRTC29、
PRTC32で行なうことも可能である。
Note that in the above embodiment, the character font processing is
CPU according to the program stored in MMU22
21, but it is not limited to this, for example, CRTC29,
It is also possible to use PRTC32.

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

以上詳述したようにこの発明によれば、半角文
字を組文字として扱うか或いは非組文字として扱
うかが指定でき、この指定に応じた印刷が行なえ
るので、半角文字を含む文書を縦書き印刷する場
合の自由度が著しく向上する。
As detailed above, according to the present invention, it is possible to specify whether half-width characters are treated as typesetting characters or non-typesetting 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図は従来の縦書き印刷の問題を説明する
図、第2図はこの発明の一実施例に係る文書作成
装置のブロツク構成図、第3図は組文字/非組文
字指定手順を示すフローチヤート、第4図は組文
字/非組文字の識別マークの表示手順を示すフロ
ーチヤート、第5図は第4図のフローチヤートに
従つて上記識別マークが表示された表示画面の一
例を示す図、第6図は半角文字の指定モードの切
換え手順を示すフローチヤート、第7図は縦書き
印刷用文字フオントの生成手順を示すフローチヤ
ート、第8図は基本文字フオントと印刷用文字フ
オントとの対応を示す図、第9図は第7図のフロ
ーチヤートに従つて作成される文字フオントを用
いた縦書き印刷の一例を示す図、第10図は縦書
き印刷イメージと画面表示イメージとの好ましい
対応例を示す図、第11図は第10図に示す画面
表示を可能とする表示用文字フオントの生成手順
を示すフローチヤート、第12図および第13図
は基本文字フオントと表示用文字フオントとの対
応を示す図である。 21……CPU、22……内部メモリ(MMU)、
25……キーボード(KB)、26……組文字/
非組文字指定キー、28……CRTデイスプレイ
装置(CRT)、30……漢字パターンメモリ
(KPM)、31……プリンタ装置(PRT)。
Fig. 1 is a diagram explaining the problem of conventional vertical writing printing, Fig. 2 is a block diagram of a document creation device according to an embodiment of the present invention, and Fig. 3 shows a procedure for specifying typed/non-typed characters. Flowchart: FIG. 4 is a flowchart showing the procedure for displaying the identification mark of typed/non-typed characters; FIG. 5 is an example of a display screen on which the identification mark is displayed according to the flowchart of FIG. 4. Figure 6 is a flowchart showing the procedure for switching the half-width character specification mode, Figure 7 is a flowchart showing the procedure for generating a character font for vertical printing, and Figure 8 is a flowchart showing the procedure for generating a character font for vertical printing. Figure 9 is a diagram showing an example of vertical printing using the character font created according to the flowchart in Figure 7, and Figure 10 is a diagram showing the correspondence between the vertical printing image and the screen display image. Figure 11 is a flow chart showing a procedure for generating a display character font that enables the screen display shown in Figure 10. Figures 12 and 13 are a diagram showing a preferred example of correspondence, and Figures 12 and 13 are a diagram showing a basic character font and a display character font. FIG. 21...CPU, 22...Internal memory (MMU),
25...Keyboard (KB), 26...Kumimoji/
Non-composition character designation key, 28... CRT display device (CRT), 30... Kanji pattern memory (KPM), 31... Printer device (PRT).

Claims (1)

【特許請求の範囲】[Claims] 1 作成文書の横書き並びに縦書き印刷機能を有
する文書作成装置において、入力半角文字を組文
字として扱うか、或いは全角1文字相当の単独文
字として扱うかを指定する組文字/非組文字指定
手段と、上記入力半角文字を、文書の構成文字と
して、上記組文字/非組文字指定手段の指定内容
を示す組文字/非組文字指定情報に対応させて記
憶する記憶手段と、文書の画面表示に際し、上記
組文字/非組文字指定情報に応じて半角文字の組
文字/非組文字指定内容を示す識別マークを表示
する手段と、上記入力半角文字の組文字/非組文
字指定内容の切換えを指定する切換え指定手段
と、この切換え指定手段の指定に応じ、該当する
上記入力半角文字に対応する上記組文字/非組文
字指定情報を変更する手段と、縦書き印刷に際
し、印刷対象半角文字に対応する組文字/非組文
字指定情報を参照し、当該情報が全角1文字相当
の単独文字として扱う非組文字指定を示す場合、
該当半角文字フオントのフオントイメージを全角
1文字相当領域の中央に移動して得られる印刷用
半角フオントを用いる印刷手段とを具備すること
を特徴とする文書作成装置。
1 In a document creation device that has a horizontal writing and vertical printing function for a created document, a combination character/non-composition character specifying means for specifying whether input half-width characters are treated as a combination character or as a single character equivalent to one full-width character. , a storage means for storing the input half-width characters as constituent characters of a document in correspondence with typed/non-typed character designation information indicating the specification contents of the typeface/non-typed character designation means; , a means for displaying an identification mark indicating the specified content of set characters/non-composed characters of half-width characters according to the above-mentioned set characters/non-composed characters designation information, and a means for switching the specified content of set characters/non-composed characters of the input half-width characters. A switching designation means to be specified, a means for changing the typed/non-typed character designation information corresponding to the input half-width character corresponding to the input half-width character according to the specification of the switching designation means, and a means for changing the typed/non-typed character designation information for the half-width character to be printed when vertical printing is performed. Refer to the corresponding typed/non-typed character designation information, and if the information indicates a non-typed character designation to be treated as a single character equivalent to one full-width character,
1. A document creation device comprising: printing means that uses a printing half-width font obtained by moving a font image of a corresponding half-width character 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 JPS60181826A (en) 1985-09-17
JPH0580013B2 true 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)

Families Citing this family (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
JPS60181826A (en) 1985-09-17

Similar Documents

Publication Publication Date Title
JPH028339B2 (en)
JPH0966643A (en) Print controlling device
JPH0580013B2 (en)
JPS63251856A (en) Address printing device
JPH0619774B2 (en) Document processor
JP2550562B2 (en) Character display device
JP2839139B2 (en) Document processing method
JPH04326478A (en) Graphic preparing device
JPH0572270B2 (en)
JP3026992B2 (en) Display control method and device
JP3077777B2 (en) Document processing device
JPH0793319A (en) Document processor
JPH103371A (en) Page layout comparator and page layout display device
JPS6359654A (en) Picture processor
JPH0540751A (en) Information processor
JPH01121969A (en) Data processor with paginating function
JPH06325034A (en) Information processor
JPH0390966A (en) Electronic editing device
JPH03263257A (en) Document processor
JPH10207878A (en) Document editing and printing device
JPH05151215A (en) Document processor with frame editing function
JPH05151216A (en) Document processor with frame editing function
JPH035872A (en) Standard blank form document generating system
JPH05151214A (en) Word processor
JPH076167A (en) Format setting method