-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Icons for Evil states and flymake status are cropped #632
Comments
I fixed the displaying of the evil-state icons by setting the faces |
Can you please provide screenshots? |
@rainstormstudio Could you please take a look at this issue? I didn't observe this issue on my env. I guess it's related to the font and/or platform. All are mdicons. |
Check that you are not overriding any faces in your config (e.g. custom themes). I believe this is occurring when you have |
I agree. Generally bold weight causes this issue. @Dickby Please check. |
I have the same issue. Besides, doom-modeline-mode slows my emacs configuration terribly. |
Changing font weight didn't help. |
Please use |
How should I use |
Here's my doom-modeline configuration in init.el: (use-package nerd-icons)
;; Setting up doom-modeline
(use-package doom-modeline
:ensure t
:config
(if (facep 'mode-line-active)
(set-face-attribute 'mode-line-active nil :family "Symbols Nerd Fonts Mono"
:height 120 :weight 'normal) ; For 29+
(set-face-attribute 'mode-line nil :family "Symbols Nerd Fonts Mono"
:height 120 :weight 'normal))
(set-face-attribute 'mode-line-inactive nil :family "Symbols Nerd Fonts Mono"
:height 120 :weight 'normal)
(doom-modeline-mode 1))
;; doom themes
(use-package doom-themes
:init
(load-theme 'doom-city-lights t)) ;; loading the theme |
@sewe2000 What OS are you using? And I don't think it's a good idea to customize mode-line faces with nerd fonts.
(package-initialize)
(setq inhibit-compacting-font-caches t) ;; If you are using Windows
(require 'nerd-icons)
(require 'doom-modeline)
(doom-modeline-mode 1) |
I'm using Arch Linux. After starting via |
So I am closing this issue. If you still encounter the issue , please feel free to reopen it. |
Thanks for answering this @seagle0128 . I had the same issue in a different context. Fix was the same. I had installed Solarized Emacs. I couldn't figure out how to stop it from apply bold in the modeline, so I just disabled the theme. |
Thank you for the bug report
doom-modeline
related packages.the command
emacs -Q
.Bug description
As the title states, the icons are cropped similar to the clock face that was fixed.
The Evil state icon is not always cropped, often after changing the evil state it is displayed correctly, after redisplaying it cropped again most of the time.
Steps to reproduce
Use doom-modeline and evil/flymake.
Expected behavior
Icons should not be cropped.
OS
Linux
Emacs Version
29 (dev)
Emacs Configurations
No response
Error callstack
No response
Anything else
Under Emacs Versions i chose 29(dev), the version i use is really
GNU Emacs 30.0.50 of 2023-05-13
, but there is not an option for that.The text was updated successfully, but these errors were encountered: