JPH03137695A - Character display system - Google Patents

Character display system

Info

Publication number
JPH03137695A
JPH03137695A JP1274941A JP27494189A JPH03137695A JP H03137695 A JPH03137695 A JP H03137695A JP 1274941 A JP1274941 A JP 1274941A JP 27494189 A JP27494189 A JP 27494189A JP H03137695 A JPH03137695 A JP H03137695A
Authority
JP
Japan
Prior art keywords
character
line segment
font
painting
data
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
JP1274941A
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 JP1274941A priority Critical patent/JPH03137695A/en
Publication of JPH03137695A publication Critical patent/JPH03137695A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Digital Computer Display Output (AREA)
  • Image Generation (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To shorten display processing time by recognizing a direction in which the inside of a character contour is pained out based on character font painting- out direction data and displaying a line segment based on the painting-out direction and a character contour coordinate string. CONSTITUTION:An application program 1 gives the code of a character displayed on a display device 7 to a font data retrieving means 3, which extracts font data corresponding to the given character code from a character font accumulating medium 2. The extracted font data is handed over to a painting- out direction recognizing means 4, and a line segment drawing direction used to paint out is read out of a font painting-out direction data part D. Based on the painting-out direction D and character contour vertex coordinate strings in character contour coordinate data parts P1 to Pn, a line segment drawing command generating means 5 calculates the start and end points of the line segment used to paint out in the coordinate strings of the display device 7 and generates a line segment drawing command string and transmits it to a character display means 6.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は文字7オントr−夕をもとく表示装置に文字を
表示する文字表示手段に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a character display means for displaying characters on a display device based on a character format.

〔従来の技術〕[Conventional technology]

従来、輪郭の座標列で表現される文字フォントデータを
利用し、a分表示機能によシ文字を表示する場合には、
縦または横のいずれか一方の方向のみで線分t−表示す
ることにより輪郭の内部を塗りつぶして文字を表現して
いた。
Conventionally, when displaying characters using the a-minute display function using character font data expressed by outline coordinate strings,
Characters were expressed by filling in the inside of the outline by displaying line segments in only one direction, either vertically or horizontally.

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

しかしながら、上述した従来の方式では1輪郭の内部の
塗シつぶしを縦または横のいずれか一方の方向のみで線
分を表示することにより行っていたので1文字によって
は線分描画′(!−縦方向に行うより横方・向に行う方
が線分描画回数が少ないにもかかわらず縦方向に線分描
画を行ったり、また逆に線分描画を横方向に行うより縦
方向に行う方が線分描画回数が少ないにもかかわらず横
方向に線分描画を行うという状況が生じるという欠点が
あった。
However, in the conventional method described above, the inside of one outline is filled in by displaying line segments only in either the vertical or horizontal direction, so depending on the character, line segments may be drawn ′(!- Line segments are drawn in the vertical direction even though the number of lines drawn in the horizontal direction is smaller than in the vertical direction, or vice versa. However, there is a drawback that line segments are drawn in the horizontal direction even though the number of line segment drawings is small.

本発明はこのような従来の欠点を抜書したもので、その
目的は1文字の輪郭の内部の*bつぶしの九めの線分描
画の回数を必要最小限に抑え1文字の表示処理に蚤する
時間を短靴させることの可能な文字表示方式を提供する
ことにある。
The present invention eliminates these conventional drawbacks, and its purpose is to minimize the number of times the ninth line segment of *b is filled inside the outline of one character is drawn to the necessary minimum, thereby reducing the difficulty in display processing of one character. To provide a character display method that can save time.

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

本発明の文字表示方式は1文字の輪郭座標列と輪郭内を
塗りつぶすのに最適な方向を示す塗りつぶし方向データ
とからなる文字フォントデータを検索し抽出する7オン
トr−夕検索手段と、フォント内の血りつぶし方向デー
タに基づいて文字の輪郭の内部を盆シつぶす方向を認識
する■9つぶし方向!Ii!!m手段と、得られfc塗
、bつぶし方向と輪郭座標列とをもとに線分描画コiン
ド列を生成する線分描画コマンド生成手段と、生成され
九線分描画コマンド列に基づき線分を表示し文字を表現
する文字表示手段とを有している。
The character display method of the present invention includes a seven-character search means for searching and extracting character font data consisting of a contour coordinate string of one character and fill direction data indicating the optimal direction for filling the inside of the contour; Recognizes the direction to crush the inside of the outline of the character based on the blood crushing direction data ■9 crushing directions! Ii! ! m means, a line segment drawing command generating means for generating a line segment drawing command string based on the obtained fc painting, b fill direction and contour coordinate string, and a line segment drawing command generating means for generating a line segment drawing command string based on the generated nine line segment drawing command string and character display means for displaying minutes and representing characters.

〔作用〕[Effect]

フォントデータ検索手段は1例えば外部よシ文字コード
が与えられると、この文字コードに対応した文字フォン
トデータを検索し抽出する。文字フォ7トf’−夕は1
輪郭座標列と1輪郭内部mりつぶすのに最適な方向を示
す塗りつぶし方向−r −タとからなっており、文字フ
ォントデータの1/1シつぶし方向r−夕に基づいて文
字の輪郭内部を血シつぶす方向が認識され、との塗シつ
ぶし方向と輪郭座標列に基づき線分コマンド列が生成さ
れ、これにより線分を表示し文字を表現する。
When the font data search means is given, for example, an external character code, it searches for and extracts character font data corresponding to this character code. Letter photo 7f'-evening is 1
It consists of a contour coordinate string and a filling direction -r-ta indicating the optimal direction for filling inside one contour. The blood smearing direction is recognized, and a line segment command string is generated based on the smearing direction and the outline coordinate string, thereby displaying the line segment and expressing the character.

〔実施例〕〔Example〕

以下、本発明の実施例について図面を参照して説明する
Embodiments of the present invention will be described below with reference to the drawings.

第1・図は本発明の文字表示方式の一実施例の構成図で
あり、本実施例は、応用グログラムlによって与えられ
た文字コーPに対応するフォントデータを検索し文字フ
ォント蓄積媒体2から抽出するフォントデータ検索手段
3と、抽出されたフォントデータO中から塗シつぶし方
向データを取9出し文字の輪郭の内部を塗シつぶす線分
の描画方向を決定する塗りつぶし方向認識手段4と、決
定された線分描画方向に一分を描画する線分描画コマン
ドを生成する線分描画コマンド生成手段5と、生成され
た線分描画コマンドを表示装置7に送出し、表示装置7
の表示面に文字を表示させる文字表示手段6とを備えて
いる。
Fig. 1 is a configuration diagram of an embodiment of the character display method of the present invention. In this embodiment, font data corresponding to the character code P given by the applied grammatical program I is retrieved from the character font storage medium 2. font data retrieval means 3 to extract; fill direction recognition means 4 to extract fill direction data from the extracted font data O and determine the drawing direction of a line segment that fills in the inside of the outline of a character; A line segment drawing command generating means 5 that generates a line segment drawing command to draw one minute in the determined line segment drawing direction, and a line segment drawing command generating means 5 that sends the generated line segment drawing command to the display device 7.
and character display means 6 for displaying characters on the display surface of the screen.

第2図は文字フォント蓄積媒体2内に格納され、7オン
トr−夕検索手段3によシ抽出されるフォントデータの
フォーマットを示す図であシ、フォントデータのフォー
マットは、塗りつぶしの際の線分描画方向を表すl!!
りつぶし方向データ部りと文字の輪郭の頂点の座標点列
を表す文字輪郭座標データ部P、〜Pnからなりている
FIG. 2 is a diagram showing the format of font data stored in the character font storage medium 2 and extracted by the 7 font search means 3. l which represents the drawing direction! !
It consists of a crushing direction data section 1 and a character contour coordinate data section P, -Pn representing a sequence of coordinate points of the vertices of the character contour.

第3図(alは横方向に塗りつぶされる文字@E″のフ
ォントデータを示す図であ)、第3図(blは文字@E
”の輪郭の頂点座標P、〜P1□によりて表現される文
字“E”の形状を示す図である。!iた第4図(&)は
縦方向にmbつぶされる文字”l′のフォントデータを
示す図であシ、第4図(b)は文字′″l′″の輪郭の
頂点座標P、〜P1.によりて表現される文字′″l″
の形状を示す図である。
Figure 3 (al is a diagram showing the font data of the character @E'' that is filled in horizontally), Figure 3 (bl is the diagram showing the font data of the character @E'')
`` is a diagram showing the shape of the letter "E" expressed by the vertex coordinates P, ~P1□ of the outline of ! FIG. 4(b) is a diagram showing the data, and FIG. 4(b) shows the vertex coordinates P, ~P1. The character ′″l″ represented by
FIG.

次にこのような構成における文字表示動作について説明
する。
Next, a character display operation in such a configuration will be explained.

帛1図において応用プログラム1は表示装置7に表示す
べき文字のコードをフォントで一夕検索手段3に与え、
フォントデータ検索手段3は与えられた文字コードに対
応するフォントデータを検索し1文字フォント蓄積媒体
2から抽出する。抽出されたフォントデータは*rつぶ
し方向認識手段4に渡され、第2図に示す7オントデー
タ中の血シつぶし方向データ部りより塗シつぶしのため
の線分の描画方向を読み取る。
In Figure 1, the application program 1 gives the code of the character to be displayed on the display device 7 to the overnight search means 3 in font,
The font data search means 3 searches for font data corresponding to the given character code and extracts it from the single character font storage medium 2. The extracted font data is passed to the *r filling direction recognition means 4, which reads the drawing direction of the line segment for filling from the blood filling direction data part in the 7-ont data shown in FIG.

次に線分描画コマンド生成手段5が、第2図に示すフォ
ントデータ中の文字輪郭座標データ部P。
Next, the line segment drawing command generation means 5 generates the character contour coordinate data section P in the font data shown in FIG.

〜Pnの文字の輪郭の頂点座標列と、mbつぶし方向認
識手段4で読み取られた塗シつぶし方向りとをもとに、
!!!示装型装置7標系において塗りつぶしのための線
分の始点、終点を算出し、線分描画コマンド利金生成す
る・ 第3図(a) 、 (b)のように皇)つぶし方向が横
方向の場合には、第5図(a)で示されるような巌分描
画金行う線分描画コマ/ド列が生成され文字表足手R6
により表示装置7に送出されて第5図(b)で示される
ような文字″E”が表示される。
Based on the vertex coordinate string of the outline of the character ~Pn and the filling direction read by the mb filling direction recognition means 4,
! ! ! The display type device calculates the starting point and ending point of the line segment for filling in the 7 standard system, and generates the line segment drawing command rate. In the case of the direction, a line segment drawing command/do sequence is generated as shown in FIG. 5(a), and the character table foot R6
is sent to the display device 7, and the character "E" as shown in FIG. 5(b) is displayed.

また第4図(a) a (b)のよりにmシつふし方向
が縦方向の場合には、第6図(a)で示されるような線
分描画コマンド列が生成され、これによシ、第6図(b
)で示されるような文字11“が表示される。
In addition, if the m drawing direction is vertical as shown in Figures 4(a) and (b), a line segment drawing command sequence as shown in Figure 6(a) is generated, and this generates a line segment drawing command string as shown in Figure 6(a). Figure 6 (b)
) will be displayed.

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

以上説明したように本発明は1文字フォントデータ内に
文字の輪郭の内部を塗シつぶす際の最適な塗シつぶし方
向のデータを保持し1文字を線分描画によりて表示する
際、その塗シつぶし方向のデータをもとに線分描画を行
なうようにしているので、文字の輪郭の内部のmbつぶ
しの為の線分描画の回数を必要最小限における事が可能
となり。
As explained above, the present invention retains data on the optimal filling direction when filling in the inside of the outline of a character in one character font data, and when displaying one character by line segment drawing, Since line segments are drawn based on data in the fill direction, it is possible to minimize the number of line segment drawings needed to fill in the MB inside the outline of a character.

文字の表示処理時間を短縮することができるといり効果
がある。
This has the effect of shortening the character display processing time.

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

第1図は本発明の一実施例の構成図、第2図は文字フォ
/)f−夕のフォーマットの一例を示す図、第3図(a
lは横方向に′I11シつぶされる文字1E″の7オン
トデータを示す図、第3図(b)は文字1E′の形状を
示す図、第4図(a)は縦方向にl!!、りつぶされる
文字″1”のフォ/トf−夕を示す図、第4図[b)は
文字″1″の形状を示す図、第5図(a) e (b)
は第3図(a) 、 Ijに基づいて線分描画コマンド
列を生成し文字1E″t−表示する処理を説明するため
の図、第6図(a) # (b)は第4図(al 、 
(b)に基づいて線分描画コマンド列を生成し文字”l
”を表示する処理を説明するための図である。 第1図において。 l・・・応用プログラム、2・・・文字フォント蓄積媒
体、3・・・フォントデータ検索手段、4・・・塗りつ
ぶし方向g臘手段、5・・・線分描画コマンド生成手段
。 6・・・文字表示手段、7・・・表示装置。
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a diagram showing an example of the format of the characters FO/)F-Y, and FIG.
l is a diagram showing the 7-ont data of the character 1E'' which is crushed by 'I11' in the horizontal direction, Figure 3(b) is a diagram showing the shape of the character 1E', and Figure 4(a) is the vertical direction l! Figure 4 [b] is a diagram showing the shape of the character "1", Figure 5 (a) e (b)
FIG. 3(a) is a diagram for explaining the process of generating a line segment drawing command string based on Ij and displaying the character 1E''t-, and FIG. al,
Generate a line segment drawing command string based on (b) and
” is a diagram for explaining the process of displaying “.” In FIG. 5. Line segment drawing command generation means. 6. Character display means. 7. Display device.

Claims (1)

【特許請求の範囲】[Claims] 文字の輪郭座標列と輪郭内を塗りつぶすのに最適な方向
を示す塗りつぶし方向データとからなる文字フォントデ
ータを検索し抽出するフォントデータ検索手段と、フォ
ントデータ内の塗りつぶし方向データに基づいて文字の
輪郭の内部を塗りつぶす方向を認識する塗りつぶし方向
認識手段と、塗りつぶし方向認識手段で得られた塗りつ
ぶし方向と文字の輪郭座標列とをもとに線分表示コマン
ド列を生成する線分表示コマンド生成手段と、生成され
た線分表示コマンド列に基づき線分を表示し文字を表現
する文字表示手段とを備えていることを特徴とする文字
表示方式。
A font data search means for searching and extracting character font data consisting of a character outline coordinate string and fill direction data indicating the optimal direction for filling inside the outline; a fill direction recognition means for recognizing the direction in which the interior of the character is filled; and a line segment display command generating means for generating a line segment display command string based on the fill direction obtained by the fill direction recognition means and a character outline coordinate string. 1. A character display method comprising: character display means for displaying line segments and expressing characters based on the generated line segment display command string.
JP1274941A 1989-10-24 1989-10-24 Character display system Pending JPH03137695A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1274941A JPH03137695A (en) 1989-10-24 1989-10-24 Character display system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1274941A JPH03137695A (en) 1989-10-24 1989-10-24 Character display system

Publications (1)

Publication Number Publication Date
JPH03137695A true JPH03137695A (en) 1991-06-12

Family

ID=17548685

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1274941A Pending JPH03137695A (en) 1989-10-24 1989-10-24 Character display system

Country Status (1)

Country Link
JP (1) JPH03137695A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07234946A (en) * 1993-12-28 1995-09-05 Matsushita Electric Ind Co Ltd Method and device for plotting polygon

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07234946A (en) * 1993-12-28 1995-09-05 Matsushita Electric Ind Co Ltd Method and device for plotting polygon

Similar Documents

Publication Publication Date Title
KR102124466B1 (en) Apparatus and method for generating conti for webtoon
JPS63216169A (en) Self service transaction apparatus
JPH0773190A (en) Pictograph naming for pen base computer system
CA2027253A1 (en) Editing text in an image
JP2006179003A (en) Semantic document smart nail
JPH0521267B2 (en)
JPH064206A (en) Handwritten character input device
JPH03137695A (en) Character display system
JPH10162098A (en) Document electrolyzing device and method therefor
JPH0215910B2 (en)
JP3167800B2 (en) Online character input device
JP2003067407A (en) Vehicle-mounted information retrieving device and information retrieving method
JPH0782530B2 (en) Handwriting recognition device
JP2770042B2 (en) Laser message display
JP2578965B2 (en) Graphic processing unit
JPH10198699A (en) Device and method for retrieving family crest
JPH0677252B2 (en) Japanese data input processor
JPS62190565A (en) Device for making fair copy of hand-written pattern
JP3454939B2 (en) Character recognition method and character input device
JPH05189606A (en) Method for detecting character string area
JPH01213690A (en) Character display device
JPH0434655A (en) Drawing reader
JPH07200633A (en) Data retrieval system and retrieval conditional expression generator for data base
JPH11134437A (en) Device for recognizing handwritten character
JP2000098997A (en) Device and method for displaying character