JP2007322550A - Character display device, character display method, and computer program for character display - Google Patents
Character display device, character display method, and computer program for character display Download PDFInfo
- Publication number
- JP2007322550A JP2007322550A JP2006150585A JP2006150585A JP2007322550A JP 2007322550 A JP2007322550 A JP 2007322550A JP 2006150585 A JP2006150585 A JP 2006150585A JP 2006150585 A JP2006150585 A JP 2006150585A JP 2007322550 A JP2007322550 A JP 2007322550A
- Authority
- JP
- Japan
- Prior art keywords
- character
- line
- information
- point
- connecting 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.)
- Pending
Links
Images
Landscapes
- Document Processing Apparatus (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
本発明は、文字表示装置、文字表示方法及び文字表示のためのコンピュータプログラムに関し、特に文字を毛筆書体のような続き文字を表示するものに関する。 The present invention relates to a character display device, a character display method, and a computer program for character display, and more particularly, to a character display for displaying a continuous character such as a cursive script.
従来、表示文字について種々の処理をする装置としては、文字を構成する各エレメントを筆順に記憶し、所定の指示があると、この文字を構成する各エレメントを、筆順に表示させていくものがあった。 Conventionally, as a device that performs various processing on display characters, each element that constitutes a character is stored in a stroke order, and when there is a predetermined instruction, each element that constitutes the character is displayed in a stroke order. there were.
また、上記各エレメントにつき、その始点、途中点、終点を記憶し、所定の指示があると、この文字を構成する各エレメントを、運筆順に表示させていくものもあった。 In addition, for each of the above elements, the start point, the midpoint, and the end point are stored, and when there is a predetermined instruction, the elements constituting the character are displayed in the order of stroke.
しかしながら、このような従来の文字表示装置では、表示される各文字はそれぞれ独立して表示処理されていた。これでは、各文字のつながりをつかむことはできず、古来の書道の重要な要素である、ある文字から次の文字への「流れ」がわからなかった。本発明の目的は、表示される文字同士を繋いで、一連に繋がった毛筆書道習字の文字のような雰囲気を出すことである。 However, in such a conventional character display device, each displayed character is displayed independently. This made it impossible to grasp the connection between each character, and did not understand the “flow” from one character to the next, which is an important element of ancient calligraphy. An object of the present invention is to connect displayed characters to create an atmosphere like a brush calligraphy penmanship character connected in series.
上記目的を達成するため、本発明は、複数の文字を描くための文字情報を各文字ごとに対応させて記憶する手段と、 これら複数の文字の1つと他の1つとを繋ぐ連結線を描くための連結線情報を記憶する手段とにつき、 上記文字情報と連結線情報とは、各文字または各連結線の2つが連結される点における端点情報と、この端点における当該文字または連結線の2つに接する1つの接線の延長上に位置し、同文字または連結線の湾曲の大きさを決定する方向点情報とからなり、この端点において文字または連結線の2つはともに上記1つの接線の方向に沿って反対方向に延出されるものであり、上記方向点が上記端点から離れるほど上記湾曲は大きくなるものであり、 所定の指示によって、上記文字情報を読み出して、複数の文字を表示させ、 別の所定の指示によって、上記連結線情報を読み出して、上記表示された複数の文字を繋ぐ連結線を表示させるようにした。
In order to achieve the above object, the present invention draws a means for storing character information for drawing a plurality of characters in association with each character, and a connecting line connecting one of the plurality of characters and the other. The character information and the connecting line information include the end point information at the point where each character or two of the connecting lines are connected, and the character or connecting
これにより、表示される文字同士を繋いで、一連に繋がった毛筆書道習字の文字のような雰囲気を出すことができる。そして各文字同士のつながりを示すことができ、ある文字から次の文字への「書の流れ」をつかむことができる。なお、文字はエレメント21とエレメント連結線22からなり、連結線は文字連結線23とエレメント連結線22とを含む。
Thereby, the character displayed can be connected and the atmosphere like the character of the brush calligraphy penmanship connected in series can be taken out. The connection between each character can be shown, and the “flow of writing” from one character to the next can be grasped. The character is composed of an
また、文字(エレメント21、エレメント連結線22)と連結線(文字連結線23)とは、各端点において1つの接線に沿って反対方向に延出されるので滑らかに繋がる。そして、各端点が滑らかに繋がりながら、方向点を変えて湾曲の大きさを変えることができる。しかも、この方向点を変えて湾曲の大きさを変えても、各端点の繋がりの滑らかさは維持される。
In addition, the characters (
さらに、連結線(文字連結線23、エレメント連結線22)またはエレメント21のそれぞれの湾曲状態がどのように変化しても、方向点情報を変更数Rだけで済み、連結線(文字連結線23、エレメント連結線22)及びエレメント21に対する各端点情報の割り振りを変更しなくても済み、湾曲状態の変更に対して容易に対応できる。
Furthermore, no matter how the connecting line (
(1)文字表示装置の全体回路
図1は文字表示装置、文字表示方法及び文字表示のためのコンピュータプログラムが記憶実行される全体回路を示す。この全体回路は、コントローラ(中央処理演算装置であるCPU、ROM、RAMなど)14を中心に、アドレス信号及びデータ信号が双方向に伝達されるアドレス/データバスライン10を介してインターフェース部11、入力部12、出力部13等と電気的に接続されて構成されている。
(1) Entire Circuit of Character Display Device FIG. 1 shows an entire circuit in which a character display device, a character display method, and a computer program for character display are stored and executed. This entire circuit is centered on a controller (CPU, ROM, RAM, etc., which is a central processing unit) 14, an
入力部12は、音声認識装置又はキーボート等の入力装置と、マウス、デジタイザ、タッチパネルなどのポインティングデバイス、画像認識装置、電話の操作ボタンの認識装置等とから構成されており、文字表示装置(全体回路)への処理命令の入力に活用され、文字を表示させたりまたは消去させたり、各文字を繋ぐ連結線を表示させたりまたは消去させたりする指示の入力に利用される。
The
出力部13は、ディスプレイ、プリンタ、または可聴音を発する音声合成部(音声処理ボード、サウンドカード)、電話回線モデムなどから構成されており、文字情報、エレメント情報、エレメント連結線情報、文字連結線情報などが表示画面に表示/印刷され、各種音声情報の発音などの出力処理が行われる。
The
インターフェース部11を通じて外部装置18との間で、上記種々の情報、データ、プログラムが送受信される。画像入力装置15は、デジタルカメラ、イメージスキャナ、原稿透過ユニットを持つスキャナ等の画像をラスタースキャンして画像データとして取り込む装置と、そのインターフェースから構成されており、毛筆書体の書道文字の習字の画像データ/情報の取り込・認識等が実行される。取込まれた写真等のデータは、アドレス/データバスライン10を介して情報記憶部3(外部記憶補助手段)内に保存/蓄積される。
The various information, data, and programs are transmitted / received to / from the
なお、入力部12内の画像入力装置には、場合によって、ファックス装置、コピー装置、原稿透過ユニットを持つスキャナなどが代用される。つまり、写真などの紙面またはフィルム上に記された情報に光を当てたり透過させたり、その反射光または透過光を2値以上のデジタル電気信号に変換する光電変換素子が具備され、その写真紙面上の情報をラスタ画像データとして取り込むことができる装置ならば如何なるものでも用いられる。
In some cases, a fax machine, a copying machine, a scanner having a document transmission unit, or the like is used as the image input device in the
タイミング発生部19からは、本文字表示装置全体(全体回路)の同期を取るためのタイミングコントロール信号が各回路(プログラム/データ記憶部16、入力部12、出力部13等)に出力される。このタイミングコントロール信号は、基本周期のクロック信号のほか、このクロック信号を分周又は倍加した信号等が含まれる。
From the
プログラム/データ記憶部16(内部記憶媒体/手段)はフラッシュメモリ、EEPROM、EPROM、CD−ROMなどROM等の不揮発性メモリと、RAM、キャッシュメモリ、場合によってはハードディスク、磁気カード、磁気ディスク、CD−RAM、DVD(デジタルビデオディスク)等が用いられた一時記憶メモリという大別して2種類の記憶装置(記憶手段)から構成されている。 The program / data storage unit 16 (internal storage medium / means) includes a nonvolatile memory such as a flash memory, an EEPROM, an EPROM, and a CD-ROM, and a RAM, a cache memory, and in some cases a hard disk, a magnetic card, a magnetic disk, a CD -It is roughly composed of two types of storage devices (storage means) called temporary storage memory using RAM, DVD (digital video disk) or the like.
そして、プログラム/データ記憶部16のROMには本文字表示装置(全体回路)で実行されるプログラムや各種処理に使用される汎用データが記憶される。このプログラムは後述するフローチャートに対応している。また、プログラム/データ記憶部16の一時記憶メモリには、プログラム処理中のデータの一時的な蓄積等、つまりワーキングメモリ若しくはキャッシュメモリとして用いられる。
A program executed by the character display device (entire circuit) and general-purpose data used for various processes are stored in the ROM of the program /
また、情報記憶部17(外部記憶補助媒体/手段、補助記憶媒体)は、磁気ディスク、光ディスク、フレキシブルディスク(プロッピィーディスク)、磁気ドラム、磁気テープ、メモリカード、CD−RAM、CD−ROM、DVDなどの大量情報記憶/保存メディアとそれらのメディアへの情報書き込み/読み出し装置等(ドライブ装置、インターフェイス回路)から構成されている。 The information storage unit 17 (external storage auxiliary medium / means, auxiliary storage medium) includes a magnetic disk, an optical disk, a flexible disk (propy disk), a magnetic drum, a magnetic tape, a memory card, a CD-RAM, a CD-ROM, It is composed of a mass information storage / storage medium such as a DVD and an information writing / reading device (drive device, interface circuit) to these media.
なお、場合によって、本文字表示装置(全体回路)は、情報記憶部17のROM内に予め記憶されたプログラムによって単一の処理が行われる専用装置とされ、情報記憶部17に保存されたプログラムが、適宜、プログラム/データ記憶部16のRAM内に呼び込まれて(起動)される汎用のコンピュータ装置とされる。この場合は、情報記憶部17には、コントローラ14によって実行される基本ソフト(オペレーティングソフト)、システムソフト、応用プログラムを含む各プログラムが保存されている。
In some cases, the character display device (overall circuit) is a dedicated device that performs a single process using a program stored in advance in the ROM of the
そして、本文字表示装置(全体回路)の電源立ち上げ時又は、新たなプログラムの起動時等において、情報記憶部17から読み出され、プログラム/データ記憶部16のRAM等に一時的に保存されると共に、コントローラ14によって実行される。つまり、本文字表示装置(全体回路)によって実行されるプログラムが、情報記憶部17に保存されており、適宜読み出されてコントローラ14によって実行される。
The character display device (entire circuit) is read from the
この場合、新たなプログラムへの変更は、情報記憶部17内に保存されているプログラム自体が置き換えられるか、若しくはプログラムの保存されているCD−ROM、磁気ディスク、フレキシブル磁気ディスク等が交換される(インストール/転送される)ことで行われる。
In this case, when changing to a new program, the program stored in the
また、プログラム/データ記憶部16のEPROMに保存されたプログラムを専用に実行するコンピュータ装置の場合には、同じように、CD−ROM、磁気ディスク、フレキシブル磁気ディスク等が交換される(インストール/転送される)ことに呼応してEPROM等の書き換えが行われるか、又はROM自体の交換によって達成される。
Further, in the case of a computer device that exclusively executes a program stored in the EPROM of the program /
なお、このプログラムの新規置き換えは、場合によって、インターネット通信回線、公衆回線若しくはLANを介して接続されている他のコンピュータなどの外部装置18から送られてくる。つまり、コンピュータ装置(全体回路)で実行されるプログラムが、情報記憶部17に対して直接的に交換されたり、インターネットなどの通信網を介して外部装置18から送られてきたもので交換されたりする。
The new replacement of the program is sent from an
したがって、場合によって、本文字表示装置(全体回路)において実行されるプログラムが、起動の度毎に、外部装置18から送られてくる。つまり、文字表示装置(全体回路)の情報記憶部17に応用プログラムが保存されておらず、外部装置18から送られてくるプログラムを実行する端末装置の役目のみが、本発明の文字表示装置(全体回路)に与えられる。さらには、外部装置18からプログラムとそのプログラムによって処理されるデータが共に送られてきて、そのプログラムによってデータ処理がなされた後、その結果が外部装置18に送り返される。
Therefore, in some cases, a program executed in the present character display device (overall circuit) is sent from the
また、コンピュータ装置で実行されるプログラムは、場合によって、OSなどの基本プログラムを基に、応用プログラムが実行されるような、一般的なコンピュータシステムによるプログラムであり、OSを含む統一化された一つのプログラムのみが実行される専用のコンピュータシステムである。よって、それらの統一化されたプログラムが外部装置18から与えられるし、応用プログラム又は基本プログラム又はプログラムの一部のみが外部装置18から送られてきて実行される。
The program executed by the computer device is a program by a general computer system in which an application program is executed based on a basic program such as an OS in some cases, and is a unified program including the OS. A dedicated computer system in which only one program is executed. Therefore, those unified programs are given from the
なお、場合によって、本コンピュータ装置に予め別のオペレーティングシステム、システムプログラム(OS)、その他のプログラムが記憶され、上記プログラムはこれらのOS、その他のプログラムとともに実行される。このプログラムは本装置(コンピュータ本体)にインストールされ実行されるときに、別のプログラムとともにまたは単独で請求項(特許請求の範囲)または末尾の他の発明の効果の各請求項に記載された処理・機能を実行させる。 In some cases, another operating system, a system program (OS), and other programs are stored in advance in the computer apparatus, and the program is executed together with these OS and other programs. When this program is installed in the apparatus (computer main body) and executed, the processing described in each claim of the claims (claims) or other invention effects at the end is performed together with another program or alone.・ Execute the function.
また、場合によって、このプログラムの一部又は全部が本装置以外の1つ以上の別装置に記憶されて実行され、本装置と別装置との間には通信手段を介して、これから処理するデータ/既に処理されたデータ/プログラムが送受され、本装置及び別装置全体として、本発明が実行される。これらの通信手段はインターネット通信システムなどである。 In some cases, a part or all of this program is stored and executed in one or more other devices other than the present device, and data to be processed between the present device and another device via communication means. / Already processed data / programs are transmitted and received, and the present invention is executed as the entire apparatus and another apparatus. These communication means are Internet communication systems.
(2)文字情報(エレメント情報及びエレメント連結線情報)
図2は、上記プログラム/データ記憶部16または情報記憶部17に記憶される文字情報及びエレメント連結線情報を示す。図2の例は「ふ」のひらがな文字を示す。文字情報は各文字を構成する1つまたは複数のエレメント情報及びエレメント連結線情報からなっている。
(2) Character information (element information and element connection line information)
FIG. 2 shows character information and element connection line information stored in the program /
エレメント21は、各文字を構成する一辺一辺(一筆一筆/一画一画)の線(曲線)を示し、エレメント連結線22は、これらのエレメントを連結する線(曲線)を示し、連結線は各文字を繋ぐ線(曲線)であって、先の文字の終端/終点/末尾/連結点/接点から後の文字の始端/始点/先頭/連結点/接点を繋ぐ。
The
各エレメント情報及び各エレメント連結線情報は、後述するベジェ(Bezier)曲線の2つのアンカーポイント(端点・連結点・接点)31、2つのコントロールポイント(方向点)32からなっている。アンカーポイント(端点・連結点・接点)31は、各エレメント及び各エレメント連結線の始点/先頭地点の座標データであり、コントロールポイント(方向点)32は、各エレメント及び各エレメント連結線のアンカーポイント(端点・連結点・接点)31における端部の方向と、線の湾曲の大きさを示す。 Each element information and each element connection line information includes two anchor points (end points, connection points, contact points) 31 and two control points (direction points) 32 of a Bezier curve described later. The anchor point (end point / connection point / contact point) 31 is coordinate data of the start point / start point of each element and each element connection line, and the control point (direction point) 32 is the anchor point of each element and each element connection line. The direction of the end at (end point / connection point / contact point) 31 and the magnitude of the curve of the line are shown.
上記アンカーポイント(端点・連結点・接点)31とコントロールポイント(方向点)32とを結ぶ線がコントロールハンドル(接線)となり、各エレメント及び各エレメント連結線の端部/連結点/接点の傾斜/傾きを表す。この傾きは、2つの座標地点を結ぶ直線で示される。 The line connecting the anchor point (end point / connection point / contact point) 31 and the control point (direction point) 32 becomes a control handle (tangent line), and each element and the end of each element connection line / connection point / inclination of the contact / Represents the slope. This inclination is indicated by a straight line connecting two coordinate points.
各エレメント21及び各エレメント連結線22は、2つのアンカーポイント(端点・連結点・接点)31、2つのコントロールポイント(方向点)32から描画処理されるが、各エレメント及び各エレメント連結線は互いに繋がっているので、繋がっている末尾の終点のアンカーポイント(端点・連結点・接点)31と、次の始点のアンカーポイント(端点・連結点・接点)32とは重なって共用される。
Each
また、繋がっている末尾の終点のコントロールポイント(方向点)32と、次の始点のコントロールポイント(方向点)32とは、アンカーポイント(端点・連結点・接点)を挟んで反対方向にあり、しかも末尾の終点のコントロールポイント(方向点)32と次の始点のコントロールポイント(方向点)32とを繋ぐ直線はアンカーポイント(端点・連結点・接点)31を通過する。 In addition, the end control point (direction point) 32 connected to the end and the control point (direction point) 32 of the next start point are in opposite directions across the anchor point (end point / connection point / contact point). In addition, a straight line connecting the last control point (direction point) 32 of the end point and the next control point (direction point) 32 of the start point passes through the anchor point (end point / connection point / contact point) 31.
したがって、各エレメント21及び各エレメント連結線22の末尾の終点の方向とこれに繋がっている次の始点の方向とは一致することとなり、各エレメント21及び各エレメント連結線22との滑らかな繋がりを実現できる。これは各エレメント21及び各エレメント連結線22と文字連結線との連結点/繋がり点においても同様である。
Accordingly, the direction of the end point at the end of each
なお、「ふ」の左の一辺一点のエレメント21から右の一辺一点へ向かうエレメント連結線22の連結点/繋がり点では、上述のような方向の一致はない。このようなことも場合によっては可能である。
Note that there is no coincidence of the directions as described above at the connection point / connection point of the
「ふ」の4つのエレメント21の間には、エレメント連結線22が存在している。このエレメント連結線情報も、上記アンカーポイント31、コントロールポイント32(コントロールハンドル(接線))からなっている。
An
このような「ふ」と別の文字の2つの文字の間には、文字連結線情報が作成される。この文字連結線情報も、上記アンカーポイント31、コントロールポイント32(コントロールハンドル(接線))からなっている。これら文字連結線情報及び上記エレメント連結線情報は上記連結線情報を構成する。
Character linking line information is created between two characters, such as “fu” and another character. This character connecting line information also includes the
各文字の各エレメント21、各エレメント連結線22、各文字連結線23は、それぞれのコントロールポイントに応じた湾曲度で、それぞれのアンカーポイント31が繋がるように一本の線に連結される。したがって、毛筆書道習字のような各文字に「繋がり」が生じ生きた一筆書きのような文字を描くことができる。
Each
上記各エレメント21、各エレメント連結線22、各文字連結線23の各連結点では、連結される両線のコントロールハンドル(接線)は共通で同じとなるため、各連結点では、折れ曲がることがなく、滑らかに湾曲カーブして繋がっていく。したがって、毛筆書道習字のような各文字に「繋がり」が生じ、生きた文字を描くことができる。
Since the control handles (tangent lines) of the two lines to be connected are the same at the connecting points of the
以上のような各エレメント情報及びエレメント連結線情報1つ1つは、運筆順にプログラム/データ記憶部16に書く文字ごとに分けて記憶されている。そして、このような文字情報が、ひらがな、カタカナ、漢字、アルファベット、記号のそれぞれについて全文字分がプログラム/データ記憶部16に記憶される。記号には図形に近いものも含まれる。各文字の各エレメント21をつなぐエレメント連結線情報についても各文字の各エレメント情報とともに記憶される。
Each element information and element connection line information as described above is stored separately for each character written in the program /
このように記憶される文字情報のアンカーポイント31、コントロールポイント32の各座標値は、標準の文字の大きさ(所定ポイント)について決められており、文字の大きさ(ポイント数)が変えられると、これに応じて各座標値も比例換算で変えられる。
The coordinate values of the
各エレメント21、各エレメント連結線22、各文字連結線23は、次術するベジェ(Bezier)曲線のほか、スプライン曲線、その他の演算曲線によって決定され形成されてもよい。このベジェ曲線は、2つの点を結ぶ曲線を、この2点における傾斜角度と、湾曲の大きさとで決定される。
Each
(3)文字連結線情報
図3は文字連結線情報を示す。各文字のそれぞれの表示位置が個別に変更され、各文字の間隔、離間方向、離間向きが変化すると、これに応じて、この文字連結線情報の長さ、太さ、傾き、湾曲度、湾曲方向が変更される。
(3) Character connecting line information FIG. 3 shows character connecting line information. When the display position of each character is individually changed and the spacing, separation direction, and separation direction of each character change, the length, thickness, inclination, curvature, and curvature of this character connection line information are changed accordingly. The direction is changed.
これに対して、各文字のエレメント情報及び各エレメント連結線情報は、当該文字の大きさの変化に応じて相似形に変化するだけである。むろん当該文字の大きさの変化に応じて、エレメント情報及び各エレメント連結線情報の太さ、傾き、湾曲度、湾曲方向が変更されてもよい。 On the other hand, the element information of each character and each element connection line information only change in a similar shape according to the change in the size of the character. Of course, the thickness, inclination, curvature, and bending direction of the element information and each element connection line information may be changed according to the change in the size of the character.
この文字連結線23のほか、上記各文字の各エレメント21及び各エレメント連結線22は、以下のようにして決定され描く処理が実行される。2つのアンカーポイント(端点・連結点・接点)P1(x1、y1)、P4(x4、y4)と2つのコントロールポイント(方向点)P2(x2、y2)、P3(x3、y3)に基づき、これら4つの点の中に入る連結線が描かれる。
In addition to the
この場合、アンカーポイントP1は先の文字の終点と一致し、アンカーポイントP4は後の文字の始点と一致し、方向線P1−P2は先の文字の終端の方向と一致し、方向線P4−P3は後の文字の始端の方向と一致する。 In this case, the anchor point P1 coincides with the end point of the previous character, the anchor point P4 coincides with the start point of the subsequent character, the direction line P1-P2 coincides with the direction of the end of the previous character, and the direction line P4- P3 coincides with the direction of the beginning of the subsequent character.
文字連結線23のアンカーポイントP1は、先の文字の終点であるアンカーポイント31がそのまま利用され、アンカーポイントP4は、後の文字の始点であるアンカーポイント31がそのまま利用される。
The anchor point P1 of the
また、文字連結線23のコントロールポイントP2(座標)は、先の文字の終点におけるコントロールポイント(方向点)を同終点におけるアンカーポイント(端点・連結点・接点)31を点対称とした点(座標)とされ、文字連結線のコントロールポイントP3(座標)は、後の文字の始点におけるコントロールポイント32を同始点におけるアンカーポイント31を点対称とした点(座標)とされる。この場合、この各点対象で求められたコントロールポイント(方向点・連結点・接点)32をアンカーポイント(端点・連結点・接点)31からさらに延長した地点または近づけた地点に移動・修正してもよい。
Further, the control point P2 (coordinates) of the
この連結線の両端は、方向線P1−P2と、方向線P4−P3に接する。そして、3つの各直線P1−P2、P2−P3、P3−P4を2分割して各分割点を結び、この結んだ線とP1−P2、P2−P3の残りの分割線とをさらに2分割して各分割点を結ぶ。このような2分割と結ぶことを繰り返すと、図3のような連結線を描くことができる。 Both ends of the connecting line are in contact with the direction line P1-P2 and the direction line P4-P3. Then, each of the three straight lines P1-P2, P2-P3, P3-P4 is divided into two to connect the dividing points, and the connected line and the remaining dividing lines of P1-P2, P2-P3 are further divided into two. And connect the dividing points. If the connection with such two divisions is repeated, a connecting line as shown in FIG. 3 can be drawn.
このような連結線は上記座標値を使って以下の演算式で描画処理され、上記ディスプレイ、プリンタなどの出力部13に出力される。上記各文字の各エレメント21、エレメント連結線22、文字連結線23も同様に、上記座標値を使って以下の演算式で描画処理され、上記ディスプレイ、プリンタなどの出力部13に出力される。
Such a connecting line is drawn by the following arithmetic expression using the coordinate values, and is output to the
X=(1−t)3x1+3(1−t)2x2+3(1−t)2x3+t3x4
Y=(1−t)3y1+3(1−t)2ty2+3(1−t)t2y3+t3y4
0≦t≦1
ここでt=0のときX=x1、Y=y1となり、t=1のときX=x4、Y=y4となる。
X = (1-t) 3 x 1 +3 (1-t) 2 x 2 +3 (1-t) 2 x 3 + t 3 x 4
Y = (1-t) 3 y 1 +3 (1-t) 2 ty 2 +3 (1-t) t 2 y 3 + t 3 y 4
0 ≦ t ≦ 1
Here, when t = 0, X = x 1 and Y = y 1 , and when t = 1, X = x 4 and Y = y 4 .
上記演算式は基本的なものであり、文字(エレメント21、エレメント連結線22)と連結線(文字連結線23)とを描くことができれば、多少の変更は可能である。例えば、上記演算式の全体または各項に種々の定数・数値を乗除加減など演算付加したり、上記各項の(1−t)またはtを累乗するための指数の「3」「2」「1」の値も、「6」「4」「2」、「9」「6」「3」、「4.5」「3」「1.5」…のように変更可能したりできる。ただし、これら指数値の「3」「2」「1」の大きさの順番は変更されない。しかし、変更しても良い。
The above arithmetic expression is basic, and if the characters (
図4は文字連結線23の長さ、向き(傾斜)、湾曲度、湾曲方向を変更する例を示す。文字連結線23の長さを変えるには、アンカーポイント(端点・連結点・接点)P1、P4の間隔/長さを変える。これに応じて文字連結線23の湾曲度は小さくなって、文字連結線23は平坦になる。この変更処理は、文字連結線23で繋がれる2つの文字の間隔を拡げた場合に実行される。
FIG. 4 shows an example in which the length, direction (inclination), curvature, and bending direction of the
この場合、アンカーポイント(端点・連結点・接点)P1(またはP4)の移動とともに、コントロールポイント(方向点・連結点・接点)P2(またはP3)を平行移動させてもよいし、移動させなくてもよいし、アンカーポイント(端点・連結点・接点)P1(またはP4)と異なる移動であってもよい。 In this case, the control point (direction point / connection point / contact point) P2 (or P3) may be moved in parallel with or without the movement of the anchor point (end point / connection point / contact point) P1 (or P4). Alternatively, the movement may be different from the anchor point (end point / connection point / contact point) P1 (or P4).
平行移動させれば、アンカーポイント(端点・連結点・接点)P1(またはP4)における連結線の方向線P1−P2と方向線P4−P3とへの接線方向が変更されない。したがって、文字の端と連結線との連結点が滑らかな状態が保持される。 If translated, the tangent direction to the direction line P1-P2 and the direction line P4-P3 of the connection line at the anchor point (end point / connection point / contact point) P1 (or P4) is not changed. Therefore, the state where the connection point between the end of the character and the connection line is smooth is maintained.
平行移動させないと、文字の端と連結線との連結点が屈曲点となるが、移動させないときは、連結線を描く演算等の処理が容易になる。上記異なる移動のときは、文字の間隔の変化に応じて、文字の端と文字連結線23との連結点の傾き/傾斜を変えて、文字の間隔に合わせて先の文字の終端または後の文字の始端のエレメントの方向/向きを変えることができる。
If the translation is not performed, the connection point between the end of the character and the connection line becomes a bending point, but if it is not moved, processing such as computation for drawing the connection line becomes easy. When the movement is different, the inclination / inclination of the connecting point between the end of the character and the
なお、平行移動させない場合でも、先の文字の終端のエレメントのコントロールポイント(方向点・連結点・接点)32または後の文字の始端のエレメントのコントロールポイント(方向点)32を連動して変更すれば、文字の端と連結線との連結点が滑らかになる。 Even if the translation is not performed, the control point (direction point / connection point / contact point) 32 of the end element of the preceding character or the control point (direction point) 32 of the element at the beginning of the subsequent character can be changed in conjunction. For example, the connection point between the end of the character and the connection line becomes smooth.
上記移動の場合、たとえば、コントロールポイント(方向点)P2(またはP3)の移動量は、アンカーポイント(端点・連結点・接点)P1(またはP4)の移動量の1/2、2/3、1/3、3/4、2/4、1/4、…というように、アンカーポイント(端点・連結点・接点)P1(またはP4)の移動量より少なくされる。 In the case of the above movement, for example, the movement amount of the control point (direction point) P2 (or P3) is 1/2, 2/3 of the movement amount of the anchor point (end point / connection point / contact point) P1 (or P4), 1/3, 3/4, 2/4, 1/4,..., And so on, are made smaller than the movement amount of the anchor point (end point / connection point / contact point) P1 (or P4).
そして、コントロールポイント(方向点)P2(またはP3)の移動方向は、アンカーポイント(端点・連結点・接点)P1(またはP4)の移動方向と同じである。なお、コントロールポイント(方向点)P2(またはP3)の移動方向は、アンカーポイント(端点・連結点・接点)P1(またはP4)の移動方向と異なっていてもよい。 The movement direction of the control point (direction point) P2 (or P3) is the same as the movement direction of the anchor point (end point / connection point / contact point) P1 (or P4). The movement direction of the control point (direction point) P2 (or P3) may be different from the movement direction of the anchor point (end point / connection point / contact point) P1 (or P4).
連結線の向き(傾斜)を変えるには、コントロールポイント(方向点)P2またはP3を移動させ、方向線P1−P2と方向線P4−P3とのいずれかの向きを変える。この場合には、上述のアンカーポイント(端点・連結点・接点)P1(またはP4)に対して、コントロールポイント(方向点)P2(またはP3)を平行移動させない場合と同じとなる。 In order to change the direction (inclination) of the connecting line, the control point (direction point) P2 or P3 is moved to change the direction of either the direction line P1-P2 or the direction line P4-P3. In this case, the control point (direction point) P2 (or P3) is not translated with respect to the anchor point (end point / connection point / contact point) P1 (or P4).
連結線の湾曲度を変えるには、コントロールポイント(方向点)P2及びP3を、方向線P1−P2及び方向線P4−P3に沿って移動させる。コントロールポイント(方向点)P2及びP3を、方向線P1−P2及び方向線P4−P3の延長方向に沿って移動させると、連結線の湾曲度が大きくなる。コントロールポイント(方向点)P2及びP3を、方向線P1−P2及び方向線P4−P3の元に沿って移動させると、連結線の湾曲度が小さくなる。 In order to change the curvature of the connecting line, the control points (direction points) P2 and P3 are moved along the direction line P1-P2 and the direction line P4-P3. When the control points (direction points) P2 and P3 are moved along the extending direction of the direction line P1-P2 and the direction line P4-P3, the curvature of the connecting line increases. When the control points (direction points) P2 and P3 are moved along the direction line P1-P2 and the direction line P4-P3, the degree of curvature of the connecting line decreases.
連結線の湾曲方向を変えるには、上記連結線の湾曲度を変える場合において、コントロールポイント(方向点)P2及びP3の移動量をそれぞれ異ならせて不均一にさせる。コントロールポイント(方向点)P2の方の移動量が大きく方向線P1−P2の方がより長くなれば、連結線の湾曲方向が方向線P1−P2の方に傾く。 In order to change the bending direction of the connecting line, the amount of movement of the control points (direction points) P2 and P3 is changed to be nonuniform when changing the bending degree of the connecting line. If the amount of movement of the control point (direction point) P2 is large and the direction line P1-P2 is longer, the bending direction of the connecting line is inclined toward the direction line P1-P2.
コントロールポイント(方向点)P3の方の移動量が大きく方向線P3−P4の方がより長くなれば、連結線の湾曲方向が方向線P3−P4の方に傾く。方向線P1−P2またはP3−P4の方がより短くなっても同様となる。 If the amount of movement of the control point (direction point) P3 is large and the direction line P3-P4 is longer, the bending direction of the connecting line is inclined toward the direction line P3-P4. The same applies even if the direction line P1-P2 or P3-P4 is shorter.
また、コントロールポイント(方向点)P2またはP3を移動させて、コントロールポイント(方向点)P2とP3とが、連結線に対して互いに反対側に位置させると、連結線は「U」字状ではなく図3に示すように「S」字状にカーブする。この場合、コントロールポイント(方向点)P2及びP3を結ぶ線は、「S」字状カーブの変曲点を通過し、この変曲点の接線と一致する。 Further, when the control point (direction point) P2 or P3 is moved so that the control points (direction points) P2 and P3 are located on the opposite sides of the connection line, the connection line is not “U” -shaped. Instead, it curves in an “S” shape as shown in FIG. In this case, the line connecting the control points (direction points) P2 and P3 passes through the inflection point of the "S" -shaped curve and coincides with the tangent line of this inflection point.
以上のような連結線を描く処理や、長さ、傾斜/傾き、湾曲度、湾曲方向の変更は、上記文字連結線のほか、上記各文字の各エレメント及び各エレメント連結線についても、そのまま実行できる。 The process of drawing the connecting line as described above and the change of the length, inclination / tilt, curvature, and bending direction are executed as it is for each element of each character and each element connecting line in addition to the character connecting line. it can.
このような文字連結線23は、上記エレメント21、上記エレメント連結線22と同時に表示されたり、所定の指示によって、タイミングがずれて/遅れて表示されたりされる。また、この文字連結線23は、同時に表示されたり、所定の指示によってまたは所定の指示ごとに、1つずつ順次/漸次に表示されたりする。
Such a
このようなエレメント21、エレメント連結線22、文字連結線23の長さ、傾斜/傾き、湾曲度、湾曲方向は、後述する描画速度S、描画太さW、色、太さ、濃度、彩度、明度、文字ファクタなどによって変更可能である。この場合、これらの描画速度S、描画太さW、色、太さ、濃度、彩度、明度、文字ファクタに応じて、上記コントロールポイント(方向点)P2及び/またはP3及び/またはアンカーポイント(端点・連結点・接点)P1及び/またはP4)の位置座標が変更される。
The length, inclination / tilt, curvature, and bending direction of the
上記文字連結線、エレメント21、エレメント連結線22は、互いに異なる色、異なる太さ、異なる濃度、異なる明度、異なる彩度で表示されたり、同じ色、同じ太さ、同じ濃度、同じ明度、同じ彩度で表示されたりする。この場合、各文字の色、太さ、濃度、彩度、明度は、同じでもよいし、異なっていても良いし、それぞれの文字連結線の色、太さ、濃度、彩度、明度は、同じでもよいし、異なっていても良い。
The character connecting line, the
この場合、上記読み出された文字連結線23、エレメント21、エレメント連結線22の各情報それぞれに、これらの色、太さ、濃度、彩度、明度、描画速度S、描画太さW、文字ファクタの情報が付加されて、出力部13に送り込まれる。
In this case, for each of the read information of the
以上の文字連結線23の長さ、太さ、傾き、湾曲度、湾曲方向の変更は、上記複数の文字のそれぞれの表示位置が個別に変更された場合に対応されて実行される。これにより、各文字の配置状況に応じて、連結線(文字連結線)の状態を変えて、文字配置と文字連結線23の状態とを整合させて、毛筆/書道/習字の文字配置の雰囲気を最適なものにすることができる。
The change in the length, thickness, inclination, curvature, and bending direction of the
上述の演算式で、文字(エレメント21、エレメント連結線22)と連結線(文字連結線23)とを描く/描画/表示すると、各端点31…において1つのコントロールハンドル(接線)に沿って反対方向に延出されるので、エレメント21、エレメント連結線22、文字連結線23はそれぞれ滑らかに繋がる。
When the character (
そして、各端点31…が滑らかに繋がりながら、方向点32…を変えてエレメント21、エレメント連結線22、文字連結線23の湾曲の大きさを変えることができる。しかも、この方向点32…を変えて湾曲の大きさを変えても、各端点31…の繋がりの滑らかさは維持される。
And while each
(4)文字連結線23、エレメント21、エレメント連結線22の太さ
図5は、文字連結線23、エレメント21、エレメント連結線22の太さの描画処理を示す。まず、アンカーポイント(端点・連結点・接点)P1から次のアンカーポイント(端点・連結点・接点)P4に向かって、以下の演算式に基づいて線の太さ(振幅)Wが求められる(図5(1))。
(4) Thickness of
W=a/10・sinθ(a:任意の定数)
θは、アンカーポイント(端点・連結点・接点)P1から次のアンカーポイント(端点・連結点・接点)P4までの位置/位相/角度を示し、アンカーポイント(端点・連結点・接点)P1で「0度」(W=0)、次のアンカーポイント(端点・連結点・接点)P4で「180度」(W=0)となる。
W = a / 10 · sin θ (a: arbitrary constant)
θ indicates the position / phase / angle from the anchor point (end point / connecting point / contact) P1 to the next anchor point (end point / connecting point / contact) P4. “0 degree” (W = 0) and “180 degrees” (W = 0) at the next anchor point (end point / connection point / contact point) P4.
そして、上記θの所定角度、例えば10度、15度、20度ごとに、太さ(振幅)Wが求められ、この太さ(振幅)Wを半径とする円が、θの所定角度ごとに描画処理される(図5(2))。そして、これらの円内が所定の色、例えば黒で塗りつぶされる(図5(3))。 Then, a thickness (amplitude) W is obtained for each predetermined angle of θ, for example, 10 degrees, 15 degrees, and 20 degrees, and a circle having a radius of the thickness (amplitude) W is determined for each predetermined angle of θ. Drawing processing is performed (FIG. 5 (2)). Then, these circles are filled with a predetermined color, for example, black (FIG. 5 (3)).
これにより、文字のエレメント21、エレメント連結線22、文字連結線23の外縁に多少の凹凸が形成され、毛筆文字/書道文字/習字文字のような雰囲気がかもし出される。また、上記塗りつぶしの透明度、明度、濃度、色、彩度を変えることもできる(図5(4))。
As a result, some irregularities are formed on the outer edges of the
この場合、塗りつぶしの箇所の黒と白との各画素の配分割合を変えると、透明度、明度、濃度が変えられる。また、塗りつぶしの箇所の複数の色の各画素の配分割合を変えると、色が変えられる。さらに、塗りつぶしの箇所の色の各画素と黒または白の各画素の配分割合を変えると、色の彩度、色の透明度、色の明度、色の濃度が変えられる。 In this case, the transparency, lightness, and density can be changed by changing the distribution ratio of each pixel of black and white in the painted area. Further, the color can be changed by changing the distribution ratio of each pixel of the plurality of colors in the portion to be filled. Further, when the distribution ratio of each pixel of the color of the filled area and each pixel of black or white is changed, the color saturation, the color transparency, the color brightness, and the color density can be changed.
上記定数aを変えれば、エレメント21、エレメント連結線22、文字連結線23の太さを変えることができる。また、このaを例えば以下のような上記θの変数にすれば、太さが正弦波状に変化するのではなく、アンカーポイント(端点・連結点・接点)P1またはアンカーポイント(端点・連結点・接点)P4付近で線を太くすることができる。
If the constant a is changed, the thicknesses of the
a=b・θ、a=b/θ、(b:任意の定数)
a=b・θn、a=b/θn
ここでnは1/2、1/3、2/3、1/4、2/4、3/4、…、1、2、3、…といった任意の数である。
a = b · θ, a = b / θ, (b: arbitrary constant)
a = b · θ n , a = b / θ n
Here, n is an arbitrary number such as 1/2, 1/3, 2/3, 1/4, 2/4, 3/4,..., 1, 2, 3,.
また上記定数aは描画速度Sに応じて変化される。これにより、描画速度Sに応じて、文字または/及び文字連結線の太さが変化される。よって、実際に文字を毛筆・書道・習字で描くかのような雰囲気を出すことができ、描く速度に応じて変化する文字または/及び文字連結線の太さを実現できる。 The constant a is changed according to the drawing speed S. Accordingly, the thickness of the character or / and the character connecting line is changed according to the drawing speed S. Therefore, it is possible to create an atmosphere as if the characters were actually drawn with a brush, calligraphy, or calligraphy, and it is possible to realize the thickness of the characters and / or character connecting lines that change according to the drawing speed.
この描画速度Sは、文字及び文字連結線を描いていく速度を示し、操作者によって入力されたり、様々な文字ファクタによって決定されたりする。この文字ファクタは、文字の大きさ、各文字の間隔、文字のひらがな、カタカナ、漢字、記号、アルファベットの文字種類や、文字の画数(ひらがな、カタカナの画数も含む)、上記透明度、明度、濃度、色、彩度などである。また上記定数aそのものも、操作者によって入力されたり、これら様々な文字ファクタによって決定されたりする。 The drawing speed S indicates a speed at which characters and character connecting lines are drawn, and is input by an operator or determined by various character factors. This character factor includes character size, character spacing, character hiragana, katakana, kanji, symbols, alphabetic character types, character strokes (including hiragana and katakana strokes), transparency, brightness, and density. , Color, saturation, etc. The constant a itself is also input by the operator or determined by these various character factors.
さらに上記定数aは文字間隔Dに応じて変化される。これにより、文字間隔Dに応じて、文字または/及び文字連結線の太さが変化される。よって、実際に文字を毛筆・書道・習字で描くかのような雰囲気を出すことができ、描く速度に応じて変化する文字または/及び文字連結線の太さを実現できる。 Further, the constant a is changed according to the character spacing D. Thereby, the thickness of the character or / and the character connecting line is changed according to the character spacing D. Therefore, it is possible to create an atmosphere as if the characters were actually drawn with a brush, calligraphy, or calligraphy, and it is possible to realize the thickness of the characters and / or character connecting lines that change according to the drawing speed.
この文字間隔Dは、文字ピッチ・行ピッチとして操作者によって入力され、または各文字の上記アンカーポイント(端点・連結点・接点)P同士の座標の間隔や、上記大きさの決定された各文字の終端/終点/末尾の座標と始端/始点/先頭の座標との間隔となる。 This character interval D is input by the operator as a character pitch / line pitch, or the coordinate interval between the anchor points (end points / connecting points / contact points) P of each character, and each character whose size is determined. This is the interval between the end / end / end coordinates and the start / start / start coordinates.
(5)文字連結線23、エレメント21、エレメント連結線22の描画速度
文字連結線23、エレメント21、エレメント連結線22の描画速度は以下の通りとなる。上述の線の太さ(振幅)Wを求める演算式のθを上記描画速度Sの変数にして、上記円描画と塗りつぶしを順次/漸次に行う。これにより、文字連結線23、エレメント21、エレメント連結線22が所定の速度で段階的に順次/漸次に描かれていく。
(5) Drawing speed of
W=a/10・sinθ(a:任意の定数)
θ=c・S、θ=c/S、(c:任意の定数)
θ=c・Sn、θ=c/Sn
ここでnは1/2、1/3、2/3、1/4、2/4、3/4、…、1、2、3、…といった任意の数である。
W = a / 10 · sin θ (a: arbitrary constant)
θ = c · S, θ = c / S, (c: arbitrary constant)
θ = c · S n , θ = c / S n
Here, n is an arbitrary number such as 1/2, 1/3, 2/3, 1/4, 2/4, 3/4,..., 1, 2, 3,.
上記描画速度Sは、上記文字ファクタ、描画太さW、透明度、明度、濃度、色、彩度によって変更される。この場合、この描画速度Sに、これらの色、太さ、濃度、彩度、明度、描画速度S、描画太さW、文字ファクタの情報が演算合成される。このような演算合成は、エレメント情報、エレメント連結線情報、文字連結線情報ごとに実行される。 The drawing speed S is changed by the character factor, drawing thickness W, transparency, lightness, density, color, and saturation. In this case, information on these colors, thickness, density, saturation, lightness, drawing speed S, drawing thickness W, and character factor is calculated and combined with the drawing speed S. Such arithmetic synthesis is executed for each element information, element connection line information, and character connection line information.
(6)文字と文字連結線との例
図6及び図7は、ひらがな文字と文字連結線23との表示例を示し、図8は漢字文字と文字連結線23との表示例を示す。図6(1)では「さ」「よ」「て」のエレメント21及びエレメント連結線22を表示させ、文字連結線23を表示させない例を示す。図6(2)では、「さ」「よ」「て」の文字のほかに、文字連結線23も表示される例を示す。
(6) Examples of Characters and Character Connection Lines FIGS. 6 and 7 show display examples of hiragana characters and character connection lines 23, and FIG. 8 shows display examples of kanji characters and character connection lines 23. FIG. 6A shows an example in which the
同じく図7(1)では「を」「み」のエレメント21及びエレメント連結線22を表示させ、文字連結線23を表示させない例を示す。図7(2)では、「を」「み」の文字のほかに、文字連結線23も表示される例を示す。
Similarly, FIG. 7A shows an example in which the “21” and “mi”
図6(2)及び図7(2)の文字連結線23は、「さ」「よ」「て」または「を」「み」を順次入力していくたびに、先に入力されていた文字の終端/末尾と次の文字の始端/先頭とを結ぶ曲線が演算され段階的に順次表示され、さらに所定の指示操作で消去され得る。または、「さ」「よ」「て」または「を」「み」を全て入力した後、所定の指示操作で入力された各文字の終端/末尾と次の文字の始端/先頭とを結ぶ曲線が演算され一括してまたは順次表示され、さらに所定の指示操作で一括してまたは順次消去され得る。
6 (2) and FIG. 7 (2), the
このように、文字連結線23によって、表示される文字同士を繋いで、一連に繋がった毛筆書道習字の文字のような雰囲気を出すことができる。そして各文字同士のつながりを示すことができ、ある文字から次の文字への「書の流れ」をつかむことができる。
In this way, the
図8(1)では、文字連結線23のある「楽」「其」「道」を入力した例を示す。これに対して、図8(2)では、文字連結線23のない「楽」「其」「道」を入力した例を示す。このように、図8(2)に対して、図8(1)に例では、表示される文字同士に繋がりが現れて、ある文字から次の文字への「書の流れ」をつかむことができる。
FIG. 8 (1) shows an example in which “Raku”, “T” and “Michi” with the
図8(1)では実際の文字連結線23は示されていないが、情報の上では文字連結線23は記憶されている。このように文字連結線23を表示しなくても、表示される文字同士に繋がりが現れて、ある文字から次の文字への「書の流れ」をつかむことができる。
Although the actual
これらの文字は入力部12のキーボード上で、通常のひらがな入力、カタカナ入力またはローマ字入力及び/若しくは仮名漢字変換操作などで入力され、この入力されたフォント・タイプフェースのエレメント情報およびエレメント連結線情報が読み出され出力部13に出力される。
These characters are input on the keyboard of the
(7)文字・文字連結線の表示処理
図9、図10、図11は、文字・文字連結線の表示処理のフローチャートを示す。まず、イニシャライズ処理が実行され(ステップ00)、サーバーコンピュータ2の情報記憶部17、プログラム/データ記憶部16のエラーチェック、その他の初期化が行われる。
(7) Character / Character Link Display Processing FIGS. 9, 10, and 11 are flowcharts of character / character link display processing. First, initialization processing is executed (step 00), error checking of the
次いで、上記文字の大きさ(ポイント数)、上記文字間隔(ピッチ数)D、上記描画太さW、上記描画速度S、上記色、濃度、明度、彩度、上記文字ファクタが入力されれば(ステップ01)、これがプログラム/データ記憶部16(内部記憶媒体/手段)に記憶される(ステップ02)。描画太さW、描画速度S、色、濃度、明度、彩度、文字ファクタについては、エレメント21、エレメント連結線22、文字連結線23ごとに個別に入力される。
Next, if the character size (number of points), the character spacing (number of pitches) D, the drawing thickness W, the drawing speed S, the color, density, brightness, saturation, and the character factor are input. This is stored in the program / data storage unit 16 (internal storage medium / means) (step 02). The drawing thickness W, the drawing speed S, the color, the density, the lightness, the saturation, and the character factor are individually input for each
そして、キーボードなどの入力部12から、ひらがな、カタカナ、漢字、記号、アルファベットなどの文字が順次入力されると、またはあらかじめプログラム/データ記憶部16に記憶されていた文字コード列/群が読み出されると(ステップ03)、この文字コードがコントローラ14内のRAMに一時記憶され、出力部13の表示画面の端に小さく一時表示され(ステップ04)、その他の処理が実行される(ステップ31)。
When characters such as hiragana, katakana, kanji, symbols, and alphabets are sequentially input from the
次いで、毛筆(書道/習字)表示の指示が入力部12のキーボードの所定のキーで行われると(ステップ05)、上記入力された文字コードに応じた文字情報つまりエレメント情報とエレメント連結線情報とがプログラム/データ記憶部16(内部記憶媒体/手段)から読み出され、エレメント情報及びエレメント連結線情報が求められ(ステップ06)、上記取り込まれた大きさ、間隔、速さS、太さW及び色・濃度・明度・彩度などで出力部13へ出力される(ステップ07、08、09、10)。
Next, when an instruction to display a writing brush (calligraphy / calligraphy) is made with a predetermined key of the keyboard of the input unit 12 (step 05), character information corresponding to the input character code, that is, element information and element connection line information, Is read from the program / data storage unit 16 (internal storage medium / means), element information and element connection line information are obtained (step 06), and the captured size, interval, speed S, and thickness W are acquired. The color, density, brightness, saturation, etc. are output to the output unit 13 (
このエレメント21及びエレメント連結線22を求める処理はコントロールポイント(方向点)32及びアンカーポイント(端点・連結点・接点)31などから上記ベジェ曲線を求める処理などであって上述した通りである。
The process for obtaining the
これにより、エレメント情報とエレメント連結線情報の中のアンカーポイント(端点・連結点・接点)P1、P4及びコントロールポイント(方向点)P2、P3に基づいて文字のエレメント21が上述したように描画される。この場合、エレメント連結線22の描画処理も実行されるが、描画されたエレメント連結線22の画像データは出力部13へは送られず表示はされない。
Thus, the
この場合、上記入力された文字の大きさ(ポイント数)及び文字間隔(ピッチ数)Dに応じて、アンカーポイント(端点・連結点・接点)P1、P4及びコントロールポイント(方向点)P2、P3の各座標値が比例換算される。 In this case, anchor points (end points / connection points / contact points) P1 and P4 and control points (direction points) P2 and P3 according to the input character size (number of points) and character interval (number of pitches) D. Each coordinate value of is proportionally converted.
またこのとき、上記入力された描画速度Sに応じた速度で、文字のエレメント21が出力部13に順次描画されていく(ステップ07)とともに、上述したように描画速度Sに基づいて文字のエレメント21の太さが決定され(ステップ08)、上記色、濃度、明度、彩度に応じた状態で文字が表示される(ステップ09)。
At this time, the
そして、エレメント連結線22表示の指示が入力部12のキーボードの所定のキーで行われると(ステップ11)、上記描画処理済のエレメント連結線情報がプログラム/データ記憶部16(内部記憶媒体/手段)から読み出され、エレメント連結線情報が求められ(ステップ12)、所定の速さ、太さ及び色・濃度・明度・彩度などで出力部13へ出力される(ステップ13、14、15、16)。
When an instruction to display the
これにより、上記マスキングされていたエレメント連結線22が上述したように描画される。このエレメント連結線22を求める処理はコントロールポイント(方向点)32及びアンカーポイント(端点・連結点・接点)31などから上記ベジェ曲線を求める処理などであって上述した通りである。
As a result, the masked
このとき、上記入力された描画速度Sに応じた速度で、エレメント連結線22が出力部13に順次描画されていく(ステップ13)とともに、上述したように描画速度Sに基づいてエレメント連結線22の太さが決定され(ステップ14) 、上記色、濃度、明度、彩度に応じた状態でエレメント連結線22が表示される(ステップ15)。
At this time, the
また、エレメント連結線22消去の指示が入力部12のキーボードの所定のキーで行われると(ステップ18)、上記出力部13へ出力されていた描画処理済のエレメント連結線情報の出力がすべて停止されまたは1つ1つ段階的に停止/消去させることもできる(ステップ19)。これにより、文字のエレメント連結線22を表示させたり消去させたりでき、表示するかどうかを選択できる。
When an instruction to delete the
次いで、文字連結線表示の指示が入力部12のキーボードの所定のキーで行われると(ステップ21)、上記エレメント連結線22が表示されていることを前提に(ステップ22)、上記表示されている文字を連結する文字連結線情報が求められ(ステップ23)、この文字連結線23が所定の速さ、太さ及び色・濃度・明度・彩度などで出力部13へ出力される(ステップ24、25、26、27)。この連結線情報を求める処理はコントロールポイント(方向点)32及びアンカーポイント(端点・連結点・接点)31などを求めこれらからベジェ曲線を求める処理などであって上述した通りである。
Next, when an instruction to display the character connection line is given by a predetermined key on the keyboard of the input unit 12 (step 21), the display is made on the assumption that the
このようにエレメント連結線表示を前提として文字連結線表示がなされるから、エレメント連結線22が表示されていないのに、文字連結線23が表示されることはなく、文字を繋ぐ連結線23のほか文字の間の連結線22もあわせて表示され、毛筆/書道/習字の雰囲気を抜けなく総合的に出すことができる。むろん、エレメント連結線22を表示せずに、文字連結線23だけを表示させてもよい。
Since the character connection line is displayed on the premise of the element connection line display in this manner, the
この場合、文字連結線情報の中のアンカーポイント(端点・連結点・接点)P1、P4及びコントロールポイント(方向点)P2、P3に基づいて文字連結線23が上述したように描画される。このとき、上記入力された描画速度Sに応じた速度で、文字連結線23が出力部13に順次描画されていく(ステップ24)とともに、上述したように描画速度Sに基づいて文字連結線23の太さが決定され(ステップ25)、上記色、濃度、明度、彩度に応じた状態で文字連結線23が表示される(ステップ26)。
In this case, the
また、文字連結線23消去の指示が入力部12のキーボードの所定のキーで行われると(ステップ28)、上記出力部13へ出力されていた描画処理済の文字連結線情報の出力がすべて停止されまたは1つ1つ段階的に停止/消去させることもできる(ステップ29)。これにより、各文字を繋ぐ文字連結線23を表示させたり消去させたりでき、表示するかどうかを選択できる。
When an instruction to erase the
上記ステップ01及び02で取り込まれるエレメント21、エレメント連結線22、文字連結線23の色、濃度、明度、彩度が個別に変更されると、エレメント21、エレメント連結線22、文字連結線23のそれぞれの色、濃度、明度、彩度が個別に変更される。
When the color, density, lightness, and saturation of the
これにより、エレメント21、エレメント連結線22、文字連結線23それぞれの色、濃度、明度、彩度を異ならせたり同じものにしたりでき、文字と文字連結線23またはエレメント連結線22を明確に区別することができ、毛筆/書道/習字の雰囲気を要素ごとに明確に識別して把握することができ、一連に繋がった毛筆/書道/習字となり、毛筆/書道/習字の教習に役立つ。
As a result, the color, density, brightness, and saturation of the
また、上述のように、描画速度Sが変更されると、描画太さWが変更されるから、実施の筆運びの勢い/速さに沿ったように、文字(エレメント及び/またはエレメント連結線)及び/または文字連結線23を毛筆/書道/習字で描くことができ、一連に繋がった毛筆/書道/習字となり、毛筆/書道/習字の教習に役立つ。
Further, as described above, when the drawing speed S is changed, the drawing thickness W is changed, so that characters (elements and / or element connecting lines) are arranged in accordance with the momentum / speed of the actual brush stroke. ) And / or the
さらに、描画速度Sが変更されると、エレメント21、エレメント連結線22、文字連結線23の色、濃度、明度、彩度が変更されるから、実施の筆運びの勢い/速さに沿ったように、文字(エレメント及び/またはエレメント連結線)及び/または文字連結線23を毛筆/書道/習字で描くことができ、一連に繋がった毛筆/書道/習字となり、毛筆/書道/習字の教習に役立つ。
Further, when the drawing speed S is changed, the color, density, lightness, and saturation of the
またさらに、上記描画速度Sを最大値まで速くすると、文字連結線23または/及びエレメント連結線22が瞬時に描かれる。したがって、一瞬かつ一括して文字連結線23または/及びエレメント連結線22を表示させたり(ステップ12〜16、23〜27)、一瞬かつ一括して表示を消したりできるし、1つ1つ段階的に消去させることもできる(ステップ19、29)。
Furthermore, when the drawing speed S is increased to the maximum value, the
これにより、文字と文字連結線23または/及びエレメント連結線22とを対比したり、文字連結線23または/及びエレメント連結線22のある文字とない文字とを対比したりできて、一連に繋がった毛筆/書道/習字を分析でき、毛筆/書道/習字の教習に役立つ。
As a result, the character and the
上記消去によって、エレメント21、エレメント連結線22または/及び文字連結線23が重なり合っている部分を一部消去して、文字の流れ/運筆を詳しくかつ細かく解明することもできる。
By the erasing, a part where the
さらにまた、上記連結線22、23の長さ、向き(傾斜)、湾曲度、湾曲方向は、描画速度S、文字間隔、文字の大きさによって変更される。したがって、描画速度Sが速くなれば、文字連結線23または/及びエレメント連結線22の湾曲度を小さくして、向き(傾斜)も小さくすることができ、実際の一連に繋がった毛筆/書道/習字に近づけ、毛筆/書道/習字の教習に役立つ。
Furthermore, the length, direction (inclination), curvature, and bending direction of the connecting
以上のステップ06〜10の文字表示処理、ステップ12〜16のエレメント連結線表示処理、ステップ23〜27の文字連結線処理は、ステップ01〜04で入力された複数の文字について一括して行われる。この場合、文字連結線23は上の文字から下の文字に向かって各文字間で順次描かれていく。
The character display processing in
しかし、一文字ずつごと、一文字のエレメント連結線22ごと、1つの文字連結線23ごとに、ステップ06〜10の文字表示処理、ステップ12〜16のエレメント連結線表示処理、ステップ23〜27の文字連結線処理が実行されてもよい。以上の処理の後、種々のその他の処理が行われ(ステップ31)、終了の指示があるまで繰り返され(ステップ32)、終了の指示がると上記文字・文字連結線表示処理が終了される。
However, for each character, for each
図9〜図11の処理では、ステップ06〜10の文字表示をしないで、ステップ12〜16のエレメント連結線22のみ、またはステップ23〜27の文字連結線23のみを表示させることもできる。これにより、エレメント連結線22のみ、または文字連結線23のみを調べることもできる。
9 to 11, it is possible to display only the
(8)文字・文字連結線の表示処理
図12は、文字・文字連結線の表示処理の別実施例のフローチャートを示す。この実施例では、文字を入力するたびごとに、文字連結線23を段階的に1つ1つ表示させていくものである。上記ステップ00、01、02の処理の後、文字が入力され(ステップ03)、すでに文字が1つ以上入力済みであれば(ステップ41)、上記ステップ22〜27またはステップ23〜27の文字連結線表示処理が行われる(ステップ42)。これにより、すでに表示されている文字の末尾/終端から伸びる文字連結線23が表示され、所定の速度で文字連結線23が伸びていく。
(8) Character / Character Link Display Processing FIG. 12 shows a flowchart of another embodiment of the character / character link display processing. In this embodiment, each time a character is input, the
そして、上記ステップ06〜10またはステップ06〜16若しくはステップ06〜10・12〜16の文字のエレメント21及びエレメント連結線22の表示処理が行われる(ステップ43)。こうして、文字連結線23と文字21、22とが運筆順に順次表示されていく。
And the display process of the
以上の処理が、一文字一文字入力されるごとに繰り返し実行され(ステップ03)、その他の処理の後(ステップ31)、終了の指示がなされれば(ステップ32)、文字・文字連結線の表示処理は終了する。 The above processing is repeatedly executed every time a character is input (step 03). After other processing (step 31), if an end instruction is given (step 32), a character / character connecting line display processing is performed. Ends.
以上の一文字入力ごとの文字連結線表示において文字連結線を表示するかしないかを一文字ごとに選択できる。この場合、上記ステップ03でかなキーなどの操作による文字入力のときにシフトキーを同時操作するなどの所定の指示があれば、上記ステップ42の文字連結線表示処理(ステップ22〜27、23〜27)が実行されてからステップ43の文字表示処理(ステップ06〜10、06〜16、12〜16)が行われ、この所定の操作がなければ、このステップ42の処理は行われず、上記43の文字表示処理(ステップ06〜10、06〜16、12〜16)が実行される。
Whether or not to display the character connecting line in the character connecting line display for each character input can be selected for each character. In this case, if there is a predetermined instruction such as simultaneous operation of the shift key when inputting characters by operating the kana key or the like in
これ以外の処理は、上記図9〜図11の処理と同様であり、説明を省略する。例えば、文字連結線23及びエレメント連結線22を一瞬かつ一括して表示を消したりできるし、1つ1つ段階的に消去させることもできる(ステップ19、29)。
The other processes are the same as the processes shown in FIGS. For example, the display of the
なお、エレメント連結線情報は、エレメント情報とともに、運筆順に読み出され、エレメント連結線22とエレメント21とが運筆順に表示されていく(ステップ43)。また、エレメント連結線22や文字連結線23は、一瞬かつ一括して表示を消したりできるし、1つ1つ段階的に消去させることもできる(ステップ18、19、28、29)。
The element connection line information is read in the stroke order together with the element information, and the
(9)他の実施の形態
本発明は、上記実施例に限定されず、種々変更可能である。例えば、図9〜図11の文字・文字連結線表示処理では、文字のエレメント21、エレメント連結線22、文字連結線23は、別々に表示されていたが、これらをすべて一括してソートして、運筆順に順次表示してもよい。
(9) Other Embodiments The present invention is not limited to the above embodiment, and various modifications can be made. For example, in the character / character connecting line display processing of FIGS. 9 to 11, the
この表示はひとつのエレメント21、エレメント連結線22、文字連結線23を上記描画速度Sに沿って逐次的段階的に表示しても良いし、上述のように描画速度Sを最大値にして一括して表示してもよい。
In this display, one
この場合、ひとつのエレメント21、エレメント連結線22、文字連結線23を表示してから、タイマー処理によって所定時間経過後に次のエレメント21、エレメント連結線22、文字連結線23を表示していくことになる。逐次的段階的表示では、このようなタイマー処理を行ってもよいし、行わなくてもよい。
In this case, after displaying one
そして、上記ステップ01〜29の処理の前に、入力された文字につき、各文字間の文字連結線23が事前にすべて求められ(ステップ23)、この求められた各文字間の文字連結線情報が、各文字の情報の間に挿入されていく。また各文字のエレメント情報及びエレメント連結線情報は運筆順となっている。したがって、複数文字にわたるすべてのエレメント21、エレメント連結線22、文字連結線23が運筆順にソートされることになる。
Before the processes of
次いで、上記ステップ01〜29の処理がひとつにまとめられ、このエレメント21、エレメント連結線22、文字連結線23が所定の速さ、太さ及び色・濃度・明度・彩度などで出力部13へ出力される(ステップ24〜27、13〜16、07〜10)。
Next, the processes in
この場合、エレメント21、エレメント連結線22、文字連結線23のそれぞれアンカーポイント(端点・連結点・接点)P1、P4及びコントロールポイント(方向点)P2、P3に基づいてエレメント21、エレメント連結線22、文字連結線23が上述したように描画される。
In this case, based on the anchor points (end points / connection points / contact points) P1 and P4 and the control points (direction points) P2 and P3 of the
このとき、上記入力された描画速度Sに応じた速度で、エレメント21、エレメント連結線22、文字連結線23が出力部13に順次描画されていく(ステップ24、13、07)とともに、上述したように描画速度Sに基づいてエレメント21、エレメント連結線22、文字連結線23の太さが決定され(ステップ25、14、08)、上記色、濃度、明度、彩度に応じた状態でエレメント21、エレメント連結線22、文字連結線23が表示される(ステップ26、15、09)。
At this time, the
この後、エレメント21、エレメント連結線22、文字連結線23のいずれかを選んで、個別に消去させることもできるし、1つ1つ段階的に消去させることもできる(ステップ18、19、28、29)。なおこの場合、ステップ18、19、28、29と同様の消去処理を、エレメント21についても、ステップ05(NO)とステップ11との間で同様に実行される。
Thereafter, any one of the
また、図9において、図12と同様に、文字入力のたびに(ステップ03)、エレメント21表示及び/またはエレメント連結線22表示がなされてもよい(ステップ06〜16)。さらに、ステップ18、19、28、29が省略され、エレメント連結線22または文字連結線23の消去はなされなくてもよい。
In FIG. 9, as in FIG. 12, each time a character is input (step 03), the
さらに、エレメント連結線22及びステップ11〜16は省略されてもよい。これにより、エレメント連結線22の無い文字と文字連結線とを表示/非表示させて対比できる。また、複数の文字のそれぞれの表示位置が個別に変更されたとき、文字連結線23が段階的または一括して再度はじめから表示されてもよい。これにより、文字間隔が変更されるたびに、文字連結線23が演算し直されて最適な文字連結線23が形成される。この場合、上記ステップ01〜04の処理の後、上記ステップ23〜27の文字連結線表示処理にはいる。
Furthermore, the
さらに、複数の文字のそれぞれの大きさが個別に変更されたとき、エレメント連結線情報または文字連結線23が段階的または一括して再度はじめから表示されてもよい。これにより、文字の大きさが変更されるたびに、エレメント連結線22または文字連結線23が演算し直されて最適な文字連結線23が形成される。この場合、上記ステップ01〜04の処理の後、上記ステップ12〜16のエレメント連結線表示処理または上記ステップ23〜27の文字連結線表示処理にはいる。
Furthermore, when the size of each of the plurality of characters is individually changed, the element connection line information or the
また、上記文字(エレメント及びエレメント連結線)と文字連結線とは、上記例では表示画面に表示させる例で説明した。しかし、上記描画画像データをプリンタに印刷出力するようにしてもよいし、他の外部装置に転送してもよいし、種々の記憶媒体に書き込んで記憶させてもよい。 Moreover, the said character (element and element connection line) and the character connection line demonstrated in the said example the example displayed on a display screen. However, the drawing image data may be printed out on a printer, transferred to another external device, or written and stored in various storage media.
さらに、文字連結線23及びステップ21〜27は省略されてもよい。これにより、文字連結線23の無い文字のエレメント21とエレメント連結線22を表示/非表示させて対比できる。
Furthermore, the
(10)他の発明の効果
[1]複数の文字を描くための文字情報を各文字ごとに対応させて記憶する手段と、 これら複数の文字の1つと他の1つとを繋ぐ連結線を描くための連結線情報を記憶する手段と、 上記文字情報と連結線情報とは、各文字または各連結線の2つが連結される点における端点情報と、この端点における当該文字または連結線の2つに接する1つの接線の延長上に位置し、同文字または連結線の湾曲の大きさを決定する方向点情報とからなり、この端点において文字または連結線の2つはともに上記1つの接線の方向に沿って反対方向に延出されるものであり、上記方向点が上記端点から離れるほど上記湾曲は大きくなるものであり、 所定の指示によって、上記文字情報を読み出して、複数の文字を表示させる手段と、 別の所定の指示によって、上記連結線情報を読み出して、上記表示された複数の文字を繋ぐ連結線を表示させる手段とを備えたことを特徴とする文字表示装置。
(10) Effects of other inventions [1] Means for storing character information for drawing a plurality of characters in association with each character, and drawing a connecting line connecting one of the plurality of characters and the other Means for storing connecting line information, and the character information and connecting line information include end point information at a point where two of each character or each connecting line are connected, and two of the character or connecting line at this end point. It is located on the extension of one tangent line that touches and consists of direction point information that determines the magnitude of the curve of the same character or connecting line. At this end point, both of the character or connecting line are the directions of the one tangent line And the curve increases as the direction point moves away from the end point. According to a predetermined instruction, the character information is read out to display a plurality of characters. When, A character display device comprising: means for reading the connection line information according to another predetermined instruction and displaying a connection line connecting the plurality of displayed characters.
これにより、表示される文字同士を繋いで、毛筆書道習字の文字のような雰囲気を出すことができる。文字(エレメント21、エレメント連結線22)と連結線(文字連結線23、エレメント連結線22)とは、各端点において1つの接線に沿って反対方向に延出されるので滑らかに繋がる。そして、各端点が滑らかに繋がりながら、方向点を変えて湾曲の大きさを変えることができる。しかも、この方向点を変えて湾曲の大きさを変えても、各端点の繋がりの滑らかさは維持される。連結線(文字連結線23、エレメント連結線22)またはエレメント21のそれぞれの湾曲状態がどのように変化しても、方向点情報を変更数Rだけで済み、連結線(文字連結線23、エレメント連結線22)及びエレメント21に対する各端点情報の割り振りを変更しなくても済み、湾曲状態の変更に対して容易に対応できる。
Thereby, the character displayed can be connected and the atmosphere like the character of a brush calligraphy penmanship can be put out. The character (
[2]複数の文字を描くための文字情報を各文字ごとに対応させて記憶する手段と、 これら複数の文字の1つと他の1つとを繋ぐ連結線を描くための連結線情報を記憶する手段とにつき、 上記文字情報と連結線情報とは、各文字または各連結線の2つが連結される点における端点情報と、この端点における当該文字または連結線の2つに接する1つの接線の延長上に位置し、同文字または連結線の湾曲の大きさを決定する方向点情報とからなり、この端点において文字または連結線の2つはともに上記1つの接線の方向に沿って反対方向に延出されるものであり、上記方向点が上記端点から離れるほど上記湾曲は大きくなるものであり、 所定の指示によって、上記文字情報を読み出して、複数の文字を表示させる処理と、 別の所定の指示によって、上記連結線情報を読み出して、上記表示された複数の文字を繋ぐ連結線を表示させる処理とをコンピュータに実行させるための文字表示のためのコンピュータプログラム。 [2] Means for storing character information for drawing a plurality of characters in association with each character, and storing connection line information for drawing a connection line connecting one of the plurality of characters and the other The character information and the connecting line information include the end point information at a point where two of each character or each connecting line are connected, and the extension of one tangent line that touches the two of the character or connecting line at this end point. It consists of direction point information that determines the magnitude of the curvature of the same character or connecting line, and at this end point, both of the character or connecting line extend in the opposite direction along the direction of the one tangent line. The curve increases as the direction point moves away from the end point, and a process of reading the character information and displaying a plurality of characters according to a predetermined instruction, and another predetermined instruction In Therefore, a computer program for character display for causing a computer to execute the process of reading the connection line information and displaying the connection line connecting the displayed characters.
これにより、表示される文字同士を繋いで、毛筆書道習字の文字のような雰囲気を出すことができる。文字(エレメント21、エレメント連結線22)と連結線(文字連結線23)とは、各端点において1つの接線に沿って反対方向に延出されるので滑らかに繋がる。そして、各端点が滑らかに繋がりながら、方向点を変えて湾曲の大きさを変えることができる。しかも、この方向点を変えて湾曲の大きさを変えても、各端点の繋がりの滑らかさは維持される。連結線(文字連結線23、エレメント連結線22)またはエレメント21のそれぞれの湾曲状態がどのように変化しても、方向点情報を変更数Rだけで済み、連結線(文字連結線23、エレメント連結線22)及びエレメント21に対する各端点情報の割り振りを変更しなくても済み、湾曲状態の変更に対して容易に対応できる。
Thereby, the character displayed can be connected and the atmosphere like the character of a brush calligraphy penmanship can be put out. Since the characters (
[3]複数の文字を描くための文字情報を各文字ごとに対応させて記憶する手段と、 これら複数の文字の1つと他の1つとを繋ぐ連結線を描くための連結線情報を記憶する手段とにつき、 上記文字情報と連結線情報とは、各文字または各連結線の2つが連結される点における端点情報と、この端点における当該文字または連結線の2つに接する1つの接線の延長上に位置し、同文字または連結線の湾曲の大きさを決定する方向点情報とからなり、この端点において文字または連結線の2つはともに上記1つの接線の方向に沿って反対方向に延出されるものであり、上記方向点が上記端点から離れるほど上記湾曲は大きくなるものであり、 所定の指示によって、上記文字情報を読み出して、複数の文字を表示させ、 別の所定の指示によって、上記連結線情報を読み出して、上記表示された複数の文字を繋ぐ連結線を表示させることを特徴とする文字表示方法。 [3] Means for storing character information for drawing a plurality of characters in association with each character, and storing connection line information for drawing a connection line connecting one of the plurality of characters and the other The character information and the connecting line information include the end point information at a point where two of each character or each connecting line are connected, and the extension of one tangent line that touches the two of the character or connecting line at this end point. It consists of direction point information that determines the magnitude of the curvature of the same character or connecting line, and at this end point, both of the character or connecting line extend in the opposite direction along the direction of the one tangent line. The curvature increases as the direction point moves away from the end point, and the character information is read out according to a predetermined instruction to display a plurality of characters, and according to another predetermined instruction, A character display method comprising: reading out the connection line information and displaying a connection line connecting the plurality of displayed characters.
これにより、表示される文字同士を繋いで、毛筆書道習字の文字のような雰囲気を出すことができる。文字(エレメント21、エレメント連結線22)と連結線(文字連結線23)とは、各端点において1つの接線に沿って反対方向に延出されるので滑らかに繋がる。そして、各端点が滑らかに繋がりながら、方向点を変えて湾曲の大きさを変えることができる。しかも、この方向点を変えて湾曲の大きさを変えても、各端点の繋がりの滑らかさは維持される。連結線(文字連結線23、エレメント連結線22)またはエレメント21のそれぞれの湾曲状態がどのように変化しても、方向点情報を変更するだけで済み、連結線(文字連結線23、エレメント連結線22)及びエレメント21に対する各端点情報の割り振りを変更しなくても済み、湾曲状態の変更に対して容易に対応できる。
Thereby, the character displayed can be connected and the atmosphere like the character of a brush calligraphy penmanship can be put out. Since the characters (
[4] 上記連結線の表示は、文字を入力するたびに、先に入力されていた文字との間で表示され、 さらに文字を入力するごとに当該連結線を表示されるかまたは表示させないかを選択することを特徴とする請求項3記載の文字表示方法。これにより、一文字一文字入力するごとに文字連結線・エレメント連結線を見ることができ、また文字連結線・エレメント連結線のある状態とない状態とを対比でき、毛筆/書道/習字の雰囲気を要素ごとに明確に識別して把握することができ、実際の毛筆/書道/習字に近づけ、毛筆/書道/習字の教習に役立つ。
[4] Each time a character is input, the connection line is displayed between the previously input character and whether the connection line is displayed or not displayed each time a character is input. The character display method according to
[5]上記連結線の表示は、段階的に表示されるか、または一括して表示され、この表示後、さらに別の指示によって、さらに表示させない、または上記文字とは異なる色、太さ、濃度、明度、彩度に切換えることを特徴とする請求項3または4記載の文字表示方法。これにより、文字と文字連結線・エレメント連結線を明確に区別することができ、また文字連結線・エレメント連結線のある状態ない状態とを対比でき、毛筆/書道/習字の雰囲気を要素ごとに明確に識別して把握することができ、実際の毛筆/書道/習字に近づけ、毛筆/書道/習字の教習に役立つ。
[5] The display of the connecting line is displayed stepwise or collectively, and after this display, it is not displayed further by another instruction, or a color, thickness, 5. The character display method according to
[6]上記複数の文字のそれぞれの表示位置は個別に変更され、これに応じて上記文字と文字とを繋ぐ連結線の長さ、太さ、傾き、湾曲度、湾曲方向が変更されることを特徴とする請求項3、4または5記載の文字表示方法。これにより、各文字の配置状況に応じて、連結線(文字連結線)の状態を変えて、文字配置と文字連結線の状態とを整合させて、毛筆/書道/習字の文字配置の雰囲気を最適なものにすることができる。
[6] The display position of each of the plurality of characters is individually changed, and the length, thickness, inclination, curvature, and bending direction of the connecting line connecting the characters are changed accordingly. The character display method according to
[7]上記連結線は段階的に表示され、この段階表示の速度は変更され、この変更に応じて連結線の太さ、傾き、湾曲度、湾曲の方向が変更されることを特徴とする請求項3、4、5または6記載の文字表示方法。これにより、連結線(文字連結線)を描く速度に応じて、連結線(文字連結線)の太さ、傾き、湾曲度、湾曲の方向が変更され、描く速度に合った最適な連結線(文字連結線)を描くことができ、毛筆/書道/習字の描画速度の雰囲気を最適なものにすることができる。
[7] The connection line is displayed in stages, the speed of the stage display is changed, and the thickness, inclination, curvature, and direction of the connection line are changed according to the change. The character display method according to
[8]上記連結線情報には、文字の中の各エレメントを繋ぐエレメント連結線も含まれることを特徴とする請求項3、4、5、6または7記載の文字表示方法。これにより、文字連結線とともに文字内のエレメント連結線も同様に制御でき、エレメント連結線を文字連結線に整合させることができる。 [8] The character display method according to [3], [4], [6], or [7], wherein the connection line information includes an element connection line connecting elements in the character. Thereby, the element connection line in the character as well as the character connection line can be controlled similarly, and the element connection line can be matched with the character connection line.
[9]上記文字はひらがな、カタカナ、漢字、アルファベット、記号であることを特徴とする請求項3、4、5、6、7または8記載の文字表示方法。これにより、種々の文字においても、毛筆書道習字の文字のような雰囲気を出すことができる。
[9] The character display method according to
[10]複数または1つの文字を構成する複数のエレメントをそれぞれ描くためのエレメント情報を所定の順番で記憶する手段と、 これら各エレメントをそれぞれ繋ぐ連結線を描くための連結線情報を所定の順番で記憶する手段とにつき、 所定の指示によって、上記エレメント情報を読み出して、複数または1つの文字を表示させ、 別の所定の指示によって、上記連結線情報を読み出して、複数の文字を繋ぐ連結線、または1つの文字の中の各エレメントを繋ぐための連結線を表示させることを特徴とする請求項3、4、5、6、7、8または9記載の文字表示方法。これにより、文字連結線とともに文字内のエレメント連結線も同様に制御でき、エレメント連結線を文字連結線に整合させることができる。
[10] Means for storing element information for drawing each of a plurality of elements constituting one or more characters in a predetermined order, and connecting line information for drawing connecting lines respectively connecting these elements in a predetermined order The element information is read by a predetermined instruction to display a plurality or one character, and the connection line information is read by another predetermined instruction to connect a plurality of characters. 10. A character display method according to
[11] 上記2つの端点の座標を(x1、y1)及び(x4、y4)、上記方向点の座標を(x2、y2)及びP3(x3、y3)とすると、 上記文字または連結線は、 X=(1−t)ax1+3(1−t)bx2+3(1−t)cx3+tdx4 Y=(1−t)ay1+3(1−t)bty2+3(1−t)tcy3+tdy4 (0≦t≦1、a>b≦c<dまたはa>b≧c<d)の演算式を基本として描かれることを特徴とする請求項3、4、5、6、7、8、9または10記載の文字表示方法。
[11] When the coordinates of the two end points are (x 1 , y 1 ) and (x 4 , y 4 ), and the coordinates of the direction points are (x 2 , y 2 ) and P 3 (x 3 , y 3 ) The above character or connecting line is X = (1-t) a x 1 +3 (1-t) b x 2 +3 (1-t) c x 3 + t d x 4 Y = (1-t) a y 1 +3 (1-t) b ty 2 +3 (1-t) t c y 3 + t d y 4 (0 ≦ t ≦ 1, a> b ≦ c <d or a> b ≧ c <d) operation expression The character display method according to
これにより、文字(エレメント21、エレメント連結線22)と連結線(文字連結線23)とは各端点において1つの接線に沿って反対方向に延出されて滑らかに繋がる。そして、各端点が滑らかに繋がりながら、方向点の座標を変えて湾曲の大きさを変えることができる。しかも、この方向点を変えて湾曲の大きさを変えても、各端点の繋がりの滑らかさは維持される。
Thereby, a character (
また、各文字の間隔が変化したり、配置関係が縦、横、斜めなどに変化したりしても、上記演算式を元に、各文字を繋ぐ文字連結線23が必ず演算されて描かれる。同様に、各文字の大きさが変化して文字の中の各エレメント21の間隔が変化したり、配置関係が縦、横、斜めなどに変化したりしても、上記演算式を元に、各文字の中の各エレメント21を繋ぐエレメント連結線22が必ず演算されて描かれる。
Further, even if the spacing between the characters changes or the arrangement relationship changes vertically, horizontally, diagonally, etc., the
さらに、文字連結線23及びエレメント連結線22以外に、エレメント21そのものも上記演算式を元に演算されて描かれる。したがって、文字連結線23、エレメント連結線22及びエレメント21全てを、共通した同じ上記演算式を元に演算され描かれるので、データ処理が統一化されて簡易化され迅速になる。このような効果は、上述した文字連結線23、エレメント連結線22またはエレメント21を、段階的に表示させる場合、または一括して表示させる場合、さらに別の指示によって、さらに表示させない場合、またはそれぞれを異なる色、太さ、濃度、明度、彩度に切換える場合でも同様に奏する。
Further, in addition to the
[12]上記文字情報と上記連結線情報とは、文字または/及び連結線の一画ごとに、1つの文字情報または1つの連結線情報が対応していることを特徴とする請求項3、4、5、6、7、8、9、10または11記載の文字表示方法。 [12] The character information and the connection line information are characterized in that one character information or one connection line information corresponds to each stroke of a character or / and a connection line. The character display method according to 4, 5, 6, 7, 8, 9, 10 or 11.
これにより、文字連結線23またはエレメント連結線22の表示を消去したり、表示させたりする場合に、文字連結線23、エレメント連結線22またはエレメント21がどのように変化しても、1つの文字情報と上記連結線情報(1つの演算式)に対応する文字連結線23またはエレメント連結線22を消去したり表示させればよく、文字連結線23及びエレメント連結線22の表示/消去の制御が非常に円滑になる。
Thereby, when the display of the
連結線情報を読み出して、複数の文字を繋ぐ連結線を表示させ、表示される文字同士を繋いで、一連に繋がった毛筆書道習字の文字のような雰囲気を出す。文字連結線23表示の指示が入力部12のキーボードの所定のキーで行われると(ステップ21)、上記エレメント連結線22が表示されていることを前提に(ステップ22)、上記表示されている文字を連結する連結線情報が求められ(ステップ23)、この文字連結線23が所定の速さ、太さ及び色・濃度・明度・彩度などで出力部13へ出力される(ステップ24、25、26、27)。この連結線情報は図4に示すように、2つのコントロールポイント(方向点)32及び2つのアンカーポイント(端点・連結点・接点)31などに基づいたベジェ曲線である。
The connection line information is read out, a connection line connecting a plurality of characters is displayed, the displayed characters are connected, and an atmosphere like a brush calligraphy penmanship character connected in series is given. When an instruction to display the
10…アドレス/データバスライン、11…インターフェース部、
12…入力部、13…出力部、14…コントローラ、
16…プログラム/データ記憶部0、
17…情報記憶部、18…外部装置、19…タイミング発生部、
21…エレメント、22…エレメント連結線、23…文字連結線、
31…アンカーポイント(端点・連結点・接点)、
32…コントロールポイント(方向点)、
33…接線。
10 ... Address / data bus line, 11 ... Interface section,
12 ... Input unit, 13 ... Output unit, 14 ... Controller,
16: Program /
17 ... Information storage unit, 18 ... External device, 19 ... Timing generation unit,
21 ... Element, 22 ... Element connecting line, 23 ... Character connecting line,
31 ... Anchor point (end point / connection point / contact point),
32 ... Control point (direction point),
33 ... Tangent.
Claims (8)
これら複数の文字の1つと他の1つとを繋ぐ連結線を描くための連結線情報を記憶する手段と、
上記文字情報と連結線情報とは、各文字または各連結線の2つが連結される点における端点情報と、この端点における当該文字または連結線の2つに接する1つの接線の延長上に位置し、同文字または連結線の湾曲の大きさを決定する方向点情報とからなり、この端点において文字または連結線の2つはともに上記1つの接線の方向に沿って反対方向に延出されるものであり、上記方向点が上記端点から離れるほど上記湾曲は大きくなるものであり、
所定の指示によって、上記文字情報を読み出して、複数の文字を表示させる手段と、
別の所定の指示によって、上記連結線情報を読み出して、上記表示された複数の文字を繋ぐ連結線を表示させる手段とを備えたことを特徴とする文字表示装置。 Means for storing character information for drawing a plurality of characters in association with each character;
Means for storing connection line information for drawing a connection line connecting one of the plurality of characters and the other one;
The character information and the connecting line information are located on the end point information at a point where two of each character or each connecting line are connected and on the extension of one tangent line that touches the two of the character or connecting line at this end point. , And direction point information that determines the degree of curvature of the same character or connecting line, and at this end point, both of the character or connecting line are extended in opposite directions along the direction of the one tangent line. And the curvature increases as the direction point moves away from the end point,
Means for reading out the character information according to a predetermined instruction and displaying a plurality of characters;
A character display device comprising: means for reading the connection line information according to another predetermined instruction and displaying a connection line connecting the plurality of displayed characters.
上記文字情報と連結線情報とは、各文字または各連結線の2つが連結される点における端点情報と、この端点における当該文字または連結線の2つに接する1つの接線の延長上に位置し、同文字または連結線の湾曲の大きさを決定する方向点情報とからなり、この端点において文字または連結線の2つはともに上記1つの接線の方向に沿って反対方向に延出されるものであり、上記方向点が上記端点から離れるほど上記湾曲は大きくなるものであり、
所定の指示によって、上記文字情報を読み出して、複数の文字を表示させる処理と、
別の所定の指示によって、上記連結線情報を読み出して、上記表示された複数の文字を繋ぐ連結線を表示させる処理とをコンピュータに実行させるための文字表示のためのコンピュータプログラム。 Means for storing character information for drawing a plurality of characters in association with each character, and means for storing connection line information for drawing a connection line connecting one of the plurality of characters and the other one ,
The character information and the connecting line information are located on the end point information at a point where two of each character or each connecting line are connected and on the extension of one tangent line that touches the two of the character or connecting line at this end point. , And direction point information that determines the degree of curvature of the same character or connecting line, and at this end point, both of the character or connecting line are extended in opposite directions along the direction of the one tangent line. And the curvature increases as the direction point moves away from the end point,
A process of reading the character information according to a predetermined instruction and displaying a plurality of characters;
A computer program for character display for causing a computer to execute the process of reading the connection line information according to another predetermined instruction and displaying a connection line connecting the displayed characters.
上記文字情報と連結線情報とは、各文字または各連結線の2つが連結される点における端点情報と、この端点における当該文字または連結線の2つに接する1つの接線の延長上に位置し、同文字または連結線の湾曲の大きさを決定する方向点情報とからなり、この端点において文字または連結線の2つはともに上記1つの接線の方向に沿って反対方向に延出されるものであり、上記方向点が上記端点から離れるほど上記湾曲は大きくなるものであり、
所定の指示によって、上記文字情報を読み出して、複数の文字を表示させ、
別の所定の指示によって、上記連結線情報を読み出して、上記表示された複数の文字を繋ぐ連結線を表示させることを特徴とする文字表示方法。 Means for storing character information for drawing a plurality of characters in association with each character, and means for storing connection line information for drawing a connection line connecting one of the plurality of characters and the other one ,
The character information and the connecting line information are located on the end point information at a point where two of each character or each connecting line are connected and on the extension of one tangent line that touches the two of the character or connecting line at this end point. , And direction point information that determines the degree of curvature of the same character or connecting line, and at this end point, both of the character or connecting line are extended in opposite directions along the direction of the one tangent line. And the curvature increases as the direction point moves away from the end point,
According to a predetermined instruction, the character information is read out to display a plurality of characters,
According to another predetermined instruction, the connection line information is read out and a connection line connecting the plurality of displayed characters is displayed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006150585A JP2007322550A (en) | 2006-05-30 | 2006-05-30 | Character display device, character display method, and computer program for character display |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006150585A JP2007322550A (en) | 2006-05-30 | 2006-05-30 | Character display device, character display method, and computer program for character display |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007322550A true JP2007322550A (en) | 2007-12-13 |
Family
ID=38855447
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006150585A Pending JP2007322550A (en) | 2006-05-30 | 2006-05-30 | Character display device, character display method, and computer program for character display |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007322550A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102013109A (en) * | 2010-12-13 | 2011-04-13 | 广东开心信息技术有限公司 | Method and device for beautifying cursive style of handwritten Chinese characters |
CN103578450A (en) * | 2012-07-31 | 2014-02-12 | 国民技术股份有限公司 | Character display method, character display device and safety authentication device |
-
2006
- 2006-05-30 JP JP2006150585A patent/JP2007322550A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102013109A (en) * | 2010-12-13 | 2011-04-13 | 广东开心信息技术有限公司 | Method and device for beautifying cursive style of handwritten Chinese characters |
CN103578450A (en) * | 2012-07-31 | 2014-02-12 | 国民技术股份有限公司 | Character display method, character display device and safety authentication device |
CN103578450B (en) * | 2012-07-31 | 2016-02-03 | 国民技术股份有限公司 | A kind of character display method, character display device and safety certification device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2371753C2 (en) | Automatic adjustment of height for beam pens and mouse-type coordinate pointing devices meant for pointing out data on display screen | |
US7770129B2 (en) | Viewable document section | |
US7697001B2 (en) | Personalized ink font | |
US7970812B2 (en) | Redistribution of space between text segments | |
JP2001175807A (en) | Method for selecting text area | |
US20110175815A1 (en) | Character input method and system as well as electronic device and keyboard thereof | |
CN1437136A (en) | Original handwriting | |
JPH06325211A (en) | Method for controlling handwritten character entry frame | |
US7295206B2 (en) | Ink input region adjustments | |
JP2008059590A (en) | Techniques for image segment accumulation in document rendering | |
JP2010009509A (en) | Image processor, image processing method, program thereof, and storage medium | |
US11733830B2 (en) | Display apparatus for displaying handwritten data with displayed operation menu | |
CN114467071A (en) | Display device, color support device, display method, and program | |
US7280693B2 (en) | Document information input apparatus, document information input method, document information input program and recording medium | |
US7454699B2 (en) | Smart content insertion | |
US20050276480A1 (en) | Handwritten input for Asian languages | |
JP2007322550A (en) | Character display device, character display method, and computer program for character display | |
CN111813254B (en) | Handwriting input device, handwriting input method, and recording medium | |
EP3308248B1 (en) | Pan-zoom entry of text | |
CN112805664A (en) | Input device, input method, program, and input system | |
US7154511B2 (en) | Fast rendering of ink | |
US7296240B1 (en) | Document object membranes | |
CN111814530B (en) | Handwriting input device, handwriting input method, program, and input system | |
KR101159323B1 (en) | Handwritten input for asian languages | |
JP4441966B2 (en) | Handwritten character input device and recording medium recording program for realizing the same |