-----BEGIN PGP SIGNED MESSAGE-----
Hi Alan, Rafael,
OK, very good, I will make these changes. I will make the hershey
symbols the default, so as not to confuse new users (the option
would be something like "-drvopt nohershey" to disable hershey fonts
altogether and get full unicode).
I agree that this can only be an interim solution.
BTW, the gnome-print font infrastructure does have access to the
ttfs. So, I will be able to go fully unicode with that driver. Phew!
Thanks for the helpful discussion, Alan and Rafael.
On Wed, 23 Feb 2005, Alan W. Irwin wrote:
> On 2005-02-23 18:29-0400 Thomas J. Duck wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > Hi Alan,
> >>> When you try x06 with the ps driver, the results are quite different
> >>> (see http://aolab.phys.dal.ca/~tomduck/temp/x06.pdf). You will see
> >>> that many of the symbols are missing. Can you confirm this problem?
> >>> For reference, I am running a Debian (unstable) system.
> >> Yes, that is the expected behaviour for our postscript driver.
> > This is a *big* problem. These circle, square, triangle, etc,
> > symbols are needed and expected, particularly in the ps driver.
> Well circle is there (even in your plot), but if you look at gfontview for
> the symbol type 1 font there is no triangle or square. There is no way to
> overcome this fundamental limitation (no extensive symbol choices) of type 1
> fonts, and to get those symbols you will have to use truetype or Hershey
> fonts. Rafael has something in mind for truetype for the future. Hershey
> is available now (see below).
> > I had to
> > reinstall an old version of the ps driver this past weekend to prepare
> > some research plots for publication.
> That should not be necessary.
> > What I would suggest is that, until a solution is found, the unicode
> > support be an option in the ps driver.
> Note, unicode support is an option for the ps driver. You only get the
> postscript fonts (with no triangle or square symbols, but with an adequate
> selection of other math symbols) if you specify -drvopt text. Drop that
> option, and you should get the old Hershey fonts which do have those
> However, that may not be exactly what you want. What happened in previous
> versions of PLplot is you _always_ got the Hershey fonts for plsym and
> plpoin for the postscript device regardless of whether -drvopt text was
> specified or not. I viewed that mixed font usage as a bug or limitation,
> and when I redid the font infrastructure, I didn't think anyone would want
> such a mixed font environment. However, you are right, although I don't use
> them for my plots, it seems to me there is a substantial subset of
> scientific plots that rely on square and triangular symbols which are not
> available for type 1 fonts. Therefore, there is use for a mixed postscript
> and Hershey font environment as in the older versions of the postscript
> device driver.
> I have no time to help you programme that, but it shouldn't take you long;
> just point plhrsh to plhrsh2 under the control of a run-time drvopt option
> (called hershey, say) for ps.c. This would give the -dev ps user of such a
> run-time option, Hershey fonts for plsym and plpoin and postscript fonts for
> all other PLplot strings, just like the old behaviour. I am suggesting a
> run-time option here since some users presumably would also like run-time
> access to the present clean solution of pure postscript fonts.
> I don't care whether you make the clean or mixed font solutions the default
> for the ps.c device so long as you have run-time access to both behaviours.
> Alan W. Irwin
> email: irwin@...
> 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
> Linux-powered Science
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
-----END PGP SIGNATURE-----