[go: up one dir, main page]

JPH0287266A - Character output method - Google Patents

Character output method

Info

Publication number
JPH0287266A
JPH0287266A JP63238712A JP23871288A JPH0287266A JP H0287266 A JPH0287266 A JP H0287266A JP 63238712 A JP63238712 A JP 63238712A JP 23871288 A JP23871288 A JP 23871288A JP H0287266 A JPH0287266 A JP H0287266A
Authority
JP
Japan
Prior art keywords
character
characters
output
vertical
horizontal
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
JP63238712A
Other languages
Japanese (ja)
Inventor
Kazuko Suzuki
和子 鈴木
Tetsuo Iwamoto
岩本 哲夫
Toshiharu Kawasaki
川崎 敏治
Kenji Wada
健二 和田
Yasumasa Matsuda
松田 泰昌
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP63238712A priority Critical patent/JPH0287266A/en
Publication of JPH0287266A publication Critical patent/JPH0287266A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Abstract] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、文書作成装置などの情報処理装置において、
少量のメモリの増加で、縦組文書を出力できるようにす
る為の文字出力方式である。
[Detailed Description of the Invention] [Industrial Application Field] The present invention provides an information processing device such as a document creation device,
This is a character output method that allows you to output vertically oriented documents with a small increase in memory.

〔従来の技術〕[Conventional technology]

現在、文誉作成装klこおいて、例えばワードパルシリ
ーズにおいては、縦組文−書を出力する際には、縦組専
用文字に対して、あらかじめ特別な文字コードを割り撮
り、入力された文字を縦組用にコード変換し、変換後の
文字コードに対応する文字を出力することにより、横組
文書と異なる文字を出力することを可能にしている。
Currently, in the Bunyo Seisakuso KL, for example, in the Word Pal series, when outputting a vertically written document, special character codes are set in advance for vertically written characters, and the input By converting the code of characters for vertical writing and outputting the characters corresponding to the converted character code, it is possible to output characters different from those of horizontal writing documents.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来技術は、縦組文字と横組文字か異なる文字であ
る場合には、必ず縦組専用文字のフォントデータ(7オ
ントリソース)を持つ必要があり、フォントデータメモ
リが増大する問題点があった。
The above-mentioned conventional technology has the problem of increasing the font data memory because it is necessary to have font data (7 ontology resources) for characters exclusively for vertical writing when the vertical writing characters and horizontal writing characters are different characters. Ta.

これは、出力装置の高解像度化によりさらに問題が大き
くなる。例えば、128 X 12Bドツトのドツト文
字を用いる場合、1文字当り、2048バイトのメモリ
を必要とする。
This problem becomes even more serious as the resolution of the output device becomes higher. For example, if a 128 x 12B dot character is used, each character requires 2048 bytes of memory.

本発明の目的は、より少ないフォントリソースの追加及
びフォントデータメモリ容量の増加により、縦組文字出
力を可能にすることにある。
An object of the present invention is to enable vertical text output by adding fewer font resources and increasing font data memory capacity.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的は、従来噴組文字→縦組文字変換が必要となっ
ている文字のうち、横組文字890°回転または移動さ
せることにより縦組文字を発生させることにより、達成
される。
The above object is achieved by generating vertical type characters by rotating or moving horizontal type characters by 890 degrees among characters that conventionally require conversion from font type characters to vertical type characters.

〔作用〕[Effect]

横組文字を90°回転してまたは移動して縦組文字を出
力することにより縦組専用文字データをシステム中に持
たなくて陽むため、従来方式よりも、メモリ及びフォン
トリソースは少なくて済む。
By rotating or moving the horizontal text by 90 degrees and outputting the vertical text, the system does not need to have vertical text-specific character data, so it requires less memory and font resources than the conventional method. .

また、縦組文字用コード変換テーブルを設けることによ
り、前記4つ(/J出力方式を一度囚コード変換をする
だけで容易に選択可能となる。
Furthermore, by providing a code conversion table for vertical writing characters, it is possible to easily select one of the four (/J) output methods by simply converting the code once.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面により説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第3図は、本発明を実施するため子こ用いる文書作成装
置を示すブロック図である。図においで、1は中央処理
装置(以下CPU七称す)、2は動作指示等を行なう為
の入力装置、3は文書を出力する為の出力装置、4はフ
ォントデータ5.!線用文字コード変換テーブル6、文
書データ7及び文書出力制御部ソフト8等を含むメモリ
である。
FIG. 3 is a block diagram illustrating a document creation device used to implement the present invention. In the figure, 1 is a central processing unit (hereinafter referred to as CPU), 2 is an input device for issuing operation instructions, 3 is an output device for outputting documents, 4 is font data 5. ! This memory includes a line character code conversion table 6, document data 7, document output control software 8, and the like.

この装置を用い、縦組文!I8出力することを考える。Vertical composition using this device! Consider outputting I8.

第1図は、本発明の一実施例における1文字出力処理動
作を示すフローチャートである。第3図Iこ示すCPU
1はメモリ内tこ格納されている文書出力制御ソフトに
従がい、処理動作を行なう。
FIG. 1 is a flowchart showing a single character output processing operation in an embodiment of the present invention. Figure 3 I shows the CPU
1 performs processing operations in accordance with document output control software stored in memory.

文書出力制御部は、文書データを読み文字コードデータ
を得、縦組の文書出力が指示されていた場合には、文字
出力をする為に1文字出力部ソフト9が第1図ζこ示す
処理手順に沿って出力処理動作を行なう0 1文字出力は、まず文字コードデータを受は取って開始
する(ブロック10)Qまず入力された文字コードが非
漢字であるかどうかを判定する(ブロック11)0これ
は、JIS第1水準、JISWJ2水準の涙字は、縦組
でも横組でも変化はなくコード変換の必要がない為であ
る。従って、非漢字以外の文字力場合に(ま、入力され
た文字コードに対応するフォントをそのまま表示する(
ブロック15)。それlこ対し、非漢字であった場合C
Cは、縦組文字用コード変換テーブルを用いコード変換
を行なう(ブロック12)。
The document output control unit reads the document data and obtains character code data, and if vertical document output is instructed, the single character output unit software 9 performs the process shown in FIG. 1 in order to output characters. Perform the output processing operation according to the procedure. 0.1 character output begins by receiving the character code data (block 10) Q. First, it is determined whether the input character code is a non-kanji character (block 11) )0 This is because the lacrimal characters of the JIS 1st level and JISWJ2 level do not change whether they are in vertical or horizontal writing, and there is no need for code conversion. Therefore, in case of character strength other than non-kanji (well, the font corresponding to the input character code is displayed as is)
Block 15). On the other hand, if it is a non-kanji character, C
C performs code conversion using a code conversion table for vertical writing characters (block 12).

縦組文字コード変換テーブル21の例8!!3図に示す
。40〜45は、変換後の文字コードがセットされてい
る。入力された文字コード20に対応する位置のテーブ
ル21を参照するこ七により変換後コード22ヲ得るこ
とができる。テーブルtこセットされている変換後の文
字コードは、入力文字コードと変化しないもf/J(3
0→50)と変化するものがある。
Example 8 of vertical writing character code conversion table 21! ! Shown in Figure 3. 40 to 45 are set with character codes after conversion. By referring to the table 21 at the position corresponding to the input character code 20, the converted code 22 can be obtained. The character code set in the table after conversion does not change from the input character code, but f/J (3
There are some that change from 0 to 50).

変化するものの一例では、他の文字コードがセットされ
ているもの(31→41→51)とフラグがセットされ
ているものがある。例えば回転文字コードをf f f
 f、移動文字コードをfffeとすると、縦組文字出
力時に横組文字を回転させて出力する文字コードに対応
するテーブルにはffffがセットされているし、移動
して出力する文字では、fffeがセットされている。
Examples of things that change include those that have other character codes set (31→41→51) and those that have flags set. For example, the rotated character code is f f f
If f, the movement character code is fffe, ffff is set in the table corresponding to the character code that rotates and outputs horizontal characters when outputting vertical characters, and fffe is set for characters that are moved and output. It is set.

このテーブルを使用して、縦組文字を出力することを考
える。横組でも縦組でも同じ文字が出力される文字では
、笈換醋後の文字コードは同一である。従って入力され
た文字コードに対応する文字をそのまま両方する(ブロ
ン゛り17)。また、横組と縦組とで文字が異なる文字
は、コード変換が起こる。
Consider using this table to output vertical text. If the same character is output in both horizontal and vertical writing, the character code after conversion is the same. Therefore, both characters corresponding to the input character code are displayed as they are (Bronze 17). Also, code conversion occurs for characters that differ between horizontal and vertical writing.

グ屯なる文字のうちでも横組文字を回転させることによ
って縦組文字を発生できる文字、例えば第2図1011
こ示すような文字(1D5は横組文字。
Characters that can generate vertical type characters by rotating horizontal type characters, such as 1011 in Fig. 2.
Characters like this (1D5 is a horizontal type character.

106は縦、組文字)については、や別に割り掘られた
回転文字コードが変換後データとして格納されでいるも
のとする。従って変換後文字コードが回転文字コードで
あると判定(ブロック13)さ、n、た場合には、変換
前の入力された文字コードに対応するフォントを読み込
み文字i 90’回転させて出力する(ブロック15)
As for 106 (vertical, set characters), a separately divided rotated character code is stored as converted data. Therefore, if it is determined that the character code after conversion is a rotated character code (block 13), the font corresponding to the input character code before conversion is read and the character i is rotated by 90' and output ( Block 15)
.

また、横組文字を移動して出力することによって縦組文
字を発生できる文字例えば第2図102瘉こ示すような
文字(107は横組文字、108は縦組文字)について
も、特別に割り振られた移動文字コードか変換後データ
としてテーブルに格納されているものとする。従って変
換後コードが移動文字コードであると判定された場合(
ブロック14)1こは、変侠前の入力された文字コード
に対応するフォノ)f読み込み文字を移動させて出力す
る(ブロック16)0以下に、横組文字を移動して縦組
文字を発生させる方法の一実施例を示す。第5図110
に示すように、移動出力を行なう文字ωボディサイズを
bxsize 、 bysize 、レターサイズをx
size、ysizeボディ左下端からレター左下端ま
での距離をXl。
Also, characters that can generate vertical type characters by moving and outputting horizontal type characters, such as those shown in Figure 2, 102 (107 is a horizontal type character, 108 is a vertical type character), are also specially allocated. It is assumed that the converted character code is stored in the table as converted data. Therefore, if the post-conversion code is determined to be a moving character code (
Block 14) 1 This moves and outputs the phono) f read character corresponding to the input character code before conversion (Block 16) Moves horizontal type characters below 0 to generate vertical type characters. An example of a method for doing so is shown below. Figure 5 110
As shown in , the character ω body size for moving output is bxsize , bysize , and the letter size is x
size, ysize The distance from the lower left edge of the body to the lower left edge of the letter is Xl.

ylとする。この文字を縦組文字に変換する際には、レ
ターの位置をボディの中の右上端力)らの距1ifiを
y2.X2とした場合、y2=x1 、 x2=y1と
なる位置fこ停動じて文字を発生させる。これ(こより
、文字の出力位iを変更せず(こ出力できる。もちろん
、第5図1201こ示すように、横組文字の出力位置を
移動することにより縦組文字を出力しでもよい。
Let it be yl. When converting this character into a vertical type character, change the position of the letter from the upper right corner of the body to the distance 1ifi from y2. In the case of X2, a character is generated by moving the position f where y2=x1 and x2=y1. From this, it is possible to output characters without changing the output position i. Of course, vertical type characters may be output by moving the output position of horizontal type characters, as shown in FIG. 5 1201.

最後に、第2図100(こ示すような、横組文字を回転
したり、移動したりして出力することができない文字(
103は横組文字、104は縦組文字)は、特別(こ割
り振られたam専用文字コードがチーフルに設定されて
いるものとする0従って、変換後文字コード番こ対応し
た文字を出力する(ブロック17)。
Finally, see Figure 2 100 (characters that cannot be output by rotating or moving horizontal type characters, as shown here).
103 is a horizontal type character, 104 is a vertical type character) is special (assuming that the am-specific character code assigned to this is set to chiful). Therefore, after conversion, the character corresponding to the character code number is output ( Block 17).

また、第2図100に示すような文字あるいは図記号も
、第6図(こ示すように一度回転処理Kを行ない、その
回転文字150をさらに(左右)反転処理)■を行なう
ことによって、第2図に示した・縦組文字104とほぼ
同様の縦組文字134を得ることができる。また、最初
に反転処理Hを行ない、該反転文字152をさらζこ回
転処理に8はどこしても同様θ】結り1.が得られ、さ
らに−度に反転)fおよび回4会にの画処理を施しても
同様の結果が得られる。
In addition, characters or graphic symbols as shown in FIG. 2 100 can also be changed by performing the rotation process K once as shown in FIG. Vertical type characters 134 that are almost the same as the vertical type characters 104 shown in FIG. 2 can be obtained. In addition, first perform inversion processing H, and further ζ rotation processing of the inverted character 152. is obtained, and the same result is obtained even if image processing is performed on f and 4 times (inverted by − degrees).

本実施例(こよれば、横組文字を最大限活用するコトに
より、フォントデータメモリを削減し、4つυ]文字出
力方式を容易tこ選択して、縦組文字出力を行なうこと
ができる。
This embodiment (according to this example, by maximizing the use of horizontal type characters, it is possible to reduce the font data memory and easily select the character output method to output vertical type characters. .

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

本発明(こよnば、従来、縦組専用文字として、フォン
トリソースを用意しなくてはならなかった文字の一部を
使用せずGこ済むりで、フォノ) IJソースを作成す
る作業量及びフォントデータメモリ削減の効果がある。
The present invention (in the past, it was possible to avoid using some of the characters for which font resources had to be prepared as characters exclusively for vertical writing, and only G was used).The amount of work required to create IJ sources and This has the effect of reducing font data memory.

【図面の簡単な説明】 41図は本発明り一実施例の文字出力例の説明図、第2
図は本発明の一実施例を示すフローチャート、第3図は
本発明を実施するにあたり使用する惰綴処J!M榛(i
tのブロック図、第4図はコード変換処理を行なう為の
縦組用コード変換テーブルの胱明図、第5図は文字UJ
移動出力方式例の説明図1.446図は池の実施例のフ
ローチャートである。 100−縦組専用文字出力例 101・・・回転文字出力例 102・・・移動文字出力例 10〜1日・・・処理フロー 6・・・縦組用文字コード変換テーブル40〜45・・
・縦組変換後の文字コード110・・・移動文字発生例 120・・・移動文字出力例 吊 )図 、1.0 fi、8 、20 第4図 g換コードテーブル
[Brief Explanation of the Drawings] Figure 41 is an explanatory diagram of an example of character output according to an embodiment of the present invention.
The figure is a flowchart showing one embodiment of the present invention, and Figure 3 is a flowchart showing an embodiment of the present invention. M Haru (i
t block diagram, Figure 4 is a clear diagram of a vertical writing code conversion table for code conversion processing, and Figure 5 is a block diagram of the character UJ.
Illustration 1.446 is a flowchart of the embodiment of the moving output method. 100 - Vertical type only character output example 101... Rotated character output example 102... Moving character output example 10 to 1 day... Processing flow 6... Vertical type character code conversion table 40 to 45...
・Character code after vertical type conversion 110...Example of moving character occurrence 120...Example of moving character output Hang) Figure, 1.0 fi, 8, 20 Figure 4 g conversion code table

Claims (1)

【特許請求の範囲】[Claims] 1、中央処理装置と少なくとも該中央処理装置の動作プ
ログラムや文書データを格納することができるメモリと
、フォントデータと文書の表示・印刷等を行なう出力装
置を具備した情報処理装置において、縦組(横組)文字
出力を行なう場合、横組(縦組)文字を90°回転した
形が対応する文字の時、横組(縦組)文字を90°回転
することにより縦組(横組)文字を発生させ、出力する
ことを特徴とする文字出力方式。
1. In an information processing device that is equipped with a central processing unit, a memory that can store at least the operating program and document data of the central processing unit, and an output device that displays and prints font data and documents, When outputting horizontal (horizontal) characters, if the corresponding character is a horizontal (vertical) character rotated 90 degrees, the horizontal (vertical) character is rotated 90° to output the vertical (horizontal) character. A character output method characterized by generating and outputting.
JP63238712A 1988-09-26 1988-09-26 Character output method Pending JPH0287266A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63238712A JPH0287266A (en) 1988-09-26 1988-09-26 Character output method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63238712A JPH0287266A (en) 1988-09-26 1988-09-26 Character output method

Publications (1)

Publication Number Publication Date
JPH0287266A true JPH0287266A (en) 1990-03-28

Family

ID=17034150

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63238712A Pending JPH0287266A (en) 1988-09-26 1988-09-26 Character output method

Country Status (1)

Country Link
JP (1) JPH0287266A (en)

Similar Documents

Publication Publication Date Title
JPS60140472A (en) Interactive controller for font pattern formation/correction/synthesis
JPS6340189A (en) Address conversion system
KR940022322A (en) Display method and device
JPH0287266A (en) Character output method
JPH05181454A (en) Display system, its control circuit, and display device
JPH0541998B2 (en)
JPS61160791A (en) Display unit
JPS605469B2 (en) galley printing system
JPS58115481A (en) Graphic generator
JPS58154885A (en) Character pattern generator
JPS62269192A (en) Rule generator/eraser
JPH0358899A (en) Conversion of writing brush graphic data
JP2549629B2 (en) Document creation device
JPS5824799B2 (en) Kanji output system
JPS61279888A (en) Character generator
JPS61194495A (en) Border display color control device
JPS63132281A (en) Character size enlargement conversion display control method
JPS58113981A (en) Screen memory control system
JPS6356551B2 (en)
JPS61156191A (en) Character output system
JPS6316364A (en) word processor
JPS63136278A (en) Repeated pattern generation method
JPS6347795A (en) Character pattern access method
JPS61156188A (en) Character output system
JPS61114295A (en) Character/graphic display