|
From: Christoph G. <cg...@uc...> - 2013-05-15 22:26:35
|
On 5/15/2013 1:55 PM, Ojala Janne wrote: > >>> Which backend are you using? I can't reproduce. Does > >>>https://github.com/matplotlib/matplotlib/blob/master/examples/text_labels_and_annotations/unicode_demo.py > <https://github.com/matplotlib/matplotlib/blob/master/examples/text_labels_and_annotations/unicode_demo.py> > >>> work for you? > > The bug only happens if I try to save the figure as EPS. So I suppose that > then means its a cairo back end (happens also if I force cairo). So that > means > as written the code works fine but if i try to make publishable quality > output > by saving as EPS (a raster image is not suitable), it crashes. > > But it again works if I add any character thats so weird that ist on a n > extended > unicode block then all characters seem to be handled correctly. Even > the ones > that previously crashed. > I can reproduce the crash on Python 2.7, 32 and 64 bit. Python 2.6 and 3.3 appear to work. The call stack is attached. The crash is in ttfont_add_glyph_dependencies() at <https://github.com/matplotlib/matplotlib/blob/v1.2.x/ttconv/pprdrv_tt2.cpp#L703> Christoph |