abougouffa / minemacs

MinEmacs: an Emacs configuration framework for daily use
https://abougouffa.github.io/minemacs/
MIT License
140 stars 17 forks source link

why this icon can not show #112

Closed donneyluck closed 11 months ago

donneyluck commented 11 months ago

emacs 29.1 image

Hi, sorry to bother you. I know this question may be simple, but I have been trying for a long time. Why can’t this character be displayed normally?

abougouffa commented 11 months ago

Which font you are using?

donneyluck commented 11 months ago

image i use this one jetbrain mono font

abougouffa commented 11 months ago

Maybe it doesn't support this Unicode glyph. Try to change the font to one of a Nerd Fonts patched font.

abougouffa commented 11 months ago

Which OS you are using?

donneyluck commented 11 months ago

Which OS you are using?

manjaro i3wm

donneyluck commented 11 months ago

image i test the font ttf-iosevka-fixed-curly-slab but still not work

emacs 29.1 /configure --with-native-compilation=aot --with-tree-sitter

donneyluck commented 11 months ago
  1. The unicode-font package was not successfully installed. The ensure t field may be required
  2. +unicode-fonts-setup not executed correctly when minemacs-after-startup
    then i try M-x +unicode-fonts-setup got some error but still not show
abougouffa commented 11 months ago

Hello @donneyluck ,

The unicode-fonts configuration is now obsolete, I'm not using it in my machine and the font shows fine. It can be interesting for non-latin languages, but in my daily use, I didn't find any usefulness for it.

I've changed the glyph used to replace the project- prefix, so it should display correctly now.

donneyluck commented 11 months ago

ok, it can be displayed normally now, but I want to find out why some characters cannot be displayed. Is it supported by my font?

abougouffa commented 11 months ago

I don't know the exact reason, some fonts do not support additional Unicode glyphs, and if you are using unicode-fonts, you need to install extra fonts for it to work correctly (as specified in the unicode-fonts project README).

I'm using Emacs 29.1 on a Manjaro Linux machine, with the "Iosevka Fixed Curly Slab" font and without the unicode-fonts package, and all is working fine.

donneyluck commented 11 months ago

ok I understand. There should still be some fonts missing. Thank you for your help.