Khaled Hosny wrote:
On Thu, Jul 23, 2009 at 04:34:37PM +0200, Hans Hagen wrote:
Khaled Hosny wrote:
ConTeXt doesn't use fontconfig for detecting installed fonts, try to set OSFONTDIR to point where your fonts are, then run: mtxrun -script fonts -reload
Hans, is it possible to read fontconfig files to detect font directories on linux, it is xml files and we would be interested in <dir> and <include> tags only. it does, given that the file can be found someplace in the tree (i added a log message so that one can see of it is found)
The standard places for fontconfig files are ~/fonts.conf and /etc/fonts/fonts.conf, any other file is included from there, so may be it should check for those two by default (if it doesn't already).
no, not there but before I even start thinking about adding that we need to investigate all places as i'm pretty sure that on the mac it's different (somehow 'standard' in practice is never 'standard') and there's also the order to consider, one, more, and in what order then (personally i always keep font sthat i use in tex in the tex tree if only to make sure that after an os update i still have them/the same ones) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------