You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
convert_ttf_to_ps really outputs bytes, not str; the decoding as latin1 currently done (#25253) is meaningless if one really passed in a text file open with an ascii-incompatible encoding. Let's just make that function take a binary file as output arg instead.
See also https://github.com/matplotlib/matplotlib/pull/25253/files#r1111664168; probably this can wait for #25253 to be merged first.
Proposed fix
No response
The text was updated successfully, but these errors were encountered:
Summary
convert_ttf_to_ps really outputs bytes, not str; the decoding as latin1 currently done (#25253) is meaningless if one really passed in a text file open with an ascii-incompatible encoding. Let's just make that function take a binary file as output arg instead.
See also https://github.com/matplotlib/matplotlib/pull/25253/files#r1111664168; probably this can wait for #25253 to be merged first.
Proposed fix
No response
The text was updated successfully, but these errors were encountered: