Re: cl-pdf quicklisp configuration
Good
point. I fixed that and pushed it to the GitHub repo.
In case
you don't want to wait for the quicklisp distribution here is
what I've put in place of the (push :use-no-zlib
*features*)
(when
(notany #'(lambda (feature) (find feature *features*))
'(:use-salza2-zlib :use-salza-zlib
:use-uffi-zlib :use-abcl-zlib :use-no-zlib))
(push :use-no-zlib *features*))
Marc
On 9/9/19 7:18 AM, Erik Ronström wrote:
Hi,
I’ve been using cl-pdf for a while, and think it works very good! But I’ve been wondering why the resulting PDF files are so much bigger compared to other PDF:s with the same content – until I took a closer look to the source and found that zlib compression can be switched on using *features*! Awesome!
Now my only issue is that cl-pdf.asd pushes :use-no-zlib to *features* by default, so even if I push e.g. :use-salza2-zlib to *features* before loading cl-pdf, I can’t get it to work properly without monkey-patching cl-pdf.asd.
My question: is there a better way, something I’ve missed? Or is it impossible to solve without modifying cl-pdf.asd?
(Of course changing cl-pdf.asd is not a big thing, but I’m also interested in this question on a general level)
Erik
_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html