In article <36BDF4B1.9173B47C at bilbo.bio.purdue.edu>, Phillip San Miguel <pmiguel at bilbo.bio.purdue.edu> writes:
> I was following the GCG graphics ---> windows graphics thread with
>interest. Especially the idea of setting the plotter to HPGL and
>outputting to a file to get vector graphics. This didn't work for
>me--don't know why. (I'm using GCG v. 9 or v. 8 on a machine running
So, which is it?
> HPGL files seemed to come out as postscript.
That I don't believe for any version, unless you selected HPGL through
SETPLOT, and that is configured incorrectly. Try using the HPGL
> Corel DRAW
>refused to read the file as HPGL but read it okay as interpreted
> But in the process of doing this I noticed that in GCG9 there were
>real fonts in the postscript files--not stroke fonts. The result is
>that an output file is about 1/6th the size in GCG9 than it was is
>GCG8. Also, when I import the files into Corel Draw and Canvas I get
>real text, not curves. These files are much easier to work with.
> The two programs I was working with are prettybox and prettyplot.
GCG 8.1 on OpenVMS 7.1.
$ hpgl colorpro nofont0.out
$ hpgl colorpro font0.out
$ dir/size=all/since *.out
Font 0 tells the graphic device to use a native font if the device has one
available, all the other 21 fonts are stroke fonts. (See Appendix I of the
Program Manual.) If you use SEARCH (VMS) or strings (Unix) on the
font0.out file, you'll see things like "Genetics computer group",
which you won't find in the nofont0.out file. The one thing you can't do
is tell it to use several different native fonts, even if they are
available. Still, it's a lot easier to start with Courier (or whatever
the default font is) and clean it up on your Mac or Windows box than it is
to clean out 40000 line segments worth of stroke fonts!
mathog at seqaxp.bio.caltech.edu
Manager, sequence analysis facility, biology division, Caltech