[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Setting font-features globally?
From: |
Valentin Petzel |
Subject: |
Re: Setting font-features globally? |
Date: |
Mon, 27 Feb 2023 19:52:34 +0100 |
Okay, I will create a MR these days. But just gotta point out: You yourself
argued back then: \removeFontFeature sounds more like a
specialized use case though. I'd add just \with-font-feature ...
Note that prefixing a feature to omit with an "-" is not a new syntax. It is
done e.g. with fontspec in XeTeX and LuaTeX as well as for example LibreOffice.
So I think this is not too unreasonable a syntax.
Am Montag, 27. Februar 2023, 16:42:55 CET schrieb Jean Abou Samra:
> > Le 27 févr. 2023 à 16:32, Valentin Petzel <valentin@petzel.at> a écrit :
> > Would you think it would make sense to provide
> > this (or a similar function) to Lilypond?
>
> Yes, I do. No need to invent syntax/convenience for less frequently used
> stuff though (the cost of memorizing it outweighs the cost of typing more
> verbose syntax if you use a feature rarely); just provide
> \with-font-feature and \without-font-feature IMHO. Also, beware that
> comparing characters with eq? gives undefined results (use eqv? instead).
signature.asc
Description: This is a digitally signed message part.