Skip to content

Commit

Permalink
Update fpdf/fonts.py
Browse files Browse the repository at this point in the history
Co-authored-by: Lucas Cimon <[email protected]>
  • Loading branch information
andersonhc and Lucas-C committed Aug 2, 2023
1 parent ac53867 commit f42ee3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fpdf/fonts.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def shaped_text_width(self, text, font_size_pt, text_shaping_parms):
# pylint: disable=no-member
def perform_harfbuzz_shaping(self, text, font_size_pt, text_shaping_parms):
"""
This method invokes Harfbuzz to performing text shaping of the input string
This method invokes Harfbuzz to perform text shaping of the input string
"""
if not hasattr(self, "hbfont"):
self.hbfont = hb.Font(hb.Face(hb.Blob.from_file_path(self.ttffile)))
Expand Down

0 comments on commit f42ee3e

Please sign in to comment.