PDFlib
PDFlib

Text Output

avoid_linebreaking

Create a Textflow and define various options for line breaking.

bulleted_list

Output numbered and bulleted lists.

current_text_position

Demonstrate how the current text position can be used to output simple text, text lines, or Textflows next to one another.

dot_leaders_with_tabs

Use leaders to fill the space defined by tabs between left-aligned and right-aligned text, such as in a table of contents.

fill_polygons_with_text

Define arbitrary polygons to be filled with text.

footnotes_with_textflow

Create footnotes (superscript text) in a Textflow provided with links to jump to the footnote text.

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 a page number such as in a table of contents.

numbered_list

Output numbered lists with the numbers left- or right-aligned.

process_utf8

Read text in the UTF-8 format and output it.

rotated_text

Create text output which does not run  horizontally, but at some angle.

simple_stamp

Create a stamp across the page which runs diagonally from one edge to the other.

starter_textflow

Create multi-column text output which may span multiple pages.

starter_textline

Demonstrate various options for placing a text line.

tabstops_in_textflow

Create a simple multi-column layout using tab stops.

text_as_clipping_path

Output text filled with an image.

text_on_color

Place a text line and a Textflow on a colored background.

transparent_text

Create some transparent text.

underlined_text

Create underlined text.

weblink_in_textflow

Create a Textflow and integrate colorized Web links in the text.

wrap_text_around_images

Place images within a Textflow.

wrap_text_around_polygons

Use arbitrary polygons as wrapping shapes for text to wrap around.