Skip to content

Commit

Permalink
#138 broken visual signature
Browse files Browse the repository at this point in the history
  • Loading branch information
m32 committed Nov 7, 2022
1 parent 375265c commit f919454
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion endesive/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

__author__ = 'Grzegorz Makarewicz'
__license__ = 'MIT'
__version__ = '2.0.11'
__version__ = '2.0.12'

__all__ = [__author__, __license__, __version__]
2 changes: 1 addition & 1 deletion endesive/pdf/PyPDF2_annotate/annotations/signature.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ def text_box(self, text, ttf_font, x, y, width, height, font_size=8, wrap_text=T
fontname = ttf_font
else:
font = ttf_font
fontname = ttf_font['name']
fontname = font.font["name"]
font.set_size(font_size)
font.set_text(text)

Expand Down

0 comments on commit f919454

Please sign in to comment.