wicked_pdf
wicked_pdf copied to clipboard
Bad render template with render_from_string.
Hello im having a bad render when a try to equal old PDF, now i have a API system, my code its this

and that render this pdf in this way

wel, now how should really do

im in linux ubuntu 20.04 with the lastest version of wicked
Is the issue that you have extra white padding around the border? Try setting padding to zero as well as margin, both in the render_to_string call, and in your CSS. Your fonts also appear to be a little smaller. Is that because one is from a linux server, and one is local? Fonts that are only referenced by name may have differences from your computer and the server. If that is the issue, embed the font as a TTF or WOFF.