.\" @(#)PEXSetTextFontIndex.3 1.4 95/03/24 SMI; .so man3/pex.macs .TH PEXSetTextFontIndex 3 "May 1995" "Solaris PEXlib Reference Manual" "" .SH NAME PEXSetTextFontIndex - Set Text Font Index .SH SYNTAX .HP void PEXSetTextFontIndex\^(\^Display *\fIdisplay\fP\^, XID \fIresource_id\fP\^, PEXOCRequestType \fIreq_type\fP\^, unsigned int \fIindex\fP\^) .SH PARAMETERS .IP \fIdisplay\fP 1i A pointer to a display structure returned by a successful .B XOpenDisplay call. .IP \fIresource_id\fP 1i The resource identifier of the renderer or structure. .IP \fIreq_type\fP 1i The request type for the output command ( .B PEXOCRender, .B PEXOCStore, .B PEXOCRenderSingle or .B PEXOCStoreSingle ). .IP \fIindex\fP 1i The text font table index. .SH RETURNS .LP None .SH DESCRIPTION .\" indexing .IX PEXSetTextFontIndex .LP This function creates an output primitive attribute which sets the text font .I index attribute. Index specifies the entry in the current text font lookup table used to render text primitives. If .I index is undefined, the default index one is used. If index one is undefined, the result is implementation-dependent. .LP A text font table index less than 1 will produce a .SB BadPEXOutputCommand error. .SH ERRORS .TP .SB BadPEXOutputCommand The output command contains an invalid value. .TP .SB BadPEXRenderer The specified renderer resource identifier is invalid. .TP .SB BadPEXStructure The specified structure resource identifier is invalid. .SH SEE ALSO .LP .nf .BR PEXSetIndividualASF (3) .BR PEXCreateLookupTable (3) .fi