fmfprstr(3W)
fmfprstr - render a character string in a specified font
As shipped in IRIX 6.5.15. Unchanged since IRIX 6.5.
NAME fmfprstr - render a character string in a specified font SYNOPSIS #include <fmclient.h> int fmfprstr(fh, str, len, x, y) fmfonthandle fh; unsigned char *str; short len; int x, y; DESCRIPTION fmfprstr sets the current font to a specified font, and then renders a specified character string by using that font. fmfprstr does not perform the subpixel positioning of characters. It returns the length of the rendered character string in pixels. This function can usually render a given character string faster than the function fmprstr. The return value of -1 indicates an error. SEE ALSO fminit(3W), fmfindfont(3W), fmprstr(3W), fmscalefont(3W), fmsetfont(3W), fmrotatepagematrix(3W). NOTE This routine is available only in immediate mode.