Skip to content
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

Text in multiple rectangles #6

Open
veraee opened this issue Dec 18, 2021 · 1 comment
Open

Text in multiple rectangles #6

veraee opened this issue Dec 18, 2021 · 1 comment

Comments

@veraee
Copy link

veraee commented Dec 18, 2021

Is there a way to put text in several rectangles, text not fitting into the first rectangle going to the next rectangle (etc.), as used in paper newspapers.

displayFormattedText
has only one rectangle as parameter, and AFAIK (haskell newbie!) the implementation simply ignores the text rest.

If not, I will try to add a function with rectangle array as parameter.

@hsyl20
Copy link
Owner

hsyl20 commented Dec 20, 2021

There isn't afaict. But I've just looked at displayFormattedText implementation and it's using fillContainer which returns the left-overs boxes (third element of the return tuple), so it should be possible to continue in another container.

PR welcome :-)

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

No branches or pull requests

2 participants