Re: [Matplotlib-users] 0.99.1.2: error in afm.py

2011-10-24 Thread Rich Shepard
On Sun, 23 Oct 2011, Paul Ivanov wrote: Change my request to add 'sys.stderr.write(fh.name)' before the 'while 1:' in _parse_char_metrics - just so we don't have any buffering issues. The last file you see printed there will be the one that's causing the issue. You can then try removing it,

Re: [Matplotlib-users] 0.99.1.2: error in afm.py

2011-10-24 Thread Rich Shepard
On Mon, 24 Oct 2011, Paul Ivanov wrote:   Would you like a copy of kidsn.afm? sure. let's take a look. StartFontMetrics 2.0 Comment Kids-Normal Comment Copyright (c) 1992 Corel Corporation. All Rights Reserved. Comment Creation Date: Mon Jun 15 12:00:00 1992 Comment UniqueID 5029202 Comment

Re: [Matplotlib-users] 0.99.1.2: error in afm.py

2011-10-24 Thread Paul Ivanov
On Mon, Oct 24, 2011 at 2:47 PM, Rich Shepard rshep...@appl-ecosys.com wrote: Underline Position -100 Underline Thickness 50 those two properties should not have spaces in them - according the the AFM file spec that I could find - they should be one word - which is what matplotlib expects - and

Re: [Matplotlib-users] 0.99.1.2: error in afm.py

2011-10-24 Thread Paul Ivanov
On Mon, Oct 24, 2011 at 3:26 PM, Rich Shepard rshep...@appl-ecosys.com wrote: On Mon, 24 Oct 2011, Paul Ivanov wrote: those two properties should not have spaces in them - according the the AFM file spec that I could find - they should be one word - which is what matplotlib expects - and this

Re: [Matplotlib-users] 0.99.1.2: error in afm.py

2011-10-24 Thread Rich Shepard
On Mon, 24 Oct 2011, Paul Ivanov wrote: so no more tracebacks? Don't know. I'm processing accounts payable, beating up a client who's late paying an invoice, trying to figure out which R package/function I need, and more. It's been a rather crappy day, if you must know the truth. :-)