I’m having trouble with the styling of a PDF I generate from HTML.
When I save the HTML as a file and open it in a browser, it looks good . On the other hand, The PDF that I generate from this HTML string doesn’t look good (mostly in terms of fonts, padding, alignment etc.).
I believe that I’m not using any special styling in my HTML page.
Where can be a good starting point to find out what’s causing my PDF not to look good?