joachifm / cl-webkit

A binding to WebKitGTK+ for Common Lisp
MIT License
53 stars 16 forks source link

Add favicons support. #47

Closed aartaka closed 3 years ago

aartaka commented 3 years ago

This is a small change that adds the WebKit-native favicons handling.

It can help with https://github.com/atlas-engineer/nyxt/issues/1092, but first we need to understand how to handle cairo_surface_t xD

Ambrevar commented 3 years ago

There is https://github.com/rpav/cl-cairo2, maybe this will be helpful.

Thanks for the patch!

aartaka commented 3 years ago

Well, default cairo package that comes with cl-cffi-gtk has cairo_surface_t-related functions. It's just unclear to me when and how to use that :)

Ambrevar commented 3 years ago

I can give it a try, I've used Cairo before. Cairo is actually very straightforward to use, you can check out the documentation on their website I suppose: https://cairographics.org/