ArthurHub / ArthurHub/HTML-Renderer
Incorrect Line Spacing on PDF Conversion
- 主要語言
- C#
- 星號
- 1.4k
- 分支
- 550
- 平均合併
- 14 天 9 小時
- 30 天內合併 PR
- 1
描述
Hey guys,
I've generated a PDF document with line-height values on a few elements of the original HTML source. I'm also using ckEditor (http://ckeditor.com/) to generate the HTML mark up which will be used for the PDF generation. However, the result of the expected and actual outcome are different. The generated PDF seems to have a much large line-height/line spacing compared to the original. Is anyone having the same problem?
Regards,
Adhy
_ _ _ _ _ _ _ _
Attached is the HTML markup I'm attempting to convert to a PDF document.
[LineSpacing_Test.txt](https://github.com/ArthurHub/HTML-Renderer/files/626027/LineSpacing_Test.txt)
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
首先,使用附帶的 LineSpacing_Test.txt 標記重現 PDF 轉換,並將其行距與來源 HTML 進行比較。追蹤 renderer 如何處理回報的 line-height 值,然後確認產生的 PDF 在所有受影響的元素上都符合預期的間距。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- csharp
- 領域
- computer-graphics
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100