Re: [matplotlib-devel] Fontcache problem on windows

2008-01-23 Thread Jörgen Stenarson
Michael Droettboom skrev: > Interesting. > > Perhaps anything that throws an exception in the FT2Font constructor > (which a bad font or a missing font would both do), is throwing off the > reference count for the object and failing that assertion, rather than > passing the exception back to Py

Re: [matplotlib-devel] Fontcache problem on windows

2008-01-23 Thread Michael Droettboom
Interesting. Perhaps anything that throws an exception in the FT2Font constructor (which a bad font or a missing font would both do), is throwing off the reference count for the object and failing that assertion, rather than passing the exception back to Python. Only a theory. What version of

Re: [matplotlib-devel] Fontcache problem on windows

2008-01-23 Thread Jörgen Stenarson
Michael Droettboom skrev: It's possible -- the version of freetype in the win32_static.tar.gz package is 2.1.7. I have 2.1.9 on my (working) Linux box. Perhaps something between those point releases fixes this bug. But it could be a lot of other things, too. I'm going to file a bug for thi

Re: [matplotlib-devel] Fontcache problem on windows

2008-01-23 Thread Michael Droettboom
It's possible -- the version of freetype in the win32_static.tar.gz package is 2.1.7. I have 2.1.9 on my (working) Linux box. Perhaps something between those point releases fixes this bug. But it could be a lot of other things, too. I'm going to file a bug for this so it doesn't get lost. C

Re: [matplotlib-devel] Fontcache problem on windows

2008-01-22 Thread Jörgen Stenarson
Michael Droettboom skrev: > Thanks. Unfortunately, I'm not able to reproduce any problems with the > font on Linux (see attached). I suspect the problem may be > Windows-specific, but I have no way of knowing at the moment. I'll have > to try this at home (no Windows at work), or maybe one of

Re: [matplotlib-devel] Fontcache problem on windows

2008-01-22 Thread Michael Droettboom
Michael Droettboom wrote: > or maybe one of the other > Windows gurus on this list wants to take it up. I shouldn't have said "other". I don't consider myself a guru of much of anything ;) Cheers, Mike - This SF.net email

Re: [matplotlib-devel] Fontcache problem on windows

2008-01-22 Thread Michael Droettboom
Thanks. Unfortunately, I'm not able to reproduce any problems with the font on Linux (see attached). I suspect the problem may be Windows-specific, but I have no way of knowing at the moment. I'll have to try this at home (no Windows at work), or maybe one of the other Windows gurus on this

Re: [matplotlib-devel] Fontcache problem on windows

2008-01-22 Thread Jörgen Stenarson
Michael Droettboom skrev: > Is the font freely available, and if so, can you provide a link? I'd > like to find a workaround if possible -- one shouldn't have to remove > fonts just to run matplotlib. > You can download it from

Re: [matplotlib-devel] Fontcache problem on windows

2008-01-22 Thread Michael Droettboom
Is the font freely available, and if so, can you provide a link? I'd like to find a workaround if possible -- one shouldn't have to remove fonts just to run matplotlib. Cheers, Mike Jörgen Stenarson wrote: > Michael Droettboom skrev: >> I haven't seen this issue. It may just be a dirty compil

Re: [matplotlib-devel] Fontcache problem on windows

2008-01-21 Thread Jörgen Stenarson
Michael Droettboom skrev: > I haven't seen this issue. It may just be a dirty compilation problem. > Often distutils doesn't rebuild enough. Try removing the build > directory and then build/install. > > If that's not the case, we'll need to track down which font is tripping > it up. Set "

Re: [matplotlib-devel] Fontcache problem on windows

2008-01-21 Thread Michael Droettboom
I haven't seen this issue. It may just be a dirty compilation problem. Often distutils doesn't rebuild enough. Try removing the build directory and then build/install. If that's not the case, we'll need to track down which font is tripping it up. Set "verbose.level" to "debug-annoying" and

[matplotlib-devel] Fontcache problem on windows

2008-01-21 Thread Jörgen Stenarson
Hi today after upgrading to the latest svn (r4880 compiled with mingw) and deleting fontManager.cache I got the following message and a crash c:\python\>python Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for mor