ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Font expansion breaks interword spacing
@ 2019-04-19  8:34 Wolfgang Schuster
  2019-04-19 15:45 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Wolfgang Schuster @ 2019-04-19  8:34 UTC (permalink / raw)
  To: NTG-Context ConTeXt users

Hi,

I have a document where I use font expansion to get better line breaks
but as a result the spacing between the letters is completely messed up
in some words.

\definefontfeature [default] [default] [expansion=quality]

\setupbodyfont [lucidaot]

\setupalign [hz]

\starttext

\dorecurse{20}{appeared }

\dorecurse{20}{around }

\dorecurse{20}{accompanying }

\stoptext

Wolfgang

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Font expansion breaks interword spacing
  2019-04-19  8:34 Font expansion breaks interword spacing Wolfgang Schuster
@ 2019-04-19 15:45 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2019-04-19 15:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Wolfgang Schuster

On 4/19/2019 10:34 AM, Wolfgang Schuster wrote:
> Hi,
> 
> I have a document where I use font expansion to get better line breaks
> but as a result the spacing between the letters is completely messed up
> in some words.
> 
> \definefontfeature [default] [default] [expansion=quality]
> 
> \setupbodyfont [lucidaot]
> 
> \setupalign [hz]
> 
> \starttext
> 
> \dorecurse{20}{appeared }
> 
> \dorecurse{20}{around }
> 
> \dorecurse{20}{accompanying }
> 
> \stoptext
> 
> Wolfgang
I think this is a side effect of the font design. Lucida has no kerns 
which means that the boundingbox has to do the trick of kerning. Now, if 
you look at the 'a' and 'r' you will notice that the right bounds of the 
a and left bounds of the r are more of less touching the shape. So, when 
we expand the shape that touching stays and becomes quite visible 
compared to the far from touching other shape.s

Of course I can be looking at the wrong aspect but then i need an 
example exposing it.

I'll send you some (lmtx) tweak to play with.

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-04-19 15:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-19  8:34 Font expansion breaks interword spacing Wolfgang Schuster
2019-04-19 15:45 ` Hans Hagen

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).