On Fri, Jun 18, 2010 at 09:40:55AM +0200, Taco Hoekwater 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.
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.
Aha, I didn't think about this use case, I was thinking more about a context cached font changing before processing the document. -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer