[cl-pdf-devel] Can't add link in cl-typesetting

Jonathon McKitrick jcm at FreeBSD-uk.eu.org
Fri Jan 19 19:26:04 UTC 2007


Here's a snippet that generates the error.

Jonathon McKitrick
--
My other computer is your Windows box.
-------------- next part --------------
(defun test-link ()
  (with-document ()
    (let* ((content
	    (compile-text ()
	      (vspace 100)
	      (pdf:add-link 495 8 80 14 "2")
	      (paragraph
		  (:h-align :center :font *font* :font-size *font-size*)
		"Link here"))))
      (draw-pages content :margins '(72 88 72 72))
      (when pdf:*page* (finalize-page pdf:*page*))
      (pdf:write-document "web/data/test-link.pdf"))))


More information about the cl-pdf-devel mailing list