On Tue, Aug 17, 2010 at 03:08:23PM +0200, Hans Hagen wrote:
> 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?

This works for me, but not with .otf fonts.

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________

Reply via email to