=========================== mPDF v5.3 (21/07/2011) =========================== New Features ------------ - Active forms (see on-line manual for details) - 128-bit encryption (optional) with additional user-permissions (see on-line manual) PLEASE READ - Change in Font management --------------------------------------- The font name imported from the font and included by mPDF in the PDF file was stripping any '-' in the name. This is the PostScript name which is utilised by some PostScript programmes. mPDF has been changed to leave the PostScript font name unchanged. In 99% cases no difference will be noted, but you MUST delete all the temporary font data files cached in the /ttfontdata/ folder for this to be effective. Minor changes ------------- If @page CSS is used to select a first page with settings different from the default, mPDF did create a blank page then pagebreak to the new @page settings - this has been changed so it now will start with the new page settings. New function added: DeletePages($start_page, $end_page=-1) e.g. $mpdf->DeletePages(1); Can be used just before calling Output() compress.php utility extended to exclude active forms and images-svg Bug fixes --------- - list-style-type: (custom version, user-defined bullet) colour change not working if colour is set on the list item line - background-image: SVG or WMF images as background-images in tables/tr/cells not working - font-weight: bold font not always reset after inline ... thus miscalculating width - forms (inactive) in 'c' core fonts using unicode characters 127-255 incorrect display in input text and button text - form elements (inactive) if in-line with mixed size fonts, error in vertical positioning of text related to box - ToC: wrapped lines in ToC not retaining formatting e.g. bold style - HTMLHeaders: using setAutoTopMargin="pad"; not correctly setting top margin for first page - output headers changed: Content-length not used if server uses output compression - embedded font subsets from fonts which contain non-BMP plane 0 characters (incl. e.g. dejavusanscondensed) - causing Adobe Reader to create a CJK encoded font subset internally when loading interactive Forms - Changed so unsets the flag in the subset font to show no non-BMP characters. Configurable variables added (see config.php file): -------------------------------------------------- All for Active Forms: $this->useActiveForms $this->formExportType $this->formSubmitNoValueFields $this->formSelectDefaultOption $this->form_border_color $this->form_background_color $this->form_border_width $this->form_border_style $this->form_button_border_color $this->form_button_background_color $this->form_button_border_width $this->form_button_border_style $this->form_radio_color $this->form_radio_background_color PLUS: see additional values added to $this->allowedCSStags close to bottom of file - required for Active forms Updated files ------------- mpdf.php config.php (NB as well as form stuff at top, 5.2.07 $this->allowedCSStags close to bottom of file) compress.php classes/ttfontsuni.php examples/example57... examples/formsubmit.php =========================== mPDF v5.2 (18/06/2011) =========================== New Features ------------------ Improvements in font handling resulting in clearer display of fonts on screen, and improved compatibility with PostScript drivers (e.g. use with GSView/GhostScript, see below) CJK line-breaking implemented (roughly) according to rules. Configurable variables allow control of behaviour (except in tables). Viewer preferences: added options for initial 2 page display where you can specify whether 1st page is on left or right (cf. SetDisplayMode). Custom list-style-type for a list (ul,ol) or a list-item (li) in which you can determine the character and colour of the bullet: list-style-type: U+263Argb(255,0,0); - where U+263A is the Unicode HEX value of the character you want for the bullet - character MUST be included in the font used for that list item. rgb() bit is optional Bug fixes --------- - Fonts: embedding a BMP TTC font (e.g. Cambria) as a full font caused error - Table: If cell width set by CSS as %, and page-break-inside avoid requires a new page, was losing the sizing - Table: table borders CSS parsing error; if border-width, border-style, border-color set, not inherited correctly - Table: Table background image or gradient not working in HTMLHeader/Footer - Table: background color set on table (anywhere) will overwrite image/gradient - Table Background image/gradient: If left/right margin is set on table, gradient/image set on table is too wide - Table: rotated table - height (after first page does not correctly allow for thead i.e. too much) - Table: blank