ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <j.hagen@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: (bug?) wrong interline in \placelist[alternative=d] with Pagella italics
Date: Mon, 16 Mar 2020 18:42:51 +0100	[thread overview]
Message-ID: <03dd7f87-fb98-1331-1027-e87cbb2a4d1a@xs4all.nl> (raw)
In-Reply-To: <42f0ddde-b593-2b54-a906-0654b1ab6d22@gmail.com>

On 3/16/2020 6:01 PM, Wolfgang Schuster wrote:
> Henning Hraban Ramm schrieb am 16.03.2020 um 15:42:
>>
>>
>>> Am 2020-03-16 um 14:35 schrieb Hans Hagen <j.hagen@xs4all.nl>:
>>>> Yes, pagella is a extreme case but when you use bold text the 
>>>> vertical spacing is also messed up. You can avoid this when you use 
>>>> a fixed lineheight (e.g. \setupinterlinespace[line=14pt]) because 
>>>> the default distance is font dependant (default: 2.8 * ex-height).
>>> or one can play with these parameters, that default to:
>>>
>>> \setupinterlinespace
>>>   [height=.72,
>>>    depth=.28]
>>>
>>> (maybe we should have recomended values for specific fonts)
>>
>> I had similar problems in the past and got to
>> 2.9ex for Alegreya
>> 3.2ex for Adobe Jenson
>>
>> (Just tried, didn’t calculate anything.)
> 
> How would this help for the original problem?
Some fonts have a different ratio (I forgot what font i did .7 / .3) but 
indeed an all-bold or whatever style change sometimes demands a local 
\setupinterlinespace (no argument).

Of course one could also tweak the ht/dp of a specific style using one 
of the pseudo features.

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
___________________________________________________________________________________

  reply	other threads:[~2020-03-16 17:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-15 19:32 Pablo Rodriguez
2020-03-15 21:56 ` Wolfgang Schuster
2020-03-16  9:01   ` Pablo Rodriguez
2020-03-16 12:27     ` Wolfgang Schuster
2020-03-16 13:35       ` Hans Hagen
2020-03-16 14:42         ` Henning Hraban Ramm
2020-03-16 17:01           ` Wolfgang Schuster
2020-03-16 17:42             ` Hans Hagen [this message]
2020-03-16 18:00               ` Wolfgang Schuster
2020-03-16 20:04                 ` 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=03dd7f87-fb98-1331-1027-e87cbb2a4d1a@xs4all.nl \
    --to=j.hagen@xs4all.nl \
    --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).