JPH02250189A - Method and device for generating character - Google Patents

Method and device for generating character

Info

Publication number
JPH02250189A
JPH02250189A JP7054689A JP7054689A JPH02250189A JP H02250189 A JPH02250189 A JP H02250189A JP 7054689 A JP7054689 A JP 7054689A JP 7054689 A JP7054689 A JP 7054689A JP H02250189 A JPH02250189 A JP H02250189A
Authority
JP
Japan
Prior art keywords
character
line width
coordinate point
point data
size
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7054689A
Other languages
Japanese (ja)
Inventor
Akira Ito
晃 伊藤
Makoto Tobari
戸張 真
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.)
NIPPON JOHO KAGAKU KK
Original Assignee
NIPPON JOHO KAGAKU KK
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 NIPPON JOHO KAGAKU KK filed Critical NIPPON JOHO KAGAKU KK
Priority to JP7054689A priority Critical patent/JPH02250189A/en
Publication of JPH02250189A publication Critical patent/JPH02250189A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Image Generation (AREA)

Abstract

PURPOSE:To easily generate characters superior in design by operating coordi nate point data of internal or external division between corresponding coordinate point data of first and second coordinate point data based on an operated line width rate to constitute the outline of a character having desired size and line width and generating the character. CONSTITUTION:When character 'O' whose line width is an intermediate width (for example, 50%) between thick character 'O' and thin character 'O' will be obtained, 50% intermediate coordinate points C1 to C8 between first to eight coordinate points A1 to A8 and B1 to B8 are successively calculated. For example, the intermediate coordinate point C2 is calculated in accordance with the second coordinate point A2 of the thick character and the second coordinate point B2 of the thin character. Character 'O' having a 50% intermediate outline C is defined by coordinate points C1 to C8 obtained by similar calculation, and coordinate points C1 to C8 are connected by a spline curve or the like to constitute the outline C of the character 'O'. Thus, the character having a desired line width is automatically obtained.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、文字発生方法および装置に係り、同一の文字
デザインで数種類の文字サイズと線幅の異なる文字を任
意に発生することができる文字発生方法および装置に関
する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a character generation method and device, and a character generation method and device that can arbitrarily generate several types of characters with different character sizes and line widths with the same character design. This invention relates to a generation method and device.

〔従来の技術〕[Conventional technology]

文字印刷の分野では、周知のとおり、同一デザイン、た
とえば明朝体で、しかも同一の文字でも線幅の太いもの
と細いものがある。
In the field of character printing, as is well known, there are two types of characters with the same design, such as Mincho fonts, with thick and thin line widths.

これは、文章の読み手に与える文字の印象に強弱を与え
るためである。そして、印刷された文字サイズが小さい
場合には、細い文字を使用し、文字サイズが大きい場合
には、線幅の太い文字を使用している。このために同一
の文字であっても数種類のサイズとこの1文字ウィズに
対してさらに数種類の線幅の文字がそれぞれデザインさ
れている。実際に、写植機に使用される文字の同一デザ
インで、しかも同一サイズの文字に、8ないし10段階
(種類)の線幅の異なる文字が用意されている。したが
って、従来の文字発生装置では、文字サイズと線幅との
それぞれ段階ごとに文字をコンピュータに記憶させ、必
要に応じて所望のサイズと線幅の文字をコンピュータの
記憶装置から読み出していた。
This is to give the impression of strength to the reader of the text. When the printed character size is small, thin characters are used, and when the printed character size is large, characters with thick lines are used. For this reason, even if the same character is used, several different sizes and characters with several different line widths are designed for each character width. In fact, characters used in phototypesetting machines have the same design and the same size, but have eight to ten levels (types) of different line widths. Therefore, in conventional character generating devices, characters are stored in a computer for each level of character size and line width, and characters of a desired size and line width are read out from the computer's storage device as necessary.

一方、輪郭線方式の文字サイズを変える場合には、その
輪郭線を一定比率で外側や内側に移動させることにより
、太い文字や細い文字を発生させていた。すなわち、文
字サイズに比例した線幅の文字ができた。
On the other hand, when changing the character size using the outline method, thicker or thinner characters are generated by moving the outline outward or inward at a fixed ratio. In other words, characters with line widths proportional to the character size were created.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

JIS規格(JIS規格6226第一水準および同第二
水準および非漢字)における文字数は、約7000文字
である。これらの文字を全てコンピュータに記憶させる
方式の場合には、10種類の異なる線幅の段階の他に文
字サイズの段階を設け、その1段階ごとに7000文字
をコンピュータに記憶させなくてはならない。したがっ
て、つの文字デザインのために必要とする記憶容量は、
膨大なものとなるだけでなく、機械のコスト上からも非
常に無駄が多い。
The number of characters in the JIS standard (JIS standard 6226 first level and second level and non-kanji characters) is approximately 7000 characters. In the case of a system in which all of these characters are stored in a computer, in addition to the 10 different line width levels, there are also character size levels, and for each level, 7,000 characters must be stored in the computer. Therefore, the storage capacity required for one character design is
Not only is it huge, but it is also extremely wasteful in terms of machine costs.

また、比較的線幅の広い文字が必要な場合には、文字サ
イズに比例して線幅を広げると、文字の隣接する点ある
いは画等が重なってしまう恐れがある。したがって、文
字をデザインする場合の原則として、文字の点や画が複
雑に混み合う場合には、線幅の広い文字といえども混み
合った部分の点や画の線幅を狭くしなければならない。
Furthermore, if a character with a relatively wide line width is required, if the line width is increased in proportion to the character size, there is a risk that adjacent points or strokes of the character will overlap. Therefore, as a general rule when designing characters, if the dots or strokes of the character are complexly crowded, the line width of the crowded dots or strokes must be narrowed, even if the character has a wide line width. .

しかし、文字の一部だけの線幅を変えることは不可能で
ある。
However, it is impossible to change the line width of only part of a character.

本発明は、このような事情に鑑みてなされたもので、数
種類の文字サイズと各文字サイズに対して線幅の異なる
文字を発生させる際に、膨大な記憶容量を必要とせず、
かつ簡単な演算回路により、デザイン的に優れた文字を
発生させることができる文字発生方法および装置を提供
することを目的とする。
The present invention has been made in view of the above circumstances, and it is possible to generate several types of character sizes and characters with different line widths for each character size without requiring a huge storage capacity.
Another object of the present invention is to provide a character generation method and device that can generate characters with excellent design using a simple arithmetic circuit.

また、本発明は、文字サイズに応じて所望の線幅の文字
を得ることができる文字発生方法および装置を提供する
ことを目的とする。
Another object of the present invention is to provide a character generation method and device that can obtain characters with a desired line width depending on the character size.

〔課題を解決するための手段〕[Means to solve the problem]

前記目的を達成するために、本発明の文字発生方法は、
同一の文字について、最大線幅の文字の輪郭線を構成す
るために必要な複数の第1座標点データと、当該第1座
標点データのデータ数と同数でしかも関連のある最小線
幅の文字の輪郭線を構成する第2座標点データとを予め
各文字別に記憶しておき、発生すべき所望の文字に対応
する前記第1および第2座標点データを読み出すととも
に、所望の文字サイズと線幅率に関するテーブルを選択
し、このテーブルに基づいて文字サイズに合い、しかも
所望の線幅になる線幅率を演算し、当該線幅率に基づい
て第1および第2座標点データの同一番目の各座標点デ
ータ間を、内分または外分する座標点データを演算し、
前記演算した座標点データに基づいて所望のサイズと線
幅の文字の輪郭線を構成した文字を発生するようにした
ことを特徴とする。
In order to achieve the above object, the character generation method of the present invention includes:
For the same character, a plurality of first coordinate point data necessary to configure the outline of the character with the maximum line width, and a character with the minimum line width that is the same in number as the first coordinate point data and related to it. The second coordinate point data constituting the contour line is stored in advance for each character, and the first and second coordinate point data corresponding to the desired character to be generated are read out, and the desired character size and line are read out. Select a table regarding width ratio, calculate the line width ratio that matches the character size and have the desired line width based on this table, and calculate the same number of the first and second coordinate point data based on the line width ratio. Calculate coordinate point data for internal or external division between each coordinate point data,
The present invention is characterized in that a character having a character outline of a desired size and line width is generated based on the calculated coordinate point data.

本発明の文字発生装置は、同一の文字について、最大線
幅の文字の輪郭線を構成するために必要な複数の第1座
標点データを予め各文字別に記憶した最大太文字記憶装
置14と、前記第1座標点データのデータ数と同数でし
かも関連のある最小線幅の文字の輪郭線を構成する第2
座標点データを予め各文字別に記憶した最小細文字記憶
装置16と、所望の文字サイズを入力する文字サイズ設
定器26と、線幅を設定する線幅設定器33と、所望の
文字サイズと線幅とに関するテーブル記憶装置36と、
当該テーブルに基づいて文字サイズに合い、しかも所望
の線幅になる線幅率を演算する第2演算回路38とを有
する線幅設定装置24と、前記線幅率に基づいて第1お
よび第2座標点デタの同一番目の各座標点データ間を、
内分または外分する座標点データを演算する第1演算回
路22と、前記第1演算回路22により演算した座標点
データに基づいて、予め設定した文字サイズに拡大する
文字拡大回路28とから構成する。
The character generating device of the present invention includes a maximum bold character storage device 14 that stores in advance a plurality of first coordinate point data for each character, which is necessary for configuring the outline of the character with the maximum line width for the same character; A second coordinate point that constitutes a character outline having the same number of data as the first coordinate point data and having a related minimum line width.
A minimum thin character storage device 16 that stores coordinate point data for each character in advance, a character size setting device 26 for inputting a desired character size, a line width setting device 33 for setting a line width, and a character size setting device 33 for setting a desired character size and line. a table storage device 36 regarding the width;
A line width setting device 24 having a second calculation circuit 38 that calculates a line width ratio that matches the character size and has a desired line width based on the table; Between each coordinate point data of the same coordinate point data,
Consisting of a first calculation circuit 22 that calculates coordinate point data for internal or external division, and a character enlargement circuit 28 that enlarges the character size to a preset character size based on the coordinate point data calculated by the first calculation circuit 22. do.

また、本発明における前記文字サイズと線幅に関するテ
ーブルは複数価えられ、当該テーブルに基づいて、文字
サイズと線幅との関係が任意に選択できることを特徴と
する。
Further, the present invention is characterized in that a plurality of tables regarding the character size and line width are provided, and the relationship between the character size and line width can be arbitrarily selected based on the table.

〔作  用〕[For production]

本発明によれば、キーボードにより入力された同一文字
について、予め記憶されている最大線幅の太文字、およ
び最小線幅の細文字の輪郭線をそれぞれ構成するために
必要な複数でかつ同数の第■および第2の座標点データ
を読み出す。そして、この読み出された第1および第2
座標点データのうち、第1番目から第n番目までの同一
番目の各座標点データ間を、所望の線幅率に応じた比率
で内分または外分する座標点データを算出する。これら
の算出された座標点データを連続することにより所望の
文字の輪郭線を得ることができる。さらに、このように
して得られた輪郭線文字は、所望の文字サイズに拡大さ
れる。
According to the present invention, for the same character input by a keyboard, a plurality of contour lines and the same number of characters are required to form the outlines of a thick character with the maximum line width and a thin character with the minimum line width that are stored in advance. Read out the second and second coordinate point data. Then, the read first and second
Of the coordinate point data, coordinate point data is calculated by internally or externally dividing the same coordinate point data from the first to the nth coordinates at a ratio according to a desired line width ratio. By consecutively using these calculated coordinate point data, the outline of a desired character can be obtained. Furthermore, the contour characters thus obtained are enlarged to a desired character size.

また、文字における所望の線幅とサイズとの関係は、複
数の文字サイズと線幅に関するテーブルから簡単に得る
ことができる。
Furthermore, the relationship between the desired line width and size of characters can be easily obtained from a table regarding a plurality of character sizes and line widths.

〔実 施 例〕〔Example〕

第1図ないし第4図を参照しつつ本発明の一実施例を説
明する。第1図は文字の線幅を決定する原理説明図であ
る。
An embodiment of the present invention will be described with reference to FIGS. 1 to 4. FIG. 1 is an explanatory diagram of the principle of determining the line width of characters.

第1図において、符号A、B、Cおよびその添数字1な
いし8は、文字rQJの輪郭線およびその輪郭線を構成
するための座標点を示している。
In FIG. 1, symbols A, B, C and their subscripts 1 to 8 indicate the outline of the character rQJ and the coordinate points for constructing the outline.

なお、第1図では、簡単のために文字rQJの内側の輪
郭線を省略し、外側の輪郭線のみが表示されている。
In FIG. 1, the inner outline of the character rQJ is omitted for the sake of simplicity, and only the outer outline is displayed.

第1図に示すように、太い文字「0」は8つの座標点A
IないしA8でその輪郭線Aが定義され、同様に細い文
字「O」も8つの座標点B1ないしB8でその輪郭線B
が定義されている。
As shown in Figure 1, the bold character "0" indicates the eight coordinate points A.
Its outline A is defined by I to A8, and similarly the outline B of the thin letter "O" is defined by eight coordinate points B1 to B8.
is defined.

そして、上記太い文字「0」と細い文字「0」の中間幅
(仮に50%とする)の線幅を有する文字「O」を得る
場合には、第1番目から第8番目の座標点(Al〜A8
.81〜B8)のそれぞれ50%中間座標点(C1〜C
8)を順次計算する。
Then, in order to obtain the character "O" having a line width that is intermediate (temporarily 50%) between the thick character "0" and the thin character "0", the first to eighth coordinate points ( Al~A8
.. 81 to B8) respectively 50% intermediate coordinate points (C1 to C
8) are calculated sequentially.

たとえば、太い文字の第2番目の座標点A2と細い文字
の第2番目の座標点B2とから中間座標点C2を計算す
る。この中間座標点の計算は、後述の計算式により求め
ることができるが、太い文字の座標点A2に線幅率を掛
けて分割(本明細書ではこの分割を内分と定義する)さ
れ、細い文字の座標点B2に線幅率の残りを掛けて分割
(本明細書ではこの分割を外分と定義する)される。
For example, an intermediate coordinate point C2 is calculated from the second coordinate point A2 of the thick character and the second coordinate point B2 of the thin character. This intermediate coordinate point can be calculated using the formula described below, but the coordinate point A2 of the bold character is divided by the line width ratio (in this specification, this division is defined as internal division), and the The character is divided by multiplying the coordinate point B2 by the remainder of the line width ratio (in this specification, this division is defined as outer division).

次に、それぞれ第3番目の座標点A3.83間の中間座
標点C3を計算する。以下同様にして順次第8番目まで
計算する。この計算によって得られた座標点CIないし
C8によって、50%中間の輪郭線Cを有する文字「○
」が定義され、座標点CIないしC8をたとえば、スプ
ライン曲線等によって連続することにより文字「0」の
輪郭線Cが構成される。
Next, intermediate coordinate points C3 between the third coordinate points A3 and 83 are calculated. Thereafter, calculations are made in the same manner up to the 8th item. By using the coordinate points CI to C8 obtained through this calculation, the character "○" having a 50% intermediate contour line C is
" is defined, and the contour line C of the character "0" is constructed by connecting the coordinate points CI to C8 by, for example, a spline curve.

なお、この文字「0」の第1番目および第5番目の座標
点Δ1とB1およびA5とB5は全く差がないので、結
果的にrQJという文字のサイズには変化を来たさない
。また、中間の線幅は必ずしも50%を意味せず、その
中間は100%比率により計算可能であるから、33%
太め寄りとか15%細めよりとかの指定は自由である。
Note that since there is no difference at all between the first and fifth coordinate points Δ1 and B1 and A5 and B5 of this character "0", the size of the character rQJ does not change as a result. Also, the line width in the middle does not necessarily mean 50%, and the middle can be calculated using the 100% ratio, so it is 33%.
You are free to specify whether it is thicker or 15% thinner.

この方法を実行するためには、同一の文字の線幅の太い
文字および細い文字において、点・画別に輪郭線が構成
され、その輪郭線の数は同一であること(同一の点・画
数であること)、および各輪郭線が同一数の座標点を有
することが条件となる。上述した文字「○」の場合は、
太い文字および細い文字とも画数は1であり、その輪郭
線の数は外側と内側の2本である。なお、内側の輪郭線
は省略しである。そして、その輪郭線(外側の輪郭線)
は、同一数の座標点△1ないしΔ8、B1ないしB8か
ら構成されている。
In order to carry out this method, the outlines of the same characters with thick and thin line widths must be constructed by points and strokes, and the number of outlines must be the same (with the same number of dots and strokes). ), and each contour line has the same number of coordinate points. In the case of the character “○” mentioned above,
The number of strokes for both the thick and thin characters is 1, and the number of outlines is two, one on the outside and one on the inside. Note that the inner contour line is omitted. And its outline (outer outline)
is composed of the same number of coordinate points Δ1 to Δ8 and B1 to B8.

第2図は本発明における文字発生装置の一実施例ブロッ
ク構成図、第3図は文字の処理内容を示す説明図である
FIG. 2 is a block diagram of an embodiment of the character generating device according to the present invention, and FIG. 3 is an explanatory diagram showing the contents of character processing.

第2図において、キーボード10では、所望の発生すべ
き文字に応じたキーが操作され、その文字を示す文字コ
ード(JIS規格)がアドレス発生回路12に入力され
る。
In FIG. 2, a key corresponding to a desired character to be generated is operated on a keyboard 10, and a character code (JIS standard) indicating that character is input to an address generation circuit 12.

アドレス発生回路12では、入力された文字コードに対
応したアドレス信号がそれぞれ最大太文字記憶装置14
および最小細文字記憶装置16に出力する。最大太文字
記憶装置14には、7000文字の各文字について、最
も太い線幅の文字の輪郭線を構成する複数の座標点デー
タが記憶されており、同様に最小細文字記憶装置16は
、7000文字の各文字について、最も細い線幅の文字
の輪郭線を構成する上記と同数の座標点データが記憶さ
れている。したがって、前記各記憶装置14.16に前
記アドレス発生回路12からアドレス信号が加えられる
と、そのアドレス信号の示す位置に格納されている1文
字分の座標点データが各記憶装置14.16から読み出
され、それぞれ1文字分バッファ18および20に一時
的に蓄積される。
In the address generation circuit 12, the address signals corresponding to the input character codes are stored in the maximum bold character storage device 14.
and output to the minimum fine character storage device 16. The maximum bold character storage device 14 stores a plurality of coordinate point data constituting the outline of the character with the thickest line width for each of the 7000 characters, and similarly the minimum thin character storage device 16 stores 7000 characters. For each character, the same number of coordinate point data as above forming the outline of the character with the thinnest line width is stored. Therefore, when an address signal is applied from the address generation circuit 12 to each storage device 14.16, coordinate point data for one character stored at the position indicated by the address signal is read from each storage device 14.16. and are temporarily stored in buffers 18 and 20 for one character, respectively.

ここで、1文字分バッファ18および20に蓄積される
座標点データについて説明する。
Here, the coordinate point data stored in the buffers 18 and 20 for one character will be explained.

第3図(A)ないしくE)は文字の処理内容を示す説明
図である。
FIGS. 3(A) to 3(E) are explanatory diagrams showing the contents of character processing.

今、発生すべき文字が「文」という文字であるとすると
、1文字分バッファ18および20には、それぞれ第3
図(A)に示す一点鎖線の輪郭線を構成するための座標
点データおよび第3図(B)に示す破線の輪郭線を構成
するための座標点ブタが蓄積される。すなわち、太い文
字および細い文字の「文」はそれぞれ点・画別に4画の
輪郭線要素に分割され、対応する輪郭線要素同士の輪郭
線の数は同一であり、かつ対応する輪郭線は同一数の座
標点データを保有する。
Assuming that the character to be generated is the character "Bun", the 3rd character buffers 18 and 20 each contain one character.
Coordinate point data for configuring the dashed-dotted contour line shown in FIG. 3(A) and coordinate point data for configuring the broken line contour line shown in FIG. 3(B) are stored. In other words, "sentences" of thick characters and thin characters are each divided into four stroke outline elements for each point and stroke, and the number of outlines of the corresponding outline elements is the same, and the corresponding outlines are the same. Holds several coordinate point data.

第1演算回路22は、上記1文字分バッファ18および
20から座標点データを入力する。また、第1演算回路
22の他の入力には、後述する線幅設定装置24から線
幅率Rを示す信号が入力される。すなわち、所望する文
字の線幅を決める線幅率Rを設定するために、線幅設定
装置24は、たとえば、100%ないし0%の比率Rを
示す信号を出力する。
The first arithmetic circuit 22 receives coordinate point data from the one-character buffers 18 and 20. Further, to another input of the first arithmetic circuit 22, a signal indicating the line width ratio R is inputted from a line width setting device 24, which will be described later. That is, in order to set the line width ratio R that determines the line width of a desired character, the line width setting device 24 outputs a signal indicating the ratio R from 100% to 0%, for example.

なお、線幅率100%は最大太文字記憶装置14に記憶
されている文字と同じ線幅の文字をいい、線幅率0%は
最小細文字記憶装置16に記憶されている文字と同じ線
幅の文字をいう。
Note that a line width ratio of 100% refers to a character with the same line width as the character stored in the maximum thick character storage device 14, and a line width ratio of 0% refers to a character with the same line width as the character stored in the minimum thin character storage device 16. Width character.

第1演算回路22は上記1文字分バッファ18および2
0から加えられる同一番目の各座標点ブタ間を、線幅設
定装置24で指定した線幅率Rで内分および外分して座
標点データを算出する。
The first arithmetic circuit 22 stores the buffers 18 and 2 for one character.
Coordinate point data is calculated by dividing internally and externally between the same number of coordinate points added from 0 using the line width ratio R specified by the line width setting device 24.

すなわち、第1図図示のごとく、1文字分バッファ18
から加えられる座標点A1ないし八〇の座標点データを
(xAl、YAl)、・・・・(xA n 、 Y A
 、、)とし、1文字分バッファ20から加えられる座
標点B1ないしBhの座標点を(X、、。
That is, as shown in FIG.
The coordinate point data of coordinate points A1 to 80 added from (xAl, YAl), ... (xA n , Y A
, , ), and the coordinate points B1 to Bh added from the buffer 20 for one character are (X, , .).

YBl)、・・・  (XB、、、  YR,)とする
と、線幅率R(%)により求める座標点C1ないしC,
、の座標点データ(xol、Yo、)、・・・(xo、
、。
YBl), ... (XB, , YR,), the coordinate points C1 to C, obtained by the line width ratio R (%),
, coordinate point data (xol, Yo,), ... (xo,
,.

Y c+、)は、次式のようになる。Y c+,) is as shown in the following equation.

(ただし、1−1〜n) 上記のようにして順次算出された第1番目から第n番目
の座標点データ(X、、、Y、、) 、・・・(xo、
、 yc、、)は、1文字分バッファ23に蓄積される
(However, 1-1 to n) The first to n-th coordinate point data (X, , Y, ), ... (xo,
, yc, , ) are accumulated in the buffer 23 for one character.

第3図(C)は第3図(A)および(B)に示す文字「
文」をそれぞれ重ね合わせた文字を示し第3図(D>は
さらに、上記第(1)式から算出される座標点から構成
される輪郭線(実線)を含む文字を示している。なお、
ここでは線幅率Rを50%としている。
Figure 3 (C) is the character shown in Figure 3 (A) and (B).
FIG. 3 shows characters that are superimposed on each other (D> further shows a character that includes a contour line (solid line) composed of coordinate points calculated from the above equation (1).
Here, the line width ratio R is set to 50%.

そして、第3図(E)は1文字分バッファ23に蓄積さ
れる座標点データから構成される中間幅の文字「文」を
示している。
FIG. 3(E) shows a medium-width character "sentence" composed of coordinate point data stored in the buffer 23 for one character.

このようにしてできた1文字は、1文字分バッファ23
から取り出されて文字拡大回路28に入力される。文字
拡大回路28は、文字サイズ設定器26で設定した文字
サイズにしたがって、前記文字を拡大する。そして、拡
大された文字は、1文字分バッファ30に入力された後
、出力装置32に出力される。
One character created in this way is stored in one character's buffer 23.
, and input into the character enlargement circuit 28. The character enlargement circuit 28 enlarges the character according to the character size set by the character size setting device 26. Then, one character of the enlarged characters is input to the buffer 30 and then output to the output device 32.

出力装置32は、たとえば、レーザープリンタやCRT
等からなり、上記1文字分バッファ30に蓄積された座
標点データ(X、、、Yo、) 、・・(X、、、Yo
、)の座標点01〜coを、スプライン曲線等によって
連続して「文」の輪郭線を構成し、その輪郭線内を塗り
つぶしあるいは白抜きして文字を発生させる。
The output device 32 is, for example, a laser printer or a CRT.
The coordinate point data (X,,,Yo,),... (X,,,Yo,) stored in the buffer 30 for one character are
The coordinate points 01 to co of , ) are successively formed by a spline curve or the like to form an outline of a "sentence", and the inside of the outline is filled in or outlined to generate a character.

次に、第2図図示の線幅設定装置24について説明する
Next, the line width setting device 24 shown in FIG. 2 will be explained.

本発明における線幅設定装置24は、所望の文字サイズ
に合った幾通りかの線幅を文字の使用目的等により自由
に選択できるようになっている。
The line width setting device 24 according to the present invention is capable of freely selecting several line widths that match a desired character size depending on the intended use of the character.

すなわち、線幅設定器33の指定により、所望の線幅を
選択する。線幅設定器33の指定により、線幅設定器3
3から出力したコード信号がアドレス発生回路34に入
力される。アドレス発生回路34は、入力されたコード
信号に対応したアドレス信号を出力して、文字サイズと
線幅に関するテーブル記憶装置36に入力する。文字サ
イズと線幅に関するテーブル記憶装置36は、前記アド
レス信号が加えられると、そのアドレス信号の示す位置
に格納されたテーブルが読み出される。
That is, a desired line width is selected by specifying the line width setting device 33. According to the specification of the line width setting device 33, the line width setting device 3
The code signal output from the address generator 3 is input to the address generation circuit 34. The address generation circuit 34 outputs an address signal corresponding to the input code signal and inputs it to the table storage device 36 regarding character size and line width. When the address signal is applied to the table storage device 36 regarding character size and line width, the table stored at the position indicated by the address signal is read out.

一方、文字サイズ設定器26により所望の文字サイズが
選択されると、文字サイズ設定器26からの信号は、選
択された文字サイズと線幅に関するテーブル記憶装置3
6のテーブルにおける文字サイズの位置を指定する。
On the other hand, when a desired character size is selected by the character size setter 26, a signal from the character size setter 26 is sent to the table storage device 3 regarding the selected character size and line width.
Specify the position of the font size in the table No. 6.

前記線幅設定器33によって選択されたテーブルと、文
字サイズ設定器26によって選択された文字サイズの位
置との指定で、第2演算回路38は、文字サイズと線幅
に合った線幅率Rを演算する。第2演算回路38によっ
て演算された線幅率Rは、出力バッファ40に1時格納
され、この線幅率Rを基にして、前述の第1演算回路2
2が所望の文字幅の座標点を演算する。ずなわぢ、キボ
ード10によって入力された文字は、第1演算回路22
で最大太文字と最小細文字との線幅を前記線幅率Rによ
って内分あるいは外分して、所望の文字サイズに合った
線幅の文字が得られる。
Based on the table selected by the line width setter 33 and the position of the character size selected by the character size setter 26, the second arithmetic circuit 38 calculates the line width ratio R that matches the character size and line width. Calculate. The line width ratio R calculated by the second calculation circuit 38 is temporarily stored in the output buffer 40, and based on this line width ratio R, the first calculation circuit 38
2 calculates the coordinate point of the desired character width. Characters input using the keyboard 10 are sent to the first arithmetic circuit 22.
By dividing the line widths of the maximum bold character and the minimum thin character internally or externally by the line width ratio R, characters with line widths matching the desired character size are obtained.

なお、文字サイズ設定器26あるいは線幅設定器33は
、ダイヤルまたはレバーのごときもので構成されるが、
キーボード10で兼用することもできる。
Note that the character size setting device 26 or line width setting device 33 is composed of something like a dial or a lever.
The keyboard 10 can also be used for both purposes.

次に、文字サイズと線幅に関するテーブルについて説明
する。
Next, a table regarding character size and line width will be explained.

第4図は本発明における文字サイズと線幅に関するテー
ブル説明図である。第4図において、たとえば、Xは文
字の線幅を決める線幅率%、Yは文字サイズを表すポイ
ント数、a、bは定数である。
FIG. 4 is an explanatory diagram of a table relating to character size and line width in the present invention. In FIG. 4, for example, X is the line width percentage that determines the line width of the character, Y is the number of points representing the character size, and a and b are constants.

第4図(a)に示すテーブルは、線幅率とポイント数と
が比例関係にある場合を示す。すなわち、第4図図示(
1)式のごとく、文字のポイント数が大きくなれば、文
字の線幅も太くなり、文字のポイント数が小さくなれば
、文字の線幅も小さくなる。
The table shown in FIG. 4(a) shows a case where the line width ratio and the number of points are in a proportional relationship. That is, as shown in Figure 4 (
As shown in equation 1), as the number of points for a character increases, the line width of the character also becomes thicker, and as the number of points for a character decreases, the line width of the character also decreases.

第4図(b)に示すテーブルは、線幅とポイント数との
関係が二次関数的に増加する場合である。
The table shown in FIG. 4(b) shows a case where the relationship between the line width and the number of points increases quadratically.

すなわち、第4図図示(2)式のごとき関係にある。That is, the relationship is as shown in equation (2) shown in FIG.

第4図(C)に示すテーブルは、線幅とポイント数との
関係が第4図図示(3)式のごとき関係にある。これら
の関数と定数aあるいはbを変えることにより、少ない
テーブル数で多くのテーブルを備えているのと同じにな
る。このように関数と定数の異なったテーブルを多く備
えていると、普通の印刷において多くの種類の線幅の文
字を選択出来るだけでなく、広告あるいはデザイン等の
特殊な文字が自動的に印刷できるようになる。
In the table shown in FIG. 4(C), the relationship between the line width and the number of points is as shown in equation (3) shown in FIG. By changing these functions and constants a or b, it is the same as having many tables with a small number of tables. By having many tables with different functions and constants like this, you can not only select characters with many different line widths for normal printing, but also automatically print special characters such as advertisements or designs. It becomes like this.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、文字の入力、文字サイズの指定、およ
び文字サイズと線幅に関するテーブルを指定するだけで
、文字サイズに応じた所望の線幅の文字が自動的に得る
ことができる。
According to the present invention, characters with a desired line width corresponding to the character size can be automatically obtained by simply inputting characters, specifying the character size, and specifying a table regarding the character size and line width.

本発明によれば、最大線幅の文字と最小線幅の文字とを
基準にして、文字サイズあるいは文字の線幅を変えるこ
とができるので、従来例のごとく1種類のデザインから
なる文字に対して、数種類の文字サイズと各文字サイズ
に対して異なる線幅の文字をそれぞれコンピュータに記
憶する必要がない。したがって、1種類のデザインから
なる同一文字について、最大線幅の文字と最小線幅の文
字とをコンピュータに記憶するだけで済む。
According to the present invention, the character size or line width of the characters can be changed based on the characters with the maximum line width and the characters with the minimum line width. Therefore, there is no need to store several types of character sizes and characters with different line widths for each character size in the computer. Therefore, for the same character consisting of one type of design, it is only necessary to store in the computer the character with the maximum line width and the character with the minimum line width.

また、本発明によれば、最大線幅の文字と最小線幅の文
字とを基準にして、線幅率を掛けるだけの単純な計算で
良いため、演算回路が簡単になる。
Further, according to the present invention, a calculation circuit can be simplified because a simple calculation of multiplying a character with a maximum line width and a character with a minimum line width by a line width ratio is sufficient.

さらに、文字の線幅を変える場合、予め記憶された線幅
に関するテーブルと当該テーブルの関数における定数を
変えながら、デイスプレィ等の出力装置に表示した文字
を見て、所望の線幅の文字を選択することもできる。
Furthermore, when changing the line width of a character, select a character with the desired line width by looking at the characters displayed on an output device such as a display while changing the pre-stored line width table and the constants in the functions of the table. You can also.

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

第1図は文字線幅を決定する原理説明図、第2図は本発
明における文字発生装置の一実施例ブロック構成図、第
3図(A)ないしくE)は文字の処理内容を示す説明図
、第4図(a)および第4図(b)は本発明における文
字サイズと線幅に関するテーブル説明図である。 10・・・キーボード 12・・・アドレス発生回路 14・・・最大太文字記憶装置 16・・・最小細文字記憶装置 18.20.23.30・・・1文字分バッファ22・
・・第1演算回路 ・線幅設定装置 ・文字サイズ設定器 ・文字拡大回路 ・出力装置 ・線幅設定器 ・アドレス発生回路 文字サイズと線幅に関するテーブル 記憶装置 38・・・第2演算回路 40・・・出力バッファ Σ モ【、\、、L−涯 Σ モ【八−t−姪 Σ ′+−!へ工姪 醪  写 妊 膨
Fig. 1 is an explanatory diagram of the principle of determining character line width, Fig. 2 is a block diagram of an embodiment of the character generating device according to the present invention, and Fig. 3 (A) to E) is an explanation showing the contents of character processing. 4(a) and 4(b) are explanatory diagrams of tables relating to character size and line width in the present invention. 10...Keyboard 12...Address generation circuit 14...Maximum bold character storage device 16...Minimum thin character storage device 18.20.23.30...1 character buffer 22.
・・First calculation circuit・Line width setting device・Character size setting device・Character enlargement circuit・Output device・Line width setting device・Address generation circuit Table storage device 38 regarding character size and line width ・・Second calculation circuit 40・・・Output buffer Σ mo [, \,, L-life Σ mo [8-t-niece Σ ′+-! Heko Mei Moromi Photography Exposure

Claims (3)

【特許請求の範囲】[Claims] (1)同一の文字について、最大線幅の文字の輪郭線を
構成するために必要な複数の第1座標点データと、当該
第1座標点データのデータ数と同数でしかも関連のある
最小線幅の文字の輪郭線を構成する第2座標点データと
を予め各文字別に記憶しておき、 発生すべき所望の文字に対応する前記第1および第2座
標点データを読み出すとともに、所望の文字サイズと線
幅率に関するテーブルを選択し、このテーブルに基づい
て文字サイズに合い、しかも所望の線幅になる線幅率を
演算し、 当該線幅率に基づいて第1および第2座標点データの同
一番目の各座標点データ間を、内分または外分する座標
点データを演算し、 前記演算した座標点データに基づいて所望のサイズと線
幅の文字の輪郭線を構成した文字を発生するようにした
ことを特徴とする文字発生方法。
(1) For the same character, a plurality of first coordinate point data necessary to construct the outline of the character with the maximum line width, and a minimum line that has the same number of data and is related to the first coordinate point data. 2nd coordinate point data constituting the outline of the character of the width is stored in advance for each character, and the first and second coordinate point data corresponding to the desired character to be generated are read out, and the desired character is Select a table regarding size and line width ratio, calculate the line width ratio that matches the character size and have the desired line width based on this table, and calculate the first and second coordinate point data based on the line width ratio. Calculates coordinate point data that divides internally or externally between each coordinate point data of the same number, and generates a character with a character outline of a desired size and line width based on the calculated coordinate point data. A character generation method characterized by:
(2)同一の文字について、最大線幅の文字の輪郭線を
構成するために必要な複数の第1座標点データを予め各
文字別に記憶した最大太文字記憶装置と、 前記第1座標点データのデータ数と同数でしかも関連の
ある最小線幅の文字の輪郭線を構成する第2座標点デー
タを予め各文字別に記憶した最小細文字記憶装置と、 所望の文字サイズを入力する文字サイズ設定器と、 線幅を指定する線幅指定器と、所望の文字サイズと線幅
率とに関するテーブルと、当該テーブルに基づいて文字
サイズに合い、しかも所望の線幅になる線幅率を演算す
る第2演算回路とを有する線幅設定装置と、 前記線幅率に基づいて第1および第2座標点データの同
一番目の各座標点データ間を、内分または外分する座標
点データを演算する第1演算回路と、 前記第1演算回路により演算した座標点データに基づい
て、予め設定した文字サイズに拡大する文字拡大回路と
、 を備えていることを特徴とする文字発生装置。
(2) for the same character, a maximum bold character storage device that stores in advance a plurality of first coordinate point data for each character, which is necessary to configure the outline of the character with the maximum line width; and the first coordinate point data. A minimum thin character storage device that stores in advance for each character second coordinate point data constituting the outline of a character with the same number of data and a related minimum line width, and a character size setting for inputting a desired character size. a line width designator for specifying line width, a table regarding desired character size and line width ratio, and a line width ratio that matches the character size and provides the desired line width based on the table. a line width setting device having a second calculation circuit, and calculates coordinate point data for internally or externally dividing the same number of coordinate point data of the first and second coordinate point data based on the line width ratio. A character generating device comprising: a first arithmetic circuit that performs the calculation, and a character enlargement circuit that enlarges the character to a preset character size based on the coordinate point data calculated by the first arithmetic circuit.
(3)前記文字サイズと線幅率に関するテーブルは複数
備えられ、当該テーブルに基づいて、文字サイズと線幅
との関係が任意に選択できることを特徴とする請求項2
項記載の文字発生装置。
(3) A plurality of tables regarding the character size and line width ratio are provided, and the relationship between the character size and line width can be arbitrarily selected based on the tables.
Character generator described in section.
JP7054689A 1989-03-24 1989-03-24 Method and device for generating character Pending JPH02250189A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7054689A JPH02250189A (en) 1989-03-24 1989-03-24 Method and device for generating character

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7054689A JPH02250189A (en) 1989-03-24 1989-03-24 Method and device for generating character

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP6309398A Division JPH08147484A (en) 1994-11-21 1994-11-21 Character generating method

Publications (1)

Publication Number Publication Date
JPH02250189A true JPH02250189A (en) 1990-10-05

Family

ID=13434625

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7054689A Pending JPH02250189A (en) 1989-03-24 1989-03-24 Method and device for generating character

Country Status (1)

Country Link
JP (1) JPH02250189A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0657848A2 (en) * 1993-12-09 1995-06-14 Canon Kabushiki Kaisha Character generating apparatus and method
JPH096310A (en) * 1995-06-20 1997-01-10 Nippon Joho Kagaku Kk Method and device for character generation
US6944823B2 (en) 1992-11-30 2005-09-13 Canon Kabushiki Kaisha Outline forming apparatus and method using inputted weight information

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS636874A (en) * 1986-06-27 1988-01-12 Fujitsu Ltd Manufacture of semiconductor device
JPH0552793A (en) * 1991-08-22 1993-03-02 Marcon Electron Co Ltd Humidity sensitive element

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS636874A (en) * 1986-06-27 1988-01-12 Fujitsu Ltd Manufacture of semiconductor device
JPH0552793A (en) * 1991-08-22 1993-03-02 Marcon Electron Co Ltd Humidity sensitive element

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6944823B2 (en) 1992-11-30 2005-09-13 Canon Kabushiki Kaisha Outline forming apparatus and method using inputted weight information
EP0657848A2 (en) * 1993-12-09 1995-06-14 Canon Kabushiki Kaisha Character generating apparatus and method
EP0657848A3 (en) * 1993-12-09 1996-09-18 Canon Kk Character generating apparatus and method.
US5959634A (en) * 1993-12-09 1999-09-28 Canon Kabushiki Kaisha Character generating system employing thickening or narrowing of characters
JPH096310A (en) * 1995-06-20 1997-01-10 Nippon Joho Kagaku Kk Method and device for character generation

Similar Documents

Publication Publication Date Title
EP0471482A2 (en) Character processing method
JPH02250189A (en) Method and device for generating character
JP3126696B2 (en) Character generation method
JPH01272460A (en) Method and apparatus for generating character
JPS58134327A (en) Japanese word processor
Mergler et al. One approach to computer assisted letter design
US5506942A (en) Apparatus of outputting a train of characters
JPH08147484A (en) Character generating method
JP3019255B2 (en) Outline font data storage medium
JPH096310A (en) Method and device for character generation
JPS63186366A (en) Document preparing device
JP3211404B2 (en) String output device
JPH03105391A (en) Scroll display device
JPH04340590A (en) Character font output device
JPH0666066B2 (en) Document processor with furigana addition function
KR920008911B1 (en) Character displaying system for electronic typewriter
JPS6132676B2 (en)
JPH0222696A (en) Character processing device
JPS625292A (en) Charactor input unit
JPH0635911A (en) Phonetic kana display system
JPS6316364A (en) Word processor
JPH08286655A (en) Character pattern generator
JPH09245026A (en) Character storing method, character generating method, and character generating device
JP2019074858A (en) Character string display device, character string display method, and character string display program
JPH05216456A (en) Character output device