Salut André,

welcome back!

On 20.07.07, Andre Wobst wrote:
> On 25.04.07, Michael SCHINDLER wrote:
> > The PDF generation with unincluded standard fonts is currently broken:
> > The minimal example
> > 
> > from pyx import *
> > text.set(mode="latex")
> > text.set(fontmaps="builtin35.map")
> > #text.set(fontmaps="download35.map")
> > text.preamble(r"\usepackage{mathptmx}")
> > c = canvas.canvas()
> > c.text(0,0, r"$\psi$")
> > c.writeEPSfile("bloch")
> > c.writePDFfile("bloch")
> > 
> > leads to a working eps file, but the pdf file does not show anything.

> It's not a bug. builtin35.map just isn't the proper map file here.
> When you specify a map file yourself, you simply need to know what you
> are doing (I don't see any way out of that using *existing* TeX/LaTeX
> infrastructure). In case you don't specify any map file -- well -- we
> still have a problem (depending on your TeX-configuration of course --
> I remember some problems with palatino). Point here is, that
> psfonts.map is correct for postscript only, for pdf, which have
> less/different fonts included, we should consider using pdftex.map
> instead (as pdftex does by default). Too bad, that the mapping files
> are that broken.

OK.

> It seems to me that the pdfTeX guys first started
> with the psfonts.map (from dvips) (including all its strange syntax)
> and later realized that they need a slighly modified version and just
> created their pdf-adjusted version ... pdftex.map. Still using the
> same strange and limited format.

Yes. I remember that many years ago, when installing a teTeX distri,
there were no pdf-specific mapping files.

> The only thing we should consider for
> the future (and that's how I read the comment in the CHANGES file) is
> to use psfonts.map and pdftex.map for postscript or pdf by default
> respectively.

This would mean that the fontmaps are not a mere adjective of the text
(TeX) module but also of the writer? I would appreciate that.

Michael.

-- 
Michael Schindler
  Laboratoire de Physico-Chimie Théorique.
  ESPCI. 10 rue Vauquelin, 75231 Paris cedex 05, France.
  Tel: +33 (0)1 40 79 45 97    Fax: +33 (0)1 40 79 47 31
  http:  www.pct.espci.fr/~michael

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

Reply via email to