From: Alan W. I. <ir...@be...> - 2004-12-03 18:12:05
|
On 2004-12-01 18:13-0400 Thomas J. Duck wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > Here are a couple of fixes for postscript text problems in the > ps.c driver (diffs below, revised file at > http://aolab.phys.dal.ca/~tomduck/temp/ps.c): > > 1) When using postscript fonts and portrait orientation, the text was > rotated incorrectly. > > 2) When using postscript fonts, brackets were not properly escaped for the > SW postscript command, resulting in postscript errors. > > 3) Subscripts and superscripts should be printed with a smaller font size. All these fixes sound like they are well worth incorporating, but I have a more fundamental question first: How exactly are you specifying postscript fonts? If that is through pstex, could you repeat the cookbook you are using since pstex use is undocumented? If not pstex, that would be a most interesting breakthrough since I thought we were limited to just the Hershey fonts for the psc and ps devices. > > I would like to recommend that DEF_WIDTH in ps.h be returned to its > original value of 1 instead of the (relatively) new value of 3. This > provides more flexibility in setting the line widths for postscript plots, > which is otherwise too coarse. I tend to agree here. I believe the justification for the change at the time was it made it more consistent with other devices, but if postscript is capable of a finer-grained approach than the other devices, we should probably allow that. 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 __________________________ |