SourceForge logo
SourceForge logo
Menu

Re: [matplotlib-devel] font problem with CVS version of PS backend

From: Andrew S. <str...@as...> - 2004年03月30日 22:47:52
Attachments: PGP.sig
Works great!
On Mar 30, 2004, at 3:34 PM, Paul Barrett wrote:
> Andrew Straw wrote:
>> Hi,
>> Any hints on this one before I go deeper?
>> Here are the last few lines of the traceback I get with the PS 
>> backend using the latest CVS. I get no such error with the TkAgg 
>> backend.
>> File 
>> "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
>> python2.3/site-packages/matplotlib/text.py", line 77, in _draw
>> renderer.draw_text(gc, x, y, self)
>> File 
>> "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
>> python2.3/site-packages/matplotlib/backends/backend_ps.py", line 142, 
>> in draw_text
>> l,b,w,h = font.get_str_bbox(text)
>> AttributeError: get_str_bbox
>
> I've made improvements to the new font manager that should fix this 
> problem. They should now be in CVS. Please give it a test.
>
> -- Paul

View entire thread

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /