processing / processing/p5.js-web-editor
textFont(); not working in p5.js v2
Open
Nobody has claimed this yet.
Awaiting Maintainer Approval
Bug
- Dominant language
- JavaScript
- Stars
- 1.7k
- Forks
- 1.7k
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 8
Description
p5.js version
2.3.2
What is your operating system?
Mac OS
Web browser and version
151.0.7922.174
Actual Behavior
textFont(); does not work.
When switch to p5.js version 1 it works perfectly but in 2 is doesn't
Expected Behavior
Steps to reproduce
Steps:
Snippet:
// Paste your code here :)
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 in the p5.js Web Editor with p5.js 2.3.2 on the reported browser and compare it with version 1. The report names no source file, test, or usable snippet, so identify the textFont() execution path and add a minimal reproduction before determining the expected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100