Please note that the behaviour of
has changed from Prince 12. In the past,
line-height: normal was equivalent to
but now it will use the recommended value from the current font, which is
typically a little smaller, thus changing the output. Customers who
preferred to old behaviour can get it back by specifying a
Support for OpenType reverse chaining contextual single substitutions, as used e.g. by the "Numderline" font.
Fixed an issue where CMYK colors were unnecessarily assigned a default ICC profile instead of being left as device-dependent.
Worked around an issue affecting buggy fonts, where the location table offsets point past the end of the glyph table.
Support rendering intents for color conversion.
column-span: none by treating it as
Support custom list markers for PDF/UA.
Created official Prince Docker images.
Added the Segoe UI Symbol font as a fallback serif font on Windows.
Fixed issue affecting the init feature in some fonts for Indic text following punctuation characters.
Accept non-empty glyphs with zero contours, which are very rare but technically legal.
Fixed bug affecting new versions of the Baekmuk Batang font.
Fixed bugs affecting DOM attribute methods and namespaces, for example
Fixed issue where PNG images could fail to load if they contain large non-essential chunks.
Fixed bug affecting XInclude and external entities in XML documents loaded from standard input.
Added support for CSS variables in
@page rules and margin boxes.
@page rules to inherit from the document root element.
Extended the property
prince-pdf-tag-type to support the
Fixed an issue affecting Thai line-breaking support.
Fixed an issue that could affect loading XML documents from Windows UNC paths.
Support for WOFF2 fonts.
Support for subsetting for OpenType fonts with CFF outlines.
Support for the Indic2 OpenType shaping model needed for recent fonts such as Noto Serif Devanagari and Nirmala.
Support for CSS variables (aka custom properties).
Support for the CSS3
Support for the CSS3
Support for the
Support for fragmenting single-column/row flex containers across multiple pages.
-prince- as a vendor prefix for Prince-specific CSS
@-prince for at-rules like
Added an optional
new-window value to
target-counter() for the footnote counter to allow
multiple references to the same footnote.
Initial support for
values on the
height properties (does not
affect auto table layout yet).
Support for 2-value syntax for
Support for 3-value and 4-value syntax for
prince-pdf-script property to take URL values for
external script files.
Support for a new
prince-pdf-event-scripts property for adding
Support for equal gradient stops at offset 0.0 and 1.0.
Support for new
background-attachment: fixed bleed mechanism for
@page background into the bleed area.
Expanded values for
prince-pdf-tag-type and moved defaults to the
HTML style sheet.
Added CSS properties to specify alternate text and acronym expansion text for tagged PDF.
needed for PDF/UA-1.
Support for the HTML
main element by applying
display: block to it in
Support for an optional second argument to the
generated content to specify a minimum width.
Support for CSS and TrueType
font-weight values that aren't
multiples of 100.
SVG images can be reused without increasing PDF file size.
Improved support for SVG sizing, scaling, and aspect ratios to be more compliant with the specifications and interoperable with web browsers.
Support for SVGs without intrinsic width/height or aspect ratio.
Support for SVG filter inheritance using
Support for nested baseline-shift in SVG.
Support for SVG gradient
reflect using PostScript function based shading.
Support for spot colors in SVG and CSS gradients.
Support for loading hyphenation dictionaries from HTTP URLs.
Support for a fail-safe mechanism by adding new command line options
--fail-missing-glyphs and a new
Fixed some bugs with
auto orientations in some edge cases.
Fixed bug where page floats with
unless-fit that occur at the
end of a block may incorrectly overlap in-flow content.
make_flex_cross_items: none internal error affecting flex
Fixed bug affecting
list-style: none inside.
Fixed bug where the
word-break property breaks Arabic text.
Fixed issue where a font may not be found for italic Arabic.
Fixed bug affecting fonts with no English font family name.
Compute relative font-weight according to CSS2.
Do not artificially embolden or slant fonts if they are referenced from
@font-face rules that already claim they are bold or italic,
even if the font data itself does not.
Fixed bug where large floats that span multiple columns can trigger unpackable block errors.
Fixed bug where column floats are not placed at the very bottom of the column area in the presence of spanning floats.
Changed the behaviour of
line-height: normal to use font metrics
in order to more closely match browsers. Please see
our migration guide for details.
Use case-insensitive attribute value tests to support HTML 4 in the default style sheets.
prince-pdf-page-colorspace: auto to use the output
intent color space or the destination color space when color conversion is
Fixed issue where fixed heights were not respected for elements with unbalanced multi-column layouts.
Improved behaviour of prince-snap for column floats.
convert-colors option to be disabled for individual
elements by means of the
@page rules so that it
resets after each forced page break, allowing it to apply to individual named
Don't treat blocks with a specified fixed height as
page-break-inside: avoid by default.
Changed leaders so that they expand to fill the available space when used in shrink to fit contexts like floats and inline blocks.
Allowed the CSS
content property to override MathML and SVG
Don't generate empty
Lbl tags for lists with no marker content
in tagged PDF.
Draw text-underline below text instead of above and omit text-decoration from images and out of flow elements.
Avoid inserting unnecessary blank pages after large fixed height blocks that overflow the previous page.
Fixed issues affecting filters applied to SVG root elements in inline and external images.
feTile when filter sub-region has non-zero offset.
Fixed some other SVG conformance issues raised by resvg test suite.
Fixed issues affecting SVG dominant-baseline auto and use the correct font size for SVG baseline-shift super/sub.
Fixed bug affecting SVG gradients with transparency inside a CSS transform.
Improved placement and sizing of SVG images embedded via
Draw text decoration due to ancestors of SVG text elements.
Updated definition of default serif font-family for CJK languages.
Added the Takao fonts used for Japanese on Ubuntu to the definitions in
fonts.css for the default serif and sans-serif fonts.
Avoid breaking around a non-breaking space character even next to CJK text.
Workaround for an Acrobat issue where text in some fonts could include a trailing invalid glyph.
Workaround for a bug in MacOS Preview affecting OpenType CFF fonts using more than 255 glyphs.
Allow specifying a PDF output intent without a PDF profile and in the absence of color conversion.
Fixed issue where Prince demo stamp does not pass Adobe accessibility check.
See the release history for earlier versions of Prince.