sebastiencs / icons-in-terminal

Use any fonts in the terminal without replacing or patching

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Most icons do not show

idnsunset opened this issue · comments

After installation, just got a few icons displayed in the terminal.

2021-03-20-021439_1259x677_scrot
2021-03-20-013335_1276x698_scrot

Got an error during the installation, but seems not related...:

Fontconfig error: "/home/idnsunset/.config/fontconfig/conf.d/30-icons.conf", line 8: no element found

same issue no error but most of the icons are showing up as block

Same error on wsl2

same issue on WSL2 --> zsh

image

Same issue here. Using WSL2 with zsh.

image

any updates on this ? I still have this same issue on WSL2@win11x64

This project relies on font fallback mechanism for it to work, it seems that your application is not using the icons-in-terminal font, hence the tofu characters.

As a general advice:

  1. Have you follow the instruction in README to edit the xml config file?
    Your error message seems to indicate you havent done it.
  2. Does your OS/application supports font fallback mechanism automatically?
    hint: yours don't, hence the tofu chars.
  3. Can your application be configured to use another font map for certain code points?
    e.g. kitty supports symbol_map config for this use.
    I suggest just mapping the range U+E000-U+EEA0 will be fine.

Another thing:
The bash script depends on bash version >= 4.2:
See new features: https://lists.gnu.org/archive/html/info-gnu/2011-02/msg00012.html#:%7E:text=UXXXXXXXX%20escape%20sequences