libera/#commonlisp - IRC Chatlog
Search
5:40:51
splittist
https://snipboard.io/mCKR6c.jpg On the right a simple pdf displayed with Adobe Acrobat Reader. On the left the same pdf rendered to a png with common lisp.
5:42:21
splittist
edwlan[m]: pdfreader (which exists only on my laptop for the moment) with a vecto output device.
5:46:45
splittist
edwlan[m]: up to a point. It turns out to be tricky. https://snipboard.io/NoH4Eh.jpg
5:47:29
edwlan[m]
I thought of writing a library to parse PDFs myself, but gave up when I looked at the spec
5:54:24
splittist
slightly more lispy, and you can see where I'm cutting corners for the moment: https://snipboard.io/bVATOa.jpg
5:56:23
edwlan[m]
It looks like you have some sort of protocol for handling the stream of pdf objects?
8:44:28
|3b|
is it possible in cffi to define extra names for a foreign struct type? (defctype new old) complains about needing (:struct old), and (:struct new) doesn't work in either case
9:00:19
|3b|
sounds easier to just generate a copy of struct with new name then, since i'm generating the original definition already :/
11:26:20
pve
Hi, is there a standard way to change the name of a class? Like if I do (setf (find-class 'foo) (find-class 'bar)) and also want the name to change.
11:28:32
jackdaniel
first is the name that is used in the environment to address the class (like you mention above)
11:28:56
jackdaniel
and there is a name that the class maintains itself (like hayley mentioned above)
11:29:00
hayley
I wasn't expecting to have a writer for the name of a class, but I guess it can't hurt that much.
11:29:53
pve
hayley: wow, thanks.. I just looked at the page for class-name and couldn't find anything :)