Thank you so much, Pablo. This is exactly what I needed.

Could you also tell me where you have learnt these features? I had been searching for this for hours but \effect was still the best of what I've got. Indeed, googling 'context+tex+boldened' or 'contextgarden+boldened' results in nothing useful.

Sylvain

On Sat, 7 Nov 2020 at 16:41, Pablo Rodriguez <oinos@gmx.es> wrote:
On 11/7/20 4:06 PM, Sylvain Hubert wrote:
> [...]
> Could anyone help me define a {\bf}-aware version of \fakebf which can
> render the "4 5 6" in the example above in latinmodern's bold?

Hi Sylvain,

there is an already defined font feature that fakes boldened fonts:
boldened (and also boldened-10, boldened-15, boldened-20 and boldened-25
[boldened is actually boldened-30]).

But I don’t use \definefont myself, so this is my sample:

    \definefontfamily[mainface][rm][Latin Modern Sans]
        [bf={style:tf, features:{default, boldened}}]
    \setupbodyfont[mainface]
    \starttext
    normal \bf boldened
    \stoptext

Handle with care, since faked fonts are to be used sparingly,

Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________