ArthurHub / ArthurHub/HTML-Renderer
Text not within an element (p, span, label, etc) overflows from PDF if too long.
未关闭
bug
PDF
- 主要语言
- C#
- 星标
- 1.4k
- 派生
- 550
- 平均合并
- 14 天 9 小时
- 30 天内合并 PR
- 1
描述
Hey all,
I've generated a PDF document where text is not contained within an element tag (label, span, p, etc). If this text is too large and exceeds the max width of the PDF page, it cuts off and does not wrap to break to the next line. Am I missing a CSS property to allow this to wrap/break properly?
Regards,
Adhy
- - - - - - - - - -
[NoTextWrapping.txt](https://github.com/ArthurHub/HTML-Renderer/files/626301/NoTextWrapping.txt)
贡献指南
这个仓库没有索引到贡献指南
调研方向
首先复现 NoTextWrapping.txt 中描述的溢出问题,重点关注位于 label、span 或 p 元素之外的文本以及 PDF 页面宽度。检查 renderer 是否对这段文本遵循 CSS 换行或断行规则。完成标准是:长的未包含文本在生成的 PDF 中换到后续行,而不是被截断。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- csharp, css
- 领域
- computer-graphics
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100