Search
16:24:42
Shinmera
Okey, got it implemented
17:35:09
Shinmera
Requesting specific fonts seems to work fine and translate fine
17:35:17
Shinmera
but listing fonts crashes after two fonts or so
17:35:26
Shinmera
crash happens within translation
18:13:08
Shinmera
|3b|: Updating SBCL fixed the crash, yay.
18:16:27
Shinmera
still crashing on OS X though and I have no idea why
18:17:07
Shinmera
Again, second pair of eyes appreciated: https://github.com/Shinmera/font-discovery/blob/master/macos.lisp#L145
18:17:08
Colleen
github.com/Shinmera/font-di... Website (HTML), Title: font-discovery/macos.lisp at master · Shinmera/font-discovery · GitHub
18:18:45
Shinmera
Always fails in translate-descriptor -> with-attribute (traits triats-attribute) -> font-descriptor-copy-attribute.
18:18:45
Shinmera
Debugger shows barely anything of use.
18:19:09
Shinmera
Even has a fun :INVALID-VALUE-FOR-UNESCAPED-REGISTER-STORAGE as the value for a local in the last lisp frame
18:21:50
Shinmera
don't know which actual copy fails, though
18:22:03
Shinmera
commenting out the make-instance 'font completely makes it no longer fail...
18:24:04
Shinmera
seems like accessing any attribute at all crashes stuff.
18:24:29
Shinmera
... on second listing.
18:26:04
Shinmera
okey, apparently I'm only supposed to release the array I get back, not all the instances inside the array
18:26:46
Shinmera
accessing the traits still crashes though.
18:28:54
Shinmera
okey, now everything works.
18:29:02
Shinmera
except for translating the dumbass float values of course.
19:47:06
Shinmera
Okey, all done. https://shinmera.github.io/font-discovery/
19:47:06
Colleen
shinmera.github.io/font-dis... Website (HTML), Title: Font Discovery
19:47:14
Shinmera
Another piece of the gigantic UI puzzle solved.