From: Jouni K. S. <jk...@ik...> - 2008-12-31 15:28:05
|
Michael Droettboom <md...@st...> writes: > Passing solid_joinstyle='bevel' does resolve the problem on both 0.91.x > and 0.98.x. Additionally, path simplification (which is a new feature > on 0.98.x) also resolves this problem (set rcParam path.simplify to True). It seems that agg and pdf have different ways to render small angles when the join style is 'miter'. Pdf has a limit (settable in the pdf file) beyond which it reverts to bevel-style angles, agg seems to always do the miter join but cuts it off at some distance. Here's a test script, and screenshots of (a part of) the agg and pdf outputs when the join style is 'miter'. -- Jouni K. Seppänen http://www.iki.fi/jks |