Brian Sweeney

Results 826 comments of Brian Sweeney

Who would write such crazy CSS ... oh. Ha ha. Sorry, yes. The page break styling does exactly what it sounds like. After every `p` element a new page is...

You can try disabling HTML5 parsing for versions prior to 2.0.0. Though I wouldn't recommend that as a long-term solution. We just released Dompdf 2.0.0 that utilizes masterminds/html5-php. You might...

An implementation note, currently text that is not displayed (e.g. if overflow is hidden) is still present in the document. To implement this feature we would need to actually cut...

This is a known bug, though I don't think it's been recorded yet (at least, I didn't see a relevant issue. I think you can work around the issue by...

I got nothin' ... I'll put in the bucket for development in the next release.

FYI nobr and whitespace: no-wrap should both work with the most recent release (1.2.1 as of this comment).

Any relevant errors in the PHP error log?

Dompdf itself doesn't produce 404 errors. Could be that an exception is thrown and the exception handler in laravel returns a 404. If you just return the HTML instead of...

Dompdf itself does not, though depending on the size/complexity of your document and your system configuration memory or CPU time limits may be hit.

That shouldn't produce an error by Dompdf. If a font file isn't found Dompdf will instead fall back to a font it is able to load. Also, just an FYI,...