PDFlib Cookbook

cookbook

Text Output

image_as_text_fill_colorCreate outline text and fill the interior of the glyphs with an image.
invisible_textOutput invisible text on top of an image.
leaders_in_textlineUse dot leaders to fill the space between text and page number such as in a table of contents.
shadowed_textCreate a shadowed text line with the 'shadow' option of fit_textline.
simple_stampCreate a stamp across the page which runs diagonally from one corner to the other.
starter_textlineDemonstrate various options for placing a text line.
text_as_clipping_pathOutput text filled with an image.
text_on_a_pathCreate text on a path.
transparent_textCreate some transparent text.
watermarkCreate an editable watermark.