Repository navigation
v1.18.0
Highlights
- Shrink to fit: a page whose content sticks out past the right edge (a wide table
or image, a long URL,nowraptext, a Bootstrap.rowwithout a container) is laid out wider and drawn smaller,
as Chrome prints it, up to 1.5 times. It is on by default;ShrinkToFit = falsekeeps the 1.17.0 layout. An image
wider than the page now shrinks the page instead of being squeezed on its own. - Fallback fonts: characters none of the document's fonts has are drawn
with built-in fonts, as browsers use system fonts: Central European, Greek and Cyrillic letters with the bundled
Liberation fonts (no more?with the standard fonts), and arrows, check marks, stars, dingbats, math and box
drawing with PdfPecker Symbols, a DejaVu Sans subset. Documents that need no fallback come out byte-identical. - Positioning: absolutely positioned children of flex and grid containers (corner ribbons, sale badges) take no room
and are placed by their offsets, aposition: relativetable cell holds its positioned content, and outlines on
cells of a collapsed table are drawn. - Logical border properties (
border-inline,border-block-startand the rest,
and the logical radii), and logical margins, paddings and insets now followwriting-modetoo. - Fractions with
diagonal-fractionsorfont-feature-settings: "frac"are formed as in Chrome. - Fixes, all closer to Chrome: an empty clearfix
divand<br clear=all>clear floats;vertical-align: top,
middleandtext-topwork on smaller inline text; auto margins on inline-blocks count as 0; a flex or grid item
keeps its first and last child's margins; percentage columns that crowd out other columns give way and a cell's
max-widthcaps its column (with an ellipsis where asked); an image with a percentage width no longer widens a
table; a box shadow never adds a blank page;backdrop-filterworks at every box size; the default<hr>has
Chrome's lighter shading,<hr size>,colorandnoshadework, and a margin on a vertical inline-block no
longer counts twice. - About 10% faster on invoices, feature tours and reports than 1.17.0, with byte-identical output.
- Pages with content wider than the page area, clearfix divs, floats, tables with percentage columns or capped cells,
inline-blocks with auto margins and default<hr>rules look different from 1.17.0.
The manual for this version: https://pdfpecker.net/docs/v1.18.0/
Full Changelog: v1.17.0...v1.18.0