Re: [matplotlib-devel] Fix: [ 1738494 ] cp1252 to unicode in OS X

2007-06-27 Thread Michael Droettboom
John Hunter wrote: It looks like your patch has some line wrapping issues -- could you also attach the patch? Here it is. Cheers, Mike Index: backend_pdf.py === --- backend_pdf.py (revision 3418) +++ backend_pdf.py (working copy) @

[matplotlib-devel] Fix: [ 1738494 ] cp1252 to unicode in OS X

2007-06-27 Thread Michael Droettboom
I have a patch for this bug that prevents PDF writing on Python 2.5 (I think OS X is a red herring in the bug report -- I was having the same problem on Linux). Python 2.5 changed from encodings.cp1252.encoding_map (a dictionary) to encodings.cp1252.encoding_table (a tuple). http://sourceforg

Re: [matplotlib-devel] Fix: [ 1738494 ] cp1252 to unicode in OS X

2007-06-27 Thread John Hunter
On 6/27/07, Michael Droettboom <[EMAIL PROTECTED]> wrote: > I have a patch for this bug that prevents PDF writing on Python 2.5 (I > think OS X is a red herring in the bug report -- I was having the same > problem on Linux). Python 2.5 changed from > encodings.cp1252.encoding_map (a dictionary) to