~protesilaos/fontaine

Re: BUG: Bold face unusable with variable-pitch-text

Details
Message ID
<87k08b7xzl.fsf@gmail.com>
DKIM signature
missing
Download raw message
On 2022-07-17, 15:27 +0300, Protesilaos Stavrou <info@protesilaos.com> wrote:

>> From: Protesilaos Stavrou <info@protesilaos.com>
>> Date: Sun, 17 Jul 2022 14:53:04 +0300
>>
>> In other words, the order of inheritance is what is causing the problem
>> here.  I will check what we can do in fontaine and report back to you.
>
> While the order of inheritance does matter, the real problem is
> fontaine's.  It sets an explicit weight attribute to the face.  So when
> we have ":inherit (variable-pitch bold)" the weight of the former
> overrides the latter.

Okay, but does this mean we cannot assign weight attribute to
`variable-pitch' face?  Additional, we also have the problematic
inheritance for other faces like:

(set-face-attribute 'font-lock-keyword-face nil :inherit '(default bold italic)

and

(set-face-attribute 'font-lock-keyword-face nil :inherit '(fixed-pitch bold italic)

-- 
Utkarsh Singh
https://utkarshsingh.xyz/
Reply to thread Export thread (mbox)