JPH0792957A - High-quality character output device - Google Patents

High-quality character output device

Info

Publication number
JPH0792957A
JPH0792957A JP5240873A JP24087393A JPH0792957A JP H0792957 A JPH0792957 A JP H0792957A JP 5240873 A JP5240873 A JP 5240873A JP 24087393 A JP24087393 A JP 24087393A JP H0792957 A JPH0792957 A JP H0792957A
Authority
JP
Japan
Prior art keywords
character
correction
scaling
data
size
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
JP5240873A
Other languages
Japanese (ja)
Other versions
JP3089913B2 (en
Inventor
Atsuhiko Kurachi
敦彦 倉知
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 JP05240873A priority Critical patent/JP3089913B2/en
Publication of JPH0792957A publication Critical patent/JPH0792957A/en
Application granted granted Critical
Publication of JP3089913B2 publication Critical patent/JP3089913B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Image Processing (AREA)
  • Digital Computer Display Output (AREA)
  • Image Generation (AREA)

Abstract

PURPOSE:To alter specific scaling for a character, to generate dot data having small distortion, and to output a character of high quality by providing scaling correction data as to a specific character size wherein each character deteriorates in print quality when outline character data are converted into dot data. CONSTITUTION:Character size information on respective characters and scaling correction information corresponding to sizes are stored corresponding to each other and when a desired character is outputted with a character size for which scaling correction is defined (S93), the scaling correction information is used (S95 and S96) to apply scaling different from scaling corresponding to the specified character size (S97), thereby converting the outline data after a processing (S98) for the correction scaling into dot data.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、文字データを輪郭線よ
り構成されるアウトラインデータとして記憶し、そのア
ウトラインデータから高品質なドットデータを作成、出
力する文字出力装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character output device which stores character data as outline data composed of contour lines and creates and outputs high quality dot data from the outline data.

【0002】[0002]

【従来の技術】従来、文字や記号などのキャラクタを発
生させる方式として、文字や記号の輪郭データ(以下、
アウトラインデータと称す)を用いるアウトライン方式
がある。この方式は文字コードに従い記憶部より文字の
アウトラインデータを読みだし、任意の文字サイズにス
ケーリングした後、ドットデータに変換するもので、変
換されたデータはレーザプリンタなどの出力機器から出
力されていた。この方式では、文字の形状データは1つ
以上のアウトラインデータから構成され、さらにアウト
ラインデータは直線要素と曲線要素との組み合わせから
なる閉曲線として与えられている。このアウトラインデ
ータを指定された任意の文字サイズにスケーリングした
後、出力する機器のドットデータに対応する複数行×複
数列の画素を有する画素スクリーンに重ね合わせ、アウ
トラインデータとの関係が一定基準を満たす画素をオン
とすることでドットデータを作成、出力していた。
2. Description of the Related Art Conventionally, as a method of generating characters such as characters and symbols, outline data of characters and symbols (hereinafter, referred to as
There is an outline method using the outline data). This method reads out outline data of a character from the storage unit according to the character code, scales it to an arbitrary character size, and then converts it into dot data. The converted data was output from an output device such as a laser printer. . In this method, the character shape data is composed of one or more outline data, and the outline data is given as a closed curve composed of a combination of straight line elements and curved line elements. After scaling this outline data to a specified arbitrary character size, overlay it on a pixel screen that has pixels in multiple rows x multiple columns corresponding to the dot data of the output device, and the relationship with the outline data satisfies a certain standard. The dot data was created and output by turning on the pixel.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上述し
たようなアウトラインデータを用いて従来方式でドット
データに変換した場合、プリンタやディスプレイなどの
出力装置の特性上、ドットデータは一定の大きさで一定
の位置にしか配置できないために量子化誤差が発生し、
アウトラインデータの形状と変換されたドットデータと
の形状は異なったものとなっていた。そして、特に出力
装置の解像度が低い場合で小さな文字を出力しようとし
た場合、文字を構成するドットサイズが小さくなり、量
子化誤差が大きなものとなるため、ドットデータの形状
が歪み、文字品質が低下する問題があった。例えば図2
のような左右対称な「T」の文字を図5で示されるよう
な文字サイズで出力する時、対応するドットデータは、
画素スクリーンとの位置関係によって図6の様に左右が
非常にアンバランスなドット形状となってしまうことが
あり、出力される文字の品質を低下させることがあっ
た。なお、この例における塗りつぶし手法は出力される
各ドット位置の中心座標がスケーリング後のアウトライ
ンの内側であればドットをオンとする場合の例である
が、他の塗りつぶし手法の場合でも同様な問題が発生す
る。
However, when the outline data as described above is converted into dot data by the conventional method, the dot data has a constant size and a constant size due to the characteristics of the output device such as a printer or a display. Since it can only be placed in the position of, a quantization error occurs,
The shape of the outline data and the shape of the converted dot data were different. Then, when trying to output a small character especially when the resolution of the output device is low, the dot size forming the character becomes small and the quantization error becomes large, so the shape of the dot data is distorted and the character quality is There was a problem of decline. Figure 2
When outputting a bilaterally symmetric “T” character with a character size as shown in FIG. 5, the corresponding dot data is
Depending on the positional relationship with the pixel screen, the left and right sides may have a very unbalanced dot shape as shown in FIG. 6, which may deteriorate the quality of the characters to be output. Note that the fill method in this example is an example in which the dot is turned on if the center coordinates of the output dot positions are inside the scaled outline, but similar problems occur with other fill methods. Occur.

【0004】本発明は、上述した問題点を解決するため
になされたものであり、アウトラインデータをドットデ
ータに変換する場合に、スケーリング処理を必要に応じ
て補正することでドットデータの形状の歪みを減少さ
せ、より品質の高い文字出力が可能な高品質文字出力装
置を提供することを目的としている。
The present invention has been made to solve the above-described problems, and when converting outline data to dot data, distortion of the shape of dot data is corrected by correcting the scaling process as necessary. It is an object of the present invention to provide a high quality character output device capable of reducing the number of characters and outputting a character of higher quality.

【0005】[0005]

【課題を解決するための手段】この目的を達成するため
に本発明の高品質文字出力装置は、文字の輪郭線の形状
を直線要素と曲線要素から構成されるアウトラインデー
タとして記憶しており、指定された文字コードに従って
アウトラインデータを検索し、検索されたアウトライン
データを指定された文字サイズに応じた大きさにスケー
リング処理した後ドットデータに変換して出力する装置
であって、文字の文字サイズ情報と、そのサイズにおけ
るスケーリング処理を補正するための補正情報とを対応
させて記憶している補正データ記憶手段と、所望の文字
と文字サイズとが指定された場合に、前記補正データ記
憶手段より補正の有無と、補正が指定されている場合は
その補正量とを取り出し、それに基づいてアウトライン
データのスケーリング処理を変更するスケーリング補正
手段とを備えている。
To achieve this object, a high quality character output device of the present invention stores the shape of a character outline as outline data composed of straight line elements and curved line elements, A device that searches outline data according to the specified character code, scales the searched outline data to a size according to the specified character size, converts it to dot data, and outputs it. Correction data storage means for storing information and correction information for correcting scaling processing in that size in association with each other, and when a desired character and character size are designated, the correction data storage means The presence / absence of correction and, if correction is specified, the correction amount are extracted, and the scale of outline data is calculated based on that. And a scaling correction means for changing the grayed process.

【0006】[0006]

【作用】上記の構成を有する本発明の高品質文字出力装
置は、文字コードと出力サイズが入力された後、文字の
サイズ情報とそのサイズにおける補正情報とが対応して
記憶されてる補正データ記憶手段をもとに、任意の文字
を任意のサイズで出力する場合にスケーリング処理を補
正するか否かが判定され、スケーリング処理を補正する
場合にはその補正量が取り出され、補正量をもとに文字
のスケーリング値が変更され、変更されたスケーリング
値をもとに文字のアウトラインデータが画素スクリーン
の座標系に変換され、さらにドットデータに変換されて
出力される。
In the high quality character output device of the present invention having the above-mentioned structure, after the character code and the output size are inputted, the character size information and the correction information in the size are stored in correspondence with each other. Based on the means, it is determined whether or not the scaling process is corrected when an arbitrary character is output in an arbitrary size. When the scaling process is corrected, the correction amount is extracted, and the correction amount is calculated based on the correction amount. The scaling value of the character is changed to, the outline data of the character is converted to the coordinate system of the pixel screen based on the changed scaling value, and further converted to dot data for output.

【0007】[0007]

【実施例】以下、本発明を具体化した一実施例を図面を
参照して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0008】図1は本発明を適用したレーザプリンタの
制御回路のうち、主としてアウトラインデータからドッ
トデータを発生する部分を示すブロック図である。この
制御回路の主体をなすマイクロコンピューター部10は
CPU14、キャラクタROM17、プログラムROM
16、テキストメモリ110、ワーキングメモリ15、
ドットデータメモリ18、スケーリング補正データRO
M19とにより構成されている。そしてこれらCPU1
4等はシステムバス13を介して互いに接続されてい
る。また、マイクロコンピューター部10にはシステム
バス13を介して入力装置11及び印字部12が接続さ
れている。
FIG. 1 is a block diagram showing a portion of a control circuit of a laser printer to which the present invention is applied, which mainly generates dot data from outline data. The microcomputer unit 10 that is the main body of this control circuit includes a CPU 14, a character ROM 17, and a program ROM.
16, text memory 110, working memory 15,
Dot data memory 18, scaling correction data RO
And M19. And these CPU1
4 and the like are connected to each other via the system bus 13. Further, an input device 11 and a printing unit 12 are connected to the microcomputer unit 10 via a system bus 13.

【0009】入力装置11は、外部から供給されるキャ
ラクタコード、文字サイズ、及び斜体や回転などの文字
修飾情報等を入力する。
The input device 11 inputs a character code, a character size, and character modification information such as italics and rotation supplied from the outside.

【0010】プログラムROM16は、本実施例で後述
する様々な制御を実施するためのプログラムを記憶して
いる。
The program ROM 16 stores programs for executing various controls described later in this embodiment.

【0011】テキストメモリ110は、前記入力装置1
1から入力されるキャラクタコード、文字サイズ、斜体
や回転などの文字修飾情報などを記憶するものである。
The text memory 110 is the input device 1
The character code, the character size, the character modification information such as italics and rotations input from 1 are stored.

【0012】キャラクタROM17は文字の形状データ
と、その文字の文字幅等の文字データを記憶するもので
あり、この文字データは1文字ずつ読みだし可能であ
る。文字幅とは出力すべき文字に対して、次の文字を特
別な位置指定なしで続けて出力する場合に、現在の文字
の開始点から次の文字の開始点までの距離を示す情報で
あり、文字送り量とも称される情報である。各文字の形
状データは、文字の直線要素と曲線要素とのそれぞれの
座標値より構成される閉曲線の集合であるアウトライン
データである。アウトラインデータの記憶形式について
は後で詳細に説明する。
The character ROM 17 stores character shape data and character data such as the character width of the character, and this character data can be read out character by character. The character width is the information indicating the distance from the start point of the current character to the start point of the next character when the next character is continuously output without any special position specification for the character to be output. This is information that is also called a character feed amount. The shape data of each character is outline data that is a set of closed curves composed of the coordinate values of the straight line element and the curved line element of the character. The storage format of the outline data will be described later in detail.

【0013】スケーリング補正データROM19には、
後述するスケーリング補正処理のためのスケーリング補
正データが収納されている。スケーリング補正データに
ついては後で詳細に説明する。
In the scaling correction data ROM 19,
Scaling correction data for scaling correction processing described later is stored. The scaling correction data will be described in detail later.

【0014】CPU14は、本実施例を実現するための
処理を、プログラムROM16によって与えられたプロ
グラムに従って行うものである。
The CPU 14 performs the processing for realizing the present embodiment in accordance with the program given by the program ROM 16.

【0015】ワーキングメモリ15は、CPU14がプ
ログラムを実行するときに必要なデータを一時的に記憶
するものである。
The working memory 15 temporarily stores data required when the CPU 14 executes a program.

【0016】ドットデータメモリ18はアウトラインデ
ータから変換されたドットデータを記憶するものであ
る。
The dot data memory 18 stores the dot data converted from the outline data.

【0017】印字部12は、電子写真方式によりドット
データメモリ18から読みだしたドットイメージデータ
を印字する装置である。
The printing unit 12 is a device for printing the dot image data read from the dot data memory 18 by the electrophotographic method.

【0018】以下にキャラクタROM17に収納するア
ウトラインデータの形式について説明する。なお、本実
施例ではアウトラインデータの曲線要素は3次ベジエ曲
線(以後、単に曲線と称する)のみで表現される場合に
ついて説明する。アウトラインデータは、例えば図2に
示す文字形状に対しては、図3に示すような種別フラグ
とそれに伴う座標値データとの組み合わせで記憶してい
る。ここで、種別フラグにはアウトラインデータの1つ
の閉曲線の開始点を示す「S」、直線の終点を示す
「L」、曲線の第1制御点を示す「B1」、曲線の第2
制御点を示す「B2」、曲線の終点を示す「B」、1つ
の閉曲線の終了を示す「*」、アウトラインデータの終
了を示す「!」がある。座標値データは「*」と「!」
を除く各種別フラグにx、yの1組ずつ存在する。な
お、直線及び曲線の始点はその時点のカレント点と呼ば
れる架空の点である。カレント点は閉曲線の開始点の場
合はその点に移動し、直線あるいは曲線の場合はその終
点に移動する。
The format of the outline data stored in the character ROM 17 will be described below. In the present embodiment, the case where the curve element of the outline data is represented by only a cubic Bezier curve (hereinafter simply referred to as curve) will be described. The outline data, for example, for the character shape shown in FIG. 2, is stored as a combination of a type flag as shown in FIG. 3 and coordinate value data accompanying it. Here, in the type flag, "S" indicating the start point of one closed curve of the outline data, "L" indicating the end point of the straight line, "B1" indicating the first control point of the curve, and the second point of the curve.
There are “B2” indicating the control point, “B” indicating the end point of the curve, “*” indicating the end of one closed curve, and “!” Indicating the end of the outline data. Coordinate data is "*" and "!"
There is one set of x and y for each type of flag other than. The starting points of the straight line and the curve are fictitious points called current points at that time. The current point moves to the start point of the closed curve, and to the end point of the straight line or curve.

【0019】次にスケーリング補正データROM19に
格納されるデータの詳細について説明する。スケーリン
グ補正データは、本実施例では各文字のアウトラインデ
ータと対応し、各文字毎に記憶されている。1文字に対
するスケーリング補正データの例を図4の(a)を用い
て説明する。スケーリング補正データは、文字の横ドッ
トサイズの最大、最小のペアである横ドットサイズ範囲
と、その範囲に対応した補正フラグとで構成されてい
る。なお、図4(a)の「補正スケーリング後の横ドッ
トサイズ」は計算によって得られる値であり、スケーリ
ング補正データROM19には格納されていない。文字
の横ドットサイズとは、その文字の文字幅がスケーリン
グ後に何ドットになるかを示す計算上の値であり、小数
点以下を持つ数値として扱われる。補正フラグは「U」
か「D」の何れかであり、「U」は横ドットサイズを切
り上げる指示であり、「D」は切り捨てる指示を現す。
横ドットサイズ範囲が定義されていない領域や、補正フ
ラグがない横ドットサイズ範囲は補正無しと解釈され
る。
Next, details of the data stored in the scaling correction data ROM 19 will be described. In the present embodiment, the scaling correction data corresponds to the outline data of each character and is stored for each character. An example of scaling correction data for one character will be described with reference to FIG. The scaling correction data is composed of a horizontal dot size range, which is the maximum and minimum pair of horizontal dot sizes of characters, and a correction flag corresponding to the range. The “lateral dot size after correction scaling” in FIG. 4A is a value obtained by calculation and is not stored in the scaling correction data ROM 19. The horizontal dot size of a character is a calculated value that indicates how many dots the character width of the character becomes after scaling, and is treated as a numerical value with a decimal point. The correction flag is "U"
Or “D”, “U” is an instruction to round up the horizontal dot size, and “D” is an instruction to round down.
A region in which the horizontal dot size range is not defined or a horizontal dot size range without a correction flag is interpreted as no correction.

【0020】図4(a)の様なスケーリング補正データ
の場合、補正前の横ドットサイズと補正後の横ドットサ
イズとは図4(b)の様な関係となる。なお、スケーリ
ングの補正は最終的には文字形状のアウトラインのスケ
ーリングに対してのみ適用され、次の文字の開始点を決
定する場合に用いられる文字幅のドットサイズは補正の
有無に拘らず補正前の値が用いられる。
In the case of the scaling correction data shown in FIG. 4A, the horizontal dot size before correction and the horizontal dot size after correction have the relationship shown in FIG. 4B. Note that the scaling correction is finally applied only to the scaling of the outline of the character shape, and the dot size of the character width used when determining the start point of the next character is the value before or after the correction regardless of the correction. The value of is used.

【0021】次に、本実施例のアウトラインからドット
データまでの変換処理の概要を図8のフローチャートを
用いて説明する。
Next, the outline of the conversion processing from outline to dot data according to the present embodiment will be described with reference to the flowchart of FIG.

【0022】まずステップS81で、出力したい文字の
文字コードを入力し、次にステップS82で出力したい
文字サイズを入力する。ステップS83では、文字の文
字コードに対応するアウトラインデータと、文字幅デー
タをキャラクタROM17から取り込む。ステップS8
4では文字のスケーリング処理や、回転、反転などの指
定に合わせた座標変換を行う。ここで、アウトラインは
ドット1つの大きさを1とする画素スクリーンに対応し
た座標値に変換される。このステップは後で詳述する。
ステップ85では最終的に得られたアウトラインデータ
を、ラスタスキャン方式にて塗りつぶし、ドットデータ
に変換する。ラスタスキャン方式はすでに公知の技術で
あり、また本発明の主たる部分ではないため詳細な説明
は省略する。
First, in step S81, the character code of the character to be output is input, and then in step S82, the character size to be output is input. In step S83, the outline data corresponding to the character code of the character and the character width data are fetched from the character ROM 17. Step S8
In 4, the character scaling process and the coordinate conversion according to the designation such as rotation and inversion are performed. Here, the outline is converted into coordinate values corresponding to a pixel screen in which the size of one dot is 1. This step will be detailed later.
In step 85, the outline data finally obtained is filled in by the raster scan method and converted into dot data. The raster scan method is a known technique and is not a main part of the present invention, so a detailed description thereof will be omitted.

【0023】次に、ステップS84のスケーリング処理
の詳細を図9を用いて説明する。
Next, details of the scaling processing in step S84 will be described with reference to FIG.

【0024】まず与えられたスケーリング値をそのまま
用いて、文字幅のドット数をステップS91で計算す
る。この値は、例えば図5のような場合で説明すると、
文字幅はWで現される部分であり、7.25ドットであ
る。なお51で示された格子は画素スクリーンを表現し
たものである。ステップS92では回転や反転などの特
別な座標変換処理が必要か否かを判定している。特別な
座標変換処理が行われる場合は、本実施例のスケーリン
グ補正処理では予期しない結果を生ずることがあるため
補正処理は行わずステップS98へ飛ぶ。
First, using the given scaling value as it is, the number of dots of the character width is calculated in step S91. If this value is explained in the case of FIG. 5, for example,
The character width is the portion represented by W and is 7.25 dots. The grid indicated by 51 represents a pixel screen. In step S92, it is determined whether a special coordinate conversion process such as rotation or inversion is necessary. If a special coordinate conversion process is performed, an unexpected result may occur in the scaling correction process of the present embodiment, so the correction process is not performed and the process jumps to step S98.

【0025】ステップS93では、スケーリング補正デ
ータROM19を検索し、ステップS91で計算した文
字幅に対応する補正フラグを読み出す。補正データが図
4(a)で表されたデータであるならば、7.25ドッ
トの値に対応したドットデータ範囲を検索し、補正フラ
グ「U」を得る。このとき、与えられた文字幅に対応す
るドットデータ範囲がない場合や、ドットデータ範囲は
存在するが補正フラグがない場合は、補正無しとしてス
テップS98に飛ぶ。ステップS93で得られた補正フ
ラグを、ステップS94で判定する。補正フラグが
「U」であれば切り上げ補正としてステップS95へ、
補正フラグが「D」であれば切り捨て補正としてステッ
プS96に、それぞれ進む。
In step S93, the scaling correction data ROM 19 is searched, and the correction flag corresponding to the character width calculated in step S91 is read. If the correction data is the data shown in FIG. 4A, the dot data range corresponding to the value of 7.25 dots is searched and the correction flag “U” is obtained. At this time, if there is no dot data range corresponding to the given character width, or if there is a dot data range but no correction flag, no correction is made and the process jumps to step S98. The correction flag obtained in step S93 is determined in step S94. If the correction flag is "U", the rounding up correction is performed and the process proceeds to step S95.
If the correction flag is "D", it is determined that the correction is rounding down, and the process proceeds to step S96.

【0026】ステップS95では文字幅のドットサイズ
を切り上げる。もし文字幅が7.25ドットであれば、
8ドットにする。ステップS96では逆に文字幅の切り
捨てを行う。もし文字幅が7.25ドットであれば7ド
ットにする。次にステップS97ではスケーリング前の
文字幅が、切り上げあるいは切り捨てられた文字幅にな
るようなスケーリング値を計算し、そのスケーリング値
が新たな横スケール値となるように現在の横スケール値
を変更する。
In step S95, the dot size of the character width is rounded up. If the character width is 7.25 dots,
Use 8 dots. Conversely, in step S96, the character width is truncated. If the character width is 7.25 dots, set it to 7 dots. Next, in step S97, a scaling value is calculated such that the character width before scaling becomes a rounded up or truncated character width, and the current horizontal scale value is changed so that the scaling value becomes a new horizontal scale value. .

【0027】ステップS98では文字のアウトラインデ
ータを、縦スケール値と補正後の横スケール値に基づい
て座標変換処理を行い、塗りつぶし処理を行うためのア
ウトラインデータを生成する。なお、本実施例では通常
のポートレイト出力であれば横スケールとはx座標方向
のスケーリングであり、縦スケールとはy座標方向のス
ケールを表すが、ランドスケール出力の場合はその逆と
なる。
In step S98, the outline data of the character is subjected to coordinate conversion processing based on the vertical scale value and the corrected horizontal scale value, and outline data for performing the filling processing is generated. In this embodiment, in the case of normal portrait output, the horizontal scale represents scaling in the x coordinate direction, and the vertical scale represents scale in the y coordinate direction. However, in the case of land scale output, the opposite is true.

【0028】この結果、例えば図5で示された「T」の
文字データを図4(a)で示された補正データにより補
正する場合を考えると、図5の文字幅Wは7.25ドッ
トであり7.25ドットに対応した補正フラグは「U」
であるため、補正後の文字幅は8ドットになる。文字幅
が8ドットになるような横スケーリングを用いて図5の
文字をスケーリングすると、図7のような結果となる。
「T」の文字は図7では若干横に延びた形状になってい
るが、塗りつぶした結果のドットパターンは左右のバラ
ンスがとれており、「T」の文字としてより見やすい形
状となっている。形状が横方向に延びてしまう問題も、
ドット化時の量子化誤差の程度であり、実用上の問題と
はならない。
As a result, considering the case where the character data of "T" shown in FIG. 5 is corrected by the correction data shown in FIG. 4A, the character width W of FIG. 5 is 7.25 dots. And the correction flag corresponding to 7.25 dots is "U".
Therefore, the corrected character width is 8 dots. If the characters in FIG. 5 are scaled using horizontal scaling such that the character width is 8 dots, the result shown in FIG. 7 is obtained.
The character "T" has a shape that extends slightly laterally in FIG. 7, but the dot pattern as a result of painting is balanced on the left and right, making the shape of the character "T" easier to see. The problem that the shape extends in the lateral direction,
This is the degree of quantization error at the time of dot formation and does not pose a practical problem.

【0029】なお、本実施例では文字のスケーリング補
正に関して横方向のスケーリングのみ補正したが、縦方
向のスケーリングの補正でも、縦、横双方の補正でもか
まわない。また、本実施例では文字幅のドットサイズに
対して切り上げか切り捨てかの指定を行うことで補正を
指示しているが、補正数値を別に記憶する方法や、別の
フラグを使う方法などでも良い。さらに、補正データは
1つの文字毎に記憶する以外にも、複数文字よりなる文
字集合に対して補正データを持つ方法などでも良い。
In the present embodiment, only horizontal scaling is corrected with respect to character scaling correction, but vertical scaling correction or vertical and horizontal correction may be used. Further, in the present embodiment, the correction is instructed by designating whether the dot size of the character width is rounded up or rounded down, but a method of separately storing a correction value or a method of using another flag may be used. . Further, the correction data is not stored for each character, but a method of having the correction data for a character set including a plurality of characters may be used.

【0030】[0030]

【発明の効果】以上説明したことから明かなように、本
発明の高品質文字出力装置では、文字品質が特に劣化す
る文字サイズに対して、必要に応じてスケーリングの補
正を行うことにより、文字の対称性などがより保たれた
高品質な文字のドットパターンを得ることができる。
As is apparent from the above description, in the high quality character output device of the present invention, the character size in which the character quality is particularly deteriorated is corrected by performing the scaling correction if necessary. It is possible to obtain a high-quality character dot pattern in which the symmetry and the like are further maintained.

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

【図1】本発明の一実施例である高品質文字出力装置の
構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a high quality character output device that is an embodiment of the present invention.

【図2】文字のアウトラインデータの説明に供する図で
ある。
FIG. 2 is a diagram for explaining outline data of characters.

【図3】文字のアウトラインデータの記憶方法を示す図
である。
FIG. 3 is a diagram showing a method of storing character outline data.

【図4】上記高品質文字出力装置のスケーリング補正デ
ータの構成を説明する図であり、(a)はスケーリング
補正データの記憶方式の実施例を表し、(b)は(a)
の内容を説明するグラフである。
FIG. 4 is a diagram for explaining a configuration of scaling correction data of the high quality character output device, (a) shows an embodiment of a storage system of scaling correction data, and (b) shows (a).
It is a graph explaining the content of.

【図5】文字のスケーリング処理の説明に供する図であ
る。
FIG. 5 is a diagram for explaining a character scaling process.

【図6】図5の例に対応した従来方式の結果を表す図で
ある。
FIG. 6 is a diagram showing a result of a conventional method corresponding to the example of FIG.

【図7】図5の例に対応した上記高品質文字出力装置に
おけるスケーリング補正の結果を表す図である。
FIG. 7 is a diagram showing a result of scaling correction in the high quality character output device corresponding to the example of FIG.

【図8】上記高品質文字出力装置による文字のドットデ
ータ化処理の概要を示すフローチャートである。
FIG. 8 is a flowchart showing an outline of character dot data conversion processing by the high quality character output device.

【図9】上記高品質文字出力装置によるスケーリング補
正処理の動作を示すフローチャートである。
FIG. 9 is a flowchart showing an operation of scaling correction processing by the high quality character output device.

【符号の説明】[Explanation of symbols]

14 CPU 17 キャラクタROM 18 ドットデータメモリ 19 スケーリング補正データROM 51 画素スクリーン 14 CPU 17 Character ROM 18 Dot Data Memory 19 Scaling Correction Data ROM 51 Pixel Screen

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06T 3/40 11/20 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI technical display location G06T 3/40 11/20

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 文字の輪郭線の形状を直線要素と曲線要
素から構成されるアウトラインデータとして記憶し、指
定された文字コードに従ってアウトラインデータを検索
し、検索されたアウトラインデータを指定された文字サ
イズに応じた大きさにスケーリング処理した後、ドット
データに変換して出力する文字出力装置において、 文字の文字サイズ情報と、そのサイズにおけるスケーリ
ング処理を補正するための補正情報とを対応させて記憶
している補正データ記憶手段と、 所望の文字と文字サイズが指定された場合に、前記補正
データ記憶手段より、補正の有無と、補正が指定されて
いる場合はその補正量とを取り出し、それに基づいてア
ウトラインデータのスケーリング処理を変更するスケー
リング補正手段とを備えたことを特徴とする高品質文字
出力装置。
1. The outline shape of a character is stored as outline data composed of straight line elements and curved line elements, outline data is searched in accordance with a specified character code, and the searched outline data is specified in a specified character size. In a character output device that performs scaling processing to a size according to the above and then converts it into dot data and outputs it, the character size information of the character and the correction information for correcting the scaling processing in that size are stored in association with each other. The correction data storage means, the desired character and the character size are designated, the presence / absence of the correction and the correction amount, if the correction is designated, are retrieved from the correction data storage means, and based on that, And a scaling correction means for changing the scaling processing of the outline data. Quality character output device.
【請求項2】 前記補正データ記憶手段の文字サイズ情
報が各文字毎に独立して記憶されることが可能であり、
対象文字の文字幅をスケーリングした値であることを特
徴とする請求項1記載の高品質文字出力装置。
2. The character size information of the correction data storage means can be stored independently for each character,
The high-quality character output device according to claim 1, wherein the character width is a value obtained by scaling the character width of the target character.
【請求項3】 前記補正データ記憶手段の補正情報が、
対象文字を補正無しでスケーリング処理した場合のドッ
ト単位系における指定部分の長さに対する切り上げもし
くは切り捨てを指示するフラグであり、スケーリング処
理後のドット単位系での指定部分の長さがフラグで示さ
れた切り上げもしくは切り捨ての長さと一致するような
スケーリング値を求めることが、スケーリング補正手段
となることを特徴とする請求項1記載の高品質文字出力
装置。
3. The correction information of the correction data storage means,
This flag indicates rounding up or rounding down the length of the specified part in the dot unit system when the target character is scaled without correction, and the flag indicates the length of the specified part in the dot unit system after the scaling process. The high-quality character output device according to claim 1, wherein the scaling correction unit obtains a scaling value that matches the rounded up or rounded down length.
JP05240873A 1993-09-28 1993-09-28 High quality character output device Expired - Fee Related JP3089913B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05240873A JP3089913B2 (en) 1993-09-28 1993-09-28 High quality character output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05240873A JP3089913B2 (en) 1993-09-28 1993-09-28 High quality character output device

Publications (2)

Publication Number Publication Date
JPH0792957A true JPH0792957A (en) 1995-04-07
JP3089913B2 JP3089913B2 (en) 2000-09-18

Family

ID=17065974

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05240873A Expired - Fee Related JP3089913B2 (en) 1993-09-28 1993-09-28 High quality character output device

Country Status (1)

Country Link
JP (1) JP3089913B2 (en)

Also Published As

Publication number Publication date
JP3089913B2 (en) 2000-09-18

Similar Documents

Publication Publication Date Title
US5959635A (en) Character pattern generator
US4837847A (en) Image processing apparatus
JP3057935B2 (en) Character output device
JPH05143742A (en) Vector image drawing device
JPH0728451A (en) Data conversion device
JP2876942B2 (en) Data converter
US5519412A (en) Pattern processing method
JP3089913B2 (en) High quality character output device
JP2910588B2 (en) Data conversion device
EP0458571A2 (en) Image processing method and apparatus
JP2782752B2 (en) Character pattern output device
JPH04280296A (en) Contour data processing device
JP3417753B2 (en) Method and apparatus for generating gradation character
JPH05265428A (en) Outline data converting device
JPH0661960B2 (en) Dot interpolation control device
KR900004949B1 (en) Output controller of interpolation dot pattern
JP2841631B2 (en) Data converter
JPH0736434A (en) Character output device
JPH0784739A (en) Data converter
JPS60231267A (en) Intra-character control system
JPH0640258B2 (en) Underline / sideline generator
JPH0667642A (en) Character symbol generating device
JPH0511736A (en) Character pattern output device
JPH0950272A (en) Method and device for outline font generation
JPH07186449A (en) Character processing device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000620

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080721

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090721

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100721

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110721

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120721

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120721

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130721

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees