text() should handle single words wider than bounding box
Open
Nobody has claimed this yet.
Area:Typography
Bug
- Dominant language
- JavaScript
- Stars
- 24k
- Forks
- 3.8k
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 25
Description

If there's a single word that doesn't fit within the bounding box, it still shows up.
But it's clearly limited by the function.

"Text that does not fit completely within the rectangle specified will not be drawn to the screen. "
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with p5.js text() and a single word wider than the bounding box, then inspect the text() implementation and its existing tests. Done means oversized words follow the documented behavior that text outside the specified rectangle is not drawn.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100