ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: slanted font feature: LMTX vs. MkIV
Date: Sat, 2 Sep 2023 12:18:54 +0200	[thread overview]
Message-ID: <4919acd3-15ca-9ff0-d09c-72a842414d11@gmail.com> (raw)
In-Reply-To: <2416fc05-7d49-1913-ae76-ba1a22091cc5@xs4all.nl>

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
___________________________________________________________________________________

  reply	other threads:[~2023-09-02 10:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-02  8:25 [NTG-context] " 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 [this message]
2023-09-02 10:35       ` Pablo Rodriguez
2023-09-02 10:42         ` Wolfgang Schuster
2023-09-02 10:51           ` Pablo Rodriguez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4919acd3-15ca-9ff0-d09c-72a842414d11@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).