Carl,

Found the culprit. Thank you.

> sage: import matplotlib
> sage: matplotlib.verbose.set_level('debug')
> sage: import matplotlib.font_manager

I did this.

> Look at the file specified in the last createFontDict line (for
> instance, open it with a text editor; it's a simple text file) and see
> if it has a '-75.673' in it.

It is lasy7.afm, and it has this one and a bunch of floating-point
numbers:

=====
StartCharMetrics 17
C 1 ; WX 892.857 ; N a1 ; B 0 -75.673 892.857 575.673 ;
C 2 ; WX 892.857 ; N a2 ; B 0 -185.467 892.857 685.466 ;
C 3 ; WX 892.857 ; N a3 ; B 0 -75.673 892.857 575.673 ;
C 4 ; WX 892.857 ; N a4 ; B 0 -185.467 892.857 685.466 ;
C 32 ; WX 333.333 ; N space ; B 0 0 0 0 ;
C 40 ; WX 400.794 ; N a40 ; B 0 115.919 400.794 384.077 ;
C 41 ; WX 400.794 ; N a41 ; B 0 115.919 400.794 384.077 ;
C 42 ; WX 585.317 ; N a42 ; B 0 -194.444 585.319 694.444 ;
C 43 ; WX 585.317 ; N a43 ; B 0 -194.444 585.319 694.444 ;
C 48 ; WX 831.349 ; N a48 ; B 0 0 831.351 683.333 ;
C 49 ; WX 831.349 ; N a49 ; B 0 34.719 831.351 465.278 ;
C 50 ; WX 802.778 ; N a50 ; B 0 34.719 802.78 465.278 ;
C 51 ; WX 835.317 ; N a51 ; B 0 34.719 835.325 465.278 ;
C 58 ; WX 769.841 ; N a58 ; B 0 115.919 769.841 384.077 ;
C 59 ; WX 1138.89 ; N a59 ; B 0 115.919 1138.89 384.077 ;
C 60 ; WX 892.857 ; N a60 ; B 0 -75.673 892.857 575.673 ;
C 61 ; WX 892.857 ; N a61 ; B 0 -75.673 892.857 575.673 ;
EndCharMetrics

====

> If so, you've found the culprit.  The easy thing at this point is to
> just work around the problem by uninstalling whatever package
> installed that font.  The more difficult thing would be to figure out
> whether floating-point numbers are actually allowed at that spot, and
> report a bug either to matplotlib or to that font.

> Let us know what you discover.

OK, I will look first what package installed this font. I will tell
you later. Indeed, all the lasyN files in the same directrory have
floating point numbers.

Alejandro






--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to