Skip to content

Issue with file-icons #326

Description

@derinsh0

For some reason, file-icons font will not show sometimes. xE296 is the icon for emacs. In emacs-lisp-mode it will show up fine. In spacemacs home-buffer it will not. In apropos and some assorted help buffers it will not.

There are two emacs icons for some reason, one called "elisp" the other "emacs" with identical hex. When doing describe-char on either of them, on the second line the first character is unrendered but the character in (displayed as ..) is visible.


             position: 10481 of 14343 (73%), column: 0
             character:  (displayed as ) (codepoint 59686, #o164446, #xe926)
             charset: unicode (Unicode (ISO10646))
             code point in charset: 0xE926
             syntax: w 	which means: word
             category: L:Strong L2R
             to input: type "C-x 8 RET e926"
          buffer code: #xEE #xA4 #xA6
            file code: #xEE #xA4 #xA6 (encoded by coding system utf-8)
              display: by this font (glyph code):
    harfbuzz:-outline-file-icons-regular-normal-normal-*-41-*-*-*-p-*-iso8859-1 (#xA3)

Character code properties: customize what to show
  general-category: Co (Other, Private Use)
  decomposition: (59686) ('')

There are text properties here:
  display              (raise -0.24)
  font-lock-face       (:family "file-icons" :height 2.4)
  fontified            t
  rear-nonsticky       t

In ielm, (all-the-icons-insert-icons-for 'fileicon) will give you a list of working icons in your input field, but when you send it for evaluation the printed list has many non-working icons.

all-the-icons-icon-for-file and all-the-icons-icon-for-mode will return unrendered icons as well in the minibuffer or ielm.

I have taken screenshots of ielm, first as input to repl, then as a returned output.

input
output

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions