* [NTG-context] slanted font feature: LMTX vs. MkIV
@ 2023-09-02 8:25 Pablo Rodriguez
2023-09-02 9:45 ` [NTG-context] " Wolfgang Schuster
0 siblings, 1 reply; 7+ messages in thread
From: Pablo Rodriguez @ 2023-09-02 8:25 UTC (permalink / raw)
To: ConTeXt users
Dear list,
I have the following sample (using current latest from 2023.08.27 13:48):
\setupinteractionscreen[option=max]
\definefontfamily[maf][rm][DejaVu Sans]
[sl={style:tf, features:{default,slanted}}]
\setupbodyfont[maf, 8pt]
\setupfittingpage[offset=1ex]
\starttext
\startTEXpage
a {\em b}
\stopTEXpage
\startTEXpage[foregroundstyle={\setupbodyfont[100pt]}]
a {\em b}
\stopTEXpage
\stoptext
Using LMTX higher font size gives less slanted text (or not at all).
Using MkIV text is slanted fine, independent from font size.
Could anyone confirm the issue?
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://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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* [NTG-context] Re: slanted font feature: LMTX vs. MkIV
2023-09-02 8:25 [NTG-context] slanted font feature: LMTX vs. MkIV Pablo Rodriguez
@ 2023-09-02 9:45 ` Wolfgang Schuster
2023-09-02 9:53 ` Hans Hagen
0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2023-09-02 9:45 UTC (permalink / raw)
To: mailing list for ConTeXt users, Pablo Rodriguez
Pablo Rodriguez schrieb am 02.09.2023 um 10:25:
> Dear list,
>
> I have the following sample (using current latest from 2023.08.27 13:48):
>
> \setupinteractionscreen[option=max]
> \definefontfamily[maf][rm][DejaVu Sans]
> [sl={style:tf, features:{default,slanted}}]
> \setupbodyfont[maf, 8pt]
> \setupfittingpage[offset=1ex]
> \starttext
> \startTEXpage
> a {\em b}
> \stopTEXpage
> \startTEXpage[foregroundstyle={\setupbodyfont[100pt]}]
> a {\em b}
> \stopTEXpage
> \stoptext
>
> Using LMTX higher font size gives less slanted text (or not at all).
>
> Using MkIV text is slanted fine, independent from font size.
>
> Could anyone confirm the issue?
I can confirm the slant decreases at larger font sizes.
\starttext
\dostepwiserecurse{10}{100}{1}
{{\switchtobodyfont[#1pt]#1pt:\definedfont[Serif*slanted]\vrule\relax
S\vrule\relax lanted}\par}
\stoptext
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* [NTG-context] Re: slanted font feature: LMTX vs. MkIV
2023-09-02 9:45 ` [NTG-context] " Wolfgang Schuster
@ 2023-09-02 9:53 ` Hans Hagen
2023-09-02 10:18 ` Wolfgang Schuster
0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2023-09-02 9:53 UTC (permalink / raw)
To: ntg-context
On 9/2/2023 11:45 AM, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 02.09.2023 um 10:25:
>> Dear list,
>>
>> I have the following sample (using current latest from 2023.08.27 13:48):
>>
>> \setupinteractionscreen[option=max]
>> \definefontfamily[maf][rm][DejaVu Sans]
>> [sl={style:tf, features:{default,slanted}}]
>> \setupbodyfont[maf, 8pt]
>> \setupfittingpage[offset=1ex]
>> \starttext
>> \startTEXpage
>> a {\em b}
>> \stopTEXpage
>> \startTEXpage[foregroundstyle={\setupbodyfont[100pt]}]
>> a {\em b}
>> \stopTEXpage
>> \stoptext
>>
>> Using LMTX higher font size gives less slanted text (or not at all).
>>
>> Using MkIV text is slanted fine, independent from font size.
>>
>> Could anyone confirm the issue?
>
> I can confirm the slant decreases at larger font sizes.
>
> \starttext
>
> \dostepwiserecurse{10}{100}{1}
> {{\switchtobodyfont[#1pt]#1pt:\definedfont[Serif*slanted]\vrule\relax
> S\vrule\relax lanted}\par}
>
> \stoptext
in lpdf-lmt.lmt you can try:
l 593
tmsy = tmsy * sc
l 610
tmsy = tmsy * f_y_scale
-----------------------------------------------------------------
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 / 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* [NTG-context] Re: slanted font feature: LMTX vs. MkIV
2023-09-02 9:53 ` Hans Hagen
@ 2023-09-02 10:18 ` Wolfgang Schuster
2023-09-02 10:35 ` Pablo Rodriguez
0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2023-09-02 10:18 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hans Hagen schrieb am 02.09.2023 um 11:53:
> On 9/2/2023 11:45 AM, Wolfgang Schuster wrote:
>> Pablo Rodriguez schrieb am 02.09.2023 um 10:25:
>>> Dear list,
>>>
>>> I have the following sample (using current latest from 2023.08.27
>>> 13:48):
>>>
>>> \setupinteractionscreen[option=max]
>>> \definefontfamily[maf][rm][DejaVu Sans]
>>> [sl={style:tf, features:{default,slanted}}]
>>> \setupbodyfont[maf, 8pt]
>>> \setupfittingpage[offset=1ex]
>>> \starttext
>>> \startTEXpage
>>> a {\em b}
>>> \stopTEXpage
>>> \startTEXpage[foregroundstyle={\setupbodyfont[100pt]}]
>>> a {\em b}
>>> \stopTEXpage
>>> \stoptext
>>>
>>> Using LMTX higher font size gives less slanted text (or not at all).
>>>
>>> Using MkIV text is slanted fine, independent from font size.
>>>
>>> Could anyone confirm the issue?
>>
>> I can confirm the slant decreases at larger font sizes.
>>
>> \starttext
>>
>> \dostepwiserecurse{10}{100}{1}
>> {{\switchtobodyfont[#1pt]#1pt:\definedfont[Serif*slanted]\vrule\relax
>> S\vrule\relax lanted}\par}
>>
>> \stoptext
> in lpdf-lmt.lmt you can try:
>
> l 593
>
> tmsy = tmsy * sc
>
> l 610
>
> tmsy = tmsy * f_y_scale
I get now with LMTX the same output as I get with MkIV, the slant stays
the same for all sizes.
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* [NTG-context] Re: slanted font feature: LMTX vs. MkIV
2023-09-02 10:18 ` Wolfgang Schuster
@ 2023-09-02 10:35 ` Pablo Rodriguez
2023-09-02 10:42 ` Wolfgang Schuster
0 siblings, 1 reply; 7+ messages in thread
From: Pablo Rodriguez @ 2023-09-02 10:35 UTC (permalink / raw)
To: ConTeXt users
On 9/2/23 12:18, Wolfgang Schuster wrote:
> Hans Hagen schrieb am 02.09.2023 um 11:53:
> [...]
>> in lpdf-lmt.lmt you can try:
>>
>> l 593
>>
>> tmsy = tmsy * sc
>>
>> l 610
>>
>> tmsy = tmsy * f_y_scale
>
> I get now with LMTX the same output as I get with MkIV, the slant stays
> the same for all sizes.
This works also perfectly fine for me now.
Many thanks for the fix and the help, Hans and Wolfgang.
Sorry, but I don‘t know why this doesn‘t get the slanted font as bold (I
know I should know better, but I‘m stuck at this):
\definefontfamily[mainface][rm][DejaVu Sans]
[sl≃style:bf]
\setupbodyfont
[mainface, 100pt]
\starttext
\startTEXpage[offset=1ex]
a {\em b}
\stopTEXpage
\stoptext
Many thanks for your help again,
Pablo
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* [NTG-context] Re: slanted font feature: LMTX vs. MkIV
2023-09-02 10:35 ` Pablo Rodriguez
@ 2023-09-02 10:42 ` Wolfgang Schuster
2023-09-02 10:51 ` Pablo Rodriguez
0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2023-09-02 10:42 UTC (permalink / raw)
To: mailing list for ConTeXt users, Pablo Rodriguez
[-- Attachment #1.1: Type: text/plain, Size: 378 bytes --]
Pablo Rodriguez schrieb am 02.09.2023 um 12:35:
> [...]
> Sorry, but I don‘t know why this doesn‘t get the slanted font as bold (I
> know I should know better, but I‘m stuck at this):
>
> \definefontfamily[mainface][rm][DejaVu Sans]
> [sl≃style:bf]
You're using the wrong symbol (you have a math operator in your example)
to assign a value to a key.
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 727 bytes --]
[-- Attachment #2: Type: text/plain, Size: 495 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* [NTG-context] Re: slanted font feature: LMTX vs. MkIV
2023-09-02 10:42 ` Wolfgang Schuster
@ 2023-09-02 10:51 ` Pablo Rodriguez
0 siblings, 0 replies; 7+ messages in thread
From: Pablo Rodriguez @ 2023-09-02 10:51 UTC (permalink / raw)
To: ntg-context
On 9/2/23 12:42, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 02.09.2023 um 12:35:
>> [...]
>> Sorry, but I don‘t know why this doesn‘t get the slanted font as bold (I
>> know I should know better, but I‘m stuck at this):
>>
>> \definefontfamily[mainface][rm][DejaVu Sans]
>> [sl≃style:bf]
>
> You're using the wrong symbol (you have a math operator in your example)
> to assign a value to a key.
Many thanks for your reply, Wolfgang.
As always, many thanks for your valuable help.
Somehow I copied the assymptopically equal to character (0x2243) to
typeset I cannot remember what, and I also placed it there (instead of
the standard equals char [0x003D]).
Sorry, I‘m afraid I wasn‘t able to spot the difference (at a relative
small font size).
Many thanks for your help again,
Pablo
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-09-02 10:53 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-02 8:25 [NTG-context] slanted font feature: LMTX vs. MkIV Pablo Rodriguez
2023-09-02 9:45 ` [NTG-context] " Wolfgang Schuster
2023-09-02 9:53 ` Hans Hagen
2023-09-02 10:18 ` Wolfgang Schuster
2023-09-02 10:35 ` Pablo Rodriguez
2023-09-02 10:42 ` Wolfgang Schuster
2023-09-02 10:51 ` Pablo Rodriguez
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).