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)
贡献指南
这个仓库没有索引到贡献指南
调研方向
Start by reproducing the PDF conversion with the attached LineSpacing_Test.txt markup and compare its line spacing with the source HTML. Trace how the renderer handles the reported line-height values, then verify that the generated PDF matches the expected spacing across the affected elements.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- csharp
- 领域
- computer-graphics
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100