backend_pdf error

I get this error

Traceback (most recent call last):
  File "", line 22, in <module>
  File "/Users/jsw/lib/python/matplotlib/", line 796, in savefig
    return fig.savefig(*args, **kwargs)
  File "/Users/jsw/lib/python/matplotlib/", line 727, in savefig
    self.canvas.print_figure(*args, **kwargs)
  File "/Users/jsw/lib/python/matplotlib/backends/", line 114, in print_figure
    orientation, **kwargs)
  File "/Users/jsw/lib/python/matplotlib/backends/", line 493, in print_figure
    orientation, **kwargs)
  File "/Users/jsw/lib/python/matplotlib/backends/", line 1334, in print_figure
  File "/Users/jsw/lib/python/matplotlib/backends/", line 399, in close
  File "/Users/jsw/lib/python/matplotlib/backends/", line 454, in writeFonts
    fontdictObject = self.embedTTF(filename)
  File "/Users/jsw/lib/python/matplotlib/backends/", line 506, in embedTTF
    widths = [ get_char_width(charcode) for charcode in range(firstchar, lastchar+1) ]
  File "/Users/jsw/lib/python/matplotlib/backends/", line 503, in get_char_width
    unicode = cp1252.decoding_map[charcode] or 0
AttributeError: 'module' object has no attribute 'decoding_map'

when running the basemap example (or any other basemap example), and then saving to a pdf file using savefig.

I'm using the latest svn.



Jeffrey S. Whitaker Phone : (303)497-6313
Meteorologist FAX : (303)497-6449
NOAA/OAR/PSD R/PSD1 Email : Jeffrey.S.Whitaker@...236...
325 Broadway Office : Skaggs Research Cntr 1D-124
Boulder, CO, USA 80303-3328 Web :