JPH0289189A - Data converting device - Google Patents

Data converting device

Info

Publication number
JPH0289189A
JPH0289189A JP63239940A JP23994088A JPH0289189A JP H0289189 A JPH0289189 A JP H0289189A JP 63239940 A JP63239940 A JP 63239940A JP 23994088 A JP23994088 A JP 23994088A JP H0289189 A JPH0289189 A JP H0289189A
Authority
JP
Japan
Prior art keywords
data
outline
character
end part
outline 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.)
Granted
Application number
JP63239940A
Other languages
Japanese (ja)
Other versions
JP2811684B2 (en
Inventor
Hitoshi Yoshida
均 吉田
Naoyuki Kawamoto
直幸 川本
Takahiro Kanegae
鐘ケ江 隆弘
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP63239940A priority Critical patent/JP2811684B2/en
Priority to US07/410,872 priority patent/US5018217A/en
Priority to GB8921723A priority patent/GB2224623B/en
Priority to DE3932024A priority patent/DE3932024C2/en
Priority to FR8912569A priority patent/FR2637101B1/en
Publication of JPH0289189A publication Critical patent/JPH0289189A/en
Application granted granted Critical
Publication of JP2811684B2 publication Critical patent/JP2811684B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Image Generation (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To effectively use outline data in various modes, and to realize the reduction of cost and the improvement of the quality of display by providing a means to change the data of the end part of the outline data into the data to express the end part without decoration. CONSTITUTION:A microcomputer part 10 to constitute the main body of a control circuit is provided with a CPU 12, a program ROM 16, etc., and the CPU 12 is provided with a decorated end part changing part 38 to change the decorated end part of the constitution line of a character, a bit data converting part 40 to convert the outline data into bit data, and so on, and in the case where the outline data contains the data to decorate the end part of the character constitution line, it changes said data of the end part into the data to express the end part without the decoration. Thus, when the charac ter is displayed in small size, the end part is displayed by a shape without the decoration even through the outline data of the decorated end part of the character constitution line is used, and the nice-looking display of uniform shape can be obtained.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、文字・記号等のキャラクタの輪郭を表すアウ
トラインデータをビットデータに変換するデータ変換装
置に関するものであり、特に、キャラクタ構成線の端部
の処理に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a data conversion device for converting outline data representing the contours of characters such as letters and symbols into bit data, and in particular, it relates to a data conversion device for converting outline data representing the outline of characters such as letters and symbols into bit data. This is related to the processing of

従来の技術 文字・記号等キャラクタを表すデータをコンピュータを
用いて処理し、印字、デイスプレィ表示など何等かの形
で表示する場合、最小処理単位である画素毎にビットデ
ータを形成することが広く行われている。この際、表示
されるキャラクタ全部について予めビットデータを作成
し、メモリに記憶させると極めて容量の大きいメモリが
必要となるため、特公昭53−41017号公報に記載
されているようにキャラクタをその輪郭を表すアウトラ
インデータで記憶させ、印字等処理時にデータ変換装置
によりビットデータに変換することが望ましい。
Conventional technology When data representing characters such as letters and symbols is processed using a computer and displayed in some form such as printing or display, it is widely practiced to form bit data for each pixel, which is the minimum processing unit. It is being said. In this case, creating bit data in advance for all the characters to be displayed and storing it in memory would require an extremely large memory capacity, so the outline of the character is It is desirable to store the outline data as outline data and convert it into bit data using a data conversion device during processing such as printing.

このアウトラインデータをビットデータに変換するには
画素スクリーンが用いられる。画素スクリーンは、−平
面内において互に直交するX軸とY軸とにそれぞれ平行
な複数の規定線により画素を規定するものであり、その
画素スクリーンにキャラクタの輪郭を重ね合せた場合に
、輪郭内に一定の基準以上の部分が含まれる画素に対応
するビットデータをキャラクタ構成線の存在を表すデー
タとするのである。アウトラインデータはデザイナがデ
ザインしたキャラクタのアウトラインに基づいて求めら
れ、キャラクタの構成線の端部が半円形、三角形等とさ
れて装飾されることがある。
A pixel screen is used to convert this outline data into bit data. A pixel screen defines pixels by a plurality of defining lines parallel to mutually orthogonal X and Y axes in the -plane, and when the outline of a character is superimposed on the pixel screen, the outline The bit data corresponding to a pixel whose portion exceeds a certain standard is used as data representing the existence of a character constituent line. The outline data is obtained based on the outline of the character designed by the designer, and the ends of the constituent lines of the character may be decorated with semicircles, triangles, etc.

発明が解決しようとする課題 しかし、画素スクリーンを用いるデータ変換装置によっ
てアウトラインデータをビットデータに変換し、キャラ
クタを表示する場合には、キャラクタが表示される位置
によって同じキャラクタの構成線であってもその内側に
一定の基準以上台まれる画素の数1位置等が異なり、キ
ャラクタ構成線の内側に含まれる画素の数が少ない場合
にはキャラクタ構成線の端部の形状がまちまちになり、
あるいは不格好になるなど端部に装飾がない方がよい場
合がある。キャラクタを複数の異なるサイズで表示する
ことができる表示装置において小さいサイズでキャラク
タを表示する場合、あるいは装飾端部を表すアウトライ
ンデータをアウトラインが表す形状通りに表示すること
ができない低機能の表示装置によって装飾端部を含むア
ウトラインデータに基づいてキャラクタを表示しようと
する場合がその例である。
Problems to be Solved by the Invention However, when converting outline data into bit data using a data conversion device using a pixel screen and displaying a character, even if the constituent lines of the same character are displayed, depending on the position where the character is displayed, If the number and position of the pixels that are set inside the character composition line is different, and the number of pixels included inside the character composition line is small, the shape of the end of the character composition line will be different.
Alternatively, there may be cases where it is better not to have decorations on the edges, as it would make it look ungainly. When displaying a character at a small size on a display device that can display characters in multiple different sizes, or when displaying a character at a small size on a display device with low functionality that cannot display the outline data representing the decorative edge according to the shape represented by the outline. An example of this is when attempting to display a character based on outline data that includes decorative edges.

前者の場合、表示すイズが小さい場合にはキャラクタを
表示するための画素数が少ないため、キャラクタの表示
位置の違いによる装飾端部の形状の違いが顕著となり、
かえって見栄えが悪くなるため装飾がない方がよくなる
のである。また、後者の場合は、装飾端部をそのデザイ
ンされた形状通りに表示することができる高機能の表示
装置用のメモリに記1.αされたアウトラインデータを
、低機能の表示装置にも使用してコストの低減を図る際
などに発生する。
In the former case, when the display size is small, the number of pixels to display the character is small, so the difference in the shape of the decorative end due to the difference in the display position of the character becomes noticeable.
On the contrary, it would look better without decorations, as it would make it look worse. In the latter case, 1. This problem occurs when the α-processed outline data is also used for low-performance display devices to reduce costs.

本発明は、以上の事情を背景としてキャラクタ構成線の
装飾端部の装飾を自動的になくし得るデータ変換装置を
提供することを課題として為されたものである。
SUMMARY OF THE INVENTION In view of the above-mentioned circumstances, it is an object of the present invention to provide a data conversion device that can automatically eliminate decorations at the ends of character composition lines.

課題を解決するための手段 そして、本発明の要旨は、前述のように画素スクリーン
を用いてアウトラインデータをビットデータに変換する
装置において、アウトラインデータがキャラクタ構成線
の端部を装飾するデータを含む場合に、その端部のデー
タを装飾のない端部を表すデータに変更するデータ変更
手段を設けたことにある。
Means for Solving the Problems The gist of the present invention is to provide an apparatus for converting outline data into bit data using a pixel screen as described above, in which the outline data includes data for decorating the ends of character composition lines. In this case, data changing means is provided for changing the data of the end portion to data representing the end portion without decoration.

作用および発明の効果 このように構成されたデータ変換装置を用いれば、キャ
ラクタを複数のサイズで表示することができる表示装置
において小さいサイズでキャラクタを表示する際に、キ
ャラクタ構成線の端部が装飾されたアウトラインデータ
を用いても端部が装飾のない形状で表示され、形状の揃
った見映のよい表示を得ることができる。また、低機能
の表示装置において、高機能の表示装置に用いられる装
飾端部を含むアウトラインデータを用いてキャラクタを
表示することができる。低機能でも装飾のない端部を形
状通りに表示する機能は備えているため、アウトライン
データが装飾のない端部を表すデータに変更されればキ
ャラクタを構成線の端部が揃った美しい形状で表示する
ことができるのであり、装置の機能程度の違いにかかわ
らずアウトラインデータを記憶するメモリを共用するこ
とができ、装置コストを低減させることが可能となる。
Operation and Effect of the Invention By using the data conversion device configured as described above, when displaying a character in a small size on a display device capable of displaying characters in a plurality of sizes, the ends of the character composition lines can be decorated. Even if the outline data is used, the edges are displayed in a shape without decoration, and it is possible to obtain a display with a uniform shape and a good appearance. Further, in a low-performance display device, a character can be displayed using outline data including decorative edges used in a high-performance display device. Even if the functionality is low, it has the ability to display undecorated edges according to the shape, so if the outline data is changed to data that represents undecorated edges, the character can be displayed in a beautiful shape with the edges of the constituent lines aligned. Therefore, the memory for storing outline data can be shared regardless of the degree of function of the device, and the cost of the device can be reduced.

このように本発明のデータ変換装置によれば、前記デー
タ変更手段を設けることにより、キャラクタ構成線の端
部を装飾するデータを含むアウトラインデータを種々の
態様で有効に使用することができ、コストの低減2表示
品質の向上環の効果を得ることができる。
As described above, according to the data conversion device of the present invention, by providing the data changing means, outline data including data for decorating the ends of character composition lines can be effectively used in various ways, and the cost can be reduced. It is possible to obtain the effects of reduction in display quality and improvement in display quality.

実施例 以下、レーザプリンタにおいてアウトラインデータをビ
ットデータに変換する装置に本発明を適用した場合を例
に取り、図面に基づいて詳細に説明する。
Embodiment Hereinafter, a case in which the present invention is applied to a device for converting outline data into bit data in a laser printer will be explained in detail based on the drawings.

第2図はレーザプリンタの制御回路のうち、デ−夕変換
に関する部分を主として示す図である。
FIG. 2 is a diagram mainly showing the portion related to data conversion of the control circuit of the laser printer.

この制御回路の主体を成すマイクロコンピュータ部10
は、CPU12.キャラクタROM14゜プログラムR
OM16.テキストメモリ18.ワーキングメモリ20
.ビットデータメモリ22およびバス28を備えている
。バス28には入力装置30および印字部32が接続さ
れている。入力装置30は必要なデータをマイクロコン
ピュータ部lOに入力するものであり、印字部32はマ
イクロコンピュータ部10からの指令に基づいてレーザ
により印字を行う部分である。
Microcomputer section 10 which forms the main body of this control circuit
is CPU12. Character ROM14゜Program R
OM16. Text memory 18. working memory 20
.. A bit data memory 22 and a bus 28 are provided. An input device 30 and a printing section 32 are connected to the bus 28 . The input device 30 inputs necessary data to the microcomputer section 10, and the printing section 32 is a section that performs printing using a laser based on commands from the microcomputer section 10.

CPUI 2には、第3図に概念的に示すようにデータ
続出部36.キャラクタの構成線の装飾端部を変更する
装飾端部変更部38.アウトラインデータをビットデー
タに変換するビットデータ変換部40等が設けられてい
る。テキストメモリ18は、入力装置30から入力され
る印字データを記憶するものであり、ワーキングメモリ
20は、プログラム実行時に必要なデータを記憶するも
のである。また、ビットデータメモリ22には、ビット
データ変換部40の変換により得られるビットデータが
記憶される。
The CPU 2 includes a data succession section 36. as conceptually shown in FIG. Decorative end changing section 38 that changes the decorative end of the character's constituent lines. A bit data conversion unit 40 and the like that convert outline data into bit data are provided. The text memory 18 stores print data input from the input device 30, and the working memory 20 stores data necessary for program execution. The bit data memory 22 also stores bit data obtained by conversion by the bit data converter 40.

また、キャラクタROM14には、アルファベットその
他の文字や記号等のキャラクタのアウトラインデータが
記憶されている。本レーザプリンタにおいて印字される
キャラクタは、セリフにより装飾され、さらに、そのセ
リフが装飾部を有する形状にデザインされている。アル
ファベットの“H”を例に取れば、第4図に示されるよ
うに、“H”を構成するために不可欠な複数本のキャラ
クタ構成線44のうち、他のキャラクタ構成線44につ
ながっていない端部にそのキャラクタ構成線44と交差
するセリフ46が付けられるとともに、セリフ46の両
端部がそれぞれ半円形とされて装飾端部48が形成され
ているのである。キャラクタの輪郭を決定するための座
標面は、1(Y軸)、横(X軸)がそれぞれ1000x
lOOOの大きさとされており、X軸方向の中央を中心
とするとともに、アルファベットの大文字はY軸の座標
値の200から1000までの間で描かれ、小文字はO
から200の間も使用して描かれる。
Further, the character ROM 14 stores outline data of characters such as alphabets and other characters and symbols. The characters printed by this laser printer are decorated with serifs, and the serifs are designed to have decorative parts. Taking the alphabet "H" as an example, as shown in FIG. 4, among the plurality of character composition lines 44 essential to constructing "H", none of the character composition lines 44 are connected to other character composition lines 44. A serif 46 that intersects the character composition line 44 is attached to the end, and both ends of the serif 46 are semicircular to form a decorative end 48. The coordinate planes for determining the outline of the character are 1 (Y axis) and 1000 x horizontal (X axis).
It is said to have a size of lOOO, and is centered at the center of the X-axis direction, and uppercase letters of the alphabet are drawn between 200 and 1000 of the Y-axis coordinate value, and lowercase letters are drawn at O
It is also drawn using between 200 and 200.

なお、本実施例においてセリフ46は、アウトラインデ
ータを決定する座標のX軸′あるいはY軸に平行な線と
されている。
In this embodiment, the serifs 46 are lines parallel to the X-axis' or Y-axis of the coordinates that determine the outline data.

アウトラインデータはキャラクタの輪郭の図中黒丸印が
付されている点から点まで毎に作成され、その点から点
までの線の種類および両端の点の座標等を含んでいる。
The outline data is created for each point on the contour of the character marked with a black circle in the figure, and includes the type of line from that point to the point and the coordinates of the points at both ends.

これら各点の座標は輪郭線上に定められた一定の方向(
図中矢印で示されている)に沿って順番に記憶され、各
線の両端の点のうち、上記進行方向において手前側の点
が始点であり、向こう側の点が終点である。アウトライ
ンデータは、一区切りの輪郭線が直線の場合には直線で
あることを示す直線データと始点、終点の各座標データ
とを含み、曲線の場合には曲線データと始点、終点、補
助点の各座標データと曲線を表す関数式のデータとを含
み、円弧の場合には、円弧データと始点、終点2円の中
心点の各座標データとを含むものとされる。また、キャ
ラクタROM14には、アウトラインデータと共に装飾
端部48を指定する装飾端部指定データがキャラクタ毎
に記憶されている。このデータは装飾端部48の始点と
終点とから成る。
The coordinates of each of these points are determined in a certain direction (
Among the points at both ends of each line, the point on the near side in the traveling direction is the starting point, and the point on the far side is the ending point. Outline data includes straight line data indicating the straight line and coordinate data of the start point and end point if the contour line is a straight line, and curve data and coordinate data of the start point, end point, and auxiliary point in the case of a curved line. It includes coordinate data and data of a functional formula representing a curve, and in the case of a circular arc, it includes circular arc data and coordinate data of the center point of two circles, including the starting point and the ending point. Further, the character ROM 14 stores decorative end designation data for specifying the decorative end 48 together with the outline data for each character. This data consists of the starting point and ending point of the decorative end 48.

本レーザプリンタにおいてアウトラインデータのビット
データへの変換は、第5図に例示される画素スクリーン
50を用いて行われる。画素スクリーン50はアウトラ
インデータをビットデータに変換するための計算上のも
のであるが、ここでは理解を容易にするために実在する
ものとして図示することとする。また、ここにおいて画
素とは、レーザにより印字が行われる際の最小印字単位
であり、画素スクリーン50は、水平面内において互に
直交するX軸方向とy軸方向とにそれぞれ平行であって
、等間隔に設けられた複数のX軸方向規定線Xとy軸方
向規定線yとにより画素を規定している。本実施例にお
いて画素は正方形とされているのであり、この画素毎に
印字を行うが否かのビットデータが作成される。なお、
画素は矩形その他の形状とすることも可能である。
In this laser printer, outline data is converted to bit data using a pixel screen 50 illustrated in FIG. Although the pixel screen 50 is a computational device for converting outline data into bit data, it is illustrated here as an actual entity for ease of understanding. In addition, a pixel here is the minimum printing unit when printing is performed by a laser, and the pixel screen 50 is parallel to the X-axis direction and the Y-axis direction, which are perpendicular to each other in the horizontal plane, and is equal to Pixels are defined by a plurality of X-axis direction defining lines X and y-axis direction defining lines y provided at intervals. In this embodiment, the pixels are square, and bit data indicating whether printing is to be performed or not is created for each pixel. In addition,
Pixels can also be rectangular or other shapes.

アウトラインデータのビットデータへの変換は、キャラ
クタの輪郭を画素スクリーン50に重ね合わせたと想定
して行われる。重ね合わせたとき輪郭内には1個の画素
の全部または一部が含まれることとなるが、本実施例に
おいてはキャラクタの輪郭内の各画素にドツトが形成さ
れるようになっており、その画素のビットデータが1と
される。
Conversion of outline data into bit data is performed on the assumption that the outline of the character is superimposed on the pixel screen 50. When superimposed, all or part of one pixel is included in the outline, but in this embodiment, a dot is formed at each pixel in the outline of the character. The bit data of the pixel is set to 1.

この1のビットデータはキャラクタの輪郭内に一定基準
以上含まれる画素のビットデータについて形成され、そ
の他の画素のビットデータは0のままとされる。上記一
定の基準としては、例えば、「画素全体が輪郭内に含ま
れること1.r面積の半分以上が含まれること1等を使
用することも可能であるが、本実施例においてはr画素
の中心が輪郭内に含まれること1が使用されている。キ
ャラクタの輪郭内に画素の中心が含まれるか否かの判定
は、実際には計算によって行われる。
This bit data of 1 is formed for the bit data of pixels included within the outline of the character that exceed a certain standard, and the bit data of other pixels are left as 0. As the above-mentioned certain criteria, for example, it is possible to use ``the entire pixel is included in the contour, 1. that more than half of the r area is included, 1, etc., but in this example, the r pixel is included in the contour. 1 is used that the center is contained within the contour.The determination of whether the center of a pixel is contained within the contour of the character is actually performed by calculation.

本レーザプリンタは、キャラクタを8.5ポイン)、1
0ポイント、 12ポイント 20ポイント。
This laser printer can print characters at 8.5 points), 1
0 points, 12 points, 20 points.

24ポイント、30ポイント等、複数種類のサイズで印
字することができ、印字サイズに合わせて前記1000
xlOOOの座標面で作られた輪郭の座標値が換算され
る。1キヤラクタがCxC画素で印字される場合には、
1画素の一辺の長さが1となる座標面が画素スクリーン
50上に想定され、その座標面上においては1000x
lOOOの座標面上における各座標値がl OOO/C
で除した値として取り扱われるのである。本実施例にお
いては、12ポイントのキャラクタが50×50画素で
表されるように座標値の換算が行われるが、この換算と
共にキャラクタの印字位置を指定する印字位置データに
基づいて画素スクリーン50上におけるキャラクタの位
置の決定も行われ、その結果、キャラクタの輪郭の座標
値が決定される。
Printing can be done in multiple sizes such as 24 points, 30 points, etc., and the above 1000
The coordinate values of the contour created on the xlOOOO coordinate plane are converted. When one character is printed with CxC pixels,
A coordinate plane in which the length of one side of one pixel is 1 is assumed on the pixel screen 50, and on that coordinate plane, 1000x
Each coordinate value on the coordinate plane of lOOOO is lOOOO/C
It is treated as a value divided by . In this embodiment, the coordinate values are converted so that a 12-point character is represented by 50 x 50 pixels, and in addition to this conversion, the coordinate values are converted on the pixel screen 50 based on print position data that specifies the print position of the character. The position of the character in is also determined, and as a result, the coordinate values of the character's outline are determined.

このようにキャラクタの輪郭の画素スクリーン50上に
おける位置はキャラクタの大きさの他、印字位置にも影
響されるため、同じキャラクタでも輪郭内に含まれる画
素数が異なり、キャラクタ構成線の形状や幅に違いが生
ずることがある。この違いは、印字サイズが大きい場合
にはそれほど目立たないが、印字サイズが小さい場合に
は顕著となる。アルファベットの“HIIを例に取れば
、8.5ポイン) (35X35画素)で印字する場合
には第6図に示されるようにドツトが形成される。
In this way, the position of the character's outline on the pixel screen 50 is affected not only by the size of the character but also by the printing position, so even for the same character, the number of pixels included in the outline differs, and the shape and width of the character's line Differences may occur. This difference is not so noticeable when the print size is large, but becomes noticeable when the print size is small. Taking the alphabet "HII" as an example, when printing in 8.5 points (35 x 35 pixels), dots are formed as shown in FIG.

黒の正方形1個が1ドツトを表すが、この図から明らか
なように複数ある円弧状の装飾端部48が異なる形状に
印字され、見映のよい印字が得られないのである。これ
に対し、本レーザプリンタにおいては印字サイズが12
ポイント以下の場合には装飾端部48の形状を直線状に
変更し、端部の形状の揃った美しい印字が得られるよう
にされている。
One black square represents one dot, but as is clear from this figure, the plurality of arc-shaped decorative end portions 48 are printed in different shapes, making it difficult to obtain a good-looking print. On the other hand, with this laser printer, the print size is 12
If it is below the point, the shape of the decorative end portion 48 is changed to a straight line so that beautiful printing with uniform end shape can be obtained.

プログラムROMl6には、第1図にフローチャートで
示される装飾端部変更用のプログラムを始°めとして、
印字に必要な種々のプログラムが記憶されている。以下
、アルファベットの°“HIIを例に取り、装飾端部の
修正について説明する。なお、印字については本発明を
理解する上で不可欠ではないため詳細な説明は省略する
が、木レーザプリンタにおいては印字が1真毎に行われ
る。テキストメモリ18に記憶された印字データのうち
1頁分の印字データが読み出され、その印字データを構
成するキャラクタのアウトラインデータがビットデータ
に変換されて印字が行われるのである。
The program ROM 16 includes the program for changing the decorative end shown in the flowchart in FIG.
Various programs necessary for printing are stored. Hereinafter, we will explain how to modify the decorative edge using the alphabet "HII" as an example.Detailed explanation of the printing will be omitted as it is not essential for understanding the present invention, but in a wood laser printer, Printing is performed for each line.One page of print data stored in the text memory 18 is read out, the outline data of the characters that make up the print data is converted to bit data, and printing is performed. It will be done.

まず、ステップSl(以下、Slと略記する。First, step Sl (hereinafter abbreviated as Sl).

他のステップについても同じ、)において処理すべきキ
ャラクタのアウトラインデータ、装飾端部指定データお
よび印字サイズが読み出され、ワーキングメモリ20に
記憶された後、S2において装飾端部を変更するか否か
の判定が行われる。この判定は、印字サイズが12ポイ
ント以下であるか否かにより行われ、20ポイント 2
4ポイント、30ポイント等の場合には判定結果はNO
となってS3が実行され、アウトライン図形処理が行わ
れる。ここでキャラクタのアウトラインを決定する座標
値が印字ポイント数に合わせて換算されるとともに、印
字位置データに基づいて画素スクリーン50上における
位置が決定されるのであり、この位置を表す座標値はワ
ーキングメモリ20に記憶される。S4においては1個
のキャラクタについてアウトライン図形処理が終了した
か否かの判定が行われる。キャラクタが“11°”のよ
うに互につながった複数本のキャラクタ構成線から成る
場合にはアウトライン図形処理は1度に行われるが、小
文字の“iIIのようにキャラクタが互に離れた2個以
上の独立した構成線から成る場合には構成線毎にアウト
ライン図形処理が行われるため、1個のキャラクタに含
まれる構成線のすべてについてアウトライン図形処理が
終了したか否かの判定が行われるのである。終了してい
なければ再びS3が実行され、終了すればプログラムの
実行はメインルーチンに戻り、ビットデータ変換ルーチ
ンにおいて、ワーキングメモリ20に記憶された処理済
みのアウトラインデータに基づきビットデータへの変換
が行われる。
The same goes for the other steps.) After the outline data, decorative edge specification data, and print size of the character to be processed are read out and stored in the working memory 20, in S2 it is determined whether or not to change the decorative edge. A determination is made. This judgment is made based on whether the print size is 12 points or less, and 20 points 2
In the case of 4 points, 30 points, etc., the judgment result is NO.
Then, S3 is executed and outline graphic processing is performed. Here, the coordinate values that determine the outline of the character are converted according to the number of print points, and the position on the pixel screen 50 is determined based on the print position data, and the coordinate values representing this position are stored in the working memory. 20 is stored. In S4, it is determined whether outline graphic processing has been completed for one character. When a character consists of multiple character constituent lines that are connected to each other, such as "11°", the outline figure processing is performed at once, but when the character consists of two separated character lines, such as the lowercase letter "iii", In the case of the above-mentioned independent constituent lines, outline figure processing is performed for each constituent line, so it is determined whether outline figure processing has been completed for all constituent lines included in one character. Yes. If it has not finished, S3 is executed again, and when it is finished, the program execution returns to the main routine, and in the bit data conversion routine, conversion to bit data is performed based on the processed outline data stored in the working memory 20. will be held.

それに対し、印字サイズが12ポイント、10ポイント
、8.5ポイント等である場合にはS2の判定結果がY
ESとなり、S5において処理されるキャラクタに装飾
端部があるか否か、すなわち装飾端部指定データがある
か否かの判定が行われ、ある場合にはS6において装飾
端部48の変更が行われる。装飾端部48は半円形を成
し、この部分のアウトラインデータは円弧データと始点
、終点および円の中心点の座標データとを含むため、直
線データおよび上記始点、終点の座標データのみを含み
、第7図に示されるように装飾のない形状を表すデータ
に変更されるのである。なお、セリフ46はアウトライ
ンデータを決定する座標のX軸あるいはY軸に平行に形
成されているため、半円形の始点と終点とを結ぶ直線は
画素スクリーン50の画素規定線Xあるいはyに平行な
直線となる。また、変更されるアウトラインデータはワ
ーキングメモリ20に記憶されたものであり、キャラク
タROM14には装飾端部48のデータを含むアウトラ
インデータが残っている。変更後、S3において装飾端
部48については変更されたアウトラインデータに基づ
いて、他の部分については予め記憶されたアウトライン
データに基づいてアウトライン図形処理が行われ、1個
のキャラクタの全部について処理が終了したならばビ、
ントデータ変換ルーチンにおいてビットデータへの変換
が行われる。
On the other hand, if the print size is 12 points, 10 points, 8.5 points, etc., the determination result of S2 is Y.
ES, and in S5 it is determined whether or not the character to be processed has a decorative end, that is, whether or not there is decorative end designation data, and if there is, the decorative end 48 is changed in S6. be exposed. The decorative end portion 48 has a semicircular shape, and the outline data of this portion includes arc data and coordinate data of the starting point, the ending point, and the center point of the circle, so it includes only the straight line data and the coordinate data of the starting point and the ending point, As shown in FIG. 7, the data is changed to represent a shape without decoration. Note that since the serifs 46 are formed parallel to the X-axis or Y-axis of the coordinates that determine the outline data, the straight line connecting the starting point and end point of the semicircle is parallel to the pixel defining line X or y of the pixel screen 50. It becomes a straight line. Further, the outline data to be changed is that stored in the working memory 20, and the outline data including the data of the decorative end portion 48 remains in the character ROM 14. After the change, in S3, outline graphic processing is performed for the decorative end portion 48 based on the changed outline data and for other parts based on the previously stored outline data, and the entire character is processed. Once finished,
Conversion to bit data is performed in the component data conversion routine.

また、装飾端部指定データがない場合にはS5の判定結
果はNOとなり、装飾端部の変更は行われず、S3のア
ウトライン図形処理が行われる。
If there is no decorative end designation data, the determination result in S5 is NO, the decorative end is not changed, and the outline graphic process in S3 is performed.

このように装飾端部48のアウトラインデータを装飾の
ない直線端部に変更すれば、第8図に示されるようにセ
リフ46の端部の形状が揃った美しい印字が得られる。
By changing the outline data of the decorative end portion 48 to a straight end portion without decoration in this way, beautiful printing with uniform end shapes of the serifs 46 can be obtained as shown in FIG.

画素スクリーン50の画素規定線x、yに平行な直線で
あれば、その直線が画素スクリーン50上のどの位置に
あっても、その直線によって表される部分については画
素規定線に平行に一直線状に並んだ画素についてキャラ
クタ構成線の存在を表すlのビットデータが形成される
からである。
If a straight line is parallel to the pixel defining lines x and y of the pixel screen 50, no matter where the straight line is located on the pixel screen 50, the part represented by that straight line will be in a straight line parallel to the pixel defining line. This is because l bit data representing the existence of a character constituent line is formed for pixels lined up in .

以上の説明から明らかなように、本実施例においてはプ
ログラムROM16の32.S5,36を記憶する領域
およびCPU12のそれらステップを実行する部分、す
なわち前記装飾端部変更部38がデータ変更手段を構成
しているのである。
As is clear from the above description, in this embodiment, 32. The area for storing S5 and S36 and the part of the CPU 12 that executes these steps, that is, the decorative end changing section 38 constitute data changing means.

なお、装飾端部48を直線に変更した場合、セリフ46
が短くなったと感することがある。そのような場合には
、装飾端部48のアウトラインデータを変更する際にセ
リフ46が長くなるように変更すればよい。
Note that if the decorative end 48 is changed to a straight line, the serif 46
Sometimes it feels like it's getting shorter. In such a case, when changing the outline data of the decorative end portion 48, the serifs 46 may be changed to be longer.

また、上記実施例においてはセリフ46の両端部に形成
された装飾端部48をなくしていたが、セリフ46その
ものをなくしてもよい。
Further, in the above embodiment, the decorative end portions 48 formed at both ends of the serifs 46 are eliminated, but the serifs 46 themselves may be eliminated.

さらに、上記実施例においては、半円形の装飾端部48
が画素規定線に平行な直線端部に変更されるようになっ
ていたが、装飾端部をなくすることができるのであれば
別の態様で変更してもよい。
Furthermore, in the above embodiment, the semicircular decorative end 48
is changed to a straight end parallel to the pixel defining line, but it may be changed in another manner as long as the decorative end can be eliminated.

セリフはキャラクタのアウトラインデータを決定する座
標面の軸に平行に形成されるとは限らず、また、キャラ
クタ構成線の端部の装飾も両端部が半円形のセリフを付
ける態様に限らないなど種々に為されるため、その装飾
の態様に応じて変更すればよいのである。
Serifs are not necessarily formed parallel to the axis of the coordinate plane that determines the character's outline data, and the decoration of the ends of character composition lines is not limited to semicircular serifs at both ends. Therefore, it can be changed depending on the mode of decoration.

さらにまた、上記実施例においては、複数の異なる大き
さでキャラクタを印字することができるプリンタにおい
て、印字サイズに応じて装飾端部を変更する否かを選択
し得るようになっていたが、装飾端部を表すアウトライ
ンデータに基づいて装飾端部をデザイン通りに印字する
ことができない低機能のプリンタのデータ変換装置に本
発明を適用することもでき、その場合には常に装飾端部
の変更が行われることとなる。
Furthermore, in the above embodiment, in a printer that can print characters in a plurality of different sizes, it is possible to select whether or not to change the decorative edge depending on the print size. The present invention can also be applied to a data conversion device of a low-performance printer that cannot print decorative edges according to the design based on outline data representing the edges, and in that case, the decorative edges cannot always be changed. It will be carried out.

また、上記実施例においては、装飾端部指定データがキ
ャラクタROM14に記憶され、そのデータに基づいて
装飾端部のアウトラインデータが変更されるようになっ
ていたが、装飾端部指定データを設けることは不可欠で
はない。アウトラインデータには線の種類も含まれるた
め、アウトラインデータそのものから装飾端部があるか
否かを判断することが可能であるからである。
Furthermore, in the above embodiment, the decorative end designation data is stored in the character ROM 14, and the outline data of the decorative end is changed based on the data, but it is possible to provide the decorative end designation data. is not essential. This is because the outline data also includes the type of line, so it is possible to determine whether or not there is a decorative end portion from the outline data itself.

さらに、レーザプリンタ以外のプリンタに本発明を適用
し得ることは勿論、プリンタ以外にも文字、記号等のキ
ャラクタのアウトラインデータをビットデータに変換す
る必要のある装置に一般的に本発明を適用することがで
きる。
Furthermore, it goes without saying that the present invention can be applied to printers other than laser printers, and the present invention is generally applicable to devices other than printers that require converting outline data of characters such as letters and symbols into bit data. be able to.

その他、いちいち例示することはしないが、当業者の知
識に基づいて種々の変形、改良を施した態様で本発明を
実施することができる。
Although not illustrated in detail, the present invention can be implemented in various modifications and improvements based on the knowledge of those skilled in the art.

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

第1図は本発明の一実施例であるデータ変換装置の制御
回路のプログラムROMに記憶された装飾端部変更プロ
グラムを示すフローチャートである。第2図は上記デー
タ変換装置を備えたレーザプリンタの制御回路を示すブ
ロック図である。第3図は上記制御回路を構成するCP
Uを概念的に示す図である。第4図は上記データ変換装
置によりアウトラインデータに変換されるキャラクタの
一例“Ho“をその輪郭を決定する座標面上において示
す図である。第5図はその゛ト■°゛を画素スクリーン
に重ねたと想定した場合の状態を示す図である。第6図
は上記“H″を8.5ポイントで印字する際にアウトラ
インデータを従来のデータ変換装置によりビットデータ
に変換した場合の印字を示す図である。第7図は上記装
飾端部変更プログラムに従って変更された装飾端部の輪
郭を示す図であり、第8図は変更されたアウトラインデ
ータに従って“Hnを8.5ポイントで印字した場合を
示す図である。 10:マイクロコンピュータ部 44:キャラクタ構成線  46:セリフ48:装飾端
部     5o:画素スクリーンX:X軸方向規定線
   y:y軸方向規定線第1図
FIG. 1 is a flowchart showing a decorative end changing program stored in a program ROM of a control circuit of a data conversion device according to an embodiment of the present invention. FIG. 2 is a block diagram showing a control circuit of a laser printer equipped with the data conversion device. Figure 3 shows the CPs constituting the above control circuit.
It is a figure which shows U conceptually. FIG. 4 is a diagram showing an example of a character "Ho" converted into outline data by the data conversion device on a coordinate plane whose outline is determined. FIG. 5 is a diagram showing a state in which it is assumed that the digits are superimposed on the pixel screen. FIG. 6 is a diagram showing printing when outline data is converted into bit data by a conventional data converter when printing the above-mentioned "H" at 8.5 points. FIG. 7 is a diagram showing the outline of the decorative end changed according to the above-mentioned decorative end changing program, and FIG. 8 is a diagram showing the case where "Hn" is printed at 8.5 points according to the changed outline data. 10: Microcomputer section 44: Character composition line 46: Serif 48: Decorative end 5o: Pixel screen X: X-axis direction defining line y: Y-axis direction defining line FIG.

Claims (1)

【特許請求の範囲】 アウトラインデータによって表されるキャラクタの輪郭
を、互に直交するX軸方向とY軸方向とにそれぞれ平行
な複数の規定線により画素を規定する画素スクリーンに
重ね合せたと想定した場合に、キャラクタの構成線の輪
郭内に一定基準を満たす状態で含まれる画素に対応する
ビットデータをキャラクタ構成線の存在を表すデータと
することにより、アウトラインデータをビットデータに
変換するデータ変換装置において、 前記アウトラインデータが、前記キャラクタ構成線の端
部を半円形、三角形等に装飾するデータを含む場合に、
その端部のデータを装飾のない端部を表すデータに変更
するデータ変更手段を設けたことを特徴とするデータ変
換装置。
[Claims] It is assumed that the outline of a character represented by outline data is superimposed on a pixel screen that defines pixels by a plurality of defining lines parallel to the X-axis direction and the Y-axis direction, which are orthogonal to each other. A data conversion device that converts outline data into bit data by using bit data corresponding to pixels that are included in the outline of a character's constituent lines in a state that satisfies a certain standard as data representing the existence of character constituent lines. In the case where the outline data includes data for decorating the ends of the character composition lines into semicircles, triangles, etc.,
1. A data conversion device comprising a data changing means for changing the data of the end portion to data representing an undecorated end portion.
JP63239940A 1988-09-26 1988-09-26 Character data processing device Expired - Fee Related JP2811684B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP63239940A JP2811684B2 (en) 1988-09-26 1988-09-26 Character data processing device
US07/410,872 US5018217A (en) 1988-09-26 1989-09-22 Data converting apparatus having means for changing ornamental stroke end data of character outline
GB8921723A GB2224623B (en) 1988-09-26 1989-09-26 Data converting apparatus having means for changing ornamental stroke end data of character outline
DE3932024A DE3932024C2 (en) 1988-09-26 1989-09-26 Data processing system for converting a group of outline data
FR8912569A FR2637101B1 (en) 1988-09-26 1989-09-26 DATA CONVERSION DEVICE COMPRISING MEANS FOR MODIFYING ORNAMENTAL END DATA OF THE LEG CONTOUR OF A CHARACTER

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63239940A JP2811684B2 (en) 1988-09-26 1988-09-26 Character data processing device

Publications (2)

Publication Number Publication Date
JPH0289189A true JPH0289189A (en) 1990-03-29
JP2811684B2 JP2811684B2 (en) 1998-10-15

Family

ID=17052083

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63239940A Expired - Fee Related JP2811684B2 (en) 1988-09-26 1988-09-26 Character data processing device

Country Status (1)

Country Link
JP (1) JP2811684B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08202331A (en) * 1995-01-27 1996-08-09 Nec Off Syst Ltd Character generator

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01140192A (en) * 1987-11-27 1989-06-01 Nec Off Syst Ltd Character generator

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01140192A (en) * 1987-11-27 1989-06-01 Nec Off Syst Ltd Character generator

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08202331A (en) * 1995-01-27 1996-08-09 Nec Off Syst Ltd Character generator

Also Published As

Publication number Publication date
JP2811684B2 (en) 1998-10-15

Similar Documents

Publication Publication Date Title
JPH0289189A (en) Data converting device
JP2757411B2 (en) Data converter
US20020075492A1 (en) Method to custom colorize type face
JP3923544B2 (en) Character modifier and character modifier method
JP2956705B2 (en) Data converter
JP2572074B2 (en) Character processor
JPH04120594A (en) Data converter
JP2754579B2 (en) Data converter
JPH02231166A (en) Data converter
JPH01215557A (en) Word processor
JPH0784739A (en) Data converter
JPH023092A (en) Character interpolating method for facsimile equipment
JPH024549A (en) Character processing system
JPH02116565A (en) Data conversion device
JPH08179746A (en) Method and device for forming fringed character
JPH09314909A (en) Printer
JPH0743584B2 (en) Data converter
JPH05216456A (en) Character output device
JPH04257893A (en) Data conversion device
Van Zandt User’s Guide1
JPH02234195A (en) Data converter
JPH06167961A (en) System and device for character correction
JPH0235581A (en) Data converter
JPH07152359A (en) Character modifying device
JPH01217395A (en) Word processor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees