Tgif (program)

Tgif
Original authorWilliam Chia-Wei Cheng
Stable release
4.2.5 / June 28, 2011; 15 years ago (2011-06-28)
Written inC
Operating systemLinux, RISC OS, FreeBSD, NetBSD, Debian, SunOS
Available in2 languages
List of languages
English, Japanese
TypeGraphics software
LicenseQPL
Websitebourbon.usc.edu/tgif/

Tgif (pronounced t-g-i-f) is an Xlib-based interactive 2-D drawing tool (using vector graphics) under X11 on Linux and most UNIX platforms (including Mac OS X and cygwin on Windows). It was developed in 1990 and is free software released under the QPL license.

Quirks

Because Tgif was developed long before a standard way for drawing programs to work, one might find it unfamiliar to use in a number of ways:

The Tgif file format

Tgif saves drawings in a Prolog-based plain text file format. Because the program is based on Prolog,[citation needed] there isn't a lot of support from other programs for reading the Tgif file format.

Fonts are represented as PostScript font names. Originally, it was possible to print Tgif drawings in batch mode without using an X display. However, this feature changed somewhere in the 4.1 versions. Currently, in order to print drawings, the user would need to be running Tgif on an X display. This restriction cannot be applied if the drawing only uses Times Roman, Helvetica, Courier, and/or Symbol fonts.