<HTML ><HEAD ><TITLE >cpdf_set_text_rendering</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK REL="HOME" TITLE="PHP Manual" HREF="manual.html"><LINK REL="UP" TITLE="ClibPDF functions" HREF="ref.cpdf.html"><LINK REL="PREVIOUS" TITLE="cpdf_set_leading" HREF="function.cpdf-set-leading.html"><LINK REL="NEXT" TITLE="cpdf_set_horiz_scaling" HREF="function.cpdf-set-horiz-scaling.html"></HEAD ><BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >PHP Manual</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.cpdf-set-leading.html" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.cpdf-set-horiz-scaling.html" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.cpdf-set-text-rendering" >cpdf_set_text_rendering</A ></H1 ><DIV CLASS="refnamediv" ><A NAME="AEN5280" ></A >cpdf_set_text_rendering -- Determines how text is rendered</DIV ><DIV CLASS="refsect1" ><A NAME="AEN5283" ></A ><H2 >Description</H2 ><DIV CLASS="funcsynopsis" ><P ></P ><CODE CLASS="FUNCDEF" >void cpdf_set_text_rendering</CODE >(int pdf document, int mode);<P ></P ></DIV ><P > The <B CLASS="function" >cpdf_set_text_rendering()</B > function determines how text is rendered. The possible values for <TT CLASS="parameter" ><I >mode</I ></TT > are 0=fill text, 1=stroke text, 2=fill and stroke text, 3=invisible, 4=fill text and add it to cliping path, 5=stroke text and add it to clipping path, 6=fill and stroke text and add it to cliping path, 7=add it to clipping path.</P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.cpdf-set-leading.html" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="manual.html" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.cpdf-set-horiz-scaling.html" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >cpdf_set_leading</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.cpdf.html" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >cpdf_set_horiz_scaling</TD ></TR ></TABLE ></DIV ></BODY ></HTML >