From e14793a3e98102516a271e81cb89ee4baa861690 Mon Sep 17 00:00:00 2001 From: Danny Gershman Date: Sun, 19 Aug 2018 23:56:05 -0400 Subject: [PATCH] image stretchiness bug fix #25 --- bmlt-meeting-list.php | 4 ++-- readme.txt | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/bmlt-meeting-list.php b/bmlt-meeting-list.php index 10cd72e..4afbf5f 100644 --- a/bmlt-meeting-list.php +++ b/bmlt-meeting-list.php @@ -568,7 +568,7 @@ function bmlt_meeting_list($atts = null, $content = null) { } if ( $this->options['page_fold'] == 'half' && $this->options['page_size'] == '5inch' ) { - $page_type_settings = ['format' => array(203.2,279.4), 'margin_footer' => 5]; + $page_type_settings = ['format' => array(197.2,279.4), 'margin_footer' => 5]; } elseif ( $this->options['page_fold'] == 'half' && $this->options['page_size'] == 'A5' ) { $page_type_settings = ['format' => 'A5', 'margin_footer' => 5]; } elseif ( $this->options['page_size'] . '-' .$this->options['page_orientation'] == 'ledger-L' ) { @@ -1244,7 +1244,7 @@ function bmlt_meeting_list($atts = null, $content = null) { if ( $this->options['page_size'] == '5inch' ) { $this->mpdftmp=new mPDF([ 'mode' => $mode, - 'format' => array(203.2,279.4), + 'format' => array(197.2,279.4), 'default_font_size' => '', 'margin_left' => 0, 'margin_right' => 0, diff --git a/readme.txt b/readme.txt index 40ed6dd..4c4d87b 100644 --- a/readme.txt +++ b/readme.txt @@ -55,8 +55,10 @@ Follow all these steps, keep in mind that once you start using bread, it's not g == Changelog == = 1.5.2 = +* Upgraded to mPDF 7.1.4 * Fixed a bug with the Recurse Service Bodies Checkbox * Fixed a bug with PDF Protection for Half-Fold Page Layouts +* Fixed image stetchiness on Half-Fold w/ Letter Page Layouts = 1.5.1 = * Fixing faulty version number