Re: [NTG-context] Font scaling via sa in LMTX

2022-01-21 Thread Rik Kabel via ntg-context


On 2022-01-19 13:34, Hans Hagen wrote:

On 1/19/2022 6:24 PM, Rik Kabel wrote:

On 2021-12-01 10:40, Hans Hagen wrote:

On 11/30/2021 9:36 PM, Rik Kabel via ntg-context wrote:

Hello list,

It seems that font scaling to a letter is not working consistently 
in LMTX.


This example:

    \definefont[TitleA][Sans sa a]
    \definefont[TitleAB][Sansbold sa a]
    \starttext
    {\ssa This is ssa \TitleA and this is TitleA}\par
    {\ssbf This is ssbf \TitleAB and this is TitleAB}\par
    \contextbanner
    \stoptext

Produces different relevant output with each engine.

I suppose one could use numeric values instead of defined font size 
letters as a work-around, but that means lack of coordination with 
custom sizes in \definebodyfontenvironment.


fixed in the next upload (which is a bit experimental in the sense 
that some low level consistency renaming happened which always has 
the danger of disabling some feature)


Hans


This is still a problem using yesterday's upload.

I'll check it but you anyway need SansBold (B)


Thank you for the fix.
___
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
___


Re: [NTG-context] Font scaling via sa in LMTX

2022-01-19 Thread Hans Hagen via ntg-context

On 1/19/2022 6:24 PM, Rik Kabel wrote:

On 2021-12-01 10:40, Hans Hagen wrote:

On 11/30/2021 9:36 PM, Rik Kabel via ntg-context wrote:

Hello list,

It seems that font scaling to a letter is not working consistently in 
LMTX.


This example:

    \definefont[TitleA][Sans sa a]
    \definefont[TitleAB][Sansbold sa a]
    \starttext
    {\ssa This is ssa \TitleA and this is TitleA}\par
    {\ssbf This is ssbf \TitleAB and this is TitleAB}\par
    \contextbanner
    \stoptext

Produces different relevant output with each engine.

I suppose one could use numeric values instead of defined font size 
letters as a work-around, but that means lack of coordination with 
custom sizes in \definebodyfontenvironment.


fixed in the next upload (which is a bit experimental in the sense 
that some low level consistency renaming happened which always has the 
danger of disabling some feature)


Hans


This is still a problem using yesterday's upload.

I'll check it but you anyway need SansBold (B)

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Font scaling via sa in LMTX

2022-01-19 Thread Rik Kabel via ntg-context

On 2021-12-01 10:40, Hans Hagen wrote:

On 11/30/2021 9:36 PM, Rik Kabel via ntg-context wrote:

Hello list,

It seems that font scaling to a letter is not working consistently in 
LMTX.


This example:

    \definefont[TitleA][Sans sa a]
    \definefont[TitleAB][Sansbold sa a]
    \starttext
    {\ssa This is ssa \TitleA and this is TitleA}\par
    {\ssbf This is ssbf \TitleAB and this is TitleAB}\par
    \contextbanner
    \stoptext

Produces different relevant output with each engine.

I suppose one could use numeric values instead of defined font size 
letters as a work-around, but that means lack of coordination with 
custom sizes in \definebodyfontenvironment.


fixed in the next upload (which is a bit experimental in the sense 
that some low level consistency renaming happened which always has the 
danger of disabling some feature)


Hans


This is still a problem using yesterday's upload.

--
Rik

___
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
___


Re: [NTG-context] Font scaling via sa in LMTX

2021-12-01 Thread Hans Hagen via ntg-context

On 11/30/2021 9:36 PM, Rik Kabel via ntg-context wrote:

Hello list,

It seems that font scaling to a letter is not working consistently in LMTX.

This example:

\definefont[TitleA][Sans sa a]
\definefont[TitleAB][Sansbold sa a]
\starttext
{\ssa This is ssa \TitleA and this is TitleA}\par
{\ssbf This is ssbf \TitleAB and this is TitleAB}\par
\contextbanner
\stoptext

Produces different relevant output with each engine.

I suppose one could use numeric values instead of defined font size 
letters as a work-around, but that means lack of coordination with 
custom sizes in \definebodyfontenvironment.


fixed in the next upload (which is a bit experimental in the sense that 
some low level consistency renaming happened which always has the danger 
of disabling some feature)


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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
___


[NTG-context] Font scaling via sa in LMTX

2021-11-30 Thread Rik Kabel via ntg-context

Hello list,

It seems that font scaling to a letter is not working consistently in LMTX.

This example:

   \definefont[TitleA][Sans sa a]
   \definefont[TitleAB][Sansbold sa a]
   \starttext
   {\ssa This is ssa \TitleA and this is TitleA}\par
   {\ssbf This is ssbf \TitleAB and this is TitleAB}\par
   \contextbanner
   \stoptext

Produces different relevant output with each engine.

I suppose one could use numeric values instead of defined font size 
letters as a work-around, but that means lack of coordination with 
custom sizes in \definebodyfontenvironment.


--
Rik

___
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
___