|
|
Tgif - Version 4.2 Release Notes
|
Version 4.2
Announcement
|
I've just put the source code of tgif-4.2, licensed under the Q Public License,
at the following place for anonymous ftp:
http://bourbon.usc.edu/tgif/ftp/tgif/tgif-QPL-4.2.tar.gz (primary)
https://sourceforge.net/projects/tgif/files/tgif/4.2/tgif-QPL-4.2.tar.gz/download
[ if you have a Yahoo ID, then also at ]
http://groups.yahoo.com/group/tgif4-announce/files/tgif-QPL-4.2.tar.gz
(2,953,562 bytes, MD5: 5c6540d48ae1c6060af4285175e47f76)
The same tgif is also released under the old free-of-charge license and is
available from the following place for anonymous ftp:
http://bourbon.usc.edu/tgif/ftp/tgif/free-of-charge/tgif-4.2.tar.gz
(2,955,131 bytes, MD5: 85a9a0a8b5208357b32dc225b35aa6cf)
Below is a list of tgif resources:
Home Page: http://bourbon.usc.edu/tgif/
FAQ: http://bourbon.usc.edu/tgif/faq/
Current Release & Download: http://bourbon.usc.edu/tgif/download.html
Join to Mailing List: tgif4-announce-subscribe@yahoogroups.com
Mailing List: tgif4-announce@yahoogroups.com
Bug Reports Send To: bill.cheng@usc.edu
|
Main Features added in
Version 4.2
|
The main features added in this release are the following
(please see below more extra details):
- Export in the SVG (Scalable Vector Graphics) format.
- Add "configure" to the distribution so that on systems that does not have
"imake", a "Makefile" can be created by running "./configure".
- Add "structured splines" where cubic Bezier curves are used.
- Add support for user-specified rotation pivot.
- Add a new X default, Tgif.EnableTrueColorImages, so that on TrueColor
displays, X11 pixmap and JPEG objects can have all the colors.
- Add a new X default, Tgif.CustomPatternDir, so that tgif can replace the
default patterns for fills and pens with custom ones.
- Add Copy Double Byte (UTF8) String and Paste Double Byte (UTF8) String
under the Edit Menu.
- Add Choose Color under the Properties Menu to use a colorwheel to add
colors to the current drawing.
- Enable printing for X11 pixmap objects having too many colors.
- Integrate the Tangram Whiteboard feature into tgif on Linux machines.
|
Version 4.2 Added Features/Bug Fixes
|
Here's a summary of added features/bug fixes (some repeated from above).
- Fix bugs with copy and paste. Thanks to Dr. Ing. Dieter Jurzitza
<dieter.jurzitza at herrmannultraschall.com> for pointing out the bug
and helping to find the problem.
- Fix a bug with the pstoepsi() internal command so that tgif does not crash
if pbmtoxbm is not installed. Thanks to Yannick Morvan for pointing out
the bug.
- Fix a bug with pinned shape menu. The problem was that text cannot be
entered immediately after a shape is created, Thanks to Paul Lew for
pointing out the bug.
- Fix a crashing bug which happens when Tgif.DefFixedWidthFont is used and a
non-existent double-byte font is specified in the X resource file.
- Fix a bug with Tgif.DeleteCmdAsCut. It was not handled like the way it
said in the man pages.
- Incorporate the following patches from the Fedora RPM package
(tgif-4.1.45-5.fc8.src.rpm):
tgif-4.1.35-overthespot_fix.patch
tgif-4.1.44-xim-bad-focus.patch
tgif-4.1.45-fontcheck.patch
tgif-QPL-4.1.45-open-with-mode.patch
tgif.gif
tgif-4.1.41.ja.po (in po/ja)
tgif-4.1ja9.tar.gz (in po/ja)
tgif-wrapper.sh (in po/ja)
tgif.desktop (in po/ja)
tgif.spec (in po/ja)
The following patch is not applied since it did not look correct.
tgif-textcursor-a-urasim.patch
I don't understand why the most-significant-bit is cleared no matter what.
The original code in tgif right below this patch suppose to handle the
situation correctly.
- Fix a bug with composing international characters. In newer Linux
releases, UTF8 characters are used by default when international
characters are composed. These UTF8 characters are often multi-byte
characters so they needed to be converted to single-byte in order to
use X11 fonts. To get this to work, tgif loads "libidn" dynamically
and calls functions in "libidn" to do the conversion. If your system
does not have "libidn", you can use the -D_NO_IDNLIB compiler option
so that tgif will not attempt to load "libidn".
- Fix typos in "tgif.pl". Thanks to Carlo Segre <segre at iit.edu> for
pointingn out the bugs.
- Fix various mistakes in "tgif.man". Thanks to Shigeharu TAKENO
<shige at iee.niit.ac.jp> for the patch.
- Rename the Tgif.IconPixmap X default to Tgif.WMIconPixmap. If this is
not done, Xtoolkit will interpret this X default and display an error
message. Thanks to Dr. Ing. Dieter Jurzitza
<dieter.jurzitza at herrmannultraschall.com> for pointing out the
problem.
- Export in the SVG (Scalable Vector Graphics) format. This requires
"uniconvertor" (which is part of the "uniconvertor" package) and "pstoedit"
(which is part of the "pstoedit" package). One known limitation of
"uniconvertor" is that it cannot convert bitmap/pixmap patterns/objects.
- Add support for user-specified rotation pivot.
- Add support for "structured splines" where cubic Bezier curves are used.
The Tgif.SplineRubberband X default became obsolete.
- Add "eq4png.sym" to be used instead of "eq4xpm.sym" if "eq4xpm.sym"
gives you an all-black or all-white image. The problem was that there
is a bug in ImageMagick's "convert" when converting EPS file to a PPM file.
With "eq4png.sym", "convert" will be called to convert an EPS file to a
PNG file.
- Integrate the Tangram Whiteboard feature into tgif on Linux machines.
This feature used to be experimental (enabled if compiled with the
-D_TGIF_WB2 option). Now the authors of the Reliable IP-multicast Library
(distributed in the "rmcast" subdirectory of tgif) believe that "rmcast" is
mature enough, the interface to "rmcast" is now enabled by default (but not
activated unless you run tgif with the "-tgwb2" commandlinen optoin).
If you want to try this feature, you might want to make sure that your
network interface card has multicast turned on
(using "ifconfig <interface>
multicast") and your firewall is not blocking the multicast port used by
the whiteboard (default address is 225.1.2.3). You can try adding
"... -p udp -d 225.1.2.0/24 -s 127.0.0.1 -j ACCEPT" to
/etc/sysconfig/iptables.
The "libz" and "libpthread" libraries are required to interface with
the "rmcast" library. Therefore, "-lz -lpthread" must be used in
Tgif.tmpl. If your system does not have "libz", you can use the
-D_NO_LIBZ compiler option and remove "-lz" from Tgif.tmpl. If your
system does not have "libpthread", you can remove "-DPTHREAD" and
"-lpthread" from Tgif.tmpl.
Thanks to Jorge Allyson Azevedo <allyson at land.ufrj.br>
and other members
of the research group lead by Professor Edmundo de Souze e Silva
<edmundo at land.ufrj.br> at the Federal University of Rio de Janeiro.
- Add a new X default, Tgif.EnableTrueColorImages, so that on TrueColor
displays, X11 pixmap and JPEG objects can have all the colors. Internally,
tgif stores them as deflated (using zlib) PPM files. Therefore, this
feature requires zlib and pbmplus to be installed on your system.
- Add a new X default, Tgif.CustomPatternDir, so that tgif can replace the
default patterns for fills and pens with custom ones. Thanks to
Daniel Bauer <dsbauer at gmail.com> for the patch.
- Add a new X default, Tgif.ReportMissingFonts, so that tgif can report
missing fonts when it starts.
- Add new X defaults, Tgif.@@@ConvFromUTF8 and Tgif.@@@ConvToUTF8, where
@@@ is the name of a double-byte font, to convert between UTF8-encoded
strings and strings of the named double-byte font. The specified commands
are used in the new Copy and Paste Double Byte (UTF8) Strings operations
under the Edit Menu.
- Add a new X default, Tgif.DefaultLatin1FontCharEncoding, so that the 4
default fonts (Times, Courier, Helvetica, and NewCentury) can use character
encoding other than iso8859-1. Newer Linux systems seem to have only a
small number of font sizes available for these fonts. The scalable and
pre-installed version of these fonts are all iso10646-1 encoded. This is
best for creating new tgif files. There may be a slight compatibity
problem with existing tgif files because the iso10646-1 fonts seem to be
taller than their iso8859-1 counterparts.
- Add Tgif.tmpl-dragonfly (identical to Tgif.tmpl-netbsd) for DragonFly BSD.
- Enable printing for X11 pixmap objects having too many colors (as long as
it does not have transparent pixels).
- Add "configure" to the distribution so that on systems that does not have
"imake", a "Makefile" can be created by running "./configure". This is new
and has only been tested on a few platforms. If this does not work on
certain systems, please send an e-mail to the author. Thanks!
- Add a dependency in the tgif.spec file to declare that tgif depends on the
xorg-x11-fonts-ISO8859-1-75dpi, ghostscript, and netpbm-progs packages.
If you install tgif using an RPM file, you must have these three packages
installed before you can install tgif.
- Add the following internal commands:
random_permute_lines_in_attr(<attr_name>)
find_obj_names_on_all_pages(<result_attr>,<attr_name_value>)
|
|