ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: <josephcanedo@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Changes in hyphenations with 2016-10-12 beta
Date: Thu, 13 Oct 2016 11:56:27 +0200	[thread overview]
Message-ID: <57ff5a4a.cf052e0a.a0daa.75c1@mx.google.com> (raw)
In-Reply-To: <57ff42fc.559f190a.71455.6527@mx.google.com>


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

Apparently this difference comes from this change in font-ots.lua near line 603. If I edit the file to put back the discretionary_code argument, the output is same with new beta.

MWE (well as close to MWE I could write, requires EBGaramond unfortunately).

\language[fr]
\definefontfeature[feat][
  mode=node, ccmp=yes, calt=yes,
  liga=yes, dlig=yes, hlig=yes,
  kern=yes, mark=yes, mkmk=yes,
  onum=yes, pnum=yes, salt=yes,
  script=latn, trep=yes,
  dlig=yes, cv91=yes, ss05=no,
  protrusion=quality, expansion=quality]

\definefontfamily[mainfont][serif][EBGaramond][features=feat]
\setupbodyfont[mainfont, 9pt]

\setupalign[hanging, lesshyphenation, hz]

\starttext

\setbox\scratchbox\vbox{\hsize=8.43cm
T advint qu'il y eut famine au pays/ oultre la premiere famine/ qui fut
 au temps de Abraham. Et Izahak s'en alla vers Abimelech 
Roy des Philisthins en Gerar}\box\scratchbox

\stoptext

De : josephcanedo@gmail.com
Envoyé le :jeudi 13 octobre 2016 10:17
À : mailing list for ConTeXt users
Objet :Changes in hyphenations with 2016-10-12 beta

Dear list,

After ugrading to latest beta (to test typesetting with it for now), I noticed that some words that used to be hyphenated with previous versions are no longer hyphenated in the output, especially when the word break used to happen at a ligature (for example ‘st’ or ‘ct’).

I had a quick look to the différences in files in tex/texmf-context/tex/context/base directory and I see some changes to font handling. 

Is this expected ? Or is there any mechanism to get the old behaviour ? I’ll try to build a MWE to show this if that’s required.

Thanks a lot,

Best regards

Joseph Canedo



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

[-- Attachment #2: new.pdf --]
[-- Type: application/pdf, Size: 9918 bytes --]

[-- Attachment #3: old.pdf --]
[-- Type: application/pdf, Size: 9479 bytes --]

[-- Attachment #4: Type: text/plain, Size: 489 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2016-10-13  9:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-13  8:17 josephcanedo
2016-10-13  9:56 ` josephcanedo [this message]
2016-10-13 17:37   ` Pablo Rodriguez
2016-10-13 18:51     ` Hans Hagen
2016-10-13 19:00       ` josephcanedo

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=57ff5a4a.cf052e0a.a0daa.75c1@mx.google.com \
    --to=josephcanedo@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).