On Mon, Jan 5, 2009 at 9:06 AM, Michael Droettboom wrote:
> Also, it seems like the text alignment in the PS output is too low by a
> small constant factor.
I'm not quite sure why this is happening. My guess is that it has
something to with the usage of psfrag in the ps backend, e.g., the
differe
Thanks for the explanation. The TeX install I have is the stock one
with RHEL4, which is fairly old at this point. I've had a number of
other problems with it as well (such as it not being compatible with
Sphinx).
It's nice to know that matplotlib is at least handling this situation
without
Michael Droettboom writes:
> The output of "python usetex_texteffects.py --verbose-debug" is attached.
Thanks! The problem seems to be that your TeX configuration (pdftex.map)
specifies using Helvetica without embedding it into the pdf file. This
is deprecated in the PDF standard (PDF viewer app
Jouni: your latest commit resolves the issue for me. Thanks!
Jae-Joon: Your preview.sty work seems to work great with the PDF backend
(for me, at least).
Cheers,
Mike
Michael Droettboom wrote:
>
> Jouni K. Seppänen wrote:
>> Michael Droettboom writes:
>>
>>
>>> when running usetex_fonteffec
Jouni K. Seppänen wrote:
Michael Droettboom writes:
when running usetex_fonteffects.py [...]
TypeError: coercing to Unicode: need string or buffer, NoneType found
-> file = open(input, 'rb')
Perhaps your TeX installation doesn't have the font. If you run
"kpsewhich utmr8a.pfb", what
Michael Droettboom writes:
> when running usetex_fonteffects.py [...]
> TypeError: coercing to Unicode: need string or buffer, NoneType found
> -> file = open(input, 'rb')
Perhaps your TeX installation doesn't have the font. If you run
"kpsewhich utmr8a.pfb", what do you get? If it does return s
Sorry about the wild good chase. I had fixed up an earlier exception
which was simply a problem with formatting a verbose message. That
gives this, when running usetex_fonteffects.py (with all rcParams at
defaults):
Traceback (most recent call last):
File "usetex_fonteffects.py", line 22, i
Michael Droettboom writes:
> I'm currently getting this traceback with the PDF backend, whether
> "text.latex.preview" is True or False -- so it may be unrelated to your
> change, but I'm unable to test PDF at the moment.
Based on the traceback, it looks like I have broken something recently -
Very nice!
I'm currently getting this traceback with the PDF backend, whether
"text.latex.preview" is True or False -- so it may be unrelated to your
change, but I'm unable to test PDF at the moment.
Traceback (most recent call last):
File "usetex_baseline_test.py", line 75, in
plt.savef
Hello,
I committed a patch to optionally use preview.sty with usetex=True.
This is to support a baseline alignment.
A summary of changes:
* added a get_text_width_height_descent() method in the TexManager
class, and modified the agg, ps and pdf backends to utilize this
method.
* added a new r
10 matches
Mail list logo