Skip to content

[2.x] Text layout improvements #7712

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 of 19 tasks
dhowe opened this issue Apr 9, 2025 · 1 comment
Open
1 of 19 tasks

[2.x] Text layout improvements #7712

dhowe opened this issue Apr 9, 2025 · 1 comment

Comments

@dhowe
Copy link
Contributor

dhowe commented Apr 9, 2025

Increasing access

Increases readability and text aesthetics over more languages and charsets

Most appropriate sub-area of p5.js?

  • Accessibility
  • Color
  • Core/Environment/Rendering
  • Data
  • DOM
  • Events
  • Image
  • IO
  • Math
  • Typography
  • Utilities
  • WebGL
  • Build process
  • Unit testing
  • Internationalization
  • Friendly errors
  • Other (specify if possible)

Feature enhancement details

  • Support JUSTIFIED as horizontal alignment argument (prob via standard dynamic programming algorithm)
  • Support PRETTY and/or BALANCE as arguments to textWrap() as described here
@dhowe dhowe changed the title [2.x] Typography improvements [2.x] Text layout improvements Apr 9, 2025
@ksen0 ksen0 added this to the 2.x Anytime milestone Apr 16, 2025
@ksen0 ksen0 moved this to Open for Discussion in p5.js 2.x 🌱🌳 Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Open for Discussion
Development

No branches or pull requests

3 participants
@dhowe @ksen0 and others