|
From: Paul B. <ba...@st...> - 2004-05-05 12:45:13
|
John Hunter wrote: > I factored matplotlib.text.Text instances and layouts out of the > backends. Now matplotlib.text.Text does all the layout and passes the > backends a *string* plus font properties etc. This simplifies the > text handling on the backends considerably, which only need to know > how to compute the width and height of an unrotated string. The > frontend will then do the proper alignment for rotated text. > [snip, snip] > > Paul, I committed these changes after synching with your new font > caching and there doesn't appear to be any problem; miraculously CVS > seems to be working pretty well. I did some additional caching of AFM > instances in backend_ps. You might want to rerun your ps profile > script and see if the numbers improve further still. Yes, the PS backend does appear to be about 30% faster. However, the Agg backend looks to be about 15% slower, so I guess there is a trade off here. -- Paul Barrett, PhD Space Telescope Science Institute Phone: 410-338-4475 ESS/Science Software Branch FAX: 410-338-4767 Baltimore, MD 21218 |