From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/53012 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Small caps problem/bug with some fonts Date: Fri, 18 Sep 2009 23:39:23 +0200 Message-ID: <4AB3FE0B.2060406@wxs.nl> References: <86d68cc30909180557x19dea6b8o8a2562f125a85275@mail.gmail.com> <4AB387A0.2000300@wxs.nl> <20090918181528.GA28412@crud.chemoelectric.org> <4AB3D4A8.1020809@wxs.nl> <20090918201908.GA29031@crud.chemoelectric.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1253309994 28544 80.91.229.12 (18 Sep 2009 21:39:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Sep 2009 21:39:54 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Sep 18 23:39:47 2009 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.50) id 1MolBC-0002Pr-ST for gctc-ntg-context-518@m.gmane.org; Fri, 18 Sep 2009 23:39:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E2C3CC9ADD; Fri, 18 Sep 2009 23:39:45 +0200 (CEST) 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 dAqx595KrTQ7; Fri, 18 Sep 2009 23:39:37 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 90FD3C9A9C; Fri, 18 Sep 2009 23:39:37 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0B171C9A9C for ; Fri, 18 Sep 2009 23:39:36 +0200 (CEST) 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 ZFujtXDYf0Uu for ; Fri, 18 Sep 2009 23:39:24 +0200 (CEST) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by balder.ntg.nl (Postfix) with ESMTP id 50FE3C9A92 for ; Fri, 18 Sep 2009 23:39:24 +0200 (CEST) Original-Received: from [10.100.1.107] (unverified [10.100.1.107]) by controller-1 (SurgeMail 3.9e) with ESMTP id 9200-1840426 for ; Fri, 18 Sep 2009 23:39:24 +0200 User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: <20090918201908.GA29031@crud.chemoelectric.org> X-Originating-IP: 10.100.1.107 X-Authenticated-User: hagen@controller-1 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:53012 Archived-At: Barry Schwartz wrote: > The font is unambiguous about it, though. Are you sure the software > isn't performing the feature list in order rather than lookup list? Or > is the software performing substitutions in its own ad hoc order? in basemode we use built in traditional tex methods, so only ligatures and kerning; as a bonus i also support replacements, but in base mode the user really has to know what he/she asks for; in thsi particular case, asking for both ligatures (not contextual btw) and repacements (smsc) one gets them combined so, this is why there is (the somewhat slower but more conforming) node mode as well; in that case (contextual) lookups are taken care of but even then, if a font is not clear about issues, then one can get unwanted side effects (the frac feature for instance is often quite bugged and can only be applied selectively) also, in context mkiv we have variants like dynamic features, user defined features, strategies etc (after all, nothing can stop us from doing a better job) > Now I _make_ opentype fonts with small caps and ligatures and so want > the software to do what I tell it (except when it was I who made the > error). :) well, as said ... base mode has some known limitations and if you want the whole lot, you should use node mode (fyi: apart from isolated features we also support mixtures; the open type font format makes no assumptions about tags and gpos/gsub application so for instance the smallcaps feature might use one-to-one subsititutions as well as any other kind and complex fonts (like idris arabic font) does that) (maybe simplefonts should default to node mode) Hans ps. if you run (as i demonstrated at the eurotex/context conference) mtxrun --script server --auto you can access an interactive features tester in your webbrouwser there is also a trace option there where you can see what happens (in node mode) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________