On 17-8-2010 3:00, Khaled Hosny wrote:
The typescript uses file names, however ConTeXt can not load system
fonts by filename. Hans, I think it would be nice to be able to load
fonts by either font name or file name regardless of where they reside
(I'm not sure how easy is that, though, with luaotfload and kpse setting
OSFONTDIR is all what I need, since kpathsea appends it to its font
searching paths).
\starttext
\definedfont[vera at 50pt] test
\definedfont[file:vera.ttf at 100pt] test
\stoptext
works quite ok on my machine and the log reports:
<c:/windows/fonts/vera.ttf>
so it must be something in the typescripts .. maybe the old names?
-----------------------------------------------------------------
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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________