JPS62282381A - Continuous character forming device - Google Patents

Continuous character forming device

Info

Publication number
JPS62282381A
JPS62282381A JP61126011A JP12601186A JPS62282381A JP S62282381 A JPS62282381 A JP S62282381A JP 61126011 A JP61126011 A JP 61126011A JP 12601186 A JP12601186 A JP 12601186A JP S62282381 A JPS62282381 A JP S62282381A
Authority
JP
Japan
Prior art keywords
continuous
character
characters
area
creation device
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
JP61126011A
Other languages
Japanese (ja)
Other versions
JP2569489B2 (en
Inventor
Toshinobu Tanaka
田中 利宜
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP61126011A priority Critical patent/JP2569489B2/en
Publication of JPS62282381A publication Critical patent/JPS62282381A/en
Application granted granted Critical
Publication of JP2569489B2 publication Critical patent/JP2569489B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To make an arbitrary characters continuous by forming a continuous area (continuous pattern) between character fonts by using a relating control parameter. CONSTITUTION:In a continuous table 3, continuous adaptable/unadaptable information, the coordinate of the start end of the first picture of the character and the width, the coordinate and the width of the end of a final picture and the coordinate of an interpolation point are stored as the control parameters every character. The one character of character is taken out from a cursive font data memory 2 and the continuous table 3, the coordinates C, D of two corners at the first writing of the first picture are stored in the post-character storing area of an output buffer 5 and the coordinates A, B of two corners at the final writing of a pre-character are reset in a pre-character storing area. The picture drawing of the boundary of the continuous area and a paint processing in the boundary are performed, the formed continuous area is printed and a continuous counter 9 is made incremental, according to the program of a tertiary spline.

Description

【発明の詳細な説明】 3、発明の詳細な説明 [産業上の利用分野] この発明は連綿文字作成装置に関し、詳細には与えられ
た文字パターンと文字パターンとを連絡させたパターン
を作成する技術に関し、例えば、毛筆書体を連綿して出
力する日本語ワードプロセッサ等に適用することができ
る。
[Detailed Description of the Invention] 3. Detailed Description of the Invention [Field of Industrial Application] This invention relates to a continuous character creation device, and more specifically, creates a pattern in which given character patterns are connected to each other. Regarding technology, it can be applied to, for example, a Japanese word processor that outputs a continuous line of calligraphy fonts.

[発明の概要] この発明は、与えられた文字パターン(フォント)同士
を連綿させる連綿文字作成装とにおいて、 文字間の連綿に関する制御パラメータを記録管理する手
段を設け、フォントデータ発生手段より取り出した文字
フォント間の連綿領域(つなぎのパターン)を関連する
制御パラメータを使って生成することにより、 フォントデータ発生手段(文字フォント発生手段)のみ
からは得ることのできない所望の連綿文字パターンを得
ようとするものである。
[Summary of the Invention] The present invention provides a means for recording and managing control parameters regarding the continuity between characters in a continuous character creation device that connects given character patterns (fonts), and extracts the control parameters from the font data generation means. By generating continuous areas (connection patterns) between character fonts using related control parameters, we aim to obtain a desired continuous character pattern that cannot be obtained from font data generation means (character font generation means) alone. It is something to do.

【従来の技術] 最近、かた苦しい活字フォントによる従来の出力、印刷
機億から脱却する意味で、毛筆書体のようなパターンを
もつフォント(毛筆フォント)を用いて手書風な文言を
得ることが試みられている。
[Prior art] Recently, in order to break away from conventional output using hard type fonts and printing machines, it has been attempted to obtain handwritten-like text using fonts with patterns similar to calligraphy fonts (brush fonts). is being attempted.

しかしながら、このような毛筆フォント同士を所望の組
合せでスムーズに連綿させることのできるような装置は
、要望はあるものの、いまだ実現されていない。
However, although there is a desire for a device that can smoothly connect such calligraphy fonts in a desired combination, it has not yet been realized.

例えば、毛筆フォントをもつ代表的な従来装置は、毛筆
フォント間の連綿Jl 士をもっておらず、書式設定手
段で決められたそれぞれの文字ボックス(出力媒体1例
えば用紙上に規定されるnXmのマトリクス蒙域の意)
の中に、毛筆文字を打ち出している。
For example, a typical conventional device with a calligraphy font does not have a continuous character between the calligraphy fonts, and each character box (nXm matrix format defined on the output medium 1, for example, paper) is area)
Inside, calligraphy writing is printed.

ある種の従来装置では連綿させた文字列を出力すること
ができる。この種の装置では、メモリ内に連綿させた文
字列フォントを最初からもっており、各文字列フォント
を増り出すことにより、出力媒体上に連綿した文字列を
展開させる(例えば、ロゴ印刷)、シたがって、使用で
きる文字列の数はメモリの容量に比例し、決まった文字
列しか連綿文字列として得ることができるのにとどまり
、任意の文字同士をJ!fl綿させることができない。
Certain conventional devices are capable of outputting a string of characters. This type of device has a string of string fonts in memory from the beginning, and by increasing the number of string fonts, a string of strings is developed on the output medium (for example, for logo printing). Therefore, the number of character strings that can be used is proportional to the memory capacity, and only a fixed string of characters can be obtained as a continuous string. I can't make it fl cotton.

[発明が解決しようとする問題点] このような点に鑑み、この発明では、任意の文字と文字
とを連綿させることのできる連綿文字作成装とを提供す
ることを主要な課題とする。
[Problems to be Solved by the Invention] In view of the above points, the main object of the present invention is to provide a continuous character creation device that can connect arbitrary characters.

二次的な課題は連綿の具合、流れが自然な感じの連綿文
字パターンを作成することである。
The secondary challenge is to create a continuous character pattern that has a natural feel and flow.

[問題点を解決するための手段] 上記の主要課題を解決する所の本発明の機走ブロック図
を第1図に示す、本図において、Aは各文字のフォント
データを発生もしくは記憶する手段(以下、フォントデ
ータ発生手段と総称する)、Bは文字間の連綿に関する
制御パラメータの発生源もしくは記憶手段(以下、制御
パラメータ発生手段と総称する)、Cはフォントデータ
発生手段より文字のフォントデータをアクセスするアク
セス手段、Dはアクセス手段Cによりアクセスされた2
つの文字フォント間の連綿領域を関連する制御パラメー
タを使用して生成する連綿領域生成手段である。
[Means for Solving the Problems] A block diagram of the present invention that solves the above-mentioned main problems is shown in FIG. 1. In this figure, A is means for generating or storing font data for each character. (hereinafter collectively referred to as font data generation means), B is a generation source or storage means of control parameters regarding continuity between characters (hereinafter collectively referred to as control parameter generation means), C is font data of characters from font data generation means 2, D is accessed by access means C.
This continuous area generation means generates a continuous area between two character fonts using related control parameters.

[作用、展開] いま、第1図において、アクセス手段Cがフォントデー
タ発生手段Aから取り出した2つの文字フォントの情報
を連綿領域生成手段りに渡したとする。これに対し、連
綿領域りは、受は取った情報と関係する制御パラメータ
を制御パラメータ発生手段Bより取り出す、そして、こ
の制御パラメータを使って、アクセスに係る2つの文字
フォント間の連綿領域を生成する。
[Operation and Development] Now, in FIG. 1, it is assumed that the access means C passes information on two character fonts extracted from the font data generation means A to the continuous area generation means. On the other hand, in continuous area generation, the receiver extracts control parameters related to the received information from control parameter generation means B, and uses this control parameter to generate a continuous area between two character fonts related to access. do.

上記のフォントデータ発生手段Aは、毛筆書体等の連綿
に本発明を適用する場合には、最終的に出力される毛筆
書体と同じパターン、形態をもついわゆるドツトフォン
トメモリ(点の集合でフォントを定義するメモリ)を使
用するのが好ましいが、一般的には、他の型式のもので
構成してもよい0例えば、始点や終点を記憶するメモリ
、これらの間を適当な描画アルゴリズムで描画する手段
、描画された閉領域内に位こするペイント開始位とを記
憶するメモリ、ペイント開始位置よりペイントアルゴリ
ズム(ぬりつぶしのプログラム)を起動して閉領域内の
ぬりつぶしを実行するL段等から構成されるいわゆるベ
クトルフォントタイプのフォント発生源で構成すること
ができる。
When the present invention is applied to a series of brush fonts, etc., the font data generating means A described above is a so-called dot font memory (which generates fonts using a set of dots) that has the same pattern and form as the brush font that is finally output. Although it is preferable to use a memory that defines a memory, it is generally possible to use other types of memory. For example, a memory that stores the start point and end point, and draws between these using an appropriate drawing algorithm. means, a memory for storing the paint start position to be placed in the drawn closed area, and an L stage for starting the paint algorithm (filling program) from the paint start position to execute the filling in the closed area. A font source of the so-called vector font type can be constructed.

制御パラメータ発生手段Bの提供する制御パラメータは
、文字間の連綿に関するパラメータを規定するものであ
る。
The control parameters provided by the control parameter generating means B define parameters regarding continuity between characters.

本発明の好ましい一実施態様においては、この制御パラ
メータ中に1文字間の連綿の可否を指定する情報が含ま
れ、連綿の不可が指定されている場合、連綿領域生成手
gtDは関連する文字と文字との間の連綿領域を作成し
ない、より好ましくは、この連綿の可否情報はプログラ
マブルとする0例えば、ユーザーサイドで自由に連綿の
可否情報を可変設定できるようにする。このようにすれ
ば、連綿に関するフレキシビリティが向上し、例えば、
毛筆書体の連綿に応用する場合、ユーザーの好みの日本
語文字のところで連1w6を終了させることができる。
In a preferred embodiment of the present invention, this control parameter includes information specifying whether consecutive characters can be connected, and if consecutive characters are not allowed, the continuous area generation hand gtD A continuous region between the characters is not created, and more preferably, this continuous continuity information is programmable. For example, the continuous continuity information can be freely set on the user side. In this way, flexibility regarding the continuous yarn is improved, and for example,
When applied to a series of calligraphy typefaces, the series 1w6 can be ended at a Japanese character of the user's preference.

また、制御パラメータ中に、文字間の連綿領域内に位置
する制御座標(補間点)を含めることができる。この制
御座標は連綿領域生成手段りが描画やぬりつぶしを行う
場合の制御点として利用され得る。フレキシビリティ向
上のため、この制御座標をプログラマブルにするとなお
よい。
Furthermore, the control parameters may include control coordinates (interpolation points) located within the continuous region between characters. These control coordinates can be used as control points when the continuous area generation means performs drawing or filling. In order to improve flexibility, it is better to make the control coordinates programmable.

さらに、制御パラメータ中に、最大のi!I!綿可虎な
文字数の情報を含ませることができる。これに関連して
、連綿領域生成手段り側に計数手段を設け、この計数手
段に生成した連綿領域の数を計数させ、その計数値が最
大の連綿可俺な文字数に達したら、次の文字との連綿領
域の作成を禁止することとする0毛筆書体の1J!綿出
力への応用において、このようなn 71を組み込むこ
とにより、あまりに文字がつづきすぎて読みにくくなる
、という問題を有効に避けることができる。上記の最大
の連綿文字数もプログラマブルにすることができる。ま
た、複数の設定連綿文字数を連綿文字作成の際、文字列
」;の位置に応じてν1り換えるようにしてもよい。
Moreover, among the control parameters, the maximum i! I! It can contain information with a limited number of characters. In connection with this, a counting means is provided on the side of the continuous area generating means, and the counting means counts the number of continuous areas generated, and when the counted value reaches the maximum number of consecutive characters, the next character It is prohibited to create a continuous area with 1J of 0 brush typeface! In application to cotton output, by incorporating such n71, it is possible to effectively avoid the problem of characters being too continuous and becoming difficult to read. The maximum number of consecutive characters mentioned above can also be made programmable. Further, when creating a plurality of set consecutive characters, ν1 may be changed depending on the position of the character string ";".

さらに、制御パラメータ中に1文字端データを含ませる
ことができる。この場合の文字端とは。
Furthermore, one-character end data can be included in the control parameters. What is the character edge in this case?

文字フォント(パターン)のうち連綿領域とつながれる
部分を指している。好ましくは1文字端データは右目し
ている文字の端部の輻(画幅)とその座標より成る。こ
のような情報は、連綿領域生成手段によって生成される
連綿領域の境界線の一部と整合する。
It refers to the part of a character font (pattern) that is connected to a continuous area. Preferably, the one-character edge data consists of the convergence (screen width) of the edge of the character viewed to the right and its coordinates. Such information matches a portion of the boundary line of the continuous area generated by the continuous area generation means.

本発明の好ましい一実施態様においては、制御パラメー
タは文字ごとに割り当てられる。いいかえれば、フォン
トデータ発生手段Aより発生回部な文字数だけの制御パ
ラメータがあればよいことになる。したがって、くひら
がな〉の場合には高々数十組の制御パラメータを用意す
れば十分である。また、1文字につき1組の制御パラメ
ータの割当方式は、設計上の負担も軽減し、システム構
成、処理が単純化される、という利点ももたらしてくれ
る。
In a preferred embodiment of the invention, control parameters are assigned on a character-by-character basis. In other words, it is sufficient to have as many control parameters as the number of characters generated by the font data generating means A. Therefore, in the case of Kuhiragana, it is sufficient to prepare at most several dozen sets of control parameters. Furthermore, the method of assigning one set of control parameters to each character also has the advantage of reducing the burden on design and simplifying the system configuration and processing.

もっとも、これには限らず1例えば、使用文字セットを
グループ化し、ある文字種(グループ)に属する文字と
同一もしくは他のグループに属する文字との関係に従っ
て、すなわち2つの文字グループの組合せに対応して、
制御パラメータ(例えば訓御座標)を割り当てるように
してもよい。
However, this is not limited to this. For example, the character set used may be grouped, and characters belonging to a certain character type (group) may be the same or in accordance with the relationship with characters belonging to another group, that is, in response to a combination of two character groups. ,
Control parameters (for example, control coordinates) may be assigned.

以下説明する実施例は本発明を草書風のひらがなの連綿
に適用したものであるが、本発明の原理はそれにとどま
らず、他の文字の連綿にも同様にして、あるいは自明な
変更を加えることにより、適用できる。したがって、特
許請求の範囲第1項に規定する用語r文字」の意味は最
広義に解されるべきであり、少なくとも、ソースのコー
ドを用いて変換できるような任意のパターンをもつもの
(例えば、図形シンボル)を含み得る。
Although the embodiment described below is an application of the present invention to a series of hiragana characters in cursive style, the principle of the present invention is not limited thereto, and the principle of the present invention can be applied to a series of other characters in the same manner or with obvious changes. Therefore, it can be applied. Therefore, the meaning of the term "r character" defined in claim 1 should be interpreted in the broadest sense, and at least a character with an arbitrary pattern that can be converted using the source code (for example, graphical symbols).

[実施例] 以下、図面を参照して本発明の一実施例を説明する。[Example] Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

く構 成〉 第2図に、実施例の全体構成を示す、この実施例は草書
風のひらがなを連綿させて印刷する機部をもっている。
Structure> FIG. 2 shows the overall structure of the embodiment. This embodiment has a machine section that prints cursive-style hiragana in a continuous manner.

■はテキストメモリなどと呼ばれるメモリで文書データ
を保存する。この文書データメモリ1上の各文字はコー
ド化された形で表現されている(例えばJISコード)
(2) Stores document data in a memory called text memory. Each character on this document data memory 1 is expressed in coded form (for example, JIS code)
.

2は草書体のひらがなのフォント(パターン)を記憶す
るメモリ(草書フォントデータメモリ)である。
Reference numeral 2 denotes a memory (cursive font data memory) for storing cursive hiragana fonts (patterns).

3は文字間の連綿に関する制御パラメータを記憶するテ
ーブルメモリである0本実施例では、それぞれの制御パ
ラメータの組は草書フォントごとに割り当てられている
。この詳細については後で詳述する。
3 is a table memory for storing control parameters regarding continuity between characters; 0 In this embodiment, each set of control parameters is assigned to each cursive font. The details will be explained later.

4は印字制御部であり、図示しない入力装と(例えばキ
ーボード)を介して午えられる連綿文字の印刷要求に応
じて動作し、上記の文書データ1、草書フォントデータ
メモリ2)連綿テーブル3を使って、必要な情報を1文
字型位で出力文字記憶エリア(出力バッファ)5に設定
するとともに、適宜、連綿字形作成部6を起動する。
Reference numeral 4 denotes a print control unit, which operates in response to a request to print continuous characters received via an input device (not shown, such as a keyboard), and outputs the above-mentioned document data 1, cursive font data memory 2) continuous character table 3. The necessary information is set in the output character storage area (output buffer) 5 for about one character type, and the continuous character shape creation section 6 is activated as appropriate.

連綿字形作成部6の基本機51は2つの文字間の連綿部
の生成を行うことである。
The basic machine 51 of the continuous character shape creation section 6 is to generate a continuous part between two characters.

7は連綿可能な最大文字数を記憶するものである。この
文字数は入力装置を介してユーザーが自由に設定するこ
とができる。
7 stores the maximum number of consecutive characters. The number of characters can be freely set by the user via the input device.

8は3次スプライン計算の実行部である。3つの制御点
を通る曲線(3次スプライン曲線)の生成を行う。
8 is an execution unit for cubic spline calculation. A curve (cubic spline curve) passing through three control points is generated.

9は生成されたひと続きの連綿文字数、すなわち作成さ
れた連綿領域の数の計数値を格納するレジスタ(カウン
タとして機部する)である、この内容は連綿文字の最大
設定数との比較に用いられる。
9 is a register (used as a counter) that stores the count value of the number of continuous characters generated, that is, the number of continuous areas created; this content is used for comparison with the maximum set number of continuous characters. It will be done.

10は例えばページプリンタのような印字装置であり、
11は印刷媒体(用紙)である。
10 is a printing device such as a page printer;
11 is a printing medium (paper).

連綿テーブル(第3A図、第3B図) 第3A図に第2図の連綿テーブル3の構成例を示す、こ
こでは、テーブル中に、次のような制御パラメータが文
字別に保存されている。説明の便宜上、第3B図もあわ
せて参照する。
Continuous Table (FIGS. 3A and 3B) FIG. 3A shows an example of the configuration of the continuous table 3 shown in FIG. 2. Here, the following control parameters are stored character by character in the table. For convenience of explanation, FIG. 3B is also referred to.

連綿の可否情報:第1列目の情報で、該当する文字フォ
ントが次の文字フォントに連綿できるか否かのビットで
構成される。
Continuation availability information: Information in the first column, consisting of bits indicating whether or not the corresponding character font can be concatenated with the next character font.

始点;該当する文字の第1画の始端の座標を規定するも
のである。
Starting point: Specifies the coordinates of the starting end of the first stroke of the corresponding character.

終点:該当する文字の最終画の終端の座標を規定するも
のである(第3B図参照)。
End point: Specifies the coordinates of the end of the last stroke of the corresponding character (see Figure 3B).

補間:該ちする文字と次の文字との連綿領域の内部点で
あって、3次スプライン計算における3つの制御点の1
つを規定する。また、ペイント(ぬりつぶし)の際のペ
イント開始点にもなる。
Interpolation: An internal point in the continuous region between the corresponding character and the next character, one of the three control points in cubic spline calculation.
stipulate one. It also serves as the starting point for painting.

第1画線幅:該当する文字の第1画の始端の幅を示す、
これは、2つの始点(X +、YI)、(X7 、 Y
7 ) ヲ使ッテ求メルコともできる。
First stroke width: Indicates the width of the starting edge of the first stroke of the corresponding character,
This means that the two starting points (X +, YI), (X7, Y
7) You can also ask for help.

最終画線幅:該当する文字フォントの最終画の終端の幅
を示す、これは、2つの終点 (X3 、 Yl )、(Xs 、Y4)eflいて求
めることもできる。
Final stroke width: Indicates the width of the end of the final stroke of the corresponding character font. This can also be obtained by calculating the two end points (X3, Yl) and (Xs, Y4).

く動 作〉 次に以上のように構成した実施例の動作を第4図、第5
図を参照して説明する。
Operation> Next, the operation of the embodiment configured as above is shown in FIGS. 4 and 5.
This will be explained with reference to the figures.

:iSS図は実施例のフローチャートを示すもので、印
刷する文書の範囲その他必要な書式の設定(例えば、連
綿Hf土な文字数の設定)後、草書の連綿印刷の要求が
与えられたとき、このフローに入る。ポインタが処理の
完了を示すエンドポイントに達するまで以下の処理をく
り返し実行する(33)。
: The iSS diagram shows a flowchart of the embodiment. After setting the range of the document to be printed and other necessary formats (for example, setting the number of consecutive characters), when a request for continuous printing of cursive is given, this Get into the flow. The following process is repeatedly executed until the pointer reaches the end point indicating completion of the process (33).

前の文字と連綿しない文字の処理に入るときに連綿カウ
ンタ9をイニシャライズする(S L) 。
When processing a character that is not consecutive with the previous character, the consecutive character counter 9 is initialized (SL).

ポインタを2つ進め(S2)、文字情報をテキスト例の
草書フォントデータメモリ2と連綿テーブル3より1文
字分とり出しバッファ5の後文字格納エリアに格納する
(S4)、その文字を印字する(SS)、ポインタをひ
とつ戻す(35)、文の先頭か否かをチェックしく37
)、先頭なら最初の処理(Sl)に戻り、先頭でないな
ら以下の処理に移る。
Advance the pointer two places (S2), extract one character of character information from the cursive font data memory 2 and continuous table 3 of the text example, store it in the character storage area after the buffer 5 (S4), and print that character ( SS), move the pointer back by one (35), check whether it is the beginning of the sentence or not 37
), if it is the beginning, return to the first process (Sl), and if it is not the beginning, proceed to the following process.

ポインタの示す文字情報をバッファ7の全文字格納エリ
アにセットする(SS)、連綿カウンタ9の内容が設定
文字数を越えたか否かをチェックし、越えたときは最初
(Sl)に戻り、越えてなければ前文字の制御パラメー
タ中の連綿の可否ビットを検査する。つまり、今回の文
字を前文字に連綿できるか否かを調べる(S 10) 
、連綿不可なら最初(Sl)に戻り、連綿部なら以下の
連綿部生成、印字処理を実行する。
Set the character information indicated by the pointer to all character storage areas of the buffer 7 (SS), check whether the contents of the continuous counter 9 exceed the set number of characters, and if it exceeds the set number of characters, return to the beginning (Sl), If not, check the continuity bit in the control parameter of the previous character. In other words, check whether the current character can be connected to the previous character (S10)
If it is not continuous, the process returns to the beginning (Sl), and if it is a continuous part, the following continuous part generation and printing processes are executed.

3次スプラインのプログラムに従って、連綿領域の境界
線の描画、境界内部のペイント処理を実行する(S 1
1) 、なお、この処理については。
According to the cubic spline program, draw the boundary line of the continuous area and paint inside the boundary (S 1
1) Regarding this process.

後で第4図を参照してより詳しく説1ηする。生成した
l&iX領域を印刷しくS l 2) 、連綿カウンタ
9をインクリメントしく313)、Lかる後、S2のポ
インタ更新に戻って処理をくり返す。
This will be explained in more detail later with reference to FIG. After printing the generated l&iX area S l 2) and incrementing the continuous counter 9 (313), the process returns to S2 to update the pointer and repeats the process.

L記のフローチャートによる処理を簡単に述べると、ま
ず1文字分の情報をとり出し、それを印字し、ひとつ前
の文字の情報をとり出し、前文字と後文字とを連綿でき
るかどうかを前文字の連綿可否ビー2トを見て決め、ま
た、設定した連綿数を越えていないかどうかを連綿カウ
ンタ9と設定レジスタ7の内容を比較して決め、両条件
を満たしている場合にのみ、関連する制御パラメータを
使って連綿領域を生成し、それを印刷し1次の文字へ処
理を進める。
To briefly describe the process according to the flowchart in section L, first extract information for one character, print it, extract information for the previous character, and check whether the previous character and subsequent character can be connected consecutively. It is determined by looking at the beat 2 whether or not the character can be repeated, and it is determined by comparing the contents of the consecutiveness counter 9 and the setting register 7 whether or not the set number of consecutive characters has been exceeded.Only when both conditions are met, A continuous region is generated using relevant control parameters, printed, and processing proceeds to the first character.

連綿部の生成処理(S11,312)第4図)次に、前
文字と後文字との連綿領域の作成について第4図を参照
して説明する。
Continuous portion generation process (S11, 312, FIG. 4) Next, the creation of a continuous region between the preceding character and the following character will be described with reference to FIG.

上述したように、本実施例の場合は、第4図におけるA
点、B点、0点、D点、それに1つの補間点Iの情報が
与えられている。A点(x3゜Yl ) とB点(X4
.Yn ) は前文字t7) la k’E 画(7)
終筆のところの2つのかどの座標であり、0′S5図の
38のところで入手できている。同じくSSのところで
、補間点1の情報も入手されている。一方、0点(X+
 、 y + ) トD点(X2 、 Y2 )は後文
字の第1画の始筆のところの2つのかどの座標であり、
第5図の84のところで入手できている。A−D点及び
1点の供給源は連綿テーブル3(第1図、第3A図)で
ある。
As mentioned above, in the case of this embodiment, A in FIG.
Information about point B, point 0, point D, and one interpolation point I is given. Point A (x3゜Yl ) and point B (X4
.. Yn) is the first letter t7) la k'E picture (7)
These are the coordinates of the two corners at the end of the stroke, and can be obtained at 38 in the 0'S5 diagram. Similarly, information on interpolation point 1 is also obtained at SS. On the other hand, 0 points (X+
, y + ) Point D (X2, Y2) is the coordinate of the two corners of the first stroke of the second character,
It can be obtained at 84 in Figure 5. The supply source for points A-D and one point is the continuous table 3 (FIGS. 1 and 3A).

連綿領域の生成プロセスは大きく分けて、境界線の描画
(DRAW)と境界線で化ジノられる閉領域内のぬりつ
ぶしくPAINT)より成る。
The process of generating a continuous area can be broadly divided into drawing a boundary line (DRAW) and filling the closed area created by the boundary line with a full-color painting process.

境界線の描画プロセスとして、本例では3次スプライン
(パラメトリック3次曲線の−a)を使用する0例えば
、次のような手順で描画を行う。
In this example, the boundary line is drawn using a cubic spline (parametric cubic curve -a).For example, the following procedure is used to draw the boundary line.

まず、補間点工の左側の点E(左スプライン曲線上の中
央の制御点を規定するもの)と、補間点■の右側の点F
(右スプライン曲線上の中央の制御点を規定するもの)
をすでに与えられているA〜D点と1点の情報を使って
求める。
First, point E on the left side of the interpolation point (defines the center control point on the left spline curve), and point F on the right side of the interpolation point ■.
(defines the center control point on the right spline curve)
is calculated using the already given points A to D and information on one point.

例えばE点は次のようにして求められる。For example, point E can be found as follows.

E、= 1.− (AB+CD)/K (添字XはX座
標の値) K1ミ前文字最終画線輻= J(Ax  Bx ) 2+(Ay  By ) 2H
ミ後文字第1画線幅= には例えば4(このときはほぼ中間の太さになる)。
E, = 1. - (AB+CD)/K (subscript
For example, 4 (in this case, it will be approximately the middle thickness) for the first stroke width of the character after the mi.

EV=IV   (添字のyはX座標の値を示す)同様
にして、F点は次のようにして求められる。
EV=IV (The subscript y indicates the value of the X coordinate.) Similarly, point F is determined as follows.

FX  =1.  +  (AB+CD)/KFy=I
y 以上により、スプライン曲線の描画に必要な全ての制御
点、すなわちA、E、Cの3点と、B・F、Dの3点が
決定した。
FX=1. + (AB+CD)/KFy=I
y As described above, all the control points necessary for drawing the spline curve, that is, the three points A, E, and C, and the three points B, F, and D, were determined.

そこで、3つの制御点A、E、Cを使って、これらの点
を通る3次スプライン曲線(左境界線)を生成する。同
様に、3つの制御点B、F、Dを使ってこれらの点を通
る3次スプライン曲線(右境界線)を生成する。この生
成自体はよく知られている技術である。
Therefore, using the three control points A, E, and C, a cubic spline curve (left boundary line) passing through these points is generated. Similarly, three control points B, F, and D are used to generate a cubic spline curve (right boundary line) passing through these points. This generation itself is a well-known technique.

以上により描画プロセスが完了する。この段階で、ペイ
ント(ぬりつぶし)の閉領域の境界線がすべて与えられ
ている。すなわち、AよりE、C,D、F、B、Aに至
る閉曲線が、適当な画像バーIファ上に展開されている
。そしてこの閉曲線で囲まれる中に1点が存在する。そ
こで、この内部点工をペイント開始点としてペイントプ
ログラムを実行する。この結果、閉曲線で囲まれた領域
が全てぬりつぶされる。この領域が、前文字と後文字と
の連綿領域である。これを印刷装2110を介して印刷
することにより、前文字と後文字との連綿部が印刷され
る。
The drawing process is thus completed. At this stage, all boundaries of the closed area to be painted have been given. That is, a closed curve from A to E, C, D, F, B, and A is developed on a suitable image bar. There is one point surrounded by this closed curve. Therefore, a paint program is executed using this internal dot work as a starting point for painting. As a result, the entire area surrounded by the closed curve is filled in. This area is a continuous area between the first character and the second character. By printing this through the printing device 2110, a continuous portion of the front character and the rear character is printed.

く変形例〉 本発明は上記実施例には限定されず、種々の変形、変更
が容易に実現できる。
Modifications> The present invention is not limited to the above embodiments, and various modifications and changes can be easily realized.

例えば、上記実施例において、連綿数の設定。For example, in the above embodiment, the number of consecutive threads is set.

連綿可否、連綿数の計数を行っている理由は、主として
草書文書のよみやすさを保つためにある(すべてを連綿
させると可読性が落ちる)、シかし、フレキシビリティ
、各ユーザーの好み等を考慮して、その他の変形が容易
に考えられる。例えば、縦書だけでなく横占用もできる
ようにする。
The reasons for counting the number of consecutive lines are mainly to maintain the readability of cursive documents (readability deteriorates if all the documents are continuous), markings, flexibility, each user's preference, etc. With that in mind, other variations are easily conceivable. For example, make it possible to write horizontally as well as vertically.

このためには、横書用の連綿テーブルが必要となる(1
部の情報は縦書用の連綿テーブルと共用してもよい)。
For this purpose, a continuous table for horizontal writing is required (1
(The section information may be shared with the continuous table for vertical writing).

また1文字間のピッチに合わせて、補間点を動かしても
よい、これは例えば、基準補間点をスケール変換するこ
とにより(ピッチ係数を乗じることにより)、あるいは
複数の設定補間点のひとつを選択することにより容易に
実現できる。
It is also possible to move the interpolation point according to the pitch between characters, for example by scaling the reference interpolation point (by multiplying it by a pitch factor), or by selecting one of several set interpolation points. This can be easily achieved by doing this.

印字装ごとしては、グラフィック機能の付いたページプ
リンタ以外に、ドツトプリンタのようなものでも使用で
きる(本体側で文字間の補間イメージデータを生成し、
それをプリンタ側に転送することにより)。
As a printing device, in addition to page printers with graphic functions, you can also use something like a dot printer (the main unit generates interpolated image data between characters,
by transferring it to the printer side).

連綿の終了に関連し、i!fl綿終了文字のときは連綿
書体とは別の書体のフォントを使用してもよい。
Regarding the end of the series, i! In the case of fl cotton end characters, a font in a different typeface from the continuous typeface may be used.

連綿部の描画に関し、3次スプライン以外に任意の他の
曲線生成プログラムを使用することができる。(例えば
エルミー) ()(e rmi t e)、ヘジェ(B
ezier)、<ねりを多くしたければ、4次以上の多
項式を使ってもよい。
Regarding the drawing of the continuous section, any other curve generation program can be used in addition to the cubic spline. (e.g. Hermie) () (ermi te), Haje (B
< If you want to increase the twist, you may use a polynomial of degree 4 or higher.

また連綿領域中に「穴」領域を設け、そこのところがか
すれて印刷されるようにしてもよい、これは例えば、ペ
イントで連綿領域をつくった後、ソフトフォーカスのよ
うな「かすれ」のプログラムを実行することで行うこと
ができる(毛筆のタッチ感を出すために)。
It is also possible to create a "hole" area in the continuous area so that the printing is blurred in that area. For example, after creating a continuous area with paint, you can use a "fading" program such as soft focus. This can be done by running (to give the touch of a brush).

また、上記実施例では、補間点を2つの連続する文字の
うち前文字の方に刻り当てた座標データで構成している
が、選択した2つの文字(連続して出力されるもの)の
組合せに依存して与えるようにしてもよい、これにより
、連綿の最適化が図れる。
In addition, in the above embodiment, the interpolation point is composed of coordinate data inscribed on the previous character of two consecutive characters, but for the two selected characters (those that are output consecutively) It may be given depending on the combination, thereby optimizing the continuous flow.

また、文字端データを工夫することも考えられる。例え
ば、連綿させるときに、連綿用の文字端データと連綿用
のイメージデータ(フォント)を使い、イメージデータ
を文字フォントの端につなぎ(整合がとれるパターンに
しておく)、この文字端データを使って描画、ペイント
をかける。この方式は特に、漢字類の連綿に適すると思
われる。
It is also conceivable to improve the character edge data. For example, when making a string, use character edge data for the string and image data (font) for the string, connect the image data to the edge of the character font (make it a consistent pattern), and use this character edge data. Draw and paint. This method seems to be particularly suitable for continuous kanji characters.

[発明の効果] 以上詳述したように、本発明によれば任意の文字と文字
とを所望に連綿させて作成することができ、連綿させる
ことのできる文字列に全熱制限がなく、非常に有用であ
る。
[Effects of the Invention] As described in detail above, according to the present invention, arbitrary characters can be created by connecting them as desired, there is no total heat limit on the string of characters that can be connected, and there is no limit on the total heat. It is useful for

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

第1図は本発明の機ス七ブロック図、第2図は一実施例
の構成図、第3A図は第2図の連綿テーブルの4X11
戊例を示す図、第3B図は連綿テーブル内の連綿制御パ
ラメータの説11図、7FIJA図は連綿部生成の説明
図、第5図は実施例の連綿文字作成のフローチャートで
ある。 2・・・・・・草書フォントデータメモリ、3・・・・
・・連綿テーブル、4・・・・・・印字制御部、6・・
・・・・連綿字形作成部、8・・・・・・3次スプライ
ン計算部。 特許出願人  カシオ計算機株式会社 代理人 弁理士  町 1)俊 正 三−゛−1: CD 第1図 第4図 第2図
Figure 1 is a block diagram of the machine of the present invention, Figure 2 is a configuration diagram of an embodiment, and Figure 3A is a 4X11 block diagram of the continuous table in Figure 2.
FIG. 3B is a diagram illustrating an example of the continuous text control parameters in the continuous text table, FIG. 2... Cursive font data memory, 3...
...Continuous cotton table, 4...Print control unit, 6...
... Continuous glyph creation section, 8... Cubic spline calculation section. Patent Applicant Casio Computer Co., Ltd. Agent Patent Attorney Machi 1) Shozo Toshi-1: CD Figure 1 Figure 4 Figure 2

Claims (11)

【特許請求の範囲】[Claims] (1)文字のフォントデータを発生するフォントデータ
発生手段と、 文字間の連綿に関する制御パラメータを発生する制御パ
ラメータ発生手段と、 上記フォントデータ発生手段より文字のフォントデータ
をアクセスするアクセス手段と、 上記アクセス手段によりアクセスされた2つの文字フォ
ント間の連綿領域を関連する制御パラメータを使用して
生成する連綿領域生成手段と、を有することを特徴とす
る連綿文字作成装置。
(1) Font data generation means for generating character font data; control parameter generation means for generating control parameters regarding continuity between characters; access means for accessing character font data from the font data generation means; 1. A continuous character creation device comprising: continuous region generation means for generating a continuous region between two character fonts accessed by the access means using related control parameters.
(2)特許請求の範囲第1項記載の連綿文字作成装置に
おいて、上記制御パラメータには文字間の連綿の可否に
関する情報が含まれ、上記連綿領域生成手段は、関連す
る制御パラメータ中に連綿不可の情報が含まれる場合、
アクセスされた2つの文字フォント間の連綿領域を生成
しないことを特徴とする連綿文字作成装置。
(2) In the continuous character creation device according to claim 1, the control parameter includes information regarding whether or not characters can be continuous, and the continuous area generating means includes the related control parameter that indicates that continuous characters cannot be continuous. If it contains information on
A continuous character creation device characterized by not generating a continuous area between two accessed character fonts.
(3)特許請求の範囲第1項記載の連綿文字作成装置に
おいて、上記制御パラメータには、文字間の連綿領域内
に位置する制御座標データが含まれることを特徴とする
連綿文字作成装置。
(3) The continuous character creating device according to claim 1, wherein the control parameters include control coordinate data located within a continuous region between characters.
(4)特許請求の範囲第1項記載の連綿文字作成装置に
おいて、上記制御パラメータには最大の連綿可能な文字
数の情報が含まれ、上記連綿領域生成手段は、生成した
連綿領域の数を計数する連綿数計数手段を含んでいてそ
の計数値が最大の連綿可能な文字数に達した場合に次の
文字との連綿領域の生成を禁止することを特徴とする連
綿文字作成装置。
(4) In the continuous character creation device according to claim 1, the control parameter includes information on the maximum number of characters that can be continuous, and the continuous area generation means counts the number of generated continuous areas. What is claimed is: 1. A continuous character creation device comprising a continuous character counting means for counting the number of consecutive characters, and inhibiting generation of a continuous area with the next character when the counted value reaches the maximum number of characters that can be continuous.
(5)特許請求の範囲第1項記載の連綿文字作成装置に
おいて、上記制御パラメータは、文字フォントの端部の
うち、連綿領域につながれる端部の文字端データを含む
ことを特徴とする連綿文字作成装置。
(5) In the continuous character creation device according to claim 1, the control parameter includes character end data of an end connected to a continuous area among the ends of the character font. Character creation device.
(6)特許請求の範囲第5項記載の連綿文字作成装置に
おいて、上記文字端データは文字端部の幅と座標に関す
る情報で構成されることを特徴とする連綿文字作成装置
(6) The continuous character creating device according to claim 5, wherein the character end data is comprised of information regarding the width and coordinates of the character end.
(7)特許請求の範囲第2項記載の連綿文字作成装置に
おいて、上記の文字間の連綿の可否に関する情報は、可
変にプログラマブルであることを特徴とする連綿文字作
成装置。
(7) The continuous character creation device according to claim 2, wherein the information regarding whether or not the characters can be continuous is variably programmable.
(8)特許請求の範囲第3項記載の連綿文字作成装置に
おいて、上記制御座標データは可変にプログラマブルで
あることを特徴とする連綿文字作成装置。
(8) A continuous character creating device according to claim 3, wherein the control coordinate data is variably programmable.
(9)特許請求の範囲第4項記載の連綿文字作成装置に
おいて、上記の最大の連綿可能な文字数は可変にプログ
ラマブルであることを特徴とする連綿文字作成装置。
(9) The continuous character creating device according to claim 4, wherein the maximum number of characters that can be continuous is variably programmable.
(10)特許請求の範囲第1項から第9項のいずれかに
記載の連綿文字作成装置において、文字は毛筆書体の日
本語文字であることを特徴とする連綿文字作成装置。
(10) A continuous character creating device according to any one of claims 1 to 9, wherein the characters are Japanese characters in a calligraphy font.
(11)特許請求の範囲第1項から第10項のいずれか
に記載の連綿文字作成装置において、上記制御パラメー
タは文字ごとに割り当てられることを特徴とする連綿文
字作成装置。
(11) A continuous character creating device according to any one of claims 1 to 10, wherein the control parameter is assigned to each character.
JP61126011A 1986-05-31 1986-05-31 Brush character output device Expired - Lifetime JP2569489B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61126011A JP2569489B2 (en) 1986-05-31 1986-05-31 Brush character output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61126011A JP2569489B2 (en) 1986-05-31 1986-05-31 Brush character output device

Publications (2)

Publication Number Publication Date
JPS62282381A true JPS62282381A (en) 1987-12-08
JP2569489B2 JP2569489B2 (en) 1997-01-08

Family

ID=14924518

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61126011A Expired - Lifetime JP2569489B2 (en) 1986-05-31 1986-05-31 Brush character output device

Country Status (1)

Country Link
JP (1) JP2569489B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0409450A2 (en) * 1989-07-05 1991-01-23 Canon Kabushiki Kaisha Character generator
US5687386A (en) * 1994-02-18 1997-11-11 Casio Computer Co., Ltd. Character input apparatus

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58155490A (en) * 1982-03-12 1983-09-16 Nec Corp Synthesizing system of character pattern
JPS59231583A (en) * 1983-06-14 1984-12-26 キヤノン株式会社 Electronic appliance
JPS59231584A (en) * 1983-06-14 1984-12-26 キヤノン株式会社 Electronic appliance
JPS59231586A (en) * 1983-06-14 1984-12-26 キヤノン株式会社 Electronic appliance
JPS59231585A (en) * 1983-06-14 1984-12-26 キヤノン株式会社 Electronic appliance
JPS6034834A (en) * 1983-08-05 1985-02-22 Sekisui Seikei Kogyo Kk Preparation of polypropylene-laminate decorative sheet
JPS6055384A (en) * 1983-09-06 1985-03-30 富士通株式会社 Character body managing system
JPS60115986A (en) * 1983-10-21 1985-06-22 ジ−メンス・アクチエンゲゼルシヤフト Method and apparatus for showing character on dispaly
JPS61194487A (en) * 1985-02-22 1986-08-28 松下電器産業株式会社 Character pattern generator

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58155490A (en) * 1982-03-12 1983-09-16 Nec Corp Synthesizing system of character pattern
JPS59231583A (en) * 1983-06-14 1984-12-26 キヤノン株式会社 Electronic appliance
JPS59231584A (en) * 1983-06-14 1984-12-26 キヤノン株式会社 Electronic appliance
JPS59231586A (en) * 1983-06-14 1984-12-26 キヤノン株式会社 Electronic appliance
JPS59231585A (en) * 1983-06-14 1984-12-26 キヤノン株式会社 Electronic appliance
JPS6034834A (en) * 1983-08-05 1985-02-22 Sekisui Seikei Kogyo Kk Preparation of polypropylene-laminate decorative sheet
JPS6055384A (en) * 1983-09-06 1985-03-30 富士通株式会社 Character body managing system
JPS60115986A (en) * 1983-10-21 1985-06-22 ジ−メンス・アクチエンゲゼルシヤフト Method and apparatus for showing character on dispaly
JPS61194487A (en) * 1985-02-22 1986-08-28 松下電器産業株式会社 Character pattern generator

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0409450A2 (en) * 1989-07-05 1991-01-23 Canon Kabushiki Kaisha Character generator
JPH0337697A (en) * 1989-07-05 1991-02-19 Canon Inc Character generator
US5481277A (en) * 1989-07-05 1996-01-02 Canon Kabushiki Kaisha Character generator
US5687386A (en) * 1994-02-18 1997-11-11 Casio Computer Co., Ltd. Character input apparatus

Also Published As

Publication number Publication date
JP2569489B2 (en) 1997-01-08

Similar Documents

Publication Publication Date Title
JPWO2008015825A1 (en) Written font data and character output system
JPH0396996A (en) Character output device
JPS62282381A (en) Continuous character forming device
JP4719920B2 (en) Barcode creation method and barcode word processor
JPS59210482A (en) Character pattern generator
JPH03156668A (en) Document preparing device
JP2000207393A (en) Character arrangement outputting device
JP2980732B2 (en) How to generate outline fonts
JP2569489C (en)
JP2965429B2 (en) Character output device
JP2525333B2 (en) Output device
JPH01272460A (en) Method and apparatus for generating character
JP2951809B2 (en) Handwritten font printing method
JP3109727B2 (en) Character processing method and character processing device
JP4463487B2 (en) Display device, display method, and printing device
JP2800865B2 (en) Character processor
JPS59180620A (en) Document formation device
JPH06100905B2 (en) Pattern output method
JPH0687249A (en) Apparatus for printing address
JP2647510B2 (en) Character processing apparatus and method
JPH08101675A (en) Font developing device
Gossling Beyond Hershey: A Representation of Fonts for Computer Graphics
JPS6132676B2 (en)
JPH0815794B2 (en) Character processor
JP3369419B2 (en) Character output expansion method and apparatus