We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b132d52 commit 5876c02Copy full SHA for 5876c02
lib/matplotlib/type1font.py
@@ -216,7 +216,7 @@ def _parse(self):
216
# The spec calls this an ASCII format; in Python 2.x we could
217
# just treat the strings and names as opaque bytes but let's
218
# turn them into proper Unicode, and be lenient in case of high bytes.
219
- convert = lambda x: x.decode('ascii', errors='replace')
+ convert = lambda x: x.decode('ascii', 'replace')
220
for token, value in filtered:
221
if token is self._name and value.startswith(b'/'):
222
key = convert(value[1:])
0 commit comments