syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.67k stars 4.89k forks source link

Changing the value of power of `powerline-scale` doesn't resize but breaks the mode-line. #8131

Closed ghost closed 5 months ago

ghost commented 7 years ago

Description :octocat:

Changing the value of power of powerline-scale doesn't resize but breaks the mode-line.

Reproduction guide :beetle:

  1. Here is my original setting in the file ~/..spacemacs dotspacemacs-default-font '("DejaVu Sans Mono" :size 20 :weight normal :width normal :powerline-scale 1.2)

and here is how the mode line looks like:

spaceline-1

  1. When I change the value of powerline-scale to 0.9

    dotspacemacs-default-font '("DejaVu Sans Mono" :size 20 :weight normal :width normal :powerline-scale 0.9)

Observed behaviour: :eyes: :broken_heart:

The mode-line size isn't decreased, and its visualization is also broken. Notice edges of the wave in the mode-line

spaceline-2

Expected behaviour: :heart: :smile:

The mode-line should be resized and its visualization should not be broken.

System Info :computer:

Backtrace :paw_prints:

qdzo commented 7 years ago

Yep. The same issue on my linux work-pc. On macOS with the same config it bevahes nice.

System Info :computer:

neeasade commented 7 years ago

hi there- my workaround for this is to call set-default-font after re-initializing (spacemacs/set-default-font dotspacemacs-default-font)

ghost commented 7 years ago

Can you explain explicitly where do you put this line in the .spacemacs or your config file?

neeasade commented 7 years ago

in my dotspacemacs/user-init

ghost commented 7 years ago

@neeasade: I just do as you said but the problem still remains the same

t478225 commented 6 years ago

I have same issue. But zoom don't change powerline size and works fine.

xiangsheng commented 6 years ago

It seems that this problem only appears on emacs-mac-port. Using the same configuration, the vanilla emacs on macOS works well.

alexryndin commented 6 years ago

same issue on Ubuntu 18.04 with SourceCodePro

mbrgm commented 4 years ago

Setting dotspacemacs-mode-line-unicode-symbols nil "fixed" this for me.

sluedecke commented 4 years ago

2020, still an issue on ArchLinux, but easily solved as mentioned here https://github.com/syl20bnr/spacemacs/issues/1012#issuecomment-170201103:

install ttf-unifont from AUR

laynor commented 3 years ago

2020, still an issue on ArchLinux, but easily solved as mentioned here #1012 (comment):

install ttf-unifont from AUR

I tried but didn't work for me :(

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!