Introduction MTB Statements File System Compiler Applications Reference Guide Index

Language Structure Data Division I/O Format Division Procedure Division Mnemonics

(GetFontInfo)

Mnemonic: (GetFontInfo = item-code)
Discussion: This mnemonic returns the font information specified by item-code.

Where PtrItem is:

PTR.FONT.HEIGHT - Specifies the height (ascent + descent) of characters

PTR.FONT.EXTLEADING - Specifies the amount of extra leading (space) that the application adds between rows. Since this area is outside the font, it contains no marks and is not altered by text output calls in either OPAQUE or TRANSPARENT mode. May be 0.

PTR.FONT.AVECHARWIDTH - Specifies the average width of characters in the font (generally defined as the width of the letter x). This value does not include the overhang required for bold or italic characters.

PTR.FONT.MAXCHARWIDTH - Specifies the width of the widest character in the font.

PTR.FONT.WEIGHT - Specifies the weight of the font.

History: This mnemonic is valid in Comet98 and greater.