[go: up one dir, main page]

JPS62278051A - Character dictionary forming method - Google Patents

Character dictionary forming method

Info

Publication number
JPS62278051A
JPS62278051A JP61121943A JP12194386A JPS62278051A JP S62278051 A JPS62278051 A JP S62278051A JP 61121943 A JP61121943 A JP 61121943A JP 12194386 A JP12194386 A JP 12194386A JP S62278051 A JPS62278051 A JP S62278051A
Authority
JP
Japan
Prior art keywords
character
thickness
chain code
dictionary
pattern
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
JP61121943A
Other languages
Japanese (ja)
Inventor
Tatsuo Kasahara
笠原 龍夫
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP61121943A priority Critical patent/JPS62278051A/en
Publication of JPS62278051A publication Critical patent/JPS62278051A/en
Pending legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Dot-Matrix Printers And Others (AREA)

Abstract

PURPOSE:To obtain a high quality synthetic character with reduced dictionary capacity, by describing an outline character pattern according to a chain code then shifting said pattern according to a thickness information thereafter filling the gap to thicken the line. CONSTITUTION:A CPU 2 reads out a character code from a data memory 4 and retrieves a character dictionary 5 to obtain a starting point, thickness and a chain code of a corresponding stroke so as to form a synthetic character. The formed synthetic character pattern is outputted through a font memory 6 to an output device 7 such as a display, a printer, etc. An outline pattern of the stroke is described according to the chain code then in a thickness processing a shifting quantity of the outline pattern is determined base upon a thickness information so as to fill up with black picture elements by that shifting quantity. Then a pointer of chain code is stepped on and same processing is repeated untill an end mark is detected. Accordingly a thickness materix is not required, and the capacity of dictionary can be reduced.

Description

【発明の詳細な説明】 3、発明の詳細な説明 〔技術分野〕 本発明は、ストローク方式を用いた合成文字の作成方法
に関する。
Detailed Description of the Invention 3. Detailed Description of the Invention [Technical Field] The present invention relates to a method of creating composite characters using a stroke method.

〔従来技術〕[Prior art]

従来、ストローク方式による合成文字の作成は、文字の
ストロークの始点、太さ、チェーンコード等が一体とな
って格納されている文字辞書を索引し、得られた太さ、
チェーンコードと一致する太さマトリクスをマトリクス
辞書より選択して太線化処理を施こすことにより実現し
ており、チェーンコード等を格納する文字辞書の他に、
太さマトリクスを格納するマトリクス辞書を必要とし、
辞書容量が膨大となる問題があった。
Conventionally, creating composite characters using the stroke method indexes a character dictionary that stores the stroke start point, thickness, chain code, etc. of a character, and then uses the obtained thickness,
This is achieved by selecting a thickness matrix that matches the chain code from the matrix dictionary and applying thick line processing.In addition to the character dictionary that stores the chain code, etc.
Requires a matrix dictionary to store the thickness matrix,
There was a problem that the dictionary capacity was enormous.

〔目 的〕〔the purpose〕

本発明の目的は、上記従来技術の問題点を解決し、スト
ローク方式を用いた合成文字作成において、辞書容量が
少なく、且つ、高品質な合成文字を得ることにある。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned problems of the prior art and to obtain high-quality composite characters with a small dictionary capacity when creating composite characters using the stroke method.

〔構 成〕〔composition〕

本発明は、ストローク方式を用いて合成文字を作成する
場合、チェーンコードにより骨字(骨格パターン)を描
画した後、太さ情報に従って上記骨字をシフトして太め
処理を行い、太さマトリクスを格納するマトリクス辞書
を不要としたものである。
When creating a composite character using the stroke method, the present invention draws a bone character (skeletal pattern) using a chain code, then shifts and thickens the bone character according to thickness information, and creates a thickness matrix. This eliminates the need for a matrix dictionary to be stored.

以下、本発明の一実施例について図面により説明する。An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例のブロック図を示す。FIG. 1 shows a block diagram of one embodiment of the invention.

第1図において、キーボード等の入力装置1から文字コ
ードが入力され、CPU2を介してデータメモリ(RA
M)4に格納される。一方1文字辞書5には、1文字が
1ストロークとして、ストロークの始点、太さ、チェー
ンコードが一体となって格納されている。CPU2は、
データメモリ4から文字コードを読み出して文字辞書5
を索引し、当該文字コードに対応するストロークの始点
、太さ、チェーンコードを得、合成文字を作成する。
In FIG. 1, a character code is input from an input device 1 such as a keyboard, and is sent to a data memory (RA) via a CPU 2.
M) stored in 4. On the other hand, in the one-character dictionary 5, one character is one stroke, and the stroke start point, stroke thickness, and chain code are stored together. CPU2 is
Read the character code from the data memory 4 and read the character code from the character dictionary 5
is indexed, the stroke start point, thickness, and chain code corresponding to the character code are obtained, and a composite character is created.

作成された合成文字パターンはフォントメモリ6を介し
てディスプレイあるいはプリンタ等の出力装置7に出力
される。Cr’U2における一連の処理はプログラムメ
モリ3に格納されているプログラムの制御下で達成され
る。
The created composite character pattern is outputted via the font memory 6 to an output device 7 such as a display or a printer. A series of processes in Cr'U2 are accomplished under the control of a program stored in program memory 3.

第2図は文字辞に5の構造を説明する図であり、同図(
イ)のかな文字[いJに対し、同図(ロ)に示す如く、
始点、太さ、チェーンコード等が一体となって文字辞書
5に格納される。チェーンコードはストロークの心線(
破線部)の移動方向を示し、例えば同図(ハ)に示す0
〜7の方向コードで記述される。
Figure 2 is a diagram explaining the structure of the letter 5.
b) Kana character [for J, as shown in the same figure (b),
The starting point, thickness, chain code, etc. are stored together in the character dictionary 5. The chain cord is the core wire of the stroke (
For example, 0 as shown in the same figure (c).
It is described with a direction code of ~7.

次に本発明による合成文字作成の処理手順を第3図のフ
ローチャートに従って詳述する。
Next, the processing procedure for creating composite characters according to the present invention will be explained in detail according to the flowchart shown in FIG.

まず、文字辞書5を索引して久方文字コードに対応する
ストロークの始点、太さ、チェーンコードを読み出しく
ステップ101)、先頭の始点S工、太さFいチェーン
コードを設定する(ステップ102)。次に、チェーン
コードがエンドマークかどうか判定しくステップ103
)、エンドマークでない場合は、当該チェーンコードに
従ってストロークの骨格パターンを描画しくステップ1
゜4)、引き続いて太さ処理を行う(ステップ1゜5)
。太さ処理では、太さ情報に基づいて骨格パターンのシ
フト量を決定し、そのシフト量だけ黒画素で埋める。次
に、チェーンコードのポインタを進め(ステップ106
)、エンドマークが検出=3− されるまで同様の処理を繰り返する。
First, the character dictionary 5 is indexed to read out the starting point, thickness, and chain code of the stroke corresponding to the Kuga character code (step 101), and the first starting point S and thickness F are set (step 102). ). Next, step 103 determines whether the chain code is an end mark.
), if it is not an end mark, draw a skeletal pattern of the stroke according to the chain code in step 1.
゜4), then perform thickness processing (step 1゜5)
. In the thickness processing, the amount of shift of the skeleton pattern is determined based on the thickness information, and black pixels are filled in by the amount of shift. Next, advance the chaincode pointer (step 106
), the same process is repeated until the end mark is detected = 3-.

第4図は本発明による合成文字作成の具体例で、実線が
チェーンコードによる骨格パターン、破線が該骨格パタ
ーンを所定の斌だけ右シフトして得られるシフト骨格パ
ターンである。この両パターンの間を黒画素で埋めるこ
とにより所望の太さの合成文字が得られる。第4図は骨
格パターンを一様に右シフトする例であるが、必要に応
じて左、]−1下、いずれにシフトしてもよい。
FIG. 4 shows a specific example of creating a composite character according to the present invention, where the solid line is a skeleton pattern based on a chain code, and the broken line is a shifted skeleton pattern obtained by shifting the skeleton pattern by a predetermined distance to the right. By filling the space between these two patterns with black pixels, a composite character of a desired thickness can be obtained. Although FIG. 4 shows an example in which the skeleton pattern is uniformly shifted to the right, it may be shifted to the left or down by ]-1 as necessary.

〔効 果〕〔effect〕

以上の説明から明らかな如く、本発明によれば、チェー
ンコードで描画される骨格パターンをシフトして所望の
太線化文字パターンを得るため、太さマトリクスを用意
する必要がなく、辞芹容量が軽減できる。さらに本発明
では、シフ1〜方向を変えることにより、種々のフォノ
)−を合成することが可能になる。
As is clear from the above description, according to the present invention, the skeleton pattern drawn by the chain code is shifted to obtain the desired thickened character pattern, so there is no need to prepare a thickness matrix, and the dictionary capacity is reduced. It can be reduced. Furthermore, in the present invention, by changing the shift direction, it is possible to synthesize various phono).

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

第1図は本発明の一実施例のブロック図、第2図は文字
辞書の構造を説明するための図、第3図は本発明による
合成文字作成を説明するためのフローチャート、第4図
は本発明による合成文字作成の具体例を示す図である。 1・・・入力装置、 2・・・CPU、 3・・・プロ
グラムメモリ、 4・・・データメモリ、  5・・・
文字辞書、 6・・・フォントメモリ、 7・・・出力
装置。
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a diagram for explaining the structure of a character dictionary, FIG. 3 is a flowchart for explaining the creation of composite characters according to the present invention, and FIG. 4 is a diagram for explaining the structure of a character dictionary. FIG. 3 is a diagram showing a specific example of creating a composite character according to the present invention. DESCRIPTION OF SYMBOLS 1... Input device, 2... CPU, 3... Program memory, 4... Data memory, 5...
Character dictionary, 6... Font memory, 7... Output device.

Claims (2)

【特許請求の範囲】[Claims] (1)ストローク方式による合成文字作成法において、
文字辞書よりストロークの始点、太さ、チェーンコード
等を読み出し、そのチェーンコードに従って骨格文字パ
ターンを描画すると共に、太さ情報に従って前記骨格文
字パターンをシフトし、その間を埋めることにより骨格
文字パターンの太線化を達成することを特徴とする合成
文字作成方法。
(1) In the method of creating composite characters using the stroke method,
Read the stroke start point, thickness, chain code, etc. from the character dictionary, draw a skeletal character pattern according to the chain code, shift the skeletal character pattern according to the thickness information, and fill in the gaps to draw the thick line of the skeletal character pattern. A composite character creation method characterized by achieving .
(2)前記骨格文字パターンをシフトする方向は一方向
あるいは複数方向であることを特徴とする特許請求の範
囲第1項記載の合成文字作成方法。
(2) The composite character creation method according to claim 1, wherein the skeleton character pattern is shifted in one direction or in a plurality of directions.
JP61121943A 1986-05-27 1986-05-27 Character dictionary forming method Pending JPS62278051A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61121943A JPS62278051A (en) 1986-05-27 1986-05-27 Character dictionary forming method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61121943A JPS62278051A (en) 1986-05-27 1986-05-27 Character dictionary forming method

Publications (1)

Publication Number Publication Date
JPS62278051A true JPS62278051A (en) 1987-12-02

Family

ID=14823764

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61121943A Pending JPS62278051A (en) 1986-05-27 1986-05-27 Character dictionary forming method

Country Status (1)

Country Link
JP (1) JPS62278051A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01166967A (en) * 1987-12-24 1989-06-30 Toyo Sangyo Kk Pattern data forming method and pattern generator containing said pattern data
JPH01168461A (en) * 1987-12-25 1989-07-03 Canon Inc Pattern generation system
JPH01272460A (en) * 1988-04-26 1989-10-31 Nippon Joho Kagaku Kk Method and apparatus for generating character
JPH01274948A (en) * 1988-04-26 1989-11-02 Hiromae Takaaki Carving method and device for letter and lettered data making device
US4993853A (en) * 1989-08-11 1991-02-19 International Business Machines Corporation Matrix character modification information unique to a given font

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01166967A (en) * 1987-12-24 1989-06-30 Toyo Sangyo Kk Pattern data forming method and pattern generator containing said pattern data
JPH0586920B2 (en) * 1987-12-24 1993-12-14 Toyo Sangyo Kk
JPH01168461A (en) * 1987-12-25 1989-07-03 Canon Inc Pattern generation system
JPH01272460A (en) * 1988-04-26 1989-10-31 Nippon Joho Kagaku Kk Method and apparatus for generating character
JPH01274948A (en) * 1988-04-26 1989-11-02 Hiromae Takaaki Carving method and device for letter and lettered data making device
JPH0552793B2 (en) * 1988-04-26 1993-08-06 Nippon Joho Kagaku Kk
US4993853A (en) * 1989-08-11 1991-02-19 International Business Machines Corporation Matrix character modification information unique to a given font

Similar Documents

Publication Publication Date Title
US4621340A (en) Method for construction and display of ideographic characters
US4931953A (en) Character pattern generation method and system therefor
JPH04500130A (en) Method and apparatus for converting outline characters to bitmap characters
JPS5936778B2 (en) data printing device
US4827254A (en) Display apparatus adapted to display various types of modified characters
JPS62278051A (en) Character dictionary forming method
US5519412A (en) Pattern processing method
US5038385A (en) Area filling method for filling an inside portion of a raster graphic obtained by developing a binary graphic described by direction codes
CN105373519B (en) A kind of editing device and method of Technical symbol
US5309549A (en) Method for and apparatus for synthesizing and filling in figures having contours
US4835529A (en) Output display apparatus
JPH03213367A (en) Multicolor printer
JP3800280B2 (en) Dashed line generator
JP3065507B2 (en) Image output device
JP2956784B2 (en) Kanji font data conversion method
JP2895512B2 (en) Character output method
JP2567590B2 (en) Character generator
KR850005645A (en) Enlarged Image Output Device
JPS6317493A (en) Processing of character font data
JPS60242492A (en) Character generator
JP3027456B2 (en) Font conversion control method
JPS629389A (en) Character pattern generator
JPH02166497A (en) Conversion system for graphic segment drawn character
JPS63103291A (en) Character synthesization
JPH09325748A (en) Device and method for generating character pattern