[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Setting face attribute with height specification
From: |
Heime |
Subject: |
Re: Setting face attribute with height specification |
Date: |
Sun, 23 Jun 2024 17:31:02 +0000 |
On Sunday, June 23rd, 2024 at 2:58 PM, Heime <heimeborgia@protonmail.com> wrote:
> On Sunday, June 23rd, 2024 at 5:08 AM, Eli Zaretskii eliz@gnu.org wrote:
>
> > > Date: Sat, 22 Jun 2024 21:59:55 +0000
> > > From: Heime heimeborgia@protonmail.com
> > >
> > > Is there a possibility to sent the font height when using these
> > >
> > > (set-face-attribute 'default nil :font "URW Chancery L")
> > >
> > > (set-face-attribute 'default nil :font "UnPilgia")
> >
> > Yes, but only if you use :family, not :font. You should use :family
> > and :height attributes. Using :font specifies the font and its
> > height.
>
>
> Could not get tho family to be set correctly with
The following is telling me
Invalid face attribute :height (string-to-number face-height)
> (buffer-face-mode-invoke
> '(:family "URW Chancery L" :height (string-to-number face-height)) t)
And this does not change the family (when using "Wargames" for instance)
> (set-face-attribute 'default nil
> :family "URW Chancery L" :height (string-to-number face-height))
>
- Setting face attribute with height specification, Heime, 2024/06/22
- Re: Setting face attribute with height specification, Eli Zaretskii, 2024/06/23
- Re: Setting face attribute with height specification, Heime, 2024/06/23
- Re: Setting face attribute with height specification,
Heime <=
- Re: Setting face attribute with height specification, Eli Zaretskii, 2024/06/23
- Re: Setting face attribute with height specification, Heime, 2024/06/23
- Re: Setting face attribute with height specification, Eli Zaretskii, 2024/06/23
- Re: Setting face attribute with height specification, Heime, 2024/06/23
- Re: Setting face attribute with height specification, Eli Zaretskii, 2024/06/23
- Re: Setting face attribute with height specification, Heime, 2024/06/23
- Re: Setting face attribute with height specification, Eli Zaretskii, 2024/06/23
- Re: Setting face attribute with height specification, Yuri Khan, 2024/06/23
- Re: Setting face attribute with height specification, Eli Zaretskii, 2024/06/23
- Re: Setting face attribute with height specification, Heime, 2024/06/23