JPS63159070A - Character pattern outputting method - Google Patents
Character pattern outputting methodInfo
- Publication number
- JPS63159070A JPS63159070A JP61310420A JP31042086A JPS63159070A JP S63159070 A JPS63159070 A JP S63159070A JP 61310420 A JP61310420 A JP 61310420A JP 31042086 A JP31042086 A JP 31042086A JP S63159070 A JPS63159070 A JP S63159070A
- Authority
- JP
- Japan
- Prior art keywords
- character pattern
- character
- decoding
- exposure
- dots
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims description 36
- 230000004044 response Effects 0.000 abstract description 2
- 238000009125 cardiac resynchronization therapy Methods 0.000 description 24
- 238000010586 diagram Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 1
- 238000009499 grossing Methods 0.000 description 1
Landscapes
- Dot-Matrix Printers And Others (AREA)
- Printers Or Recording Devices Using Electromagnetic And Radiation Means (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明は光スポット走査露光方式の文字出力機、例えば
以下の説明で具体例として取り上げたCRT方式の電算
写植機の文字パターン出力方法に関し、特に文字の輪郭
部を滑らかに出力することができる文字パターン出力方
法に関するものである。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a character pattern output method for a light spot scanning exposure type character output machine, for example, a CRT type computer typesetting machine, which is taken up as a specific example in the following explanation. In particular, the present invention relates to a character pattern output method capable of outputting character outlines smoothly.
[従来の技術]
CRT方式の電算写植機において、文字パターンデータ
をビットマツプに展開した形で記憶させると膨大な記憶
容量を要することから、例えば文字の輪郭を、曲線を表
現する多項式で近似し、該多項式の係数等を文字パター
ンデータとするというように、圧縮した形でメモリに記
憶している。[Prior Art] In a CRT type computer typesetting machine, storing character pattern data in the form of a bit map requires a huge amount of storage capacity. The coefficients of the polynomial are stored in a memory in a compressed form, such as character pattern data.
文字パターンの出力は、その圧縮した文字パターンデー
タをデコードして復元し、CRT上に表示して感材上に
露光出力することで行われる。The character pattern is output by decoding and restoring the compressed character pattern data, displaying it on a CRT, and exposing and outputting it onto a photosensitive material.
′[発明が解決しようとしている問題点]電算写植機の
文字パターン発生源となるCRTは、複数の表示画素が
水平及び垂直方向に規則的に配列され、ドツトの集合体
として文字パターンが形成される。そのため、当該文字
パターンを感材上に露光出力すると、文字の輪郭部、特
に斜線部には、いわゆるギザギザが生じてしまう。更に
、文字パターンを通常の状態よりわずかに回転させた状
態で出力すると、通常の状態において水平又は垂直方向
にある輪郭部分で前記ギザギザの影響が一層顕著に現わ
れる。従って感材に露光出力した文字の品質は必ずしも
良好なものとは言えなかった。'[Problem to be solved by the invention] CRTs, which are the source of character patterns in computer phototypesetting machines, have a plurality of display pixels arranged regularly in the horizontal and vertical directions, and character patterns are formed as a collection of dots. Ru. Therefore, when the character pattern is exposed and outputted on a photosensitive material, so-called jaggedness occurs in the outline portions of the characters, particularly in the diagonal line portions. Furthermore, if the character pattern is output in a slightly rotated state than in the normal state, the effect of the jaggedness will be more noticeable in the contour portion that is in the horizontal or vertical direction in the normal state. Therefore, the quality of characters printed on the photosensitive material cannot necessarily be said to be good.
E問題点を解決するための手段]
本発明は以上の点からなしたものであり、滑らかな輪郭
部を有する文字パターンを露光出力することができる文
字パターン出力方法を提供することを目的とし、その特
徴とするところは、光スポット走査露光方式の文字出力
機において、記憶媒体に記憶した、文字パターン圧縮デ
ー タを、第1のデコード方式でデコードしたのち、該
第1のデコード方式のデコード結果に基づいて感材上に
文字パターンを露光出力し、次に、前記感材上に露光出
力した文字パターンと同一文字の文字パターン圧縮デー
タを、第2のデコード方式でデコードしたのち、該第2
のデコード方式のデコード結果に基づいて、前記第1の
デコード方式による露光出力位置と同一位置に文字パタ
ーンを露光出力することにより、文字パターンを感材上
にほぼ重畳して露光印字することである。Means for Solving Problem E] The present invention has been made in view of the above points, and an object of the present invention is to provide a character pattern output method capable of outputting a character pattern having smooth contours by exposure. The feature is that in a character output machine using a light spot scanning exposure method, compressed character pattern data stored in a storage medium is decoded using a first decoding method, and then the decoding result of the first decoding method is decoded. A character pattern is exposed and outputted on a light-sensitive material based on the above-mentioned light-sensitive material, and then compressed character pattern data of the same character as the character pattern exposed and outputted on the light-sensitive material is decoded by a second decoding method.
Based on the decoding result of the first decoding method, the character pattern is exposed and printed at the same position as the exposure output position of the first decoding method, so that the character pattern is almost superimposed on the photosensitive material and printed by exposure. .
[作用]
本発明は、文字パターンデータを露光出力するに際し、
圧縮して記憶している文字パターンデータをデコードし
て露光出力した後、異なるデコード方式で再度同一文字
をデコードして同じ位置に露光出力することにより、一
度目のデコードによる文字パターンの輪郭部のドツトと
、2瓜目のデコードによる文字パターンの輪郭部のドツ
トとが一部で一致しないことを利用し、感材上の2度露
光される部分と、1度だけしか露光されない部分との濃
度差によって文字の輪郭部を平滑化するようにした。[Function] When the present invention outputs character pattern data by exposure,
After decoding the compressed and stored character pattern data and outputting it for exposure, the same character is decoded again using a different decoding method and outputted for exposure at the same position. Taking advantage of the fact that the dots and the dots on the outline of the character pattern obtained by the second decoding do not match in some parts, the density of the part of the photosensitive material that is exposed twice and the part that is exposed only once is determined. The contours of characters are smoothed based on the difference.
[実施例]
第1図は本発明の処理手順を記述したフロー図、第2図
は本発明を適用するCRT方式の電算写植機のブロック
図である。第2図において、1はCPLI、2は文字パ
ターンデータを圧縮した形で記憶しているディスク、3
はディスクコントローラ、4は圧縮した形で前記ディス
ク2に記憶している文字パターンをデコードするデコー
ダ、5はメモリ、6は文字パターン像を表示するCRT
、7は感材8にCRTの文字パターン像を結ぶレンズ、
9は前記CRT6への文字パターンの表示位置や感材8
の送り等を制御する制御部である。[Embodiment] FIG. 1 is a flow diagram describing the processing procedure of the present invention, and FIG. 2 is a block diagram of a CRT type computer phototypesetting machine to which the present invention is applied. In Figure 2, 1 is a CPLI, 2 is a disk that stores character pattern data in compressed form, and 3 is a disk that stores character pattern data in compressed form.
1 is a disk controller, 4 is a decoder for decoding the character pattern stored in the disk 2 in compressed form, 5 is a memory, and 6 is a CRT for displaying the character pattern image.
, 7 is a lens that focuses the CRT character pattern image onto the photosensitive material 8;
9 indicates the display position of the character pattern on the CRT 6 and the sensitive material 8.
This is a control unit that controls the feeding, etc.
はじめに、文字パターンのデコードについて説明する。First, decoding of character patterns will be explained.
文字パターンデータが、文字輪郭を近似する曲線の多項
式の係数等を記憶するような形で圧縮されている場合、
理論的には文字輪郭の座標値は連続的に算出することが
できる。しかし、CRT6は上述のように水平及び垂直
方向に規則正しく配列された表示画素の存在する位置で
のみ表示可能である。従って、デコードする際、最終的
にはCRT6の表示画素の位置として輪郭部の座標値を
求める必要がある。If the character pattern data is compressed in a way that stores the coefficients of a curved polynomial that approximates the character outline,
Theoretically, the coordinate values of the character outline can be calculated continuously. However, as described above, the CRT 6 can display images only at positions where display pixels are regularly arranged in the horizontal and vertical directions. Therefore, when decoding, it is necessary to finally obtain the coordinate values of the outline as the position of the display pixel of the CRT 6.
つまり、輪郭を近似する多項式から連続的に座標値を算
出したとしても、CRT6の当該位置に正確に表示する
ことは不可能であるから、求まった値を、四捨五入ある
いは切捨て、切上げ笠の処理を行ってCRT6の表示画
素の座標値とする必要がある。この点について第3図を
用いて説明する。In other words, even if coordinate values are continuously calculated from a polynomial that approximates the contour, it is impossible to display them accurately at the relevant position on the CRT 6, so the calculated values must be rounded off, rounded down, or rounded up. It is necessary to do this to obtain the coordinate values of the display pixels of the CRT 6. This point will be explained using FIG. 3.
第3図は2種類のデコード方式を説明する図で、CRT
6の表示画素の座標を示している。第3図ではX座標値
、X座標値の両方が整数となる位置がCRT6の表示画
素が存在する位置である。従って、ここでは文字輪郭を
近似している多項式にXの整数値を入れて、X座標値を
算出する。Figure 3 is a diagram explaining two types of decoding methods.
6 shows the coordinates of display pixels. In FIG. 3, the position where both the X coordinate value and the X coordinate value are integers is the position where the display pixel of the CRT 6 exists. Therefore, here, the integer value of X is entered into a polynomial that approximates the character outline to calculate the X coordinate value.
今、輪郭部を近似している多項式(Y=1/4X+1)
からn出した位置座標が点A (1,1,25)だとす
る。CRTe上の表示画素の座標値を求めるため、例え
ばX座標値を小数点第1位で四捨五入すれば、点A’
(1,1)が表示画素の座標値となる。The polynomial that now approximates the contour (Y=1/4X+1)
Assume that the position coordinates obtained from n are point A (1, 1, 25). To find the coordinate value of a display pixel on CRTe, for example, if you round off the X coordinate value to the first decimal place, you get point A'
(1, 1) is the coordinate value of the display pixel.
また、他のデコード方式としてX座標値に対するY座標
値を算出する際、Xの値はx’ =x−0,5の値を用
い、求まったYの値はすべて切上げるようにすれば、X
=1上における所望点は、Y・1/4(1−0,5)+
1=1.125となり、切り上げてY=2となるので結
局点A“(1,2)となる。Also, as another decoding method, when calculating the Y coordinate value for the X coordinate value, use the value x' = x - 0,5 for the
The desired point on =1 is Y・1/4(1-0,5)+
1=1.125, which is rounded up to give Y=2, resulting in a point A"(1,2).
また、X=2上における点B(2,1,5)を上記2つ
の方式で近似した時は、いずれも点B’ (2,2)が
表示画素の座標値となる。Furthermore, when the point B (2, 1, 5) on X=2 is approximated by the above two methods, the point B' (2, 2) becomes the coordinate value of the display pixel in both cases.
次に本発明による文字パターンの出力方法について第1
図、第2図に従って説明する。Next, we will discuss the first method for outputting character patterns according to the present invention.
This will be explained according to FIG.
■、はじめに、ディスクコントローラ3はCPU1から
の指令により、出力する文字パターンの圧縮された文字
パターンデータをディスク2から読み出し、メモリ5へ
転送し格納する。(2) First, in response to a command from the CPU 1, the disk controller 3 reads compressed character pattern data of a character pattern to be output from the disk 2, transfers it to the memory 5, and stores it.
■、デコーダ4では、メモリ5に格納された文字パター
ン圧縮データをデコードして、出力する文字パターンの
CRT6上における表示画素の位置座標を算出する。尚
、ここでは表示画素の位置座標のY座標値をXの整数値
を多項式に入れることによって求める際、算出されたY
の値を小数点以下第1位で四捨五入してY座標値とする
第1のデコード方式を用いる。(2) The decoder 4 decodes the compressed character pattern data stored in the memory 5 and calculates the position coordinates of display pixels on the CRT 6 of the character pattern to be output. In addition, when calculating the Y coordinate value of the position coordinate of a display pixel by entering the integer value of X into a polynomial, the calculated Y
A first decoding method is used in which the value of is rounded to the first decimal place to obtain the Y coordinate value.
■0.■でデコードされた文字パターンデータは、CR
T6上の表示位置及び感材8の移動等を制御する制御部
9の制御により、デコードした文字パターンをCRT6
に表示し、感材8の所定位置に当該文字を出力する。第
4図はある文字パターンを第1のデコード方式でデコー
ドした結果を示す図で、輪郭線41はデコーダ4に供給
された輪郭データの一例を示し、斜線で示したドツトが
CRT6に輝点として表示する位置である。■0. The character pattern data decoded by ■ is CR
The decoded character pattern is displayed on the CRT 6 under the control of the control unit 9 that controls the display position on the T6 and the movement of the photosensitive material 8.
The character is displayed on the photosensitive material 8 at a predetermined position. FIG. 4 is a diagram showing the result of decoding a certain character pattern using the first decoding method, in which the outline 41 shows an example of the outline data supplied to the decoder 4, and the dots shown with diagonal lines are bright spots on the CRT 6. This is the display position.
■、1度目の露光出力が終了したら、メモリ5に格納さ
れている、■で出力した文字の文字パターン圧縮データ
をデコーダ4でデコードして、出力する文字パターンの
CRT6上における表示画素の位置座標を算出する。尚
、ここではX座標値に対するY座標値を算出する際、X
の値はx’ =x−0,5の値を用い、求まったYの値
はすべて切上げてY座標値とする第2のデコード方式を
用いる。(2) When the first exposure output is completed, the decoder 4 decodes the compressed character pattern data of the character output in (2) stored in the memory 5, and the position coordinates of the display pixel on the CRT 6 of the character pattern to be output. Calculate. Note that when calculating the Y coordinate value for the X coordinate value,
A second decoding method is used in which the value x' = x-0, 5 is used, and all the determined Y values are rounded up to obtain the Y coordinate value.
■、■でデコードされた文字パターンデータは、CRT
6上の表示位置及び感材8の移動等を制御する制御部9
の制御により、デコードした文字パターンをCRT6に
表示し、感材8の■で出力した位置と同じ位置に当該文
字を出力する。第5図は第4図で示したパターンと同一
の圧縮された文字パターンデータを第2のデコード方式
でデコードした結果を示す図で、斜線で示すドツトがC
RT6に輝点として表示する位置である。第4図と第5
図を比較するとわかるように、同一文字の圧縮された文
字パターンデータをデコードしたものでも、CRT6上
の座標が一部巽なっている(第5図に◎で示した)。The character pattern data decoded by ■ and ■ is
a control unit 9 that controls the display position on the photosensitive material 6 and the movement of the photosensitive material 8;
Under the control of , the decoded character pattern is displayed on the CRT 6, and the character is output at the same position on the photosensitive material 8 as the position outputted at . FIG. 5 is a diagram showing the result of decoding the same compressed character pattern data as the pattern shown in FIG. 4 using the second decoding method, and the diagonally shaded dots are
This is the position displayed as a bright spot on RT6. Figures 4 and 5
As can be seen by comparing the figures, even when compressed character pattern data of the same character is decoded, some of the coordinates on the CRT 6 are shifted (indicated by ◎ in Figure 5).
以上の処理により、2種類の方式でデコードされた文字
パターンが感材8の同一位置にほぼ重畳して露光出力さ
れる。上述したように、2種類のデコード方式によって
算出したCRT6の表示画素の座標値は一部で異なる。Through the above processing, the character patterns decoded by the two types of methods are exposed and outputted at substantially the same position on the photosensitive material 8, superimposed on each other. As described above, the coordinate values of the display pixels of the CRT 6 calculated by the two types of decoding methods are partially different.
従ってCRT6の輝度を感材8を2度露光した時に最適
な濃度となるように設定しておけば、感材8上の1度し
か露光されない部分は、2度露光される部分と比し、濁
度が低いものとなる。Therefore, if the brightness of the CRT 6 is set so that the optimum density is obtained when the photosensitive material 8 is exposed twice, the portion of the photosensitive material 8 that is exposed only once will be compared to the portion that is exposed twice. The turbidity will be low.
第6図は第4図と第5図に示したパターンを感材8上の
同一位置に露光出力した状態を示す図である。図中、斜
線のドツトが1度しか露光されないドツトで、交差した
斜線のドツトが2度露光されるドツトである。従って1
度しか露光されない斜線のドツトの濃度は2度露光され
るドツトと比し、濃度が低いため、文字の斜め線等でも
滑らかな出力となる。FIG. 6 is a diagram showing a state in which the patterns shown in FIGS. 4 and 5 are exposed and output at the same position on the photosensitive material 8. As shown in FIG. In the figure, dots with diagonal lines are dots that are exposed only once, and dots with crossed diagonal lines are dots that are exposed twice. Therefore 1
Since the density of diagonal line dots that are only exposed once is lower than that of dots that are exposed twice, even diagonal lines of characters can be outputted smoothly.
以上本発明の詳細な説明した。本発明は上記実施例で用
いた2種類のデコード方式に限定されるものではなく、
他のデコード方式で行うこともでき、また、デコードの
順番も上記実施例と逆に行っても良い。更に、本発明は
CRT方式の電算写植機のみならず、伯の出力機におい
ても実施できる。また、本発明は文字のみに限定されず
、画像において適用できることは勿論である。The present invention has been described in detail above. The present invention is not limited to the two types of decoding methods used in the above embodiments,
Other decoding methods may be used, and the decoding order may be reversed to that of the above embodiment. Furthermore, the present invention can be implemented not only in CRT type computerized phototypesetting machines but also in other types of output machines. Furthermore, it goes without saying that the present invention is not limited to only characters, but can also be applied to images.
[発明の効果]
以上説明した如く、本発明は同一の圧縮された文字パタ
ーンデータから、異なる方式で2度デコ−ドを行い、そ
れぞれのデコード結果に従って感材に文字を2度露光出
力するようにしたので、2度露光されるドツトと、1度
しか露光されないドツトの部分に濃度差が生じ、それに
より、露光出力された文字の輪郭部を滑らかにするとい
う大なる効果を有するものである。[Effects of the Invention] As explained above, the present invention decodes the same compressed character pattern data twice using different methods, and outputs the characters by exposing the photosensitive material twice according to each decoding result. As a result, there is a density difference between the dots that are exposed twice and the dots that are exposed only once, which has the great effect of smoothing the outlines of the exposed characters. .
第1図は本発明の処理手順を記述したフロー図、第2図
は本発明を適用するCRT方式の電算写植機のブロック
図、第3図は2種類のデコード方式の例を説明する図、
第4図、第5図、第6図は、2種類のデコード方式によ
りデコードして露光出力した例を示す図である。
2・・・ディスク
3・・・ディスクコントローラ
4・・・デコーダ
6・・・CRT
7・・・レンズ
8・・・感材
9・・・制御部
第1図
第4図
第5図FIG. 1 is a flow diagram describing the processing procedure of the present invention, FIG. 2 is a block diagram of a CRT type computerized phototypesetting machine to which the present invention is applied, and FIG. 3 is a diagram explaining examples of two types of decoding methods.
FIG. 4, FIG. 5, and FIG. 6 are diagrams showing examples of decoding and exposure output using two types of decoding methods. 2...Disk 3...Disk controller 4...Decoder 6...CRT 7...Lens 8...Sensitive material 9...Control unit Fig. 1 Fig. 4 Fig. 5
Claims (1)
体に記憶した、文字パターン圧縮データを、第1のデコ
ード方式でデコードしたのち、該第1のデコード方式の
デコード結果に基づいて出力媒体上に文字パターンを光
スポット走査露光方式の出力機で露光出力し、 次に、前記出力媒体上に露光出力した文字パターンの文
字パターン圧縮データを、第2のデコード方式でデコー
ドしたのち、該第2のデコード方式のデコード結果に基
づいて、前記第1のデコード方式による露光出力位置と
同一位置に文字パターンを露光出力し、 同一文字パターンを出力媒体上にほぼ重畳して露光出力
することを特徴とする文字パターン出力方法。[Scope of Claims] In a character output device using a light spot scanning exposure method, compressed character pattern data stored in a storage medium is decoded by a first decoding method, and then based on the decoding result of the first decoding method. A character pattern is exposed and outputted onto an output medium using an output device using a light spot scanning exposure method, and then the compressed character pattern data of the character pattern exposed and outputted onto the output medium is decoded using a second decoding method. , based on the decoding result of the second decoding method, a character pattern is exposed and outputted at the same position as the exposure output position of the first decoding method, and the same character pattern is almost superimposed on the output medium and exposed and outputted. A character pattern output method characterized by:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61310420A JPS63159070A (en) | 1986-12-24 | 1986-12-24 | Character pattern outputting method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61310420A JPS63159070A (en) | 1986-12-24 | 1986-12-24 | Character pattern outputting method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS63159070A true JPS63159070A (en) | 1988-07-01 |
JPH059271B2 JPH059271B2 (en) | 1993-02-04 |
Family
ID=18005041
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61310420A Granted JPS63159070A (en) | 1986-12-24 | 1986-12-24 | Character pattern outputting method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS63159070A (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS60230854A (en) * | 1984-05-01 | 1985-11-16 | Canon Inc | Printing method |
-
1986
- 1986-12-24 JP JP61310420A patent/JPS63159070A/en active Granted
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS60230854A (en) * | 1984-05-01 | 1985-11-16 | Canon Inc | Printing method |
Also Published As
Publication number | Publication date |
---|---|
JPH059271B2 (en) | 1993-02-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5465121A (en) | Method and system for compensating for image distortion caused by off-axis image projection | |
US5673371A (en) | Method of modifying the fatness of characters to be output on a raster output device | |
JPS61249175A (en) | Graphic processor | |
JP3142550B2 (en) | Graphic processing unit | |
US4607340A (en) | Line smoothing circuit for graphic display units | |
JP2964841B2 (en) | Data converter | |
JPS63159070A (en) | Character pattern outputting method | |
JP2930599B2 (en) | Graphic vectorization processing method and apparatus | |
JPS58151251A (en) | Phototypesetting system | |
JPH09190538A (en) | Picture processor and its processing method | |
JPH049152B2 (en) | ||
EP0605048A1 (en) | Method of modifying the fatness of characters | |
JPH0668247A (en) | Method and device for varying power of digital image data | |
JP3099556B2 (en) | Data converter | |
JP3024479B2 (en) | Data converter | |
JP2537223B2 (en) | Graphic processing device | |
JPH10150571A (en) | Method, device for correcting defective pixel in digital image and recording medium | |
JPH08139915A (en) | Multi-color image magnification and reduction device | |
JPS6365148B2 (en) | ||
JPH0535872A (en) | Contour tracing system for binary image | |
JPS63109650A (en) | Picture reader | |
JPS60231267A (en) | Intra-character control system | |
JPH03211591A (en) | Display method and display device as well as data processor and lsi for output processing | |
JPS6368985A (en) | Face painting system | |
JPS6135071A (en) | Picture processing system |