IUBio

No more stroke fonts?

mathog at seqaxp.bio.caltech.edu mathog at seqaxp.bio.caltech.edu
Thu Feb 11 11:24:04 EST 1999


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
>VMS.)

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
command directly.

>  Corel DRAW
>refused to read the file as HPGL but read it okay as interpreted
>postscript.
>    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
$ plottest
$ hpgl colorpro font0.out
$ plottest/font=0
$ dir/size=all/since *.out

Directory USRDISK:[USERS.MATHOG]

FONT0.OUT;1               34/36
NOFONT0.OUT;1            102/104

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! 

Regards,

David Mathog
mathog at seqaxp.bio.caltech.edu
Manager, sequence analysis facility, biology division, Caltech 



More information about the Info-gcg mailing list

Send comments to us at biosci-help [At] net.bio.net