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 f42ee3e commit 64d5481
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 @@ -258,7 +258,7 @@ def shape_text(self, text, font_size_pt, text_shaping_parms):
of the glyphs on the subset and map input characters to the cluster codes
"""
if len(text) == 0:
return zip([], [])
return []
glyph_infos, glyph_positions = self.perform_harfbuzz_shaping(
text, font_size_pt, text_shaping_parms
)
Expand Down

0 comments on commit 64d5481

Please sign in to comment.