comp.lang.ada
 help / color / mirror / Atom feed
From: Bill Findlay <yaldnif.w@blueyonder.co.uk>
Subject: Re: Writing PDF files
Date: Mon, 17 Oct 2011 03:31:44 +0100
Date: 2011-10-17T03:31:44+01:00	[thread overview]
Message-ID: <CAC15220.FDF8%yaldnif.w@blueyonder.co.uk> (raw)
In-Reply-To: f571bb24-b0a9-44f7-855b-adffe7cbddb8@o19g2000vbk.googlegroups.com

On 17/10/2011 03:18, in article
f571bb24-b0a9-44f7-855b-adffe7cbddb8@o19g2000vbk.googlegroups.com,
"RasikaSrinivasan@gmail.com" <rasikasrinivasan@gmail.com> wrote:

> On Oct 16, 8:04�pm, Bill Findlay <yaldni...@blueyonder.co.uk> wrote:
>> I am writing a KDF9 emulator in Ada 2005, and have reached the stage of
>> simulating a graph-plotter device. �I'm hoping to do this by converting
>> KDF9 plot commands into a PDF file, but am having difficulty finding a
>> useful source of info on what a minimal PDF graphics file should contain.
>> 
>> Is there a (preferably, simple) Ada library for this purpose, by any chance?
>> 
>> BTW I'm using MacOS X Lion.
> 
> Search for a library Haru which helps you create pdf files. It does
> support adding graphics files. might give you adequate info. I have
> built an ada interface to this as well.

Thanks for the suggestion.

I am thinking in these terms because we did exactly this to let beginners
produce graphical output back in 1996, which was when we started teaching
Ada 95 (with GNAT running on Sun servers). My then colleague Satnam Singh
wrote a small Ada library, more less from scratch, that turned simple
graphical commands into PDF.  When we started using PCs to deliver the lab,
we went over to AdaGIDE and Satnam's code was forgotten.

I'd be happy to write my own similar package, if I could find PDF
documentation that did not threaten to make my head explode.
Existing Ada code (or even C, at a pinch) might serve that purpose.

-- 
Bill Findlay
with blueyonder.co.uk;
use  surname & forename;




  reply	other threads:[~2011-10-17  2:31 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 [this message]
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
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