ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Vladimir Lomov <lomov.vl@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: Dubious "checksum mismatch" message on log file
Date: Thu, 2 Feb 2012 10:28:14 +0900	[thread overview]
Message-ID: <20120202012814.GM13420@smoon> (raw)
In-Reply-To: <CAG5iGsCQ0_NdORCtBdK1-e4J70m_WdoLmoF5C9ZwvZ+AgyzERQ@mail.gmail.com>

Hello,
** luigi scarso [2012-02-01 15:04:07 +0100]:
[...]

>> I was not sure, that why I began this thread. I started with latex example,
>> then strip it down to plain tex one and after that came to context
>> minimal example.
> it's also in pdftex: see
> function vf_def_font
> in
> src/texk/web2c/pdftexdir/pdftex.web

Will look in it.

>> AFAIU, context suite doesn't have "plain" pdftex and luatex formats,
>> therefore I compile minimal plain tex example with TeX Live 2011, and
>> luatex doesn't print such message though it reads vf file.
> Hm, have a look at
> tex/texmf-context/tex/generic/context/luatex

In my installation this directory doesn't have fmt files. In any case I
will look in it.

>> The problem indeed may be it luatex and how it works with vf fonts, but
>> as I said, I'm not sure (don't know very well either plain tex or context).

>> P.S. Unrelated: seems I completely lost, I read web sources, the
>> quoted extract from luatex source and I don't understand how this
>> number '32212676346' can be presented as

>> cs.b0 * 256 * 256 * 256 + cs.b1 * 256 * 256 + cs.b2 * 256 + cs.b3

>> If I don't lose my math skills the '32212676346' is
>> 32212676346=7·256^{4}+128·256^{3}+6·256^{2}+110·256^{1}+250·256^{0}
> IIRC, 32212676346 should be the checksum stored inside the file, ie
> the font_checksum.

Yes, that's right, but I forgot that this is octal number, therefore
032212676346=3526065382=210·256^{3}+43·256^{2}+124·256^{1}+230·256^{0},
so 210,43,124,230 are written in file as D2, 2B, 7C, E6 (which I found
in VF file :).

---
WBR, Vladimir Lomov

-- 
"The molars, I'm sure, will be all right, the molars can take care of
themselves," the old man said, no longer to me.  "But what will become 
of the bicuspids?"
		-- The Old Man and his Bridge
___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2012-02-02  1:28 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-01  1:09 Vladimir Lomov
2012-02-01  1:37 ` luigi scarso
2012-02-01  6:00   ` Vladimir Lomov
2012-02-01  7:45     ` luigi scarso
2012-02-01  9:21       ` Vladimir Lomov
2012-02-01  9:54         ` luigi scarso
2012-02-01 13:48           ` Vladimir Lomov
2012-02-01 14:04             ` luigi scarso
2012-02-02  1:28               ` Vladimir Lomov [this message]
2012-02-02  1:34                 ` luigi scarso
2012-02-01 14:15           ` Ulrike Fischer
2012-02-01 14:22             ` Hans Hagen
2012-02-02  1:21               ` Vladimir Lomov
2012-02-02  8:43                 ` Ulrike Fischer
2012-02-02  8:45                 ` Hans Hagen
2012-02-01 14:47             ` luigi scarso
2012-02-01 15:51               ` Khaled Hosny
2012-02-01 15:23             ` Khaled Hosny
2012-02-02  8:54               ` Ulrike Fischer
2012-02-02 12:30           ` luigi scarso
2012-02-02 14:47             ` luigi scarso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120202012814.GM13420@smoon \
    --to=lomov.vl@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).