From: Alan W. I. <ir...@be...> - 2005-01-28 10:17:04
|
On my Debian testing system, I use latex with aastex (a latex style file maintained by the American Astronomical Society for the core astronomical research journals) to transform solution.tex (my paper is about the solution of the equation of state) using the standard computer modern fonts. I translate the resulting solution.dvi file to solution.ps using dvips -f <solution.dvi -Ppdf -G -z >| solution.ps and that solution.ps to solution.pdf using ps2pdf -dPDFSETTINGS=/printer solution.ps solution.pdf The text rendered on screen using xdvi solution.dvi or xpdf solution.pdf renders perfectly (as far as I can tell) on my computer screen. However, neither app renders the embedded PLplot postscript files very well. For example, unless I go to really huge line widths with ugly looking results, xpdf treats all PLplot line widths the same. So now I am looking at the rendering results of gv solution.ps and the rendering of the PLplot line weights in the embedded figures is good, but the rendering of the text is not nearly as good as the rendering of the solution.dvi and solution.pdf results. Obviously enough information is in the solution.ps file to give good text rendering since solution.pdf is created from that file, and the text renders well. I had a look at the fonts in the solution.ps file, and here is an example: /FontName /CMMI8 def According to /var/lib/texmf/dvips/config/psfonts.map that corresponds to cmmi8.pfb, and according to locate that appears at /usr/share/texmf/fonts/type1/bluesky/cm/cmmi8.pfb on my system. (bluesky are type 1 versions of the computer modern fonts which is why xdvi and xpdf can render them so nicely). Note, gv is also supposed to be able to render pdf's, but when I tried it on solution.pdf it gave sub-optimal text rendering and excellent rendering of the embedded PLplot figures. So it appears all rendering information in the solution.ps file is also in the solution.pdf file, but gv renders text poorly but embedded PLplot well for both solution.ps and solution.pdf, while xpdf (and also kpdf) renders text fine, and embedded PLplot poorly for solution.pdf. gv is just a front-end to gs so I did some google searching and came up with the Fontmap.cmr file from CTAN which purports to make bluesky computer modern fonts available to gs. I followed the directions inside that file exactly, but it made no difference to the rendering quality before or after I recreated the solution.ps file. I notice there is an overall dummy bug to prevent transition of gv 3.6.1 into debian testing because there has been no upstream maintenance for 7 (!) years of the 3.5.x version I have access to with Debian testing. This delay has been implemented because it takes a long time to figure out which of the many Debian patches to gv are relevant to the new version. Probably my next step is to try the Debian unstable gv 3.6.1, but maybe using gv is a waste of time; is there some other postscript viewing app I should be using instead? Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |