CL-PDF 0.45 (The Common Lisp PDF Library) 
Author Message
 CL-PDF 0.45 (The Common Lisp PDF Library)

13 February 2002: Release 0.45
   Added compression for CMUCL
   Compression is now optional
   Bugs corrected (ACL compress, with-* macros, etc)
   Improved arc functions, new example 6


CL-PDF is a Common Lisp PDF Library for generating PDF files.

You will find it here:

It is released with a BSD style license so it's usable for commercial work.

It it how it looks:

(pdf:with-document ()
    (pdf:with-page ()
      (let ((helvetica (make-instance 'pdf:font)))
 (pdf:add-fonts-to-page helvetica)
  (pdf:set-font helvetica 36.0)
  (pdf:move-text 100 800)
  (pdf:draw-text "cl-pdf: Example 1"))
 (pdf:translate 230 500)
 (loop repeat 101
       for i = 0.67 then (* i 1.045)
       do (pdf:in-text-mode
    (pdf:set-font helvetica i)
    (pdf:move-text (* i 3) 0)
    (pdf:draw-text "rotation"))
       (pdf:rotate 18))))
    (pdf:write-document file))

=> gives this > http://www.*-*-*.com/

Before writing it, I was rather impressed by the size of the PDF
documentation. After writing it I'm really impressed by Common Lisp. As you
will see, the library is quite small, yet really powerful.

So enjoy it and send me some great looking PDF files to put in a gallery on
the web site.

I also think that it's an opportunity to open several sub projects.

1) Finishing CL-PDF: Adding outlines,

2) Building utility layers on top of CL-PDF to turn it as a really powerful
drawing publication platform. I'm willing to coordinate and drive this
effort but I haven't the time to do it alone.

2.1-Basic Graphic primitives build on top of PDF : (Arc functions are
already done)

2.2- Higher level Graphic functions. ie Functions to draw : axis, lin/log
scales, barcodes etc.

2.3-Text layout functions (well not a full Tex but at least writing text in
a box for instance)

2.4-CL-TeX: Well here I'm kidding but not completely ;-)

3) CL-PDF Logo like layer for kids. I have teach Logo at a local school
where my sons go but I've found that Logo was great to start but a deceptive
one after a while. A CL-PDF Logo could lead to extremely good quality
drawings. I definitively think that's a way to explore.

Feedback welcomed.


Sun, 01 Aug 2004 23:30:46 GMT  
 [ 1 post ] 

 Relevant Pages 

1. CL-PDF the Common Lisp PDF Library 0.2

2. CL-PDF 0.41 (The Common Lisp PDF Library)

3. CL-PDF (Common Lisp PDF library) beta test

4. CL-PDF 0.3 (The Common Lisp PDF Library)

5. CL-PDF: need beta testers for cl-pdf 1.0

6. Common Lisp, the Langauge in PDF form?

7. Search some String in PDF with PDF.OCX

8. Appendix.pdf - Appendix.pdf (0/6)

9. extract info from pdf doc,PDF to XML, HTML

10. Acrobat 3.0 PDF Version of Tcl/Tk 8.0 Quick Reference - refbase.pdf (1/1)

11. Acrobat 3.0 PDF Version of Tcl/Tk 8.0 Quick Reference - refbase.pdf (0/1)

12. CL-AWK (Common Lisp AWK library)


Powered by phpBB® Forum Software