On 17-8-2010 4:53, Khaled Hosny wrote:
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:
so it must be something in the typescripts .. maybe the old names?
This works for me, but not with .otf fonts.
\starttext
\definedfont[file:STIXGeneral at 100pt] test
\stoptext