ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: jbf <roma83537@gmail.com>
To: Jano Kula <jano.kula@gmail.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: inter-word spacing
Date: Thu, 22 Oct 2020 20:48:23 +1100	[thread overview]
Message-ID: <11621de1-7cc6-bfe5-88e3-e63b9481409d@gmail.com> (raw)
In-Reply-To: <CAPefzZ2DM4z1ZStwWPfz_CC65k4GYqowT4mD1VskQV97c9yuTg@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2394 bytes --]

Hi Jano,

Seems to me that there are a few options and you might need more than 
one of them, depending on the font/typefaces you are using (which 
obviously influences things):

1. One factor will be whether you are using \definefontfeature 
[default][default]  [expansion=quality,protrusion=quality], which you 
obviously then need to call in with \setupalign. 
https://wiki.contextgarden.net/Command/setupalign

2. Another factor will be \setupspacing 
https://wiki.contextgarden.net/Command/setupspacing

3. A third factor might be the need to tweak things a bit once you take 
a look at what is produced, and where you might need to use a couple of 
other options, be it \, \nospace, \thinspace....

For example, I have found that for a particular project I am working on 
at the moment, my best setup does not include protrusion, but I use

\setupalign
[hz,nothyphenated,verytolerant,stretched], and

\setuplanguage[en][spacing=packed].

This latter especially because I want to avoid some rather ugly spaces 
after a period. Then once I see how things look, I apply 
{\kerncharacters[-0.025] my text} in particular instances where things 
need to be tidied up. I have found that -0.025 works well in my situation.

Not at all sure if all the above is what the purists would do, but from 
a practical point of view it works for me. Hope it helps.

Julian

On 21/10/20 1:12 am, Jano Kula wrote:

> Hello,
>
> trying to reproduce the hand-printed original as close as possible I'm 
> using \setupcharacterkerning. I can match character kerning, but 
> inter-word spaces are different. What is the right option, command or 
> feature to change it for current font and/or in the font definition? I 
> haven't found any.
>
> MWE
> % macros=mkiv
> \setupcharacterkerning[large][factor=0.1]
> \setcharacterkerning[large]
> \starttext
> \input knuth
> \stoptext
>
> Thank you,
> Jano
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

[-- Attachment #1.2: Type: text/html, Size: 4150 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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-10-22  9:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-20 14:12 Jano Kula
2020-10-22  9:48 ` jbf [this message]
2020-10-22 12:38   ` Jano Kula

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=11621de1-7cc6-bfe5-88e3-e63b9481409d@gmail.com \
    --to=roma83537@gmail.com \
    --cc=jano.kula@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).