=========================== mPDF v4.5 (21/04/2010) =========================== New Features ------------ The main change in 4.5 is the improved class for importing SVG images. (See details below) Font files ---------- Some bugs in the "makefonts" utility caused some errors in the files produced for embedding font subsets. Surprisingly these are not easily detectable (I have yet to find one!). All the font files used for embedding font subsets (the .dat and .dat.php files in /unifont/ folder) have been re-generated. Download them if you are having problems with any fonts - otherwise, you probably don't need to bother. Minor Enhancements ------------------ If keepColumns = true (i.e. disable readjustment of column length), mPDF will now reproduce table header/footer rows in each column [4.4.015] A number of changes to improve processing time [4.4.012] [Thanks to carlholmberg http://mpdf.bpm1.com/forum/comments.php?DiscussionID=274&page=1#Item_3] JPG files with header marked as "progressive DCT-based JPEG" are now supported [4.4.004] Configurable variable (config.php) $dpi can be set to vary size interpreted from "px" values in HTML/CSS NB Recommended that $dpi should always be set the same as $img_dpi Support added for "ex" as a size value (approximates "ex" as half of font height) Configurable variable (config.php) $watermarkImgAlphaBlend will determine how watermark images will blend with underlying objects. Bug fixes --------- - Make-fonts utility : makefonts/makefonts.php [4.4.016] (All font files have been updated) - Table header of only one column width - not printing right border [4.4.014] - WMF and SVG images not rotating correctly to 90 or -90 degrees [4.4.013] - Using templates, error if imported doc contains templates itself [4.4.001] Updated Files ------------- mpdf.php config.php classes/svg.php makefonts/makefonts.php ALL subset font files (/unifont/ .dat and .dat.php files), and all garuda and norasi files New files --------- None New config variables -------------------- $this->watermarkImgAlphaBlend $this->dpi BACKWARD COMPATIBILITY ---------------------- All but one changes in mPDF 4.5 are fully backwards compatible. The configurable variable $this->watermarkImgBehind was introduced in v4.4 and was unintentionally set to TRUE In v4.5 this is set to FALSE in the config.php file. SVG Images ---------- [svg.php CHANGED] - Text stroke-width default changed to 1 [4.4.011] - Text stroke - line-join type changed [4.4.010] - Default value for fill changed to "black" [4.4.008] - Bug fixes: * to correct calculation of text-length (and therefore alignment R and C) [4.4.009] * Corrected errors in path implementation esp. quadratic Bezier curves * rounded corners to rectangles - error corrected * Recognition of font-family improved * remove \n (and other non-printable chars) from text * zero length shapes are not output e.g. zero-width rectangle, zero-length line, zero-radius circle - Support added for: * gradient stop offsets and gradientUnits="userSpaceOnUse" [4.4.007] In mpdf.php enabled define inner radius for radial gradients - only used internally by SVG at present * user defined cf. 'render-elems-03-t.svg' in SVG Test Suite [4.4.006] * "color" attribute and "currentColor" value for fill and stroke [4.4.005] * fill:url(#...) in a style as well as attribute * xlink:href for gradients * 1.3002e-005 in svg path * text-style changes (e.g. text-anchor) set on element - not just on * fill-rule=evenodd|nozero * dashed lines / stroke-dasharray & stroke-dashoffset * gradientUnits=userSpaceOnUse; * units e.g. 3mm or 14pt in Rectangle, Circle, Ellipse, Line and Text position * transform on element * stroke as well as fill on text NB The following are still NOT supported for SVG - filters - - images - DOM - - textlength; lengthadjust; tspan, tref, toap, textPath; - - gradient on stroke/text; - - text-underline and strikethrough - text opacity - colors as rgb(87%, 56%, 25%) - rect using units for dimensions - Only uses default spreadMethod = "pad" for gradients =========================== mPDF v4.4 (24/03/2010) =========================== New Features ------------ - Support SVG image files (partial) - Rotate images or graphs (by multiples of 90 degrees) - Set opacity (transparency) for background images - Control resizing of background images - Set whether to print watermark images behind or in front of page contents - Reduced memory usage when printing tables (partly configurable) - Option to set path to folder for temporary files - Improved compliance for CSS text-align justify - Increased support for CSS "media" - Improved performance when accessing local image files Minor Enhancements ------------------ - Allows space in output file name e.g. $mpdf->Output('t est.pdf','D'); [4.3.007B] - Header changed in Output to improve compatability with IE6 (affects 'D' and 'I') [4.3.012B] - background-images do not show noimage.jpg if missing [4.3.012D] - simpleTables (which improves performance) now also allows: background-color, -gradient and -image, padding and rotated text to be set for each cell. Only borders are not supported cell-by-cell. [4.3.006] Bug fixes --------- - Page width not correctly reset when defining default page margins (L/R) by @page [4.3.007C] - Table row with a background-color, paints the whole row, including the spaces between cells [4.3.005] NB This should have been fixed in [4.2.028] but got left out! - UseSubstitutionsMB causes errors inside