Brian Sweeney
Brian Sweeney
I'm at a bit of a loss, then. If I get a chance I'll take a closer look at the PDF. Is your link to the sample output using font...
The issue shouldn't be related to whether or not you use Composer. The release download should have everything you need. (Also, it's not a stupid question at all!)
Could this be related to issue #1002?
Probably not the issue then. Just came across that and wanted to confirm.
Looks like calling both stream() and output() on the same document can cause problems when using the CPDF backend. Have you tried using just one or the other?
@duong841992 I think your problem is different. Dompdf does not support CJK text in a default install. Have you loaded a font that supports your characters?
As for this particular issue, I'm not sure what the problem is with the original font since it's no longer available. However, I tested different DejaVu families and it appears...
You'll need a CJK font that supports Japanese characters. I have a font on my site, you can see it in use by rendering the following HTML: ``` @font-face {...
Check the path to your font file. You're probably using `$dompdf::loadHtml()` and so the path will be relative to the running script (not the view). You may need to adjust...
Official dimensions of a4 are 8.27in x 11.69in, which actually comes to 595.44pt x 841.68pt (at the standard PDF resolution of 72 PPI) which, oddly enough, does not match up...