JPH04321099A - Character display device for bit map display - Google Patents

Character display device for bit map display

Info

Publication number
JPH04321099A
JPH04321099A JP3090311A JP9031191A JPH04321099A JP H04321099 A JPH04321099 A JP H04321099A JP 3090311 A JP3090311 A JP 3090311A JP 9031191 A JP9031191 A JP 9031191A JP H04321099 A JPH04321099 A JP H04321099A
Authority
JP
Japan
Prior art keywords
character
display
bit
bitmap
display device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3090311A
Other languages
Japanese (ja)
Inventor
Kimio Aoki
青木 公男
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.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Corp
Meidensha Electric Manufacturing 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 Meidensha Corp, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP3090311A priority Critical patent/JPH04321099A/en
Publication of JPH04321099A publication Critical patent/JPH04321099A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Digital Computer Display Output (AREA)
  • Memory System (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To obtain a character display of optional size by using bit data corresponding to one kind of font size. CONSTITUTION:A character string consisting of one kind of bit data is stored in a character data storing part 3, the bit data are read out from the storing part 3 by a character display function part 2 in accordance with a character display command, and at the time of developing the bit data to a bit map, a display ratio converting part 4 expands/contracts bit digits and bit positions and displays the expanded/contracted results on a display device.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、ビットマップディスプ
レイの文字表示装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character display device for a bitmap display.

【0002】0002

【従来の技術】ビットマップディスプレイは、図3に示
す構成にされる。文字表示指令は、CRT等の表示装置
1のX軸,Y軸の表示位置座標X,Yと該表示位置から
表示する一つ又は複数の文字列コードにされる。この文
字表示指令は文字表示関数部2に与えられ、この関数部
2によって文字データ記憶部3から各文字のビットデー
タを得てビットマップ展開を行う。
2. Description of the Related Art A bitmap display has the configuration shown in FIG. The character display command is made into display position coordinates X and Y on the X and Y axes of the display device 1 such as a CRT, and one or more character string codes to be displayed from the display position. This character display command is given to the character display function section 2, which obtains bit data of each character from the character data storage section 3 and performs bitmap expansion.

【0003】文字データ記憶部に記憶される文字データ
は、文字列コードに対応する文字毎の識別子とビットデ
ータからなり、例えば文字「A」のビットマップとビッ
トデータは図4に示す関係になる。文字表示関数部2は
文字表示指令の文字列の各文字コードについて識別子の
対応からビットデータを得てビットマップ展開を行い、
表示装置1のドット毎のフォントを発生する。
The character data stored in the character data storage section consists of an identifier for each character corresponding to a character string code and bit data. For example, the bit map and bit data of the character "A" have the relationship shown in FIG. . The character display function unit 2 obtains bit data from the correspondence of identifiers for each character code of the character string of the character display command, and performs bitmap expansion.
A font is generated for each dot of the display device 1.

【0004】0004

【発明が解決しようとする課題】従来のビットマップデ
ィスプレイにおいて、表示文字の大きさはビットデータ
で決まり、異なる大きさの文字を表示するには大きさに
対応したビットデータを用意しなければならない。例え
ば、日本語の場合、全角文字と英数仮名の半角文字のビ
ットデータを持ち、この2種類の文字表示に縦横方向に
拡大した倍角文字を加えた3種類の文字サイズに制限す
ることでフォントのサイズを1種類にしている。
[Problem to be solved by the invention] In conventional bitmap displays, the size of displayed characters is determined by bit data, and in order to display characters of different sizes, bit data corresponding to the size must be prepared. . For example, in the case of Japanese, the font has bit data for full-width characters and half-width alphanumeric kana characters, and by limiting the display to three types of character sizes: these two types of character display plus double-width characters enlarged vertically and horizontally. There is only one size.

【0005】このため、任意の大きさの文字表示を得よ
うとすると、フォントのサイズを多種類用意しなければ
ならず、非常に大きな容量の記憶装置を必要とする。
[0005] For this reason, in order to display characters of any size, it is necessary to prepare a wide variety of font sizes, and a storage device with a very large capacity is required.

【0006】本発明の目的は、1種類のフォントサイズ
になるビットデータを使って任意の大きさの文字表示が
できる文字表示装置を提供することにある。
An object of the present invention is to provide a character display device that can display characters of any size using bit data of one type of font size.

【0007】[0007]

【課題を解決するための手段】本発明は、前記課題の解
決を図るため、文字列の識別子と当該文字のビットデー
タを記憶する文字データ記憶部と、表示装置のXY座標
位置と文字コードをパラメータに持つ文字表示指令が与
えられたときに前記文字データ記憶部から対応する文字
のビットデータを読み出しこれをビットマップに展開し
て前記表示装置に表示フォントとして与える文字表示関
数部とを備えたビットマップディスプレイの文字表示装
置において、前記文字表示指令に表示比率のパラメータ
が付加されたときに前記ビットマップのビット桁を該表
示比率に対応させて拡大,縮小しかつビットマップのビ
ット位置を整数化して拡大,縮小して前記表示装置のフ
ォントデータとする表示比率変換部を備えたことを特徴
とする。
[Means for Solving the Problems] In order to solve the above-mentioned problems, the present invention provides a character data storage unit that stores an identifier of a character string and bit data of the character, and a character data storage unit that stores an identifier of a character string and bit data of the character, and a character code that stores the XY coordinate position and character code of a display device. and a character display function section that reads bit data of a corresponding character from the character data storage section when a character display command included in a parameter is given, develops the bit data into a bitmap, and supplies the bit data to the display device as a display font. In a character display device of a bitmap display, when a display ratio parameter is added to the character display command, the bit digit of the bitmap is expanded or reduced in accordance with the display ratio, and the bit position of the bitmap is set to an integer. The present invention is characterized in that it includes a display ratio converting section that converts the font data into font data for the display device by enlarging or reducing the font data.

【0008】[0008]

【作用】本発明によれば、文字表示関数部によって変換
されたビットマップデータに対し、変換比率が指定され
たときに表示比率変換部がビットマップのビット桁及び
ビット位置を夫々拡大,縮小することで拡大,縮小した
文字表示を得る。これにより、表示文字の大きさは変換
比率に応じて任意に設定し、また文字データには1種類
のもので済む文字表示装置を得る。
[Operation] According to the present invention, when a conversion ratio is specified for bitmap data converted by the character display function section, the display ratio conversion section enlarges and reduces the bit digits and bit positions of the bitmap, respectively. This allows you to display enlarged or reduced characters. This provides a character display device in which the size of displayed characters can be arbitrarily set according to the conversion ratio, and only one type of character data is required.

【0009】[0009]

【実施例】図1は本発明の一実施例を示す構成図である
。同図が図3と異なる部分は、文字表示指令に表示比率
のパラメータを加え、文字表示関数部2に対して該表示
比率に応じてビットマップデータを変換する表示比率変
換部4を設けたことにある。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram showing an embodiment of the present invention. The difference between this figure and FIG. 3 is that a display ratio parameter is added to the character display command, and a display ratio conversion unit 4 is provided for converting bitmap data in accordance with the display ratio for the character display function unit 2. It is in.

【0010】表示比率変換部4は、文字表示関数部2が
文字データ記憶部3から取り出したビットデータを拡大
変換する場合にはビットマップのビット桁を変換比率に
比例させて増加させ、これに比例させてビットマップデ
ータのビット位置を整数に制約して延ばす。逆に縮小変
換する場合にはビットマップの桁を間引き、それに比例
させてビットマップデータのビット位置を縮める。
When the character display function unit 2 enlarges and converts the bit data retrieved from the character data storage unit 3, the display ratio conversion unit 4 increases the bit digits of the bitmap in proportion to the conversion ratio, and Constrain the bit position of bitmap data to an integer and lengthen it proportionally. Conversely, in the case of reduction conversion, the digits of the bitmap are thinned out, and the bit positions of the bitmap data are reduced in proportion.

【0011】図2は表示比率変換部4の拡大,縮小変換
の例を示し、文字「A」のビットマップ及びフォントが
8×8になるのに対し、これを1.5倍に拡大及び0.
75倍に縮小したときのフォントで示す。拡大は、縦横
ビット桁を8×1.5=12ビットに増加し、各フォン
トの縦横位置を拡大比率1.5倍し、その四捨五入によ
る整数化で求める。例えば、フォントF1はX座標が4
、Y座標が0にあることから、XY座標は(6,0)に
なる。また、フォントF2はXY座標が(3,1)にあ
ることから拡大されたXY座標は(5,2)になる。
FIG. 2 shows an example of enlargement/reduction conversion by the display ratio converter 4. The bitmap and font of the character "A" is 8×8, but it is enlarged to 1.5 times and 0. ..
It is shown in the font when it is reduced 75 times. Enlargement is determined by increasing the vertical and horizontal bit digits to 8×1.5=12 bits, multiplying the vertical and horizontal positions of each font by an expansion ratio of 1.5, and rounding the result to an integer. For example, font F1 has an X coordinate of 4.
, the Y coordinates are at 0, so the XY coordinates are (6, 0). Furthermore, since the XY coordinates of font F2 are at (3, 1), the enlarged XY coordinates are (5, 2).

【0012】一方、縮小は、元のビットデータの縦横ビ
ット桁を8×0.75=6桁に縮小する。この縮小には
四捨五入で重複する桁を間引く。図示の場合では桁2(
2×0.75=1.5≒2)と桁3(3×0.75=2
.25≒2)が重複することで桁3を間引き、同様に桁
6と桁7が重複することで桁7を間引く。次に、各フォ
ント位置は縮小比率0.75倍し、その四捨五入による
整数化で求める。例えば、フォントF1はX座標では4
×0.75=3になり、Y座標では0×0.75=0に
なる。また、フォントF2はX座標が桁3になることか
らビットマップから予め間引かれ、同様にフォントF3
,F7等は間引かれ、残りのフォントについて四捨五入
と整数化で位置が求められる。
On the other hand, in reduction, the vertical and horizontal bit digits of the original bit data are reduced to 8×0.75=6 digits. For this reduction, duplicate digits are removed by rounding. In the case shown, digit 2 (
2×0.75=1.5≒2) and digit 3 (3×0.75=2
.. 25≒2) is duplicated, so digit 3 is thinned out, and similarly, digit 6 and digit 7 are duplicated, so digit 7 is thinned out. Next, each font position is determined by multiplying the reduction ratio by 0.75 and rounding the result to an integer. For example, font F1 is 4 in the X coordinate.
×0.75=3, and the Y coordinate becomes 0×0.75=0. Also, since the X coordinate of font F2 is digit 3, it is thinned out from the bitmap in advance, and font F3 is similarly thinned out from the bitmap.
, F7, etc. are thinned out, and the positions of the remaining fonts are determined by rounding and converting to integers.

【0013】なお、表示比率変換部4の変換機能は、文
字表示関数部におけるビットデータからビットマップへ
の変換時に直接に拡大,縮小変換する構成にして同等の
作用効果を得ることができる。
The conversion function of the display ratio conversion section 4 can be configured to directly perform enlargement and reduction conversion when converting bit data into a bitmap in the character display function section, so that equivalent effects can be obtained.

【0014】[0014]

【発明の効果】以上のとおり、本発明によれば、ビット
データからビットマップへの展開に表示比率に応じたビ
ット桁の拡大,縮小及びビット位置の拡大,縮小を行う
ようにしたため、文字データ記憶部には文字毎に1種類
のビットデータを用意することで済むというデータ量の
低減をしながら任意の大きさの文字表示ができる。
As described above, according to the present invention, bit digits are expanded or reduced and bit positions are expanded or reduced in accordance with the display ratio when bit data is developed into a bitmap. Characters of any size can be displayed while reducing the amount of data by preparing one type of bit data for each character in the storage unit.

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

【図1】本発明の一実施例を示す構成図。FIG. 1 is a configuration diagram showing an embodiment of the present invention.

【図2】実施例における拡大,縮小変換の態様図。FIG. 2 is a diagram showing the mode of enlargement and reduction conversion in the embodiment.

【図3】従来のビットマップディスプレイの構成図。FIG. 3 is a configuration diagram of a conventional bitmap display.

【図4】ビットマップとビットデータの関係図。FIG. 4 is a relationship diagram between a bitmap and bit data.

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

1…表示装置、2…文字表示関数部、3…文字データ記
憶部、4…表示比率変換部。
1...Display device, 2...Character display function section, 3...Character data storage section, 4...Display ratio conversion section.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  文字列の識別子と当該文字のビットデ
ータを記憶する文字データ記憶部と、表示装置のXY座
標位置と文字コードをパラメータに持つ文字表示指令が
与えられたときに前記文字データ記憶部から対応する文
字のビットデータを読み出しこれをビットマップに展開
して前記表示装置に表示フォントとして与える文字表示
関数部とを備えたビットマップディスプレイの文字表示
装置において、前記文字表示指令に表示比率のパラメー
タが付加されたときに前記ビットマップのビット桁を該
表示比率に対応させて拡大,縮小しかつビットマップの
ビット位置を整数化して拡大,縮小して前記表示装置の
フォントデータとする表示比率変換部を備えたことを特
徴とするビットマップディスプレイの文字表示装置。
1. A character data storage unit that stores an identifier of a character string and bit data of the character, and a character data storage unit that stores the character data storage unit when a character display command having an XY coordinate position of a display device and a character code as parameters is given. In a character display device of a bitmap display, the character display device is equipped with a character display function portion that reads bit data of a corresponding character from a portion, develops it into a bitmap, and provides it to the display device as a display font. When a parameter is added, the bit digits of the bitmap are enlarged or reduced in accordance with the display ratio, and the bit positions of the bitmap are converted into integers and enlarged or reduced to be used as font data for the display device. A character display device for a bitmap display, characterized by comprising a ratio conversion section.
JP3090311A 1991-04-22 1991-04-22 Character display device for bit map display Pending JPH04321099A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3090311A JPH04321099A (en) 1991-04-22 1991-04-22 Character display device for bit map display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3090311A JPH04321099A (en) 1991-04-22 1991-04-22 Character display device for bit map display

Publications (1)

Publication Number Publication Date
JPH04321099A true JPH04321099A (en) 1992-11-11

Family

ID=13994989

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3090311A Pending JPH04321099A (en) 1991-04-22 1991-04-22 Character display device for bit map display

Country Status (1)

Country Link
JP (1) JPH04321099A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017173789A (en) * 2016-03-22 2017-09-28 文鼎科技開發股▲ふん▼有限公司 Character adjustment method for adjusting character designed in first pixel matrix to output the character to second pixel matrix of output device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017173789A (en) * 2016-03-22 2017-09-28 文鼎科技開發股▲ふん▼有限公司 Character adjustment method for adjusting character designed in first pixel matrix to output the character to second pixel matrix of output device

Similar Documents

Publication Publication Date Title
JPH04321099A (en) Character display device for bit map display
KR100255574B1 (en) Character generating apparatus
JP3146771B2 (en) Font rasterizing apparatus and method
KR100227178B1 (en) Character generation device
JPS6356693A (en) Character dot conversion system
JP3087414B2 (en) Data output device
JP2806679B2 (en) Character generator
JPH023193B2 (en)
JPS60203862A (en) Display control system of spectrum data
JPH06115167A (en) Registering method for external character
JPS6173188A (en) Character display unit
KR100609575B1 (en) Method to store geographic data files in object-relational database management systems
JP2803746B2 (en) Character processing method and apparatus
JPH07261737A (en) Character and the like generator
JPH05143047A (en) Character display device
JPH1011044A (en) Character display processing system
JPH06250720A (en) Generating method for nc data for character marking of automatic programming system for sheet metal working
JPH06110442A (en) Character and figure processor and method for deforming character of figure
JPH0335294A (en) System for generating character pattern
JPH0560598B2 (en)
JPH01283155A (en) Chinese character outline font producing apparatus
JPH02291060A (en) Document processor
JPS63226686A (en) Document generator
JPH06130936A (en) Display management system
JPS63136278A (en) Production system for repetitive pattern