emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Incorrect font weight selected


From: Sean Whitton
Subject: Re: Incorrect font weight selected
Date: Sat, 18 Dec 2021 16:26:16 -0700
User-agent: Notmuch/0.31.4 (https://notmuchmail.org) Emacs/29.0.50 (x86_64-pc-linux-gnu)

Hello,

On Fri 17 Dec 2021 at 03:51PM +01, Yuri D'Elia wrote:

> Rebuilt today emacs on 36d873bf0d3f1185d0090e4b506a6a726476aec6, I
> noticed when I start a fresh new instance of emacs the selected weight
> for my default font is 'normal instead of 'medium.
>
> I'm currently using Iosevka, which provides both regular and medium
> weights, which I suspect interacts with the recent commit
> 1b2511fa2aed460120a36765ba16c14e355eef1d.
>
> This is why I currently do in my init.el:
>
> (set-face-attribute 'default nil :family "Iosevka"
>                     :height 140 :weight 'medium)
>
> If I re-evaluate this _after_ the frame has been created though, the
> correct weight is selected.

I am seeing something similar but distinct, I think.  I'm using pgtk.
If I use M-: to evaluate this form

    (set-frame-font (font-spec :name "Inconsolata-13" :weight 'medium))

then what I get is the regular weight, not the medium weight.  It is as
though the :weight parameter is being completely ignored.

-- 
Sean Whitton



reply via email to

[Prev in Thread] Current Thread [Next in Thread]