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

Request for word-break feature #9

Open
abeverley opened this issue Jan 26, 2021 · 2 comments
Open

Request for word-break feature #9

abeverley opened this issue Jan 26, 2021 · 2 comments

Comments

@abeverley
Copy link

It would be beneficial to have a word-break feature, to define what happens when a word is too long to fit on a page. At the moment it doesn't get printed and the whole word is returned when calling apply(). It would be nice to have the option to either truncate it or break it over multiple lines.

I've taken a quick look at the code and see that it wouldn't be a quick thing to fix, although I'd be happy to sponsor such a change if you were interested in implementing it.

My particular use-case was looping a large text block, printing it on a page. I ended up with an infinite loop as no text was ever written. For the record, these are the (temporary) fixes I've used for the time being: ctrlo/CtrlO-PDF@a77f11d and ctrlo/CtrlO-PDF@fb49fde

@jhannah
Copy link
Owner

jhannah commented Jan 29, 2021

Hey @abeverley sounds like a nice feature. I haven't used this software in years. If you find someone to submit a patch I'd happily merge, push it to PAUSE.

@abeverley
Copy link
Author

Thanks @jhannah I'll see if I can get someone to develop it.

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