JPH01271275A - Character-to-character pitch processing - Google Patents

Character-to-character pitch processing

Info

Publication number
JPH01271275A
JPH01271275A JP63101555A JP10155588A JPH01271275A JP H01271275 A JPH01271275 A JP H01271275A JP 63101555 A JP63101555 A JP 63101555A JP 10155588 A JP10155588 A JP 10155588A JP H01271275 A JPH01271275 A JP H01271275A
Authority
JP
Japan
Prior art keywords
character
characters
pitch
inter
character pitch
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
JP63101555A
Other languages
Japanese (ja)
Other versions
JP2613255B2 (en
Inventor
Toshiharu Kawasaki
川崎 敏治
Tetsuo Iwamoto
岩本 哲夫
Michihiro Mese
目瀬 道弘
Yasumasa Matsuda
松田 泰昌
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)

Abstract

PURPOSE:To reduce the capacity of a memory, by judging a group to which two continuous characters belong by a classifying means and calculating the character-to-character pitch of two continuous characters corresponding to the judge result by a character-to-character pitch determination means. CONSTITUTION:The character code and attribute relating to two continuous characters ready to calculate a character-to-character pitch are read from an input apparatus 203 or memory at first and a CPU 201 calculates a character shape value such as a character width according to a processing program 207 and refers to a character group table 205 to determine character groups. Next, two character groups are used as searching keys and a weighting parameter table 206 is referred to read the parameter relating to a width and, from the obtained parameters relating to the character shape value and the width, the pitch between two characters is calculated. By this method, the capacity of a memory is reduced and even a combination of characters different in attribute can be dealed with.

Description

【発明の詳細な説明】 1産業上の利用分野] 本発明は、ワードブロセッザ・組版装置等の文書編集装
置に係り、特に1体裁良く文字が配ffiされた文書を
作成する文字間ピッチ処理方式に間4゛る。
[Detailed Description of the Invention] 1. Field of Industrial Application] The present invention relates to a document editing device such as a word browser or typesetting device, and particularly relates to a character pitch processing method for creating a document with well-arranged characters. It takes 4 minutes.

[従来の技術] 従来、体裁の良い文書を作成するには、各文字の配との
方法か型費であった。その決め方としては、たとえば特
開昭−114569号公報に記載のように、連続した2
つの文字の組合せ毎に文字間ピッチの値を文字の大きさ
の比として予め既定偵と1゜て記憶し°〔おき、オペレ
ータが文字間ピッチ1?F:変更したい文字の組合せに
対して壬の比を変更し、再度同じ文字の組合せが生じた
場合、更新した比をもとに自動的に文字間ピッチを算出
する方法があワた。
[Prior Art] Conventionally, in order to create a well-presented document, it was necessary to arrange the layout of each character or to pay for molds. For example, as described in Japanese Patent Application Laid-Open No. 114569, two consecutive
For each combination of two characters, the value of the inter-character pitch is stored in advance as a ratio of the character size by 1 degree, and then the operator selects the inter-character pitch of 1 degree. F: I found a method that would automatically calculate the pitch between characters based on the updated ratio when the ratio of 壬 is changed for the combination of characters that you want to change, and the same combination of characters occurs again.

[発明が解決しようとする課題] 上記従来技術は、個別の文字の組合せに対して、それぞ
れ文字間ピッチの文字の大きさに対する比を記憶する必
要があり、この方式たけ用いるとすれば多くのメモリを
必要ど1ノだ。例えば、仮に文字間ピッチを変更した文
字の組合せか700×700〜500000組゛1゛あ
るとしく文字間ピッチか問題となるのは通常漢字を除く
文字、図記号等についてであるので、こわらの数を70
0とした)、文字コードが2バイト、文字間ピッチの文
字の大きさ(::対オる比を2バ・イトどずハば、50
00口0x(2x2 +2 ) =3Mバイトとなる。
[Problems to be Solved by the Invention] The above-mentioned prior art requires storing the ratio of inter-character pitch to character size for each combination of characters. It requires a lot of memory. For example, if there are 700 x 700 to 500,000 combinations of characters with different pitches, and the question of pitch between characters is usually for characters other than kanji, symbols, etc., it is difficult to understand. 70
0), the character code is 2 bytes, the character size of the pitch between characters (:: ratio is 2 bytes, 50
00x(2x2 +2) = 3M bytes.

また文字間ピッチを文字の大きさに対する比という処理
結果で記憶する方式のため、文字の組合せに対して、異
なる書体、異なる大きさの組合せ、及び長体・平棒等の
変形について考慮されていなかった。
In addition, since the method stores the character pitch as a ratio to the character size, different fonts, combinations of different sizes, and deformations such as long characters and flat bars are taken into consideration for character combinations. There wasn't.

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

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

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

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

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

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

上記テーブルは、上記前のグループおよび後のグループ
の組合せを行列形式に分類した場合に同一の値からなる
行または列を統合して構成することができる。
The above-mentioned table can be constructed by integrating rows or columns having the same values when the combinations of the above-mentioned previous group and subsequent group are classified in a matrix format.

上記文字コードおよび属性から2つの文字の文字形状値
を求めるとともに、当該2つの文字の属するグループの
組合せにより定まる上記パラメータの値と上記文字形状
値とに所定の演算を施すことにより、上記文字間ピッチ
を求めることができる。
The character shape values of the two characters are determined from the character codes and attributes, and the distance between the characters is You can find the pitch.

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

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

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

C作用1 本発明においては、文字を組版して体裁のよい文章を作
成する場合、文字と文字との距離(文字間ピッチ)は、
各文字あるいは互いに隣り合う文字と文字との組合せ(
文字対)によって、幾つかのグループに分類できること
に着目し、個々の文字対ごとに文字間ピッチを記憶して
おくのではなく、これらの文字グループ対ごとに文字間
ピッチを記憶するようにしたものである。
C Effect 1 In the present invention, when creating a well-presented text by typesetting characters, the distance between characters (intercharacter pitch) is
Each character or a combination of adjacent characters (
Focusing on the fact that characters can be classified into several groups based on character pairs (character pairs), the system memorized the character pitch for each character group pair instead of storing the character pitch for each individual character pair. It is something.

すなわち1本発明の代表的な場合、システムに必要な文
字とその属するグループとを対応付けておき、かつ、任
意のグループの組合せについて、適切な文字間ピッチま
たはその算出のための文字間ピッチ情報を登録しておく
、そこで、出力装置への文字の出力時に、各文字対につ
いて前の文字のグループと後の文字のグループとを判定
し、その組合せに基づいて上記登録した文字間ピッチま
たは文字間ピッチ情報から文字間ピッチを求める、 各文字をその属するグループと対応付ける分類−r段は
メモリテーブルにより構成できるが1文字コードの範囲
で分類するような場合には、とのメートリテーブルは不
要である6 また、文字のグループ組合わせを文字間ピッチ′♀と対
応付ける文字間ピッチ快足手段もメモリテーブルにより
構成てきる。ただ1ノ、分類手段が文字の枠組(ボディ
)と実体(1/ター・)との関係で分類を行うよ・うな
場合には、このメモリテーブルは必ずしも必要ではない
、つまり、グルー・ブの組合せではなく、グループ単独
で、直前の文字からの文字間ピッチを決定することがで
きる。
In other words, in a typical case of the present invention, characters required for the system and the groups to which they belong are associated, and appropriate character pitch or character pitch information for calculating the appropriate character pitch for any combination of groups is provided. Then, when outputting characters to the output device, the previous character group and the subsequent character group are determined for each character pair, and based on that combination, the character spacing or character pitch registered above is determined. The metric table that calculates the pitch between characters from the pitch information and the classification that associates each character with the group to which it belongs can be constructed using a memory table, but when classifying within the range of a single character code, a metric table is not required. 6 In addition, a memory table can also be used as a means for associating a group combination of characters with a character pitch '♀'. However, if the classification means performs classification based on the relationship between the character frame (body) and substance (1/tar), this memory table is not necessarily necessary. Groups alone, rather than combinations, can determine the intercharacter pitch from the previous character.

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

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

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

CP U 201は、ハスライン202を介して各ブロ
ック間のデ・−夕転送を行い、処理プログラム207を
動かす、Jf−ボー1−の如き文字入力装置203によ
って連続した二つの文字を人力し、それぞれ文字コード
及び属性として信号に変換される。これらの文字コード
及び属性の信号は、メモリ(図示せず)に記憶゛さ′4
1.る。表示装置、プリンタ等の出力装置204は、文
字フード、属性及び文字間ビツヂなどのデータに基づい
て文字を出力(表示または印字)するい文字グル・−ブ
チ−ツル205は、文字コ・−ド及び書体等の属性を検
索のキーとlノて、文字グループを対応させる。また、
パラメータテーブル206は、グループの組合せに対し
て、幅に関する亀み付はパラメータを対応させる。
The CPU 201 transfers data between each block via the hash line 202, runs the processing program 207, manually inputs two consecutive characters using a character input device 203 such as a JF-1, and inputs each character. It is converted into a signal as a character code and attribute. These character codes and attribute signals are stored in a memory (not shown).
1. Ru. An output device 204 such as a display device or a printer outputs (displays or prints) characters based on data such as character hoods, attributes, and character spacing. A character group 205 outputs character codes. Character groups are made to correspond by using attributes such as font and font as search keys. Also,
The parameter table 206 associates parameters with respect to width with respect to combinations of groups.

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

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

次に、処理プログラム207は、例えば上記文字コード
及び属性を検索のキーとし、文字グルー・−ブチ−プル
205を参照し、文字のグループを決定する(102)
Next, the processing program 207 uses, for example, the above character code and attribute as a search key, refers to the character group group 205, and determines a character group (102).
.

文字グループデープル205は、第3図のような構造を
持ち1例えば、文字コード01oz、明朝体の文字に対
しては1文字グループは「起し括弧類Jであるというよ
うに対応させる。ここで例えば日本語の文字に関するグ
ループ情報を本テーブルで記憶したとしても、高々10
000 x (2x2 +2 )=60にバイトであり
、個々の文字の組み合せに対してそれぞれの文字間ピッ
チの文字の大きさに対する比をすべて記憶する方式に比
べて、少ないメモリ容量で済む。
The character group daple 205 has a structure as shown in FIG. 3. For example, for a character code of 01oz and a Mincho typeface, one character group corresponds to "opening brackets J." For example, even if group information regarding Japanese characters is stored in this table, at most 10
000 x (2x2 +2) = 60 bytes, and requires less memory capacity than a method that stores all the ratios of inter-character pitch to character size for each combination of characters.

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

次に、処理プログラム207は、処理102によって得
られた二つの文字グループを検索のキーとして、重み付
はバラタ・−タデ−プル206を参照し、幅に関するパ
ラメータを読み出1−(103)。
Next, the processing program 207 uses the two character groups obtained in the process 102 as search keys, refers to the weighted Balata data pull 206, and reads out parameters related to the width (103).

重み付はパラメータテーブル206は、第4図のような
マトリクス構造を持つ。例えば、いわゆる2重約物のよ
うに、文字グループか「起1.括弧類」である文字が連
続した場合、71−リクスの1行1列目の内容から第1
のパラメータP、は0.5、第2のバラタ・−タP2は
Oであるというように対応させる(他の成分にも同様に
P l*  P 2のバラタ・−夕偵が与えられている
)。
The weighting parameter table 206 has a matrix structure as shown in FIG. For example, when characters that are a character group or "starting 1. brackets" are consecutive, as in a so-called double punctuation, the first
The parameter P of ).

すなわち、連続2文字の字幅に関する重みづけか同じ値
になる文字対を集計し、それぞれをグループ化しである
。この分類法は経験的なものであるためシステムによっ
て多少異なっていても差しつかえない。このようにクル
ープ化しておくことにより1例えば本実施例の場合6X
  6x (2+2)=144バイトと、前述のように
文字対の文字間ピッチに関する情報を個々記憶しておく
方法から見れば無視できる程少ない。
That is, the weighting of two consecutive characters with respect to the character width or the character pairs that have the same value are totaled, and each character pair is grouped. Since this classification method is empirical, it may differ slightly depending on the system. By grouping in this way, 1, for example, in this example, 6X
6x (2+2)=144 bytes, which is so small that it can be ignored considering the method of individually storing information regarding the pitch between characters in character pairs as described above.

最後に、処理101で得られた文字形状値及び処。Finally, the character shape value and location obtained in process 101.

理103で得られた幅に関するパラメータから、処理プ
ログラム207は、ニフの文字の文字間ピッチを算出す
る(104)。
The processing program 207 calculates the inter-character pitch of the NIF character from the width-related parameters obtained in step 103 (104).

第5図は上記2重約物の文字間ピッチ算出の様子を表わ
したものである。ここで文字形状値として便宜上字幅を
用い、a+ =a、=aと仮定し、さらに重み付はパラ
メータをそれぞれP+=0.5、? =0とし、文字間
ピッチを2つの文字間の中心間距離とする。第5図(a
)、(b)はいわゆるベタ組みの場合と、本発明の場合
のそれぞれの様子であり、文字間ピッチをd、d’とお
くと。
FIG. 5 shows how the inter-character pitch of the double punctuation mark is calculated. Here, for convenience, we use the character width as the character shape value and assume that a+ = a, = a, and the weighting parameters are P+ = 0.5, ? = 0, and the inter-character pitch is the center-to-center distance between two characters. Figure 5 (a
) and (b) are the cases of so-called solid writing and the case of the present invention, respectively, where the pitches between characters are set as d and d'.

となる。becomes.

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

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

(1)前記パラメータではなく、連続する文字間の文字
間ピッチの値そのものでグループの組合せを分類する方
法。
(1) A method of classifying group combinations based on the value of the inter-character pitch between successive characters instead of the above-mentioned parameters.

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

(3)漢字/漢字以外和文/欧文のように1例えば文字
コードの範囲だけで文字のグループを分類する方法。
(3) For example, a method of classifying character groups based only on the range of character codes, such as Kanji/non-Kanji Japanese/European characters.

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

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

(3)の方法は、例えば同じ大きさの和文が続く場合、
実施例のようなグループテーブルサーチが不要となり高
速化が図れる。
Method (3) is used, for example, when Japanese sentences of the same size continue,
There is no need to search for a group table as in the embodiment, and the speed can be increased.

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

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

また、2つの文字の組合せに対して、文字間とウチをそ
れぞれの文字の大きさの比という演算結果の形で記憶す
る方式ではなく、例えば、書体、文字の大きさ、変形と
いった文字間ピッチ算出のための必要な要素を使用する
ことにより、属性が異なる文字の組み合せに対しても対
処できる。
In addition, for a combination of two characters, the method does not store the character spacing and inner space in the form of the calculation result of the ratio of the size of each character, but rather the spacing between characters such as font, character size, transformation, etc. By using the necessary elements for calculation, it is possible to deal with combinations of characters with different attributes.

【図面の簡単な説明】 第1図は、本発明の一実施例を表す処理の流れ図、第2
図は第1図の処理を実行する装置のブロック図、第3区
は文字グループテーブルの一例を表す説明図、第4図は
重み付はパラメータテーブルの一例を表す説明図、第5
図は本発明を2重約物類処理に適用した場合の説明図、
である。 205・・・文字グループテーブル、 206・・・パラメータテーブル、 105・・・連続した二つの文字の読み出し処理、10
1・・・文字形状値の算出処理、 102・・・文字グループの決定処理、103・・・重
み付はパラメータの読み出し処理、104・・・文字間
ピッチの算出処理。 出願人 株式会社 日 立 製 作 所代理人 弁理士
    富 IIJ  和 子箱1図 θD 第 2 図 第4図 第5図 QI     Q2
[BRIEF DESCRIPTION OF THE DRAWINGS] FIG. 1 is a flowchart of a process representing an embodiment of the present invention;
The figure is a block diagram of a device that executes the process in Figure 1, the third section is an explanatory diagram showing an example of a character group table, the weighting is an explanatory diagram showing an example of a parameter table, and the fifth section is an explanatory diagram showing an example of a parameter table.
The figure is an explanatory diagram when the present invention is applied to double contract processing,
It is. 205...Character group table, 206...Parameter table, 105...Reading process of two consecutive characters, 10
1... Character shape value calculation process, 102... Character group determination process, 103... Weighting is parameter reading process, 104... Character pitch calculation process. Applicant: Hitachi, Ltd. Representative: Patent Attorney Tomi IIJ Kazuko Box 1 Figure θD Figure 2 Figure 4 Figure 5 QI Q2

Claims (1)

【特許請求の範囲】 1、入力編集した文字を出力装置に出力する際に、文字
間ピッチを制御する文字間ピッチ処理方式であって、 異なる文字を複数のグループに分類する分類手段と、 任意の2つのグループに基づいて文字間ピッチを求める
文字間ピッチ決定手段とを備え、上記出力装置に出力し
ようとする連続する2つの文字の属するグループを上記
分類手段により判定し、該判定結果に応じて上記文字間
ピッチ決定手段により当該2つの文字の文字間ピッチを
求めることを特徴とする文字間ピッチ処理方式。 2、上記分類手段は、各文字の文字コードと当該文字の
属するグループとを対応付けたテーブルである請求項1
記載の文字間ピッチ処理方式。 3、上記分類手段は、各文字の文字コードおよび属性と
当該文字の属するグループとを対応付けたテーブルであ
る請求項1記載の文字間ピッチ処理方式。 4、上記分類手段は、文字の形状を定義するための枠組
と実体とに関して、両者の大きさおよび位置の関係によ
り文字の分類を行うことを特徴とする請求項1記載の文
字間ピッチ処理方式。 5、上記分類手段は、文字コードの範囲により文字の分
類を行うことを特徴とする請求項1記載の文字間ピッチ
処理方式。 6、上記文字間ピッチ決定手段は、前の文字に対応する
グループおよび後の文字に対応するグループの各組合せ
に対して、当該2つの文字の文字間ピッチの値を対応付
けたテーブルであることを特徴とする請求項1記載の文
字間ピッチ処理方式。 7、上記文字間ピッチ決定手段は、前の文字に対応する
グループおよび後の文字に対応するグループの各組合せ
に対して、当該2つの文字の文字間ピッチを決定するた
めのパラメータの値を対応付けたテーブルであることを
特徴とする請求項1記載の文字間ピッチ処理方式。 8、上記テーブルは、上記前のグループおよび後のグル
ープの組合せを行列形式に分類した場合に同一の値から
なる行または列を統合して構成されることを特徴とする
請求項6または7記載の文字間ピッチ処理方式。 9、請求項3の文字コードおよび属性から2つの文字の
文字形状値を求めるとともに、当該2つの文字の属する
グループの組合せにより定まる請求項7のパラメータの
値と上記文字形状値とに所定の演算を施すことにより、
上記文字間ピッチを求めることを特徴とする文字間ピッ
チ処理方式。 10、入力編集した文字を出力装置に出力する際に、文
字間ピッチを制御する文字間ピッチ処理方式であって、 異なる文字を予め複数のグループに分類しておき、文字
の出力時に、連続する2つの文字のうち前の文字が上記
いずれのグループに属し、後の文字が上記いずれのグル
ープに属するかを判定し、該判定結果に応じて当該2つ
の文字の文字間ピッチを定めることを特徴とする文字間
ピッチ処理方式。 11、入力編集した文字を出力装置に出力する際に、文
字間ピッチを制御する文字間ピッチ処理方式であって、 文字の形状を定義するための枠組と実体とに関して両者
の大きさおよび位置の関係により文字の分類を行う分類
手段と、 任意のグループに基づいて当該文字と直前の文字と文字
間ピッチを求める文字間ピッチ決定手段とを備え、 上記出力装置に出力しようとする文字の属するグループ
を上記分類手段により判定し、該判定結果に応じて上記
文字間ピッチ決定手段により上記文字間ピッチを求める
ことを特徴とする文字間ピッチ処理方式。
[Claims] 1. An inter-character pitch processing method for controlling the inter-character pitch when outputting input and edited characters to an output device, comprising: a classification means for classifying different characters into a plurality of groups; and a character pitch determination means for determining the character pitch based on the two groups, the classification means determines the group to which two consecutive characters to be outputted to the output device belong, and according to the determination result. An inter-character pitch processing method characterized in that the inter-character pitch between the two characters is determined by the inter-character pitch determining means. 2. Claim 1, wherein the classification means is a table that associates the character code of each character with the group to which the character belongs.
The character pitch processing method described. 3. The inter-character pitch processing method according to claim 1, wherein the classification means is a table that associates the character code and attribute of each character with the group to which the character belongs. 4. The inter-character pitch processing method according to claim 1, wherein the classification means classifies the characters based on the relationship between the size and position of the framework and substance for defining the shape of the characters. . 5. The inter-character pitch processing method according to claim 1, wherein said classification means classifies characters according to a range of character codes. 6. The above-mentioned inter-character pitch determination means is a table that associates the inter-character pitch values of the two characters with each combination of a group corresponding to the previous character and a group corresponding to the subsequent character. The inter-character pitch processing method according to claim 1, characterized in that: 7. The inter-character pitch determination means corresponds to each combination of a group corresponding to the previous character and a group corresponding to the subsequent character, the value of a parameter for determining the inter-character pitch between the two characters. 2. The inter-character pitch processing method according to claim 1, wherein the inter-character pitch processing method is a table with a table attached thereto. 8. The table is configured by integrating rows or columns having the same value when the combination of the previous group and the subsequent group is classified into a matrix format. Character pitch processing method. 9. Obtain the character shape values of two characters from the character codes and attributes of claim 3, and perform a predetermined operation on the parameter values of claim 7 determined by the combination of groups to which the two characters belong and the character shape values. By applying
An inter-character pitch processing method characterized by determining the above-mentioned inter-character pitch. 10. An inter-character pitch processing method that controls the inter-character pitch when outputting input-edited characters to an output device, in which different characters are classified in advance into multiple groups, and when outputting characters, continuous It is characterized by determining which of the above groups the previous character of two characters belongs to and which of the above groups the latter character belongs to, and determining the inter-character pitch between the two characters according to the determination result. Character pitch processing method. 11. A character pitch processing method that controls the character pitch when inputting and editing characters are output to an output device, and the size and position of both the framework and substance for defining the character shape are A classification means for classifying characters based on a relationship, and a character pitch determining means for determining the pitch between the character, the immediately preceding character, and the character based on an arbitrary group, and determining the group to which the character to be outputted to the output device belongs. The character pitch processing method is characterized in that the character pitch is determined by the classification means, and the character pitch is determined by the character pitch determining means in accordance with the determination result.
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 true JPH01271275A (en) 1989-10-30
JP2613255B2 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)

Cited By (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
US6928611B2 (en) 2000-09-25 2005-08-09 Adobe Systems Incorporated Setting text composition spacing amount
US7039862B2 (en) 2002-05-10 2006-05-02 Adobe Systems Incorporated Text spacing adjustment
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

Citations (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

Patent Citations (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

Cited By (12)

* 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
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
US7320104B2 (en) 2000-02-12 2008-01-15 Adobe Systems Incorporated Text grid creation tools
US6928611B2 (en) 2000-09-25 2005-08-09 Adobe Systems Incorporated Setting text composition spacing amount
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
US7783969B1 (en) 2004-10-01 2010-08-24 Adobe Systems Incorporated Rule-based text layout

Also Published As

Publication number Publication date
JP2613255B2 (en) 1997-05-21

Similar Documents

Publication Publication Date Title
US6223191B1 (en) Method and apparatus for automatically formatting multiple lines of text in a word processor
JPH01271275A (en) Character-to-character pitch processing
JPS6320671A (en) Sentence processor
JPH03226859A (en) Layout display controller of document processor
JPH08161309A (en) Word processor
US5287445A (en) Layout displaying apparatus for a word processor
US4843570A (en) Block processing apparatus
JPH0778140A (en) Document processor
JPH0430073B2 (en)
JPH0570174B2 (en)
JP3708828B2 (en) DTP system capable of line composition control, line composition control method, line composition control program, and recording medium recording the same
JP2837497B2 (en) Output control device and output control method
JPH05265433A (en) Character outputting method
JPH01103467A (en) Document output method
JPH0782311B2 (en) Character spacing adjustment method
JPH08293033A (en) Information processor
JPS5991540A (en) Document processor
JPS61286177A (en) Document-forming device
JPH02178874A (en) Character ruled line processing system of document preparing device
JPH08127112A (en) Character composing and editing apparatus
JPH0573548A (en) Document shaping device
JPS63233463A (en) Document processor
JPH06149208A (en) Character generating device
JPH05274304A (en) Document processor
JPH07256954A (en) Image-forming apparatus