[Bug 394502] Re: umlauts cause KeyError

2009-09-15 Thread gvard
Oh, sorry, it seems, that patch loss its indentation. And, finally, I reproduce this bug with different versions of matplotlib (0.98...0.99), TeX distribution (Tetex, TexLive), fonts (helvetica, serif) and system (FreeBSD 7.2 too)! I really don't know, how to correctly fix this. -- umlauts caus

[Bug 394502] Re: umlauts cause KeyError

2009-09-15 Thread gvard
I have the same bug, but with cyrillic letter "я" (KeyError: 255). Code to reproduce: from matplotlib import rc rc('text', usetex=True) rc('text.latex',unicode=True) rc('text.latex',preamble='\usepackage[utf8]{inputenc}') rc('text.latex',preamble='\usepackage[russian]{babel}') pyplot.title(u"багря