From e54583c4038c535128d876c5afc7f5ac8efda349 Mon Sep 17 00:00:00 2001 From: smilerightnow Date: Sun, 1 Sep 2024 18:05:04 +0100 Subject: [PATCH] Fixing issue #1223: pdf.font_style now behaves like pdf.set_font --- fpdf/fpdf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/fpdf/fpdf.py b/fpdf/fpdf.py index 525b2e869..9c169b79a 100644 --- a/fpdf/fpdf.py +++ b/fpdf/fpdf.py @@ -2845,6 +2845,7 @@ def _start_local_context( "text_mode", "text_shaping", "underline", + "_font_style", ): setattr(self, key, value) else: