|void gpcGetWidestChar (font, nchar, width)||FNTPLT.C||Level 1|
|unsigned char font||The font selection character of the font you wish to search.|
|unsigned char *nchar||The address of a variable to hold the returned ASCII value of the widest character in the selected font..|
|int *width||The pointer to an integer to receive the width (in pels) of the widest character in your font.|
|This routine retrieves the widest character in a font and its width.
You would use this routine with setspacing()
to set constant character spacing to be that of the widest character in the selected font. Constant-spacing fonts may be useful for creating tables.