JPH0394323A - Document output device - Google Patents

Document output device

Info

Publication number
JPH0394323A
JPH0394323A JP1230414A JP23041489A JPH0394323A JP H0394323 A JPH0394323 A JP H0394323A JP 1230414 A JP1230414 A JP 1230414A JP 23041489 A JP23041489 A JP 23041489A JP H0394323 A JPH0394323 A JP H0394323A
Authority
JP
Japan
Prior art keywords
character
character string
information
document
character strings
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
JP1230414A
Other languages
Japanese (ja)
Inventor
Hiroshi Takakura
洋 高倉
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP1230414A priority Critical patent/JPH0394323A/en
Publication of JPH0394323A publication Critical patent/JPH0394323A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To improve the operability of the document output device by converting a character string in accordance with the deformation or modification information and displaying it responding to the combination direction of the designated character strings when the combination direction of the character strings displayed and outputted by the document information is designated and the deformation or the modification information is inputted to the character string. CONSTITUTION:The document output device is constituted of a CRT display part 1, a video memory 2, a display control part 3, a microprocessor 4, a main memory 5, a hard disk device 6, a bus 7, a keyboard 8, a pointing device 9, a printer 10, an image scanner 11, and a floppy disk device 12. When the combination direction of character strings for displaying document information is specified, the character strings are displayed responding to the direction, and when the deformation or modification information of respective characters of the character strings is specified, these character strings are converted responding to the combination direction of the character strings and the converted character strings are displayed. Consequently, the operation can be simplified.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、文字列を表示出力する文書出力装置に関し、
特に斜体などの変形や影などの修飾を施して表示出力す
る文書出力装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a document output device that displays and outputs character strings.
In particular, the present invention relates to a document output device that displays and outputs a display with modifications such as italics and shadows.

[従来の技術] 従来、ワードプロセッサ等の文字を取り扱う装置におい
ては、文字は具体的には入力された順に左から右に表示
される様に構成されている。縦組(縦書)を表示できる
装置でも単に上から下へ順次表示するにすぎない。また
、コンピュータグラフィックスにおいても、文字の表示
は、指示した領域に決められた順序で表示される。さら
に近年、これら装置において、表示出力される文字品位
や、その文字のデザインは出来上がった印刷物の価値を
左右するため、より高い文字品質で表示出力したいとい
う要望が強まってきている。印刷出力される文字解像度
に関してはレーザプリンタ等の高解像度装置の実現によ
り、かなり改善されてきている。また、文字デザインに
ついては、特開昭58−145986号及び特開昭60
−263189号公報に開示されている様に、改善され
つつあるが、これら文字デザインの指定は未だ文字単位
に止まっているのが現状である。また最近、文字をベク
トル化して記憶しておき、文字品位を劣化させずに変形
したり修飾出来る装置も実現されているが、文字変形の
自由度が大きいかわりにオペレータによる各種パラメー
タの指定操作が増加し、負担を強いている。
[Prior Art] Conventionally, devices that handle characters, such as word processors, are configured so that characters are displayed from left to right in the order in which they are input. Even on devices that can display vertical writing (vertical writing), the images are simply displayed sequentially from top to bottom. Furthermore, in computer graphics, characters are displayed in a designated area in a predetermined order. Furthermore, in recent years, there has been a growing demand for displaying and outputting characters with higher quality in these devices, since the quality of characters displayed and output and the design of the characters affect the value of the finished printed matter. The resolution of printed characters has been considerably improved by the realization of high-resolution devices such as laser printers. Regarding character design, please refer to JP-A-58-145986 and JP-A-60.
Although improvements are being made as disclosed in Japanese Patent No. 263189, the designation of these character designs is still limited to character units. Recently, devices have been realized that can store characters as vectors and transform or modify them without degrading the quality of the characters.However, although the degree of freedom in character transformation is large, it requires the operator to specify various parameters. increasing burden.

[発明が解決しようとする課題] このような従来の文字出力装置では、上述した問題点に
加え、出力される文字の並びに不具合が生じることがあ
る。例えば第13図(a)〜(c)に示す様に、横組(
横書)の文字列は左から右へ、また第13図(d)に示
す縦組(縦書)の文字列は上から下へ配列される。しか
し、第一l4図(a)に示す様に、横組で各文字を鏡像
反転した場合や、第l4図(a)に示す様に横組で各文
字を鏡像反転した場合や、第14図(b)の様に文字列
を90’回転させた場合には、文字配列が結果として逆
になり、文字を配列する時の原則と異なるため、文字の
変形あるいは修飾などを行う際、文字の入力を逆順に行
う必要があるという欠点があった・ また上述したように、従来の文字配列の変形や修飾を行
うことのできる文字表示装置では、基本的には文字単位
で斜体(傾き)の方向や変形量及び影の大きさ等を指定
しなければならなかった。
[Problems to be Solved by the Invention] In addition to the above-mentioned problems, in such conventional character output devices, problems may occur in the alignment of output characters. For example, as shown in Figures 13(a) to (c), horizontal writing (
Character strings in horizontal writing are arranged from left to right, and character strings in vertical writing (vertical writing) shown in FIG. 13(d) are arranged from top to bottom. However, as shown in Figure 14 (a), when each character is mirror-reversed in horizontal writing, or when each character is mirror-reversed in horizontal writing as shown in Figure 14 (a), If a character string is rotated 90' as shown in Figure (b), the character arrangement will be reversed as a result, which is different from the principle used when arranging characters. Therefore, when transforming or modifying characters, The disadvantage was that the characters had to be entered in the reverse order. Also, as mentioned above, in conventional character display devices that can transform and modify the character arrangement, basically italicization (slant) for each character The direction, amount of deformation, and size of the shadow had to be specified.

このため、第15図に示す様に文字配列状態を変えた場
合は、夫々の配列に応じて各文字に対し指定を行う必要
があり、操作上極めて煩わしいものであった。
For this reason, when the character arrangement state is changed as shown in FIG. 15, it is necessary to designate each character according to each arrangement, which is extremely troublesome in terms of operation.

本発明は上記従来例に鑑みてなされたもので、簡単な操
作で文字配列の組み方向を変更できると共に、組み方向
に応じた変形及び修飾の指定、変更を容易にした文書出
力装置を提供することを目的とする。
The present invention has been made in view of the above-mentioned conventional example, and provides a document output device that can change the direction of character arrangement with a simple operation, and can easily designate and change transformations and modifications according to the direction of arrangement. The purpose is to

[課題を解決するための手段] 上記目的を達或するために本発明の文書出力装置は以下
の様な構或からなる。即ち、 入力された文書情報或は図形情報を表示出力する文書出
力装置であって、前記文書情報の表示出力する文字列の
組み方向を指定する組み方向指定手段と、前記文字列に
対し、各文字の変形または修飾情報を入力する人力手段
と、前記組み方向指定手段により指定された文字列の組
み方向に対応して、前記変形または修飾情報に従って前
記文字列を変換して表示出力するように制御する制御手
段とを備える。
[Means for Solving the Problems] In order to achieve the above object, the document output device of the present invention has the following structure. That is, a document output device for displaying and outputting input document information or graphic information, comprising a composition direction specifying means for specifying a composition direction of a character string to be displayed and outputted in the document information; The character string is converted and displayed in accordance with the transformation or modification information in accordance with the character string composition direction specified by the manual means for inputting character transformation or modification information and the composition direction specifying means. and control means for controlling.

[作用] 以上の構成において、文書情報を表示出力するとき、文
書情報を表示出力する文字列の組み方向が指定されると
、その方向に対応して文字列を表示出力できる。また、
その文字列の各文字の変形または修飾情報が指定されて
いると、それら文字列の組み方向に対応して、それら文
字列を変換して表示出力することができる。
[Operation] In the above configuration, when displaying and outputting document information, if the direction in which a string of characters to display and output the document information is set is specified, the character string can be displayed and outputted in accordance with that direction. Also,
If transformation or modification information for each character of the character string is specified, the character strings can be converted and displayed and output in accordance with the direction in which the character strings are composed.

[実施例] 以下、添付図面を参照して本発明の好適な実施例を詳細
に説明する。
[Embodiments] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

第1図は本発明に係る一実施例の文字出力装置の概略構
成を示すブ、ロック図である。
FIG. 1 is a block diagram showing a schematic configuration of a character output device according to an embodiment of the present invention.

図に於いて、1はラスクスキャン表示方式で文字や画像
等を表示するCRT表示部、2は一画面分の表示パター
ン情報を記憶するビデオRAM(VRAM) 、3はV
RAM2に対するパターン情報の書き込み、CRTIへ
の読み出しの制御をする表示制御部である。5は第9図
に示す制御プログラムや文書データを格納するエリアを
有する主メモリ、4はマイクロプロセッサ(MPU)で
、この装置の主制御を行なう。MPU4には文字データ
等の入力を行なうキーボード8、及びCRTI上の位置
の指定を行い、図形データの入力編集等を行うボインテ
イングデバイス(PD)9が接続されている。6はハー
ドデイス・ク装置で、この中に文書ファイルや文字フォ
ント等が格納されている。10は作成された文書データ
を印刷出力するためのプリンタ、11は画像等のイメー
ジを読み込むためのイメージスキャナ、12は文書ファ
イル等の保存等を行うためのフロッピーディスク装置で
ある。これらの各構成ブロックは工/0バス7を介して
MPU4に接続されている。
In the figure, 1 is a CRT display unit that displays characters, images, etc. using the rask scan display method, 2 is a video RAM (VRAM) that stores display pattern information for one screen, and 3 is a VRAM.
This is a display control unit that controls writing of pattern information into the RAM 2 and reading from the CRTI. 5 is a main memory having an area for storing control programs and document data as shown in FIG. 9, and 4 is a microprocessor (MPU) which performs main control of the apparatus. Connected to the MPU 4 are a keyboard 8 for inputting character data, etc., and a pointing device (PD) 9 for specifying a position on the CRTI, inputting and editing graphic data, etc. Reference numeral 6 denotes a hard disk device in which document files, character fonts, etc. are stored. Reference numeral 10 denotes a printer for printing out created document data, reference numeral 11 an image scanner for reading images such as images, and reference numeral 12 a floppy disk device for storing document files and the like. Each of these constituent blocks is connected to the MPU 4 via an engineering/0 bus 7.

第2図は、本実施例の文字出力装置の機能ブロック図で
ある。
FIG. 2 is a functional block diagram of the character output device of this embodiment.

入力部13は、キーボード8あるいはハードディスク等
に相当しており、この入力部13より入力された文字デ
ータあるいはハードディスク6からの文字フォントデー
タ等がベージデータ格納部14に一時的に格納される。
The input unit 13 corresponds to the keyboard 8 or a hard disk, and character data inputted from the input unit 13 or character font data from the hard disk 6 are temporarily stored in the page data storage unit 14.

これら格納されたデータはページ構成部15に送られ、
配置、レイアウト等が決定される。それから、これらの
情報がページアドレステーブル16に送られ、文字コー
ド19及び変形、修飾情報20とともにキャラクタジエ
ネレータ17に出力される。
These stored data are sent to the page configuration section 15,
Arrangement, layout, etc. are determined. These pieces of information are then sent to the page address table 16 and output to the character generator 17 along with the character code 19 and transformation and modification information 20.

キャラクタジエネレータ(CG)17はページアドレス
テーブル16の内容に従って、表示部18に文字列を表
示出力する。上述したベージデータ格納部14、ページ
構成部15及びページアドレステーブル16は、主メモ
リ5(第1図)の制御プログラムにより設定され、デー
タの制御はMPU4によって行われる。
A character generator (CG) 17 outputs and displays a character string on a display unit 18 according to the contents of the page address table 16. The above-described page data storage section 14, page configuration section 15, and page address table 16 are set by a control program in the main memory 5 (FIG. 1), and data control is performed by the MPU 4.

第3図は第2図のキャラクタジエネレータ(CG)17
の機能を詳細に説明するためのブロック図である。
Figure 3 shows the character generator (CG) 17 in Figure 2.
FIG. 2 is a block diagram for explaining in detail the functions of FIG.

ページアドレステーブルl6から送られた文字コード1
9は、文字アドレステーブル21に入力される。文字ア
ドレステーブル21には、文字コード19に対応した、
ベクタフォント格納部22のフォントデータのアドレス
が記憶されている。これにより、入力された文字コード
19に応じたべクタフォントデー夕がアドレスされ、格
納部22より変形回路23に出力される。
Character code 1 sent from page address table l6
9 is input into the character address table 21. The character address table 21 includes the following information corresponding to the character code 19.
Addresses of font data in the vector font storage section 22 are stored. As a result, vector font data corresponding to the input character code 19 is addressed and output from the storage section 22 to the transformation circuit 23.

変形回路23では、ベクタフォントデータの座標データ
を、ページアドレステーブル16からの変形修飾情報2
0の変形情報に従って、例えば回転の場合はアフイン変
換等を施す。こうして変換された座標データは輪郭描画
部24に送られて、文字等の輪郭データが作成される。
The transformation circuit 23 transforms the coordinate data of the vector font data into transformation modification information 2 from the page address table 16.
According to the transformation information of 0, for example, in the case of rotation, an affine transformation or the like is performed. The coordinate data thus converted is sent to the outline drawing section 24, and outline data of characters and the like is created.

この作成された輪郭線は閉曲線で構成されており、文字
修飾部25により、それら輪郭線内部の塗りつぶし、更
には網点等の面種付け、また既に生成されている文字デ
ータに重ね合わせ等を行う。輪郭線内の塗り潰しの方法
は、特開昭53−41017に開示されている様な方法
で行うことができ、また面種付けや文字の重ね合わせに
ついては、特開昭61−23193に開示された方法を
用いることができる。
The created contour line is composed of closed curves, and the character modification section 25 fills in the inside of the contour line, adds area types such as halftone dots, and superimposes it on already generated character data. . The filling inside the outline can be done by the method disclosed in Japanese Patent Application Laid-Open No. 53-41017, and the area sorting and overlapping of characters can be done by the method disclosed in Japanese Patent Application Laid-Open No. 61-23193. A method can be used.

第4図はBスプライン方式により漢字「愛」をサンプル
したサンプル点からなるベクトルフォントデークを示す
図である。
FIG. 4 is a diagram showing a vector font deck consisting of sample points obtained by sampling the kanji character "ai" using the B-spline method.

図中、漢字「愛」のサンプル点を円形の小ドットで示し
、ここでは、5 1 2X5 1 2ドットのマトリク
ス内に配置されている。このように、ここでは輪郭線デ
ータが閉ループで構成されていることがわかる。なお上
述したBスプライン方式は、ある曲線区間の始点と終点
を支点に、サンプル点を頂点にした内側にスプラインを
生成させて作成するものである。
In the figure, sample points for the kanji character "ai" are shown as small circular dots, and here they are arranged in a matrix of 5 1 2 x 5 1 2 dots. In this way, it can be seen that the contour line data is composed of a closed loop. Note that the above-mentioned B-spline method is a method in which a spline is created using the starting point and end point of a certain curved section as fulcrum points, and creating a spline inside the sample point as the apex.

第5図はページアドレステーブル16の構成を示す図で
ある。
FIG. 5 is a diagram showing the structure of the page address table 16.

ページアドレステーブル16は、各ページ毎に或いは文
書データ、図形文字データ等、データの属性毎に個別に
作成される。また図形データの場合は、図形の各文字レ
コード毎に作成される。図形文字データの場合は、図形
データ中の属性情報を参照しながら作成される。図中y
a r X o・・・y.,x.は、行の先頭文字のy
座標とX座標である。
The page address table 16 is created individually for each page or for each attribute of data such as document data, graphic character data, etc. In the case of graphic data, it is created for each character record of the graphic. In the case of graphic character data, it is created while referring to the attribute information in the graphic data. y in the diagram
a r X o...y. , x. is the first character of the line, y
coordinates and X coordinates.

オフセット1。、・・・オフセット1lのそれぞれは、
行の先頭からのX座標のオフセット値である。これら各
オフセット値を対応するx0・・・XIに加えることに
より、各文字のX座標を求めることができる。また変修
l0、・・・変修1lのそれぞれは、各文字に対する変
形及び修飾に関する情報である。変形に関する情報には
、文字をx+ yに関しそれぞれどの位斜体をかけるか
、或いは長体率、平体率などが含まれる。また、修飾に
関する情報は、基本文字ブレーンや影部分のハツチング
指定、影の方向、大きさなどを含んでいる。
Offset 1. ,...Each of the offsets 1l is
This is the offset value of the X coordinate from the beginning of the line. By adding each of these offset values to the corresponding x0...XI, the X coordinate of each character can be determined. Further, each of the modifications 10, . . . , 11 is information regarding modification and modification of each character. The information regarding the transformation includes how much to italicize the characters in terms of x+y, the length ratio, the flat ratio, etc. Further, the information regarding the decoration includes the basic character brain, hatching designation of the shadow part, direction of the shadow, size, etc.

第6図は本実施例の一動作を説明するための図である。FIG. 6 is a diagram for explaining one operation of this embodiment.

いま第6図(a)に示す様に影(シャドウ)が右下側に
ついた文字列が左から右に組まれてCRT表示部1(第
1図)に表示されているものとする。ここで、組み方向
指定のファンクションを選択すると、CRT表示部1に
第6図(b)に示す組み方向メニューが表示される。い
ま例えば、ボインテングデバイス9によりカーソル63
を移動して、メニュー指定位置を現在の欄61(左から
右指定)から、欄62(右から左指定)に変更する。こ
の結果、第6図(c)に示す様に文字列が右から左に組
み直されると共に、各文字の影の方向も変わり、各文字
の左下側に付けられる。
Assume now that a character string with a shadow on the lower right side as shown in FIG. 6(a) is displayed on the CRT display unit 1 (FIG. 1), arranged from left to right. Here, when the function for designating the assembly direction is selected, the assembly direction menu shown in FIG. 6(b) is displayed on the CRT display section 1. For example, if the pointing device 9 moves the cursor 63
to change the menu specification position from the current column 61 (left to right specification) to column 62 (right to left specification). As a result, the character string is rearranged from right to left as shown in FIG. 6(c), and the direction of the shadow of each character also changes and is placed on the lower left side of each character.

第7図は本実施例の他の動作例を示す図である。第7図
(a)に示す様に、影が右下側に付された文字列が左か
ら右に組まれてCRT表示部1に表示されているものと
する。ここで、第6図の場合と同様に、組み方向指定の
ファンクションを選択するとCRT表示部1に第7図(
b)に示す組み方向メニューが表示される。ここで、ボ
インテイングデバイス9によりカーソル63を移動し、
メニュー指定位置を現在の欄61(左から右指定)から
欄64(中心点指定)に変更する。これにより、第7図
(c)に示す様に、例えば文字「う」を文字列の中心点
として指示すると、中心文字「う」からの向きと距離に
より、文字の変形・修飾の方向、量が決められ表示され
る。
FIG. 7 is a diagram showing another example of operation of this embodiment. As shown in FIG. 7(a), it is assumed that character strings shaded at the lower right side are displayed on the CRT display unit 1 in a manner arranged from left to right. Here, as in the case of FIG. 6, when the function for specifying the assembly direction is selected, the CRT display section 1 as shown in FIG.
The assembly direction menu shown in b) is displayed. Here, move the cursor 63 using the pointing device 9,
The menu specification position is changed from the current column 61 (left to right specification) to column 64 (center point specification). As a result, as shown in Fig. 7(c), for example, if the character "U" is specified as the center point of a character string, the direction and amount of character deformation/modification will be determined depending on the direction and distance from the center character "U". is determined and displayed.

第8図は第5図に示したアドレステーブル16の変修情
報を詳細に説明するための図である。
FIG. 8 is a diagram for explaining in detail modification information of the address table 16 shown in FIG. 5.

ここで、長体率、平体率は文字を横、或いは縦に縮小す
る度合(%)を示し、図示のように、“O”は100%
、“1″は50%などとして定義されている。X鏡像、
y鏡像はX方向、y方向への鏡像反転の有無(O:無、
1:有)を示すものである。X斜休方向、y斜体方向は
、斜体傾斜をかける方向を示し、例えば“O”は十側を
、“1”は一例を示している。X角度、y角度は斜体量
角度を示し、“O”のときはO0  “1゜゜のときは
10@というように規定されている。Xシャドウ方向、
yシャドウ方向はシャドウ影をかける方向を示し、例え
ば゛O”は十側を、“1゜゛は−側を示している。さら
に、Xシャドウ量、yシャドウ量は、シャドウの大きさ
を示す。また、シャドウ1面種、シャドウ2面種、シャ
ドウ3面種は。、最大3種類のシャドウ付されることを
示すもので、夫々シャドウの面種のハツチングパターン
の種類が格納されている。
Here, the long body ratio and flat body ratio indicate the degree (%) of reducing the character horizontally or vertically, and as shown in the figure, "O" is 100%.
, "1" is defined as 50%, etc. X mirror image,
The y mirror image is the presence or absence of mirror image reversal in the X direction and y direction (O: none,
1: Yes). The X diagonal direction and the y diagonal direction indicate the direction in which the diagonal is applied. For example, "O" indicates the tenth side, and "1" indicates an example. The X angle and y angle indicate the oblique amount angle, and are defined as O when it is “O” and 10 when it is 1°.
The y shadow direction indicates the direction in which a shadow is cast; for example, "O" indicates the 10th side, and "1°" indicates the - side. Furthermore, the X shadow amount and the y shadow amount indicate the size of the shadow. In addition, there are 1-sided shadow types, 2-sided shadow types, and 3-sided shadow types. , indicates that up to three types of shadows will be added, and the type of hatching pattern for each type of shadow surface is stored.

第9図は本実施例の文字出力装置における文字表示処理
を示すフローチャートで、本実施例の処理を実行する制
御プログラムは主メモリ5に記憶されている。
FIG. 9 is a flowchart showing character display processing in the character output device of this embodiment, and a control program for executing the processing of this embodiment is stored in the main memory 5.

まず、ステップS1でキーボード8などの入力部13よ
り、文書或は図形データを入力して、主メモリ5で構成
されたページデータ格納部l4に取り込む。次にステッ
プS2で、その入力されたデータをもとにページアドレ
ステーブル16を作る。次にステップS3に進み、ペー
ジアドレステーブル16の情報を参照しながら、この情
報で示される位置に、変形及び修飾情報を用いて文字列
をCRT表示部1に表示する。
First, in step S1, document or graphic data is inputted from the input section 13 such as the keyboard 8, and is taken into the page data storage section l4 constituted by the main memory 5. Next, in step S2, a page address table 16 is created based on the input data. Next, the process proceeds to step S3, and while referring to the information in the page address table 16, the character string is displayed on the CRT display unit 1 at the position indicated by this information using the transformation and modification information.

次にステップS4ではキーボード8あるいはPD9より
のキー人力を待ち、キー人力が有った場合は、その入力
に対応してステップS5,S6,S13.S14に分岐
する。ステップS4で文字列の選択が有った場合はステ
ップS5に進み、文字列の選択処理を行って文字列に対
する各種のファンクションを受付け可能状態にしてステ
ップS4に戻る。
Next, in step S4, a key input from the keyboard 8 or PD 9 is waited for, and if there is a key input, steps S5, S6, S13. The process branches to S14. If a character string is selected in step S4, the process advances to step S5, where a character string selection process is performed, and various functions for the character string can be accepted, and the process returns to step S4.

また、ステップS4でファンクションの入力が有った場
合はステップS6に進み、入力されたファンクションの
種類を調べ、例えば「組み方向」ファンクションの場合
はステップS7へ進み、文字列が選択状態か否かを判定
する。文字列が選択状態でなければステップS4へ戻る
。文字列が選択状態であればステップS8へ進み、「組
み方向」のファンクションの種類を調べる。ファンクシ
ョンが「左から右」ならステップS9で、例えば第6図
(a)に示すように、文字列の組み方向を左から右へ変
え、ファンクションが「右から左」ならステップSIO
で、例えば第6図(C)に示すように、文字列の組み方
向を右から左へ変える。また、ファンクションが「中心
点指定」ならステップSllで、例えば第7図(C)に
示すように、組み方向を中心点に変更し、ステップS4
へ戻る。
Further, if a function is input in step S4, the process proceeds to step S6, and the type of the input function is checked. For example, in the case of the "assembly direction" function, the process proceeds to step S7, and it is determined whether the character string is selected or not. Determine. If the character string is not selected, the process returns to step S4. If the character string is in the selected state, the process advances to step S8, and the type of function of "composition direction" is checked. If the function is "left to right", the direction of the character string is changed from left to right in step S9, for example, as shown in FIG. 6(a), and if the function is "right to left", step SIO
Then, for example, as shown in FIG. 6(C), the direction in which the character string is assembled is changed from right to left. Further, if the function is "specify center point", in step Sll, as shown in FIG. 7(C), the assembly direction is changed to the center point, and in step S4
Return to

一方、ステップS6でその他のファンクションと判定さ
れた場合はステップSl2へ進み、各ファンクションに
相当する処理を行いステップS4へ戻る。
On the other hand, if it is determined in step S6 that it is another function, the process advances to step Sl2, where processing corresponding to each function is performed, and the process returns to step S4.

また、ステップS4で文字入力である場合は、文字の新
規レコードの作成、挿入等の入力編集処理を行いステッ
プS4へ戻る。さらに、ステップS4で終了を示す入力
があればステップS14に進んで本処理を終了する。
If it is a character input in step S4, input editing processing such as creation and insertion of a new record of characters is performed and the process returns to step S4. Further, if there is an input indicating termination in step S4, the process advances to step S14 and the present process is terminated.

第IO図は第9図のステップS9(文字列を左から右に
組替える処理を、更に詳細に説明するフローチャートで
ある。
FIG. IO is a flowchart illustrating in more detail step S9 of FIG. 9 (processing for rearranging character strings from left to right).

ステップS15で現在の組み方向を調べ「左から右」で
あれば組み方が変わらないのでリターンへ移行する。現
在の文字列の組方向が「右から左」または「中心点指定
」であれば、ステップS16で各文字を左から順に組み
、変形及び/または修飾情報の方向を左から右にすると
共に、左端からのオフセット値を算出する。次にステッ
プS17へ進み、ページアドレステーブル16を更新し
、ステップ318でページアドレステーブル16の情報
を参照しながら、この情報で示される位置に、その情報
で示される変形・修飾情報を用いて文字を再表示した後
、メインルーチンにリターンする。
In step S15, the current assembly direction is checked and if it is "left to right", the assembly direction will not change, so the process moves to return. If the current character string composition direction is "right to left" or "center point specification", in step S16, each character is composed sequentially from the left, and the direction of the transformation and/or modification information is set from left to right. Calculate the offset value from the left edge. Next, the process advances to step S17 to update the page address table 16, and in step 318, while referring to the information in the page address table 16, a character is added to the position indicated by this information using the transformation/modification information indicated by that information. After redisplaying, return to the main routine.

第11図(A)は第9図のステップSIOの右から左へ
の組替え処理をさらに詳しく説明した詳細フローチャー
ト,第11図(B)は左から右の文字列「あいう」を、
右から左への組替える例を示した図である。
FIG. 11 (A) is a detailed flowchart explaining in more detail the right-to-left rearrangement process in step SIO in FIG.
FIG. 3 is a diagram showing an example of rearranging from right to left.

ステップS19で現在の組み方向を調べ「右から左」な
ら組み方が変わらないのでリターンへ移行する。それ以
外のときはステップS20に進み、「左から右」または
「中心点指定」ならば、与えられた文字列を使って変形
・修飾方向のみを右から左にして、左から順に組み込ん
で行く。次にステップS21で、文字列の左端(第11
図(B)のS.)から各文字の左端(S2 , Ss 
)までのオフセット値(S2 S+ ,S3−S,)を
求める。次にステップS22に進み、文字列の最後の文
字の右端(e3)のオフセット値を求める。そして、ス
テップS23でステップS21及びステップS22で算
出したオフセット値に基づき、文字列を逆から組んだ時
の開始オフセット値{e= − (S2−S+ )} 
,{e3−(S−S1)}を求める。ステップS24で
ページアドレスデータ16を更新し、ステップS25で
ページアドレステーブル16の情報を参照しながら、こ
の情報で示される位置、変形・修飾情報を用いてCRT
表示部1に文字列を再表示して、リターンする。
In step S19, the current assembly direction is checked and if it is "right to left", the assembly direction will not change, so the process moves to return. Otherwise, proceed to step S20, and if it is "left to right" or "center point specification", the given character string is used to set only the direction of transformation/modification from right to left, and incorporate it in order from the left. . Next, in step S21, the left end (the 11th
S. in figure (B). ) to the left end of each character (S2, Ss
) to find the offset value (S2 S+ , S3-S,). Next, the process proceeds to step S22, and the offset value of the right end (e3) of the last character of the character string is determined. Then, in step S23, based on the offset values calculated in steps S21 and S22, a starting offset value {e=−(S2−S+)} when the character string is assembled from the reverse is determined.
, {e3-(S-S1)}. In step S24, the page address data 16 is updated, and in step S25, while referring to the information in the page address table 16, the CRT is
The character string is redisplayed on the display unit 1 and the process returns.

第l2図(A)は第9図のステップSllの中心点指定
処理を示す詳細フローチャート、第12図(B)は左か
ら右の文字列「あいう」をもとに第12図(A)の処理
を説明した図である。
Figure 12 (A) is a detailed flowchart showing the center point designation process in step Sll in Figure 9, and Figure 12 (B) is a detailed flowchart showing the center point designation process in step Sll in Figure 9. It is a figure explaining processing.

まず、ステップS26で中心となる文字「い」を選ぶ。First, in step S26, the central character "i" is selected.

次にステップS27に進み、中心となる文字から判断し
て、その他の文字の変形・修飾の量、方向及び文字のピ
ッチを決める。ステップS28ではステップS27の結
果に基づいて文字列を組み、ステップS29で文字列の
左端(S,)からの、各文字のオフセット値(S,+w
,Sl +w,+Wt )を求める。次にステップS3
0に進んでページアドレステーブル16を更新し、ステ
ップS31でページアドレステーブル16の情報を参照
しながら、この情報で示される位置、変形・修飾情報を
用いて文字列を表示部1に再表示してリターンする。
Next, the process proceeds to step S27, where the amount and direction of deformation/modification of other characters and the pitch of the characters are determined based on the central character. In step S28, a character string is assembled based on the result of step S27, and in step S29, the offset value (S, +w
, Sl +w, +Wt). Next step S3
0 to update the page address table 16, and in step S31, while referring to the information in the page address table 16, the character string is redisplayed on the display unit 1 using the position and modification/modification information indicated by this information. and return.

なお、本実施例では、組み方向の切り換え動作と変形・
修飾方向の切り変え動作を連動させているが、それぞれ
単独で行うようにしてもよいことはもちるんである。
In addition, in this example, the switching operation of the assembly direction and the deformation/
Although the modification direction switching operations are linked, it is also possible to perform each operation independently.

また、中心点指定の場合、中心となる文字を選択するよ
うにしたが、現在の組み方向あるいは左から右に組んだ
時の文字列に対して任意の位置を指定して、その位置か
ら各文字に対する位置関係をもとに各種パラメータの設
定値を変更する様にしても良い。
In addition, when specifying the center point, the center character is selected, but you can also specify any position in the current writing direction or the character string when writing from left to right, and start each character from that position. The setting values of various parameters may be changed based on the positional relationship with respect to the characters.

また本実施例の中心点指定では、変形、修飾の向きも中
心点に向かう様にしているが、一定の規則を設けること
により任意の向きとすることができる。
In addition, in the center point designation of this embodiment, the direction of deformation and modification is also directed toward the center point, but it is possible to set it in any direction by setting a certain rule.

さらに、文字の変形例として斜体文字の場合を示し、文
字の修飾例として影シャドウを用いて説明したがこれら
に限定されるものではなく、種々の変形あるいは修飾が
可能である。
Further, although the case of italic characters is shown as an example of character modification, and the shadow is used as an example of character modification, the present invention is not limited to these, and various modifications or modifications are possible.

またさらに、文字列の組み方向として「左から右」、「
右から左」あるいはは「右上から左下」なと任意の組み
方向にできることは言うまでもない。
Furthermore, the character string composition direction is "left to right", "
It goes without saying that you can set it in any direction, such as "right to left" or "top right to bottom left."

以上説明したように本実施例によれば、簡単な操作で、
文字列の組み方向が変更でき、例えば900回転などで
組み方向に不具合が発生しても容易に変更することがで
きる。
As explained above, according to this embodiment, with a simple operation,
The direction in which the character string is assembled can be changed, and even if a problem occurs in the direction in which the character string is assembled, for example, at 900 rotations, it can be easily changed.

また、文字列の組み方向に関連して、各文字の変形・修
飾の指定または変更が簡単にできるという効果がある。
Another advantage is that it is possible to easily designate or change the transformation/modification of each character in relation to the direction in which the character string is composed.

更に文字列毎に変形、修飾操作を行うことができるので
、従来の一文字毎に異なる変形、修飾パラメータを設定
していた場合に比して操作が大巾に簡略化できる。
Furthermore, since transformation and modification operations can be performed for each character string, operations can be greatly simplified compared to the conventional case where different transformation and modification parameters were set for each character.

更にまた、中心点を指定することにより、一点から放射
する、或は一点に集中する文字列の変形・修飾が容易と
なり、種々の文字列の形,態が簡単に作成できる。
Furthermore, by specifying the center point, it is easy to transform and modify character strings that radiate from one point or are concentrated at one point, and various shapes and forms of character strings can be easily created.

[発明の効果] 以上説明したように本発明によれば、簡単な操作で文書
情報の配列の組み方向を変更できると共に、組み方向に
応じた各文字の変形及び修飾の指定、変更を容易にでき
る効果がある。
[Effects of the Invention] As explained above, according to the present invention, it is possible to change the composition direction of the arrangement of document information with a simple operation, and it is also possible to easily specify and change the transformation and modification of each character according to the composition direction. There is an effect that can be done.

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

第1図は本発明の一実施例における文字表示装置の概略
構成を示すブロック図、 第2図は本実施例の文字表示装置の機能ブロック図、 第3図は第2図のキャラクタジエネレー夕の詳細ブロッ
ク図、 第4図はBスプライン方式による文字のサンプル点を示
す図、 第5図は第2図のページアドレステーブルの構成を示す
図、 第6図及び第7図は本実施例による文字列の変換処理例
を説明するための図、 第8図は第2図のページアドレステーブルの変形、修飾
情報のデータ例を示す図、 第9図は本実施例の文字表示装置における処理を示すフ
ローチャート、 第10図は第9図のステップS9の左から右への組み換
え処理を示すフローチャート、第11図(A)は第9図
のステップSIOの右から左への組換え処理を示すフロ
ーチャート、第11図(B)は文字列を右から左への組
換える例を示す図、 第12図(A)は第9図のステップSllの中心点指定
処理を示すフローチャート、 第12図(B)は文字列の中心点指定処理例を示す図、 第13〜15図は従来の文字列の組み方を説明するため
の図である。 図中、1・・・CRT表示部、2・・・ビデオメモリ、
3・・・表示制御部、4・・・MPU,5・・・主メモ
リ、6・・・ハードディスク装置、7・・・バス、8・
・・キーボード、9・・・ボインティングデバイス、1
0・・・プリンタ、11・・・イメージスキャナ、13
・・・入力部、14・・・ページデータ格納部、15・
・・ページ構成部、16・・・ページアドレステーブル
、l7・・・キャラクタジエネレー夕、23・・・変形
回路、25・・・文字修飾部である。
FIG. 1 is a block diagram showing a schematic configuration of a character display device according to an embodiment of the present invention, FIG. 2 is a functional block diagram of a character display device according to this embodiment, and FIG. Figure 4 is a diagram showing character sample points using the B-spline method, Figure 5 is a diagram showing the configuration of the page address table in Figure 2, and Figures 6 and 7 are examples of this embodiment. Figure 8 is a diagram illustrating a modification of the page address table in Figure 2 and an example of modification information data. Figure 9 is a diagram illustrating an example of the character string conversion process of this embodiment. 10 is a flowchart showing the recombination process from left to right in step S9 in FIG. 9, and FIG. 11(A) shows the recombination process from right to left in step SIO in FIG. 11(B) is a flowchart showing an example of recombining character strings from right to left; FIG. 12(A) is a flowchart showing center point designation processing in step Sll of FIG. 9; B) is a diagram showing an example of character string center point designation processing, and FIGS. 13 to 15 are diagrams for explaining the conventional method of assembling character strings. In the figure, 1...CRT display section, 2...video memory,
3... Display control unit, 4... MPU, 5... Main memory, 6... Hard disk device, 7... Bus, 8...
・・Keyboard, 9 ・・Pointing device, 1
0...Printer, 11...Image scanner, 13
... input section, 14... page data storage section, 15.
. . . Page configuration portion, 16 . . . Page address table, l 7 . . . Character generator, 23 .

Claims (3)

【特許請求の範囲】[Claims] (1)入力された文書情報或は図形情報を表示出力する
文書出力装置であつて、 前記文書情報の表示出力する文字列の組み方向を指定す
る組み方向指定手段と、 前記文字列に対し、各文字の変形または修飾情報を入力
する入力手段と、 前記組み方向指定手段により指定された文字列の組み方
向に対応して、前記変形または修飾情報に従つて前記文
字列を変換して表示出力するように制御する制御手段と
、 を備えることを特徴とする文書出力装置。
(1) A document output device for displaying and outputting input document information or graphic information, comprising a composition direction specifying means for specifying a composition direction of a character string to be displayed and outputted in the document information, and for the character string, an input means for inputting transformation or modification information of each character; and a display output after converting the character string according to the transformation or modification information in accordance with the writing direction of the character string specified by the writing direction specifying means. A document output device characterized by comprising: a control means for controlling the output so as to perform the following steps.
(2)前記制御手段は前記組み方向指定手段により前記
文字列を逆方向に表示するように指示されると、前記文
字列の各文字の変形・修飾方向を前記文字列の組み方向
に対応して変更して表示出力するようにしたことを特徴
とする請求項第1項に記載の文書出力装置。
(2) When the control means is instructed by the writing direction specifying means to display the character string in the opposite direction, the control means changes the direction of transformation/modification of each character of the character string to correspond to the writing direction of the character string. 2. The document output device according to claim 1, wherein the document output device is configured to display and output the document after changing it.
(3)入力された文書情報或は図形情報を表示出力する
文書出力装置であつて、 前記文書情報の表示出力する文字列の組み方向を、前記
文字列の基準点に基づいて指定する指定手段と、前記文
字列に対し、各文字の変形または修飾情報を入力する入
力手段と、前記指定手段により指定された文字列の組み
方向及び前記変形または修飾情報に従つて前記文字列を
変換して表示出力するように制御する制御手段とを備え
ることを特徴とする文書出力装置。
(3) A document output device for displaying and outputting input document information or graphic information, comprising a specifying means for specifying the direction in which a character string to be displayed and outputted in the document information is assembled based on a reference point of the character string. and an input means for inputting transformation or modification information of each character for the character string, and converting the character string according to the direction in which the character string is assembled and the transformation or modification information specified by the designation means. 1. A document output device comprising: a control means for controlling display output.
JP1230414A 1989-09-07 1989-09-07 Document output device Pending JPH0394323A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1230414A JPH0394323A (en) 1989-09-07 1989-09-07 Document output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1230414A JPH0394323A (en) 1989-09-07 1989-09-07 Document output device

Publications (1)

Publication Number Publication Date
JPH0394323A true JPH0394323A (en) 1991-04-19

Family

ID=16907512

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1230414A Pending JPH0394323A (en) 1989-09-07 1989-09-07 Document output device

Country Status (1)

Country Link
JP (1) JPH0394323A (en)

Similar Documents

Publication Publication Date Title
US5159668A (en) Method and apparatus for manipulating outlines in improving digital typeface on raster output devices
JPS62123573A (en) Computer graphic apparatus and operation thereof
US5524198A (en) Character or graphic processing method and apparatus
JPH0481892A (en) Outline data processor
US5574842A (en) Document processing apparatus and method for generating a character or symbol pattern across a plurality of lines
JPH0687217B2 (en) Character pattern generation display device
JPH0394323A (en) Document output device
EP0469918B1 (en) Figure processing method
JPS63108388A (en) Image processor
JPH03213367A (en) Multicolor printer
JPH01128843A (en) Document processing apparatus
JPH0697387B2 (en) Character processing method
JP2912638B2 (en) Hierarchical vectorization of kanji fonts
JPS63217394A (en) Character contour line generation system
JPH049152B2 (en)
JP2737845B2 (en) Character processing method and apparatus
JP2001249656A (en) Character and graphic deformation processing device
JP3055306B2 (en) Data output device
JPH09179542A (en) Output method and device for character image data
JP2856604B2 (en) Character processor
JPH0239362A (en) Document processor
JPH06110442A (en) Character and figure processor and method for deforming character of figure
JP3040624B2 (en) Pattern generator
JP2803746B2 (en) Character processing method and apparatus
JP2998198B2 (en) Outline font creation device