Arthur Reutenauer wrote:
(i think that i wrote a fc-whatever parser but then one needs to tell where it lives etc etc)
it's rather trivial to support it
If fontconfig is correctly installed, you shouldn't need to do anything special: only run fc-list / configure fontconfig the normal way (probably by editing things like /etc/fonts/local.conf).
well, we only need the path in mkiv; personally i prefer setting an env var instead of editing yet another configuration file
This certainly is a good idea; I thought about it myself. It could “unify” font searching with XeTeX (although it won't make the overall system easier to understand!).
i'll upload a beta that looks at the file; the relevant code is in font-syn; i.e. only named fonts will be seen because the file is not consulted otherwise local name = fonts.names.xml_configuration_file if name and not name == "" then local name = input.find_file(instance,name,"other") if name ~= "" then collect(xml.collect_texts(xml.load(name),"dir",true)) end end i'm wondering ... if a name is not found, i can regenerate the database at runtime. i had that for a while; maybe i should reinstate that 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 -----------------------------------------------------------------