ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] wrong font scaling in LMTX?
@ 2024-05-26 10:38 Pablo Rodriguez via ntg-context
  2024-05-26 18:50 ` [NTG-context] " Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2024-05-26 10:38 UTC (permalink / raw)
  To: ConTeXt users; +Cc: Pablo Rodriguez

Dear list,

I have the following sample:

	\definefontfamily[mainface][rm][TeX Gyre Pagella]
	\definefontfamily[mainface][ss][TeX Gyre Heros]
		[scale=0.125]
	\setupbodyfont[mainface]
	\starttext
	\startTEXpage[pagestate=start, offset=1em]
	\rm a\ss a\\
	{\rm a\ssd a}\\
	{\rm a\ssx a}\\
	{\rm a\ssxx a}
	\stopTEXpage
	\stoptext

Scaled \ssx and \ssxx are wrong in LMTX (not scaled at all).

All font sizes are scaled fine in MkIV.

In both cases, I‘m running latest from 2024.05.17 16:32.

Could anyone confirm the issue?

BTW, this is the first time I indent the sample sent to the list with a
single character (one tab) instead of two or four spaces.

If the sample is wrong displayed in the medium you use with the mailing
list, please tell me and I will go back to spaces instead of tabs.

Many thanks for your help,

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

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [NTG-context] Re: wrong font scaling in LMTX?
  2024-05-26 10:38 [NTG-context] wrong font scaling in LMTX? Pablo Rodriguez via ntg-context
@ 2024-05-26 18:50 ` Wolfgang Schuster
  2024-05-26 19:21   ` Pablo Rodriguez via ntg-context
  2024-05-28 15:59   ` Pablo Rodriguez via ntg-context
  0 siblings, 2 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2024-05-26 18:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Pablo Rodriguez via ntg-context
  Cc: Pablo Rodriguez

Pablo Rodriguez via ntg-context schrieb am 26.05.2024 um 12:38:
> Dear list,
>
> I have the following sample:
>
> 	\definefontfamily[mainface][rm][TeX Gyre Pagella]
> 	\definefontfamily[mainface][ss][TeX Gyre Heros]
> 		[scale=0.125]
> 	\setupbodyfont[mainface]
> 	\starttext
> 	\startTEXpage[pagestate=start, offset=1em]
> 	\rm a\ss a\\
> 	{\rm a\ssd a}\\
> 	{\rm a\ssx a}\\
> 	{\rm a\ssxx a}
> 	\stopTEXpage
> 	\stoptext
>
> Scaled \ssx and \ssxx are wrong in LMTX (not scaled at all).
>
> All font sizes are scaled fine in MkIV.
>
> In both cases, I‘m running latest from 2024.05.17 16:32.
>
> Could anyone confirm the issue?

I get the same results with the default font mode in MkIV and LMTX but 
when I add

\enableexperiments[fonts.compact]

the x and xx sizes are wrong.

Wolfgang

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

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [NTG-context] Re: wrong font scaling in LMTX?
  2024-05-26 18:50 ` [NTG-context] " Wolfgang Schuster
@ 2024-05-26 19:21   ` Pablo Rodriguez via ntg-context
  2024-05-28 15:59   ` Pablo Rodriguez via ntg-context
  1 sibling, 0 replies; 4+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2024-05-26 19:21 UTC (permalink / raw)
  To: ntg-context; +Cc: Pablo Rodriguez

On 5/26/24 20:50, Wolfgang Schuster wrote:
> [...]
> I get the same results with the default font mode in MkIV and LMTX but
> when I add
>
> \enableexperiments[fonts.compact]
>
> the x and xx sizes are wrong.

Many thanks for your reply, Wolfgang.

I tend to forget that I have always compact fonts enabled by default.

Only enabling or disabling it, compilation with sample goes from 2.6s
when enabled to 3.2s when disabled (using --purgeall)

Without your help, I would have been never detected this.

Many thanks for your help,

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

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [NTG-context] Re: wrong font scaling in LMTX?
  2024-05-26 18:50 ` [NTG-context] " Wolfgang Schuster
  2024-05-26 19:21   ` Pablo Rodriguez via ntg-context
@ 2024-05-28 15:59   ` Pablo Rodriguez via ntg-context
  1 sibling, 0 replies; 4+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2024-05-28 15:59 UTC (permalink / raw)
  To: ntg-context; +Cc: Pablo Rodriguez

On 5/26/24 20:50, Wolfgang Schuster wrote:
> [...]
> I get the same results with the default font mode in MkIV and LMTX but
> when I add
>
> \enableexperiments[fonts.compact]
>
> the x and xx sizes are wrong.

Many thanks for having fixed that in latest, both Hans and Wolfgang.

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

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-05-28 15:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-26 10:38 [NTG-context] wrong font scaling in LMTX? Pablo Rodriguez via ntg-context
2024-05-26 18:50 ` [NTG-context] " Wolfgang Schuster
2024-05-26 19:21   ` Pablo Rodriguez via ntg-context
2024-05-28 15:59   ` Pablo Rodriguez via ntg-context

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).