For those who like “prawning PDF docs to their RoR apps” :
Text::Box has been patched to default the text-box height in stretchy
to the distance to the bottom of the page if no height is supplied (or
overflow is :expand).
Software Developer | Baobab Health Trust (http://www.baobabhealth.org/)
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 E. [email protected]
Subject: [dev] RFC: Text::Box in stretchy bounding box uses margin_box
In an effort to fix tables inside spans [#142], I have pushed the
following commit to master:
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.