XForms: Strange bug(?) in xforms v0.81/0.86

Andras Petri (aspetri@informatik.uni-erlangen.de)
Fri, 1 Aug 1997 17:53:08 +0200 (MET DST)

To subscribers of the xforms list from Andras Petri <aspetri@informatik.uni-erlangen.de> :

Dear Sirs,

I think I discovered a bug in xforms. It manifested itself both in fdesign
and in the applications linked against the library.

The bug appears when I tried to use the "symbol" feature of box labels
with various rotation angles. It is mentioned in Section 3.12 of the
manual. The manual states that a 0 (zero) character, followed by a
three-digit decimal number <n>, can be put between a @ and a symbol
descriptor string, and it causes the symbol to appear rotated at an angle
of <n> degrees. "E.g. to draw an arrow at an angle of 30 degrees, use
label @0030->" (quotation from the manual).

I use the xforms library for a project that involves visualization of flow
charts. The flowchart I have contains arrows with various directions. I
discovered that only those arrows (lines, etc.) were displayed correctly
that had an angle of the multiply of 45 degrees; e.g. labels like @0000->,
@0045>, @0090line etc. were OK, but other angle values, like @0030->,
@0010line etc. did not work.

If I used such values, the symbols showed up without rotation, and
mysterious messages: "Symbol: rotating <n> to be written" appeared on the
standard error. It happened when I changed the label string in fdesign,
and also when I started the compiled application.

I tried both SunOS 4.1.x and DEC OSF/1 3.x versions of fdesign, both
version 0.81 and 0.86, and all versions produced the same result.

I would like to know if someone else had the same experience.

Yours sincerely,

Andrew Petry, jr.

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/