pdf4tcl is a tcl package for generating pdf files. It started as a
port of pdf4php to the tcl language.
Features:
* compressed pdf
* dumping canvas to pdf
* lines, arrows, rectangles, circles, ovals, arcs, curves
* set stroke and fill colour
* set line style (thickness and dashes)
* simple text strings, left or right aligned or centered
* text boxes with left or right aligned, centered or fully justified
  text
* rotated text
* text with skewed characters
* use adobe standard fonts
* use other fonts, type1 or truetype fonts can be embedded
* jpeg and png images, plus support for raw image data
* add bookmarks and metadata
* most commonly used paper dimensions, custom ones can be provided.
* pages can be built top-down or bottom-up
