ArthurHub / ArthurHub/HTML-Renderer

Text not within an element (p, span, label, etc) overflows from PDF if too long.

未關閉
#57 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
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

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

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