Added Features/Bug Fixes
- Supports additional fonts and text of any point size. Newly added
X defaults are: Tgif*FontSizes, Tgif*AdditionalFonts, Tgif*MsgFontSize,
Tgif*InitialFontSize, and Tgif*DefaultFontSize. Obsoleted X defaults are:
Tgif*InitialFontDPI, Tgif*MsgFontSizeIndex, and Tgif*InitialFontSizeIndex.
- Add a new X default, Tgif*FontNamePrefix to support certain obscure
fonts whose font names do not start with the '-' character. By default,
"-*" can be used as the first two characters of a font name. Using this
X default, it can be set to just "*" (may degrade performance when fonts
are being opened).
- Add interpolated open and closed splines. Since there are 3 kinds of
curved shapes now, the ToggleLineType() cycles through (instead of toggles
between) different shapes.
- Add ConvertIntSpline() to convert interpolated splines to regular splines.
- Clicking the mouse buttons in the Message Window while the <Cntrl> or
<Shift> key is held down scrolls the Message Window horizontally.
- Fix a bug which prints panic warning messages when saving files in text
mode while in pages other than the first page. Thanks to A. Illek
<email@example.com> for pointing out the problem.
- Fix a bug in initializing print reduction. Thanks to Dietrich Bartel
<firstname.lastname@example.org> for pointing out the problem.
- Fix a bug in printing 8-bit characters in a multipage document. Thanks
to Dietrich Bartel <email@example.com> for pointing out the
- Fix a bug in running with tvtwm. If tgif was iconified, panning in tvtwm
caused tgif to be uniconified. However, if this fix causes problems with
other window managers, please send bug reports! Thanks to Austin Hastings
<firstname.lastname@example.org> for pointing out the problem.
- Fix a bug in reading XPM3 files. Some XPM3 file failed to be imported.
- Fix a bug in dealing with object id's. If the same object was pasted
several times, they all had the same id's. Thanks to Xianwu Ma
<email@example.com.EDU.AU> for pointing out the problem.
- Fix a bug in executing the PrintOnePage() function. Sometimes the wrong
page get print out in TILED mode. Thanks to Deeptendu Majumder
<Deeptendu.Majumder@cad.gatech.edu> for pointing out the problem.
- Make Update() from the Edit Menu work with composite objects.
- Add a new X default, Tgif*StickyMenuSelection. When it is set to 'true',
if patterns/linewidth/linestyle/... of objects are changed using a
menu action, the pattern/linewidth/linestyle/... becomes the current
- Add functions InputPolyPts() and InputPolygonPts() for reading points
- Add EditAttrs() to edit attributes of an object in a fashion similar to
editing file attributes.
- Add PrintSelectedObjs() to print selected objects.
- Replace the mechanism of using the Tgif*Domain# X defaults and environment
variables to specify domain names and paths with a new X default,
Tgif*DomainPath#. Please see the man pages for details.
- Add the -DNO_STRSTR compile option to get around systems that do not have
strstr() (such as sequent).
- All header files are updated to include function prototypes. Checking for
function prototypes are automatically enabled if you are using an ANSI or
C++ compilor. Nevertheless, not all ANSI/C++ compilors are created equal.
A compile option, -D_NO_PROTO, is added to disable the checking of function
prototypes if there is a problem.
William Chia-Wei Cheng (firstname.lastname@example.org)