Am 02.02.10 12:43, schrieb John Haltiwanger:
Hi all,
So the following used to work perfectly, but no longer does:
\usemodule[simplefonts] \setmainfont[Liberation-Serif]
\starttext
I feel so Liberated that {\ConTeXt} can see all my system fonts!
\stoptext
I don't seem to remember changing any configuration in order to get ConTeXt to see my system fonts (running ArchLinux, so it follows Linux standards). Yet now I cannot get the simplefonts module to see what it used to see fine. Has there been some backend changes so that *.ttf files on the system are now ignored? Do I need to install it to the ConTeXt directory or is there another alternative?
(Updating my font database does nothing, unless 'luatools --generate' does not do this?) For system fonts on Linux you need a entry the OSFONTDIR environment variable, how you can do this is explained here:
http://wiki.contextgarden.net/Fonts_in_LuaTex#Getting_access_to_the_system_f... http://archive.contextgarden.net/message/20091026.201256.cbd7927c.en.html http://archive.contextgarden.net/message/20091027.062301.0a8817d0.en.html Wolfgang