emacs-eaf / emacs-application-framework

EAF, an extensible framework that revolutionizes the graphical capabilities of Emacs
GNU General Public License v3.0
3.1k stars 235 forks source link

windows下默认字体大小不对 #1111

Closed heheda123123 closed 1 year ago

heheda123123 commented 1 year ago

Describe the bug windows上,4k显示器 如图,默认情况下打开eaf-git 和eaf-browser是下面这样的,可以看到比minibuffer中的字体小很多

image image 用-Q启动也存在同样的情况,页面的默认字体比minibuffer小很多 image

To Reproduce 没有额外配置

(add-to-list 'load-path "~/emacs-plugin/emacs-application-framework/")
(require 'eaf)
(require 'eaf-browser)
(require 'eaf-git)
(require 'eaf-pdf-viewer)

Expected behavior 和我其他字体大小一致,看上面的图可以看到minibuffer的字体大小

Versions (please complete the following info):

Error logs

Screenshots

Additional context

manateelazycat commented 1 year ago

https://github.com/manateelazycat/lazycat-emacs/blob/6f56391c1fe1dd99720448609518dab15a958935/site-lisp/config/init-eaf.el#L132