ArthurHub / ArthurHub/HTML-Renderer

Converted pdf Different than original HTML format

Ouverte
#174 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug
Langage dominant
C#
Étoiles
1.4k
Forks
550
Merge moyen
14 j 9 h
PR mergées (30 j)
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)

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Start by reproducing the conversion from SampleWebPage.htm using the NuGet package and compare HtmlRender.pdf with ReleasedNote_HtmlRender.pdf and MyExistingSolutions.pdf. Investigate why links become empty cells and images are misaligned in table cells; done means the converted output preserves the expected links and image alignment.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
csharp
Domaine
computer-graphics
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
28/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.