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

On wayland (PGTK)

Xwayland (Lucid)

Xorg (Lucid)

  • rileyrghamB
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    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?

    • ThaodanB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      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.

  • YbenelOPB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    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.

  • StrangeAstronomerB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I like the vertical bars outlining the function structures - how is that done?

    • YbenelOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      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))