Fig Mix-up Fix-up

Micah Beck beck at svax.cs.cornell.edu
Wed Nov 23 10:58:54 AEST 1988


All versions of Fig 1.4 have a somewhat tricky problem with the use of
interpolated spline objects.  When drawing them on the screen, Fig reverses
the sense of forward and backward arrows.  Then, when they are printed
using f2p or f2ps, the same reversal is made.  Although the printed and screen
versions end up the same, the reversal messes up some Fig features such as
autoarrow which assume consistency between object types.

I am including two patches with this note: 

	1) fig.patch		patches the Fig program, F2p and F2ps
				works on Fig, Fig-FS, and XFig

	2) fig2tex.patch	patches the Fig2tex program

Fig2tex is part of the TransFig package.  The other TransFig translators
(fig2ps, fig2epic) seem to be correct.

When you apply these patches, the sense of arrows in any figures which use
interpolated splines will be reversed.  It is important to patch both Fig
and the backend translator, or else you will get inconsistent results.

The patches follow.  They are also available via anonymous FTP from
svax.cs.cornell.edu in directory ~ftp/pub/fig.

Micah Beck			beck at cs.cornell.edu
Cornell CS Department

[[ This patch is only 4893 bytes long, but still a little long for a
digest.  It is stored in the archives under "sun-source" as "fig1.4.patch".
It can be retrieved via anonymous FTP from the host "titan.rice.edu" or
via the archive server.  For more information about the archive server,
send a mail message containing the word "help" to the address
"archive-server at rice.edu".  --wnl ]]



More information about the Comp.sys.sun mailing list