From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/93040 Path: news.gmane.org!not-for-mail From: Philipp Gesang Newsgroups: gmane.comp.tex.context Subject: Re: Upgrade to 2015.11.19 breaks OTF reader? Date: Tue, 8 Dec 2015 01:22:43 +0100 Message-ID: <20151208002243.GA13071@phlegethon> References: <20151203072658.GA16570@phlegethon> <56604516.1060708@wxs.nl> <20151203173919.GA17901@phlegethon> <5660B447.6080805@wxs.nl> <20151206211441.GA2565@phlegethon> <5664AC40.9090708@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5659551628828104695==" X-Trace: ger.gmane.org 1449534221 13236 80.91.229.3 (8 Dec 2015 00:23:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Dec 2015 00:23:41 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 08 01:23:28 2015 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 1a663z-0001O8-9x for gctc-ntg-context-518@m.gmane.org; Tue, 08 Dec 2015 01:23:27 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9BB0B51A7; Tue, 8 Dec 2015 01:22:52 +0100 (CET) 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 4SmvTCOK1Xs6; Tue, 8 Dec 2015 01:22:50 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 7D1BD51A9; Tue, 8 Dec 2015 01:22:50 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 56F8051A2 for ; Tue, 8 Dec 2015 01:22:49 +0100 (CET) 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 lhcltJZXaeZe for ; Tue, 8 Dec 2015 01:22:48 +0100 (CET) Original-Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id C8EF151A1 for ; Tue, 8 Dec 2015 01:22:38 +0100 (CET) Original-Received: from ix.urz.uni-heidelberg.de (cyrus-portal01.urz.uni-heidelberg.de [129.206.100.176]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id tB80Mbhu013353; Tue, 8 Dec 2015 01:22:37 +0100 Original-Received: from extmail.urz.uni-heidelberg.de (extmail.urz.uni-heidelberg.de [129.206.100.140]) by ix.urz.uni-heidelberg.de (Postfix) with ESMTPS id 6738A21D7D50; Tue, 8 Dec 2015 01:22:37 +0100 (CET) Original-Received: from localhost (pD9ED5CD5.dip0.t-ipconnect.de [217.237.92.213]) (authenticated bits=0) by extmail.urz.uni-heidelberg.de (8.13.4/8.13.1) with ESMTP id tB80Mamh013844 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 8 Dec 2015 01:22:37 +0100 Mail-Followup-To: mailing list for ConTeXt users In-Reply-To: <5664AC40.9090708@wxs.nl> X-Operating-System: Linux phlegethon 4.2.5-1-ARCH User-Agent: Mutt/1.5.23 (2014-03-12) 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:93040 Archived-At: --===============5659551628828104695== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bCsyhTFzCvuiizWE" Content-Disposition: inline --bCsyhTFzCvuiizWE Content-Type: multipart/mixed; boundary="liOOAslEiF7prFVr" Content-Disposition: inline --liOOAslEiF7prFVr Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable =C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7 > On 12/6/2015 10:14 PM, Philipp Gesang wrote: > > =C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7 > > > >> The problem persisted with Courier New, not only Source Sans Pro (SSP). > >> > >> The font file for Source Sans Pro came directly from the Google's font= service. > >> > >> The SSP (on my machine) works fine in Inkscape. > >> > >> The exact same font was also working before the ConTeXt upgrade. > > > > Confirmed, it appears to work if you revert to the old loader in > > font-lib.mkvi. >=20 > i need a better example of what fails then as it works here The problem seems to be the =E2=80=9Cfilename=E2=80=9D field being written = to the cache from the wrong source. Between the old and the new fontloader, you get the following picture in the =E2=80=9Cresources=E2=80=9D record: + ["filename"]=3D"Everson_Mono_Bold.ttf", - ["filename"]=3D"/tmp/here-be-fonts/Everson_Mono_Bold.ttf", The attached patch fixes it for me. Philipp --liOOAslEiF7prFVr Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="font-otr.lua-fix-resources.filename.patch" --- font-otr.lua.orig 2015-12-08 01:18:18.161761832 +0100 +++ font-otr.lua 2015-12-08 01:18:25.901761761 +0100 @@ -1954,7 +1954,7 @@ hasitalics = fontdata.hasitalics or false, }, resources = { - filename = fontdata.filename, + filename = filename, private = privateoffset, duplicates = fontdata.duplicates or { }, features = fontdata.features or { }, -- we need to add these in the loader --liOOAslEiF7prFVr-- --bCsyhTFzCvuiizWE Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJWZiLIAAoJELdcG6d+hz9233EQAJx0BU4yTxTvoHaVr8HcS2jb ZO/JqHUJgtA/amnUV0Y/p8/SVlBhEwdLgE+WjudtEn9FUtfmfl7frdFwo1fw4jQK oenWXGflcSc63vOHMwSD+f4H4JzrwCNif5Gr2X1zF/0rqDSFJ653HjUtMUXiAtkb FYvoKSN2zlpW0t0NPRttzeRHB73SYDeoLeJ3tGXqMc40vrp5lunR4oEmXyBHRZzM Y/+IWdzKD8a/jUVuZ5WB0QkXkXF5sbnxljRUrINU3WXfCp0zsXEt3vwnjXBuK3PS rJcfQAcXabjCcNdoSRKGlrvFFL6O7dqd69OsC4NwYRrXp7FLtm3jGY+TPhnX50f2 OWBnEqvGoVSVKX6h37KYi1TAl/gBzkqdycSiasCWes6UgUkyRP1AGMFqEOXPHAr1 T4oj3NrDO7yH2DGlpYRTfW+vmiA7zsZXAQEY3s/YRPT1I402XCafr24pCkCcq0/I toOhQEH34qX17Fqebz1R7g0aQNc/Eo6Cv1lTgjJXZdFRKSiK0HKrphyad/O6ZQ3P KCWz+OMy0mBw6UXZ/2r0vaEbwtiR6Fr1VuDWPXbknBcaBlo0WbhN8usg/ep2hQya 7P+lgQx49P42Umd+BD7mshp4ovjosYkZBVqNAzwVfCtiIcW7k3PpcY0x5bx7jYTS tp7DOpYRkcDUWDN+CgOo =C1Hr -----END PGP SIGNATURE----- --bCsyhTFzCvuiizWE-- --===============5659551628828104695== 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= --===============5659551628828104695==--