Bugs Fixed

# Bugs Fixed in xfig 3.2.1

(Released Jul 1, 1998)

Line width is scaled with object scaling now

Arrowheads are scaled when scaling lines, splines and arcs now

Screen_res was incorrect for drawing tablets

When scaling a compound by using the "move point" edit mode, undoing the scale didn't work properly because of rounding problems. A proper "undo" is now performed.

Note: the -inverse (reverse video) option has been removed because the same effect can be achieved using "-cbg black -cfg white"

Made the export_panel*mask*string same as browse_panel*mask*string

User-defined colors weren't being merged properly in compound objects

If Paste was performed while opening a compound object, some objects outside the opened compound object may have been lost and xfig may have crashed with a segfault later.

ARC-BOX corner radius scaled incorrectly when box was scaled

ARC-BOX corner radius is now only scaled with Scale operation, not move point

Busy cursor wasn't being reset when reading some figures

Refreshing the screen while creating a Fig object (e.g. POLYLINE) refreshes that object correctly now

Updated pointer for hp2xx and additional pointer to Fig related apps in FIGAPPS file. From Ian MacPhedran

Declaration of clrtab array incorrect in f_neuclrtab.h - caused problems on Digital Unix. From Ian MacPhedran

When loading a figure that changes the canvas orientation (Portrait/ Landscape), the file modified flag was not cleared

When it can't save to a file, xfig now rings the bell and puts the error message in the *popup* message window

Trying to use the external image editor in the edit panel for an imported picture failed if the file was compressed

When switching to a private colormap because of importing a picture, xfig is better about matching the colormap of the popup edit panel

Objects not aligned correctly in large drawings due to bad choice of starting min/max values (use INT_MIN and INT_MAX now)

When running "xfig -right" (mode/edit panel on right-side) the popup balloons were too long, never showed the message and popped up and down because they appeared under the mouse.

Cleanup of many, many function declarations (mostly type void)

Inadvertantly used incorrect font for Avant-Garde

When undo'ing load figure, any objects using user-defined colors may not have been displayed correctly until doing a "Redraw". Also, non-existant user colors may have stayed in pen and/or fill color indicators.

Bug in size of imported Picture when clicking on "Use orig size" - image was slightly too small. Also bug when clicking "Use orig size" in metric mode - even worse scaling.

Code to check for bad font numbers when reading Fig file was in wrong place

Bug in pcx decoder - odd-width images caused seg fault. This would also affect importing eps files since xfig uses pcx output from gs.

Another bug in pcx decoder - wasn't allocating correct amount of memory for the image buffer. This would of course, cause segfaults.

Bug in "Fit-to-page" in metric mode fixed from Hans Werner Strube (strube@swing.physik3.gwdg.de)

Cleaned up mode button icons to fit within button area better

An old feature to prevent an expose event on the canvas from erasing a newly imported image while still in the picture editor is no longer needed and prevented screen refreshing

If screen capture is attempted with no Fig filename (e.g. when starting xfig with no file name) seg fault occurred. from T. Sato

Small correction to I18N draw_string routine from T. Sato

Not all calls to fig2dev had I18N localization options passed from T. Sato

If you create a new figure (no name yet) and try to export before saving, xfig asked you if you wanted to save the figure first. If you said yes, it would popup the file panel to choose a name and save. After that though, it wouldn't do the export as you first requested. This has been fixed.

Added "&& !defined(__GLIBC__)" to declarations of random and srandom for systems with glibc

Imported eps files containing "initgraphics" commands weren't working correctly. This has been fixed by defining initgraphics and initmatrix as {}.

Yet another #if added to the never-ending list. This one is for sys_errlist. FreeBSD systems already define it in stdio.h.

Inconsistent declaration uncompress_file (static)

Missing braces around initializers for headers structure for imported bitmap file types

Some unused variables and procedures removed

Incorrect casts in e_align.c

Bug in figure size in export and print panels - bounding variable was clobbered soon after being calculated

Allowed saving over a read-only file if file panel wasn't created

Various problems with New figure->Export->File popup sequence either segfaulting or permanently disabling xfig buttons and canvas fixed.

GC wasn't properly setup for dragging rectangle on screen for screen capture for some systems.

Very small arcs "blew up" making very large arcs on screen

Bug in draw_arc() - would free unallocated memory if arc was small

Imakefile had w_icons.o in XFIGSRC instead of w_icons.c

Fixed annoying warning about StartScroll action not found on Linux systems that use the "modified" Xaw3d widget set (ARROW_SCROLLBAR defined, which makes the scrollbars look like the Windows scrollbars)

Mouse indicator was leaving bits of old text behind for long messages

Removed call to rint() because gcc can't find it on HP-UX

Move_point_selected() called set_mousefun() with too few args

Variable "text_translations" multiply defined

Fixed some bugs relating to updating dash-length/dot-gap in indicator panel from dashed/dotted lines

Bug fixed where update indicator (red box) didn't always toggle correctly

Undo of spline<->line conversion and box<->arc_box fixed

For some reason, the Solaris version of XtAppCreateShell references an argument beyond what the users specifies in the command line, causing a seg fault. Fixed by Martin Pahl (pahl@tnt.uni-hannover.de)

Renamed suffix for AutoCad Slide export to ".sld" (was ".acad")

Needed #ifdef USE_JPEG in w_export.c for compiling without JPEG support

Transparent color was not passed to fig2dev for GIF output (new -t option in fig2dev do do this)

Inappropriate arguments to sqrt() in spline calculations (not double)

The radius value displayed in the message window was incorrect when drawing ellipses

Both radii are reported now when drawing ellipses

Now checks whether Fig file is read-only before renaming to .bak and allowing user to save. (after second save, original, read-only file would be gone)

New #ifdef for glibc which has sys_errlist and random() defined

Conflict with definition M_PI (3.14159....) on RedHat systems fixed

Interpolated splines in Fig version 2.1 files were read incorrectly fixed by Onno Roep (O.A.Roep@twi.tudelft.nl)

If you had a line with arrowhead(s) and deleted all the points to make it a single point object, then undid the last delete point, the arrowhead(s) didn't reappear. This has been fixed.

Less multiple redrawing of figure when starting xfig with filename and it needs to change orientation (portrait/landscape)

"Ledger" paper size removed from list of paper sizes. It is really "Tabloid" size in landscape mode.

Undo of align to canvas wasn't refreshing display

[ Contents | Introduction | Credits ]