From: <jd...@us...> - 2008-05-29 16:44:55
|
Revision: 5303 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5303&view=rev Author: jdh2358 Date: 2008-05-29 09:44:49 -0700 (Thu, 29 May 2008) Log Message: ----------- fixed the font rotation agg bug -- and there was much rejoicing Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/ticker.py trunk/matplotlib/src/_backend_agg.cpp Modified: trunk/matplotlib/lib/matplotlib/ticker.py =================================================================== --- trunk/matplotlib/lib/matplotlib/ticker.py 2008-05-29 15:55:55 UTC (rev 5302) +++ trunk/matplotlib/lib/matplotlib/ticker.py 2008-05-29 16:44:49 UTC (rev 5303) @@ -301,6 +301,7 @@ self._scientific = True self._powerlimits = rcParams['axes.formatter.limits'] + def fix_minus(self, s): 'use a unicode minus rather than hyphen' if rcParams['text.usetex']: return s Modified: trunk/matplotlib/src/_backend_agg.cpp =================================================================== --- trunk/matplotlib/src/_backend_agg.cpp 2008-05-29 15:55:55 UTC (rev 5302) +++ trunk/matplotlib/src/_backend_agg.cpp 2008-05-29 16:44:49 UTC (rev 5303) @@ -679,8 +679,11 @@ typedef agg::span_allocator<agg::rgba8> color_span_alloc_type; typedef agg::span_interpolator_linear<> interpolator_type; typedef agg::image_accessor_clip<agg::pixfmt_gray8> image_accessor_type; - typedef agg::span_image_filter_gray_2x2<image_accessor_type, interpolator_type> + //typedef agg::span_image_filter_gray_2x2<image_accessor_type, interpolator_type> + // image_span_gen_type; + typedef agg::span_image_filter_gray<image_accessor_type, interpolator_type> image_span_gen_type; + typedef font_to_rgba<image_span_gen_type> span_gen_type; typedef agg::renderer_scanline_aa<renderer_base, color_span_alloc_type, span_gen_type> renderer_type; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |