Skip to content

Commit

Permalink
Fix AttributeError by renaming textRect and lastPoint to text_rect an…
Browse files Browse the repository at this point in the history
…d last_point
  • Loading branch information
kazunorimiura authored and julian-smith-artifex-com committed Feb 4, 2024
1 parent fc8e54b commit 0a6f26d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12866,7 +12866,7 @@ def appendv(self, pos, text, font=None, fontsize=11, language=None):
self.append(pos, c, font=font, fontsize=fontsize,
language=language)
pos.y += lheight
return self.textRect, self.lastPoint
return self.text_rect, self.last_point

def clean_rtl(self, text):
"""Revert the sequence of Latin text parts.
Expand Down

0 comments on commit 0a6f26d

Please sign in to comment.