Comments (14)
I think it's related to Fira Code and your nerd fonts. I am using "Cascadia Code" and "Symbol Nerd Fonts". What nerd fonts are you using?
vspc
is a half-width space, and is used between a group of an icon and texts.
The screenshot is below
My suggestion is:
- Try
emacs -Q
withdoom-modeline
and your font configurations. - Try other fonts, including default font and nerd font.
from doom-modeline.
I'm using Fira Code
. I have :ui unicode
enabled in Doom, and Symbols Nerd Font
installed and enabled.
The issue occurs with Cascadia Code and JetBrains Mono, too.
from doom-modeline.
Here is the appearance with emacs -Q
:
I added MELPA, installed doom-modeline
, set the font to FiraCode Nerd Font
, and enabled doom-modeline-mode
. The gaps between the icons and the text are still uncomfortably small.
from doom-modeline.
I tested on macOS, Windows and Ubuntu, and no issues were observed. I think it may be related to your WM?
from doom-modeline.
I'm running Arch Linux rolling, with KDE 5.27.10.
The issue exists on my laptop too, also Arch, with sway (have not checked version)
from doom-modeline.
Well, I didn't test with KDE. I'm sure there is no issue with GTK, according to my tests.
from doom-modeline.
On my laptop, I'm using the emacs-wayland
package, which has PGTK enabled. I don't think this is toolkit-specific.
Out of curiosity, how does it look for you if you change all vspc
occurrences to just spc
?
from doom-modeline.
No idea why vspc is so narrow in your env. Can you please try this?
(defsubst doom-modeline-vspc ()
"Thin whitespace."
(propertize " " 'face 'variable-pitch))
from doom-modeline.
Changing that did nothing. Replacing all occurrences of doom-modeline-vspc
with doom-modeline-spc
does this:
I have no clue why changing what vspc
is doesn't do anything, but not using it does.
from doom-modeline.
Re-evaluate doom-modeline-segment.el
or compile doom-modeline-core.el
and restart Emacs after changing.
Are you sure the both are spc?
Try:
(defsubst doom-modeline-vspc ()
"Thin whitespace."
(propertize " " 'face 'variable-pitch))
from doom-modeline.
Both are spc, yes. This is known behavior of nerd-icons -- if you put a space after an icon, it will become wider into that space, but still leaving a slight space.
from doom-modeline.
Both are spc, yes. This is known behavior of nerd-icons -- if you put a space after an icon, it will become wider into that space, but still leaving a slight space.
Obviously the behavior is different in my env.
from doom-modeline.
That's fascinating. The only possibly explanation I can come up with is that something about the fontconfig on Arch is different from your Ubuntu install.
from doom-modeline.
I've just realized what's going on. It's Symbols Nerd Font
vs Symbols Nerd Font Mono
.
I didn't have the mono variant installed. Going to install it and see the behavior.
E: That was indeed it. Might be worth a note somewhere in the FAQ or something, to remind people that they should have the mono variant of Symbols Nerd Font installed.
from doom-modeline.
Related Issues (20)
- [Feature Request] Add support for `jupyter-repl-interaction-mode-line`
- [Bug] Emacs 29.1 - Warning (comp): doom-modeline-core.el:1098:37: Warning: reference to free variable ‘mode-line-right-align-edge’ HOT 4
- display number of goals in Coq mode HOT 11
- [Feature Request] Feed path through `abbreviate-file-name` HOT 2
- [Bug] buffer-state-icon display error HOT 1
- [Bug] need update for latest jsonrpc accessor change: `jsonrpc--request-continuations` HOT 9
- [Feature Request] Support for Flycheck-status-emoji HOT 4
- Error using with latest eglot / jsonrpc packages HOT 4
- Can the 'which-function' be disabled? HOT 2
- [Bug] buffer-position formatting won't respect flags in format specifier for column HOT 4
- [Bug] Lightbulb symbol 01F4A1 not displaying in mode line HOT 3
- [Feature Request] display-all-git-branches HOT 2
- [Bug] modeline fragments do not get updated correctly when a command that changes the current-buffer is running HOT 3
- [Bug] HOT 3
- [Bug] Setting a left window margin clips the modeline on the right HOT 4
- [Bug] Compiler warnings after 311a0c5 HOT 1
- Fix the few faces that don't inherit from doom-modeline HOT 1
- Symbol’s function definition is void: doom-modeline-check-icon HOT 4
- [Bug] Typo in commit 3f1d33a
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from doom-modeline.