Most appropriate sub-area of p5.js?
p5.js version
1.11.11
Web browser and version
Chrome 143.0.7499.193
Operating system
MacOSX 13.6.5
Steps to reproduce this
Steps:
- Create
text() with text containing tabs \t
- Give textbox a maxWidth and maxHeight
- Tabs are stripped from text
Snippet:
function setup() {
createCanvas(windowWidth, windowHeight)
}
function draw() {
background(0)
fill(255)
let txt = 'here is \n\tsome text'
textSize(50)
text(txt, 0, 0) // has tabs
// text(txt, 0, 0, width, height) // removes tabs
}
Most appropriate sub-area of p5.js?
p5.js version
1.11.11
Web browser and version
Chrome 143.0.7499.193
Operating system
MacOSX 13.6.5
Steps to reproduce this
Steps:
text()with text containing tabs\tSnippet: