comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Writing PDF files
Date: Tue, 18 Oct 2011 09:17:22 +0100
Date: 2011-10-18T09:17:22+01:00	[thread overview]
Message-ID: <m2ehyasoh9.fsf@pushface.org> (raw)
In-Reply-To: CAC26973.FF66%yaldnif.w@blueyonder.co.uk

Bill Findlay <yaldnif.w@blueyonder.co.uk> writes:

> Thanks to everyone who has offered help with this.
>
> KDF9 is a historic British computer from 50 years ago:
>
>    <http://www.findlayw.plus.com/KDF9>
>
> I have written a KDF9 emulator in Ada 2005 that runs on MacOS X, Linux and
> Windows, and am now hoping to complete the set of KDF9 I/O devices it
> supports.  At option a Calcomp graph plotter could be fitted in place of a
> tape punch.  It interpreted 6-bit commands that directed it to move one step
> left/right and/or back/forward, with the pen raised or lowered.  That's it.
>
> All I need is the ability to create a line drawing specified by a series of
> such commands, so very basic vector drawing.  It would be good if users
> could see the plot immediately on completion, just by opening the plot file.
>
> PDF would seem to offer this convenience.  Thanks for the pointers to other
> formats that might do the job.  I'm not going to plunge into powerful
> graphics frameworks, partly to preserve portability and ease of building,
> and partly because life is too short; but some of the other suggestions
> might meet my needs.  Time to put my thinking cap on!

I see no one has suggested plplot.

I'm looking at it with Jerry from the POV of debugging on Mac OS X, and
just built the first example; the plotting options as installed here are

 < 1> xwin       X-Window (Xlib)
 < 2> tk         Tcl/TK Window
 < 3> ps         PostScript File (monochrome)
 < 4> psc        PostScript File (color)
 < 5> xfig       Fig file
 < 6> null       Null device
 < 7> tkwin      New tk driver
 < 8> mem        User-supplied memory device
 < 9> aqt        AquaTerm (Mac OS X)
 <10> svg        Scalable Vector Graphics (SVG 1.1)

and at first glance 1, 9 and 10 certainly work, 2 and 7 don't
AFAICT. Note 9!

On the other hand, I don't know whether plplot works on Windows ..



  parent reply	other threads:[~2011-10-18  8:17 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-17  0:04 Writing PDF files Bill Findlay
2011-10-17  0:27 ` Robin Vowels
2011-10-17  2:21   ` Bill Findlay
2014-04-16  7:50     ` robin.vowels
2011-10-17  2:18 ` RasikaSrinivasan@gmail.com
2011-10-17  2:31   ` Bill Findlay
2011-10-17  8:44     ` Gautier write-only
2011-10-17  7:36 ` Dmitry A. Kazakov
2011-10-17  8:31 ` Manuel Collado
2011-10-17 17:26 ` Yannick Duchêne (Hibou57)
2011-10-17 22:00 ` Randy Brukardt
2011-10-17 22:23   ` Bill Findlay
2011-10-17 23:00     ` Shark8
2011-10-18  8:17     ` Simon Wright [this message]
2011-10-18 10:03       ` Yannick Duchêne (Hibou57)
2011-10-18 10:14         ` Yannick Duchêne (Hibou57)
2011-10-18 11:24           ` Simon Wright
2011-10-18 12:07             ` Yannick Duchêne (Hibou57)
2011-10-18 11:46           ` Jeffrey Creem
2011-10-18 14:03             ` Yannick Duchêne (Hibou57)
2011-10-20 23:22       ` Bill Findlay
2011-10-21  6:03         ` Simon Wright
2011-10-21  7:22           ` Yannick Duchêne (Hibou57)
2011-10-21  7:31             ` Ludovic Brenta
2011-10-21  9:43               ` Yannick Duchêne (Hibou57)
2014-04-10 13:46 ` gautier_niouzes
2014-04-10 14:59   ` J-P. Rosen
2014-04-10 19:07     ` gautier_niouzes
2014-04-10 20:33       ` Dmitry A. Kazakov
2014-04-13  8:46       ` gautier_niouzes
2014-04-10 21:57     ` Bill Findlay
2014-04-10 22:52     ` Randy Brukardt
2014-04-11  4:41       ` Vadim Godunko
2014-04-10 17:03   ` Natasha Kerensikova
2014-04-10 18:59     ` gautier_niouzes
2014-04-10 21:47   ` Bill Findlay
2014-04-10 23:27     ` Jeffrey Carter
2014-04-11 19:16       ` Bill Findlay
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox