Ok, this worked now. After reloading the fonts with mtxrun I was able
to find the fonts. Before I had always tried to "context --generate"
*after* "mtxrun --script font --reload" (as suggested on
http://wiki.contextgarden.net/Fonts_in_LuaTeX) but then ConTeXt can't
find the fonts anymore. Same with luatools, running "luatools
--generate" destroys the information from the font reload. (Why?) In
any case, I can work around this by always reloading the fonts after
generating context or luatools...
Again, many thanks.
Best,
Severin
On 9/14/10, Wolfgang Schuster
Am 14.09.2010 um 11:10 schrieb S Barmeier:
Thank you for your quick reply. In the above example neither IPAMincho nor Sazanami Mincho (Regular) are loaded correctly. I get several lines of
simplefonts : font 'sazanamiminchoregular' not found
interspersed with
! fonts : font database matches configuration and file hashes
The simplefonts message ignores spaces and caps... Any ideas?
Simplefonts normalize the font name but this is not the problem, why you don’t get any output is because context can’t find the fonts.
You can check if context finds the fonts with “mtxrun --script font --list --all --pattern=ipa*” and “mtxrun --script font --list --all --pattern=sazanami*”
Maybe it helps when you put the fonts in the tex directory itself ($TEXFM/texmf-fonts/truetype/) and refresh the database with “luatools --generate” and ”mtxrun --script font --reload”.
Wolfgang