[go: up one dir, main page]

JPS63224965A - Character generator - Google Patents

Character generator

Info

Publication number
JPS63224965A
JPS63224965A JP62054330A JP5433087A JPS63224965A JP S63224965 A JPS63224965 A JP S63224965A JP 62054330 A JP62054330 A JP 62054330A JP 5433087 A JP5433087 A JP 5433087A JP S63224965 A JPS63224965 A JP S63224965A
Authority
JP
Japan
Prior art keywords
character
grapheme
data
thickness
line
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
JP62054330A
Other languages
Japanese (ja)
Other versions
JPH07106644B2 (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.)
International Business Machines Corp
Original Assignee
International Business Machines Corp
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 International Business Machines Corp filed Critical International Business Machines Corp
Priority to JP62054330A priority Critical patent/JPH07106644B2/en
Publication of JPS63224965A publication Critical patent/JPS63224965A/en
Publication of JPH07106644B2 publication Critical patent/JPH07106644B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

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

Description

【発明の詳細な説明】 A、産業上の利用分野 本発明は1文字の線の太さを変えたとき、その文字を構
成する要素(以下、字素と呼ぶ)相互間の大きさ及び位
置関係のバランスが崩れて不自然な字形にならないよう
に、バランス調整することに関する。
[Detailed Description of the Invention] A. Industrial Application Field The present invention is applicable to changing the line thickness of one character, and changing the size and position of the elements (hereinafter referred to as graphemes) that make up that character. It is about adjusting the balance so that the relationship does not become unbalanced and result in unnatural letterforms.

B、従来技術 表示装W(例えばプリンタ、CRTディスプレイ等)で
使用する文字(例えば漢字)の種類としては、明朝体(
一般的には横線を細く且つ縦線を太くした字体が多い)
、ゴシック体などの字体があり、大きさ及び線の太さも
種々のものがある。
B. Conventional technology The types of characters (for example, kanji) used in display devices W (for example, printers, CRT displays, etc.) include Mincho typefaces (
Generally, fonts have thin horizontal lines and thick vertical lines.)
There are fonts such as , Gothic, and various sizes and line thicknesses.

コンピュータで制御されるプリンタの場合は、記憶装置
の中にドツト又はベクトルの形で基本的な大きさの文字
フォントを貯えておき、これを拡大又は縮小して使用す
る方法が従来とられてきた。
In the case of computer-controlled printers, the conventional method has been to store character fonts of basic sizes in the form of dots or vectors in a storage device, and to enlarge or reduce the fonts for use. .

しかし文字の線の太さを制御することは余り行なわれて
いない。その理由は、拡大又は縮小の実行は幾何学的、
機械的に相似変換方式で比較的簡単に可能であり、しか
も良い結果を得ることが出来るのに反して、線の太さを
変えると字形のバランスが崩れて不自然な形になる場合
があるからである。
However, controlling the line thickness of characters is not often done. The reason is that the execution of enlargement or reduction is geometric,
This is relatively easy to do mechanically using the similarity conversion method, and can yield good results, but changing the line thickness may cause the shape to become unbalanced, resulting in an unnatural shape. It is from.

その線の太さを変える方式の例が、本願出願人自身の先
願発明である特願昭60−293405号明細書に開示
されている。
An example of a method for changing the line thickness is disclosed in Japanese Patent Application No. 1983-293405, which is an earlier invention of the applicant.

C1発明が解決しようとする問題点 実際の文字を例に挙げて問題点を指摘する。以下で用い
るr字素」なる用語は、一点、−画(一つのストローク
)を単位として示すわけではなく、一つの文字を分解し
たとき、共通の構成要素として他の文字の組立てにも利
用できる一つの要素又は要素の集合体を指す。
C1 Problems to be solved by the invention The problems are pointed out using actual characters as examples. The term "r-grapheme" used below does not refer to a single point or -stroke (one stroke) as a unit; when one character is decomposed, it can be used as a common component to assemble other characters. Refers to one element or a collection of elements.

r道」なる文字を構成する各字素を、それらのストロー
クの中心線を基準として機械的に細くすると、字素「L
」の横ストロークが細くなって字素「目」の下の空間が
大きくなり過ぎてバランスが崩れる(第2図)、これと
反対に、無闇に太くすると字素「シ」の横ストロークが
字素「目」の下側と接触又は合体して、読みにくい字形
になってしまう。
By mechanically thinning each of the glyphs that make up the character ``r 道'' using the center line of their strokes as a reference, the grapheme ``L'' is made.
'' becomes thinner and the space under the glyph ``eye'' becomes too large, causing an imbalance (Figure 2).On the other hand, if you make it thicker without thinking, the horizontal stroke of the glyph ``shi'' becomes too large. It comes into contact with or merges with the underside of the bare "eye", resulting in a shape that is difficult to read.

「木」なる文字の線を細くする例では、細くなった縦の
ストロークが斜めのストロークのつけ根と接続しなくな
り、特に斜め右下へ下るストロークとの間が大きく離れ
て字形が崩れる(第3図)。
In the example of thinning the lines of the character "tree", the thinner vertical strokes no longer connect with the roots of the diagonal strokes, and the character shape becomes distorted because there is a large distance between them and the strokes that descend diagonally to the lower right. figure).

同様に「合」なる文字の線を細くすると、斜め左下へ下
るストロークと斜め右下へ下るストロークの交点が外れ
てしまう0字素「口Jは縦長になって安定が悪くなる(
第4図)。
Similarly, if you make the line for the character "Ai" thinner, the intersection of the stroke diagonally downward to the lower left and the stroke diagonally downward to the lower right will be off.
Figure 4).

以上の例は明朝体について示したが、同様な問題が字体
の種類に関係なく発生する。
Although the above example was shown for Mincho fonts, similar problems occur regardless of the type of font.

これらの問題に対処する従来の方式は、例えば異なる字
体毎の文字フォント(例えば−組7000字の漢字セッ
ト)について太さの異なる幾つもの組を文字デザイナ−
が手作りし、これを全部記憶装置に貯えておいて、コン
ピュータで選択的に引出して使う。しかし、これでは貯
えておくべき文字の数が極めて多くなるので(例えば7
000字×3組=21000字)、多額の開発費、長期
の開発期間、及びぼう大な記憶容量を必要とする。
Conventional methods for dealing with these problems include, for example, having a character designer create several sets of different weights for different character fonts (e.g., a set of 7,000 kanji characters).
He makes them by hand, stores them all in a storage device, and selectively pulls them out on a computer for use. However, this would require an extremely large number of characters to store (for example, 7
000 characters x 3 sets = 21,000 characters), it requires a large amount of development cost, a long development period, and a huge storage capacity.

かくて線大の変更は文字の品質を維持するためコストを
無視するか、標準太さを中心とした限られた範囲に止め
るか、又はバランス崩れには目をつぶるか、の妥協をす
るのが普通である。
In this way, when changing the line size, you have to compromise by ignoring the cost in order to maintain the quality of the characters, staying within a limited range around the standard thickness, or turning a blind eye to unbalanced lines. is normal.

従って本発明の目的は、予じめ記憶された字素を選択的
に取出して組合わせることにより一つの文字を組立てる
に当って線太を変更しようとするとき1字形のバランス
が崩れないように字素相互間の大きさ及び位置関係のバ
ランスをも併せて調整して、線太の異なった品質のよい
文字を経済的に得るための新規なバランス制御方式を提
供することである。
Therefore, an object of the present invention is to selectively extract and combine glyphs stored in advance so that the balance of the shape of a character is not lost when changing the line thickness when assembling one character. It is an object of the present invention to provide a new balance control method for economically obtaining high-quality characters with different line thicknesses by adjusting the balance in size and positional relationship between glyphs.

D6問題点を解決する手段 大きさ び 太を  できる字 の作り第5図に示す字
素「t」を例にとり、大きさ及び線太を変更できる字素
の作り方を示す、′、−こで文字rtJは字素r−Jと
rLJで組立てられた文字と考えてもよいし、「t」全
体を1つの字素と考えもよい。以下前者の考え方で説明
する。
How to solve problem D6 How to create a character whose size and thickness can be changed Taking the grapheme "t" shown in Figure 5 as an example, we will show how to create a grapheme whose size and thickness can be changed. The character rtJ may be considered as a character composed of the graphemes r-J and rLJ, or the entire letter "t" may be considered as one grapheme. The former concept will be explained below.

文字rtJの各字素のストロークの中心線上に。On the center line of the stroke of each glyme of the letter rtJ.

間隔を置いて中心点P1、P2、・・・Pnを定義する
これらの中心点からストロークの幅方向に夫々肉厚Q1
.Q、、・・・12n(矢印)を定義する。
Center points P1, P2, ... Pn are defined at intervals, and the wall thickness Q1 is calculated from these center points in the width direction of the stroke.
.. Define Q, . . . 12n (arrow).

各点の肉厚の先端を数学式により(円弧又は直線で)補
間すればストロークの外廓ができるので。
The outer edge of the stroke can be obtained by interpolating the thick tip of each point using a mathematical formula (with a circular arc or a straight line).

その中をぬりつぶす0字素rLJの肉厚12nにはMな
る属性を持たせる0字素「−」の肉厚QnにはNなる属
性を持たせる。
The thickness 12n of the 0 character element rLJ to be filled in is given the attribute M, and the thickness Qn of the 0 character element "-" is given the attribute N.

字素「−」の太さを変化させたければ1Mなる属性を持
った肉厚Qnに倍率Xwを適用すればよい0字素「−」
の太さを変イiせたければ、Nなる属性を持った肉厚2
nに倍率Ywを適用すればよい、また字素を拡大/縮小
したければ、中心点Pnに倍率Xp、ypを適用すれば
よい、これらの詳細は前述の本願出願人の特願昭60−
293405号明細書に開示されている。大きさ及び線
太を変更できる字素を持つことが本発明の前提となるが
、必ずしも上記のような方法で字素を作る必要はない、
同一の機能を有する他の方法があれば、それを使っても
よい。
If you want to change the thickness of the glyph element "-", just apply the magnification Xw to the wall thickness Qn, which has an attribute of 1M.0 glyph element "-"
If you want to change the thickness of
It is sufficient to apply the magnification Yw to n, and if you want to enlarge/reduce the grapheme, you can apply the magnifications Xp and yp to the center point Pn. Details of these can be found in the above-mentioned patent application filed in 1983 by the applicant.
It is disclosed in the specification of No. 293405. Although the premise of the present invention is to have graphemes whose size and line thickness can be changed, it is not necessary to create graphemes using the method described above.
If there is another method that has the same functionality, you may use it.

h  互 のバランス 整 本 日 本発明は、上記のような大きさ及び太さを自由に変更で
きる字素を寄集めで組立てることによって、所望の大き
さの所望の、太さの文字を発生させる場合に於て1字画
の線の太さを変化させたとき、字素相互間でバランスが
崩れないように各字素の大きさ、位置及び角度を調整す
るための方式を提供するものである。
h Mutual Balance Adjustment This Japanese invention is a case in which a character of a desired size, desired thickness, and thickness is generated by assembling the graphemes whose size and thickness can be freely changed as described above. The present invention provides a method for adjusting the size, position, and angle of each character element so that the balance between the character elements is not lost when the thickness of the line of one stroke is changed.

先ず1文字をデザインする段階で次のような処置をする
。第6a図に於て1例えばデザインしようとする文字の
字素「ノ」61を字素枠62に収容しr字素61の大き
さ=字素枠62の大きさく占有スペース)」として取扱
う0字素の線の太さは、この文字枠内で増減変更される
ものとする。
First, when designing a single character, the following steps are taken. In Fig. 6a, for example, the glyph 61 of the character to be designed is accommodated in the glyph frame 62, and the size of r glyph 61 = the size of the glyph frame 62 (occupied space). It is assumed that the thickness of the line of the grapheme is increased or decreased within this character frame.

字素枠62は文字枠63の中に配置される1字素枠62
の大きさはAx(横方向)、Ay(縦方向)で表わされ
る0文字枠63の中に於ける字素枠62の位置は、その
左下角の座標値BX、Byで表わす、これらを字素組立
情報と呼ぶことにする。
The character frame 62 is a one-character element frame 62 placed inside the character frame 63.
The position of the character element frame 62 in the zero character frame 63 is represented by Ax (horizontal direction) and Ay (vertical direction). This will be called elementary assembly information.

なお字素組立情報は、Ax、Ay、Bx、Byの他にも
いくつかあるが、それについては後述の文字データ・ベ
ースのところで説明する。
Note that there are several pieces of grapheme assembly information other than Ax, Ay, Bx, and By, which will be explained later in the character database section.

文字デザイナ−は1個々の文字に対してそれを構成する
字素の線の太さが変ったときバランス制御を行う必要が
あるかどうかを判断し、必要な場合にはその字素組立情
報に対して下記のバランス制御情報(以下、フラッグと
呼ぶことにする)を付加する。バランス制御の不要な字
素の字素組立情報にはフラッグを付加しない。
The character designer determines whether balance control is necessary for each character when the line thickness of the graphemes that make up the character changes, and if necessary, applies balance control to the grapheme assembly information. The following balance control information (hereinafter referred to as a flag) is added to the flag. Flags are not added to the grapheme assembly information of graphemes that do not require balance control.

本発明は、文字の線を所望の太さに変更する指令を与え
たとき、その指令が上記のバランス制御情報(フラッグ
)に働らきかけて、文字を構成する各字素の線太を変更
すると同時に各字素の大きさ、字素相互間の位置関係及
び角度を修正し、これによって線太変更後の字体のバラ
ンスを自動的に調整するようにした。
In the present invention, when a command is given to change the line thickness of a character to a desired thickness, the command acts on the balance control information (flag) described above to change the line thickness of each glyph element that makes up the character. At the same time, the size of each glyph and the positional relationship and angle between glyphs were corrected, thereby automatically adjusting the balance of the font after changing the line thickness.

E、実施例 フラッグ 上記のバランス制御のための情報、即ちフラッグの値は
、次の3つの方法で決定される。
E. Example flag The information for the above balance control, that is, the value of the flag, is determined by the following three methods.

(1)先ず必要と思われる最も線幅の太い字素で構成さ
れる文字を、その線の太さに於てバランスした状態で文
字デザインを行なう1例えば一番太い文字「木」を作っ
ておく、これを基本(オリジナル)書体と呼ぶ(第7a
図)0次に各字素の線の太さを極限まで細くする。即ち
「第6a図の字素「ノJ 61aの肉厚を0として骨格
だけで成る字素61c(第6c図)を描く。文字デザイ
ナ−は、後者の字素で構成される文字の字形のバランス
を良くするのに必要な下記の変化量を各字素に与える。
(1) First, design a character composed of glyphs with the thickest line width that is considered necessary, with the line thickness balanced.1 For example, create the thickest character ``tree''. This is called the basic (original) typeface (Chapter 7a).
Figure) Next, make the line thickness of each glyph element as thin as possible. In other words, the character 61c (Fig. 6c) consisting only of the skeleton is drawn by setting the wall thickness of 61a to 0.The character designer draws the character shape of the character composed of the latter character. Give each letterme the amount of change necessary to improve the balance.

ax、ay:字素枠の大きさの横及び縦方向変化量 bx、by:字素枠の位置の横及び縦方向変化量 γ0    :字素枠の中心を基点とした回転角度の変
化量 これらの変化量をフラッグ、即ちバランス制御情報と定
義する。
ax, ay: Amount of change in the size of the character element frame in the horizontal and vertical directions bx, by: Amount of change in the position of the character element frame in the horizontal and vertical directions γ0: Amount of change in the rotation angle from the center of the character element frame as a reference point The amount of change in is defined as a flag, that is, balance control information.

かくて変化後の字素枠の大きさ、位置及び回転角度は夫
々 Ax+ax、Ay+ay Bx+bx、By+by γ0 で表わされる(第6c図)、なお第6c図は回転角度が
0の例であるので、文字は回転していない。
Thus, the size, position, and rotation angle of the character frame after the change are expressed as Ax + ax, Ay + ay Bx + bx, By + by γ0, respectively (Figure 6c). Since Figure 6c is an example where the rotation angle is 0, the character is not rotating.

従ってこのような極限まで細くなる途中の段階は一般的
に次のような表わされる。
Therefore, the stage in the process of becoming thinner to the limit is generally expressed as follows.

字素枠(即ち字素)の大きさ、: Ax+ax(1−Xw)、Ay+ay(1−Yw)Xw
 +Yw 字素枠(即ち字素)の回転角度:γ’(1−−)(2)
上記の逆に、最も細い字を作っておき、次にこれに肉付
けして最も太い字に変化させたときの字素相互間のバラ
ンスを最適化するように各字素にフラッグを付ける。
Size of grapheme frame (i.e. grapheme): Ax+ax(1-Xw), Ay+ay(1-Yw)Xw
+Yw Rotation angle of glyph frame (i.e. glyph): γ'(1--)(2)
Conversely, when you create the thinnest glyph and then flesh it out to make it the thickest glyph, flag each glyph to optimize the balance between glyphs.

(3)  中間程度の太さの字を作っておき、これを太
く又は細く変化させたときの各字素にフラッグを付ける
(3) Create a medium-thick character, and attach a flag to each character element when the character becomes thicker or thinner.

これら(1)、 (2)、(3)の方法は、基準をどこ
に取るかの相違であり、フラッグの原理は同じものであ
る。以下の説明では(1)の考え方に従って作った文字
を基本(オリジナル)書体とする。
These methods (1), (2), and (3) differ in where the reference is taken, but the principle of the flag is the same. In the following explanation, characters created according to the idea in (1) are assumed to be the basic (original) typeface.

データ・ベース 「木」なる文字は「−」、「1」、「ノ」。data base The characters for "tree" are "-", "1", and "ノ".

「\」なる4つの字素を集めて構成される。これらの各
字素は夫々の字素コードで取出しうるデータ形式で記憶
装置に予じめ貯えておく、これを字素データ・ベースと
呼ぶ0字素データ・ベース内に貯えられた字素は1種々
の文字の組立てのために共用されるものであるから、こ
の貯蔵状態では前記のフラッグは付加されていない。何
故ならば、フラッグはそれらの文字を寄集めで文字を組
立てるとき1個々の文字に特有のバランスを与えるため
のデータとして、字素組立情報に付加されるべきものだ
からである。
It is composed of four glyphs called "\". Each of these graphemes is stored in advance in a storage device in a data format that can be retrieved using each grapheme code. 1. Since the flag is shared for assembling various characters, the flag is not attached in this stored state. This is because the flag should be added to the grapheme assembly information as data for giving a unique balance to each character when assembling those characters into a character.

文字デザイナ−は個々℃字素毎に下記のデータを与え、
これを記憶装置に貯えて字素データ・ベースを構築する
The character designer gives the following data for each grapheme,
This is stored in a storage device to construct a grapheme database.

1、字素コード番号 2、中心点(通常複数個)の座標位置Pn3、肉厚情報
(どの中心点から、どれだけの大きさの肉厚があるか)
fin 4、補間情報(どの肉厚の先端と、どの肉厚の先端を結
ぶか) 5、ペイント情報(どの部分をぬりつぶすか)文字デー
タ・ベース 文字デザイナ−は個々の文字毎に、との字素をどのよう
に組立てるかを指示する下記のデータをまとめ、これら
を記憶装置に貯えて文字データ・ベースを構築する。
1. Gronym code number 2, coordinate position Pn3 of center point (usually multiple), wall thickness information (from which center point and how much wall thickness is there)
fin 4. Interpolation information (which thick tip to connect with which thick tip) 5. Paint information (which part to fill in) Character data base The character designer uses the The following data that instructs how to assemble the elements is compiled and stored in a storage device to construct a character database.

1、文字コード番号 2、字素組立情報(1) 字素組立情報(n) 字素組立情報は、個々の文字を組立てるために取出す(
Callする)字素の数だけn個必要である。
1.Character code number 2.Grapheme assembly information (1)Grapheme assembly information (n)Grapheme assembly information is extracted to assemble individual characters (
n pieces are required, equal to the number of graphemes to be called.

例えば、文字コード番号が「木Jなる文字を指すときは
、字素情報(1)は字素「−」のためのものであり、同
(2)は「1」のためのもの、同(3)は「ノ」のため
のもの、同(4)は「\」のためのものであって、n=
4で終了する。これらのデータにより第7a図に示すよ
うな「木」のオリジナル書体が出来る。オリジナル書体
を作るためには、(a)〜(d)のうちのフラッグを除
いた値が必要である。即ち(、)の字素、コード番号を
用いて、字素データ・ベースから該当する字素データを
呼出し。
For example, when the character code number refers to the character "J", the grapheme information (1) is for the grapheme "-", the grapheme information (2) is for the grapheme "1", and the grapheme information (2) is for the grapheme "1"; 3) is for "ノ", and (4) is for "\", where n=
Ends with 4. With these data, an original ``tree'' typeface as shown in FIG. 7a is created. In order to create an original typeface, values of (a) to (d) excluding flags are required. In other words, using the grapheme (,) and code number, the corresponding grapheme data is retrieved from the grapheme database.

字素の大きさを(b)のAx、Ayに変更し、字素を(
C)のBx、Byの位置に置く。
Change the size of the graphemes to Ax and Ay in (b), and change the graphemes to (
Place it at the Bx and By positions in C).

しかし、この段階では、まだフラッグの値(ax、ax
、bx、by、y’)は決定されておらず1文字データ
・ベース内のこの部分はブラングである。フラッグの値
を決定して入力しなければ文字データ・ベースは完成し
たことにならない。
However, at this stage, the flag values (ax, ax
, bx, by, y') is undetermined and this portion in the one-character database is blank. A character database is not complete until flag values are determined and entered.

フラッグ決 の 前項の(b)、(d)、(e)に与えるべき3種のフラ
ッグを決定する例について読明する。第7a図に示す形
に出来上ったオリジナル書体に対して線太倍率0倍を適
用してみる(「木」の字に用いられている4つの字素の
肉厚を全部0にする)。
Let's read through the example of determining the three types of flags to be given in (b), (d), and (e) in the previous section of Flag Determination. Try applying a line thickness magnification of 0x to the original typeface that has been created in the shape shown in Figure 7a (setting the thickness of all four glyphs used in the character ``tree'' to 0). .

このときの状態を示す第7c図を見ると、第3番目の字
素「ノ」と第4番目の字素「\」のバランスが崩れてい
る。
Looking at FIG. 7c, which shows the state at this time, the balance between the third grapheme ``ノ'' and the fourth grapheme ``\'' is disrupted.

これをよく観察すると、rノ」の上端が「1」から左へ
10単位ずれており、「ノJの下端は「−」の左端によ
左へ2単位はど出すぎていることがわかる。そこでこれ
を調整するためには、rノ」の大きさ即ちこの字素の字
素枠の大きさを横に8単位、縦にO単位大きくし、且つ
この字素枠全体の位置を横(右方)に2単位、縦に0単
位ずらせば第7e図に示すように正常化することがわか
る。従って、最終的に字素「ノ」の字素組立情報に付加
すべきフラッグの値はax=8、ay=0、bx=2.
by=o、γ0=0と決定される(字素「)」は細くな
っても角度を調整する必要がないので1回転角度のフラ
ッグはγ0=Oである)1字素「\」についても同様な
方法でフラッグ値を決定できる(ax=13.ay=1
1、bx=−11,by=−11、y”=o)、7ラツ
グの値は負になることもある0字素「−」及び「1」に
ついては、バランスが崩れていないのでフラッグの値は
すべて0でよい。
If you look closely at this, you will see that the top of ``r'' is shifted 10 units to the left from ``1,'' and the bottom of ``J is 2 units too far to the left compared to the left edge of ``-''. Therefore, in order to adjust this, we need to increase the size of ``rノ'', that is, the size of the character frame of this character element, by 8 units horizontally and 0 units vertically, and also change the position of the entire character frame horizontally ( It can be seen that by shifting 2 units to the right (rightward) and 0 units vertically, normalization is achieved as shown in FIG. 7e. Therefore, the values of the flags to be finally added to the grapheme assembly information of the grapheme "ノ" are ax=8, ay=0, bx=2.
by = o, γ0 = 0 (the grapheme ")" does not need to adjust the angle even if it becomes thinner, so the flag for one rotation angle is γ0 = O) Also for the single character element "\" Flag values can be determined in a similar way (ax=13.ay=1
1, bx=-11, by=-11, y"=o), 7 The value of the lag can be negative. Regarding the zero glyphs "-" and "1", the balance is not disrupted, so the flag All values can be 0.

かくて文字データ・ベース内の「木」の字のフラッグ値
が決定されて、「木」の字のデータは完成する。所望の
太さの文字を取出すため線太倍率を変化させると、第7
d図及び78図のようにバランスの取れた文字が得られ
る。
In this way, the flag value for the character ``tree'' in the character database is determined, and the data for the character ``tree'' is completed. When you change the line thickness magnification to extract characters with the desired thickness, the seventh
Characters with good balance can be obtained as shown in Figures d and 78.

文字の線の太さが変化するに従って角度を変えた方がよ
い字素、即ちフラッグγ0が0でない値を持たせた方が
よい字素は余り多くない0文字r道」 (第2図)の左
上の点「゛」は角度を変えた方がよい例である。
There are not many graphemes for which it is better to change the angle as the thickness of the line of the character changes, that is, for the flag γ0 to have a value other than 0.'' (Figure 2) The upper left point "゛" is an example where it is better to change the angle.

文字 生  の 以上のように字素データ・ベース及び文字データ・ベー
スが完成して夫々記憶装置中に貯えられると、コンピュ
ータを使用して色々な太さのバランスのよい文字を自動
的に発生させることが出来る。本発明は文字の線の太さ
の変更に伴なうバランスの調整を主目的としているが、
文字の拡大又は縮小も同時に可能である。これらの変更
段階ではもはや文字デザイナ−の関与は不要で、ユーザ
自身で行なうことが出来る。
Once the grapheme data base and character data base are completed and stored in the storage device as described above, a computer is used to automatically generate well-balanced characters of various thicknesses. I can do it. The main purpose of the present invention is to adjust the balance associated with changing the line thickness of characters.
It is also possible to enlarge or reduce the characters at the same time. These modification steps no longer require the involvement of the character designer and can be carried out by the user himself.

第1図の概略構成図に於て。In the schematic configuration diagram of FIG.

ブロック1:ユーザが制御情報として1文字コード、線
太倍率(Xw、Yw) 、拡大又は縮小倍率(Xp、Y
p)を与える。
Block 1: The user inputs a one-character code, line thickness magnification (Xw, Yw), enlargement or reduction magnification (Xp, Y) as control information.
p).

ブロック3:与えられた文字コードにより1文字データ
・ベース2から文字データを選択して取出す、このデー
タは一時貯えておく。
Block 3: Select and retrieve character data from the one-character database 2 according to the given character code. This data is temporarily stored.

ブロック4:与えられた文字データに含まれている字素
が全部処理されたかどうかを調べる。最初は処理されて
いないのでNである。
Block 4: Check whether all the graphemes included in the given character data have been processed. Initially, it is N because it has not been processed.

ブロック6:与えられた文字データ中に含まれる未処理
の字素コードを使って、字素データ・ベース5から該当
する字素データを取出して貯える。
Block 6: Using the unprocessed glyme code contained in the given character data, extract and store the corresponding glyme data from the glyme data base 5.

ブロック7:制御情報の線太倍率(X w 、 Y w
 )を使用して1字素の肉厚Qに働らきかけて太さをX
w、Yw倍にする。
Block 7: Line thickness magnification of control information (X w , Y w
) to work on the thickness Q of one character element to make the thickness X
Multiply w, Yw.

ブロック8:字素の大きさA x ’ 、A y ’ 
を次のように計算するa Ax’ =Ax+a x(1
−XW)、Ay’  =Ay+a y(1−Yw)字素
の大きさをAx’ 、Ay’ にする、  (Ax、A
y、ax、ayは選択されて貯えられている文字データ
の中にある) ブロック9:文字枠の中のどの部分に字素イメージを置
くべきかを決定するため、字素の位[BX′・By′を
次のように計算する。Bx・=Bx+bx(1−Xw)
、By’ =By+by(1−Yw) 字素をBx’ 、By’の位置に置<、(Bx。
Block 8: Grapheme size A x ', A y '
Calculate as followsa Ax' =Ax+a x(1
-XW), Ay' =Ay+a y(1-Yw) Set the grapheme sizes to Ax', Ay', (Ax, A
y, ax, ay are in the selected and stored character data) Block 9: To determine where in the character frame the grapheme image should be placed, the position of the grapheme [BX'・Calculate By′ as follows. Bx・=Bx+bx(1-Xw)
, By' = By+by (1-Yw) Place the graphemes at the positions of Bx' and By'<, (Bx.

By、bx、byは選択されて貯えられている文字デー
タの中にある) ブロック10:字素の回転角度R′を次のように計算す
る。
(By, bx, by are in the selected and stored character data) Block 10: Calculate the rotation angle R' of the grapheme as follows.

R’ =y’ (1−XwとYw(7)平均値)字素を
R′だけを回転する。(γ0は選択されて貯えられてい
る文字データの中にある)以上のブロック6%7.8.
9.10は選択されている文字データの中の字素コード
全部が処理されるまで行われる(Aに行く)0字素コー
ド全部が処理されるとBにぬける。これで必要な字素全
部が組立てられ、線太がきまりバランス制御が終了し標
準の文字ができあがる。
R' = y' (1-Xw and Yw (7) average value) Rotate the grapheme by R'. (γ0 is in the selected and stored character data) 6% or more blocks 7.8.
Steps 9 and 10 are performed until all the glyme codes in the selected character data are processed (goes to A). When all the 0 glyme codes are processed, the process goes to B. This completes all the necessary graphemes, determines the line thickness, completes balance control, and creates a standard character.

ブロック11:必要なら制御情報の中の拡大又は縮小倍
率(Xp、Yp)を使用して標準の大きさの文字の拡大
、又は縮小をする。これでユーザの制御情報によってユ
ーザの希望する文字−個が出来る。以上のブロック1〜
11の処理をユーザの希望する文字数だけ繰返す。
Block 11: If necessary, enlarge or reduce the standard size characters using the enlargement or reduction magnification (Xp, Yp) in the control information. In this way, the number of characters desired by the user can be created according to the user's control information. Block 1~
11 is repeated for the number of characters desired by the user.

なお、上記の各ブロック7〜11により処理された結果
の文字データは、数値的なデータ形式でメインメモリ1
2中の文字枠領域内に逐次更新記憶される。この文字デ
ータは、表示に備えて可視的な文字像を与えるため画像
データに変換されて、メインメモリ12の他の領域に記
憶される。
The character data resulting from the processing by each of the blocks 7 to 11 described above is stored in the main memory 1 in numerical data format.
It is sequentially updated and stored in the character frame area in 2. This character data is converted into image data and stored in another area of the main memory 12 in order to provide a visible character image for display.

ブロック12:文字像を表わす画像データをメインメモ
リ12から取出して表示する。表示装置としては1例え
ばCRTディスプレイのような表示装置、又はプリンタ
などでよい。
Block 12: Retrieve image data representing a character image from the main memory 12 and display it. The display device may be a display device such as a CRT display, a printer, or the like.

F0発明の効果 従来は、ドツト・マトリックス書体の小型のもの(例え
ば16X16〜64X64)は、書体デザイナ−が方眼
紙に直接手作業で書込んで作った。
Effects of the F0 Invention Conventionally, small dot matrix typefaces (for example, 16x16 to 64x64) were created by handwriting directly onto graph paper by a typeface designer.

ドツト・マトリックス書体の大型のもの(例えば500
X500)は原字(例えば数cm四方の大きさで正確に
書かれた字形)をスキャナーで読取らせて作った。この
ドツト・マトリックス書体は従来は光学的に、又はコン
ピュータを使って、ある程度の拡大、縮小が出来たが、
線の太さの変更はほとんど出来なかった。出来た場合で
も字素相互のバランスを保つことが大変であった。出版
物に必要な書体を全部揃えるためには、大きさ、太さの
異なる書体が10セット程度は必要である(各セットは
平均5000字程度)、また明朝体とゴシック体の2種
類が必要であるため合計20セツト、10万程度の字形
を揃える必要があった。
A large dot matrix typeface (e.g. 500
X500) was created by scanning the original characters (for example, accurately written characters several centimeters square) using a scanner. Conventionally, this dot matrix typeface could be enlarged or reduced to a certain extent optically or using a computer.
It was almost impossible to change the line thickness. Even when it was possible, it was difficult to maintain the balance between the graphemes. In order to have all the typefaces necessary for a publication, you need about 10 sets of typefaces of different sizes and thicknesses (each set has an average of about 5000 characters), and two types: Mincho and Gothic. Because it was necessary, a total of 20 sets, or about 100,000 glyph shapes, had to be prepared.

これに反して、本発明に従うと、上記の従来技術例と同
等の字形揃えは、例えば明朝体とゴシック体について各
1セツト(5000字)、つまり合計2セツト(1万字
程度)の基本的なオリジナル書体を用意すればよいこと
になる。従って文字の総開発費及びその文字を貯えるた
めの記憶装置の容量を1/10近くに削減できる効果が
ある。
On the other hand, according to the present invention, the character alignment equivalent to the above-mentioned prior art example is basically one set each (5000 characters) for Mincho typeface and Gothic typeface, that is, two sets in total (approximately 10000 characters). All you need to do is prepare an original font. Therefore, the total development cost of characters and the capacity of the storage device for storing the characters can be reduced to nearly 1/10.

しかも比較的少数のオリジナル書体の線の太さ及び大き
さを変更して比較的多数の字形を発生させても、バラン
ス崩れを生じることがないので文字の品質を維持できる
Moreover, even if a relatively large number of character shapes are generated by changing the line thickness and size of a relatively small number of original fonts, the quality of the characters can be maintained because no imbalance occurs.

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

第1図は本発明の文字発生装置の概略構成図、第2図乃
至第4図は文字の線の中心線を基点として機械的に細く
したときに生じる問題を示す図。 第5図は文字rt」の構成を示す図、第6a図。 第6b図、第6c図は字素のバランス制御情報(フラッ
グ)の意味を説明する図、第7a図はデザイナ−により
作られたオリジナル書体を示す図、第7b図及び第7c
図はバランス制御を行なわないで線の太さを変えた場合
の字形を示す図、第7d図及び第7e図は本発明に従っ
てバランス制御を施した場合の字形を示す図である。 1・・・・制御情報入力手段、2・・・・文字データ・
ベース記憶装置、3・・・・文字データ選択及び記憶装
置、5・・・・字素データ・ベース記憶装置、6・・・
・字素データ選択及び記憶装置、12・・・・メインメ
モリ、13・・・・表示装置。 出願人  インターナショナル・ビジネス・マシーンズ
・コーポレーション 復代理人  弁理士  篠  1) 文  雄第2@ 第8図 第4図 文字rt」 第5図 オリじ゛すJし書体 第7a図
FIG. 1 is a schematic configuration diagram of a character generating device of the present invention, and FIGS. 2 to 4 are diagrams showing problems that occur when character lines are mechanically made thinner with the center line as a reference point. FIG. 5 is a diagram showing the structure of the character "rt", and FIG. 6a. Figures 6b and 6c are diagrams explaining the meaning of grapheme balance control information (flags), Figure 7a is a diagram showing the original typeface created by the designer, Figures 7b and 7c
The figure shows the character shape when the thickness of the line is changed without performing balance control, and Figures 7d and 7e show the character shape when balance control is performed according to the present invention. 1...Control information input means, 2...Character data.
Base storage device, 3...character data selection and storage device, 5...grapheme data base storage device, 6...
・Grapheme data selection and storage device, 12...main memory, 13...display device. Applicant International Business Machines Corporation Sub-Agent Patent Attorney Shino 1) Text Yu 2 @ Figure 8 Figure 4 Character rt Figure 5 Origin J typeface Figure 7a

Claims (4)

【特許請求の範囲】[Claims] (1)文字を構成するための、基本的な大きさ及び線の
太さを有する個々の字素を、字素指定コードで取出しう
るデータ形式で記憶する字素データ記憶装置と、 個々の文字を組立てるために必要な字素の上記字素指定
コードを、少なくとも各字素の線の太さの修正量及び各
字素相互間の位置関係を夫々指定するために必要な制御
情報と共に、該文字の文字指定コードで取出しうるデー
タ形式で記憶する文字データ記憶装置と、 所望の文字及びその文字の線の太さを指定するための入
力装置と、 上記入力手段により指定された文字の文字データを上記
文字データ記憶装置から取出し、取出された文字データ
に含まれる上記制御情報及び上記文字の線の太さを指定
する入力に応答して、上記指定された文字を構成する各
字素の少なくとも線の太さ及び各字素相互間の位置関係
を選択的に修正するためのバランス調整手段と、 上記バランス調整された文字のデータを可視的な文字像
に変換して出力する手段と、 より成る文字発生装置。
(1) A grapheme data storage device that stores individual graphemes having basic sizes and line thicknesses that constitute a character in a data format that can be retrieved using a grapheme specification code, and individual characters. The above-mentioned grapheme specification codes of the graphemes necessary for assembling the grapheme, along with at least the control information necessary to specify the amount of correction of the line thickness of each grapheme and the positional relationship between each grapheme, respectively. a character data storage device for storing data in a data format that can be retrieved by a character designation code; an input device for designating a desired character and the line thickness of the character; and character data for the character designated by the input means. is retrieved from the character data storage device, and in response to the input specifying the control information and the line thickness of the character included in the retrieved character data, at least one of each glyme constituting the specified character is retrieved. Balance adjustment means for selectively correcting the thickness of the line and the positional relationship between each glyme; means for converting the balanced character data into a visible character image and outputting it; A character generator consisting of
(2)上記字素データ記憶装置は、少なくとも字素指定
コード、字素ストロークの中心点の座標位置。 肉厚情報を夫々含む複数個の字素データを予じめ収容し
ていることを特徴とする、特許請求の範囲第(1)項記
載の文字発生装置。
(2) The pixel data storage device stores at least a pixel designation code and a coordinate position of the center point of a pixel stroke. The character generating device according to claim 1, characterized in that a plurality of glyme data each containing thickness information are stored in advance.
(3)上記文字データ記憶装置は、個々の文字のための
文字指定コード及びその文字を組立てるのに必要な字素
組立情報の組を予じめ収容し、上記字素組立情報は字素
指定コード及び字素の線の太さを指定する上記入力に応
答して字素相互の位置関係を選択的に修正可能にする情
報を含むことを特徴とする、特許請求の範囲第(1)項
又は第(2)項記載の文字発生装置。
(3) The character data storage device stores in advance a character specification code for each character and a set of grapheme assembly information necessary to assemble that character, and the grapheme assembly information is a grapheme specification code. Claim (1) characterized in that it includes information that enables selective modification of the positional relationship between graphemes in response to the input specifying the line thickness of the code and graphemes. Or the character generator described in paragraph (2).
(4)上記バランス制御手段は、上記線の太さの修正量
及び上記制御情報に応答して字素の線の太さ及び字素の
大きさを夫々選択的に修正することを特徴とする、特許
請求の範囲第(1)項、第(2)項又は第(3)項記載
の文字発生装置。
(4) The balance control means selectively corrects the line thickness of the grapheme and the size of the grapheme in response to the amount of correction of the line thickness and the control information. , a character generating device according to claim (1), (2), or (3).
JP62054330A 1987-03-11 1987-03-11 Character generator Expired - Fee Related JPH07106644B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62054330A JPH07106644B2 (en) 1987-03-11 1987-03-11 Character generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62054330A JPH07106644B2 (en) 1987-03-11 1987-03-11 Character generator

Publications (2)

Publication Number Publication Date
JPS63224965A true JPS63224965A (en) 1988-09-20
JPH07106644B2 JPH07106644B2 (en) 1995-11-15

Family

ID=12967581

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62054330A Expired - Fee Related JPH07106644B2 (en) 1987-03-11 1987-03-11 Character generator

Country Status (1)

Country Link
JP (1) JPH07106644B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01272460A (en) * 1988-04-26 1989-10-31 Nippon Joho Kagaku Kk Method and apparatus for generating character
JPH0553558A (en) * 1991-08-26 1993-03-05 Sharp Corp Information processor
JPH06149209A (en) * 1992-10-23 1994-05-27 Internatl Business Mach Corp <Ibm> Method and apparatus for formation/ouput of character

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5760457A (en) * 1980-09-29 1982-04-12 Mitsubishi Electric Corp Character fair copy device
JPS57210771A (en) * 1981-06-19 1982-12-24 Matsushita Electric Ind Co Ltd Expanding method for picture pattern
JPS60202476A (en) * 1984-03-28 1985-10-12 株式会社日立製作所 Character font generation system
JPS61209483A (en) * 1985-03-14 1986-09-17 株式会社東芝 Memory pattern converter

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5760457A (en) * 1980-09-29 1982-04-12 Mitsubishi Electric Corp Character fair copy device
JPS57210771A (en) * 1981-06-19 1982-12-24 Matsushita Electric Ind Co Ltd Expanding method for picture pattern
JPS60202476A (en) * 1984-03-28 1985-10-12 株式会社日立製作所 Character font generation system
JPS61209483A (en) * 1985-03-14 1986-09-17 株式会社東芝 Memory pattern converter

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01272460A (en) * 1988-04-26 1989-10-31 Nippon Joho Kagaku Kk Method and apparatus for generating character
JPH0552793B2 (en) * 1988-04-26 1993-08-06 Nippon Joho Kagaku Kk
JPH0553558A (en) * 1991-08-26 1993-03-05 Sharp Corp Information processor
JPH06149209A (en) * 1992-10-23 1994-05-27 Internatl Business Mach Corp <Ibm> Method and apparatus for formation/ouput of character

Also Published As

Publication number Publication date
JPH07106644B2 (en) 1995-11-15

Similar Documents

Publication Publication Date Title
US4897638A (en) Method for generating character patterns with controlled size and thickness
US4531120A (en) Superposing graphic patterns
JPH03208094A (en) Treatment of outline of symbol image of various sizes and computor display device
JPS63271290A (en) Character pattern generation method
EP0461811B1 (en) Pattern processing method
JPS63224965A (en) Character generator
JPH0687217B2 (en) Character pattern generation display device
JP2669539B2 (en) Character output method and character output device
JPH0732453B2 (en) Matrix image forming method
JP2618528B2 (en) Character drawing device, character output correction method, and character output device
JP5492911B2 (en) Character creation method and character creation device
JPS6081683A (en) Dot pattern enlargement/reduction method
JPH0823741B2 (en) How to process vector characters or graphics
JPS63217394A (en) Character outline generation method
JPS60242492A (en) Character generator
JPH0721397A (en) Paint-out plotting method for polygon
JPH08272351A (en) Picture processor
JP2835056B2 (en) High quality character pattern generation method
JPH0950272A (en) Method and device for outline font generation
JP2677442B2 (en) Method of capturing illustrations in editing machine and editing machine
JPH04186292A (en) Character pattern preparation device
JPH02112967A (en) Composite calligraphy dictionary forming system
JPS60231267A (en) Intra-character control system
JPH09114441A (en) Method and device for generating gray font from outline data
JPH0333895A (en) Font plotting device

Legal Events

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