[dev-context] Checksum of original font files stored in the cache?

Khaled Hosny khaledhosny at eglug.org
Fri Jun 18 10:08:32 CEST 2010


On Fri, Jun 18, 2010 at 09:55:01AM +0200, Taco Hoekwater wrote:
> luigi scarso wrote:
> >On Fri, Jun 18, 2010 at 9:40 AM, Taco Hoekwater <taco at elvenkind.com> wrote:
> >>Khaled Hosny wrote:
> >>>On Fri, Jun 18, 2010 at 09:10:47AM +0200, Taco Hoekwater wrote:
> >>>>Oliver Buerschaper wrote:
> >>>>>Do you think it would be a good idea to store a checksum of the
> >>>>>actual font file used while generating the cache?
> >>>>This sounds useful. As it will need backend support in luatex,
> >>>>I will add a tracker item for this.
> >
> >Isn't mtxrun --script fonts reload enough ?
> 
> Only if you actually see the problem happening, which may
> not be the case. The output could be messed up without any kind of
> warning from the engine.

I'm not sure what the checksum field in tfm table is used for, but it
can store the checksum of the actual font file (the lua end should fill
it in lua loaded fonts) and the backend can warn the user in the case of
checksum mismatch.


-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer


More information about the dev-context mailing list