PHP Manual: cpdf_set_text_rendering
cpdf_set_text_rendering
Description
bool cpdf_set_text_rendering ( int pdf_document, int rendermode )Determines how the text is rendered.
Parameters
pdf_documentThe document handle, returned by cpdf_open().
rendermodeThe possible values for
rendermodeare 0=fill text, 1=stroke text, 2=fill and stroke text, 3=invisible, 4=fill text and add it to clipping path, 5=stroke text and add it to clipping path, 6=fill and stroke text and add it to clipping path, 7=add it to clipping path.