prawn icon indicating copy to clipboard operation
prawn copied to clipboard

Add option `:indented_paragraphs` to `formatted_text_box`

Open paulmenzel opened this issue 9 years ago • 1 comments

Is there a reason that the option :indented_paragraphs is not supported by formatted_text_box besides nobody implemented it yet?

paulmenzel avatar Feb 27 '15 17:02 paulmenzel

I'm fairly sure it's only supported at the text() call level (so it doesn't work for text_box either). There isn't a philosophical reason why we'd want to prevent indented paragraphs using these lower level calls, so you can look into a patch. If it wasn't too complicated, we'd consider merging a change for this.

That said, there really needs to be some major rethinking into the text APIs. The fact that we have so many different entry point is a problem that needs solving, and I'm hesitant to introduce too many changes until we do.

practicingruby avatar Feb 27 '15 18:02 practicingruby