[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Font size
From: |
Kévin Le Gouguec |
Subject: |
Re: Font size |
Date: |
Wed, 04 Aug 2021 16:15:46 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Kévin Le Gouguec <kevin.legouguec@gmail.com>
>> Date: Wed, 04 Aug 2021 14:53:04 +0200
>> Cc: Yuuki Harano <masm+emacs@masm11.me>, Eli Zaretskii <eliz@gnu.org>
>>
>> $ gsettings set org.gnome.desktop.interface monospace-font-name 'DejaVu Sans
>> Mono 10.5'
>>
>> Emacs emits a warning:
>>
>> > set-face-attribute: Font not available: #<font-spec nil nil DejaVu\
>> > Sans\ Mono\ 10\.5 nil nil nil nil nil nil nil nil nil ((:name
>> > . "DejaVu Sans Mono 10.5") (:user-spec . "DejaVu Sans Mono 10.5"))>
>>
>> Is this expected?
>
> I don't know if it's expected, but the error message says that the
> "10.5" part is not expected there. What happens if you use "10"
> instead of "10.5"?
Cf. the paragraph just above:
> On master --with-gconf and feature/pgtk, with font-use-system-font set
> to t, here is what C-u C-x = says for various GSettings:
>
> GSettings³ C-u C-x =
> 9 12
> 10 13
> 10.5 ERROR (see below)
> 11 15
>
> ³ "XX" in "gsettings org.gnome.desktop.interface monospace-font-name 'DejaVu
> Sans Mono XX'"
What I don't understand:
1. How come GSettings/Xresources and Emacs use different "units"?
(Apologies if the answer lies somewhere in the manual, which it most
certainly does)
2. Why does 10.5 work with Xresources and not GSettings?
- Re: Font size (was: Merging the pgtk branch), (continued)
- Re: Font size (was: Merging the pgtk branch), Eli Zaretskii, 2021/08/04
- Re: Font size, Kévin Le Gouguec, 2021/08/04
- Re: Font size, Yuri Khan, 2021/08/04
- Re: Font size, Eli Zaretskii, 2021/08/04
- Re: Font size, Yuri Khan, 2021/08/04
- Re: Font size, Eli Zaretskii, 2021/08/04
- Re: Font size, Yuri Khan, 2021/08/04
- Re: Font size, Robert Pluim, 2021/08/05
- Re: Font size, Eli Zaretskii, 2021/08/05
Re: Font size (was: Merging the pgtk branch), Eli Zaretskii, 2021/08/04
- Re: Font size,
Kévin Le Gouguec <=
Re: Merging the pgtk branch, Yuuki Harano, 2021/08/10