fmprstr(3W)

fmprstr - render a string in the current font

As shipped in IRIX 6.5.7. Unchanged since IRIX 6.5.

NAME
     fmprstr - render a string in the current font

SYNOPSIS
     #include <fmclient.h>

     long fmprstr(str)
     char *str;

DESCRIPTION
     fmprstr renders a string using the current font, as set by fmsetfont. It
     uses subpixel-positioning to assure that rounding errors do not cause
     aberrant spacing.  It also renders rotated characters by inspecting and
     concatenating the page matrix with the font matrix, then rendering in the
     resulting coordinate system.  If the string is null, or the font does not
     exist, fmprstr returns -1.  Otherwise, it returns 0.

SEE ALSO
     fminit(3W), fmfindfont(3W), fmfprstr(3W), fmscalefont(3W), fmsetfont(3W),
     fmrotatepagematrix(3W).

NOTE
     This routine is available only in immediate mode.