Skip to content

Commit

Permalink
Fixing issue py-pdf#1223: pdf.font_style now behaves like pdf.set_font
Browse files Browse the repository at this point in the history
  • Loading branch information
smilerightnow committed Sep 1, 2024
1 parent de5fb1c commit e54583c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fpdf/fpdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2845,6 +2845,7 @@ def _start_local_context(
"text_mode",
"text_shaping",
"underline",
"_font_style",
):
setattr(self, key, value)
else:
Expand Down

0 comments on commit e54583c

Please sign in to comment.