Welcome Guest, Not a member yet? Register   Sign In
Can't set font using dompdf plugin
#1

[eluser]Unknown[/eluser]
Hi there,

I'm using the dompdf plugin and everything is working great apart from the fact that the fonts I'm setting in the css aren't being picked up.

I'm trying to set the font as Helvetica (which is included in the dompdf setup) using the following code:

Code:
<div style="font-family:Helvetica,sans-serif;">Hello</div>

...but the PDF is still rendering everything in Times New Roman. I've noticed this issue has been brought up before in various forums but I can't really find an answer anywhere.

If anyone needs me to post specific code I'm using let me know.

Thanks in advance.




Theme © iAndrew 2016 - Forum software by © MyBB