2011/11/12 Friedrich Romstedt <friedrichromst...@gmail.com>:
> To give the valuable information in the beginning: It appears it
> cannot handle /Library/Fonts/NISC18030.ttf.  It tries to load it via
> ft2font.FT2Font() but that gives the Bus error.  The ttf file dates to
> 28 Jan 2010.  It is 7108232 bytes large.  I don't know why it cannot
> be loaded.

A quick googling of "NISC18030.ttf matplotlib" yields this interesting
result: 
http://groups.google.com/group/sage-devel/browse_thread/thread/2c538915abc99946

>From there:
"[...] and hope for John Hunter to be able
to replicate the problem and come up with something better in the next
few weeks (or I'll come back to it later)."

So I think we have at least replicated it.

What troubles me is that I was a 10.6 user from the beginning since,
say, mid 2010.  So my initial working fontcache was built that time.
On 10.6.  How do I analyse if the respective TTF is in the font cache
(file)?

OK, I loaded the font manager from the pickle just via matplotlib from
2009; and /Library/Fonts/NISC18030.ttf is not amongst
``matplotlib.font_manager.fontManager.ttffiles``.

I didn't know until today that the CXX appearing in the build process
actually refers to a package and is not just an alteration of C++ to
make it more shell-friendly, as I believed until now.

Maybe someone with some insights in CXX can help?  I see that I can do
that too, but it'll take probably much longer than when you, dear
recipient, do it.

>From the post referenced above it *seems* that it might have to do
something with creating a Python Int from NULL?  But since my
knowledgability is low on CXX, as mentioned, I would not give my word
for this.

The explanation why it didn't try to index that file follows:

$ stat -f "...." /Library/Fonts/NISC18030.ttf
Last accessed or modified: 1321107464 = 12 Nov 2011
Last changed: 1264652963 = 28 Jan 2010
Time of Birth: 1292365840 = 14 Dec 2010

There you go.  I guess some Mac OS X 10.6 update (probably a combo
update) installed it.  I will not go into details here of checking the
pax files or something, I just think we see that it was born on my Mac
later than I started using matplotlib.  I never deleted the fontcache
while using matplotlib, but I vaguely remember that I had a problem
with another user than "me".

I remember also some post on a failing matplotlib on OS X 10.6; which
we were not able to solve, but I'll look into that now.

Friedrich

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to