Re: [Matplotlib-users] Bug in `dviread.py'

2011-02-27 Thread Jouni K . Seppänen
Jouni Seppänen writes: > pbkdo8y URWBookmanL-DemiBold ".167 SlantFont TeXnANSIEncoding ReEncodeFont" > > I guess we will need to implement slightly more of a PostScript > interpreter inside matplotlib to figure out which file is to be used > for re-encoding the font, unless this really means so

Re: [Matplotlib-users] Bug in `dviread.py'

2011-02-07 Thread Michael Anselmi
On 02/07/2011 11:58 AM, Jouni K. Seppänen wrote: > Jouni Seppänen writes: > >> In the meantime, I will commit a quick workaround that just disables >> the fonts we can't handle instead of aborting with an assert. > > Now committed in revision 8955 (1.0 maintenance branch) and 8956 > (svn trunk).

Re: [Matplotlib-users] Bug in `dviread.py'

2011-02-07 Thread Jouni K . Seppänen
Jouni Seppänen writes: >In the meantime, I will commit a quick workaround that just disables >the fonts we can't handle instead of aborting with an assert. Now committed in revision 8955 (1.0 maintenance branch) and 8956 (svn trunk). Please test on your system. Index: lib/matplotlib/dviread.py

Re: [Matplotlib-users] Bug in `dviread.py'

2011-02-07 Thread Alex
On 07.02.2011 17:17, Jouni K. Seppänen wrote: > Jouni Seppänen writes: > >> I filed this in the bug tracker: >> https://sourceforge.net/tracker/?func=detail&aid=3175113&group_id=80706&atid=560720 > > I installed TeX Live 2010 on my Mac in order to test this, but > mysteriously, the pdftex.map fil

Re: [Matplotlib-users] Bug in `dviread.py'

2011-02-07 Thread Jouni K . Seppänen
Jouni Seppänen writes: > I filed this in the bug tracker: > https://sourceforge.net/tracker/?func=detail&aid=3175113&group_id=80706&atid=560720 I installed TeX Live 2010 on my Mac in order to test this, but mysteriously, the pdftex.map file does not have a line for pbkdo8y. The closest match is

Re: [Matplotlib-users] Bug in `dviread.py'

2011-02-07 Thread Jouni Seppänen
On Feb 7, 2011, at 17:12 , Michael Anselmi wrote: > On 02/07/2011 10:06 AM, Jouni K. Seppänen wrote: >> Can you send me the pdftex.map file off-list? >> >> Thanks for the bug report, > > Certainly. See attached. Thanks. It looks like there is one font for which two encoding files are specifie

Re: [Matplotlib-users] Bug in `dviread.py'

2011-02-07 Thread Jouni K . Seppänen
Michael Anselmi writes: > When trying to save a matplotlib figure as a PDF with `text.usetex = > True' in `matplotlibrc', at some point the `PsfontsMap' function in > `dviread.py' attempts to parse TeX Live 2010's `pdftex.map' file and > fails. Can you send me the pdftex.map file off-list? Than

[Matplotlib-users] Bug in `dviread.py'

2011-02-06 Thread Michael Anselmi
Hello all, I believe I have found a bug in matplotlib's `dviread.py' file. I am running Ubuntu 10.10 x86_64 and Sage 4.6.1, which includes matplotlib 1.0.0. Also I have TeX Live 2010 installed (full install from the web installer). It is important to note that the issue to be described *does no