Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent addc51e commit 0b5aae2Copy full SHA for 0b5aae2
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')
+ 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