From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85286 Path: news.gmane.org!not-for-mail From: "honyk" Newsgroups: gmane.comp.tex.context Subject: Palatino patch for the current ConTeXt version Date: Sun, 17 Nov 2013 12:23:16 +0100 Message-ID: <714.769998057996$1384687409@news.gmane.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1384687398 2828 80.91.229.3 (17 Nov 2013 11:23:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Nov 2013 11:23:18 +0000 (UTC) To: "'mailing list for ConTeXt users'" Original-X-From: ntg-context-bounces@ntg.nl Sun Nov 17 12:23:24 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vi0Ro-0000gk-IF for gctc-ntg-context-518@m.gmane.org; Sun, 17 Nov 2013 12:23:24 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A5C52101FC; Sun, 17 Nov 2013 12:23:23 +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 SN-hu6RzczrU; Sun, 17 Nov 2013 12:23:22 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 026DC101E9; Sun, 17 Nov 2013 12:23:22 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2BAD8101E9 for ; Sun, 17 Nov 2013 12:23:20 +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 VnP1VEMjF7Fn for ; Sun, 17 Nov 2013 12:23:18 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id C6D6B101E8 for ; Sun, 17 Nov 2013 12:23:18 +0100 (CET) Original-Received: from fep13.mx.upcmail.net (fep13.mx.upcmail.net [62.179.121.33]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rAHBNFlo019826 for ; Sun, 17 Nov 2013 12:23:18 +0100 Original-Received: from edge02.upcmail.net ([192.168.13.237]) by viefep13-int.chello.at (InterMail vM.8.01.05.05 201-2260-151-110-20120111) with ESMTP id <20131117112315.DJV11910.viefep13-int.chello.at@edge02.upcmail.net> for ; Sun, 17 Nov 2013 12:23:15 +0100 Original-Received: from emk ([78.102.140.101]) by edge02.upcmail.net with edge id qbPF1m00Y2BTW0m02bPFWB; Sun, 17 Nov 2013 12:23:15 +0100 X-SourceIP: 78.102.140.101 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac7jh2XO7GjkZtDfQrOXK4t4HURQDg== Content-Language: cs X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=62.179.121.33; country=AT; latitude=47.3333; longitude=13.3333; http://maps.google.com/maps?q=47.3333,13.3333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03KOzngO2 - 97c85435cb17 - 20131117 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:85286 Archived-At: Hello Everyone, I am trying to fix a Palatino small caps issue using the procedure explained here: http://wiki.contextgarden.net/Palatino_Linotype_under_MKIV That fix seems to be obsolete nowadays and returning errors. I've changed fonts.otf.enhancers.patches["^pala"] to fonts.handlers.otf.enhancers.patches["^pala"] which compiles, but it does nothing. I've also tried this variant, but that 'patch' function is never called even though I clear my font cache every run: \startluacode local fonts = fonts local otf = fonts.handlers.otf local patches = otf.enhancers.patches local register = patches.register local report = patches.report function patch (data,filename) report("I am here") report("processing data %s", table.serialize(data)) end register("after","prepare glyphs","^pala", patch) \stopluacode Any idea? Thanks, Jan ___________________________________________________________________________________ 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 ___________________________________________________________________________________