Revision history for Template::Flute::PDF 0.0042 Tue Jul 17 19:34:06 2012 CEST [BUGFIX] * Accept "none" as valid value for text transformations. * Fix bug in locate_image method caused by using wrong variable for html base. [DOCUMENTATION] * Add import parameter for Template::Flute::PDF. * Add note about missing support for CSS display property. * Add note about support for CSS properties min-height, min-width and text-transformation. * Add output section to Template::Flute::PDF's POD and use ->new. * Add documentation for Template::Flute::PDF's bounding method. [TESTS] * Add tests for locate_image method. 0.0041 Fri Jun 8 19:48:47 2012 CEST [BUGFIX] * Fix inappropriate conditional causing text consisting of a single zero to disappear in the PDF output. [TESTS] * Add basic text tests 0.0040 Mon May 21 10:48:20 2012 CEST [ENHANCEMENTS] * Get rid of Image::Magick prerequisite (rt.cpan.org #76005). * Add support for min_width and min_height properties. * Add support for font style properties. * Add support for HTML tag. [BUGFIX] * Fallback to file parameter from Template::Flute::PDF->new in process method. [TESTS] * Add BMP image to test for PDF images. 0.0030 Fri Mar 23 12:08:55 2012 CET [BUGFIX] * Fix bug silently discarding text font sizes using other units than pt. * Return real numbers from to_points function. * Fix failure of locate_image method with template and image in the current directory. * Remove 1pt offset for bottom border from borders method. * Adjust text position accordingly when CSS line-height property is set. * Remove clear after property from block elements with right float property. [ENHANCEMENTS] * Support images with borders. * Turn Template::Flute::PDF::Image's width and height methods into getters and setters. * Add rudimentary support for vertical align. * Issue a warning on missing image src attribute instead of crashing PDF generation. * Add orientation parameter. * Convert margin parameters with units. * Change PDF producer string to "Template::Flute::PDF $VERSION". * Allow negative widths and heights. [DOCUMENTATION] * Add units and margin parameters. 0.0025 Sun Jan 29 15:31:40 2012 CET [BUGFIX] * Stop horizontal lines from increasing the width of the enclosing box. [ENHANCEMENTS] * Remove calculation of correction for rotated text * Use translate function in transform property for rendering horizontal lines. * Improve drawing of horizontal lines with the help of transformation methods. [TESTS] * Add image test. 0.0024 Sun Jan 22 14:38:26 2012 CET [ENHANCEMENTS] * Use display property instead deriving it from the tag. * Add support for text rotation. * Add swap_images constructor parameter to Template::Flute::PDF for replacing static HTML images with dynamic ones in the PDF. * Let process method of Template::Flute::PDF return the PDF as string in case no file name has been passed in the constructor or method call. * Add support for HTML center element. * Add support for underlining text. [BUG FIXES] * Prevent applying CSS styles from descendant selectors to parent element. * Improve drawing of borders for PDF. * Add float left as additional condition to show list elements horizontally in the PDF. * Clean up temporary file generated by Template::Flute::PDF::Image's convert method. * Fix stripe width calculation. * Fix PDF box calculation bug for elements with padding and maximum width. [DOCUMENTATION] * Add description section to Template::Flute::PDF's POD. 0.0004 Wed May 25 14:02:56 2011 CEST [BUG FIXES] * Pass current HTML tag to CSS object. 0.0003 Wed Apr 13 18:53:50 2011 CEST [ENHANCEMENTS] * Remove a lot of custom and/or obsolete code from Template::Flute::PDF class. * Add default margin of 20pt (top, left, right) resp. 50pt (bottom). * Add implicit linebreaks for
  • tags. * Add html_base parameter. [BUG FIXES] * Check against available content width in the text calculation. * Remove misplaced code for to_points function from POD. * Fix MANIFEST. 0.0002 Tue Mar 29 15:52:11 2011 CEST [ENHANCEMENTS] * Take width and height attributes from HTML tag into account for calculating image box size. 0.0001 Sun Mar 13 15:40:50 2011 CET * Initial release.