From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74266 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Dubious "checksum mismatch" message on log file Date: Thu, 02 Feb 2012 09:45:01 +0100 Message-ID: <4F2A4D0D.1010203@wxs.nl> References: <20120201010904.GH13420@smoon> <20120201060009.GI13420@smoon> <20120201092131.GJ13420@smoon> <1nnjepw9rlajm.dlg@nililand.de> <4F294AC2.6040704@wxs.nl> <20120202012103.GL13420@smoon> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1328172319 31626 80.91.229.3 (2 Feb 2012 08:45:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Feb 2012 08:45:19 +0000 (UTC) To: Vladimir Lomov , ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Feb 02 09:45:18 2012 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 1RssI9-00025Y-Vm for gctc-ntg-context-518@m.gmane.org; Thu, 02 Feb 2012 09:45:18 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B7EA6CB2A1; Thu, 2 Feb 2012 09:45:17 +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 3hkN5tV8FlPO; Thu, 2 Feb 2012 09:45:12 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3F551CB298; Thu, 2 Feb 2012 09:45:12 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EFEA8CB298 for ; Thu, 2 Feb 2012 09:45:10 +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 lMUR0PkBeXm9 for ; Thu, 2 Feb 2012 09:45:08 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 6DA6ACB274 for ; Thu, 2 Feb 2012 09:45:08 +0100 (CET) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q128j7AX008465 for ; Thu, 2 Feb 2012 09:45:07 +0100 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.100; Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by pragma-net.nl (SurgeMail 5.3h2) with ESMTP (TLS) id 11074-1713362 for multiple; Thu, 02 Feb 2012 09:45:05 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 In-Reply-To: <20120202012103.GL13420@smoon> X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=11; city=Den Haag; latitude=52.0833; longitude=4.3000; http://maps.google.com/maps?q=52.0833,4.3000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05GsUJ7vt - 0b67a086f180 - 20120202 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:74266 Archived-At: On 2-2-2012 02:21, Vladimir Lomov wrote: > Correct me if I'm wrong, but this how I understand TFM font and currect > state of tex engines (actually pdftex, xetex and luatex): sort of wrong > 1. to use any font in tex one need a TFM file (file name = fontname.TFM), > that file actually contain informationabout font, not how exatly glyphs > are constructed; indeed, and when we forget about opentype etc only the tfm is needed > 2. when [original] tex read a document file it searches for TFM and VF > files, read them and write DVI file with information about that files; no, the vf is only needed when the backend (which happens to be included in pdftex/luatex) is going to embed the glyph data from the font; only then it needs to know of a glyph is actually a virtual one however, in luatex, due to different internals, vf files are / can be read in earlier as the virtual font model is part of the front end so, it can be in an earlier stage that some mismatch can happen > 3. after that user can send file to printer or publisher to print it on > printer. As I understand the purpose of checksum was to be sure that > publisher or printer would use exatly the same fonts as user. If user > converts DVI file to PS/PDF one on his/she computer using dvips or > dvipdfm* the checksum mostly useless, assuming files are not corrupted. no, the checksum only is some safeguard that vf and tfm match if you go through dvi then dvips or dvipdfmx read the vf files > Nowadays pdftex, xetex and luatex are widely used and most time users > generate PDF files on the same computer they write documents, send PDF > files which have they own mechanism to check font consistency. > > But still there are [plenty] DVI files around, as well as luatex engine > might generate DVI file. The convertion to PS/PDF is performed by > dvips/dvipdfm* programs, that's ok. But what about luatex with DVI > output? i never use luatex with dvi output > My conclusion: > 1. if PDF output is only interesting then it is Ok, ignore that message, > because font information is already in PDF and PDF programs should deal > with it; > 2. if DVI output is concerned then luatex _must_ be consistent with > pdftex (also can write DVI files), which, imho (don't check), takes care > about both TFM and VF checksums. luatex probably is consistent although in most cases the way that it deals with fonts (read: the macro package deals with fonts) is different from the way it's done with pdftex/xetex if i had the time i'd probably run a few tests and see where the mismatch happens but it has a real low priority for me Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________