Skip to content

Fix font measurement with font families containing special characters#8391

Merged
davepagurek merged 2 commits intodev-2.0from
fix/text-special-chars
Jan 9, 2026
Merged

Fix font measurement with font families containing special characters#8391
davepagurek merged 2 commits intodev-2.0from
fix/text-special-chars

Conversation

@davepagurek
Copy link
Contributor

Resolves #8390

Changes:

  • Adds quotes around the text of a font family if it contains any non ascii characters
  • Added a visual test to confirm

Screenshots of the change:

image

Live: https://editor.p5js.org/davepagurek/sketches/YS-VQWObn

PR Checklist

@davepagurek davepagurek merged commit 1241837 into dev-2.0 Jan 9, 2026
5 checks passed
@davepagurek davepagurek deleted the fix/text-special-chars branch January 9, 2026 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant