JPH07122789B2 - Character arrangement method with correction frame - Google Patents
Character arrangement method with correction frameInfo
- Publication number
- JPH07122789B2 JPH07122789B2 JP61207054A JP20705486A JPH07122789B2 JP H07122789 B2 JPH07122789 B2 JP H07122789B2 JP 61207054 A JP61207054 A JP 61207054A JP 20705486 A JP20705486 A JP 20705486A JP H07122789 B2 JPH07122789 B2 JP H07122789B2
- Authority
- JP
- Japan
- Prior art keywords
- character
- frame
- correction
- characters
- dots
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Controls And Circuits For Display Device (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、補正枠による文字配列法に関し、特に筆記書
体により、ワードプロセッサやパーソナルコンピュー
タ、あるいはタイプライタ等に文字列を出力するための
文字パターンメモリ等の配列法に関する。Description: TECHNICAL FIELD The present invention relates to a character arrangement method using a correction frame, and in particular, a character pattern for outputting a character string to a word processor, a personal computer, a typewriter or the like by a cursive typeface. The present invention relates to a method of arranging memory and the like.
従来のタイプライタ、ワードプロセッサ等の活字や文字
パターンは全て大きさが一定であって、その文字枠を最
大限に利用するように、文字の方で決められている。す
なわち、第2図に示すように、「今」、「国」、
「日」、「量」等の漢字について、文字枠に対する大き
さと位置が決められ、その場合、文字のセンター間を一
定にすれば美しく配列されるように設計されている。ま
た、漢字相互の間隔と仮名や英文字相互の間隔を同じ寸
法にしたときには、全体の文字の配列が奇異に感じられ
る。これは、漢字の寸法と仮名の形状が極端に異なるた
めであって、文章の美しさが、このような文字間隔によ
っても損われていることが判る。これを解決するために
は、文字と文字の間を全て同一にせず、各文字ごとに文
字の複雑さに応じて異なった間隔になるような、プロポ
ーショナル・スペーシングをとる必要がある。Characters and character patterns of conventional typewriters, word processors, etc. are all constant in size, and the characters are determined so as to maximize the use of the character frame. That is, as shown in FIG. 2, “now”, “country”,
For Chinese characters such as "day" and "quantity", the size and position with respect to the character frame are determined, and in that case, it is designed to be beautifully arranged if the centers of the characters are fixed. Also, when the spacing between Chinese characters and the spacing between Kana and English characters are the same, the overall arrangement of characters feels strange. This is because the size of the kanji and the shape of the kana are extremely different, and it can be seen that the beauty of the sentence is impaired by such character spacing. In order to solve this, it is necessary not to make all the characters the same, but to take proportional spacing so that each character has a different interval depending on the complexity of the character.
一般に、活字の場合、漢字と仮名の寸法比は、1:0.8程
度の比率になっている。第3図は、文字を活字の並べ
方、つまり文字のセンター間を等間隔にした配列方法の
一例を示す図である。活字の大きさ(文字寸法)が異な
っても、通常活字が収容される文字枠の大きさは活字盤
やパターンメモリでは全て等しいので、第3図に示すよ
うな文字配列となり、漢字相互の間隔は小さく、仮名相
互の間隔は大きいが、それ程障害にならない様に文字の
デザインがなされている。Generally, in the case of printed characters, the size ratio of kanji and kana is about 1: 0.8. FIG. 3 is a diagram showing an example of a method of arranging characters, that is, an arrangement method in which the centers of the characters are arranged at equal intervals. Even if the type size (character size) is different, the size of the character frame that normally stores the type is the same in the type board and pattern memory, so the character arrangement is as shown in Fig. 3, and the spacing between Chinese characters is different. Is small and the spacing between kana is large, but the characters are designed so that it does not become an obstacle.
最近は、活字体のみでなく、筆記書体のワードプロセッ
サやタイプライタが出現しているが、筆記体で書かれた
文字では、漢字と仮名の比率が1:0.3程度になる場合が
ある。それだけでなく、漢字の中の大きい字と小さい
字、仮名の中の大きい字と小さい字も、それぞれ大きな
比率を持っており、小さい漢字と大きい仮名を比べた場
合、仮名の方が大きい場合もある。本来の文字の形は、
このようなものであると考えられる。Recently, not only typefaces but cursive type word processors and typewriters have appeared, but in the case of characters written in cursive type, the ratio of kanji to kana may be about 1: 0.3. Not only that, the large and small kanji characters have a large ratio, and the large and small kana characters also have a large ratio. When comparing small kanji and large kana, kana may be larger. is there. The original character shape is
It is considered to be like this.
また、筆記体で延び延びと書かれた文字は、決して四角
い枠の中に納まっているものではなく、その形状は千差
万別である。特に、左右の「はらい」が延びている字
や、上下または左右の形が非対称になっている字が多数
を占めている。In addition, the letters written in cursive writing are not always contained in a rectangular frame, and their shapes vary widely. In particular, the left and right "Harai" characters extend, and the upper and lower or left and right characters are asymmetric.
このように大きさも違い、形状も違う文字を、真直に見
えるように、さらに自然な間隔になるように配列する場
合には、プロポーショナルスペーシングと呼ばれる並べ
方を用いる。第4図は大きさの異なる文字を活字配列し
た場合に、文字のセンター間の寸法を一定にとった配列
図であり、これでは小さい文字の間が広くなるため、そ
れを是正する必要がある。第5図は一般的なプロポーシ
ョナルスペーシングで、文字の隙間を一定にした配列図
である。両図から明らかなように、第5図の方が美しく
並べることができる。When characters with different sizes and shapes are arranged in such a manner that they look straight and have more natural intervals, a method called proportional spacing is used. FIG. 4 is an array diagram in which the characters are arranged in a fixed size between the centers of the characters when the characters of different sizes are printed, and it is necessary to correct this because the space between the small characters becomes wide. . FIG. 5 is a general proportional spacing, and is an array diagram in which character gaps are made constant. As is clear from both figures, the arrangement in FIG. 5 can be arranged more beautifully.
しかし、このプロポーショナルスペーシングを用いたと
しても、文字の形状が異なる実際の文章の場合には、こ
のように単純ではない。例えば、「会合」という文字間
の向い合った文字先端相互の隙間と、「周囲」という文
字間の同じ隙間を、同じ寸法にした場合、「周囲」の方
がつまった感じになる。従って、美しい配列にするため
には、「周囲」の文字間隔の方を「会合」の間隔よりも
若干広げる必要がある。However, even if this proportional spacing is used, it is not so simple in the case of actual sentences with different character shapes. For example, if the gaps between the facing character tips between the letters “meeting” and the same gaps between the letters “surrounding” have the same size, the “surrounding” feels tighter. Therefore, in order to make a beautiful arrangement, it is necessary to slightly widen the "peripheral" character spacing than the "association" spacing.
このことは、形状の異なる文字をどの文字とでも美しく
並べる必要があるだけに、深刻な問題である。This is a serious problem because it requires beautifully arranging characters of different shapes with any character.
本発明の目的は、このような問題を改善し、大きさと形
状の異なる文字を配列する場合に、美しく、バランスの
とれた、自然な間隔になるようにすることができる補正
枠を設け、補正枠間の寸法を一定にすることによる文字
配列法を提供することにある。An object of the present invention is to improve such a problem and to provide a correction frame capable of providing a beautiful, well-balanced and natural interval when arranging characters having different sizes and shapes. An object of the present invention is to provide a character arrangement method by making the dimension between frames constant.
上記目的を達成するため、本発明の補正枠による文字配
列法は、キャラクタ・ジェネレータの1文字枠内に各種
文字を位置決めする場合、実際の文字寸法で得られた枠
の外側に補正値を付加した補正枠を設け、仮に1文字枠
の左上部角を基準点としたとき、上記1文字枠から補正
枠の左端までの距離と、該1文字枠から補正枠の上端ま
での距離と、上記補正枠による横方向と縦方向の文字幅
の情報を、文字パターンとともに記憶し、該情報を用い
て出力時に文字パターンを配列することに特徴がある。To achieve the above object, the character arrangement method using the correction frame of the present invention adds a correction value to the outside of the frame obtained by the actual character size when positioning various characters within one character frame of the character generator. If the upper left corner of one character frame is used as a reference point, the distance from the one character frame to the left end of the correction frame, the distance from the one character frame to the upper end of the correction frame, and It is characterized in that the information on the character widths in the horizontal direction and the vertical direction by the correction frame is stored together with the character pattern, and the character pattern is arranged at the time of output using the information.
普通のプロポーショナルスペーシング法では、文字間隔
(寸法)は一定であるため、形状と大きさの異なった文
字を配列する場合、一方はつまって見え、他方は空いて
見える。これは、目の錯視によるものであり、これをバ
ランスよく見せるために、本発明においては、文字の周
囲を、指定された文字間隔(寸法)よりも広げて配置す
る。このために、文字寸法の実枠の外側にゴースト(Gh
ost)の枠(広い寸法)を持ったデータを与え、このデ
ータにより文字を配列することにより、美しく、バラン
スのとれた文字配列が可能になる。In the normal proportional spacing method, the character spacing (dimension) is constant, so when arranging characters of different shapes and sizes, one looks like a block and the other looks vacant. This is due to an optical illusion, and in order to make this look well-balanced, in the present invention, the periphery of the character is arranged wider than the designated character interval (dimension). For this reason, the ghost (Gh
By providing data with a frame (wide dimension) of "ost" and arranging characters by this data, a beautiful and balanced character arrangement becomes possible.
以下、本発明の実施例を、図面により詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
第1図は、本発明の一実施例を示す補正枠の与え方の説
明図である。ここでは、一例として「彫」という文字を
対象とする。漢字を構成するエレメントには、右はら
い、流れ、はね、たすき、さんずい、かぎ、横線、縦
線、しんにゆう等があるが、横方向の文字の配列では、
左端または右端に縦線のある文字(例えば、「周」、
「囲」等)では、文字間隔が小さく感じられるのに対し
て、右はらい、流れ、はね、たすき、さんずい等のエレ
メントが端部に一部しか現われていない文字(例えば、
「会」、「合」等)では、文字間隔が大きく感じられ
る。一方、縦方向の文字の配列では、上端または下端に
横線のある文字(例えば、「面」、「因」等)では、文
字間隔が小さく感じられるのに対して、はらい、さんず
い、たすき、はね等のエレメントが上端、下端に一部し
か現われていない文字(例えば、「大」、「小」等)で
は、文字間隔が大きく感じられる。FIG. 1 is an explanatory diagram of how to provide a correction frame, showing an embodiment of the present invention. Here, as an example, the character “engraving” is targeted. The elements that make up Kanji include right slash, flow, splash, tusuki, sanzui, key, horizontal line, vertical line, and Shinniyuu, but in the arrangement of horizontal characters,
Characters with vertical lines on the left or right edge (for example, "circle",
In "enclosure" etc., the character spacing seems to be small, while the characters such as right side, flow, splash, suki, sanzui etc. appear only partially at the ends (for example,
In "Meeting", "Go", etc.), the character spacing seems to be large. On the other hand, in an arrangement of characters in the vertical direction, characters with horizontal lines at the top or bottom (for example, "face", "cause", etc.) seem to have a small character spacing, while Harai, Sanzui, Susuki, Characters in which elements such as Ne are partially exposed at the upper and lower ends (for example, "large", "small", etc.) are felt to have a large character spacing.
そこで、本実施例においては、横方向の配列では縦線、
縦方向の配列では横線がそれぞれ端部に現われている文
字に対して、外側に補正枠(ゴースト枠)を設け、その
分だけ隣接文字との間隔を広く見せるようにする。エレ
メントが一部しか端部に現われていない文字に対して
は、補正枠を設けることなく、従来の通り文字に接触し
た外枠を設ける。第1図においては、「彫」の左端に縦
線(ここでは、縦線が2段になっているが、便宜上縦線
とみなす)が現われているため、予め定められた補正値
d0を付加した外側に補正枠(ゴースト枠)を設ける。ま
た、右端にははねのエレメントの一部のみが現われてお
り、実枠とは一点で接触しているのみであるため、補正
枠を設けずに、実枠のみとする。つまり、右側の補正値
d1=0とする。また、上端には横線に近いエレメントの
一部とはねの一部が現われているため、上方に僅かの補
正値d2を付加して補正枠を設ける(ここで、d2<d0であ
る)。また、下端には縦線の端部とはねの端部が複数箇
所に現われているため、右端よりは実枠に接触している
ドット数が多く、従って右端より僅かに大きい補正値d3
を付加して補正枠を設ける(ここで、d3>d1である)。
このように、本実施例では、文字の実枠とは違った補正
枠(ゴースト枠)を設けて、活字または文字パターンを
設定する点に特徴がある。第1図では、実枠を実線で示
し、補正枠(ゴースト枠)を破線で示している。さら
に、詳述すると、第1図の文字「彫」は、全体の文字枠
が48ドット×48ドットで示されており、その内側の実際
の文字に接触した実枠は、32ドット×32ドットである。
左端1列目のドットパターンは8ドット、左端2列目の
ドットパターンは13ドットであり、右端の1列目は1ド
ット、2列目は4ドット、3列目は3ドットである。ま
た、上端の1行目は2ドット、2行目は5ドット、3行
目は8ドットであり、下端の1行目は3ドット、2行目
は3ドット、3行目は3ドットである。これらの各端に
おけるドット数と各端部での補正値d0,d1,d2,d3とはほ
ぼ比例している。Therefore, in this embodiment, vertical lines are arranged in the horizontal direction,
In the vertical arrangement, a correction frame (ghost frame) is provided on the outside for each character having a horizontal line at its end, and the space between adjacent characters is made wider by that amount. For a character in which only a part of the element appears at the end, a correction frame is not provided, and an outer frame that is in contact with the character is provided as in the conventional case. In FIG. 1, a vertical line (here, the vertical line has two steps, but it is regarded as a vertical line for the sake of convenience) appears at the left end of the "engraving".
outwardly added with d 0 provided correction frame (ghost frame). Further, only a part of the splash element appears at the right end, and since it only contacts with the actual frame at one point, the correction frame is not provided and only the actual frame is provided. That is, the correction value on the right side
Let d 1 = 0. Since a part of the element close to the horizontal line and a part of the splash appear at the upper end, a slight correction value d 2 is added to the upper side to provide a correction frame (where d 2 <d 0 is there). Further, since the end of the vertical line and the end of the splash appear at a plurality of positions at the lower end, the number of dots in contact with the actual frame is larger than that at the right end, and thus the correction value d 3 slightly larger than that at the right end.
To add a correction frame (where d 3 > d 1 ).
As described above, the present embodiment is characterized in that a correction frame (ghost frame) different from the actual character frame is provided to set a print character or character pattern. In FIG. 1, the solid frame is shown by a solid line, and the correction frame (ghost frame) is shown by a broken line. Furthermore, to be more specific, the entire character frame of the character "engraving" in Fig. 1 is shown as 48 dots x 48 dots, and the actual frame inside that character is 32 dots x 32 dots. Is.
The dot pattern of the leftmost first column is 8 dots, the dot pattern of the leftmost second column is 13 dots, the rightmost first column is 1 dot, the second column is 4 dots, and the third column is 3 dots. The first line at the top is 2 dots, the second line is 5 dots, the third line is 8 dots, and the first line at the bottom is 3 dots, the second line is 3 dots, and the third line is 3 dots. is there. The number of dots at each end and the correction values d 0 , d 1 , d 2 , d 3 at each end are substantially proportional.
本実施例においては、タイプライタの文字盤、またはワ
ードプロセッサの文字パターンメモリに、これらの文字
パターンを格納する場合に、各文字に割当てられた48×
48ドットのエリアに対して、最外枠から補正枠までの距
離と、文字の横方向と縦方向の幅、つまり補正値を含む
文字の大きさをデータとして各文字ごとに登録してお
き、プロセッサがプリンタまたは表示部に出力する際
に、これらのデータをパターンとともに読み出して、そ
れらのデータに従って文字配列を行うのである。第1図
では、パターンメモリに、文字パターンとともに、左端
文字枠から補正枠までの距離x1,上端文字枠から補正枠
までの距離y1,横方向の補正値を含む文字幅x2,縦方向の
補正値を含む文字幅y2をデータとして記憶しておく。こ
れだけ記憶しておけば、右端外枠から補正枠までの距離
は(48−x1−x2)ドット、下端外枠から補正枠までの距
離は(48−y1−y2)ドットで計算できる。In the present embodiment, when these character patterns are stored in the typewriter dial or the character pattern memory of the word processor, 48 × assigned to each character is used.
For each 48-dot area, the distance from the outermost frame to the correction frame, the horizontal and vertical widths of the characters, that is, the size of the character including the correction value is registered as data for each character, When the processor outputs the data to the printer or the display unit, these data are read out together with the pattern, and the character arrangement is performed according to the data. In Figure 1, the pattern memory, together with the character pattern, the distance x 1 from the left end character frame to corrected frame, the distance y 1 from the upper end character frame to corrected frame, character width x 2 containing lateral correction value, vertical The character width y 2 including the direction correction value is stored as data. If only this is stored, the distance from the right outer frame to the correction frame is calculated as (48−x 1 −x 2 ) dots, and the distance from the lower outer frame to the correction frame is calculated as (48−y 1 −y 2 ) dots. it can.
第6図は、本発明の補正値の決め方を示す原理図であ
る。筆記書体を美しく並べるための文字枠データを決め
る場合、左右上下端の最も外側の列だけを考慮したので
は、形状や大きさの異なる文字を、真直に見えるよう
に、かつ空きを美しく見えるように、配列することは不
可能である。そこで、いま右隣りの文字との間隔を考え
る場合、第6図(a)に示すように、右端1列目が最も
ドット数が多く(例えば、33ドット)、2列目のドット
数が次に多く(例えば、31ドット)、3列目がその次に
多くなるように(例えば、29ドット)、右端を底辺と
し、左辺を頂点とする三角形の文字ドット群の場合と、
第6図(b)に示すように、右端1列目が1ドットしか
なく、2列目が3ドット、3列目が5ドット、・・・・
左端が最も多い33ドットになるように、右端を頂点と
し、左端を底辺とする三角形の文字ドット群の場合とを
比較する。FIG. 6 is a principle diagram showing how to determine a correction value according to the present invention. When deciding the character frame data for arranging the cursive fonts beautifully, considering only the outermost columns at the top, bottom, left, and right sides, it is possible to make characters with different shapes and sizes look straight and vacant spaces. Moreover, it is impossible to arrange them. Therefore, when considering the space between the characters on the right side, as shown in FIG. 6A, the rightmost first column has the largest number of dots (for example, 33 dots), and the second column has the next number of dots. In the case of a triangular character dot group with the right edge as the base and the left edge as the apex, so that the third column has the next largest number (eg, 29 dots)
As shown in FIG. 6 (b), the rightmost first column has only 1 dot, the second column has 3 dots, the third column has 5 dots, ...
Compare the case of a triangular character dot group with the right end as the apex and the left end as the base so that the left end has the most 33 dots.
ところで、本発明者はこの出願より前に、各文字ごとの
間隔を人間の感覚に照して美しく並んで見え、全体から
もバランスのとれたサイズに、CADで算出することがで
きる文字間距離の決定法を提案した(特願昭60−155636
号明細書参照)。上記方法によれば、横書きまたは縦書
きに配列され、漢字や仮名等が混在した複数個の文字間
の距離を、CADプログラムにより算出する場合、隣接す
る文字の対応する構成要素間の静電容量または近似の量
を縦方向または横方向の全素子について算出し、その算
出値の合計を求めて、その文字間ごとの静電容量または
近似の量の合計値が配列された全ての文字間で等しくな
るように、各文字間距離を決定している。ここで、静電
容量は距離lに反比例するので、上記方法を実現するに
は、隣接する文字の対応する素子間の静電容量を測定
し、それらを合成した容量値が等しくなるように、各文
字間隔を決定する必要がある。そのために、各素子ごと
に1/lを求め、それらの合計値Σ1/lが等しくなるように
文字間の距離を決定する。さらに、実際には、1/l〜1/l
2として計算した場合に、専門家により美しく感じられ
ると判断されている。By the way, prior to this application, the present inventor looks at the intervals of each character beautifully side by side according to the human sense, and the character-to-character distance that can be calculated by CAD is a well-balanced size from the whole. Proposed a Japanese patent application (Japanese Patent Application No. 60-155636).
See the specification). According to the above method, when calculating the distance between a plurality of characters that are arranged horizontally or vertically and mixed with kanji, kana, etc. by a CAD program, the capacitance between the corresponding constituent elements of adjacent characters Alternatively, the approximate amount is calculated for all elements in the vertical or horizontal direction, the total of the calculated values is calculated, and the capacitance for each character or the total amount of the approximate amount is calculated between all the arranged characters. The inter-character distances are determined so that they are equal. Here, since the capacitance is inversely proportional to the distance l, in order to realize the above method, the capacitance between the corresponding elements of the adjacent characters is measured, and the capacitance values obtained by combining them are equal to each other. It is necessary to determine each character spacing. For that purpose, 1 / l is calculated for each element, and the distance between characters is determined so that the total value Σ1 / l becomes equal. Furthermore, in practice, 1 / l to 1 / l
When calculated as 2 , it is judged to be beautiful by experts.
第6図(a)(b)において、上記方法を適用すると、
明らかに(a)の方が隣接する文字に近い距離のドット
が多いため、Σ1/lの値は大きくなり、間隔を(b)の
場合より広く設ける必要がある。(b)では、隣接文字
に近い距離のドットが少なく、遠くなるに従ってドット
数が多くなるので、Σ1/lの値は(a)より小さくな
り、その結果、間隔は(a)より狭くてよい。In FIGS. 6 (a) and 6 (b), when the above method is applied,
Obviously, in (a), since there are many dots that are closer to the adjacent characters, the value of Σ1 / l is larger, and it is necessary to set the interval wider than in (b). In (b), the number of dots near the adjacent character is small, and the number of dots increases as the distance increases, so the value of Σ1 / l becomes smaller than (a), and as a result, the interval may be narrower than (a). .
第6図(c)は、端部からの距離に対する静電容量の特
性曲線図である。曲線イは1/l′、曲線ロは1/l2、曲線
ハは1/l3を示している。FIG. 6 (c) is a characteristic curve diagram of the capacitance with respect to the distance from the end. Curve a shows 1 / l ', curve b shows 1 / l 2 , and curve c shows 1 / l 3 .
このように、上記提案に基づく正確な測定方法によれ
ば、文字ごとに全ドットに対して静電容量を算出する必
要があるが、文字の種類は勿論のこと、文字間の組合せ
の数も膨大となるので、本実施例では、便宜上、文字の
端部から1〜4列目のみを考慮して計算し、文字間距離
を決定する方法を与えるものである。Thus, according to the accurate measurement method based on the above-mentioned proposal, it is necessary to calculate the capacitance for all dots for each character, but not only the type of character but also the number of combinations between characters. Therefore, in this embodiment, for the sake of convenience, a method of determining the inter-character distance by giving consideration to only the 1st to 4th columns from the end of the character and performing the calculation.
本実施例においては、端部より第1列目のドットは最も
静電容量に大きな影響を及ぼすので、1ドットを1.0と
し、第2列目のドットを1.1、つまり1.1ドット存在した
ときに1ドットと見なし、第3列目のドットを1.2、第
4列目のドットを2.0とする。これらの数値は実験的に
定めた値であるため、感覚によって任意の値に変更する
ことができるのは勿論である。上述のような列ごとの補
正値により、文字の補正枠(ゴースト枠)は次のように
して決定する。すなわち、第1列目にaドット、第2列
目にbドット、第3列目にcドット、第4列目にdドッ
トが集合した文字では、 (1/1.0)a+(1/1.1)b +(1/1.2)c+(1/2)=A となるので、Aを文字の補正値として実枠に付加するこ
とにより、補正枠(ゴースト枠)を決定する。この補正
値Aを左右にA1,A2だけ付加した場合、文字実枠内の横
幅をx3とすると、補正値を含む文字幅x2は、x2=x3+A1
+A2である。本実施例において、記憶装置に記憶するデ
ータとしては、この横方向の文字幅x2と左端外枠から補
正枠までの距離x1と、縦方向の文字幅y2と上端外枠から
補正枠までの距離y1である。In the present embodiment, the dots in the first row from the edge have the greatest effect on the electrostatic capacitance, so 1 dot is set to 1.0, and the dots in the second row are 1.1, that is, when 1.1 dots are present, 1 The dots in the third row are 1.2 and the dots in the fourth row are 2.0. Since these numerical values are experimentally determined values, it is needless to say that they can be changed to arbitrary values depending on the sense. The correction frame (ghost frame) of the character is determined as follows based on the correction value for each column as described above. That is, in a character in which a dot is in the first column, b dot is in the second column, c dot is in the third column, and d dot is in the fourth column, (1 / 1.0) a + (1 / 1.1) Since b + (1 / 1.2) c + (1/2) = A, the correction frame (ghost frame) is determined by adding A to the real frame as a correction value for the character. When this correction value A is added to the left and right only by A 1 and A 2 , and the horizontal width in the actual character frame is x 3 , the character width x 2 including the correction value is x 2 = x 3 + A 1
It is + A 2 . In the present embodiment, the data to be stored in the storage device includes the horizontal character width x 2 and the distance x 1 from the left outer frame to the correction frame, the vertical character width y 2 and the upper outer frame to the correction frame. The distance to is y 1 .
第7図は、本発明の一実施例を示す文字の配列アルゴリ
ズムの説明図、第8図は本発明により文字パターンメモ
リに格納される各文字のパターンの配置図。FIG. 7 is an explanatory view of a character arrangement algorithm showing an embodiment of the present invention, and FIG. 8 is an arrangement view of patterns of respective characters stored in a character pattern memory according to the present invention.
本実施例においては、キャラクタ・ジェネレータ3に、
第8図に示すような配置で各文字が格納されている。す
なわち、漢字、仮名、英字等により、また筆記書体であ
るため形状が文字ごとにそれぞれ異なっており、従っ
て、文字ごとに異なる寸法の横幅と縦幅を持つ文字パタ
ーンと、左右上下に補正値d0,d1,d2,d3を含めた文字の
補正枠とが記憶されている。そして、各文字とも、画一
寸法の外枠から補正枠までの距離x1,横方向の補正枠に
よる文字幅x2,上端の外枠から補正枠までの距離y1,縦方
向の補正枠による文字幅y2を、付加情報として記憶して
いる。In this embodiment, the character generator 3
Characters are stored in an arrangement as shown in FIG. In other words, the shape is different for each character due to the kanji, kana, alphabetic characters, etc. and because it is a cursive typeface.Therefore, a character pattern with different width and height for each character and correction values d A correction frame of characters including 0 , d 1 , d 2 , and d 3 is stored. And for each character, the distance from the outer frame of uniform size to the correction frame x 1 , the width of the character by the horizontal correction frame x 2 , the distance from the upper outer frame to the correction frame y 1 , the vertical correction frame The character width y 2 according to is stored as additional information.
コントローラは、第1文字の文字幅ax2,第2文字の文字
幅bx2,第3文字の文字幅cx2,・・・と同一の文字間隔と
を全て加算して、1行分の寸法に達したときに、1行内
に表示(出力)される文字数が決定される。すなわち、
ax2+z+bx2+z+cx2+・・・・・を計算して、文字
数を決定した後、第7図に示す方法で表示装置(出力装
置)に出力する。(a)は、横方向に文字を配列する場
合を示しているが、縦方向に配列する場合にも使用する
データがy1,2からx1,x2に変更される点が異なるだけ
で、その他は全く同一である((b)参照)。The controller adds the character width ax 2 of the first character, the character width bx 2 of the second character, the character width cx 2 of the third character, ... Is reached, the number of characters displayed (output) in one line is determined. That is,
After calculating ax 2 + z + bx 2 + z + cx 2 + ... and determining the number of characters, it is output to the display device (output device) by the method shown in FIG. (A) shows the case of arranging the characters in the horizontal direction. However, the data used also changes in the case of arranging in the vertical direction except that the data used is changed from y 1 , 2 to x 1 , x 2. , And others are exactly the same (see (b)).
第7図(a)は、先ず、第1の文字aを左端の所定の位
置で、かつ1行の上端からy1の距離の位置に配置し、次
に、画一文字間隔zだけ離して第2の文字bを上端から
y1の距離に配置し、次に文字間隔zだけ離して第3の文
字cを上端からy1の距離の位置に配置し、このように文
字ごとのy1だけ上端から離して順次配列する。これが終
了したならば、第2行目の文字数計算を行った後、文字
配列距離に移る。このようにして、第3行目以降も続け
ることにより、1頁分つまり表示装置の場合には1画面
分の文字配列の出力が終了する。In FIG. 7 (a), first, the first character a is arranged at a predetermined position at the left end and at a position of y 1 from the upper end of one line, and then the first character a is separated by a character spacing z. 2 letter b from the top
was positioned at a distance of y 1, then place the third letter c apart by character spacing z from the upper end at a distance of y 1, sequentially arranged away from the top end by y 1 per Thus character . When this is finished, the number of characters in the second line is calculated, and then the character array distance is entered. In this way, the output of the character array for one page, that is, for one screen in the case of the display device is completed by continuing from the third line onward.
第7図(a)では、補正枠の文字を等間隔に配列してい
るが、実際には、補正枠内に文字に付加された補正値d0
〜d3が文字間隔に加算されるので、文字ごとに間隔が異
なってくる。これにより、筆記書体を美しく並べること
が可能となる。In FIG. 7A, the characters in the correction frame are arranged at equal intervals, but in reality, the correction value d 0 added to the characters in the correction frame is set.
~ D 3 is added to the character spacing, so each character has a different spacing. This makes it possible to arrange the cursive fonts beautifully.
縦書きの場合には、第7図(b)に示すように、x1だけ
左端から離して第1の文字aを配置し、次に等間隔zだ
け離してx1だけ離れた位置に第2の文字bを配置し、次
に、等間隔zだけ離してx1だけ離れた位置に第3の文字
cを配置する。In the case of vertical writing, as shown in FIG. 7 (b), the first character a is arranged at a distance of x 1 from the left end, and then the first character a is separated by an equal distance z and separated by x 1 . The second character b is placed, and then the third character c is placed at a position x 1 apart by an equal distance z.
このように、本発明によれば、文字間の静電容量を計算
することなく、簡単な方法で、迅速に文字ピッチと出力
文字の配置を決定でき、しかも人間が感覚的に美しく見
える配列にすることができる。従って、この方法を、文
字組装置、電算写植装置、ワードプロセッサ、パーソナ
ルコンピュータ、表示装置、プリンタ等に応用すること
により、筆記書体による美しい印刷が実現できる。As described above, according to the present invention, it is possible to quickly determine the character pitch and the arrangement of output characters by a simple method without calculating the capacitance between the characters, and further, to form an array that humans can perceive beautifully. can do. Therefore, by applying this method to a character set device, a computer typesetting device, a word processor, a personal computer, a display device, a printer, etc., beautiful printing with cursive writing can be realized.
第1図は本発明の一実施例を示す補正枠の作成方法の説
明図、第2図は文字枠内での漢字の大きさを示す図、第
3図,第4図,第5図はプロポーショナルスペーシング
の説明図、第6図は筆記書体を美しく並べるための文字
枠データの決め方の原理図、第7図は本発明の一実施例
を示す文字配列方法の図、第8図は本発明の一実施例を
示す文字パターンメモリの格納配置図である。 d0〜d3:補正値、x1,y1:外枠から補正枠までの距離、x2,
y2:補正枠による文字幅(横,縦)。FIG. 1 is an explanatory diagram of a method of creating a correction frame showing an embodiment of the present invention, FIG. 2 is a diagram showing the size of Chinese characters in a character frame, and FIGS. 3, 4, and 5 are FIG. 6 is an explanatory view of proportional spacing, FIG. 6 is a principle diagram of how to determine character frame data for beautifully arranging writing styles, FIG. 7 is a diagram of a character arrangement method showing an embodiment of the present invention, and FIG. 8 is a book. It is a storage layout diagram of a character pattern memory showing an embodiment of the invention. d 0 to d 3: correction values, x 1, y 1: distance from the outer frame to corrected frame, x 2,
y 2: character width due to the correction frame (horizontal, vertical).
Claims (2)
て文字を配列する際に用いたドットパターンを格納する
キャラクタ・ジェネレータにおいて、該キャラクタ・ジ
ェネレータの1文字枠内に各種文字を位置決めする場
合、実際の文字寸法で得られた枠(実枠)の外側に補正
値を付加した補正枠を設け、仮に1文字枠の左上部角を
基準点としたとき、上記1文字枠から補正枠の左端まで
の距離と、該1文字枠から補正枠の上端までの距離と、
補正枠による横方向と縦方向の文字幅の情報を、文字パ
ターンとともに記憶し、該情報を用いて出力時に文字パ
ターンを配列することを特徴とする補正枠による文字配
列法。1. A character generator for storing a dot pattern used when arranging characters by using the proportional spacing method, in the case of positioning various characters within one character frame of the character generator When a correction frame with a correction value is provided outside the frame (actual frame) obtained by the character size, and if the upper left corner of one character frame is used as the reference point, from the one character frame to the left end of the correction frame The distance and the distance from the one character frame to the top of the correction frame,
A character arrangement method using a correction frame, characterized in that information on character widths in the horizontal and vertical directions by the correction frame is stored together with the character pattern, and the character pattern is arranged at the time of output using the information.
と列とで示したドット集合に対し、外側からの行または
列ごとのドット数に、順次異なった重みを持たせて累計
した値で決まる距離を文字の外側に付加することを特徴
とする特許請求の範囲第1項記載の補正枠による文字配
列法。2. The correction value is a value obtained by sequentially adding different weights to the number of dots in each row or column from the outside for a set of rows and columns forming a character pattern, and accumulating the correction values. A character arrangement method using a correction frame according to claim 1, wherein a distance determined by is added to the outside of the character.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61207054A JPH07122789B2 (en) | 1986-09-03 | 1986-09-03 | Character arrangement method with correction frame |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61207054A JPH07122789B2 (en) | 1986-09-03 | 1986-09-03 | Character arrangement method with correction frame |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6363091A JPS6363091A (en) | 1988-03-19 |
| JPH07122789B2 true JPH07122789B2 (en) | 1995-12-25 |
Family
ID=16533443
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61207054A Expired - Fee Related JPH07122789B2 (en) | 1986-09-03 | 1986-09-03 | Character arrangement method with correction frame |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH07122789B2 (en) |
-
1986
- 1986-09-03 JP JP61207054A patent/JPH07122789B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6363091A (en) | 1988-03-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0821312A2 (en) | Pointsize-variable character spacing | |
| Craig et al. | Designing with type: the essential guide to typography | |
| JPH0926778A (en) | Kerning treatment method | |
| JPS6033674B2 (en) | Kanji typewriter type | |
| EP1203351A1 (en) | System for rapidly performing scan conversion with anti-aliasing upon outline fonts and other graphic elements | |
| KR910006031A (en) | Character pattern forming device | |
| JPS6167884A (en) | Display both for alphametric and number | |
| JPH07122789B2 (en) | Character arrangement method with correction frame | |
| Ellison | The complete guide to digital type: Creative use of typography in the digital arts | |
| JPS5843488A (en) | Liquid crystal display element | |
| JP2000207393A (en) | Character arrangement outputting device | |
| JP2632834B2 (en) | Character processor | |
| JPH0610441Y2 (en) | Word processor | |
| JPS6215669A (en) | How to determine the distance between characters | |
| JP3379455B2 (en) | How to border input characters | |
| Gaultney | Balancing typeface legibility and economy | |
| JPH03184182A (en) | Character output layout determination system | |
| Hunt | Kerning: it’s not always a good thing. | |
| Karow | Typeface terminology | |
| Crawford | Common sense Wordworking III: desktop publishing and desktop typesetting | |
| JPS629388A (en) | character pattern generator | |
| JPH07172021A (en) | Layout method of letter | |
| JPS62551B2 (en) | ||
| Hamdy | PARAMETERIZED ARABIC FONT DEVELOPMENT FOR COMPUTER TYPESETTING SYSTEMS | |
| JPH02256093A (en) | System for forming information on character font pitch |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |