On Tue, 2023-08-15 at 18:22 +0200, Hans Hagen wrote:

> On 8/15/2023 5:33 PM, Hamid,Idris wrote:
> 
> 
> > so [\s!designsize=\s!auto] means there is no explicit call to
lmroman8-regular etc.? Interesting..
> 
> 
> check the lfg file ...

On that note, there seems to be an inconsistency in the design size
selection:

    \setupbodyfont[modern-designsize,12pt]
    \starttext
    This text is typeset in LMRoman12.\par
    {\tfa This text should be typeset in LMRoman12 but LMRoman10
    is being used instead.}
    \stoptext

If I understand the font selection algorithm well, the font that will
be picked is the first font whose associated size is greater than or
equal to the requested size. If there is no such font the default is
used instead.

So, since in lm.lfg LMRoman12 is associated to 12pt, any text in a
higher size will be typeset using the default LMRoman10.

I understand that the default font should remain what it is since it
used when design sizes are disabled (using the typescript ‘modern’ and
not ‘modern-designsize’).

So, LMRoman12 should probably be associated to the biggest possible
value rather than 12pt (16383pt?).

Does that make sense?

Thanks,
Vincent


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

Reply via email to