JP2915413B2 - Character processing method and apparatus - Google Patents

Character processing method and apparatus

Info

Publication number
JP2915413B2
JP2915413B2 JP63188357A JP18835788A JP2915413B2 JP 2915413 B2 JP2915413 B2 JP 2915413B2 JP 63188357 A JP63188357 A JP 63188357A JP 18835788 A JP18835788 A JP 18835788A JP 2915413 B2 JP2915413 B2 JP 2915413B2
Authority
JP
Japan
Prior art keywords
character
display
area
deformation
display frame
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 - Fee Related
Application number
JP63188357A
Other languages
Japanese (ja)
Other versions
JPH0239363A (en
Inventor
洋 高倉
高裕 加藤
邦雄 瀬戸
昭史 白坂
正基 浜田
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 JP63188357A priority Critical patent/JP2915413B2/en
Publication of JPH0239363A publication Critical patent/JPH0239363A/en
Priority to US08/397,711 priority patent/US5574842A/en
Application granted granted Critical
Publication of JP2915413B2 publication Critical patent/JP2915413B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は文字や図形等のフオンドデータを、例えば組
版データ等に基づいて展開表示エリア内に表示する文字
処理方法及びその装置に関するものである。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character processing method and apparatus for displaying found data such as characters and figures in a development display area based on, for example, typesetting data.

[従来の技術] 従来、この種の装置、例えばワードプロセツサ等にお
いて所定の枠内に文書を作成して表示するときは、オペ
レータから入力される書式や枠等により認定されたエリ
ア内に、入力された文字コードに対応する表示用の文字
フオントを展開してパターン表示するように構成されて
いる。
2. Description of the Related Art Conventionally, when a document is created and displayed in a predetermined frame on a device of this type, for example, a word processor or the like, an area specified by a format, a frame, or the like input by an operator includes: A display font corresponding to the input character code is developed and displayed in a pattern.

また、このような装置には、表示される文字を白抜き
にしたり反転させたりできるとともに、その文字の形状
を斜体表示したり影を付ける(シャドウ表示)等の表示
データの変更をできるようにしたものもある。
In addition, such a device can change the display data such that the displayed character can be outlined or inverted, and the character can be displayed in italics or shaded (shadow display). Some have done it.

[発明が解決しようとしている課題] ところが、前述したように表示エリア内に表示されて
いる文字を斜体表示したいとき、文字のみを斜体表示に
しただけでは表示枠とのバランスが悪いので、文字の斜
体させた角度に合せて表示枠も傾ける必要がある。また
逆に、表示枠を所定角だけ傾けたいときに、その枠内に
表示されている文字がそのままである枠と文字とのバラ
ンスが悪くなるため、文字も同様に斜体表示にする必要
がある。しかし、このような斜体表示処理は文字とその
表示エリアを示す枠のそれぞれに対して別々に行わなば
ならないため、操作が面倒であるとともに、文字の斜体
角度と表示エリアを示す枠表示との斜体角度を一致させ
るのが極めてむずかしかつた。
[Problems to be Solved by the Invention] However, as described above, when it is desired to display characters displayed in the display area in italics, it is difficult to display only characters in italics because the balance with the display frame is poor. The display frame also needs to be tilted according to the angle at which italic is used. Conversely, when it is desired to incline the display frame by a predetermined angle, the balance between the frame and the character in which the character displayed in the frame remains as it is is poor, so that the character also needs to be displayed in italics. . However, such an italic display process must be performed separately for each of the character and the frame indicating the display area, so that the operation is cumbersome, and the display of the italic angle of the character and the frame indicating the display area is not easy. It was extremely difficult to match italic angles.

また、表示枠が操作後に目に見える形で表示するしな
いに拘らず、変形の方法は変形の係数をパラメータ設定
としてキーボードから入力しなければならず、操作に慣
れないとなかなか思い通りのパラメータ設定ができず、
つまりは思い通りの文字変形を行うのがむずかしかつ
た。
Regardless of whether or not the display frame is displayed in a visible form after the operation, the transformation method requires inputting the coefficient of the transformation as a parameter setting from the keyboard. I ca n’t,
In other words, it was difficult to perform the desired character transformation.

本発明は上記従来例に鑑みてなされたもので、表示枠
の1つの頂点を移動させる指示に基づいて、その表示枠
を任意の形に変形でき、その表示枠の内部の文字もその
表示枠の変形に対応して任意の形に変形できる文字処理
方法及びその装置を提供することを目的とする。
The present invention has been made in view of the above conventional example, and based on an instruction to move one vertex of a display frame, the display frame can be deformed into an arbitrary shape, and characters inside the display frame are also displayed in the display frame. It is an object of the present invention to provide a character processing method and a character processing apparatus which can be transformed into an arbitrary shape in response to the above-mentioned transformation.

[課題を解決するための手段] 上記目的を達成するために本発明の文字処理装置は以
下のような構成を備える。即ち、 入力された文字データに対応するベクトルフォントデ
ータに基づく文字パターンを表示する表示手段と、 前記文字パターンの表示枠の1つの頂点を移動させる
指示に基づき、前記表示枠の他の頂点を移動させること
なく当該1つの頂点を移動させることにより前記表示枠
の形状を変形する変形手段と、 前記変形手段により変形される表示枠の形状に従って
前記ベクトルフォントデータを変更し、変更されたベク
トルフォントデータに基づく文字パターンを前記表示手
段に表示させる手段とを有することを特徴とする。
[Means for Solving the Problems] In order to achieve the above object, a character processing device of the present invention has the following configuration. Display means for displaying a character pattern based on vector font data corresponding to the input character data; and moving another vertex of the display frame based on an instruction to move one vertex of the display frame of the character pattern. Deforming means for changing the shape of the display frame by moving the one vertex without causing the change, and changing the vector font data in accordance with the shape of the display frame deformed by the deforming means; Means for displaying a character pattern based on the display means on the display means.

また上記目的を達成するために本発明の文字処理方法
は以下のような工程を備える。即ち、 入力された文字データに対応するベクトルフォントに
基づく文字パターンを表示手段に表示させる工程と、 前記文字パターンの表示枠の1つの頂点を移動させる
指示に基づき、前記表示枠の他の頂点を移動させること
なく当該1つの頂点を移動させることにより前記表示枠
の形状を変形する変形工程と、 前記変形工程により変形される表示枠の形状に従って
前記ベクトルフォントデータを変更し、変更されたベク
トルフォントデータに基づく文字パターンを前記表示手
段に表示させる工程とを有することを特徴とする。
To achieve the above object, the character processing method of the present invention includes the following steps. That is, a step of displaying a character pattern based on a vector font corresponding to the input character data on a display means, and, based on an instruction to move one vertex of the display frame of the character pattern, the other vertex of the display frame is displayed. A deforming step of deforming the shape of the display frame by moving the one vertex without moving, and changing the vector font data according to the shape of the display frame deformed by the deforming step; Displaying a character pattern based on data on the display means.

[作用] 以上の構成において、入力された文字データに対応す
るベクトルフォントデータに基づく文字パターンを表示
手段に表示させ、その表示枠の1つの頂点を移動させる
指示に基づき、その表示枠の他の頂点を移動させること
なく当該1つの頂点を移動させることによりその表示枠
の形状を変形し、その変形される表示枠の形状に従って
ベクトルフォントデータを変更し、変更されたベクトル
フォントデータに基づく文字パターンを表示手段に表示
させるように動作する。
[Operation] In the above configuration, a character pattern based on the vector font data corresponding to the input character data is displayed on the display means, and based on an instruction to move one vertex of the display frame, another character is displayed. By moving the one vertex without moving the vertex, the shape of the display frame is deformed, the vector font data is changed according to the shape of the deformed display frame, and the character pattern based on the changed vector font data is changed. On the display means.

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

[文書処理装置の説明 (第1図)] 第1図は実施例の文字処理装置の機能ブロツク図であ
る。
[Description of Document Processing Apparatus (FIG. 1)] FIG. 1 is a functional block diagram of the character processing apparatus of the embodiment.

図において、10は入力されて表示される文字の表示枠
を指示する展開エリア指示部で、この指示はオペレータ
によりキーボードやマウス等を使用して行われる。パタ
ーン展開部11は文字コード15を入力すると、対応するパ
ターンデータが格納されているフオントメモリから対応
するフオントデータを読出し、展開エリア指示部10によ
り指示された表示エリア内にパターン展開する。12は展
開エリア変更部で、展開エリア指示部10により指示され
た表示エリアの形状を、キーボードやマウス等により変
形する。こうして展開エリアの形状が変形されると、パ
ターン変形部13でその表示エリア内の文字パターンがそ
の表示エリアの変形量に対応して変形される。14はこう
して変形された文字パターンを表示エリアに割り付けて
表示する変形文字割付部である。
In the figure, reference numeral 10 denotes a development area instructing unit for instructing a display frame of characters to be input and displayed, and this instruction is performed by an operator using a keyboard, a mouse, or the like. Upon input of the character code 15, the pattern developing unit 11 reads out the corresponding font data from the font memory storing the corresponding pattern data, and develops the pattern in the display area designated by the development area designating unit 10. Reference numeral 12 denotes a development area change unit that changes the shape of the display area specified by the development area instruction unit 10 using a keyboard, a mouse, or the like. When the shape of the development area is deformed in this manner, the character pattern in the display area is deformed by the pattern deformation unit 13 in accordance with the deformation amount of the display area. Reference numeral 14 denotes a modified character allocating unit that allocates and displays the character pattern thus modified in the display area.

[文書処理装置の説明 (第2図)] 第2図はこの発明の一実施例の文書処理装置の概略構
成を示すブロツク図である。
[Explanation of Document Processing Apparatus (FIG. 2)] FIG. 2 is a block diagram showing a schematic configuration of the document processing apparatus according to one embodiment of the present invention.

図において、100はこの文書処理装置全体を制御する
制御部であり、マイクロコンピユータ等のCPU101、CPU1
01の制御プログラムや各種データ等を記憶しているROM1
02、CPU101のワークエリアとして各種データの一時保存
を行うとともに、入力された文書データや後述する枠情
報等を記憶するRAM103等を含んでいる。また、104は文
字コードに対応してフオントデータを記憶しているフオ
ントメモリで、このフオントメモリ104のフオントデー
タはドツトパターンフオントであつても良く、またベク
トルフオントデータであつても良い。105はマウス113や
キーボード112等により指示された、CRT110上における
文字等の表示枠情報を記憶している枠記憶部である。
In the figure, reference numeral 100 denotes a control unit that controls the entire document processing apparatus, and includes a CPU 101 and a CPU 1 such as a microcomputer.
ROM1 that stores the control program and various data of 01
02. It includes a RAM 103 for temporarily storing various data as a work area of the CPU 101, and for storing input document data, frame information described later, and the like. A font memory 104 stores font data corresponding to character codes. The font data of the font memory 104 may be dot pattern fonts or vector font data. A frame storage unit 105 stores display frame information such as characters on the CRT 110 specified by the mouse 113, the keyboard 112, and the like.

110はCRT表示部で、ビデオメモリ111に格納されたド
ツト情報に対応した画像を表示し、入力された文書情報
やオペレータへのメツセージや制御データ等を表示して
いる。112は文書情報やオペレータによる制御情報等を
入力するキーボード、113はCRT110でカーソル等を移動
させ、アイコン等のコマンドイメージを指示してコマン
ドを入力したり、画面上での座標位置を指定して、文字
等の表示エリアを指示することができるマウス等のポン
インテイング・デバイスである。114は例えばレーザビ
ーム等のプリンタ、115はプリンタ114と制御部100との
間でインターフエース制御を実施するインターフエース
部である。116は文字等のイメージデータを格納するイ
メージメモリで、キーボード112やマウス113等から出力
される命令によつてプリンタ114等に出力されて像形成
される。
Reference numeral 110 denotes a CRT display unit which displays an image corresponding to the dot information stored in the video memory 111, and displays input document information, messages to the operator, control data, and the like. 112 is a keyboard for inputting document information and control information by an operator, 113 is a CRT 110 for moving a cursor or the like, pointing to a command image such as an icon and inputting a command, or specifying a coordinate position on a screen. , A pointing device such as a mouse capable of indicating a display area for characters and the like. Reference numeral 114 denotes a printer for, for example, a laser beam, and reference numeral 115 denotes an interface unit that performs interface control between the printer 114 and the control unit 100. Reference numeral 116 denotes an image memory for storing image data such as characters and the like, which is output to a printer 114 or the like in accordance with a command output from a keyboard 112, a mouse 113 or the like to form an image.

117はこの実施例におけるパターン変形部13や展開エ
リア変更部12として使用されるビツト・マニユピレーシ
ヨン・ユニツト(BMU)で、ビデオメモリ111やイメージ
メモリ116やRAM103相互間のデータ転送をCPU101を介在
させることなくDMA転送できる。またこの転送に際し、
ビツト単位での論理演算や展開された図形の変倍や回
転、斜体表示等を実行することができる。また、BMU117
はCRT110に展開表示された任意の文字列及び表示エリア
等に対する、ポインテイング・デバイス113より変形指
示が入力されると、その指示に対応して表示枠や文字等
を変形して表示することができる。
Reference numeral 117 denotes a bit management unit (BMU) used as the pattern deformation unit 13 and the development area change unit 12 in this embodiment, and transfers data between the video memory 111, the image memory 116, and the RAM 103 to the CPU 101. DMA transfer is possible without any intervention. In this transfer,
It is possible to execute logical operation in units of bits, zooming and rotation of an expanded figure, and display in italics. Also, BMU117
When a transformation instruction is input from the pointing device 113 to an arbitrary character string and display area expanded on the CRT 110, the display frame and characters can be transformed and displayed in accordance with the instruction. it can.

[表示エリア枠の説明 (第3図〜第5図)] 第3図はこの実施例における文字等の表示エリア(展
開エリア)を示す図である。
[Explanation of Display Area Frame (FIGS. 3 to 5)] FIG. 3 is a view showing a display area (expansion area) of characters and the like in this embodiment.

21は文字展開エリアを示し、この表示エリアは、例え
ばポインテイングテバイスで表示すべき場所に矩形の対
角線の端点を指示することで指示できる。22はこの展開
エリアの展開開始アドレスを示し、この展開開始アドレ
スから所定の文字パターンがこの文字展開エリア21に展
開される。
Reference numeral 21 denotes a character development area. This display area can be designated by designating, for example, a point on a diagonal line of a rectangle at a place to be displayed by a pointing device. Reference numeral 22 denotes a development start address of the development area, and a predetermined character pattern is developed in the character development area 21 from the development start address.

第4図はこの展開エリアの変形処理を示す図で、第4A
図は変形前の展開エリアを示し、開始アドレスB0(0,
0)を基準として、アドレスB1〜B3により定義されてい
る。
FIG. 4 is a diagram showing a process of transforming the development area.
The figure shows the development area before deformation, and the start address B0 (0,
0) is defined by addresses B1 to B3.

第4B図において、32〜34はそれぞれ変形された変形展
開エリアを示し、各変形エリアはアドレスB01〜B31で定
義されている。また、変形展開エリア35は、変形エリア
32をアドレスPB0にシフトした状態を示し、ここでは変
形エリア32に対応した変形エリアを示しているが、他の
変形エリア33、34に対しても同様に設定できる。なお、
ここでは変形エリア35は、展開エリア31に対してくい込
み量と外れ量との比が1:1になるように変形した例を示
している。
In FIG. 4B, 32 to 34 indicate deformed and developed areas, respectively, and the deformed areas are defined by addresses B01 to B31. The deformation development area 35 is a deformation area.
The figure shows a state in which 32 is shifted to the address PB0. Here, a deformed area corresponding to the deformed area 32 is shown, but the same can be set for other deformed areas 33 and 34. In addition,
Here, an example is shown in which the deformation area 35 is deformed so that the ratio between the amount of penetration and the amount of departure is 1: 1 with respect to the development area 31.

この変形動作を説明すると、ポインテイング・デバイ
ス113より変形定義画面表示(メニユー画面表示)を指
示し、変形する表示エリアを指示する。そして、RAM103
の変形パラメータ記憶領域に出力サイズポイントとなる
サイズパラメータ、斜体角度となる斜体パラメータをセ
ツトする。次いで、キーボード112より文字コードが入
力されると、入力されている表示エリアに対応してパタ
ーン展開してその文字パターンをCRT装置110に表示す
る。
The deformation operation will be described. The pointing device 113 instructs a deformation definition screen display (menu screen display) and a display area to be deformed. And RAM103
A size parameter as an output size point and an italic parameter as an italic angle are set in the deformation parameter storage area. Next, when a character code is input from the keyboard 112, the character pattern is developed corresponding to the input display area and the character pattern is displayed on the CRT device 110.

このとき、標準枠となる変形前エリア31は開始アドレ
スB1〜B3により定義されており、入力された斜体パラメ
ータに基づいて変形エリア32〜35が定義される。なお、
変形エリア35の変形文字の出力ポジシヨンPB0、即ち、
変形エリア35のシフトされるオフセツト量Δxは、 但し、B01(x)=0なので、上記式の内容は、Δx
=−B11(x)/2となる。
At this time, the pre-deformation area 31 serving as the standard frame is defined by the start addresses B1 to B3, and the deformation areas 32 to 35 are defined based on the input italic parameters. In addition,
The output position PB0 of the deformed character in the deformed area 35, that is,
The offset amount Δx by which the deformation area 35 is shifted is However, since B01 (x) = 0, the content of the above equation is Δx
= −B11 (x) / 2.

なお、この展開エリア31の変形処理は、変形定義画面
を表示して行うように説明したが、例えば第4A図のアド
レスB2で示された点をマウス113でクリツクして指示
し、この点を例えば第4B図のアドレスB21で示された点
まで移動して再びクリツクすることにより、第4B図のよ
うに変形するようにしても良い。
Although the transformation processing of the development area 31 has been described as being performed by displaying the transformation definition screen, for example, a point indicated by the address B2 in FIG. 4A is designated by clicking with the mouse 113, and this point is designated. For example, by moving to the point indicated by the address B21 in FIG. 4B and clicking again, the deformation may be made as shown in FIG. 4B.

[展開エリアの変形に伴なう文字パターンの変形処理の
説明 (第5図〜第6図)] 以下、ベクタフオントの場合における文字パターンの
変形処理を説明する。
[Explanation of Character Pattern Deformation Processing Associated with Expansion Area Deformation (FIGS. 5 and 6)] Hereinafter, character pattern deformation processing in the case of a vector font will be described.

第5図は展開エリアの形状を変形させた時の例を示す
図で、この展開エリアは一般の入力済み図形に対する変
形操作と同様に、例えばポインテイング・デバイスを用
いて視覚的に変形部位と変形量とを指示したり、キーボ
ード等から数値として入力しても良い。展開エリア41内
に表示された文字[字]が、変形エリア42で示すように
横にdxだけずらされて斜体に変形されることにより、文
字「字」も同様に斜体に変形されている。
FIG. 5 is a diagram showing an example in which the shape of the development area is deformed, and this development area is visually identified as a deformed part using, for example, a pointing device, similarly to a deformation operation on a general input figure. The amount of deformation may be instructed or input as a numerical value from a keyboard or the like. As the character [character] displayed in the development area 41 is laterally shifted by dx as shown in the deformation area 42 and is deformed into italic, the character "character" is similarly deformed into italic.

第6図はBスプライン方式により漢字「愛」をサンプ
ルしたサンプル点からなるアウトラインデータを示す図
である。
FIG. 6 is a diagram showing outline data consisting of sample points obtained by sampling a kanji character "Ai" by the B-spline method.

図において、文字「愛」のサンプル点を円形の小ドツ
トで示し、ここでは512×512ドツトのマトリクス内に配
置されている。そして、ここで各アウトラインデータは
閉ループで構成されている。Bスプラインはある曲線区
間の始点と終点を支点に、サンプル点を頂点にした内側
にスプラインを生成させるようにして作成されている。
In the figure, the sample points of the character "Love" are indicated by small circular dots, and are here arranged in a matrix of 512 × 512 dots. Here, each outline data is configured in a closed loop. The B-spline is created such that a spline is generated inside a sample point as a vertex with the start point and the end point of a certain curve section as fulcrums.

第7図は実施例のベクタフオントデータの一例を示す
図で、50はJISコードやベクタフオントデータサイズ、
輪郭線等のデータを格納している制御情報部、71〜73で
示した欄は各サンプル点の座標値及び属性フラグを記憶
しているサンプルデータエリアである。この属性エリア
には、そのサンプル点が曲線区間か、曲線区間の始点或
いは終点等を示す情報が格納されている。
FIG. 7 is a diagram showing an example of vector font data according to the embodiment.
The control information section storing data such as contour lines, and the fields indicated by 71 to 73 are sample data areas storing coordinate values of respective sample points and attribute flags. This attribute area stores information indicating whether the sample point is a curved section, the start point or end point of the curved section, and the like.

従つて、この文字フオントデータが読出されてRAM103
に格納されており、この文字パターンが展開される展開
エリアが、例えば第5図のように変形されたときは、RA
M103に格納されている、ベクタフオントのX座標のそれ
ぞれに、第5A図の三角形43の各y座標に対応したx方向
の長さを加えた後、このベクタフオントをパターン展開
すれば容易に第5A図の斜体文字が得られる。
Therefore, the character font data is read out and read from the RAM 103.
When the development area where this character pattern is developed is transformed as shown in FIG.
After adding the length in the x direction corresponding to each y coordinate of the triangle 43 in FIG. 5A to each of the X coordinates of the vector font stored in M103, the vector font can be easily expanded by pattern development. The italic characters shown in Figure 5A are obtained.

また同様に、第4B図の34のような変形エリア34のとき
は、B2に対するB21の偏位により得られる(これはB2の
アドレスとマウス等で指示されたB21の(x,y)座標値よ
り求められる)三角形36と37により、各x座標、y座標
に対する、y方向或いはx方向の偏位量を求め、この偏
位量を第7図に示す(X,Y)座標値にそれぞれ加算する
ことにより、対応する斜体パターンを作成できる。
Similarly, in the case of a deformed area 34 as shown in FIG. 4B, the displacement of B21 with respect to B2 is obtained (this is the address of B2 and the (x, y) coordinate value of B21 specified by a mouse or the like). From the triangles 36 and 37), a deviation amount in the y direction or the x direction with respect to each x coordinate and y coordinate is obtained, and this deviation amount is added to the (X, Y) coordinate values shown in FIG. By doing so, a corresponding italic pattern can be created.

展開エリアの頂点90をΔx移動して頂点91に変形する
場合は、展開エリア内の点(x,y)を(x+αxy,y)
(αは定数)へ写像してやれば良い。例えば、第5B図の
場合は、αをα=Δx/whとすれば、第5C図のような変形
が得られる。
When moving the vertex 90 of the development area by Δx and transforming it to the vertex 91, change the point (x, y) in the development area to (x + αxy, y)
(Α is a constant). For example, in the case of FIG. 5B, if α is set to α = Δx / wh, a deformation as shown in FIG. 5C is obtained.

[展開エリアの変形処理の説明 (第8図)] 第8図はこの実施例の文書処理装置の制御部100によ
る展開エリアの変形処理を示すフローチヤートで、この
処理を実行するCPU101の制御プログラムは制御部100のR
OM102に格納されている。
[Explanation of Expansion Area Deformation Processing (FIG. 8)] FIG. 8 is a flowchart showing expansion area deformation processing by the control unit 100 of the document processing apparatus according to the present embodiment, and a control program of the CPU 101 executing this processing. Is the R of the control unit 100
It is stored in OM102.

このプログラムはキーボード112やマウス113よりの入
力により開始され、ステツプS1で入力されたCRT110上の
アドレス値或いは定義画面による指示等によりCRT110上
での展開エリアが指示される。ステツプS2ではこの展開
エリア内に表示される文字列が入力されるとステツプS3
に進み、入力された文字列をフオントメモリ104を参照
してパターン展開し、ビデオメモリ111に格納してCRT11
0に表示する。このとき、この展開エリアの大きさに対
応して、入力された文字列が拡大或いは縮小して表示さ
れる。
This program is started by an input from the keyboard 112 or the mouse 113, and a development area on the CRT 110 is specified by an address value on the CRT 110 input in step S1 or an instruction on a definition screen. In step S2, when the character string displayed in this development area is input, step S3
Then, the input character string is subjected to pattern expansion with reference to the font memory 104, stored in the video memory 111, and
Display at 0. At this time, the input character string is displayed enlarged or reduced according to the size of the development area.

ステツプS4でキーボード112やマウス113により、CRT1
10に表示されている展開エリアの変形情報が入力されか
を調べ、入力されたときはステツプS5に進み、第4図に
示すように展開エリアを指示された形に変形して表示す
る。ステツプS6ではこの展開エリアの変形量に従つて、
そのエリア内の文字の形を変形させる。ここでは、前述
の第5図を基に説明したようにしてフオントデータを変
更し、ステツプS7でそのフオントデータを基にパターン
データに展開してCRT110に表示する。
In step S4, CRT1
It is checked whether or not the transformation information of the development area displayed in 10 has been input. If the transformation information has been inputted, the process proceeds to step S5, where the development area is transformed and displayed in the designated form as shown in FIG. In step S6, according to the deformation amount of this development area,
Change the shape of the characters in that area. Here, the font data is changed as described with reference to FIG. 5 described above, and in step S7, the data is developed into pattern data based on the font data and displayed on the CRT 110.

ステツプS8では、オペレータによりその展開エリアの
変形処理が終了したことを示す指示が入力されるのを待
ち、終了指示が入力されれば処理を終了するが、オペレ
ータが例えばその変形で満足できず、再度変形処理を行
いたいときはステツプS4に戻り、前述した動作を実行す
る。
In step S8, the process waits for the operator to input an instruction indicating that the deformation processing of the development area has been completed. If the end instruction is input, the process ends. However, the operator is not satisfied with the deformation, for example. If it is desired to perform the deformation process again, the process returns to step S4, and the above-described operation is performed.

なお、この実施例では文字のフオントデータがベクタ
フオントの場合で説明したがこれに限定されるものでな
く、通常のドツトイメージのドツトパターンデータであ
つても良く、この場合にもBMU117によりパターンデータ
の回転や変形処理等が実行される。また、展開エリア内
の文字は1文字でなく、複数の文字列で構成されていて
も良い。
In this embodiment, the case where the font data of a character is a vector font has been described.However, the present invention is not limited to this. The dot pattern data of a normal dot image may be used. Rotation, deformation processing, and the like are performed. The characters in the development area are not limited to one character, and may be composed of a plurality of character strings.

また更にこの実施例では、展開エリア内に既に表示さ
れている文字列を、展開エリアの変形に従つて変形する
ように説明したが、既に指定され、表示されている展開
エリアが、第4B図のように変形されているとき、そこに
入力された文字列が最初からこの展開エリアの変形に対
応して、例えば斜体等で表示されるようにもできる。
Further, in this embodiment, the description has been made such that the character string already displayed in the expansion area is deformed according to the deformation of the expansion area. , The character string input there may be displayed in, for example, italics in correspondence with the deformation of the development area from the beginning.

以上説明したようにこの実施例によれば、文字列を表
示する展開エリアを指示し、その展開エリアの形状を変
更することにより、その中に表示される文字列をその展
開エリアの形状に対応して変形して表示できる。これに
より、文字のデザインの変更や斜体表示指示等が簡単に
できる効果がある。
As described above, according to this embodiment, a character string to be displayed is specified according to the shape of the expanded area by designating the expanded area for displaying the character string and changing the shape of the expanded area. Can be transformed and displayed. As a result, there is an effect that the design of the character can be easily changed and italic display instruction can be easily performed.

また、この実施例では、アフイン変換に基づく変形で
説明してあるが、正方形から台形の変形等、他の変形に
も応用可能である。
Further, in this embodiment, the modification based on the affine transformation has been described, but the invention can be applied to other modifications such as a modification from a square to a trapezoid.

また、他の実施例として、第9図に示すように与えら
れた図形に文字列を流し込み、1文字、1文字の変形パ
ターンを、例えば文字数による辺の均等分割により定
め、文字列の変形を行うことも可能である。
As another embodiment, as shown in FIG. 9, a character string is poured into a given figure, and a deformation pattern of one character and one character is determined by, for example, equal division of a side by the number of characters, and the deformation of the character string is performed. It is also possible to do.

[発明の効果] 以上説明したように本発明によれば、表示枠の1つの
頂点を移動させる指示に基づいてその表示枠を任意の形
に変形でき、その表示枠の内部の文字もその表示枠の変
形に対応して任意の形に変形できるという効果がある。
[Effects of the Invention] As described above, according to the present invention, a display frame can be deformed into an arbitrary shape based on an instruction to move one vertex of the display frame, and characters inside the display frame are also displayed. There is an effect that it can be deformed to an arbitrary shape corresponding to the deformation of the frame.

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

第1図は実施例の文書処理装置の機能ブロツク図、 第2図は実施例の文書処理装置の概略構成を示すブロツ
ク図、 第3図は表示用枠を示す図、 第4A図は変形されない表示用枠を示す図、 第4B図は表示枠の変形例を示す図、 第5A図及び第5C図は実施例による表示枠の変形に伴なう
文字の変形を示す図、 第5B図は頂点の移動に伴なう表示エリアの変形例を示す
図、 第6図はBスプライン方式による文字のサンプル点を示
す図、 第7図は実施例のベクタフオントデータの1例を示す
図、 第8図は実施例の文書処理装置における表示枠の変形処
理を示すフローチヤート、そして 第9図は他の実施例の文字列の変形例を示す図である。 図中、10……展開エリア指示部、11……パターン展開
部、12……展開エリア変更部、13……パターン変形部、
14……変形文字割付部、15……文字データ、50……制御
情報、53……属性フラグ、100……制御部、101……CP
U、102……ROM、103……RAM、104……フオントメモリ、
105……枠記憶部、110……CRT、111……ビデオメモリ、
112……キーボード、113……マウス、114……プリン
タ、115……インターフエース部、116……イメージメモ
リ、117……BMU、118……システムバスである。
FIG. 1 is a functional block diagram of the document processing apparatus of the embodiment, FIG. 2 is a block diagram showing a schematic configuration of the document processing apparatus of the embodiment, FIG. 3 is a view showing a display frame, and FIG. 4A is not modified. FIG. 4B is a diagram showing a display frame, FIG. 4B is a diagram showing a modification of the display frame, FIGS. 5A and 5C are diagrams showing the deformation of characters accompanying the deformation of the display frame according to the embodiment, and FIG. FIG. 6 is a diagram showing a modification of the display area accompanying the movement of the vertices. FIG. 6 is a diagram showing sample points of characters by the B-spline method. FIG. 7 is a diagram showing an example of vector font data of the embodiment. FIG. 8 is a flowchart showing a process of transforming a display frame in the document processing apparatus of the embodiment, and FIG. 9 is a diagram showing a modification of a character string of another embodiment. In the drawing, 10: a development area instruction unit, 11: a pattern development unit, 12: a development area change unit, 13: a pattern deformation unit,
14: Modified character allocation unit, 15: Character data, 50: Control information, 53: Attribute flag, 100: Control unit, 101: CP
U, 102… ROM, 103… RAM, 104… Font memory,
105: Frame storage unit, 110: CRT, 111: Video memory,
112 ... keyboard, 113 ... mouse, 114 ... printer, 115 ... interface unit, 116 ... image memory, 117 ... BMU, 118 ... system bus.

フロントページの続き (72)発明者 瀬戸 邦雄 東京都大田区下丸子3丁目30番2号 キ ヤノン株式会社内 (72)発明者 白坂 昭史 東京都大田区下丸子3丁目30番2号 キ ヤノン株式会社内 (72)発明者 浜田 正基 東京都大田区下丸子3丁目30番2号 キ ヤノン株式会社内 (56)参考文献 特開 昭61−156087(JP,A) 特開 昭62−44451(JP,A) 特開 昭63−108388(JP,A) 特開 昭59−94783(JP,A)Continued on the front page. (72) Kunio Seto, 3-30-2 Shimomaruko, Ota-ku, Tokyo Inside Canon Inc. (72) Inventor Akishi Shirasaka 3-30-2, Shimomaruko, Ota-ku, Tokyo Canon Inc. (72) Inventor Masaki Hamada 3-30-2 Shimomaruko, Ota-ku, Tokyo Inside Canon Inc. (56) References JP-A-61-156087 (JP, A) JP-A-62-44451 (JP, A) JP-A-63-108388 (JP, A) JP-A-59-94783 (JP, A)

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】入力された文字データに対応するベクトル
フォントデータに基づく文字パターンを表示する表示手
段と、 前記文字パターンの表示枠の1つの頂点を移動させる指
示に基づき、前記表示枠の他の頂点を移動させることな
く当該1つの頂点を移動させることにより前記表示枠の
形状を変形する変形手段と、 前記変形手段により変形される表示枠の形状に従って前
記ベクトルフォントデータを変更し、変更されたベクト
ルフォントデータに基づく文字パターンを前記表示手段
に表示させる手段と、 を有することを特徴とする文字処理装置。
1. A display means for displaying a character pattern based on vector font data corresponding to input character data, and another display frame based on an instruction to move one vertex of a display frame of the character pattern. Deforming means for changing the shape of the display frame by moving the one vertex without moving the vertex; and changing the vector font data according to the shape of the display frame deformed by the deforming means. Means for displaying a character pattern based on vector font data on the display means.
【請求項2】入力された文字データに対応するベクトル
フォントデータに基づく文字パターンを表示手段に表示
させる工程と、 前記文字パターンの表示枠の1つの頂点を移動させる指
示に基づき、前記表示枠の他の頂点を移動させることな
く当該1つの頂点を移動させることにより前記表示枠の
形状を変形する変形工程と、 前記変形工程により変形される表示枠の形状に従って前
記ベクトルフォントデータを変更し、変更されたベクト
ルフォントデータに基づく文字パターンを前記表示手段
に表示させる工程と、 を有することを特徴とする文字処理方法。
2. A process for displaying a character pattern based on vector font data corresponding to input character data on a display means, and a step of moving one vertex of a display frame of the character pattern, Deforming the shape of the display frame by moving the one vertex without moving the other vertex; and changing the vector font data according to the shape of the display frame deformed by the deforming process. Displaying a character pattern based on the obtained vector font data on the display means.
JP63188357A 1988-07-29 1988-07-29 Character processing method and apparatus Expired - Fee Related JP2915413B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP63188357A JP2915413B2 (en) 1988-07-29 1988-07-29 Character processing method and apparatus
US08/397,711 US5574842A (en) 1988-07-29 1995-03-02 Document processing apparatus and method for generating a character or symbol pattern across a plurality of lines

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63188357A JP2915413B2 (en) 1988-07-29 1988-07-29 Character processing method and apparatus

Publications (2)

Publication Number Publication Date
JPH0239363A JPH0239363A (en) 1990-02-08
JP2915413B2 true JP2915413B2 (en) 1999-07-05

Family

ID=16222209

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63188357A Expired - Fee Related JP2915413B2 (en) 1988-07-29 1988-07-29 Character processing method and apparatus

Country Status (1)

Country Link
JP (1) JP2915413B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2906202B2 (en) * 1993-03-31 1999-06-14 日立ソフトウエアエンジニアリング株式会社 Text and figure input method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61156087A (en) * 1984-12-27 1986-07-15 株式会社東芝 System of correcting and editing expanded/reduced character
JPH078559B2 (en) * 1985-08-22 1995-02-01 大日本印刷株式会社 How to specify the typeface on the display
JPH0821086B2 (en) * 1986-10-27 1996-03-04 キヤノン株式会社 Figure processing method

Also Published As

Publication number Publication date
JPH0239363A (en) 1990-02-08

Similar Documents

Publication Publication Date Title
KR900006042B1 (en) Display control apparatus for use in composite document processing apparatus
US5313573A (en) Apparatus for forming character patterns with line segments
EP0537030B1 (en) Character or graphic processing method
JPH10154174A (en) Character string automatic editing system
JP2915413B2 (en) Character processing method and apparatus
JP2996933B2 (en) Drawing display device
JPH0821086B2 (en) Figure processing method
JP3351939B2 (en) Character string transformation arrangement method
JPH0830666A (en) Method and device for arranging character string
JPS61286977A (en) Partial deforming system for graph in graph forming device
JPS63217394A (en) Character contour line generation system
JP2721348B2 (en) Image processing device
JPH0333896A (en) Font plotting device
JP2737845B2 (en) Character processing method and apparatus
JP3160570B2 (en) Character processing device and character processing method
JP2895885B2 (en) Layouter for flyers and catalogs
JPH0344766A (en) Information display device
JP3754714B2 (en) Document processing method and apparatus
JP3082391B2 (en) Image processing device
JP2921975B2 (en) Handwritten document creation device
JPH0560598B2 (en)
JPH07282285A (en) Graphic editing device
JPH0714635B2 (en) Character string allocation device
JPH04215696A (en) Magnification processing method for raster diagram
JPH0721397A (en) Paint-out plotting method for polygon

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees