I'm using Spacemacs on macOS. I installed Hack Front and configged it in user-config of spacemacs:

(set-face-attribute 'default nil :family "Hack Nerd Font")

When I open the Emacs GUI Emacs For Mac OS X, the start page like this:

enter image description here

When I open emacs in terminal, the start page like this:

enter image description here

It seems the set-face-attribute config doesn't work or is there another font necessary for the start window?

  • Your question is not clear: are you saying that the GUI image shows the start page as you expect and the terminal image differs from your expectation? Or are you saying that both are wrong (perhaps in different ways)? Saying that something "does not work" is not helpful: say instead what you expect and how the actual result differs from your expectation.
    – NickD
    Jun 17, 2022 at 1:38
  • @NickD Use GUI start got the font issue. It doesn't matter in terminal. Jun 17, 2022 at 2:00
  • Then why did you add the second image?
    – NickD
    Jun 17, 2022 at 5:15

2 Answers 2


Try M-x and run all-the-icons-install-fonts and see if it resolves your issue.

  • It resolves the issue. Thank you! Jun 17, 2022 at 3:02

If can't show right font icons in Doom Emacs, run

M-x nerd-icons-install-fonts

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.