Salut Jörg and André,

I have found yet another problem in the new font system. It appears
with the combination

  Utopia fonts (fourier package) -- several pages in a document

here is a small example script:
--------------------------------------
from pyx import *

text.set(mode="latex")
text.preamble(r"\usepackage{fourier}")

d = document.document(pages=[])
if 1:
    s = canvas.canvas()
    s.text(0, 0, r"a")
    d.append(document.page(s))
if 1:
    s = canvas.canvas()
    s.text(0, 0, r"th")
    d.append(document.page(s))
d.writePDFfile("minimal")
--------------------------------------

It fails at line 200 in pyx/font/font.py somewhere in the font
encoding. When commenting out the preamble line or when dealing with
one page only, the script works.

The corresponding line in the pdftex.map is
  putr8r Utopia-Regular "TeXBase1Encoding ReEncodeFont" <8r.enc <putr8a.pfb

Any ideas?

Michael


-------------------------------------------------------------------------
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-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-devel

Reply via email to