ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Ulrike Fischer <news3@nililand.de>
To: ntg-context@ntg.nl
Subject: Re: Hyphenation patterns and adjusted kerning: ConTeXt vs. LuaTeX
Date: Fri, 25 Feb 2011 15:41:10 +0100	[thread overview]
Message-ID: <icqof9sg1y2u.dlg@nililand.de> (raw)
In-Reply-To: <4D67B00E.2050702@wxs.nl>

Am Fri, 25 Feb 2011 14:35:10 +0100 schrieb Hans Hagen:

>> As a new LuaTeX user, I came across the following problem: Using
>> Lua(La)TeX, customized kerning of letter pairs (via the
>> FeatureFile capability of fontspec) is ignored when it coincides
>> with a possible hyphenation of a word (e.g. between 'f' and 'h'
>> in German words like 'aufhalten'; see first minimal example
>> below).

>> 1. Lua(La)TeX

> I cannot test that (I only have the context minimals installed) but I 
> don't know anything about latex internals so it would be a wild guess. 
> Maybe babel is interfering? 

No, the problem exists also if you only load the german patterns.

> In base mode kerning and and hyphenation 
> happen in the traditional tex way, so there is not much extra trickery 
> taking place.

Well, as you mention "base mode": This reminded me that I had to
force base mode to get my reencoding to work in latex. So I tried in
context + latex/luaotfload (with german hyphenation patterns):

\font\test="name:TeX Gyre
Bonum:mode=base:featurefile=bonum.fea;+kern"

and

\font\test="name:TeX Gyre
Bonum:mode=node:featurefile=bonum.fea;+kern" 

And bingo: with mode=base it works in both formats, with mode=node
the kern disappears. Without mode declaration the kern disappears in
latex. 

So I think it isn't true that the manual of luaotfload claims "By
default mode=base is used". 



-- 
Ulrike Fischer 

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2011-02-25 14:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-25 12:18 Heilmann, Till A.
2011-02-25 13:35 ` Hans Hagen
2011-02-25 14:41   ` Ulrike Fischer [this message]
2011-02-25 16:00     ` Khaled Hosny
2011-02-25 15:37 Heilmann, Till A.
2011-02-25 15:45 ` Ulrike Fischer
2011-02-25 15:56   ` Ulrike Fischer
2011-02-25 16:07   ` Hyphenation patterns and adjusted kerning:?ConTeXt " Khaled Hosny
2011-02-25 15:57 Hyphenation patterns and adjusted kerning: ConTeXt " Heilmann, Till A.

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=icqof9sg1y2u.dlg@nililand.de \
    --to=news3@nililand.de \
    --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).