From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94577 Path: news.gmane.org!not-for-mail From: Thomas Fehige Newsgroups: gmane.comp.tex.context Subject: Test Suite Fonts "extensions-001" Date: Fri, 29 Apr 2016 10:38:07 +0200 Message-ID: <57231D6F.8040207@fehige.de> References: <5715D9D5.5000403@fehige.de> <57161F10.3010901@gmail.com> <57178C3D.4090008@fehige.de> <57179143.1070009@gmail.com> <571A0C65.1020808@fehige.de> <571A8972.4010004@wxs.nl> <571E1204.2000707@fehige.de> <571E5E0A.10805@fehige.de> <571E81C0.2070103@gmail.com> <5720CC4B.90602@fehige.de> <1cad4caa-38f3-a38a-9b09-1492dd6b2129@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6127923763343563907==" X-Trace: ger.gmane.org 1461919323 18911 80.91.229.3 (29 Apr 2016 08:42:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Apr 2016 08:42:03 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 29 10:41:52 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aw3zk-0000ta-FZ for gctc-ntg-context-518@m.gmane.org; Fri, 29 Apr 2016 10:41:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A8EA8B516; Fri, 29 Apr 2016 10:38:21 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O2BhvQEXQs9C; Fri, 29 Apr 2016 10:38:20 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 846F5B511; Fri, 29 Apr 2016 10:38:20 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 13260B50C for ; Fri, 29 Apr 2016 10:38:19 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FayADX91PZXm for ; Fri, 29 Apr 2016 10:38:18 +0200 (CEST) Original-Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.13]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 968E9B50B for ; Fri, 29 Apr 2016 10:38:08 +0200 (CEST) Original-Received: from [192.168.178.27] ([77.3.156.119]) by mrelayeu.kundenserver.de (mreue102) with ESMTPSA (Nemesis) id 0LlnLU-1bVOkq02pU-00ZM5d for ; Fri, 29 Apr 2016 10:38:08 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 In-Reply-To: <1cad4caa-38f3-a38a-9b09-1492dd6b2129@wxs.nl> X-Provags-ID: V03:K0:EQcYkfBTJqtpo9VMh0//YDd8Hdw97ECMIb5EQU+WHwZ0UVV9qZi Jogn1mFqp1mk7N5ZXqPV93G+NSgtzOhj2VF0HgQFRvKSTTP0+HrGIdAB7GWEZDJLHWeNohQ Wk32XEIDvFgczamZGwtiTgEE/ZT8kz+ir5Y23a2jeA8OzGsBtlomSQ6icU10Q77JtSTHjeK qv+RckpEFM5m4lk4nRX+A== X-UI-Out-Filterresults: notjunk:1;V01:K0:FicRL6GqbqI=:mo0fzbT/gFdqo/RdzjwPhY Zdhks1KCLUAyVXbhLLH8NX+3JzlmLsB1TR8wBliYPnVn7/dQs/xkrNDDG6jM8V4Hr8l5DELXO Q6GA4sOCr7zFYdhyXUbOaPQZDkwj7ILkWOmSMky4fLP5L90DUZQWMBX2fYnvclcpPoqExxlcR XnD6ogRMiW9WhCXfA1477KokVkOFp6aREBS6yqU2o9pRBn1mWwDk41AQhF8hqcCy/pagRdBzE AdLBul4OFgat90VT2F396h/cV5VT8Q4WSf7MgHEcasYYl2wU6UahztfjJrmRe3woxo4/TbdQF V+2teKgi/wi1p8LE8wOfoyZrpAgUfUq9x3Y5LtyLRy5t3f12oCDsO0zYBT32W12Aw2rD8LkT7 PGESdj4lPzXyW4yApRPfLbfnjtYC3BwtsvvLv/6HgQwXys8dJ5Gl3Yr3mGrPWEuyGZYbaFVHX U2L3TURxXxhyA7YQECVpA515sFgMAW8anUnHYjGHKYaZRqhjyqGY+R3itTohzonfP6ZmNMP8J tHW54Goi66B0S8UxXuF+FIpVA0zObDorTqaH7zThIkPFj/2J2qeJo8rlhfcXza1vICjFw+Crk 71z6LcThjqhOMFserT9y9YqZS7n7SQd2ndIyDnuwxbcep8dgLJ/kyaY6N69cCLed3vgZPWpex WdP47NbmzVMSqu+M+8nEjB+jpOyJwu+MGKWpnM0mXkzycMbHoiPnb442wegJO1Y2jYWbHOaEH t+b22jJxH7T9PjtM X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:94577 Archived-At: This is a multi-part message in MIME format. --===============6127923763343563907== Content-Type: multipart/alternative; boundary="------------030808080106000901040507" This is a multi-part message in MIME format. --------------030808080106000901040507 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Below is a minimal not-working example extracted from "extensions-001.tex" in the fonts section of the test suite. From what I understand of the code, the second line should read "XPrXcXdXPrX" instead of "abracadabra". But it doesn't, it is still "abracadabra". Compiling the original extensions-001 gives me seven lines of "abracadabra". What am I doing wrong? I'm running ConTeXt version 2015.05.18 12:26 MKIV current fmt: 2016.4.28 from the debian/ubuntu texlive packets. \startluacode fonts.handlers.otf.addfeature { name = "stest", type = "substitution", data = { a = "X", b = "P", } } \stopluacode \definefontfeature[stest][stest=yes] \starttext \startTEXpage \definedfont[file:DejaVuSerif.ttf*default]% abracadabra\par {\addff{stest}abracadabra\par} \stopTEXpage \stoptext --------------030808080106000901040507 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit

Below is a minimal not-working example extracted from "extensions-001.tex" in the fonts section of the test suite. From what I understand of the code, the second line should read "XPrXcXdXPrX" instead of "abracadabra". But it doesn't, it is still "abracadabra". Compiling the original extensions-001 gives me seven lines of "abracadabra". What am I doing wrong? I'm running ConTeXt version 2015.05.18 12:26 MKIV current fmt: 2016.4.28 from the debian/ubuntu texlive packets.

\startluacode

fonts.handlers.otf.addfeature {

name = "stest",

type = "substitution",

data = {

a = "X",

b = "P",

}

}

\stopluacode

\definefontfeature[stest][stest=yes]

\starttext

\startTEXpage

\definedfont[file:DejaVuSerif.ttf*default]%

abracadabra\par

{\addff{stest}abracadabra\par}

\stopTEXpage

\stoptext

--------------030808080106000901040507-- --===============6127923763343563907== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============6127923763343563907==--