From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/38422 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: bug in \setfontfeature Date: Wed, 02 Jan 2008 16:14:17 +0100 Message-ID: <477BAA49.4010607@elvenkind.com> References: <20080102094341.d155ac3a.schuster.wolfgang@googlemail.com> <477B553A.6030502@wxs.nl> Reply-To: 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: ger.gmane.org 1199287246 7202 80.91.229.12 (2 Jan 2008 15:20:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Jan 2008 15:20:46 +0000 (UTC) Cc: Hans Hagen To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jan 02 16:21:03 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1JA5Or-0006pT-E1 for gctc-ntg-context-518@m.gmane.org; Wed, 02 Jan 2008 16:20:57 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 164C71FCDB; Wed, 2 Jan 2008 16:20:27 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13186-01-2; Wed, 2 Jan 2008 16:19:47 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3FC951FBD4; Wed, 2 Jan 2008 16:19:42 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CA74F1FBD4 for ; Wed, 2 Jan 2008 16:18:52 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13186-01 for ; Wed, 2 Jan 2008 16:16:51 +0100 (CET) Original-Received: from tullamore.elvenkind.com (elvenknd.xs4all.nl [82.95.203.226]) by ronja.ntg.nl (Postfix) with ESMTP id 047AE1FCD7 for ; Wed, 2 Jan 2008 16:14:45 +0100 (CET) Original-Received: from glenlivet.elvenkind.com (glenlivet.elvenkind.com [10.10.0.6]) by tullamore.elvenkind.com (Postfix) with ESMTP id C7C22304C85C; Wed, 2 Jan 2008 16:14:17 +0100 (CET) User-Agent: Thunderbird 2.0.0.0 (X11/20070522) In-Reply-To: X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:38422 Archived-At: Idris Samawi Hamid wrote: > On Wed, 02 Jan 2008 02:11:22 -0700, Hans Hagen wrote: > >> in font=otf.lua, patch ... >> >> function fonts.otf.set_dynamics(tfmdata,attribute,features) >> local shared = tfmdata.shared >> if shared then >> >> >> end >> end >> >> and remake > > Does this handle the other [off-list] utf-8 bug that generates an error > message from font-tfm.lua:591? No. You get that error because the font does not have a non-breaking hyphen, and you can "fix" it by changing that line into if characters[current.char] and characters[current.char].class == "mark" then and regenerating the format. But it will still not "work", because the glyph still does not exist. Best wishes, Taco ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________