JPH05165455A - Character display processing method - Google Patents

Character display processing method

Info

Publication number
JPH05165455A
JPH05165455A JP3351366A JP35136691A JPH05165455A JP H05165455 A JPH05165455 A JP H05165455A JP 3351366 A JP3351366 A JP 3351366A JP 35136691 A JP35136691 A JP 35136691A JP H05165455 A JPH05165455 A JP H05165455A
Authority
JP
Japan
Prior art keywords
character
font
bitmap
display
width
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
JP3351366A
Other languages
Japanese (ja)
Other versions
JP3189345B2 (en
Inventor
Osamu Endo
収 遠藤
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 JP35136691A priority Critical patent/JP3189345B2/en
Publication of JPH05165455A publication Critical patent/JPH05165455A/en
Application granted granted Critical
Publication of JP3189345B2 publication Critical patent/JP3189345B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To quickly display and print bit map pattern characters of proportional font which are different by width and height by reading out stored bit maps and displaying the bit map of the next character font just adjacently to the display end position of the bit map of the preceding character font in the breathwise direction. CONSTITUTION:With respect to character 'j', width information Ww=7 of the bit map area is stored as attribute information together with a bit map main body part 11. With respect to character 'W', width information Ww=16 is stored as attribute information together with a bit map main body part 12. Since bit map areas of bit map main bodies 11 to 13 of respective character fonts have the same height, Wh=19 is stored as common height information with respect to height information Wh of bit map areas. Thus, the coordinate calculation processing of arrangement positions of bit maps is unnecessary.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、文字表示処理方法に関
し、特に、ビットマップフォントを用いて文字をCRT
表示装置やプリンタなどに表示し印刷する場合に、文字
毎に文字幅および文字高が異なるプロポーショナルフォ
ントのビットマップパターン文字を表示する文字表示処
理方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character display processing method, and more particularly to a CRT for displaying characters using a bit map font.
The present invention relates to a character display processing method for displaying a bitmap pattern character of a proportional font in which a character width and a character height are different for each character when displaying and printing on a display device or a printer.

【0002】[0002]

【従来の技術】従来から文書の文字印刷状態をより美し
く見せ、また、可読性を向上させるために、英文,欧文
など印刷文書などでは、文字毎に文字幅および文字高が
異なるプロポーショナルフォントの文字フォントを用い
て文書を印刷している。
2. Description of the Related Art Conventionally, in order to make a character printed state of a document look more beautiful and to improve readability, a character font of a proportional font in which a character width and a character height are different for each character in a printed document such as English text and European text. Is printing the document using.

【0003】また、近年のデータ処理装置を用いた文書
作成装置においても、文字を表示するCRT表示装置や
プリンタなどに表示し印刷する場合に、表示画面および
印刷文書の文字をより美しく見せ、可読性を向上させる
ため、プロポーショナルフォントの文字を用いて、表示
および印刷することが所望される。
Further, even in a document creating apparatus using a recent data processing apparatus, when displaying and printing on a CRT display device or a printer for displaying characters, the characters on the display screen and the printed document look more beautiful and are readable. It is desirable to display and print using proportional font characters in order to improve performance.

【0004】プロポーショナルフォントの文字を表示画
面および印刷文書に表示し印刷するためには、フォント
自体のビットマップデータの他に、文字の幅,文字の高
さ,表示基準位置,次の文字の表示基準位書(文字送り
位置)などの情報が必要となる。プロポーショナルフォ
ントの文字フォントのビットマップフォーマットおよび
その属性情報については、例えば、文献「キャラクタ・
ビットマップ・ディストリビューション・フォーマット
2.1」,アドビシステム(株),1987年発行
(“Character Bitmap Distribution Format 2.1", Ado
be System, Inc., 1984,1987)に紹介されている。
In order to display and print the characters of the proportional font on the display screen and the printed document, in addition to the bitmap data of the font itself, the character width, the character height, the display reference position, and the display of the next character. Information such as the standard position (character feed position) is required. For the bitmap format of the character font of the proportional font and its attribute information, see, for example, the document "Character.
Bitmap Distribution Format 2.1 ", Adobe System Co., Ltd., issued in 1987 (" Character Bitmap Distribution Format 2.1 ", Ado
be System, Inc., 1984, 1987).

【0005】このように、プロポーショナルフォントの
文字を表示画面および印刷文書に表示し印刷する文書処
理システムにおいては、プロポーショナル文字を表示す
るための情報として、プロポーショナルフォントの文字
のビットマップと、そのビットマップの表示基準位置の
座標,ビットマップの大きさ(幅および高さ),次の文
字の表示のための座標の原点などの属性情報のデータが
保持されていなければならない。
As described above, in the document processing system for displaying and printing the proportional font characters on the display screen and the print document, the bitmap of the proportional font characters and the bitmap thereof are used as the information for displaying the proportional characters. The data of the attribute information such as the coordinates of the display reference position, the size of the bitmap (width and height), and the origin of the coordinates for displaying the next character must be held.

【0006】例えば、図4に示すようなプロポーショナ
ルフォントの文字「j」,「w」,「‘」を表示し印刷
するための各文字フォントのフォントデータ(ビットマ
ップパターン)は、各文字フォントのビットマップ本体
部と、その文字フォントを表示処理するため複数の属性
情報とが組合されて1つの文字フォント情報として、フ
ォントデータ格納部に格納されている。これを図により
更に具体的に説明すると、例えば、図5に示すような各
表示制御データを備えた構造となっている。
For example, the font data (bitmap pattern) of each character font for displaying and printing the characters "j", "w", "'" of the proportional font as shown in FIG. The bitmap body and a plurality of attribute information for displaying the character font are combined and stored as one character font information in the font data storage. This will be described more concretely with reference to the drawing. For example, the structure has each display control data as shown in FIG.

【0007】図5において、BBw,BBhは、それぞ
れ文字フォントのビットマップ本体部の幅,高さであ
り、BBox,BBoyは、それぞれ表示基準位置の原点か
らのビットマップ本体部の左下端の位置決めする座標を
表している。また、Ex,Eyは、次の文字の表示基準
位置の座標の原点となるべき点を指示している(文字送
り基準点)。ここでは、3つの文字「j」…「w」…
「‘」のプロポーショナルフォントを表示する場合を例
示している。各文字フォントは、図5に示すように、例
えば、文字「j」では、ビットマップ本体部51と共
に、その領域の大きさ指示するための情報としてのBB
w=6,BBh=19の領域サイズ情報と、このビット
マップ本体部51を位置決めするための属性情報とし
て、表示基準位置の原点に対しビットマップ本体部の左
下端を配置する位置情報のBBox=−1,BBoy=−5
と、次の文字を表示するための原点の座標情報のEx=
6,Ey=0とが、属性情報として付加されている。ま
た、文字「w」においても同様に、ビットマップ本体部
52と共に、BBw=14,BBh=8,BBox=1,
BBoy=0,Ex=16,Ey=0の表示制御のための
属性情報が付加されている。文字「‘」においても同様
に、ビットマップ本体部53と共に、BBw=2,BB
h=2,BBox=3,BBoy=10,Ex=6,Ey=
0の表示制御のための属性情報が付加されている。な
お、図5において、太い「十」字形で示す点は、その文
字の表示基準位置の原点を表わし、細い「十」字形で示
す点は次の文字の表示基準位置の原点を表わしている。
In FIG. 5, BBw and BBh are the width and height of the bitmap body portion of the character font, respectively, and BBox and BBoy are the positioning of the lower left corner of the bitmap body portion from the origin of the display reference position. Represents the coordinates to be set. Further, Ex and Ey indicate points to be the origin of the coordinates of the display reference position of the next character (character feed reference point). Here, the three letters "j" ... "w" ...
The case where a proportional font of "'" is displayed is illustrated. As shown in FIG. 5, for each character font, for example, in the case of the character “j”, BB as information for instructing the size of the area together with the bitmap body 51 is provided.
Area size information of w = 6 and BBh = 19 and position information BBox = position information for arranging the left lower end of the bitmap main body portion with respect to the origin of the display reference position as attribute information for positioning the bitmap main body portion 51. -1, BBoy = -5
And the coordinate information of the origin for displaying the next character, Ex =
6, Ey = 0 is added as attribute information. Similarly, for the character “w”, BBw = 14, BBh = 8, BBox = 1, together with the bitmap body 52.
Attribute information for display control of BBoy = 0, Ex = 16, Ey = 0 is added. Similarly for the character "'", BBw = 2, BB together with the bitmap body 53.
h = 2, BBox = 3, BBoy = 10, Ex = 6, Ey =
Attribute information for display control of 0 is added. Note that, in FIG. 5, the point indicated by the thick “ten” shape represents the origin of the display reference position of the character, and the point indicated by the thin “ten” shape represents the origin of the display reference position of the next character.

【0008】このような属性情報を有するプロポーショ
ナルフォントの文字を表示(印字)する処理は、次のよ
うな各ステップの処理により実行される。 表示開始位置となる原点を決めて、その座標を
(x0,y0)とする。 原点の座標に対して表示原点位置(ビットマップの左
下端を置くベき位置)の座標値を求める。 xd ← x0+BBox yd ← y0+BBoy 求めた表示原点位置の座標値(xd,yd)の位置にビ
ットマップの左下端を合せるようにして、表示する当該
の文字フォントのビットマップを置く。 表示する当該の文字フォントの表示(印刷)を行な
う。 原点の位置を次の文字フォントを表示するための原点
に移動させる。 x0 ← x0+Ex y0 ← y0+Ey 順次に表示する文字フォントに対して、上記の〜
を繰り返し行う。
The process of displaying (printing) the characters of the proportional font having such attribute information is executed by the processes of the following steps. The origin, which is the display start position, is determined, and its coordinates are (x 0 , y 0 ). Calculate the coordinate value of the display origin position (the position where the lower left corner of the bitmap is placed) with respect to the coordinates of the origin. x d ← x 0 + BBox y d ← y 0 + BBoy The bitmap of the character font to be displayed by aligning the lower left corner of the bitmap with the calculated coordinate position (x d , y d ) of the display origin position. Put. Display (print) the corresponding character font to be displayed. Move the origin position to the origin for displaying the next character font. x 0 ← x 0 + Ex y 0 ← y 0 + Ey For the character fonts to be displayed sequentially,
Repeat.

【0009】[0009]

【発明が解決しようとする課題】このように、文書処理
システムにおいて、プロポーショナルフォントの文字を
表示画面および印刷文書に表示(印刷)する場合には、
プロポーショナルフォントの1文字を表示(印刷)する
ごとに、文字表示処理として、該当する文字のプロポー
ショナルフォントのビットマップを置く座標位置の計算
を行い、文字送りのため、次の文字を表示するための座
標位置の計算を行なわなくていならず、文字表示処理が
複雑となり、文字フォントの表示(印刷)処理の速度が
遅いという問題がある。特に、大量の文字を扱う文書印
刷では、その処理に多くの処理時間がかかるという問題
がある。
As described above, in the document processing system, when the characters of the proportional font are displayed (printed) on the display screen and the print document,
Each time one character of the proportional font is displayed (printed), the coordinate position where the proportional font bitmap of the corresponding character is placed is calculated as the character display processing, and the next character is displayed for character advance. Since there is no need to calculate the coordinate position, the character display processing becomes complicated and the character font display (printing) processing speed is slow. In particular, in the document printing that handles a large number of characters, there is a problem that the processing takes a lot of processing time.

【0010】本発明は、これらの問題が解決するために
なされたものであり、本発明の目的は、ビットマップフ
ォントを用いて文字をCRT表示装置やプリンタなどに
表示し印刷する場合に、文字毎に文字幅および文字高が
異なるプロポーショナルフォントのビットマップパター
ン文字を、高速に表示(印刷)処理することが可能な文
字表示処理方法を提供することにある。
The present invention has been made to solve these problems, and an object of the present invention is to display a character on a CRT display device or a printer using a bitmap font and print the character. It is to provide a character display processing method capable of displaying (printing) a bitmap pattern character of a proportional font having a different character width and character height for each character at high speed.

【0011】[0011]

【課題を解決するための手段】上記目的を達成するた
め、本発明の文字表示処理方法は、文字毎に文字幅およ
び文字高が異なるプロポーショナルフォントのビットマ
ップパターンの文字を表示する文字表示処理方法であっ
て、文字フォントのビットマップの幅を、当該文字フォ
ントのビットマップパターンの表示基準位置から次の文
字のビットマップパターンの表示基準位置までの文字送
り幅とを同一とすると共に、各文字フォントのビットマ
ップの高さを同一にしたビットマップパターンとして、
各文字の文字フォントのビットマップを格納しておき、
文字表示要求により、格納したビットマップを読み出
し、前の文字フォントのビットマップの表示終了位置か
ら幅方向に連続して次の文字フォントのビットマップを
表示することを特徴とする。
In order to achieve the above object, a character display processing method of the present invention is a character display processing method for displaying a character having a bitmap pattern of a proportional font having a different character width and character height for each character. And the width of the character font bitmap is the same as the character feed width from the display reference position of the bitmap pattern of the character font to the display reference position of the bitmap pattern of the next character, and each character As a bitmap pattern with the same font bitmap height,
Store the character font bitmap for each character,
According to the character display request, the stored bitmap is read, and the bitmap of the next character font is displayed continuously in the width direction from the display end position of the bitmap of the previous character font.

【0012】[0012]

【作用】本発明の文字表示処理方法においては、文字毎
に文字幅および文字高が異なるプロポーショナルフォン
トのビットマップパターンの文字を表示する場合、文字
フォントのビットマップの幅を、当該文字フォントのビ
ットマップパターンの表示基準位置から次の文字のビッ
トマップパターンの表示基準位置までの文字送り幅とを
同一とすると共に、各文字フォントのビットマップの高
さを同一にしたビットマップパターンとして、各文字の
文字フォントのビットマップを格納しておく。そして、
文字表示要求により、格納したビットマップを読み出
し、前の文字フォントのビットマップの表示終了位置か
ら幅方向に連続して次の文字フォントのビットマップを
表示する。
In the character display processing method of the present invention, when displaying a character having a bitmap pattern of a proportional font having a different character width and character height for each character, the width of the character font bitmap is set to the bit width of the character font. The character feed width from the display reference position of the map pattern to the display reference position of the bitmap pattern of the next character is the same, and the height of the bitmap of each character font is the same. Store the bitmap of the character font of. And
In response to the character display request, the stored bitmap is read and the bitmap of the next character font is displayed continuously in the width direction from the display end position of the bitmap of the previous character font.

【0013】これにより、プロポーショナルフォントの
ビットマップパターンの文字を表示する場合において
も、プロポーショナルフォントの1文字を表示するごと
に、該当する文字のプロポーショナルフォントのビット
マップを置く座標位置と、次の文字を表示するたの座標
位置との座標計算を行う必要がなくなり、文字フォント
の表示(印刷)処理を高速に行うことができる。また、
プロポーショナルフォントの文字を表示するための1文
字あたりに必要な属性情報のデータ量が少くなくなるた
め、フォントの管理や、フォントの作成が容易となる。
事前に各々の文字パターンの文字の高さの最大値を知る
ことが可能であるため、文字表示のための領域を予じめ
確保しやすくなる。
Thus, even when the characters of the bitmap pattern of the proportional font are displayed, each time one character of the proportional font is displayed, the coordinate position of the bitmap of the proportional font of the corresponding character and the next character are displayed. Since it is not necessary to perform coordinate calculation with the coordinate position for displaying, the character font display (printing) processing can be performed at high speed. Also,
Since the data amount of the attribute information required for each character to display the characters of the proportional font becomes small, the font management and the font creation become easy.
Since it is possible to know the maximum value of the character height of each character pattern in advance, it becomes easy to secure an area for character display in advance.

【0014】[0014]

【実施例】以下、本発明の一実施例を図面により具体的
に説明する。図1は本発明の一実施例にかかる文字表示
処理方法で用いるビットマップ本体部および表示制御の
属性情報から構成される文字フォント情報を説明する図
である。ここでの文字表示処理方法で用いる各々のプロ
ポーショナルフォント文字の文字フォント情報は、図1
に示すように、各文字フォントのビットマップ本体部1
1,12,13などと共に、その文字を表示制御するた
め複数の属性情報とが組合されて1つの文字フォント情
報として構成され、フォントデータ格納部に格納されて
いる。ここでは、プロポーショナルフォント文字の文字
表示制御を行うため、文字フォントのビットマップパタ
ーンの幅を、当該文字フォントのビットマップパターン
の表示基準位置から次の文字のビットマップパターンの
表示基準位置までの文字送り幅とを同一とし、更に、各
文字フォントのビットマップパターンの高さを同一にし
たビットマップパターンとして、各文字のプロポーショ
ナルフォントのビットマップを格納しておく。このた
め、表示制御のための属性情報としては、各文字フォン
のビットマップデータの領域の幅情報Wwのみを格納し
ている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be specifically described below with reference to the drawings. FIG. 1 is a diagram for explaining character font information composed of a bitmap body portion and display control attribute information used in a character display processing method according to an embodiment of the present invention. The character font information of each proportional font character used in the character display processing method here is shown in FIG.
As shown in, the bitmap body 1 of each character font
1, 12, 13 and the like are combined with a plurality of attribute information for controlling the display of the character to form one character font information, which is stored in the font data storage unit. Here, in order to control the character display of proportional font characters, the width of the bitmap pattern of the character font is set to the character from the display reference position of the bitmap pattern of the character font to the display reference position of the bitmap pattern of the next character. A proportional font bitmap of each character is stored as a bitmap pattern having the same feed width and the same bitmap pattern height of each character font. Therefore, as the attribute information for display control, only the width information Ww of the bitmap data area of each character phone is stored.

【0015】例えば、文字「j」では、ビットマップ本
体部11と共に、その領域の大きさ指示するための情報
として、ビットマップ領域の幅情報Ww=7が属性情報
として格納されている。また、文字「w」では、ビット
マップ本体部12と共に、そのビットマップ領域の幅情
報Ww=16が属性情報として格納され、文字「‘」で
は、ビットマップ本体部13と共に、そのビットマップ
領域の幅情報Ww=6が属性情報として格納されてい
る。
For example, for the character "j", the width information Ww = 7 of the bitmap area is stored as attribute information together with the bitmap body 11 as information for instructing the size of the area. Further, in the character “w”, the width information Ww = 16 of the bitmap area is stored as attribute information together with the bitmap body portion 12, and in the character “′”, the width information Ww = 16 of the bitmap area is stored together with the bitmap body portion 13. The width information Ww = 6 is stored as attribute information.

【0016】各文字フォントのビットマップ本体部1
1,12,13のビットマップ領域の高さは同一として
いるので、ビットマップ領域の高さ情報Whは、共通の
高さ情報としてWh=19が格納されている。また、文
字フォントの表示基準位置を修正指示する位置情報とし
て、文字フォントのビットマップの左端や右端が文字の
原点と異なる場合に、ビットマップ本体部の表示開始原
点と左端の差を表わす情報Wox,表示終了原点と右端の
差を表わす情報Wexなどが、必要に応じて付加されて格
納される。ここでの文字表示処理方法では、全ての文字
フォントがWox,Wexの位置情報を持つ必要はない。
Bit map body 1 of each character font
Since the heights of the bitmap areas of 1, 12, and 13 are the same, the height information Wh of the bitmap areas stores Wh = 19 as common height information. Further, as position information for instructing correction of the display reference position of the character font, when the left end or the right end of the bitmap of the character font is different from the origin of the character, the information Wox indicating the difference between the display start origin and the left end of the bitmap body. Information such as Wex indicating the difference between the display end origin and the right end is added and stored as necessary. In the character display processing method here, it is not necessary that all character fonts have Wox and Wex position information.

【0017】文字表示制御処理では、標準的には、プロ
ポーショナルフォントの文字フォントのビットマップの
幅を、その文字の原点から次の文字への送り幅(次の文
字の原点までの距離)に合わせることにより行なわれ
る。このため、ビットマップ幅がそのまま文字の送り幅
となる。
In the character display control process, as standard, the width of the bitmap of the character font of the proportional font is adjusted to the feed width from the origin of the character to the next character (distance to the origin of the next character). It is done by Therefore, the width of the bitmap becomes the width of sending the character as it is.

【0018】このように、ここでの文字表示処理におい
ては、プロポーショナルフォントの文字表示制御のため
の各文字フォントの属性情報として、基本的には、各文
字フォントのビットマップ幅を指示する幅情報Wwのみ
を備えていれば良い。このため、プロポーショナルフォ
ントの文字フォントのビットマップは、ビットマップの
高さ(Wh)が全ての文字フォントで同一とされ、文字
フォントのビットマップ幅は文字の送り幅とされる。こ
れにより、文字表示制御において、ビットマップの配置
位置の座標計算の処理は不要となる。
As described above, in the character display processing here, as the attribute information of each character font for controlling the character display of the proportional font, basically, the width information indicating the bitmap width of each character font. It only needs to have WW. Therefore, in the bitmap of the character font of the proportional font, the height (Wh) of the bitmap is the same in all the character fonts, and the bitmap width of the character font is the character feed width. Thereby, in the character display control, the process of calculating the coordinates of the arrangement position of the bitmap becomes unnecessary.

【0019】したがって、プロポーショナルフォントの
文字表示処理において、最初に、表示画面または印刷紙
上に表示する文字フォントのビットマップの幅および高
さとその表示基準位の原点の情報から、当該文字フォン
トのビットマップの配置位置の位置情報(Wox,Woy)
の座標計算を行えなえば、次に続く文字フォントのビッ
トマップの配置位置の位置情報に関しては座標計算を行
うことなく、ビットマップ幅(Ww)を指示する情報を
文字送り幅として表示制御するだけでよい。
Therefore, in the character display process of the proportional font, first, from the information of the width and height of the bitmap of the character font displayed on the display screen or the printing paper and the origin of the display standard, the bitmap of the character font is displayed. Information of the placement position of Wox (Wox, Woy)
If the coordinate calculation can not be performed, the coordinate calculation is not performed for the position information of the layout position of the bitmap of the character font that follows, and only the information indicating the bitmap width (Ww) is displayed and controlled as the character feed width. Good.

【0020】なお、文字フォントのビットマップの高さ
は、予じめ全ての文字の間で上下を共に揃えて、各文字
フォントのビットマップが構成されて格納される。高さ
を揃える場合、まず、各文字フォントの原点を揃えて、
全ての文字フォントのなかで一番高いところにある点と
低いところにある点とを、それぞれのビットマップの一
番高い点と一番低い点として、各文字フォントのビット
マップ本体部を構成する。
It should be noted that the heights of the bitmaps of the character fonts are arranged in the same manner in the upper and lower sides of all the characters, and the bitmaps of the respective character fonts are constructed and stored. When aligning the height, first align the origin of each character font,
Configure the bitmap body of each character font with the highest point and the lowest point of all character fonts as the highest point and lowest point of each bitmap. ..

【0021】このように各文字フォントのビットマップ
本体部を構成することにより、文字の表示(印字)処理
を行う際には、ビットマップを同じ高さ(y座標位置)
で幅を詰めて並ベるだけでよく、文字の高さ方向での配
置位置の座標計算を行う必要はなく、文字表示処理を行
うことができる。
By configuring the bitmap main body portion of each character font in this way, when the character display (printing) processing is performed, the bitmaps have the same height (y coordinate position).
It suffices to narrow the width and arrange them side by side, and it is not necessary to calculate the coordinates of the arrangement position of the character in the height direction, and the character display processing can be performed.

【0022】しかし、これだけの情報では、正確に処理
ができない場合がある。例えば、図1に示す文字「j」
を表示処理する場合、実際の文字の原点の左側にも文字
のビットマップデータがあり、左端を原点のある位置に
変更すると、ビットマップのデータが1列失なわれてし
まい、逆に、全てのビットマップデータを使おうとする
と、原点の位置がずれてしまいバランスが崩れてしま
う。このため、実用的には、文字フォントの表示基準位
置となる原点に対して左側に1ドットだけ広げた文字幅
の属性情報を用意し、全てのビットマップデータを使用
する。また、このままでは、原点の位置がずれたままと
なってしまうので、この例のように、両端の位置がずれ
てしまう場合には、このずれを位置情報として別に持つ
ようにすることにより対応する。図1に示すプロポーシ
ョナル文字フォント「j」の場合では、例えば、位置情
報には原点の座標としてWox=−1を格納しておき、実
際に表示するときに、その原点の位置情報として格納し
てある値の分だけ位置をずらして表示を行うことによ
り、元のデータをそのまま表示することができる。
However, it may not be possible to perform accurate processing with such information. For example, the letter "j" shown in FIG.
When displaying, the bit map data of the character is also on the left side of the origin of the actual character, and if the left end is changed to the position where the origin is, one column of the bit map data is lost. If you try to use the bitmap data of, the position of the origin will shift and the balance will be lost. Therefore, practically, all the bitmap data is used by preparing the attribute information of the character width which is widened by 1 dot to the left with respect to the origin that is the display reference position of the character font. Further, since the position of the origin remains displaced as it is, if the positions of both ends are displaced as in this example, this displacement is handled separately as position information. .. In the case of the proportional character font “j” shown in FIG. 1, for example, Wox = −1 is stored in the position information as the coordinates of the origin and stored as the position information of the origin when actually displayed. The original data can be displayed as it is by shifting the position by a certain value and displaying.

【0023】次に、本発明の文字表示処理方法を一態様
で実施する装置構成について説明する。図2は、文字表
示処理装置の要部の構成を示すブロック図である。図2
において、21は入力部、22は文字表示処理部、23
は表示処理部、24はCRTディスプレイ、25はフォ
ントデータ格納部である。この文字表示処理装置の構成
の概略を説明すると、文字表示処理装置に与えられる入
力情報は、アプリケートョンプログラムなどからの文字
表示要求による文字コードのデータである。入力部21
が、この文字表示要求による文字コードデータを受け取
ると、文字表示処理部22が与えられた文字コードに該
当するビットマップをフォントデータ格納部25から読
み出し、表示処理部23に送る。表示処理部23はこれ
をCRTディスプレイ24に表示する。
Next, an apparatus configuration for implementing the character display processing method of the present invention in one aspect will be described. FIG. 2 is a block diagram showing a configuration of a main part of the character display processing device. Figure 2
, 21 is an input unit, 22 is a character display processing unit, 23
Is a display processing unit, 24 is a CRT display, and 25 is a font data storage unit. To explain the outline of the configuration of the character display processing device, the input information given to the character display processing device is character code data in response to a character display request from an application program or the like. Input unit 21
However, when receiving the character code data according to the character display request, the character display processing unit 22 reads the bitmap corresponding to the given character code from the font data storage unit 25 and sends it to the display processing unit 23. The display processing unit 23 displays this on the CRT display 24.

【0024】図3は文字表示処理部22における処理フ
ローの一例を示すフローチャートである。図3のフロー
チャートを参照して、文字表示処理を説明する。まず、
ステップ31において、表示する文字コード入力を行
い、表示すベき文字コードが1文字分得られると、次に
ステップ32に進み、文字コードが終了の文字コードで
あるか否かを判定する。終了の文字コードであれば、処
理を終了する。終了の文字コードでなければ、次のステ
ップ33において、前の処理ステップで入力された文字
コードに位置情報があるか否かを判定する。位置情報が
ない場合には、前の位置に表示された文字に続けて、そ
のまま該当する文字フォントを表示するだけでよいの
で、次のステップ34に進み、該当するビットマップを
読み出す。そして、次のステップ35において、取り出
したビットマップの文字パターンをそのまま表示する。
すなわち、前文字のビットマップに続けて当該ビットマ
ップを展開し表示する。そして、次の文字コードに対す
る文字表示処理を行うために、ステップ31に戻る。
FIG. 3 is a flow chart showing an example of the processing flow in the character display processing section 22. The character display process will be described with reference to the flowchart in FIG. First,
In step 31, the character code to be displayed is input, and when one character to be displayed is obtained, the process proceeds to step 32, and it is determined whether the character code is the end character code. If it is the end character code, the process ends. If it is not the ending character code, it is determined in the next step 33 whether or not the character code input in the previous processing step has position information. If there is no position information, it suffices to display the corresponding character font as it is after the character displayed at the previous position. Therefore, the process proceeds to the next step 34 and the corresponding bitmap is read. Then, in the next step 35, the extracted bit map character pattern is displayed as it is.
That is, the bitmap is expanded and displayed following the bitmap of the previous character. Then, the process returns to step 31 to perform the character display process for the next character code.

【0025】一方、ステップ33の判定で、位置情報
(基準表示位置を移動させる情報)が有ると判定された
場合には、前の位置に表示された文字に続けて該当する
文字フォントを表示する際に位置情報により位置修正を
行う必要があるので、次のステップ36に進み、ステッ
プ36において、該当するビットマップを読み出し、次
のステップ37において、読み出したビットマップをそ
の属性情報の位置情報を基にして移動し、次のステップ
58において、文字パターンの当該ビットマップ展開し
表示する。そして、次の文字コードに対する文字表示処
理を行うために、ステップ31に戻り、ステップ31か
らの処理を繰り返し行う。
On the other hand, if it is determined in step 33 that there is position information (information for moving the reference display position), the character font displayed at the previous position is followed by the corresponding character font. At this time, since it is necessary to correct the position based on the position information, the process proceeds to the next step 36, in which the corresponding bitmap is read, and in the next step 37, the read bitmap is converted into the position information of the attribute information. Then, in the next step 58, the bit map of the character pattern is expanded and displayed. Then, in order to perform the character display process for the next character code, the process returns to step 31, and the process from step 31 is repeated.

【0026】以上のような処理により文字表示処理を行
うので、従来のプロポーショナル文字の文字表示処理に
比ベて、文字表示制御の処理が簡略化され、処理速度が
向上する。また、事前に各々の文字パターンの文字の高
さの最大値を知ることが可能であるため、文字表示のた
めの領域を予じめ確保しやすくなる。さらに、プロポー
ショナルフォントの文字を表示するための1文字あたり
に必要な属性情報量が数が少くなくなるため、フォント
の管理や、フォントの作成が容易となる。
Since the character display processing is performed by the above processing, the character display control processing is simplified and the processing speed is improved as compared with the conventional character display processing of proportional characters. Further, since it is possible to know the maximum value of the height of the character of each character pattern in advance, it becomes easy to secure the area for character display in advance. Further, since the amount of attribute information required for displaying a character of a proportional font is small, the font management and the font creation are facilitated.

【0027】以上説明したように、本実施例の文字表示
処理方法においては、プロポーショナルフォントをより
高速に処理するため、文字フォントのビットマップ幅を
文字の幅と同一とし、文字の送り幅とフォントのビット
マップの幅との情報を共通とする。文字のビットマップ
パターンの高さを全ての文字で統一する。これにより、
文字を表すために必要な情報が少なくてすみ、文字表示
(印字)処理を簡素化でき、処理を高速化できる。
As described above, in the character display processing method of this embodiment, in order to process a proportional font at a higher speed, the bitmap width of the character font is made the same as the character width, and the character feed width and font The information is the same as the bitmap width of. Unify the height of the character bitmap pattern for all characters. This allows
A small amount of information is required to represent a character, the character display (printing) process can be simplified, and the process can be sped up.

【0028】[0028]

【発明の効果】以上、説明したように、本発明の文字表
示処理方法によれば、プロポーショナルフォントの文字
表示処理は、従来のプロポーショナルの文字の表示に比
ベて、文字表示の処理が簡略化され、処理速度が向上す
る。また、前もって各々の文字パターンの文字の高さの
最大値を知ることが可能であるため、文字表示のための
領域を予じめ確保しやすくなる。さらに、プロポーショ
ナルフォントの文字を表示するための1文字あたりに必
要な属性情報の数量が少くなくなるため、フォントの管
理や、フォントの作成が容易となる。
As described above, according to the character display processing method of the present invention, the character display processing of the proportional font is simplified as compared with the conventional proportional character display. Therefore, the processing speed is improved. Moreover, since it is possible to know the maximum value of the height of the character of each character pattern in advance, it becomes easy to secure the area for character display in advance. Further, since the quantity of attribute information required for displaying one character of a proportional font is small, font management and font creation are facilitated.

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

【図1】 図1は本発明の一実施例にかかる文字表示処
理方法で用いるビットマップ本体部および表示制御の属
性情報から構成される文字フォント情報を説明する図、
FIG. 1 is a diagram for explaining character font information composed of a bitmap body portion and display control attribute information used in a character display processing method according to an embodiment of the present invention;

【図2】 図2は文字表示処理装置の要部の構成を示す
ブロック図、
FIG. 2 is a block diagram showing a configuration of a main part of a character display processing device,

【図3】 図3は文字表示処理部における処理フローの
一例を示すフローチャート、
FIG. 3 is a flowchart showing an example of a processing flow in a character display processing unit,

【図4】 図4はプロポーショナルフォントの文字を表
示し印刷するためのビットマップの一例を説明する図、
FIG. 4 is a diagram illustrating an example of a bitmap for displaying and printing a proportional font character;

【図5】 図5はビットマップ本体部および属性情報か
ら構成されるプロポーショナルフォントの従来における
各文字フォント情報の構成の一例を説明する図である。
FIG. 5 is a diagram for explaining an example of a configuration of conventional character font information of a proportional font composed of a bitmap body and attribute information.

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

11,12,13…ビットマップ本体部、21…入力
部、22…文字表示処理部、23…表示処理部、24…
CRTディスプレイ、25…フォントデータ格納部、5
1,52,53…ビットマップ本体部。
11, 12, 13 ... Bitmap main body section, 21 ... Input section, 22 ... Character display processing section, 23 ... Display processing section, 24 ...
CRT display, 25 ... font data storage, 5
1, 52, 53 ... Bitmap main body.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 文字毎に文字幅および文字高が異なるプ
ロポーショナルフォントのビットマップパターンの文字
を表示する文字表示処理方法であって、 文字フォントのビットマップの幅を、当該文字フォント
のビットマップパターンの表示基準位置から次の文字の
ビットマップパターンの表示基準位置までの文字送り幅
とを同一とすると共に、各文字フォントのビットマップ
の高さを同一にしたビットマップパターンとして、各文
字の文字フォントのビットマップを格納しておき、 文字表示要求により、格納したビットマップを読み出
し、前の文字フォントのビットマップの表示終了位置か
ら幅方向に連続して次の文字フォントのビットマップを
表示することを特徴とする文字表示処理方法。
1. A character display processing method for displaying a character having a bitmap pattern of a proportional font in which a character width and a character height are different for each character, wherein the width of the character font bitmap is the bitmap pattern of the character font. The character feed width from the display reference position of to the display reference position of the bitmap pattern of the next character is the same, and the height of the bitmap of each character font is the same. The font bitmap is stored, and the stored bitmap is read in response to a character display request, and the bitmap of the next character font is displayed continuously in the width direction from the display end position of the bitmap of the previous character font. A character display processing method characterized by the above.
JP35136691A 1991-12-13 1991-12-13 Character display processing method Expired - Fee Related JP3189345B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35136691A JP3189345B2 (en) 1991-12-13 1991-12-13 Character display processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35136691A JP3189345B2 (en) 1991-12-13 1991-12-13 Character display processing method

Publications (2)

Publication Number Publication Date
JPH05165455A true JPH05165455A (en) 1993-07-02
JP3189345B2 JP3189345B2 (en) 2001-07-16

Family

ID=18416811

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35136691A Expired - Fee Related JP3189345B2 (en) 1991-12-13 1991-12-13 Character display processing method

Country Status (1)

Country Link
JP (1) JP3189345B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1103949A1 (en) * 1999-04-20 2001-05-30 Mitsubishi Denki Kabushiki Kaisha Character display and character displaying method
JP2015228228A (en) * 2015-07-06 2015-12-17 ファンラーニング株式会社 Part designation device, part designation program and record medium
JP2016175109A (en) * 2015-03-20 2016-10-06 株式会社キーエンス Laser marking apparatus, printing method and computer program using laser marking apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1103949A1 (en) * 1999-04-20 2001-05-30 Mitsubishi Denki Kabushiki Kaisha Character display and character displaying method
US6927774B2 (en) 1999-04-20 2005-08-09 Mitsubishi Denki Kabushiki Kaisha Character display device and character display method
JP2016175109A (en) * 2015-03-20 2016-10-06 株式会社キーエンス Laser marking apparatus, printing method and computer program using laser marking apparatus
JP2015228228A (en) * 2015-07-06 2015-12-17 ファンラーニング株式会社 Part designation device, part designation program and record medium

Also Published As

Publication number Publication date
JP3189345B2 (en) 2001-07-16

Similar Documents

Publication Publication Date Title
US5313573A (en) Apparatus for forming character patterns with line segments
JPH09134158A (en) Character processing method and processor
JPH05165455A (en) Character display processing method
JPH08160934A (en) Character information processor
US6034702A (en) Character forming apparatus
JPH0333895A (en) Font plotting device
JP2764944B2 (en) Character output device
EP0477122A2 (en) Method of utilizing fixed font metrics in a device using relative font metrics
JPH06115167A (en) Registering method for external character
JPH04127270A (en) Document processor
JPS61198281A (en) Print image display unit
JPH07172021A (en) Layout method of letter
JPH0784739A (en) Data converter
JPH0470961A (en) Pattern display device
JPH04664A (en) Document preparing device
JPH02190358A (en) Device for expression of character face
JPS5924673A (en) Apparatus for fabricating composition data
JPS6015179A (en) Document processor
JPH06324667A (en) Data converting device
JPS59127167A (en) Ruled line processing system for sentence processor
JPH06342202A (en) Slip designing system
JPH03265896A (en) Image display system
JPH0827698B2 (en) Document processing device
JPH08118745A (en) Character output device
JP2000233535A (en) Print system and method for forming image-divided font

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090518

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100518

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees