Dear Gert, dear list, On Fri, Jul 22, 2011 at 6:21 PM, Gert-Ludwig Ingold <[email protected]> wrote: >> I detected a VERY strange and frustrating behaviour of dvips together >> with LaTeX and PyX... (Probably PyX is not guilty...) >> When I >> - use PyX to generate eps-files containing some text >> - include those eps-files in a tex-file >> - convert the dvi-file to postscript >> I loose some characters -- without any error messages or warning :( > > I can confirm this but I had no time to analyze the problem in detail.
I found at least an easy workaround: "dvips -j0" works correctly. The j-option "downloads only needed characters from Type 1 fonts", and is the default now. Looking at the resulting .ps - files: - the .ps-file generated with "-j0" contains a full font encoding for CMR10 at the beginning - the .ps-file generated without "-j0" contains only some characters from CMR10 (probably "c") However, BOTH files contain later the complete .eps-files as generated by PyX, both also including their "own" embeded subsets of the font CMR10. I have no idea what would be the "correct" way according to postscript, how such a situation should be handled? - rename the fonts and have 3 different fonts? - is it legal postscript to have 2 fonts with the same name, 1 "global" and then later redefine it in some sub-documents ? - combine the partial definitions to one "big" font? - something totally different? Apparently, those later font-definitions are totally ignored by ghostscript IF a font with the same name exists already in the document? Best regards, Axel ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ PyX-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyx-user
