Skip to content

Automatic text wrapping #688

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

Closed
mbostock opened this issue Jan 19, 2022 · 0 comments · Fixed by #699
Closed

Automatic text wrapping #688

mbostock opened this issue Jan 19, 2022 · 0 comments · Fixed by #699
Labels
enhancement New feature or request

Comments

@mbostock
Copy link
Member

Now that we support multiline text, what if we had a lineWidth option that wrapped text automatically to produce multiple lines? We could a simple lookup table of character widths (ref. Gregor Aisch) or we could assume monospaced text.

@mbostock mbostock added the enhancement New feature or request label Jan 19, 2022
@mbostock mbostock mentioned this issue Jan 22, 2022
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant