ArthurHub / ArthurHub/HTML-Renderer

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

Open
#57 0 comments 0 reactions 0 assignees View on GitHub
bug PDF
Dominant language
C#
Stars
1.4k
Forks
550
Avg merge
14d 9h
Merged PRs (30d)
1

Description

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)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the overflow described in NoTextWrapping.txt, focusing on text outside label, span, or p elements and the PDF page width. Check whether the renderer honors CSS wrapping or breaking for this text. Done means long uncontained text wraps onto subsequent lines instead of being cut off in the generated PDF.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, css
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.