# coding=utf-8 # eggbot_spiraltext.py # # Render a passage of text using the Hershey fonts, then stretch it so # that it will wrap multiple times around an egg, and finally tilt it # so that it will spiral as it wraps. # # + The wrapping need not be an integral multiple of 3200 pixels # # + The text tilt is computed to use the full height of the document # # + The text can be run starting from the top of the page or from # the bottom (and upside down). This latter orientation is useful # when placing the bottom of the egg (fat end) in the egg motor's # egg cup # # + The text can be stretched more horizontally than vertically to # compensate for some of the geometry issues associated with drawing # on eggs. # # + The text can contain markup (see below) # # This extension also permits some basic markup of the passage using # XHTML-like conventions and a limited set of tags: # # - A simple typeface which lacks serifs # - "Times" like typeface (a face with serifs) #