fmchrwid(3W)

fmgetchrwidth - return the width of a character

As shipped in IRIX 6.5. First release of IRIX 6.5.

NAME
     fmgetchrwidth - return the width of a character

SYNOPSIS
     #include <fmclient.h>

     long fmgetchrwidth(fh, ch)
     fmfonthandle fh;
     unsigned char ch;

DESCRIPTION
     fmgetchrwidth returns the number of pixels (in the x dimension) by which
     the current character position moves when you image the specified
     character. This value is rounded to an integer (for some fonts,
     characters can have subpixel dimensions).  If the specified character
     glyph does not exist, the width of a space is returned.  If a space does
     not exist, the width of the font is returned.

SEE ALSO
     fminit(3W)

NOTE
     This routine is available only in immediate mode.