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

2010-06-19 Thread Taco Hoekwater
luigi scarso wrote: On Fri, Jun 18, 2010 at 4:45 PM, luigi scarso luigi.sca...@gmail.com wrote: For Lua x windows already comes with a set of examples of wxLua... erlang come with a wx binding by default... ah yes, wxPython is also good... also PS_view uses wxlua Anyone with recent

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

2010-06-19 Thread Mojca Miklavec
On Sat, Jun 19, 2010 at 09:06, Taco Hoekwater wrote: Anyone with recent experience with wxWindows? No recent experience; I can only tell that somebody has written wx terminal in gnuplot (the idea was to make a nice multi-platform terminal), but ever since its introduction (must be a few years

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

2010-06-19 Thread luigi scarso
On Sat, Jun 19, 2010 at 1:01 PM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: On Sat, Jun 19, 2010 at 09:06, Taco Hoekwater wrote: Anyone with recent experience with wxWindows? No recent experience; I can only tell that somebody has written wx terminal in gnuplot (the idea was to

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] 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] 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?

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

2010-06-17 Thread Oliver Buerschaper
Dear wise guys, the other day I found myself caught in a trap that might be a frequent source of puzzlement for the casual ConTeXt user :-) I had replaced an OpenType font in the usual OS directory by a new version. Typesetting documents using that font produced surprising results... the PDF