I have rebuilt Emacs 29 with PGTK in order to get Emacs running natively and to fix the fonts, and i already have another emacs 29 build (Lucid) installed with i use On X.
I was surprised to see Emacs on wayland was running slower than its counterpart on Xwayland. Also the fonts issue was not fixed.
While zooming in makes the fonts look better. On X i don’t have this issue.
Below is screenshots of fonts on Wayland - Xwayland and X
Recently I was reading #emacs and saw that some claim pgtk, or native wayland, is bodged and not feature complete. Is that right? If so, which is the best toolkit to compile from source with to run under XWayland?
From my own experience I’ve found no issues using pgtk on Wayland.
It’s feature complete but limited because Wayland is limited.
For example there’s no way for Emacs to know which frames are currently visible.
While you might not notice the difference between the screenshots. If you download the full resolution images (X and Wayland or Xwayland) You’ll see the difference.
its like its cut and not drawn properly. This issue is only on Emacs.I like the vertical bars outlining the function structures - how is that done?
I’m using highlight-indent-guides
(use-package! highlight-indent-guides :init (add-hook 'prog-mode-hook 'highlight-indent-guides-mode) (setq highlight-indent-guides-method 'character highlight-indent-guides-delay 0 highlight-indent-guides-responsive 'stack highlight-indent-guides-auto-enabled nil))
I recommend using https://github.com/jdtsmith/indent-bars it’s a good deal faster than any of the other indent-bar solutions. AFAIK Emacs 29 is required and some caveats do apply.