From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 20539 invoked from network); 18 Nov 1998 12:37:18 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 18 Nov 1998 12:37:18 -0000 Received: from ltpmail.gsfc.nasa.gov (ltpmail.gsfc.nasa.gov [128.183.250.63]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id HAA06850 for ; Wed, 18 Nov 1998 07:37:18 -0500 Received: from curt.gsfc.nasa.gov (curt.gsfc.nasa.gov [128.183.160.7]) by ltpmail.gsfc.nasa.gov (8.8.8/8.8.8) with ESMTP id HAA12647 for ; Wed, 18 Nov 1998 07:37:17 -0500 (EST) From: Curt Tilmes Received: by curt.gsfc.nasa.gov (8.8.7) id HAA09661; Wed, 18 Nov 1998 07:37:17 -0500 Message-Id: <199811181237.HAA09661@curt.gsfc.nasa.gov> Subject: Re: Way, way off topic To: axp-list@redhat.com Date: Wed, 18 Nov 1998 07:37:17 -0500 (EST) X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit >There is a software package that might help you with that. It's called >'tgif' (I have it for i386 - ftp.x.org:/contrib/applications/tgif/ ) and >it can produce .eps files with 'variables' you can define later with text >editor or your own program. :) I've got a Perl Module for the "FIG" format I've been playing with -- haven't released it to the public yet, but it handles everything I need it to do. I use "xfig" to sketch out the "background" static stuff, then draw more objects on it through perl like this: ====================================================================== #!/usr/local/bin/perl -w use strict; use Image::Fig; my $fig = new Image::Fig(Filename => 'foo.fig'); # Load background $fig->set(Textsize => 24, Font => 'Courier'); $fig->Text(X => 1.5, Y => 1.5, String => 'some text'); $fig->Text(X => 1.5, Y => 2.5, Textsize => 12, Font => 'Helvetica', String => 'some more text'); $fig->write(Language => 'ps', Filename => 'output.ps'); ====================================================================== It has all the basic FIG objects, text, lines, circles, arrows, splines, colors, patterns, etc. Should be pretty easy to figure out for someone with basic Perl knowledge. Email me if anyone is interested in "Beta-testing" it. Curt