Windows 3.1 Device Drivers (ddag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
GETPAIRKERNTABLE
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define GETPAIRKERNTABLE 258 
short Control(lpDevice, GETPAIRKERNTABLE, NULL, lpOutData)
LPPDEVICE lpDevice;
LPKERNPAIR lpOutData;
 
The GETPAIRKERNTABLE escape fills the buffer pointed to by the lpOutData
parameter with the character pair-kerning table for the currently selected
font.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
 
lpDevice   Points to a PDEVICE structure specifying the destination device.
 
lpOutData  Points to an array of KERNPAIR structures. This array must be
           large enough to accommodate the font's entire character
           pair-kerning table. The number of character-kerning pairs in the
           font can be obtained from the EXTTEXTMETRIC structure which is
           returned by the GETEXTENDEDTEXTMETRICS escape.
 
Return Value
 
The return value is the number of KERNPAIR structures copied to the buffer.
Otherwise, the return value is zero if the font does not have kerning pairs
defined, the escape fails, or the escape is not implemented.
 
Comments
 
The values returned in the KERNPAIR structures are affected by whether
relative character widths are enabled or disabled.
 
See Also
 
ENABLERELATIVEWIDTHS, EXTTEXTMETRIC, KERNPAIR, PDEVICE
 
 
                                      ♦