Brian Sweeney

Results 826 comments of Brian Sweeney

The font path should be relative to the script using Dompdf. You last post used `fonts/MontserratAlternates-Italic.ttf` but I think the original path (`{{ storage_path('fonts/MontserratAlternates-Italic.ttf') }}`) is probably better? I couldn't...

The `font_dir` option does not tell Dompdf where to retrieve fonts. That option indicates where the fonts that have been installed by Dompdf are stored. When referencing an external font...

Do you have a sample of what you're looking to do?

Dompdf supports standard PDF functionality but not anything "extra" required to be compliant with PDF/A or PDF/UA. I haven't looked at the relevant specifications to determine what changes would need...

Local JPG with correct paths should be the easiest to figure since that scenario should not require any additional processing. For case 1 & 3, the trick is ensuring the...

> About they porting the code to a modern PHP version, absolutely, it was the first thing I suggested when I took this position, but they have other priorities, it's...

Not off the top of my head. It's been a while since I've run in an environment this old. Reviewing history and PNG should be supported, so long as the...

If this were a dynamically-generated image over HTTP (e.g., http://example.com/image.jpg) it would be a Dompdf caching issue. In that scenario Dompdf reads the image once then uses the cached value...

For option 1 I don't have any ideas at the moment. I'd need to see a sample of the actual HTML so I could try to understand what's happening there....