Hello Dave, On 05.12.06, Dave Barton wrote: > When I use PyX in latex mode with the mathpazo or mathptmx (times roman) > packages, the font does not appear to get embedded into the final PDF file... > Consequently, it does not display as desired. However, producing exactly the > same thing as an EPS file works perfectly (and I can then use epstopdf to > produce a PDF). However, Computer Modern seems to be embedded correctly each > time... > > I've had a quick look through the PDF file by hand and it initially appears > that the fonts are being embedded but the key difference between the embedded > CM fonts (which work) and the Palatino fonts (which don't) is that the CM > fonts > have a /fontfile xxx line in the font descriptor whereas the Palatino fonts > don't (they just have the descriptor and encoding objects...). > > I've tried this on PyX 0.8.1 and 0.9 on two different machines (with > completely > different setups - one Redhat Enterprise, the other Gentoo) and it comes back > with the same problem. > > I've posted a minimal example with corresponding results at > http://seis.bris.ac.uk/~db9052/minimal.tgz
I have tried out both examples -- and both work on my machine (SuSe 10.1 -- ok ok, it is not my machine). My minimal2.pdf does contain lines such as /FontName /NimbusRomNo9L-Regu /FontName /NimbusRomNo9L-ReguItal which you missed in your minimal2.pdf Is TeX omitting only the standard fonts? This seems to be the case: When displaying your minimal2.pdf, my acroread replaces the symbol font and the times fonts by built-in ones. If this is the case, then please try to force PyX to embed these fonts. You can either add the font-map file download35.map (or builtin35.map) to the list of mapfiles pyx uses (see the text.set() command) Alternatively, you can embed the contents of these files in your psfonts.map by running updmap with a proper config: edit updmap.cfg, which is part of any teTeX distribution to contain dvipsPreferOutline true This might help. Michael. -- "A mathematician is a device for turning coffee into theorems" Paul Erdös. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ PyX-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyx-user
