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

2010-06-18 Thread Taco Hoekwater
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. Best wishes, Taco

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

2010-06-18 Thread Khaled Hosny
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

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

2010-06-18 Thread Taco Hoekwater
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

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

2010-06-18 Thread luigi scarso
On Fri, Jun 18, 2010 at 9:40 AM, Taco Hoekwater t...@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

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

2010-06-18 Thread Khaled Hosny
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

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

2010-06-18 Thread Khaled Hosny
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 t...@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

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

2010-06-18 Thread Hans Hagen
On 18-6-2010 9:55, Taco Hoekwater wrote: luigi scarso wrote: On Fri, Jun 18, 2010 at 9:40 AM, Taco Hoekwater t...@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

Re: [dev-context] cont-en.xml

2010-06-18 Thread Hans Hagen
On 17-6-2010 3:11, Mojca Miklavec wrote: On Wed, Jun 16, 2010 at 19:56, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Hi, i plan to update cont-en.xml with changes in mkiv (new keys and commands) but i'm unsure if it's good to mix mkii and mkiv. I think it's to make a separate

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

2010-06-18 Thread Mojca Miklavec
On Fri, Jun 18, 2010 at 10:05, luigi scarso wrote: I mean: one should not simply copy an opentype font into (context) system and expected things to work. Why not? (Do you really want to make things more difficult than they can be on purpose? Who is going to install polish fonts then ... ?) I

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

2010-06-18 Thread Khaled Hosny
On Fri, Jun 18, 2010 at 10:48:42AM +0200, Hans Hagen wrote: On 18-6-2010 9:55, Taco Hoekwater wrote: luigi scarso wrote: On Fri, Jun 18, 2010 at 9:40 AM, Taco Hoekwater t...@elvenkind.com wrote: Khaled Hosny wrote: On Fri, Jun 18, 2010 at 09:10:47AM +0200, Taco Hoekwater wrote: Oliver

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

2010-06-18 Thread Hans Hagen
On 18-6-2010 11:05, Mojca Miklavec wrote: On Fri, Jun 18, 2010 at 10:48, Hans Hagen wrote: is there unique info in the font file that we can use? version number that is guaranteed unique? if so, we can pass that to the backend That almost reminds me on version numbers in ConTeXt files (the

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

2010-06-18 Thread Taco Hoekwater
Hans Hagen wrote: nowadays i always just drop 'm in texmf*/fonts/data/origin/collection so for example in texmf-fonts/fonts/data/khaled/xits (and i no longer bother about separating type1 file into different paths anyway as data is patr of all path vars) That is also what I have been

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

2010-06-18 Thread luigi scarso
On Fri, Jun 18, 2010 at 11:34 AM, Hans Hagen pra...@wxs.nl wrote: nowadays i always just drop 'm in texmf*/fonts/data/origin/collection so for example in texmf-fonts/fonts/data/khaled/xits (and i no longer bother about separating type1 file into different paths anyway as data is patr of

Re: [dev-context] cont-en.xml

2010-06-18 Thread Mojca Miklavec
On Fri, Jun 18, 2010 at 10:58, Hans Hagen wrote: On 17-6-2010 3:11, Mojca Miklavec wrote: Even though the fact that mkii is frozen might be true, most of valid options are still missing in those xml files. well, 'most' is not fair I'm sorry, I probably wanted to say that most of

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

2010-06-18 Thread Oliver Buerschaper
anyhow, i have been thinking of generating (with each beta) an automatically added key 'changedate' or so for changed files but i need to be really bored (or watching a one star movie on tv) to do that Tonight at 20:30 on RTL7: Timecop II: The Berlin decision I think that qualifies

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

2010-06-18 Thread Hans Hagen
On 18-6-2010 11:41, Taco Hoekwater wrote: Tonight at 20:30 on RTL7: Timecop II: The Berlin decision I think that qualifies ;) must be indeed as it is not even discussed at http://outlawvern.com/ (one of my favourite sites) so it must be real bad could generate an md5sum of the

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

2010-06-18 Thread Taco Hoekwater
Oliver Buerschaper wrote: I think that qualifies ;) Seriously: yes this field would be quite useful to have added to the source automatically. Even better for me personally would be if you could generate an md5sum of the distributed file, so I can easily check whether I made local changes.

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

2010-06-18 Thread luigi scarso
On Fri, Jun 18, 2010 at 12:17 PM, luigi scarso luigi.sca...@gmail.com wrote: On Fri, Jun 18, 2010 at 12:03 PM, Hans Hagen pra...@wxs.nl wrote: On 18-6-2010 11:40, luigi scarso wrote: mtxrun --script fonts reload this is only needed when you access fonts by name and if a name cannot be

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

2010-06-18 Thread luigi scarso
On Fri, Jun 18, 2010 at 12:03 PM, Hans Hagen pra...@wxs.nl wrote: On 18-6-2010 11:40, luigi scarso wrote: mtxrun --script fonts reload this is only needed when you access fonts by name and if a name cannot be found, the name cache will be regenerated automatically And it's ok, because the

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

2010-06-18 Thread Mojca Miklavec
On Fri, Jun 18, 2010 at 11:34, Hans Hagen wrote: On 18-6-2010 11:09, Mojca Miklavec wrote: Maybe a lua script to install fonts is better -- we can eventually think to a wxLua gui interface . Or start expanding fontinst to handle OpenType fonts? Anyone? no, and i see no reason why ... afaik

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

2010-06-18 Thread luigi scarso
On Fri, Jun 18, 2010 at 4:37 PM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: On Fri, Jun 18, 2010 at 11:34, Hans Hagen wrote: On 18-6-2010 11:09, Mojca Miklavec wrote: Maybe a lua script to install fonts is better -- we can eventually think to a wxLua gui interface . Or start

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

2010-06-18 Thread Hans Hagen
On 18-6-2010 4:37, Mojca Miklavec wrote: On Fri, Jun 18, 2010 at 11:34, Hans Hagen wrote: On 18-6-2010 11:09, Mojca Miklavec wrote: Maybe a lua script to install fonts is better -- we can eventually think to a wxLua gui interface . Or start expanding fontinst to handle OpenType fonts?

Re: [dev-context] structure commands

2010-06-18 Thread Hans Hagen
On 18-6-2010 5:39, Wolfgang Schuster wrote: Hi Hans, what’s the for status the usage of the new structure code commands in mkiv? header have now the internal commands \definestrcuturehead and \setupstructurehead with \definehead and \setuphead as synonyms, should the former internal names ever