JPH04216594A - Character gap adjustment method - Google Patents
Character gap adjustment methodInfo
- Publication number
- JPH04216594A JPH04216594A JP2417747A JP41774790A JPH04216594A JP H04216594 A JPH04216594 A JP H04216594A JP 2417747 A JP2417747 A JP 2417747A JP 41774790 A JP41774790 A JP 41774790A JP H04216594 A JPH04216594 A JP H04216594A
- Authority
- JP
- Japan
- Prior art keywords
- character
- characters
- spacing
- frame
- specific information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims description 20
- 238000003672 processing method Methods 0.000 claims description 2
- 235000016496 Panda oleosa Nutrition 0.000 abstract description 3
- 240000000220 Panda oleosa Species 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 6
- 230000003247 decreasing effect Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Landscapes
- Dot-Matrix Printers And Others (AREA)
- Character Spaces And Line Spaces In Printers (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
【0001】0001
【産業上の利用分野】本発明は、出力装置に於ける文字
フォント出力に係り、特に比較的大型のアウトラインフ
ォントを上記の出力装置に出力するときの文字間隔調整
方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to character font output on an output device, and more particularly to a method for adjusting character spacing when outputting a relatively large outline font to the above-mentioned output device.
【0002】0002
【従来の技術】従来、英数文字を扱う分野では、文字の
固有の幅とは無関係に一定の字送りを行なう等間隔配置
と、各々の文字が固有に持つ文字幅をいくつかのグルー
プに分類してその内容に応じた字送りを行なうプロポー
ショナルスペーシング処理が行なわれているものがある
。また、日本語のかな文字や漢字に関しては、文字幅や
高さとは無関係に一定の字送りを行なう等間隔配置を行
なうものが通常である。文字間隔を調整できるものでも
、1文字毎に文字間隔を指定しようとする場合には使用
者が個別に操作する必要がある。[Prior Art] Conventionally, in the field of dealing with alphanumeric characters, there have been techniques for equally spaced placement that performs constant forwarding regardless of the character's inherent width, and for grouping each character's own character width into several groups. Some use proportional spacing processing to classify and advance according to the content. Furthermore, Japanese kana and kanji characters are usually arranged at equal intervals with constant character feeding regardless of character width or height. Even if the character spacing can be adjusted, the user must perform individual operations to specify the character spacing for each character.
【0003】0003
【発明が解決しようとする課題】上記従来技術において
日本語文字列を扱う際には、よう音や促音や縦組み時の
「へ」や横組み時の「く」などのように、他の文字より
前後に多くの空白があいてしまう事により文字間隔が見
かけ上不ぞろいになり、出力された文字列の文字間隔が
不自然で読みにくいものとなってしまう。また、英数文
字を扱う際にプロポーショナルスペーシング処埋を行な
ったとしても「V」の後に「A」の文字が続くような場
合には、文字固有の形状の組み合せにより文字間に多く
の空白があいてしまうか逆に接近しすぎてしまう事によ
り、不自然で読みにくいものとなってしまう。さらに、
使用者が文字毎に逐次文字間隔を操作する方法について
は、あまりにも操作が煩雑になる問題がある。[Problem to be Solved by the Invention] When handling Japanese character strings in the above-mentioned conventional technology, other characters such as syllables, consonants, "he" in vertical writing, "ku" in horizontal writing, etc. If there are many spaces before and after the characters, the spacing between the characters will appear to be uneven, and the spacing between the characters in the output character string will be unnatural and difficult to read. Also, even if proportional spacing is applied when handling alphanumeric characters, if the letter “A” follows a “V”, there will be many spaces between the characters due to the combination of the unique shapes of the letters. If they are too wide apart or too close together, it will look unnatural and difficult to read. moreover,
Regarding the method in which the user sequentially manipulates the character spacing for each character, there is a problem that the operation becomes too complicated.
【0004】本発明の目的は、日本語文字や英数文字な
らびに記号を、縦組みあるいは横組みあるいはそれらの
混在した文字列として出力する際に、単にプロポーショ
ナルスペーシング処理を行なうのみならず、隣り合う文
字の隣接する辺の部分的なおうとつ形状を考慮した文字
間隔調整処理までをも行なうことにより、自然で読みや
すい文字出力を得るために文字列中の文字間隔を最適に
調整する方法を提供することにある。An object of the present invention is to not only perform proportional spacing processing but also to perform proportional spacing processing when outputting Japanese characters, alphanumeric characters, and symbols as vertical or horizontal text, or character strings containing a mixture of these. By even performing character spacing adjustment processing that takes into account the partial shape of the adjacent sides of matching characters, we have developed a method for optimally adjusting the character spacing in a string to obtain natural and easy-to-read character output. It is about providing.
【0005】[0005]
【課題を解決するための手段】本発明による文字間隔調
整方式は、文字列を出力装置に出力する際に文字間隔を
制御する処理方法であって、個々の文字において仮想文
字枠の4辺を複数の領域に分割したときの各領域内の仮
想文字枠と文字の実体との差と、縦組み時の左右シフト
量ならびに横組み時の上下シフト量を文字固有情報テー
ブルとして保持することにより、他の文字と隣接する部
分の形状を数値化して記録しておく手段と、出力する文
字が縦組みであるか横組みであるかにより左右または上
下のシフト量を算出する手段と、上記の文字固有情報テ
ーブルとシフト量から2つの文字の隣接する辺の各領域
を判断することにより固有の文字幅と2つの文字の組み
合せによる文字間隔を算出する手段とを備え、出力装置
に文字列として出力しようとする際に1行の文字列中の
各々の文字について、上記のシフト量算出部によって左
右または上下のシフト量を求めるとともに、上記の文字
間隔算出部によって文字間隔を求めることを特徴とする
ものである。[Means for Solving the Problems] The character spacing adjustment method according to the present invention is a processing method for controlling the character spacing when outputting a character string to an output device. By storing the difference between the virtual character frame and the actual character in each area when divided into multiple areas, the amount of left/right shift in vertical writing, and the amount of vertical shift in horizontal writing as a character-specific information table, A means for numerically recording the shape of the part adjacent to other characters, a means for calculating the amount of left/right or up/down shift depending on whether the character to be output is in vertical or horizontal writing, and the above character Equipped with a means for calculating a unique character width and a character spacing for a combination of two characters by determining each area of adjacent sides of two characters from a unique information table and a shift amount, and outputting it as a character string to an output device. When attempting to do so, the shift amount calculation unit calculates the horizontal or vertical shift amount for each character in one line of character strings, and the character spacing calculation unit calculates the character spacing. It is something.
【0006】上記の文字固有情報テーブルは、個々の文
字について仮想文字枠の4辺を複数の領域に分割し、各
領域について仮想文字枠と当該文字の実体との差と、縦
組み時の左右シフト量ならびに横組み時の上下シフト量
を、仮想文字枠のサイズに対する比であらわした数値の
集合であり、一定の規則で文字コードに対応することに
より容易にその値を得ることができるように配列された
ものである。文字固有情報テーブルは文字フォントと同
様に、1種類の書体に対してそれぞれ1つを備えるもの
であり、さらに、文字フォントが別のファイルに記録さ
れている場合には、文字フォントの格納位置等のインデ
ックス情報をあわせて記録したものであってもよい。The above character-specific information table divides the four sides of the virtual character frame for each character into a plurality of areas, and for each area, calculates the difference between the virtual character frame and the actual character, and the left and right positions in vertical writing. It is a set of numerical values that express the shift amount and the vertical shift amount in horizontal writing as a ratio to the size of the virtual character frame, and the value can be easily obtained by corresponding to the character code according to certain rules. It is arranged. As with character fonts, there is one character-specific information table for each type of font, and if the character font is recorded in a separate file, the storage location of the character font, etc. The index information may also be recorded.
【0007】上記のシフト量算出部は、出力しようとす
る文字が縦組みあるいは横組みのいずれであるかにより
、左右のシフト量を調整するかあるいは上下のシフト量
を調整するかを判断し、さらにその値を算出するもので
ある。The shift amount calculation unit determines whether to adjust the horizontal shift amount or the vertical shift amount depending on whether the characters to be output are in vertical or horizontal writing, Furthermore, the value is calculated.
【0008】上記の文字間隔算出部は、出力しようとす
る文字の仮想文字枠のサイズと上記の文字固有情報テー
ブルと算出されたシフト量の値を用いて、直前の文字の
終端の辺と次に出力する文字の向き合うべき辺の対応関
係を判断し、次にその2つの辺の各領域を評価して2つ
の文字が重ならない最小の文字間隔を基準とし、その値
に文字の間に空けるべき一定の間隔を加えることにより
文字列中の文字の実体が均等な間隔となるべき値を各々
の文字間において算出するものである。さらに、文字列
中の各文字のサイズの指定が均一ではない場合にも、文
字間において空けるべき間隔を隣り合う2つの文字のサ
イズの平均値に対して均等な比に調整することにより、
文字のサイズに比例して文字間隔を増減させ得るもので
ある。[0008] The above-mentioned character spacing calculation unit uses the size of the virtual character frame of the character to be output, the above-mentioned character-specific information table, and the calculated shift amount value to calculate the distance between the end side of the previous character and the next character. Determine the correspondence between the sides of the characters to be output that should face each other, then evaluate each area of those two sides, use the minimum character spacing that does not overlap two characters as the standard, and set the space between the characters to that value. By adding constant spacing to the exponent, the value at which the actual characters in the character string should be evenly spaced is calculated between each character. Furthermore, even if the size of each character in a character string is not uniform, by adjusting the spacing between characters to an equal ratio to the average size of two adjacent characters,
The character spacing can be increased or decreased in proportion to the character size.
【0009】[0009]
【作用】本発明の文字間隔調整方式は、文字固有情報テ
ーブル上に出力時のシフト量が表されていると共に、前
後の文字と隣接する部分の形状が複数の領域に分割され
た数値によって表されているので、直前の文字の終端部
分の形状と次に並ぶ文字の隣接する部分の形状とを比較
することにより、あらゆる組み合わせの文字間隔を最適
に調節することができる。[Operation] In the character spacing adjustment method of the present invention, the amount of shift at the time of output is represented on the character-specific information table, and the shapes of the preceding and following characters and adjacent parts are represented by numerical values divided into multiple areas. Therefore, by comparing the shape of the terminal part of the immediately preceding character with the shape of the adjacent part of the next character, it is possible to optimally adjust the character spacing for any combination.
【0010】これにより、使用者は個々の文字毎に逐次
文字間隔を操作する事なく、あらゆる書体のあらゆる組
み合わせの文字列について、自然で調和のとれた文字間
隔で文字出力を得ることができる。[0010] This allows the user to output character strings with natural and harmonious character spacing for any combination of character strings in any font without having to sequentially manipulate the character spacing for each individual character.
【0011】[0011]
【実施例】以下、本発明の、一実施例について図面を参
照して詳細に説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below in detail with reference to the drawings.
【0012】第1図は本発明の一実施例のブロック図で
あり、中央演算処理部102に読み込まれた処理プログ
ラム104を操作部101によって操作し、出力部10
3に目的の文字列を出力するものである。操作部101
は、目的の文字列と各々の文字に対する変形や拡大等の
属性や出力開始位置を入力し、中央演算処理部102に
読み込まれた処理プログラム104を操作する。本発明
の文字間隔調整方法で用いるシフト量算出部105と文
字間隔算出部106は、処理プログラム104の一部分
として中央演算処理部102に読み込まれ、文字固有情
報テーブル107を参照し所定の演算を行なうことによ
り文字の出力位置を決定し文字フォント108を展開す
る。表示装置、プロッタ、プリンタ等の出力部103は
、中央演算処理部102から送られる制御信号に従って
文字列を出力(表示または描画もしくは印字)する。FIG. 1 is a block diagram of an embodiment of the present invention, in which a processing program 104 loaded into a central processing unit 102 is operated by an operation unit 101, and an output unit 10 is operated.
3 outputs the desired character string. Operation unit 101
inputs the target character string, attributes such as transformation and enlargement for each character, and output start position, and operates the processing program 104 loaded into the central processing unit 102. The shift amount calculation unit 105 and character spacing calculation unit 106 used in the character spacing adjustment method of the present invention are read into the central processing unit 102 as part of the processing program 104, and perform predetermined calculations with reference to the character specific information table 107. By doing this, the character output position is determined and the character font 108 is developed. An output unit 103 such as a display device, plotter, or printer outputs (displays, draws, or prints) a character string in accordance with a control signal sent from the central processing unit 102.
【0013】文字固有情報テーブル107は、個々の文
字について仮想文字枠の周囲4辺を複数(第3図301
および302の例では3つ)の領域に分割したときの、
各領域について仮想文字枠と当該文字の実体との差と、
縦組み時の左右シフト量ならびに横組み時の上下シフト
量を、仮想文字枠のサイズに対する比であらわした数値
の集合であり、一定の規則で文字コードに対応すること
により、指定された文字の文字コードから容易に目的の
値を得ることができるように配列されたものである。The character specific information table 107 has information on each of the four sides of the virtual character frame for each character (301 in FIG. 3).
and 3 in the example of 302).
For each area, the difference between the virtual character frame and the actual character,
It is a set of numerical values that express the horizontal shift amount in vertical writing and the vertical shift amount in horizontal writing as a ratio to the size of the virtual character frame.By corresponding to the character code according to certain rules, the specified character They are arranged so that the desired value can be easily obtained from the character code.
【0014】第3図は、文字固有情報テーブルに含まれ
る値の意味と文字間隔計算方法を示す図である。301
および302の例ではひらがなの「あ」の文字の仮想文
字枠の周囲4辺を、各々3つの領域に分割し、仮想文字
枠と各々の領域内における文字の実体の差を得ている。
301では上下の辺を3分割して、それぞれの領域で仮
想文字枠と文字「あ」の実体の上部との差A1,A2,
A3および文字「あ」の実体の下部との差B1,B2,
B3を求めている。302では左右の辺について同様に
C1,C2,C3およびD1,D2,D3を求めている
。この場合の文字の実体とは、仮想文字枠内に占める文
字の物理的な領域だけではなく、例えば「つ」や「し」
などの文字中にあって審美的に必要とされる空白の領域
をも含むものとする。縦組みの場合には直前の文字につ
いての値B1,B2,B3と次にならぶ文字の値A1,
A2,A3が参照され、横組みの場合には直前の文字に
ついての値D1,D2,D3と次にならぶ文字の値C1
,C2,C3が参照される。さらに303に示すように
、よう音の「ゅ」などを縦組みする際に左右にシフトす
る量Gと304に示すようにアルファベットの「y」な
どを横組みにする際に上下にシフトする量Hを併せて文
字固有情報テーブルに記録しておく事により、連続する
文字の隣接する辺同士において上下または左右方向に文
字シフトがある場合にも、どの領域とどの領域とが主に
対向するかを判断し対向する領域に対して所定の演算を
行なうことによって、文字間隔を最適に調整することが
できるように構成されたものである。FIG. 3 is a diagram showing the meanings of values included in the character specific information table and a method for calculating character spacing. 301
In the example 302, the four sides around the virtual character frame of the hiragana character "a" are each divided into three areas, and the difference between the virtual character frame and the actual character in each area is obtained. In 301, the upper and lower sides are divided into three parts, and in each area, the difference A1, A2,
Differences between A3 and the lower part of the entity of the letter "a" B1, B2,
I'm looking for B3. In step 302, C1, C2, C3 and D1, D2, D3 are similarly obtained for the left and right sides. In this case, the actual character is not only the physical area of the character that occupies within the virtual character frame, but also
It also includes blank areas that are aesthetically necessary in characters such as . In the case of vertical writing, the values B1, B2, B3 for the immediately preceding character and the values A1, B3 for the next character,
A2 and A3 are referenced, and in the case of horizontal writing, the values D1, D2, D3 of the immediately preceding character and the value C1 of the next character
, C2, and C3 are referenced. Furthermore, as shown in 303, the amount G that is shifted left and right when writing the syllable "u" etc. vertically, and the amount that is shifted up and down when writing the alphabet "y" etc. vertically as shown in 304. By recording H in the character-specific information table, even if there is a character shift in the vertical or horizontal direction between adjacent sides of consecutive characters, it is possible to determine which area mainly opposes which area. The character spacing can be optimally adjusted by determining the character spacing and performing predetermined calculations on the opposing areas.
【0015】第2図は、第1図におけるブロック図を用
いた場合の処理の流れの一例である。FIG. 2 is an example of the flow of processing when the block diagram in FIG. 1 is used.
【0016】まず、処理プログラム104は文字列中の
1番目の文字を出力するために、直前に連続する文字(
以下、直前文字と称する)の文字情報を初期化する。
次に、直前文字に連続して今回出力しようとする文字(
以下、当文字と称する)についての書体やサイズや変形
ならびに組み方向等の属性を操作部またはあらかじめ作
成されたファイルから求め、文字固有情報テーブル10
7から対応する文字固有情報を読み出す。First, in order to output the first character in the character string, the processing program 104 outputs the immediately preceding consecutive characters (
(hereinafter referred to as the immediately preceding character) character information is initialized. Next, the character that you are trying to output this time (
The attributes such as the font, size, deformation, and writing direction of the character (hereinafter referred to as the character) are obtained from the operation panel or from a pre-created file, and the character-specific information table 10
The corresponding character specific information is read from 7.
【0017】シフト量算出部105は、当文字が縦組み
あるいは横組みのいずれであるかにより、左右のシフト
量を調整するかあるいは上下のシフト量を調整するかを
判断し、さらにその値を算出する。文字間隔算出部10
6は当文字のサイズと上記の文字固有情報テーブル10
7の値と算出されたシフト量の値を用いて、直前文字の
終端の辺と当文字の向き合うべき辺の対応関係を判断し
、次にその2つの辺の各領域を評価する。対面する各領
域同士についてそれぞれ文字固有情報テーブルの値を加
算し、それらの中の最小値だけ後に続く文字を重ねあわ
せることにより2つの文字が重ならない最小の文字間隔
を算出する。例えば図3の「ゅ」303と「y」304
の2文字を横組みにする場合、「y」304の文字がH
の値だけ下方にシフトすることにより、対向する領域が
1つ下方にずれるため、E1とW2(文字「y」の仮想
文字枠の全幅)、E2とF1、E3とF2、W1(文字
「ゅ」の仮想文字枠の全幅)とF3の4つの組み合せに
ついてそれぞれ加算を行ない、それらの値の中の最小値
を求める計算を行なう。上下方向の文字シフト量Hが小
さいために対向する領域がずれない場合は、D1とC1
,D2とC2,D3とC3の3つの組み合せで上記の計
算を行なう。これにより得られた最小の文字間隔を基準
とし、当文字が文字列中の第1番目の文字でない時には
その値に文字の間に空ける一定の間隔を加えることによ
り文字列中の文字の実体が均等な間隔となるべき値を算
出する。The shift amount calculating unit 105 determines whether to adjust the left/right shift amount or the vertical shift amount depending on whether the character is in vertical or horizontal writing, and further calculates the value. calculate. Character spacing calculation unit 10
6 is the size of the character and the character specific information table 10 above.
Using the value of 7 and the value of the calculated shift amount, the correspondence between the end side of the immediately preceding character and the side that should face the current character is determined, and then each region of the two sides is evaluated. The values of the character specific information table are added for each of the facing areas, and the minimum character interval between the two characters is calculated by overlapping the following characters by the minimum value. For example, “u” 303 and “y” 304 in Figure 3
When writing the two characters horizontally, the character "y" 304 becomes H
By shifting the opposing areas downward by the value of '' (total width of the virtual character frame) and F3, and calculate the minimum value among these values. If the vertical character shift amount H is small and the opposing areas do not shift, D1 and C1
, D2 and C2, and D3 and C3. Based on the minimum character spacing obtained by this, if the character in question is not the first character in the string, add a certain amount of space between the characters to that value to determine the actual character of the character in the string. Calculate the values that should be evenly spaced.
【0018】処理プログラム104は上記によって決定
された出力開始位置に従って文字フォント108を希望
のサイズに展開し、出力部103に対して信号を送るこ
とによつて目的の文字を出力する。一文字の文字出力が
終了した時点で、当文字の文字固有情報を直前文字の文
字固有情報とする事により、次に続く文字の間隔計算に
備える。The processing program 104 develops the character font 108 to a desired size according to the output start position determined above, and outputs the desired character by sending a signal to the output unit 103. When the output of one character is completed, the character unique information of the current character is set as the character unique information of the immediately preceding character in preparation for calculating the spacing of the next succeeding character.
【0019】以上は一文字の出力について説明したもの
であるが、当文字が文字列中の最終文字であるか否かを
判断し、後に続く文字がある場合には次の文字に対して
同様の処理を実行する。以上の処理が、印字対象となっ
ている文字列中の全ての文字について繰り返し行なわれ
ることにより、第4図の401に示すように各文字のフ
ォントパターンが最接近部分において概ね等間隔な出力
結果を得ることができる。第4図の402に示す仮想文
字枠を等間隔に配置した出力例と比較すると、等間隔に
配置した場合は「パ」と「ー」の間のように文字間隔が
空きすぎてしまう部分と、「ー」と「ト」の間のように
詰まり過ぎてしまう部分とができてしまうが、本発明の
文字間隔調整方式では401のように文字が配置される
ために自然な文字間隔を得ることができるものである。[0019] The above describes the output of one character, but it is necessary to judge whether or not this character is the last character in the string, and if there is a subsequent character, perform the same procedure for the next character. Execute processing. The above process is repeated for all characters in the character string to be printed, resulting in an output result in which the font pattern of each character is approximately equally spaced at the closest point, as shown in 401 in Figure 4. can be obtained. Comparing with the output example shown at 402 in Figure 4 in which the virtual character frames are arranged at equal intervals, if they are arranged at equal intervals, there will be parts where the character spacing is too empty, such as between "pa" and "-". , there are parts that are too crowded, such as between "-" and "g", but with the character spacing adjustment method of the present invention, natural character spacing is obtained because the characters are arranged like 401. It is something that can be done.
【0020】なお、上記実施例では一文字毎に文字位置
を計算するとともに、文字フォント108を出力部10
3に展開し出力を得ているが、これに限るものではない
。例えば、文字フォントの展開と出力を行なわず、実際
に出力した場合の文字列の組み方向に要する総延長や占
有面積等の試算のみを行なうことにより、希望する文字
列全体のサイズに合致すべく個々の文字サイズや文字間
隔を変更する際等にも応用できるものである。In the above embodiment, the character position is calculated for each character, and the character font 108 is output to the output unit 10.
3 to obtain the output, but it is not limited to this. For example, by not developing and outputting the character font, but only calculating the total length and area required in the direction of the character string when actually output, it is possible to match the overall size of the desired character string. This can also be applied to changing individual character sizes and character spacing.
【0021】さらに、上記実施例では仮想文字枠を3つ
の領域に分割して各文字外周の形状を表現しているが、
これに限るものではない。分割する数を増やすほど文字
間隔は正確に均等化されるが、半面、文字固有情報テー
ブルが大規模になり記憶装置の容量を圧迫するとともに
、文字固有情報テーブルを参照する際のアクセス時間も
多くかかるようになる。本発明の文字間隔調整方式は、
中央演算処理部102の処理能力や記憶装置の容量やア
クセス速度などを勘案して、仮想文字枠の分割数を最適
に設定することにより、低速で小容量の装置にも高速で
大容量の装置にも応用できるものである。Furthermore, in the above embodiment, the virtual character frame is divided into three areas to express the shape of the outer periphery of each character.
It is not limited to this. The more the number of divisions is increased, the more accurately the character spacing is equalized, but on the other hand, the character-specific information table becomes larger, which takes up more space on the storage device, and the access time required to refer to the character-specific information table increases. It will take a while. The character spacing adjustment method of the present invention is as follows:
By taking into consideration the processing power of the central processing unit 102, the capacity of the storage device, the access speed, etc., and setting the number of divisions of the virtual character frame optimally, it is possible to convert a low-speed, small-capacity device into a high-speed, large-capacity device. It can also be applied to
【0022】[0022]
【発明の効果】以上説明したように、本発明の文字間隔
調整方式によれば装置が自動的に各文字間に対して最適
な間隔を計算し出力するため、使用者が逐次各々の文字
間について調整操作を行なう必要がなくなるので、操作
性が著しく向上する。また、使用者の経験や勘によらず
に処理されるため、使用者の技術に負うところがなく常
に均質な結果を得ることができる効果がある。As explained above, according to the character spacing adjustment method of the present invention, the device automatically calculates and outputs the optimal spacing between each character, so the user can sequentially adjust the spacing between each character. Since it is no longer necessary to perform adjustment operations, operability is significantly improved. In addition, since the process is performed without depending on the user's experience or intuition, it is possible to always obtain uniform results without depending on the user's skill.
【図1】本発明の実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the invention.
【図2】処理プログラム104の処理例を示すフローチ
ャートである。FIG. 2 is a flowchart showing a processing example of a processing program 104.
【図3】文字固有情報テーブル107の値の意味を示す
図である。FIG. 3 is a diagram showing the meanings of values in a character specific information table 107.
【図4】本発明の方式と等間隔配置による文字フォント
の出力例を示す図である。FIG. 4 is a diagram showing an example of outputting a character font using the method of the present invention and regular spacing.
101 操作部
102 中央演算処理部
103 出力部
104 処理プログラム
105 シフト量算出部
106 文字間隔算出部
107 文字固有情報テーブル
108 文字フォント
301 仮想文字枠の上下の辺を3つの領域に分割す
る例を示す図
302 仮想文字枠の左右の辺を3つの領域に分割す
る例を示す図
303 左右方向の文字シフトの例と文字間隔計算方
法を示す図
304 上下方向の文字シフトの例と文字間隔計算方
法を示す図
401 本発明の方式によるアウトラインフォントの
出力例
402 等間隔配置によるアウトラインフォントの出
力例101 Operation unit 102 Central processing unit 103 Output unit 104 Processing program 105 Shift amount calculation unit 106 Character spacing calculation unit 107 Character specific information table 108 Character font 301 An example of dividing the upper and lower sides of a virtual character frame into three areas is shown. Figure 302 Figure 302 shows an example of dividing the left and right sides of a virtual character frame into three areas Figure 303 shows an example of character shifting in the horizontal direction and a method for calculating character spacing Figure 304 shows an example of character shifting in the vertical direction and a method for calculating character spacing Figure 401 shows an example of outputting an outline font according to the method of the present invention 402 an example of outputting an outline font with equal spacing
Claims (1)
英数文字や記号ならびに図形の列(以下、文字列と称す
る)を出力装置に出力する際に、文字や記号等の有効寸
法と連続する2つの文字の隣接面の形状を考慮し文字間
隔を最適に制御するための処理方式であって、個々の文
字フォントの形状を定義するための外枠(以下、仮想文
字枠と称する)の4辺を各々複数の領域に分割したとき
の各領域内の仮想文字枠と文字の実体との差と、縦組み
時の左右方向ならびに横組み時の上下方向のシフト量を
、文字固有情報テーブルとして記憶装置に保持すること
により当該文字が他の文字と隣接する辺の形状を数値化
して表現する方式を備え、縦組みあるいは横組みあるい
はそれらの混在した文字列に対しても、常に最適な文字
間隔と個々の文字についての固有のシフト量を得る事を
特徴とする文字間隔調整方式。[Claim 1] When outputting a string of Japanese characters, alphanumeric characters, symbols, and figures (hereinafter referred to as a character string) to an output device using a character font, the effective dimensions of the characters, symbols, etc. This is a processing method for optimally controlling the character spacing by considering the shape of the adjacent surfaces of two characters, and it uses an outer frame (hereinafter referred to as a virtual character frame) to define the shape of each character font. When each of the four sides is divided into multiple areas, the difference between the virtual character frame and the actual character in each area, and the shift amount in the horizontal direction in vertical writing and in the vertical direction in horizontal writing, are stored in a character-specific information table. By storing it in a storage device as a character string, the shape of the side where the character is adjacent to other characters is expressed numerically. A character spacing adjustment method characterized by obtaining character spacing and a unique shift amount for each character.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2417747A JPH0782311B2 (en) | 1990-12-17 | 1990-12-17 | Character spacing adjustment method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2417747A JPH0782311B2 (en) | 1990-12-17 | 1990-12-17 | Character spacing adjustment method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH04216594A true JPH04216594A (en) | 1992-08-06 |
JPH0782311B2 JPH0782311B2 (en) | 1995-09-06 |
Family
ID=18525794
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2417747A Expired - Lifetime JPH0782311B2 (en) | 1990-12-17 | 1990-12-17 | Character spacing adjustment method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0782311B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101720897B1 (en) * | 2016-03-04 | 2017-04-10 | 주식회사 윤디자인그룹 | Method and computer program for generating font by integrating space between characters |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63220291A (en) * | 1987-03-10 | 1988-09-13 | キヤノン株式会社 | Document generator |
JPS6472859A (en) * | 1987-09-16 | 1989-03-17 | Hitachi Ltd | Document preparation device |
-
1990
- 1990-12-17 JP JP2417747A patent/JPH0782311B2/en not_active Expired - Lifetime
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63220291A (en) * | 1987-03-10 | 1988-09-13 | キヤノン株式会社 | Document generator |
JPS6472859A (en) * | 1987-09-16 | 1989-03-17 | Hitachi Ltd | Document preparation device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101720897B1 (en) * | 2016-03-04 | 2017-04-10 | 주식회사 윤디자인그룹 | Method and computer program for generating font by integrating space between characters |
Also Published As
Publication number | Publication date |
---|---|
JPH0782311B2 (en) | 1995-09-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4608662A (en) | Method for editing document | |
US5042075A (en) | Document composition apparatus which changes an outline font in accordance with letter magnification | |
EP0382402A2 (en) | Character processing apparatus | |
EP0139344A2 (en) | Method and apparatus for automatically spacing characters during composition | |
JP2613255B2 (en) | Character pitch processing method | |
JP2006185435A (en) | Method, device and program for editing name | |
JPH04216594A (en) | Character gap adjustment method | |
EP0632394A2 (en) | Text processing device | |
US4850726A (en) | Word processor provided with an automatic tabset means | |
JP2972820B2 (en) | Character spacing adjusting device and character spacing adjusting method | |
JP2689276B2 (en) | Card making device | |
JPH0675952A (en) | Document preparing device | |
EP0454125B1 (en) | Method of producing characters and figures using computer | |
JPH0969088A (en) | Table form data processor | |
JP3715685B2 (en) | Document processing method and document processing apparatus | |
JPS63120668A (en) | Word processor for japanese characters | |
JPS61286177A (en) | Document-forming device | |
JPH07172021A (en) | Layout method of letter | |
JPH03153298A (en) | Document output device | |
JPH04268953A (en) | Document preparing device | |
JPH01103467A (en) | Document output method | |
JPH09123381A (en) | Composition style deciding and supporting method | |
JPH09185603A (en) | Document preparing device and character string form control method | |
JPH02178765A (en) | Document preparing device | |
JPH0844735A (en) | Document processor |