Open AnweshGangula opened 5 days ago
Interesting!
If you use describe-char
to check, you will find out no font specified on Windows, so the icons are unable to display correctly. Actually (insert (concat (nerd-icons-faicon "nf-fae-palette_color") " "))
will display the icons.
Yeah, this is working fine when I use insert
, But I need to be able to se concat
so that I can call (setq colorful-prefix-string (concat (nerd-icons-faicon "nf-fae-palette_color") " "))
in my init file to customize the colorful-mode
face-attribute.
@AnweshGangula - Maybe I'm missing the point, but this is what I get on Windows:
This is with Emacs 30.0.50 (cb67c34bcf) built with MSYS2/MinGW.
@dr-scsi, yes it's working fine when I use insert
, but if I use just cocat
without insert
in a codeblock and execute it, I don't see the icon (as mentioned this screenshot above
I'm using the below command to create a string with color-pallete icon which I want to use along with colorful-mode. But I'm not able to use the
nerd-icons-faicon
function withconcat
. It works fine with theinsert
function but not withconcat
.I posted about this in colorful-mode as well - which you can find here more details.
But as mentioned in the issue mentioned above:
Problem
I can see that when I execute this command (
C-c C-c
) withinsert
I get the icon properly, but when I execute withconcat
the result is not rendered properlyusing
result
using
concat
Additional details
I also asked for what the issue could be in this superuser post and found that the box that is currently being rendered with
concat
is in the Private Use Area. Does this mean this particular icon needs a specific font family?