Do you think you need this in emacs 29?
(require 'package)
(require 'use-package) ;; requires package.el and use-package so we can use it
(package-initialize)
(unless package-archive-contents
(package-refresh-contents))
;; Initialize use-package on non-Linux platforms
(unless (package-installed-p 'use-package)
(package-install 'use-package))
I had this issue, then compiled emacs
--with-pgtk
and fonts became way better.However, recently, wsl2 was updated in my win11 and out of curiosity I had recompiled emacs without pgtk and fonts are actually crisp and look the same as
--with-pgtk
.I am staying with X due to better clipboard support, though, ugly white borders are something you have to “embrace” :)