milkypostman / powerline

emacs powerline

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rendering issues with window-system

alexandru opened this issue · comments

Not sure what I'm doing wrong — rendering works perfectly within the terminal (using iTerm2) which has built-in support for powerline glyphs:

image

However using the GUI, on MacOS, those characters aren't rendered correctly:

image

I did install the patched fonts. Initialization is standard:

(use-package powerline
  :ensure t
  :config
  (powerline-default-theme))

Anything I'm doing wrong?

I'm using Emacs 26.3 installed via brew cask install emacs (I think this is the emacsformacosx.com/ build).

Regarding the rendering of the separators, have you tried setting

(setq powerline-image-apple-rgb t)

as suggested in #99 (comment)? Did that trick for me.

Notwithstanding any other rendering hiccups you might be perceiving though...

@c-alpha thanks, the suggestions in that thread seem to be fixing the background issue (sometimes when the window is resized I get some rendering artifacts that disappear on further content rendering, but I can't reproduce it reliably and it's bearable).

I still get missing symbols, e.g. these are missing from the GUI version:

image

image

Have you set this?

(setq powerline-gui-use-vcs-glyph 't)

@c-alpha ah, that works for the git icon, thanks ❤️

Current setup is this:

(use-package powerline
  :ensure t
  :init
  (setq ns-use-srgb-colorspace nil)
  (setq powerline-image-apple-rgb 't) ;; doesn't seem to be defined, but leaving it here
  (setq powerline-gui-use-vcs-glyph 't)
  :config
  (powerline-default-theme))

Setup is now good enough, will close the issue.