Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
fix typo/bug in Face.get_best_name_string
  • Loading branch information
josh-hadley committed Jan 15, 2020
1 parent e68b21e commit 308486b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion freetype/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1599,7 +1599,7 @@ def get_best_name_string(self, nameID, default_string='', preferred_order=None):

if best_key[1:3] == (3, 1) or best_key[1] == 0:
enc = "utf-16-be"
elif bset_key[1:4] == (1, 0, 0):
elif best_key[1:4] == (1, 0, 0):
enc = "mac-roman"
else:
enc = "unicode_escape"
Expand Down

0 comments on commit 308486b

Please sign in to comment.