JPH0796594A - Device and method for adjusting character spacing - Google Patents

Device and method for adjusting character spacing

Info

Publication number
JPH0796594A
JPH0796594A JP6151784A JP15178494A JPH0796594A JP H0796594 A JPH0796594 A JP H0796594A JP 6151784 A JP6151784 A JP 6151784A JP 15178494 A JP15178494 A JP 15178494A JP H0796594 A JPH0796594 A JP H0796594A
Authority
JP
Japan
Prior art keywords
character
spacing
data
characters
interval
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
JP6151784A
Other languages
Japanese (ja)
Other versions
JP3111811B2 (en
Inventor
Akira Sawada
晃 澤田
Koji Suzuki
孝司 鈴木
Hiroshi Kumamoto
浩 熊本
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP06151784A priority Critical patent/JP3111811B2/en
Publication of JPH0796594A publication Critical patent/JPH0796594A/en
Application granted granted Critical
Publication of JP3111811B2 publication Critical patent/JP3111811B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To automatically adjust a character spacing while an impression of a character and a relationship between adjacent characters are sufficiently taken into consideration by a method wherein generated character density data, overlapped face area data, and space area data are applied to a knowledge related to a character spacing adjustment. CONSTITUTION:A hard disk of a hard disk drive device 14 is used for storing data of a large capacity. in place of or in addition to the hard disk drive 14, a floppy disk drive may be provided. For example, a program for controlling a CPU 11, a fuzzy inference rule for a character gap adjustment, a membership function, and the like are stored in a ROM 12, a RAM 13, and the hard disk or floppy disk. Data representing a document to be printed is stored in the hard disk or floppy disk.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【技術分野】この発明は電算植字システム,写真植字
機,ワード・プロセッサ等において,印刷する文字列に
おける文字相互の間隔を,文字列が読みやすくかつ美し
くなるように調整する装置および方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus and method for adjusting a distance between characters in a character string to be printed so that the character string is easy to read and beautiful in a computer typesetting system, a phototypesetting machine, a word processor and the like.

【0002】この明細書において,「文字」とは意志,
思想,感情等を表現するために用いられるすべての種類
の文字,記号,符号,数字,図形を含む。文字の代表的
なものには,漢字(漢数字を含む),日本語におけるひ
らがなおよびカタカナ,ハングル文字,アルファベッ
ト,ギリシャ文字,アラビア数字,ローマ数字,ハイフ
ォン,コンマ,コロン等があろう。
[0002] In this specification, "character" means will,
It includes all kinds of letters, symbols, codes, numbers and figures used to express thoughts, feelings, etc. Representative characters may include kanji (including kanji), hiragana and katakana in Japanese, Hangul, alphabet, Greek, Arabic, Roman, hyphen, comma, colon, etc.

【0003】[0003]

【背景技術】横または縦に配列された文字列における文
字間隔の調整はカーニング(Kerning )とも呼ばれ,印
刷のための植字における重要な作業の一つである。漢
字,ひらがな,およびカタカナを含む文章,とくに見出
しや,リーフレットにおける広告文においては,それら
を読む人に与える印象が非常に重要なので,カーニング
を適切に行なう必要がある。
BACKGROUND ART The adjustment of character spacing in a character string arranged horizontally or vertically is also called kerning, which is one of the important tasks in typesetting for printing. In sentences including kanji, hiragana, and katakana, especially headlines and advertisements in leaflets, the impression given to the reader is very important, so it is necessary to perform kerning appropriately.

【0004】従来は文字間隔調整作業は熟練した作業者
により行なわれていた。充分な経験を持つ者でないとこ
の作業を行うことができないので,作業効率が悪いとい
う問題がある。
Conventionally, the character spacing adjustment work has been performed by a skilled worker. Only a person who has sufficient experience can perform this work, and there is a problem that work efficiency is poor.

【0005】文字間隔調整を自動化する装置として日本
の特許出願公開公報,平3−244542号で提案され
たものがある。文字の外形線に沿ってその外側に一定幅
の仮想領域(ゾーン)が設定される。この仮想領域の外
縁の一部が互いに接するように隣接する2つの文字の間
隔が定められる。または,隣接する2文字の仮想領域の
重なる面積が一定値を保つように文字間隔が調整され
る。
An apparatus for automating the character spacing adjustment is proposed in Japanese Patent Application Laid-Open Publication No. 3-244542. A virtual area (zone) having a constant width is set outside the character along the outline of the character. The space between two adjacent characters is determined so that some of the outer edges of this virtual region are in contact with each other. Alternatively, the character spacing is adjusted so that the overlapping area of the virtual areas of two adjacent characters maintains a constant value.

【0006】しかしながらこの文字間隔自動調整では文
字の外形線のみに依拠して文字間隔が調整され,文字の
他の要素は全く考慮されない。たとえば文字の字面の面
積の広さ,複雑さ,隣接する文字との関連性等は文字間
隔に影響を及ぼす重要なファクタであるにもかかわら
ず,考慮の外におかれている。
However, in this automatic character spacing adjustment, the character spacing is adjusted based on only the outline of the character, and other elements of the character are not considered at all. For example, the wideness of the character surface area, the complexity, and the relevance to adjacent characters are important factors that affect the character spacing, but are not taken into consideration.

【0007】[0007]

【発明の開示】この発明は,文字が与える印象(たとえ
ば字面の面積等)や,隣接する文字との関連性を充分に
考慮した文字間隔調整を自動的に行なえる装置および方
法を提供することを目的とする。
DISCLOSURE OF THE INVENTION The present invention provides an apparatus and method capable of automatically performing character spacing adjustment in which the impression given by a character (for example, the area of a character face) and the relationship between adjacent characters are sufficiently taken into consideration. With the goal.

【0008】この発明はまた,文字の大きさを考慮し
た,とくに小さな文字について位置を考慮した文字間隔
自動調整を行なえるようにするものである。
The present invention also makes it possible to automatically adjust the character spacing in consideration of the size of a character, particularly the position of a small character.

【0009】この発明はさらに,複数の文字の並びの長
さも考慮して全体的なバランスをとることができるよう
にするものである。
Further, the present invention makes it possible to achieve overall balance in consideration of the length of a plurality of character strings.

【0010】この発明による文字間隔調整装置は,メモ
リ上に展開された複数個の文字の文字ドット・データに
おいて,文字ごとに,その文字に関する第1の特徴量を
生成する第1の特徴量生成手段,上記メモリ上に展開さ
れた複数個の文字の文字ドット・データにおいて,文字
ごとに,その文字とそれに隣接する文字との関連性を表
わす第2の特徴量を生成する第2の特徴量生成手段,お
よび上記第1の特徴量および第2の特徴量を,文字間隔
調整に関する知識に適用することにより,適切な文字間
隔を,文字ごとに推論する文字間隔推論手段を備えてい
るものである。
The character spacing adjusting device according to the present invention generates, for each character in the character dot data of a plurality of characters expanded in the memory, a first characteristic amount for generating a first characteristic amount relating to the character. A second characteristic amount for generating, for each character in the character dot data of a plurality of characters expanded on the memory, a second characteristic amount representing a relationship between the character and a character adjacent thereto. By providing the generation means, and the above-mentioned first characteristic amount and second characteristic amount to knowledge regarding character spacing adjustment, character spacing inference means for inferring an appropriate character spacing for each character is provided. is there.

【0011】最も基本的な第1の特徴量の代表例には,
文字の字面の広さを表わす文字濃度データがある。
A representative example of the most basic first feature quantity is as follows:
There is character density data that represents the width of the characters.

【0012】最も基本的な第2の特徴量の代表例には,
着目文字とそれに隣接する文字とが最も接近した状態に
おいて,両文字が重複する程度を表わす重複字面面積デ
ータや,着目文字とそれに隣接する文字とが最も接近し
た状態において,両文字間に生じる空間の広さを表わす
空白面積データがある。
A typical example of the most basic second feature quantity is
In the state where the target character and the character adjacent to it are closest to each other, the overlapping character surface area data indicating the degree to which both characters overlap, and the space generated between the character and the character adjacent to it There is blank area data that represents the size of

【0013】この発明によると,文字自体のもつ特徴
量,および隣接する2つの文字の間で生成される特徴量
に基づいて,適切な文字間隔を推論している。漢字,ひ
らがな,カタカナが混った文章においては,隣接する2
つの文字の組合せの数はきわめて多い。このようなすべ
ての組合せについてあらかじめ最適間隔を定めておくこ
とは不可能に近い。この発明によると,文字列が形成さ
れ,組合せが定まるその都度,各文字のもつ特徴量のみ
ならず,隣接する2つの文字の相互の関連性も考慮して
適切な文字間隔が決定される。
According to the present invention, an appropriate character interval is inferred based on the characteristic amount of the character itself and the characteristic amount generated between two adjacent characters. Adjacent two in a sentence with mixed kanji, hiragana, and katakana
The number of combinations of letters is extremely large. It is almost impossible to predetermine optimal intervals for all such combinations. According to the present invention, every time a character string is formed and the combination is determined, not only the characteristic amount of each character but also the mutual relation between two adjacent characters is determined to determine an appropriate character interval.

【0014】文字間隔の推論において,作業者が希望し
かつ入力する文字間隔の程度を表わすデータも考慮され
ることが好ましい。
In inferring the character spacing, it is preferable to consider data representing the degree of character spacing desired and input by the operator.

【0015】さらに好ましくは,着目文字とそれに隣接
する文字とが最も接近したときの文字間隔を表わす最小
文字間隔と文字幅との比に関する第1の比データ,着目
文字とそれに隣接する文字とが最も接近したときの文字
間隔を表わす最小文字間隔と文字高さとの比に関する第
2の比データ,および着目文字とそれに隣接する文字と
が最も接近した状態において,両文字が重複する複雑さ
を表わす文字重複複雑度データのうちの1つまたは2つ
以上が,文字間隔の推論において考慮される。これらを
考慮した推論処理によって文字や文字相互間の特徴がよ
り細かに文字間隔に反映されることになる。
More preferably, the first ratio data relating to the ratio of the minimum character spacing and the character width, which represents the character spacing when the target character and the character adjacent thereto are closest, the target character and the character adjacent thereto are The second ratio data relating to the ratio between the minimum character spacing and the character height, which represents the character spacing when the characters are closest to each other, and the complexity in which the two characters overlap each other when the target character and the character adjacent thereto are closest to each other. One or more of the character overlap complexity data are considered in the character spacing inference. Characters and the characteristics between the characters are reflected in the character spacing more finely by the inference processing considering these.

【0016】隣接する文字が小さい文字であるときに,
好ましくは,その小さい文字のドット・データに展開さ
れた位置,および上下に所定ドット数シフトした位置の
それぞれについて,上述の文字間隔推論が行なわれる。
この文字間隔推論によって得られる複数の文字間隔のう
ちの最も小さいものが適切な文字間隔であると決定され
る。これにより,小さな文字は最も狭い間隔でそれに先
行する(または後続する)文字に付随することになる。
これは小さな文字の使用態様を考慮した間隔調整であ
る。
When the adjacent character is a small character,
Preferably, the above-mentioned character spacing inference is performed for each of the position developed into the dot data of the small character and the position shifted up and down by a predetermined number of dots.
The smallest character spacing among the plurality of character spacings obtained by this character spacing inference is determined to be an appropriate character spacing. This causes small characters to be attached to the preceding (or following) character with the narrowest spacing.
This is an interval adjustment that considers the usage of small characters.

【0017】与えられた文字列または少くとも一行分の
文字列に含まれるすべての文字についての適切な間隔が
上述した推論により求められると,文字列における全体
的なバランスを考慮した間隔修正が,好ましくは次のよ
うして行なわれる。
Once the proper spacing for all characters contained in a given string or at least one line of string has been determined by the above inference, a spacing correction considering the overall balance in the string is It is preferably carried out as follows.

【0018】上述した文字間隔推論により得られた文字
間隔をもって一列に配列された,着目文字を含む複数個
の文字の並びの長さに関する長さデータが生成される。
生成された長さデータを,あらかじめ与えられた文字間
隔修正に関する知識に適用することにより,間隔修正量
が,着目文字ごとに推論される。文字間隔推論によって
得られた文字間隔に間隔修正量推論によって得られた間
隔修正量を加算することにより最終的な文字間隔が生成
される。
Length data relating to the length of the arrangement of a plurality of characters including the character of interest arranged in a line with the character spacing obtained by the character spacing inference described above is generated.
By applying the generated length data to the knowledge about the character spacing modification given in advance, the spacing modification amount is inferred for each focused character. The final character spacing is generated by adding the space modification amount obtained by the space modification amount inference to the character space obtained by the character space inference.

【0019】この発明はまた,文字間隔調整方法を提供
している。
The present invention also provides a character spacing adjusting method.

【0020】この文字間隔調整方法は,指定された文字
列を構成する文字を表わす文字ドット・データをメモリ
上に展開し,メモリ上に展開された複数個の文字の文字
ドット・データにおいて,文字ごとに,その文字に関す
る第1の特徴量を生成し,上記メモリ上に展開された複
数個の文字の文字ドット・データにおいて,文字ごと
に,その文字とそれに隣接する文字との関連性を表わす
第2の特徴量を生成し,上記第1の特徴量および第2の
特徴量を,文字間隔調整に関する知識に適用することに
より,適切な文字間隔を,文字ごとに推論するものであ
る。
According to this character spacing adjustment method, character dot data representing a character forming a designated character string is expanded on a memory, and character dot data of a plurality of characters expanded on the memory For each character, the first feature amount for that character is generated, and in the character dot data of a plurality of characters expanded on the memory, for each character, the relationship between that character and its adjacent character is expressed. By generating the second characteristic amount and applying the first characteristic amount and the second characteristic amount to the knowledge regarding the character spacing adjustment, an appropriate character spacing is inferred for each character.

【0021】上述した推論処理は好ましくはファジィ推
論を利用して実行される。
The inference process described above is preferably performed using fuzzy inference.

【0022】この発明による文字間隔調整装置および方
法は,電算植字システム,写真植字機,ワード・プロセ
ッサ等に適用することができる。これらのシステムまた
は機械においては,指定された文字列を構成する文字を
表わす文字ドット・データが,指定された文字サイズ
で,かつ得られた文字間隔に対応する文字間隔を保っ
て,メモリ上に展開され,この展開された文字ドット・
データを用いて文字が印刷されることになる。
The character spacing adjusting device and method according to the present invention can be applied to a computer typesetting system, a phototypesetting machine, a word processor and the like. In these systems or machines, the character dot data that represents the characters that make up the specified character string is stored in memory with the specified character size and with the character spacing corresponding to the obtained character spacing. Expanded, this expanded character dot
Characters will be printed using the data.

【0023】[0023]

【実施例】図1は電算植字システムの全体的構成の概要
を示している。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows the outline of the overall configuration of a computer typesetting system.

【0024】電算植字システムの全体の動作はCPU11
によって統括される。通常のコンピュータ・システムと
同様にこの電算植字システムは,記憶装置としてROM
12,RAM13およびハードディスク・ドライブ装置14,
入力装置としてキーボード15,ならびに出力装置として
CRT16およびプリンタ17を備えている。
The overall operation of the computer typesetting system is the CPU 11
Will be supervised by. Like a normal computer system, this computer typesetting system uses a ROM as a storage device.
12, RAM13 and hard disk drive device 14,
A keyboard 15 is provided as an input device, and a CRT 16 and a printer 17 are provided as output devices.

【0025】ROM12は一般に固定データを記憶するも
のである。RAM13は可変データを記憶したり作業用エ
リアとして用いられる。ハード・ディスク・ドライブ装
置14のハード・ディスクに容量の大きなデータを格納す
るのに用いられる。ハード・ディスク装置14に代えて,
または加えてフロッピィ・ディスク・ドライブ装置を設
けることができる。たとえば,CPU11を制御するため
のプログラム,後述する文字間隔調整のためのファジィ
推論ルールおよびメンバーシップ関数などは,ROM1
2,RAM13,ハードディスクまたはフロッピィ・ディ
スクに格納される。印刷すべき文書を表わすデータはハ
ード・ディスクまたはフロッピィ・ディスクに格納され
る。
The ROM 12 generally stores fixed data. The RAM 13 stores variable data and is used as a work area. It is used to store a large amount of data on the hard disk of the hard disk drive device 14. Instead of the hard disk drive 14,
Alternatively or additionally, a floppy disk drive device may be provided. For example, the program for controlling the CPU 11, the fuzzy inference rules for adjusting the character spacing, which will be described later, and the membership function are stored in the ROM 1
2, stored in RAM13, hard disk or floppy disk. The data representing the document to be printed is stored on the hard disk or floppy disk.

【0026】キーボード15は文書を構成する文字を表わ
すデータ,各種の指令を入力するために用いられる。入
力装置としてさらにマウス,ライト・ペン等が必要に応
じて備えられる。CRT16は入力された文書,文字間隔
調整された文字列,図形,その他を表示する。
The keyboard 15 is used to input data representing characters constituting a document and various commands. A mouse, a light pen, etc. are further provided as an input device as required. The CRT 16 displays an input document, a character string whose character spacing is adjusted, a figure, and the like.

【0027】プリンタ17は最も一般的には電子写真プリ
ンタ(レーザ・プリンタ等)である。インクジェット・
プリンタや熱転写プリンタも必要に応じて用いられる。
植字結果がプリンタ17によって印刷される。文字を構成
するデータはアウトライン・ベクトル・フォントまたは
ビット・マップ・フォントの形態でプリンタ17に内蔵さ
れた記憶装置にあらかじめ格納されている。フォント・
データをハード・ディスクに格納してもよい。
The printer 17 is most commonly an electrophotographic printer (laser printer, etc.). Inkjet
Printers and thermal transfer printers are also used as needed.
The typesetting result is printed by the printer 17. The data forming the character is stored in advance in a storage device built in the printer 17 in the form of an outline vector font or a bit map font. font·
The data may be stored on the hard disk.

【0028】電算植字システムは,文書データを入力す
る機能,入力された文書を編集する機能,文書における
文字間隔を調整する機能,編集されかつ文字間隔調整さ
れた文書を印刷する機能等,多くの機能をもっている。
これらの機能のうちで文字間隔調整機能を実現する部分
が文字間隔調整装置である。電算植字システムはこのよ
うな多くの種類の機能を実現する装置によって組立てら
れていると考えることができる。
The computer typesetting system has many functions such as a function of inputting document data, a function of editing an input document, a function of adjusting character spacing in a document, a function of printing an edited and character-space-adjusted document. It has a function.
Of these functions, the part that implements the character spacing adjustment function is the character spacing adjustment device. A computer typesetting system can be considered to be assembled by a device that realizes many kinds of functions.

【0029】図2は電算植字システムにおける文字間隔
調整装置の動作の流れを示すものである。図2に示され
た一連の処理は主にCPU11の制御の下に実行される。
以下,この動作の流れにしたがって説明する。
FIG. 2 shows the operation flow of the character spacing adjusting device in the computer typesetting system. The series of processing shown in FIG. 2 is mainly executed under the control of the CPU 11.
Hereinafter, description will be given according to the flow of this operation.

【0030】印刷すべき文書を表わすデータ(文字コー
ド列)は既に入力されてハード・ディスクに格納されて
いるものとする。ハード・ディスクから文字コード列
(たとえば1行分または複数行分の)が読出され,フォ
ント・データにしたがって,これらの文字コードによっ
て指定される文字を表わすドット・データ(ビット・マ
ップ文字データ)がRAM13の作業エリア内に展開され
る(ステップ21)。展開されたビット・マップ文字デー
タの一例が図3に示されている。
It is assumed that the data (character code string) representing the document to be printed has already been input and stored in the hard disk. A character code string (for example, one line or multiple lines) is read from the hard disk, and dot data (bit map character data) representing the characters designated by these character codes is read according to the font data. It is developed in the work area of the RAM 13 (step 21). An example of the expanded bit map character data is shown in FIG.

【0031】一般に漢字,日本のひらがなやカタカナ,
韓国のハングル文字等は文章を構成するために横方向の
みならず縦方向にも並べられる。そのために,これらの
文字のデザイン上の基本となる枠(またはボディ,もし
くは仮想枠,仮想ボディ)Fは正方形である。文字間隔
調整のために展開されるビット・マップ文字データの枠
Fの大きさはあらかじめ固定的に定められている(たと
えば256 ×256 ドット(画素))。図3では作図の便宜
上,枠Fは24×24ドットである。枠Fの幅がFXで,高
さがFYでそれぞれ示されている(この実施例ではFX
=FY)。
Generally, kanji, Japanese hiragana and katakana,
Korean Hangul characters are arranged not only horizontally but vertically to compose sentences. Therefore, the frame (or body, or virtual frame, virtual body) F, which is the basic design of these characters, is a square. The size of the frame F of the bit map character data developed for adjusting the character spacing is fixedly determined in advance (for example, 256 × 256 dots (pixels)). In FIG. 3, the frame F is 24 × 24 dots for convenience of drawing. The width of the frame F is indicated by FX, and the height thereof is indicated by FY (FX in this embodiment).
= FY).

【0032】これらの枠Fの範囲内において文字がドッ
トによって表わされる。説明の便宜上,字面を構成する
ドットを黒ドット,字面以外の部分を表わすドットを白
ドットということにする。また,最も一般的な画面走査
と同じように,ビット・マップ文字データにも水平方向
(図3の横方向)と垂直方向(図3の縦方向)を定め
る。
Characters are represented by dots within the range of these frames F. For convenience of explanation, the dots forming the character surface will be referred to as black dots, and the dots representing the portions other than the character surface will be referred to as white dots. Further, like the most general screen scanning, the horizontal direction (horizontal direction in FIG. 3) and the vertical direction (vertical direction in FIG. 3) are determined for the bit map character data.

【0033】図3においては5種類の文字(日本のカタ
カナ)が水平方向に配列されている。この発明は垂直方
向に配列された文字間隔調整にももちろん適用可能であ
るが,以下では一貫して水平方向に配列された文字の間
隔の調整について説明することとする。ステップ21にお
けるビット・マップ文字データの展開においては,複数
の枠は互いに接した状態で配置される。これらの枠(ま
たは枠内の文字)にi,(i+1) ,(i+2) ,(i+3) および
(i+4) の連続番号が割当てられる。
In FIG. 3, five types of characters (Japanese katakana) are arranged in the horizontal direction. Although the present invention can be applied to the adjustment of the character spacing arranged in the vertical direction, of course, the adjustment of the spacing between the characters arranged in the horizontal direction will be consistently described below. In developing the bit map character data in step 21, the plurality of frames are arranged in contact with each other. In these boxes (or the characters inside the boxes), i, (i + 1), (i + 2), (i + 3) and
A serial number of (i + 4) is assigned.

【0034】これらのビット・マップ展開された文字デ
ータ列における各文字および文字間の特徴量が抽出,算
出または生成される(ステップ22)。
Each character in the character data string expanded in the bit map and the feature amount between the characters are extracted, calculated or generated (step 22).

【0035】各文字の特徴量には,文字(字面)の幅C
W(i) ,文字(字面)の高さCH(i) ,文字の左側マー
ジンCSL(i) ,および右側マージンCSR(i) があ
る。ここで(i) は文字iについての特徴量であることを
示す。文字i(i番目の文字)を,必要に応じて,着目
文字という。
The feature amount of each character is the width C of the character (character surface).
There is W (i), the height CH (i) of the character (character surface), the left margin CSL (i) of the character, and the right margin CSR (i). Here, (i) indicates that it is a feature amount for the character i. The character i (i-th character) is referred to as a character of interest, if necessary.

【0036】図4は図3に示したビット・マップ文字デ
ータ列のうちの2字分を取出し,かつ拡大して示すもの
である。この図を参照して,文字(字面)の幅CWは文
字(字面)を構成する黒ドットのうちの左端のドットと
右端のドットとの間の長さ(ドット数:左端のドットと
右端のドットを含む)である。たとえばi番目の文字に
おいて,文字の幅CW(i) は左端の黒ドットe3から右
端の黒ドットe4までのドット数で表わされる(CW
(i) =24)。同じように,(i+1) 番目の文字において,
文字の幅CW(i+1) は左端の黒ドットe5と右端の黒ド
ットe6との間のドット数である(ドットe5,e6も
含む)(CW(i+1) =18)。
FIG. 4 is a diagram in which two characters of the bit map character data string shown in FIG. 3 are extracted and enlarged. With reference to this figure, the width CW of a character (character surface) is the length between the left end dot and the right end dot of the black dots forming the character (character surface) (number of dots: left end dot and right end dot). (Including dots). For example, in the i-th character, the width CW (i) of the character is represented by the number of dots from the leftmost black dot e3 to the rightmost black dot e4 (CW
(i) = 24). Similarly, at the (i + 1) th character,
The character width CW (i + 1) is the number of dots between the leftmost black dot e5 and the rightmost black dot e6 (including dots e5 and e6) (CW (i + 1) = 18).

【0037】文字(字面)の高さCHは文字(字面)を
構成する黒ドットのうちの上端のドットと下端のドット
との間の長さ(ドット数;上端のドットと下端のドット
を含む)である。たとえば,i番目の文字において,文
字の高さCH(i) は上端の黒ドットe1から下端の黒ド
ットe2までのドット数である(CH(i) =20)。
The height CH of a character (character surface) is the length between the upper and lower dots of the black dots forming the character (character surface) (the number of dots; including the upper dot and the lower dot). ). For example, in the i-th character, the character height CH (i) is the number of dots from the upper black dot e1 to the lower black dot e2 (CH (i) = 20).

【0038】文字の左側マージンCSLは文字枠の左側
の縦線とその文字枠内の字面の左端の黒ドットと間のド
ット数で表わされる(左端の黒ドットを含まない)。文
字の右側マージンCSRは文字枠の右側の縦線とその文
字枠内の字面の右端の黒ドットとの間のドット数で表わ
される(右端の黒ドットを含まない)。たとえば,i番
目の文字においては,左端の黒ドットe3は左側の縦枠
線に接しているので,CSL(i) =0である。同じよう
にCSR(i) =0である。(i+1) 番目の文字においては
CSL(i+1) =3,CSR(i+1) =3である。
The left margin CSL of a character is represented by the number of dots between the vertical line on the left side of the character frame and the black dot at the left end of the character surface in the character frame (excluding the black dot at the left end). The right margin CSR of a character is represented by the number of dots between the vertical line on the right side of the character frame and the black dot at the right end of the character surface within the character frame (not including the black dot at the right end). For example, in the i-th character, the leftmost black dot e3 is in contact with the left vertical frame line, so that CSL (i) = 0. Similarly, CSR (i) = 0. In the (i + 1) th character, CSL (i + 1) = 3 and CSR (i + 1) = 3.

【0039】図3に示す5つの文字それぞれについて,
特徴量CW,CH,CSLおよびCSRが図6に示され
ている。
For each of the five characters shown in FIG.
The characteristic quantities CW, CH, CSL and CSR are shown in FIG.

【0040】適切な文字間隔をファジィ推論するために
用いられる基本的な文字の特徴量および文字間の特徴量
には,文字濃度DS,重複字面面積SBおよび空白面積
SWがある。
The basic character feature amount and inter-character feature amount used for fuzzy inference of an appropriate character interval include a character density DS, an overlapping character surface area SB, and a blank area SW.

【0041】文字濃度DSは文字の特徴量であり,これ
は一つの枠内において字面を構成する黒ドットの数で表
わされる。たとえばi番目の文字の濃度DS(i) は90,
(i+1) 番目の文字の濃度DS(i+1) は45である。
The character density DS is a characteristic amount of a character, which is represented by the number of black dots forming the character surface in one frame. For example, the density DS (i) of the i-th character is 90,
The density DS (i + 1) of the (i + 1) th character is 45.

【0042】重複字面面積SBおよび空白面積SWは着
目文字とその右側に隣接する文字との間の特徴量であ
る。i番目の文字についての重複字面面積SB(i) およ
び空白面積SW(i) は,i番目の文字と(i+1) 番目の文
字との関連性において生成される。
The overlapping character surface area SB and the blank area SW are the characteristic amounts between the character of interest and the character adjacent to its right side. The overlapping character surface area SB (i) and the blank area SW (i) for the i-th character are generated in the association between the i-th character and the (i + 1) -th character.

【0043】図5に示すように,(i+1) 番目の文字を左
側に移動させて,(i+1) 番目の字面の一部がi番目の字
面の一部に接するまで近づける(i番目の文字を(i+1)
番目の文字に近づけてもよい)。図5に示す例では,(i
+1) 番目の文字の左端の黒ドットe5がi番目の文字の
下端の黒ドットe2に接している(一般には,(i+1)番
目の文字の左端がi番目の文字の一部に接するとは限ら
ず,(i+1) 番目の文字の一部がi番目の文字の下端に接
するとは限らない)。
As shown in FIG. 5, the (i + 1) th character is moved to the left and brought closer until a part of the (i + 1) th character face touches a part of the ith character face (i The th character is (i + 1)
May be closer to the second letter). In the example shown in FIG. 5, (i
The leftmost black dot e5 of the (+1) th character is in contact with the lowermost black dot e2 of the ith character (generally, the leftmost edge of the (i + 1) th character is part of the ith character. It does not necessarily touch, and part of the (i + 1) th character does not necessarily touch the bottom edge of the ith character).

【0044】このようにi番目の文字と(i+1) 番目の文
字とを互いに近づく方向に移動させると,i番目の文字
の幅CW(i) と(i+1) 番目の文字の幅CW(i+1) とが重
なる。文字幅が重なった領域内に存在する,i番目の文
字の黒ドットの数と(i+1) 番目の文字の黒ドットの数と
の和が,i番目の文字の重複字面面積SB(i) である。
When the i-th character and the (i + 1) -th character are moved toward each other in this way, the width CW (i) of the i-th character and the width of the (i + 1) -th character CW (i + 1) overlaps. The sum of the number of black dots of the i-th character and the number of black dots of the (i + 1) th character existing in the area where the character widths overlap is the overlapping character area SB (i ).

【0045】図5においては,i番目の文字の字面(黒
ドット)と(i+1) 番目の文字の字面(黒ドット)とが二
重の(クロスした)ハッチングで示されている。これら
のうちで重複字面面積SB(i) が黒く塗りつぶされてい
る。この例ではSB(i) =37である。また,次に説明す
る空白面積SW(i) が一重のハッチングで示されてい
る。この例ではSW(i) =129 である。
In FIG. 5, the character surface (black dot) of the i-th character and the character surface (black dot) of the (i + 1) th character are shown by double (cross) hatching. Of these, the overlapping character surface area SB (i) is painted black. In this example, SB (i) = 37. Further, the blank area SW (i) described below is shown by a single hatching. In this example, SW (i) = 129.

【0046】空白面積SW(i) とは,i番目の文字の一
部と(i+1) 番目の文字の一部とが接した状態において,
i番目の文字の字面(黒ドット)と(i+1) 番目の文字の
字面(黒ドット)との間に水平方向に挟まれる白ドット
の数である。
The blank area SW (i) is a state in which a part of the i-th character and a part of the (i + 1) -th character are in contact with each other.
It is the number of white dots horizontally sandwiched between the character surface (black dot) of the i-th character and the character surface (black dot) of the (i + 1) th character.

【0047】このような特徴量を求めた後に,求めた特
徴量を用いて適切な文字間隔が推論される(ステップ2
3)。基本的なファジィ推論および後述する補助的なフ
ァジィ推論では着目文字およびそれに隣接する文字につ
いての特徴量が求められれば充分である。しかしなが
ら,後に説明する再調整(修正)処理においては,複数
の文字間の全体的なバランスを調整するために,着目文
字の近傍にある複数の文字の特徴量や文字間隔が必要で
ある。したがって好ましくは特徴量の算出はビット・マ
ップ文字データに展開された少なくとも一行分の文字に
ついて行なわれる。
After obtaining such a feature amount, an appropriate character spacing is inferred using the obtained feature amount (step 2
3). It is sufficient for the basic fuzzy inference and the auxiliary fuzzy inference to be described later that the feature amount of the character of interest and the character adjacent thereto be obtained. However, in the readjustment (correction) process described later, in order to adjust the overall balance between the plurality of characters, it is necessary to have the feature amounts and the character intervals of the plurality of characters near the target character. Therefore, preferably, the calculation of the characteristic amount is performed for at least one line of characters expanded in the bit map character data.

【0048】推論演算により得られるi番目の文字につ
いての文字間隔CS(i) とは,図7から図9に示すよう
に,i番目の文字の右端の黒ドットe4と(i+1) 番目の
文字の左端の黒ドットe5との間の距離(ドット数)で
ある。
As shown in FIGS. 7 to 9, the character spacing CS (i) for the i-th character obtained by the inference operation is the black dot e4 at the right end of the i-th character and the (i + 1) -th character. Is the distance (dot number) from the leftmost black dot e5 of the character.

【0049】図7はステップ21においてビット・マップ
・データに展開された状態を示している。このときの文
字間隔が最大となる。この最大文字間隔をCSmax(i)と
置く。文字間隔調整は2つの文字の間隔を狭くする方向
に行なわれ,調整後の文字間隔がこの最大文字間隔より
も大きくなることはない。最大文字間隔CSmax(i)はi
番目の文字の右側マージンCSR(i) と(i+1) 番目の文
字の左側マージンCSL(i+1) との和で表わされる。す
なわち, CSmax(i)=CSR(i) +CSL(i+1) ‥式(1)
FIG. 7 shows a state in which the bit map data is expanded in step 21. The character spacing at this time is the maximum. This maximum character spacing is designated as CSmax (i). The character spacing adjustment is performed in the direction of narrowing the spacing between two characters, and the adjusted character spacing does not become larger than the maximum character spacing. The maximum character spacing CSmax (i) is i
It is represented by the sum of the right margin CSR (i) of the th character and the left margin CSL (i + 1) of the (i + 1) th character. That is, CSmax (i) = CSR (i) + CSL (i + 1) (1)

【0050】図8は(i+1) 番目の文字を左側に移動させ
て両文字の文字幅の一部が重複した状態を示している。
このように,隣接する文字の文字幅が重なると,文字間
隔CS(i) は負の値をとる。
FIG. 8 shows a state in which the (i + 1) th character is moved to the left and the character widths of both characters partially overlap.
In this way, when the character widths of adjacent characters overlap, the character spacing CS (i) takes a negative value.

【0051】図9は(i+1) 番目の文字の一部がi番目の
文字の一部に接するまで(i+1) 番目の文字を移動させた
状態を示している。文字間隔CS(i) はこのとき最小と
なる。最小文字間隔をCSmin(i)と書く。最小文字間隔
は一般には零または負の値である。
FIG. 9 shows a state in which the (i + 1) th character is moved until a part of the (i + 1) th character contacts a part of the ith character. The character spacing CS (i) is minimum at this time. The minimum character spacing is written as CSmin (i). The minimum character spacing is generally zero or a negative value.

【0052】ファジィ推論のために,i番目の文字と(i
+1) 番目の文字との間の文字間隔の大きさの程度を表わ
す文字間隔開き具合CSD(i) が次式によって定義され
る。
For fuzzy reasoning, the i-th character and (i
The character spacing opening degree CSD (i) representing the degree of the character spacing between the (+1) th character and the character spacing is defined by the following equation.

【0053】 CSD(i) = [CS(i) −CSmin(i)]/[CSmax(i)−CSmin(i)] ‥式(2) CSD (i) = [CS (i) −CSmin (i)] / [CSmax (i) −CSmin (i)] Equation (2)

【0054】 CSmin(i)≦CS(i) ≦CSmax(i) ‥式(3)CSmin (i) ≦ CS (i) ≦ CSmax (i) Equation (3)

【0055】この文字間隔開き具合CSD(i) は0〜1
の間の連続値をとる。
The character spacing opening degree CSD (i) is 0 to 1
Takes a continuous value between.

【0056】次に示すファジィ推論において文字間隔開
き具合CSD(i) が求められ,式(2) にしたがって最終
的に文字間隔CS(i) が得られる。
In the following fuzzy inference, the character spacing opening degree CSD (i) is obtained, and finally the character spacing CS (i) is obtained according to the equation (2).

【0057】ファジィ推論は基本的には,文字濃度DS
(i) ,重複字面面積SB(i) および空白面積SW(i) を
前件部変数として用いて行なわれる。後件部は文字間隔
開き具合CSD(i) である。
The fuzzy reasoning is basically a character density DS
(i), overlapping character area SB (i) and blank area SW (i) are used as antecedent variables. The consequent part is CSD (i), which is the character spacing.

【0058】基本ルール群の一例を挙げると次の通りで
ある。
An example of the basic rule group is as follows.

【0059】(I) 文字濃度DSに関するルール群 IF DS(i) が大きい,AND DS(i+1) が大きい,TH
EN CSD(i) は大きい IF DS(i) が中くらい,AND DS(i+1) が中くら
い,THEN CSD(i) は中くらい IF DS(i) が小さい,AND DS(i+1) が小さい,TH
EN CSD(i) は小さい
(I) Group of rules relating to character density DS IF DS (i) is large, AND DS (i + 1) is large, TH
EN CSD (i) is large IF DS (i) is medium, AND DS (i + 1) is medium, THEN CSD (i) is medium IF DS (i) is small, AND DS (i + 1) Is small, TH
EN CSD (i) is small

【0060】濃度が大きい文字では黒ドットの数が多
い。したがってこのような二文字が隣接して配置されて
いる場合には,もし文字間隔を小さくすると読みづらく
なるので,文字間隔を大きくして読みやすくする。反対
に濃度が小さい文字が隣接して並んでいるときには,こ
れらの文字を近づけた方が読みやすい。
A character having a high density has a large number of black dots. Therefore, when such two characters are arranged adjacent to each other, if the character spacing is reduced, it becomes difficult to read. Therefore, the character spacing is increased to facilitate reading. On the other hand, when characters with low density are lined up next to each other, it is easier to read these characters closer.

【0061】(II)重複字面面積SBに関するルール群 IF SB(i) が大きい,THEN CSD(i) は大きい IF SB(i) が中くらい,THEN CSD(i) は中くらい IF SB(i) が小さい,THEN CSD(i) は小さい(II) Group of rules regarding overlapping character area SB IF SB (i) is large, THEN CSD (i) is large IF SB (i) is medium, THEN CSD (i) is medium IF SB (i) Is small, THEN CSD (i) is small

【0062】重複字面面積が大きい場合には文字間隔を
広くした方が読みやすく,重複字面面積が小さい場合に
は文字間隔を小さくした方が読みやすい。
If the overlapping character surface area is large, it is easier to read if the character spacing is wider, and if the overlapping character surface area is smaller, it is easier to read if the character spacing is smaller.

【0063】(III) 空白面積SWに関するルール群 IF SW(i) が大きい,THEN CSD(i) は小さい IF SW(i) が中くらい,THEN CSD(i) は中くらい IF SW(i) が小さい,THEN CSD(i) は大きい(III) The rule group IF SW (i) for the blank area SW is large, THEN CSD (i) is small IF SW (i) is medium, and THEN CSD (i) is medium IF SW (i) Small, THEN CSD (i) is large

【0064】空白面積が大きいと文字間隔は広く感じら
れるので,文字間隔を狭くした方が読みやすい。逆に空
白面積が小さいときには,重複字面面積が大きい場合と
同じように,文字間隔を広くした方が読みやすいことに
なる。
When the blank area is large, the character spacing is felt to be wide. Therefore, the narrower the character spacing is, the easier it is to read. On the contrary, when the blank area is small, it becomes easier to read when the character spacing is wider, as in the case where the overlapping character surface area is large.

【0065】このような基本ルール群で用いられる前件
部メンバーシップ関数の一例が図10から図12に示されて
いる。図10は文字濃度DSに関するメンバーシップ関数
を,図11は重複字面面積SBに関するメンバーシップ関
数を,図12は空白面積に関するメンバーシップ関数をそ
れぞれ示している。
An example of the antecedent part membership function used in such a basic rule group is shown in FIGS. FIG. 10 shows the membership function regarding the character density DS, FIG. 11 shows the membership function regarding the overlapping character area SB, and FIG. 12 shows the membership function regarding the blank area.

【0066】後件部の文字間隔開き具合CSDに関する
メンバーシップ関数が図13に示されている。
FIG. 13 shows the membership function relating to the CSD of the character space opening degree of the consequent part.

【0067】上記のルール群とメンバーシップ関数とを
用いたファジィ推論は,既に確立された推論演算方法に
したがって行なわれればよい。たとえば,ルールごと
に,得られた前件部適合度(グレード)によって後件部
メンバーシップ関数がトランケートされる。全ルールの
トランケートされた後件部メンバーシップ関数のMAX
演算が行なわれる。このMAX演算結果の重心が求めら
れる。求められた重心が最終的な文字間隔開き具合であ
る。この文字間隔開き具合を式(2) に代入して文字間隔
が得られる。
The fuzzy inference using the above rule group and membership function may be carried out according to the already established inference operation method. For example, for each rule, the consequent part membership function is truncated according to the obtained anterior part conformance (grade). MAX of truncated consequent membership function of all rules
Calculation is performed. The center of gravity of this MAX calculation result is obtained. The determined center of gravity is the final character spacing. The character spacing is obtained by substituting this character spacing opening degree into equation (2).

【0068】上述したルール群および図10から図13で
は,各変数について,三種類のメンバーシップ関数,
「小さい」,「中くらい」および「大きい」が示されて
いるが,必要に応じて,「やや小さい」,「やや大き
い」等の言語情報を表わすメンバーシップ関数を追加し
てもよいのはいうまでもない。
In the rule group described above and in FIGS. 10 to 13, three kinds of membership functions for each variable,
Although "small", "medium" and "large" are shown, it is possible to add a membership function representing language information such as "slightly small" or "slightly large" as necessary. Needless to say.

【0069】また,上述したルール群においては,前件
部変数の種類が一つであるが,二種類以上の変数を前件
部とするルールを作成することもできる。たとえば, IF DS(i) が大きい,AND SB(i) が大きい,AND
SW(i) が小さい,THEN CSD(i) はきわめて大き
い というようなルールを設けることも可能である。前件部
には文字濃度DS,重複字面面積SBおよび空白面積S
Wの任意の組合せを記述することができる。
Further, in the above-mentioned rule group, the type of the antecedent part variable is one, but it is also possible to create a rule having two or more types of variables as the antecedent part. For example, IF DS (i) is large, AND SB (i) is large, AND
It is possible to set rules such that SW (i) is small and THEN CSD (i) is extremely large. Character density DS, overlapping character area SB and blank area S in the antecedent part
Any combination of W can be described.

【0070】文字間隔を求める上述した推論演算は,与
えられた文字列に含まれるすべての文字について順次実
行される。最終的にすべての文字についての適切な文字
間隔が得られることになる。
The above inference operation for obtaining the character spacing is sequentially executed for all the characters included in the given character string. Eventually, the proper character spacing for all characters will be obtained.

【0071】上述した基本ルール群(I) ,(II)および(I
II) は適切な文字間隔を推論するために必要な最少限の
前件部変数DS,SBおよびSWに関するものである。
必要に応じてさらに補助的な前件部変数を用いることが
できる。
The above-mentioned basic rule groups (I), (II) and (I
II) concerns the minimum antecedent variables DS, SB and SW needed to infer an appropriate character spacing.
More auxiliary antecedent variables can be used if desired.

【0072】これらの補助的な前件部変数には,ユーザ
入力間隔UCS,最小文字間隔と文字幅との比に関する
変数KS,最小文字間隔と文字高さとの比に関する変数
KH,文字重複複雑度CPX等がある。以下,これらの
補助的な変数について説明する。
These auxiliary antecedent variables include the user input interval UCS, the variable KS relating to the ratio between the minimum character spacing and the character width, the variable KH relating to the ratio between the minimum character spacing and the character height, and the character duplication complexity. There are CPX, etc. Hereinafter, these auxiliary variables will be described.

【0073】ユーザ入力間隔UCSは特定の文字につい
てユーザによって指定された文字間隔である。ユーザは
キーボード15を用いて特定の文字を指定して所望の文字
間隔を入力することができる。文字間隔はたとえばドッ
ト数により,CRT16に表示されている特定文字の文字
間隔に対する比率により,その他の方法で入力されよ
う。ユーザ入力間隔UCSに関するルールの一例は次の
ようなものである。
User input interval UCS is the character spacing specified by the user for a particular character. The user can input a desired character spacing by designating a specific character using the keyboard 15. The character spacing may be entered in other ways, for example by the number of dots or by the ratio of the particular character displayed on the CRT 16 to the character spacing. An example of a rule regarding the user input interval UCS is as follows.

【0074】(IV)ユーザ入力間隔UCSに関するルール
群 IF UCS(i) が大きい,THEN CSD(i) は大きい IF UCS(i) が中くらい,THEN CSD(i) は中くら
い IF UCS(i) が小さい,THEN CSD(i) は小さい
(IV) Rule group relating to user input interval UCS IF UCS (i) is large, THEN CSD (i) is large IF UCS (i) is medium, THEN CSD (i) is medium IF UCS (i) Is small, THEN CSD (i) is small

【0075】ユーザが文字間隔を大きくすることを希望
するならばそれにしたがって文字間隔を大きくし,小さ
い文字間隔を希望するならば文字間隔を小さくする。
If the user desires to increase the character spacing, the character spacing is increased accordingly, and if the user desires a small character spacing, the character spacing is reduced.

【0076】ユーザ入力間隔UCSに関するメンバーシ
ップ関数の一例が図14に示されている。必要に応じてさ
らに多くの種類のメンバーシップ関数(たとえば「きわ
めて大きい」等)を設定することができるのはいうまで
もない。
An example of a membership function for the user input interval UCS is shown in FIG. It goes without saying that more kinds of membership functions (for example, "extremely large") can be set as needed.

【0077】ユーザ入力間隔UCSを考慮した推論(ス
テップ23)では,上述した基本ルール群(I) ,(II)およ
び(III) に加えて上記UCSに関するルール群(IV)が,
ファジィ推論のためのルール群として設定される。これ
らのすべてのルール群にしたがう推論演算が行なわれ,
最終的にユーザ入力間隔も加味された最適文字間隔が得
られることになる。
In the reasoning considering the user input interval UCS (step 23), in addition to the basic rule groups (I), (II) and (III) described above, the rule group (IV) related to the UCS is
Set as a set of rules for fuzzy reasoning. Inference operations are performed according to all these rules,
Finally, the optimum character spacing with the user input spacing taken into consideration can be obtained.

【0078】DSとSBとSWとUCSの任意の組合せ
を前件部とするルール群を作成することができるのはい
うまでない。
It goes without saying that it is possible to create a rule group whose antecedent part is an arbitrary combination of DS, SB, SW and UCS.

【0079】変数KS(i) は次式で定義される。The variable KS (i) is defined by the following equation.

【0080】 KS(i) =|CSmin(i)|/MIN[CW(i) ,CW(i+1) ] ‥式(4) KS (i) = | CSmin (i) | / MIN [CW (i), CW (i + 1)] Equation (4)

【0081】ここでMIN[CW(i) ,CW(i+1) ]は
CW(i) およびCW(i+1) のうちいずれか小さい方を選
択して採用することを意味する。
MIN [CW (i), CW (i + 1)] means that the smaller one of CW (i) and CW (i + 1) is selected and adopted.

【0082】変数KSに関するルールの例は次の通りで
ある。
An example of a rule relating to the variable KS is as follows.

【0083】(V) 変数KSに関するルール(群) IF KS(i) が大きい,THEN CSD(i) は大きい(V) Rule (group) regarding variable KS: IF KS (i) is large, THEN CSD (i) is large

【0084】変数KSに関するメンバーシップ関数の一
例が図15に示されている。ここでは言語情報「大きい」
についてのみメンバーシップ関数が定義されている。し
たがってメンバーシップ関数「大きい」が定義されてい
ない領域(グレードが零の範囲)では上記のルールは何
ら影響しない。もちろん,必要に応じて二種類以上のメ
ンバーシップ関数を作成し,上記のルール以外により多
くのルールを設定することができるのはいうまでもな
い。
An example of a membership function for the variable KS is shown in FIG. Here, the language information is "large"
Membership functions are defined only for. Therefore, in the region where the membership function "large" is not defined (range where grade is zero), the above rule has no effect. Of course, it is needless to say that more than two types of membership functions can be created as needed and more rules can be set in addition to the above rules.

【0085】最小文字間隔CSmin はi番目の文字と(i
+1) 番目の文字とが重複しうる最大限を示している。上
述した基本ルール群(I) ,(II)および(III) によってi
番目の文字と(i+1) 番目の文字とがかなり重複するよう
な文字間隔が得られたとすると,見づらいものとなる可
能性がある。特に2つの文字のうちのいずれか一方の文
字幅CHが狭い場合には,一方の文字が他方の文字に従
属している感じを与えかねない。最小文字間隔CSmin
の絶対値がかなり大きいか,もしくは2つの文字の文字
幅のいずれか小さい方がかなり小さい場合には,式(4)
によると変数KSはかなり大きくなる。このような場合
にはルール(V) によって文字間隔を大きくするように作
用させる。ルール(V) は基本ルール群による文字間隔の
挟まりすぎを是正するためのものである。
The minimum character spacing CSmin is the i-th character and (i
+1) indicates the maximum possible overlap with the character. By the above-mentioned basic rule groups (I), (II) and (III), i
If the character spacing is such that the th character and the (i + 1) th character overlap considerably, it can be difficult to see. In particular, when the character width CH of one of the two characters is narrow, it may give the feeling that one character is subordinate to the other character. Minimum character spacing CSmin
If the absolute value of is very large or the character width of two characters, whichever is smaller, is smaller, formula (4)
According to, the variable KS becomes considerably large. In such cases, rule (V) is used to increase the character spacing. Rule (V) is to correct the excessive spacing of the character spacing due to the basic rules.

【0086】文字間隔のファジィ推論(ステップ23)
は,上記基本ルール群(I) ,(II)および(III) に上記ル
ール(群)(V) を加えて構成されるルール群にしたがっ
て行なわれる。これにより,変数KSも考慮した適切な
文字間隔が得られる。特徴量MIN[CH(i) ,CH(i
+1) ]は推論に先だって算出される(ステップ22)。D
SとSBとSWとKSの任意の組合せを前件部にもつル
ールを設定することができるのはいうまでもない。
Fuzzy inference of character spacing (step 23)
Is performed according to a rule group configured by adding the above rule (group) (V) to the above basic rule groups (I), (II) and (III). This makes it possible to obtain an appropriate character spacing in consideration of the variable KS. Features MIN [CH (i), CH (i
+1)] is calculated prior to inference (step 22). D
It goes without saying that it is possible to set a rule having an arbitrary combination of S, SB, SW and KS in the antecedent part.

【0087】上述したすべてのルール群(I) ,(II),(I
II) ,(IV)および(V) によって構成されるルール群にし
たがってファジィ推論を行なうようにしてもよい。この
場合にはユーザ入力間隔UCSと変数KSとが文字間隔
の推論において考慮される。DSとSBとSWとUCS
とKSの任意の組合せを前件部にもつルールを設定して
ももちろんよい。
All rule groups (I), (II), (I
Fuzzy reasoning may be performed according to the rules consisting of II), (IV) and (V). In this case, the user input spacing UCS and the variable KS are taken into account in inferring the character spacing. DS, SB, SW and UCS
It is of course possible to set a rule having an antecedent part of an arbitrary combination of KS and KS.

【0088】変数KH(i) は次式で定義される。The variable KH (i) is defined by the following equation.

【0089】 KH(i) =|CSmin(i)|/MIN[CH(i) ,CH(i+1) ] ‥式(5) KH (i) = | CSmin (i) | / MIN [CH (i), CH (i + 1)] Equation (5)

【0090】変数KHに関するルールの例には次のよう
なものがある。
Examples of rules relating to the variable KH are as follows.

【0091】(VI)変数KHに関するルール(群) IF KH(i) が大きい,THEN CSD(i) は大きい(VI) Rule (group) regarding variable KH IF KH (i) is large, THEN CSD (i) is large

【0092】変数KHに関するメンバーシップ関数の一
例が図16に示されている。このメンバーシップ関数にお
いてもKHの値が小さい範囲ではグレードが零であり,
この範囲では上記のルールは推論全体に何らの影響も及
ぼさない。もちろん,KHに関して二種類以上のメンバ
ーシップ関数を作成し,上記以外のルールを設定するこ
とができるのはいうまでもない。
An example of a membership function for the variable KH is shown in FIG. Even in this membership function, the grade is zero in the range where the value of KH is small,
In this range, the above rules have no effect on the whole inference. Needless to say, it is possible to create two or more kinds of membership functions for KH and set rules other than the above.

【0093】i番目の文字と(i+1) 番目の文字のいずれ
か一方の文字高さCHが低い場合にも,もし2つの文字
がかなり重複していたとすると,高さの低い一方の文字
が他方の文字に従属している感じを与えることになる。
基本ルール群(I) 〜(III) によってこのような結果が生
じるのを防止するためにルール(VI)がある。ルール(VI)
もまた基本ルール群による推論結果を修正するように働
く。
Even if the character height CH of either the i-th character or the (i + 1) -th character is low, if the two characters overlap considerably, the character with the lower height Gives a feeling of being subordinate to the other letter.
There is a rule (VI) to prevent such a result from being caused by the basic rule groups (I) to (III). Rule (VI)
Also works to modify the inference results by the basic rules.

【0094】変数KSおよびKHに関するメンバーシッ
プ関数が,これらの変数の値が大きい領域においてのみ
定義されている(図15,図16参照)のはこの理由によ
る。
It is for this reason that the membership functions for the variables KS and KH are defined only in the regions where the values of these variables are large (see FIGS. 15 and 16).

【0095】文字間隔のファジィ推論(ステップ23)
は,上記基本ルール群(I) ,(II)および(III) に上記ル
ール(VI)を加えて構成されるルール群にしたがって行な
われる。これにより,変数KHを考慮した適切な文字間
隔が得られる。推論に先だってMIN[CH(i) ,CH
(i+1) ]が算出されるのはいうまでもない(ステップ2
2)。DSとSBとSWとKHとの任意の組合せを前件
部にもつルールを設定することができるのはいうまでも
ない。
Fuzzy inference of character spacing (step 23)
Is performed according to a rule group configured by adding the rule (VI) to the basic rule groups (I), (II) and (III). As a result, an appropriate character spacing considering the variable KH can be obtained. MIN [CH (i), CH prior to inference
It goes without saying that (i + 1)] is calculated (step 2
2). It goes without saying that it is possible to set a rule having the antecedent part with an arbitrary combination of DS, SB, SW and KH.

【0096】上述したすべてのルール群(I) ,(II),(I
II) ,(IV),(V) および(VI)の任意の組合せにしたがっ
て構成されるルール群にしたがってファジィ推論を行な
うようにしてもよい。ただし,基本ルール群(I) ,(II)
および(III) は必ず用いられる。ルール群(IV),(V) お
よび(VI)のいずれか一つまたは二つ以上が基本ルール群
に加えられることになる。この場合に,DSとSBとS
WとUCSとKSとKHの任意の組合せを前件部にもつ
ルールを設定してもよい。
All the rule groups (I), (II), (I
Fuzzy inference may be performed according to a rule group configured according to any combination of II), (IV), (V) and (VI). However, basic rule groups (I), (II)
And (III) are always used. Any one or more of the rule groups (IV), (V) and (VI) will be added to the basic rule group. In this case, DS, SB and S
You may set the rule which has an arbitrary combination of W, UCS, KS, and KH in the antecedent part.

【0097】文字重複複雑度CPX(i) とは,i番目の
文字と(i+1) 番目の文字とを,それらの一部が接するま
で近づけることにより形成される重複領域(i番目の文
字の幅と(i+1) 番目の文字の幅とが重なっている領域)
において,ドット(画素)ごとの垂直走査線が一方の文
字の字面から他方の文字の字面へ,または他方の文字の
字面から一方の文字の字面へ遷移する回数の平均値であ
る。
The character overlap complexity CPX (i) is an overlap area (i-th character formed by bringing the i-th character and the (i + 1) -th character close to each other until some of them touch each other. Area where the width of and the width of the (i + 1) th character overlap)
Is the average value of the number of times the vertical scanning line for each dot (pixel) transits from the character face of one character to the character face of the other character, or from the character face of the other character to the character face of one character.

【0098】図17を参照して具体的に説明する。i番目
の文字と(i+1) 番目の文字との重複領域には11本の垂直
走査線V1〜V11がある。これらの垂直走査線はいずれ
もi番目の文字の字面から(i+1) 番目の文字の字面に1
回遷移する。したがってその平均値も1であり,文字重
複複雑度CPXは1ということになる。
This will be specifically described with reference to FIG. There are eleven vertical scanning lines V1 to V11 in the overlapping area of the i-th character and the (i + 1) -th character. Each of these vertical scan lines is 1 from the face of the i-th character to the face of the (i + 1) th character.
Transits times. Therefore, the average value is also 1, and the character overlap complexity CPX is 1.

【0099】図18に示す例においては,i番目の文字と
(i+1) 番目の文字との重複領域には6本の垂直走査線が
ある。これらのうちで,垂直走査線V21〜V23はi番目
の文字の字面から(i+1) 番目の文字の字面に移り,さら
に(i+1) 番目の文字の字面からi番目の文字の字面に移
る。したがって遷移回路はそれぞれ2である。これに対
して,垂直走査線V24〜V26の遷移回路は4である。し
たがって,文字重複複雑度は次式にしたがって算出され
る。
In the example shown in FIG. 18, the i-th character
There are 6 vertical scan lines in the overlap area with the (i + 1) th character. Of these, the vertical scanning lines V21 to V23 move from the character face of the i-th character to the character face of the (i + 1) th character, and then the character face of the i-th character from the character face of the (i + 1) th character. Move on to. Therefore, the number of transition circuits is 2, respectively. On the other hand, the number of transition circuits of the vertical scanning lines V24 to V26 is four. Therefore, the character overlap complexity is calculated according to the following equation.

【0100】 CPX(i) =(2+2+2+4+4+4)/6=3 ‥式(6) CPX (i) = (2 + 2 + 2 + 4 + 4 + 4) / 6 = 3 Equation (6)

【0101】文字重複複雑度CPX(i) は特徴量生成処
理(ステップ22)において算出される。
The character overlap complexity CPX (i) is calculated in the characteristic amount generating process (step 22).

【0102】文字重複複雑度CPXに関するルール群は
たとえば次のようなものである。
A group of rules relating to the character duplication complexity CPX is, for example, as follows.

【0103】(VII) 文字重複複雑度CPXに関するルー
ル群 IF CPX(i) が大きい,THEN CSD(i) は大きい IF CPX(i) が中くらい,THEN CSD(i) は中くら
い IF CPX(i) が小さい,THEN CSD(i) は小さい
(VII) Rule group regarding character duplication complexity CPX IF CPX (i) is large, THEN CSD (i) is large IF CPX (i) is medium, THEN CSD (i) is medium IF CPX (i) ) Is small, THEN CSD (i) is small

【0104】文字重複複雑度CPXに関するメンバーシ
ップ関数の一例が図19に示されている。
FIG. 19 shows an example of the membership function regarding the character duplication complexity CPX.

【0105】文字重複複雑度が大きいということは,も
し2つの文字が近接したとするとそれらの一部がかなり
重複して読みづらくなることを意味する。したがって,
この場合には文字間隔を大きくして読みやすくする。文
字重複複雑度が小さければ文字間隔を小さくしても問題
はない。
The high degree of character overlap complexity means that if two characters are close to each other, some of them will be considerably overlapped and hard to read. Therefore,
In this case, increase the character spacing to make it easier to read. If the character overlap complexity is low, there is no problem even if the character spacing is reduced.

【0106】文字重複複雑度CPXを考慮した文字間隔
のファジィ推論(ステップ23)は,上記基本ルール群
(I) ,(II)および(III) に上記ルール群(VII) を加えて
構成されるルール群にしたがって行なわれる。DSとS
BとSWとCPXのうちの任意のものの組合せを前件部
にもつルールも作成することができるのはいうまでもな
い。
The fuzzy inference of the character spacing considering the character overlap complexity CPX (step 23) is based on the above basic rule group.
It is performed according to a rule group configured by adding the above rule group (VII) to (I), (II) and (III). DS and S
It goes without saying that it is also possible to create a rule having a combination of any of B, SW and CPX in the antecedent part.

【0107】上述したすべてのルール群(I) ,(II),(I
II) ,(IV),(V) ,(VI)および(VII) の任意の組合せ
(ただしルール群(I) ,(II)および(III) は必ず含まれ
る)にしたがって構成されるルール群にしたがってファ
ジィ推論を行なうようにしてもよい。すなわち,基本ル
ール群(I) ,(II)および(III) に,補助的ルール群(I
V),(V) ,(VI)および(VII) のいずれか一つまたは二つ
以上が加えられることになる。この場合に,DS,S
B,SW,UCS,KS,KHおよびCPXの任意の組
合せを前件部にもつルールが作成されてもよい。
All the rule groups (I), (II), (I
II), (IV), (V), (VI) and (VII) in any combination of rules (including rule groups (I), (II) and (III)) Therefore, fuzzy inference may be performed. That is, the basic rule groups (I), (II) and (III) are added to the auxiliary rule group (I
Any one or more of V), (V), (VI) and (VII) will be added. In this case, DS, S
A rule having an antecedent part of any combination of B, SW, UCS, KS, KH and CPX may be created.

【0108】小さい文字の取扱いについて説明する。小
さい文字とは,たとえば図3または図6において,(i+
3) 番目の文字のように,他の文字に比べて高さCHお
よび幅CWがともに小さい文字を指す。小さい文字かど
うかの判断をCPU11に行なわせる場合には,この判断
のための基準値(たとえば高さの上限値のビット数およ
び幅の上限値のビット数,またはこれらの枠に対する割
合等)をあらかじめRAM13に格納しておくか,または
ユーザに入力させる。ハード・ディスク14に格納された
文字コード列において,小さい文字のコードに小さい文
字であることを示すビット(またはコード)を付加して
おいてもよい。ユーザに小さい文字であることを表示画
面上において指定させるようにしてもよい。いずれにし
ても,小さい文字がある場合には,その前にある文字
(図3または図6においては(i+2) 番目の文字)との関
連性の上で次のような処理が行なわれる。
The handling of small characters will be described. A small character is, for example, (i +
3) Characters such as the second character that have a smaller height CH and width CW than other characters. When making the CPU 11 determine whether the character is small, a reference value for this determination (for example, the number of bits of the upper limit value of the height and the number of bits of the upper limit value of the width, or the ratio of these to the frame) is used. It is stored in the RAM 13 in advance, or the user inputs it. In the character code string stored in the hard disk 14, a bit (or code) indicating a small character may be added to the code of the small character. You may make it a user specify on a display screen that it is a small character. In any case, if there is a small character, the following processing is performed in relation to the preceding character ((i + 2) th character in Fig. 3 or 6). .

【0109】図20から図24は(i+2) 番目の文字と(i+3)
番目の文字とを示すものである。図22がステップ21にお
いて展開されたビット・マップ・データである。図21
は,(i+3) 番目の小さな文字の字面全体を図22に比べて
2ドット分上方に変位させた状態を示している。図20は
(i+3) 番目の文字の字面全体を図22の状態から4ドット
分上方に変位させたものを示している。さらに図23およ
び図24は(i+3) 番目の小さな文字の字面を,図22の状態
からそれぞれ2ドット分および4ドット分下方に変位さ
せたものを示している。
20 to 24 show (i + 2) th character and (i + 3)
And the second character. FIG. 22 shows the bit map data expanded in step 21. Figure 21
Shows the state where the entire character surface of the (i + 3) th small character is displaced upward by 2 dots compared to Fig. 22. Figure 20
The figure shows that the entire character surface of the (i + 3) th character is displaced upward by 4 dots from the state of FIG. Further, FIGS. 23 and 24 show the characters of the (i + 3) th small character displaced from the state of FIG. 22 by 2 dots and 4 dots, respectively.

【0110】このように,小さな文字があると,その小
さな文字(i+3) の1つ前の文字(i+2) についての文字間
隔CS(i+2) の推論において,小さな文字(i+3) をビッ
ト・マップ展開された高さ位置に保った状態で適切な文
字間隔を推論するとともに,小さな文字(i+3) を適当な
量だけ上,下に変位させた上で,この変位した位置の小
さな文字との適切な文字間隔を推論する。これらの推論
においては,上述した基本ルール群(および必要な補助
的ルール群)が用いられる。このようにして得られた小
さな文字(i+3) の種々の高さ位置に対する適切文字間隔
のうち,最も小さな文字間隔が選択される(ステップ2
4)。また,最も小さな文字間隔を生じさせる小さな文
字の高さ位置がその文字の高さであると決定される。図
20から図24に示す例では,図23において文字間隔CS(i
+2) が最も小さくなっている。図23において(i+3) 番目
の文字の黒ドットの一部が枠から下方にはみ出している
が問題はない。2つの文字の間隔をできるだけ小さくす
るというのが文字間隔調整の目的であるので,最小の文
字間隔が選択される訳である。図20から図24においては
2ドット分ずつ小さな文字(i+3) を上下に変位させてい
るが,変位量は任意に定めることができる。
Thus, when there is a small character, the small character (i + 3) is inferred in the character spacing CS (i + 2) for the character (i + 2) immediately before the small character (i + 3). +3) is kept in the height position where the bit map is expanded, the proper character spacing is inferred, and the small character (i + 3) is displaced up and down by an appropriate amount. Infer proper character spacing with small characters at displaced positions. In these inferences, the above-mentioned basic rule group (and necessary auxiliary rule group) are used. Of the appropriate character spacings for the various height positions of the small character (i + 3) obtained in this way, the smallest character spacing is selected (step 2
Four). Also, the height position of the small character that produces the smallest character spacing is determined to be the height of that character. Figure
In the example shown in FIGS. 20 to 24, the character spacing CS (i
+2) is the smallest. In FIG. 23, a part of the black dot of the (i + 3) th character protrudes downward from the frame, but there is no problem. Since the purpose of the character spacing adjustment is to minimize the spacing between two characters, the minimum character spacing is selected. 20 to 24, the small character (i + 3) is displaced vertically by 2 dots, but the displacement amount can be set arbitrarily.

【0111】一般に日本語における小さな文字はそれに
先行する文字に付随するものである。上述した例ではこ
のような日本語の性質を利用して,小さな文字とその前
にある文字との間隔ができるだけ小さくなるように決定
されている。小さな文字がそれに続く文字に付随する性
質をもつ言語においては,小さな文字とその後に配列さ
れた文字との文字間隔ができるだけ小さくなるように調
整される。
Generally, a small character in Japanese is associated with a character preceding it. In the above-mentioned example, it is determined that the space between the small character and the character in front of it is as small as possible by utilizing such a Japanese property. In languages that have the property that a small character is attached to the character that follows it, the character spacing between the small character and the characters arranged after it is adjusted to be as small as possible.

【0112】以上のようにして,文字コード列によって
表わされる文章を構成するすべての文字,または少なく
とも1行分の文字についての適切な文字間隔がファジィ
推論により求められる。この後,着目文字の前後に配列
された他の複数の文字との全体的なバランスを考慮して
着目文字の文字間隔を修正(再調整)する処理が行なわ
れる(ステップ25)。この修正処理はすべての文字を着
目文字としてすべての文字について行なわれる。
As described above, the appropriate character spacings for all the characters forming the sentence represented by the character code string, or for at least one line of characters, are obtained by fuzzy inference. Thereafter, a process of correcting (re-adjusting) the character spacing of the target character is performed in consideration of the overall balance with other characters arranged before and after the target character (step 25). This correction process is performed for all the characters with all the characters as the target character.

【0113】修正処理においてもファジィ推論が用いら
れる。推論ルールの前件部の変数としては,着目文字を
含む2文字分の幅を表わすCI(i) と,着目文字を含む
4文字分の幅を表わすCL(i) とが用いられる。これら
の変数は次式で定義される。
Fuzzy inference is also used in the correction process. As the variables of the antecedent part of the inference rule, CI (i) indicating the width of two characters including the target character and CL (i) indicating the width of four characters including the target character are used. These variables are defined by the following equations.

【0114】 CI(i) =CW(i) +CS(i) +CW(i+1) ‥式(7)CI (i) = CW (i) + CS (i) + CW (i + 1) Equation (7)

【0115】 CL(i) =CW(i-1) +CS(i-1) +CW(i) +CS(i) +CW(i+1) +CS(i+1) +CW(i+2) ‥式(8) CL (i) = CW (i-1) + CS (i-1) + CW (i) + CS (i) + CW (i + 1) + CS (i + 1) + CW (i + 2) Equation (8) )

【0116】これらの式においてCW(i-1) ,CW(i)
,CW(i+1) およびCW(i+2) は(i-1) 番目,i番
目,(i+1) 番目および(i+2) 番目の文字の幅である。ま
た,CS(i-1) ,CS(i) およびCS(i+1) は既にファ
ジィ推論において求められた(i-1) 番目,i番目および
(i+1) 番目の文字の適切な文字間隔である。
In these equations, CW (i-1), CW (i)
, CW (i + 1) and CW (i + 2) are the widths of the (i-1) th, i-th, (i + 1) th and (i + 2) th characters. In addition, CS (i-1), CS (i) and CS (i + 1) are the (i-1) th, ith and
The proper spacing between the (i + 1) th character.

【0117】ファジィ推論ルールの後件部は文字間隔C
Sの修正量ΔCS(i) である。ファジィ推論においてこ
の修正量が求められると,最終的な最適文字間隔はSC
(i)+ΔCS(i) として決定されることになる。
The consequent part of the fuzzy inference rule is the character spacing C.
This is the correction amount ΔCS (i) of S. When this correction amount is obtained in fuzzy reasoning, the final optimum character spacing is SC
It will be determined as (i) + ΔCS (i).

【0118】文字間隔修正のためのルール群の一例は次
の通りである。
An example of a rule group for correcting the character spacing is as follows.

【0119】(VIII)文字間隔修正のためのルール群 IF CI(i) が小さい,THEN ΔCS(i) は少し大きい IF CL(i) が小さい,THEN ΔCS(i) は大きい(VIII) Rule group for letter spacing correction IF CI (i) is small, THEN ΔCS (i) is a little large IF CL (i) is small, THEN ΔCS (i) is large

【0120】前件部変数CIおよびCL,ならびに後件
部変数ΔCSについてのメンバーシップ関数の一例が図
25,図26および図27にそれぞれ示されている。
An example of the membership function for the antecedent variables CI and CL and the antecedent variable ΔCS is shown in FIG.
25, FIG. 26 and FIG. 27, respectively.

【0121】これらのルール群は基本的には,連続する
2文字の幅または連続する4文字の幅が小さすぎる場合
に,文字間隔CS(i) を少し大きくして全体的なバラン
スを良くするものである。したがって,変数CIおよび
CLについての前件部メンバーシップ関数はこれらの変
数の値が小さい領域においてのみ定義されている。修正
量ΔCSに関する後件部メンバーシップ関数はΔCSが
大きい領域についてのみ定義されている。
Basically, these rule groups improve the overall balance by slightly increasing the character spacing CS (i) when the width of two consecutive characters or the width of four consecutive characters is too small. It is a thing. Therefore, the antecedent membership functions for the variables CI and CL are defined only in the regions where the values of these variables are small. The consequent part membership function related to the correction amount ΔCS is defined only in the region where ΔCS is large.

【0122】必要に応じてCI,CLおよびΔCSにつ
いてのより多くの,または異なるメンバーシップ関数を
設定してもよい。修正用ルールも上述のものに限られな
い。着目文字を含む連続する3文字の幅または5文字以
上の幅を前件部変数とすることもできる。前件部にはC
IとCLとの組合せに関する命題を記述することもでき
る。
More or different membership functions for CI, CL and ΔCS may be set if desired. The correction rule is not limited to the above. The width of three consecutive characters or the width of five or more characters including the character of interest can be used as the antecedent variable. C in the antecedent section
It is also possible to write a proposition regarding the combination of I and CL.

【0123】以上のようにして文字間隔が決定される
と,決定された文字間隔で配列された文字の印刷が行な
われる。文字間隔の推論は上述のようにあらかじめ定め
られた大きさの枠(字面)に基づいて行なわれ,この大
きさに適した文字間隔が求められる。
When the character spacing is determined as described above, the characters arranged at the determined character spacing are printed. The character spacing is inferred based on the frame (character surface) of a predetermined size as described above, and the character spacing suitable for this size is obtained.

【0124】印刷にあたっては文字の大きさ(ポイン
ト)が指定される。またプリンタ17の解像度(DPI:
ドット・パー・インチ)はあらかじめ定められている
(解像度が可変のものであっても,印刷にあたっていず
れかの解像度が指定される)。指定された文字の大きさ
およびプリンタ17の解像度に応じて,一文字のドット数
(枠の縦,横のドット数)が決定される。プリンタ17の
バッファ・メモリ上において,印刷すべき文字が上記の
決定された枠の大きさにビット・マップ展開される。こ
のとき,推論によって決定された文字間隔が印刷のため
の枠の大きさに応じて換算され,換算された文字間隔で
各文字を構成する黒ドットが配列されることになる。バ
ッファ・メモリ上に展開されたドット・データに基づい
て文字の印刷が行なわれる。
In printing, the size (points) of characters is designated. The resolution of the printer 17 (DPI:
Dot per inch) is predetermined (even if the resolution is variable, one of the resolutions is specified for printing). The number of dots of one character (the number of dots in the vertical and horizontal directions of the frame) is determined according to the size of the specified character and the resolution of the printer 17. On the buffer memory of the printer 17, the characters to be printed are bit-mapped into the size of the determined frame. At this time, the character spacing determined by inference is converted according to the size of the frame for printing, and the black dots composing each character are arranged at the converted character spacing. Characters are printed based on the dot data expanded on the buffer memory.

【0125】上記実施例においては文字間隔の推論処理
がソフトウェアで実行されているが,ハードウェア回路
により実行することもできる。とくにファジィ推論専用
のハードウェア回路は既に多くの種類のものが知られて
いる。また,この発明は縦方向に配列された文字間隔の
調整にも適用できるのはいうまでもない。
In the above embodiment, the character spacing inference processing is executed by software, but it may be executed by a hardware circuit. In particular, many kinds of hardware circuits dedicated to fuzzy inference are already known. Further, it goes without saying that the present invention can be applied to the adjustment of the character spacing arranged in the vertical direction.

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

【図1】電算植字システムの電気的全体構成を示すブロ
ック図である。
FIG. 1 is a block diagram showing an electrical overall configuration of a computer typesetting system.

【図2】文字間隔調整処理の流れを示すフロー・チャー
トである。
FIG. 2 is a flow chart showing a flow of character spacing adjustment processing.

【図3】ビット・マップ・データに展開された文字列を
示す。
FIG. 3 shows a character string expanded into bit map data.

【図4】各文字の特徴量を説明するためのものである。FIG. 4 is a diagram for explaining a feature amount of each character.

【図5】文字間の特徴量を説明するためのものである。FIG. 5 is for explaining a feature amount between characters.

【図6】図3に示す文字列の特徴量を示す。FIG. 6 shows a characteristic amount of the character string shown in FIG.

【図7】最大文字間隔を示す。FIG. 7 shows the maximum character spacing.

【図8】文字間隔を説明するためのものである。FIG. 8 is for explaining the character spacing.

【図9】最小文字間隔を示す。FIG. 9 shows the minimum character spacing.

【図10】文字濃度DSに関するメンバーシップ関数の
一例を示すグラフである。
FIG. 10 is a graph showing an example of a membership function regarding the character density DS.

【図11】重複字面面積SBに関するメンバーシップ関
数の一例を示すグラフである。
FIG. 11 is a graph showing an example of a membership function relating to the overlapping character surface area SB.

【図12】空白面積SWに関するメンバーシップ関数の
一例を示すグラフである。
FIG. 12 is a graph showing an example of a membership function regarding a blank area SW.

【図13】文字間隔開き具合CSDに関するメンバーシ
ップ関数の一例を示すグラフである。
FIG. 13 is a graph showing an example of a membership function related to a character spacing opening degree CSD.

【図14】ユーザ入力間隔UCSに関するメンバーシッ
プ関数の一例を示すグラフである。
FIG. 14 is a graph showing an example of a membership function regarding a user input interval UCS.

【図15】変数KSに関するメンバーシップ関数の一例
を示すグラフである。
FIG. 15 is a graph showing an example of a membership function regarding a variable KS.

【図16】変数KHに関するメンバーシップ関数の一例
を示すグラフである。
FIG. 16 is a graph showing an example of a membership function regarding a variable KH.

【図17】文字重複複雑度を説明するためのものであ
る。
FIG. 17 is for explaining the character duplication complexity.

【図18】文字重複複雑度を説明するためのものであ
る。
FIG. 18 is for explaining the character duplication complexity.

【図19】文字重複複雑度に関するメンバーシップ関数
の一例を示すグラフである。
FIG. 19 is a graph showing an example of a membership function relating to character duplication complexity.

【図20】(i+3) 番目の文字を4ドット分上方にシフト
した様子を示す。
FIG. 20 shows a state in which the (i + 3) th character is shifted upward by 4 dots.

【図21】(i+3) 番目の文字を2ドット分上方にシフト
した様子を示す。
FIG. 21 shows a state in which the (i + 3) th character is shifted upward by 2 dots.

【図22】ビット・マップ・データに展開された状態の
文字を示す。
FIG. 22 shows a character in a state of being expanded into bit map data.

【図23】(i+3) 番目の文字を2ドット分下方にシフト
した様子を示す。
FIG. 23 shows a state in which the (i + 3) th character is shifted downward by 2 dots.

【図24】(i+3) 番目の文字を4ドット分下方にシフト
した様子を示す。
FIG. 24 shows a state in which the (i + 3) th character is shifted downward by 4 dots.

【図25】2文字分の幅を表わす変数CIに関するメン
バーシップ関数の一例を示すグラフである。
FIG. 25 is a graph showing an example of a membership function relating to a variable CI representing the width of two characters.

【図26】4文字分の幅を表わす変数CLに関するメン
バーシップ関数の一例を示すグラフである。
FIG. 26 is a graph showing an example of a membership function relating to a variable CL representing the width of four characters.

【図27】文字間隔修正量ΔCSに関するメンバーシッ
プ関数の一例を示すグラフである。
FIG. 27 is a graph showing an example of a membership function related to the character spacing correction amount ΔCS.

【符号の説明】[Explanation of symbols]

11 CPU 12 ROM 13 RAM 14 ハードディスク駆動装置 15 キーボード 16 CRT 17 プリンタ 11 CPU 12 ROM 13 RAM 14 Hard disk drive 15 Keyboard 16 CRT 17 Printer

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06F 17/21 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI technical display location G06F 17/21

Claims (28)

【特許請求の範囲】[Claims] 【請求項1】 指定された文字列を構成する文字を表わ
す文字ドット・データをメモリ上に展開する文字ドット
・データ作成手段,上記メモリ上に展開された文字ドッ
ト・データにおいて,文字ごとに,その文字の字面の広
さを表わす文字濃度データを生成する第1の特徴量生成
手段,上記メモリ上に展開された文字ドット・データに
おいて,文字ごとに,その文字とそれに隣接する文字と
が最も接近した状態において,両文字が重複する程度を
表わす重複字面面積データを生成する第2の特徴量生成
手段,上記メモリ上に展開された文字ドット・データに
おいて,文字ごとに,その文字とそれに隣接する文字と
が最も接近した状態において,両文字間に生じる空間の
広さを表わす空白面積データを生成する第3の特徴量生
成手段,ならびに上記第1,第2および第3の特徴量生
成手段によってそれぞれ生成された文字濃度データ,重
複字面面積データおよび空白面積データを,あらかじめ
与えられた文字間隔調整に関する知識に適用することに
より,適切な文字間隔を,文字ごとに推論する文字間隔
推論手段,を備えた文字間隔調整装置。
1. A character dot data creating means for expanding on a memory character dot data representing a character forming a designated character string, and in the character dot data expanded on the memory, for each character, The first feature amount generating means for generating the character density data representing the character width of the character, the character dot data expanded on the memory, the character and its adjacent character are the most Second feature amount generating means for generating overlapping character surface area data representing the degree to which both characters overlap in a state of being close to each other, and in the character dot data expanded on the memory, the character and its adjacent character A third feature amount generating means for generating blank area data representing the width of the space generated between the two characters in the state of being closest to By applying the character density data, the overlapping character surface area data, and the blank area data respectively generated by the first, second, and third feature amount generating means to the knowledge about the character spacing adjustment given in advance, it is appropriate. A character-spacing adjusting device comprising a character-spacing inferring means for inferring a character spacing for each character.
【請求項2】 所望の文字間隔の程度を表わすユーザ入
力間隔データを入力する間隔入力手段,およびユーザ入
力間隔データを用いて文字間隔を推論するための知識を
含む上記知識に,上記ユーザ入力間隔データをさらに適
用して適切な文字間隔を推論する上記文字間隔推論手
段,を備えた請求項1に記載の文字間隔調整装置。
2. An interval input means for inputting user input interval data representing a desired degree of character interval, and the knowledge including the knowledge for inferring the character interval using the user input interval data, in addition to the user input interval. The character spacing adjusting device according to claim 1, further comprising: the character spacing inferring means for further applying data to infer an appropriate character spacing.
【請求項3】 上記メモリ上に展開された文字ドット・
データにおいて,文字ごとに,その文字とそれに隣接す
る文字とが最も接近したときの文字間隔を表わす最小文
字間隔と文字幅との比に関する第1の比データを生成す
る第4の特徴量生成手段,および上記第1の比データを
用いて文字間隔を推論するための知識を含む上記知識
に,上記第4の特徴量生成手段によって生成された上記
第1の比データをさらに適用して適切な文字間隔を推論
する上記文字間隔推論手段,を備えた請求項1または2
に記載の文字間隔調整装置。
3. A character dot expanded on the memory
Fourth feature amount generating means for generating, for each character, first ratio data relating to a ratio between a minimum character interval representing a character interval when the character and an adjacent character are closest to the character width in the data. , And the knowledge including the knowledge for inferring the character spacing by using the first ratio data, the first ratio data generated by the fourth feature amount generating means is further applied to the knowledge. 3. The character spacing inferring means for inferring character spacing is provided.
Character spacing adjustment device described in.
【請求項4】 上記メモリ上に展開された文字ドット・
データにおいて,文字ごとに,その文字とそれに隣接す
る文字とが最も接近したときの文字間隔を表わす最小文
字間隔と文字高さとの比に関する第2の比データを生成
する第5の特徴量生成手段,および上記第2の比データ
を用いて文字間隔を推論するための知識を含む上記知識
に,上記第5の特徴量生成手段によって生成された上記
第2の比データをさらに適用して適切な文字間隔を推論
する上記文字間隔推論手段,を備えた請求項1から3の
いずれか一項に記載の文字間隔調整装置。
4. A character dot expanded on the memory
Fifth feature amount generating means for generating, for each character, second ratio data relating to a ratio between a minimum character interval and a character height that represents a character interval when the character and its adjacent character are closest to each other in the data. , And the knowledge including the knowledge for inferring the character spacing by using the second ratio data, the second ratio data generated by the fifth feature amount generating means is further applied to the knowledge. The character spacing adjusting device according to any one of claims 1 to 3, further comprising: the character spacing inferring means for estimating a character spacing.
【請求項5】 上記メモリ上に展開された文字ドット・
データにおいて,文字ごとに,その文字とそれに隣接す
る文字とが最も接近した状態において,両文字が重複す
る複雑さを表わす文字重複複雑度データを生成する第6
の特徴量生成手段,および上記文字重複複雑度データを
用いて文字間隔を推論するための知識を含む上記知識
に,上記第6の特徴量生成手段によって生成された上記
文字重複複雑度データをさらに適用して,適切な文字間
隔を推論する上記文字間隔推論手段,を備えた請求項1
から4のいずれか一項に記載の文字間隔調整装置。
5. A character dot expanded on the memory
In the data, for each character, in a state where the character and its adjacent character are closest to each other, character duplication complexity data indicating the complexity of overlapping of both characters is generated.
And the knowledge including the knowledge for inferring the character spacing using the character overlap complexity data, the character overlap complexity data generated by the sixth feature quantity generator. The character spacing inference means, which is applied to infer an appropriate character spacing, is provided.
5. The character spacing adjustment device according to any one of 4 to 4.
【請求項6】 隣接する文字が小さい文字であるとき
に,その小さい文字のドット・データに展開された位
置,および上下に所定ドット数シフトした位置のそれぞ
れについて上記文字間隔推論手段が文字間隔を推論する
ように制御する手段,ならびに上記文字間隔推論手段か
ら得られる複数の文字間隔のうちの最も小さいものを適
切な文字間隔と決定する手段,をさらに備えた請求項1
から5のいずれか一項に記載の文字間隔調整装置。
6. When the adjacent character is a small character, the character spacing inference means determines the character spacing for each of the position developed in the dot data of the small character and the position shifted up and down by a predetermined number of dots. The method further comprising means for controlling so as to infer, and means for determining the smallest one among a plurality of character intervals obtained from the character interval inference means as an appropriate character interval.
5. The character spacing adjusting device according to any one of 5 to 5.
【請求項7】 上記文字間隔推論手段により得られた文
字間隔をもって一列に配列された,着目文字を含む複数
個の文字の並びの長さに関する長さデータを生成する第
7の特徴量生成手段,上記第7の特徴量生成手段によっ
て生成された長さデータを,あらかじめ与えられた文字
間隔修正に関する知識に適用することにより,間隔修正
量を,着目文字ごとに推論する間隔修正量推論手段,お
よび上記文字間隔推論手段によって得られた文字間隔に
上記間隔修正量推論手段によって得られた間隔修正量を
加算することにより最終的な文字間隔を生成する修正手
段,をさらに備えた請求項1から6のいずれか一項に記
載の文字間隔調整装置。
7. A seventh characteristic amount generating means for generating length data relating to a length of a plurality of characters including a character of interest arranged in a line with the character spacing obtained by the character spacing inferring means. An interval correction amount inference means for inferring an interval correction amount for each character of interest by applying the length data generated by the seventh feature amount generating means to knowledge about character spacing correction given in advance, And correction means for generating a final character spacing by adding the spacing correction amount obtained by the spacing correction amount inference means to the character spacing obtained by the character spacing inference means. 6. The character spacing adjusting device according to any one of 6 above.
【請求項8】 上記文字間隔推論手段がファジィ推論手
段である,請求項1から6のいずれか一項に記載の文字
間隔調整装置。
8. The character spacing adjusting device according to claim 1, wherein the character spacing inference means is a fuzzy inference means.
【請求項9】 上記間隔修正量推論手段がファジィ推論
手段である,請求項7に記載の文字間隔調整装置。
9. The character spacing adjustment device according to claim 7, wherein the spacing correction amount inference means is a fuzzy inference means.
【請求項10】 指定された文字列を構成する文字を表
わす文字ドット・データを,指定された文字サイズで,
かつ得られた文字間隔に対応する文字間隔を保って,メ
モリ上に展開し,この展開された文字ドット・データを
用いて文字を印刷するプリンタをさらに備えた請求項1
から9のいずれか一項に記載の文字間隔調整装置。
10. Character dot data representing a character forming a specified character string, with a specified character size,
The printer further comprising: a character printer which expands a character on the memory at a character spacing corresponding to the obtained character spacing and prints characters using the developed character dot data.
10. The character spacing adjusting device according to any one of 1 to 9.
【請求項11】 請求項1から10のいずれか一項に記載
の文字間隔調整装置を備えた電算植字システム。
11. A computer typesetting system comprising the character spacing adjusting device according to claim 1.
【請求項12】 請求項1から10のいずれか一項に記載
の文字間隔調整装置を備えたワード・プロセッサ。
12. A word processor comprising the character spacing adjustment device according to claim 1. Description:
【請求項13】 メモリ上に展開された複数個の文字の
文字ドット・データにおいて,文字ごとに,その文字に
関する第1の特徴量を生成する第1の特徴量生成手段,
上記メモリ上に展開された複数個の文字の文字ドット・
データにおいて,文字ごとに,その文字とそれに隣接す
る文字との関連性を表わす第2の特徴量を生成する第2
の特徴量生成手段,および上記第1の特徴量および第2
の特徴量を,文字間隔調整に関する知識に適用すること
により,適切な文字間隔を,文字ごとに推論する文字間
隔推論手段,を備えた文字間隔調整装置。
13. A first characteristic amount generating means for generating a first characteristic amount for each character in character dot data of a plurality of characters expanded on a memory,
Character dots of multiple characters expanded on the memory
In the data, the second feature amount for each character, which represents the relationship between the character and its adjacent character, is generated.
Feature amount generating means, and the first feature amount and the second feature amount described above.
A character-spacing adjusting device equipped with a character-spacing inferring means for inferring an appropriate character-spacing for each character by applying the feature amount of [1] to knowledge about character-spacing adjustment.
【請求項14】 上記文字間隔推論手段は,入力された
所望の文字間隔の程度を表わすデータを考慮して文字間
隔を推論するものである,請求項13に記載の文字間隔調
整装置。
14. The character-spacing adjusting device according to claim 13, wherein the character-spacing inferring means deduces the character-spacing in consideration of the inputted data representing the degree of the desired character-spacing.
【請求項15】 隣接する文字が小さい文字であるとき
に,その小さい文字のドット・データに展開された位
置,および上下に所定ドット数シフトした位置のそれぞ
れについて上記文字間隔推論手段が文字間隔を推論する
ように制御する手段,ならびに上記文字間隔推論手段か
ら得られる複数の文字間隔のうちの最も小さいものを適
切な文字間隔と決定する手段,をさらに備えた請求項13
または14のいずれか一項に記載の文字間隔調整装置。
15. When the adjacent character is a small character, the character spacing inference means determines the character spacing for each of the position developed into the dot data of the small character and the position shifted up and down by a predetermined number of dots. 14. The method further comprising means for controlling so as to infer, and means for determining the smallest one among a plurality of character intervals obtained from the character interval inference means as an appropriate character interval.
Or the character spacing adjusting device described in any one of 14.
【請求項16】 上記文字間隔推論手段により得られた
文字間隔をもって一列に配列された着目文字を含む複数
個の文字の並びの長さに関する長さデータを生成する第
3の特徴量生成手段,上記第3の特徴量生成手段によっ
て生成された長さデータを,あらかじめ与えられた文字
間隔修正に関する知識に適用することにより,間隔修正
量を,着目文字ごとに推論する間隔修正量推論手段,お
よび上記文字間隔推論手段によって得られた文字間隔に
上記間隔修正量推論手段によって得られた間隔修正量を
加算することにより最終的な文字間隔を生成する修正手
段,をさらに備えた請求項13から15のいずれか一項に記
載の文字間隔調整装置。
16. A third characteristic amount generating means for generating length data relating to a length of an array of a plurality of characters including a target character arranged in a line with the character spacing obtained by the character spacing inferring means, Interval correction amount inferring means for inferring the interval correction amount for each focused character by applying the length data generated by the third feature amount generating means to a given knowledge about character spacing correction, and 16. The correction means for generating a final character spacing by adding the spacing correction amount obtained by the spacing correction amount inference means to the character spacing obtained by the character spacing inference means. The character spacing adjustment device according to any one of 1.
【請求項17】 上記文字間隔推論手段がファジィ推論
手段である,請求項13から16のいずれか一項に記載の文
字間隔調整装置。
17. The character-spacing adjusting device according to claim 13, wherein the character-spacing inference means is a fuzzy inference means.
【請求項18】 上記間隔修正量推論手段がファジィ推
論手段である,請求項16に記載の文字間隔調整装置。
18. The character spacing adjusting device according to claim 16, wherein the spacing correction amount inference means is a fuzzy inference means.
【請求項19】 指定された文字列を構成する文字を表
わす文字ドット・データを,指定された文字サイズで,
かつ得られた文字間隔に対応する文字間隔を保って,メ
モリ上に展開し,この展開された文字ドット・データを
用いて文字を印刷するプリンタをさらに備えた請求項13
から18のいずれか一項に記載の文字間隔調整装置。
19. A character dot data representing a character forming a specified character string, with a specified character size,
13. The printer according to claim 13, further comprising a printer that expands a character on the memory at a character interval corresponding to the obtained character interval and prints a character using the expanded character dot data.
The character spacing adjustment device according to any one of 1 to 18.
【請求項20】 請求項13から19のいずれか一項に記載
の文字間隔調整装置を備えた電算植字システム。
20. A computer typesetting system comprising the character spacing adjusting device according to claim 13.
【請求項21】 請求項13から19のいずれか一項に記載
の文字間隔調整装置を備えたワード・プロセッサ。
21. A word processor comprising the character spacing adjustment device according to claim 13.
【請求項22】 指定された文字列を構成する文字を表
わす文字ドット・データをメモリ上に展開し,メモリ上
に展開された複数個の文字の文字ドット・データにおい
て,文字ごとに,その文字に関する第1の特徴量を生成
し,上記メモリ上に展開された複数個の文字の文字ドッ
ト・データにおいて,文字ごとに,その文字とそれに隣
接する文字との関連性を表わす第2の特徴量を生成し,
上記第1の特徴量および第2の特徴量を,文字間隔調整
に関する知識に適用することにより,適切な文字間隔
を,文字ごとに推論する,文字間隔調整方法。
22. Character dot data representing a character forming a designated character string is expanded on a memory, and in the character dot data of a plurality of characters expanded on the memory, the character A second feature amount that generates a first feature amount regarding the character dot data of a plurality of characters expanded on the memory, and represents, for each character, the relationship between the character and its adjacent character. To generate
A character-spacing adjusting method in which an appropriate character-spacing is inferred for each character by applying the first characteristic amount and the second characteristic amount to knowledge regarding character-spacing adjustment.
【請求項23】 文字間隔の推論において,入力された
所望の文字間隔の程度を表わすデータを考慮する,請求
項22に記載の文字間隔調整方法。
23. The character-spacing adjusting method according to claim 22, wherein in inputting the character-spacing, the inputted data representing the degree of the desired character-spacing is taken into consideration.
【請求項24】 隣接する文字が小さい文字であるとき
に,その小さい文字のドット・データに展開された位
置,および上下に所定ドット数シフトした位置のそれぞ
れについて文字間隔を推論し,この文字間隔推論により
得られる複数の文字間隔のうちの最も小さいものを適切
な文字間隔と決定する,請求項22または23に記載の文字
間隔調整方法。
24. When the adjacent character is a small character, the character interval is inferred for each of the position expanded in the dot data of the small character and the position shifted up and down by a predetermined number of dots, and the character interval is inferred. The character spacing adjusting method according to claim 22 or 23, wherein the smallest of the plurality of character spacings obtained by inference is determined as an appropriate character spacing.
【請求項25】 推論により得られた文字間隔をもって
一列に配列された着目文字を含む複数個の文字の並びの
長さに関する長さデータを生成し,生成された長さデー
タを,あらかじめ与えられた文字間隔修正に関する知識
に適用することにより,間隔修正量を,着目文字ごとに
推論し,上記文字間隔推論によって得られた文字間隔に
上記間隔修正量推論によって得られた間隔修正量を加算
することにより最終的な文字間隔を生成する,請求項22
から24のいずれか一項に記載の文字間隔調整方法。
25. Length data relating to a length of a plurality of characters including a target character arranged in a line at a character spacing obtained by inference is generated, and the generated length data is given in advance. By applying to the knowledge about character spacing correction, the spacing correction amount is inferred for each character of interest, and the spacing correction amount obtained by the spacing correction amount inference is added to the character spacing obtained by the character spacing inference. 23. The final character spacing is thereby generated.
The character spacing adjustment method according to any one of 1 to 24.
【請求項26】 指定された文字列を構成する文字を表
わす文字ドット・データを,指定された文字サイズで,
かつ得られた文字間隔に対応する文字間隔を保って,メ
モリ上に展開し,この展開された文字ドット・データを
用いて文字を印刷する,請求項22から25のいずれか一項
に記載の文字間隔調整方法。
26. Character dot data representing a character forming a specified character string, with a specified character size,
26. The character spacing according to the obtained character spacing is maintained, the character is expanded on the memory, and the character is printed using the expanded character dot data. Character spacing adjustment method.
【請求項27】 指定された文字列を構成する文字を表
わす文字ドット・データをメモリ上に展開する文字ドッ
ト・データ作成手段,上記メモリ上に展開された文字ド
ット・データにおいて,文字ごとに,その文字の字面の
広さを表わす文字濃度データを生成する第1の特徴量生
成手段,上記メモリ上に展開された文字ドット・データ
において,文字ごとに,その文字とそれに隣接する文字
とが最も接近した状態において,両文字が重複する程度
を表わす重複字面面積データを生成する第2の特徴量生
成手段,上記メモリ上に展開された文字ドット・データ
において,文字ごとに,その文字とそれに隣接する文字
とが最も接近した状態において,両文字間に生じる空間
の広さを表わす空白面積データを生成する第3の特徴量
生成手段,ならびに上記第1,第2および第3の特徴量
生成手段によってそれぞれ生成された文字濃度データ,
重複字面面積データおよび空白面積データに基づいて,
適切な文字間隔を,文字ごとに決定する文字間隔決定手
段,を備えた文字間隔調整装置。
27. A character dot data creating means for expanding on a memory character dot data representing a character forming a designated character string, and for each character in the character dot data expanded on the memory, The first feature amount generating means for generating the character density data representing the character width of the character, the character dot data expanded on the memory, the character and its adjacent character are the most Second feature amount generating means for generating overlapping character surface area data representing the degree to which both characters overlap in a state of being close to each other, and in the character dot data expanded on the memory, the character and its adjacent character Third feature amount generating means for generating blank area data representing the width of the space generated between the two characters in the state where the characters to be drawn are closest to each other, and Character density data generated by the first, second and third characteristic amount generating means, respectively,
Based on the overlapping character area data and the blank area data,
A character-spacing adjusting device having a character-spacing determining means for determining an appropriate character-spacing for each character.
【請求項28】 メモリ上に展開された複数個の文字の
文字ドット・データにおいて,文字ごとに,その文字に
関する第1の特徴量を生成する第1の特徴量生成手段,
上記メモリ上に展開された複数個の文字の文字ドット・
データにおいて,文字ごとに,その文字とそれに隣接す
る文字との関連性を表わす第2の特徴量を生成する第2
の特徴量生成手段,および上記第1の特徴量および第2
の特徴量に基づいて,適切な文字間隔を,文字ごとに決
定する文字間隔決定手段,を備えた文字間隔調整装置。
28. In the character dot data of a plurality of characters expanded on the memory, a first characteristic amount generating means for generating a first characteristic amount for each character for each character.
Character dots of multiple characters expanded on the memory
In the data, the second feature amount for each character, which represents the relationship between the character and its adjacent character, is generated.
Feature amount generating means, and the first feature amount and the second feature amount described above.
A character-spacing adjusting device comprising a character-spacing determining means for determining an appropriate character-spacing for each character based on the characteristic amount of
JP06151784A 1993-06-25 1994-06-10 Apparatus and method for adjusting character spacing Expired - Fee Related JP3111811B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06151784A JP3111811B2 (en) 1993-06-25 1994-06-10 Apparatus and method for adjusting character spacing

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP15590593 1993-06-25
JP5-155905 1993-06-25
JP06151784A JP3111811B2 (en) 1993-06-25 1994-06-10 Apparatus and method for adjusting character spacing

Publications (2)

Publication Number Publication Date
JPH0796594A true JPH0796594A (en) 1995-04-11
JP3111811B2 JP3111811B2 (en) 2000-11-27

Family

ID=26480913

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06151784A Expired - Fee Related JP3111811B2 (en) 1993-06-25 1994-06-10 Apparatus and method for adjusting character spacing

Country Status (1)

Country Link
JP (1) JP3111811B2 (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0926778A (en) * 1995-07-10 1997-01-28 Dainippon Screen Mfg Co Ltd Kerning process method
JPH09156066A (en) * 1995-12-08 1997-06-17 Dainippon Screen Mfg Co Ltd Kerning process
JPH10171437A (en) * 1996-10-08 1998-06-26 Sanyo Electric Co Ltd Character data processor, method of character data processing, and medium on which character data processing program is recorded
JPH10217417A (en) * 1997-01-31 1998-08-18 Omron Corp Device for adjusting interval between characters
EP0782094A3 (en) * 1995-12-28 1999-01-27 King Jim Co., Ltd. Character information processor
JPH11288262A (en) * 1998-04-01 1999-10-19 Omron Corp Method and device for character synthesis and storage medium
JP2000338953A (en) * 1999-04-01 2000-12-08 Adobe Syst Inc Font feature file processing
JP2003005738A (en) * 2001-06-20 2003-01-08 Sharp Corp Character display device, character display method, program and recording medium
WO2003096205A1 (en) * 2002-05-10 2003-11-20 Adobe Systems Incorporated Text spacing adjustment
JP2005208094A (en) * 2004-01-20 2005-08-04 Hyogo Prefecture Document output method, document output unit, and computer program
US6928611B2 (en) 2000-09-25 2005-08-09 Adobe Systems Incorporated Setting text composition spacing amount
US7071941B2 (en) 2000-02-12 2006-07-04 Adobe Systems Incorporated Method for calculating CJK emboxes in fonts
US7123261B2 (en) 2002-12-26 2006-10-17 Adobe Systems Incorporated Coordinating grid tracking and mojikumi spacing of Japanese text
US7167274B2 (en) 2001-09-28 2007-01-23 Adobe Systems Incorporated Line leading from an arbitrary point
US7168037B2 (en) 2000-09-25 2007-01-23 Adobe Systems Incorporated Text composition spacing amount setting device with icon indicators
US7296227B2 (en) 2001-02-12 2007-11-13 Adobe Systems Incorporated Determining line leading in accordance with traditional Japanese practices
US7305617B2 (en) 2000-02-12 2007-12-04 Adobe Systems Incorporated Method for aligning text to baseline grids and to CJK character grids
US7320104B2 (en) 2000-02-12 2008-01-15 Adobe Systems Incorporated Text grid creation tools
US7594171B2 (en) 2004-10-01 2009-09-22 Adobe Systems Incorporated Rule-based text layout

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0926778A (en) * 1995-07-10 1997-01-28 Dainippon Screen Mfg Co Ltd Kerning process method
JPH09156066A (en) * 1995-12-08 1997-06-17 Dainippon Screen Mfg Co Ltd Kerning process
EP0782094A3 (en) * 1995-12-28 1999-01-27 King Jim Co., Ltd. Character information processor
JPH10171437A (en) * 1996-10-08 1998-06-26 Sanyo Electric Co Ltd Character data processor, method of character data processing, and medium on which character data processing program is recorded
JPH10217417A (en) * 1997-01-31 1998-08-18 Omron Corp Device for adjusting interval between characters
JPH11288262A (en) * 1998-04-01 1999-10-19 Omron Corp Method and device for character synthesis and storage medium
JP2000338953A (en) * 1999-04-01 2000-12-08 Adobe Syst Inc Font feature file processing
US7071941B2 (en) 2000-02-12 2006-07-04 Adobe Systems Incorporated Method for calculating CJK emboxes in fonts
US7320104B2 (en) 2000-02-12 2008-01-15 Adobe Systems Incorporated Text grid creation tools
US7305617B2 (en) 2000-02-12 2007-12-04 Adobe Systems Incorporated Method for aligning text to baseline grids and to CJK character grids
US7168037B2 (en) 2000-09-25 2007-01-23 Adobe Systems Incorporated Text composition spacing amount setting device with icon indicators
US6928611B2 (en) 2000-09-25 2005-08-09 Adobe Systems Incorporated Setting text composition spacing amount
US7296227B2 (en) 2001-02-12 2007-11-13 Adobe Systems Incorporated Determining line leading in accordance with traditional Japanese practices
US7002582B2 (en) 2001-06-20 2006-02-21 Sharp Kabushiki Kaisha Character display apparatus, character display method, character display program, and recording medium therefor
KR100441584B1 (en) * 2001-06-20 2004-07-23 샤프 가부시키가이샤 Character display apparatus, character display method, character display program, and recording medium therefor
JP2003005738A (en) * 2001-06-20 2003-01-08 Sharp Corp Character display device, character display method, program and recording medium
US7167274B2 (en) 2001-09-28 2007-01-23 Adobe Systems Incorporated Line leading from an arbitrary point
US7039862B2 (en) * 2002-05-10 2006-05-02 Adobe Systems Incorporated Text spacing adjustment
WO2003096205A1 (en) * 2002-05-10 2003-11-20 Adobe Systems Incorporated Text spacing adjustment
US7123261B2 (en) 2002-12-26 2006-10-17 Adobe Systems Incorporated Coordinating grid tracking and mojikumi spacing of Japanese text
JP2005208094A (en) * 2004-01-20 2005-08-04 Hyogo Prefecture Document output method, document output unit, and computer program
US7594171B2 (en) 2004-10-01 2009-09-22 Adobe Systems Incorporated Rule-based text layout
US7783969B1 (en) 2004-10-01 2010-08-24 Adobe Systems Incorporated Rule-based text layout

Also Published As

Publication number Publication date
JP3111811B2 (en) 2000-11-27

Similar Documents

Publication Publication Date Title
KR0172461B1 (en) Apparatus and method for adjusting character spacing
JP3111811B2 (en) Apparatus and method for adjusting character spacing
US5404436A (en) Computer method and apparatus for converting compressed characters for display in full size
US5263132A (en) Method of formatting documents using flexible design models providing controlled copyfit and typeface selection
EP0864987B1 (en) Document processing method and apparatus, corresponding program and storage unit
US7009612B2 (en) Apparatus and method for font generation, and computer-readable storage medium recording program for the same
US5233685A (en) Method and apparatus for integrated graphical and textual character printing
US5909539A (en) Image generating system and method
CN101331520A (en) Stroke contrast in font hinting
JP2972820B2 (en) Character spacing adjusting device and character spacing adjusting method
JP2845380B2 (en) Printing apparatus and control method thereof
US5506942A (en) Apparatus of outputting a train of characters
JPH0755572B2 (en) Printer
JPH08212362A (en) Character and graphic generation device
JPH05265429A (en) Character font generating process system
JPH10217417A (en) Device for adjusting interval between characters
JP3571948B2 (en) High-quality character generator, high-quality character generation method, and storage medium
JP3373345B2 (en) Color display
JPH09254459A (en) Character processing device, character process method and memory
JP2569489B2 (en) Brush character output device
Witten Elements of computer typography
JPH11219358A (en) Document data output device and its program recording medium
Smura Graphical data processing
JP2800865B2 (en) Character processor
JP2580965B2 (en) Printer device

Legal Events

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