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

Cross framework (WinForms/WPF/PDF/Metro/Mono/etc.), Multipurpose (UI Controls / Image generation / PDF generation / etc.), 100% managed (C#), High performance HTML Rendering library.

Results 143 HTML-Renderer issues
Sort by recently updated
recently updated
newest added

I am rendering a very simple invoice and it is cutting off HTML in the middle of the page when I set page top and bottom margins. When the margin...

bug
PDF

This is the first run ![image](https://user-images.githubusercontent.com/44079554/147023349-3994de66-d7f2-4248-afa0-955bc2c27279.png) This is the second ![image](https://user-images.githubusercontent.com/44079554/147023456-375c9d3e-0437-4529-bf1c-80469d1c0ace.png) My command: TheArtOfDev.HtmlRenderer.PdfSharp.PdfGenerator.GeneratePdf("* { line-height:3!important; }asd aaaaaaaaaasda aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaasdddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd", config); Thanks for the help

bug

I generate a PdfDocument with ```TheArtOfDev.HtmlRenderer.PdfSharp.PdfGenerator.GeneratePdf(html, PdfSharp.PageSize.Letter)```, and the html has contents, but the PdfDocument is empty and cause a 'System.InvalidOperationException' when i save the document by ```pdf.Save(memoryStream)```

bug
CSS
PDF

Can you tell me how to support Chinese ? ` var htmlStr = " Support Chinese,支持中文 PDF. "; PdfDocument pdf = PdfGenerator.GeneratePdf(htmlStr, PageSize.A4); pdf.save("zh.pdf"); `

bug
PDF

The line https://github.com/ArthurHub/HTML-Renderer/blob/master/Source/HtmlRenderer.WPF/Adapters/FontFamilyAdapter.cs#L57 throws sometimes exception ArgumentException. More details and workaround http://code.logos.com/blog/2012/11/how-to-crash-many-wpf-applications-wpf-4-edition.html

bug

Add support .net Standard 2.0.

So, I've been spending a couple days beating my head over this library, trying to get simple HTML to render correctly. b tags don't seem to work sometimes, there are...

I added .net 5 projects for HtmlRenderer and HtmlRender.WPF

AvaloniaUI become more and more popular with same api as wpf. Port for AvaloniaUI will be good.

enhancement