ArthurHub / ArthurHub/HTML-Renderer

Converted pdf Different than original HTML format

Aperta
#174 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
C#
Stelle
1.4k
Fork
550
Merge medio
14g 9h
PR unite (30g)
1

Descrizione

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)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
csharp
Ambito
computer-graphics
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
28/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.