domtronn / spaceline-all-the-icons.el

A Spaceline Mode Line theme using All The Icons for Emacs
MIT License
235 stars 25 forks source link

Rendering issues - Customisable Separator Height #51

Open psamim opened 7 years ago

psamim commented 7 years ago

Hi, I have some rendering issues as below:

image

Thanks

domtronn commented 7 years ago

Hey @psamim,

What font & theme are you using? :)

psamim commented 7 years ago

Thanks for the quick reply. I am using the defaults I think, default dark-theme and the following font config.

   dotspacemacs-default-font '("Source Code Pro"
                               :size 15
                               :weight normal
                               :width normal
                               :powerline-scale 1.1)
domtronn commented 7 years ago

So, the problem is with the powerline scaling with "Source Code Pro", basically, the font is slightly bigger than the separators, hence why you get the gap. If you set the :powerline-scale back to 1.0 that should fix it.

However, you obviously want the powerline slightly bigger for a reason 🙂 So I could add a custom variable which scales the separators independently from the rest of the powerline - Which would allow you to tweak it until it looks right?

screen shot 2017-07-20 at 13 18 14

Which would result in the something like above. Let me know if you'd be interested in that? 👍

The other visual glitch (maybe?) is the colours, and how it goes from Yellow to Black rather than Purple. This is because of a new "feature" in Spaceline to make it "responsive"... It doesn't work very well with the separators so if this is an issue, you could try

(setq spaceline-responsive nil)
psamim commented 7 years ago

Yes, after setting :powerline-scale to 1, it seems fine. Is there any way to remove the tiny vertical lines?

image

Nodman commented 7 years ago

Hi, having similar issue. screenshot 2017-07-31 11 49 28

My fonts settings is

dotspacemacs-default-font '("Source Code Pro"
                               :size 14
                               :weight normal
                               :width normal
                               :powerline-scale 1.0)

I also tried (setq spaceline-responsive nil)

UPDATE Ok falling down to font-size 13 fixed issue! Anyways would be grate to fix this for bigger font sizes. Thanks!

Lyrillind commented 7 years ago

I tried

(setq spaceline-responsive nil)

But the glitch (yellow turns black other than purple) is still there.

drrlvn commented 7 years ago

You suggestion to allow customizing separator size independently sounds great.

TonyGJJ commented 6 years ago

Hello, there is something wrong on my side. Could you please check it? The theme used is dracule

2018-07-28 00 04 51