JPH0228884A - Graphic character registration display system - Google Patents

Graphic character registration display system

Info

Publication number
JPH0228884A
JPH0228884A JP17817688A JP17817688A JPH0228884A JP H0228884 A JPH0228884 A JP H0228884A JP 17817688 A JP17817688 A JP 17817688A JP 17817688 A JP17817688 A JP 17817688A JP H0228884 A JPH0228884 A JP H0228884A
Authority
JP
Japan
Prior art keywords
character
graphic
data
program
processing program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP17817688A
Other languages
Japanese (ja)
Inventor
Ryohei Aizawa
相澤 良平
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP17817688A priority Critical patent/JPH0228884A/en
Publication of JPH0228884A publication Critical patent/JPH0228884A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

PURPOSE:To display characters at high speed and to load character data without needing a special mechanism by holding the form of a graphic character as a program to function as one part of a graphic drawing means. CONSTITUTION:When a letter A is registered by form data consisting of six points (x1, y1)-(x6, y6) by a character data registering means 1, a character data accumulating means 2 generates character form data 23 and a character code table 22 and accumulates them in a character data accumulating medium 5. Next, a character development processing program 6 generated by a character development program generating means 3 is translated into an object format by a compiler 4. When a graphic is drawn, an application program 8 gives a character code to a graphic drawing means 9. The graphic drawing means 9 calls a character string displaying means 10. The character string displaying means 10 calls a character development processing program 7 and displays the character form data as segments on a graphic display device 11.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は計算機による図形処理において1図形文字の形
状の登録と図形文字の表示とを行なう図形文字登録表示
方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a graphic character registration and display method for registering the shape of one graphic character and displaying the graphic character in graphic processing by a computer.

〔従来の技術〕[Conventional technology]

従来9図形処理システムでは1図形文字の形状データは
文字フォントファイルとして保持されるか、特別な機構
により特別なメモリ領域にフォントデータを図形描画の
前にロードしていた。
In conventional graphic processing systems, the shape data of one graphic character was held as a character font file, or the font data was loaded into a special memory area using a special mechanism before graphic drawing.

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

上述した文字フォントファイルに文字の形状データを保
持する方式では9図形文字の描画時にフアイルの入力を
行う必要があり、性能を悪化させる可能性がある。又2
図形描画に先立って特別なメモリ領域に文字フォントデ
ータをロードする方式ではオペレーティングシステムを
含む特別々機構が必要であった。
In the above-described method of holding character shape data in the character font file, it is necessary to input the file when drawing nine-figure characters, which may deteriorate performance. Also 2
The method of loading character font data into a special memory area prior to graphic drawing required a special mechanism, including the operating system.

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

本発明による図形文字登録表示方式は。 The graphic character registration and display method according to the present invention is as follows.

図形文字の形状データとその文字に対応する文字コード
を生成する文字データ登録手段と、生成された文字デー
タを蓄積する文字データ蓄積手段と。
A character data registration means for generating shape data of a graphic character and a character code corresponding to the character, and a character data storage means for storing the generated character data.

蓄積された文字データをもとに2文字コードから文字の
形状データを生成する文字展開処理プログラムを生成す
る文字展開処理プログラム生成手段と。
A character expansion processing program generation means for generating a character expansion processing program that generates character shape data from a two-character code based on the accumulated character data.

図形描画時に、上記文字展開プログラムを利用すること
により、応用プログラムから指示された文字コードに対
応する文字を図形表示装置に表示する文字列表示手段と
を有している。
The apparatus further includes character string display means for displaying characters corresponding to character codes instructed by the application program on the graphic display device by using the character expansion program when drawing graphics.

〔実施例〕 次に2本発明について図面を参照して説明する。〔Example〕 Next, two aspects of the present invention will be explained with reference to the drawings.

第1図および第2図は2本発明の一実施例の構成を示す
ブロック図である。
FIGS. 1 and 2 are block diagrams showing the configuration of an embodiment of the present invention.

第1図は2文字データの登録を行ない9文字展開処理プ
ログラムを生成する段階の構成を示すもので1文字デー
タの作成、登録を行う文字データ登録手段1と2文字デ
ータを文字データ蓄積媒体5に蓄積する一文字データ蓄
積手段2と2文字データ蓄積媒体5の中の文字データを
参照し、ソースプログラム形式の文字展開処理プログラ
ムを生成する文字展開処理プログラム生成手段3と、生
成されたソースプログラムを翻訳するコンミ4イラ4と
、それによって得られるオブジェクトプログラム形式の
文字展開処理プログラム7から成る。
Figure 1 shows the configuration of the stage of registering 2-character data and generating a 9-character expansion processing program.Character data registration means 1 creates and registers 1-character data, and character data storage medium 5 stores 2-character data. A character expansion processing program generating means 3 generates a character expansion processing program in a source program format by referring to the character data in the one character data storage means 2 and the two character data storage medium 5 stored in the It consists of a computer program 4 to be translated and a character expansion processing program 7 in an object program format obtained thereby.

第2図は2図形の描画を指示する応用プログラム8と、
応用プログラム8から指示を受けて描画処理を、行う図
形描画手段9と2図形描画手段9が文字の表示を行う時
に呼び出される文字列表示手段1oと1文字列表示手段
10が文字の形状を問い合わせる文字展開処理プログラ
ム7と、最終的に文字を表示する図形表示装置11とか
ら成る。
FIG. 2 shows an application program 8 that instructs the drawing of two figures,
Character string display means 1o and character string display means 10, which are called when graphics drawing means 9 performs drawing processing upon receiving instructions from application program 8, display characters, inquire about the shape of characters. It consists of a character expansion processing program 7 and a graphic display device 11 that ultimately displays characters.

第3図は本実施例の処理過程で生成されるブタの論理的
な説明図である。第3図(a)は文字データ登録手段1
で英文字Aを登録する際の登録例であり、第3図(b)
は文字データ蓄積手段2によって生成される文字データ
の論理的な形式を示すもので、第3図(c)は文字展開
処理ゾログラム生成手段3によって生成される文字展開
処理プログラムの呼び出し形式の一例である。
FIG. 3 is a logical explanatory diagram of a pig generated in the process of this embodiment. Figure 3(a) shows character data registration means 1.
This is an example of registering the English letter A in Figure 3(b).
shows the logical format of the character data generated by the character data storage means 2, and FIG. 3(c) is an example of the calling format of the character expansion processing program generated by the character expansion processing zologram generation means 3. be.

第1図において2文字データ登録手段1により英文字A
を登録する際に第3図(a)のように(xlyl)〜(
X6.y6)の6点から成る形状データで登録すること
にした場合2文字データ蓄積手段2は。
In FIG.
When registering (xlyl) to (as shown in Figure 3(a))
X6. If it is decided to register the shape data consisting of 6 points of y6), the 2-character data storage means 2.

第3図(b)のように9文字を構成する線分の座標から
成る文字形状データ23と2文字コードおよびそれに対
応する文字形状データへのポインタの対で構成される文
字コードテーブル23を生成し。
As shown in FIG. 3(b), a character code table 23 is generated, which is composed of a pair of character shape data 23 consisting of the coordinates of line segments constituting nine characters, a two-character code, and a pointer to the corresponding character shape data. death.

文字データ蓄積媒体5に蓄積する。It is stored in the character data storage medium 5.

次に文字展開処理プログラム生成手段3は蓄積された文
字データを参照し、ソースプログラム形式の文字展開処
理プログラム6を生成する。生成された文字展開処理プ
ログラムは、第3図(c)に示tSに1つのサブルーチ
ンであり、2つの引数を持つ。
Next, the character expansion processing program generating means 3 refers to the stored character data and generates a character expansion processing program 6 in the form of a source program. The generated character expansion processing program has one subroutine at tS shown in FIG. 3(c) and has two arguments.

第1〆の引数C0DEはこのサブルーチンを呼び出す時
に与える文字コードであシ、第2の引数STRはこのサ
ブルーチンの返却値で、第1の引数C0DEで与えられ
た文字コードに対応する文字形状データを返す。
The first argument C0DE is the character code given when calling this subroutine, and the second argument STR is the return value of this subroutine, which contains the character shape data corresponding to the character code given in the first argument C0DE. return.

第3図の例では第1の引数C0DEとして英文字Aを与
えると、第2の引数STRとして(xl y yl)〜
(x6 y y6)の6点が返される。
In the example in Figure 3, if the first argument C0DE is given the alphabetic letter A, the second argument STR is (xl y yl) ~
Six points (x6 y y6) are returned.

生成されたソースプログラム形式の文字展開処理プログ
ラム6はコンノぐイラ4によってオブジェクト形式に翻
訳される。
The generated character expansion processing program 6 in the source program format is translated into an object format by the controller 4.

第2図における図形の描画時には、応用プログラム8は
2図形描画手段9に図形文字の描画を指示する際9文字
コードを与える。図形描画手段9は2図形文字の描画が
指示されると9文字列表示手段10を呼び出す。文字列
表示手段10は、応用プログラム8から与えられた文字
コードを引数として与えて文字展開処理プログラム7を
呼び出し。
When drawing a figure in FIG. 2, the application program 8 gives a nine-character code to the two-figure drawing means 9 when instructing it to draw a figure character. When the graphic drawing means 9 is instructed to draw two graphic characters, it calls the nine character string display means 10. The character string display means 10 calls the character expansion processing program 7 by giving the character code given from the application program 8 as an argument.

与えた文字コードに対応する文字形状データを得て、そ
のデータを線分群として図形表示装置11に送る。とれ
により2図形表示装置11に図形文字が表示される。
Character shape data corresponding to the given character code is obtained and the data is sent to the graphic display device 11 as a group of line segments. Due to the breakage, graphic characters are displayed on the two-graphic display device 11.

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

以上説明したように本発明は、任意の図形文字の形状を
登録することが可能で9図形文字の形状を図形描画手段
の一部として機能するプログラムとして保持するため、
フッイルの入出力は不要で高速に文字表示を行なうこと
が可能となり、かつ。
As explained above, the present invention is capable of registering the shapes of arbitrary graphic characters and retains the shapes of nine graphic characters as a program that functions as a part of graphic drawing means.
There is no need for film input/output, and characters can be displayed at high speed.

文字データをロードするための特別な機構は必侠とせず
、容易に実現できるという効果がある。
It does not require any special mechanism for loading character data, and has the advantage of being easily implemented.

1・・・文字データ登録手段、2・・・文字データ蓄積
手段、3・・・文字展開処理プログラム生成手段、4・
・・コンノぐイラ、5・・・文字データ蓄積媒体、6・
・・ソースフ0ロダラム、7・・・オブジェクトプログ
ラム。
1... Character data registration means, 2... Character data storage means, 3... Character expansion processing program generation means, 4.
...Konoguira, 5...Character data storage medium, 6.
... Source file 0 Rodarum, 7... Object program.

8・・・応用プログラム、9・・・図形描画手段、10
・・・文字列表示手段、11・・・図形表示装置、22
・・・文字コードテーブル、23・・・文字形状データ
8... Application program, 9... Figure drawing means, 10
...Character string display means, 11...Graphic display device, 22
...Character code table, 23...Character shape data.

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

第1図及び第2図は本発明の一実施例による図形文字登
録表示方式の構成を示すブロック図、第3図は登録され
るデータおよび生成されるプログラムの簡単な説明図で
ある。
1 and 2 are block diagrams showing the configuration of a graphic character registration and display system according to an embodiment of the present invention, and FIG. 3 is a simple explanatory diagram of registered data and a generated program.

Claims (1)

【特許請求の範囲】 1、図形文字の形状の登録と、図形描画時に登録した文
字形状データをもとに図形文字の表示とを行なう図形文
字登録表示方式において、 図形文字の形状データとその文字に対応する文字コード
を文字定義操作により生成する文字データ登録手段と、 生成された文字データを蓄積する文字データ蓄積手段と
、 蓄積された文字データをもとに、与えられた文字コード
から対応する文字の形状データを生成する文字展開処理
プログラムを生成する文字展開処理プログラム生成手段
と、 図形描画時に、前記文字展開処理プログラム生成手段に
よって生成された文字展開プログラムを利用することに
より、応用プログラムから指示された文字コードに対応
する文字を図形表示装置に表示する文字列表示手段とを
有し、 図形文字の形状データを図形描画手段の一部として機能
するプログラムとして保持することを特徴とする図形文
字登録表示方式。
[Claims] 1. In a graphic character registration and display method that registers the shape of a graphic character and displays the graphic character based on the character shape data registered at the time of drawing a graphic, the shape data of the graphic character and the character are A character data registration means that generates a character code corresponding to a given character code by a character definition operation, a character data storage means that stores the generated character data, and a character data storage means that generates a character code corresponding to a given character code based on the stored character data. A character expansion processing program generating means that generates a character expansion processing program that generates character shape data, and a character expansion program generated by the character expansion processing program generation means when drawing a figure are used to generate instructions from an application program. a character string display means for displaying a character corresponding to a character code of the graphic character on a graphic display device, and retains shape data of the graphic character as a program functioning as a part of the graphic drawing means. Registration display method.
JP17817688A 1988-07-19 1988-07-19 Graphic character registration display system Pending JPH0228884A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17817688A JPH0228884A (en) 1988-07-19 1988-07-19 Graphic character registration display system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17817688A JPH0228884A (en) 1988-07-19 1988-07-19 Graphic character registration display system

Publications (1)

Publication Number Publication Date
JPH0228884A true JPH0228884A (en) 1990-01-30

Family

ID=16043936

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17817688A Pending JPH0228884A (en) 1988-07-19 1988-07-19 Graphic character registration display system

Country Status (1)

Country Link
JP (1) JPH0228884A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05112164A (en) * 1991-10-21 1993-05-07 Nishi Nippon Denki Syst Kk Trolley wire winding device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05112164A (en) * 1991-10-21 1993-05-07 Nishi Nippon Denki Syst Kk Trolley wire winding device

Similar Documents

Publication Publication Date Title
US8311797B2 (en) Viewing system that supports multiple electronic document types
JPH0228884A (en) Graphic character registration display system
JPH03282888A (en) Marker symbol registration display system
Ratcliff et al. An inexpensive real-time microcomputer-based cognitive laboratory system
JP2669070B2 (en) Screen definition device
JPH0398169A (en) Collective changing system for features of plural elements of interactive cad
JP2754866B2 (en) Object code generator for data driven computer
Barton et al. No. 2 ESS: Service programs
Basil A microprocessor-based refreshing buffer for storage tube graphics terminals
Giloi et al. Interactive graphics on intelligent terminals in a time-sharing environment
JP3012429B2 (en) Layout data creation device
JPS63191191A (en) CRT display device with periodic figure automatic update display function
JPS61262975A (en) Cad system
JPH06119425A (en) Pick input system
JPH05233384A (en) Data dumping system
JPH0285930A (en) Record compiling system
JPH04128969A (en) Copy and transfer method
JPH0314037A (en) State transition table generating device
JPH01282964A (en) Image processor
JPH0362170A (en) Comment input method in cad system
JPS6146645U (en) Icon creation and updating device
JPS5987536A (en) Character display device
KR19990026046A (en) Automatic conversion of the text input mode
JPH0414124A (en) Keyboard device
JPH07152794A (en) Logic simulator