From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/66389 Path: news.gmane.org!not-for-mail From: Ulrike Fischer Newsgroups: gmane.comp.tex.context Subject: Re: Hyphenation patterns and adjusted kerning: ConTeXt vs. LuaTeX Date: Fri, 25 Feb 2011 15:41:10 +0100 Message-ID: References: <9FF5E748-7C07-4B46-BD82-9B58A16B4670@unibas.ch> <4D67B00E.2050702@wxs.nl> Reply-To: news3@nililand.de, mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1298644947 8660 80.91.229.12 (25 Feb 2011 14:42:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 25 Feb 2011 14:42:27 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Feb 25 15:42:21 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Psyrz-0001Qj-Sh for gctc-ntg-context-518@m.gmane.org; Fri, 25 Feb 2011 15:42:11 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DCD73CAA68; Fri, 25 Feb 2011 15:42:10 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id GAV6Fh6K35C5; Fri, 25 Feb 2011 15:41:58 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B7ECACAA64; Fri, 25 Feb 2011 15:41:58 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EC911CAA64 for ; Fri, 25 Feb 2011 15:41:56 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10666PAGuCO7 for ; Fri, 25 Feb 2011 15:41:36 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id CAECECAA5E for ; Fri, 25 Feb 2011 15:41:36 +0100 (CET) Original-Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p1PEfZeK029745 for ; Fri, 25 Feb 2011 15:41:36 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PsyrO-00010N-JR for ntg-context@ntg.nl; Fri, 25 Feb 2011 15:41:34 +0100 Original-Received: from p5b2a76d3.dip.t-dialin.net ([91.42.118.211]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Feb 2011 15:41:34 +0100 Original-Received: from news3 by p5b2a76d3.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Feb 2011 15:41:34 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 44 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: p5b2a76d3.dip.t-dialin.net User-Agent: 40tude_Dialog/2.0.15.41de X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.91.229.12; country=NO; latitude=62.0000; longitude=10.0000; http://maps.google.com/maps?q=62.0000,10.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08EceFzkC - 1d3ede607a1f - 20110225 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:66389 Archived-At: 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 ___________________________________________________________________________________