forked from prawnpdf/prawn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't restore y-position on stretchy bboxes
When starting a bounding box at the bottom of a page (for example, using span starting at the end of a page), drawing some text (advancing to the next page), and then closing out the bbox / span, Prawn would restore the original (bottom) y-position, thus stretching the bbox to the height of the page. This commit resolves that issue. Closes prawnpdf#255.
- Loading branch information
1 parent
2ff910a
commit 40723eb
Showing
2 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters