- Tgif (program)
Tgif (pronounced t-g-i-f) is an
Xlib based interactive 2-D drawing tool under X11 forUnix , available onLinux and most Unix andUnix-like platforms. It was developed since1990 and isfree software released under theQPL license.Tgif is one of the few free drawing programs that has not only a ruler but also a usable
grid .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:
*Although it might mention point sizes, it uses a unit that is 1/128 of an inch for point sizes. There is an option to display font sizes in points, the sizes are still subject to rounding to the nearest 1/128".
*Unlike modern drawing programs, Tgif usesspline curve s instead ofBézier curve s.
*Colour is not selected from a colour wheel or through controls that allows one to adjust colour values; instead, there is a named list with a short list of colours. To use a colour that is not in the list, one needs to add the colour to the list. This list gets saved with the drawing.
*Fonts that can be used are listed in a configuration file. To use fonts that are not on the list, one has to change the configuration file.
*Only fonts in theISO 8859-1 encoding, “square”CJK fonts, and symbol ordingbat fonts can be used.
*Rescaling can lead to ugly artifacts, which is probably due to the use of integer coordinates and roundoff errors.
*In addition, because Tgif uses Xlib, which predated modernUnicode support, Tgif does not support Unicode in any form.The Tgif file format
Tgif saves its drawings in a
Prolog -basedplain text file format. Partly because it is based on Prolog, there is little 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 inbatch mode without using a X display; however, this changed somewhere in the 4.1 versions. Currently, printing drawings requires running Tgif on an X display unless the drawing only usesTimes Roman ,Helvetica , Courier, and Symbol fonts.External links
* [http://bourbon.usc.edu:8001/tgif/index.html Tgif home page]
Wikimedia Foundation. 2010.