JP3189345B2 - Character display processing method - Google Patents

Character display processing method

Info

Publication number
JP3189345B2
JP3189345B2 JP35136691A JP35136691A JP3189345B2 JP 3189345 B2 JP3189345 B2 JP 3189345B2 JP 35136691 A JP35136691 A JP 35136691A JP 35136691 A JP35136691 A JP 35136691A JP 3189345 B2 JP3189345 B2 JP 3189345B2
Authority
JP
Japan
Prior art keywords
character
font
display
bitmap
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.)
Expired - Fee Related
Application number
JP35136691A
Other languages
Japanese (ja)
Other versions
JPH05165455A (en
Inventor
収 遠藤
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
Fujifilm Business Innovation Corp
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, Fujifilm Business Innovation Corp 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

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 method for displaying characters on a CRT using a bitmap font.
To display and print the like on the display device or printer, the width and height of the character for each character is related to character display processing method for displaying a character bit map patterns of different proportional fonts.

【0002】[0002]

【従来の技術】従来から文書の文字印刷状態をより美し
く見せ、また、可読性を向上させるために、英文,欧文
など印刷文書などでは、文字毎に文字幅および文字高が
異なるプロポーショナルフォントの文字フォントを用い
て文書を印刷している。
2. Description of the Related Art Conventionally, in order to make a character print state of a document more beautiful and to improve readability, in a printed document such as English or European, a proportional font having a different character width and character height for each character is used. The document is printed 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 a display screen and a printed document look more beautiful, and readability is improved. It is desired to display and print using characters of a proportional font to improve the image quality.

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

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

【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", and "'" of the proportional font as shown in FIG. Bitmap pattern
The font body and a plurality of pieces of attribute information for displaying the character font are combined and stored in the font data storage unit as one character font information. This will be described more specifically with reference to the drawing. For example, the display device has a structure including display control data as shown in FIG.

【0007】図5において、BBw,BBhは、それぞ
れ文字フォントのビットマップパターン本体部の幅,高
さであり、BBox,BBoyは、それぞれ表示基準位置の
原点からのビットマップパターン本体部の左下端の位置
決めする座標を表している。また、Ex,Eyは、次の
文字の表示基準位置の座標の原点となるべき点を指示し
ている(文字送り基準点)。ここでは、3つの文字
「j」…「w」…「‘」のプロポーショナルフォントを
表示する場合を例示している。各文字フォントは、図5
に示すように、例えば、文字「j」では、ビットマップ
パターン本体部51と共に、その領域の大きさ指示する
ための情報としてのBBw=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,B
Bh=,BBox=3,BBoy=10,Ex=6,Ey
=0の表示制御のための属性情報が付加されている。な
お、図5において、太い線の「十」字形で示す点は、そ
の文字の表示基準位置の原点を表わし、細い線の「十」
字形で示す点は次の文字の表示基準位置の原点を表わし
ている。
In FIG. 5, BBw and BBh are the width and height of the main part of the bitmap pattern of the character font, respectively, and BBox and BBoy are the lower left end of the main part of the bitmap pattern from the origin of the display reference position. Represents the coordinates for positioning. Ex and Ey indicate a point to be the origin of the coordinates of the display reference position of the next character (character feed reference point). Here, a case where a proportional font of three characters “j”... “W”. Fig. 5
For example, for the letter "j", the bitmap
Along with the pattern main body 51, area size information of BBw = 6 and BBh = 19 as information for indicating the size of the area and display reference position as attribute information for positioning the bitmap pattern main body 51 BBox = −1, BBoy = −5 of the position information for arranging the lower left end of the bitmap pattern body portion with respect to the origin of, and Ex = 6, Ey = 0 of the coordinate information of the origin for displaying the next character. Is added as attribute information. Also, the letter "w"
In the same manner, BBw = 14, BBh = 8, BBox = 1, and BBoy together with the bitmap pattern body 52.
= 0, Ex = 16, and Ey = 0. Attribute information for display control is added. Similarly, in the character "'", the bit map pattern body portion 53, BBW = 2, B
Bh = 4 , BBox = 3, BBoy = 10, Ex = 6, Ey
Attribute information for display control of = 0 is added. In FIG. 5, a point indicated by a thick line “ten” character represents the origin of the display reference position of the character, and a thin line “ten” character is indicated.
The point indicated by the character 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) characters of a proportional font having such attribute information is executed by the following processes. An origin serving as a display start position is determined, and its coordinates are set to (x 0 , y 0 ). Display origin position (bitmap
Find the coordinate value of the position where the lower left corner of the pattern should be placed. x d ← x 0 + BBox y d ← y 0 + BBoy coordinate value of the display origin position obtained (x d, y d) so as to match the left lower end of the bit map pattern to the position of the bit of the character font to be displayed Put the map pattern . Displays (prints) the character font to be displayed.
U. Move the origin to the origin for displaying the next character font. x 0 ← x 0 + Ex y 0 ← y 0 + Ey
Is repeated.

【0009】[0009]

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

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

【0011】[0011]

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

【0012】[0012]

【作用】本発明の文字表示処理方法においては、文字毎
に文字幅および文字が異なるプロポーショナル
フォントのビットマップパターンの文字を表示する場
合、表示するプロポーショナルフォントの文字フォント
のビットマップの幅を、当該文字フォントのビットマッ
プパターンの表示基準位置から次に表示する文字の文字
フォントのビットマップパターンの表示基準位置までの
文字送り幅とを同一とすると共に、表示する各文字フォ
ントのビットマップの高さを同一にしたビットマップパ
ターンとして、表示する各文字の文字フォントのビット
マップを格納しておく。そして、文字表示要求により、
格納したビットマップを読み出し、前の文字フォントの
ビットマップの表示終了位置から幅方向に連続して次の
文字フォントのビットマップを読み出し表示する。
In the character display processing method of the present invention, when the width and height of the character for each character to display characters of the bit map pattern of the different proportional fonts, the proportional font to display the character font bitmaps width, character to be displayed from the display reference position of the bit map pattern of the character font to the next
Font and escapement width to the display reference position of the bit map pattern with the same, as a bit map pattern of the height of the bitmap of each character font and the same to be displayed, the bits of each character in the character font to be displayed Store the map. And, according to the character display request,
The stored bitmap is read, and the bitmap of the next character font is read and 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 displaying a character of a proportional font bitmap pattern , each time one character of the proportional font is displayed, the coordinate position where the proportional font bitmap pattern of the corresponding character is placed and the next position are displayed. It is not necessary to calculate the coordinates with the coordinate position for displaying the character, and the display (printing) processing of the character font can be performed at high speed. Further, since the data amount of the attribute information required per character to represent a proportional font characters less <br/> ing, font management and the creation of a font is facilitated. Since the maximum value of the character height of each character pattern can be known in advance, it is easy to secure an area for character display in advance.

【0014】[0014]

【実施例】以下、本発明の一実施例を図面により具体的
に説明する。図1は本発明の一実施例にかかる文字表示
処理方法で用いるビットマップ本体部および表示制御の
属性情報から構成される文字フォント情報を説明する図
である。ここでの文字表示処理方法で用いる各々のプロ
ポーショナルフォント文字の文字フォント情報は、表示
するプロポーショナルフォントの文字フォントセットか
ら、つまり、文字の幅、文字の高さ、表示基準位置、お
よび次の文字の表示基準位置の属性情報を有し、文字毎
に文字の幅および文字の高さが異なるプロポーショナル
フォントの文字フォントセットから、図1に示すよう
に、各文字フォントのビットマップ本体部11,12,
13などと共に、その文字を表示制御するため複数の属
性情報とが組合されて1つの文字フォント情報として構
成され、フォントデータ格納部に格納され。ここで
は、プロポーショナルフォント文字の文字表示制御を行
うため、ビットマップ本体部は、文字フォントのビット
マップの幅を、当該文字フォントのビットマップパター
ンの表示基準位置から次の文字のビットマップパターン
の表示基準位置までの文字送り幅とを同一とし、更に、
各文字フォントのビットマップの高さを同一にしたビッ
トマップパターンとして、各文字のプロポーショナルフ
ォントのビットマップを格納しておく。このため、表示
制御のための属性情報としては、各文字フォンのビッ
トマップの領域の幅情報Wwのみを格納る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One 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 main body and display control attribute information used in a character display processing method according to an embodiment of the present invention. Character font information of each proportional font character used in the character display processing method is displayed.
Character font set of the proportional font to be used
In other words, character width, character height, display reference position,
And the attribute information of the display reference position of the next character.
Proportionally different character width and character height
From the character font set of the font, as shown in FIG.
13 with like, is configured as a single character font information is combined and a plurality of attribute information to the display control of the character, Ru stored in the font data storage unit. Here, in order to perform the character display control of the proportional font character, the bitmap main body adjusts the width of the bitmap of the character font from the display reference position of the bitmap pattern of the character font to the display of the bitmap pattern of the next character. The character feed width up to the reference position is the same,
The bitmap of the proportional font of each character is stored as a bitmap pattern having the same bitmap height for each character font. Therefore, as the attribute information for display control, that stores only the width information Ww areas of the bit map of each character font.

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

【0016】各文字フォントのビットマップ本体部1
1,12,13のビットマップ領域の高さは同一と
ので、ビットマップ領域の高さ情報Whは、共通の高さ
情報としてWh=19が格納され。また、文字フォン
トの表示基準位置を修正指示する位置情報として、文字
フォントのビットマップの左端や右端が文字の原点と異
なる場合に、ビットマップ本体部の表示開始原点と左端
の差を表わす情報Wox,表示終了原点と右端の差を表わ
す情報Wexなどが、必要に応じて付加されて格納され
る。ここでの文字表示処理方法では、全ての文字フォン
トがWox,Wexの位置情報を持つ必要はない。
Bitmap main unit 1 for each character font
The height of the bitmap area of the 1,12,13 are identical to Runode, the height information Wh of the bitmap area, Ru Wh = 19 is stored as a common height information. Also, as position information for instructing 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 main body. , Information Wex indicating the difference between the display end origin and the right end is added and stored as needed. In the character display processing method here, it is not necessary for all character fonts to have position information of Wox and Wex.

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

【0018】このように、ここでの文字表示処理におい
ては、プロポーショナルフォントの文字表示制御のため
の各文字フォントの属性情報として、基本的には、各文
字フォントのビットマップ幅を指示する幅情報Wwのみ
を備えていれば良い。このため、プロポーショナルフォ
ントの文字フォントのビットマップは、ビットマップの
高さ(Wh)が全ての文字フォントで同一とされ、文字
フォントのビットマップ幅は文字の送り幅とされる。こ
れにより、文字表示制御において、ビットマップの配置
位置の座標計算の処理は不要となる。
As described above, in the character display process, basically, as the attribute information of each character font for controlling the character display of the proportional font, width information indicating the bitmap width of each character font is used. What is necessary is just to have only Ww. Therefore, the bitmap height (Wh) of the character font of the proportional font is the same for all 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,Wo
y)の座標計算を行え、次に続く文字フォントのビッ
トマップの配置位置の位置情報に関しては座標計算を行
うことなく、ビットマップ幅(Ww)を指示する情報を
文字送り幅として表示制御するだけでよい。
[0019] Thus, in the character display processing of proportional fonts, first, the display screen or the width and height of the bitmap of the character font to be displayed printed on the paper from the origin information of the display reference position location, bit of the character font Map location information (Wox, Wo
By performing the coordinate calculation of y), without performing the coordinate calculation with respect to subsequent positional information of the position of the bit map character font, display control information indicating bitmap width (Ww) as escapement width Just need.

【0020】なお、文字フォントのビットマップの高さ
は、予じめ全ての文字の間で上下を共に揃えて、各文字
フォントのビットマップが構成されて格納される。高さ
を揃える場合、まず、各文字フォントの原点を揃えて、
全ての文字フォントのなかで一番高いところにある点と
低いところにある点とを、それぞれのビットマップの一
番高い点と一番低い点として、各文字フォントのビット
マップ本体部を構成する。
The height of the bitmap of the character font is previously stored in the form of a bitmap for each character font, with the top and bottom of all the characters aligned. When adjusting the height, first align the origin of each character font,
The highest point and the lowest point of all character fonts are set as the highest point and the lowest point of each bitmap, and the bitmap body part of each character font is configured. .

【0021】ビットマップパターンを文字属性情報に従
い位置決めして並べなければならないプロポーショナル
フォントの文字フォント情報に対して、上述したよう
に、各文字フォントのビットマップ本体部を構成するこ
とにより、文字の表示(印字)処理を行う際には、ビッ
トマップを同じ高さ(y座標位置)で幅を詰めて並ベる
だけでよく、文字の高さ方向での配置位置の座標計算を
行う必要はなく、文字表示処理を行うことができる。
According to the character attribute information, the bitmap pattern is
Proportional that must be positioned and arranged
As described above, by configuring the bitmap main body of each character font with respect to the character font information of the font, when performing the character display (printing) process, the bitmap is placed at the same height (y coordinate). It is only necessary to reduce the width at the position (position), and it is not necessary to calculate the coordinates of the arrangement position in the height direction of the character, and character display processing can be performed.

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

【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 embodiment will be described. FIG. 2 is a block diagram showing a configuration of a main part of the character display processing device. FIG.
, 21 is an input unit, 22 is a character display processing unit, 23
Denotes a display processing unit, 24 denotes a CRT display, and 25 denotes a font data storage unit. To explain the outline of the configuration of the character display processing device, input information given to the character display processing device is character code data according to a character display request from an application program or the like. Input unit 21
When receiving the character code data according to the character display request, the character display processing unit 22 reads out the bit map 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 flowchart showing an example of the processing flow in the character display processing section 22. The character display processing 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 code to be displayed is obtained, the process proceeds to step 32, where 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 end character code, in the next step 33, it is determined whether or not the character code input in the previous processing step has positional information. If there is no position information, it is sufficient to display the corresponding character font immediately after the character displayed at the previous position. Therefore, the process proceeds to the next step 34, and the corresponding bit map is read. Then, in the next step 35, the character pattern of the extracted bitmap 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 in order to perform a 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 corresponding character font is displayed following the character displayed at the previous position. In this case, it is necessary to correct the position based on the position information. Therefore, the process proceeds to the next step 36, in which the corresponding bitmap is read in step 36, and in the next step 37, the read bitmap is replaced with the position information of the attribute information. Then, in the next step 58, the bit map of the character pattern is developed and displayed. Then, in order to perform a character display process for the next character code, the process returns to step 31 and proceeds to step 31.
Is repeated.

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

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

【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 simpler than that of the conventional proportional font. And the processing speed is improved. In addition, since the maximum value of the character height of the bitmap pattern of each character can be known in advance, it is easy to secure an area for character display in advance. Furthermore, quantities less rather Do <br/> because attribute information required per character for displaying a proportional font characters, font management and the creation of a font is facilitated.

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

【図1】 図1は本発明の一実施例にかかる文字表示処
理方法で用いるビットマップ本体部および表示制御の属
性情報から構成される文字フォント情報を説明する図、
FIG. 1 is a view for explaining character font information composed of a bitmap main body 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 the character display processing device;

【図3】 図3は文字表示処理部における処理フローの
一例を示すフローチャート、
FIG. 3 is a flowchart illustrating 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 characters in a proportional font.

【図5】 図5はビットマップ本体部および属性情報か
ら構成されるプロポーショナルフォントの従来における
各文字フォント情報の構成の一例を説明する図である。
FIG. 5 is a view for explaining an example of the configuration of conventional character font information of a proportional font including 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 unit, 21 ... input unit, 22 ... character display processing unit, 23 ... display processing unit, 24 ...
CRT display, 25 font data storage, 5
1, 52, 53: Bitmap pattern main body.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G09G 5/00 - 5/42 G06F 3/12 G06F 17/21 B41J 2/485 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int. Cl. 7 , DB name) G09G 5/00-5/42 G06F 3/12 G06F 17/21 B41J 2/485

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 文字の幅、文字の高さ、表示基準位置、
および次の文字の表示基準位置の属性情報を有し、文字
毎に文字幅および文字高さが異なるプロポーショナ
ルフォントのビットマップパターンの文字を表示する文
字表示処理方法において表示する前記プロポーショナルフォントの 文字フォント
のビットマップの幅を、当該文字フォントのビットマッ
プパターンの表示基準位置から次に表示する文字の文字
フォントのビットマップパターンの表示基準位置までの
文字送り幅とを同一とすると共に、表示する各文字フォ
ントのビットマップの高さを同一にしたビットマップパ
ターンとして、表示する各文字の文字フォントのビット
マップを格納しておき、 文字表示要求により、格納したビットマップを読み出
し、前の文字フォントのビットマップの表示終了位置か
ら幅方向に連続して次の文字フォントのビットマップを
読み出し表示することを特徴とする文字表示処理方法。
1. A character width, a character height, a display reference position,
And has attribute information of the display reference position of the next character in the character display processing method width and height of the character for each character to display characters of the bit map pattern of the different proportional fonts, the proportional font to display character width of the character font bitmaps from the display reference position of the bit map pattern of the character font of a character to be displayed on the next
Font and escapement width to the display reference position of the bit map pattern with the same, as a bit map pattern of the height of the bitmap of each character font and the same to be displayed, the bits of each character in the character font to be displayed The stored bitmap is read in response to a character display request, and the bitmap of the next character font is continuously displayed in the width direction from the display end position of the bitmap of the previous character font.
A character display processing method characterized by reading and displaying.
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 JPH05165455A (en) 1993-07-02
JP3189345B2 true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2335116C (en) 1999-04-20 2004-06-22 Mitsubishi Denki Kabushiki Kaisha Character display device and character display method
JP6452513B2 (en) * 2015-03-20 2019-01-16 株式会社キーエンス LASER MARKING DEVICE, PRINTING METHOD USING THE LASER MARKING DEVICE, AND COMPUTER PROGRAM
JP5926844B2 (en) * 2015-07-06 2016-05-25 ファンラーニング株式会社 Part designation device, part designation program and recording medium

Also Published As

Publication number Publication date
JPH05165455A (en) 1993-07-02

Similar Documents

Publication Publication Date Title
US5404436A (en) Computer method and apparatus for converting compressed characters for display in full size
US5313573A (en) Apparatus for forming character patterns with line segments
JPH04128970A (en) Document processing system
JPH09134158A (en) Character processing method and processor
JP3189345B2 (en) Character display processing method
JPH0438005B2 (en)
JP2856235B2 (en) Character processing device and character output method
US5572234A (en) Display element density conversion
JP2845156B2 (en) Format setting device and format setting method
JP2670469B2 (en) Document processing method
JPH0333895A (en) Font plotting device
EP0477122A2 (en) Method of utilizing fixed font metrics in a device using relative font metrics
JPS63209964A (en) Word processor
JPH04188189A (en) Multioutline font drawing method
JPH08290626A (en) Printer and character-disposing method
JPS62254231A (en) Character outputting method
JPH02190358A (en) Device for expression of character face
JP2001216291A (en) Character arrangement correction device and method and storage medium utilized for the same
JPS6015179A (en) Document processor
JPS61198281A (en) Print image display unit
JPH0968963A (en) Device and method for processing character
JP2000233535A (en) Print system and method for forming image-divided font
JPH0689019A (en) Slip plotting system and proofreading paper
JPH08287050A (en) Layout design device
JPH11192753A (en) Printer device

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