Closed noblekid96 closed 6 months ago
The error seems to have crept in a1e2607, which is after the version 0.3 tagged on elpa.
Same here. But (insert-image (svg-lib-tag "[vscode:symbol-event]"))
is working. It is also the case for you?
This one also works:
(insert-image (svg-lib-icon "symbol-event" 'font-lock-variable-name-face
:collection "vscode"
:padding 0 :stroke 2 :margin 0 :radius 0
:height 1.0 :scale 1.0))
so my new code is wrong when I read the style
Yes your 2nd works for me as well on the latest master, must be a style issue.
I recently upgraded svg-lib to 0.3 and noticed that vscode collection svgs are not rendered. I use svg-lib in conjunction with kind-icon and after some troubleshooting with the author of kind-icon we traced the issue to svg-lib.
Tried running the following snippet with emacs
I expected this result
but got this instead (no icon rendered).
I'm using Emacs 29.1 on MacOS (emacs-mac port) with Doom Emacs framework
I also checked that the vscode icons are in the right directory
Let me know if there is anything I can do to help troubleshoot
jdtsmith/kind-icon#42