Brian Sweeney
Brian Sweeney
> It seems the tab character has no width with the built-in fonts. With the DejaVu fonts it has a width, but renders as a box. I stand corrected, yes...
The rendering of this is significantly improved with #2762 though the changes there are not yet ready for release.
Have you reviewed relevant previous issues #1549 and #2175? Common source seems to be an invalid PHP configuration (e.g., multiple loaded DOM extensions).
The issue is the following styling: ``` p { page-break-after: always; } ``` What's happening is that when rendering the header the page is split after the first P element....
I'm going to leave this open for now so we take a look and improve handling of this scenario.
What version of Dompdf are you using? Can you provide a sample of your HTML + CSS?
That is odd. Is this is all browsers or just in some? Can you provide samples of one streamed and one saved PDF?
Are you rendering more than one PDF in a loop? There have been reported issues when trying to reuse the library in such a way.
I can definitely see a difference between the two PDFs. The streamed version has extra objects. Now it's just a matter of figuring out where those come from.
Interestingly, when I open in Edge it looks fine. Perhaps an encoding or internal formatting issue that's being fixed by some readers. I'll have to investigate more.