From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/53159 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: mkiv vs. mkii Date: Sat, 26 Sep 2009 11:27:54 +0200 Message-ID: <4ABDDE9A.2000401@elvenkind.com> References: <4ABDC3C0.4000008@elvenkind.com> <86d68cc30909260118t384a597ar7562485efadf6d1a@mail.gmail.com> 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 1253957307 32363 80.91.229.12 (26 Sep 2009 09:28:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Sep 2009 09:28:27 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 26 11:28:20 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 1MrTZi-0006v5-IA for gctc-ntg-context-518@m.gmane.org; Sat, 26 Sep 2009 11:28:18 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A29E5C9A9B; Sat, 26 Sep 2009 11:28:16 +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 hyHki+TamPBp; Sat, 26 Sep 2009 11:28:10 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F3BBAC9A81; Sat, 26 Sep 2009 11:28:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7958DC9A81 for ; Sat, 26 Sep 2009 11:27:59 +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 y0y1WXnIVktK for ; Sat, 26 Sep 2009 11:27:55 +0200 (CEST) Original-Received: from smtp-vbr11.xs4all.nl (smtp-vbr11.xs4all.nl [194.109.24.31]) by balder.ntg.nl (Postfix) with ESMTP id 947ADC9A47 for ; Sat, 26 Sep 2009 11:27:55 +0200 (CEST) Original-Received: from [192.168.178.26] (boo.demon.nl [82.161.175.147]) (authenticated bits=0) by smtp-vbr11.xs4all.nl (8.13.8/8.13.8) with ESMTP id n8Q9Rt5h026538 for ; Sat, 26 Sep 2009 11:27:55 +0200 (CEST) (envelope-from taco@elvenkind.com) User-Agent: Thunderbird 2.0.0.21 (X11/20090330) In-Reply-To: <86d68cc30909260118t384a597ar7562485efadf6d1a@mail.gmail.com> X-Virus-Scanned: by XS4ALL Virus Scanner 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:53159 Archived-At: Hi Mika, Mika Ritola wrote: > > Could you explain what mode=node does? I've seen it mentioned many times but > I still don't know what its purpose is. I searched the ConTeXt site (using > the search box), and didn't find any other useful information on it except > that it affects kerning, but how? What are the advantages and disadvantages > of using it? When should you use it? Mark IV has two font processing modes, 'base' and 'node'. In base mode, the font metrics are transformed into a traditional tfm-style table, which means that all kerning and ligaturing is handled by the core luatex engine. This is very similar to the processing that takes place mkii (pdftex). Its advantage is that it is faster than node mode, but the disadvantage is that you do not have access to any of the advanced features in opentype fonts. In mode node, the font metrics is transformed into a table that has no kerning nor ligatures at all, and the kerning and ligature processing is handled by the mkiv lua code instead of the core engine. The advantage is that you can do much more advanced stuff (for example, node mode is required for on-the-fly feature changes, all non-trivial ligature replacements, and for non-latin scripts) but the disadvantage is that processing is slower. Currently mkiv defaults to base mode except for the predefined fontfeatureset 'arabic', but this may change in the future, IIRC. 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 ___________________________________________________________________________________