JPH05313636A - Image supply device - Google Patents

Image supply device

Info

Publication number
JPH05313636A
JPH05313636A JP4144815A JP14481592A JPH05313636A JP H05313636 A JPH05313636 A JP H05313636A JP 4144815 A JP4144815 A JP 4144815A JP 14481592 A JP14481592 A JP 14481592A JP H05313636 A JPH05313636 A JP H05313636A
Authority
JP
Japan
Prior art keywords
font data
image
bitmap
data
angle
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
JP4144815A
Other languages
Japanese (ja)
Other versions
JP3186216B2 (en
Inventor
Tadashi Mimura
忠 三村
Takao Kawashima
孝夫 川島
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP14481592A priority Critical patent/JP3186216B2/en
Publication of JPH05313636A publication Critical patent/JPH05313636A/en
Application granted granted Critical
Publication of JP3186216B2 publication Critical patent/JP3186216B2/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)
  • Image Generation (AREA)

Abstract

PURPOSE:To make the processing speed of a character rotating process fast and to eliminate image deformation at whatever angle the rotating process is performed. CONSTITUTION:This image supply device is equipped with a bit map font memory 8, a means 6 which rotates bit map font data, an outline font memory 9, a means 7 which develops outline font data into a character pattern, and an image deformation deciding means 5 which receives data on a specified angle of rotation and decides pixel absence and pixel duplication at the time of the angle rotating process. Then, when the image deformation deciding means 5 so judges that the pixel absence or pixel duplication occurs, the outline font data are developed into the character pattern, when not, bit map font data are developed into the character pattern.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、文字を回転させて印字
することが可能な画像供給装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image supply device capable of rotating and printing characters.

【0002】[0002]

【従来の技術】従来、画像供給装置の例としてはページ
プリンタ等があり、ホストコンピュータ等から入力され
る印字データに対応する画像を記録部に供給し、記録紙
に1ページ単位で記録するようにしている。このような
ページプリンタでは、印字する文字を任意の角度だけ回
転させて印字できるものがある。
2. Description of the Related Art Conventionally, as an example of an image supply device, there is a page printer or the like, and an image corresponding to print data input from a host computer or the like is supplied to a recording portion and recorded on a recording paper page by page. I have to. Some of such page printers can print characters by rotating them by an arbitrary angle.

【0003】文字を任意の角度だけ回転させて印字する
方法としては、アウトラインフォントを用いてビットマ
ップに展開する方法がある。しかし、アウトラインフォ
ントを用いてビットマップに展開するのに要する処理時
間は、ビットマップフォントを展開する場合に比べて、
数百〜数千倍と桁違いに遅くなる。そこで、処理時間が
速いビットマップフォントを用い、それに回転処理を施
して展開することが行われている。
As a method of printing a character by rotating it by an arbitrary angle, there is a method of developing it into a bitmap using an outline font. However, the processing time required to develop a bitmap using an outline font is
It will be orders of magnitude slower by several hundred to several thousand times. Therefore, a bitmap font that has a fast processing time is used, and rotation processing is applied to the font to develop it.

【0004】その回転処理は、次式によりビットマップ
フォントの各画素の座標を変換することによって行って
いる。 x’=x・cosθ − y・sinθ …… (1)式 y’=x・sinθ + y・cosθ ただし、x’,y’は回転後の新座標、x,yは回転前
の旧座標、θは回転角度である。
The rotation process is performed by converting the coordinates of each pixel of the bitmap font according to the following equation. x ′ = x · cos θ − y · sin θ (1) Expression y ′ = x · sin θ + y · cos θ where x ′ and y ′ are new coordinates after rotation, x and y are old coordinates before rotation, θ is the rotation angle.

【0005】[0005]

【発明が解決しようとする課題】[Problems to be Solved by the Invention]

(問題点)しかしながら、前記した従来の技術には、回
転角度によっては、画素のダブリや画素抜けが生じ、画
像が崩れることがあるという問題点があった。
(Problem) However, the above-described conventional technique has a problem that an image may be distorted due to pixel double or missing depending on the rotation angle.

【0006】(問題点の説明)ビットマップフォントデ
ータの各ドットは、任意の位置にプロットできるわけで
はなく、ドットをプロットできる位置は、縦横一定の間
隔を置いて格子状に整列された位置に限られている。す
なわち、回転処理を施す前の各ドットは格子の交点に相
当する位置に置かれている。そして、その格子の1つを
1と数えて座標に表すと、回転処理を施す前の各ドット
の座標値は、全て整数で表される。しかし、(1)式に
よる回転処理を施した場合、各ドットは、必ずしも格子
の交点に相当する位置になるとは限らない。すなわち、
(1)式において、x,yが整数であっても、x’,
y’が整数になるとは限らない。
(Explanation of Problems) Each dot of the bitmap font data cannot be plotted at an arbitrary position, and the position where the dot can be plotted is a position arranged in a grid pattern with a constant vertical and horizontal intervals. limited. That is, each dot before the rotation processing is placed at the position corresponding to the intersection of the grid. When one of the grids is counted as 1 and expressed in coordinates, the coordinate values of each dot before the rotation processing are all represented by integers. However, when the rotation process according to the formula (1) is performed, each dot does not always come to a position corresponding to the intersection of the grid. That is,
In the formula (1), even if x and y are integers, x ′,
y'is not always an integer.

【0007】そこで、格子の各交点に各ドットを位置づ
けるために、x’,y’を整数化する必要がある。整数
化手段としては、四捨五入,切上げ,切捨て等の処理が
あるが、そのような処理を施した時、本来異なる位置に
描画されるべき複数のドットが一つの格子の交点に置か
れる現象(ダブリ)や、ドットが置かれるべき格子の交
点に置かれない現象(画素抜け)が生じたりする。その
ようなダブリや画素抜けが生じると、画像が崩れてしま
う。
Therefore, it is necessary to convert x'and y'to integers in order to position each dot at each intersection of the grid. There are processing such as rounding, rounding up, and rounding down as an integer conversion means. When such processing is performed, a plurality of dots that should originally be drawn at different positions are placed at intersections of one grid (double dot). ), Or a phenomenon in which dots are not placed at the intersections of the grid where they should be placed (pixel loss). If such doubles or missing pixels occur, the image collapses.

【0008】図9は、回転処理を施す前と回転処理を施
した後のビットマップフォントデータの一例を示す図で
ある。図9において、(イ)は、回転処理を施す前のビ
ットマップフォントデータであり、(ロ)は、(イ)の
データに(1)式を適用して回転処理を施した後のビッ
トマップフォントデータである。回転処理を施す前のビ
ットマップフォントデータは、(イ)に示されるように
正方形状に縦横隙間なく配列されている。それに対し
て、回転処理を施した後のビットマップフォントデータ
は、(ロ)に示されるようにドットのダブリや抜けが生
じており、画像が崩れている。このように、ビットマッ
プフォントデータに回転処理を施すと、回転角度によっ
ては画素のダブリや画素抜けが生じ、画像が崩れること
がある。本発明は、以上のような問題点を解決すること
を課題とするものである。
FIG. 9 is a diagram showing an example of bitmap font data before the rotation processing and after the rotation processing. In FIG. 9, (a) is the bitmap font data before the rotation processing is performed, and (b) is the bitmap after the rotation processing is performed by applying the expression (1) to the data of (a). It is font data. The bitmap font data before the rotation processing is arranged in a square shape with no vertical and horizontal gaps as shown in (a). On the other hand, in the bitmap font data that has been subjected to the rotation processing, dots are missing or missing as shown in (b), and the image is broken. As described above, when the rotation processing is performed on the bitmap font data, a double image or missing pixels may occur depending on the rotation angle, and the image may be destroyed. An object of the present invention is to solve the above problems.

【0009】[0009]

【課題を解決するための手段】前記課題を解決するた
め、本発明の画像供給装置では、ビットマップフォント
メモリと、アウトラインフォントメモリと、それらのメ
モリのフォントデータを回転させて展開する手段と、指
定された回転角度のデータを受けて、ビットマップフォ
ントデータを該角度回転処理したときの画素抜け及び画
素のダブリの発生を判定し、画素抜け又は画素のダブリ
が発生すると判定した場合には、アウトラインフォント
データから文字パターンを展開し、それ以外の場合には
ビットマップフォントデータから文字パターンを展開す
るように指示する画像崩れ判定手段とを設けることとし
た。
In order to solve the above problems, in an image supply apparatus of the present invention, a bitmap font memory, an outline font memory, and means for rotating and expanding the font data in these memories, In response to the data of the specified rotation angle, it is determined whether pixel omission and pixel duplication occurs when the bitmap font data is subjected to the angle rotation processing, and when it is determined that pixel omission or pixel duplication occurs, Image collapse determination means for instructing to develop a character pattern from outline font data and to develop a character pattern from bitmap font data in other cases is provided.

【0010】[0010]

【作 用】回転処理を行って文字を展開するのに際し
て、ビットマップフォントデータを回転処理すれば画像
崩れが生じる角度の時のみアウトラインフォントデータ
を回転処理し、それ以外の時はビットマップフォントデ
ータを回転処理するので、文字展開の処理速度は速くな
る。また、ビットマップフォントデータを回転処理すれ
ば画像崩れが生じる角度の時は、アウトラインフォント
データを回転処理してビットマップフォントデータに展
開するので、どのような角度で回転処理しても画像崩れ
が生じることがない。
[Operation] The outline font data is rotated only when the angle is such that the image collapses when the bitmap font data is rotated when the character is expanded by rotating the bitmap font data. Since the character is rotated, the processing speed of character expansion becomes faster. In addition, when the angle is such that the image distortion occurs when the bitmap font data is rotated, the outline font data is rotated and expanded into the bitmap font data. It never happens.

【0011】[0011]

【実施例】以下、本発明の実施例を図面に基づいて詳細
に説明する。図1は、本発明の画像供給装置の概要を示
すブロック図である。図1において、1はパネルインタ
ーフェース、2はホストインターフェース、3はCPU
(中央処理装置)、4はRAM(ランダム・アクセス・
メモリ)、5は画像崩れ判定部、6はビットマップフォ
ントデータ回転処理部、7はアウトラインフォント展開
部、8はビットマップフォントメモリ、9はアウトライ
ンフォントメモリ、10はビットマップメモリ、11は
ビットマップコントローラ、12は記録部インターフェ
ース、20は画像供給装置である。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 is a block diagram showing an outline of the image supply apparatus of the present invention. In FIG. 1, 1 is a panel interface, 2 is a host interface, and 3 is a CPU.
(Central processing unit), 4 is RAM (random access
(Memory) 5 is an image collapse determination unit, 6 is a bitmap font data rotation processing unit, 7 is an outline font development unit, 8 is a bitmap font memory, 9 is an outline font memory, 10 is a bitmap memory, 11 is a bitmap A controller, 12 is a recording unit interface, and 20 is an image supply device.

【0012】操作者は、パネル(図示せず)を操作する
ことによって、画像供給装置に種々の指示を与えること
ができるが、その信号は、パネルインターフェース1を
介して与えられる。また、ワードプロセッサ,ワークス
テーション等のホストコンピュータ(図示せず)とは、
ホストインターフェース2を介して接続されている。R
AM4は、受信用や作業用のメモリ領域等を提供するメ
モリである。
An operator can give various instructions to the image supply device by operating a panel (not shown), and the signal is given through the panel interface 1. A host computer (not shown) such as a word processor or workstation is
It is connected via the host interface 2. R
The AM 4 is a memory that provides a memory area for reception and work.

【0013】ビットマップフォントメモリ8には、ビッ
トマップフォントデータが格納されており、そのデータ
は、ホストコンピュータから送られてくるコマンドに従
って、そのままの形で或いはビットマップフォントデー
タ回転処理部6で回転処理を施された後、ビットマップ
メモリ10に展開される。アウトラインフォントメモリ
9には、アウトラインフォントデータが格納されてお
り、そのデータは、ホストコンピュータから送られてく
るコマンドに従って、アウトラインフォント展開部7で
処理された後、ビットマップメモリ10に展開される。
Bitmap font data is stored in the bit map font memory 8 and the data is rotated as it is or in the bit map font data rotation processing unit 6 according to a command sent from the host computer. After being processed, it is expanded in the bitmap memory 10. Outline font data is stored in the outline font memory 9, and the data is processed by the outline font expanding unit 7 according to the command sent from the host computer and then expanded in the bitmap memory 10.

【0014】ビットマップメモリ10は、通常1ページ
分のメモリを具備しており、そこで1ページ分の印字画
像が構成される。そして、ビットマップメモリ10に1
ページ分のビットマップフォントデータが展開された
ら、該データをビットマップメモリ10から読出し、記
録部インターフェース12を介して記録部(図示せず)
へ送り、印字する。ビットマップコントローラ11は、
ビットマップメモリ10にアクセスする際に、そのタイ
ミングやアドレスを制御したり、或いは、ビットマップ
メモリ10から記録部インターフェース12へのデータ
転送の制御を行う。
The bit map memory 10 usually has a memory for one page, and a printed image for one page is formed therein. Then, 1 is set in the bitmap memory 10.
When the bitmap font data for the page is expanded, the data is read from the bitmap memory 10 and the recording unit (not shown) via the recording unit interface 12.
Send to and print. Bitmap controller 11
When accessing the bitmap memory 10, the timing and address are controlled, or the data transfer from the bitmap memory 10 to the recording interface 12 is controlled.

【0015】画像崩れ判定部5は、ホストコンピュータ
から回転文字が指定された際、指定された角度でビット
マップフォントデータを回転させた時、画像抜けや画像
のダブリが生じて画像崩れが生じるか否かを判定する。
そして、画像抜けや画像のダブリが生じないと判定した
時は、ビットマップフォントメモリ8からビットマップ
フォントデータを読出し、ビットマップフォントデータ
回転処理部6により、回転処理を施した後、ビットマッ
プメモリ10に展開する。一方、画像抜けや画像のダブ
リが生じると判定した時は、アウトラインフォントメモ
リ9からアウトラインフォントデータを読出し、アウト
ラインフォント展開部7でそれに回転処理を施した後、
ビットマップフォントデータに展開する。そして、それ
をビットマップメモリ10に展開する。
When the rotated character is designated by the host computer, the image collapse determination unit 5 rotates the bitmap font data at the specified angle to determine whether the image collapse occurs due to an image dropout or image duplication. Determine whether or not.
Then, when it is determined that the image omission or the image duplication does not occur, the bitmap font data is read from the bitmap font memory 8, the bitmap font data rotation processing unit 6 performs the rotation processing, and then the bitmap memory Expand to 10. On the other hand, when it is determined that the image dropout or the image duplication occurs, the outline font data is read from the outline font memory 9, and the outline font expansion unit 7 rotates the outline font data,
Expand to bitmap font data. Then, it is expanded in the bitmap memory 10.

【0016】図2は、プリンタ用コマンドの一例を示す
図である。図2のように、ホストコンピュータからは、
プリンタ用コマンドとして、例えば、印字位置,文字の
サイズ,回転させる角度,文字コードの順に送られてく
る。
FIG. 2 is a diagram showing an example of a printer command. As shown in Fig. 2, from the host computer,
As the printer command, for example, the print position, the character size, the rotation angle, and the character code are sent in this order.

【0017】画像供給装置では、ホストインターフェー
ス2を介して、ホストコンピュータから図2に示される
ようなコマンドを受信し、その内容に応じた処理を順次
行う。即ち、受信したコマンドが印字位置を示す信号で
あったら、印字位置データとしてその値を保持してお
く。また、受信したコマンドが文字サイズを示す信号で
あったら、文字サイズデータとしてその値を保持してお
く。また、受信したコマンドが回転角度を示す信号であ
ったら、回転角度データとしてその値を保持しておく。
そして、受信したコマンドが文字コードであったら、上
記の処理により保持しておいた印字位置データ,文字サ
イズデータ,回転角度データ等に基づいて、該文字コー
ドに対応する文字パターンを展開する。
The image supply apparatus receives commands as shown in FIG. 2 from the host computer via the host interface 2 and sequentially performs processing according to the contents thereof. That is, if the received command is a signal indicating the print position, the value is held as the print position data. If the received command is a signal indicating the character size, the value is held as the character size data. If the received command is a signal indicating a rotation angle, that value is held as rotation angle data.
Then, if the received command is a character code, the character pattern corresponding to the character code is developed based on the print position data, the character size data, the rotation angle data and the like held by the above processing.

【0018】次に、文字の回転処理について説明する。
この実施例では、画像崩れを判定する手段として、回転
角度が90度の倍数であるか否かをみて、90度の倍数
であれば画像崩れなしと判定し、その他の角度であれば
画像崩れありと判定する。すなわち、角度が90度の倍
数であれば(1)式におけるsinθ,cosθは必ず
0か1か−1になるので、x’,y’は必ず整数にな
る。したがって、(1)式で変換した座標は必ず格子の
交点上に位置し、画像抜けや画像のダブリが生じない。
そして、その他の角度では、画像抜けや画像のダブリが
生じるものとして上記のように判定する。
Next, the character rotation processing will be described.
In this embodiment, as a means for determining the image collapse, it is determined whether the rotation angle is a multiple of 90 degrees, if it is a multiple of 90 degrees, it is determined that there is no image collapse, and if it is any other angle, the image collapse occurs. Judge as present. That is, if the angle is a multiple of 90 degrees, sin θ and cos θ in the expression (1) are always 0, 1 or −1, and therefore x ′ and y ′ are always integers. Therefore, the coordinates converted by the equation (1) are always located on the intersections of the grid, and no image dropouts or image duplications occur.
Then, at other angles, it is determined as described above that the image omission or the image duplication occurs.

【0019】図3は、本発明の文字回転の処理手順の一
例を示すフローチャートである。 ステップ1…画像崩れ判定部5で回転角度が0度又は9
0度の整数倍であるか、あるいはその他の角度であるか
を判別する。 ステップ2…ステップ1で回転角度が0又は90度の整
数倍である時は、ビットマップフォントメモリ8から該
当する文字のビットマップフォントデータを読出し、ビ
ットマップフォントデータ回転処理部6で(1)式に基
づいて、それを指定角度だけ回転させた後、ビットマッ
プメモリ10に展開する。 ステップ3…ステップ1で回転角度が0又は90度の整
数倍以外の角度である時は、アウトラインフォントメモ
リ9からアウトラインフォントデータを読出し、アウト
ラインフォント展開部7でそれを指定角度だけ回転さ
せ、ビットマップフォントデータに変換した後、ビット
マップメモリ10に展開する。
FIG. 3 is a flow chart showing an example of a character rotation processing procedure of the present invention. Step 1 ... Rotation angle is 0 degree or 9 in the image collapse determination unit 5.
It is determined whether the angle is an integral multiple of 0 degree or another angle. Step 2 ... When the rotation angle is 0 or an integral multiple of 90 degrees in Step 1, the bitmap font data of the corresponding character is read from the bitmap font memory 8 and the bitmap font data rotation processing unit 6 (1) Based on the expression, it is rotated by a specified angle and then expanded in the bitmap memory 10. Step 3 ... If the rotation angle in Step 1 is not 0 or an integer multiple of 90 degrees, the outline font data is read from the outline font memory 9, and the outline font expansion unit 7 rotates it by a specified angle, After converting into map font data, it is expanded in the bitmap memory 10.

【0020】なお、上記実施例では、画像崩れ判定部5
における画像崩れを判定する手段として、回転角度が0
度又は90度の整数倍であるか否かで判定したが、それ
以外の任意の手段を適用することもできる。例えば、回
転角度が与えられた段階で、(1)式の計算を行い、そ
の結果から画像抜けや画像のダブリが生じるか否かを判
定し、画像抜けや画像のダブリが生じることが判った段
階で直ちにアウトラインフォントに切り換えるようにし
てもよい。
In the above embodiment, the image collapse determination unit 5
As a means to determine the image collapse in
Although it is determined whether or not it is an integer multiple of 90 degrees or 90 degrees, any other means can be applied. For example, at the stage where the rotation angle is given, the formula (1) is calculated, and it is determined from the result whether or not the image dropout or the image dubbing occurs, and it is found that the image dropout or the image dubbing occurs. You may make it switch to an outline font immediately at a step.

【0021】次に、アウトラインフォントによる回転処
理について説明する。図4は、アウトラインフォントデ
ータの一部を示す図である。図4は、説明を簡明にする
ため、全て直線で構成されるFの字の場合を例にしてい
る。そして、アウトラインフォントデータとしては、そ
の輪郭を構成する各直線の始点と終点の座標値をデータ
として持っている。
Next, the rotation process using the outline font will be described. FIG. 4 is a diagram showing a part of the outline font data. In order to simplify the explanation, FIG. 4 shows an example of the case of the letter F which is composed of all straight lines. The outline font data has the coordinate values of the start point and the end point of each straight line forming the outline as data.

【0022】図5は、図4のアウトラインフォントデー
タを座標上に置いた状態を示す図である。データの各点
を直線で結んでいくと、Fという文字の輪郭線が形成さ
れる。
FIG. 5 is a diagram showing a state in which the outline font data of FIG. 4 is placed on the coordinates. When each point of the data is connected by a straight line, a contour line of the letter F is formed.

【0023】図6は、アウトラインフォントの展開処理
の手順を示すフローチャートであり、図7は、アウトラ
インフォントの展開処理を説明するための図であり、さ
らに、図8は、図7(ロ),(ハ)の一部拡大図であ
る。 ステップ1…アウトラインフォントデータ(図7
(イ))を、指定された文字サイズ,回転角度に従って
変換する。すなわち、図7(イ)の各点P0 〜P9 を図
7(ロ)のP0'〜P9'のように変換する。
FIG. 6 is a flow chart showing the procedure of the outline font expansion processing, FIG. 7 is a diagram for explaining the outline font expansion processing, and FIG. 8 is shown in FIG. It is a partially enlarged view of (C). Step 1 ... Outline font data (Fig. 7
(B)) is converted according to the specified character size and rotation angle. That is, the points P 0 to P 9 in FIG. 7A are converted to P 0 ′ to P 9 ′ in FIG. 7B.

【0024】ステップ2…変換されたアウトラインフォ
ントデータを、展開領域の指定位置に位置づける。すな
わち、ステップ1で変換したデータP0'〜P9'を1ペー
ジ分の格子状領域中の指定された格子位置に位置づけ
る。 ステップ3…格子上に置いたアウトラインフォントデー
タの各点P0'〜P9'を結ぶ線分とスキャンライン(各x
軸)との交点に最も近い格子の交点に黒く塗りつぶした
ドットを置く。これを、図7(ロ)の点P0'周辺を拡大
した図8(イ)で説明すると、例えば、線分P0'P1'と
ラインx1 との交点に最も近い格子の交点は、交点C1
である。したがって、この格子の交点C1 に黒く塗りつ
ぶしたドットD1 を置く。その他のドットD2,D3,D4
・・・も同様にして置いていく。その結果、図7(ロ)
に示すようにドットが配置される。
Step 2 ... Position the converted outline font data at a designated position in the development area. That is, the data P 0 ′ to P 9 ′ converted in step 1 are positioned at the designated grid position in the grid-shaped area for one page. Step 3: The line segment connecting the points P 0 'to P 9 ' of the outline font data placed on the grid and the scan line (each x
Put a black dot at the intersection of the grid that is closest to the intersection with the axis. This will be described with reference to FIG. 8A in which the periphery of the point P 0 ′ of FIG. 7B is enlarged. For example, the intersection point of the lattice closest to the intersection point of the line segment P 0 ′ P 1 ′ and the line x 1 is , Intersection C 1
Is. Therefore, a black dot D 1 is placed at the intersection C 1 of this grid. Other dots D 2 , D 3 , D 4
... will be set in the same way. As a result, Figure 7 (b)
The dots are arranged as shown in.

【0025】ステップ4…各スキャンラインにおいて、
黒く塗りつぶしたドットから次の黒く塗りつぶしたドッ
トまでの間にある格子の交点に黒く塗りつぶしたドット
を置く。これを、図7(ハ)の点P0'周辺を拡大した図
8(ロ)で説明すると、例えば、ラインx2 において、
ドットD4 とドットD2 の間にある格子の交点C2 に黒
く塗りつぶしたドットD10を置く。同様に、ラインx3
には、黒く塗りつぶしたドットD11,D12を置く。以下
同様にドットを置いていくと、図7(ハ)に示すように
ドットが配置され、回転したFの字のドットパターンが
形成される。
Step 4 ... In each scan line
Place a black filled dot at the intersection of the grid between the black filled dots and the next black filled dot. This will be described with reference to FIG. 8B in which the vicinity of the point P 0 'of FIG. 7C is enlarged. For example, in line x 2 ,
A black dot D 10 is placed at the intersection C 2 of the grid between the dots D 4 and D 2 . Similarly, line x 3
, The dots D 11 and D 12 filled in black are placed. When dots are placed in the same manner thereafter, the dots are arranged as shown in FIG. 7C, and a rotated F-shaped dot pattern is formed.

【0026】[0026]

【発明の効果】以上述べた如く、本発明の画像供給装置
によれば、次のような効果を奏する。回転処理を行って
文字を展開するのに際して、ビットマップフォントデー
タを回転処理すれば画像崩れが生じる角度の時のみアウ
トラインフォントデータを回転処理し、それ以外の時は
ビットマップフォントデータを回転処理するので、文字
展開の処理速度は速くなる。また、ビットマップフォン
トデータを回転処理すれば画像崩れが生じる角度の時
は、アウトラインフォントデータを回転処理してビット
マップフォントデータに展開するので、どのような角度
で回転処理しても画像崩れが生じることがない。
As described above, the image supply device of the present invention has the following effects. When the font is rotated and the characters are expanded, if the bitmap font data is rotated, the outline font data is rotated only at the angle where the image collapses, otherwise, the bitmap font data is rotated. Therefore, the processing speed of character expansion becomes faster. In addition, when the angle is such that the image distortion occurs when the bitmap font data is rotated, the outline font data is rotated and expanded into bitmap font data, so the image distortion does not occur at any angle. It never happens.

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

【図1】 本発明の画像供給装置の概要を示すブロック
FIG. 1 is a block diagram showing an outline of an image supply apparatus of the present invention.

【図2】 プリンタ用コマンドの一例を示す図FIG. 2 is a diagram showing an example of a printer command.

【図3】 本発明の文字回転の処理手順の一例を示すフ
ローチャート
FIG. 3 is a flowchart showing an example of a character rotation processing procedure according to the present invention.

【図4】 アウトラインフォントデータの一部を示す図FIG. 4 is a diagram showing a part of outline font data.

【図5】 アウトラインフォントデータを座標上に置い
た状態を示す図
FIG. 5 is a diagram showing a state in which outline font data is placed on coordinates.

【図6】 アウトラインフォントの展開処理の手順を示
すフローチャート
FIG. 6 is a flowchart showing the procedure of outline font expansion processing.

【図7】 アウトラインフォントの展開処理を説明する
ための図
FIG. 7 is a diagram for explaining outline font expansion processing.

【図8】 図7(ロ),(ハ)の一部拡大図FIG. 8 is a partially enlarged view of FIGS. 7B and 7C.

【図9】 回転処理を施す前と回転処理を施した後のビ
ットマップフォントデータの一例を示す図
FIG. 9 is a diagram showing an example of bitmap font data before rotation processing and after rotation processing.

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

1…パネルインターフェース、2…ホストインターフェ
ース、3…CPU、4…RAM、5…画像崩れ判定部、
6…ビットマップフォントデータ回転処理部、7…アウ
トラインフォント展開部、8…ビットマップフォントメ
モリ、9…アウトラインフォントメモリ、10…ビット
マップメモリ、11…ビットマップコントローラ、12
…記録部インターフェース、20…画像供給装置
1 ... Panel interface, 2 ... Host interface, 3 ... CPU, 4 ... RAM, 5 ... Image collapse determination unit,
6 ... Bitmap font data rotation processing unit, 7 ... Outline font expansion unit, 8 ... Bitmap font memory, 9 ... Outline font memory, 10 ... Bitmap memory, 11 ... Bitmap controller, 12
... Recording interface, 20 ... Image supply device

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 ビットマップフォントデータと、アウト
ラインフォントデータと、それらのフォントデータを回
転させて展開する手段と、指定された回転角度のデータ
を受けて、ビットマップフォントデータを該角度回転処
理したときの画素抜け及び画素のダブリの発生を判定
し、画素抜け又は画素のダブリが発生すると判定した場
合には、アウトラインフォントデータから文字パターン
を展開し、それ以外の場合にはビットマップフォントデ
ータから文字パターンを展開するように指示する画像崩
れ判定手段とを具えることを特徴とする画像供給装置。
1. A bitmap font data, outline font data, a means for rotating and expanding the font data, and data of a specified rotation angle, and the bitmap font data is subjected to the angle rotation processing. When it is determined that pixel omission or pixel duplication occurs, and if it is determined that pixel omission or pixel duplication occurs, the character pattern is expanded from the outline font data, otherwise, from the bitmap font data. An image supply device, comprising: an image collapse determination means for instructing to develop a character pattern.
JP14481592A 1992-05-11 1992-05-11 Image supply device Expired - Fee Related JP3186216B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14481592A JP3186216B2 (en) 1992-05-11 1992-05-11 Image supply device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14481592A JP3186216B2 (en) 1992-05-11 1992-05-11 Image supply device

Publications (2)

Publication Number Publication Date
JPH05313636A true JPH05313636A (en) 1993-11-26
JP3186216B2 JP3186216B2 (en) 2001-07-11

Family

ID=15371110

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14481592A Expired - Fee Related JP3186216B2 (en) 1992-05-11 1992-05-11 Image supply device

Country Status (1)

Country Link
JP (1) JP3186216B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5581635A (en) * 1995-07-25 1996-12-03 United Parcel Service Of America, Inc. Method and system for fast rotation of run-length encoded images
JP2000293339A (en) * 1999-04-02 2000-10-20 Seiko Epson Corp Method and device for controlling printing and recording medium
JP2001325092A (en) * 2000-05-16 2001-11-22 Mitsubishi Heavy Ind Ltd Efficient remote diagnostic system of unspecified large number of printers
US7129347B2 (en) 2003-07-23 2006-10-31 Zimmer Aktiengesellschaft Method for purifying caprolactam from waste containing polyamide using UV radiation
US7173127B2 (en) 2002-06-10 2007-02-06 Zimmer Aktiengesellschaft Method for the manufacture of caprolactam from waste containing polyamides
US7538143B2 (en) 2003-07-23 2009-05-26 Zimmer Aktiengesellschaft Method for the treatment of waste containing polyamide with the reprocessing of the depolymerisation residue
CN110134921A (en) * 2018-02-09 2019-08-16 北大方正集团有限公司 Check the method and device whether character contour deforms

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5581635A (en) * 1995-07-25 1996-12-03 United Parcel Service Of America, Inc. Method and system for fast rotation of run-length encoded images
JP2000293339A (en) * 1999-04-02 2000-10-20 Seiko Epson Corp Method and device for controlling printing and recording medium
JP2001325092A (en) * 2000-05-16 2001-11-22 Mitsubishi Heavy Ind Ltd Efficient remote diagnostic system of unspecified large number of printers
US7173127B2 (en) 2002-06-10 2007-02-06 Zimmer Aktiengesellschaft Method for the manufacture of caprolactam from waste containing polyamides
US7129347B2 (en) 2003-07-23 2006-10-31 Zimmer Aktiengesellschaft Method for purifying caprolactam from waste containing polyamide using UV radiation
US7538143B2 (en) 2003-07-23 2009-05-26 Zimmer Aktiengesellschaft Method for the treatment of waste containing polyamide with the reprocessing of the depolymerisation residue
CN110134921A (en) * 2018-02-09 2019-08-16 北大方正集团有限公司 Check the method and device whether character contour deforms
CN110134921B (en) * 2018-02-09 2020-12-04 北大方正集团有限公司 Method and device for checking whether font outline is deformed

Also Published As

Publication number Publication date
JP3186216B2 (en) 2001-07-11

Similar Documents

Publication Publication Date Title
JP2755308B2 (en) Output method and device
JPH05313636A (en) Image supply device
JP2711860B2 (en) Output control method and device
JPH01165443A (en) Printer
JPH03112666A (en) Output unit
JP2000013601A (en) Print information processor and device and method for generating intermediate data
JP2783601B2 (en) Information processing device
JPH0330977A (en) Page printer control system
JPH01290448A (en) Character generator
JPS61177067A (en) Printing system
JP2771629B2 (en) Character processor
JP2737883B2 (en) Output control device
JPS60159077A (en) Printer controller
JPH0747337B2 (en) output method
JP2710350B2 (en) Image processing apparatus and image processing method of image processing apparatus
JP2715475B2 (en) Graphic output device
JPS6189861A (en) Printing controller
JP3143118B2 (en) Printer and print image pattern development method
JPH0371028B2 (en)
JP2598125B2 (en) Output control device
JPH0499657A (en) Image supplying device
JPS6367682A (en) Image processing method
JPS63242561A (en) Font reducing system
JPH06175637A (en) Method for generating character
JPH0467964A (en) Page printer printing control method

Legal Events

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