[comp.sources.bugs] xfig -- problem entering text

tpc@leibniz.UUCP (Tom Chmara) (08/26/88)

xfig, distributed in comp.sources.x, looks wonderful, and seems quite
easy to use right-out-of-the-box.  Best of all, the price is right :-).
I don't want to gripe, but at the same time don't want to hunt this
down if someone else has fixed it...

Text can only be drawn at the beginning of a session.  Retrieval
of saved files, saving files, or entering image will stop xfig from
accepting text.  By this, I mean that the "T" button is reverse-video,
the "text input from keyboard" string appears in the dialog box,
but nothing typed at the keyboard appears on the screen (nor on
saved images).

I'm running SunOS4.0 on a Sun 3/60, for what it's worth.  I compiled
with -f68881 in addition to the options specified in the distributed
makefile.

	Thanks...
		---tpc---

rpd@cs.cmu.edu (Richard Draves) (09/19/88)

I found a bug (I think) in reading text objects.  In the function
read_textobject, t->type should come before t->font.  I believe the version of
xfig I am using (found on expo) is of a more recent vintage than the
comp.sources.x posting.  I haven't seen the text problems you describe.

Rich