-----BEGIN PGP SIGNED MESSAGE-----
Thanks for your email.
On Fri, 3 Dec 2004, Alan W. Irwin wrote:
> 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 am using postscript fonts by setting the driver options. For
example, in python you would write
to invoke usage of postscript fonts (do this before plinit()). There are
only four different fonts available in plplot, and their postscript
equivalents are chosen as usual: e.g.,
for Helvetica, etc.
The GD driver allows you to select anti-aliased fonts in the same
way. In general, the driver options are undocumented, and I learned about
them by reading through the code.
We might consider adding an option to both drivers that would
allow you to specify exactly what four fonts should be used.
> > 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.
Alternatively, this could also be set as a driver option. Advantage:
nobody would notice the change. Disadvantage: new users might overlook
this functionality, and assume that finer-grained lines were not possible
with the postscript driver.
Thomas J. Duck <tomduck@...>
Department of Physics and Atmospheric Science, Dalhousie University,
Halifax, Nova Scotia, Canada, B3H 3J5.
Tel: (902)494-1456 | Fax: (902)494-5191 | Lab: (902)494-3813
Public key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x17D965DB
Tier I CRC Chair in Atmospheric Science: http://www.atm.dal.ca/jobs/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
-----END PGP SIGNATURE-----