ArthurHub / ArthurHub/HTML-Renderer

Converted pdf Different than original HTML format

Open
#174 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
1.4k
Forks
550
Avg merge
14d 9h
Merged PRs (30d)
1

Description

It was amazing to use with HtmlRenderer.PdfSharp 1.5.0.6 to resolve my requirements on the solution. This is a great solution for generating HTML to pdf files other than that I used before. My current solution is very slow when it's HTML file size goes to high. When I going through the internet I found your amazing solution.
But there were small issues that I couldn't figure out with your solution. once I going through your documentation and tested in my local machine. There was an issue with NuGet packages installing but fortunately, I found your release note source code and based on that I prepared a console application for my solution.
In order to my sample web page, I tested 3ways of the technical side on my local machine.
1) My existing solutions.
2) Installing NuGet Packages From here=> [Link](https://www.nuget.org/packages/HtmlRenderer.PdfSharp)
3) Downloaded the release note source code and prepared a console application From here=> [Link](https://archive.codeplex.com/?p=htmlrenderer)

If you are able to access this drive folder please help me to resolve the problems on this. I attached the sample web page, converted pdf my current solution, By NuGet package and created Console application by your release note.
Please refer to the attached files in this drive folder. I don't have any idea about outputs that are different than the original HTML template. I listed some issues as follows.

- The NuGet package returns links are empty cells.
- The images not aligned correctly inside the table cell.

Please refer this **[Drive](https://drive.google.com/drive/folders/1-4EzrZy8gdOhBSAbVjCIRQprdI0lYXBK?usp=sharing)**. The named file description as follows.

- **SampleWebPage.htm**: I used this HTML file.
- **HtmlRender.pdf**: Converted file using only the NuGet package installation process.
- **ReleasedNote_HtmlRender.pdf**: Converted file using the release note source code.
- **MyExistingSolutions.pdf**: Converted file from my existing application.

Thank you

[HtmlRender.pdf](https://github.com/user-attachments/files/24033984/HtmlRender.pdf)
[MyExistingSolutions.pdf](https://github.com/user-attachments/files/24033981/MyExistingSolutions.pdf)
[ReleasedNote_HtmlRender.pdf](https://github.com/user-attachments/files/24033982/ReleasedNote_HtmlRender.pdf)
[SampleWebPage.htm](https://github.com/user-attachments/files/24033983/SampleWebPage.htm)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.