ArthurHub / ArthurHub/HTML-Renderer

Converted pdf Different than original HTML format

未關閉
#174 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
C#
星號
1.4k
分支
550
平均合併
14 天 9 小時
30 天內合併 PR
1

描述

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)

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

首先使用 NuGet 套件重現從 SampleWebPage.htm 進行的轉換,並將 HtmlRender.pdf 與 ReleasedNote_HtmlRender.pdf 及 MyExistingSolutions.pdf 進行比較。調查連結變成空白儲存格以及圖片在表格儲存格中錯位的原因;當轉換後的輸出保留預期的連結和圖片對齊方式時,即視為完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
csharp
領域
computer-graphics
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
28/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。