JPS63220291A - Document generator - Google Patents

Document generator

Info

Publication number
JPS63220291A
JPS63220291A JP62054829A JP5482987A JPS63220291A JP S63220291 A JPS63220291 A JP S63220291A JP 62054829 A JP62054829 A JP 62054829A JP 5482987 A JP5482987 A JP 5482987A JP S63220291 A JPS63220291 A JP S63220291A
Authority
JP
Japan
Prior art keywords
character
characters
kerning
input
document
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP62054829A
Other languages
Japanese (ja)
Other versions
JP2632834B2 (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 JP62054829A priority Critical patent/JP2632834B2/en
Publication of JPS63220291A publication Critical patent/JPS63220291A/en
Application granted granted Critical
Publication of JP2632834B2 publication Critical patent/JP2632834B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Document Processing Apparatus (AREA)

Abstract

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

Description

【発明の詳細な説明】 (発明の属する分野) 本発明はワードプロセッサ機能(文書処理機能)を備え
た、特に欧文用の文書作成装置のカーニング処理に関す
るものである。
DETAILED DESCRIPTION OF THE INVENTION (Field to which the invention pertains) The present invention relates to kerning processing in a document creation device, particularly for Roman languages, equipped with a word processor function (document processing function).

〔従来技術の説明〕[Description of prior art]

従来のこの種の装置の文字は第1図(a)に示すように
、全ての文字が同一サイズの長方形をした文字面を持っ
ていた。しかしWとI等は文字の幅が異なるため同一の
大きさの文字面ではきれいに文字を並べることができず
、そのため第1図(b)に示すような文字幅を各文字毎
に変えて出力するようになった。
As shown in FIG. 1(a), all the characters in conventional devices of this type have rectangular character faces of the same size. However, because the widths of letters such as W and I are different, it is not possible to line up the letters neatly on a letter surface of the same size, so the width of each letter is changed and output as shown in Figure 1 (b). It was way.

しかしAの次にVあるいはWがきた場合、あるいはその
逆の場合は、そのまま並べると他の文字と文字の間隔よ
り少し広くおいているような感じを与える。そのためA
とVの間隔は通常の文字幅より少し狭くしたほうが文書
がきれいになるので、第2図のように後の文字の置き場
所を正規の置き場所から少し8動して並べる。このよう
なことをカーニング処理と呼んでいる。英文の場合、き
れいな文書を書くときは、他にも文字について大なり小
なりのカーニング処理を行なう必要がある。
However, if V or W comes after A, or vice versa, if they are lined up as is, it will give the impression that the spacing between the letters is a little wider than the other letters. Therefore A
The document will look better if the spacing between and V is made a little narrower than the normal character width, so as shown in Figure 2, the location of the next character is moved a little 8 times from the normal location. This kind of process is called kerning processing. In the case of English, when writing beautiful documents, it is also necessary to perform kerning processing on characters to a greater or lesser extent.

カーニング処理を行なうには、現在扱っている文字と直
前に扱っていた文字との関係から後の文字の正規の置き
場所からの移動量を決定する必要があり、処理が複雑に
なり、また文字が登録されている辞書にカーニングを行
なう全ての場合のカーニング量をも登録する必要もあり
、辞書も複雑になるという欠点があった。そのため高級
な文書作成装置等でカーニング処理が行なわれているに
すぎなかった。
In order to perform kerning processing, it is necessary to determine the amount of movement of the subsequent character from its normal position based on the relationship between the currently handled character and the previously handled character, which complicates the process and also It is also necessary to register the amount of kerning for all cases of kerning in the dictionary in which kerning is registered, which has the disadvantage that the dictionary also becomes complicated. For this reason, kerning processing has only been performed using high-end document creation devices.

〔本発明の目的〕[Object of the present invention]

本発明は、各文字毎に固有な文字面および複数のリファ
レンスポイントを決めることによって、上述例のような
カーニング処理における欠点を除去し、容易にカーニン
グ処理を行なうことを目的としている。
An object of the present invention is to eliminate the drawbacks in the kerning process as in the above example and to easily perform the kerning process by determining a unique character face and a plurality of reference points for each character.

〔実施例〕〔Example〕

第3図から第6図は本発明の一実施例を示した図で、以
下図に従って説明する。
FIGS. 3 to 6 are diagrams showing an embodiment of the present invention, which will be explained below in accordance with the figures.

第3図は本発明の一実施例を示した図で、1は文字を入
力するためのキーボード(KB)、2はキーボード1よ
り入力された文字を外部記憶したり、文字を再入力する
ためのフロッピーディスク(FD)、3は入力された文
字を一時記憶したり、文字の配置のための計算を行なう
ためのデータを一時記憶しておくためのRA M (R
andomAccess Memory ) 、4は文
字の配置処理や周辺機器の制御を行なうためのCPU、
5は文字のドツトパターン、リファレンスポイントの位
置が登録されているR OM (Read 0nly 
Memory)、6は処理された結果を表示するための
CRT、7は印字するためのプリンタである。
FIG. 3 is a diagram showing an embodiment of the present invention, where 1 is a keyboard (KB) for inputting characters, and 2 is a keyboard for externally storing characters input from the keyboard 1 or for re-entering characters. A floppy disk (FD), 3 is a RAM for temporarily storing input characters and data for calculating character placement.
andomAccess Memory), 4 is a CPU for processing character placement and controlling peripheral devices,
5 is a ROM (Read Only) in which the dot patterns of characters and the positions of reference points are registered.
6 is a CRT for displaying the processed results, and 7 is a printer for printing.

第4図はROM5に登録されている文字のドツトパター
ン、文字面、リファレンスポイントの例で、図に示した
ように文字面の形を長方形に限ることなく、文字によっ
て種々の形をし、文字面の左上すみ、左端中央、左下す
み、右上すみ、右端中央、右下ずみの計6箇所に文字面
の形、大きさを表わすリファレンスポイントを置いた例
である。今後、実施例の説明は上の例に従って行なう。
Figure 4 shows examples of character dot patterns, character faces, and reference points registered in the ROM5. This is an example in which reference points representing the shape and size of the character surface are placed at a total of six locations: the upper left corner, the center left edge, the lower left corner, the upper right corner, the center right edge, and the lower right corner. From now on, the embodiments will be described according to the above example.

第5図は本実施例の動作手順を示したフローチャートで
、SlからSitは各動作ステップを表わす。図中、各
ステップに示した記号AからFは第4図に示したリファ
レンスポイントで、σ、 E’、 F’は文字を文書中
に組み入れたときのリファレンスポイントD、E、Fの
位置の水平座標、すなわち現在作成中の文書の最右端の
水平位置を表わしている。本処理はキーボード1あるい
はフロッピーディスク2より文書がRAM3に入力され
た後に行なわれる。
FIG. 5 is a flowchart showing the operating procedure of this embodiment, with Sl to Sit representing each operating step. In the figure, the symbols A to F shown at each step are the reference points shown in Figure 4, and σ, E', and F' are the positions of reference points D, E, and F when the characters are incorporated into the document. It represents the horizontal coordinate, that is, the horizontal position of the rightmost edge of the document currently being created. This process is performed after a document is input into the RAM 3 from the keyboard 1 or the floppy disk 2.

まずそのが、 E’、 F’の初期化を行なう(si)
、すなわち文書を書きはじめる位置の水平座標をD′、
g%rにいれる。そしてRAM3より一文字入力しくS
2)、終了記号(図中、EOF)かどうかを調べる(S
3)。それが終了記号ならば主ルーチンに戻り、S3で
終了記号でないならば、入力された文字のリファレンス
ポイントAをD′の位置に合わせる(S4)。そしてリ
ファレンスポイントBの位置とgの関係を調べる(S5
)。もしBがYの左側にあるならば入力された文字を右
に移動し、リファレンスポイントBをビの位置に合わせ
る(S6)。S5でBがビと一致している、あるいはB
がざの右側にある場合は文字の位置の変更は行なわない
。上述した位置関係は例えば次のようにすればわかる。
First, initialize E' and F' (si)
, that is, the horizontal coordinate of the starting position of writing the document is D′,
Put it in g%r. Then input one character from RAM3.
2) Check whether it is an end symbol (EOF in the figure) (S
3). If it is an end symbol, the process returns to the main routine, and if it is not an end symbol in S3, the reference point A of the input character is adjusted to the position of D' (S4). Then, examine the relationship between the position of reference point B and g (S5
). If B is on the left side of Y, the input character is moved to the right and the reference point B is aligned with the position of B (S6). In S5, B matches Bi, or B
If it is on the right side of the corner, the position of the character will not be changed. The above-mentioned positional relationship can be found, for example, as follows.

右方向を正にして、BがAの位置から水平方向でdxt
、E’がσの位置から水平方向でdX2のところにある
とすると、Aとσを一致させたとき、 dxl<dx2−Bはビの左側にある。
With the right direction being positive, B is dxt in the horizontal direction from the position of A.
, E' are located at dX2 in the horizontal direction from the position of σ. When A and σ are matched, dxl<dx2-B is to the left of Bi.

dX1=dX2→Bはぎは一致している。dX1=dX2→B is in agreement.

dxl>dx2−Bはgの右側にある。dxl>dx2-B is to the right of g.

になるので、これを利用すればよい。そして同様にCと
ドの位置関係を調べる(S7)。もしCがどの左側にあ
るならば入力された文字を更に右に移動し、リファレン
スポイントCをrの位置に合わせる(S8)。S7でC
とドが一致している、あるいはCがrの右側にある場合
は文字の位置の変更は行わない。そして最終的に定まっ
た文字の位置をRAM3に記憶しくS9)、文字を文書
中に組み入れ(SIO)、組み込まれた文字のリファレ
ンスポイントD、E、Fの水平座標を新たにD’、E’
、F’としてS2に戻り、上述の処理を繰り返す。
Therefore, you can use this. Similarly, the positional relationship between C and C is checked (S7). If C is on the left side, the input character is moved further to the right and the reference point C is aligned with the position of r (S8). C in S7
If C and C match, or C is to the right of r, the position of the character is not changed. Then, store the finally determined character position in RAM3 (S9), incorporate the character into the document (SIO), and set the horizontal coordinates of the reference points D, E, and F of the incorporated character to new D', E'
, F' and return to S2 to repeat the above-described process.

第6図は本発明の第5図の手順に従って文書処理を行な
った結果(a)と、従来の長方形の文字面を持つ文字で
文書処理した結果(b)を比較した例を示したものであ
る。ただしくb)の長方形の文字面の幅は、第4図で定
義した各文字の文字面が最大幅としである。入力文字は
AVXOEでAV間、XO間がカーニング処理され、(
b)に比べて少し狭くなっている。
FIG. 6 shows an example of a comparison between the result (a) of document processing according to the procedure of FIG. 5 of the present invention and the result (b) of document processing using conventional rectangular characters. be. However, the width of the rectangular character surface in b) is such that the character surface of each character defined in FIG. 4 has the maximum width. Input characters are AVXOE, and kerning processing is performed between AV and XO, and (
It is slightly narrower than b).

vx間、OE間は(b)と同じ幅である。The width between vx and between OE is the same as in (b).

尚、上述実施例では6個のリファレンスポイントを設け
たが、A、B、Cの3個のリファレンスポイントと各リ
ファレンスポイントでの横幅を定義しておいても全く同
様な処理が可能である。
In the above embodiment, six reference points are provided, but the same processing can be performed by defining three reference points A, B, and C and the width at each reference point.

〔効果の説明〕[Explanation of effects]

上述したように本発明によると、各文字がそれぞれ固有
な文字面を持つことによって、カーニング処理を容易に
行なうことを可能にし、またカーニング処理を行なうた
めの文字登録辞書の構成も簡単化することが可能になっ
た。
As described above, according to the present invention, since each character has a unique character face, it is possible to easily perform kerning processing, and the structure of a character registration dictionary for performing kerning processing is also simplified. is now possible.

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

第1図は本発明の詳細な説明するための図、第2図はカ
ーニング処理の説明を行なうための図、第3図は本発明
における一実施例を説明するためのブロック図、第4図
は各文字の文字面の説明を行なうための図、第5図は本
実施例の動作手順を説明するための図、第6図は本実施
例の結果を説明するための図である。 図中、1はキーボード、2はフロッピーディスク、3は
RAM、4はCPU、5はROM。 6はCRT、7はプリンタである。
FIG. 1 is a diagram for explaining the present invention in detail, FIG. 2 is a diagram for explaining the kerning process, FIG. 3 is a block diagram for explaining one embodiment of the present invention, and FIG. 4 is a diagram for explaining the kerning process. 5 is a diagram for explaining the character surface of each character, FIG. 5 is a diagram for explaining the operating procedure of this embodiment, and FIG. 6 is a diagram for explaining the results of this embodiment. In the figure, 1 is a keyboard, 2 is a floppy disk, 3 is a RAM, 4 is a CPU, and 5 is a ROM. 6 is a CRT, and 7 is a printer.

Claims (1)

【特許請求の範囲】[Claims] 文字、記号を入力するための入力手段と、該入力手段に
より入力された文字あるいは記号を表示するための表示
手段あるいは印字するための印字手段と、表示あるいは
印字すべき文字の形と文字面に関する情報を記憶してお
くための記憶手段と、上記入力手段により入力された文
字あるいは記号の形および大きさをその文字面の複数の
リファレンスポイントを変更することで制御する制御手
段とから構成された文書作成装置。
Regarding input means for inputting characters and symbols, display means for displaying or printing means for displaying characters or symbols inputted by the input means, and shape and character surface of characters to be displayed or printed. It is comprised of a storage means for storing information, and a control means for controlling the shape and size of characters or symbols input by the input means by changing a plurality of reference points on the character surface. Document production device.
JP62054829A 1987-03-10 1987-03-10 Character processor Expired - Fee Related JP2632834B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62054829A JP2632834B2 (en) 1987-03-10 1987-03-10 Character processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62054829A JP2632834B2 (en) 1987-03-10 1987-03-10 Character processor

Publications (2)

Publication Number Publication Date
JPS63220291A true JPS63220291A (en) 1988-09-13
JP2632834B2 JP2632834B2 (en) 1997-07-23

Family

ID=12981546

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62054829A Expired - Fee Related JP2632834B2 (en) 1987-03-10 1987-03-10 Character processor

Country Status (1)

Country Link
JP (1) JP2632834B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04216594A (en) * 1990-12-17 1992-08-06 Integuraru Syst:Yugen Character gap adjustment method
JP2011033705A (en) * 2009-07-30 2011-02-17 Mitsubishi Electric Corp Image processing device and image processing method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6198560A (en) * 1984-09-29 1986-05-16 Fujitsu Ltd Down load system
JPS61109091A (en) * 1984-11-02 1986-05-27 株式会社日立製作所 Character output unit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6198560A (en) * 1984-09-29 1986-05-16 Fujitsu Ltd Down load system
JPS61109091A (en) * 1984-11-02 1986-05-27 株式会社日立製作所 Character output unit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04216594A (en) * 1990-12-17 1992-08-06 Integuraru Syst:Yugen Character gap adjustment method
JP2011033705A (en) * 2009-07-30 2011-02-17 Mitsubishi Electric Corp Image processing device and image processing method

Also Published As

Publication number Publication date
JP2632834B2 (en) 1997-07-23

Similar Documents

Publication Publication Date Title
US5018883A (en) Vector font processing in a printing device
JPS63220291A (en) Document generator
JP2550562B2 (en) Character display device
JPH05265429A (en) Character font generating process system
JPH02280195A (en) Character generator
JPS6385695A (en) Serial character generation system
JPS6363913B2 (en)
JPS605469B2 (en) galley printing system
JPS62290984A (en) Pattern information inputting paper and method of recognizing pattern information using said paper
Abudena et al. Toward a novel module for computerizing Quran’s full-script writing
JPS62177586A (en) Document generator
JP3715685B2 (en) Document processing method and document processing apparatus
JPS60109888A (en) Character processor
JPS6189861A (en) Printing controller
JPS63209964A (en) Word processor
JPS629390A (en) Character pattern generator
JPS62286160A (en) Word processor
JPS62293465A (en) Word processor
JPH08290626A (en) Printer and character-disposing method
JPS59186024A (en) Character processing device
JPS6385593A (en) Word processor
JPH0747339B2 (en) Data converter
JPH1031471A (en) Method and device for printing and displaying foreign languages including english script and arabic using computer
JPS62202749A (en) Document processor
JPS6363091A (en) Character array by correction frame

Legal Events

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