Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS631590B2 - - Google Patents
[go: Go Back, main page]

JPS631590B2 - - Google Patents

Info

Publication number
JPS631590B2
JPS631590B2 JP6672980A JP6672980A JPS631590B2 JP S631590 B2 JPS631590 B2 JP S631590B2 JP 6672980 A JP6672980 A JP 6672980A JP 6672980 A JP6672980 A JP 6672980A JP S631590 B2 JPS631590 B2 JP S631590B2
Authority
JP
Japan
Prior art keywords
font
character
stroke
section
strokes
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.)
Expired
Application number
JP6672980A
Other languages
Japanese (ja)
Other versions
JPS56162788A (en
Inventor
Noboru Murayama
Toshuki Sakai
Yasuo Ariki
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 JP6672980A priority Critical patent/JPS56162788A/en
Publication of JPS56162788A publication Critical patent/JPS56162788A/en
Publication of JPS631590B2 publication Critical patent/JPS631590B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 本発明は、オリジナル書体の入力文字を他の書
体に変換させて出力させる書体変換装置に関す
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a typeface conversion device that converts input characters in an original typeface to another typeface and outputs the converted typeface.

従来、この種の書体変換装置は何ら存在せず、
例えばゴシツク体などの比較的単純な書体による
文字(特に漢字)を明朝体などの比較的複雑な書
体の文字に変換させるような場合、その変換対象
となる特殊な書体の設計は専ら人手に頼つている
状態で、1書体あたり数千文字分もの設計に長時
間を費やしている現状にある。
Conventionally, no typeface conversion device of this type existed;
For example, when converting characters (particularly kanji) in a relatively simple font such as Gothic font to characters in a relatively complex font such as Mincho, the design of the special font to be converted is done exclusively by hand. Currently, many hours are spent designing thousands of characters per typeface.

本発明は、オリジナル書体の文字パターンを入
力させるだけで任意な書体に自動的に変換させ、
同一文字の特殊な書体による文字パターンを適宜
設定された画郭サイズで出力させることができる
ようにした新規な書体変換装置を提供するもので
ある。
The present invention automatically converts the font to any desired font simply by inputting the character pattern of the original font.
The present invention provides a novel typeface conversion device that is capable of outputting character patterns of the same character in a special typeface with a suitably set border size.

以下、添付図面を参照して本発明の一実施例に
ついて詳述する。
Hereinafter, one embodiment of the present invention will be described in detail with reference to the accompanying drawings.

第1図は本発明による書体変換装置の基本的な
構成を示すもので、予めオリジナル書体による複
数の入力文字をその各パターンに応じた画郭(ス
トローク)に分解し、入力文字ごとにその構成要
素のストロークを変換対象の書体に応じて正規化
してメモリMに記述登録させるプロセス系Aと、
書体変換の対象となる文字コードを指定して、そ
の指定文字を構成する各ストロークをメモリMか
ら読出してストロークごとにサイズ変換、書体変
換(フオント変換)を行なわせ、それを組立てて
所定の書体に変換された文字を出力させるプロセ
ス系Bとによつて構成されている。
FIG. 1 shows the basic configuration of a typeface conversion device according to the present invention, in which a plurality of input characters in an original typeface are decomposed in advance into strokes according to each pattern, and the configuration is created for each input character. a process system A that normalizes the stroke of an element according to the typeface to be converted and registers it in a memory M;
A character code to be converted into a typeface is specified, each stroke constituting the specified character is read from the memory M, size conversion and typeface conversion (font conversion) are performed for each stroke, and the code is assembled into a predetermined typeface. and a process system B that outputs characters converted into .

また、前記プロセス系Aは、入力部1、細線化
処理部2、支点抽出部3およびストローク抽出部
4からなつており、それら各部の動作について、
第3図a〜cに示す各文字パターンを参照しなが
ら、以下に説明をする。
Further, the process system A is composed of an input section 1, a thinning processing section 2, a fulcrum extraction section 3, and a stroke extraction section 4, and the operation of each of these sections is as follows.
Description will be given below with reference to each character pattern shown in FIGS. 3a to 3c.

まず入力部1において、例えば第4図に示すよ
うなオリジナル書体による複数の文字をそれぞれ
n×n構成の画素単位に分解して読取らせ、それ
ら各読取られた文字情報の2値量子化を行なわせ
ることにより濃度分布補正をなし、そのうえで各
文字ごとに切出しが行なわれる。具体的には、こ
の入力部1は第2図に示すように、スキヤナ1
1、2値化回路12および文字切出回路13によ
つて構成されている。また、その代わりに、予め
MT等におけるドツト化された文字パターンを読
出すようにしたものを用いてもよいことはいうま
でもない。第3図aは、オリジナル書体による文
字「者」を64×64の画素構成によつて読取つたと
きのドツトパターンを示している。
First, in the input unit 1, a plurality of characters in an original typeface as shown in FIG. By doing this, the density distribution is corrected, and then each character is cut out. Specifically, this input section 1 has a scanner 1 as shown in FIG.
1, a binarization circuit 12 and a character cutting circuit 13. Also, instead of that, in advance
It goes without saying that a device adapted to read dotted character patterns in MT or the like may also be used. FIG. 3a shows the dot pattern when the character ``person'' in the original font is read using a 64×64 pixel configuration.

次に、細線化処理回路2では、入力部1によつ
て入力された各オリジナル書体による文字のドツ
トパターンにおける近傍の数ドツト(普通8点ぐ
らい)の連結性を保存して幅1に細線化、すなわ
ちその文字パターンを全て1画素分のパターンに
変形処理させる。第3図bは、細線化された文字
パターンを示している。
Next, the thinning processing circuit 2 preserves the connectivity of several neighboring dots (usually about 8 dots) in the dot pattern of each original font inputted by the input unit 1, and thins the dot pattern to a width of 1. That is, the entire character pattern is transformed into a pattern for one pixel. FIG. 3b shows a thinned character pattern.

次に、支点抽出部3では、細線化された文字パ
ターンにもとづき、その文字を構成するストロー
クの線分(セグメント)の傾きを検出し、そのセ
グメントの傾きから文字を構成する点を分類して
支点すなわちセグメントの端点と交点との二次座
標上のアドレスを求める。具体的には、この支点
抽出部3は第2図に示すように、ストロークセグ
メント検出回路31、支点抽出回路32およびそ
の抽出された支点の不自然さを修正させる支点補
正回路33によつて構成されている。第3図cは
ストロークセグメント抽出された文字パターンを
示しており、支点補正の効果は同図bの文字パタ
ーンと比較すれば歴然である。
Next, based on the thinned character pattern, the fulcrum extraction unit 3 detects the inclination of the line segments of the strokes that make up the character, and classifies the points that make up the character based on the inclination of the segments. Find the address on the quadratic coordinates of the fulcrum, that is, the end point of the segment, and the intersection. Specifically, as shown in FIG. 2, the fulcrum extraction unit 3 is composed of a stroke segment detection circuit 31, a fulcrum extraction circuit 32, and a fulcrum correction circuit 33 that corrects the unnaturalness of the extracted fulcrum. has been done. FIG. 3c shows a character pattern from which stroke segments have been extracted, and the effect of fulcrum correction is obvious when compared with the character pattern shown in FIG. 3b.

最終的に、ストローク抽出部4において、支点
抽出部3で求められたセグメントの傾きと支点の
アドレスをもとに、文字を構成するストロークを
双方向に連続性の良いセグメントを結ぶことによ
つてそれぞれ抽出させ、その抽出された各ストロ
ークを変換対象の書体に応じて正規化された複数
種類(例えば明朝体では19種程度、第5図参照)
の基本ストロークと分類照合して、各文字ごとに
分類されたストロークをメモリMにそれぞれ登録
させる。なお、19種程度の基本ストロークでは全
ての書体変換が可能になるとはいえないが、明朝
体が比較的複雑な書体であることを考えると、そ
れ以上その基本ストロークの種類が大幅にふえる
ことがない。具体的には、このストローク抽出部
4は第2図に示すように、ストローク抽出回路4
1およびストローク分類回路42によつて構成さ
れている。
Finally, in the stroke extraction section 4, based on the inclination of the segment and the address of the fulcrum found in the fulcrum extraction section 3, the strokes that make up the character are connected in both directions by connecting segments with good continuity. Each extracted stroke is normalized according to the typeface to be converted (for example, about 19 types for Mincho typeface, see Figure 5).
The strokes classified for each character are registered in the memory M by comparing the classification with the basic strokes. Although it cannot be said that all typeface conversions are possible with around 19 types of basic strokes, considering that the Mincho font is a relatively complex typeface, the number of types of basic strokes can be significantly increased. There is no. Specifically, as shown in FIG. 2, this stroke extraction section 4 includes a stroke extraction circuit 4
1 and a stroke classification circuit 42.

次に、前記プロセス系Bは、文字コード指定部
5、ストロークのサイズ変換部6、ストロークの
フオント変換部7、文字合成部9および出力部9
からなつており、それら各部の動作について、第
3図d〜gに示す各文字パターンを参照しなが
ら、以下に説明をする。
Next, the process system B includes a character code specifying section 5, a stroke size converting section 6, a stroke font converting section 7, a character synthesizing section 9, and an output section 9.
The operation of each of these parts will be explained below with reference to each character pattern shown in FIGS. 3d to 3g.

まず、文字コード指定部5により、書体変換の
対象となる文字の字体および希望するストローク
サイズに関するコード指定を行なわせると、その
コード指定に応じて前記メモリMからその文字を
構成する各ストロークが読出される。
First, when the character code specifying unit 5 specifies a code regarding the font and desired stroke size of a character to be converted, each stroke constituting the character is read from the memory M in accordance with the code specification. be done.

次に、ストロークのサイズ変換部6において、
そのコード指定に応じて、1文字当りのストロー
ク幅(画素数)やサイズを変更する必要がある場
合には、メモリMに予め記憶されている複数種の
基本ストロークのうち必要なものについて各スト
ロークごとにそれぞれ所定サイズに変換される。
具体的には、このサイズ変換部6は第2図に示す
ように、指定されたサイズを判読するデコーダ6
1と、例えば19種の基本ストロークを用いる場合
にはそのデコーダ出力に応じて各ストロークのサ
イズを適宜変換させる19段に設けられたストロー
クサイズ変換器621〜6219とによつて構成
される。
Next, in the stroke size conversion section 6,
If it is necessary to change the stroke width (number of pixels) or size of each character according to the code specification, change the required stroke width (number of pixels) or size of each character from among the multiple types of basic strokes stored in memory M in advance. Each image is converted to a predetermined size.
Specifically, as shown in FIG.
1, and stroke size converters 621 to 6219 provided in 19 stages for appropriately converting the size of each stroke according to the decoder output when using, for example, 19 types of basic strokes.

次に、ストロークのフオント変換部7では、適
宜サイズ変換された指定文字を構成する各ストロ
ークが書体によつて決まるストロークにそれぞれ
変換される。具体的には、このフオント変換部7
は第2図に示すように、前記各サイズ変換器62
1〜6219の出力側にそれぞれ設けられた19個
のフオント変換器71〜719からなつている。
Next, in the stroke font conversion section 7, each stroke constituting the specified character whose size has been appropriately converted is converted into a stroke determined by the typeface. Specifically, this font conversion unit 7
As shown in FIG.
It consists of 19 font converters 71-719 provided on the output side of fonts 1-6219, respectively.

最終的に、文字合成部8において、サイズ変
換、フオント変換の処理がなされた各ストローク
が再び目的とする文字に組立てられ、MT、プリ
ンタなどからなる出力部9へ書体変換された文字
パターン情報として送られる。
Finally, in the character synthesis unit 8, each stroke that has been subjected to size conversion and font conversion is assembled into the desired character again, and is sent to the output unit 9, which includes an MT, a printer, etc., as character pattern information that has been converted into a font. Sent.

第3図dはオリジナルの入力文字(同図・a)
を同一のストロークサイズ(64×64の画素構成)
でゴシツク体に書体変換したときの出力文字パタ
ーンを、同図eはそれを1/2のストローク幅にサ
イズ変換(32×32の画素構成)したときのゴシツ
ク体による出力文字パターンを示している。ま
た、第3図fは同じく入力文字のストロークサイ
ズを変換せずに明朝体に書体変換させたときの出
力文字パターンを、同図gはそれを1/2のストロ
ーク幅にサイズ変換したときの明朝体による出力
文字パターンを示している。
Figure 3 d is the original input character (a in the same figure)
Same stroke size (64x64 pixel configuration)
Figure e shows the output character pattern in Gothic font when the font is converted to Gothic font, and Figure e shows the output character pattern in Gothic font when the size is converted to 1/2 the stroke width (32 x 32 pixel configuration). . In addition, Figure 3 f shows the output character pattern when the font is converted to Mincho font without converting the stroke size of the input characters, and Figure 3 g shows the output character pattern when the font is converted to a 1/2 stroke width. This shows the output character pattern in Mincho font.

なお、第5図は前述した明朝体による19種の基
本ストロークを示すもので、7種の各直線ストロ
ーク(同図・a)と12種の各曲線ストローク(同
図・b)とからなつており、イはその基本形のス
トロークを、ロは頭あり、はねなしの変形ストロ
ークを、ハは頭、はねともになしの変形ストロー
クを、ニは頭、はねともにありの変形ストローク
を、ホは頭なし、はねありの変形ストロークをそ
れぞれ示している。
Furthermore, Figure 5 shows the 19 types of basic strokes in the Mincho typeface mentioned above, consisting of 7 types of straight line strokes (a in the same figure) and 12 types of curved strokes (b in the same figure). A is the basic stroke, B is a modified stroke with a head and no spring, C is a modified stroke with a head and no spring, D is a modified stroke with a head and a spring. Ho shows deformed strokes without a head and with a splash, respectively.

以上、本発明による書体変換装置にあつては、
オリジナル書体による複数の入力文字をその各パ
ターンに応じたストロークに分解し、入力文字ご
とにその構成要素のストロークを変換対象の書体
に応じた基本ストロークにより正規化したうえで
メモリに記憶させておき、変換対象の文字コード
の指定により必要なストロークをメモリMから適
宜読出し、各ストロークごとにサイズ変換、フオ
ント変換を行なわせたうえでそれら各ストローク
を組立てて所定の書体に変換された文字パターン
を出力させるようにしたもので、予め変換対象と
なる書体の複数種の基本ストロークの設計を行な
わせるだけで文字の書体変換を容易になすことが
できるいう優れた利点を有している。
As mentioned above, in the typeface conversion device according to the present invention,
It decomposes multiple input characters in the original font into strokes according to each pattern, normalizes the component strokes for each input character with basic strokes according to the font to be converted, and stores them in memory. , reads the necessary strokes from the memory M as appropriate by specifying the character code to be converted, performs size conversion and font conversion for each stroke, and then assembles the strokes to create a character pattern converted into a predetermined font. It has the excellent advantage of being able to easily convert characters into fonts by simply designing the basic strokes of multiple types of fonts to be converted in advance.

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

第1図は本発明による書体変換装置の一実施例
による基本的な構成を示すブロツク図、第2図は
同実施例の具体的な構成を示すブロツク図、第3
図a〜cは同実施例における入力文字の各部処理
パターンを示す図、同図d〜gは同じくその出力
文字のパターンの一例をそれぞれ示す図、第4図
はオリジナル書体による入力文字の一例を示す
図、第5図a,bは19種の基本ストロークの一例
を示す図である。 1……入力部、2……細線化処理部、3……支
点抽出部、4……ストローク抽出部、5……文字
コード指定部、6……ストロークサイズ変換部、
7……フオント変換部、8……文字合成部、9…
…出力部、M……メモリ。
FIG. 1 is a block diagram showing the basic configuration of an embodiment of the typeface conversion device according to the present invention, FIG. 2 is a block diagram showing the specific configuration of the same embodiment, and FIG.
Figures a to c are diagrams showing various processing patterns of input characters in the same embodiment, Figures d to g are diagrams each showing an example of the output character pattern, and Figure 4 is an example of input characters in the original font. The figures shown in FIGS. 5a and 5b are diagrams showing examples of 19 types of basic strokes. 1... Input section, 2... Thinning processing section, 3... Fulcrum extraction section, 4... Stroke extraction section, 5... Character code specification section, 6... Stroke size conversion section,
7... Font conversion section, 8... Character synthesis section, 9...
...Output section, M...Memory.

Claims (1)

【特許請求の範囲】 1 オリジナル書体による入力文字のパターンを
ドツト単位で読み取る入力部、その読み取られた
画素単位による入力文字のパターンを細線化する
処理部、その細線化された文字パターンにもとづ
きその文字を構成するセグメントの傾きと支点の
アドレスを求める処理部、その求められたセグメ
ントの傾きと支点のアドレスとにもとづいて入力
文字を各ストロークに分解し、各ストロークごと
に変換対象の書体に応じた複数種の基本ストロー
クと照合することにより正規化したうえでメモリ
に記憶させる処理部からなる第1のプロセス系
と、文字コードの指定を行なわせることによりそ
の文字の必要な各ストロークを前記メモリから読
出す文字コード指定部、その読出された各ストロ
ークの書体変換をそれぞれ行なわせるフオント変
換部、その各フオト変換されたストロークを組立
てて所定の書体に変換された文字パターンを合成
する文字合成部からなる第2のプロセス系とによ
つて構成された書体変換装置。 2 前記文字コード指定部にストロークサイズの
指定機能をもたせ、メモリから読出された各スト
ロークをそのサイズ指定に応じて変換処理させる
ストロークサイズ変換の処理部をそなえたことを
特徴とする前記第1項の記載による書体変換装
置。
[Scope of Claims] 1. An input unit that reads the input character pattern in the original font in dot units, a processing unit that thins the input character pattern in pixel units, and a processing unit that thins the input character pattern based on the thinned character pattern. A processing unit that calculates the inclination of the segments that make up the character and the address of the fulcrum. Based on the obtained inclination of the segments and the address of the fulcrum, the input character is divided into strokes, and each stroke is processed according to the typeface to be converted. A first process system includes a processing unit that normalizes the normalized stroke by comparing it with multiple types of basic strokes and stores it in the memory; a character code designation section that reads out a character code from the font, a font conversion section that converts each of the read strokes into a font, and a character synthesis section that assembles the font-converted strokes to synthesize a character pattern converted into a predetermined font. A font conversion device configured by a second process system consisting of: 2. The above item 1, characterized in that the character code specifying section has a stroke size specifying function, and includes a stroke size conversion processing section that converts each stroke read from the memory according to the size specification. A typeface conversion device as described in .
JP6672980A 1980-05-20 1980-05-20 Character form converter Granted JPS56162788A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6672980A JPS56162788A (en) 1980-05-20 1980-05-20 Character form converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6672980A JPS56162788A (en) 1980-05-20 1980-05-20 Character form converter

Publications (2)

Publication Number Publication Date
JPS56162788A JPS56162788A (en) 1981-12-14
JPS631590B2 true JPS631590B2 (en) 1988-01-13

Family

ID=13324264

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6672980A Granted JPS56162788A (en) 1980-05-20 1980-05-20 Character form converter

Country Status (1)

Country Link
JP (1) JPS56162788A (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58211476A (en) * 1982-06-02 1983-12-08 Canon Inc Electronic printer
JPS60242492A (en) * 1984-05-17 1985-12-02 株式会社リコー character generator
JPS62116995A (en) * 1985-11-15 1987-05-28 シャープ株式会社 Multifont development generator
JPS62116989A (en) * 1985-11-15 1987-05-28 シャープ株式会社 Multifont development generator
JPS62116994A (en) * 1985-11-15 1987-05-28 シャープ株式会社 Multifont generator
JPS62116993A (en) * 1985-11-15 1987-05-28 シャープ株式会社 Multifont generator
JPS62129888A (en) * 1985-11-30 1987-06-12 株式会社東芝 Extra character register
JPS6356693A (en) * 1986-08-27 1988-03-11 シャープ株式会社 Character dot conversion system
JPH0690611B2 (en) * 1986-12-26 1994-11-14 富士ゼロックス株式会社 Character font generator
JPH07104664B2 (en) * 1994-05-12 1995-11-13 興和株式会社 Character pattern generation display device

Also Published As

Publication number Publication date
JPS56162788A (en) 1981-12-14

Similar Documents

Publication Publication Date Title
EP0564201B1 (en) Image processing apparatus and method
JPH0772861B2 (en) Program creation device
JPH07131641A (en) Image processing device
JPS631590B2 (en)
JP3278298B2 (en) Bitmap data compression method and compression apparatus
US5828792A (en) Method of reducing document size for digital display
JP3858559B2 (en) Image processing apparatus, image processing method, and recording medium
US20030152270A1 (en) Image encoding device, decoding device and encoding method, decoding method, and recorded program on which programs of the methods are recorded
JP2977230B2 (en) Character extraction method
JP2626011B2 (en) Drawing reading processing method
JPH08123904A (en) Typeface processing device
JPH1117959A (en) Run length coding method for binary image and recording medium storing run length coding program
JPH022189B2 (en)
JP2659377B2 (en) Character recognition method
JPH0528258A (en) Form input device with character/graphic separation device
JPH0619449A (en) Handwritten character output device
JPH0447459A (en) Drawing recognition processing system
JP2974167B2 (en) Large Classification Recognition Method for Characters
JPH0562016A (en) Character recognizing device
JPH06111066A (en) Stamp character reader
JPH07192083A (en) Document picture layout analysis device
JPH05165456A (en) Outline extracting method
JPH07107689B2 (en) Image signal processor
JPH10302075A (en) Information processing method and apparatus, and storage medium
JPS63265373A (en) Optical character recognizer