Re: [NTG-context] Dubious "checksum mismatch" message on log file

2012-02-02 Thread luigi scarso
Basically it seems coherent with the luatex manual (ch. 7 Font structure): luatex read the txr.tfm file and set the checksum to the unsigned int 0 (luafont.w ,int font_from_lua(lua_State * L, int f)) (but see Note below) Then read the vf (dofont.w, do_vf(f) inside static int do_define_font(int f

Re: [NTG-context] Dubious "checksum mismatch" message on log file

2012-02-02 Thread luigi scarso
On Wed, Feb 1, 2012 at 10:54 AM, luigi scarso wrote: > On Wed, Feb 1, 2012 at 10:21 AM, Vladimir Lomov wrote: >> Hello, >> ** luigi scarso [2012-02-01 08:45:18 +0100]: >> >>> On Wed, Feb 1, 2012 at 7:00 AM, Vladimir Lomov wrote: >> I specially chose that font (txr, txr.tfm and txr.vf files)

Re: [NTG-context] Dubious "checksum mismatch" message on log file

2012-02-02 Thread Ulrike Fischer
Am Wed, 1 Feb 2012 17:23:09 +0200 schrieb Khaled Hosny: > I tried printing the tfm table we pass to the backed, and the checksum > matches the one in the VF file, so this is a bit confusing Well I actually don't know what test is actually done (and why exactly) but some remarks: 1. If I try to

Re: [NTG-context] Dubious "checksum mismatch" message on log file

2012-02-02 Thread Hans Hagen
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 inform

Re: [NTG-context] Dubious "checksum mismatch" message on log file

2012-02-02 Thread Ulrike Fischer
Am Thu, 2 Feb 2012 10:21:03 +0900 schrieb Vladimir Lomov: > 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; It doesn't depend on the output format. The checksum of vf and tfm-files are c

Re: [NTG-context] Dubious "checksum mismatch" message on log file

2012-02-01 Thread luigi scarso
On Thu, Feb 2, 2012 at 2:28 AM, Vladimir Lomov wrote: > 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'

Re: [NTG-context] Dubious "checksum mismatch" message on log file

2012-02-01 Thread Vladimir Lomov
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

Re: [NTG-context] Dubious "checksum mismatch" message on log file

2012-02-01 Thread Vladimir Lomov
Hello, ** Hans Hagen [2012-02-01 15:22:58 +0100]: > On 1-2-2012 15:15, Ulrike Fischer wrote: > >Am Wed, 1 Feb 2012 10:54:04 +0100 schrieb luigi scarso: >>>It's not related to MKIV but to luatex. >>I think it is related to MKIV (or more precisely to the fontloader). >>It is a bit difficult to de

Re: [NTG-context] Dubious "checksum mismatch" message on log file

2012-02-01 Thread Khaled Hosny
On Wed, Feb 01, 2012 at 03:47:32PM +0100, luigi scarso wrote: > On Wed, Feb 1, 2012 at 3:15 PM, Ulrike Fischer wrote: > > Am Wed, 1 Feb 2012 10:54:04 +0100 schrieb luigi scarso: > > > >> It's not related to MKIV but to luatex. > > > > I think it is related to MKIV (or more precisely to the fontloa

Re: [NTG-context] Dubious "checksum mismatch" message on log file

2012-02-01 Thread Khaled Hosny
On Wed, Feb 01, 2012 at 03:15:14PM +0100, Ulrike Fischer wrote: > So the code from luaotfload (which is based on the context > fontloader code) changes a checksum (either in the vf or in the > tfm-information) and so the check in the luatex engines fails. I tried printing the tfm table we pass to

Re: [NTG-context] Dubious "checksum mismatch" message on log file

2012-02-01 Thread luigi scarso
On Wed, Feb 1, 2012 at 3:15 PM, Ulrike Fischer wrote: > Am Wed, 1 Feb 2012 10:54:04 +0100 schrieb luigi scarso: > >> It's not related to MKIV but to luatex. > > I think it is related to MKIV (or more precisely to the fontloader). The message can be reproduced also with luatex --fmt=luatex-plain.fm

Re: [NTG-context] Dubious "checksum mismatch" message on log file

2012-02-01 Thread Hans Hagen
On 1-2-2012 15:15, Ulrike Fischer wrote: Am Wed, 1 Feb 2012 10:54:04 +0100 schrieb luigi scarso: It's not related to MKIV but to luatex. I think it is related to MKIV (or more precisely to the fontloader). It is a bit difficult to demonstrate it with context (how to you use luatex without mk

Re: [NTG-context] Dubious "checksum mismatch" message on log file

2012-02-01 Thread Ulrike Fischer
Am Wed, 1 Feb 2012 10:54:04 +0100 schrieb luigi scarso: > It's not related to MKIV but to luatex. I think it is related to MKIV (or more precisely to the fontloader). It is a bit difficult to demonstrate it with context (how to you use luatex without mkiv there?) but latex (or plain) it is quite

Re: [NTG-context] Dubious "checksum mismatch" message on log file

2012-02-01 Thread luigi scarso
On Wed, Feb 1, 2012 at 2:48 PM, Vladimir Lomov wrote: >> We have > >> $>vftovp txr.vf >> (VTITLE ) >> (FAMILY TXR) >> (FACE F MRR) >> (CODINGSCHEME TEX TEXT) >> (DESIGNSIZE R 10.0) >> (COMMENT DESIGNSIZE IS IN POINTS) >> (COMMENT OTHER SIZES ARE MULTIPLES OF DESIGNSIZE) >> (CHECKSUM O 32212676346)

Re: [NTG-context] Dubious "checksum mismatch" message on log file

2012-02-01 Thread Vladimir Lomov
Hello, ** luigi scarso [2012-02-01 10:54:04 +0100]: > On Wed, Feb 1, 2012 at 10:21 AM, Vladimir Lomov wrote: >> Hello, >> ** luigi scarso [2012-02-01 08:45:18 +0100]: >>> On Wed, Feb 1, 2012 at 7:00 AM, Vladimir Lomov wrote: I specially chose that font (txr, txr.tfm and txr.vf files), it

Re: [NTG-context] Dubious "checksum mismatch" message on log file

2012-02-01 Thread luigi scarso
On Wed, Feb 1, 2012 at 10:21 AM, Vladimir Lomov wrote: > Hello, > ** luigi scarso [2012-02-01 08:45:18 +0100]: > >> On Wed, Feb 1, 2012 at 7:00 AM, Vladimir Lomov wrote: > >>> I specially chose that font (txr, txr.tfm and txr.vf files), it is >>> distributed by txfonts "package". May be you insta

Re: [NTG-context] Dubious "checksum mismatch" message on log file

2012-02-01 Thread Vladimir Lomov
Hello, ** luigi scarso [2012-02-01 08:45:18 +0100]: > On Wed, Feb 1, 2012 at 7:00 AM, Vladimir Lomov wrote: >> I specially chose that font (txr, txr.tfm and txr.vf files), it is >> distributed by txfonts "package". May be you installation doesn't have >> them because I installed context suite wi

Re: [NTG-context] Dubious "checksum mismatch" message on log file

2012-01-31 Thread luigi scarso
On Wed, Feb 1, 2012 at 7:00 AM, Vladimir Lomov wrote: > I specially chose that font (txr, txr.tfm and txr.vf files), it is > distributed by txfonts "package". May be you installation doesn't have > them because I installed context suite with './first-setup.sh --modules=all'. > > Nevertheless, tha

Re: [NTG-context] Dubious "checksum mismatch" message on log file

2012-01-31 Thread Vladimir Lomov
Hello, ** luigi scarso [2012-02-01 02:37:20 +0100]: > On Wed, Feb 1, 2012 at 2:09 AM, Vladimir Lomov wrote: >> Hello, >> please consider the following example: >> >> \starttext >> \font\test=txr \test abs >> \stoptext >> >> I process this document with context (context --version -> 2012.01.

Re: [NTG-context] Dubious "checksum mismatch" message on log file

2012-01-31 Thread luigi scarso
On Wed, Feb 1, 2012 at 2:09 AM, Vladimir Lomov wrote: > Hello, > please consider the following example: > > \starttext > > \font\test=txr \test abs > > \stoptext > > > I process this document with context (context --version -> 2012.01.25) > nothing suspecious in terminal output but in log file

[NTG-context] Dubious "checksum mismatch" message on log file

2012-01-31 Thread Vladimir Lomov
Hello, please consider the following example: \starttext \font\test=txr \test abs \stoptext I process this document with context (context --version -> 2012.01.25) nothing suspecious in terminal output but in log file I see "checksum mismatch", $ grep 'checksum' ex8.log checksum mismatch in fo