~ireas/public-inbox

genpdf-rs: fix: use paper_size field when rendering additional pages v1 APPLIED

Scott Steele
Scott Steele: 1
 fix: use paper_size field when rendering additional pages

 1 files changed, 1 insertions(+), 1 deletions(-)
#322992 archlinux-msrv.yml success
#322993 archlinux.yml success
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~ireas/public-inbox/patches/14345/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH genpdf-rs] fix: use paper_size field when rendering additional pages Export this patch

Scott Steele
Note: My first time trying to contribute to a repo using this method.
Hopefully I didn't break the text formatting in a way that makes it
difficult to incorporate.

The following changes since commit 0d8e5177b9603c92c311291c0e66f846328e6a60:

 Keep track of string length changes during wrapping (2020-10-18
23:30:21 +0200)

are available in the Git repository at:

 https://github.com/scooter-dangle/genpdf-rs.git fix-addl-page-size

for you to fetch changes up to 5fe755eefdea97fabc87fcbcd8e6d4ce5a00245c:

 fix: use paper_size field when rendering additional pages
(2020-10-18 19:56:21 -0400)

----------------------------------------------------------------
Scott Steele (1):
     fix: use paper_size field when rendering additional pages

src/lib.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib.rs b/src/lib.rs
index 588909e..df12152 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -623,7 +623,7 @@ impl Document {
                        error::ErrorKind::PageSizeExceeded,
                    ));
                }
                renderer.add_page(PaperSize::A4);
                renderer.add_page(self.paper_size);
            } else {
                break;
            }
builds.sr.ht
genpdf-rs/patches: SUCCESS in 5m6s

[fix: use paper_size field when rendering additional pages][0] from [Scott Steele][1]

[0]: https://lists.sr.ht/~ireas/public-inbox/patches/14345
[1]: mailto:scottlsteele@gmail.com

✓ #322992 SUCCESS genpdf-rs/patches/archlinux-msrv.yml https://builds.sr.ht/~ireas/job/322992
✓ #322993 SUCCESS genpdf-rs/patches/archlinux.yml      https://builds.sr.ht/~ireas/job/322993
Thanks for the patch!  Looks good.  I plan to release a new minor
version this week.  Let me know if you need an earlier release of this
bug fix.

Merged into master:

To git.sr.ht:~ireas/genpdf-rs
   831a5ac..da11d39  master -> master