From f91ae6d7869e9ba0371b654c74e7b5479098afd2 Mon Sep 17 00:00:00 2001 From: otrok7 <50595291+otrok7@users.noreply.github.com> Date: Sat, 14 Dec 2024 20:06:56 +0100 Subject: [PATCH] Fix for #219 --- bmlt-meeting-list.php | 2 +- public/class-bread-public.php | 4 ++-- readme.txt | 5 ++++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/bmlt-meeting-list.php b/bmlt-meeting-list.php index 3e41396..4f4dc2e 100644 --- a/bmlt-meeting-list.php +++ b/bmlt-meeting-list.php @@ -11,7 +11,7 @@ * Plugin Name: Bread * Plugin URI: https://bmlt.app * Description: Maintains and generates PDF Meeting Lists from BMLT. - * Version: 2.8.4 + * Version: 2.8.5 * Author: bmlt-enabled * Author URI: https://bmlt.app/ * License: GPL-2.0+ diff --git a/public/class-bread-public.php b/public/class-bread-public.php index d000026..75ac808 100644 --- a/public/class-bread-public.php +++ b/public/class-bread-public.php @@ -301,8 +301,8 @@ private function construct_init_options($default_font, $mode, $page_type_setting if ($default_font == 'arial' || $default_font == 'times' || $default_font == 'courier') { $mpdf_init_options = [ 'fontDir' => array( - __DIR__ . '/mpdf/vendor/mpdf/mpdf/ttfonts', - __DIR__ . '/fonts', + __DIR__ . '/../vendor/mpdf/mpdf/ttfonts', + __DIR__ . '/../fonts', ), 'tempDir' => $this->bread->temp_dir(), 'mode' => $mode, diff --git a/readme.txt b/readme.txt index 9415838..185c228 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Tags: meeting list, bmlt, narcotics anonymous, na Requires PHP: 8.1 Requires at least: 6.2 Tested up to: 6.7.1 -Stable tag: 2.8.4 +Stable tag: 2.8.5 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -55,6 +55,9 @@ Follow all these steps, keep in mind that once you start using bread, it's not g == Changelog == += 2.8.5 = +* Bug fixes for Arial, Times fonts. + = 2.8.4 = * Bug fixes for ASM Meeting Lists