From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83101 Path: news.gmane.org!not-for-mail From: Philipp Gesang Newsgroups: gmane.comp.tex.context Subject: [font-chk.lua] missing glyph tracker Date: Thu, 20 Jun 2013 13:59:05 +0200 Message-ID: <20130620115905.GA4047@phlegethon> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0763253612==" X-Trace: ger.gmane.org 1371729584 8933 80.91.229.3 (20 Jun 2013 11:59:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Jun 2013 11:59:44 +0000 (UTC) To: ConTeXt ML Original-X-From: ntg-context-bounces@ntg.nl Thu Jun 20 13:59:43 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UpdWg-0003oI-Ii for gctc-ntg-context-518@m.gmane.org; Thu, 20 Jun 2013 13:59:42 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 62DC3101EA; Thu, 20 Jun 2013 13:59:41 +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 9g+lbNoBJw0v; Thu, 20 Jun 2013 13:59:39 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 6EDB1101E6; Thu, 20 Jun 2013 13:59:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 809C6101E6 for ; Thu, 20 Jun 2013 13:59:37 +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 z6NvHFj-vKYf for ; Thu, 20 Jun 2013 13:59:36 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 48382101E4 for ; Thu, 20 Jun 2013 13:59:26 +0200 (CEST) Original-Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r5KBxPIw017209 for ; Thu, 20 Jun 2013 13:59:25 +0200 Original-Received: from extmail.urz.uni-heidelberg.de (extmail.urz.uni-heidelberg.de [129.206.100.140]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id r5KBxOcM005801 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 20 Jun 2013 13:59:24 +0200 Original-Received: from localhost (p50847F6F.dip0.t-ipconnect.de [80.132.127.111]) (authenticated bits=0) by extmail.urz.uni-heidelberg.de (8.13.4/8.13.1) with ESMTP id r5KBxM7a008009 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 20 Jun 2013 13:59:23 +0200 Mail-Followup-To: ConTeXt ML X-Operating-System: Linux phlegethon 3.9.5-1-ARCH User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.1399 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=129.206.210.211; country=DE; region=01; city=Heidelberg; latitude=49.4167; longitude=8.7000; http://maps.google.com/maps?q=49.4167,8.7000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TJOzXp7X - 6dbb8deda842 - 20130620 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:83101 Archived-At: --===============0763253612== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="WIyZ46R2i8wDzkSu" Content-Disposition: inline --WIyZ46R2i8wDzkSu Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Hans, in font-chk.lua, the function checkers.missing fails to assign the var =E2=80=9Clastfont=E2=80=9D, leading to a meaningless test for equiv= alence with =E2=80=9Cfont=E2=80=9D. See patch below. Also, may I ask you to include the unicode character in the tracker message? This would make the output more legible, imo. Something like this (line 71): - report_fonts("char %U in font %a with id %a: %s",char,tfmdata.prop= erties.fullname,font,message) + report_fonts("char %U (%s) in font %a with id %a: %s",char,utf.cha= r(char),tfmdata.properties.fullname,font,message) Best regards, Philipp --- font-chk.lua.orig 2013-06-20 13:46:56.282164831 +0200 +++ font-chk.lua 2013-06-20 13:47:15.224965072 +0200 @@ -210,6 +210,7 @@ local char =3D n.char if font ~=3D lastfont then characters =3D fontcharacters[font] + lastfont =3D font end if not characters[char] and is_character[chardata[char].category] = then if action =3D=3D "remove" then --WIyZ46R2i8wDzkSu Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iQEcBAEBCgAGBQJRwu6JAAoJEI7yfcKNwM1+2yYH/185E24AET5YrQnfL9A6iTfo E+UmVOoH1VrZOmb+w8W7dUGfz8YcZZswVkmhO7FttKcTBaiufqjwuFmyWh8KZ6HE euKhIUjEaGz7Nt21RN5dV9n9ncgMdEm2OxGiq2Q4CnTgH0dwKi+ECpHrZXlHNRcB JSiMbiN9veo5PmrYDfFyiOR4+fUZU3akibq+DNiNTt98no7RCkDs7WIs52xkywbE RTVObWIdd+ifpV2tKJQEJIViDVPkz68ZYH3cQNnc9leK/6a0dRDJDNmGXkxPb8F4 OcZP80uAt5RnrjeEgu6fm5vOKR+SgqPZeZfqnQe1FAJsa3sm+n2IsxQ6xIWjq8M= =P6mE -----END PGP SIGNATURE----- --WIyZ46R2i8wDzkSu-- --===============0763253612== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0763253612==--