Otared Kavian wrote:
On 9 juin 08, at 18:07, Hans Hagen wrote:
Otared Kavian wrote:
Indeed… it so simple! But how should one let LuaTeX know about those fonts? set the OSFONTDIR environment variable
Many thanks Hans: indeed that's what I did
export OSFONTDIR=Library/Fonts export OSFONTDIR=System/Library/Fonts luatools --generate
and out of ignorance (whether is it OSFONTDIR or OSFONTSDIR…) I tried also export ODFONTSDIR=Library/Fonts export ODFONTSDIR=System/Library/Fonts luatools --generate
but LuaTeX cannot find the fonts in the fonts directory of my system, issuing the error message (this is for the font suggested by Wolfgang S.): […] define font | font with name "Arabic Typesetting is not found define font | unknown font "Arabic Typesetting, loading aborted ! Font \TradArabic="Arabic Typesetting*test" at 18pt not loadable: metric data not found or bad. <to be read again> \par
if you want access by name ... mtxrun --script font --reload which will regenerate the database with names ----------------------------------------------------------------- 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 -----------------------------------------------------------------