JPH03113494A - Pattern generating system - Google Patents

Pattern generating system

Info

Publication number
JPH03113494A
JPH03113494A JP1250557A JP25055789A JPH03113494A JP H03113494 A JPH03113494 A JP H03113494A JP 1250557 A JP1250557 A JP 1250557A JP 25055789 A JP25055789 A JP 25055789A JP H03113494 A JPH03113494 A JP H03113494A
Authority
JP
Japan
Prior art keywords
pattern
dot
contour
character
outline
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
JP1250557A
Other languages
Japanese (ja)
Inventor
Yoichi Ishijima
洋一 石嶋
Hisao Urata
浦田 久雄
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP1250557A priority Critical patent/JPH03113494A/en
Publication of JPH03113494A publication Critical patent/JPH03113494A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To generate a character pattern at high speed and to transfer it by providing a transfer means painting out a section between a dot starting point and a dot completing point in synchronizm with transfer when a contour pattern produced by a contour producing means is scanned in a prescribed direction and transferred to a prescribed output object equipment. CONSTITUTION:A storage means 3 stores character pattern reproducing information for producing the contour showing the dot starting point and the contour showing the dot completing point when a character code pattern is scanned in the prescribed direction. The contour producing means 4 produces the contour according to the character reproducing information stored in the storage means 3. The transfer means 7 paints out the section between the dot starting point and the dot completing point in synchronizm with transfer when the contour pattern produced by the contour producing means is scanned in the prescribed direction and transferred to the prescribed output object equipment. Thus, the character pattern can be generated at the high speed and transferred.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は文字記号パターンを発生するパターン発生方式
に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a pattern generation method for generating character symbol patterns.

[従来の技術] 従来、アウトラインフォントを持つ印刷装置では、フォ
ントキャッシュ等のメモリにその輪郭を画素単位に展開
し、その輪郭内を塗り潰してフォントパターン全体を蓄
積してお(ように構成されている。
[Prior Art] Conventionally, printing devices that have outline fonts develop their outline pixel by pixel in a memory such as a font cache, and store the entire font pattern by filling in the inside of the outline. There is.

第5図にその構成の一例を示す。FIG. 5 shows an example of its configuration.

印字データを受けた制御部はメインメモリに順次そのデ
ータを格納していく。そして、その格納された印字デー
タ中の文字コードに対応する輪郭パターンを発生するよ
うフォント展開部に指示する。フォント展開部はこの指
示を受けて、フォントメモリより対応するデータを読取
り、その文字パターンを生成するための閉じた輪郭線(
外枠、場合によっては内枠も含む)を生成する。生成さ
れた輪郭内部は、公知の塗り潰し処理でもって塗り潰し
がなされ、フォントキャッシュメモリに記憶されると共
に、画像メモリにも展開される。ここで、フォントキャ
ッシュメモリは次回、同じ文字コードを受信したときの
ために設けられたメモリである。こうして、1頁分或い
は1行分の文字パターンが画像メモリに展開されると、
そのデータを順次出力部に出力することで、画像メモリ
内のイメージに対応する可視画像を形成する。
The control unit that receives the print data sequentially stores the data in the main memory. Then, it instructs the font development section to generate an outline pattern corresponding to the character code in the stored print data. Upon receiving this instruction, the font expansion unit reads the corresponding data from the font memory and creates a closed outline (
(including the outer frame and, in some cases, the inner frame). The inside of the generated outline is filled in using a known filling process, and is stored in the font cache memory and also developed in the image memory. Here, the font cache memory is a memory provided for the next time the same character code is received. In this way, when one page or one line of character patterns is developed in the image memory,
By sequentially outputting the data to the output section, a visible image corresponding to the image in the image memory is formed.

[発明が解決しようとする課題] しかしながら、アウトラインフォントの場合、その輪郭
を生成した後のその内部の塗り潰し処理は時間がかかる
ので、上述した構成における印刷速度はアウトラインフ
ォントでない装置と比べて非常に遅くなるという欠点が
ある。
[Problem to be Solved by the Invention] However, in the case of an outline font, it takes time to fill in the inside of the outline after generating its outline, so the printing speed in the above-mentioned configuration is much slower than in a device that does not use an outline font. The disadvantage is that it is slow.

本発明は係る従来技術に鑑みなされたものであり、文字
パターンを高速に発生し転送することが可能なパターン
発生方式を提供しようとするものである。
The present invention has been made in view of the related art, and it is an object of the present invention to provide a pattern generation method that can generate and transfer character patterns at high speed.

[課題を解決するための手段] この課題を解決する本発明のパターン発生方式は以下に
示す構成を備える。すなわち、出力対象機器に、発生し
た文字記号パターンを転送するパターン発生方式であっ
て、文字記号パターンを所定方向にスキャンしたときの
ドツトの開始位置を示す輪郭及びドツトの終了位置を示
す輪郭を生成するための文字パターン再生情報を記憶す
る記憶手段と、該記憶手段で記憶された文字パターン再
生情報に従って輪郭を生成する輪郭生成手段と、該輪郭
生成手段で生成された輪郭パターンを前記所定方向にス
キャンして所定の出力対象機器に転送するとき、当該転
送に同期してドツト開始位置とドツト終了位置の区間を
塗り潰して転送する転送手段とを備える。
[Means for Solving the Problem] A pattern generation method of the present invention that solves this problem has the configuration shown below. That is, it is a pattern generation method that transfers the generated character symbol pattern to the output target device, and generates an outline indicating the start position of a dot and an outline indicating the end position of the dot when the character symbol pattern is scanned in a predetermined direction. a storage means for storing character pattern reproduction information for use in the character pattern reproduction information; a contour generation means for generating a contour according to the character pattern reproduction information stored in the storage means; and a contour generation means for generating a contour pattern in the predetermined direction. When scanning and transferring to a predetermined output target device, a transfer means is provided which fills out the section between the dot start position and the dot end position and transfers the image in synchronization with the transfer.

[作用] かかる本発明の構成において、記憶された文字パターン
再生情報に基づいて、所定方向にスキャンしたときのド
ツト開始位置を示す輪郭とドツト終了位置を示す輪郭を
生成する。そして、その生成された輪郭を出力対象機器
に転送するとき、ドツト開始位置とドツト終了位置の区
間を塗り潰して転送する。
[Operation] In the configuration of the present invention, a contour indicating a dot start position and a contour indicating a dot end position when scanned in a predetermined direction are generated based on the stored character pattern reproduction information. When the generated contour is transferred to the output target device, the section between the dot start position and the dot end position is filled in and transferred.

[実施例] 以下、添付図面に従って本発明に係る実施例を詳細に説
明する。
[Embodiments] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

第1図は本実施例における印刷装置のブロック構成図で
ある。
FIG. 1 is a block diagram of a printing apparatus in this embodiment.

図中、1は装置全体の制御を司る制御部(マイクロプロ
セッサ等からなる)である。2はメインメモリであって
、制御部lの動作処理手順を記憶しているROM及び受
信した印刷データ等を格納したり制御部1のワークエリ
ア等に使用されるRAM等から構成されている。3は文
字パターンの輪郭を生成するためのデータを記憶してい
るフォントメモリであり、ROMより構成されている。
In the figure, reference numeral 1 denotes a control section (consisting of a microprocessor, etc.) that controls the entire apparatus. Reference numeral 2 denotes a main memory, which is composed of a ROM that stores the operation processing procedures of the control section 1, and a RAM that stores received print data and the like and is used as a work area of the control section 1. Reference numeral 3 denotes a font memory that stores data for generating outlines of character patterns, and is composed of a ROM.

4はフォント展開部であって、制御部4よりの文字サイ
ズ指定情報に従い、フォントメモリ3より読み込んだ座
標データから対応するサイズの文字パターンの輪郭を展
開する。5は生成された文字の輪郭パターンを一時的に
記憶するフォントキャッシュメモであり、同一文字コー
ドを受信したときの効率化を図っている。6は受信した
各文字コードに対応する文字パターンの輪郭パターンを
例えば1ペ一ジ分展開可能な画像メモリである。
Reference numeral 4 denotes a font development section, which develops the outline of a character pattern of a corresponding size from the coordinate data read from the font memory 3 in accordance with the character size designation information from the control section 4. Reference numeral 5 denotes a font cache memo that temporarily stores the contour pattern of a generated character, and is intended to improve efficiency when receiving the same character code. Reference numeral 6 denotes an image memory capable of developing, for example, one page of the outline pattern of the character pattern corresponding to each received character code.

7は画像メモリ6に展開されたデータを順次読み出して
、輪郭内部を塗り潰した文字パターンを生成し、出力す
るペイント制御部、8はペイント制御部7よりのデータ
を受けて、実際の印刷出力を実行する出力部である。そ
して、各構成要素はシステムバス9を介して接続されて
いる。
7 is a paint control unit that sequentially reads the data developed in the image memory 6, generates a character pattern with the inside of the outline filled in, and outputs it; 8 is a paint control unit that receives data from the paint control unit 7 and outputs the actual printout. This is the output part to execute. Each component is connected via a system bus 9.

上述した構成における本実施例の動作概要を説明する。An outline of the operation of this embodiment in the above-described configuration will be explained.

実施例におけるフォントメモリ3には、第3図(A)の
輪郭パターン30を生成するような座標形式のデータが
格納されている。実施例では、この輪郭パターン30で
もって、最終的に出力部7に出力するパターンを第3図
(B)に示す文字パターン31にするものである。尚、
フォントメモリ3に記憶された座標データから輪郭パタ
ーン30を生成するためには、記憶された各点の座標デ
ータ間を線で結ぶ処理等を施せば良いし、且つ、これは
−船釣にアウトラインフォントで採用されていることな
のでその説明は割愛する。
The font memory 3 in this embodiment stores coordinate format data that generates the outline pattern 30 shown in FIG. 3(A). In this embodiment, the outline pattern 30 is used to make the pattern finally output to the output section 7 into a character pattern 31 shown in FIG. 3(B). still,
In order to generate the outline pattern 30 from the coordinate data stored in the font memory 3, it is sufficient to perform a process such as connecting the stored coordinate data of each point with a line, and this is also possible. Since this is used in the font, we will omit its explanation.

また、輪郭パターン30から文字パターン31を生成す
るには以下の処理を行なう。
Further, in order to generate the character pattern 31 from the outline pattern 30, the following processing is performed.

先ず、第3図(A)のスキャン方向に1ドツトづつスキ
ャンしていき、“1”となっているドツトの存在を検出
したときに、それ以降のスキャンしたドツトが“0″で
も“1”として出力する。
First, the dots are scanned one by one in the scanning direction of FIG. Output as .

そうして、そのスキャン処理の過程で、再び°°1”の
ドツトを検出した後は“O”として出力する。そして、
また再び“1”のドツトを検出した後は、その次に“1
”を検出するまでは°゛1”を出力する。以下、これを
繰り返す処理を実行する。
Then, in the process of scanning, once the dot of °°1" is detected again, it is output as "O". Then,
After detecting the “1” dot again, the next “1” dot is detected.
Until “ is detected, °゛1” is output. Hereafter, this process is repeated.

上述した処理を第3図(A)で説明すると、符号30a
で示されるドツトと同一スキャン方向に位置する符号3
0bのドツトの区間が“1”のドツトとなる。これを順
次1ラインずつ処理を施すことで、第3図(B)の文字
パターンが生成できるわけである。すなわち、30aは
塗り潰しスタートドツトを示し、30bは塗り潰しスト
ップドツトを示している。
To explain the above-mentioned process with reference to FIG. 3(A), reference numeral 30a
Code 3 located in the same scanning direction as the dot indicated by
The 0b dot section becomes a "1" dot. By sequentially processing this line by line, the character pattern shown in FIG. 3(B) can be generated. That is, 30a indicates a filled start dot, and 30b indicates a filled stop dot.

さて、上述した原理に基づく、本装置の全体の処理の流
れは以下の如くになる。
Now, the overall processing flow of this apparatus based on the above-mentioned principle is as follows.

先ず、制御部1は外部のホストコンピュータ等より文字
サイズ指定制御コードをはじめ各種せいぎょ情報を入力
すると共に、印字対象の文字コードを受信し、それらを
メインメモリ2に格納される。
First, the control section 1 inputs various information such as a character size designation control code from an external host computer, etc., and also receives character codes to be printed, and stores them in the main memory 2.

この受信処理と平行して、指定された文字サイズになる
よう、受信した文字コードに対応する輪郭パターンを発
生するようフォント展開部4に指示する。フォント展開
部4は、制御部1からのこの指示に基づき、既にフォン
トキャッシュメモリ5にその輪郭パターンを記憶してい
るか否かを判断し、記憶していればその輪郭パターンを
読み出し、画像メモリ6に展開する。また、フォントキ
ャッシュメモリ5にその文字の輪郭パターンがないと判
断した場合には、そのフォントメモリ3より対応するデ
ータを読み出し、その輪郭パターンを生成して、フォン
トキャッシュメモリ5に記憶すると共に、画像メモリ6
にもそれを展開する。
In parallel with this reception process, the font development unit 4 is instructed to generate a contour pattern corresponding to the received character code so as to have a specified character size. Based on this instruction from the control unit 1, the font expansion unit 4 determines whether or not the outline pattern has already been stored in the font cache memory 5, and if so, reads out the outline pattern and stores it in the image memory 6. Expand to. If it is determined that the font cache memory 5 does not have an outline pattern for the character, the corresponding data is read from the font memory 3, the outline pattern is generated, and the outline pattern is stored in the font cache memory 5. memory 6
Also expand it.

こうして、1ペ一ジ分のデータが画像メモリ6に展開さ
れると、制御部1はペイント制御部7に印刷出力を指示
をする。ペイント制御部7がこの指示を受けると、画像
メモリ6から、先に説明したスキャン方向に従って1ド
ツトづつ読み出し、輪郭内部を塗り潰したデータを出力
部8に出力する。
When data for one page is developed in the image memory 6 in this way, the control section 1 instructs the paint control section 7 to print output. When the paint control section 7 receives this instruction, it reads out one dot at a time from the image memory 6 in accordance with the scanning direction described above, and outputs data with the inside of the outline filled in to the output section 8.

ペイント制御部7は例えば第2図に示すよりなJ−にフ
リップフロップで実現できる。すなわち、J、に端子に
は画像メモリ6より読み出したドツト情報が供給されて
いる。すなわち、出力同期信号に同期して読み出された
ドツトが°1”のときに、その出力Qが反転するように
なっているので、先に説明した処理が可能になる。尚、
スキャンスタート信号は各ライン毎のスキャン開始時に
発生する信号を用いるものとする。例えば、出力部8が
レーザビームプリンタ等であれば公知のビームデイテク
ト(BD)信号等である。
The paint control section 7 can be realized by a flip-flop as shown in FIG. 2, for example. That is, the dot information read from the image memory 6 is supplied to the terminal J. That is, when the dot read out in synchronization with the output synchronization signal is 1", the output Q is inverted, so that the processing described above becomes possible.
As the scan start signal, a signal generated at the start of scanning for each line is used. For example, if the output section 8 is a laser beam printer or the like, the signal may be a known beam detect (BD) signal.

以上説明した様に本実施例によれば、輪郭内部の塗り潰
しという複雑な処理から制御部が開放されるので、高速
に文字パターンを発生することが可能となる。換言すれ
ば、この原理を用いることで、高速印字が可能となる。
As described above, according to this embodiment, the control section is freed from the complicated process of filling in the inside of the outline, so that character patterns can be generated at high speed. In other words, by using this principle, high-speed printing becomes possible.

また、実施例によれば、フォントメモリ3には文字パタ
ーンの輪郭全部を記憶する必要がないので、記憶容量が
少なくて済むというメリットもある。
Further, according to the embodiment, since it is not necessary to store the entire outline of a character pattern in the font memory 3, there is also the advantage that the storage capacity is small.

尚、ペイント制御部7は、図示した構成のみに限定され
るものではない。例えば、第4図に示す如く、画像メモ
リ6から異なったデータを並列に入力できるようにし、
互いに重なりあった塗り潰し部分を“OR”、“AND
”等の処理をプログラマブルにしても良い。
Note that the paint control section 7 is not limited to the illustrated configuration. For example, as shown in FIG. 4, different data can be input in parallel from the image memory 6,
"OR" and "AND" the filled parts that overlap each other.
” etc. may be made programmable.

し発明の効果] 以上説明したように本発明によれば、高速に文字パター
ンを発生し、転送することが可能となる。
Effects of the Invention] As described above, according to the present invention, character patterns can be generated and transferred at high speed.

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

第1図は本実施例における印刷装置のブロック構成図、 第2図は実施例のペイント制御部の内容を示す図、 第3図(A)、(B)は実施例における塗り潰し処理を
説明するための図、 第4図は他のペイント制御部の内容を示す図、第5図は
従来の印刷装置のブロック構成図である。 図中、1・・・制御部、2・・・メインメモリ、3・・
・フォントメモリ、4・・・フォント展開部、5・・・
フォントキャッシュメモリ、6・・・画像メモリ、7・
・・ペイント制御部、 8・・・出力部である。 特 許 出 願 人 キャノン株式会社 第3図(A) 第3図(B)
Fig. 1 is a block diagram of the printing device in this embodiment, Fig. 2 is a diagram showing the contents of the paint control section in the embodiment, and Figs. 3 (A) and (B) explain the filling process in the embodiment. FIG. 4 is a diagram showing the contents of another paint control section, and FIG. 5 is a block diagram of a conventional printing apparatus. In the figure, 1... control unit, 2... main memory, 3...
・Font memory, 4... Font development section, 5...
Font cache memory, 6... Image memory, 7.
. . . Paint control section; 8. . . Output section. Patent applicant Canon Corporation Figure 3 (A) Figure 3 (B)

Claims (1)

【特許請求の範囲】 出力対象機器に、発生した文字記号パターンを転送する
パターン発生方式であつて、 文字記号パターンを所定方向にスキャンしたときのドッ
トの開始位置を示す輪郭及びドットの終了位置を示す輪
郭を生成するための文字パターン再生情報を記憶する記
憶手段と、該記憶手段で記憶された文字パターン再生情
報に従つて輪郭を生成する輪郭生成手段と、該輪郭生成
手段で生成された輪郭パターンを前記所定方向にスキャ
ンして所定の出力対象機器に転送するとき、当該転送に
同期してドット開始位置とドット終了位置の区間を塗り
潰して転送する転送手段とを備えることを特徴とするパ
ターン発生方式。
[Claims] A pattern generation method for transmitting a generated character symbol pattern to an output target device, the method comprising: an outline indicating the start position of a dot and an end position of the dot when the character symbol pattern is scanned in a predetermined direction; a storage means for storing character pattern reproduction information for generating a contour shown in the figure; a contour generation means for generating a contour according to the character pattern reproduction information stored in the storage means; A pattern characterized by comprising: a transfer unit that, when scanning a pattern in the predetermined direction and transferring the pattern to a predetermined output target device, fills out and transfers a section between a dot start position and a dot end position in synchronization with the transfer. How it occurs.
JP1250557A 1989-09-28 1989-09-28 Pattern generating system Pending JPH03113494A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1250557A JPH03113494A (en) 1989-09-28 1989-09-28 Pattern generating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1250557A JPH03113494A (en) 1989-09-28 1989-09-28 Pattern generating system

Publications (1)

Publication Number Publication Date
JPH03113494A true JPH03113494A (en) 1991-05-14

Family

ID=17209679

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1250557A Pending JPH03113494A (en) 1989-09-28 1989-09-28 Pattern generating system

Country Status (1)

Country Link
JP (1) JPH03113494A (en)

Similar Documents

Publication Publication Date Title
US4905166A (en) Method of generating line parts
US4887228A (en) Method for filling surface parts of an image with a surface pattern
EP0424885A2 (en) Control apparatus of high speed/high quality printer
EP0091124B1 (en) Video signal generating circuit
JP2935510B2 (en) Output device and output method
US5664070A (en) Outputting method and apparatus
JPH03113494A (en) Pattern generating system
JP2771629B2 (en) Character processor
JP2711860B2 (en) Output control method and device
JPH05265428A (en) Outline data converting device
JPS60216378A (en) Signal generator for laser printer
JP2935189B2 (en) Outline font processor
JPH0532021A (en) Printing device
JPH03112671A (en) Printer
JPH0259871A (en) Image processor
JPS63242561A (en) Font reducing system
JPH09325748A (en) Device and method for generating character pattern
JPH03112668A (en) Printer
JPH01229664A (en) Character pattern data transferring system of printer
JPH0450896A (en) Plotting circuit
JPS63221043A (en) Two-sided printing image generator
JPS63184787A (en) Character pattern generator
JPH02297215A (en) Output device
JPH02238965A (en) Recorder
JPH0232671B2 (en)