On 18-6-2010 11:09, Mojca Miklavec wrote:
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 don't change fonts for long time, and every change is tested.
That's not even entirely true. Fonts in minimals DO change, without running a special installer. Most of time it is also true that ConTeXt version probably changes inbetween as well anyway, so font cache will be rebuilt, but you should not rely on that.
in most cases (and definitely with the polish ones) the file size changes (if only because they keep changing the names) an dthat gets detected the only problem is when a file has exactly the same size (can be the case if only values of numbers changed) i've added an extra check on modification time
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 fontinst does things with type 1 fonts for latex (i never used it but i think they read the files or so) ... even then, we want to drop fonts in directories and not run programs 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) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------