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.

Why? Can't one just store the checksum in the cached lua file, and when
loading check if it matches the actual font file, if no discard the
cache and reload the file (I thought context is already doing that).

Sure, but using the backend is more secure. Once the backend opens the
font file, it cannot be altered any more. In a large document, there may
be as much as a minute between front end and back end. Using the backend
is also faster.

Best wishes,
Taco



_______________________________________________
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context

Reply via email to