Content-Length: 350764 | pFad | https://github.com/dompdf/dompdf/pull/3655

BB Rendering improvements by bsweeney · Pull Request #3655 · dompdf/dompdf · GitHub
Skip to content

Rendering improvements - #3655

Merged
bsweeney merged 5 commits into
masterfrom
rendering-improvements
Sep 13, 2025
Merged

Rendering improvements#3655
bsweeney merged 5 commits into
masterfrom
rendering-improvements

Conversation

@bsweeney

@bsweeney bsweeney commented Sep 1, 2025

Copy link
Copy Markdown
Member
  • Improves column width calculation for tables with fixed layout
  • Uses resampling instead of scaling for background images
  • Fully supports alpha list numbering
  • Fixes potential loss of space between text nodes during reflow
  • Fixes counter resolution when contained in elements with a content-defined width

- Only use the fixed table layout algorithm if the table has a width.
- Calculate column widths using only the first row's cells.

see https://www.w3.org/TR/CSS2/tables.html#fixed-table-layout

fixes #2355
fixes #1432
The quality of the results from imagescale vary depending on the image type and scaling mode. imagecopyresampled appears to produce more consistent results.

fixes #3496
Before this change Dompdf would only resolve content for in-flow children of auto-width (content-defined width) parents. Because content resolution also resolves counters this was resulting in incorrect counter resolution for out-of-flow elements (e.g. position: absolute) inside auto-width parents.

fixes #3611
@bsweeney
bsweeney force-pushed the rendering-improvements branch from fabfdf1 to 1d37671 Compare September 13, 2025 19:04
@bsweeney
bsweeney merged commit cbe7db0 into master Sep 13, 2025
35 checks passed
@bsweeney
bsweeney deleted the rendering-improvements branch September 13, 2025 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/dompdf/dompdf/pull/3655

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy