Hi Will,

On 18.01.08, William Henney wrote:
> Attached is a minimal example file: pyx-cm-test.py, which illustrates
> the problem. This produces the following warnings from PyX:
> 
>     We are about to extract font information for the Type 1 font
>     'CMR10' from its pfb file. This is bad practice (and it's slow).
>     You should use an afm file instead.
>     We are about to extract font information for the Type 1 font
>     'CMMI10' from its pfb file. This is bad practice (and it's
>     slow). You should use an afm file instead.
>     Auto-guessing of font information for font 'CMMI10' failed.
>     We're writing stub data instead.
> 
> PyX generates a PDF (attached as pyx-cm-test.pdf) that looks OK, but
> it causes acroread to throw up a warning dialog box:
> 
> "The font CMMI10 contains a bad /BBox"
> 
> This wouldn't normally bother me, since I usually use other PDF
> viewers. However, I do use the Adobe Reader for presentations, since
> it is the only one that supports javascript and embedded movies and
> the like. It would be a bit embarrassing to have these warning dialogs
> popping up in the middle of my talks!

I have just checked in a fix for this problem, but am currently not able
to test it because I don't have the Adobe Reader installed on my Mac.
But it really *should* work now.

> Since my system does have afm files for other fonts, I tried switching
> to txfonts, instead of CM. However, this gave me even more problems. I
> attach another minimal example: pyx-txfonts-test.py, together with the
> resultant traceback that I get: pyx-traceback.txt
> 
> The weird thing is that the strings '/' and '=' both work on their
> own, but the combination '/=' does not!

I also had a quick look into this but that is a more complicated issue
and I have not yet been able to find out what's going wrong.

André: Somehow the charcodes for this charaters are not defined in the
encoding and we thus get no valid glyphname...

Cheers,

        Jörg

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to