Replies: 2 comments 9 replies
-
Are you performing an in-place upgrade, or did you remove the previous installation first? If you are just overwriting the existing installation, you should start by resetting the font directory (remove all files not bundled with Dompdf). The problem displaying with accented characters is probably related to the overall font issues. Dompdf implemented tighter resource restrictions with 0.8.6. If your stylesheets are retrieved through the local filesystem you'll need to make sure they are under the path specified for the chroot option. |
Beta Was this translation helpful? Give feedback.
-
Thank you Brian. The So all my questions are solved now. I am nos sure how to finish this because the solution is split in various answers. I gave thumbs up emojis and now close this as solved. |
Beta Was this translation helpful? Give feedback.
-
Hi.
I am upgrading from 0.8.5 to 2.0.4 and found some issues. The first one to fix is that the display font in browser is working but not in the rendered PDF.
I am using:
body { margin: 30px; font-family: Arial, Helvetica, sans-serif;}
and then added Deja Vu Sans
body { margin: 30px; font-family: DejaVu Sans, Arial, Helvetica, sans-serif;}
The result is the same in the PDF. A serif font is shown instead a Sans Serif
Images:
PDF:
Browser:
The other issues I found until now are:
The accented characters are not shown in the PDF (they are in the browser) Maybe that is the second step. For example Área in the 4th line in both images
The CSS is not loading in the PDF. Third step No colors for the headings
Any idea is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions