Rails Riders, For those who like "prawning PDF docs to their RoR apps" : Text::Box has been patched to default the text-box height in stretchy boxes to the distance to the bottom of the page if no height is supplied (or if overflow is :expand). http://github.com/sandal/prawn/commit/51bc993aadcd928c08dab5ec4eb56201653151c9 Peace, --- Edmond Software Developer | Baobab Health Trust (http://www.baobabhealth.org/) | Malawi Cell: +265 999 465 137 | +265 881 234 717 *"Many people doubt open source software and probably don’t realize that there is an alternative… which is just as good.." -- Kevin Scannell* ---------- Forwarded message ---------- From: Brad Ediger <brad-sod+mMc99o6+XT7JhA+gdA@public.gmane.org> Date: 2010/8/19 Subject: [dev] RFC: Text::Box in stretchy bounding box uses margin_box for default height In an effort to fix tables inside spans [#142], I have pushed the following commit to master: http://github.com/sandal/prawn/commit/51bc993aadcd928c08dab5ec4eb56201653151c9 Previously, Text::Box would refuse to render inside a stretchy bounding box because the height to the "bottom" of the box was zero. I''ve patched this to default the text-box height in stretchy boxes to the distance to the bottom of the page if no height is supplied (or if overflow is :expand). This has not yet fixed the table problem, but it''s getting better. I''m generally pretty cavalier about pushing stuff that passes all of the specs, but I wanted to throw this out there for review in case there might be a corner case I''m missing. -be -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.