[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to set font for frame on hiDPI screen?
From: |
HaiJun Zhang |
Subject: |
Re: How to set font for frame on hiDPI screen? |
Date: |
Wed, 15 Jan 2020 00:56:42 +0800 |
在 2020年1月14日 +0800 PM11:35,Eli Zaretskii <eliz@gnu.org>,写道:
> > Date: Tue, 14 Jan 2020 15:41:44 +0800
> > From: HaiJun Zhang <netjune@outlook.com>
> >
> > export GDK_SCALE=2
> > emacs -Q
> >
> > The font size is good. Then I eval ‘(set-frame-font “Monospace:size=16”)’.
> > The font becomes too small now. It works well on non-hiDPI screen.
>
> In what version of Emacs, and how was it compiled?
>
Emacs: 26.3.
I have found a resolution. Changing ‘(set-frame-font “Monospace:size=16”)’ to
‘(set-frame-font “Monospace 16”)’ fixes it.
Does the size in the former means pixel size? And the latter means font size?