HTML-Renderer icon indicating copy to clipboard operation
HTML-Renderer copied to clipboard

Generated PDF shows up as blank only in Acrobat

Open cameronbroe opened this issue 7 years ago • 4 comments

Hi, I have an application utilizing the HtmlRenderer.PdfSharp library to generate PDFs and send them by email. For some reason, these PDFs are showing up as blank, but only in Adobe Acrobat. They look fine in Gmail's Preview, Google Chrome, Firefox, and FoxIt Reader. Any ideas where I should be looking to fix this issue?

cameronbroe avatar Oct 16 '17 19:10 cameronbroe

@cameronbroe there must be some empty tags. I had this issue as well. I fixed it by adding &nbsp; in those empty tags. just like this: <td>&nbsp;</td>.

hippasus avatar Aug 23 '18 03:08 hippasus

but i have very plain html :

Hello World for this html also its giving blank pdf.

monalpradipshinde avatar Jun 26 '20 06:06 monalpradipshinde

Hello, I have the same problem. Do you acomplish resolve this problem? I would greatly appreciate a solution for this problem Thank you

griu72 avatar Nov 03 '20 10:11 griu72

Hello, I have the same problem. Do you acomplish resolve this problem? I would greatly appreciate a solution for this problem Thank you

check my reply by adding   to empty tags, it works all the time for me.

hippasus avatar Nov 03 '20 16:11 hippasus