From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109082 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: jbf Newsgroups: gmane.comp.tex.context Subject: Re: inter-word spacing Date: Thu, 22 Oct 2020 20:48:23 +1100 Message-ID: <11621de1-7cc6-bfe5-88e3-e63b9481409d@gmail.com> References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6150786424302493393==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2877"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 Cc: mailing list for ConTeXt users To: Jano Kula Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 22 11:49:23 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kVXDm-0000cg-Jv for gctc-ntg-context-518@m.gmane-mx.org; Thu, 22 Oct 2020 11:49:22 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BC4171A8A29; Thu, 22 Oct 2020 11:48:33 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m4VA-zRPaZKz; Thu, 22 Oct 2020 11:48:32 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id CA8C81A97EF; Thu, 22 Oct 2020 11:48:32 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 41C581A97EA for ; Thu, 22 Oct 2020 11:48:32 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v6xQ41sDjqNk for ; Thu, 22 Oct 2020 11:48:31 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.210.174; helo=mail-pf1-f174.google.com; envelope-from=roma83537@gmail.com; receiver= Original-Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 35C7D1A8A29 for ; Thu, 22 Oct 2020 11:48:31 +0200 (CEST) Original-Received: by mail-pf1-f174.google.com with SMTP id a200so793280pfa.10 for ; Thu, 22 Oct 2020 02:48:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:cc:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=cK/SqEZNtyo/R6GIXIHqgBYUTfxNYWnmkHRKCUS13tM=; b=Ha4jvh63vA6WwA3EM2bAglcaigglW36x6W4eR9lYRXVOEGccbLdcVAFC99dxBkWp45 HFj9kGHs/c4jko6nr18dmCsQtclVLxdiVPiTAUmMY8fKju+InWrgM3ZlICGrb+QQVB62 lghuB4cnbuDYHeK3ftSNr9vucYPdk7jzDxvWApqEYE2Rs+o4aKoCvdb2fybnoClqxFKH AsAnhXlqoklOc8QGXrCN5QqfhOPJQqRpkLBp4wuNU1Ew/UkDBhWv3Nzi+pwabxPOobzR 2cHfy/b63rBxRQEVnW8OK/eF+ysaFjyE8BMohEe3A0GpmHe6T07q6/wxfVc0YX2Nawtw gd7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:cc:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=cK/SqEZNtyo/R6GIXIHqgBYUTfxNYWnmkHRKCUS13tM=; b=kUl4EXVVGTpPMX8jSAn3itZKklUIAQZb17LhLTatHjFQo/jH+79BtCUm8CD2t9IrT7 4oIC0TUrpEh2bL0VshRlpn1PF0Xawx0Dx7gHdKdYAIJw67qEeETVYzsG7OzkmfpRJuQh beKmzhwllAAWq2/srnJe38S32DCyiUJPYl8PNrp/ytDThl2xi4LaCO0slZrXadz7plDg M4eU6j0EORz1bZEkCrHJvCjTU07mQsHlfuZhTYJ3bqJZV6xKhUhMHmvBXko5G+IgzXRz Q61UpV+0H82pcP2GfYRJoWlld/KdoiCZZ8xjC9Qo7BOZrqaW7buU5smte5I89MgnTUqe n0Pw== X-Gm-Message-State: AOAM532z30k00KRgkwTCJRh3wmaBizL/Y+ASeHmVPlLVlkj+d9pPlNYx kcPmlkCgSN6CxBsEnwckPjBaIqyW1+U= X-Google-Smtp-Source: ABdhPJy1BLrJPiJSWCEOug/FZPtO1xi+zo2dKY2ZF/CFnwHdcaIwZv74PkDOOXhh+C6/6RvpkqacPw== X-Received: by 2002:a63:e12:: with SMTP id d18mr1538759pgl.19.1603360108897; Thu, 22 Oct 2020 02:48:28 -0700 (PDT) Original-Received: from [192.168.0.100] ([120.21.180.53]) by smtp.gmail.com with ESMTPSA id q16sm1619485pfj.117.2020.10.22.02.48.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 22 Oct 2020 02:48:28 -0700 (PDT) In-Reply-To: Content-Language: en-US X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:109082 Archived-At: This is a multi-part message in MIME format. --===============6150786424302493393== Content-Type: multipart/alternative; boundary="------------08E8D4E1B064B6DB8B7DF857" Content-Language: en-US This is a multi-part message in MIME format. --------------08E8D4E1B064B6DB8B7DF857 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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 > ___________________________________________________________________________________ --------------08E8D4E1B064B6DB8B7DF857 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

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
___________________________________________________________________________________
--------------08E8D4E1B064B6DB8B7DF857-- --===============6150786424302493393== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============6150786424302493393==--