JPH08118581A - Character column length regulating method - Google Patents

Character column length regulating method

Info

Publication number
JPH08118581A
JPH08118581A JP6289044A JP28904494A JPH08118581A JP H08118581 A JPH08118581 A JP H08118581A JP 6289044 A JP6289044 A JP 6289044A JP 28904494 A JP28904494 A JP 28904494A JP H08118581 A JPH08118581 A JP H08118581A
Authority
JP
Japan
Prior art keywords
character
amount
packing
characters
candidate point
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.)
Pending
Application number
JP6289044A
Other languages
Japanese (ja)
Inventor
Hiroshi Nakayama
寛 中山
Hideki Shibata
英樹 柴田
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.)
Dainippon Screen Manufacturing Co Ltd
Original Assignee
Dainippon Screen Manufacturing Co 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 Dainippon Screen Manufacturing Co Ltd filed Critical Dainippon Screen Manufacturing Co Ltd
Priority to JP6289044A priority Critical patent/JPH08118581A/en
Publication of JPH08118581A publication Critical patent/JPH08118581A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE: To provide a method for regulating the length of a character column which can efficiently automatically bring the length of the character column into coincidence with that of a row while considering an interval between character surfaces. CONSTITUTION: A kerning regulating functional calculator 10 calculates a kerning regulating function at each character to be kerned, and a kerning regulating function storage unit 11 stores it. A controller 1 calculates the sum of the kerning regulating function of each character to be kerned, and total kerning regulating function storage unit 12 stores it. A layout character interval data storage unit 17 calculates a layout character interval data common for the character based on the difference character column length and the total kerning regulating function, and a layout kerning amount calculator 18 calculates the kerning amount of each character based on the layout character interval data and the kerning regulating function of each character to be kerned, and a layout kerning amount storage unit 19 stores it. The controller 1 kerns to lay out the characters based on the layout kerning amount.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、文字列を対象にして行
う処理であって、文字列の各文字を所定の配列方向に配
置する際に、各文字間隔の調整を行って前記文字列の長
さ(文字列長)が、指定された行長に一致するように調
整する文字列長調整方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a process for a character string, wherein when arranging each character of the character string in a predetermined arrangement direction, the character space is adjusted to adjust the character string. The present invention relates to a character string length adjusting method for adjusting the length (character string length) so that it matches the specified line length.

【0002】[0002]

【従来の技術】近年のコンピュータを利用した電子組版
においては、文字組版編集装置が取り扱う日本語の文字
は、かな,漢字などの文字種にかかわらず、各文字の情
報は、所定の大きさをもつ枠の中に収められている。ま
ず、日本語の文字の構成要素を図39の模式図を参照し
て定義しておく。なお、以下の説明において、「文字」
とは通常の文章,単語を形成するのに用いられる狭義の
文字の他、数字や各種の記号を含むものとする。
2. Description of the Related Art In electronic typesetting using a computer in recent years, the information of each character has a predetermined size regardless of the Japanese characters handled by the character typesetting editing device, such as kana and kanji. It is contained in a frame. First, the constituent elements of Japanese characters will be defined with reference to the schematic diagram of FIG. In the following explanation, "character"
The term includes ordinary sentences and letters in a narrow sense used to form words, as well as numbers and various symbols.

【0003】<文字構成>この模式図は、一例として、
文字「し」の構成要素を示している。文字の字体形状
は、文字の最小配置単位を示す矩形状の枠である”仮想
ボディ”IBに収められ、前記仮想ボディIBの横方向
の長さXを”文字幅”とし、縦方向の長さYを”文字高
さ”とする。一般的には、文字幅Xと文字高さYとは同
じ値で構成される。
<Character composition> This schematic diagram shows, as an example,
The constituent elements of the character "shi" are shown. The character font shape is stored in a "virtual body" IB, which is a rectangular frame indicating the minimum arrangement unit of characters, and the horizontal length X of the virtual body IB is "character width", and the vertical length. Let Y be the "character height". In general, the character width X and the character height Y have the same value.

【0004】前記仮想ボディIBの内方には、文字の字
体形状を示す”字面”Fが配置され、この字面Fは、点
の集まりからなるドットデータや数学的に形状を表すベ
クトルデータにより構成される。前記字面Fの最大外形
を囲うような矩形状の枠を、バウンディングボックスB
Bとし、前記バウンディングボックスBBの横方向の長
さWを”字面幅”とし、縦方向の長さHを”字面高さ”
とする。これら字面幅Wと字面高さHとを併せて、字面
寸法と呼ぶことにする。
Inside the virtual body IB, a "character surface" F indicating the character shape of the character is arranged, and this character surface F is composed of dot data consisting of a collection of points and vector data expressing mathematically the shape. To be done. A rectangular frame surrounding the maximum outer shape of the character plane F is bounded by the bounding box B.
B, the horizontal length W of the bounding box BB is "character width", and the vertical length H is "character height".
And The character surface width W and the character surface height H are collectively referred to as a character surface dimension.

【0005】前記仮想ボディIB内に配置されている字
面Fの字面幅Wと仮想ボディIBの文字幅Xとの差を、
図示するように前間隔aおよび後間隔bとし、字面高さ
Hと文字高さYとの差を、上間隔cおよび下間隔dとす
る。これらの間隔は、仮想ボディIB内に収められる字
面Fの大きさや形状によって、すなわち、文字毎に異な
る。
The difference between the character width W of the character surface F arranged in the virtual body IB and the character width X of the virtual body IB is given by:
As shown in the figure, a front space a and a rear space b are set, and a difference between the character height H and the character height Y is set to an upper space c and a lower space d. These intervals differ depending on the size and shape of the character surface F accommodated in the virtual body IB, that is, for each character.

【0006】なお、上記のバウンディングボックスBB
は、字面Fの周囲に必要に応じて適宜の隙間(サイドベ
アリング)を設けて、その隙間を含む矩形状の枠をいう
こともあるが、以下の説明においては、特に付記しない
限りバウンディングボックスはサイドベアリングを含ま
ないものとする。
The above bounding box BB
May refer to a rectangular frame that includes an appropriate gap (side bearing) around the character surface F as necessary, and in the following description, the bounding box will be referred to unless otherwise specified. Side bearings are not included.

【0007】<従来方法>複数個の文字で構成される文
字列を対象にして、入力・指定された行長にその文字列
長を一致させるための従来の文字列長調整方法として
は、次の2つの方法が挙げられる。
<Conventional Method> A conventional character string length adjusting method for matching a character string length consisting of a plurality of characters with an input / specified line length is as follows. There are two methods.

【0008】1)手動による文字列長の調整 指定された行長に相当する画面表示と画面に表示された
文字列をオペレータが見ながら、第1文字(基準文字)
と第2文字(対象文字)、次いで第2文字(基準文字)
と第3文字(対象文字)、の要領でオペレータが各文字
の字面の形状を考慮しつつ、順次各文字間隔を微調整し
て最終的に全文字列の長さが行長に一致するまで調整を
行う。
1) Manual adjustment of character string length The first character (reference character) is observed while the operator is watching the screen display corresponding to the designated line length and the character string displayed on the screen.
And the second character (target character), then the second character (reference character)
And the third character (target character), the operator considers the character shape of each character and fine-tunes each character interval in order until the length of the entire character string finally matches the line length. Make adjustments.

【0009】2)均等詰めによる文字列長の調整 文字列長と指定行長との差分を各文字に「均等に」割り
振った値で、各文字の仮想ボディが接するベタ組みの状
態から各文字間隔を一律に詰める。
2) Adjustment of Character String Length by Evenly Packing The difference between the character string length and the specified line length is assigned "equally" to each character, and each character is changed from the solid set state in which the virtual body of each character is in contact. Fill the intervals uniformly.

【0010】[0010]

【発明が解決しようとする課題】しかしながら、上述し
た2つの従来方法には、次のような問題点がある。第1
の方法は、オペレータの判断により各文字間隔の調整を
行うのでオペレータの熟練を要するとともに、その調整
に試行錯誤を要して非常に作業効率が悪いという問題点
がある。
However, the above-mentioned two conventional methods have the following problems. First
This method requires the operator's skill because each character interval is adjusted based on the operator's judgment, and there is a problem in that the adjustment requires trial and error and the work efficiency is extremely poor.

【0011】第2の方法は、各文字の字面寸法を考慮せ
ず、各文字間隔を「均等に」詰めるので、各文字の字面
によっては隣接する文字同士の間隔が広がって見えた
り、逆に狭く見えたり、ときには、隣接する文字の字面
同士が一部重複したりして、文字列長を指定行長に一致
させることができても文字列の体裁が悪くなるという問
題点がある。
In the second method, the character size of each character is not taken into consideration, and the character intervals are narrowed "equally". Therefore, depending on the character surface of each character, the space between adjacent characters appears to be widened, or conversely. There is a problem that it looks narrow or sometimes the character faces of adjacent characters partially overlap with each other, so that the character string has a bad appearance even if the character string length can match the specified line length.

【0012】本発明は、このような事情に鑑みてなされ
たものであって、隣接文字の字面間隔を考慮しつつも、
作業効率良く文字列長を指定行長に一致させることがで
きる文字列長調整方法を提供することを目的とする。
The present invention has been made in view of such circumstances, and while considering the character spacing between adjacent characters,
An object of the present invention is to provide a character string length adjusting method capable of matching a character string length with a designated line length with good work efficiency.

【0013】[0013]

【課題を解決するための手段】本発明は、このような目
的を達成するために、次のような構成をとる。すなわ
ち、請求項1に記載の文字列長調整方法は、文字の配置
単位である仮想ボディの内方に、文字形状を表す字面を
配置してなる複数個の文字を所定の配列方向に配置する
際に、配置される全文字列の長さが、指定された行長に
一致するように調整する文字列長調整方法であって、前
記行長を入力する過程と、前記各文字の隣接する2つの
文字のうち、先に配置される文字(基準文字)と前記配
列方向に配置される文字(対象文字)を、両文字の基準
配置状態から前記基準文字に対して詰めて配置させた場
合の詰め量と、前記詰め量における両文字の字面同士の
間隔量(字面間隔量)との関係を表す関数(詰め調整関
数)を、各対象文字について算出する過程と、前記算出
された各詰め調整関数の字面間隔量を基準とする詰め量
の総和(総詰め調整関数)を算出する過程と、前記各対
象文字をそれぞれに対応する各基準文字に対して基準配
置し、その基準文字列長を算出する過程と、前記入力さ
れた行長と前記基準文字列長との差分(差分文字列長)
を算出する過程と、前記差分文字列長を必要な詰め量の
総和として前記総詰め調整関数により配置字面間隔量を
算出する過程と、前記配置字面間隔量と前記各対象文字
の各詰め調整関数とに基づいて、各対象文字の個々の詰
め量(配置詰め量)を算出する過程と、前記各対象文字
の個々の配置詰め量で、各対象文字をそれぞれに対応す
る各基準文字に対して詰め配置する過程と、を含むこと
を特徴とするものである。
The present invention has the following constitution in order to achieve such an object. That is, the character string length adjusting method according to claim 1 arranges a plurality of characters, each of which has a character surface representing a character shape, in a predetermined arrangement direction inside a virtual body which is a character arrangement unit. In this case, there is provided a character string length adjusting method for adjusting the lengths of all the arranged character strings so as to match a specified line length. Of the two characters, the character that is arranged first (reference character) and the character that is arranged in the arrangement direction (target character) are arranged closer to the reference character from the reference arrangement state of both characters. And a step of calculating, for each target character, a function (filling adjustment function) that represents the relationship between the padding amount and the amount of spacing between the faces of the two characters in the padding amount (letter spacing amount). Sum of padding amount based on face spacing of adjustment function (total Adjustment function), a step of calculating the reference character string length by arranging each of the target characters with respect to each corresponding reference character, and a step of calculating the input line length and the reference character. Difference from column length (difference character string length)
And a step of calculating the arrangement face spacing amount by the total filling adjustment function by using the difference character string length as a sum of required filling amounts, and the arrangement face spacing amount and each filling adjustment function of each target character. Based on the process of calculating the individual packing amount (layout packing amount) of each target character, and the individual layout packing amount of each target character, with respect to each reference character corresponding to each target character It is characterized by including a process of arranging them closely.

【0014】請求項2に記載の文字列長調整方法は、請
求項1に記載の方法において、前記詰め調整関数は、前
記対象文字のドットパターンを、基準文字のドットパタ
ーンに向けて1ドットづつシフトさせ、そのシフト毎
に、前記シフト方向と直交する方向にて両ドットパター
ン間が最短間隔となる一対のドット(候補点ペア)を求
める過程と、前記両文字の仮想ボディが接する状態にお
ける前記各候補点ペア間の前記シフト方向の間隔情報と
これに直交する方向の間隔情報とを記憶する過程と、前
記各候補点ペアのシフト方向の間隔情報と、これに直交
する方向の間隔情報とに基づいて、前記両文字の仮想ボ
ディが接した状態から対象文字を基準文字に対して接近
させたときの詰め量と、各詰め量における各候補点ペア
の最短間隔である2次元的な間隔量(字面間隔量)とを
各候補点ペアそれぞれについて算出する過程と、前記算
出された各詰め量のうち、最小となる詰め量を求める過
程と、から算出される前記字面間隔量と前記詰め量との
関係を表す関数であることを特徴とするものである。
According to a second aspect of the present invention, there is provided a character string length adjusting method according to the first aspect, wherein the justification adjusting function changes the dot pattern of the target character by one dot toward the dot pattern of the reference character. A step of obtaining a pair of dots (pairs of candidate points) having the shortest distance between both dot patterns in a direction orthogonal to the shift direction for each shift, and the step in the state where the virtual bodies of the two characters are in contact with each other. A process of storing the spacing information in the shift direction between each candidate point pair and the spacing information in the direction orthogonal thereto, the spacing information in the shift direction of each candidate point pair, and the spacing information in the direction orthogonal thereto. 2 is the shortest distance between each candidate point pair in each packing amount when the target character is brought closer to the reference character from the state where the virtual bodies of both characters are in contact with each other. The face spacing calculated from the process of calculating the original space amount (face space amount) for each candidate point pair and the process of obtaining the minimum space amount among the calculated space amounts. It is characterized in that it is a function representing the relationship between the quantity and the packing quantity.

【0015】請求項3に記載の文字列長調整方法は、文
字の配置単位である仮想ボディの内方に、文字形状を表
す字面を配置してなる複数個の文字を所定の配列方向に
配置する際に、配置される全文字列の長さが、指定され
た行長に一致するように調整する文字列長調整方法であ
って、前記行長を入力する過程と、前記各文字の隣接す
る2つの文字のうち、先に配置される文字(基準文字)
と前記配列方向に配置される文字(対象文字)の基準配
置における字面同士の配列方向の間隔量と該間隔量に対
する前記対象文字の各詰め量の割合を詰め率で表す関数
(詰め調整関数)を算出する過程と、前記詰め率を基準
とする前記各詰め調整関数の詰め量の総和(総詰め調整
関数)を算出する過程と、前記各対象文字を対応する各
基準文字に対して基準配置し、その基準文字列長を算出
する過程と、前記入力された行長と前記基準文字列長と
の差分(差分文字列長)を算出する過程と、前記差分文
字列長を必要な詰め量の総和として前記総詰め調整関数
により配置詰め率を算出する過程と、前記配置詰め率と
前記各対象文字の各詰め調整関数とに基づいて、各対象
文字の個々の詰め量(配置詰め量)を算出する過程と、
前記各対象文字の個々の配置詰め量で、各対象文字をそ
れぞれに対応する各基準文字に対して詰め配置する過程
と、を含むことを特徴とするものである。
According to a third aspect of the present invention, there is provided a character string length adjusting method in which a plurality of characters each having a character face representing a character shape are arranged in a predetermined arrangement direction inside a virtual body which is a character arrangement unit. A method of adjusting the length of all the arranged character strings so that the length of all the arranged character strings matches a specified line length, the process of inputting the line length and the adjacency of each character Of the two characters that are to be placed first (standard character)
And a function that represents the amount of space in the array direction between the character planes in the standard arrangement of the characters (target character) arranged in the array direction and the ratio of each packing amount of the target character with respect to the space amount as a packing ratio (packing adjustment function) And a step of calculating the sum of the filling amount of each of the filling adjustment functions based on the filling ratio (total filling adjustment function), and the reference arrangement of each target character with respect to each corresponding reference character. Then, the step of calculating the reference character string length, the step of calculating the difference between the input line length and the reference character string length (difference character string length), and the difference character string length to the required padding amount. Based on the process of calculating the placement packing ratio by the total packing adjustment function as the sum of the above, and the packing packing ratio and each packing adjustment function of each target character, the individual packing amount (alignment packing amount) of each target character And the process of calculating
And a step of closely arranging each target character with respect to each corresponding reference character with each individual arrangement packing amount of each target character.

【0016】[0016]

【作用】請求項1に記載の発明の作用について図1ない
し図7を参照して説明する。なお、文字の配列方向は
「横」である場合を例に説明する。まず、詰め調整関数
について、図1(a)に示すような第1文字C1 ないし
第3文字C3 の3つの文字からなる文字列を例に採って
説明する。なお、図1(a)に示した文字列は、各文字
の仮想ボディ同士が接する状態のいわゆる「ベタ組み」
であり、これらの第1文字C1 ないし第3文字C3 の実
線で示した仮想ボディの内方に字面を囲うバウンディン
グボックスを点線で示している。
The operation of the present invention will be described with reference to FIGS. 1 to 7. Note that a case where the arrangement direction of the characters is “horizontal” will be described as an example. First, the padding adjustment function will be described by taking a character string composed of three characters, that is, the first character C 1 to the third character C 3 as shown in FIG. 1A as an example. The character string shown in FIG. 1A is a so-called "solid set" in which virtual bodies of characters are in contact with each other.
In addition, the bounding box that surrounds the character surface inside the virtual body shown by the solid line of the first character C 1 to the third character C 3 is shown by the dotted line.

【0017】この文字列の隣接する2つの文字のうち、
まず第1文字C1 (基準文字)と第2文字C2 (対象文
字)に着目してその詰め調整関数を求める。第1文字C
1 と第2文字C2 とを「ベタ組み」で配置し(図1
(b))、このときの字面同士の間隔量(字面間隔デー
タD)を求める。この「ベタ組み」の状態における字面
間隔データDは「d2 」であるとする。そして第2文字
2 を第1文字C1 に向けて近接させて詰めて行き、各
詰め量S2 での字面間隔データDを求める(図1
(c))。このときの各詰め量S2 と各詰め量での字面
間隔データDとの関係をグラフ化すると、図2に示すよ
うになる。つまり、詰め量S2 =0(「ベタ組み」の状
態を示す)での字面間隔データDは「d2 」であり、第
2文字C2 を第1文字C1 に向けて詰めて行くと詰め量
2 =Sa となった時点で両文字の字面同士が接し、文
字間隔データD=0となる。すなわち、詰め量S2 と各
詰め量での字面間隔データDとの関係は一次関数で表す
ことができる。これを第1文字C1 に対する第2文字C
1 の詰め調整関数S2 =f2 (D)とする。
Of the two adjacent characters of this string,
First, paying attention to the first character C 1 (reference character) and the second character C 2 (target character), the packing adjustment function is obtained. First letter C
1 and the second character C 2 are arranged in "solid combination" (Fig. 1
(B)), The amount of spacing between the character faces at this time (character face spacing data D) is determined. It is assumed that the character spacing data D in the “solid assembling” state is “d 2 ”. Then, the second character C 2 is moved closer to the first character C 1 so as to be packed, and character spacing data D at each packing amount S 2 is obtained (FIG. 1).
(C)). The relationship between each padding amount S 2 and the character spacing data D at each padding amount is graphed as shown in FIG. That is, the character spacing data D at the padding amount S 2 = 0 (indicating the state of “solid embedding”) is “d 2 ”, and when the second character C 2 is packed toward the first character C 1 , When the filling amount S 2 = S a , the character faces of both characters come into contact with each other, and the character spacing data D = 0. That is, the relationship between the filling amount S 2 and the character spacing data D at each filling amount can be expressed by a linear function. This is the second character C for the first character C 1 .
It is assumed that the justification adjustment function of 1 is S 2 = f 2 (D).

【0018】次いで、第2文字C2 を基準文字とし、第
3文字C3 を対象文字として第2文字C2 と第3文字C
3 の隣接する2つの文字に着目し、上記の第1文字C1
と第2文字C2 で求めたように詰め調整関数を求める。
なお、第2文字C2 と第3文字C3 とを「ベタ組み」で
配置した場合(図3を参照)の字面間隔データDは「d
3 」であるとする。上述したように第3文字C3 を第2
文字C2 に向けて近接させて詰めて行き、各詰め量での
字面間隔データDを求める。このときの各詰め量S3
各詰め量での字面間隔データDとの関係をグラフ化する
と、図4に示すようになる。つまり、詰め量S3 =0
(「ベタ組み」の状態を示す)での字面間隔データDは
「d3 」であり、第3文字C3 を第2文字C2 に向けて
詰めて行くと詰め量S3 =Sb となった時点で両文字の
字面同士が接し、文字間隔データD=0となる。すなわ
ち、詰め量S3 と各詰め量での字面間隔データDとの関
係は、上記第1文字C1 と第2文字C2 の場合と同様に
一次関数で表すことができる。これを第2文字C2 に対
する第3文字C3 の詰め調整関数S3 =f3 (D)とす
る。
Next, using the second character C 2 as the reference character and the third character C 3 as the target character, the second character C 2 and the third character C
3 focuses on two adjacent characters, the first of the character C 1
And the padding adjustment function is obtained as obtained with the second character C 2 .
In addition, when the second character C 2 and the third character C 3 are arranged in a "solid combination" (see FIG. 3), the character spacing data D is "d".
3 ". As described above, the third character C 3
The character spacing data D for each packing amount is obtained by closely packing toward the character C 2 . The relationship between each padding amount S 3 and the character spacing data D at each padding amount is graphed as shown in FIG. That is, the filling amount S 3 = 0
The character spacing data D (showing the state of “solid setting”) is “d 3 ”, and when the third character C 3 is packed toward the second character C 2 , the packing amount S 3 = S b . At that time, the character faces of both characters come into contact with each other, and the character interval data D = 0. That is, the relationship between the padding amount S 3 and the character spacing data D at each padding amount can be expressed by a linear function as in the case of the first character C 1 and the second character C 2 . This is defined as the justification adjustment function S 3 = f 3 (D) of the third character C 3 with respect to the second character C 2 .

【0019】上記算出された詰め調整関数S2 =f
2 (D)および詰め調整関数S3 =f3(D)は、両文
字のそれぞれの字面間隔を所望する間隔(字面間隔デー
タD)にするために必要な各対象文字(第2文字C2
第3文字C3 )の詰め量S2 ,S3 を算出する関数であ
る。また、逆にこの関数から、ある詰め量で各対象文字
を配置したときの両文字の字面間隔D2 ,D3 を算出す
ることができる。
The packing adjustment function S 2 = f calculated above
2 (D) and the padding adjustment function S 3 = f 3 (D) are used for each target character (the second character C 2 ) required to make the character spacing of both characters a desired spacing (character spacing data D). ,
This is a function for calculating the padding amounts S 2 and S 3 of the third character C 3 ). Further, conversely, it is possible to calculate the character spacing D 2 and D 3 between the two characters when the target characters are arranged with a certain amount of packing from this function.

【0020】次に、第2文字C2 の詰め調整関数S2
第3文字C3 の詰め調整関数S3 との総和を求めて総詰
め調整関数ΣSi を算出する。この総詰め調整関数ΣS
i をグラフ化したものを図5(a)に示す。この総詰め
調整関数ΣSi (=S2 +S3 =f2 (D)+f
3 (D))は、各対象文字の基準として、即ち、同じ字
面間隔データDにおける各対象文字〔第2文字以後の各
文字〕の詰め量の総和(総詰め量)を表す関数である。
Next, to calculate the total packed adjustment function [sigma] s i seeking a packed adjustment function S 2 of the second character C 2 the sum of the stuffing adjustment function S 3 of the third letter C 3. This total closing adjustment function ΣS
A graph of i is shown in FIG. This total packing adjustment function ΣS i (= S 2 + S 3 = f 2 (D) + f
3 (D) is a function representing the sum of the filling amounts (total filling amount) of the respective target characters [each character after the second character] in the same character spacing data D as a reference of each target character.

【0021】次に、実際の総詰め量を、ベタ組み文字列
長SLと指定された行長CLとの差分(差分文字列長D
L)として算出する(図6を参照)。この差分文字列長
DLは、したがって文字列長SLを指定行長CLに一致
させるために必要な各対象文字(第2文字C2 ,第3文
字C3 )の詰め量の総和(総詰め量)である。
Next, the actual total padding amount is calculated as a difference between the solid character string length SL and the designated line length CL (difference character string length D
L) (see FIG. 6). This difference character string length DL is therefore the sum of the packing amounts of the respective target characters (second character C 2 , third character C 3 ) (total packing amount) necessary for matching the character string length SL with the specified line length CL. ).

【0022】次に差分文字列長DLと総詰め調整関数Σ
i とにより、各対象文字の総詰め量が差分文字列長D
Lとした場合の字面間隔データ(DA )を算出する(図
5を参照))。この字面間隔データDA は、文字列長S
LをCLにするための差分文字列長DLに基づいて各文
字に共通に設定される字面同士の間隔のデータである。
Next, the difference character string length DL and the total packing adjustment function Σ
By S i , the total packing amount of each target character is the difference character string length D
Character spacing data (D A ) when L is calculated (see FIG. 5)). This character spacing data D A is the character string length S
It is data of the spacing between the character faces that is commonly set for each character based on the difference character string length DL for making L a CL.

【0023】こうして求められた配置字面間隔DA によ
り詰め調整関数S2 =f2 (D),S3 =f3 (D)に
基づいて、各対象文字の個々の詰め量(配置詰め量
A2,SA3)を算出し(図2,図4)、第2文字C2
第1文字C1 に対して詰め量SA2で、第3文字C3 を第
2文字C2 に対して詰め量SA3で詰めて配置する(図
7)。このときの各文字はその字面同士の間隔が全て同
一(DA )となるように配置されるので、見た目の文字
間隔のバラツキが少なく、また、字面同士が重複するこ
ともなく、自動的に配置することができる。
Based on the arrangement adjustment functions S 2 = f 2 (D) and S 3 = f 3 (D) based on the arrangement character spacing D A thus obtained, the individual arrangement amount of each target character (the arrangement arrangement amount S A2 , S A3 ) is calculated (FIGS. 2 and 4), and the second character C 2 is the padding amount S A2 with respect to the first character C 1 and the third character C 3 is with respect to the second character C 2 . It is packed with the packing amount S A3 (FIG. 7). At this time, since the characters are arranged so that the intervals between the characters are all the same (D A ), there is little variation in the apparent character intervals, and the characters do not overlap with each other automatically. Can be placed.

【0024】請求項2に記載の発明の作用は次のとおり
である。抽出された各候補点ペアについて、両文字の仮
想ボディが接する状態でのシフト方向の間隔情報と、シ
フト方向に直交する方向の間隔情報とを記憶する。前記
二つの間隔情報により、両文字を仮想ボディが接する状
態から詰めた場合の2次元的な字面同士の(縦、横、斜
め方向の)間隔(字面間隔量)を求めることができる。
そして、各詰め量のうち最小となる詰め量を求め、各詰
め量における両文字の字面同士の間隔である前記字面間
隔量と前記最小の詰め量との関係を詰め調整関数とす
る。そして各対象文字の詰め調整関数の総和(総詰め調
整関数)を算出し、これと差分文字列長に基づき各基準
文字と各対象文字の字面同士の間隔として同一の字面間
隔量(配置字面間隔データ)を算出する。この配置字面
間隔データと各対象文字の個々の詰め調整関数とに基づ
き、各対象文字の配置詰め量を算出する。この場合、各
文字の字面同士の2次元的な間隔に応じて個々の対象文
字の詰め量を算出するので、「し」と「て」のように詰
めていくと字面同士が食い込む(バウンディングボック
ス同士が重なる)ような場合でも文字列長を指定行長に
一致させつつ、体裁良く配置することができる。
The operation of the invention described in claim 2 is as follows. For each of the extracted candidate point pairs, distance information in the shift direction when the virtual bodies of both characters are in contact with each other and distance information in the direction orthogonal to the shift direction are stored. From the two pieces of space information, it is possible to obtain a two-dimensional (vertical, horizontal, diagonal) space (character space distance) between two character faces when the two characters are packed from the state where the virtual bodies are in contact with each other.
Then, the minimum padding amount of each padding amount is obtained, and the relationship between the above-mentioned character gap distance which is the gap between the character faces of each character in each padding amount and the minimum padding amount is used as the padding adjustment function. Then, the sum of the fill adjustment functions of each target character (total fill adjustment function) is calculated, and based on this and the difference character string length, the same face spacing amount (placed face spacing) is set as the spacing between the face of each reference character and each target character. Data) is calculated. The placement padding amount of each target character is calculated based on the placement character spacing data and the individual padding adjustment function of each target character. In this case, since the filling amount of each target character is calculated according to the two-dimensional spacing between the character faces of each character, when the characters are packed like "shi" and "te", the character faces bite (bounding box Even in the case where they overlap each other, the character string length can be matched with the designated line length, and the characters can be arranged well.

【0025】請求項3に記載の発明の作用は次のとおり
である。即ち、詰め調整関数は、ある詰め率での対象文
字の詰め量を表すとともに文字列長としてはそれだけ短
くなることを表している。したがって、各文字の詰め調
整関数の総和での詰め量を、逆に全文字の基準文字列長
を指定行長に縮める量(=差分文字列長)とすると、そ
のための詰め率が全対象文字に対する共通の配置詰め率
として求めることができる。つまり、こうして求められ
た配置詰め率と各詰め対象文字の詰め調整関数により算
出される配置詰め量で、対象文字を順次詰め配置すれ
ば、各文字の詰め量の総和は前記の差分文字列長と一致
するので、配置さた全文字列長さは当然ながら指定の行
長と一致することになる。また、このときの詰め調整関
数は字面間隔に基づくものであるため、配置された文字
列の字面間隔のバラツキも少なく体裁も良いものとな
る。
The operation of the invention described in claim 3 is as follows. That is, the filling adjustment function represents the filling amount of the target character at a certain filling ratio, and also indicates that the length of the character string becomes shorter. Therefore, if the filling amount in the sum of the filling adjustment functions of each character is the amount that reduces the reference character string length of all characters to the specified line length (= difference character string length), the filling ratio for that is all target characters. Can be obtained as a common placement packing ratio for. That is, if the target characters are sequentially packed and arranged with the layout packing ratio calculated in this way and the layout packing amount calculated by the packing adjustment function for each packing target character, the total packing amount of each character becomes the difference character string length. Therefore, the length of all the arranged character strings naturally matches the specified line length. Further, since the filling adjustment function at this time is based on the character spacing, the character spacing of the arranged character string is less likely to vary and the appearance is good.

【0026】[0026]

【実施例】以下、図面を参照して本発明の一実施例を説
明する。 <第1実施例>図8は、本実施例に係る文字列長調整方
法を使用する文字組版編集装置の概略構成を示したブロ
ック図である。
An embodiment of the present invention will be described below with reference to the drawings. <First Embodiment> FIG. 8 is a block diagram showing a schematic configuration of a character typesetting editing apparatus using the character string length adjusting method according to the present embodiment.

【0027】図中、符号1は、主として本発明方法を実
行する制御部である。制御部1は、図示しないCPUや
ROM,RAM等のメモリで構成されている。文字列入
力部2aは、ワードプロセッサ等で作成された文字列デ
ータファイル(フォント名,文字コード等)を格納した
媒体等から文字列データを取り込むものであり、フロッ
ピーディスク装置等である。指示部2bからは、その文
字の大きさ(文字サイズ)を指示する。取り込まれた文
字列データは、指示された文字サイズとともに文字列情
報格納部3に一旦格納される。行長入力部4からは、文
字列データからなる文字列を配置する行の長さ(行長)
がオペレータによって入力指示され、入力された行長は
行長格納部5に格納される。この行長入力部4と指示部
2bは、キーボード等の入力装置から構成されている。
In the figure, reference numeral 1 is a control unit that mainly executes the method of the present invention. The control unit 1 is composed of a CPU, a memory such as a ROM and a RAM, which are not shown. The character string input unit 2a is for fetching character string data from a medium or the like in which a character string data file (font name, character code, etc.) created by a word processor or the like is stored, and is a floppy disk device or the like. From the instruction unit 2b, the size of the character (character size) is specified. The fetched character string data is temporarily stored in the character string information storage unit 3 together with the instructed character size. From the line length input section 4, the length of the line where the character string consisting of the character string data is placed (line length)
Is input by the operator, and the input line length is stored in the line length storage unit 5. The line length input unit 4 and the instruction unit 2b are composed of an input device such as a keyboard.

【0028】フォント格納部6は、使用される各文字の
各種データを書体毎(明朝体,ゴシック体等のフォント
名)にフォントファイルとして格納している。ここでこ
のフォントファイルは、図9で示されるように、フォン
ト名毎(フォント名1,………)にファイリングされ、
各文字の文字コードとその文字コードに対応する文字デ
ータ(字面を形成するためのベクトルデータ、これをフ
ォントデータと呼ぶ場合もある)および文字パラメータ
(図39に示した間隔a〜dと字面幅Wおよび字面高さ
H)から構成されている。
The font storage unit 6 stores various data of each character used as a font file for each typeface (font name such as Mincho typeface, Gothic typeface). Here, this font file is filed for each font name (font name 1, ...), as shown in FIG.
A character code of each character, character data corresponding to the character code (vector data for forming a character, which may be referred to as font data), and character parameters (intervals a to d and the character width shown in FIG. 39). W and the height H of the character surface.

【0029】詰め調整関数算出部10は、文字列情報格
納部3に格納されている文字列の隣接する2つの文字
(基準文字および詰め調整の対象文字)毎に対象文字の
詰め調整関数を算出するもので、それらは詰め調整関数
格納部11に格納される。さらに、各対象文字毎の詰め
調整関数の文字間隔データを基準のパラメータとする詰
め量の総和(以下、単に詰め調整関数の総和と記す)が
制御部1によって算出され、これが総詰め調整関数格納
部12に格納される。
The justification adjustment function calculation unit 10 calculates the justification adjustment function of the target character for each two adjacent characters (the reference character and the justification adjustment target character) of the character string stored in the character string information storage unit 3. They are stored in the packing adjustment function storage unit 11. Further, the control unit 1 calculates the sum of the amount of padding (hereinafter simply referred to as the sum of the padding adjustment functions) using the character spacing data of the padding adjustment function for each target character as a reference parameter, and this is stored in the total padding adjustment function storage. It is stored in the unit 12.

【0030】基準文字列長記憶部15は、処理対象の文
字列の各文字を、「ベタ組み」で配置した際の文字列の
全長(ベタ組み文字列長)を格納するものである。差分
文字列長格納部16は、行長格納部5に格納されている
指定行長と、基準文字列長格納部15に格納されている
ベタ組み文字列長との差分を格納するものである。配置
字面間隔データ格納部17は、差分文字列長と総詰め調
整関数とに基づいて算出される配置字面間隔データを格
納し、配置詰め量演算部18は、配置字面間隔データ
と、各対象文字毎の詰め調整関数とに基づいて、後述す
る各文字毎の詰め量(配置詰め量)を算出して配置詰め
量格納部19に格納する。
The reference character string length storage unit 15 stores the total length of the character string when the characters of the character string to be processed are arranged in a "solid character" (solid character string length). The difference character string length storage unit 16 stores the difference between the designated line length stored in the line length storage unit 5 and the solid character string length stored in the reference character string length storage unit 15. . The layout character spacing data storage unit 17 stores the layout character spacing data calculated based on the difference character string length and the total packing adjustment function, and the layout packing amount calculation unit 18 stores the layout character spacing data and each target character. A filling amount (placement filling amount) for each character, which will be described later, is calculated based on the filling adjustment function for each character and stored in the placement filling amount storage unit 19.

【0031】表示・出力部20は、文字列を表示するた
めのCRTや印刷するためのプリンタから構成され、制
御部1が文字列情報格納部3とフォント格納部6および
配置詰め量格納部19を参照することにより、指定文字
列長に詰め配置された文字列を表示及び/または印刷す
る。
The display / output unit 20 is composed of a CRT for displaying a character string and a printer for printing, and the control unit 1 controls the character string information storage unit 3, the font storage unit 6 and the arrangement packing amount storage unit 19. By referring to, the character string closely packed and arranged in the specified character string length is displayed and / or printed.

【0032】次に、図10に示す文字列長調整処理のフ
ローチャートを参照して処理の内容について説明する。
ステップS1では、オペレータが処理の対象である文字
列データファイルを指示し、文字列入力部2aを介して
入力する。この文字列データファイルは、汎用されるワ
ードプロセッサ等で予め作成されたものであり、フロッ
ピーディスク等に保存されていたものである。また、各
文字の文字サイズを指示部2bを介して指示する。
Next, the contents of the processing will be described with reference to the flowchart of the character string length adjustment processing shown in FIG.
In step S1, the operator designates a character string data file to be processed and inputs it via the character string input unit 2a. This character string data file is created in advance by a general-purpose word processor or the like and is stored in a floppy disk or the like. Further, the character size of each character is designated via the designating section 2b.

【0033】ステップS2では、ステップS1で入力さ
れた文字列データファイルの文字列データを、指示され
た文字サイズとともに文字列情報格納部3に格納する。
このときの文字列情報格納部3の内容を図11の模式図
に示す。文字列情報格納部3に格納された文字列データ
はフォント格納部6とともに制御部1によって参照さ
れ、その内容(フォント名,文字サイズ,配列方向,文
字コード)に従って文字列を表示・出力部20に表示す
る(ステップS3)。
In step S2, the character string data of the character string data file input in step S1 is stored in the character string information storage unit 3 together with the instructed character size.
The contents of the character string information storage unit 3 at this time are shown in the schematic diagram of FIG. The character string data stored in the character string information storage unit 3 is referred to by the control unit 1 together with the font storage unit 6, and the character string is displayed / outputted according to the contents (font name, character size, arrangement direction, character code) 20. Is displayed (step S3).

【0034】ステップS4では、文字を配置するための
行の長さ(指定行長)を行長入力部4を介して入力す
る。入力された指定行長は、行長格納部5に格納され
る。この入力は、キーボード等から直接数値を入力して
もよいし、マウスなどのポインティング・デバイスで表
示・出力部20上で長さを指示するようにしてもよい。
In step S4, the line length (designated line length) for arranging characters is input through the line length input unit 4. The input designated line length is stored in the line length storage unit 5. For this input, a numerical value may be directly input from a keyboard or the like, or a length may be designated on the display / output unit 20 with a pointing device such as a mouse.

【0035】なお、ステップS3は、文字列長の調整前
の文字列を表示するだけであるので、文字列長がオペレ
ータにとって明らかな場合には、その表示を行わずにス
テップS4での指定行長の入力を行うようにしてもよ
い。
Since the step S3 only displays the character string before adjustment of the character string length, if the character string length is clear to the operator, the display is not performed and the designated line in step S4 is not displayed. The length may be input.

【0036】ステップS5では、処理対象の文字列の長
さをステップS4で入力された指定行長に一致させるた
めの、各文字の詰め量を求める処理(配置詰め量算出処
理)を行う。
In step S5, a process (arrangement packing amount calculation process) for obtaining the packing amount of each character for matching the length of the character string to be processed with the designated line length input in step S4 is performed.

【0037】この配置詰め量算出処理を図12のフロー
チャートを参照して説明する。ステップT1では、詰め
調整関数を算出する。この詰め調整関数とは、文字列の
隣接する2つの文字(基準文字と対象文字)に着目し、
その文字の字面同士の間隔量とこの字面間隔量に対する
対象文字の詰め量の割合である詰め率との関係を表した
関数である。
This arrangement packing amount calculation processing will be described with reference to the flowchart of FIG. In step T1, a packing adjustment function is calculated. This justification adjustment function focuses on two adjacent characters (reference character and target character) in a character string,
This is a function that represents the relationship between the spacing between the character faces and the filling ratio, which is the ratio of the filling amount of the target character to the character spacing.

【0038】ステップS1で入力された文字列が図13
に示すような3文字(第1文字C1,第2文字C2 ,第
3文字C3 )からなる場合を例に説明する。ここで各文
字の仮想ボディと字面との間隔のうち、文字の配列方向
の間隔で行頭側にある間隔をan 、行末側にある間隔を
n (添字nは文字番号を示す)とし、また、ステップ
S4で入力した指定行長CLは図13に示すような長さ
であるとすると、第2文字C2 の詰め調整関数としての
詰め量はS2 (k)=k(b1 +a2 )となる(図14
(b)参照)。このときの詰め調整関数をグラフで描く
と図15のようになる(図は0≦k≧1の範囲で示
す)。
The character string input in step S1 is shown in FIG.
An example will be described in which three characters (first character C 1 , second character C 2 , third character C 3 ) as shown in FIG. Here among the distance between the virtual body and lexically of each character, and in the arrangement direction of the character spacing intervals in the beginning side a n, and the interval at the end of the line side b n (indicating the subscript n is character number), If the designated line length CL input in step S4 is a length as shown in FIG. 13, the filling amount of the second character C 2 as the filling adjustment function is S 2 (k) = k (b 1 + a 2 ) (Fig. 14)
(B)). FIG. 15 is a graph of the packing adjustment function at this time (the figure shows a range of 0 ≦ k ≧ 1).

【0039】この詰め調整関数を第2文字C2 と第3文
字C3 についても同様に算出すると、詰め調整関数S3
(k)=k(b2 +a3 )となり、これをグラフ化する
と図16に示すようになる。以上から明らかなように本
実施例での詰め調整関数を一般的に表すとSn (k)=
k(b(n-1) +an )(但し、n は文字番号を示し2以
上の整数である)となり、(b(n-1) +an )は基準配
置における字面同士の配列方向の間隔量である。この詰
め調整関数の算出は、詰め調整関数算出部10によって
実行され、文字列情報格納部3の各文字コードと対応す
る〔フォント格納部6の〕文字パラメータ(間隔a〜
d)とを参照して、各対象文字のそれぞれの詰め調整関
数を算出する。このようにして算出された各対象文字の
詰め調整関数S2 (k),S3 (k)は、それぞれ詰め
調整関数格納部11)に格納される。
If this padding adjustment function is similarly calculated for the second character C 2 and the third character C 3 , the padding adjustment function S 3
(K) = k (b 2 + a 3 ), and a graph of this is as shown in FIG. As is clear from the above, the packing adjustment function in this embodiment is generally expressed as S n (k) =
k (b (n-1) + a n ) (where n is a character number and is an integer of 2 or more), and (b (n-1) + a n ) is the spacing between the character faces in the standard arrangement. Is the amount. The calculation of the padding adjustment function is executed by the padding adjustment function calculation unit 10, and the character parameters (in the space a to the font storage unit 6) corresponding to each character code in the character string information storage unit 3 are stored.
With reference to (d) and, the close adjustment function of each target character is calculated. The justification adjustment functions S 2 (k) and S 3 (k) of each target character calculated in this way are stored in the justification adjustment function storage unit 11).

【0040】次に、ステップT2では、ステップT1で
求めた各詰め調整関数の総和(総詰 め調整関数)ΣSi (k)=S2 (k)+S3 (k) =k{(b1 +a2 )+(b2 +a3 )}…(1) を求めて総詰め調整関数格納部12に格納する。この総
詰め調整関数ΣSi (k)を模式的に表したグラフを図
17に示す。
Next, at step T2, the total sum (total filling adjustment function) ΣS i (k) = S 2 (k) + S 3 (k) = k {(b 1 + A 2 ) + (b 2 + a 3 )} (1) is calculated and stored in the total packing adjustment function storage unit 12. FIG. 17 is a graph schematically showing this total packing adjustment function ΣS i (k).

【0041】ステップT3では、基準配置として各文字
の仮想ボディ同士が接するように各文字を配置する「ベ
タ組み」での文字列の長さ(基準文字列長SL(図13
を参照))を、制御部1が文字列情報格納部3とフォン
ト格納部6を参照して算出し、基準文字列長格納部15
に格納する。
In step T3, the length of the character string (reference character string length SL (see FIG. 13) in the "solid set" in which the characters are arranged so that the virtual bodies of the characters contact each other as the reference arrangement.
Control unit 1) with reference to the character string information storage unit 3 and the font storage unit 6, and calculates the reference character string length storage unit 15
To be stored.

【0042】ステップT4では、制御部1が前記ステッ
プT3で算出された基準文字列長SLと指定行長CLと
の差分(差分文字列長DL)を算出する。算出された差
分文字列長DLは、差分文字列長格納部16に格納され
る。この差分文字列長DLは、現在の〔ベタ組み〕文字
列長SLを入力された指定行長CLに一致させるために
必要な全文字列での詰め量の総和(総詰め量)に相当す
るもので、次のステップT5では、差分文字列長DLと
総詰め調整関数ΣSi (k)に基づいて配置詰め率kA
を算出する。図17に示した総詰め調整関数ΣS
i (k)のグラフに示すように、総詰め量S=差分文字
列長DLのときの詰め率kが配置詰め率kA であるとし
て、配置字面間隔データ格納部17に格納される。
In step T4, the control unit 1 calculates the difference between the reference character string length SL calculated in step T3 and the designated line length CL (difference character string length DL). The calculated difference character string length DL is stored in the difference character string length storage unit 16. The difference character string length DL corresponds to the sum of the packing amounts (total packing amount) of all the character strings required to match the current [solid set] character string length SL with the input designated line length CL. In the next step T5, the arrangement packing ratio k A is calculated based on the difference character string length DL and the total packing adjustment function ΣS i (k).
To calculate. Total packing adjustment function ΣS shown in FIG.
As shown in the graph of i (k), the packing ratio k when the total packing amount S = difference character string length DL is stored as the layout packing ratio k A in the layout character spacing data storage unit 17.

【0043】ステップT6では、各文字の実際の配置詰
め量を算出する。すなわち、配置詰め率kA と各詰め調
整関数格納部11に格納されている各対象文字の詰め調
整関数S2 (k),S3 (k)とに基づいて、配置詰め
量演算部18によって算出され、図15および図16に
示した詰め調整関数S2 (k),S3 (k)のグラフで
説明すると、第2文字C2 ,第3文字C3 の配置詰め量
2A,S3Aとなる。この算出された配置詰め量S2A,S
3Aの各々は、配置詰め量格納部19に格納される。そし
て処理を終えて、図10のステップS6に戻る。
In step T6, the actual arrangement packing amount of each character is calculated. That is, based on the arrangement packing ratio k A and the packing adjustment functions S 2 (k) and S 3 (k) of each target character stored in each packing adjustment function storage unit 11, the arrangement packing amount calculation unit 18 Explained with the graphs of the packing adjustment functions S 2 (k) and S 3 (k) calculated and shown in FIGS. 15 and 16, the arrangement packing amounts S 2A and S of the second character C 2 and the third character C 3 are described. It will be 3A . The calculated placement packing amounts S 2A and S
Each of 3A is stored in the arrangement packing amount storage unit 19. Then, the process is completed, and the process returns to step S6 in FIG.

【0044】ステップS6では、算出されたそれぞれの
配置詰め量で各対象文字を順次、基準文字に対して詰め
配置し、具体的には、図18の模式図に示すように、第
2文字C2 (対象文字)は、第1文字C1 (基準文字)
に対して配置詰め量S2Aで詰め配置され、第3文字C3
(対象文字)は、第2文字C2 (基準文字)に対して配
置詰め量S3Aで詰め配置される。こうして、文字列長S
Lと指定行長CLの差分である差分文字列長DLに相当
する総詰め量だけ文字列長が詰められ、このとき文字間
の字面間隔量に応じた詰め量(字面間隔量が広いものは
大きな詰め量、狭いものは小さな詰め量)によって各文
字(対象文字)が配置される。したがって、指定行長C
Lと文字列長SLを一致させつつも、各文字の字面同士
が重複して体裁が悪化するようなことが発生しない。
In step S6, the respective target characters are sequentially packed and arranged with respect to the reference character by the calculated respective layout packing amounts. Specifically, as shown in the schematic diagram of FIG. 2 (target character) is the first character C 1 (reference character)
Arranged packed with arranged filling amount S 2A respect, the third letter C 3
The (target character) is packed and arranged with the layout packing amount S 3A with respect to the second character C 2 (reference character). Thus, the character string length S
The character string length is packed by the total packing amount corresponding to the difference character string length DL, which is the difference between L and the specified line length CL. At this time, the packing amount according to the character spacing between characters (for a wide character spacing, Each character (target character) is arranged according to a large padding amount and a small padding amount. Therefore, the specified line length C
Even when L and the character string length SL are made to coincide with each other, the character faces of the respective characters do not overlap and the appearance is not deteriorated.

【0045】なお、本実施例では、文字の構成において
バウンディングボックスBBが、字面Fの周囲にサイド
ベアリングを含まない場合を例に採って説明したが、バ
ウンディングボックスBBがサイドベアリングを含む文
字の構成としてもよい。この場合、サイドベアリング量
を各文字共通で任意に設定するようにして、詰め率k=
1(字面詰め)の近辺で字面同士が接触しないようにし
てもよい。
In the present embodiment, the case where the bounding box BB does not include the side bearing around the character face F in the character configuration has been described as an example. However, the bounding box BB includes the character configuration including the side bearing. May be In this case, the side bearing amount is set commonly for each character, and the packing rate k =
The character faces may be prevented from contacting each other in the vicinity of 1 (character face packing).

【0046】<第2実施例>図8および図19を参照し
て、本実施例に係る文字列長調整方法を使用する文字組
版編集装置の概略構成を説明する。なお、図8は第1実
施例と同じであるので、詳細な説明は省略する。
<Second Embodiment> With reference to FIGS. 8 and 19, a schematic structure of a character typesetting editing apparatus using the character string length adjusting method according to the present embodiment will be described. Since FIG. 8 is the same as the first embodiment, detailed description will be omitted.

【0047】制御部1は、文字列情報格納部3に格納さ
れた文字列データの文字コードに対応するベクトルフォ
ントデータをフォント格納部6から読み出す。詰め調整
関数算出部10に含まれるドットパターン化処理部10
Aは、読み出されたベクトルフォントデータを指定され
た文字サイズに応じたベクトルデータにして所定の構成
ドット数のドットパターンデータに変換してドットパタ
ーンデータ格納部10Bに格納する。また、制御部1
は、処理の対象となる2文字分のドットパターンデータ
を、ドットパターンデータ格納部10Bからドットパタ
ーン列展開メモリ10Cに格納する。なお、ベクトルフ
ォントデータとは、文字の字面形状を示す字面が数学的
に関数で表されたものであり、その関数によって表され
た閉図形内が字面に相当する黒画素であり、それ以外が
白画素である。また、ドットパターンデータとは、字面
がビットマップ(例えば2値データの“1”など)で構
成されたものである。
The control unit 1 reads from the font storage unit 6 vector font data corresponding to the character code of the character string data stored in the character string information storage unit 3. Dot patterning processing unit 10 included in the filling adjustment function calculation unit 10
A converts the read vector font data into vector data corresponding to the designated character size, converts it into dot pattern data of a predetermined number of constituent dots, and stores it in the dot pattern data storage unit 10B. Control unit 1
Stores the dot pattern data for two characters to be processed from the dot pattern data storage unit 10B in the dot pattern row expansion memory 10C. In addition, the vector font data is a mathematical expression of a character surface indicating a character shape of a character, a closed figure represented by the function is a black pixel corresponding to the character surface, and other than that. It is a white pixel. In addition, the dot pattern data is a character surface formed of a bitmap (for example, binary data “1”).

【0048】候補点ペア補助格納部10Dおよび候補点
ペア格納部10Eは、後述するドットパターン間が最短
間隔となる一対のドット(候補点ペア)に関する情報を
格納するものである。ここでドットパターンは、ドット
パターンデータの黒画素であるドットの集まりをいう。
間隔情報格納部10Fは、候補点ペア格納部10Eに格
納されている候補点ペアの間隔情報を格納するものであ
る。間隔情報は詳しくは後述するが、候補点ペアのドッ
ト同士の位置関係を示すものである。この格納された間
隔情報に基づいて、各対象文字を基準文字に対して接近
させたときの詰め量と、各詰め量における各候補点ペア
の最短間隔である2次元的な間隔量(字面間隔量)が詰
め量演算部10Gによって算出され、その各詰め量のう
ち最小となる詰め量が詰め量格納部10Hに格納され、
対応する字面間隔量が字面間隔量格納部10Iに格納さ
れる。そして〔字面間隔量格納部10Iの〕字面間隔量
と、それぞれに対応する〔詰め量格納部10Hの〕最小
の詰め量がテーブル形式で詰め調整関数格納部11に格
納される。詰め調整関数格納部11に格納されたテーブ
ル形式の詰め調整関数から総詰め調整関数を制御部1が
算出して、これを総詰め調整関数格納部12に同様のテ
ーブル形式で格納する。
The candidate point pair auxiliary storage unit 10D and the candidate point pair storage unit 10E store information about a pair of dots (a candidate point pair) having a shortest interval between dot patterns described later. Here, the dot pattern refers to a set of dots that are black pixels of the dot pattern data.
The interval information storage unit 10F stores the interval information of the candidate point pairs stored in the candidate point pair storage unit 10E. The interval information, which will be described later in detail, indicates the positional relationship between the dots of the candidate point pair. Based on the stored spacing information, the padding amount when each target character is brought closer to the reference character, and the two-dimensional gap amount (character space) which is the shortest gap between each candidate point pair in each padding amount. Amount) is calculated by the filling amount calculation unit 10G, and the smallest filling amount among the respective filling amounts is stored in the filling amount storage unit 10H.
The corresponding face spacing amount is stored in the face spacing amount storage unit 10I. Then, the character spacing values [in the character spacing amount storage unit 10I] and the corresponding minimum packing amounts in the [filling amount storage unit 10H] are stored in the packing adjustment function storage unit 11 in a table format. The control unit 1 calculates the total filling adjustment function from the filling adjustment function in the table format stored in the filling adjustment function storage unit 11, and stores it in the total filling adjustment function storage unit 12 in the same table format.

【0049】<処理の概要>まず、図20〜図22を参
照して理解を容易にするために中心となる処理の概要に
ついて説明する。
<Outline of Process> First, an outline of a main process for facilitating understanding will be described with reference to FIGS.

【0050】図20(a)は、配置の基準となる第1文
字C1 (基準文字)と、基準文字C1 に対して仮想ボデ
ィ同士が接する状態で「横組み」で配置された第2文字
2(対象文字)とをベクトルデータで表した模式図で
ある。この基準文字C1 および対象文字C2 は、それぞ
れ100×100の文字サイズを有する仮想ボディC
1IB ,C2IB と、その内方の字面FC1(実線の領域
内),FC2(点線の領域内)とから構成されている。こ
のとき、対象文字C1 の仮想ボディの一辺が、基準文字
1 の仮想ボディの一辺に対して文字の配列されていく
方向とは逆の方向に詰められる間隔(詰め量)を「0」
とする。
[0050] FIG. 20 (a), the first letter C 1 serving as a reference of the arrangement (standard character), the second placed in the "horizontally arranged" in a state where each other imaginary body are in contact with respect to the reference character C 1 letter C 2 and (object character) is a schematic view showing a vector data. The reference character C 1 and the target character C 2 are virtual bodies C each having a character size of 100 × 100.
It is composed of 1IB and C 2IB, and character planes F C1 (in the area of the solid line) and F C2 (in the area of the dotted line) inside thereof. At this time, the space (filling amount) in which one side of the virtual body of the target character C 1 is packed in the direction opposite to the direction in which the characters are arranged with respect to one side of the virtual body of the reference character C 1 is “0”.
And

【0051】ドットパターンデータへの変換 前記ベクトルデータで表される両文字C1 ,C2 を、1
0×10ドットで構成されるドットパターンデータに変
換したのが図21(a)である。両文字C1 ,C2 は、
その字面FC1’,FC2’を構成している各ドットパター
ンの各ドットを識別可能なように、文字の配列方向に沿
って列番号を、文字の配列方向と直交する方向に沿って
行番号を割り振る。すなわち、文字C1 の字面FC1’に
は、文字の配列方向に沿って右側からi列〜i−6列ま
で、文字C2 の字面FC2’には、左側からj列〜j+3
列までを割り振る。また、文字の配列方向と直交する方
向に沿って上端からp行〜p+6行を割り振る。なお、
この列ではドットパターンデータの1ドットがベクトル
データの10×10の大きさに相当する。これを変換倍
率とし、この場合は変換倍率1/10となる。
Conversion to dot pattern data Both characters C 1 and C 2 represented by the vector data are converted into 1
FIG. 21A shows conversion into dot pattern data composed of 0 × 10 dots. Both letters C 1 and C 2 are
In order to identify each dot of each dot pattern forming the character planes F C1 'and F C2 ', column numbers are arranged in the character arrangement direction and rows are arranged in the direction orthogonal to the character arrangement direction. Assign a number. That is, in the character plane F C1 ′ of the character C 1 , from the right side to columns i to i-6 along the character arrangement direction, and in the character plane F C2 ′ of the character C 2 from the left side, columns j to j + 3.
Allocate up to columns. Further, p rows to p + 6 rows are allocated from the upper end along the direction orthogonal to the character arrangement direction. In addition,
In this row, one dot of dot pattern data corresponds to a size of 10 × 10 of vector data. This is the conversion magnification, and in this case, the conversion magnification is 1/10.

【0052】候補点ペアの抽出 対象文字C2 を基準文字C1 に1ドットづつシフトして
行ったとき、両文字C1 ,C2 のドットパターンで表さ
れた字面FC1’,FC2’のうち、同列上に存在する一対
のドットのうち、間隔量が最短となる一対のドットをそ
のシフト量における候補点ペアとする。なお、ここで、
候補点ペアの間隔量とは、2つのドットの中心間距離を
ドット数で表した量をいう。
Extraction of candidate point pairs When the target character C 2 is shifted by 1 dot to the reference character C 1 , character faces F C1 ', F C2 ' expressed by the dot patterns of both characters C 1 , C 2 Of the pair of dots existing on the same line, the pair of dots having the shortest spacing amount is set as the candidate point pair in the shift amount. Here,
The interval amount of the pair of candidate points means the amount in which the distance between the centers of two dots is represented by the number of dots.

【0053】上記のようにシフトし、計5ドット分シフ
トした状態を図21(b)に示す。この状態では、字面
C2’のp+4行・j列のドットと、字面FC1’のp行
・i列のドットからなる一対のドットa(間隔量:4ド
ット)が同列上に1つだけ存在するので、この一対のド
ットを候補点ペアとしてその間隔情報と共に候補点ペア
格納部10Eに格納する。
FIG. 21B shows a state in which the above-mentioned shift has been performed and the shift has been made by a total of 5 dots. In this state, there is only one pair of dots a (interval amount: 4 dots) consisting of a dot of p + 4 rows and j columns of the face F C2 'and a dot of p rows and i columns of the face F C1 ' on the same column. Since they exist, this pair of dots is stored as a candidate point pair in the candidate point pair storage unit 10E together with the interval information.

【0054】さらに1ドット分シフトした状態(計6ド
ット分のシフト量)を図21(c)に示す。この状態で
は、字面FC2’のp+4行・j行のドットと字面FC1
のp+1行・i−1行のドットとからなる一対のドット
b(間隔量:3ドット)と、字面FC2’のp+4行・j
+1列のドットと字面FC1’のp行・i列のドットとか
らなる一対のドットb1 (間隔量:4ドット)とが存在
する。この場合、一対のドットb1 が候補点ペア補助格
納部10Dに格納され、これと一対のドットbの間隔量
とを比較して、最短間隔である一対のドットbが候補点
ペアbとして候補点ペア格納部10Eに格納される。
FIG. 21C shows a state in which the image is further shifted by one dot (a total shift amount of 6 dots). In this state, typeface F C2 'of p + 4 rows · j rows of dots and textually F C1'
A pair of dots b (interval amount: 3 dots) consisting of p + 1 rows and i−1 rows of dots, and p + 4 rows and j of the character face F C2 '.
There is a pair of dots b 1 (interval amount: 4 dots) formed by dots in the + 1th column and dots in the pth row and the ith column of the character surface F C1 '. In this case, a pair of dots b 1 is stored in the candidate point pair auxiliary storage unit 10D, and this is compared with the distance amount of the pair of dots b, and the pair of dots b, which is the shortest distance, is a candidate point pair b. It is stored in the point pair storage unit 10E.

【0055】さらに1ドット分シフトした状態(計7ド
ットのシフト量、図22(a)参照)では、字面FC2
のp+1行・j+2列のドットと字面FC1’のp行・i
列のドットとからなる一対のドットc(間隔量:1ドッ
ト)と、字面FC2’のp+4行・j+1列のドットと字
面FC1’のp+1行・i−1列のドットとからなる一対
のドットc1 (間隔量:3ドット)と、字面FC2’のp
+4行・j列のドットと字面FC1’のp+2行・i−2
列のドットとからなる一対のドットc2 (間隔量:2ド
ット)のうち、最短間隔である一対のドットcが候補点
ペアcとして候補点ペア格納部10Eに格納される。
In the state of further shifting by one dot (a total shift amount of 7 dots, see FIG. 22A), the character surface F C2 '
P + 1 row, j + 2 columns of dots, and the letter F C1 'p row, i
A pair of dots c (interval amount: 1 dot) consisting of dots of columns, a pair of dots of p + 4 rows and j + 1 columns of the face F C2 ′ and dots of p + 1 lines and i−1 columns of the face F C1 ′. Dot c 1 (space amount: 3 dots) and p of character face F C2 '
+4 rows and j columns and p +2 rows and i-2 of character face F C1 '
Of the pair of dots c 2 (the amount of space: 2 dots) formed by the dots in the row, the pair of dots c that is the shortest space is stored in the candidate point pair storage unit 10E as the candidate point pair c.

【0056】この候補点ペアの抽出処理は、字面の一部
が重複したところで終了する。隣接文字の字面が重複す
るまで字詰めされることは、通常の処理では行われない
からである。したがって、上記の例では計8ドットのシ
フト(図22(b))で処理を終了する。例えば、文字
「国」と文字「国」のような組み合わせの場合には、対
象文字を1ドットづつシフトしていくと、図21
(b),(c)のようないわゆる「くい込み」は発生せ
ずに、両文字の字面同士がいきなり重複することもあ
る。このような場合には重複した一対のドットを候補点
ペアとして抽出して処理を終了することになる。以上の
処理により、シフト毎に抽出された候補点ペアa〜dが
候補点ペア格納部10Eに格納される。
The process of extracting the candidate point pairs ends when a part of the characters overlap. This is because, in normal processing, the characters are not padded until the character faces of adjacent characters overlap. Therefore, in the above example, the process ends with a shift of 8 dots in total (FIG. 22B). For example, in the case of a combination such as the character "country" and the character "country", if the target character is shifted by 1 dot,
The character faces of both characters may suddenly overlap each other without causing the so-called "bite" as in (b) and (c). In such a case, a pair of overlapping dots is extracted as a candidate point pair and the process ends. Through the above processing, the candidate point pairs a to d extracted for each shift are stored in the candidate point pair storage unit 10E.

【0057】なお、上記の例では、同列上には一対のド
ットが1つしか存在しなかったが、複雑な形状の字面か
らなる文字によっては、同列上に複数対のドットが存在
する場合がある。例えば、基準文字C1 のある1つの列
上の字面FC1’と対象文字C2 のある一つの列上の字面
C2’とが図23(a)に示すようなドットで構成され
ているとする。この両列同士がシフトされて重なると同
図(b)のように、同列上に5つのドット対P1
2 ,P3 ,P4 が存在することになる。このような場
合は、全てのドット対P1 〜P4 のうち最短の間隔量を
もつ一つのドット対P1 を候補点ペアとして候補点ペア
格納部10Eに格納すればよい。また、最短の間隔量を
もつドット対が複数対存在する場合には、いずれか一対
のドットを候補点ペアとして格納すればよい。これは仮
想ボディが接する状態での候補点ペアの「シフト方向」
と「シフト方向に直交する方向」の間隔情報と、両文字
の仮想ボディが接した状態から対象文字を基準文字に対
してシフトして接近させたときの字面間隔量とに基づい
て、詰め量を算出する関係式を得るのであるが、同じシ
フト量で、かつ、同列上で同一の最短間隔を有する複数
個の候補点ペアからは全て同じ関係式が得られるからで
ある。また、あるシフト量での候補点ペアの間隔量が、
それまでのシフト量における候補点ペアの間隔量より大
きな場合は、その候補点ペアを無視する。
In the above example, there is only one pair of dots on the same line, but there are cases where there are multiple pairs of dots on the same line depending on the character having a complicated shape. is there. For example, the character plane F C1 'on one row with the reference character C 1 and the character plane F C2 ' on one row with the target character C 2 are composed of dots as shown in FIG. And When these two rows are shifted and overlapped, as shown in FIG. 7B, five dot pairs P 1 ,
There will be P 2 , P 3 , and P 4 . In this case, it is sufficient to store a single dot pairs P 1 with a spacing of minimum among all dot pairs P 1 to P 4 as the candidate point pair candidate point pair storage section 10E. Further, when there are a plurality of dot pairs having the shortest interval amount, any one of the dots may be stored as a candidate point pair. This is the "shift direction" of the candidate point pair when the virtual bodies are in contact.
Based on the space information of "and the direction orthogonal to the shift direction" and the character spacing when the target character is shifted toward the reference character from the state where the virtual bodies of both characters are in contact with each other, the padding amount This is because the same relational expression is obtained from a plurality of candidate point pairs having the same shift amount and the same shortest interval on the same column. In addition, the spacing amount of the candidate point pair at a certain shift amount is
If it is larger than the interval amount of the candidate point pair in the shift amount up to that point, the candidate point pair is ignored.

【0058】各詰め量における最短間隔の算出 対象文字C2 を基準文字C1 に接近させた場合の各詰め
量における最短間隔を算出する。図20(a)に示すよ
うな「ベタ組み」の状態において、候補点ペア格納部1
0Eに格納した各候補点ペアについて、ベクトルデータ
での字面の輪郭同士の間隔に換算したシフト方向の間隔
情報mとシフト方向と直交する方向の間隔情報nとを求
める。候補点ペアのドットの中心座標に相当するベクト
ルフォントデータでの座標を基準文字C1 (Pax
ay),対象文字C2 (Pbx,Pby)とすると、両間隔
情報m,nは、 m=(100−Pax)+Pbx−10 ……………… (2) n=|Pay−Pby|−10 ………………………… (3) で表すことができる。但し、Pay=Pbyのときはn=0
とする。なお、上式における数値100は、ベクトルデ
ータの文字サイズを示し、10はドットパターンデータ
の1ドットのサイズに相当するベクトルデータ上のサイ
ズを示す。
Calculation of Shortest Interval at Each Filling Amount The shortest interval at each filling amount when the target character C 2 is brought close to the reference character C 1 is calculated. In the “solid set” state as shown in FIG. 20A, the candidate point pair storage unit 1
For each candidate point pair stored in 0E, the distance information m in the shift direction and the distance information n in the direction orthogonal to the shift direction, which are converted into the distance between the contours of the character faces in the vector data, are obtained. The coordinates in the vector font data corresponding to the center coordinates of the dots of the candidate point pair are the reference characters C 1 (P ax ,
P ay ) and the target character C 2 (P bx , P by ), the two pieces of interval information m and n are m = (100−P ax ) + P bx −10 (2) n = | Pay- P by | -10 It can be expressed by (3). However, when P ay = P by , n = 0
And The numerical value 100 in the above equation indicates the character size of the vector data, and 10 indicates the size on the vector data corresponding to the size of 1 dot of the dot pattern data.

【0059】各候補点ペアのベクトルデータでのドット
の中心座標〔(Pax,Pay),(Pbx,Pby)〕を候補
点ペアa〔(75,75),(25,35)〕、候補点
ペアb〔(65,65),(25,35)〕、候補点ペ
アc〔(75,75),(45,65)〕、候補点ペア
d〔(65,65),(45,65)〕とすると、上記
の(2),(3)式より各候補点ペアのシフト方向と間
隔情報mとシフト方向と直交する方向の間隔情報nは、 候補点ペア m n a 40 30 b 50 20 c 60 0 d 70 0 となる。
The center coordinates [(P ax , P ay ), (P bx , P by )] of the dots in the vector data of each candidate point pair are set to the candidate point pair a [(75, 75), (25, 35)]. ], Candidate point pair b [(65,65), (25,35)], candidate point pair c [(75,75), (45,65)], candidate point pair d [(65,65), ( 45, 65)], the shift direction and interval information m of each candidate point pair and the interval information n in the direction orthogonal to the shift direction are calculated as the candidate point pair m n a 40 from the above equations (2) and (3). 30 b 50 20 c 60 0 d 70 0.

【0060】また、ベクトルデータでの字面の最短間隔
kは、 k2 =m2 +n2 …………………………………… (4) で算出することができる(図20(a))。
The shortest character space k in vector data can be calculated by k 2 = m 2 + n 2 ……………………………… (4) (Fig. 20 ( a)).

【0061】さらに対象文字C2 は基準文字C1 に対し
て詰め量が「0」である「ベタ組み」の状態から、ある
詰め量Sで配置されるが、この詰め量Sによりシフト方
向の間隔情報mは(m−S)と表すことができる(図2
0(b))。したがって、上記の(4)式は、 k2 =(m−S)2 +n2 ………………… (5) となる。この関係式に基づいて各候補点ペアの最短間隔
kと詰め量Sとの関係をグラフ化すると図24(a)の
ようになる。
Further, the target character C 2 is arranged with a certain padding amount S from the state of the "solid set" in which the padding amount is "0" with respect to the reference character C 1 . The interval information m can be expressed as (m−S) (FIG. 2).
0 (b)). Therefore, the above equation (4) becomes k 2 = (m−S) 2 + n 2 ……………… (5). The relationship between the shortest distance k of each candidate point pair and the packing amount S is graphed based on this relational expression, as shown in FIG.

【0062】この関係式を最短間隔kから詰め量Sを求
める関係式に変換すると、 S=|m±√(k2 −n2 )| …………………… (6) となる。
When this relational expression is converted into a relational expression for obtaining the packing amount S from the shortest interval k, S = | m ± √ (k 2 −n 2 ) |

【0063】一例として、字面間隔量k=30となる詰
め量Sを求めてみる。上記の両間隔情報m,nと(6)
式より、各候補点ペアの字面同士の最短間隔が字面間隔
kとなる詰め量Sは、 候補点ペア 詰め量S a 40 b 72,28 c 90,30 d 100,40 となる。この算出された詰め量Sのうち、候補点ペアb
から算出された最小の詰め量Smin =28でもって対象
文字C2 を基準文字C1 に対して配置すればよい(図2
0(c)参照)。
As an example, the padding amount S with which the face spacing k = 30 is obtained. Both distance information m, n and (6)
From the formula, the filling amount S at which the shortest distance between the character faces of each candidate point pair is the character face distance k is the candidate point pair filling amount S a 40 b 72, 28 c 90, 30 d 100, 40. Of the calculated packing amount S, the candidate point pair b
The target character C 2 may be arranged with respect to the reference character C 1 with the minimum padding amount S min = 28 calculated from (see FIG. 2).
0 (c)).

【0064】この最小の詰め量Smin でもって文字を配
置することの理由について、図24(a)の詰め量Sと
最短間隔kとの関係を示すグラフを参照して説明する。
このグラフから、詰め量Sが0以上20以下(0≦S≦
20:詰め量範囲)の場合は候補点ペアaが最短間隔
となり、20以上36以下(20≦S≦36:詰め量範
囲)の場合は候補点ペアb、36以上60以下(36
≦S≦60:詰め量範囲)の場合は候補点ペアcが最
短間隔となることが分かる。また、詰め量Sが20の場
合は、a,bの2つの候補点ペアが共に最短間隔とな
り、詰め量Sが36の場合は、b,cの2つの候補点ペ
アが共に最短間隔となることが分かる。
The reason for arranging characters with the minimum amount of space S min will be described with reference to the graph showing the relationship between the amount of space S and the shortest distance k in FIG.
From this graph, the filling amount S is 0 or more and 20 or less (0 ≦ S ≦
20: Packing amount range), the candidate point pair a has the shortest interval, and 20 or more and 36 or less (20 ≦ S ≦ 36: packing amount range), candidate point pair b, and 36 or more and 60 or less (36
It is understood that the candidate point pair c has the shortest interval in the case of ≦ S ≦ 60: packing amount range). When the packing amount S is 20, the two candidate point pairs a and b have the shortest intervals, and when the packing amount S is 36, the two candidate point pairs b and c have the shortest interval. I understand.

【0065】字面同士の2次元的な最短間隔を字面間隔
量k=30にするために、上記のように算出された各詰
め量Sのうち最小でない詰め量Sでもって対象文字C2
を基準文字C1 に対して配置した場合を考えてみる。例
えば、上記の候補点ペアdで算出された詰め量S「4
0」で配置したとすると、確かに候補点ペアdについて
は最短間隔が字面間隔量kに等しい「30」となるが、
候補点ペアcでは最短間隔が字面間隔kよりも短い「2
0」となる。すなわち、最小でない詰め量で配置すると
字面間隔が字面間隔量kよりも短くなるところが現れる
ので、算出された詰め量Sのうち最小の詰め量Smin
もって文字を配置する。したがって、基準文字C1 と対
象文字C2 との組み合わせにおいては、字面間隔量kと
詰め量Sとの関係は、図24(a)の各詰め量範囲〜
で最短の字面間隔量kとなる候補点ペアa,b,cの
特性を接続したような図24(b)の関係で表すことが
できる。これより本例では、字面間隔量が「0」、すな
わち、字面が重複したときの候補点ペアdが使われない
ことがわかるが、両文字の字面の形状によっては重複す
る候補点ペアが必要な場合もありうる(両文字の字面の
対向部が平行な場合等)。
In order to set the two-dimensional shortest distance between the character faces to be the character face space amount k = 30, the target character C 2 with the non-minimum padding amount S among the padding amounts S calculated as described above.
Consider the case where is arranged with respect to the reference character C 1 . For example, the filling amount S “4 calculated by the above candidate point pair d”
If it is arranged with "0", the shortest distance is certainly "30" which is equal to the character spacing k for the candidate point pair d,
In the candidate point pair c, the shortest distance is shorter than the character spacing k, “2
0 ". That is, when the character is arranged with a non-minimum padding amount, the character gap becomes shorter than the character gap k, so that the character is arranged with the smallest padding amount S min among the calculated padding amounts S. Therefore, in the combination of the reference character C 1 and the target character C 2 , the relationship between the character space amount k and the filling amount S is as follows:
In FIG. 24B, the characteristics of the candidate point pairs a, b, and c having the shortest character spacing k can be represented by the relationship of FIG. From this, it can be seen that in the present example, the character face spacing amount is “0”, that is, the candidate point pair d when the character faces overlap is not used, but depending on the shape of the character faces of both characters, overlapping candidate point pairs are required. In some cases, such as when the facing parts of the two letters are parallel.

【0066】詰め調整関数及び総詰め調整関数の算出 この図24(b)に示すような最小の詰め量Sと最小の
詰め量における最短間隔(字面間隔量)との関係を表す
のが詰め調整関数S(k)であり、これを各対象文字に
ついて算出する。すなわち、第1文字C1 (基準文字)
に対して詰める第2文字C2 (対象文字)の関数S
2 (k)を求め(これを模式的に図25(a)に示
す)、同様にして第2文字C2 (基準文字)に対して詰
める第3文字C3(対象文字)の関数S3 (k)を算出
する(これを模式的に図25(b)に示す)。そして、
これらの詰め調整関数の総和(総詰め調整関数ΣS
i (k))を算出する(これを模式的に図25(c)に
示す)。なお、字面間隔量kは、本発明における字面間
隔データに相当する。
Calculation of Filling Adjustment Function and Total Filling Adjustment Function The filling adjustment represents the relationship between the minimum filling amount S and the shortest interval (character space amount) in the minimum filling amount as shown in FIG. Function S (k), which is calculated for each target character. That is, the first character C 1 (reference character)
Function S of the second character C 2 (target character) to be packed against
2 (k) is obtained (this is schematically shown in FIG. 25A), and similarly, the function S 3 of the third character C 3 (target character) to be packed with respect to the second character C 2 (reference character) (K) is calculated (this is schematically shown in FIG. 25B). And
Sum of these justification adjustment functions (total justification adjustment function ΣS
i (k)) is calculated (this is schematically shown in FIG. 25C). The character gap amount k corresponds to the character gap data in the present invention.

【0067】なお、これらの詰め調整関数S2 (k),
3 (k)は、それぞれ図26(a),(b)に示すよ
うなテーブル形式で詰め調整関数格納部11に格納され
る。そして、これらのテーブルの総和(総詰め調整関数
ΣSi (k))を算出し、図26(c)に示すようなテ
ーブル形式で総詰め調整関数格納部12に格納する。
Note that these packing adjustment functions S 2 (k),
S 3 (k) is stored in the packing adjustment function storage unit 11 in a table format as shown in FIGS. 26 (a) and 26 (b), respectively. Then, the total sum (total packing adjustment function ΣS i (k)) of these tables is calculated and stored in the total packing adjustment function storage unit 12 in a table format as shown in FIG.

【0068】各対象文字の詰め量の算出 このようにして算出された総詰め調整関数ΣSi (k)
に基づいて、その総詰め量ST が差分文字列長DL(図
6を参照)に等しくなる最短間隔k(最短間隔kA )を
算出する(図25(c)参照)。実際には総詰め調整関
数格納部12に格納されているテーブル(図26(c)
を参照)のうち、総詰め量ΣSi の項目が差分文字列長
DLに一致する最短間隔kを探し、これを各対象文字に
共通の最短間隔kA とする。
Calculation of Filling Amount of Each Target Character Total filling adjustment function ΣS i (k) calculated in this way
Based on the above, the shortest interval k (shortest interval k A ) at which the total reduction amount S T is equal to the difference character string length DL (see FIG. 6) is calculated (see FIG. 25 (c)). Actually, the table stored in the total packing adjustment function storage unit 12 (FIG. 26C).
Of the above), the shortest interval k in which the item of the total filling amount ΣS i matches the difference character string length DL is searched for, and this is set as the shortest interval k A common to each target character.

【0069】次に、この各対象文字に共通の最短間隔k
A と各詰め調整関数S2 (k),S3 (k)とに基づい
て、最短間隔kA となる各詰め量SA2,SA3を求める。
実際には、配置詰め量演算部18が詰め調整関数格納部
11に格納されているテーブル(図26(a),(b)
を参照)のうち、最短間隔kの項目が最短間隔kA に一
致する詰め量S2 ,S3 を探し、これを各対象文字の配
置詰め量SA2,SA3とする。そして、これらの配置詰め
量SA2,SA3は、配置詰め量格納部19に格納される。
Next, the shortest interval k common to each target character
Based on A and the respective filling adjustment functions S 2 (k) and S 3 (k), the respective filling amounts S A2 and S A3 that are the shortest intervals k A are obtained.
In practice, the arrangement packing amount calculation unit 18 stores the table (FIGS. 26A and 26B) stored in the packing adjustment function storage unit 11.
(See above), the padding amounts S 2 and S 3 in which the item having the shortest interval k matches the shortest interval k A are set as the placement padding amounts S A2 and S A3 of the respective target characters. Then, the placement reduction amounts S A2 and S A3 are stored in the placement reduction amount storage unit 19.

【0070】各対象文字の配置 各対象文字(第2文字C2 ,第3文字C3 )を対応する
各基準文字(第1文字C1 ,第2文字C2 )に対して、
対応する個々の配置詰め量SA2,SA3で配置する。この
状態を図27に模式的に示す。この各対象文字の詰め配
置後は、隣接文字間の字面同士の〔2次元的な〕最短間
隔は全て同じ(kA )となり、文字列長SLと行長CL
とを一致させつつも、字面同士が入り組むような「くい
込み」を許容しつつ体裁良く文字列長を調整することが
できる。
Arrangement of Each Target Character For each target character (second character C 2 , third character C 3 ) corresponding to each reference character (first character C 1 , second character C 2 ),
Arrange with the corresponding individual arrangement packing amounts S A2 and S A3 . This state is schematically shown in FIG. After this arrangement of each target character, the [two-dimensional] shortest intervals between the character faces between adjacent characters are all the same (k A ), and the character string length SL and the line length CL are
It is possible to adjust the length of the character string in a sensible manner while allowing “to be bitten” such that the character faces are intricate while matching and.

【0071】次に図28,図29のフローチャートを参
照して、〔図12のフローチャートのステップT1に相
当する〕詰め調整関数の算出処理の詳細について説明す
る。図28は、候補点ペアの抽出の処理を示すフローチ
ャートである。なお、以下の説明においては、概要説明
のときと同様の文字を「横組み」で行うことを前提とし
て説明する。
Next, with reference to the flow charts of FIGS. 28 and 29, the details of the calculation process of the filling adjustment function [corresponding to step T1 of the flow chart of FIG. FIG. 28 is a flowchart showing the process of extracting a candidate point pair. Note that the following description will be made on the assumption that the same characters as in the outline description are used in "horizontal composition".

【0072】図28のフローチャートを参照する。ステ
ップU1では、文字列情報格納部3に格納された文字列
データに対応するベクトルフォントデータをフォント格
納部6から制御部1が読み出し、この全ベクトルフォン
トデータをドットパターン化処理部10Aが指定された
文字サイズのベクトルデータに変換して所定のドット数
で構成されるドットパターンデータに変換する。本実施
例では、一例として、変換倍率1/10、すなわち10
0×100のサイズのベクトルデータを10×10ドッ
トのドットパターンデータに変換する。なお、ベクトル
データからドットパターンデータへの変換において、ベ
クトルデータにおける字面の面積がドットパターンデー
タでのドットサイズ中で例えば50%以上を占める場合
は黒画素として変換し、それ以下の場合は白画素として
変換する。
Referring to the flowchart of FIG. In step U1, the control unit 1 reads the vector font data corresponding to the character string data stored in the character string information storage unit 3 from the font storage unit 6, and the dot patterning processing unit 10A designates all the vector font data. It is converted into vector data of the character size and converted into dot pattern data composed of a predetermined number of dots. In the present embodiment, as an example, the conversion magnification is 1/10, that is, 10
The vector data of size 0x100 is converted into dot pattern data of 10x10 dots. In the conversion from vector data to dot pattern data, if the area of the character plane in the vector data occupies, for example, 50% or more of the dot size in the dot pattern data, it is converted to a black pixel, and if it is less than that, it is a white pixel. Convert as.

【0073】ステップU2では、候補点ペア格納部10
Eの内容をクリアする。以下の処理において候補点ペア
が抽出される度に、候補点ペア格納部10Eに候補点ペ
アに関する情報が追加格納されるので、その前に一度だ
けクリアしておく。
In step U2, the candidate point pair storage unit 10
Clear the contents of E. Every time a candidate point pair is extracted in the following process, the information about the candidate point pair is additionally stored in the candidate point pair storage unit 10E, so it is cleared only once before that.

【0074】ステップU3では、制御部1がドットパタ
ーンデータ格納部10Bの文字Ci(基準文字)と文字
i+1 (対象文字)の2文字分のドットパターンデータ
をドットパターン列展開メモリ10Cに書き込む。この
ドットパターン列展開メモリ10Cの模式図を図30に
示す。このドットパターン列展開メモリ10Cは、2文
字分のドットパターンデータを格納できるように格納領
域が確保され、さらに格納領域は基準文字Ci の左下を
基準として、上方向に向かって0〜9(行データ)まで
の10行に分割され、横方向に向かって0〜19(列デ
ータ)までの20列に分割され、この分割された200
個の各領域は、基準文字Ci から対象文字Ci+1 の領域
に連続的に0〜199までのアドレスが割り振られてい
る。変換されたドットパターンデータが10×10のサ
イズであるので、基準文字Ci に「0〜99」、対象文
字Ci+1 に「100〜199」のアドレスが割り振られ
る。
In step U3, the control unit 1 stores the dot pattern data for two characters of the character C i (reference character) and the character C i + 1 (target character) in the dot pattern data storage unit 10B in the dot pattern row expansion memory 10C. Write in. FIG. 30 shows a schematic diagram of the dot pattern row expansion memory 10C. A storage area is secured in the dot pattern row expansion memory 10C so that the dot pattern data for two characters can be stored. Further, the storage area is 0-9 (upward) with reference to the lower left of the reference character C i. The data is divided into 10 rows up to the row data), and is divided into 20 columns from 0 to 19 (column data) in the horizontal direction.
In each area, addresses from 0 to 199 are continuously assigned to the area from the reference character C i to the target character C i + 1 . Since the converted dot pattern data has a size of 10 × 10, the addresses “0 to 99” are assigned to the reference character C i and the addresses “100 to 199” are assigned to the target character C i + 1 .

【0075】なお、以下の説明においては、文字Ci
第1文字C1 とし、文字Ci+1 を第2文字C2 として説
明する。また、第1文字C1 と第2文字C2 とは、それ
ぞれ前述の概要説明で用いたものと同じ形状で表される
文字であるとする(図31(a)参照)。ここで第1文
字C1 のドットが位置するアドレス( 図中の実線の領域
内)の集合をA0 とすると、A0 ={11〜17,22〜27,33
〜37,44 〜47,55 〜57,66,67,77 }となり、第2文字C
2 のドットが位置するアドレス(図中の点線の領域内)
の集合をB0 とするとB0 ={122,123,132,133,142 〜
146,152 〜156 }となる。なお、集合を表す符号A,B
の添字0は、シフト回数=0を表す。
In the following description, the character C i will be described as the first character C 1 and the character C i + 1 will be described as the second character C 2 . The first character C 1 and the second character C 2 are assumed to be characters having the same shapes as those used in the above-described outline description (see FIG. 31 (a)). Assuming that the set of addresses (within the solid line area in the figure) where the dots of the first character C 1 are located is A 0 , A 0 = {11 to 17,22 to 27,33
~ 37,44 ~ 47,55 ~ 57,66,67,77} and the second character C
Address where the second dot is located (in the area indicated by the dotted line in the figure)
When the set of the B 0 B 0 = {122,123,132,133,142 ~
146,152-156}. The symbols A and B representing the set
The subscript 0 represents the number of shifts = 0.

【0076】ステップU4では、第2文字C2 を第1文
字C1 に対して1ドットシフトする。具体的には、第2
文字C2 のドットを示すアドレスの集合B0 の各アドレ
スから10だけ減算する。結果、第2文字C2 のアドレ
スの集合B1 は、B1 ={112,113,122,123,132 〜136,
142 〜146 }となる(図31(b)参照)。
In step U4, the second character C 2 is shifted by 1 dot with respect to the first character C 1 . Specifically, the second
Only 10 is subtracted from each address of the set of addresses B 0 indicating the dots of the character C 2 . As a result, the set B 1 of the addresses of the second character C 2 is B 1 = {112,113,122,123,132 to 136,
142-146} (see FIG. 31 (b)).

【0077】ステップU5では、文字の配列方向とは直
交する方向において、すなわち、同列上に両文字のドッ
トがあるか否かを判断する。この判断は集合B1 をRA
MエリアにB1 ’としてコピーして、このB1 ’の全て
のアドレスを10で除算し、その結果の小数を切り捨て
る(以下、整数化と称する)。また、同様に集合A0
全てのアドレスを整数化する。この処理により、各アド
レスの集合に含まれるアドレスは、列データに変換され
る。したがって、集合A0 ’と集合B1 ’の列データを
比較し、同じ列データがあるか否かを判断する。ここで
は、集合A0 ’={1,2,3,4,5,6,7}と集合B1 ’={1
1,12,13,14}となり、同じ列データが含まれないので、
ステップU4へ戻って、さらに1ドットシフトを行う。
この両文字のドットパターンデータでは、計5ドット分
のシフトを行うまでステップU4,ステップU5が繰り
返される。
In step U5, it is determined whether or not there are dots of both characters in the direction orthogonal to the character arrangement direction, that is, in the same row. This decision is RA for set B 1
'Copy as, the B 1' B 1 to M area all addresses divided by 10, truncating the resulting fraction (hereinafter, referred to as integer). Similarly, all addresses in the set A 0 are converted into integers. By this processing, the addresses included in each set of addresses are converted into column data. Therefore, the column data of the set A 0 'and the column data of the set B 1 ' are compared to determine whether or not there is the same column data. Here, the set A 0 '= {1,2,3,4,5,6,7} and the set B 1 ' = {1
1,12,13,14}, and the same column data is not included,
Returning to step U4, another dot shift is performed.
With the dot pattern data for both characters, steps U4 and U5 are repeated until a shift of a total of 5 dots is performed.

【0078】次に、ステップU4,U5により計5ドッ
ト分のシフトが行われた状態から説明する。このときの
ドットパターン列展開メモリ10Cの模式図を図32
(a)に示す。この状態では、集合A0 ={11〜17,22
〜27,33 〜37,44 〜47,55 〜57,66,67,77 }、集合B5
={72,73,82,83,92〜96,102〜106}となり、集合
0 ’={1,2,3,4,5,6,7}、集合B5 ’={7,8,9,1
0}となるので、集合A0 ’とB5 ’とに同じ列データ
「7」が含まれる。したがって、同列上に両文字のドッ
トがあると判断されてステップU5からステップU6へ
と分岐する。
Next, a description will be given of a state in which a shift of a total of 5 dots has been performed in steps U4 and U5. FIG. 32 is a schematic diagram of the dot pattern row expansion memory 10C at this time.
(A). In this state, the set A 0 = {11 to 17,22
~ 27,33 ~ 37,44 ~ 47,55 ~ 57,66,67,77}, set B 5
= {72,73,82,83,92 to 96,102 to 106}, and set A 0 '= {1,2,3,4,5,6,7}, set B 5 ' = {7,8,9 , 1
0}, the same column data “7” is included in the sets A 0 ′ and B 5 ′. Therefore, it is determined that there are dots of both characters on the same line, and the process branches from step U5 to step U6.

【0079】ステップU6では候補点ペア補助格納部1
0Dに所定の初期値を設定する。候補点ペア補助格納部
10Dは、同一のシフト量において、ある列上で最短間
隔を有する一対のドットの間隔量Fpと、その元のアド
レス、すなわち図31に示す「ベタ組み」における一対
のドットのアドレスAp,Bpとを格納するものであ
る。この候補点ペア補助格納部10Dの間隔量Fpは、
同一シフト量において前記列上とは異なる列上で最短間
隔を有する一対のドットの間隔量と比較されるので、ま
ず、何らかの値を初期値として設定しておく必要があ
る。そこで、間隔量としては採りうる最大の間隔量であ
る「10」を設定し、候補点ペアの元のアドレスAp,
Bpとしては適宜の値(ここでは「0」,「0」)を設
定する。この候補点ペア補助格納部10Dの模式図を図
32(b)に示す。
In step U6, the candidate point pair auxiliary storage unit 1
A predetermined initial value is set to 0D. The candidate point pair auxiliary storage unit 10D stores the spacing amount Fp of a pair of dots having the shortest spacing on a certain column at the same shift amount and the original address thereof, that is, the pair of dots in the "solid set" shown in FIG. The addresses Ap and Bp of the are stored. The space amount Fp of the candidate point pair auxiliary storage unit 10D is
It is necessary to set some value as an initial value because it is compared with the distance amount of a pair of dots having the shortest distance on a different row from the above on the same shift amount. Therefore, "10", which is the maximum possible spacing amount, is set as the spacing amount, and the original address Ap,
An appropriate value (here, "0", "0") is set as Bp. A schematic diagram of this candidate point pair auxiliary storage unit 10D is shown in FIG.

【0080】ステップU7では、基準文字C1 と対象文
字C2 の同列上にある全てのドット対を求め、ステップ
U8では、そのうち最短の間隔量をもつ一対のドットを
求める。
At step U7, all dot pairs on the same row of the reference character C 1 and the target character C 2 are obtained, and at step U8, a pair of dots having the shortest interval amount is obtained.

【0081】現在の計5ドット分シフトした状態では、
基準文字C1 のアドレスの集合A0={11〜17,22〜27,3
3 〜37,44 〜47,55 〜57,66,67,77 }、対象文字C2
アドレスの集合B5 ={72,73,82,83,92〜96,102〜10
6}であり、基準文字C1 の列データの集合A0 ’=
{1,2,3,4,5,6,7}、対象文字C2 の列データの集合B
5 ’={7,8,9,10}であるので、列データの集合から7
列目において同列上に双方のドットが存在している。そ
こで、7列目において一対のドットを求める。まず、7
列目であるのでアドレスが70台の文字C1 と文字C2
アドレスを求める。結果、文字C1 のアドレスAw(7
7)と文字C2 のアドレスBw(72,73 )が求められ
る。そして、その間隔量Fp(Aw,Bw)を求めると
Fp(77,72)=5、Fp(77,73 )=4であるので、
最短である間隔量Fp(77,73 )=4と、その一対のド
ットのアドレスとを制御部1のRAMに一時的に格納す
る(ステップU8)。
With the current shift of 5 dots,
Address set of reference character C 1 A 0 = {11 to 17,22 to 27,3
3 to 37,44 to 47,55 to 57,66,67,77}, the set of addresses of the target character C 2 B 5 = {72,73,82,83,92 to 96,102 to 10
6}, and the set of column data of the reference character C 1 is A 0 '=
{1,2,3,4,5,6,7}, the set B of column data of the target character C 2
Since 5 '= {7,8,9,10}, 7 from the set of column data
In the second row, both dots are present on the same row. Therefore, a pair of dots is obtained in the seventh column. First, 7
Since it is in the column, the addresses of the characters C 1 and C 2 with 70 addresses are obtained. A result, the address of the character C 1 Aw (7
7) and the address Bw (72,73) of the character C 2 are obtained. Then, when the space amount Fp (Aw, Bw) is obtained, Fp (77,72) = 5 and Fp (77,73) = 4,
The shortest interval amount Fp (77,73) = 4 and the address of the pair of dots are temporarily stored in the RAM of the control unit 1 (step U8).

【0082】ステップU11では、候補点ペア補助格納
部10Dに格納されている、同一シフト量において他の
列で抽出された一対のドットの間隔量Fp’と、当該列
上で抽出されて制御部1のRAMに格納されている一対
のドットの間隔量Fpとを比較し、短い方の間隔量をも
つ一対のドットの間隔量と、この一対のドットを構成し
ている各ドットの元のアドレスとからなる候補点ペア情
報を候補点ペア補助格納部10Dに格納する(ステップ
U12)。このとき既に候補点ペア補助格納部10Dに
格納されていた候補点ペア情報は削除される。
In step U11, the interval amount Fp 'of the pair of dots extracted in another column at the same shift amount, which is stored in the candidate point pair auxiliary storage unit 10D, and the control unit extracted in that column. The distance amount Fp between the pair of dots stored in one RAM is compared, and the distance amount between the pair of dots having the shorter distance amount and the original address of each dot forming the pair of dots. The candidate point pair information consisting of and is stored in the candidate point pair auxiliary storage unit 10D (step U12). At this time, the candidate point pair information already stored in the candidate point pair auxiliary storage unit 10D is deleted.

【0083】上記のステップU7,U8,U11,U1
2は、同じシフト量において、複数の列上に一対のドッ
トが存在する場合にはそのうち最短の間隔量をもつ一つ
の一対のドットを抽出するための処理である。
Steps U7, U8, U11, U1 described above
2 is a process for extracting one pair of dots having the shortest interval amount among a pair of dots on a plurality of columns in the same shift amount.

【0084】現在の候補点ペア補助格納部10Dの内容
は、図32(b)に示すように初期設定されたままの状
態なので、制御部1に格納されている間隔量Fp=4と
この一対のドットの間隔量とを比較して、間隔量が短い
方の間隔量Fp=4と、その元のアドレスAp,Bpと
からなる候補点ペア情報を候補点ペア補助格納部10D
に格納する。元のアドレスは、以下の式によって算出す
ることができる。 文字Ci の元のアドレスAp=Aw ………………………………… (7) 文字Ci+1 の元のアドレスBp=Bw+シフト回数×10 ……… (8) したがって、現在の候補点ペアの文字C1 の元のアドレ
スApは「77」となり、文字C2 の元のアドレスBpは
「123」(73+5×10) となって、間隔量Fp「4」ととも
に、元のアドレスAp「77」,Bp「123 」が候補点ペ
ア補助格納部10Dに格納される(図32(b)参
照)。
Since the contents of the current candidate point pair auxiliary storage unit 10D are in the state of being initialized as shown in FIG. 32 (b), the interval amount Fp = 4 stored in the control unit 1 and this pair The dot amount of the dot is compared, and the candidate point pair information including the interval amount Fp = 4 having the shorter interval amount and the original addresses Ap and Bp is compared with the candidate point pair auxiliary storage unit 10D.
To be stored. The original address can be calculated by the following formula. Original address of character C i Ap = Aw ………………………………… (7) Original address of character C i + 1 Bp = Bw + shift count × 10 ……… (8) Therefore, The original address Ap of the character C 1 of the current candidate point pair is “77”, the original address Bp of the character C 2 is “123” (73 + 5 × 10), and the distance Fp is “4”. , The original addresses Ap “77” and Bp “123” are stored in the candidate point pair auxiliary storage unit 10D (see FIG. 32 (b)).

【0085】ステップU13では、複数の列上で一対の
ドットが存在した場合に全列の処理が終了したかどうか
を判断して処理を分岐する。現在は、7列目の一列上だ
けに一対のドットが存在しているので、全列の処理が終
了したとしてステップU15へ分岐する。
In step U13, when a pair of dots are present on a plurality of columns, it is judged whether or not the processes for all the columns are completed, and the process is branched. At present, since a pair of dots exists only in one row of the seventh row, it is determined that the processing of all the rows is completed, and the process branches to step U15.

【0086】ステップU15では、候補点ペア補助格納
部10Dに格納されている候補点ペアの間隔量が候補点
ペア格納部10Eに格納されている以前の全候補点ペア
の間隔量より小さい(短い)場合にのみ当該候補点ペア
情報を候補点ペア格納部10Eへ追加格納し(ステップ
U16)、そうでなければ格納しない。
In step U15, the spacing amount of the candidate point pair stored in the candidate point pair auxiliary storage unit 10D is smaller than the spacing amount of all the previous candidate point pairs stored in the candidate point pair storage unit 10E (shorter. Only in this case, the candidate point pair information is additionally stored in the candidate point pair storage unit 10E (step U16), otherwise it is not stored.

【0087】これらステップU15〜ステップU16に
より、基準文字「ー」と対象文字「.」の組合せのよう
に、異なるシフト量において同じ間隔量の一対のドット
が候補点ペアとして複数個抽出されるような場合には、
最小のシフト量で求められた候補点ペアだけを格納す
る。こうすることにより無駄な候補点ペアのストアを避
けている。したがって、後の処理を効率良く行うことが
できる。
By these steps U15 to U16, like the combination of the reference character "-" and the object character ".", A plurality of pairs of dots having the same interval amount at different shift amounts are extracted as candidate point pairs. In that case,
Only the candidate point pairs obtained with the minimum shift amount are stored. By doing this, we avoid storing useless candidate point pairs. Therefore, the subsequent processing can be efficiently performed.

【0088】現在の候補点ペア格納部10Eには何ら候
補点ペア情報が格納されていないので、ステップU16
へ分岐して、候補点ペア補助格納部10Dに格納されて
いる候補点ペア情報(間隔量Fp「4」,元のアドレス
Ap「77」,元のアドレスBp「123 」)を候補点ペア
として候補点ペア格納部10Eに格納する。このときの
候補点ペア格納部10Eの模式図を図32(b)に示
す。なお、図32(b)中、C1 の符号は、候補点ペア
情報が基準文字C1 と対象文字C2 とによるものである
ことを示すものである。また、この候補点ペアは、前述
の概要説明における候補点ペアaに相当する。次に、図
28のステップU9に戻る。
Since no candidate point pair information is currently stored in the candidate point pair storage unit 10E, step U16 is performed.
And the candidate point pair information (interval amount Fp “4”, original address Ap “77”, original address Bp “123”) stored in the candidate point pair auxiliary storage unit 10D is used as a candidate point pair. It is stored in the candidate point pair storage unit 10E. A schematic view of the candidate point pair storage unit 10E at this time is shown in FIG. Note that, in FIG. 32 (b), the symbol C 1 indicates that the candidate point pair information is based on the reference character C 1 and the target character C 2 . Further, this candidate point pair corresponds to the candidate point pair a in the above-mentioned outline description. Then, the process returns to step U9 in FIG.

【0089】ステップU9では、両文字が重複している
か、すなわち、一対のドットが重複しているか否かを判
断して処理を分岐する。これは、間隔量Fpが「0」か
否かを判断すればよい。ここでは間隔量Fpが「0」で
はないので、ステップU4へ分岐する。
In step U9, it is determined whether both characters are overlapping, that is, whether a pair of dots are overlapping, and the process is branched. This can be done by determining whether the interval amount Fp is "0". Since the interval amount Fp is not "0" here, the process branches to step U4.

【0090】ステップU4では、基準文字C1 に対して
対象文字C2 をさらに1ドットシフトする(計6ドット
分シフトであり、図33(a)の状態)。このとき集合
0={11〜17,22〜27,33 〜37,44 〜47,55 〜57,66,6
7,77 }、集合B6 ={62,63,72,73,82〜86,92 〜96}
となり、集合A0 ’={1,2,3,4,5,6,7}、集合B6’=
{6,7,8,9 }となるので、両集合A0 ’とB6 ’とに同
じ列データ「6,7 」が含まれる。したがって、同列上に
一対のドットがあると判断してステップU5からステッ
プU6へと分岐する。
In step U4, the target character C 2 is further shifted by 1 dot with respect to the reference character C 1 (a total of 6 dots are shifted, the state of FIG. 33A). At this time, the set A 0 = {11 to 17,22 to 27,33 to 37,44 to 47,55 to 57,66,6
7,77}, the set B 6 = {62,63,72,73,82~86,92 ~96}
Therefore, set A 0 '= {1,2,3,4,5,6,7}, set B 6 ' =
Since {6,7,8,9}, both sets A 0 'and B 6 ' include the same column data "6,7". Therefore, it is determined that there is a pair of dots on the same row, and the process branches from step U5 to step U6.

【0091】ステップU6では、上述したように候補点
ペア補助格納部10Dを初期値に設定する(図33
(b)参照)。
In step U6, the candidate point pair auxiliary storage unit 10D is set to the initial value as described above (FIG. 33).
(B)).

【0092】この計6ドットシフトした状態では、上述
のように6列目と7列目に両文字のドットがあるが、ま
ず、7列目から処理を行う。文字C1 と文字C2 の70台
のアドレスを求める。結果、文字C1 のアドレスAw
(77)と文字C2 のアドレスBw(72,73 )が抽出され
る。そして、その間隔量Fp(Aw,Bw)を求めると
Fp(77,72)=5、Fp(77,73 )=4であるので、
最短である間隔量Fp(77,73 )=4と、その一対のド
ットのアドレスとを制御部1のRAMに一時的に格納す
る(ステップU8)。
In the state in which a total of 6 dots are shifted, there are dots of both characters in the 6th and 7th columns as described above, but first, the processing is performed from the 7th column. Find the addresses of 70 units of the characters C 1 and C 2 . As a result, the address Aw of the character C 1
(77) and the address Bw (72,73) of the character C 2 are extracted. Then, when the space amount Fp (Aw, Bw) is obtained, Fp (77,72) = 5 and Fp (77,73) = 4,
The shortest interval amount Fp (77,73) = 4 and the address of the pair of dots are temporarily stored in the RAM of the control unit 1 (step U8).

【0093】そして、ステップU11,U12を経て、
制御部1に格納されている間隔量Fp「4」と、上記の
(7),(8)式から算出されるその一対のドットの元
のアドレスAp「77」,Bp「133」(73+6×10) との候
補点ペア情報が候補点ペア補助格納部10Dに格納され
る(図33(b)参照)。
Then, through steps U11 and U12,
The interval amount Fp “4” stored in the control unit 1 and the original addresses Ap “77” and Bp “133” (73+) of the pair of dots calculated from the above equations (7) and (8). 6 × 10) candidate point pair information is stored in the candidate point pair auxiliary storage unit 10D (see FIG. 33B).

【0094】ステップU13では、複数の列上で一対の
ドットが存在した場合に全列に関する処理が終了したか
どうかを判断して処理を分岐する。現在処理が終わった
のは、6列目,7列目のうち7列目だけであるので、ス
テップU13からステップU7へ分岐する。
In step U13, if a pair of dots are present on a plurality of columns, it is judged whether or not the processes for all the columns are completed, and the process is branched. Since only the seventh column out of the sixth column and the seventh column is currently processed, the process branches from step U13 to step U7.

【0095】ステップU7では、次の6列目の処理を行
う。文字C1 と文字C2 の60台のアドレスを求める。結
果、文字C1 のアドレスAw(66, 67)と文字C2 のア
ドレスBw(62,63 )が抽出される。そして、その間隔
量Fp(Aw,Bw)を求めると、Fp(67,62)=
5、Fp(67,63 )=4、Fp(66,62)=4、Fp
(66,63 )=3であるので、最短である間隔量Fp(6
6,63 )=3と、その一対のドットのアドレスとが制御
部1のRAMに一時的に格納される(ステップU8)。
In step U7, the process of the next sixth column is performed. Obtain the addresses of 60 units of the characters C 1 and C 2 . Result, the address of the character C 1 Aw (66, 67) and the character C 2 address Bw (62 and 63) are extracted. Then, when the interval amount Fp (Aw, Bw) is calculated, Fp (67,62) =
5, Fp (67,63) = 4, Fp (66,62) = 4, Fp
Since (66,63) = 3, the shortest distance Fp (6
6,63) = 3 and the address of the pair of dots are temporarily stored in the RAM of the controller 1 (step U8).

【0096】図29のステップU11,U12を経て、
制御部1のRAMに格納されている間隔量Fp「3」と
その一対のドットの元のアドレスAp「66」,Bp「12
3」(63+6×10) の候補点ペア情報が候補点ペア補助格納
部10Dに格納される(図33(b)参照)。
Through steps U11 and U12 of FIG. 29,
The interval amount Fp “3” stored in the RAM of the control unit 1 and the original addresses Ap “66” and Bp “12” of the pair of dots.
The candidate point pair information “3” (63 + 6 × 10) is stored in the candidate point pair auxiliary storage unit 10D (see FIG. 33B).

【0097】ステップU13では、全列の処理が終了し
たので、ステップU15,U16を経て、候補点ペア補
助格納部10Dに格納されている候補点ペア情報(間隔
量Fp「3」,元のアドレスAp「66」,Bp「123
」)を候補点ペアとして候補点ペア格納部10Eに追
加格納する(図33(b)参照)。なお、この候補点ペ
アは、前述の概要説明における候補点ペアbに相当す
る。
At step U13, since the processing for all columns is completed, the candidate point pair information (interval amount Fp "3", original address) stored in the candidate point pair auxiliary storage unit 10D is passed through steps U15 and U16. Ap “66”, Bp “123
)) As a candidate point pair is additionally stored in the candidate point pair storage unit 10E (see FIG. 33 (b)). It should be noted that this candidate point pair corresponds to the candidate point pair b in the above-mentioned outline description.

【0098】上記のようにステップU4〜ステップU1
6を経て、計7ドット分のシフト(図34(a)参照)
では、文字C1 のアドレスの集合A0 ={11〜17,22〜2
7,33 〜37,44 〜47,55 〜57,66,67,77 }、文字C2
アドレスの集合B7 ={52,53,62,63,72〜76,82 〜86}
であり、文字C1 の列データの集合A0 ’={1,2,3,4
,5,6,7}、文字C2 の列データの集合B7 ’={5,6,
7,8 }であるので、同じ列データ「5,6,7 」が含まれ
る。以下、各列について次のようになる(図34
(a),(b)参照)。
As described above, steps U4 to U1
After 6, the total shift is 7 dots (see FIG. 34 (a)).
Then, the set A 0 of the addresses of the character C 1 = {11 to 17, 22 to 2
7,33 ~37,44 ~47,55 ~57,66,67,77}, the set of characters C 2 address B 7 = {52,53,62,63,72~76,82 ~86}
And a set of column data of character C 1 A 0 '= {1,2,3,4
, 5,6,7}, a set of column data of character C 2 B 7 ′ = {5,6,
7,8}, the same column data “5,6,7” is included. Below, the following is done for each column (FIG. 34).
(See (a) and (b)).

【0099】『7列目』 制御部1のRAMの内容 …… Fp(77,76 )=1,A
w=77, Bw=76 この内容は、ステップU12において候補点ペア情報と
して候補点ペア補助格納部10Dに格納される。
[7th column] Content of RAM of control unit 1 ... Fp (77,76) = 1, A
w = 77, Bw = 76 These contents are stored in the candidate point pair auxiliary storage unit 10D as the candidate point pair information in step U12.

【0100】『6列目』 制御部1のRAMの内容 …… Fp(66,63 )=3,A
w=66, Bw=63 この内容は、ステップU11において比較の結果、『7
列目』の間隔量よりも大きいと判断され、候補点ペア補
助格納部10Dに格納されない。したがって、候補点ペ
ア補助格納部10Dの内容は、『7列目』のままであ
る。
[Sixth column] Contents of RAM of control unit 1 ... Fp (66,63) = 3, A
w = 66, Bw = 63 This content is "7" as a result of comparison in step U11.
It is determined that it is larger than the interval amount of “column”, and is not stored in the candidate point pair auxiliary storage unit 10D. Therefore, the content of the candidate point pair auxiliary storage unit 10D remains "7th column".

【0101】『5列目』 制御部1のRAMの内容 …… Fp(55,53 )=2,A
w=55, Bw=53 この内容も候補点ペア補助格納部10Dに格納されな
い。したがって、候補点ペア補助格納部10Dの内容
は、『7列目』のままである。
"Fifth column" Contents of RAM of control unit 1 ... Fp (55,53) = 2, A
w = 55, Bw = 53 This content is also not stored in the candidate point pair auxiliary storage unit 10D. Therefore, the content of the candidate point pair auxiliary storage unit 10D remains "7th column".

【0102】この結果、ステップU15〜U16を経て
候補点ペア格納部10Eには、候補点ペア情報(Fp
(77,76 )=1,Ap=77, Bp=146 )が候補点ペアと
して追加格納される。なお、この候補点ペアは、前述の
概要説明における候補点ペアcに相当する。
As a result, through the steps U15 to U16, the candidate point pair storage unit 10E stores the candidate point pair information (Fp
(77,76) = 1, Ap = 77, Bp = 146) is additionally stored as a candidate point pair. The candidate point pair corresponds to the candidate point pair c in the above-mentioned outline description.

【0103】次にステップU4〜ステップU16を経
て、計8ドット分のシフト(図35(a)参照)では、
文字C1 のアドレスの集合A0 ={11〜17,22〜27,33
〜37,44 〜47,55 〜57,66,67,77 }であるので、「4,5,
6,7 」列上に両ドットパターンのドットが含まれる。以
下、各列について次のようになる(図35(a),
(b)参照)。
Next, through steps U4 to U16, a total shift of 8 dots (see FIG. 35 (a))
Address set of character C 1 A 0 = {11 to 17,22 to 27,33
~ 37,44 ~ 47,55 ~ 57,66,67,77}, so "4,5,
The dots of both dot patterns are included on the "6,7" column. Below, the following is done for each column (FIG. 35 (a),
(B)).

【0104】『7列目』 制御部1のRAMの内容 …… Fp(77,76 )=1,A
w=77, Bw=76 この内容は、ステップU12において候補点ペア情報と
して候補点ペア補助格納部10Dに格納される。
[7th column] Content of RAM of control unit 1 ... Fp (77,76) = 1, A
w = 77, Bw = 76 These contents are stored in the candidate point pair auxiliary storage unit 10D as the candidate point pair information in step U12.

【0105】『6列目』 制御部1のRAMの内容 …… Fp(66,66 )=0,A
w=66, Bw=66 この内容は、ステップU12において候補点ペア情報と
して候補点ペア補助格納部10Dに格納される。
[6th column] Content of RAM of control unit 1 ... Fp (66,66) = 0, A
w = 66, Bw = 66 These contents are stored in the candidate point pair auxiliary storage unit 10D as candidate point pair information in step U12.

【0106】『5列目』 制御部1のRAMの内容 …… Fp(55,53 )=2,A
w=55, Bw=53 この内容は、ステップU11において比較の結果、『6
列目』の間隔量よりも大きいと判断され、候補点ペア補
助格納部10Dに格納されない。したがって、候補点ペ
ア補助格納部10Dの内容は、『6列目』のままであ
る。
"Fifth column" Contents of RAM of control unit 1 ... Fp (55,53) = 2, A
w = 55, Bw = 53 The contents are "6" as a result of the comparison in step U11.
It is determined that it is larger than the interval amount of “column”, and is not stored in the candidate point pair auxiliary storage unit 10D. Therefore, the content of the candidate point pair auxiliary storage unit 10D remains "6th column".

【0107】『4列目』 制御部1のRAMの内容 …… Fp(44,43 )=1,A
w=44, Bw=43 この内容も候補点ペア補助格納部10Dに格納されな
い。したがって、候補点ペア補助格納部10Dの内容
は、『6列目』のままである。
[4th column] Contents of RAM of control unit 1 ... Fp (44,43) = 1, A
w = 44, Bw = 43 This content is also not stored in the candidate point pair auxiliary storage unit 10D. Therefore, the content of the candidate point pair auxiliary storage unit 10D remains "6th column".

【0108】この結果、ステップU15〜U16を経て
候補点ペア格納部10Eには、候補点ペア情報(Fp
(66,66 )=0,Ap=66, Bp=146 )が候補点ペアと
して追加格納される。なお、この候補点ペアは、前述の
概要説明における候補点ペアdに相当する。
As a result, through the steps U15 to U16, the candidate point pair storage unit 10E stores the candidate point pair information (Fp
(66,66) = 0, Ap = 66, Bp = 146) is additionally stored as a candidate point pair. The candidate point pair corresponds to the candidate point pair d in the above-mentioned outline description.

【0109】この内容は、ステップU9における判断の
結果、間隔量Fpが「0」であるので両文字が重複して
いると判断され、ステップU10へ分岐して次の文字の
処理へと移行する。なお、両文字が全く重複せずに10
ドット分シフトした場合も、両文字での候補点ペアの抽
出・記憶を終了して次の文字の処理へと移行する。
As a result of the judgment in step U9, since the interval amount Fp is "0", it is judged that both the characters overlap each other, and the process branches to step U10 to proceed to the processing of the next character. . In addition, both characters are 10
Even in the case of the dot shift, the extraction and storage of the candidate point pairs for both characters are completed, and the process moves to the next character.

【0110】上記のような処理を次の文字C2 と文字C
3 について行い、すべての文字の処理を終了(文字C
n-1 と文字Cn )するとステップU10において処理を
終了する。そして、全文字の処理終了、すなわち文字C
n-1 と文字Cn までの処理を終了した時点での候補点ペ
ア格納部10Eの模式図を図36に示す。
The above processing is performed for the next character C 2 and character C.
Repeat 3 and finish processing all characters (character C
When n-1 and the character C n ), the process ends in step U10. Then, the processing of all characters ends, that is, the character C
FIG. 36 shows a schematic diagram of the candidate point pair storage unit 10E at the time when the processing up to n-1 and the character C n is completed.

【0111】<最小の詰め量の算出>次に、図37のフ
ローチャートを参照して、格納された各候補点ペア情報
に基づいて、最短間隔量kを可変し、各最短間隔量kと
なる対象文字の基準文字に対する詰め量Sのうち、最小
の詰め量Smin を求める。
<Calculation of Minimum Packing Amount> Next, with reference to the flowchart of FIG. 37, the shortest interval amount k is varied based on the stored candidate point pair information to obtain each shortest interval amount k. The minimum padding amount S min of the padding amounts S of the target character with respect to the reference character is obtained.

【0112】ステップU30では、抽出されて候補点ペ
ア格納部10Eに格納されている全文字の各候補点ペア
情報の元のアドレスから、候補点ペアのベクトルデータ
での間隔であるシフト方向の間隔情報mとシフト方向と
直交する方向の間隔情報nを算出する。
In step U30, an interval in the shift direction, which is an interval in the vector data of the candidate point pair, from the original address of each candidate point pair information of all the characters extracted and stored in the candidate point pair storage unit 10E. The information m and the interval information n in the direction orthogonal to the shift direction are calculated.

【0113】具体的には以下のようにして各候補点ペア
のシフト方向の間隔情報mとシフト方向と直交する方向
の間隔情報nを求める。
Specifically, the distance information m in the shift direction of each candidate point pair and the distance information n in the direction orthogonal to the shift direction are obtained as follows.

【0114】シフト方向の間隔情報mは、以下のように
して求める。まず、元のアドレスApとBpを列データ
に変換し、それらの差を求めるとドットの中心からのシ
フト方向の間隔が求まる。そして、ドットの輪郭での間
隔にするためにその差から1ドット分を差し引く。さら
に、ドットパターンデータは変換倍率1/10でベクト
ルデータから変換されたので、ここで元にもどすため変
換倍率の逆数を掛ける。これを式で記述すると以下のよ
うになる。ただし、割算記号“/”は、整数化を行うこ
とを示す。 m={(Bp/10−Ap/10)−1}×10 ………………… (9)
The interval information m in the shift direction is obtained as follows. First, the original addresses Ap and Bp are converted into column data, and the difference between them is obtained, whereby the distance in the shift direction from the center of the dot is obtained. Then, one dot is subtracted from the difference in order to obtain the interval in the dot outline. Furthermore, since the dot pattern data was converted from the vector data at a conversion ratio of 1/10, the reciprocal of the conversion ratio is multiplied here to restore it. This can be described by an equation as follows. However, the division symbol "/" indicates that integer conversion is performed. m = {(Bp / 10-Ap / 10) -1} × 10 …………………… (9)

【0115】シフト方向と直交する方向の間隔情報n
は、以下のようにして求める。まず、元のアドレスAp
とBpを行データに変換し、それらの差を求めてドット
の中心からのシフト方向と直交する方向の間隔が求ま
る。この間隔は、文字の字面の組合せによっては負とな
るので絶対値をとる。そして、ドットの輪郭での間隔に
するためにその差から1ドット分を差し引く。さらに、
変換倍率の逆数を掛ける。これを式で記述すると以下の
ようになる(但し、Fp=0のときはn=0)。 n={|〔Bp−(Bp/10)×10〕 −〔Ap−(Ap/10)×10〕|−1}×10 …… (10)
Interval information n in the direction orthogonal to the shift direction
Is calculated as follows. First, the original address Ap
And Bp are converted into row data, and the difference between them is calculated to obtain the distance from the center of the dot in the direction orthogonal to the shift direction. This interval takes a negative value because it becomes negative depending on the combination of the character faces. Then, one dot is subtracted from the difference in order to obtain the interval in the dot outline. further,
Multiply the reciprocal of the conversion factor. This can be expressed by the following equation (however, when Fp = 0, n = 0). n = {| [Bp− (Bp / 10) × 10] − [Ap− (Ap / 10) × 10] | −1} × 10 (10)

【0116】上記の(9),(10)式と、上記の処理
で抽出された基準文字C1 と対象文字C2 との候補点ペ
ア情報(間隔量Fp(Ap,Bp)とすると、Fp(7
7,123)=4,Fp(66,123)=3,Fp(77,146)=1,F
p(66,146)=0 、図36参照)から、 候補点ペアaは、m=40,n=30 候補点ペアbは、m=50,n=20 候補点ペアcは、m=60,n=0 候補点ペアdは、m=70,n=0 となる。
Candidate point pair information of the above expressions (9) and (10) and the reference character C 1 and the target character C 2 extracted by the above processing (if the distance amount Fp (Ap, Bp) is given, Fp (7
7,123) = 4, Fp (66,123) = 3, Fp (77,146) = 1, F
p (66,146) = 0, see FIG. 36), the candidate point pair a is m = 40, n = 30, the candidate point pair b is m = 50, n = 20, and the candidate point pair c is m = 60, n. = 0 The candidate point pair d is m = 70, n = 0.

【0117】ステップU31では、ステップU30で算
出された全ての文字毎の間隔情報m,nを間隔情報格納
部10Fへ格納する。この間隔情報格納部10Fでの格
納状態を図38に示す。
At step U31, the interval information m, n for every character calculated at step U30 is stored in the interval information storage unit 10F. FIG. 38 shows the storage state in the interval information storage unit 10F.

【0118】ステップU32では、制御部1が字面間隔
量kを可変し、その各字面間隔量kにおける全文字の間
隔情報m,nから詰め量Sを算出する。具体的には、上
記の処理の概要で示した(6)式から各文字毎に全ての
候補点ペアから詰め量Sを算出する。一例として字面間
隔量k=「30」とし、基準文字C1 と対象文字C2
各候補点ペアa,b,c,dについて各詰め量Sa ,S
b ,Sc ,Sd を求めると、 詰め量Sa =40±0 ∴詰め量Sa =40 詰め量Sb =50±√500 ∴詰め量Sb =28,72 詰め量Sc =60±30 ∴詰め量Sc =30,90 詰め量Sd =70±30 ∴詰め量Sd =40,100 となる。
In step U32, the control section 1 varies the character spacing k and calculates the padding amount S from the spacing information m and n of all characters in each character spacing k. Specifically, the filling amount S is calculated from all the candidate point pairs for each character from the expression (6) shown in the outline of the above processing. As an example, the character spacing k = “30”, and the padding amounts S a , S for each candidate point pair a, b, c, d of the reference character C 1 and the target character C 2.
When b , S c , and S d are calculated , the filling amount S a = 40 ± 0 ∴ filling amount S a = 40 filling amount S b = 50 ± √500 ∴ filling amount S b = 28,72 filling amount S c = 60 ± 30 ∴ Packing amount S c = 30,90 Packing amount S d = 70 ± 30 ∴ Packing amount S d = 40,100.

【0119】ステップU33では、ステップU32で算
出された詰め量Sのうち、各文字毎に最小の詰め量S
min を求めて詰め量格納部10Hへ格納する。上記の例
では、候補点ペアbから求められた詰め量Sb =28が
最小であるので、基準文字C1と対象文字C2 の詰め量
として最小の詰め量Smin =S1 =28を詰め量格納部
10Hへ格納する。そして、可変した字面間隔量kの各
字面間隔量kについて最小の詰め量Smin を同様にして
算出する。このときの詰め量格納部10Hの模式図は、
図26(a)に示すようになる。また、各対象文字(第
3文字C3 )についても同様にして可変した字面間隔量
kの各字面間隔量kについて最小の詰め量Smin を算出
する。この模式図を図26(b)に示す。なお、最小の
詰め量の格納Smin とともに、最小の詰め量Smin に対
応する字面間隔量kが字面間隔量格納部10Iに格納さ
れる(図26(a),(b)参照)。
In step U33, the minimum padding amount S for each character among the padding amounts S calculated in step U32.
min is calculated and stored in the packing amount storage unit 10H. In the above example, the padding amount S b = 28 obtained from the candidate point pair b is the minimum, so the minimum padding amount S min = S 1 = 28 is set as the padding amount of the reference character C 1 and the target character C 2. It is stored in the filling amount storage unit 10H. Then, the minimum packing amount S min is calculated in the same manner for each of the character face spacing amounts k of the variable character face spacing amount k. The schematic diagram of the filling amount storage unit 10H at this time is
It becomes as shown in FIG. Also, for each target character (third character C 3 ), the minimum padding amount S min is calculated for each face spacing k of the variable face spacing k in the same manner. This schematic diagram is shown in FIG. In addition to the storage S min of the minimum packing amount, the face spacing k corresponding to the minimum packing S min is stored in the face spacing storage unit 10I (see FIGS. 26A and 26B).

【0120】以上の処理によって算出される詰め量格納
部10Hの最小詰め量と、字面間隔量格納部10Iの最
小詰め量に対応する字面間隔量とに基づいて、各対象文
字毎の詰め調整関数が算出されて詰め調整関数格納部1
1に格納される(図26(a),(b)に示すテーブル
形式を参照)。このようにして各対象文字の詰め調整関
数が算出され、図12のステップT2にて総詰め調整関
数が算出される。そして、以降の処理は第1実施例とほ
ぼ同様に行われる。すなわち、総詰め調整関数格納部1
2の総詰め調整関数と、差分文字列長格納部16の差分
文字列長とに基づいて、各対象文字に共通の字面間隔量
が算出される。そして、この各対象文字に共通の字面間
隔量と各対象文字毎の詰め調整関数とに基づいて、各対
象文字の配置詰め量が配置詰め量演算部18によって算
出され、各対象文字の配置詰め量が配置詰め量格納部1
9に格納される(図12のステップT3〜T6)。かか
る処理の後に制御部1は、文字列情報格納部3とフォン
ト格納部6および配置詰め量格納部19を参照して、表
示・出力部20に文字列長を調整した文字列を表示また
は出力する(図12のステップT6)。
The filling adjustment function for each target character is based on the minimum filling amount of the filling amount storage unit 10H calculated by the above processing and the face spacing amount corresponding to the minimum filling amount of the face spacing amount storage unit 10I. Is calculated and the packing adjustment function storage unit 1
1 (see the table format shown in FIGS. 26A and 26B). In this way, the justification adjustment function of each target character is calculated, and the total justification adjustment function is calculated in step T2 of FIG. Then, the subsequent processing is performed in substantially the same manner as in the first embodiment. That is, the total packing adjustment function storage unit 1
Based on the total filling adjustment function of 2 and the difference character string length of the difference character string length storage unit 16, the face gap amount common to each target character is calculated. Then, the placement padding amount of each target character is calculated by the placement padding amount calculation unit 18 based on the face spacing amount common to each target character and the padding adjustment function for each target character, and the placement padding of each target character is calculated. The amount is the arrangement packing amount storage unit 1
9 (steps T3 to T6 in FIG. 12). After such processing, the control unit 1 refers to the character string information storage unit 3, the font storage unit 6, and the placement reduction amount storage unit 19 to display or output the character string with the adjusted character string length on the display / output unit 20. (Step T6 in FIG. 12).

【0121】以上の実施例では、詰め調整関数の詰め量
は正数として説明したが、さらに負数を含めることもで
きる。すなわち、図5(b)に示すように各詰め調整関
数を、字面間隔データを「(文字幅X)×√5」(=ベ
タ組みでの理論上の最大字面間隔に相当)の範囲以内で
求め、前記総和も同様にそれらの総和として求めると、
このときの詰め量は当然ながらその負領域に至ってそれ
ぞれ求められる。この詰め量の総和に基づいて、本実施
例と同様に各対象文字の詰め量を求めると、対象文字の
詰め調整関数によって詰め量が負数になるものが出てく
るが、これによって、本実施例での説明のように正数を
詰めとすると、前述の正・負の詰め量に応じて字面間隔
がそれぞれ狭く・広くなるように配置されることにな
る。見方を変えると、文字間隔が広いところは詰めて、
狭いところは逆に空けて配置されることとなり、やはり
体裁の良い文字配置による行長合わせができる。
In the above embodiments, the filling amount of the filling adjustment function has been described as a positive number, but a negative number may be included. That is, as shown in FIG. 5B, each padding adjustment function is set within the range of “(character width X) × √5” (= equivalent to the theoretical maximum character spacing in a solid combination) for the character spacing data. If the sum is obtained as the sum of those values,
The amount of packing at this time is naturally found in each of the negative regions. If the padding amount of each target character is calculated based on the sum of the padding amounts as in the present embodiment, the padding amount may be a negative number due to the padding adjustment function of the target character. If positive numbers are packed as described in the example, the character spacing will be narrowed and widened according to the positive and negative packing amounts. If you change the way of looking, narrow the spaces where the characters are wide,
On the contrary, the narrow space will be vacated and the line length can be adjusted by the good character layout.

【0122】また、「最初の文字の前間隔a1 を除いた
前側の字面位置」と「最後の文字の後間隔bn を除いた
後側の字面位置」との間隔を行長─言い換えると、見た
目での正味の行長とすると、以上の実施例では基準配置
をベタ組みとしているので、正味の行長としては(a1
+bn )の分だけ短く配置されることになる。これを避
けるためには、(イ)指定行長CLを(a1 +bn )だ
け加算したものとする、あるいは、(ロ)基準文字列長
SLを(a1 +bn )だけ減算したものとして、差分文
字列長DLを求めて同様の詰め配置処理をすればよい。
これを式で表すと、 (イ)の場合、DL=SL−(CL+a1 +bn ) (ロ)の場合、DL=(SL−a1 −bn )−CL となる。
Further, the line length, in other words, the space between "the front face character position excluding the first character front space a 1 " and "the rear character face position excluding the last character rear space b n " Assuming that the net line length is apparent, since the standard arrangement is a solid set in the above embodiments, the net line length is (a 1
+ B n ) will be arranged shorter. To avoid this, it is assumed that (a) the specified line length CL is added by (a 1 + b n ), or (b) the reference character string length SL is subtracted by (a 1 + b n ). Then, the difference character string length DL may be obtained and the similar packing arrangement processing may be performed.
Expressing this by the formula, the case of (b), DL = SL- (CL + a 1 + b n) case (ii), DL = (SL-a 1 -b n) -CL.

【0123】[0123]

【発明の効果】以上の説明から明らかなように、請求項
1に記載の発明によれば、詰め量と両文字の字面同士の
間隔量である字面間隔データとの関係を表す詰め調整関
数を各対象文字について算出し、それらの総和である総
詰め調整関数を算出する。そして、差分文字列長と総詰
め調整関数とに基づいて、各文字に共通の〔配置〕字面
間隔データを算出する。この配置字面間隔データと各対
象文字の詰め調整関数とに基づいて、各文字の字面間隔
が配置字面間隔データとなるような対象文字の個々の配
置詰め量を算出する。したがって、各対象文字の配置詰
め量の総和は、差分文字列長に等しくなり、個々の配置
詰め量で各対象文字を詰め配置することで文字列長を行
長に一致させることができる。さらに各対象文字は、配
置字面間隔データでその隣接文字の字面との間隔が保た
れているので、字面が重複することがない。すなわち、
従来方法で行われている、各文字間隔を「均等に」詰め
ることによって生じる、ある2つの文字同士の字面間隔
には余裕があり、別の2つの文字同士の字面間隔は狭く
なったり重複するという体裁の悪化は生じないで文字同
士の字面形状にかかわりなく、どのような文字を含む文
字列であっても文字列長を指定行長に一致させることが
できる。さらに、行長を指定するだけで文字列長がその
長さに一致するように自動調整されるので、作業効率が
よい。
As is apparent from the above description, according to the first aspect of the present invention, a filling adjustment function that represents the relationship between the filling amount and the face spacing data, which is the spacing between the faces of both characters, is provided. The calculation is performed for each target character, and the total closing adjustment function that is the sum of them is calculated. Then, based on the difference character string length and the total closing adjustment function, [arrangement] character spacing data common to each character is calculated. Based on the layout character spacing data and the packing adjustment function for each target character, the individual layout packing amounts of the target characters such that the character spacing of each character becomes the layout character spacing data are calculated. Therefore, the sum of the placement reduction amounts of the respective target characters is equal to the difference character string length, and the character string length can be matched with the line length by placing the respective target characters according to the placement reduction amount. Furthermore, since the distance between each target character and the character surface of the adjacent character is maintained by the arranged character surface distance data, the character surfaces do not overlap. That is,
There is a margin in the character spacing between two characters, which is caused by packing the character spacing "equally", which is done by the conventional method, and the character spacing between two other characters becomes narrow or overlaps. The appearance of the character does not deteriorate, and the character string length can be made to match the specified line length regardless of the character shape of the characters, regardless of the character string. Furthermore, the work efficiency is good because the character string length is automatically adjusted so as to match the length by simply specifying the line length.

【0124】また、請求項2に記載の発明によれば、隣
接文字の字面の2次元的な間隔に応じて個々の対象文字
の詰め量を算出するので、文字の「くい込み」を許容し
て体裁良く文字列長を行長に一致させることができる。
さらに、候補点ペアを求める処理を行っているので、処
理対象となるドット対の数が少なくなり、それだけ詰め
処理を速く行うことができる。
Further, according to the second aspect of the invention, since the filling amount of each target character is calculated according to the two-dimensional spacing of the character faces of the adjacent characters, the character "bite" is allowed. The character string length can be made to match the line length in a good appearance.
Furthermore, since the process of obtaining the candidate point pairs is performed, the number of dot pairs to be processed is reduced, and the filling process can be performed faster.

【0125】また、請求項3に記載の発明によれば、詰
め調整関数を、基準文字と対象文字の各仮想ボディと各
々の字面との間隔のうち、文字配列方向で隣同士に位置
する二つの間隔の合計値と、対象文字の各詰め量との割
合を詰め率で表した関数とするので、隣接する文字の字
面同士が重複することなく、すなわち、字面寸法を考慮
しつつも、文字列長を行長に一致させることができる。
According to the third aspect of the present invention, the filling adjustment function is set to a value which is set between two adjacent characters in the character arrangement direction in the distance between each character body and each virtual body of the reference character and the target character. As a function that represents the ratio between the total value of the two intervals and each filling amount of the target character by the filling ratio, the character faces of adjacent characters do not overlap, that is, while considering the character size, The column length can match the row length.

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

【図1】詰め配置の説明に供する図である。FIG. 1 is a diagram for explaining a packing arrangement.

【図2】詰め調整関数のグラフである。FIG. 2 is a graph of a filling adjustment function.

【図3】詰め配置の説明に供する図である。FIG. 3 is a diagram for explaining a packing arrangement.

【図4】詰め調整関数のグラフである。FIG. 4 is a graph of a filling adjustment function.

【図5】総詰め調整関数のグラフである。FIG. 5 is a graph of a total closing adjustment function.

【図6】文字列を示す模式図である。FIG. 6 is a schematic diagram showing a character string.

【図7】文字列長調整後の文字列を示す模式図である。FIG. 7 is a schematic diagram showing a character string after the character string length is adjusted.

【図8】実施例に係る文字組版編集装置の概略構成を示
すブロック図である。
FIG. 8 is a block diagram showing a schematic configuration of a character typesetting editing device according to an embodiment.

【図9】フォントファイルの構造を示す模式図である。FIG. 9 is a schematic diagram showing the structure of a font file.

【図10】文字列長調整処理を示すフローチャートであ
る。
FIG. 10 is a flowchart showing a character string length adjustment process.

【図11】文字列データの模式図である。FIG. 11 is a schematic diagram of character string data.

【図12】配置詰め量算出処理を示すフローチャートで
ある。
FIG. 12 is a flowchart showing a placement packing amount calculation process.

【図13】文字列を示す模式図である。FIG. 13 is a schematic diagram showing a character string.

【図14】詰め配置の説明に供する図である。FIG. 14 is a diagram for explaining a packing arrangement.

【図15】詰め調整関数を示すグラフである。FIG. 15 is a graph showing a packing adjustment function.

【図16】詰め調整関数を示すグラフである。FIG. 16 is a graph showing a filling adjustment function.

【図17】総詰め調整関数を示すグラフである。FIG. 17 is a graph showing a total closing adjustment function.

【図18】文字列長調整後の文字列を示す模式図であ
る。
FIG. 18 is a schematic diagram showing a character string after the character string length is adjusted.

【図19】第2実施例に係る詰め調整関数算出部を示す
ブロック図である。
FIG. 19 is a block diagram showing a fill adjustment function calculation unit according to the second embodiment.

【図20】ベクトルデータ上での候補点ペアの抽出方法
の説明に供する図である。
FIG. 20 is a diagram provided for explaining a method of extracting a candidate point pair on vector data.

【図21】ドッパターンデータ上での候補点ペアの抽出
方法の説明に供する図である。
FIG. 21 is a diagram for explaining a method of extracting a candidate point pair on the Dot pattern data.

【図22】ドッパターンデータ上での候補点ペアの抽出
方法の説明に供する図である。
FIG. 22 is a diagram for explaining a method of extracting a candidate point pair on the Dot pattern data.

【図23】ドッパターンデータ上での候補点ペアの抽出
方法の説明に供する図である。
FIG. 23 is a diagram for explaining a method of extracting a candidate point pair on the Dot pattern data.

【図24】最短間隔と詰め量との関係および詰め調整関
数を示すグラフである。
FIG. 24 is a graph showing the relationship between the shortest interval and the filling amount and the filling adjustment function.

【図25】詰め調整関数および総詰め調整関数を示すグ
ラフである。
FIG. 25 is a graph showing a filling adjustment function and a total filling adjustment function.

【図26】テーブル形式の詰め調整関数および総詰め調
整関数を示す模式図である。
FIG. 26 is a schematic diagram showing a table-shaped packing adjustment function and a total packing adjustment function.

【図27】文字列長調整後の文字列を示す模式図であ
る。
FIG. 27 is a schematic diagram showing a character string after the character string length is adjusted.

【図28】候補点ペアの抽出処理のフローチャートであ
る。
FIG. 28 is a flowchart of a candidate point pair extraction process.

【図29】候補点ペアの抽出処理のフローチャートであ
る。
FIG. 29 is a flowchart of a candidate point pair extraction process.

【図30】ドットパターン列展開メモリの模式図であ
る。
FIG. 30 is a schematic diagram of a dot pattern row expansion memory.

【図31】ドットパターン列展開メモリの模式図であ
る。
FIG. 31 is a schematic diagram of a dot pattern row expansion memory.

【図32】候補点ペアの抽出の説明に供する図である。FIG. 32 is a diagram for explaining extraction of a candidate point pair.

【図33】候補点ペアの抽出の説明に供する図である。FIG. 33 is a diagram for explaining extraction of candidate point pairs.

【図34】候補点ペアの抽出の説明に供する図である。FIG. 34 is a diagram for explaining extraction of candidate point pairs.

【図35】候補点ペアの抽出の説明に供する図である。FIG. 35 is a diagram for explaining extraction of candidate point pairs.

【図36】全文字処理後の候補点ペア格納部の模式図で
ある。
FIG. 36 is a schematic diagram of a candidate point pair storage unit after processing of all characters.

【図37】最小の詰め量の算出処理のフローチャートで
ある。
FIG. 37 is a flowchart of a process for calculating the minimum packing amount.

【図38】全文字処理後の間隔情報格納部の模式図であ
る。
FIG. 38 is a schematic diagram of an interval information storage unit after processing of all characters.

【図39】文字構造を示す図である。FIG. 39 is a diagram showing a character structure.

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

1 … 制御部 2a … 文字列入力部 2b … 指示部 3 … 文字列情報格納部 4 … 行長入力部 5 … 行長格納部 6 … フォント格納部 10 … 詰め調整関数算出部 11 … 詰め調整関数格納部 12 … 総詰め調整関数格納部 15 … 基準文字列長格納部 16 … 差分文字列長格納部 17 … 配置字面間隔データ格納部 18 … 配置詰め量演算部 19 … 配置詰め量格納部 1 ... Control unit 2a ... Character string input unit 2b ... Indication unit 3 ... Character string information storage unit 4 ... Line length input unit 5 ... Line length storage unit 6 ... Font storage unit 10 ... Filling adjustment function calculation unit 11 ... Filling adjustment function Storage unit 12 ... Total packing adjustment function storage unit 15 ... Reference character string length storage unit 16 ... Difference character string length storage unit 17 ... Arranged character spacing data storage unit 18 ... Arrangement padding amount calculation unit 19 ... Arrangement padding amount storage unit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 文字の配置単位である仮想ボディの内方
に、文字形状を表す字面を配置してなる複数個の文字を
所定の配列方向に配置する際に、配置される全文字列の
長さが、指定された行長に一致するように調整する文字
列長調整方法であって、 前記行長を入力する過程と、 前記各文字の隣接する2つの文字のうち、先に配置され
る文字(基準文字)と前記配列方向に配置される文字
(対象文字)を、両文字の基準配置状態から前記基準文
字に対して詰めて配置させた場合の詰め量と、前記詰め
量における両文字の字面同士の間隔量(字面間隔量)と
の関係を表す関数(詰め調整関数)を、各対象文字につ
いて算出する過程と、 前記算出された各詰め調整関数の字面間隔量を基準とす
る詰め量の総和(総詰め調整関数)を算出する過程と、 前記各対象文字をそれぞれに対応する各基準文字に対し
て基準配置し、その基準文字列長を算出する過程と、 前記入力された行長と前記基準文字列長との差分(差分
文字列長)を算出する過程と、 前記差分文字列長を必要な詰め量の総和として前記総詰
め調整関数により配置字面間隔量を算出する過程と、 前記配置字面間隔量と前記各対象文字の各詰め調整関数
とに基づいて、各対象文字の個々の詰め量(配置詰め
量)を算出する過程と、 前記各対象文字の個々の配置詰め量で、各対象文字をそ
れぞれに対応する各基準文字に対して詰め配置する過程
と、 を含むことを特徴とする文字列長調整方法。
1. When arranging a plurality of characters, each having a character surface representing a character shape, in a predetermined arrangement direction inside a virtual body which is a character arrangement unit, all character strings to be arranged are arranged. A method for adjusting a character string length for adjusting a length to match a specified line length, wherein the process of inputting the line length and the two adjacent characters of each character are arranged first. Character (reference character) and the character arranged in the arrangement direction (target character) are packed with respect to the standard character from the standard layout state of both characters, and A process of calculating a function (filling adjustment function) representing the relationship between the spacing between the character faces (filling spacing function) for each target character, and using the calculated face spacing of each packing adjustment function as a reference The process of calculating the sum of the filling amounts (total filling adjustment function), A process of arranging each target character with respect to each corresponding reference character and calculating a reference character string length, and a difference between the input line length and the reference character string length (difference character string length ), A step of calculating the layout character spacing by the total packing adjustment function with the difference character string length as a sum of required packings, and the packing adjustment of each layout and the layout character spacing. The process of calculating the individual packing amount (alignment packing amount) of each target character based on the function and the individual packing amount of each target character A method for adjusting the character string length, which includes the step of arranging the characters in a string.
【請求項2】 請求項1に記載の方法において、前記詰
め調整関数は、 前記対象文字のドットパターンを、基準文字のドットパ
ターンに向けて1ドットづつシフトさせ、そのシフト毎
に、前記シフト方向と直交する方向にて両ドットパター
ン間が最短間隔となる一対のドット(候補点ペア)を求
める過程と、 前記両文字の仮想ボディが接する状態における前記各候
補点ペア間の前記シフト方向の間隔情報とこれに直交す
る方向の間隔情報とを記憶する過程と、 前記各候補点ペアのシフト方向の間隔情報と、これに直
交する方向の間隔情報とに基づいて、前記両文字の仮想
ボディが接した状態から対象文字を基準文字に対して接
近させたときの詰め量と、各詰め量における各候補点ペ
アの最短間隔である2次元的な間隔量(字面間隔量)と
を各候補点ペアそれぞれについて算出する過程と、 前記算出された各詰め量のうち、最小となる詰め量を求
める過程と、 から算出される前記字面間隔量と前記詰め量との関係を
表す関数であることを特徴とする文字列長調整方法。
2. The method according to claim 1, wherein the filling adjustment function shifts the dot pattern of the target character toward the dot pattern of the reference character by one dot, and the shift direction is changed for each shift. A step of obtaining a pair of dots (pairs of candidate points) having the shortest distance between both dot patterns in a direction orthogonal to, and a gap in the shift direction between each pair of candidate points in a state where the virtual bodies of the two characters are in contact with each other. Based on the process of storing the information and the interval information in the direction orthogonal thereto, based on the interval information in the shift direction of each candidate point pair and the interval information in the direction orthogonal thereto, the virtual bodies of the two characters are The filling amount when the target character is brought closer to the reference character from the contact state and the two-dimensional spacing amount (character spacing amount) which is the shortest spacing between each candidate point pair in each filling amount A process for calculating each candidate point pair, a process for obtaining a minimum packing amount among the calculated packing amounts, and a function representing the relationship between the face spacing and the packing amount calculated from A method for adjusting a character string length, which is characterized in that
【請求項3】 文字の配置単位である仮想ボディの内方
に、文字形状を表す字面を配置してなる複数個の文字を
所定の配列方向に配置する際に、配置される全文字列の
長さが、指定された行長に一致するように調整する文字
列長調整方法であって、 前記行長を入力する過程と、 前記各文字の隣接する2つの文字のうち、先に配置され
る文字(基準文字)と前記配列方向に配置される文字
(対象文字)の基準配置における字面同士の配列方向の
間隔量と該間隔量に対する前記対象文字の各詰め量の割
合を詰め率で表す関数(詰め調整関数)を算出する過程
と、 前記詰め率を基準とする前記各詰め調整関数の詰め量の
総和(総詰め調整関数)を算出する過程と、 前記各対象文字を対応する各基準文字に対して基準配置
し、その基準文字列長を算出する過程と、 前記入力された行長と前記基準文字列長との差分(差分
文字列長)を算出する過程と、 前記差分文字列長を必要な詰め量の総和として前記総詰
め調整関数により配置詰め率を算出する過程と、 前記配置詰め率と前記各対象文字の各詰め調整関数とに
基づいて、各対象文字の個々の詰め量(配置詰め量)を
算出する過程と、 前記各対象文字の個々の配置詰め量で、各対象文字をそ
れぞれに対応する各基準文字に対して詰め配置する過程
と、 を含むことを特徴とする文字列長調整方法。
3. When arranging a plurality of characters, in which character faces representing a character shape are arranged in a predetermined arrangement direction, inside a virtual body which is a character arrangement unit, all character strings to be arranged are arranged. A method for adjusting a character string length for adjusting a length to match a specified line length, wherein the process of inputting the line length and the two adjacent characters of each character are arranged first. Character (reference character) and the character arranged in the arrangement direction (target character) in the reference arrangement in the arrangement direction of the character planes in the arrangement direction, and the ratio of each filling amount of the target character to the spacing amount are represented by the filling ratio. A step of calculating a function (packing adjustment function), a step of calculating the sum of the packing amounts of the packing adjustment functions (total packing adjustment function) based on the packing ratio, and a reference corresponding to each target character. Arrangement is standard for characters, and the standard string length is calculated. And a step of calculating a difference between the input line length and the reference character string length (difference character string length), and the difference character string length as a sum of required packing amounts by the total packing adjustment function. A step of calculating a placement packing ratio; a step of calculating an individual packing amount (layout packing amount) of each target character based on the layout packing ratio and each packing adjustment function of each target character; A method for adjusting the length of a character string, characterized by including a step of arranging each target character with respect to each corresponding reference character with an arrangement amount of each character.
JP6289044A 1994-10-27 1994-10-27 Character column length regulating method Pending JPH08118581A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6289044A JPH08118581A (en) 1994-10-27 1994-10-27 Character column length regulating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6289044A JPH08118581A (en) 1994-10-27 1994-10-27 Character column length regulating method

Publications (1)

Publication Number Publication Date
JPH08118581A true JPH08118581A (en) 1996-05-14

Family

ID=17738107

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6289044A Pending JPH08118581A (en) 1994-10-27 1994-10-27 Character column length regulating method

Country Status (1)

Country Link
JP (1) JPH08118581A (en)

Similar Documents

Publication Publication Date Title
US7492366B2 (en) Method and system of character placement in opentype fonts
JP3354754B2 (en) Kerning treatment method
CN101183283A (en) Method for directly writing handwriting information
JP3014247B2 (en) Character generation method and device
JP2828592B2 (en) Kerning treatment method
JPH01271275A (en) Character-to-character pitch processing
JPH08161309A (en) Word processor
JP3408685B2 (en) Kerning treatment method
JPH08118581A (en) Character column length regulating method
JP2001216292A (en) Layout image editing device and layout image editing method
JP3544721B2 (en) Text composition editing device
JP3034140B2 (en) Character generation method and device
JP3663865B2 (en) Form processing apparatus and storage medium
US11715317B1 (en) Automatic generation of training data for hand-printed text recognition
JP2699974B2 (en) Pattern registration method
Kuney et al. Computerized typesetting of complex scientific material
JPS63186366A (en) Document preparing device
JPH03269665A (en) Original character drawing/character font control system
CN114139494A (en) Design document generation method and device, computer equipment and storage medium
JP2965429B2 (en) Character output device
JPH04218094A (en) Outline font processor
JPH06270373A (en) Table work system
JPH06168309A (en) Device and method for displaying graphic processing
JPS61296388A (en) Rule deletion
JPH02132492A (en) Character pattern generating system