PDFlib Cookbook

cookbook

Text Output

emoji_sequences Modify emoji with Unicode sequences.
image_as_text_fill_color Create outline text and fill the interior of the glyphs with an image.
invisible_text Output invisible text on top of an image.
leaders_in_textline Use dot leaders to fill the space between text and page number such as in a table of contents.
shadowed_text Create a shadowed text line with the 'shadow' option of fit_textline.
simple_stamp Create a stamp across the page which runs diagonally from one corner to the other.
starter_textline Demonstrate various options for placing a text line.
text_as_clipping_path Output text filled with an image.
text_on_a_path Create text on a path.
transparent_text Create some transparent text.