[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "Harmonizing" the :height attribute for multiple faces in the same s
From: |
Clément Pit-Claudel |
Subject: |
Re: "Harmonizing" the :height attribute for multiple faces in the same string? |
Date: |
Tue, 8 Sep 2020 14:48:08 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 9/8/20 1:28 PM, Eli Zaretskii wrote:
>> From: Bastien <bzg@gnu.org>
>> Date: Tue, 08 Sep 2020 18:33:55 +0200
>>
>> given a string combining various substrings each with a different
>> face, each face with a different :height attribute: how can I set
>> :height to the same value for all faces in this string, keeping
>> the faces (and their attributes) distincts ?
>
> Define new faces, each of which inherit from the one of the respective
> substring, and then override the :height with set-face-attribute?
Alternatively, does add-face-text-property help?