> Also we need to have long text lines without spaces to be shortened
> with an ellipses,
> in the same way text_box does with :overflow => :ellipses when the
> line includes spaces.
> The problem is that e.g. long filenames simply overflow the bounding
> box on the right when they don't fit.
>
> Any help on this?
This issue with text_box sounds like a bug. Please file an issue on github.
There is no way to prevent a bounding box from advancing to the next
page. If you show me an example of what you're trying to do, there
might be other ways around it.
for this, I think that it should just truncate by the last 3 chars,
not worrying about complete words.
Maybe I'm misunderstanding your problem though. Please give me an
example that reproduces the problem.
>> There is no way to prevent a bounding box from advancing to the next
>> page. If you show me an example of what you're trying to do, there
>> might be other ways around it.
>
> Well, we have a fixed layout on each page of the pdf with various
> boxes that should simply not expand (or overflow to the next page)
> but should hide any vertically overflowing text, possibly also shorten
> it with an ellipses.
Well, this is what text_box is for. Is there a reason why it's not
doing what you need? (Beside the above mentioned bug)