JPS6363091A - Character array by correction frame - Google Patents

Character array by correction frame

Info

Publication number
JPS6363091A
JPS6363091A JP61207054A JP20705486A JPS6363091A JP S6363091 A JPS6363091 A JP S6363091A JP 61207054 A JP61207054 A JP 61207054A JP 20705486 A JP20705486 A JP 20705486A JP S6363091 A JPS6363091 A JP S6363091A
Authority
JP
Japan
Prior art keywords
character
frame
characters
correction
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.)
Granted
Application number
JP61207054A
Other languages
Japanese (ja)
Other versions
JPH07122789B2 (en
Inventor
野崎 耕一
渡辺 節子
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP61207054A priority Critical patent/JPH07122789B2/en
Publication of JPS6363091A publication Critical patent/JPS6363091A/en
Publication of JPH07122789B2 publication Critical patent/JPH07122789B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Abstract] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、補正枠による文字配列法に関し、特に筆記書
体により、ワードプロセッサやパーソナルコンピュータ
、あるいはタイプライタ等に文字列を出力するための文
字パターンメモリ等の配列法に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a character arrangement method using a correction frame, and in particular to a character pattern for outputting a character string to a word processor, personal computer, typewriter, etc. using a cursive font. Concerning methods of arranging memory, etc.

〔従来の技術〕[Conventional technology]

従来のタイプライタ、ワードプロセッサ等の活字や文字
パターンは全て大きさが一定であって、その文字枠を最
大限に利用するように、文字の方で決められている。す
なわち、第2図に示すように、「今」、「国」、「日」
、「量」等の漢字について、文字枠に対する大きさと位
置が決められ、その場合1文字のセンター間を一定にす
れば美しく配列されるように設計されている。また、漢
字相互の間隔と仮名や英文字相互の間隔を同じ寸法にし
たときには、全体の文字の配列が奇異に感じられる。
The printed characters and character patterns of conventional typewriters, word processors, etc. all have a fixed size, and the characters are determined so as to make maximum use of the character frame. In other words, as shown in Figure 2, "now", "country", "day"
, ``Quantity'' and other kanji characters are determined in size and position relative to the character frame, and are designed to be arranged beautifully if the distance between the centers of each character is constant. Furthermore, when the spacing between Kanji characters and the spacing between Kana and English letters are set to the same dimension, the overall arrangement of the 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 text is also impaired by such character spacing. To solve this,
It is necessary to use proportional spacing, so that the spaces between letters are not all the same, but vary depending on the complexity of each letter.

一般に、活字の場合、漢字と仮名の寸法比は、1 : 
0.8程度の比率になっている。第3図は。
Generally, in the case of printed letters, the size ratio of kanji and kana is 1:
The ratio is about 0.8. Figure 3 is.

文字を活字の並べ方、つまり文字のセンター間を等間隔
にした配列方法の一例を示す図である。活字の大きさく
文字寸法)が異なっても1通常活字が収容される文字枠
の大きさは活字盤やパターンメモリでは全て等しいので
、第3図に示すような文字配列となり、漢字相互の間隔
は小さく、仮名相互の間隔は大きいが、それ程障害にな
らない様に文字のデザインがなされている。
FIG. 2 is a diagram illustrating an example of a method of arranging characters in print, that is, an arrangement method in which the centers of characters are arranged at equal intervals. Even if the size of the typeface (character size) is different, the size of the character frame that accommodates the normal typeface is the same on the typeface and pattern memory, so the character arrangement will be as shown in Figure 3, and the spacing between the kanji characters will be the same. Although it is small and the spacing between kana is large, the letters are designed so that it does not become too much of a hindrance.

最近は、活字体のみでなく、筆記書体のワードプロセッ
サやタイプライタが出現しているが、筆記体で書かれた
文字では、漢字と仮名の比率が1:0.3程度になる場
合がある。それだけでなく、漢字の中の大きい字と小さ
い字、仮名の中の大きい字と小さい字も、それぞれ大き
な比率を持っており、小さい漢字と大きい仮名を比べた
場合、仮名の方が大きい場合もある0本来の文字の形は
、このようなものであると考えられる。
Recently, word processors and typewriters have appeared that use not only printed characters but also cursive fonts, but in the case of characters written in cursive fonts, the ratio of kanji to kana may be about 1:0.3. Not only that, the large and small characters in kanji and the large and small characters in kana each have a large ratio, and when comparing small kanji and large kana, the kana may be larger. The original shape of the character 0 is thought to be like this.

また、筆記体で延び延びと書かれた文字は、決して四角
い枠の中に納まっているものではなく、その形状は千差
万別である。特に、左右の「はらい」が延びている字や
、上下または左右の形が非対称になっている字が多数を
占めている。
Furthermore, the letters written in cursive letters do not fit within a rectangular frame, but have a wide variety of shapes. In particular, there are many characters with extended ``harai'' on the left and right, and characters with asymmetrical vertical or horizontal shapes.

このように大きさも違い、形状も違う文字を。In this way, the letters are different in size and shape.

真直に見えるように、さらに自然な間隔になるように配
列する場合には、プロポーショナルスペーシングと呼ば
れる並べ方を用いる。第4図は大きさの異なる文字を活
字配列した場合に、文字のセンター間の寸法を一定にと
った配列図であり、これでは小さい文字の間が広くなる
ため、それを是正する必要がある。第5図は一般的なプ
ロポーショナルスペーシングで、文字の隙間を一定にし
た配列図である。両図から明らかなように、第5図の方
が美しく並べることができる。
When arranging items so that they look straight and have natural spacing, a method called proportional spacing is used. Figure 4 is an arrangement diagram in which the dimensions between the centers of the letters are kept constant when letters of different sizes are arranged in type.This will result in the spaces between small letters becoming wider, so this needs to be corrected. . FIG. 5 is an arrangement diagram using general proportional spacing, with constant spacing between characters. As is clear from both figures, the arrangement in Figure 5 is more beautiful.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかし、このプロポーショナルスペーシングを用いたと
しても、文字の形状が異なる実際の文章の場合には、こ
のように単純ではない。例えば、F会合」という文字間
の向い合った文字先端相互の隙間と、「周囲」という文
字間の同じ隙間を、同じ寸法にした場合、「周囲」の方
がつまった感じになる。従って、美しい配列にするため
には、「周囲」の文字間隔の方を「会合」の間隔よりも
若干法げる必要がある。
However, even if this proportional spacing is used, it is not as simple as this in the case of actual sentences with different character shapes. For example, if the gap between the leading ends of the letters facing each other between the letters ``F meeting'' and the same gap between the letters ``surroundings'' are made to have the same dimensions, ``surroundings'' will appear to be tighter. Therefore, in order to create a beautiful arrangement, it is necessary to make the spacing between the "surrounding" characters slightly wider than the spacing between the "meeting" characters.

このことは、形状の異なる文字をどの文字とでも美しく
並べる必要があるだけに、深刻な問題である。
This is a serious problem because it is necessary to arrange characters of different shapes beautifully with each other.

本発明の目的は、このような問題を改善し、大きさと形
状の異なる文字を配列する場合に、美しく、バランスの
とれた、自然な間隔になるようにすることができる補正
枠を設け、補正枠間の寸法を一定にすることによる文字
配列法を提供することにある。
The purpose of the present invention is to improve such problems by providing a correction frame that can create beautiful, well-balanced, and natural spacing when arranging characters of different sizes and shapes. The object of the present invention is to provide a character arrangement method by making the dimensions between frames constant.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的を達成するため、本発明の補正枠による文字配
列法は、キャラクタ・ジェネレータの1文字枠内に各種
文字を位置決めする場合、実際の文字寸法で得られた枠
の外側に補正値を付加した補正枠を設け、仮に1文字枠
の左上部角を基準点としたとき、上記1文字枠から補正
枠の左端までの距離と、該1文字枠から補正枠の上端ま
での距離と、上記補正枠による横方向と縦方向の文字幅
の情報を、文字パターンとともに記憶し、該情報を用い
て出力時に文字パターンを配列することに特徴がある。
In order to achieve the above object, the character arrangement method using a correction frame of the present invention adds correction values to the outside of the frame obtained with the actual character size when positioning various characters within one character frame of a character generator. If a correction frame is provided, and the upper left corner of the 1-character frame is used as the reference point, the distance from the 1-character frame to the left edge of the correction frame, the distance from the 1-character frame to the top of the correction frame, and the above A feature of this method is that information on character widths in the horizontal and vertical directions based on the correction frame is stored together with character patterns, and the character patterns are arranged using this information when outputting.

〔作  用〕[For production]

普通のプロポーショナルスペーシング法では、文字間隔
(寸f5)は一定であるため、形状と大きさの異なった
文字を配列する場合、一方はつまって見え、他方は空い
て見える。これは、目の錯視によるものであり、これを
バランスよく見せるために、本発明においては、文字の
周囲を、指定された文字間隔(寸法)よりも広げて配置
する。このために、文字寸法の実棒の外側にゴースト(
Q host)の枠(広い寸法)を持ったデータを与え
、このデータにより文字を配列することにより、美しく
、バランスのとれた文字配列が可能になる。
In the normal proportional spacing method, the character spacing (dimension f5) is constant, so when characters of different shapes and sizes are arranged, one looks crowded and the other looks empty. This is due to an optical illusion, and in order to make it look well-balanced, in the present invention, the periphery of the characters is arranged wider than the specified character spacing (dimensions). For this purpose, a ghost (
By providing data with a frame (wide dimension) of Q host) and arranging characters using this data, a beautiful and well-balanced character arrangement is possible.

〔実施例〕〔Example〕

以下、本発明の実施例を、図面により詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

第1図は5本発明の一実施例を示す補正枠の与え方の説
明図である。ここでは、−例として「彫」という文字を
対象とする。漢字を構成するエレメントには、右はらい
、流れ、はね、たすき、さんずい、かぎ、横線、縦線、
しんにゅう等があるが、横方向の文字の配列では、左端
または右端に縦線のある文字(例えば、「周」、「囲」
等)では1文字間隔が小さく感じられるのに対して、右
はらい、流れ、はね、たすき、さんずい等のエレメント
が端部に一部しか現われていない文字(例えば、「会」
、1合」等)では、文字間隔が大きく感じられる。一方
、縦方向の文字の配列では、上端または下端に横線のあ
る文字(例えば、1面」、「因」等)では、文字間隔が
小さく感じられるのに対して、はらい。
FIG. 1 is an explanatory diagram of how to provide a correction frame according to an embodiment of the present invention. Here, as an example, the character ``carved'' is targeted. The elements that make up kanji include right side, flow, hane, sash, sanzui, hook, horizontal line, vertical line,
However, in the horizontal character arrangement, characters with a vertical line on the left or right end (for example, ``zhou'', ``shoku'')
etc.), the spacing between each character seems small, whereas in characters where elements such as ``right side'', ``nagare'', ``hae'', ``sash'', and ``sanzu'''' appear only partially at the end (for example, ``kai'')
, 1 go, etc.), the character spacing seems large. On the other hand, when characters are arranged in the vertical direction, characters with horizontal lines at the top or bottom (for example, ``1 page'', ``in'', etc.) feel like the character spacing is small;

さんずい、たすき、はね等のエレメントが上端、下端に
一部しか現われていない文字(例えば、「大」、「小」
等)では、文字間隔が大きく感じられる。
Characters in which elements such as sashes, sashes, and splashes appear only partially at the top and bottom edges (e.g., ``large'', ``small'')
etc.), the character spacing seems large.

そこで、本実施例においては、横方向の配列では縦線、
縦方向の配列では横線がそれぞれ端部に現われている文
字に対して、外側に補正枠(ゴースト枠)を設け、その
分だけ隣接文字との間隔を広く見せるようにする。エレ
メントが一部しか端部に現われていない文字に対しては
、補正枠を設けることなく、従来の通り文字に接触した
外枠を設ける。第1図においては、「彫」の左端に縦線
(ここでは、縦線が2段になっているが、便宜上縦線と
みなす)が現われているため、予め定められた補正値d
、を付加した外側に補正枠(ゴースト枠)を設ける。ま
た、右端にはけねのエレメントの一部のみが現われてお
り、大枠とは一点で接触しているのみであるムめ、補正
枠を設けずに、大枠のみとする。つまり、右側の補正値
d1=0とする。また、上端には横線に近いエレメント
の一部とばねの一部が現われているため、上方に僅かの
補正値d2を付加して補正枠を設ける(ここで、dz<
doである)、、また、下端には縦線の端部とはねの端
部が複数箇所に現われているため、左端よりは実棒に接
触しているドツト数が多く、従って左端より僅かに大き
い補正値d3を付加して補正枠を設ける(ここで、d3
>dtである)。
Therefore, in this embodiment, vertical lines,
In a vertical arrangement, a correction frame (ghost frame) is provided on the outside of each character with a horizontal line appearing at its end, making the distance between adjacent characters appear wider. For a character in which only a portion of the element appears at the end, an outer frame touching the character is provided as in the conventional method without providing a correction frame. In Figure 1, a vertical line (here, the vertical line is two-tiered, but for convenience it is considered as a vertical line) appears at the left end of the "carving", so the predetermined correction value d
A correction frame (ghost frame) is provided outside the area where , is added. In addition, only a part of the element of the curve appears at the right end, and it only touches the large frame at one point, so no correction frame is provided, and only the large frame is provided. In other words, the right correction value d1 is set to 0. Also, since a part of the element close to the horizontal line and a part of the spring appear at the upper end, a small correction value d2 is added above to create a correction frame (here, dz<
In addition, since the ends of the vertical line and the ends of the splashes appear in multiple places at the bottom end, there are more dots in contact with the actual rod than at the left end, and therefore the number of dots is slightly smaller than at the left end. A correction frame is provided by adding a large correction value d3 to (here, d3
>dt).

このように、本実施例では、文字の大枠とは違った補正
枠(ゴースト枠)を設けて、活字または文字パターンを
設定する点に特徴がある。第1図では、大枠を実線で示
し、補正枠(ゴースト枠)を破線で示している。さらに
、詳述すると、第1図の文字「彫」は、全体の文字枠が
48ドツト×48ドツトで示されており、その内側の実
際の文字に接触した大枠は、32ドツト×32ドツトで
ある。左端1列目のドツトパターンは8ドツト、左端2
列目のドツトパターンは13ドツトであり、右端の1列
目は1ドツト、2列目は3ドツト、3列目は3ドツトで
ある。また、上端の1行目は2ドツト、2行目は5ドツ
ト、3行目は8ドツトであり、下端の1行目は3ドツト
、2行目は3ドツト、3行目は3ドツトである。これら
の各端におけるドツト数と各端部での補正値day d
l、d2+ d3とはほぼ比例している。
As described above, this embodiment is characterized in that printed characters or character patterns are set by providing a correction frame (ghost frame) that is different from the large frame of the characters. In FIG. 1, the large frame is shown by a solid line, and the correction frame (ghost frame) is shown by a broken line. Furthermore, to explain in more detail, the entire character frame for the character ``Hori'' in Figure 1 is 48 dots x 48 dots, and the large frame that touches the actual characters inside is 32 dots x 32 dots. be. The dot pattern in the first row on the left is 8 dots, and the pattern on the left is 2.
The dot pattern in the column is 13 dots, the first column on the right end is 1 dot, the second column is 3 dots, and the third column is 3 dots. Also, the first row at the top is 2 dots, the second row is 5 dots, and the third row is 8 dots, and the first row at the bottom is 3 dots, the second row is 3 dots, and the third row is 3 dots. be. The number of dots at each of these ends and the correction value day d at each end
It is almost proportional to l, d2+d3.

本実施例においては、タイプライタの文字盤、またはワ
ードプロセッサの文字パターンメモリに、これらの文字
パターンを格納する場合に、各文字に制光てられた48
X48ドツトのエリアに対して5最外枠から補正枠まで
の距離と、文字の横方向と縦方向の幅、つまり補正値を
含む文字の大きさをデータとして各文字ごとに登録して
おき、プロセッサがプリンタまたは表示部に出力する際
に、これらのデータをパターンとともに読み出して、そ
れらのデータに従って文字配列を行うのである。
In this embodiment, when storing these character patterns on the dial of a typewriter or in the character pattern memory of a word processor, each character has 48
For an area of 48 dots, register the distance from the outermost frame to the correction frame and the horizontal and vertical width of the character, that is, the size of the character including the correction value, for each character as data. When the processor outputs the data to a printer or display, it reads out this data together with the pattern and arranges the characters according to the data.

第1図では、パターンメモリに、文字パターンとともに
、左端文字枠から補正枠までの距離x工。
In FIG. 1, the distance x from the leftmost character frame to the correction frame is stored in the pattern memory along with the character pattern.

上端文字枠から補正枠までの距Hy 1y横方向の補正
値を含む文字幅X2+縦方向の補正値を含む文字幅y2
をデータとして記憶しておく。これだけ記憶しておけば
、右端外枠から補正枠までの距離は(48−XI −X
2 )ドツト、下端外枠から補正枠までの距離は(48
yl y2)ドツトで計算できる。
Distance from the upper end character frame to the correction frame Hy 1y Character width including horizontal correction value X2 + Character width including vertical correction value y2
is stored as data. If you memorize this much, the distance from the right edge outer frame to the correction frame is (48-XI-X
2) The distance from the dot and bottom outer frame to the correction frame is (48
yl y2) Can be calculated using dots.

第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 on character frame data for beautifully arranging calligraphy typefaces, it would be impossible to consider only the outermost rows at the left, right, top, and bottom edges.
Moreover, it is impossible to arrange the empty space so that it looks beautiful. Therefore, when considering the spacing between characters on the right, as shown in Figure 6(a), the first column on the right side has the largest number of dots (for example, 33 dots), and the second column has the highest number of dots. In the case of a triangular character dot group with the right end as the base and the left side as the apex, the third column has the next highest number (for example, 29 dots).
As shown in Figure 6(b), the first column on the right side has only one dot, the second column has three dots, the third column has five dots, etc.
A comparison is made with 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 largest number of 33 dots.

ところで、本発明者はこの出願より前に、各文字ごとの
間隔を人間の感覚に照して美しく並んで見え、全体から
もバランスのとれたサイズに、CADで算出することが
できる文字間距雅の決定法を提案した(特願昭60−1
55636号明m杏参照)。上記方法によれば、横書き
または縦書きに配列され、漢字や仮名等が混在した複数
個の文字間の距離を、CADプログラムにより算出する
場合、隣接する文字の対応する構成要素間の静電容量ま
たは近似の量を縦方向または横方向の全素子について算
出し、その算出値の合計を求めて、その文字間ごとの静
電容量または近似の量の合計値が配列された全ての文字
間で等しくなるように、各文字nff距離を決定してい
る。ここで、静電容量は距離Qに反比例するので、上記
方法を実現するには、隣接する文字の対応する素子間の
静電容量を測定し、それらを合計した容量値が等しくな
るように、各文字間隔を決定する必要がある。そのため
に、各素子ごとに1/Ωを求め、それらの合計値Σ1/
Qが等しくなるように文字間の距離を決定する。さらに
、実際には、1/Q〜1ん1として計算した場合に、専
門家により美しく感じられると判断されている。
By the way, prior to filing this application, the inventor of the present invention had developed a method for determining the spacing between letters that can be calculated using CAD so that the spacing between each letter appears beautifully lined up according to human senses, and the overall size is well-balanced. proposed a determination method (Patent Application 1986-1)
No. 55636 Akira An). According to the above method, when calculating the distance between multiple characters arranged horizontally or vertically and containing a mixture of kanji, kana, etc. using a CAD program, the capacitance between corresponding constituent elements of adjacent characters can be calculated using a CAD program. Or calculate the amount of approximation for all elements in the vertical or horizontal direction, find the sum of the calculated values, and calculate the capacitance between each character or the total value of the amount of approximation between all the arranged characters. The nff distance of each character is determined so that they are equal. Here, the capacitance is inversely proportional to the distance Q, so to implement the above method, measure the capacitance between corresponding elements of adjacent letters, and then measure the capacitance between the corresponding elements of adjacent letters so that the summed capacitance values are equal. It is necessary to determine the spacing between each character. To do this, find 1/Ω for each element, and calculate their total value Σ1/
Determine the distance between characters so that Q is equal. Furthermore, in reality, when calculated as 1/Q ~ 1 x 1, it has been judged by experts that it feels more beautiful.

第6図(a)(b)において、上記方法を適用すると、
明らかに(a)の方が隣接する文字に近い距離のドツト
が多いため、Σ1/Qの値は大きくなり、間隔を(b)
の場合より広く設ける必要がある。
In FIG. 6(a)(b), when the above method is applied,
Obviously, in (a) there are more dots that are closer to the adjacent characters, so the value of Σ1/Q is larger, and the spacing is reduced to (b).
It is necessary to provide a wider area than in the case of

(b)では、隣接文字に近い距離のドツトが少なく、遠
くなるに従ってドツト数が多くなるので、Σ1/Qの値
は(a)より小さくなり、その結果、間隔は(a)より
狭くてよい。
In (b), there are fewer dots close to the adjacent characters, and the number of dots increases as the distance increases, so the value of Σ1/Q is smaller than in (a), and as a result, the spacing can be narrower than in (a). .

第6図(C)は、端部からの距離に対する静電容量の特
性曲線図である。曲線イは1/Q’ 、曲線口は1/Q
2、曲線ハは1/Ω3を示している。
FIG. 6(C) is a characteristic curve diagram of capacitance versus distance from the end. Curve A is 1/Q', curve opening is 1/Q
2. Curve C shows 1/Ω3.

このように、上記提案に基づく正確な測定方法によれば
、文字ごとに全ドツトに対して静電容量を算出する必要
があるが、文字の種類は勿論のこと、文字間の組合せの
数も膨大となるので、本実施例では、便宜上、文字の端
部から1〜4列目のみを考慮して計算し、文字間距離を
決定する方法を与えるものである。
In this way, according to the accurate measurement method based on the above proposal, it is necessary to calculate the capacitance for all dots for each character. For convenience, this embodiment provides a method of determining the distance between characters by considering only the 1st to 4th columns from the end of the character.

本実施例においては、端部より第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と左端外枠から補正枠ま
での距Kl x 1と、縦方向の文字幅y2と上端外枠
から補正枠までの距離y1である。
In this example, since the dots in the first row from the end have the greatest influence on the capacitance, one dot is 1.0
Then, the dot in the second column is 1.1, that is, when there is 1.1 dot, it is considered as 1 dot, the dot in the third column is 1.2, and the dot in the fourth column is 2.0. do. Since these numerical values are determined experimentally, it goes without saying that they can be changed to arbitrary values according to intuition. A character correction frame (ghost frame) is determined as follows using the correction values for each column as described above. That is, in the first column, a
For a character consisting of a dot, a b dot in the second column, a c dot in the third column, and a d dot in the fourth column, (1/1.0)
a+ (1/1.1)b+(1,/1.2)c+
(1/2) = A, so by adding A to the large frame as a character correction value, the correction frame (ghost frame)
Determine. This correction value A is applied to the left and right A1. When only A2 is added, if the width within the actual character frame is x3, the character width X2 including the correction value is x2 = x3 + A1 + A2. In this embodiment, the data to be stored in the storage device are the horizontal character width x2, the distance Kl x 1 from the left outer frame to the correction frame, and the vertical character width y2 and the distance from the upper outer frame to the correction frame. is the distance y1.

第7図は、本発明の一実施例を示す文字の配列アルゴリ
ズムの説明図、第8図は本発明により文字パターンメモ
リに格納される各文字のパターンの配置図。
FIG. 7 is an explanatory diagram of a character arrangement algorithm showing an embodiment of the present invention, and FIG. 8 is a diagram showing the arrangement of each character pattern stored in a character pattern memory according to the present invention.

本実施例においては、キャラクタ・ジェネレータ3に、
第8図に示すような配置で各文字が格納されている。す
なわち、漢字、仮名、英字等により、また筆記書体であ
るため形状が文字ごとにそれぞれ異なっており、従って
、文字ごとに異なる寸法の横幅と縦幅を持つ文字パター
ンと、左右上下に補正値do+ dlt d2* d3
を含めた文字の補正枠とが記憶されている。そして、各
文字とも、画一寸法の外枠から補正枠までの距離Xl+
横方向の補正枠による文字幅X2+上端の外枠から補正
枠までの距離yly縦方向の補正枠による文字幅y2を
、付加情報として記憶している。
In this embodiment, the character generator 3 includes
Each character is stored in an arrangement as shown in FIG. In other words, each character has a different shape depending on the kanji, kana, alphabet, etc., and because it is a calligraphy typeface, so each character has a character pattern with different width and height dimensions, and correction values do+ on the left, right, top, and bottom. dlt d2* d3
A correction frame for characters including . For each character, the distance from the outer frame of the uniform dimension to the correction frame is Xl +
The character width X2 according to the horizontal correction frame+the distance yly from the upper edge outer frame to the correction frame and the character width y2 according to the vertical correction frame is stored as additional information.

コントローラは、第1文字の文字幅8x2.第2文字の
文字幅bx2.第2.字の文字幅cx2゜・・・と同一
の文字間隔とを全て加算して、1行分の寸法に達したと
きに、1行内に表示(出力)される文字数が決定される
。すなわち、ax2+z+bx2+z+cx2+III
IT・ を計算して、文字数を決定した後、第7図に示す方法で
表示装置i!(出力装置)に出力する。(a)は、横方
向に文字を配列する場合を示しているが、縦方向に配列
する場合にも使用するデータがyl、2からX1+X2
に変更される点が異なるだけで、その他は全く同一であ
る((b)参照)。
The controller sets the character width of the first character to 8x2. Character width of second character bx2. Second. The number of characters to be displayed (output) in one line is determined when the character width cx2°... and the same character spacing are added together to reach the dimension for one line. That is, ax2+z+bx2+z+cx2+III
After calculating IT・ and determining the number of characters, display device i! by the method shown in FIG. Output to (output device). (a) shows the case where characters are arranged horizontally, but the data used also when arranging characters vertically is yl, 2 to X1+X2
The only difference is that it is changed to , and the rest is exactly the same (see (b)).

第7図(、)では、先ず、第1の文字aを左端の所定の
位置で、かつ1行の上端からylの距離の位置に配置し
、次に、画一文字間隔Zだけ離して第2の文字すを上端
からylの距離に配置し、次に文字間隔Zだけ離して第
3の文字Cを上端からYtの距離の位置に配置し、この
ように文字ごとのylだけ上端から離して順次配列する
。これが終了したならば、第2行目の文字数計算を行っ
た後、文字配列処理に移る。このようにして、第3行目
以降も続けることにより、1頁分つまり表示装置の場合
には1画面分の文字配列の出力が終了する。
In FIG. 7(,), first the first character a is placed at a predetermined position on the left end and at a distance of yl from the top of one line, and then the second character a is placed at a distance of yl from the top of one line. Place the letter C at a distance of yl from the top edge, then place the third letter C at a distance of Yt from the top edge with a letter spacing Z apart, and in this way, place the letter C at a distance of Yt from the top edge for each letter. Arrange sequentially. When this is completed, the number of characters in the second line is calculated, and then character arrangement processing is started. In this way, by continuing from the third line onwards, the output of the character array for one page, that is, for one screen in the case of a display device, is completed.

第7図(a)では、補正枠の文字を等間隔に配列してい
るが、実際には、補正枠内に文字に付加された補正値d
o−d3が文字間隔に加算されるので、文字ごとに間隔
が異なってくる。これにより、筆記書体を美しく並べる
ことが可能となる。
In FIG. 7(a), the characters in the correction frame are arranged at equal intervals, but in reality, the correction value d added to the characters in the correction frame is
Since o-d3 is added to the character spacing, the spacing differs for each character. This makes it possible to arrange the cursive fonts beautifully.

縦書きの場合には、第7図(b)に示すように、xlだ
け左端から離して第1の文字aを配置し、次に等間隔2
だけ離してxlだけ離れた位置に第2の文字すを配置し
、次に、等間隔2だけ離してXIだけ離れた位置に第3
の文字Cを配にする。
In the case of vertical writing, as shown in Figure 7(b), place the first letter a a distance xl from the left edge, then place the first letter a at equal intervals 2
Place the second letter space xl apart, then place the third letter space equally spaced 2 apart and xl apart.
Arrange the letter C.

〔発明の効果〕 このように、本発明によれば、文字間の静電容量を計算
することなく、簡単な方法で、迅速に文字ピッチと出力
文字の配置を決定でき、しかも人間が感覚的に美しく見
える配列にすることができる。従って、この方法を、文
字組装置、ffl算写植装置、ワードプロセッサ、パー
ソナルコンピュータ、表示装置、プリンタ等に応用する
ことにより、筆記書体による美しい印刷が実現できる。
[Effects of the Invention] As described above, according to the present invention, the character pitch and the layout of output characters can be determined quickly in a simple manner without calculating the capacitance between characters. You can create an array that looks beautiful. Therefore, by applying this method to a character typesetting device, an FFL arithmetic typesetting device, a word processor, a personal computer, a display device, a printer, etc., it is possible to realize beautiful printing using a calligraphy typeface.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例を示す補正枠の作成方法の説
明図、第2図は文字枠内での漢字の大きさを示す図、第
3図、第4図、第5図はプロポーショナルスペーシング
の説明図、第6図は筆記書体を美しく並べるための文字
枠データの決め方の原理図、第7図は本発明の一実施例
を示す文字配列方法の図、第8図は本発明の一実施例を
示す文字パターンメモリの格納配置図である。 do−d3:補正値、XI l yl :外枠から補正
枠までの距離、X2pV2:補正枠による文字幅(横、
縦)。 第   1   図 第   2   図 第  6  図 第   7   図 (a)
Figure 1 is an explanatory diagram of a method for creating a correction frame showing an embodiment of the present invention, Figure 2 is a diagram showing the size of kanji within the character frame, Figures 3, 4, and 5 are An explanatory diagram of proportional spacing, Figure 6 is a principle diagram of how to determine character frame data to arrange cursive fonts beautifully, Figure 7 is a diagram of a character arrangement method showing an embodiment of the present invention, Figure 8 is a book FIG. 2 is a storage layout diagram of a character pattern memory showing an embodiment of the invention. do-d3: Correction value, XI l yl: Distance from outer frame to correction frame, X2pV2: Character width by correction frame (horizontal,
vertical). Figure 1 Figure 2 Figure 6 Figure 7 (a)

Claims (1)

【特許請求の範囲】 1、プロポーショナル・スペーシング法を用いて文字を
配列する際に用いたドットパターンを格納するキャラク
タ・ジェネレータにおいて、該キャラクタ・ジェネレー
タの1文字枠内に各種文字を位置決めする場合、実際の
文字寸法で得られた枠(実枠)の外側に補正値を付加し
た補正枠を設け、仮に1文字枠の左上部角を基準点とし
たとき、上記1文字枠から補正枠の左端までの距離と、
該1文字枠から補正枠の上端までの距離と、補正枠によ
る横方向と縦方向の文字幅の情報を、文字パターンとと
もに記憶し、該情報を用いて出力時に文字パターンを配
列することを特徴とする補正枠による文字配列法。 2、上記補正値は、文字パターンを構成する行と列とで
示したドット集合に対し、外側からの行または列ごとの
ドット数に、順次異なった重みを持たせて累計した値で
決まる距離を文字の外側に付加することを特徴とする特
許請求の範囲第1項記載の補正枠による文字配列法。
[Claims] 1. In a character generator that stores dot patterns used when arranging characters using the proportional spacing method, when various characters are positioned within one character frame of the character generator. , a correction frame with correction values added outside the frame obtained with the actual character size (actual frame) is set up, and if the upper left corner of the one-character frame is used as the reference point, then the correction frame is The distance to the left edge and
Information about the distance from the single character frame to the top end of the correction frame and the character width in the horizontal and vertical directions by the correction frame is stored together with the character pattern, and the information is used to arrange the character pattern when outputting. A character arrangement method using a correction frame. 2. The above correction value is the distance determined by the cumulative value of sequentially giving different weights to the number of dots in each row or column from the outside to the set of dots shown in the rows and columns that make up the character pattern. 2. A character arrangement method using a correction frame according to claim 1, wherein: is added to the outside of the characters.
JP61207054A 1986-09-03 1986-09-03 Character arrangement method with correction frame Expired - Fee Related JPH07122789B2 (en)

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 true JPS6363091A (en) 1988-03-19
JPH07122789B2 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)

Also Published As

Publication number Publication date
JPH07122789B2 (en) 1995-12-25

Similar Documents

Publication Publication Date Title
JPH0687203A (en) Method and device for indicating character with substitution of font
Swanson et al. Mathematics into type
JPWO2008015825A1 (en) Written font data and character output system
JPS6363091A (en) Character array by correction frame
Parhami Evolutionary changes in Persian and Arabic scripts to accommodate the printing press, typewriting, and computerized word processing
JPH03156668A (en) Document preparing device
Eckersley et al. Glossary of typesetting terms
JPS63220291A (en) Document generator
Abudena et al. Toward a novel module for computerizing Quran’s full-script writing
JP4107659B2 (en) Handwritten font output system
Gossling Beyond Hershey: A Representation of Fonts for Computer Graphics
JP2617190B2 (en) String output device
JPH03184182A (en) Character output layout determination system
JPH0823742B2 (en) Character pattern output device
JPS62282381A (en) Continuous character forming device
JPH0224166A (en) Printing system for brush writing character
JPH0225355A (en) Data output device
JPH04353478A (en) Reduction print controller
JPS62177586A (en) Document generator
Crawford Common sense Wordworking III: desktop publishing and desktop typesetting
Karow et al. Typeface terminology
Kahn et al. Screen Typography
JPS61270785A (en) Positioning of character
JPS63210887A (en) Word processor
JP2002297118A (en) Individuality expression system between lines of handwriting character font

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees