svg support
Hi,
Part of xnotify beauty is its simplicity, and I am unsure if supporting svg icons works against that, but I have noticed that a lot of common icon "themes" are using svgs. One nice thing about svg is they can easily be recolored on the fly.
Just a suggestion.
Hi,
Supporting svg files would require depend on more libraries; and, regarding svg, the number of libraries that are complete, simple and with few dependencies is almost zero. Cairo and librsvg are huge, depend on other stuff (and, in the case of librsvg, depends even on rust). There is a simple library called nanosvg, but I do not have experience with it, and I do not know if it has considerable support for the svg specification.
I'll do some experiments with nanosvg and, depending on the results, I may add support for svg via nanosvg in the future.
But for now, the best solution is to convert your svg images to png.
I missed this notification, sorry.
Yeah I suspected the only option, or default one would be cairo which I totally understand not wanting to add as a dependency. I never heard of nanosvg, looks promising at least.
A recent version of imlib2 added support to svg images via librsvg. Thus xnotify now supports svg too.
Nice! Thanks for the heads up.