JP2613255B2 - Character pitch processing method - Google Patents

Character pitch processing method

Info

Publication number
JP2613255B2
JP2613255B2 JP63101555A JP10155588A JP2613255B2 JP 2613255 B2 JP2613255 B2 JP 2613255B2 JP 63101555 A JP63101555 A JP 63101555A JP 10155588 A JP10155588 A JP 10155588A JP 2613255 B2 JP2613255 B2 JP 2613255B2
Authority
JP
Japan
Prior art keywords
character
pitch
characters
inter
group
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP63101555A
Other languages
Japanese (ja)
Other versions
JPH01271275A (en
Inventor
敏治 川崎
哲夫 岩本
道弘 目瀬
泰昌 松田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP63101555A priority Critical patent/JP2613255B2/en
Publication of JPH01271275A publication Critical patent/JPH01271275A/en
Application granted granted Critical
Publication of JP2613255B2 publication Critical patent/JP2613255B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Character Spaces And Line Spaces In Printers (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、ワードプロセッサ・組版装置等の文書編集
装置に係り、特に、体裁良く文字が配置された文書を作
成する文字間ピッチ処理方式に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document editing device such as a word processor or a typesetting device, and more particularly to a character pitch processing method for creating a document in which characters are arranged in a good format.

[従来の技術] 従来、体裁の良い文書を作成するには、各文字の配置
の方法が重要であった。その決め方としては、たとえば
特開昭−114569号公報に記載のように、連続した2つの
文字の組合せ毎に文字間ピッチの値を文字の大きさの比
として予め既定値として記憶しておき、オペレータが文
字間ピッチを変更したい文字の組合せに対してその比を
変更し、再度同じ文字の組合せが生じた場合、更新した
比をもとに自動的に文字間ピッチを算出する方法があっ
た。
[Prior Art] Conventionally, in order to create a good-looking document, a method of arranging each character has been important. As a method of deciding, for example, as described in JP-A-114569, the value of the pitch between characters is stored in advance as a default value as the ratio of the character size for each combination of two consecutive characters, There is a method in which an operator changes the ratio of a character combination whose character pitch is to be changed, and automatically calculates the character pitch based on the updated ratio when the same character combination occurs again. .

[発明が解決しようとする課題] 上記従来技術は、個別の文字の組合せに対して、それ
ぞれ文字間ピッチの文字の大きさに対する比を記憶する
必要があり、この方式だけ用いるとすれば多くのメモリ
を必要とした。例えば、仮に文字間ピッチを変更した文
字の組合せが700×700≒500000組であるとし(文字間ピ
ッチが問題となるのは通常漢字を除く文字、図記号等に
ついてであるので、これらの数を700とした)、文字コ
ードが2バイト、文字間ピッチの文字の大きさに対する
比を2バイトとすれば、500000×(2×2+2)=3Mバ
イトとなる。また文字間ピッチを文字の大きさに対する
比という処理結果で記憶する方式のため、文字の組合せ
に対して、異なる書体、異なる大きさの組合せ、及び長
体・平体等の変形について考慮されていなかった。
[Problems to be Solved by the Invention] In the above-described conventional technology, it is necessary to store the ratio of the pitch between characters to the size of characters for each combination of individual characters. Needed memory. For example, suppose that the combination of characters in which the pitch between characters is changed is 700 × 700 ≒ 500000 (the pitch between characters is a problem for characters, graphic symbols, etc. except for normal kanji characters. If the character code is 2 bytes and the ratio of the character pitch to the character size is 2 bytes, then 500,000 × (2 × 2 + 2) = 3 Mbytes. In addition, because the pitch between characters is stored as a processing result called the ratio to the size of characters, different types of fonts, combinations of different sizes, and deformations such as long and flat characters are considered for character combinations. Did not.

本発明の目的は、少ないメモリ容量で済み、かつ、書
体、文字の大きさ、長体・平体等の変形等の属性が異な
る場合にも対処できる文字間ピッチ処理方式を提供する
ことにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a character pitch processing method which requires a small memory capacity and can cope with a case where attributes such as a typeface, a character size, and a deformation such as a long / flat body are different. .

[課題を解決するための手段] 本発明による文字間ピッチ処理方式は、入力編集した
文字を出力装置に出力する際に、文字間ピッチを制御す
る文字間ピッチ処理方式であって、異なる文字を複数の
グループに分類する分類手段と、任意の2つのグループ
に基づいて文字間ピッチを求める文字間ピッチ決定手段
とを備え、上記出力装置に出力しようとする連続する2
つの文字の属するグループを上記分類手段により判定
し、該判定結果に応じて上記文字間ピッチ決定手段によ
り当該2つの文字の文字間ピッチを求めることを特徴と
するものである。
[Means for Solving the Problems] A character pitch processing method according to the present invention is a character pitch processing method for controlling a character pitch when outputting an input and edited character to an output device. Classification means for classifying into a plurality of groups, and character pitch determination means for obtaining a character pitch based on any two groups, and two consecutive characters to be output to the output device.
A group to which two characters belong is determined by the classification means, and the pitch between the two characters is obtained by the character pitch determination means according to the determination result.

上記分類手段は、例えば、各文字の文字コードと当該
文字の属するグループとを対応付けたテーブルであり、
あるいは、各文字の文字コードおよび属性と当該文字の
属するグループとを対応付けたテーブルである。
The classification means is, for example, a table in which a character code of each character is associated with a group to which the character belongs,
Alternatively, it is a table in which the character code and attribute of each character are associated with the group to which the character belongs.

また、上記分類手段は、文字の形状を定義するための
枠組と実体とに関して、両者の大きさおよび位置の関係
により文字の分類を行うものであってもよい。
Further, the classification means may classify a character based on a relationship between a size and a position of a frame and an entity for defining a shape of the character.

さらに、上記分類手段は、文字コードの範囲により文
字の分類を行うものであってもよい。
Further, the classification means may classify characters according to a range of a character code.

上記文字間ピッチ決定手段は、例えば、前の文字に対
応するグループおよび後の文字に対応するグループの各
組合せに対して、当該2つの文字の文字間ピッチの値を
対応付けたテーブルであり、あるいは、前の文字に対応
するグループおよび後の文字に対応するグループの各組
合せに対して、当該2つの文字の文字間ピッチを決定す
るためのパラメータの値を対応付けたテーブルである。
The inter-character pitch determination unit is, for example, a table in which a value of an inter-character pitch of the two characters is associated with each combination of a group corresponding to the preceding character and a group corresponding to the subsequent character, Alternatively, it is a table in which a parameter value for determining a character pitch between two characters is associated with each combination of a group corresponding to the preceding character and a group corresponding to the subsequent character.

上記テーブルは、上記前のグループおよび後のグルー
プの組合せを行列形状に分類した場合に同一の値からな
る行または列を統合して構成することができる。
The table can be configured by integrating rows or columns having the same value when the combination of the preceding group and the subsequent group is classified into a matrix shape.

上記文字コードおよび属性から2つの文字の文字形状
値を求めるとともに、当該2つの文字の属するグループ
の組合せにより定まる上記パラメータの値と上記文字形
状値とに所定の演算を施すことにより、上記文字間ピッ
チを求めることができる。
By calculating the character shape value of two characters from the character code and the attribute, and performing a predetermined operation on the value of the parameter determined by the combination of the group to which the two characters belong and the character shape value, The pitch can be determined.

本発明による文字間ピッチ処理方式は、他の見地によ
れば、入力編集した文字を出力装置に出力する際に、文
字間ピッチを制御する文字間ピッチ処理方式であって、
異なる文字を予め複数のグループに分類しておき、文字
の出力時に、連続する2つの文字のうち前の文字が上記
いずれのグループに属し、後の文字が上記いずれのグル
ープに属するかを判定し、該判定結果に応じて当該2つ
の文字の文字間ピッチを定めることを特徴とするもので
ある。
According to another aspect, the character pitch processing method according to the present invention is a character pitch processing method for controlling a character pitch when outputting an input and edited character to an output device,
Different characters are classified into a plurality of groups in advance, and at the time of character output, it is determined which of the above groups the preceding character belongs to and which group of the two consecutive characters belongs to. The pitch between the two characters is determined according to the result of the determination.

さらに、本発明による文字間ピッチ処理方式は、入力
編集した文字を出力装置に出力する際に、文字間ピッチ
を制御する文字間ピッチ処理方式であって、文字の形状
を定義するための枠組と実体とに関して両者の大きさお
よび位置の関係により文字の分類を行う分類手段と、任
意のグループに基づいて当該文字と直前の文字と文字間
ピッチを求める文字間ピッチ決定手段とを備え、上記出
力装置に出力しようとする文字の属するグループを上記
分類手段により判定し、該判定結果に応じて上記文字間
ピッチ決定手段により上記文字間ピッチを求めることを
特徴とするものである。
Further, the character pitch processing method according to the present invention is a character pitch processing method for controlling a character pitch when outputting an input and edited character to an output device, and includes a framework for defining a character shape. Classifying means for classifying characters based on the relationship between the size and position of the two with respect to the entity; and character pitch determining means for determining a character pitch between the character and the immediately preceding character based on an arbitrary group; A group to which a character to be output to a device belongs is determined by the classification means, and the inter-character pitch is determined by the inter-character pitch determination means according to the determination result.

なお、本明細書において、「文字」は通常の文字に限
るものではなく、図形、記号等も含むものとする。
In this specification, “characters” are not limited to ordinary characters, but include figures, symbols, and the like.

[作用] 本発明においては、文字を組版して体裁のよい文章を
作成する場合、文字と文字との距離(文字間ピッチ)
は、各文字あるいは互いに隣り合う文字と文字との組合
せ(文字対)によって、幾つかのグループに分類できる
ことに着目し、個々の文字対ごとに文字間ピッチを記憶
しておくのではなく、これらの文字グループ対ごとに文
字間ピッチを記憶するようにしたものである。
[Operation] In the present invention, when text is formatted to form a well-formatted text, the distance between characters (character pitch)
Focuses on the fact that it can be classified into several groups according to each character or a combination of characters adjacent to each other (character pair). Instead of storing the pitch between characters for each individual character pair, The character pitch is stored for each character group pair.

すなわち、本発明の代表的な場合、システムに必要な
文字とその属するグループとを対応付けておき、かつ、
任意のグループの組合せについて、適切な文字間ピッチ
またはその算出のための文字間ピッチ情報を登録してお
く。そこで、出力装置への文字の出力時に、各文字対に
ついて前の文字のグループと後の文字のグループとを判
定し、その組合せに基づいて上記登録した文字間ピッチ
または文字間ピッチ情報から文字間ピッチを求める。
That is, in a typical case of the present invention, characters necessary for the system are associated with groups to which the characters belong, and
For an arbitrary combination of groups, an appropriate inter-character pitch or inter-character pitch information for calculating the inter-character pitch is registered. Therefore, when outputting a character to the output device, the group of the preceding character and the group of the subsequent character are determined for each character pair, and the character pitch or the character pitch information registered above is used to determine the character pitch based on the combination. Find the pitch.

各文字をその属するグループと対応付ける分類手段は
メモリテーブルにより構成できるが、文字コードの範囲
で分類するような場合には、このメモリテーブルは不要
である。
The classifying means for associating each character with the group to which it belongs can be constituted by a memory table. However, in the case of classifying by character code range, this memory table is unnecessary.

また、文字のグループ組合わせを文字間ピッチ等と対
応付ける文字間ピッチ決定手段もメモリテーブルにより
構成できる。ただし、分類手段が文字の枠組(ボディ)
と実体(レター)との関係で分類を行うような場合に
は、このメモリテーブルは必ずしも必要ではない。つま
り、グループの組合せではなく、グループ単独で、直前
の文字からの文字間ピッチを決定することができる。
In addition, an inter-character pitch determining means for associating a character group combination with an inter-character pitch or the like can be constituted by a memory table. However, if the classification means is a character frame (body)
This memory table is not always necessary in the case where the classification is performed based on the relationship between the object and the entity (letter). That is, the pitch between characters from the immediately preceding character can be determined not by a combination of groups but by the group alone.

このように、本発明によれば、複数の文字をグループ
化することにより、小容量のメモリを用いて、体裁よく
文字組された文書作成が可能となる。
As described above, according to the present invention, by grouping a plurality of characters, it is possible to create a document in which a character set is well formed using a small-capacity memory.

[実施例] 以下、本発明の一実施例について述べる。Example An example of the present invention will be described below.

第2図は、本発明の構成を表すブロック図である。 FIG. 2 is a block diagram showing the configuration of the present invention.

CPU201は、バスライン202を介して各ブロック間のデ
ータ転送を行い、処理プログラム207を動かす。キーボ
ードの如き文字入力装置203によって連続した二つの文
字を入力し、それぞれ文字コード及び属性として信号に
変換される。これらの文字コード及び属性の信号は、メ
モリ(図示せず)に記憶される。表示装置、プリンタ等
の出力装置204は、文字コード、属性及び文字間ピッチ
などのデータに基づいて文字を出力(表示または印字)
する。文字グループテーブル205は、文字コード及び書
体等の属性を検索のキーとして、文字グループを対応さ
せる。また、パラメータテーブル206は、グループの組
合せに対して、幅に関する重み付けパラメータを対応さ
せる。
The CPU 201 transfers data between the blocks via the bus line 202, and runs the processing program 207. Two consecutive characters are input by a character input device 203 such as a keyboard, and converted into signals as character codes and attributes. These character codes and attribute signals are stored in a memory (not shown). An output device 204 such as a display device or a printer outputs (displays or prints) characters based on data such as a character code, an attribute, and a pitch between characters.
I do. The character group table 205 associates character groups with attributes such as character codes and fonts as search keys. Further, the parameter table 206 associates weighting parameters relating to the width with the combination of groups.

第1図は、第2図におけるブロック図を用いた場合の
処理の流れの一例である。
FIG. 1 is an example of a processing flow when the block diagram in FIG. 2 is used.

先ず、文字間ピッチを求めようとする連続した2つの
文字に関する文字コード及び属性を、文字入力装置203
または前記メモリから読み出す(105)。CPU201は、そ
れぞれの文字コード及び属性をバスライン202を介して
処理プログラム207に渡し、処理プログラム207は、変形
などの属性を考慮して字幅等の文字形状値を計算する
(101)。
First, a character code and an attribute of two consecutive characters for which the character pitch is to be obtained are input to the character input device 203.
Alternatively, it is read from the memory (105). The CPU 201 passes each character code and attribute to the processing program 207 via the bus line 202, and the processing program 207 calculates a character shape value such as a character width in consideration of an attribute such as deformation (101).

次に、処理プログラム207は、例えば上記文字コード
及び属性を検索のキーとし、文字グループテーブル205
を参照し、文字のグループを決定する(102)。
Next, the processing program 207 sets the character group table 205
To determine a character group (102).

文字グループテーブル205は、第3図のような構造を
持ち、例えば、文字コード0102、明朝体の文字に対して
は、文字グループは「起し括弧類」であるというように
対応させる。ここで例えば日本語の文字に関するグルー
プ情報を本テーブルで記憶したとしても、高々10000×
(2×2+2)=60Kバイトであり、個々の文字の組み
合せに対してそれぞれの文字間ピッチの文字の大きさに
対する比をすべて記憶する方式に比べて、少ないメモリ
容量で済む。
The character group table 205 has a structure as shown in FIG. 3. For example, for character codes 0102 and Mincho characters, the character groups are made to correspond to “raised parentheses”. Here, for example, even if group information on Japanese characters is stored in this table,
(2 × 2 + 2) = 60 Kbytes, which requires less memory capacity than the method of storing all the ratios of the character pitch to the character size for each combination of characters.

また、第3図のように、文字グループテーブルにおけ
る属性は書体のみである必要は無く、文字の大きさや変
形といった他の属性を付加してもよい。
Further, as shown in FIG. 3, the attribute in the character group table does not need to be only the typeface, and other attributes such as character size and deformation may be added.

次に、処理プログラム207は、処理102によって得られ
た二つの文字グループを検索のキーとして、重み付けパ
ラメータテーブル206を参照し、幅に関するパラメータ
を読み出す(103)。
Next, the processing program 207 refers to the weighting parameter table 206 using the two character groups obtained by the processing 102 as a search key, and reads parameters related to the width (103).

重み付けパラメータテーブル206は、第4図のような
マトリクス構造を持つ。例えば、いわゆる2重約物のよ
うに、文字グループが「起し括弧類」である文字が連続
した場合、マトリクスの1行1列目の内容から第1のパ
ラメータp1は0.5、第2のパラメータp2は0であるとい
うように対応させる(他の成分にも同様にp1、p2のパラ
メータ値が与えられている)。
The weighting parameter table 206 has a matrix structure as shown in FIG. For example, when characters whose character groups are “raising parentheses” are continuous like a so-called double punctuation, the first parameter p 1 is 0.5 from the contents of the first row and first column of the matrix, and the second parameter is parameter p 2 is made to correspond to that it is 0 (p 1 in the same manner to other components, the parameter value of p 2 is given).

すなわち、連続2文字の字幅に関する重みづけが同じ
値になる文字対を集計し、それぞれをグループ化してあ
る。この分類法は経験的なものであるためシステムによ
って多少異なっていても差しつかえない。このようにグ
ループ化しておくことにより、例えば本実施例の場合6
×6×(2+2)=144バイトと、前述のように文字対
の文字間ピッチに関する情報を個々記憶しておく方法か
ら見れば無視できる程少ない。
That is, character pairs having the same weight for the character width of two consecutive characters are tabulated and grouped. This taxonomy is empirical and can vary slightly from system to system. By grouping in this way, for example, in the case of this embodiment, 6
× 6 × (2 + 2) = 144 bytes, which is negligibly small from the viewpoint of individually storing information on the character pitch between character pairs as described above.

最後に、処理101で得られた文字形状値及び処理103で
得られた幅に関するパラメータから、処理プログラム20
7は、二つの文字の文字間ピッチを算出する(104)。
Finally, from the character shape value obtained in the processing 101 and the parameter relating to the width obtained in the processing 103, the processing program 20
7 calculates the inter-character pitch of the two characters (104).

第5図は上記2重約物の文字間ピッチ算出の様子を表
わしたものである。ここで文字形状値として便宜上字幅
を用い、a1=a2=aと仮定し、さらに重み付けパラメー
タをそれぞれp1=0.5、p2=0とし、文字間ピッチを2
つの文字間の中心間距離とする。第5図(a)、(b)
はいわゆるベタ組みの場合と、本発明の場合のそれぞれ
の様子であり、文字間ピッチをd,d′とおくと、 となる。
FIG. 5 shows how the pitch between characters of the double punctuation is calculated. Here, a character width is used as a character shape value for convenience, it is assumed that a 1 = a 2 = a, weighting parameters are p 1 = 0.5, p 2 = 0, and a character pitch is 2
The center-to-center distance between two characters. Fig. 5 (a), (b)
Is the case of the so-called solid set and the case of the present invention, and if the pitch between characters is d, d ', Becomes

上記の二つのパラメータを記憶する方式は、例えば大
きさの異なる文字組の場合には有効である。一般文書に
あるような文書を構成する文字の大半が本文すなわち同
じ大きさの文字が続く場合、文字間ピッチを決めるパラ
メータは一つで済む。
The method of storing the above two parameters is effective, for example, for character sets having different sizes. In the case where most of the characters constituting a document as in a general document are followed by the body, that is, characters of the same size, only one parameter is required to determine the pitch between characters.

ところで、グループ化の方法として本実施例以外に次
のような方法が考えられる。
By the way, the following method can be considered as a grouping method other than the present embodiment.

(1)前記パラメータではなく、連続する文字間の文字
間ピッチの値そのものでグループの組合せを分類する方
法。
(1) A method of classifying combinations of groups based on the value of the pitch between characters between consecutive characters, not the parameter.

(2)文字の形状を定義するために用いる枠組と実体と
の関係で、枠組に対する実体の大きさと枠組内での配置
により文字のグループを分類する方法。
(2) A method of classifying a character group based on the size of an entity with respect to the framework and the arrangement within the framework, based on the relationship between the framework and the entity used to define the shape of the character.

(3)漢字/漢字以外和文/欧文のように、例えば文字
コードの範囲だけで文字のグループを分類する方法。
(3) A method of classifying character groups only in the range of character codes, for example, kanji / non-kanji Japanese / Western.

(1)の方法は、文字の大きさが等しい場合等に有効
であり、文字対のグループ組合せだけで直ちに文字間ピ
ッチを得ることができる。
The method (1) is effective when the sizes of the characters are equal, and the pitch between the characters can be immediately obtained only by the group combination of the character pairs.

(2)の方法は、個々の文字に対してグループが対応
し、各グループ毎に枠組と実体との関係により、前の文
字との文字間ピッチが定まるので、グループの組合せの
判定を不要とすることもできる。
In the method (2), groups correspond to individual characters, and the pitch between characters with the previous character is determined by the relationship between the framework and the entity for each group, so that it is not necessary to determine the combination of groups. You can also.

(3)の方法は、例えば同じ大きさの和文が続く場
合、実施例のようグループテーブルサーチが不要となる
高速化が図れる。
In the method (3), for example, when Japanese sentences having the same size continue, the speed can be increased so that the group table search becomes unnecessary as in the embodiment.

また本実施例のパラメータマトリクスや(1)の文字
間ピッチマトリクス中に同一の数値からなる行または列
のグループ間が統合化でき、メモリがさらに削減でき、
処理も高速化が図れる。
Further, in the parameter matrix of the present embodiment and the inter-character pitch matrix of (1), groups of rows or columns having the same numerical value can be integrated, and the memory can be further reduced.
Processing can also be sped up.

[発明の効果] 本発明によれば、連続した2文字の文字間ピッチを算
出するために、個々の文字対ごとに文字間ピッチに係わ
る情報を記憶するのではなく、文字あるいは文字対につ
いて、それに対応するグループで代表させる方式である
ため、従来に比べてはるかに少ないメモリ容量ですむ。
[Effects of the Invention] According to the present invention, in order to calculate the inter-character pitch of two consecutive characters, instead of storing information relating to the inter-character pitch for each individual character pair, a character or character pair Since the system is represented by the corresponding group, the memory capacity is much smaller than before.

また、2つの文字の組合せに対して、文字間ピッチを
それぞれの文字の大きさの比という演算結果の形で記憶
する方式ではなく、例えば、書体、文字の大きさ、変形
といった文字間ピッチ算出のための必要な要素を使用す
ることにより、属性が異なる文字の組み合せに対しても
対処できる。
In addition, for a combination of two characters, the pitch between characters is not stored in the form of an operation result called the ratio of the size of each character. For example, the pitch between characters such as typeface, character size, and deformation is calculated. By using the necessary elements for, it is possible to handle a combination of characters having different attributes.

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

第1図は、本発明の一実施例を表す処理の流れ図、第2
図は第1図の処理を実行する装置のブロック図、第3図
は文字グループテーブルの一例を表す説明図、第4図は
重み付けパラメータテーブルの一例を表す説明図、第5
図は本発明を2重約物類処理に適用した場合の説明図、
である。 205……文字グループテーブル、 206……パラメータテーブル、 105……連続した二つの文字の読み出し処理、 101……文字形状値の算出処理、 102……文字グループの決定処理、 103……重み付けパラメータの読み出し処理、 104……文字間ピッチの算出処理。
FIG. 1 is a flowchart showing a process according to an embodiment of the present invention.
FIG. 3 is a block diagram of an apparatus for executing the processing of FIG. 1, FIG. 3 is an explanatory diagram showing an example of a character group table, FIG. 4 is an explanatory diagram showing an example of a weighting parameter table, and FIG.
The figure is an explanatory diagram when the present invention is applied to the processing of double punctures,
It is. 205: character group table, 206: parameter table, 105: read processing of two consecutive characters, 101: character shape value calculation processing, 102: character group determination processing, 103: weighting parameter Read processing, 104: Calculation processing of the pitch between characters.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 目瀬 道弘 神奈川県横浜市戸塚区吉田町292番地 株式会社日立製作所マイクロエレクトロ ニクス機器開発研究所内 (72)発明者 松田 泰昌 神奈川県横浜市戸塚区吉田町292番地 株式会社日立製作所マイクロエレクトロ ニクス機器開発研究所内 (56)参考文献 特開 昭60−112474(JP,A) 特開 昭58−188680(JP,A) ──────────────────────────────────────────────────続 き Continuing on the front page (72) Michihiro Mese 292, Yoshida-cho, Totsuka-ku, Yokohama-shi, Kanagawa Prefecture Inside Microelectronics Device Development Laboratory, Hitachi, Ltd. (72) Inventor Yasumasa Matsuda Yoshida, Totsuka-ku, Yokohama-shi, Kanagawa No. 292, Hitachi, Ltd. Microelectronics Equipment Development Laboratory (56) References JP-A-60-112474 (JP, A) JP-A-58-188680 (JP, A)

Claims (7)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】入力編集した文字を出力装置に出力する際
に、文字間ピッチを制御する文字間ピッチ処理方式であ
って、 異なる文字を複数のグループに分類する分類手段と、 任意の2つのグループに基づいて文字間ピッチを求める
文字間ピッチ決定手段とを備え、 上記出力装置に出力しようとする連続する2つの文字の
属するグループを上記分類手段により判定し、該判定結
果に応じて上記文字間ピッチ決定手段により当該2つの
文字の文字間ピッチを求めるものであり、 上記分類手段は、各文字の文字コードおよび属性と当該
文字の属するグループとを対応付けたテーブルであるこ
とを特徴とする文字間ピッチ処理方式。
An inter-character pitch processing method for controlling the inter-character pitch when outputting an input and edited character to an output device, comprising: a classification means for classifying different characters into a plurality of groups; A character pitch determining means for determining a character pitch based on the group; a group to which two consecutive characters to be output to the output device belong is determined by the classification means; and the character is determined in accordance with a result of the determination. The pitch between the two characters is obtained by the pitch determining means, and the classification means is a table in which the character code and attribute of each character are associated with the group to which the character belongs. Inter-character pitch processing method.
【請求項2】入力編集した文字を出力装置に出力する際
に、文字間ピッチを制御する文字間ピッチ処理方式であ
って、 異なる文字を複数のグループに分類する分類手段と、 任意の2つのグループに基づいて文字間ピッチを求める
文字間ピッチ決定手段とを備え、 上記出力装置に出力しようとする連続する2つの文字の
属するグループを上記分類手段により判定し、該判定結
果に応じて上記文字間ピッチ決定手段により当該2つの
文字の文字間ピッチを求めるものであり、 上記分類手段は、文字の形状を定義するための枠組と実
体とに関して、両者の大きさおよび位置の関係により文
字の分類を行うことを特徴とする文字間ピッチ処理方
式。
2. An inter-character pitch processing method for controlling an inter-character pitch when outputting an input and edited character to an output device, comprising: classification means for classifying different characters into a plurality of groups; A character pitch determining means for determining a character pitch based on the group; a group to which two consecutive characters to be output to the output device belong is determined by the classification means; and the character is determined in accordance with a result of the determination. The pitch between the two characters is determined by an interval pitch determining unit. The classifying unit classifies the characters based on the relationship between the size and position of the frame and the entity for defining the shape of the characters. A character pitch processing method.
【請求項3】入力編集した文字を出力装置に出力する際
に、文字間ピッチを制御する文字間ピッチ処理方式であ
って、 異なる文字を複数のグループに分類する分類手段と、 任意の2つのグループに基づいて文字間ピッチを求める
文字間ピッチ決定手段とを備え、 上記出力装置に出力しようとする連続する2つの文字の
属するグループを上記分類手段により判定し、該判定結
果に応じて上記文字間ピッチ決定手段により当該2つの
文字の文字間ピッチを求めるものであり、 上記分類手段は、文字コードの範囲により文字の分類を
行うことを特徴とする文字間ピッチ処理方式。
3. An inter-character pitch processing method for controlling the inter-character pitch when outputting an input and edited character to an output device, comprising: classification means for classifying different characters into a plurality of groups; A character pitch determining means for determining a character pitch based on the group; a group to which two consecutive characters to be output to the output device belong is determined by the classification means; and the character is determined in accordance with a result of the determination. A pitch between characters of the two characters is obtained by an inter-pitch determination means, and the classification means classifies characters according to a range of a character code.
【請求項4】入力編集した文字を出力装置に出力する際
に、文字間ピッチを制御する文字間ピッチ処理方式であ
って、 異なる文字を複数のグループに分類する分類手段と、 任意の2つのグループに基づいて文字間ピッチを求める
文字間ピッチ決定手段とを備え、 上記出力装置に出力しようとする連続する2つの文字の
属するグループを上記分類手段により判定し、該判定結
果に応じて上記文字間ピッチ決定手段により当該2つの
文字の文字間ピッチを求めるものであり、 上記文字間ピッチ決定手段は、前の文字に対応するグル
ープおよび後の文字に対応するグループの各組合せに対
して、当該2つの文字の文字間ピッチの値を対応付けた
テーブルであって、上記前のグループおよび後のグルー
プの組合せを行列形式に分類した場合に同一の値からな
る行または列を統合して構成されるテーブルであること
を特徴とする文字間ピッチ処理方式。
4. An inter-character pitch processing method for controlling the inter-character pitch when outputting an input and edited character to an output device, comprising: classification means for classifying different characters into a plurality of groups; A character pitch determining means for determining a character pitch based on the group; a group to which two consecutive characters to be output to the output device belong is determined by the classification means; and the character is determined in accordance with a result of the determination. The inter-character pitch determining means obtains the inter-character pitch of the two characters. The inter-character pitch determining means determines, for each combination of the group corresponding to the preceding character and the group corresponding to the subsequent character, This is a table in which the values of the pitch between characters of two characters are associated with each other, and when the combination of the preceding group and the following group is classified into a matrix format, A character pitch processing method, which is a table formed by integrating rows or columns of values.
【請求項5】入力編集した文字を出力装置に出力する際
に、文字間ピッチを制御する文字間ピッチ処理方式であ
って、 異なる文字を複数のグループに分類する分類手段と、 任意の2つのグループに基づいて文字間ピッチを求める
文字間ピッチ決定手段とを備え、 上記出力装置に出力しようとする連続する2つの文字の
属するグループを上記分類手段により判定し、該判定結
果に応じて上記文字間ピッチ決定手段により当該2つの
文字の文字間ピッチを求めるものであり、 上記文字間ピッチ決定手段は、前の文字に対応するグル
ープおよび後の文字に対応するグループの各組合せに対
して、当該2つの文字の文字間ピッチを決定するための
パラメータの値を対応付けたテーブルであって、上記前
のグループおよび後のグループの組合せを行列形式に分
類した場合に同一の値からなる行または列を統合して構
成されるテーブルであることを特徴とする文字間ピッチ
処理方式。
5. An inter-character pitch processing method for controlling the inter-character pitch when outputting an input and edited character to an output device, comprising: classification means for classifying different characters into a plurality of groups; A character pitch determining means for determining a character pitch based on the group; a group to which two consecutive characters to be output to the output device belong is determined by the classification means; and the character is determined in accordance with a result of the determination. The inter-character pitch determining means obtains the inter-character pitch of the two characters. The inter-character pitch determining means determines, for each combination of the group corresponding to the preceding character and the group corresponding to the subsequent character, It is a table in which the values of the parameters for determining the inter-character pitch of two characters are associated with each other. An inter-character pitch processing method characterized by being a table formed by integrating rows or columns having the same value when classified into formats.
【請求項6】請求項1の文字コードおよび属性から2つ
の文字の文字形状を求めるとともに、当該2つの文字の
属するグループの組合せにより定まる請求項5のパラメ
ータの値と上記文字形状値とに所定の演算を施すことに
より、上記文字間ピッチを求めることを特徴とする文字
間ピッチ処理方式。
6. The character shape of two characters is obtained from the character code and the attribute of claim 1, and the parameter value of claim 5 and the character shape value are determined by a combination of a group to which the two characters belong. The inter-character pitch processing method is characterized in that the above-described inter-character pitch is obtained by performing the following operation.
【請求項7】入力編集した文字を出力装置に出力する際
に、文字間ピッチを制御する文字間ピッチ処理方式であ
って、 文字の形状を定義するための枠組みと実体とに関して両
者の大きさおよび位置の関係により文字の分類を行う分
類手段と、 任意のグループに基づいて当該文字と直前の文字と文字
間ピッチを求める文字間ピッチ決定手段とを備え、 上記出力装置に出力しようとする文字の属するグループ
を上記分類手段により判定し、該判定結果に応じて上記
文字間ピッチ決定手段により上記文字間ピッチを求める
ことを特徴とする文字間ピッチ処理方式。
7. An inter-character pitch processing method for controlling the inter-character pitch when outputting an input and edited character to an output device, wherein the size of both the frame and the entity for defining the shape of the character are determined. And a character pitch determining means for determining a pitch between characters based on an arbitrary group and a character immediately before, based on an arbitrary group, and a character to be output to the output device. A group to which the character belongs to is determined by the classification means, and the inter-character pitch determination means obtains the inter-character pitch in accordance with the result of the determination.
JP63101555A 1988-04-25 1988-04-25 Character pitch processing method Expired - Lifetime JP2613255B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63101555A JP2613255B2 (en) 1988-04-25 1988-04-25 Character pitch processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63101555A JP2613255B2 (en) 1988-04-25 1988-04-25 Character pitch processing method

Publications (2)

Publication Number Publication Date
JPH01271275A JPH01271275A (en) 1989-10-30
JP2613255B2 true JP2613255B2 (en) 1997-05-21

Family

ID=14303668

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63101555A Expired - Lifetime JP2613255B2 (en) 1988-04-25 1988-04-25 Character pitch processing method

Country Status (1)

Country Link
JP (1) JP2613255B2 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5724596A (en) * 1992-08-25 1998-03-03 Lathrop; Stephen P. Algorithmic character-space adjustment computed from character-sequence-based constants and font size
JP5465819B2 (en) 2000-02-12 2014-04-09 アドビ システムズ, インコーポレイテッド Text grid creation tool
US7071941B2 (en) 2000-02-12 2006-07-04 Adobe Systems Incorporated Method for calculating CJK emboxes in fonts
US7305617B2 (en) 2000-02-12 2007-12-04 Adobe Systems Incorporated Method for aligning text to baseline grids and to CJK character grids
JP4112200B2 (en) 2000-09-25 2008-07-02 アドビ システムズ, インコーポレイテッド Character set free space setting device, character set free space setting program, and recording medium recording the same
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
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
US7123261B2 (en) 2002-12-26 2006-10-17 Adobe Systems Incorporated Coordinating grid tracking and mojikumi spacing of Japanese text
US7594171B2 (en) 2004-10-01 2009-09-22 Adobe Systems Incorporated Rule-based text layout

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58188680A (en) * 1982-04-28 1983-11-04 Toshiba Corp Apparatus for controlling space between characters
JPS60112474A (en) * 1983-11-25 1985-06-18 Ricoh Co Ltd Japanese character outputting device

Also Published As

Publication number Publication date
JPH01271275A (en) 1989-10-30

Similar Documents

Publication Publication Date Title
US5185818A (en) Method of substituting fonts and displaying characters
US4881069A (en) Font compression method and apparatus
US6223191B1 (en) Method and apparatus for automatically formatting multiple lines of text in a word processor
JP2613255B2 (en) Character pitch processing method
JPH07106660B2 (en) How to create handwritten manuscript
JP2909273B2 (en) Outline font line width adjusting method and apparatus
US5883637A (en) Kerning method and a typographic apparatus utilizing same
Mergler et al. One approach to computer assisted letter design
JP2584973B2 (en) Recognition result output method in character recognition device
US4963042A (en) Horizontal line position adjusting in frame processing device
JPH03156668A (en) Document preparing device
JP3005912B2 (en) Data output device
JPS59214893A (en) Character font reduction system
JPH0666066B2 (en) Document processor with furigana addition function
JP2837497B2 (en) Output control device and output control method
JPH05265433A (en) Character outputting method
JPH0687249A (en) Apparatus for printing address
JP3256990B2 (en) Document processing device
JP2995630B2 (en) Document data processing device
JPH0815794B2 (en) Character processor
JPH0371028B2 (en)
JPH04216594A (en) Character gap adjustment method
JPS61286177A (en) Document-forming device
JPH04353478A (en) Reduction print controller
JPH06149208A (en) Character generating device